/* Transitional. Maps the variable names the pre-redesign CSS reads onto
   design-system tokens. Delete when the last page from before the redesign
   is rebuilt (CTF-185 to CTF-190). */
:root {
  --bg-deep: var(--surface-base);
  --bg-surface: var(--surface-raised);
  --bg-elevated: var(--surface-muted);
  --bg-overlay: var(--surface-muted);
  --panel-border: var(--border-subtle);
  --border: var(--border-control);
  --border-focus: var(--focus);
  --cyan: var(--info);
  --cyan-dim: var(--text-secondary);
  --cyan-glow: var(--info-surface);
  --cyan-subtle: var(--info-surface);
  --amber: var(--warning);
  --amber-dim: var(--warning);
  --amber-glow: var(--warning-surface);
  --green: var(--success);
  --green-glow: var(--success-surface);
  --red: var(--danger);
  --red-glow: var(--danger-surface);
  --yellow: var(--warning);
}

/* Native controls (scrollbars, spinners) follow the theme. */
:root, [data-theme="dark"] { color-scheme: dark; }
[data-theme="light"] { color-scheme: light; }
