/* FORGE shared design tokens — single source of truth.
   Canonical names first; legacy per-page names are aliased to the SAME
   corrected value so pages that still reference the old name (elsewhere
   in their own CSS/JS, not just in a :root block) keep working, but with
   the drift fixed rather than repeated. See implementation plan for the
   specific value conflicts this resolves (--dim, --gold-soft/--gold-hi,
   --ease, --ink/--offwhite/--sub). */
:root{
  /* Core surface + text */
  --void:#0A0A0C;
  --surface:#0F0F12;
  --surface-2:#131318;
  --line:rgba(237,234,226,0.07);
  --ink:#EDEAE2;
  --mute:#9A9C9F;
  --dim:#6B6D72;

  /* Gold accent */
  --gold:#C8A96E;
  --gold-soft:#E7CE9B;

  /* Motion */
  --ease:cubic-bezier(.22,1,.36,1);

  /* Archetype palette (static references — index.html/stats.html style) */
  --warrior:#C85020;
  --monk:#4FA9C9;
  --stoic:#9A9C9F;
  --strategist:#A990FF;

  /* Archetype runtime accent — overwritten per-user by each page's own
     archetype-detection script. Default here is gold (pre-archetype state). */
  --arc:#C8A96E;
  --arc-muted:rgba(200,169,110,0.15);
  --arc-glow:rgba(200,169,110,0.5);

  /* Legacy name aliases — same corrected values, kept so untouched
     inline `var(--x)` references elsewhere in each page still resolve. */
  --offwhite:var(--ink);
  --sub:var(--mute);
  --steel:var(--mute);
  --steel-dim:var(--dim);
  --gold-hi:var(--gold-soft);
  --gold-muted:rgba(200,169,110,0.15);
  --ease-spring:var(--ease);
  --strat:var(--strategist);
  --arc-soft:var(--arc-muted);
  --teal:#4FA9C9;
  --W:var(--warrior);
  --M:var(--monk);
  --S:var(--stoic);
  --T:var(--strategist);

  /* Shared decorative tokens used on more than one page */
  --iron:#1B1C20;
  --iron-hi:#24262B;
  --ember:#D97B3F;
}

/* Tabular figures everywhere: stops digits from shifting width as values
   update (XP counters, streaks, timers, sleep/quality scores). Harmless
   on non-numeric text and on faces without varying digit widths — this
   is the single biggest "instrument panel, not a webpage" signal on the
   tracker/dashboard surfaces, so it's set once here instead of chasing
   down every DM Mono class across 14 files. */
*{font-variant-numeric:tabular-nums;}

