/* Gear Fit Atlas palette: alpine blue on snow, night sky in dark mode.
   Every colour on the site comes from these tokens; the drawings (dw-*) and charts (pl-*) read them too. */
:root{
  --snow:#F3F7FB; --paper:#FFFFFF; --ink:#0E2133; --dim:#4A5E72;
  --rule:#D3DFEA; --rule-hi:#A6BACB;
  --alpine:#1A5DAB; --alpine-deep:#134887; --on-alpine:#FFFFFF; --frost:#E2EDF8;
  --glacier:#16707F; --glacier-soft:#DCEFF2;
  --ember:#A04C17; --ember-soft:#F8E6D8;
  --pine:#276540; --pine-soft:#DFEEE4;
  --flag:#AB3127; --flag-soft:#F8E0DD;
  --scene:#E6EFF8; --skin:#E8C6A5; --peak:#C8D8E8; --lake:#C6DFF1; --trail:#D9CDB8; --glass:#D3E3F0; --metal:#AEBCCB;
  --display:"Outfit","Avenir Next","Segoe UI",system-ui,sans-serif;
  --text:"Nunito Sans","Segoe UI",system-ui,-apple-system,sans-serif;
  --mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
  --radius:12px; --radius-lg:18px; --width:1120px; --read:70ch;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){:root{
  --snow:#0A1520; --paper:#102131; --ink:#E4EEF7; --dim:#9FB4C8;
  --rule:#1F3448; --rule-hi:#355069;
  --alpine:#82B8EF; --alpine-deep:#A9CFF5; --on-alpine:#06203D; --frost:#132E49;
  --glacier:#72C8D7; --glacier-soft:#0F333A;
  --ember:#F2AE78; --ember-soft:#3A2717;
  --pine:#7CC99A; --pine-soft:#143323;
  --flag:#F2958C; --flag-soft:#3D1E1B;
  --scene:#132E49; --skin:#C9A383; --peak:#21405E; --lake:#1A3D57; --trail:#3A3428; --glass:#2A4256; --metal:#4C6278;
  color-scheme:dark;
}}

/* drawings (src/js/art.js): flat shapes, coloured only here */
.dw .dw-sun{fill:var(--paper);opacity:.8}
.dw .dw-peak{fill:var(--peak)}.dw .dw-cap,.dw .dw-snow{fill:var(--paper)}
.dw .dw-lake{fill:var(--lake)}.dw .dw-ripple{fill:none;stroke:var(--paper);stroke-width:3;opacity:.8}.dw .dw-trail{fill:var(--trail)}
.dw .dw-body{fill:var(--paper);stroke:var(--ink);stroke-width:3}
.dw .dw-paint{fill:var(--alpine);stroke:var(--ink);stroke-width:3}
.dw .dw-skin{fill:var(--skin);stroke:var(--ink);stroke-width:2}
.dw .dw-glass{fill:var(--glass);stroke:var(--ink);stroke-width:2}
.dw .dw-top,.dw .dw-metal{fill:var(--metal);stroke:var(--ink);stroke-width:2}
.dw .dw-line{fill:none;stroke:var(--ink);stroke-width:2;opacity:.5}
.dw .dw-ghost{fill:none;stroke:var(--ink);stroke-width:2;stroke-dasharray:8 6;opacity:.55}
.dw .dw-ghost-low{stroke:var(--paper);opacity:.9}
.dw .dw-shadow-soft{fill:var(--ink);opacity:.12}
.dw .dw-rule{stroke:var(--ink);stroke-width:2;opacity:.6}.dw .dw-tick{stroke:var(--alpine);stroke-width:3}
.dw .dw-shaft{stroke:var(--dim);stroke-width:6;stroke-linecap:round}.dw .dw-pole .dw-shaft{stroke:var(--ink)}
.dw .dw-pad{fill:var(--frost);stroke:var(--ink);stroke-width:1.5}
.dw .dw-tyre,.dw .dw-hub,.dw .dw-plastic{fill:var(--ink)}.dw .dw-rim{fill:var(--metal)}.dw .dw-air{fill:var(--snow)}
.dw .dw-spoke{stroke:var(--dim);stroke-width:1.5}
.dw .dw-tube{fill:none;stroke:var(--alpine);stroke-width:10;stroke-linejoin:round;stroke-linecap:round}
.dw .dw-bar{fill:none;stroke:var(--ink);stroke-width:6;stroke-linecap:round}
.dw .dw-lid{fill:var(--alpine-deep);stroke:var(--ink);stroke-width:2}
.dw .dw-strap{stroke:var(--ink);stroke-width:5}
.dw .dw-strap-band{fill:var(--ember);stroke:var(--ink);stroke-width:1.5}
.dw .dw-strap-loop{fill:none;stroke:var(--ember);stroke-width:7}
.dw .dw-suit{fill:var(--ink);opacity:.88}
.dw .dw-text{font-family:var(--display);fill:var(--ink);paint-order:stroke;stroke:var(--scene);stroke-width:5px;stroke-linejoin:round}
.dw .dw-k{font-size:15px;font-weight:500;fill:var(--dim)}
.dw .dw-rt{font-size:17px}
.dw .dw-dot{fill:var(--alpine);stroke:var(--paper);stroke-width:4}
.dw .dw-num{font-family:var(--display);font-size:19px;font-weight:700;fill:var(--on-alpine)}

/* charts (src/js/plot-core.js, src/js/viz.js) */
.pl-label{fill:var(--dim);font:500 12px/1 var(--display)}
.pl-label.pl-on{fill:var(--on-alpine)}
.pl-accent{fill:var(--alpine)}
.pl-bar,.pl-bar-hi,.pl-col-a,.pl-dot{fill:var(--alpine)}
.pl-col-b{fill:var(--ember)}.pl-col-c{fill:var(--glacier)}
.plot a:hover .pl-bar{fill:var(--alpine-deep)}
.pl-track{fill:var(--rule)}
.pl-open{opacity:.6}.pl-bar-no{opacity:.28}
.pl-axis{stroke:var(--rule-hi);stroke-width:1}
.pl-grid{stroke:var(--rule);stroke-width:1}
.pl-line{fill:none;stroke:var(--alpine);stroke-width:2.5}
.pl-load{stroke:var(--ember);stroke-width:3;stroke-dasharray:6 4}
.pl-band-a{fill:var(--glacier-soft)}.pl-band-b{fill:var(--frost)}.pl-band-c{fill:var(--ember-soft)}.pl-band-d{fill:var(--flag-soft)}
