/* ALSER edition tokens — names and values exactly as design/system.md (light-card values). */
:root {
  --brand: #0d0d0f;
  --accent: #1f3fa8;
  --accent-hi: #3d63e0;
  --accent-strong: #142b78;
  --accent-on-dark: #5b7cf0;
  --rim: #d1202f;
  --surface: #eceef1;
  --card: #f7f8fa;
  --text: #1b1c20;
  --mute: #4c5059;
  --line: rgba(20, 22, 28, .1);
  --backdrop: #1c1f23;
  --glass: rgba(18, 18, 22, .82);
  --glass-line: rgba(255, 255, 255, .12);
  --run: #1f9d63;
  --stop: #6b7a86;
  --warn: #a8650f;
  --high: #d9480f;
  --alarm: #c62828;
  --hand: #7c4dd6;

  --font: "DM Sans", Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, monospace;

  --topbar-h: 56px;
  --view-pad: 22px 34px;
  --gap: 14px;
  --radius: 12px;
  --radius-sm: 6px;
  --pill: 999px;
  --raised: 0 1px 2px rgb(0 0 0 / .18), 0 6px 16px rgb(0 0 0 / .22);
  --extrude: 0 3px 0 var(--accent-strong);

  /* Aliases read by css/scene.css (3D labels). New names only, so they never clash with the card tokens. */
  --panel: var(--glass);
  --ok: #2fbf7a;
  --crit: #ff5a52;
}

/* On-dark values. The 3D scene host (labels, and the HUD mounted inside it, artboard 08) sits on
   dark/glass surfaces, so inside `.scene-host` the semantic tokens take their on-dark values from
   design/system.md ("#2fbf7a on dark", "#ff5a52 on dark", "#a77bf0 on dark"). Everywhere else
   (cards on the section backdrop) the light values above apply unchanged. */
.scene-host {
  --text: #e9ebef;
  --mute: rgba(255, 255, 255, .72);
  --muted: #8a9aa6;
  --run: #2fbf7a;
  --stop: #8a9aa6;
  --warn: #f2c230;
  --alarm: #ff5a52;
  --hand: #a77bf0;
}
