@media screen{html[data-crystal-app=analytics] :is(.app-header,.client-header){background:var(--surface);border-bottom:1px solid var(--border)}@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))) and (background:color-mix(in oklab, red 50%, blue)){html[data-crystal-app=analytics] :is(.app-header,.client-header){background:var(--cx-glass-1);-webkit-backdrop-filter:blur(var(--cx-glass-blur-1)) saturate(var(--cx-glass-saturate-1));backdrop-filter:blur(var(--cx-glass-blur-1)) saturate(var(--cx-glass-saturate-1))}}html[data-crystal-app=analytics] .client-header{z-index:30;max-width:none;position:sticky;top:0}html[data-crystal-app=analytics] .brand strong{color:var(--foreground);letter-spacing:-.01em;font-size:15px;font-weight:700}html[data-crystal-app=analytics] .brand span{color:var(--muted-foreground);letter-spacing:.04em;font-weight:600}html[data-crystal-app=analytics] .header-zone-actions{gap:10px}html[data-crystal-app=analytics] :is(.section-heading,.result-identity) h2{font-size:var(--cx-h1);letter-spacing:var(--cx-track-tight);font-weight:700;line-height:1.2}html[data-crystal-app=analytics] :is(.panel,.review-panel,.result-panel,.uc-card,.expansion-card,.history-card,.entry-card,.mode-card,.kpi,.performance-card){border-radius:var(--cx-radius-card);box-shadow:var(--cx-shadow-card)}html[data-crystal-app=analytics] :is(.empty-state,.app-empty-state),html[data-crystal-app=analytics] :is(.diagnosis-card,.secondary-metrics){border-radius:var(--cx-radius-card)}html[data-crystal-app=analytics] :is(.calculated-power,.critical-summary>div,.technical-details,.annual-projection,.sanity-warning,.validation-panel,.demo-strip,.chart-tooltip){border-radius:var(--cx-radius-chip)}html[data-crystal-app=analytics] .chart-tooltip{background:var(--popover);border-color:var(--input);box-shadow:var(--cx-shadow-pop)}html[data-crystal-app=analytics] .mode-card{--tone:var(--solar);border-top:var(--cx-accent-width) solid var(--tone)}html[data-crystal-app=analytics] .mode-card:nth-child(3n+2){--tone:var(--info)}html[data-crystal-app=analytics] .mode-card:nth-child(3n+3){--tone:var(--success)}html[data-crystal-app=analytics] .mode-card:hover{border-color:color-mix(in srgb, var(--tone) 55%, var(--border));border-top-color:var(--tone);background:var(--card);transform:translateY(-1px)}html[data-crystal-app=analytics] .mode-card-icon{border-radius:var(--cx-radius-chip);background:color-mix(in srgb, var(--tone) 14%, transparent);width:44px;height:44px}html[data-crystal-app=analytics] .mode-card-category{color:var(--muted-foreground);letter-spacing:.06em}html[data-crystal-app=analytics] .mode-card h3{letter-spacing:-.01em;font-weight:650}html[data-crystal-app=analytics] .mode-card strong{color:var(--primary);font-weight:650}html[data-crystal-app=analytics] .entry-icon{border-radius:var(--cx-radius-chip);background:color-mix(in srgb, var(--primary) 14%, transparent);width:44px;height:44px}html[data-crystal-app=analytics] .entry-icon.injection{color:var(--solar);background:color-mix(in srgb, var(--solar) 14%, transparent)}html[data-crystal-app=analytics] .kpi{border-top-width:var(--cx-accent-width)}html[data-crystal-app=analytics] .kpi.blue{border-top-color:var(--info)}html[data-crystal-app=analytics] .kpi>span{font-size:var(--cx-micro);font-weight:550}html[data-crystal-app=analytics] .kpi>strong{color:var(--foreground);letter-spacing:var(--cx-track-value);font-variant-numeric:tabular-nums;font-weight:750}html[data-crystal-app=analytics] :is(.performance-card>strong,.critical-summary strong,.calculated-power>strong){letter-spacing:var(--cx-track-value);font-variant-numeric:tabular-nums}html[data-crystal-app=analytics] .stepper button>span{font-weight:700}html[data-crystal-app=analytics] .stepper button.active>span{box-shadow:0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent)}html[data-crystal-app=analytics] .stepper button.done>span{color:var(--success-foreground)}html[data-crystal-app=analytics] .stepper button{border-radius:var(--cx-radius-pill)}html[data-crystal-app=analytics] .segmented{border-radius:var(--cx-radius-pill);background:var(--surface);box-shadow:inset 0 0 0 1px var(--border);gap:2px;padding:3px}html[data-crystal-app=analytics] .segmented button{border-radius:var(--cx-radius-pill);font-weight:600}html[data-crystal-app=analytics] .segmented button:hover{color:var(--foreground)}html[data-crystal-app=analytics] .segmented button.active{color:var(--primary-foreground);background:var(--primary);box-shadow:none}html[data-crystal-app=analytics] .status-badge{--tone:var(--muted-foreground);border-radius:var(--cx-radius-pill);background:color-mix(in srgb, var(--tone) 14%, transparent);border:1px solid color-mix(in srgb, var(--tone) 30%, transparent)}html[data-crystal-app=analytics] .status-badge.good{--tone:var(--success)}html[data-crystal-app=analytics] .status-badge.warn{--tone:var(--warning)}html[data-crystal-app=analytics] .status-badge.danger{--tone:var(--danger)}html[data-crystal-app=analytics] .app-status{border:1px solid color-mix(in srgb, currentColor 28%, transparent)}html[data-crystal-app=analytics] .demo-badge{border-radius:var(--cx-radius-pill)}html[data-crystal-app=analytics] .input-shell input{background:var(--surface)}html[data-crystal-app=analytics] .municipality-trigger{border-radius:var(--cx-radius-control);color:var(--foreground);border-color:color-mix(in oklab, var(--input) 88%, var(--foreground));background:var(--surface);box-shadow:none;font-weight:400}html[data-crystal-app=analytics] .municipality-trigger:hover{color:var(--foreground);border-color:var(--primary)}html[data-crystal-app=analytics] :is([role=menu],[data-radix-popper-content-wrapper]>[role=dialog],[data-radix-popper-content-wrapper]>[role=listbox]){border-color:var(--input);box-shadow:var(--cx-shadow-pop);border-radius:14px}html[data-crystal-app=analytics] [role=menuitem]{border-radius:9px}html[data-crystal-app=analytics] :is(.expansion-table,.monthly-table table) th{color:var(--muted-foreground);font-weight:550}html[data-crystal-app=analytics] .expansion-table tbody tr:hover{background:color-mix(in srgb, var(--primary) 6%, transparent)}}@media screen and (width<=640px){html[data-crystal-app=analytics] .header-zones{grid-template-columns:minmax(0,1fr) auto auto;gap:10px}html[data-crystal-app=analytics] .header-zone-brand{grid-area:1/1/auto/3;min-width:0}html[data-crystal-app=analytics] .header-zone-actions{display:contents}html[data-crystal-app=analytics] .header-zone-actions>.cx-theme-switch{grid-area:1/3;justify-self:end}html[data-crystal-app=analytics] .header-zone-actions>:nth-child(2){grid-area:2/1;justify-self:start}html[data-crystal-app=analytics] .header-zone-actions>:nth-child(3){grid-area:2/2/auto/4;justify-self:end}html[data-crystal-app=analytics] .header-zone-nav{grid-row:3}html[data-crystal-app=analytics] .brand .crystal-app-icon{max-width:none}}@media screen and (width<=600px){html[data-crystal-app=analytics] :is(.section-heading,.result-identity) h2{font-size:var(--cx-h1-mobile)}html[data-crystal-app=analytics] :is(.panel,.review-panel,.result-panel,.uc-card,.expansion-card,.history-card,.entry-card,.mode-card,.kpi){border-radius:14px}html[data-crystal-app=analytics] .kpi{box-shadow:none;border-top-width:2px}}@media (prefers-reduced-motion:reduce){html[data-crystal-app=analytics] .mode-card:hover{transform:none}}
