/*
 * nRally UI tokens (v0.1, D4 data/ui/tokens.toml [color.dark] + GM §6.1).
 * Interim hand-kept copy: tools/ui_build.py (UI-1) regenerates this file from
 * the one token source; values must stay identical (GM §6.1 contrast audit).
 * Date: 2026-11-27 (MS, UI-4).
 */

:root {
  /* color.dark */
  --bg:          #121314;  /* page / canvas */
  --surface:     #1A1B1C;  /* cards, panels, rows */
  --raised:      #242526;  /* hover, raised controls */
  --line:        #34322E;  /* quiet structural hairlines only (never inputs/focus) */
  --control-line:#6E6A64;  /* interactive borders: inputs, toggles, secondary keys */
  --text:        #E9E6E1;  /* primary ink */
  --muted:       #A39E96;  /* secondary copy, section labels, units */
  --faint:       #6E6A64;  /* disabled / captions only, never body text */
  --timber:      #8A6F55;  /* secondary accent, icons */
  --timber-lt:   #B9A48C;  /* active instrument fills */
  --forest:      #2F4A3A;  /* ok / live badge fill */
  --forest-lt:   #6F9A7B;  /* online / ok text and dot */
  --orange:      #D95D24;  /* one constructive primary action or focus lamp per screen */
  --on-accent:   #121314;  /* ink on --orange (and on solid --danger) */
  --danger:      #C9544A;  /* destructive border / fill */
  --danger-text: #E06C62;  /* inline error text */

  /* shape and type */
  --radius: 4px;
  --focus-width: 2px;
  /* Schibsted Grotesk (OFL) ships from the generator's woff2 (owner decision (b));
     system stack everywhere as fallback until the file lands. */
  --font-sans: "Schibsted Grotesk", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --label-tracking: 0.14em;
}
