/* Screen-only command centre. Printed delivery documents retain their white layout. */
@media screen{
html:root{color-scheme:dark;--border:#30513b;--muted:#ccc4a6;--green:#c6b166}
body#crm-root#crm-root,body#crm-root#crm-root:has(.strategy),body#crm-root#crm-root main.workspace{background:#0d1711!important;color:#f3eedd!important}
body#crm-root#crm-root main.workspace{background-image:radial-gradient(ellipse at 50% 0,#1d3124 0,transparent 60%)!important}
body#crm-root#crm-root aside,body#crm-root#crm-root aside.demo-aside{background:#0d1711!important;border-right:1px solid #2a4734!important}
body#crm-root#crm-root aside nav a{color:#cac19f!important}body#crm-root#crm-root aside nav a.active{background:#22392a!important;box-shadow:inset 3px 0 #cab66e,0 0 20px #b0984111!important;color:#e2d8b2!important}body#crm-root#crm-root aside nav a:hover{background:#1e3225!important}
body#crm-root#crm-root .demo-strip{background:#1a2d21!important;border-color:#2c4b37!important;color:#d9d1b3!important}body#crm-root#crm-root .demo-strip select,body#crm-root#crm-root .demo-strip button{background:#213728!important;color:#f3eede!important;border-color:#3e6a4d!important}
body#crm-root#crm-root main.workspace *{color:inherit!important;border-color:#2f4f3a!important}
body#crm-root#crm-root main.workspace :is(h1,h2,h3,h4,strong,b){color:#faf8f2!important}body#crm-root#crm-root main.workspace :is(p,small,.muted,.eyebrow,.st-overline,.form-hint,.st-footnote,.st-definitions){color:#cdc4a4!important}body#crm-root#crm-root main.workspace :is(label,legend,summary){color:#f0ead5!important}
body#crm-root#crm-root main.workspace h1{color:#faf9f3!important}body#crm-root#crm-root main.workspace :is(section,article,.st-panel,.st-kpi,.assisted-order,.table-wrap,.auth){background:#17271c!important;border-color:#2f4f3a!important;box-shadow:0 6px 22px #0002!important;border-radius:9px!important}
body#crm-root#crm-root main.workspace :is(input,select,textarea){background:#111c15!important;color:#faf8f2!important;border-color:#437253!important;color-scheme:dark!important}body#crm-root#crm-root main.workspace :is(input,textarea)::placeholder{color:#bcb391!important}body#crm-root#crm-root main.workspace :is(input,select,textarea):focus{outline:2px solid #bda44c!important;border-color:#cdba78!important}
body#crm-root#crm-root main.workspace :is(button,.retail-primary),body#crm-root#crm-root main.workspace .strategy .st-intro-actions a:first-child{background:#c4ae61!important;color:#101c14!important;border-color:#c4ae61!important;box-shadow:0 0 18px #c4ae6112!important}body#crm-root#crm-root main.workspace :is(button,.retail-primary):hover{background:#d8ca97!important;color:#101c14!important}
body#crm-root#crm-root main.workspace button.secondary,body#crm-root#crm-root main.workspace .retail-secondary,body#crm-root#crm-root main.workspace .quick-actions a{background:#1f3527!important;color:#e7debf!important;border-color:#3c674b!important}body#crm-root#crm-root main.workspace a{color:#d8ca96!important}
body#crm-root#crm-root main.workspace :is(.filters,.history-filters,.st-filterbar,#network-period,.request-line,.order-last,.order-budget,.state-empty,.price-grid-heading,.retail-period-filter,.workspace-filters){background:#18281d!important;color:#e5dec3!important}
body#crm-root#crm-root main.workspace :is(.notice,.partner-minimum,.st-context){background:#1a2b20!important;color:#e2d7b1!important;border-color:#32543d!important}body#crm-root#crm-root main.workspace :is(.notice,.partner-minimum,.st-context) :is(p,small,strong,b,span){color:#e2d7b1!important}
body#crm-root#crm-root main.workspace .badge,body#crm-root#crm-root main.workspace .pill,body#crm-root#crm-root main.workspace .live-status span{background:#253e2d!important;color:#e9e0c2!important;border-color:#406c4f!important}
body#crm-root#crm-root main.workspace .success{background:#1c3123!important;color:#e2d7b0!important}body#crm-root#crm-root main.workspace .error,body#crm-root#crm-root main.workspace .order-warning{background:#432532!important;color:#ffcad0!important}
body#crm-root#crm-root main.workspace .strategy .st-kpis .st-kpi{background:#192a1f!important;border-color:#375e44!important}body#crm-root#crm-root main.workspace .strategy .st-kpis .st-kpi.hero{background:linear-gradient(140deg,#1b2d21,#1c2f22)!important;border-top-color:#cfbd7d!important}
body#crm-root#crm-root main.workspace .strategy .st-kpi summary>strong,body#crm-root#crm-root main.workspace .network-kpis strong{font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important;color:#dacc9a!important;font-variant-numeric:tabular-nums}body#crm-root#crm-root main.workspace .strategy .st-kpi:nth-child(2) summary>strong{color:#dbce9f!important}body#crm-root#crm-root main.workspace .strategy .st-kpi:nth-child(3) summary>strong{color:#ece4ca!important}body#crm-root#crm-root main.workspace .strategy .st-kpi:nth-child(4) summary>strong{color:#f5d58e!important}
body#crm-root#crm-root main.workspace .strategy .st-kpi :is(p,small,span,em,b){color:#d8ceac!important}body#crm-root#crm-root main.workspace .strategy .st-kpi .st-card-body{background:#18281d!important;color:#e9e2c7!important}
body#crm-root#crm-root main.workspace .strategy :is(.st-mini-ranking i,.st-category-counts>div,.st-chips span,.st-submetric){background:#213929!important;color:#e8dfc0!important}body#crm-root#crm-root main.workspace .strategy .st-trend{background:#1c3123!important;color:#dccfa2!important}body#crm-root#crm-root main.workspace .strategy .st-trend.negative{background:#412532!important;color:#ffadb8!important}
body#crm-root#crm-root main.workspace .strategy .st-bar,body#crm-root#crm-root main.workspace .strategy .st-mini-chart>span{background:#c8b36a!important;box-shadow:0 0 14px #c3ad5e22!important}body#crm-root#crm-root main.workspace .strategy .st-bar.previous{background:#928042!important}body#crm-root#crm-root main.workspace .strategy .st-rank rect{fill:#c3ac5c!important}
body#crm-root#crm-root main.workspace .workspace-tabs button,body#crm-root#crm-root main.workspace .workspace-tabs button:hover,body#crm-root#crm-root main.workspace .workspace-tabs button:focus{background:transparent!important;color:#d1c8a9!important;box-shadow:none!important}body#crm-root#crm-root main.workspace .workspace-tabs button[aria-selected=true],body#crm-root#crm-root main.workspace .workspace-tabs button[aria-selected=true]:hover,body#crm-root#crm-root main.workspace .workspace-tabs button[aria-selected=true]:focus{color:#dbce9f!important;background:transparent!important;border-bottom-color:#ccb976!important}
body#crm-root#crm-root main.workspace table th{background:#1f3426!important;color:#e4dab8!important}body#crm-root#crm-root main.workspace table td{background:#17271c!important;color:#f0ebd7!important}body#crm-root#crm-root main.workspace table tr:nth-child(even) td{background:#1b2f22!important}body#crm-root#crm-root main.workspace table tr:hover td{background:#284331!important}
body#crm-root#crm-root main.workspace details>summary:hover{background:#223b2b!important;color:#f7f3e8!important}body#crm-root#crm-root main.workspace .product-suggestions,body#crm-root#crm-root main.workspace .picker-results{background:#1b2f22!important;border-color:#897c4d!important}body#crm-root#crm-root main.workspace .product-suggestions button,body#crm-root#crm-root main.workspace .picker-result{background:#1b2f22!important;color:#f6f3e7!important}body#crm-root#crm-root main.workspace .product-suggestions button:hover{background:#2e4f39!important}
body#crm-root#crm-root main.workspace .distributor-price-row,body#crm-root#crm-root main.workspace .distributor-price-row:nth-child(even){background:#1c3023!important}body#crm-root#crm-root main.workspace .price-entry input{background:#122017!important;color:#f6f2e6!important}body#crm-root#crm-root main.workspace .price-article strong{color:#f6f2e6!important}
body#crm-root#crm-root main.workspace .order-article-group,body#crm-root#crm-root main.workspace .order-article-group[data-article-group=material],body#crm-root#crm-root main.workspace .requests-summary>div,body#crm-root#crm-root main.workspace .consignment-kpis>div,body#crm-root#crm-root main.workspace .network-kpis article{background:#1d3224!important;border-color:#3a6348!important;color:#f0ead6!important}
body#crm-root#crm-root main.workspace .retail-hero{background:linear-gradient(130deg,#26402f,#1d3124)!important;border-color:#3c654a!important}body#crm-root#crm-root main.workspace .retail-hero :is(h2,p,span){color:#f2ecda!important}body#crm-root#crm-root main.workspace :is(.retail-ca,.retail-units,.retail-stock){background:#1c2f22!important;border-color:#3b6449!important}body#crm-root#crm-root main.workspace .retail-ca strong{color:#d6c790!important}
body#crm-root#crm-root main.workspace .order-route span{background:#213929!important;color:#ded2a6!important}body#crm-root#crm-root main.workspace .order-route li{color:#e3d9b5!important}
body#crm-root#crm-root main.workspace .network-orbit{padding:22px!important;margin:22px 0!important;background:#132017!important;overflow:hidden;border:1px solid #3c664a!important;box-shadow:0 0 32px #c5b06409!important}
body#crm-root#crm-root main.workspace .orbit-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.orbit-heading h2{margin:4px 0!important}.orbit-caption{font-size:12px!important;margin:4px 0 0!important}.orbit-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(220px,1fr);gap:24px;align-items:center}.orbit-scene{position:relative;min-height:300px;overflow:hidden}.orbit-scene canvas{width:100%;height:300px;display:block}.orbit-core{position:absolute;left:50%;top:47%;transform:translate(-50%,-50%);display:flex;align-items:center;flex-direction:column;gap:5px;white-space:nowrap;pointer-events:none}.orbit-core>span{letter-spacing:3px;font-size:10px;color:#e1d6af!important}.orbit-core strong{font-size:16px;letter-spacing:2px}.orbit-core small{font-size:10px}.orbit-partners{min-width:0}.orbit-list{display:grid;gap:10px}
body#crm-root#crm-root main.workspace .orbit-partner{display:flex;flex-direction:column;align-items:flex-start;gap:7px;text-align:left;width:100%;background:#1e3325!important;color:#e8e0c2!important;border-color:#355b42!important;padding:13px 16px!important}body#crm-root#crm-root main.workspace .orbit-partner strong{font-family:ui-monospace,Consolas,monospace;font-size:20px;color:#d9ca97!important}body#crm-root#crm-root main.workspace .orbit-partner span{font-size:12px;color:#ebe3c8!important}body#crm-root#crm-root main.workspace .orbit-partner[aria-pressed=true]{border-color:#cebb7a!important;background:#203627!important;box-shadow:0 0 16px #c2ab591a!important}.orbit-detail{font-size:11px!important;margin-top:12px!important;min-height:32px}.orbit-open{margin-top:14px}.orbit-foot{display:flex;justify-content:space-between;gap:14px;padding-top:14px;border-top:1px solid #32543d;font-size:10px;color:#d4caa5!important}.orbit-foot i{display:inline-block;width:6px;height:6px;background:#ccb874!important;border-radius:50%;margin-right:7px;box-shadow:0 0 9px #cbb874}
@media(max-width:760px){.orbit-layout{grid-template-columns:1fr;gap:4px}.orbit-scene{min-height:220px}.orbit-scene canvas{height:220px}.orbit-heading{align-items:flex-start!important;gap:10px!important}.orbit-heading button{min-width:90px;font-size:11px!important}.orbit-core strong{font-size:13px}.orbit-core small{font-size:9px}.orbit-list{grid-template-columns:1fr}.orbit-foot{flex-direction:column;gap:5px}body#crm-root#crm-root main.workspace .network-orbit{padding:15px!important}body#crm-root#crm-root main.workspace .mobile-dock{background:#182a1e!important;border-color:#385e45!important}body#crm-root#crm-root main.workspace .mobile-dock a{color:#d4caa6!important}body#crm-root#crm-root main.workspace .mobile-dock a.active{background:#26402f!important;color:#ded1a5!important}}
@media(prefers-reduced-motion:no-preference){.network-orbit{animation:orbit-reveal .5s ease-out}.st-panel,.st-kpi{transition:border-color .2s,box-shadow .2s!important}.st-panel:hover,.st-kpi:hover{box-shadow:0 0 18px #ccb97511!important}@keyframes orbit-reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}
}
@media print{.network-orbit{display:none!important}}
@media screen{
body#crm-root#crm-root .demo-strip :is(p,strong,span){color:#d5cba7!important}
body#crm-root#crm-root main.workspace .workspace-filters>summary{color:#e2d8b5!important}
body#crm-root#crm-root main.workspace .strategy .st-intro-actions a:nth-child(2){background:#213929!important;color:#dfd3a8!important;border-color:#406e50!important}
body#crm-root#crm-root main.workspace .strategy .st-kpi .st-kpi-top>span,body#crm-root#crm-root main.workspace .strategy .st-expand b{background:#2e4d38!important;color:#ede7d0!important}
body#crm-root#crm-root main.workspace .strategy .st-legend i{background:#c8b36a!important}body#crm-root#crm-root main.workspace .strategy .st-legend .previous{background:#928042!important}
body#crm-root#crm-root main.workspace .partner-card .section-title h2,body#crm-root#crm-root main.workspace .price-article :is(strong,small),body#crm-root#crm-root main.workspace :is(.price-currency,.price-pagination span){color:#ece4ca!important}
}
@media screen{body#crm-root#crm-root main.workspace .network-orbit button.orbit-partner:hover,body#crm-root#crm-root main.workspace .network-orbit button.orbit-partner:focus-visible{background:#2d4d38!important;color:#f5f2e5!important;border-color:#cbb771!important}body#crm-root#crm-root main.workspace .network-orbit button.orbit-partner[aria-pressed=true]{background:#213728!important;color:#eee7d0!important}body#crm-root#crm-root main.workspace button.secondary:hover{background:#2f503a!important;color:#f5f2e5!important}}

/* Complete shared contrast palette: avoids legacy light-theme text on dark cards. */
@media screen {
html:root{background:#0d1711!important}
body#crm-root#crm-root main.workspace :is(.retail-hero,.retail-ca,.retail-units,.retail-stock,.retail-next,.network-welcome,.welcome){color:#f6f3e8!important;background-color:#1d3224!important}
body#crm-root#crm-root main.workspace :is(.retail-next,.network-welcome,.welcome){background:#1d3224!important}
body#crm-root#crm-root main.workspace .retail-hero :is(h2,p,span,.retail-kicker){color:#f6f3e7!important}
body#crm-root#crm-root main.workspace .retail-hero .retail-secondary{background:#2b4835!important;color:#f7f4e9!important;border-color:#aa9c6b!important}
body#crm-root#crm-root main.workspace :is(.retail-ca,.retail-units,.retail-stock) :is(span,p,small){color:#e2dabe!important}
body#crm-root#crm-root main.workspace .retail-trend{background:#213929!important;color:#e4dab5!important}
body#crm-root#crm-root main.workspace .retail-rank{background:#2f4f3a!important;color:#f4f0e1!important}
body#crm-root#crm-root main.workspace :is(.retail-ranking b,.retail-sale b,.retail-account-row strong){color:#f4f0e1!important}
body#crm-root#crm-root main.workspace .retail-chart text{fill:#ece5cc!important}
body#crm-root#crm-root main.workspace .retail-chart line{stroke:#497a5a!important}
body#crm-root#crm-root main.workspace .retail-chart rect{fill:#ccb975!important}
body#crm-root#crm-root main.workspace progress{background:#31533d!important;accent-color:#cebb79}
body#crm-root#crm-root main.workspace progress::-webkit-progress-bar{background:#31533d!important}
body#crm-root#crm-root main.workspace progress::-webkit-progress-value{background:#cebb79!important}
body#crm-root#crm-root main.workspace :is(button,.retail-primary) *{color:inherit!important}
body#crm-root#crm-root main.workspace a.retail-primary{background:#c4ae61!important;color:#101c14!important}
body#crm-root#crm-root main.workspace button:disabled{opacity:1!important;background:#2d4c37!important;color:#d7d0b5!important;border-color:#807652!important}
body#crm-root#crm-root main.workspace table td:before{color:#dfd6b8!important}
body#crm-root#crm-root .mobile-dock{background:#182a1e!important;color:#f4f0e2!important}
body#crm-root#crm-root .mobile-dock a{color:#eae2c7!important}
body#crm-root#crm-root .mobile-dock a.active{background:#274230!important;color:#e8dfbf!important}
body#crm-root#crm-root :is(dialog,.auth){background:#1c3023!important;color:#faf8f2!important}
body#crm-root#crm-root :is(dialog,.auth) :is(h1,h2,p,label,.brand){color:#faf8f2!important}
body#crm-root#crm-root :is(dialog,.auth) :is(input,select,textarea){background:#111c15!important;color:#faf8f2!important}
body#crm-root#crm-root main.workspace :focus-visible{outline:3px solid #d8c995!important;outline-offset:3px}
}
@media screen{
.city-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(250px,1fr);gap:24px;margin-top:20px}.city-map{position:relative;aspect-ratio:620/380;min-height:280px;background:radial-gradient(ellipse at center,#243e2d44,transparent 65%);border:1px solid #31533d;border-radius:12px;overflow:hidden}.city-lines{position:absolute;width:100%;height:100%;inset:0}.city-lines line{stroke:#416e50;stroke-width:1}.city-lines line.selected{stroke:#d6c791;stroke-width:2;stroke-dasharray:7 6;animation:city-flow 2s linear infinite}.city-hub{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;gap:7px;text-align:center;width:32%;padding:18px 0;background:#1a2b20;border:1px solid #baa762;border-radius:50%;box-shadow:0 0 32px #c5af6119;z-index:1}.city-hub span{font-size:9px;letter-spacing:1px}.city-hub strong{font:700 20px ui-monospace,monospace}.city-hub small{font-size:10px}
body#crm-root#crm-root main.workspace .city-node{position:absolute;transform:translate(-50%,-50%);width:29%;padding:12px 7px!important;min-height:65px;background:#1f3426!important;border:1px solid #447454!important;color:#f7f4e9!important;display:grid;gap:5px;z-index:2;text-align:center;border-radius:10px}.city-node span{font-size:12px;overflow-wrap:anywhere}.city-node strong{font:700 14px ui-monospace,monospace}body#crm-root#crm-root main.workspace .city-node[aria-pressed=true]{background:#243d2c!important;border-color:#d6c791!important;box-shadow:0 0 22px #c5af6233!important}body#crm-root#crm-root main.workspace .city-node:hover{background:#2f513b!important;color:#fff!important}.city-selector{margin-top:14px}.city-selector select{margin-top:6px}.city-map-caption{font-size:11px!important}.city-focus{padding:22px;border:1px solid #3c674b;border-radius:12px;background:#1d3124}.city-focus h3{font-size:24px;margin:8px 0 14px}.city-amount{font:700 32px ui-monospace,monospace;color:#d9ca97!important}.city-share{height:6px;background:#30533c;margin:18px 0 8px;border-radius:8px;overflow:hidden}.city-share i{height:100%;display:block;background:#cfbd7d!important;transition:width .8s ease}.city-share-label{font-size:12px}.city-stats{padding:12px 0;font-size:13px;border-bottom:1px solid #3c664a}.city-dealers{max-height:270px;overflow:auto}.city-dealers>div{padding:14px 0;display:grid;grid-template-columns:1fr auto;gap:6px;border-bottom:1px solid #31533d}.city-dealers strong{font-size:13px}.city-dealers span{font:12px ui-monospace,monospace}.city-dealers a{font-size:12px;grid-column:1/-1}.city-status{color:#e6dcba!important}
@keyframes city-flow{to{stroke-dashoffset:-26}}
@media(max-width:900px){.city-layout{grid-template-columns:1fr}.city-map{min-height:260px}.city-hub strong{font-size:16px}.city-node span{font-size:11px}.city-focus{padding:16px}.city-focus h3{font-size:22px}}
@media(max-width:420px){.city-hub{width:31%;padding:14px 0}.city-hub strong{font-size:12px}.city-hub span{font-size:7px}.city-hub small{font-size:9px}.city-node strong{font-size:11px}.city-node span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.city-lines line.selected{animation:none}.city-share i{transition:none}}
}

@media screen{.city-network[data-paused="true"] .city-lines line.selected{animation-play-state:paused}}
@media screen{body#crm-root#crm-root main.workspace .city-amount{color:#d9ca97!important}body#crm-root#crm-root main.workspace .city-focus{background:#1d3124!important}body#crm-root#crm-root main.workspace .city-share{background:#30533c!important}body#crm-root#crm-root main.workspace .city-share i{background:#cfbd7d!important}body#crm-root#crm-root main.workspace .city-hub{background:#1a2b20!important}body#crm-root#crm-root main.workspace .city-map{background:radial-gradient(ellipse at center,#243e2d44,transparent 65%)!important}}

.city-layout>div{min-width:0}.city-map{width:100%;box-sizing:border-box}@media(max-width:760px){.city-map{aspect-ratio:auto;height:300px}}
@media screen{
body#crm-root#crm-root main.workspace .geo-map{height:460px;width:100%;min-width:0;border:1px solid #406e50!important;border-radius:12px;background:#142118!important;overflow:hidden;isolation:isolate;z-index:0}
body#crm-root#crm-root main.workspace .geo-map .leaflet-pane{background:transparent!important}
body#crm-root#crm-root main.workspace .geo-map img.leaflet-tile{max-width:none!important;max-height:none!important;border:0!important;border-radius:0!important;padding:0!important}
body#crm-root#crm-root main.workspace .geo-map .leaflet-control-zoom a{background:#243d2c!important;color:#fbfaf5!important;border-color:#92865d!important;font-size:22px!important}
body#crm-root#crm-root main.workspace .geo-map .leaflet-control-attribution{background:#15241aef!important;color:#ebe4c9!important;font-size:10px!important;line-height:1.5!important;padding:3px 6px!important}
body#crm-root#crm-root main.workspace .geo-map .leaflet-control-attribution a{color:#eae3c8!important}
body#crm-root#crm-root main.workspace .geo-map .leaflet-tooltip{background:#1f3627!important;color:#fcfbf6!important;border:1px solid #998c5c!important;box-shadow:0 3px 12px #0008!important;padding:7px 10px!important;font-size:12px!important}
.geo-marker{border:0!important;background:none!important;display:grid;place-items:center}
body#crm-root#crm-root main.workspace .geo-count{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;font:bold 13px ui-sans-serif,sans-serif;background:#7c7352!important;color:#fff!important;border:2px solid #d8d1b9!important;position:relative;box-shadow:0 0 12px #e7debd44}
body#crm-root#crm-root main.workspace .has-activity .geo-count{background:#2e4d38!important;border-color:#dfd4aa!important;box-shadow:0 0 18px #cbb873aa;color:#fff!important}
body#crm-root#crm-root main.workspace .geo-halo{position:absolute;inset:0;border-radius:50%;background:transparent!important;border:2px solid transparent!important}
body#crm-root#crm-root main.workspace .has-activity .geo-halo{border-color:#d7c892!important;animation:geo-pulse 2.6s ease-out infinite}
body#crm-root#crm-root main.workspace .geo-selected .geo-count{outline:3px solid #fff;outline-offset:4px}
.geo-legend{display:flex;flex-wrap:wrap;gap:14px;margin:12px 0;font-size:12px}.geo-legend>span{display:flex;gap:7px;align-items:center}.geo-light{display:inline-block;width:10px;height:10px;border-radius:50%;background:#bab08c!important}.geo-light.active{background:#d7c892!important;box-shadow:0 0 10px #d7c892}.geo-partner-status{grid-column:1/-1;font-size:11px!important}.geo-reset{margin:12px 0 0}.geo-error{color:#ffe0ae!important}
body#crm-root#crm-root main.workspace .geo-partner-status.active{color:#dfd3a9!important}
@keyframes geo-pulse{0%{transform:scale(1);opacity:.8}100%{transform:scale(2.1);opacity:0}}
.city-network[data-paused=true] .geo-halo{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.geo-halo{animation:none!important}}
@media(max-width:760px){body#crm-root#crm-root main.workspace .geo-map{height:360px}.geo-legend{gap:8px;font-size:11px}}
}
@media screen{body#crm-root#crm-root main.workspace .geo-light{background:#bab08c!important}body#crm-root#crm-root main.workspace .geo-light.active{background:#d7c892!important}}

@media screen{body#crm-root#crm-root main.workspace .global-ca{padding:24px!important;margin:24px 0!important}.global-ca .st-chart{min-height:240px}.global-ca h2{margin:6px 0 10px}.global-ca .st-chart-top>strong{font-size:36px!important}.global-ca .st-legend{flex-wrap:wrap}@media(max-width:760px){body#crm-root#crm-root main.workspace .global-ca{padding:16px!important}.global-ca .st-chart{min-height:190px}.global-ca .st-chart-top>strong{font-size:28px!important}}}

/* One column per calendar day, including zero-sales days. */
.daily-chart-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:12px}
body#crm-root#crm-root main.workspace .daily-ca-chart{display:flex!important;gap:8px!important;width:100%;min-width:min-content}
body#crm-root#crm-root main.workspace .daily-ca-chart .st-column{flex:1 0 48px!important;min-width:48px}
body#crm-root#crm-root main.workspace .daily-ca-chart .st-column>small{font-size:11px!important;white-space:nowrap}
.daily-chart-scroll:focus-visible{outline:2px solid #c8b46c;outline-offset:3px}

body#crm-root#crm-root main.workspace .cumulative-ca-chart{display:block;width:100%;min-width:640px;height:auto;max-height:none}
body#crm-root#crm-root main.workspace .cumulative-ca-chart text{fill:#e5dec4!important;font-size:12px}
body#crm-root#crm-root main.workspace .cumulative-ca-chart path{fill:none!important;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
body#crm-root#crm-root main.workspace .cum-current{stroke:#c8b46c!important}
body#crm-root#crm-root main.workspace .cum-previous{stroke:#d0c18c!important;stroke-dasharray:6 5}
body#crm-root#crm-root main.workspace .cum-point{fill:#c8b46c!important;stroke:#182a1e;stroke-width:1}

body#crm-root#crm-root main.workspace .city-ca-layout{display:grid;grid-template-columns:minmax(220px,320px) minmax(0,1fr);gap:32px;align-items:center;max-width:960px;margin:16px auto}
body#crm-root#crm-root main.workspace .city-ca-pie{display:block;width:100%;max-width:320px;height:auto;margin:auto}
body#crm-root#crm-root main.workspace .city-ca-pie path,body#crm-root#crm-root main.workspace .city-ca-pie circle{stroke:#182a1e;stroke-width:2}
body#crm-root#crm-root main.workspace .city-ca-row{display:grid;grid-template-columns:14px minmax(0,1fr) auto auto;gap:12px;padding:12px 0;align-items:center;border-bottom:1px solid #32563e;font-size:14px}
body#crm-root#crm-root main.workspace .city-ca-row small{min-width:52px;text-align:right;color:#ddd6bd!important}
@media(max-width:650px){body#crm-root#crm-root main.workspace .city-ca-layout{grid-template-columns:1fr;gap:12px}body#crm-root#crm-root main.workspace .city-ca-pie{max-width:240px}body#crm-root#crm-root main.workspace .city-ca-row{gap:8px;font-size:12px}}

/* Compact city summary, keeping readable labels on small screens. */
body#crm-root#crm-root main.workspace .global-ca{padding:16px 20px!important;margin:14px 0!important}
body#crm-root#crm-root main.workspace .global-ca>.st-overline{margin:0 0 4px!important}
body#crm-root#crm-root main.workspace .global-ca>h2{margin:0 0 6px!important}
body#crm-root#crm-root main.workspace .global-ca>p:not(.st-overline){margin:0!important;line-height:1.5}
body#crm-root#crm-root main.workspace .city-ca-layout{grid-template-columns:180px minmax(0,1fr);gap:24px;max-width:740px;margin:8px 0 0}
body#crm-root#crm-root main.workspace .city-ca-pie{max-width:180px}
body#crm-root#crm-root main.workspace .city-ca-legend{min-width:0}
body#crm-root#crm-root main.workspace .city-ca-legend>p{margin:0 0 4px!important}
body#crm-root#crm-root main.workspace .city-ca-row{padding:8px 0;gap:10px;min-width:0}
body#crm-root#crm-root main.workspace .city-ca-row>span{overflow-wrap:anywhere}
body#crm-root#crm-root main.workspace .city-ca-row>strong{white-space:nowrap}
@media(max-width:650px){
body#crm-root#crm-root main.workspace .global-ca{padding:14px!important;margin:12px 0!important}
body#crm-root#crm-root main.workspace .global-ca>h2{font-size:17px!important;line-height:1.3}
body#crm-root#crm-root main.workspace .city-ca-layout{grid-template-columns:1fr;gap:6px;margin-top:6px}
body#crm-root#crm-root main.workspace .city-ca-pie{max-width:150px}
body#crm-root#crm-root main.workspace .city-ca-row{grid-template-columns:12px minmax(0,1fr) auto;gap:6px 8px;font-size:14px;padding:8px 0}
body#crm-root#crm-root main.workspace .city-ca-row>small{grid-column:3;min-width:0;font-size:12px;line-height:1}
body#crm-root#crm-root main.workspace .city-ca-row>span{grid-column:2;grid-row:span 2}
body#crm-root#crm-root main.workspace .city-ca-row>svg{grid-row:span 2;width:12px;height:12px}
}

/* Reseller home: direct actions, without a navigation menu. */
body#crm-root.simple-retailer>aside,body#crm-root.simple-retailer aside,body#crm-root.simple-retailer .mobile-dock,body#crm-root.simple-retailer .mobile-header,body#crm-root.simple-retailer .menu-toggle{display:none!important}
body#crm-root#crm-root.simple-retailer main.workspace{margin-left:auto!important;margin-right:auto!important;max-width:1000px!important;width:100%!important;box-sizing:border-box;padding:24px 20px 32px!important}
body#crm-root#crm-root.simple-retailer main.workspace.simple-home-page>header{display:none!important}
body#crm-root#crm-root.simple-retailer main.workspace .simple-topbar{display:flex;justify-content:space-between;gap:16px;margin:0 0 20px}
body#crm-root#crm-root.simple-retailer main.workspace .simple-topbar a{display:flex;align-items:center;min-height:44px;color:#f2eedd!important;font-size:15px!important}
body#crm-root#crm-root.simple-retailer main.workspace .simple-welcome h2{font-size:28px!important;line-height:1.25;margin:6px 0!important;color:#fcfbf7!important}
body#crm-root#crm-root.simple-retailer main.workspace .simple-welcome p{font-size:16px!important;line-height:1.5;margin:4px 0!important;color:#e5dec3!important}
body#crm-root#crm-root.simple-retailer main.workspace .simple-sales{padding:20px!important;margin:20px 0!important;background:#213829!important;border:1px solid #447555!important;border-radius:16px}
body#crm-root#crm-root.simple-retailer main.workspace .simple-sales h3{font-size:19px!important;margin:0 0 4px}
body#crm-root#crm-root.simple-retailer main.workspace .simple-sales>strong{display:block;font-size:36px!important;color:#d4c48c!important;margin:10px 0}
body#crm-root#crm-root.simple-retailer main.workspace .simple-sales small{font-size:18px!important;color:#f4f1e3!important}
body#crm-root#crm-root.simple-retailer main.workspace .simple-sales p{margin:4px 0!important;font-size:14px!important;color:#e9e5d5!important}
body#crm-root#crm-root.simple-retailer main.workspace .simple-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body#crm-root#crm-root.simple-retailer main.workspace .simple-tile{position:relative;display:grid;grid-template-columns:44px 1fr;gap:4px 12px;align-content:center;padding:20px!important;min-height:100px;box-sizing:border-box;border:1px solid #3c664a!important;border-radius:16px;background:#203728!important;text-decoration:none!important}
body#crm-root#crm-root.simple-retailer main.workspace .simple-tile:hover,body#crm-root#crm-root.simple-retailer main.workspace .simple-tile:focus-visible{border-color:#cfbd7c!important;background:#2a4734!important;outline:2px solid #cfbd7c;outline-offset:2px}
body#crm-root#crm-root.simple-retailer main.workspace .simple-icon{grid-row:span 2;align-self:center;font-size:30px!important;color:#d4c389!important}
body#crm-root#crm-root.simple-retailer main.workspace .simple-tile strong{font-size:19px!important;color:#fff!important;padding-right:16px}
body#crm-root#crm-root.simple-retailer main.workspace .simple-tile>span:not(.simple-icon){font-size:14px!important;line-height:1.45;color:#e6dfc4!important}
body#crm-root#crm-root.simple-retailer main.workspace .simple-tile>b{position:absolute;right:14px;top:20px;color:#d6cba2!important}
body#crm-root#crm-root.simple-retailer main.workspace .simple-help{font-size:14px!important;margin:16px 0!important}
body#crm-root#crm-root.simple-retailer .retail-period-filter{margin:20px 0!important;font-size:14px!important}
@media(max-width:600px){body#crm-root#crm-root.simple-retailer main.workspace{padding:14px 14px 24px!important}body#crm-root#crm-root.simple-retailer main.workspace .simple-topbar{margin-bottom:12px}body#crm-root#crm-root.simple-retailer main.workspace .simple-welcome h2{font-size:24px!important}body#crm-root#crm-root.simple-retailer main.workspace .simple-tiles{grid-template-columns:1fr;gap:10px}body#crm-root#crm-root.simple-retailer main.workspace .simple-tile{min-height:92px;padding:16px!important}body#crm-root#crm-root.simple-retailer main.workspace .simple-sales{margin:16px 0!important;padding:16px!important}}

body#crm-root#crm-root.simple-retailer .retail-period-filter{margin:12px 0 20px;padding:16px;border:1px solid #3c664a;border-radius:14px;background:#1a2c20;color:#faf9f3}body#crm-root#crm-root.simple-retailer .retail-period-filter h3{margin:0 0 12px;font-size:16px;color:#faf9f3}body#crm-root#crm-root.simple-retailer .retail-period-filter .fields{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:0}body#crm-root#crm-root.simple-retailer .retail-period-filter label{flex:1 1 150px;min-width:0}body#crm-root#crm-root.simple-retailer .retail-period-filter input{width:100%;min-width:0;box-sizing:border-box}body#crm-root#crm-root.simple-retailer .retail-period-filter p{flex-basis:100%;margin:0;font-size:12px;color:#e3dcc2}body#crm-root#crm-root.simple-retailer .retail-period-filter .st-filterbar{margin:0;padding:0;border:0}@media(max-width:600px){body#crm-root#crm-root.simple-retailer .retail-period-filter label{flex:1 1 40%}body#crm-root#crm-root.simple-retailer .retail-period-filter button{width:100%}}

/* Vitapur × Ikko: forest, olive, cream and copper. */
@media screen{
html:root{--green:#c7cc8d;--border:#41584a;--muted:#d1d5c4}
body#crm-root#crm-root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;background:#101e18!important;color:#f5f1e5!important}
body#crm-root#crm-root main.workspace{background:radial-gradient(ellipse at 100% 0,#324a322e,transparent 55%),#101e18!important}
body#crm-root#crm-root main.workspace :is(section,article,.st-panel,.st-kpi,.assisted-order,.table-wrap){border-radius:18px!important;box-shadow:0 6px 24px #00000016!important}
body#crm-root#crm-root main.workspace :is(button,.retail-primary),body#crm-root#crm-root main.workspace .strategy .st-intro-actions a:first-child{min-height:46px;border-radius:12px!important;background:#d1d59b!important;color:#18291c!important;border:1px solid #e0dfb4!important;font-weight:650;box-shadow:0 3px 8px #0002!important;transition:background .18s,transform .18s,box-shadow .18s}
body#crm-root#crm-root main.workspace :is(button,.retail-primary):hover{background:#e4e6bd!important;color:#18291c!important;box-shadow:0 5px 12px #0003!important}
body#crm-root#crm-root main.workspace button.secondary,body#crm-root#crm-root main.workspace .retail-secondary{background:#253c2f!important;color:#f0ebd8!important;border:1px solid #66765d!important}
body#crm-root#crm-root main.workspace button.secondary:hover{background:#354e3b!important;color:#fff8e8!important}
body#crm-root#crm-root main.workspace button:disabled{opacity:.48;cursor:not-allowed;box-shadow:none!important}
body#crm-root#crm-root main.workspace :is(button,a,input,select,textarea):focus-visible{outline:3px solid #e2bd87!important;outline-offset:3px}
body#crm-root#crm-root main.workspace :is(input,select,textarea){border-radius:11px!important;min-height:46px;accent-color:#c7cc8d}
body#crm-root#crm-root.simple-retailer main.workspace .simple-welcome{position:relative;overflow:hidden;padding:24px;border:1px solid #52664e;border-radius:22px;background:linear-gradient(115deg,#2c4c36,#19382a);margin:0 0 16px}
body#crm-root#crm-root.simple-retailer main.workspace .simple-welcome:after{content:"";position:absolute;right:-45px;top:-70px;width:200px;height:260px;border:1px solid #d8c38d30;border-radius:100% 0 100% 0;transform:rotate(-20deg);pointer-events:none}
body#crm-root#crm-root.simple-retailer main.workspace .simple-welcome h2{color:#fff6df!important}
body#crm-root#crm-root.simple-retailer main.workspace .simple-welcome p{color:#e0e4cb!important}
body#crm-root#crm-root.simple-retailer main.workspace .simple-sales{background:linear-gradient(125deg,#38472b,#293f2c)!important;border-color:#75815a!important}
body#crm-root#crm-root.simple-retailer main.workspace .simple-sales>strong{color:#f1e7ba!important}
body#crm-root#crm-root.simple-retailer main.workspace .simple-tile{background:linear-gradient(125deg,#263f30,#1c3227)!important;border:1px solid #4b654c!important;border-radius:18px!important;box-shadow:0 5px 15px #0002;transition:transform .18s,background .18s,box-shadow .18s}
body#crm-root#crm-root.simple-retailer main.workspace .simple-tile:nth-child(2){background:linear-gradient(130deg,#71472d,#513522)!important;border-color:#a57c53!important}
body#crm-root#crm-root.simple-retailer main.workspace .simple-tile:nth-child(6){background:linear-gradient(130deg,#4b5032,#323e29)!important;border-color:#7f8359!important}
body#crm-root#crm-root.simple-retailer main.workspace .simple-tile strong{color:#fff5e1!important}
body#crm-root#crm-root.simple-retailer main.workspace .simple-tile>span:not(.simple-icon){color:#e0decb!important}
body#crm-root#crm-root.simple-retailer main.workspace .simple-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#f1e7ba12;color:#e1cf9b!important;font-size:25px!important}
body#crm-root#crm-root.simple-retailer main.workspace .simple-tile:hover{transform:translateY(-2px);box-shadow:0 9px 20px #0003;border-color:#d7c491!important}
body#crm-root#crm-root main.workspace .retail-period-filter{border-radius:16px!important}
body#crm-root#crm-root.simple-retailer .retail-period-filter #network-period{background:transparent!important}
body#crm-root#crm-root :is(.mobile-dock,.mobile-header){background:#152a1e!important;color:#f3eedc!important;border-color:#476047!important}
body#crm-root#crm-root dialog{background:#21382a!important;color:#f5efdc!important;border:1px solid #718360;border-radius:18px}
body#crm-root#crm-root main.workspace button.danger{background:#713a30!important;color:#fff0df!important;border-color:#b47e68!important}
@media(max-width:600px){body#crm-root#crm-root.simple-retailer main.workspace .simple-welcome{padding:18px}body#crm-root#crm-root main.workspace :is(input,select,textarea){font-size:16px!important}body#crm-root#crm-root.simple-retailer main.workspace .simple-tile{min-height:96px!important}}
@media(prefers-reduced-motion:reduce){body#crm-root#crm-root *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
}

@media screen{body#crm-root#crm-root.simple-retailer main.workspace .simple-welcome{background:linear-gradient(115deg,#2c4c36,#19382a)!important}body#crm-root#crm-root.simple-retailer main.workspace .retail-period-filter #network-period{padding:0!important;gap:10px!important}body#crm-root#crm-root.simple-retailer main.workspace .retail-period-filter input{padding:10px 6px!important}}

@media screen{
body#crm-root#crm-root.simple-retailer main.workspace .simple-sales{box-sizing:border-box;min-height:256px;padding:20px!important}
body#crm-root#crm-root.simple-retailer main.workspace .sales-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;min-width:0}
body#crm-root#crm-root.simple-retailer main.workspace .sales-heading h3{margin:0!important}
body#crm-root#crm-root.simple-retailer main.workspace #network-period.sales-period{display:flex;gap:10px;align-items:center;background:transparent!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important}
body#crm-root#crm-root.simple-retailer main.workspace .sales-period label{display:flex;align-items:center;gap:5px;font-size:12px!important;margin:0;min-width:0}
body#crm-root#crm-root.simple-retailer main.workspace .sales-period input{width:145px;box-sizing:border-box;min-height:44px;height:44px;padding:8px 6px!important;font-size:14px!important;margin:0!important;background:#1c3023!important;border-color:#7a8864!important;color:#fff6df!important}
body#crm-root#crm-root.simple-retailer main.workspace .simple-sales>strong{margin:12px 0!important;line-height:1.15}
@media(max-width:600px){
body#crm-root#crm-root.simple-retailer main.workspace .simple-sales{padding:16px!important}
body#crm-root#crm-root.simple-retailer main.workspace .sales-heading{display:block}
body#crm-root#crm-root.simple-retailer main.workspace #network-period.sales-period{margin-top:8px!important;gap:8px}
body#crm-root#crm-root.simple-retailer main.workspace .sales-period label{flex:1;gap:4px}
body#crm-root#crm-root.simple-retailer main.workspace .sales-period input{width:100%;min-width:0;font-size:14px!important;padding:8px 3px!important}
body#crm-root#crm-root.simple-retailer main.workspace .simple-sales>strong{font-size:30px!important;margin:8px 0!important}
body#crm-root#crm-root.simple-retailer main.workspace .simple-sales small{display:inline!important;font-size:16px!important}
body#crm-root#crm-root.simple-retailer main.workspace .simple-sales p{font-size:13px!important;line-height:1.35!important}
}}
