/* [2026-02-24][CLX][ART-COMFORT] CSS Custom Properties
   [2026-03-27][CLX][THEME] Unified theme system — backward-compatible aliases
   All values come from themes.css. This file maps old --c-* names to new names
   so existing components continue working during migration. */

:root {
  /* ── Legacy aliases → new theme tokens ─────────────────────── */
  /* These will be removed after full migration to new names     */

  --c-primary: var(--accent);
  --c-primary-dark: var(--accent-hover);
  --c-primary-light: var(--accent-light);
  --c-accent: var(--error);
  --c-accent-dark: var(--error);

  --c-bg: var(--bg);
  --c-sidebar: var(--sidebar-bg);
  --c-sidebar-hover: var(--sidebar-hover);
  --c-sidebar-active: var(--accent);

  --c-text: var(--text);
  --c-text-secondary: var(--text-secondary);
  --c-text-muted: var(--text-muted);
  --c-text-inverse: var(--text-inverse);

  --c-surface: var(--surface);
  --c-border: var(--border);
  --c-border-light: var(--border-subtle);
  --c-border-focus: var(--border-focus);

  --c-card: var(--surface);
  --c-success: var(--success);
  --c-warning: var(--warning);
  --c-danger: var(--error);

  /* ── Legacy shadow alias ───────────────────────────────────── */
  --shadow: var(--shadow-md);

  /* ── Legacy font alias ─────────────────────────────────────── */
  --font: var(--font-ui);
}
