/* Design tokens — light editorial theme. Swap values here; components reference roles only. */
:root {
  color-scheme: light;
  --page: #f6f4ec;          /* cream page plane */
  --surface: #fbfaf5;       /* cards, panels */
  --surface-2: #efede3;     /* recessed wells, hover wash */
  --ink: #1a2420;           /* primary text */
  --ink-2: #4c5450;         /* secondary text */
  --muted: #7d8079;         /* captions, axis labels */
  --hair: #e2dfd3;          /* hairline gridlines, dividers */
  --rule: #cdc9ba;          /* axis / baseline, stronger rule */
  --focus: #1c5cab;         /* focus ring */
  --series-a: #2a78d6;      /* categorical slot 1 */
  --series-b: #eb6834;      /* categorical slot 2 */
  --neutral: #f0efec;       /* diverging midpoint */
  --missing: #d4d3cb;       /* no value */
  --down-mark: #e14d45;     /* data marks only (never text) */
  --up-mark: #3987e5;
  --down-soft: #f9c0b9;
  --up-soft: #b7d3f6;
  --warn-bg: #fbecc8;       /* notices: always with an icon + label */
  --warn-ink: #6b4a00;
  --radius: 6px;
  --radius-sm: 4px;
  --gap: 2px;               /* surface gap between touching marks */
  --font-sans: "DM Sans", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --shadow: 0 1px 2px rgba(26, 36, 32, 0.06), 0 6px 20px rgba(26, 36, 32, 0.08);
}
