/* Exam-site family tokens. One small file reused by every exam site (EPA 608, later CDL, OSHA).
   Three tiers, W3C-style naming: reference values (steel, yellow, blue, red, green), semantic roles (bg, surface, ink,
   line, ok, bad, action), and component use in site.css. Change a look here, nowhere else.
   Every text/background pair below is measured by test/contrast.test.mjs (WCAG 2.2 AA: 4.5 text, 3 interface edges). */
:root {
  --steel-50: #f1f3f4;
  --steel-100: #e4e8ea;
  --steel-300: #b8c1c7;
  --steel-600: #55626b;
  --steel-900: #14191c;
  --yellow: #ffc800;
  --yellow-press: #e6b400;
  --yellow-ink: #1a1500;
  --blue: #1f6fd1;
  --bad: #bc3327;
  --ok: #0d6b4b;
  --bad-bg: #fbe6e3;
  --ok-bg: #dff3ea;

  --bg: var(--steel-50);
  --surface: #ffffff;
  --line: var(--steel-300);
  --edge: #75828a;
  --soft: var(--steel-100);
  --ink: var(--steel-900);
  --muted: var(--steel-600);
  --link: #0b57b8;
  --focus: #1f6fd1;

  --font-display: Bahnschrift, "DIN Alternate", "DIN Condensed", sans-serif-condensed, "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px;
  --r: 12px; --r-sheet: 20px;
  --tap: 56px;
  --tabbar: 64px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101417;
    --surface: #1a2126;
    --line: #2c373e;
    --edge: #63737e;
    --soft: #222b31;
    --ink: #eef2f4;
    --muted: #a3b2bb;
    --link: #8bb8f5;
    --blue: #6fa8f5;
    --bad: #ff8f84;
    --ok: #5ed6a0;
    --bad-bg: #3a1c1a;
    --ok-bg: #12362a;
    --focus: #8bb8f5;
  }
}
