/* Home: answer first, then context (seasonal range, thresholds, trend). */
.home-hero{max-width:980px;margin:0 0 22px}
.home-date{margin:0 0 12px;font-size:13px;color:var(--muted)}
.home-date strong{color:var(--ink)}
.home-hero h1{margin:0;font-family:Manrope,"DM Sans",sans-serif;font-size:clamp(28px,3.6vw,46px);line-height:1.1;letter-spacing:-.02em;color:var(--ink)}
.home-detail{margin:14px 0 0;max-width:70ch;font-size:17px;line-height:1.6;color:#2c4f51}
.home-hero .held-cut,.home-questions .held-cut{margin:12px 0 0;font-size:13px;color:var(--muted)}
.home-zones,.home-chart{margin-bottom:18px}
.home-zones .panel-head,.home-chart .panel-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}
.home-zones h2,.home-chart h2,.home-questions h2{margin:0;font-size:17px}
.zones-today{margin:12px 0 4px;font-size:15px;color:#2c4f51}
.zones-today strong{font:800 22px Manrope,"DM Sans",sans-serif;color:var(--ink)}
.zones-bar{display:block;width:100%;height:34px;margin:0 0 8px}
.zones-bar .zone-crisis{fill:#f1c9bf}.zones-bar .zone-alert{fill:#f6dcb6}.zones-bar .zone-watch{fill:#f3ecb8}.zones-bar .zone-stable{fill:#cfe9de}
.zones-marker{fill:var(--ink)}
.zone-labels{display:grid;grid-template-columns:40fr 15fr 10fr 35fr;gap:8px;margin:0;padding:0;list-style:none;font-size:13px;color:#2c4f51}
.zone-labels strong{display:block}
.zone-labels .zone-crisis strong{color:#8a3a2b}.zone-labels .zone-alert strong{color:#8a5a17}.zone-labels .zone-watch strong{color:#6e6413}.zone-labels .zone-stable strong{color:var(--teal)}
.home-note{margin:12px 0 0;font-size:12px;color:var(--muted)}
.home-questions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:18px}
.home-questions .panel{gap:10px}
.home-questions p{margin:0;font-size:14px;line-height:1.5;color:#2c4f51}
.home-big{font:800 28px/1.15 Manrope,"DM Sans",sans-serif;color:var(--ink)}
.trend-up{color:var(--teal)}.trend-down{color:var(--coral)}
.ruler{display:block;width:100%;height:auto}
.ruler-range{fill:#e3efea}.ruler-iqr{fill:#bfe0d4}.ruler-median{stroke:var(--muted);stroke-width:2}
.ruler-today{fill:var(--teal);stroke:#fff;stroke-width:3}
.ruler-scale{display:flex;justify-content:space-between;gap:6px;font-size:12px!important;color:var(--muted)!important}
.chart-legend{display:flex;flex-wrap:wrap;gap:16px;margin:8px 0 4px;padding:0;list-style:none;font-size:13px;color:var(--muted)}
.chart-legend li::before{content:"";display:inline-block;width:20px;margin-right:6px;vertical-align:middle}
.legend-line::before{border-top:3px solid var(--teal)}
.legend-median::before{border-top:2px dashed var(--muted)}
.legend-band::before{height:10px;background:var(--mint);border-radius:2px}
.home-chart-svg{display:block;width:100%;height:auto}
.home-chart-svg .band{fill:var(--mint)}
.home-chart-svg .grid{stroke:var(--line);stroke-width:1}
.home-chart-svg .median{fill:none;stroke:var(--muted);stroke-width:2;stroke-dasharray:5 4}
.home-chart-svg .current{fill:none;stroke:var(--teal);stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.home-chart-svg .current-end{fill:#fff;stroke:var(--teal);stroke-width:3}
.home-chart-svg .axis{font-size:11px;fill:var(--muted)}
.range-input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.range-tabs{display:inline-flex;flex-wrap:wrap;gap:4px;margin:12px 0 4px;padding:4px;border:1px solid var(--line);border-radius:12px;background:#f4f8f6}
.range-tabs label{min-height:36px;padding:8px 14px;border-radius:9px;font-size:13px;font-weight:700;color:var(--muted);cursor:pointer;display:inline-flex;align-items:center}
.range-tabs label:hover{color:var(--ink)}
.range-view{display:none}
#range-1a:checked~.range-view-1a,#range-5a:checked~.range-view-5a,#range-todo:checked~.range-view-todo{display:block}
#range-1a:checked~.range-tabs label[for=range-1a],#range-5a:checked~.range-tabs label[for=range-5a],#range-todo:checked~.range-tabs label[for=range-todo]{background:#fff;color:var(--teal);box-shadow:0 1px 3px rgba(23,59,61,.12)}
#range-1a:focus-visible~.range-tabs label[for=range-1a],#range-5a:focus-visible~.range-tabs label[for=range-5a],#range-todo:focus-visible~.range-tabs label[for=range-todo]{outline:3px solid var(--lime);outline-offset:1px}
.chart-summary-line{margin:8px 0 4px;font-size:13px;color:var(--muted)}
.chart-summary-line strong{color:var(--ink)}
.home-chart-svg .current.thin{stroke-width:1.6}
.home-chart-svg .year-tick{stroke:var(--line);stroke-width:1}
.home-chart-svg .extreme-low{fill:var(--coral);stroke:#fff;stroke-width:2}
.home-chart-svg .extreme-high{fill:var(--teal);stroke:#fff;stroke-width:2}
.home-chart-svg .extreme-label{font-size:12px;font-weight:700;fill:var(--ink)}
.home-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}
.home-shortcuts a{display:flex;flex-direction:column;gap:6px;text-decoration:none;color:var(--ink);min-height:44px}
.home-shortcuts small{font-size:13px;color:var(--muted)}
.home-shortcuts strong{font:800 22px/1.2 Manrope,"DM Sans",sans-serif}
.home-shortcuts span{font-size:13px;color:var(--teal)}
@media (max-width:900px){.home-questions,.home-shortcuts{grid-template-columns:1fr}}
@media (max-width:650px){
  .home-detail{font-size:15px}
  .zone-labels{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-big{font-size:24px}
}
