/* =====================================================================
   Torque · design tokens
   Mechanics and car servicing. Light is "Workshop"; dark is "After hours".
   --green is the one accent (buttons, links, chosen options, approved work, the lit words).
   --gauge is a dash-light yellow, for fills only (the chequered flag's partner, totals, the current step); text on it is ink. --gauge-ink is its text colour.
   --ok marks approved and finished work; --alert marks safety items, invalid fields and declined work.
   ===================================================================== */
:root {
  color-scheme: light;
  --paper: #f3f3f0;
  --card: #ffffff;
  --well: #e7e7e2;
  --line: #d2d2cb;
  --ink: #15171a;
  --ink-2: #34373c;
  --muted: #5a5d63;
  --green: #145c3a;
  --green-2: #0e4529;
  --on-green: #ffffff;
  --green-soft: #dcece3;
  --gauge: #f2c14e;
  --gauge-soft: #fbf0d3;
  --gauge-ink: #6e5200;
  --ok: #1d6b45;
  --alert: #b3261e;
  --focus: #145c3a;
  --shadow-card: 0 1px 2px rgba(21, 23, 26, 0.06), 0 18px 36px -26px rgba(21, 23, 26, 0.42);
  --shadow-lift: 0 30px 60px -30px rgba(21, 23, 26, 0.5);

  --display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --body: "Overpass", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Oxygen Mono", ui-monospace, Menlo, monospace;

  --fs-h1: clamp(48px, 6.8vw, 108px);
  --fs-h2: clamp(36px, 4.4vw, 64px);
  --fs-h3: 22px;
  --fs-lead: clamp(17.5px, 1.35vw, 20.5px);
  --fs-body: 17px;
  --fs-small: 15px;
  --fs-label: 12px;

  --wrap: 1200px;
  --gutter: max(20px, 4vw);
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 40px; --s-7: 64px; --s-8: 104px;

  --r-s: 6px;
  --r-m: 10px;
  --r-l: 16px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --snap: cubic-bezier(0.34, 1.56, 0.64, 1);
  --d-fast: 150ms;
  --d: 300ms;
  --d-slow: 900ms;
}

/* ---------- After hours ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #101214;
    --card: #181b1e;
    --well: #141619;
    --line: #2c3035;
    --ink: #eff1f2;
    --ink-2: #cfd3d6;
    --muted: #9da2a8;
    --green: #7fd3a5;
    --green-2: #a7e3c2;
    --on-green: #052414;
    --green-soft: #13241b;
    --gauge: #f2c14e;
    --gauge-soft: #2b2410;
    --gauge-ink: #f2c14e;
    --ok: #8bd6a8;
    --alert: #ff9a90;
    --focus: #7fd3a5;
    --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 16px 34px -20px rgba(0, 0, 0, 0.85);
    --shadow-lift: 0 30px 60px -26px rgba(0, 0, 0, 0.9);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #101214;
  --card: #181b1e;
  --well: #141619;
  --line: #2c3035;
  --ink: #eff1f2;
  --ink-2: #cfd3d6;
  --muted: #9da2a8;
  --green: #7fd3a5;
  --green-2: #a7e3c2;
  --on-green: #052414;
  --green-soft: #13241b;
  --gauge: #f2c14e;
  --gauge-soft: #2b2410;
  --gauge-ink: #f2c14e;
  --ok: #8bd6a8;
  --alert: #ff9a90;
  --focus: #7fd3a5;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 16px 34px -20px rgba(0, 0, 0, 0.85);
  --shadow-lift: 0 30px 60px -26px rgba(0, 0, 0, 0.9);
}
