/* Candidate: representative pages only; no print overrides. */
@media screen{
html:root:root:root{--muse-page:#f6f1e9!important;--muse-brand:#b03a5b!important;--muse-brand-deep:#93304c!important;--muse-soft:#fdf0f3!important;--muse-text:#2b2620!important;--muse-muted:#6f6659!important;--muse-border:#e8e0d2!important;--erp44-brand:#b03a5b!important;--primary:#b03a5b;--text:#2b2620;--border:#e8e0d2}
html:root:root:root body{background:#f6f1e9;color:#2b2620;font-family:"Microsoft YaHei",system-ui,sans-serif}
html:root:root:root body :is(#quick-sales73#quick-sales73,.cw-orders-table,#content) :is(h1,h2,h3){color:#2b2620;letter-spacing:0;font-weight:700}
html:root:root:root body :is(#quick-sales73#quick-sales73,.cw-orders-table,#content) :is(button,.button){border-radius:8px;border:1px solid #e8e0d2;background:#fff!important;color:#6f6659!important;box-shadow:none;font-weight:600}
html:root:root:root body :is(#quick-sales73#quick-sales73,.cw-orders-table,#content) :is(button.primary,[type=submit],button[data-erp-action=primary]){background:#b03a5b!important;border-color:#b03a5b!important;color:#fff!important}
html:root:root:root body :is(#quick-sales73#quick-sales73,.cw-orders-table,#content) :is(button.danger,[data-erp-action=danger]){color:#c0392b!important;background:#fbeded!important;border-color:#e2a4a9!important}
html:root:root:root body :is(#quick-sales73#quick-sales73,.cw-orders-table,#content) :is(input,select,textarea){border:1px solid #d8ccc2;border-radius:7px;background:#fff;color:#2b2620}
html:root:root:root body :is(button,input,select,textarea,a):focus-visible{outline:3px solid #3e7cb1!important;outline-offset:3px}
html:root:root:root body button:disabled{opacity:.55;cursor:not-allowed;filter:grayscale(.6)}
html:root:root:root body :is(#quick-sales73#quick-sales73,.cw-orders-table,#content) th{background:#efe9dc;color:#6f6659;font-size:13px;font-weight:650}
html:root:root:root body :is(#quick-sales73#quick-sales73,.cw-orders-table,#content) td{border-color:#eee4dc;font-size:13px}
html:root:root:root body :is(#quick-sales73#quick-sales73,.cw-orders-table,#content) :is(.cw-order-amount,[data-erp-value=money]){font-variant-numeric:tabular-nums;text-align:right;color:#2b2620!important}
html:root:root:root body :is(#quick-sales73#quick-sales73,.cw-orders-table,#content) :is([data-erp-tone=success],[data-erp-value=success]){color:#2e7d32!important}
html:root:root:root body :is(#quick-sales73#quick-sales73,.cw-orders-table,#content) :is([data-erp-tone=pending],[data-erp-value=pending]){color:#92400e!important}
html:root:root:root body :is(#quick-sales73#quick-sales73,.cw-orders-table,#content) :is([data-erp-tone=danger],[data-erp-value=danger]){color:#c0392b!important}
html:root:root:root body #quick-sales73#quick-sales73 button.qs73-primary{background:#b03a5b!important;border-color:#b03a5b!important;color:white!important}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-text-danger{color:#c0392b!important;background:#fbeded!important}
html:root:root:root body #quick-sales73#quick-sales73 :is(.qs73-totals strong,[data-qs73-amount]){color:#2b2620!important;font-variant-numeric:tabular-nums}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-totals strong.qs73-picked{color:#2e7d32!important}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-totals strong.qs73-unpicked{color:#92400e!important}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-totals>span:nth-child(n+4) strong,html:root:root:root body #quick-sales73#quick-sales73 .qs73-totals>span:nth-child(n+4) strong *{color:#2b2620!important}
html:root:root:root body #quick-sales73#quick-sales73 button[type=submit]:not(.qs73-primary){background:white!important;color:#6f6659!important;border-color:#e8e0d2!important}

/* Shared workspace components; print documents and public TV remain separate. */
html:root:root:root body{--muse-bg:#f6f1e9;--muse-ink:#2b2620;--muse-line:#e8e0d2;--erp-money:#2b2620;--erp-qty:#2b2620;--erp-success:#2e7d32;--erp-pending:#92400e;--erp-danger:#c0392b;--primary:#b03a5b;--brand:#b03a5b;--ink:#2b2620;--muted:#6f6659;--line:#e8e0d2;background:#f6f1e9!important;color:#2b2620!important}
html:root:root:root body :is(.card,.s-section,.cw-metrics>section,.stat-card,dialog){background:#fff;border-color:#e8e0d2}
html:root:root:root body :is(button,.button){min-height:36px;border-radius:8px;font-weight:600}
html:root:root:root body :is(input:not([type=checkbox]):not([type=radio]),select){min-height:36px}
html:root:root:root body :is(.muted,.cw-sub,.cw-footnote,.qs73-hint,small,th){color:#6f6659}
html:root:root:root body :is(button.primary,button[data-erp-tone=primary],button.qs73-primary){min-height:42px}
html:root:root:root body :is(button.primary,button.qs73-primary):hover{background:#93304c!important;color:white!important}
html:root:root:root body :is(.badge,.tag)[data-erp-status=success]{color:#2e7d32!important;background:#e6f4ea!important}
html:root:root:root body :is(.badge,.tag)[data-erp-status=pending]{color:#92400e!important;background:#fef3c7!important}
html:root:root:root body :is(.error,.cw-alert,[data-erp-status=danger]){color:#c0392b!important}
html:root:root:root body :is([data-erp-value=money],.ca-charge){color:#2b2620!important;font-weight:700;font-variant-numeric:tabular-nums}
html:root:root:root body .ca-money{text-align:right;font-variant-numeric:tabular-nums}
html:root:root:root body :is(.ca-paid,.is-settled,.ca-paid strong){color:#2e7d32!important}
html:root:root:root body :is(.ca-unpaid,.is-outstanding,.ca-unpaid strong){color:#92400e!important}
html:root:root:root body :is(.ca-refund88,.is-refund,.ca-refund88 strong){color:#c0392b!important}
html:root:root:root body #quick-sales73#quick-sales73 button[type=submit]:not(.qs73-primary){border-color:#b03a5b!important;color:#b03a5b!important}
html:root:root:root body #quick-sales73#quick-sales73 button[data-qs73-action=close]{border-color:transparent!important;background:transparent!important;color:#6f6659!important}
html:root:root:root body #content [data-count88=empty]{color:#6f6659;background:#efe9dc;padding:4px 8px;border-radius:5px}
html:root:root:root body #content [data-count88=zero],html:root:root:root body #content [data-count88=loss]{color:#c0392b!important;font-weight:700}
html:root:root:root body #content [data-count88=gain]{color:#2e7d32!important;font-weight:700}
html:root:root:root body #content [data-delta84]{font-variant-numeric:tabular-nums;text-align:right}
@media(max-width:700px){html:root:root:root body :is(button,.button,input:not([type=checkbox]):not([type=radio]),select){min-height:44px}}
}

/* Layout89: original sales / quick entry / count structures, screen only. */
@media screen {
html:root:root:root body .sales-shell .workspace{padding:20px 24px!important;max-width:none!important}
html:root:root:root body .cw-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px!important}
html:root:root:root body .cw-heading h1{font-size:24px;margin:3px 0 6px;color:#2b2620}
html:root:root:root body .cw-heading p{margin:0;color:#6f6659;font-size:13px}
html:root:root:root body .cw-heading .cw-actions{display:flex;gap:8px;flex-wrap:wrap}
html:root:root:root body .cw-overview89 .cw-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 16px}
html:root:root:root body .cw-overview89 .cw-metrics button{display:grid;grid-template-columns:1fr auto;text-align:left;padding:12px 16px;min-height:82px;background:white;border:1px solid #e8e0d2;border-radius:10px}
html:root:root:root body .cw-overview89 .cw-metrics small{color:#6f6659;font-size:13px}
html:root:root:root body .cw-overview89 .cw-metrics strong{grid-column:2;grid-row:1/3;font-size:28px;color:#92400e!important}
html:root:root:root body .cw-overview89 .cw-metrics span{font-size:12px;color:#6f6659}
html:root:root:root body .cw-board89{background:white;border:1px solid #e8e0d2;border-radius:12px;min-width:0}
html:root:root:root body .cw-board-head89{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #e8e0d2;background:white;position:static}
html:root:root:root body .cw-board-head89 h2{font-size:16px;margin:0}html:root:root:root body .cw-board-head89 span{font-size:12px;color:#6f6659}
html:root:root:root body .cw-filter89{display:flex!important;align-items:end;gap:10px;padding:14px 16px!important;margin:0!important;border:0;background:white;flex-wrap:wrap}
html:root:root:root body .cw-filter89>label{flex:1;min-width:200px;max-width:420px}
html:root:root:root body .cw-extra89{position:relative;margin-right:auto}
html:root:root:root body .cw-extra89>summary{cursor:pointer;padding:10px 12px;border:1px solid #e8e0d2;border-radius:7px;color:#6f6659;list-style:none}
html:root:root:root body .cw-extra-fields89{position:absolute;z-index:20;top:44px;left:0;width:480px;display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#fff;border:1px solid #e8e0d2;padding:16px;box-shadow:0 8px 24px #2b262018;border-radius:10px}
html:root:root:root body .cw-status-bar44{display:flex;gap:6px;padding:0 16px 12px;margin:0;flex-wrap:wrap}
html:root:root:root body .cw-status-bar44 button{background:#fff;border-color:#e8e0d2;color:#6f6659;border-radius:20px;padding:6px 12px;min-height:32px}
html:root:root:root body .cw-status-bar44 button[aria-pressed=true]{background:#fdf0f3;color:#b03a5b;border-color:#b03a5b}
html:root:root:root body .cw-result-count44{font-size:12px;color:#6f6659;margin:0;padding:8px 16px;background:#f6f1e9}
html:root:root:root body .cw-orders-table{margin:0;border:0;border-radius:0;overflow:auto}
html:root:root:root body .cw-orders-table table{width:100%;min-width:850px;border-collapse:collapse;font-size:13px}
html:root:root:root body .cw-orders-table th{background:#faf7f2;color:#6f6659;padding:10px 12px;font-weight:500;white-space:nowrap}
html:root:root:root body .cw-orders-table td{padding:12px;vertical-align:middle;border-bottom:1px solid #e8e0d2}
html:root:root:root body .cw-orders-table tr.is-selected89 td{background:#fdf0f3!important}
html:root:root:root body .cw-orders-table tr:focus-visible{outline:2px solid #b03a5b;outline-offset:-2px}
html:root:root:root body .cw-order-amount{text-align:right;min-width:110px;font-variant-numeric:tabular-nums;color:#2b2620}
html:root:root:root body .cw-order-actions{display:flex;gap:6px;white-space:nowrap}
html:root:root:root body .cw-order-actions>button{background:#fdf0f3!important;border-color:#e8e0d2!important;color:#93304c!important}
html:root:root:root body .cw-order-more summary{min-height:36px;padding:8px;color:#6f6659;cursor:pointer}
html:root:root:root body .cw-footnote{font-size:12px;color:#6f6659;padding:12px 16px;margin:0}
html:root:root:root body #quick-sales73#quick-sales73{width:min(1280px,calc(100vw - 24px));max-height:calc(100dvh - 24px)}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-head{padding:12px 20px}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-scroll{padding:12px 20px;background:#f6f1e9}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-base{background:#fff;border:1px solid #e8e0d2;border-radius:10px;padding:12px;margin-bottom:12px;gap:10px}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-workgrid89{display:grid;grid-template-columns:270px minmax(0,1fr);gap:12px;align-items:start}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-picker{margin:0;background:#fff;min-width:0;padding:12px}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-picker .qs73-section-heading{display:block}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-search-row{display:grid;grid-template-columns:1fr}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-results{grid-template-columns:1fr;max-height:240px}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-products-card{min-width:0;background:#fff;margin:0;padding:12px;border:1px solid #e8e0d2;border-radius:10px}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-lines{min-width:730px;font-size:13px}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-table-wrap{overflow:auto}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-lines td{padding:10px 7px}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-notes{margin-top:12px}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-notes textarea{min-height:50px}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-footer{display:grid;grid-template-columns:1fr auto;gap:6px 16px;padding:12px 20px;background:#fff;border-top:1px solid #e8e0d2}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-footer-caption89{grid-column:1/-1;font-size:12px;color:#6f6659}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-totals{grid-column:1;grid-row:2}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-message{grid-column:1/-1;grid-row:3;font-size:12px}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-footer-actions{grid-column:2;grid-row:2;display:flex;gap:12px;align-items:center}
html:root:root:root body .count-head89{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px}
html:root:root:root body .count-head89 h1{font-size:26px;margin:4px 0 8px}html:root:root:root body .count-head89 p{margin:0;font-size:13px;color:#6f6659}
html:root:root:root body .count-head89 small,.count-flow89{font-size:12px;color:#6f6659}
html:root:root:root body #flat-count-query{display:flex;align-items:end;background:white;border:1px solid #e8e0d2;border-radius:12px;padding:16px;gap:12px;margin-bottom:12px}
html:root:root:root body #flat-count-query label{flex:1;max-width:420px}
html:root:root:root body .count-guide89{display:flex;gap:24px;font-size:12px;color:#6f6659;margin-bottom:18px}
html:root:root:root body .count-workgrid89{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px}
html:root:root:root body .count-workgrid89 h2{font-size:15px;margin:0 0 12px}
html:root:root:root body .count-workgrid89 .card{padding:12px;margin:0 0 12px;background:#fff}
html:root:root:root body .count-entry89{min-width:0}
html:root:root:root body .flat-count84{min-width:650px;width:100%;font-size:13px}
html:root:root:root body .flat-count84 th{padding:10px 8px;background:#faf7f2;font-weight:500;color:#6f6659}
html:root:root:root body .flat-count84 td{padding:12px 8px}
html:root:root:root body .flat-count84 [data-count84]{max-width:100px;font-weight:600}
html:root:root:root body .flat-count84 .product-photo{width:48px;height:58px;object-fit:contain;float:left;margin-right:8px}
html:root:root:root body .count-records89 .toolbar{display:grid;grid-template-columns:1fr}
html:root:root:root body .count-records89 .history{border-top:1px solid #e8e0d2;padding-top:12px;font-size:12px}
html:root:root:root body .count-records89 .history button{margin:4px 4px 0 0}
html:root:root:root body .count-review89{max-width:min(620px,calc(100vw - 24px));width:620px;border:1px solid #e8e0d2;border-radius:14px;padding:22px;color:#2b2620}
html:root:root:root body .count-review89::backdrop{background:#2b262060}
html:root:root:root body .count-review89 header{background:none;border:0;display:block;padding:0;position:static}
html:root:root:root body .count-review89 h2{margin:8px 0 16px;font-size:22px}
html:root:root:root body .count-review89 footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #e8e0d2;padding-top:16px}
@media(max-width:1000px){html:root:root:root body .count-workgrid89{grid-template-columns:1fr}html:root:root:root body #quick-sales73#quick-sales73 .qs73-workgrid89{grid-template-columns:1fr}html:root:root:root body #quick-sales73#quick-sales73 .qs73-results{max-height:160px;grid-template-columns:1fr 1fr}html:root:root:root body #quick-sales73#quick-sales73 .qs73-search-row{grid-template-columns:1fr auto}}
@media(max-width:700px){html:root:root:root body .cw-heading{align-items:start;flex-direction:column}html:root:root:root body .cw-extra-fields89{width:min(85vw,400px);grid-template-columns:1fr;max-height:55vh;overflow:auto}html:root:root:root body .cw-overview89 .cw-metrics{gap:6px}html:root:root:root body .cw-overview89 .cw-metrics button{padding:8px;display:block}html:root:root:root body .cw-overview89 .cw-metrics strong{font-size:22px;display:block}html:root:root:root body .count-head89{display:block}.count-flow89{display:none}html:root:root:root body .count-guide89{gap:8px;flex-wrap:wrap}html:root:root:root body #flat-count-query{flex-wrap:wrap}html:root:root:root body #quick-sales73#quick-sales73 .qs73-footer{display:flex;flex-direction:column}html:root:root:root body #quick-sales73#quick-sales73 .qs73-footer-actions{flex-wrap:wrap}html:root:root:root body #quick-sales73#quick-sales73 .qs73-base{grid-template-columns:1fr 1fr}html:root:root:root body #quick-sales73#quick-sales73 .qs73-client{grid-column:1/-1}}
}
@media screen {
html:root:root:root body .sales-shell .workspace{font-size:13px!important}
html:root:root:root body .cw-heading .cw-actions button[data-cw]{background:#fff!important;color:#6f6659!important;border:1px solid #e8e0d2!important;min-height:36px!important}
html:root:root:root body .cw-heading .cw-actions button[data-quick73-new]{background:#b03a5b!important;color:white!important;min-height:42px!important}
html:root:root:root body .cw-extra89{padding:0!important;border:0!important;background:none!important}
html:root:root:root body .cw-filter89{border-radius:0!important}
html:root:root:root body .cw-filter89>label:last-child{flex:0 1 180px;min-width:150px}
html:root:root:root body .count-head89{padding:0!important;background:none!important;border:0!important;min-height:0!important}
html:root:root:root body #tabs button.active{background:#b03a5b!important;color:white!important;border-color:#b03a5b!important}
html:root:root:root body #tabs button:not(.active){color:#6f6659!important;background:#fff!important}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-client{display:grid;grid-template-columns:auto 1fr;gap:4px}
html:root:root:root body #quick-sales73#quick-sales73 .qs73-client>input,html:root:root:root body #quick-sales73#quick-sales73 .qs73-client>select{grid-column:1/-1}
html:root:root:root body .count-review89 table{width:100%;border-collapse:collapse}
html:root:root:root body .count-review89 :is(td,th){padding:12px;border-bottom:1px solid #e8e0d2;text-align:right}
html:root:root:root body .count-review89 :is(td,th):first-child{text-align:left}
}

/* Reference90: shared hierarchy, numeric alignment and non-color cues. */
@media screen {
html:root:root:root body {font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;font-variant-numeric:tabular-nums}
html:root:root:root body :is(button,input,select,textarea,a):focus-visible {outline:2px solid #b03a5b!important;outline-offset:2px}
html:root:root:root body :is(h1,.page-heading h1) {font-weight:800}
html:root:root:root body .cw-orders-table tr.is-selected89 td:first-child {box-shadow:inset 3px 0 #b03a5b}
html:root:root:root body .cw-filter89 button[type=submit] {background:#b03a5b!important;color:#fff!important;border-color:#b03a5b!important}
html:root:root:root body :is(.table-wrap,.cw-orders-table) :is(th,td) {line-height:1.5}
html:root:root:root body :is(.number,.ca-money,[data-erp-value=money]) {text-align:right;font-variant-numeric:tabular-nums}
html:root:root:root body :is(.badge.green,.tag.green) {color:#2e7d32!important;background:#e6f4ea!important}
html:root:root:root body :is(.badge.orange,.tag.orange) {color:#92400e!important;background:#fef3c7!important}
html:root:root:root body :is(.badge.red,.tag.red) {color:#c0392b!important;background:#fbeded!important}
html:root:root:root body button:disabled {opacity:.45}
}
