/**
 * Compatibility layer. Every token name from the pre-restructure system mapped onto its
 * semantic replacement. New work uses the semantic names; this file keeps existing
 * components and consumers working. It is the only file allowed to shrink over time.
 */
:root {
  --bg-page: var(--bg-canvas);
  --surface-glass: var(--bg-glass);
  --surface-panel: var(--bg-surface);
  --surface-inset: var(--bg-sunken);
  --surface-raised: var(--bg-surface-raised);

  --text-primary: var(--fg-emphasis);
  --text-body: var(--fg-default);
  --text-muted: var(--fg-muted);
  --text-inverse: var(--fg-on-accent);
  --text-confirm: var(--success-fg);
  --text-caution: var(--warning-fg);
  --text-fault: var(--danger-fg);

  --line-strong: var(--border-strong);
  --line-default: var(--border-default);
  --line-quiet: var(--border-muted);
  --line-hairline: var(--border-hairline);

  --accent-primary: var(--accent-bg);
  --accent-confirm: var(--success-bg-solid);
  --focus-ring: var(--state-focus-ring);
}
