.order-processing{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:16px 0}.order-processing>span{margin-right:auto;color:var(--muted,#718098)}.order-processing select{width:auto}.order-bundle{background:#fff;border:1px solid var(--line,#dfe7ef);border-radius:14px;margin:16px 0;overflow:hidden}.order-bundle>summary{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;cursor:pointer;padding:22px;list-style:none}.order-bundle>summary::-webkit-details-marker{display:none}.order-bundle h2{font-size:18px;margin:0 0 7px}.order-bundle summary p{margin:4px 0;color:#75839a}.order-bundle summary small{color:#315de8}.order-bundle-body{padding:0 22px 22px}.order-bundle-body>.actions{margin-bottom:16px}.order-items{min-width:1050px}.order-items td{vertical-align:top;white-space:normal}.order-items td:nth-child(2){min-width:240px;max-width:330px;overflow-wrap:anywhere}.order-items td:nth-child(6){min-width:200px;max-width:300px}.order-items small,.order-items .subtext{font-size:12px}.order-original{margin-top:16px;border-top:1px solid #e3e9f1;padding-top:12px}.order-original summary{cursor:pointer;font-size:13px;color:#61738c}.order-original pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f7fa;padding:16px;font-size:13px}.order-review-row{border:1px solid #dfe7ef;padding:18px;border-radius:12px;margin:16px 0}.order-review-head{display:flex;justify-content:space-between;align-items:center}.order-review-head h3{margin:0}.order-check{background:#fff5e2;color:#916328;border-radius:6px;padding:8px 12px;font-size:12px}.order-intake-header{background:#f4f7fc;padding:18px;border-radius:10px}.order-print-delivery{padding:12px;background:#f1f5fa;margin:16px 0;white-space:pre-wrap;overflow-wrap:anywhere}.order-print-document{margin:20px 0;break-after:page}.order-print-document:last-child{break-after:auto}.order-print-document td{white-space:pre-wrap;overflow-wrap:anywhere}.order-print-document tr{break-inside:avoid}.order-print-document thead{display:table-header-group}#orderPasteForm textarea{min-height:320px;width:100%}#orderReviewForm label{min-width:0}#orderReviewForm .full{grid-column:1/-1}#orderReviewForm textarea{min-height:65px}@media(max-width:700px){.order-bundle>summary{padding:16px;flex-direction:column;gap:12px}.order-bundle-body{padding:0 14px 14px}.order-intake-header,.order-review-row{padding:12px}#orderReviewForm .form-grid{grid-template-columns:1fr}.order-processing{gap:8px}.order-processing>span{width:100%}.order-processing select{flex:1}}@media print{.order-print-document{padding:0!important;box-shadow:none!important;max-width:none!important;border:0!important}.order-print-document table{width:100%;table-layout:fixed}.order-print-delivery{print-color-adjust:exact}.order-print-document .print-columns{display:grid;grid-template-columns:1fr 1fr}}

.order-print-photo{width:64px;height:64px;object-fit:contain}.order-processing select{border:1px solid #dce4ef;border-radius:8px;padding:8px 12px;background:#fff;color:#233b55}
.order-draft-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.order-draft-list li{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 12px;border:1px solid var(--line,#dfe7ef);border-radius:10px}
.order-draft-list li>div{flex:1 1 150px;min-width:0;overflow-wrap:anywhere}
.order-draft-list small{display:block;color:var(--muted,#718098)}

/* Long specifications wrap within their own column in preview and printed pages. */
.order-print-document table,.order-document table{table-layout:fixed!important;width:100%!important;min-width:0!important;border-collapse:collapse}
.order-print-document th,.order-print-document td,.order-document th,.order-document td{box-sizing:border-box;white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:break-word!important;vertical-align:top;min-width:0;height:auto!important}




.order-document th:first-child{width:24%}
.order-document th:nth-child(2){width:30%}
.order-document th:nth-child(3){width:10%}
.order-document tr{break-inside:avoid}
.order-document thead{display:table-header-group}
.order-print-document td:last-child{font-variant-numeric:tabular-nums}
.product-match-status{display:block;padding:8px 12px;border-radius:7px;font-size:12px;margin:8px 0;white-space:normal}
.match-exact{background:#eaf6ef;color:#23623f}
.match-similar{background:#fff2cc;color:#805800;border-left:3px solid #dbac2e}
.match-missing{background:#fde9e7;color:#a72d28;border-left:3px solid #d85b54}
.match-loading{background:#edf2f8;color:#60728a}
.order-review-row:has(.match-similar){border-color:#dcb95f}
.order-review-row:has(.match-missing){border-color:#dd9a96}
.product-suggestions{background:#fff;border:1px solid #dae3ee;border-radius:9px;margin:8px 0 14px;max-height:290px;overflow:auto;grid-column:1/-1}
.product-suggestions[hidden]{display:none}
.product-suggestions button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-align:left;width:100%;border:0;border-bottom:1px solid #e7edf4;background:#fff;padding:12px 14px;white-space:normal;color:#18334f;cursor:pointer}
.product-suggestions button:hover,.product-suggestions button[aria-selected=true]{background:#edf3ff}
.product-suggestions small{color:#697c92;overflow-wrap:anywhere}.product-suggestions span{font-size:11px;color:#986d16}
.order-print-source{font-size:12px;color:#61738b;margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.order-print-delivery-cell{font-size:12px;white-space:pre-wrap}









.order-print-document th,.order-print-document td,.order-document th,.order-document td{text-align:left}

@media print{body:has(#printArea .order-print-document),body:has(#printArea .order-document){background:#fff!important}}
.billing-sites{margin:0 0 24px;padding:22px}.billing-small{display:block;color:#74849a;font-size:12px;margin-top:4px}.billing-sites table{min-width:950px}.billing-sites td{vertical-align:top}.billing-sites select{border:1px solid #dce4ef;background:#fff;border-radius:7px;padding:8px;color:#29415b}.billing-sites .toolbar{margin:15px 0}.billing-sites h2{margin:0}.billing-sites #billingSiteCounts{margin-bottom:12px;color:#4e6580;font-size:13px}.product-match-status[role=status]:empty{display:none}@media(max-width:650px){.billing-sites{padding:14px}.billing-sites .toolbar{flex-wrap:wrap}}
.order-match-summary{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.order-match-summary button{border-top:0;border-right:0;border-bottom:0;cursor:pointer}.order-match-summary button:disabled{opacity:.45;cursor:default}
.order-product-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:end}
.order-product-search label{margin:0}
.order-product-search .btn{white-space:nowrap;min-height:43px}
.order-product-search small{grid-column:1/-1;color:var(--muted,#718098);font-size:12px;line-height:1.6}
#orderReviewForm .product-suggestions{margin:0}
.order-image-editor{display:flex;gap:16px;padding:14px;border:1px dashed #cbd8e8;border-radius:10px;background:#f8fafd;min-width:0}
.order-image-editor.drag-over{border-color:#315bea;background:#edf3ff}
.order-image-tools{flex:1;min-width:0}
.order-image-tools strong{display:block;font-size:12px;margin-bottom:10px}
.order-image-tools .actions{display:flex;gap:8px;flex-wrap:wrap}
.order-image-tools a{text-decoration:none}
.order-image-tools p{font-size:12px;color:#718098;line-height:1.6;margin:8px 0}
.order-image-tools [data-image-message]:empty{display:none}
.order-image-address{display:flex;gap:8px;align-items:center}
.order-image-address input{min-width:0;flex:1}
.order-image-address button{white-space:nowrap}
.order-image-preview{width:100px;flex-shrink:0;text-align:center}
.order-image-preview[hidden]{display:none}
.order-image-preview img{display:block;width:100%;height:100px;object-fit:contain;background:#fff;border-radius:7px;margin-bottom:8px}
.order-delete-button{color:#a33636!important;border-color:#e7bdbd!important;background:#fff!important}.order-delete-button:hover:not(:disabled){background:#fff2f2!important}.order-delete-button:disabled{opacity:.45;cursor:default}.order-delete-review{list-style:none;margin:16px 0;padding:0;max-height:340px;overflow:auto;border:1px solid #e1e7ef;border-radius:10px}.order-delete-review li{display:flex;align-items:flex-start;gap:16px;padding:12px 14px;border-bottom:1px solid #e8edf3}.order-delete-review li:last-child{border-bottom:0}.order-delete-review li>div{min-width:0;flex:1;overflow-wrap:anywhere}.order-delete-review strong{font-size:13px}.order-delete-review small{display:block;margin-top:4px;color:#75839a;line-height:1.5}.order-delete-review li>span{font-size:13px;white-space:nowrap;flex-shrink:0}
@media(max-width:550px){.order-image-editor{flex-direction:column}.order-image-preview{width:90px}.order-image-preview img{height:90px}}

/* A4 purchase layout is shared by the preview and the browser's print output. */
#orderDocumentPreview{overflow:auto;background:#edf1f6;padding:16px;border-radius:10px}
#orderDocumentPreview>.order-print-document{width:210mm;min-width:210mm;max-width:none;margin:0 auto 16px;padding:10mm;background:#fff;box-shadow:0 2px 12px #2037520a}
#orderDocumentPreview>.order-print-document:last-child{margin-bottom:0}
:is(#orderDocumentPreview,#printArea)>.order-print-document{font-size:9pt;line-height:1.3;color:#17283e}
:is(#orderDocumentPreview,#printArea)>.order-print-document>header{padding:2mm 0;margin:0 0 2mm;border-top:2px solid #17334e;gap:4mm;align-items:center}
:is(#orderDocumentPreview,#printArea)>.order-print-document>header h1{font-size:16pt;line-height:1.2;letter-spacing:0;margin:0;text-align:left}
:is(#orderDocumentPreview,#printArea)>.order-print-document>header>span{font-size:8pt;white-space:nowrap}
:is(#orderDocumentPreview,#printArea)>.order-print-document .print-columns{display:grid;grid-template-columns:1fr 1fr;gap:3mm;margin:0 0 3mm;font-size:8.5pt}
:is(#orderDocumentPreview,#printArea)>.order-print-document .print-columns section{padding:1.5mm 2mm;line-height:1.35}
:is(#orderDocumentPreview,#printArea)>.order-print-document table{font:inherit}
:is(#orderDocumentPreview,#printArea)>.order-print-document th{font-size:7.5pt;line-height:1.3;font-weight:600;padding:1.5mm 1mm;color:#17334e}
:is(#orderDocumentPreview,#printArea)>.order-print-document td{font-size:9pt;line-height:1.3;padding:1.3mm 1mm;border:0;border-bottom:1px solid #cad5e2;vertical-align:middle}
:is(#orderDocumentPreview,#printArea)>.order-print-document .order-print-product{display:flex;gap:2mm;align-items:center;min-width:0;white-space:normal}
:is(#orderDocumentPreview,#printArea)>.order-print-document .order-print-product>span{min-width:0;flex:1;overflow-wrap:anywhere}
:is(#orderDocumentPreview,#printArea)>.order-print-document .order-print-photo{display:block;float:none;width:9mm;height:9mm;flex:0 0 9mm;margin:0;object-fit:contain}
:is(#orderDocumentPreview,#printArea)>.order-print-document .order-print-delivery-cell{font-size:8pt;line-height:1.3}
:is(#orderDocumentPreview,#printArea)>.order-print-document .order-print-shipping{font-size:8pt;line-height:1.35;padding:1.5mm 2mm;margin:0 0 3mm;border:1px solid #d9e2ed;background:#fafbfd;break-inside:avoid}
:is(#orderDocumentPreview,#printArea)>.order-print-document .order-print-shipping>div{display:flex;gap:2mm;margin:.5mm 0}
:is(#orderDocumentPreview,#printArea)>.order-print-document .order-print-shipping strong{flex:0 0 12mm;white-space:nowrap}
:is(#orderDocumentPreview,#printArea)>.order-print-document .order-print-shipping span{min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}
:is(#orderDocumentPreview,#printArea)>.order-print-document td.order-quantity{font-size:9pt;font-weight:600;white-space:nowrap!important;word-break:normal!important}

@page order-purchase{size:A4 portrait;margin:10mm}
@media print{
 html:has(#printArea>.order-print-document),body:has(#printArea>.order-print-document){page:order-purchase;background:#fff!important}
 #printArea:has(>.order-print-document){page:order-purchase}
 #printArea>.order-print-document{page:order-purchase;margin:0!important;padding:0!important;width:100%;min-width:0;break-after:page;print-color-adjust:exact}
 #printArea>.order-print-document:last-child{break-after:auto}
 #printArea>.order-print-document thead{display:table-header-group}
 #printArea>.order-print-document tr{break-inside:avoid;page-break-inside:avoid}
 #printArea>.order-print-document th{border:0;border-top:1px solid #17334e;border-bottom:1px solid #cad5e2}
}

/* One column layout and alignment for preview and print, including headings. */
:is(#orderDocumentPreview,#printArea)>.order-print-document .order-col-product{width:46%}
:is(#orderDocumentPreview,#printArea)>.order-print-document .order-col-model{width:23%}
:is(#orderDocumentPreview,#printArea)>.order-print-document .order-col-delivery{width:22%}
:is(#orderDocumentPreview,#printArea)>.order-print-document .order-col-quantity{width:9%}
:is(#orderDocumentPreview,#printArea)>.order-print-document :is(th,td){text-align:left!important;width:auto!important}
:is(#orderDocumentPreview,#printArea)>.order-print-document :is(th,td).order-quantity{text-align:right!important;font-variant-numeric:tabular-nums}
:is(#orderDocumentPreview,#printArea)>.order-print-document .order-print-supplier{display:block;font-size:7pt;line-height:1.3;color:#64758b;margin-top:.5mm}

.order-freight-settings [hidden]{display:none!important}
.order-freight-settings label{min-width:0}
:is(#orderDocumentPreview,#printArea)>.order-print-document .order-print-freight{font-size:8pt;line-height:1.35;margin:0 0 2mm;color:#334b65;overflow-wrap:anywhere;break-inside:avoid}

.order-duplicate-panel{border:1px solid #dce4ef;background:#f8fafd;border-radius:10px;padding:14px;margin:16px 0}
.order-duplicate-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.order-duplicate-match{border-left:3px solid #d5a339;background:#fff6dd;padding:10px;margin:9px 0;overflow-wrap:anywhere}
.order-duplicate-match.high{border-color:#d35248;background:#fff0ee}
.order-duplicate-match summary{cursor:pointer;font-size:12px;line-height:1.6}
.order-duplicate-match small{display:block;font-size:11px;color:#52657b;line-height:1.6}
.order-duplicate-match ul{padding-left:18px;margin-bottom:0;max-height:300px;overflow:auto}
.order-duplicate-match li{font-size:12px;margin:10px 0}
.order-duplicate-confirm{display:flex;align-items:flex-start;gap:9px;font-size:12px;margin:12px 0;line-height:1.6}
.order-duplicate-confirm input{width:auto;flex:none;margin-top:3px}
.order-duplicate-confirm[hidden]{display:none!important}
dialog.order-store-picker {
  width: min(790px, calc(100vw - 24px));
  max-width: none;
  max-height: min(760px, calc(100dvh - 30px));
  padding: 0;
  margin: auto;
  border: 1px solid #dfe7f0;
  border-radius: 18px;
  background: #fff;
  color: #17283e;
  box-shadow: 0 20px 70px #102a5238;
  overflow: hidden;
}
dialog.order-store-picker[open] { display: flex; flex-direction: column; }
.order-store-picker::backdrop { background: #0f22337a; backdrop-filter: blur(2px); }
.order-store-head, .order-store-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 17px; }
.order-store-head { border-bottom: 1px solid #e7ecf2; }
.order-store-head h2 { margin: 0; font-size: 19px; }
.order-store-search { display: grid; grid-template-columns: minmax(0,1fr) minmax(110px,.35fr) auto; gap: 7px; padding: 12px 17px; }
.order-store-search input, .order-store-search select { min-width: 0; width: 100%; }
.order-store-body { min-height: 0; min-height: min(420px, 52dvh); display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); overflow: hidden; }
.order-store-body > section { min-width: 0; min-height: 0; overflow: auto; }
.order-store-catalog { padding: 0 14px 12px 17px; }
.order-store-products, .order-store-tray ul, .statement-order-list { margin: 0; padding: 0; list-style: none; }
.order-store-products li, .order-store-tray li { display: grid; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid #e7ecf2; min-width: 0; }
.order-store-products li { grid-template-columns: 49px minmax(0,1fr) auto; }
.order-store-products .shop-cart-photo { width: 49px; height: 49px; }
.order-store-products strong, .order-store-tray strong { display: block; font-size: 13px; overflow-wrap: anywhere; }
.order-store-products small, .order-store-tray small { display: block; color: #50647b; font-size: 11px; overflow-wrap: anywhere; }
.order-store-status { margin: 3px 0 7px; min-height: 18px; color: #50647b; font-size: 12px; }
.order-store-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 9px; }
.order-store-tray { padding: 11px 13px; border-left: 1px solid #e7ecf2; background: #f7f9fc; }
.order-store-tray h3 { margin: 0 0 6px; font-size: 14px; }
.order-store-tray h3 span { color: #315bea; }
.order-store-tray li { grid-template-columns: minmax(0,1fr) 65px auto; }
.order-store-tray input { width: 100%; min-height: 32px; padding: 3px 5px; }
.order-store-tray label { font-size: 11px; }
.order-store-tray .order-store-empty { display: block; border: 0; color: #50647b; font-size: 12px; }
.order-store-footer { justify-content: flex-end; border-top: 1px solid #e7ecf2; }
.order-store-footer p { margin: 0 auto 0 0; color: #9c303d; font-size: 12px; }
.order-store-picker > [hidden] { display: none; }
.order-store-options { overflow: auto; min-height: 0; padding: 14px 17px; }
.order-store-options h3 { margin: 0 0 6px; overflow-wrap: anywhere; }
.statement-order-list li { border-top: 1px solid #e7ecf2; }
.statement-order-list label { display: grid; grid-template-columns: 20px minmax(0,1fr) auto auto; align-items: center; gap: 12px; padding: 11px 1px; color: #17283e; }
.statement-order-list input[type="checkbox"] { width: 17px; height: 17px; margin: 0; min-height: 0; }
.statement-order-list strong, .statement-order-list small { display: block; overflow-wrap: anywhere; }
.statement-order-list small { color: #50647b; }
#billingAttendanceRows input.billing-units { width: 78px; max-width: 100%; }
@media (max-width: 620px) {
  dialog.order-store-picker { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .order-store-head, .order-store-footer, .order-store-search { padding-left: 10px; padding-right: 10px; }
  .order-store-search { grid-template-columns: minmax(0,1fr) auto; }
  .order-store-search input { grid-column: 1 / -1; }
  .order-store-body { grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(125px,1fr) auto; min-height: 0; }
  .order-store-catalog { padding-left: 10px; padding-right: 10px; }
  .order-store-tray { border-left: 0; border-top: 1px solid #e7ecf2; max-height: 23dvh; }
  .order-store-footer { flex-wrap: wrap; }
  .statement-order-list label { grid-template-columns: 18px minmax(0,1fr) auto; gap: 6px; }
  .statement-order-list label > span:last-child { grid-column: 2 / -1; }
}
.order-processing {
  position: sticky;
  top: 78px;
  z-index: 10;
  padding: 10px 12px;
  border: 1px solid #e5ebf2;
  border-radius: 12px;
  background: #f8fbff;
}
.order-site {
  margin: 20px 0;
  padding: 14px;
  border: 1px solid #dfe7f0;
  border-radius: 16px;
  background: #f1f5fa;
}
.order-site[data-selection="all"], .order-site[data-selection="partial"] { border-color: #a6bef3; background: #edf4ff; }
.order-site-head { display: flex; align-items: flex-start; gap: 12px; }
.order-site-head h2 { flex: 1; min-width: 0; margin: 0; }
.order-site-controls { flex: none; display: flex; align-items: center; gap: 6px; }
.order-site-controls .btn { min-height: 34px; white-space: nowrap; }
.order-trash-site,.order-trash-bundle{border:1px solid #e0e8f2;border-radius:10px;margin:8px 0}
.order-trash-site>summary,.order-trash-bundle>summary{display:grid;grid-template-columns:minmax(0,1fr) auto 8px;align-items:center;gap:9px;padding:12px;list-style:none;cursor:pointer;overflow-wrap:anywhere}
.order-trash-site>summary::-webkit-details-marker,.order-trash-bundle>summary::-webkit-details-marker{display:none}
.order-trash-site>summary::after,.order-trash-bundle>summary::after{content:'';width:7px;height:7px;border:solid #697d95;border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg)}
.order-trash-site[open]>summary::after,.order-trash-bundle[open]>summary::after{transform:translateY(2px) rotate(225deg)}
.order-trash-site>summary small,.order-trash-bundle>summary small{display:block;color:#526782;font-size:11px}
.order-trash-site>summary strong{font-size:14px}
.order-trash-bundle>summary strong{font-size:12px}
.order-trash-bundles{padding:0 10px 5px}
.order-trash-bundle>.order-delete-review{border:0;border-top:1px solid #e0e8f2;margin:0;max-height:none;overflow:visible;border-radius:0}
.order-site-check { position: relative; display: grid; place-items: center; width: 34px; height: 34px; margin: 0; }
.order-site-check > input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.order-site-check > span { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid #90a9cd; border-radius: 6px; background: #fff; pointer-events: none; }
.order-site-check:hover > span { border-color: #315bea; }
.order-site-check > input:is(:checked,:indeterminate) + span { border-color: #315bea; background: #315bea; }
.order-site-check > input:checked + span::after { content: ''; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.order-site-check > input:indeterminate + span::after { content: ''; width: 10px; height: 2px; border-radius: 2px; background: #fff; transform: none; }
.order-site-check > input:focus-visible + span, .order-site-toggle:focus-visible { outline: 2px solid #315bea; outline-offset: 2px; }
.order-site-toggle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 31%) 8px; align-items: center; gap: 10px; width: 100%; padding: 3px 6px 3px 0; border: 0; border-radius: 6px; background: transparent; color: #17283e; text-align: left; cursor: pointer; }
.order-site-toggle strong { display: block; font-size: 16px; overflow-wrap: anywhere; }
.order-site-toggle small { display: block; margin-top: 4px; color: #526782; font-size: 12px; font-weight: 400; }
.order-summary-address { color: #526782; font-size: 13px; font-weight: 400; overflow-wrap: anywhere; }
.order-site-status { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 5px 8px; font-size: 12px; font-weight: 400; }
.order-site-toggle .order-site-status { justify-content: flex-end; }
.order-status-entry { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.order-bundle > summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; }
.order-bundle-customer { overflow-wrap: anywhere; }
.order-site-chevron { width: 8px; height: 8px; margin-right: 1px; border: solid #526782; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.order-site-toggle[aria-expanded="true"] .order-site-chevron { transform: translateY(2px) rotate(225deg); }
.order-site .order-bundle { margin: 12px 0 0; }
.order-site .btn[aria-pressed="true"] { background: #e7f0ff; color: #2448a7; }
.order-request-actions { display: grid; justify-items: end; gap: 3px; }
.page-head .actions:has(> .order-request-actions) { align-items: flex-start; }
.order-request-actions #orderTrash { display: inline-flex; align-items: center; gap: 4px; padding: 4px 2px; font-size: 12px; }
.order-request-actions #orderTrash svg { width: 13px; height: 13px; }
.order-title-fields { display: grid; align-content: start; gap: 6px; min-width: 0; }
.order-counterparty-picker { padding: 7px 10px; border: 1px solid var(--line, #dfe7ef); border-radius: 8px; }
.order-counterparty-picker summary { cursor: pointer; font-size: 13px; overflow-wrap: anywhere; }
.order-counterparty-picker label { margin: 8px 0; }
.order-counterparty-results { display: grid; grid-template-columns: 1fr; gap: 4px; max-height: 170px; overflow: auto; margin-bottom: 5px; }
.order-counterparty-results button { justify-content: start; text-align: left; overflow-wrap: anywhere; }
@media(max-width:720px){
  .order-processing{top:62px;padding:8px;gap:6px;}
  .order-site{padding:9px;}
  .order-site-head{gap:7px;}
  .order-site-controls{gap:3px;}
  .order-site-toggle{grid-template-columns:minmax(0,1fr) 8px;gap:5px 8px;}
  .order-site-customer,.order-site-toggle .order-summary-address,.order-site-toggle .order-site-status{grid-column:1;}
  .order-site-toggle .order-site-status{justify-content:flex-start;}
  .order-site-chevron{grid-column:2;grid-row:1;}
  .order-bundle>summary{grid-template-columns:minmax(0,1fr);gap:7px;}
}

#modal:has(.kakao-layout){width:min(1150px,calc(100vw - 24px));max-width:calc(100vw - 24px)}
.kakao-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,29%);align-items:start;gap:18px}.kakao-work{grid-column:1;grid-row:1;min-width:0}
.kakao-source{grid-column:2;grid-row:1;min-width:0;position:sticky;top:12px;border:1px solid #dbe5f0;border-radius:10px;background:#f4f7fb;padding:10px;color:#18364e;font-size:12px}
.kakao-source summary{font-weight:700;cursor:pointer}.kakao-source summary span{margin-inline-start:5px;font-size:11px;color:#526a82}
.kakao-source-lines{margin:8px 0;max-height:min(50vh,460px);overflow:auto;white-space:pre-wrap;line-height:1.55;overflow-wrap:anywhere}.kakao-source-added{text-decoration:line-through;color:#6a7e91}
@media(max-width:850px){.kakao-layout{grid-template-columns:minmax(0,1fr);gap:12px}.kakao-source{grid-row:1;grid-column:1;position:static}.kakao-work{grid-row:2}.kakao-source-lines{max-height:30vh}}

.document-paste-row-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.document-paste-row-tools .document-paste-remove{border-color:#e5c3c4;color:#a93038;white-space:nowrap}
