/* Phosphor Instrument design tokens — the single source of truth.
   Spec: docs/superpowers/specs/2026-07-03-ui-redesign-design.md (owner-approved v5).
   Hard rules: flat surfaces (no gradients in element backgrounds); elevation via the
   4-step surface ladder + 1px borders; glow budget = status dot / LIVE dot / cursor /
   scanner line ONLY; --green is a signal, body copy stays mint. */
:root {
  /* surfaces (elevation ladder, light rises) */
  --bg: #040a06;
  --surf-1: #071309;   /* topbar / rail */
  --surf-2: #0a1810;   /* cards */
  --surf-3: #102718;   /* raised: buttons, chips, inputs */
  --inset: #020503;    /* wells: console, inputs, code */

  /* lines */
  --line-hair: #16301f;
  --line: #1f4630;
  --line-2: #2e6b45;

  /* phosphor accent + semantics */
  --green: #00ff41;
  --green-soft: #0a3d1f;
  --green-text: #6bffa0;
  --green-dim: #27c960;
  --cyan: #00e5ff;
  --amber: #ffb525;
  --red: #ff3b55;

  /* text */
  --head: #f4fff8;
  --text: #dff7e9;
  --muted: #93b9a2;
  --faint: #5c7f6b;

  /* the only sanctioned glow */
  --glow: 0 0 9px rgba(0, 255, 65, 0.8);

  --mono: ui-monospace, "Cascadia Code", "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --s1: 8px; --s2: 12px; --s3: 16px; --s4: 24px; --s5: 32px;
  --r: 8px;

  /* legacy aliases (pre-uplift names still referenced in a few inline styles) */
  --green-bright: var(--green);
  --green-mid: var(--green-dim);
  --green-dark: var(--line);
  --font: var(--mono);
  --bg-panel: var(--surf-2);
  --bg-elevated: var(--surf-3);
  --bg-header: var(--surf-1);
  --bg-hover: var(--surf-3);
  --orange: var(--amber);
  --blue: var(--cyan);
  --radius: var(--r);
}
