/* V50: semantic accents, no changes to the login scene. */
html.app-active{--v50-blue:#176ca6;--v50-purple:#7655bf;--v50-teal:#087e78;--v50-green:#21834d;--v50-amber:#b16a13;--v50-red:#c13e53;--v50-slate:#59758b;--v50-surface:#fff;--v50-soft:#f4f8fc;--v50-line:#dbe5ee}html.app-active.v46-dark{--v50-blue:#79bdf0;--v50-purple:#c5a9fa;--v50-teal:#65d5c7;--v50-green:#83d8a8;--v50-amber:#f1bc71;--v50-red:#f49aa5;--v50-slate:#afc5d7;--v50-surface:#152738;--v50-soft:#1b3042;--v50-line:#345065}
[data-tone=blue]{--v50-accent:var(--v50-blue)}[data-tone=purple]{--v50-accent:var(--v50-purple)}[data-tone=teal]{--v50-accent:var(--v50-teal)}[data-tone=green]{--v50-accent:var(--v50-green)}[data-tone=amber]{--v50-accent:var(--v50-amber)}[data-tone=red]{--v50-accent:var(--v50-red)}[data-tone=slate]{--v50-accent:var(--v50-slate)}
html.app-active .v49-row[data-tone],html.app-active .v49-agent[data-tone]{border-left:3px solid var(--v50-accent)!important;background:color-mix(in srgb,var(--v50-surface) 96%,var(--v50-accent))!important}html.app-active .v49-row.v49-unread[data-tone]{background:color-mix(in srgb,var(--v50-surface) 90%,var(--v50-accent))!important}html.app-active .v49-row[data-tone] .v49-symbol,html.app-active .v49-agent[data-tone] .v49-agent-head .v49-symbol{color:var(--v50-accent)!important;background:color-mix(in srgb,var(--v50-surface) 82%,var(--v50-accent))!important}html.app-active .v49-row[data-tone] .v49-kicker{color:var(--v50-accent)!important}html.app-active .v49-row[data-tone] .v49-link{color:var(--v50-accent)!important}html.app-active .v49-tabs button.active{background:var(--v50-blue)!important;color:white!important}html.app-active.v46-dark .v49-tabs button.active{color:#102332!important}html.app-active .v49-agent-status{color:var(--v50-accent,var(--v50-blue));background:color-mix(in srgb,var(--v50-surface) 88%,var(--v50-accent,var(--v50-blue)))}
html.app-active .v49-metrics>div:nth-child(1){--v50-accent:var(--v50-blue)}html.app-active .v49-metrics>div:nth-child(2){--v50-accent:var(--v50-amber)}html.app-active .v49-metrics>div:nth-child(3){--v50-accent:var(--v50-purple)}html.app-active .v49-metrics>div{background:color-mix(in srgb,var(--v50-surface) 91%,var(--v50-accent))!important}html.app-active .v49-metrics strong{color:var(--v50-accent)!important}
html.app-active .mail-item[data-tone]{border-left:3px solid var(--v50-accent)!important}html.app-active .mail-item.v50-unread[data-tone]{background:color-mix(in srgb,var(--v50-surface) 93%,var(--v50-accent))!important}html.app-active .mail-item.active[data-tone]{background:color-mix(in srgb,var(--v50-surface) 85%,var(--v50-accent))!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--v50-accent) 42%,transparent)}html.app-active .mail-item .tag{color:var(--v50-accent)!important;background:color-mix(in srgb,var(--v50-surface) 85%,var(--v50-accent))!important}html.app-active .mail-view{border-top:2px solid var(--v50-blue)!important}html.app-active .mail-layout> :last-child{border-top:2px solid var(--v50-purple)!important}html.app-active .mail-list{border-top:2px solid var(--v50-teal)!important}
html.app-active .nav-item.active[data-tone]{color:var(--v50-accent)!important;background:color-mix(in srgb,var(--v50-surface) 87%,var(--v50-accent))!important;box-shadow:inset 3px 0 var(--v50-accent)}html.app-active .kpi{border-top:2px solid var(--v50-blue)!important}html.app-active .kpi:nth-child(2n){border-top-color:var(--v50-teal)!important}html.app-active .kpi:nth-child(3n){border-top-color:var(--v50-purple)!important}html.app-active .kpi:nth-child(4n){border-top-color:var(--v50-amber)!important}html.app-active .kpi-value{font-weight:400!important}html.app-active .tag.green{color:var(--v50-green)!important;background:color-mix(in srgb,var(--v50-surface) 86%,var(--v50-green))!important}html.app-active .tag.orange,html.app-active .tag.amber{color:var(--v50-amber)!important;background:color-mix(in srgb,var(--v50-surface) 86%,var(--v50-amber))!important}html.app-active .tag.red{color:var(--v50-red)!important;background:color-mix(in srgb,var(--v50-surface) 86%,var(--v50-red))!important}
html.app-active #toastHost.toast-host{top:72px!important;right:16px!important;left:auto!important;bottom:auto!important;max-height:65dvh!important;align-items:flex-end;overflow:visible!important}html.app-active .v49-toast{width:min(340px,calc(100vw - 24px));background:#172b3b!important;color:#eaf3fa!important;border:1px solid #40586a!important;border-left:3px solid var(--v50-accent,#79bdf0)!important;box-shadow:0 8px 24px #14283a33!important;animation:v50drop .3s cubic-bezier(.2,.8,.3,1);border-radius:13px}html.app-active .v49-toast .v49-copy h3{color:#fff!important;font-weight:500!important}html.app-active .v49-toast .v49-copy p{color:#c2d1dd!important}html.app-active .v49-toast .v49-icon,html.app-active .v49-toast .v49-link{color:#d0e8fb!important}html.app-active .v49-toast .v49-symbol{background:#ffffff18!important;color:#e7f5ff!important}#mailQuickBtn b[hidden]{display:none!important}.v50-attention svg{animation:v50nudge 5s ease infinite;transform-origin:center top}.v50-attention b{animation:v50pulse 3s ease infinite}
.v50-enter{animation:v50fade .2s ease-out}.v50-progress{position:fixed;z-index:1800;right:18px;top:72px;max-width:calc(100vw - 36px);display:flex;align-items:center;gap:12px;padding:13px 18px;border-radius:12px;background:#172b3b;color:#eaf3fa;box-shadow:0 8px 30px #14283a33;font-size:13px;pointer-events:none}.v50-progress small{display:block;font-size:11px;color:#bbd0df;margin-top:4px}.v50-spin svg{animation:v50spin 1s linear infinite;width:22px;height:22px}.v50-output{display:grid;gap:7px;margin-bottom:10px}.v50-output .select{width:100%!important}.v50-check{display:flex;gap:6px;align-items:center;font-size:11px!important;font-weight:400!important;white-space:normal}.v50-check input{width:auto!important;min-width:0!important;height:auto!important;accent-color:#176ca6}.v50-warning{display:block;color:var(--v50-amber);font-size:11px}.v50-product-info{display:flex;align-items:center;gap:6px;font-size:12px;min-width:130px}.v50-product-info img{width:40px;height:40px;object-fit:contain;border-radius:5px;background:#fff}.v50-product-info small{display:block;font-size:10px;opacity:.8;margin-top:3px}.v50ProductSearch{width:100%!important;min-width:130px!important;max-width:240px!important;margin-bottom:4px;font-size:11px!important}.v50-line-lead{display:flex;flex-direction:column;font-size:10px;gap:3px;margin-top:5px}.v50-line-lead input{width:100%!important;min-width:100px!important;font-size:11px!important}.v50-paper-photo{display:block;width:42px;height:42px;object-fit:contain;margin:0 0 4px;border:1px solid #d7e1e8;border-radius:4px}.v50-timeline{margin-top:10px}.v50-timeline>div{border-left:2px solid var(--v50-teal);padding:6px 8px;margin:4px 0;font-size:11px}.v50-search-results{max-height:55dvh;overflow:auto}.v50-search-results .account-row{width:100%;text-align:left;background:var(--v50-surface)!important}.v50-overview{padding:14px!important;min-width:0}.v50-overview h3{font-size:15px!important;font-weight:500!important;margin:0 0 4px}.v50-overview .select{width:auto!important;max-width:45%;min-width:100px}.v50-overview small{font-size:11px;color:var(--v49-muted)}.v50-overview-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}.v50-overview-metrics>div{background:color-mix(in srgb,var(--v50-surface) 91%,var(--v50-accent));padding:10px;border-radius:8px;border-left:3px solid var(--v50-accent);min-width:0}.v50-overview-metrics span{display:block;font-size:18px;color:var(--v50-accent);overflow-wrap:anywhere;font-weight:400}.v50-shortcuts{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.v50-quick .btn{margin:3px}.v50-quick h3{font-size:13px;font-weight:500;margin-top:14px}
@keyframes v50fade{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}@keyframes v50drop{from{opacity:0;transform:translateY(-12px) scale(.98)}to{opacity:1;transform:none}}@keyframes v50nudge{0%,82%,100%{transform:none}85%,91%{transform:rotate(10deg)}88%,94%{transform:rotate(-10deg)}}@keyframes v50pulse{0%,100%{box-shadow:0 0 0 0 #dc475530}50%{box-shadow:0 0 0 5px #dc475500}}@keyframes v50spin{to{transform:rotate(360deg)}}
@media(max-width:720px){html.app-active #toastHost.toast-host{top:calc(60px + env(safe-area-inset-top))!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(340px,calc(100vw - 24px));align-items:center!important}.v50-progress{left:50%;right:auto;transform:translateX(-50%);top:calc(60px + env(safe-area-inset-top));width:max-content}.v50-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.v50-overview-metrics span{font-size:15px}.v50-overview .row{flex-wrap:wrap}.v50-overview .select{max-width:100%}#v50Fav{display:none!important}html.app-active #v50Quick{display:inline-flex!important;min-width:26px!important;width:26px!important}html.app-active #mailQuickBtn{display:inline-flex!important;min-width:26px!important;width:26px!important}}
@media(prefers-reduced-motion:reduce){.v50-enter,.v50-attention svg,.v50-attention b,.v50-progress svg,.v49-toast{animation:none!important;transition:none!important}}
@media print{.v50-paper-photo{width:36px;height:36px;break-inside:avoid}.v47-paper tbody tr{break-inside:avoid}.v47-paper thead{display:table-header-group}#toastHost,.v50-progress{display:none!important}}
html.app-active .bar.light,html.app-active .legend-dot.light{background:#439dc8!important}html.app-active .bar.dark,html.app-active .legend-dot.dark{background:#168b80!important}html.app-active .sales-line polyline{stroke:#795ec5!important}html.app-active .sales-line circle{fill:#795ec5!important;stroke:var(--v50-surface)!important}html.app-active .v49-toast[data-tone] .v49-symbol{color:#fff!important;background:color-mix(in srgb,#172b3b 45%,var(--v50-accent))!important}html.app-active .v50-overview>.row>.select{flex:0 1 210px;width:auto!important;max-width:55%;min-width:100px}html.app-active .v49-toast .v49-copy{min-width:0}html.app-active .v49-toast{max-height:160px;overflow:auto}html.app-active .v50-overview-metrics>div[data-tone] small{font-weight:400!important}
.v50-output-fold{display:block;margin:10px 0!important;padding:10px!important}.v50-output-fold summary{cursor:pointer;font-size:13px;font-weight:500;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px}.v50-output-fold summary::after{content:'+';font-size:18px;color:var(--v50-blue)}.v50-output-fold[open] summary::after{content:'−'}.v50-output-fields{display:grid;gap:7px;margin-top:12px}.v50-output-fold:not([open]) .v50-output-fields{display:none}
