/* Unified screen palette. Explicit reset prevents legacy light/dark combinations. */
@media screen {
html:root{color-scheme:light;--border:#d5dde7;--muted:#526176;--green:#5741a5}
body#crm-root,body#crm-root:has(.strategy),#crm-root .workspace{background:#f1f4f8!important;color:#223047!important}
#crm-root .workspace *{color:inherit!important;background-color:transparent!important;background-image:none!important;border-color:#d5dde7!important}
#crm-root .workspace{color:#223047!important}
#crm-root .workspace :is(section,article,.st-panel,.st-kpi,.assisted-order,.table-wrap,.auth){background:#fff!important;box-shadow:0 3px 14px #23324b06!important}
#crm-root .workspace :is(h1,h2,h3,h4,strong,b){color:#17253c!important}
#crm-root .workspace :is(p,small,.muted,.eyebrow,.form-hint,.st-overline,.st-footnote,.st-definitions){color:#526176!important}
#crm-root .workspace :is(a,.contact-call){color:#50369a!important}
#crm-root .workspace :is(label,legend,summary){color:#2c3b51!important}
#crm-root .workspace input,#crm-root .workspace select,#crm-root .workspace textarea{color:#17253c!important;background:#fff!important;border:1px solid #9cabbc!important;box-shadow:none!important;color-scheme:light}
#crm-root .workspace input::placeholder,#crm-root .workspace textarea::placeholder{color:#65758b!important;opacity:1}
#crm-root .workspace input:focus,#crm-root .workspace select:focus,#crm-root .workspace textarea:focus{border-color:#7254b6!important;outline:3px solid #ddd3f6!important;outline-offset:1px}
#crm-root .workspace input[type=checkbox],#crm-root .workspace input[type=radio]{accent-color:#6744ae}
#crm-root .workspace :is(button,.retail-primary),#crm-root .workspace .strategy .st-intro-actions a:first-child{color:#fff!important;background:#6040a8!important;border-color:#6040a8!important;box-shadow:none!important}
#crm-root .workspace :is(button,.retail-primary):hover{background:#4c2d8f!important;color:#fff!important}
#crm-root .workspace button.secondary,#crm-root .workspace .retail-secondary,#crm-root .workspace .quick-actions a{background:#eee8f8!important;color:#43277f!important;border-color:#c6b5e6!important}
#crm-root .workspace button:disabled{opacity:.55}
#crm-root .workspace button *,#crm-root .workspace .retail-primary *{color:inherit!important}
#crm-root .workspace :is(.filters,.history-filters,.st-filterbar,#network-period,.request-line,.order-last,.order-budget,.state-empty,.price-grid-heading,.retail-period-filter){background:#f7f9fc!important;color:#34445c!important}
#crm-root .workspace .notice,#crm-root .workspace .partner-minimum,#crm-root .workspace .st-context{background:#f0ebfa!important;color:#49316f!important;border-color:#d3c5e9!important;border-left-color:#8d6ec2!important}
#crm-root .workspace :is(.notice,.partner-minimum,.st-context) :is(p,small,strong,b,span){color:#49316f!important}
#crm-root .workspace .success{background:#e7f4ed!important;color:#205d40!important;border-color:#a6d1b9!important}
#crm-root .workspace .error,#crm-root .workspace .order-warning{background:#fff0ed!important;color:#922f25!important;border-color:#eab6ae!important}
#crm-root .workspace .badge,#crm-root .workspace .pill,#crm-root .workspace .live-status span{background:#e9edf5!important;color:#40516c!important;border-color:#cdd5e2!important}
#crm-root .workspace :is(details,fieldset){border-color:#d5dde7!important}
#crm-root .workspace details>summary:hover{background:#eef1f7!important;color:#302349!important}
#crm-root .workspace .assisted-order{border:1px solid #cfc1e7!important}
#crm-root .workspace .assisted-order>summary{color:#4c2e86!important}
#crm-root .workspace table th{background:#e9eef5!important;color:#3c506d!important}
#crm-root .workspace table td{background:#fff!important;color:#223047!important}
#crm-root .workspace table tr:nth-child(even) td{background:#f5f7fb!important}
#crm-root .workspace table tr:hover td{background:#eef1f8!important}
#crm-root .workspace table td:before{color:#526176!important}
#crm-root .workspace .product-suggestions,#crm-root .workspace .picker-results{background:#fff!important;border-color:#aebbd0!important}
#crm-root .workspace .product-suggestions button,#crm-root .workspace .picker-result{background:#fff!important;color:#263751!important}
#crm-root .workspace .product-suggestions button:hover,#crm-root .workspace .picker-result:hover{background:#eee8f8!important}
#crm-root .workspace .distributor-price-row{background:#fff!important}
#crm-root .workspace .distributor-price-row:nth-child(even){background:#f5f7fb!important}
#crm-root .workspace .price-article strong{color:#223047!important}
#crm-root .workspace :is(.price-article small,.price-currency,.price-pagination span){color:#53637a!important}
#crm-root .workspace .price-entry input{color:#18263e!important;background:#fff!important}
#crm-root .workspace .network-kpis article,#crm-root .workspace .requests-summary>div,#crm-root .workspace .consignment-kpis>div{background:#f0edf9!important;border:1px solid #d3c7e8!important;color:#412d68!important}
#crm-root .workspace .network-kpis article:nth-child(2){background:#e8f3ed!important;border-color:#b9d7c7!important}
#crm-root .workspace .network-kpis article:nth-child(3){background:#fff4db!important;border-color:#e4cfa0!important}
#crm-root .workspace .network-kpis article:nth-child(4){background:#eaf0fa!important;border-color:#bdcde6!important}
#crm-root .workspace .network-kpis :is(strong,small,p){color:#283a52!important}
#crm-root .workspace .network-kpis strong{font-weight:750}
#crm-root .workspace .strategy .st-kpi.hero{background:#e3d8f6!important;border-color:#cbb5eb!important}
#crm-root .workspace .strategy .st-kpi:nth-child(2){background:#e5f1e9!important;border-color:#b6d1bf!important}
#crm-root .workspace .strategy .st-kpi:nth-child(3){background:#fff0cc!important;border-color:#e5cb8f!important}
#crm-root .workspace .strategy .st-kpi:nth-child(4){background:#e3edf9!important;border-color:#b5cbe8!important}
#crm-root .workspace .strategy .st-kpi :is(strong,p,span,em,small,b){color:#25344b!important}
#crm-root .workspace .strategy .st-kpi .st-card-body{background:#fff!important;color:#25344b!important}
#crm-root .workspace .strategy .st-expand b,#crm-root .workspace .strategy .st-kpi-top>span{background:#ffffffa0!important;color:#493866!important}
#crm-root .workspace .strategy .st-mini-chart>span,#crm-root .workspace .strategy .st-bar,#crm-root .workspace .strategy .st-legend i{background:#8367b7!important}
#crm-root .workspace .strategy .st-mini-chart>span:nth-child(even),#crm-root .workspace .strategy .st-bar.previous,#crm-root .workspace .strategy .st-legend .previous{background:#c6b5df!important}
#crm-root .workspace .strategy .st-rank rect{fill:#8064ae}
#crm-root .workspace .strategy .st-mini-ranking i,#crm-root .workspace .strategy .st-category-counts>div,#crm-root .workspace .strategy .st-chips span,#crm-root .workspace .strategy .st-submetric{background:#edf0f6!important;color:#3c4e69!important}
#crm-root .workspace .strategy .st-trend{background:#dceee3!important;color:#285d3d!important}
#crm-root .workspace .strategy .st-trend.negative{background:#fae8e1!important;color:#803e26!important}
#crm-root .workspace .strategy .st-task-dot{background:#b77424!important}
#crm-root .workspace .retail-hero{background:#ded2f4!important;border-color:#c7b4e8!important}
#crm-root .workspace .retail-hero :is(h2,p,span,.retail-kicker){color:#352255!important}
#crm-root .workspace .retail-hero .retail-hero-mark{color:#7250a5!important}
#crm-root .workspace .retail-hero .retail-secondary{background:#fff9!important;color:#43277f!important}
#crm-root .workspace .retail-ca{background:#ebe3f7!important;border-color:#ccbae6!important}
#crm-root .workspace .retail-units{background:#fae7ee!important;border-color:#e4b9c9!important}
#crm-root .workspace .retail-stock{background:#fff1d0!important;border-color:#e6d09f!important}
#crm-root .workspace :is(.retail-ca,.retail-units,.retail-stock) *{color:#342d43!important}
#crm-root .workspace .retail-next{background:#f1edf8!important;border-color:#d8cce9!important}
#crm-root .workspace .retail-next .retail-primary{background:#6040a8!important;color:white!important}
#crm-root .workspace .retail-trend{background:#ffffffa0!important}
#crm-root .workspace .retail-chart rect{fill:#7955ac}
#crm-root .workspace .retail-chart line{stroke:#b8a2d4}
#crm-root .workspace .retail-chart text{fill:#473358}
#crm-root .workspace .retail-rank{background:#ece3f7!important;color:#563882!important}
#crm-root .workspace .retail-ranking b,#crm-root .workspace .retail-sale b,#crm-root .workspace .retail-account-row strong{color:#57388c!important}
#crm-root .workspace .retail-units progress{background:#e7c7d3!important;accent-color:#8b4262}
#crm-root .workspace .retail-units progress::-webkit-progress-bar{background:#e7c7d3}
#crm-root .workspace .retail-units progress::-webkit-progress-value{background:#8b4262}
#crm-root .workspace .network-welcome,#crm-root .workspace .welcome{background:#ede7f7!important;color:#352450!important}
#crm-root .workspace :is(.network-welcome,.welcome) :is(h2,p,span){color:#352450!important}
#crm-root aside,#crm-root aside.demo-aside{background:#202b3d!important;border-color:#34435a!important;color:#f2f5fc!important}
#crm-root aside :is(.brand,.eyebrow,strong,small,p){color:#d8e1ef!important}
#crm-root aside nav a{color:#e1e7f2!important}
#crm-root aside nav a.active{background:#e4d9f5!important;color:#352151!important;border-color:#e4d9f5!important}
#crm-root aside nav a:hover{background:#354259!important;color:#fff!important}
#crm-root .demo-strip{background:#e8edf5!important;color:#35445d!important}
#crm-root .demo-strip :is(p,strong){color:#35445d!important}
#crm-root .demo-strip :is(select,button){background:#fff!important;color:#27374e!important;border:1px solid #aebcd0!important}
#crm-root .mobile-menu-toggle{background:#35435b!important;color:#fff!important;border-color:#65758c!important}
#crm-root .mobile-dock{background:#fffffffa!important;border-color:#c3cfdf!important;box-shadow:0 -3px 18px #24344815!important}
#crm-root .mobile-dock a{color:#4b5870!important;background:transparent!important}
#crm-root .mobile-dock a.active{background:#e7ddf6!important;color:#482b78!important}
#crm-root #toast{background:#26374c!important;color:#fff!important;border-color:#506681!important}
#crm-root .auth{background:#fff!important;color:#26364b!important;border-color:#d4deeb!important}
#crm-root .auth :is(h1,h2,p,label,.brand){color:#273750!important}
#crm-root dialog{background:#fff!important;color:#26364b!important;border-color:#c9d4e3!important}
#crm-root .workspace :focus-visible{outline:3px solid #7851b2!important;outline-offset:3px}
@media(max-width:760px){#crm-root .workspace p,#crm-root .workspace label,#crm-root .workspace summary{font-size:14px}#crm-root .workspace small{font-size:12px}#crm-root .workspace .network-kpis article{padding:16px!important}#crm-root .workspace .network-kpis strong{font-size:27px!important}}
}
@media screen{html:root{background:#f1f4f8!important}#crm-root{min-height:100vh}#crm-root .workspace{min-height:calc(100vh - 60px)}}

@media screen{#crm-root .order-article-group{margin:18px 0;padding:16px;border:1px solid #d5dde7;border-radius:12px;min-width:0}#crm-root .order-article-group legend{font-size:18px;font-weight:700}#crm-root .order-article-group[data-article-group="material"]{background:#f3effa!important}}
