/* Shared semantic decoration. Final screen tokens are supplied by theme45.css. */
@media screen {
:root{--erp-ink:#303846;--erp-line:#dce5f0;--erp-soft:#f1f6ff;--erp-orange:#1264dc;--ink:#303846;--line:#dce5f0;--orange:#1264dc;--brand:#1264dc;--primary:#1264dc;--erp-blue:#1264dc;--erp-money:#c94712;--erp-qty:#1758a5;--erp-pending:#9c5900;--erp-success:#17804a;--erp-danger:#cf3030}
body{color:#303846;background:#f5f7fb}body :is(input,select,textarea){color:#303846;background-color:#fff;border-color:#cbd5e1;accent-color:#1264dc}body :is(input,textarea)::placeholder{color:#778396;opacity:1}body :is(label,.field,.field>span){color:#344054}body :is(.sub,.secondary,.muted,.s-hint,.cw-sub,.cw-footnote,.hint){color:#667085}body :is(h1,h2,h3,h4){color:#27354a}
body :is(button,.shell button,dialog button){background-color:#edf4ff;border-color:#c5d9f4;color:#0969da}body :is(button,.shell button,dialog button):hover{background-color:#deebff;border-color:#8eb9f0;color:#0959bb}html body #app :is(button.primary,button[type=submit],button[data-erp-tone=primary]),body :is(button.primary,button[type=submit],input[type=submit],button[data-erp-tone=primary]){background:#1264dc!important;border-color:#1264dc!important;color:#fff!important}body :is(button.primary,button[type=submit],button[data-erp-tone=primary]):hover{background:#0959bb!important;border-color:#0959bb!important}body :is(button.danger,button[data-erp-tone=danger]){color:#cf3030!important;border-color:#f2bbbb!important;background:#fff2f2!important}body button:disabled{opacity:.5;cursor:not-allowed}body :is(button.link,a:not(.home-entry)){color:#0969da}body button.link{background:transparent;border-color:transparent}
body :is(.wf-sidebar,.side){background:#eaf2ff}body :is(.nav button.active,.nav button[aria-selected=true],.tabs button.active,.cw-tabs button.active,.detail-tabs button[aria-selected=true],.wf-module-tabs button.active,button.selected,button[aria-pressed=true]){color:#0969da!important;background:#e6f0ff!important;border-color:#a4c6f5!important}body #wf-nav .wf-nav-item:has(>button.active),body #wf-nav .wf-nav-item>button.active{color:#0969da!important;background:#e6f0ff!important;border-color:#a4c6f5!important;border-left-color:#1264dc!important}body .login-brand{background:#1264dc!important}body .login-brand :is(h1,h2,h3,p,a){color:#fff}
body :is(th,.shell th,.workspace th){background:#f4f6f9!important;color:#475467!important;border-color:#e2e8f0!important;font-weight:600}body :is(td,.workspace td){border-color:#e6ebf2}body tbody tr:nth-child(even)>td{background-color:#fafbfd}body tbody tr:hover>td{background-color:#f0f6ff}body tfoot.review-total td{background:#fff3eb!important;font-weight:700}body :is(.metric,.cw-metrics>button,.info-cell,.form-ledger){background:#f3f7ff;border-color:#d6e4f8}body :is(.metric-value,.cw-metrics strong){color:var(--erp-qty);font-variant-numeric:tabular-nums}body :is(.cw-total,.s-total,#estimate,.cost-total,.style-cost strong,.style-cost-value,.balance-due){color:var(--erp-money)!important}body .cw-total{background:#fff3eb;border-color:#ffd7c2}
body [data-erp-value=money]{color:var(--erp-money)!important;font-variant-numeric:tabular-nums}body [data-erp-value=quantity]{color:var(--erp-qty)!important;font-variant-numeric:tabular-nums}body [data-erp-value=pending]{color:var(--erp-pending)!important}body [data-erp-value=success]{color:var(--erp-success)!important}body [data-erp-value=danger]{color:var(--erp-danger)!important}
body :is(.tag,.badge,.s-badge,.status){background:#edf4ff;color:#0969da;border-color:#c5d9f4}body :is(.tag.green,[data-erp-status=success],.note.green){color:#17804a!important;background:#edf9f1!important;border-color:#bfe7cd!important}body :is(.tag.orange,[data-erp-status=pending],.note.orange){color:#9c5900!important;background:#fff7e8!important;border-color:#f4d49b!important}body :is(.tag.red,[data-erp-status=danger],.form-error,.toast.error){color:#cf3030!important;background:#fff1f0!important;border-color:#f2bbbb!important}body .note{background:#f0f6ff;border-color:#d4e4fa;color:#475467}body :is(.checks label:has(input:checked)){background:#e6f0ff;border-color:#91baf2;color:#0959bb}body :is(input,select,textarea,button,a):focus-visible{outline:2px solid #1264dc;outline-offset:2px}body .progress i{background:#3985ed}body .progress.orange i{background:#e69b28}
}

@media screen {
/* Actions keep a stable functional color; selected tabs add a solid edge. */
body button[data-erp-tone]{--erp-action34:#1264dc;--erp-action-soft34:#edf4ff;--erp-action-line34:#bfd5f3}
body button:is([data-erp-tone=stock],[data-erp-tone=export]){--erp-action34:#087b76;--erp-action-soft34:#eaf8f5;--erp-action-line34:#a8d9d3}
body button:is([data-erp-tone=people],[data-erp-tone=photo]){--erp-action34:#7650b3;--erp-action-soft34:#f4effc;--erp-action-line34:#d4c3ed}
body button[data-erp-tone=account]{--erp-action34:#a76105;--erp-action-soft34:#fff7e8;--erp-action-line34:#ebce98}
body button[data-erp-tone=neutral]{--erp-action34:#526171;--erp-action-soft34:#f5f7fa;--erp-action-line34:#d7dfe8}
body button[data-erp-tone=danger]{--erp-action34:#bd3434;--erp-action-soft34:#fff1f0;--erp-action-line34:#eebaba}
html body :is(button[data-erp-tone=stock],button[data-erp-tone=export],button[data-erp-tone=people],button[data-erp-tone=photo],button[data-erp-tone=account],button[data-erp-tone=neutral],button[data-erp-tone=danger]){color:var(--erp-action34)!important;border-color:var(--erp-action-line34)!important;background:var(--erp-action-soft34)!important}
/* A primary action is always a filled button with white text, including hover.
   This also outranks older module primary rules without mixing dark text and fill. */
html body :is(#app,dialog,.erp-drawer34) button:is(.primary,[type=submit],[data-erp-tone=primary]){color:#fff!important;background:#1264dc!important;border-color:#1264dc!important}
html body :is(#app,dialog,.erp-drawer34) button:is(.primary,[type=submit],[data-erp-tone=primary]):hover{color:#fff!important;background:#0959bb!important;border-color:#0959bb!important}
html body button[data-erp-tone]:hover{filter:brightness(.97)}
html body :is(.tabs,.cw-tabs,.detail-tabs,.wf-module-tabs,.dash-period) button[data-erp-tone]{border:1px solid var(--erp-action-line34);color:var(--erp-action34)!important;background:var(--erp-action-soft34)!important;box-shadow:none;font-weight:550}
html body :is(.tabs,.cw-tabs,.detail-tabs,.wf-module-tabs,.dash-period) button:is(.active,.selected,[aria-selected=true],[aria-pressed=true]){background:var(--erp-action-soft34,#e6f0ff)!important;color:var(--erp-action34,#1264dc)!important;border-color:var(--erp-action34,#1264dc)!important;box-shadow:inset 0 -3px var(--erp-action34,#1264dc);font-weight:750}
body [data-erp-number34]{font-size:inherit!important;line-height:inherit;font-weight:650;font-variant-numeric:tabular-nums}
body [data-erp-value=money]{color:var(--erp-money)!important}body [data-erp-value=quantity]{color:var(--erp-qty)!important}body [data-erp-value=pending]{color:var(--erp-pending)!important}body [data-erp-value=success]{color:var(--erp-success)!important}body [data-erp-value=danger]{color:var(--erp-danger)!important}
}
@media screen{
/* Table operations share one semantic palette, including legacy action buttons. */
body button[data-erp-tone=edit]{--erp-action34:#965400;--erp-action-soft34:#fff5e5;--erp-action-line34:#ebca92}
body button[data-erp-tone=promote]{--erp-action34:#7650b3;--erp-action-soft34:#f4effc;--erp-action-line34:#d4c3ed}
body button[data-erp-tone=order]{--erp-action34:#16804a;--erp-action-soft34:#edf9f1;--erp-action-line34:#bfe7cd}
html body :is(#app,dialog,.erp-drawer34) button:is([data-erp-tone=view],[data-erp-tone=edit],[data-erp-tone=promote]),html body :is(#app,dialog,.erp-drawer34) button[data-erp-tone=action]:not(.primary):not([type=submit]){color:var(--erp-action34)!important;background:var(--erp-action-soft34)!important;border-color:var(--erp-action-line34)!important}
html body :is(#app,dialog,.erp-drawer34) button:is([data-erp-tone=view],[data-erp-tone=edit],[data-erp-tone=promote]):hover{color:var(--erp-action34)!important;background:var(--erp-action-soft34)!important;border-color:var(--erp-action-line34)!important}
html body :is(#app,dialog,.erp-drawer34) button[data-erp-tone=order]{color:#fff!important;background:#16804a!important;border-color:#16804a!important}
html body :is(#app,dialog,.erp-drawer34) button[data-erp-tone=order]:hover{background:#106b3c!important;border-color:#106b3c!important}
/* Do not move DOM nodes: delegated clicks, row selection and edit handlers keep their parents. */
html body tbody td:has(>button+button)>button{margin-block:4px;white-space:nowrap}
html body tbody td>button+button{margin-inline-start:8px}
html body .cw-customer-strip>button[data-erp-tone]{background:#fff!important;color:#27354a!important;border-color:#c5d9f4!important}
html body .cw-customer-strip>button[data-erp-tone]:hover{background:#edf4ff!important;border-color:#8eb9f0!important}
html body .cw-customer-strip>button strong{color:#27354a}
html body .cw-customer-strip>button small{color:#526171}
/* Only dark summary text gets light values; pale buttons and expanded detail keep dark values. */
html body :is(.shipment-action-bar>strong,.order-selection-bar>strong,.order-selection-bar summary,.purchase-selection-bar #selection-summary,.batch-dialog-footer [data-batch-count],.account-selection-bar #ca-selection,.card-selection-bar>strong){--erp-money:#ffe0a3;--erp-qty:#d6edff;--erp-pending:#ffe6a6;--erp-success:#c7ffd9;--erp-danger:#ffd3d9;color:#fff!important}
html body :is(.shipment-action-bar>strong,.order-selection-bar>strong,.order-selection-bar summary,.purchase-selection-bar #selection-summary,.batch-dialog-footer [data-batch-count],.account-selection-bar #ca-selection,.card-selection-bar>strong) [data-erp-value=quantity]{color:var(--erp-qty)!important}
html body :is(.shipment-action-bar>strong,.order-selection-bar>strong,.order-selection-bar summary,.purchase-selection-bar #selection-summary,.batch-dialog-footer [data-batch-count],.account-selection-bar #ca-selection,.card-selection-bar>strong) [data-erp-value=money]{color:var(--erp-money)!important}
html body :is(.shipment-action-bar>strong,.order-selection-bar>strong,.order-selection-bar summary,.purchase-selection-bar #selection-summary,.batch-dialog-footer [data-batch-count],.account-selection-bar #ca-selection,.card-selection-bar>strong) [data-erp-value=pending]{color:var(--erp-pending)!important}
html body :is(.shipment-action-bar>strong,.order-selection-bar>strong,.order-selection-bar summary,.purchase-selection-bar #selection-summary,.batch-dialog-footer [data-batch-count],.account-selection-bar #ca-selection,.card-selection-bar>strong) [data-erp-value=success]{color:var(--erp-success)!important}
html body :is(.shipment-action-bar>strong,.order-selection-bar>strong,.order-selection-bar summary,.purchase-selection-bar #selection-summary,.batch-dialog-footer [data-batch-count],.account-selection-bar #ca-selection,.card-selection-bar>strong) [data-erp-value=danger]{color:var(--erp-danger)!important}
html body .account-selection-bar #ca-selection{background:transparent}
html body :is(.shipment-action-bar,.order-selection-bar,.card-selection-bar)>[data-erp-value=money]{color:#ffe0a3!important}
html body :is(.shipment-action-bar,.order-selection-bar,.card-selection-bar)>[data-erp-value=quantity]{color:#d6edff!important}

}
@media print{[data-erp-number34]{font-variant-numeric:tabular-nums}}
