/* el-nino.css — /el-nino (2026-11-04). Layout plus the --en-* colour tokens the inline SVG diagrams and the
   60 m chart use (backend/el_nino_diagrams.py, js/lib/el-nino-logic.js). Dark only, like the rest of the
   site: no light-scheme overrides (George's call via the verify pass, 2026-11-03). */
.en {
  --en-ink:#e7e5e4; --en-muted:#a8a29e; --en-panel:#1c1917; --en-plot:rgba(148,163,184,.08);
  --en-grid:rgba(255,255,255,.09); --en-warm:#c2410c; --en-warm-ink:#fdba74; --en-on-warm:#ffedd5;
  --en-cold:#1e3a8a; --en-on-cold:#bfdbfe; --en-land:#57534e; --en-wind:#7dd3fc; --en-accent:#38bdf8;
  --en-obs:#38bdf8; --en-norm:#d6d3d1; --en-stale:#eab308;
  max-width: 61.25rem; margin: 0 auto; padding: 0 1rem 2.5rem; box-sizing: border-box;
}
.en-head { margin-bottom: 0.5rem; }
.en-passed { border: 1px solid rgba(234,179,8,.5); border-left: 4px solid #eab308; background: rgba(234,179,8,.08);
             border-radius: 0.625rem; padding: 0.5rem 0.75rem; margin: 0 0 0.625rem; font-weight: 700; font-size: 0.875rem; }
.en-sec { margin: 1.125rem 0; }
.en-h2 { font-size: 0.6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--oc-sea, #38bdf8); margin: 0 0 0.5rem; }
.en-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.375rem, 1fr)); gap: 0.5rem; }
.en-tile { border: 1px solid var(--en-grid); border-radius: 0.875rem; padding: 0.625rem 0.75rem; background: rgba(255,255,255,.02); min-width: 0; }
.en-tile-h { font-size: 0.6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--en-muted); margin: 0 0 0.25rem; font-weight: 700; }
.en-big { font-size: 1.875rem; font-weight: 800; line-height: 1.1; margin: 0.125rem 0 0.25rem; font-variant-numeric: tabular-nums; }
.en-line { font-size: 13.5px; line-height: 1.45; margin: 0 0 0.125rem; }
.en-gap { color: var(--en-warm-ink); }
.en-age { font-size: 12.5px; color: var(--en-muted); margin: 0.125rem 0 0; }
.en-src { font-size: 11.5px; color: var(--en-muted); margin: 0.25rem 0 0; }
.en-stale { color: var(--en-stale); font-weight: 700; font-size: 12.5px; margin: 0.25rem 0 0; }
.en-miss { color: var(--en-muted); font-size: 13.5px; margin: 0.375rem 0 0; }
.en-load { color: var(--en-muted); font-size: 0.8125rem; margin: 0.375rem 0 0; }
.en-blist { list-style: none; padding: 0; margin: 0.25rem 0 0; font-size: 13.5px; line-height: 1.5; }
.en-blist b { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.en-bname { display: block; font-size: 0.75rem; color: var(--en-muted); }
.en-legend { font-size: 12.5px; color: var(--en-muted); margin: 0.5rem 0 0; }
.en-key { display: inline-block; width: 1.375rem; height: 0; vertical-align: middle; margin: 0 0.125rem 0 0.375rem; }
.en-key--obs { border-top: 3px solid var(--en-obs); }
.en-key--norm { border-top: 2px dashed var(--en-norm); }
.en-nums { font-size: 13.5px; margin: 0.375rem 0 0; font-variant-numeric: tabular-nums; }
.en-note { font-size: 12.5px; color: var(--en-muted); line-height: 1.5; margin: 0.5rem 0 0; }
.en-fig { margin: 0.625rem 0; border-radius: 0.875rem; background: var(--en-panel); padding: 0.5rem; max-width: 38.75rem; }
.en-fig-chart { max-width: none; padding: 0.375rem; }
.en-fig figcaption { font-size: 0.875rem; line-height: 1.55; padding: 0.375rem 0.25rem 0.125rem; }
.en-fig figcaption p { margin: 0 0 0.5rem; }
.en-explain > p { font-size: 14.5px; line-height: 1.55; max-width: 40rem; }
.en-cite { font-size: 0.6875rem; font-weight: 700; color: var(--en-accent); text-decoration: underline; text-underline-offset: 2px;
           white-space: nowrap; }
.en-impacts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15.625rem, 1fr)); gap: 0.625rem; }
.en-impact { display: flex; gap: 0.625rem; align-items: flex-start; border: 1px solid var(--en-grid); border-radius: 0.875rem; padding: 0.625rem 0.75rem; }
.en-impact h3 { font-size: 0.9375rem; margin: 0 0 0.125rem; font-weight: 750; }
.en-impact p { font-size: 13.5px; line-height: 1.45; margin: 0; }
.en-icon { flex: 0 0 2rem; width: 2rem; height: 2rem; }
.en-go a, .en-links a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--en-accent); }
.en-links { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; }
.en-timeline { list-style: none; padding: 0 0 0 1.125rem; margin: 0; border-left: 3px solid var(--en-warm); }
.en-timeline li { position: relative; margin: 0 0 0.75rem; }
.en-timeline li::before { content: ""; position: absolute; left: -1.625rem; top: 0.25rem; width: 0.8125rem; height: 0.8125rem; border-radius: 50%;
                          background: var(--en-warm); border: 2px solid var(--en-panel); }
.en-when { font-size: 0.6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--en-warm-ink); font-weight: 800; }
.en-timeline h3 { font-size: 0.9375rem; margin: 0.125rem 0; }
.en-timeline p { font-size: 13.5px; margin: 0; line-height: 1.45; }
.en-sources { font-size: 13.5px; line-height: 1.6; padding-left: 1.125rem; }
.en-sources a { color: var(--en-accent); }
@media (min-width: 900px) {
  .en-fig:not(.en-fig-chart) { display: grid; grid-template-columns: minmax(0, 23.75rem) 1fr; gap: 0.875rem; max-width: none; align-items: start; }
}
/* Phones: two tiles a row, a one-line title and no intro line, so the four numbers AND the 60 m chart
   start on the first screen (data first; checked at 390 px in the 2026-11-03 verify pass). */
@media (max-width: 420px) {
  .en-head .oc-h1 { font-size: 1.5625rem; margin-bottom: 0.375rem; }
  .en-head .oc-sub { display: none; }
  .en-sec { margin: 0.75rem 0; }
  .en-tiles + .en-legend { display: none; }   /* the chart carries its own solid/dashed key */
  .en-tile { padding: 0.4375rem 0.5625rem; }
  .en-tile-h { font-size: 0.625rem; letter-spacing: .08em; }
  .en-big { font-size: 1.5rem; }
  .en-line { font-size: 12.5px; line-height: 1.35; }
  .en-age { font-size: 11.5px; }
  .en-src { font-size: 10.5px; }
  .en-stale { font-size: 11.5px; }
  .en-blist { font-size: 0.75rem; line-height: 1.35; }
  .en-blist b { font-size: 1.0625rem; }
  .en-bname { font-size: 0.6875rem; }
}
