
/* SDY432D: orange identity and readable analytics. Loaded after v4. */
body:not(.light) .sdy-mini{background:#1d2634!important;border:2px solid #fb923c!important;color:#f8fafc!important;box-shadow:0 10px 28px #0003}
body:not(.light) .sdy-mini .sdy-mini-cards>div{background:#293445!important;border-color:#a85d29!important;color:#fff!important}
.sdy-mini .sdy-mini-eyebrow{color:#fb923c!important;font-weight:800}
.sdy-mini .sdy-mini-head a{background:#c2410c!important;border-color:#fb923c!important;color:#fff!important;font-weight:750;text-decoration:none!important}
.sdy-mini .sdy-mini-head a:hover{background:#9a3412!important}
.sdy-mini .sdy-mini-bar.a{background:#f97316!important}
.sdy-mini .sdy-mini-bar.b{background:#fbbf24!important}
.sdy-mini .sdy-mini-col small{color:inherit!important;font-weight:700}
body.light .sdy-mini{background:#fffaf5!important;border:2px solid #c2410c!important;color:#172033!important}
body.light .sdy-mini .sdy-mini-cards>div{background:#fff0dd!important;border-color:#fdba74!important;color:#431407!important}
body.light .sdy-mini .sdy-mini-cards small,body.light .sdy-mini .sdy-mini-cards strong{color:#7c2d12!important}
body.light .sdy-mini .sdy-mini-eyebrow{color:#9a3412!important}
body.light .sdy-mini .sdy-mini-head a{background:#9a3412!important;color:#fff!important}
body.light .sdy-mini .sdy-mini-bar.a{background:#c2410c!important}
body.light .sdy-mini .sdy-mini-bar.b{background:#9a6700!important}
/* Compare PRO - use real body.light toggle rather than OS theme. */
.cmp{--cmp-blue:#f97316!important;--cmp-gray:#fbbf24!important;--cmp-line:#5b6878!important;--cmp-surface:#1c2b3b!important}
body:not(.light) .cmp .cmp-field,body:not(.light) .cmp .cmp-periods fieldset,body:not(.light) .cmp .cmp-panel,body:not(.light) .cmp .cmp-metrics>div{background:#1c2b3b!important;border-color:#53667a!important;color:#f8fafc!important}
body:not(.light) .cmp :is(h1,h2,h3,p,label,small,strong,legend,.cmp-note,.cmp-legend,.cmp-barrow,.cmp-empty,.cmp-actions span,.cmp-periods fieldset>span){color:#f1f5f9!important}
body:not(.light) .cmp .cmp-eyebrow,body:not(.light) .cmp .cmp-header h1 span{color:#fdba74!important}
body:not(.light) .cmp .cmp-panel :is(th,td){color:#f8fafc!important;border-color:#50647a!important}
body:not(.light) .cmp .cmp-panel thead th{background:#384d63!important;color:#fff!important}
body:not(.light) .cmp .cmp-panel tbody tr:nth-child(even) td{background:#283d52!important}
body:not(.light) .cmp :is(input,select){background:#111f30!important;color:#fff!important;border:2px solid #94a3b8!important}
.cmp .cmp-actions button{background:#c2410c!important;color:#fff!important;border:1px solid #fb923c!important}
.cmp .cmp-actions button+button{background:#7c2d12!important;color:#fff!important}
.cmp .cmp-a,.cmp .cmp-fill-a{background:#f97316!important}
.cmp .cmp-b,.cmp .cmp-fill-b{background:#eab308!important}
.cmp .cmp-track{background:#526072!important}
body.light .cmp{--cmp-surface:#fff!important;--cmp-line:#cbd5e1!important;color:#172033!important}
body.light .cmp .cmp-field,body.light .cmp .cmp-periods fieldset,body.light .cmp .cmp-panel,body.light .cmp .cmp-metrics>div{background:#fff!important;border-color:#cbd5e1!important;color:#172033!important}
body.light .cmp :is(h1,h2,h3,p,label,small,strong,legend,.cmp-note,.cmp-legend,.cmp-barrow,.cmp-empty,.cmp-actions span,.cmp-periods fieldset>span){color:#243449!important}
body.light .cmp .cmp-eyebrow,body.light .cmp .cmp-header h1 span{color:#9a3412!important}
body.light .cmp .cmp-panel :is(th,td){color:#172033!important;border-color:#cbd5e1!important}
body.light .cmp .cmp-panel thead th{background:#ffedd5!important;color:#7c2d12!important}
body.light .cmp .cmp-panel tbody tr:nth-child(even) td{background:#fff7ed!important}
body.light .cmp :is(input,select){background:#fff!important;color:#172033!important;border:2px solid #64748b!important}
body.light .cmp .cmp-actions button{background:#9a3412!important;color:#fff!important}
body.light .cmp .cmp-actions button+button{background:#7c2d12!important;color:#fff!important}
body.light .cmp .cmp-track{background:#e2e8f0!important}
/* Historical analysis - undo dark-only rules in analysis.css when light mode is active. */
body:not(.light) .ana-panel :is(h1,h2,h3,p,label){color:#f8fafc!important}
body:not(.light) .ana-panel .ana-stats>div{background:#382b22!important;border-color:#b86b2d!important}
body:not(.light) .ana-panel .ana-stats :is(small,strong){color:#ffdfb6!important}
body:not(.light) .ana-panel .ana-table th{background:#7c2d12!important;color:#fff!important}
body:not(.light) .ana-panel .ana-table td{background:#1d2d40!important;color:#f8fafc!important;border-color:#637083!important}
body:not(.light) .ana-panel .ana-table tr:nth-child(even) td{background:#2b3b50!important}
body:not(.light) .ana-panel .ana-table small{color:#e2e8f0!important}
body:not(.light) .ana-panel .ana-formula{background:#382b22!important;color:#ffdfb6!important}
body:not(.light) .ana-panel .ana-formula strong{color:#fff!important}
body.light .ana-panel,body.light .ana-panel :is(h1,h2,h3,p,label){color:#172033!important}
body.light .ana-panel .ana-filters,body.light .ana-panel .ana-search{background:#fff!important;border-color:#cbd5e1!important}
body.light .ana-panel .ana-stats>div{background:#fff3e6!important;border-color:#fdba74!important}
body.light .ana-panel .ana-stats :is(small,strong){color:#7c2d12!important}
body.light .ana-panel .ana-table th{background:#ffedd5!important;color:#7c2d12!important;border-color:#cbd5e1!important}
body.light .ana-panel .ana-table td{background:#fff!important;color:#172033!important;border-color:#cbd5e1!important}
body.light .ana-panel .ana-table tr:nth-child(even) td{background:#fff7ed!important}
body.light .ana-panel .ana-table small{color:#475569!important}
body.light .ana-panel .ana-formula{background:#fff3e6!important;color:#7c2d12!important}
body.light .ana-panel .ana-formula strong{color:#7c2d12!important}
body.light .ana-panel :is(input,select){background:#fff!important;color:#172033!important;border:2px solid #64748b!important}
body.light .ana-panel a{color:#9a3412!important}
:is(.cmp,.ana-panel,.sdy-mini) :focus-visible{outline:3px solid #fb923c!important;outline-offset:3px}
@media(max-width:600px){.sdy-mini .sdy-mini-cards{grid-template-columns:1fr}.cmp .cmp-tablewrap,.ana-panel .tablewrap{overflow-x:auto;max-width:100%}}
