/* Shared light surfaces. Dark theme and brand actions retain their own colors. */
html:not([data-theme="dark"]),html:not([data-theme="dark"]) body,html:not([data-theme="dark"]) #app{
 --bg:#f1f3f5;--canvas:#f1f3f5;--surface-alt:#f1f3f5;--surface-2:#eef0f2;--gold-soft:#eef0f2;--warning-soft:#eef0f2;--info-soft:#eef0f2;
}
html:not([data-theme="dark"]) body{background-color:#f1f3f5}
html:not([data-theme="dark"]) #customerDialog .dialog-body,
html:not([data-theme="dark"]) #documentDialog .checkout-body14790{background:#f1f3f5!important}
body #customerDialog #sellerStep{display:flex!important;align-items:center!important;padding:12px!important;gap:12px!important;border:1px solid #dce0e4!important;border-radius:12px!important;background:var(--surface)!important}
body #customerDialog #sellerStep .seller-picker-field{flex:1!important;min-width:0!important}
body #customerDialog #customerSellerLabel{font-size:11px!important;color:var(--muted)!important}
body #customerDialog .seller-picker-control{height:44px!important;min-height:44px!important;background:var(--surface)!important;border:1px solid #dce0e4!important;border-radius:9px!important;display:flex!important;overflow:hidden}
body #customerDialog #customerSellerSearch{height:42px!important;min-height:42px!important;font-size:14px!important;flex:1!important;min-width:0!important;padding:8px 12px!important;background:transparent!important}
body #customerDialog #customerSellerToggle{width:44px!important;min-width:44px!important;height:42px!important;background:#eef0f2!important;color:#30343a!important;border-radius:0!important}
body #customerDialog .customer-start-actions1428{align-self:flex-end!important;gap:8px!important}
body #customerDialog .customer-start-actions1428 [data-action="new-client-from-order"]{width:auto!important;min-width:150px!important;max-width:none!important;height:44px!important;min-height:44px!important;padding:10px 14px!important;white-space:nowrap!important;font-size:13px!important}
body #customerDialog .customer-start-actions1428 [data-action="load-customer-seller"]{height:44px!important;min-height:44px!important}
body #customerDialog #customerSellerMenu{position:absolute!important;left:0!important;right:0!important;top:calc(100% + 6px)!important;max-height:340px!important;padding:0!important;border:1px solid #dce0e4!important;border-radius:12px!important;background:var(--surface)!important;overflow:auto!important;box-shadow:0 12px 30px #18212b20!important}
body #customerDialog .seller-picker-menu-head{position:sticky;top:0;z-index:1;background:var(--surface-2)!important;padding:10px 12px!important;border-bottom:1px solid #dce0e4!important}
body #customerDialog .seller-picker-options{display:grid!important;gap:0!important;padding:0!important}
body #customerDialog .seller-picker-choice{display:grid!important;grid-template-columns:18px 32px minmax(0,1fr)!important;gap:10px!important;align-items:center!important;min-height:54px!important;padding:8px 12px!important;margin:0!important;border:0!important;border-bottom:1px solid #edf0f2!important;border-radius:0!important;background:var(--surface)!important}
body #customerDialog .seller-picker-choice:hover,body #customerDialog .seller-picker-choice.is-selected{background:var(--surface-2)!important}
body #customerDialog .seller-picker-choice input{width:16px!important;height:16px!important;min-width:16px!important;margin:0!important;accent-color:#987218}
body #customerDialog .seller-picker-avatar{width:32px!important;height:32px!important;min-height:32px!important;border-radius:8px!important;background:#e9ecef!important;color:#41454b!important;font-size:11px!important;box-shadow:none!important}
body #customerDialog .seller-picker-copy{min-width:0!important;display:grid!important;gap:4px!important}
body #customerDialog .seller-picker-copy b{font-size:13px!important;line-height:1.2!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body #customerDialog .seller-picker-copy small{font-size:11px!important;line-height:1.2!important;color:var(--muted)!important}
body #customerDialog #customerResults .picker-client-status .client-status-line{display:flex!important;flex-direction:column!important;align-items:flex-start!important;flex-wrap:nowrap!important;gap:2px!important;margin:0!important}
body #customerDialog #customerResults .picker-client-status :is(.status,.client-inactive-tag,.client-blocked-tag){display:inline-flex!important;align-items:center!important;justify-content:center!important;width:126px!important;min-width:126px!important;height:20px!important;min-height:20px!important;max-height:20px!important;box-sizing:border-box!important;white-space:nowrap!important;padding:2px 6px!important;font-size:11px!important;line-height:14px!important;border-radius:6px!important;letter-spacing:0!important;margin:0!important}
@media(min-width:761px){
 body #customerDialog #customerResults .customer-option.picker-column-row{height:58px!important;min-height:58px!important;max-height:58px!important}
 body #customerResults .picker-client-trade,body #customerResults .picker-client-city{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
}
@media(max-width:760px){
 body #customerDialog #sellerStep{flex-direction:column!important;align-items:stretch!important;gap:8px!important}
 body #customerDialog .customer-start-actions1428{align-self:stretch!important;justify-content:flex-end!important;flex-wrap:wrap!important}
 body #customerDialog #customerSellerSearch{font-size:16px!important}
 body #customerDialog #customerSellerMenu{max-height:min(310px,45dvh)!important}
 body #customerDialog #customerResults .picker-client-status .client-status-line{flex-direction:row!important;flex-wrap:wrap!important}
}
.home-tool[data-admin-shortcut129="masterNotifications"]{position:relative}
body .home-tool .master-notice-badge14802{position:absolute;top:4px;right:4px;background:#c93636!important;color:#fff!important;border:2px solid #fff;font-size:11px;font-weight:750;line-height:1;height:25px;padding:4px 7px;border-radius:999px;white-space:nowrap;z-index:4;box-sizing:border-box}
body #customerDialog #customerResults .picker-client-status .client-status-line{max-height:42px!important;overflow-y:auto!important}
body #customerDialog #customerResults .picker-client-status :is(.status,.client-inactive-tag,.client-blocked-tag){overflow:hidden!important;text-overflow:ellipsis!important}
html:not([data-theme="dark"]),html:not([data-theme="dark"]) body,html:not([data-theme="dark"]) #app{--ui-panel:#f1f3f5;--ui-canvas:#f1f3f5;--ui-bg:#f1f3f5}
html:not([data-theme="dark"]) .client-inactive-tag{background:#eef0f2!important;border-color:#d5d9de!important;color:#525b65!important}
/* White cards against the neutral page; only the light theme is affected. */
html:not([data-theme="dark"]),html:not([data-theme="dark"]) body,html:not([data-theme="dark"]) #app{--surface:#fff;--ui-panel:#fff}
html:not([data-theme="dark"]) body #app .home-tool,
html:not([data-theme="dark"]) body #app .home-kpi{background:#fff!important;border-color:#dce1e6!important;backdrop-filter:none!important}
html:not([data-theme="dark"]) body #app .home-tool::before{background:none!important;opacity:0!important}
