/* Design tokens (docs/DESIGN.md, section 5). Everything else uses these names. */
:root {
  /* colour code: one meaning each, always with a shape cue too */
  --live: #0066cc;        /* live GPS bus: solid label, arrow */
  --stale: #9e9e9e;       /* live bus, old report (fade target) */
  --timetable: #f2a900;   /* timetable bus: dashed border, no arrow */
  --you: #2e7d32;         /* the user: dot + accuracy circle */
  --selected: #c2185b;    /* selected bus / line, meeting point: ring, pin */
  --late: #b3261e;        /* "late", always with the word */
  --ink: #1b1b1f;
  --ink-2: #5f6368;
  --surface: #ffffff;
  --line: #e0e0e0;
  --live-tint: #e3efff;
  --timetable-tint: #fff3d1;
  --alert-ink: #7a1a12;   /* problems: feed errors, strikes (text on --alert-tint) */
  --alert-tint: #fdecea;
  --works-ink: #7a4f00;   /* TEC's works / moved stops: "may be affected", with ⚠ */

  /* type: system font; the 28 px is the one big number */
  --t-xs: 12px; --t-s: 14px; --t-m: 16px; --t-l: 20px; --t-xl: 28px;
  /* spacing: multiples of 4 */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --r-panel: 16px; --r-label: 6px;
  --touch: 44px;          /* minimum touch target */
  --motion: 200ms;
}
@media (prefers-reduced-motion: reduce) { :root { --motion: 0ms; } }
