/* Category colors identify metrics; result colors remain in dashboard-signals.css. */
body:has(.shell){--dash-blue:#72c6ff;--dash-pink:#ff9bc7;--dash-violet:#b4a0ff;--dash-orange:#ffba83;--dash-blue-panel:linear-gradient(135deg,#173d66,#132b4c);--dash-pink-panel:linear-gradient(135deg,#63354f,#3e253e);--dash-violet-panel:linear-gradient(135deg,#403268,#292342);--dash-orange-panel:linear-gradient(135deg,#68412c,#3b2922);--dash-color-label:#eee8f8;--dash-color-note:#d0c8d9;--dash-country-1:#74bdff;--dash-country-2:#f08fbd;--dash-country-3:#a896f4;--dash-country-4:#ffb476;--dash-country-5:#93a9bd}
html body.auth-ready:has(.shell) .overview-kpis>article:nth-child(1),html body.auth-ready:has(.shell) .kpis>.kpi:nth-child(1){background:var(--dash-blue-panel)!important;border-color:#517eac!important}
html body.auth-ready:has(.shell) .overview-kpis>article:nth-child(2),html body.auth-ready:has(.shell) .kpis>.kpi:nth-child(3){background:var(--dash-pink-panel)!important;border-color:#975b82!important}
html body.auth-ready:has(.shell) .overview-kpis>article:nth-child(3){background:var(--dash-orange-panel)!important;border-color:#98674a!important}
html body.auth-ready:has(.shell) .overview-kpis>article:nth-child(5),html body.auth-ready:has(.shell) .kpis>.kpi:nth-child(4){background:var(--dash-violet-panel)!important;border-color:#756497!important}
html body.auth-ready:has(.shell) .overview-kpis>.overview-products-link>article{background:var(--dash-blue-panel)!important;border-color:#517eac!important}
html body.auth-ready:has(.shell) .overview-kpis>article:nth-child(6){border-color:#756497!important;background:linear-gradient(145deg,#282139,#18171d)!important}
html body.auth-ready .overview-kpis>article:is(:nth-child(1),:nth-child(2),:nth-child(3),:nth-child(5),:nth-child(6))>span,html body.auth-ready .overview-products-link article>span{color:var(--dash-color-label)!important}
html body.auth-ready .overview-kpis>article:is(:nth-child(1),:nth-child(2),:nth-child(3),:nth-child(5),:nth-child(6))>small,html body.auth-ready .overview-products-link article>small{color:var(--dash-color-note)!important}
html body.auth-ready .overview-kpis .metric-glyph{color:inherit!important;background:#ffffff12;border:1px solid #ffffff24;border-radius:50%;width:27px;height:27px;display:inline-grid;place-items:center}
html body.auth-ready .dashboard-targets .target-card{background:var(--dash-blue-panel);border-color:#517eac}
html body.auth-ready .dashboard-targets .target-card:nth-child(2){background:var(--dash-pink-panel);border-color:#975b82}
html body.auth-ready .dashboard-targets .target-card:nth-child(3){background:var(--dash-violet-panel);border-color:#756497}
html body.auth-ready .target-card-label,html body.auth-ready .target-comparison{color:var(--dash-color-label)}
html body.auth-ready .target-card-status,html body.auth-ready .target-card>small{color:var(--dash-color-note)}
html body.auth-ready .target-track{background:#ffffff21}
html body.auth-ready .target-card:not(.target-reached):not(.target-partial) .target-track>span{background:linear-gradient(90deg,#87bfff,#e2a6ff,#ffb98c)}
html body.auth-ready:has(.shell) .dashboard-insights .insight-layout>.card.insight-trend{background:radial-gradient(ellipse at 80% 0,#287fcf25,transparent 65%),#141b25!important;border-color:#354e6d!important}
html body.auth-ready:has(.shell) .dashboard-insights .insight-layout>.card.insight-activity{background:var(--dash-violet-panel)!important;border-color:#756497!important}
html body.auth-ready:has(.shell) .dashboard-insights .insight-layout>.card.insight-action{background:linear-gradient(135deg,#7853cd,#4b387c 58%,#57394e)!important;border-color:#a888db!important}
html body.auth-ready .insight-action h3{color:#fff!important}
html body.auth-ready .insight-action p,html body.auth-ready .insight-action button,html body.auth-ready .insight-tag{color:#eee1ff!important}
html body.auth-ready .insight-tag{border-color:#c5a2ec66;background:#ffffff0b}
html body.auth-ready .insight-action button{border-top-color:#d5beef55}
html body.auth-ready .insight-activity .insight-note,html body.auth-ready .insight-heat-labels,html body.auth-ready .insight-heat-key{color:var(--dash-color-note)}
html body.auth-ready .insight-line{stroke:var(--dash-blue);filter:drop-shadow(0 0 5px #50a6ff55)}
html body.auth-ready #insight-area stop{stop-color:var(--dash-blue)}
html body.auth-ready .insight-point{fill:var(--dash-blue)}
html body.auth-ready .insight-cursor{stroke:var(--dash-blue)}
html body.auth-ready .heat-level-0{background:#ffffff0f}
html body.auth-ready .heat-level-1{background:#665089}
html body.auth-ready .heat-level-2{background:#9164b5}
html body.auth-ready .heat-level-3{background:#c389d3}
html body.auth-ready .heat-level-4{background:#f1b5df;box-shadow:0 0 12px #ee8bdc33}
html body.auth-ready .insight-gauge line.filled{stroke:var(--dash-blue);filter:drop-shadow(0 0 4px #72c6ff33)}
html body.auth-ready .organized-sidebar .nav-group[data-nav-group=overview] .nav-icon{color:var(--dash-blue)}
html body.auth-ready .organized-sidebar .nav-group[data-nav-group=profit] .nav-icon{color:var(--dash-orange)}
html body.auth-ready .organized-sidebar .nav-group[data-nav-group=ads] .nav-icon{color:var(--dash-pink)}
html body.auth-ready .organized-sidebar .nav-group[data-nav-group=integrations] .nav-icon{color:var(--dash-violet)}
html body.auth-ready .organized-sidebar .workspace>.avatar{background:var(--dash-violet-panel);color:var(--dash-violet);border-color:#756497}
html[data-theme=light] body:has(.shell){--dash-blue:#1766a5;--dash-pink:#9d386e;--dash-violet:#6944a5;--dash-orange:#a15e25;--dash-blue-panel:linear-gradient(135deg,#deefff,#ecf5ff);--dash-pink-panel:linear-gradient(135deg,#f9ddec,#fcebf3);--dash-violet-panel:linear-gradient(135deg,#e8defa,#f3edff);--dash-orange-panel:linear-gradient(135deg,#ffe4cb,#fff2e5);--dash-color-label:#403a50;--dash-color-note:#62566b;--dash-country-1:#337fbe;--dash-country-2:#bd5b8b;--dash-country-3:#8666cb;--dash-country-4:#b77d36;--dash-country-5:#7f94aa}
html[data-theme=light] body.auth-ready .overview-kpis>article:nth-child(6){background:var(--dash-violet-panel)!important}
html[data-theme=light] body.auth-ready .dashboard-insights .insight-layout>.insight-trend{background:radial-gradient(ellipse at 80% 0,#d6eaff,transparent 75%),#fff!important;border-color:#aac8e2!important}
html[data-theme=light] body.auth-ready .dashboard-insights .insight-layout>.insight-action{background:linear-gradient(135deg,#7853cd,#513a84 65%,#68445c)!important}
html[data-theme=light] body.auth-ready .target-current,html[data-theme=light] body.auth-ready .target-comparison b{color:#292334}
html[data-theme=light] body.auth-ready .target-track{background:#49366b18}
html[data-theme=light] body.auth-ready .heat-level-0{background:#59407912}
html[data-theme=light] body.auth-ready .heat-level-1{background:#ded0ed}
html[data-theme=light] body.auth-ready .heat-level-2{background:#bc9bd5}
html[data-theme=light] body.auth-ready .heat-level-3{background:#9463b6}
html[data-theme=light] body.auth-ready .heat-level-4{background:#704090}
html[data-theme=light] body.auth-ready .overview-kpis .metric-glyph{background:#ffffff66;border-color:#55447722}
@media(prefers-reduced-motion:reduce){.target-track>span{transition:none}}

html[data-theme=light] body.auth-ready:has(.shell) .profit-kpis.overview-kpis>article:nth-child(1):not(.margin-loss):not(.margin-profit):not(.margin-estimate):not(.margin-positive-estimate){background:var(--dash-blue-panel)!important;border-color:#aac8e2!important}
html[data-theme=light] body.auth-ready:has(.shell) .profit-kpis.overview-kpis>article:nth-child(2):not(.margin-loss):not(.margin-profit):not(.margin-estimate):not(.margin-positive-estimate){background:var(--dash-pink-panel)!important;border-color:#dfb4cf!important}
html[data-theme=light] body.auth-ready:has(.shell) .profit-kpis.overview-kpis>article:nth-child(3):not(.margin-loss):not(.margin-profit):not(.margin-estimate):not(.margin-positive-estimate){background:var(--dash-orange-panel)!important;border-color:#dfbc9f!important}
html[data-theme=light] body.auth-ready:has(.shell) .profit-kpis.overview-kpis>article:nth-child(5):not(.margin-loss):not(.margin-profit):not(.margin-estimate):not(.margin-positive-estimate){background:var(--dash-violet-panel)!important;border-color:#c3b2de!important}
html[data-theme=light] body.auth-ready:has(.shell) .profit-kpis.overview-kpis>article:nth-child(6):not(.margin-loss):not(.margin-profit):not(.margin-estimate):not(.margin-positive-estimate){background:var(--dash-violet-panel)!important;border-color:#c3b2de!important}
html[data-theme=light] body.auth-ready:has(.shell) .profit-kpis.overview-kpis>.overview-products-link>article:not(.margin-loss):not(.margin-profit):not(.margin-estimate):not(.margin-positive-estimate){background:var(--dash-blue-panel)!important;border-color:#aac8e2!important}
html body.auth-ready .dashboard-targets .target-card.target-reached:not(.target-partial){background:linear-gradient(135deg,var(--result-good-bg),color-mix(in srgb,var(--result-good-bg) 80%,var(--result-good)))!important}
