/* v0.2.28 — evidence-first design refinements. No fictitious KPI uplift. */
#appShell .sidebar,#appShell[data-theme="dark"] .sidebar{background:#050608!important;background-image:none!important}
#appShell .sidebar:before,#appShell .sidebar:after,#appShell .dock-glow{display:none!important}
#appShell .dock-area{background:transparent!important;background-image:none!important}
#appShell .dock-shape{display:none!important}
#appShell .dock-controls{background:transparent!important;gap:9px!important;justify-content:center!important;padding:8px 12px!important}
#appShell .dock-icon{flex-shrink:0!important}
#appShell .sidebar-scroll{background:transparent!important}
#appShell .website-field-stack,#appShell .date-field-stack{display:grid;min-width:0;gap:2px;line-height:1.2;pointer-events:none}
#appShell .top-control-primary{font-size:12px;font-weight:750;color:var(--v09-ink,#17263c);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#appShell .top-control-secondary{font-size:10px;color:var(--v09-sub,#7c8da6);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#appShell .website-preview{width:37px;height:37px;min-width:37px;display:grid;place-items:center;background:#e9f5ff;border-radius:9px;color:#058bf5}
#appShell .website-preview svg{width:22px;height:22px}
#appShell .website-picker,#appShell .date-control{position:relative;height:54px!important}
#appShell .website-picker select,#appShell .date-control select{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important;z-index:2}
#appShell .website-picker{width:274px}
#appShell .date-control{width:204px}
#appShell .custom-date-panel{position:absolute;right:120px;top:85px;z-index:60;min-width:270px;background:var(--v09-panel,#fff);border:1px solid var(--v09-line,#dae6f0);border-radius:15px;padding:16px;box-shadow:0 16px 44px #091b3030;display:grid;gap:10px;color:var(--v09-ink,#14263b)}
#appShell .custom-date-panel[hidden]{display:none!important}
#appShell .custom-date-panel label{display:grid;gap:5px;font-weight:700;font-size:11px}
#appShell .custom-date-panel input{color:var(--v09-ink,#14263b);background:var(--v09-panel,#fff);padding:9px;border:1px solid var(--v09-line,#dae6f0);border-radius:8px}
#appShell .custom-date-panel button{border:0;background:#078df3;color:white;border-radius:9px;padding:10px;font-weight:750}
#appShell .custom-date-panel p{color:#c44444;font-size:11px;margin:0}
#appShell .premium-v08-view .kpi-subtle{font-weight:650;line-height:1.9}
#appShell .premium-v08-view .kpi-subtle.delta-positive{color:#08784e}
#appShell .premium-v08-view .kpi-subtle.delta-negative{color:#c23f50}
#appShell .premium-v08-view .kpi-subtle.delta-neutral{color:var(--v09-sub,#7b8ba1)}
#appShell .premium-v08-view .premium-insights .insight-data{min-height:204px}
#appShell .premium-v08-view .insight-count-tag.positive{background:#dff7e9;color:#08784e}
#appShell .premium-v08-view .insight-count-tag.negative{background:#ffebeb;color:#b92e44}
#appShell .insight-pending{display:grid;align-content:center;justify-items:center;text-align:center;gap:12px;padding:30px 10px;color:var(--v09-sub,#8090a3)}
#appShell .insight-pending svg{width:30px;height:30px;color:#0c92ea}
#appShell .insight-pending strong{color:var(--v09-ink,#13223e);font-size:14px}
#appShell .insight-pending span{font-size:11px;max-width:275px;line-height:1.6}
#appShell .chart-custom-options{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
#appShell .chart-shape-toggle{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--v09-sub,#7b8ba1)}
#appShell .chart-shape-toggle select{border:1px solid var(--v09-line,#dce6ee);background:var(--v09-panel,#fff);color:var(--v09-ink,#182c46);border-radius:9px;padding:7px}
#appShell .multi-series-toggles{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
#appShell .multi-series-toggles label{font-size:10px;padding:8px 9px;background:var(--v09-panel,#fff);color:var(--v09-ink,#25364d);border:1px solid var(--v09-line,#d9e6f2);border-radius:9px;cursor:pointer;white-space:nowrap}
#appShell .multi-series-toggles input{accent-color:#078ef1;vertical-align:middle}
#appShell .premium-v08-view .premium-traffic-card .premium-tabs{display:none}
#appShell .premium-v08-view .premium-chart-tooltip{z-index:5}
#appShell .premium-v08-view .premium-recent-card .event-icon{width:35px;height:35px;min-width:35px;border-radius:10px;padding:8px;background:#e7f5ff;color:#078bef;stroke:currentColor;fill:none;stroke-width:1.8}
#appShell .premium-v08-view .premium-recent-card .event-icon-seo,#appShell .premium-v08-view .premium-recent-card .event-icon-technical{background:#dcf9e9;color:#0b9f65}
#appShell .premium-v08-view .premium-recent-card .event-icon-status{background:#edecff;color:#7355ef}
#appShell .premium-v08-view .premium-recent-card .event-icon-layout{background:#fff0dd;color:#dd8311}
#appShell .premium-v08-view .premium-recent-card .change-row{gap:11px}
#appShell .premium-v08-view .premium-channels .premium-channel-meta small{color:#12a36a!important;font-weight:750}
#appShell .premium-v08-view .premium-channels .premium-channel-meta small:before{content:'●';margin-right:6px;color:#12a36a}
#appShell .premium-v08-view .premium-channels .premium-channel-row:has(button:disabled) .premium-channel-meta small{color:var(--v09-sub,#7d8ca2)!important}
#appShell .premium-v08-view .premium-channels .premium-channel-row:has(button:disabled) .premium-channel-meta small:before{color:#8493a8}
@media(max-width:1250px){#appShell .chart-custom-options{justify-content:flex-start}#appShell .premium-v08-view .premium-card-heading{flex-wrap:wrap}}
@media(max-width:760px){#appShell .top-controls{flex-wrap:wrap!important}#appShell .website-picker,#appShell .date-control{max-width:100%;flex:1 1 190px}#appShell .custom-date-panel{position:static;width:100%}#appShell .chart-custom-options{width:100%}#appShell .premium-v08-view .premium-chart-bottom{flex-wrap:wrap}}

#appShell .kpi-subtle:has(.metric-delta-badge){display:flex!important;align-items:center;gap:6px;flex-wrap:wrap}
#appShell .metric-delta-badge{font-weight:800;display:inline-flex;border-radius:20px;padding:2px 7px}
#appShell .delta-positive .metric-delta-badge{background:#dff8e9;color:#08784e}
#appShell .delta-negative .metric-delta-badge{background:#ffe6e9;color:#b42d42}
#appShell .delta-neutral .metric-delta-badge{background:#edf0f4;color:#6b7c93}
#appShell[data-theme="dark"] .delta-positive .metric-delta-badge{background:#164d3e;color:#a5f2c8}
#appShell[data-theme="dark"] .delta-negative .metric-delta-badge{background:#542635;color:#ffb8c7}

/* Option B 0.2.29 enhancements */
#appShell .premium-chart-bottom{flex-wrap:wrap;gap:12px}
#appShell .premium-chart-well svg text{font-family:inherit}
#appShell .multi-series-toggles label{cursor:pointer;display:inline-flex;align-items:center;gap:5px}
#appShell .website-picker:focus-within,#appShell .date-control:focus-within{outline:2px solid #188cf0;outline-offset:2px}
#appShell .premium-chart-tooltip{pointer-events:none;white-space:normal;max-width:min(280px,75vw)}
@media(max-width:760px){#appShell .custom-date-panel{right:10px;left:10px;top:100%;min-width:0}#appShell .website-picker{width:min(100%,320px)}}
