:root,
[data-theme="dark"] {
  --bg-primary: var(--fv-bg);
  --bg-surface: var(--fv-card);
  --bg-elevated: var(--fv-card-raised);
  --bg-hover: var(--fv-card-raised);
  --text-primary: var(--fv-text);
  --text-secondary: var(--fv-text-soft);
  --text-muted: var(--fv-muted);
  --border: var(--fv-border);
  --accent: var(--fv-accent);
  --accent-hover: var(--fv-accent);
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #38bdf8;
  --notif-info: #38bdf8;
  --notif-success: #22c55e;
  --notif-warning: #f59e0b;
  --notif-error: #ef4444;
  --notif-message: #a78bfa;
  --notif-ticket: #f97316;
  --notif-invoice: #34d399;
  --badge-bg: #ef4444;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --rail-width: 72px;
  --sections-width: 240px;
  --topbar-height: 56px;
}

[data-theme="light"] {
  --bg-primary: #E8EBF0;
  --bg-surface: #F2F4F7;
  --bg-elevated: #FFFFFF;
  --bg-hover: #DDE1E8;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border: #C8CDD6;
  --border-subtle: #D4D8E1;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.10), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.05);
}

* { box-sizing: border-box; }
html { font-family: var(--font); }
body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
