/* Company-wide screen system. Loaded last; printing and business state untouched. */
@media screen {
html:root:root:root:root {
 --blue:#b03a5b!important;--accent:#b03a5b!important;--green:#2e7d32!important;--red:#c0392b!important;--primary:#b03a5b!important;--brand:#b03a5b!important;--text:#2b2620!important;
 --paper:#f6f1e9!important;--ink:#2b2620!important;--rose:#b03a5b!important;--orange:#92400e!important;
 --muted:#6f6659!important;--border:#e8e0d2!important;--line:#e8e0d2!important;
 --erp44-brand:#b03a5b!important;--erp44-brand-dark:#93304c!important;
 --muse-bg:#f6f1e9!important;--muse-text:#2b2620!important;--muse-brand:#b03a5b!important;
}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) {background:#f6f1e9!important;color:#2b2620!important;font:14px/1.5 "PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;font-variant-numeric:tabular-nums}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(.workspace,.s-workspace,.p-workspace,.main,#workspace,#s-content,.wf-main) {background:#f6f1e9!important;color:#2b2620!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(.card,.s-section,.cw-board89,.stat-card,.table-wrap,dialog,.modal-content,.wp44-dialog,.login-panel) {background:#fff!important;border-color:#e8e0d2!important;border-radius:14px}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(.heading,.cw-heading,.page-head,.p-heading) {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:18px}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(h1,h2,h3,h4) {color:#2b2620!important;letter-spacing:0;font-weight:800}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) h1 {font-size:24px;line-height:1.35}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(.card h2,.s-section h2,.heading h2) {font-size:16px}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(p.muted,.subtle,.s-hint,.cw-sub,.cw-footnote,.qs73-hint,.form-hint,small,th,label) {color:#6f6659!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(.toolbar,.s-toolbar,.filter-bar,.form-grid,.s-formgrid) {gap:12px}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {font:inherit;color:#2b2620!important;background:#fff!important;border:1px solid #e8e0d2!important;border-radius:8px;min-height:36px;box-shadow:none!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(input,select,textarea,button,a):focus-visible {outline:2px solid #b03a5b!important;outline-offset:2px}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(button,.button) {font:600 13px/1.35 "Microsoft YaHei",sans-serif;border:1px solid #e8e0d2!important;border-radius:8px!important;min-height:36px;box-shadow:none!important;background:#fff!important;color:#6f6659!important;transition:background-color .15s,border-color .15s}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(button,.button):hover {background:#fdf0f3!important;border-color:#b03a5b!important;color:#93304c!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(button.primary,.button.primary,button[type=submit],button.qs73-primary,[data-quick73-new]) {background:#b03a5b!important;border-color:#b03a5b!important;color:#fff!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(button.primary,button[type=submit],button.qs73-primary,[data-quick73-new]):hover {background:#93304c!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is([data-erp-button-role=info],button.secondary,button[data-qs73-action=save-draft]) {background:#fff!important;border-color:#b03a5b!important;color:#b03a5b!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is([data-erp-button-role=success],[data-erp-button-role=pending]) {background:#fff!important;border-color:#b03a5b!important;color:#b03a5b!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(button.danger,[data-erp-button-role=danger]) {background:#fbeded!important;border-color:#c0392b!important;color:#c0392b!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is([data-erp-tone=neutral],[data-dialog-close],button.link) {background:transparent!important;border-color:transparent!important;color:#6f6659!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(button,.button):disabled {opacity:.45;cursor:not-allowed;box-shadow:none!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(.cw-heading,.heading) button[data-cw]:not([data-quick73-new]) {background:#fff!important;border-color:#e8e0d2!important;color:#6f6659!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) #quick-sales73 button.qs73-primary {background:#b03a5b!important;color:white!important;min-height:42px}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) #quick-sales73 button[type=submit]:not(.qs73-primary) {background:white!important;color:#b03a5b!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(aside,.aside,.wf-sidebar,.s-sidebar) {background:#fff!important;color:#2b2620!important;border-color:#e8e0d2!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(.nav,#wf-nav,aside) :is(a,button,summary) {color:#6f6659!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(.nav,#wf-nav,aside) :is(.active,[aria-current=page]),html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) #tabs .active {background:#fdf0f3!important;color:#b03a5b!important;border-color:#b03a5b!important;font-weight:700}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(table) {font-size:13.5px;font-variant-numeric:tabular-nums}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) th {font-size:12.5px;font-weight:700;background:#faf7f2!important;border-color:#e8e0d2!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) td {border-color:#e8e0d2!important;line-height:1.5}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(.table-wrap,.cw-orders-table) :is(td,th) {padding:11px 12px}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(.number,.ca-money,.cw-order-amount) {text-align:right}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is([data-erp-value=money],[data-erp-value=quantity],.ca-charge) {color:#2b2620!important;font-weight:700}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is([data-erp-value=success],.ca-paid,.ca-paid strong,[data-count88=gain]) {color:#2e7d32!important;font-weight:700}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is([data-erp-value=pending],.ca-unpaid,.ca-unpaid strong) {color:#92400e!important;font-weight:700}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is([data-erp-value=danger],.ca-refund88,.ca-refund88 strong,[data-count88=zero],[data-count88=loss]) {color:#c0392b!important;font-weight:700}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(.tag,.badge,.status)[data-erp-status=success] {background:#e6f4ea!important;color:#2e7d32!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(.tag,.badge,.status)[data-erp-status=pending] {background:#fef3c7!important;color:#92400e!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(.tag,.badge,.status)[data-erp-status=danger] {background:#fbeded!important;color:#c0392b!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(.tag,.badge) {border-radius:999px;padding:3px 8px;font-size:12px}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) dialog::backdrop {background:rgba(43,38,32,.35)}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) dialog {box-shadow:0 18px 48px rgba(43,38,32,.22)}
@media(max-width:700px){html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(button,.button,input:not([type=checkbox]):not([type=radio]),select){min-height:44px}html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) h1{font-size:22px}html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(.toolbar,.s-toolbar,.filter-bar){flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(button,.button){transition:none}}
}

/* All authentication states use the same workspace system, including embedded login. */
@media screen {
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(.selection-bar,.purchase-selection-bar,.account-selection-bar,.order-selection-bar,.card-selection-bar,.shipment-action-bar,.cc42-selection) {background:#fff!important;color:#2b2620!important;border:1px solid #e8e0d2!important;box-shadow:0 -4px 16px #2b26200a!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(.selection-bar,.purchase-selection-bar,.account-selection-bar,.order-selection-bar,.card-selection-bar,.shipment-action-bar) :is(strong,span) {color:inherit}
@media(max-width:850px){html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) #sidebar.side:not(.show){transform:translateX(-100%)!important}html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette):has(#sidebar.side)>.main{margin-left:0!important;width:100%!important}html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette):has(#sidebar.side) .mobile-menu{display:inline-flex!important}html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) #sidebar.side.show{transform:none!important}}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(h1,h2,h3,h4,p,td,th,label,input,select,textarea,button,small) {font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",sans-serif!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) .login:has(.login-brand) {min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;padding:32px 20px;background:#f6f1e9!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) .login-brand {width:min(100%,460px);padding:24px 32px 20px!important;background:#fff!important;background-image:none!important;color:#2b2620!important;border:1px solid #e8e0d2;border-bottom:0;border-radius:14px 14px 0 0;box-shadow:none!important;position:relative;overflow:hidden}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) .login-brand::before,html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) .login-brand::after {content:none!important;display:none!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) .login-brand h1 {font-size:24px!important;line-height:1.4!important;color:#2b2620!important;margin:0 0 12px}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) .login-brand h1 br {display:none}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) .login-brand p {font-size:13px!important;color:#6f6659!important;margin:6px 0;line-height:1.6}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) .login:has(.login-brand) .login-panel {display:block;width:min(100%,460px);padding:0 32px 28px!important;background:#fff!important;border:1px solid #e8e0d2;border-top:0;border-radius:0 0 14px 14px!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) .login form {max-width:none;padding:22px 0 0!important;border:0;border-top:1px solid #e8e0d2;border-radius:0;box-shadow:none;display:grid;gap:18px;background:#fff!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) .login :is(input,button.primary) {min-height:42px}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) .login .workspace-return {padding:0;background:transparent!important;border:0!important;color:#b03a5b!important;min-height:24px}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(#live-login,.login-wrap) {background:#f6f1e9!important;color:#2b2620!important}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) #live-login form {background:#fff!important;border-color:#e8e0d2!important;border-radius:14px}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(.as61-help,.login .muted) {color:#6f6659!important;font-size:12px;line-height:1.6}
html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) :is(.s-error,#live-login-error,.as61-error) {color:#c0392b!important}
@media(max-width:700px){html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) .login:has(.login-brand){padding:20px 12px;justify-content:flex-start}html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) .login-brand{padding:24px 20px 16px!important}html:root:root:root:root body:not(#erp-legacy-theme):not(#erp-legacy-palette) .login:has(.login-brand) .login-panel{padding:0 20px 24px!important}}
}
