/**
 * BakeryERP Pro design tokens — split out from the single-file approach both
 * reference apps use, so brand/theme tokens don't get lost inside a 1000+ line
 * component sheet. --pr/--or are re-set inline per-request in the layout head
 * from company_settings (theme_primary/theme_accent), falling back to these.
 */
:root {
  --pr: #020f50;      /* primary (deep indigo) */
  --or: #f75b07;      /* accent (bakery orange) */
  --sidebar-bg: #ffffff;
  --sidebar-text: #64748b;
  --navbar-bg: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }
body { font-family: 'Inter', system-ui, sans-serif; background: #f1f5f9; color: #1e293b; margin: 0; }

.hidden { display: none; }

/* ── Dark mode base tokens ──────────────────────────────────────────────── */
html.dark body { background: #0f172a; color: #cbd5e1; }
html.dark .text-muted { color: #94a3b8 !important; }
html.dark .alert { filter: brightness(.85); }
html.dark footer { border-color: #334155; color: #475569; }
html.dark select option { background: #1e293b; color: #cbd5e1; }
