/* Theme follows the workbench; stock, progress and cancellation retain semantic colours. */
html:root:root body #quick-sales73{--qs-brand:var(--muse-brand,var(--erp44-brand,#c24b78));--qs-line:#e8dfd6;--qs-muted:#786f67;color:#33302e;background:#fffdfb;border:1px solid var(--qs-line);border-radius:16px;box-shadow:0 18px 72px #35202c30;width:min(1120px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 28px);padding:0;margin:auto;font-family:inherit;font-size:13px;line-height:1.5;overflow:hidden;box-sizing:border-box}
html:root:root body #quick-sales73:not([open]){display:none}
html:root:root body #quick-sales73[open]{display:flex;flex-direction:column}
#quick-sales73::backdrop{background:#24202a66}
html:root:root body #quick-sales73 *{box-sizing:border-box}
html:root:root body #quick-sales73 button{font:inherit;min-height:33px;border-radius:7px;border:1px solid var(--qs-line);background:#fff;color:#534a43;padding:6px 11px;cursor:pointer;box-shadow:none;white-space:nowrap}
html:root:root body #quick-sales73 button:disabled{opacity:.5;cursor:wait}
html:root:root body #quick-sales73 button:focus-visible,html:root:root body #quick-sales73 input:focus-visible,html:root:root body #quick-sales73 select:focus-visible,html:root:root body #quick-sales73 textarea:focus-visible{outline:2px solid var(--qs-brand);outline-offset:2px}
html:root:root body #quick-sales73 .qs73-primary{background:var(--qs-brand);border-color:var(--qs-brand);color:#fff;font-weight:600}
html:root:root body #quick-sales73 .qs73-info{background:#edf5fb;border-color:#c8ddec;color:#326f9d}
html:root:root body #quick-sales73 .qs73-danger{background:#fff1f1;border-color:#f1c5c5;color:#b83333}
html:root:root body #quick-sales73 .qs73-text-danger{background:none;border:0;padding:2px 0;min-height:24px;color:#b83333}
html:root:root body #quick-sales73 .qs73-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 23px;background:#fbf7f3;border-bottom:1px solid var(--qs-line);flex:none}
html:root:root body #quick-sales73 h2{font-size:19px;margin:1px 0 3px;font-weight:650;color:#33302e}
html:root:root body #quick-sales73 h3{font-size:14px;margin:0;color:#33302e}
html:root:root body #quick-sales73 .qs73-head p{font-size:12px;color:var(--qs-muted);margin:0}
html:root:root body #quick-sales73 .qs73-eyebrow{color:var(--qs-brand);font-size:11px;font-weight:600}
html:root:root body #quick-sales73 .qs73-badge{display:inline-block;font-size:11px;padding:3px 9px;margin-left:8px;border-radius:20px;background:#fff0d7;color:#946311;vertical-align:middle;font-weight:500}
html:root:root body #quick-sales73 .qs73-badge[data-tone=success]{background:#e6f4ed;color:#287657}
html:root:root body #quick-sales73 form{display:flex;flex-direction:column;min-height:0;overflow:hidden;margin:0}
html:root:root body #quick-sales73 .qs73-scroll{padding:18px 23px;overflow:auto;overscroll-behavior:contain;min-height:0}
html:root:root body #quick-sales73 .qs73-base{display:grid;grid-template-columns:2fr 1fr 1fr 1.3fr .7fr;align-items:end;gap:14px;margin-bottom:18px}
html:root:root body #quick-sales73 label{display:flex;flex-direction:column;gap:5px;color:#62554a;font-size:12px;margin:0}
html:root:root body #quick-sales73 input,html:root:root body #quick-sales73 select,html:root:root body #quick-sales73 textarea{width:100%;min-width:0;min-height:34px;border:1px solid #dcd0c5;border-radius:7px;background:#fff;color:#33302e;padding:6px 9px;font:inherit;box-shadow:none}
html:root:root body #quick-sales73 input:disabled,html:root:root body #quick-sales73 select:disabled,html:root:root body #quick-sales73 textarea:disabled{background:#f5f2ee;color:#6f665f;opacity:1}
html:root:root body #quick-sales73 [data-qs73-customer-search]{min-height:28px;font-size:12px;padding:4px 8px}
html:root:root body #quick-sales73 .qs73-required{color:#c53d3d}
html:root:root body #quick-sales73 .qs73-picker{background:#f8f5f1;border:1px solid var(--qs-line);border-radius:10px;padding:12px;margin-bottom:18px}
html:root:root body #quick-sales73 .qs73-section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px}
html:root:root body #quick-sales73 .qs73-section-heading>span{font-size:11px;color:var(--qs-muted)}
html:root:root body #quick-sales73 .qs73-search-row{display:flex;gap:8px}
html:root:root body #quick-sales73 .qs73-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:250px;overflow:auto;margin-top:9px}
html:root:root body #quick-sales73 .qs73-product{display:flex;align-items:center;gap:9px;text-align:left;white-space:normal;min-width:0;padding:8px;background:#fff}
html:root:root body #quick-sales73 .qs73-product:hover{border-color:var(--qs-brand);background:#fff9fb}
html:root:root body #quick-sales73 img,html:root:root body #quick-sales73 .qs73-no-photo{height:54px;width:46px;object-fit:cover;border-radius:6px;flex:none;background:#f3eeea}
html:root:root body #quick-sales73 .qs73-no-photo{display:grid;place-content:center;font-size:10px;color:#9d8c7d}
html:root:root body #quick-sales73 .qs73-product>span{display:flex;flex-direction:column;min-width:0;flex:1;gap:1px}
html:root:root body #quick-sales73 .qs73-product em{font-style:normal;font-size:11px;color:#7a6655}
html:root:root body #quick-sales73 .qs73-product>span>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
html:root:root body #quick-sales73 .qs73-product>b{color:var(--qs-brand);font-size:22px;font-weight:400}
html:root:root body #quick-sales73 .qs73-table-wrap{overflow:auto;border:1px solid var(--qs-line);border-radius:9px}
html:root:root body #quick-sales73 table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:760px;font-size:12px;margin:0}
html:root:root body #quick-sales73 th,html:root:root body #quick-sales73 td{padding:9px 10px;border:0;border-bottom:1px solid #eee6df;text-align:left;vertical-align:middle}
html:root:root body #quick-sales73 th{background:#f6f2ed;color:#726252;font-size:11px;font-weight:500}
html:root:root body #quick-sales73 th:first-child{width:31%}
html:root:root body #quick-sales73 th:nth-child(2){width:12%}
html:root:root body #quick-sales73 th:nth-child(3){width:11%}
html:root:root body #quick-sales73 th:nth-child(4){width:15%}
html:root:root body #quick-sales73 th:nth-child(5){width:13%}
html:root:root body #quick-sales73 td:last-child small{display:block;color:#75695f;font-size:11px}
html:root:root body #quick-sales73 .qs73-item{display:flex;gap:9px;align-items:center}
html:root:root body #quick-sales73 .qs73-item>div{display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere}
html:root:root body #quick-sales73 small{color:var(--qs-muted);font-size:11px}
html:root:root body #quick-sales73 .qs73-stock[data-tone=pending]{color:#a76b08;background:#fff2da;border-radius:5px;padding:3px 5px}
html:root:root body #quick-sales73 .qs73-totals{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px 20px;padding:12px 0;font-variant-numeric:tabular-nums;color:#786858;font-size:12px}
html:root:root body #quick-sales73 .qs73-totals strong{color:#33302e;font-size:15px}
html:root:root body #quick-sales73 .qs73-totals span:last-child strong{color:var(--qs-brand)}
html:root:root body #quick-sales73 .qs73-hint{color:var(--qs-muted);font-size:11px;line-height:1.6;margin:3px 0}
html:root:root body #quick-sales73 .qs73-empty{text-align:center;color:var(--qs-muted);padding:20px!important}
html:root:root body #quick-sales73 .qs73-notes{display:grid;grid-template-columns:1.3fr 1fr;gap:14px;margin-top:16px}
html:root:root body #quick-sales73 .qs73-cancel{border-top:1px solid var(--qs-line);margin-top:17px;padding-top:14px;color:#766456;font-size:12px}
html:root:root body #quick-sales73 .qs73-cancel summary{cursor:pointer;color:#a44940}
html:root:root body #quick-sales73 .qs73-cancel-rows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}
html:root:root body #quick-sales73 .qs73-cancel-rows span{font-size:11px;color:#8a7d71}
html:root:root body #quick-sales73 .qs73-cancel>.qs73-danger{margin-top:10px}
html:root:root body #quick-sales73 .qs73-footer{padding:10px 20px 14px;background:#fffaf5;border-top:1px solid var(--qs-line);flex:none}
html:root:root body #quick-sales73 .qs73-footer-actions,html:root:root body #quick-sales73 .qs73-footer-actions>div{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
html:root:root body #quick-sales73 .qs73-footer-actions{justify-content:space-between}
html:root:root body #quick-sales73 .qs73-message{color:#477295;font-size:12px;line-height:1.7;margin:0 0 9px}
html:root:root body #quick-sales73 .qs73-message[data-tone=success]{color:#287657}
html:root:root body #quick-sales73 .qs73-message[data-tone=error]{color:#b83333;background:#fff0ee;border-radius:7px;padding:8px 10px}
@media(max-width:800px){html:root:root body #quick-sales73{width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}html:root:root body #quick-sales73 .qs73-base{grid-template-columns:repeat(2,minmax(0,1fr))}html:root:root body #quick-sales73 .qs73-head,html:root:root body #quick-sales73 .qs73-scroll,html:root:root body #quick-sales73 .qs73-footer{padding:12px}html:root:root body #quick-sales73 .qs73-results,html:root:root body #quick-sales73 .qs73-notes{grid-template-columns:1fr}html:root:root body #quick-sales73 .qs73-cancel-rows{grid-template-columns:repeat(2,minmax(0,1fr))}html:root:root body #quick-sales73 .qs73-footer-actions{gap:10px}}

/* 81: page-sized order workspace, fixed totals and semantic colours. */
html:root:root body #quick-sales73{width:calc(100vw - 20px);height:calc(100dvh - 20px);max-height:none;background:#f5f2ee}
html:root:root body #quick-sales73 form{flex:1}
html:root:root body #quick-sales73 .qs73-scroll{flex:1}
html:root:root body #quick-sales73 .qs73-base,html:root:root body #quick-sales73 .qs73-products-card,html:root:root body #quick-sales73 .qs73-notes{background:#fff;padding:20px;border:1px solid var(--qs-line);border-radius:12px}
html:root:root body #quick-sales73 .qs73-base{grid-template-columns:2fr 1fr 1.4fr 1.3fr .6fr}
html:root:root body #quick-sales73 .qs73-picker{background:#fff}
html:root:root body #quick-sales73 .qs73-item strong{color:#33302e;font-size:14px}
html:root:root body #quick-sales73 [data-qs73-amount]{color:#925900;font-weight:650;font-variant-numeric:tabular-nums}
html:root:root body #quick-sales73 [data-qs73-field=qty]{color:#32658f;font-weight:600}
html:root:root body #quick-sales73 .qs73-hint{padding:10px;background:#fff8e9;color:#946311;border-radius:7px;margin-top:14px}
html:root:root body #quick-sales73 .qs73-totals{align-items:center;padding:0 0 8px;border-bottom:1px solid var(--qs-line);margin-bottom:8px}
html:root:root body #quick-sales73 .qs73-totals strong{font-size:21px;color:#32658f}
html:root:root body #quick-sales73 .qs73-totals span:nth-child(2) strong{color:#925900;font-size:26px}
html:root:root body #quick-sales73 button:hover:not(:disabled){filter:brightness(.96)}
html:root:root body #quick-sales73 .qs73-footer{background:#fff}
@media(max-width:900px){html:root:root body #quick-sales73 .qs73-base{grid-template-columns:repeat(2,minmax(0,1fr))}}

html:root:root body #quick-sales73 table{min-width:940px}
html:root:root body #quick-sales73 th:first-child{width:26%}
html:root:root body #quick-sales73 th:nth-child(n+2){width:auto}
html:root:root body #quick-sales73 .qs73-picked{color:#2f8f66;font-weight:650}
html:root:root body #quick-sales73 .qs73-unpicked{color:#ad720d;font-weight:650}
html:root:root body #quick-sales73 .qs73-totals span:nth-child(2) strong{font-size:21px;color:#2f8f66}
html:root:root body #quick-sales73 .qs73-totals span:nth-child(4) strong{font-size:26px;color:#925900}
html:root:root body #quick-sales73#quick-sales73 .qs73-totals strong,html:root:root body #quick-sales73#quick-sales73 .qs73-totals strong *{color:#32658f!important}
html:root:root body #quick-sales73#quick-sales73 .qs73-picked,html:root:root body #quick-sales73#quick-sales73 .qs73-picked *{color:#2f8f66!important}
html:root:root body #quick-sales73#quick-sales73 .qs73-unpicked,html:root:root body #quick-sales73#quick-sales73 .qs73-unpicked *{color:#ad720d!important}
html:root:root body #quick-sales73#quick-sales73 [data-qs73-amount],html:root:root body #quick-sales73#quick-sales73 [data-qs73-amount] *,html:root:root body #quick-sales73#quick-sales73 .qs73-totals span:nth-child(n+4) strong,html:root:root body #quick-sales73#quick-sales73 .qs73-totals span:nth-child(n+4) strong *{color:#925900!important}
html:root:root body #quick-sales73#quick-sales73 button[type=submit]:not(.qs73-primary){background:#eaf2fa!important;color:#32658f!important;border-color:#bed4e7!important}

html:root:root body #quick-sales73#quick-sales73 .qs73-totals>span:nth-child(2) strong,html:root:root body #quick-sales73#quick-sales73 .qs73-totals>span:nth-child(2) strong *{color:#2f8f66!important}
html:root:root body #quick-sales73#quick-sales73 .qs73-totals>span:nth-child(3) strong,html:root:root body #quick-sales73#quick-sales73 .qs73-totals>span:nth-child(3) strong *{color:#ad720d!important}
