/* Generated by scripts/build_tokens.py from design/tokens.json — do not edit by hand. */
/* Magdou design tokens 3.0.0 */
:root {
  color-scheme: light;
  --bg: #f3f6fb;
  --panel: #ffffff;
  --panel-2: #f8fafd;
  --sunken: #eef2f8;
  --line: #e4e9f1;
  --line-strong: #d3dce8;
  --ink: #0b1526;
  --muted: #566377;
  --faint: #8592a6;
  --on-accent: #ffffff;
  --side: #070d1a;
  --side-ink: #b9c6da;
  --side-mute: #7d8cab;
  --side-active: rgba(255,255,255,.06);
  --side-line: rgba(255,255,255,.07);
  --accent: #0891b2;
  --accent-strong: #0e7490;
  --accent-soft: #e0f6fb;
  --ai: #7c3aed;
  --ai-strong: #5b21b6;
  --ai-soft: #f3edff;
  --ai-line: #e2d6ff;
  --red: #d63a4a;
  --red-soft: #fde8ea;
  --red-ink: #8e1d2a;
  --orange: #dd6b20;
  --orange-soft: #fdeedf;
  --orange-ink: #8a3d0c;
  --amber: #b7791f;
  --amber-soft: #fbf3dc;
  --amber-ink: #7a5112;
  --green: #1f8a5b;
  --green-soft: #e1f5ea;
  --green-ink: #145c3c;
  --teal: #12807a;
  --teal-soft: #ddf4f2;
  --blue: #2b6cd4;
  --blue-soft: #e5eefc;
  --blue-ink: #1d4a91;
  --indigo: #4f46b5;
  --indigo-soft: #ebeafd;
  --gray: #64748b;
  --gray-soft: #eef1f5;
  --vip: #8a5a00;
  --vip-soft: #fff4d6;
  --overlay: rgba(7,13,26,.45);
  --glass: rgba(255,255,255,.72);
  --row-hover: #f6f9fd;
  --focus: #22d3ee;
  --grad: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --grad-ai: linear-gradient(135deg, #7c3aed 0%, #c026d3 100%);
  --grad-aurora: linear-gradient(135deg, #22d3ee 0%, #818cf8 50%, #e879f9 100%);
  --grad-danger: linear-gradient(90deg, #f43f5e, #fb923c);
  --grad-warn: linear-gradient(90deg, #f97316, #facc15);
  --grad-good: linear-gradient(90deg, #10b981, #22d3ee);
  --font-sans: "Inter var", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --fs-display: 34px;
  --fs-title1: 28px;
  --fs-title2: 22px;
  --fs-title3: 18px;
  --fs-body: 15px;
  --fs-callout: 14px;
  --fs-footnote: 13px;
  --fs-caption: 12px;
  --fs-micro: 11px;
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 22px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.05);
  --shadow-card: 0 1px 2px rgba(16,24,40,.04), 0 10px 28px -14px rgba(16,24,40,.14);
  --shadow-lift: 0 2px 4px rgba(16,24,40,.05), 0 18px 40px -16px rgba(16,24,40,.22);
  --shadow-pop: 0 40px 100px -20px rgba(7,13,26,.55);
  --dur-fast: 150ms;
  --dur: 220ms;
  --ease: cubic-bezier(.2,.7,.2,1);
  --touch: 44px;
  --chart-1: #06b6d4;
  --chart-2: #8b5cf6;
  --chart-3: #f59e0b;
  --chart-4: #10b981;
  --chart-5: #ec4899;
  --chart-6: #6366f1;
  --radius: var(--r-lg);
  --shadow: var(--shadow-card);
  --accent-ink: var(--on-accent);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070c17;
  --panel: #0f1729;
  --panel-2: #121c31;
  --sunken: #0b1222;
  --line: #1e2a42;
  --line-strong: #2b3a57;
  --ink: #e7edf6;
  --muted: #a0aec3;
  --faint: #6f7e96;
  --on-accent: #ffffff;
  --side: #050912;
  --side-ink: #b9c6da;
  --side-mute: #6f7e9a;
  --side-active: rgba(255,255,255,.06);
  --side-line: rgba(255,255,255,.07);
  --accent: #22c3e6;
  --accent-strong: #67e8f9;
  --accent-soft: rgba(34,195,230,.14);
  --ai: #a78bfa;
  --ai-strong: #c4b5fd;
  --ai-soft: rgba(167,139,250,.14);
  --ai-line: rgba(167,139,250,.35);
  --red: #f87171;
  --red-soft: rgba(248,113,113,.14);
  --red-ink: #fecaca;
  --orange: #fb923c;
  --orange-soft: rgba(251,146,60,.14);
  --orange-ink: #fed7aa;
  --amber: #fbbf24;
  --amber-soft: rgba(251,191,36,.13);
  --amber-ink: #fde68a;
  --green: #34d399;
  --green-soft: rgba(52,211,153,.13);
  --green-ink: #a7f3d0;
  --teal: #2dd4bf;
  --teal-soft: rgba(45,212,191,.13);
  --blue: #60a5fa;
  --blue-soft: rgba(96,165,250,.14);
  --blue-ink: #bfdbfe;
  --indigo: #818cf8;
  --indigo-soft: rgba(129,140,248,.15);
  --gray: #94a3b8;
  --gray-soft: rgba(148,163,184,.13);
  --vip: #fcd34d;
  --vip-soft: rgba(252,211,77,.14);
  --overlay: rgba(0,0,0,.6);
  --glass: rgba(15,23,41,.72);
  --row-hover: #132039;
  --focus: #22d3ee;
  --shadow-card: 0 1px 2px rgba(0,0,0,.4), 0 10px 28px -14px rgba(0,0,0,.6);
  --shadow-lift: 0 2px 4px rgba(0,0,0,.4), 0 18px 40px -16px rgba(0,0,0,.7);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #070c17;
    --panel: #0f1729;
    --panel-2: #121c31;
    --sunken: #0b1222;
    --line: #1e2a42;
    --line-strong: #2b3a57;
    --ink: #e7edf6;
    --muted: #a0aec3;
    --faint: #6f7e96;
    --on-accent: #ffffff;
    --side: #050912;
    --side-ink: #b9c6da;
    --side-mute: #6f7e9a;
    --side-active: rgba(255,255,255,.06);
    --side-line: rgba(255,255,255,.07);
    --accent: #22c3e6;
    --accent-strong: #67e8f9;
    --accent-soft: rgba(34,195,230,.14);
    --ai: #a78bfa;
    --ai-strong: #c4b5fd;
    --ai-soft: rgba(167,139,250,.14);
    --ai-line: rgba(167,139,250,.35);
    --red: #f87171;
    --red-soft: rgba(248,113,113,.14);
    --red-ink: #fecaca;
    --orange: #fb923c;
    --orange-soft: rgba(251,146,60,.14);
    --orange-ink: #fed7aa;
    --amber: #fbbf24;
    --amber-soft: rgba(251,191,36,.13);
    --amber-ink: #fde68a;
    --green: #34d399;
    --green-soft: rgba(52,211,153,.13);
    --green-ink: #a7f3d0;
    --teal: #2dd4bf;
    --teal-soft: rgba(45,212,191,.13);
    --blue: #60a5fa;
    --blue-soft: rgba(96,165,250,.14);
    --blue-ink: #bfdbfe;
    --indigo: #818cf8;
    --indigo-soft: rgba(129,140,248,.15);
    --gray: #94a3b8;
    --gray-soft: rgba(148,163,184,.13);
    --vip: #fcd34d;
    --vip-soft: rgba(252,211,77,.14);
    --overlay: rgba(0,0,0,.6);
    --glass: rgba(15,23,41,.72);
    --row-hover: #132039;
    --focus: #22d3ee;
    --shadow-card: 0 1px 2px rgba(0,0,0,.4), 0 10px 28px -14px rgba(0,0,0,.6);
    --shadow-lift: 0 2px 4px rgba(0,0,0,.4), 0 18px 40px -16px rgba(0,0,0,.7);
  }
}
/* Work areas: one colour pair each (navigation icon, page badge, accents, charts). */
body { --sec: #06b6d4; --sec2: #3b82f6; }
body.nav-dashboard { --sec: #06b6d4; --sec2: #3b82f6; }
.side nav a.n-dashboard .ico { --ic: #06b6d4; }
.nav-dashboard .page-head h1::before { content: "◎"; }
body.nav-jobs { --sec: #3b82f6; --sec2: #6366f1; }
.side nav a.n-jobs .ico { --ic: #3b82f6; }
.nav-jobs .page-head h1::before { content: "▤"; }
body.nav-dispatch { --sec: #8b5cf6; --sec2: #d946ef; }
.side nav a.n-dispatch .ico { --ic: #8b5cf6; }
.nav-dispatch .page-head h1::before { content: "⇄"; }
body.nav-map { --sec: #14b8a6; --sec2: #06b6d4; }
.side nav a.n-map .ico { --ic: #14b8a6; }
.nav-map .page-head h1::before { content: "⌖"; }
body.nav-calendar { --sec: #6366f1; --sec2: #8b5cf6; }
.side nav a.n-calendar .ico { --ic: #6366f1; }
.nav-calendar .page-head h1::before { content: "▦"; }
body.nav-pm { --sec: #10b981; --sec2: #14b8a6; }
.side nav a.n-pm .ico { --ic: #10b981; }
.nav-pm .page-head h1::before { content: "↻"; }
body.nav-reviews { --sec: #f59e0b; --sec2: #f97316; }
.side nav a.n-reviews .ico { --ic: #f59e0b; }
.nav-reviews .page-head h1::before { content: "✓"; }
body.nav-estimates { --sec: #ec4899; --sec2: #f43f5e; }
.side nav a.n-estimates .ico { --ic: #ec4899; }
.nav-estimates .page-head h1::before { content: "✎"; }
body.nav-invoices { --sec: #22c55e; --sec2: #10b981; }
.side nav a.n-invoices .ico { --ic: #22c55e; }
.nav-invoices .page-head h1::before { content: "$"; }
body.nav-price_book { --sec: #f97316; --sec2: #f59e0b; }
.side nav a.n-price_book .ico { --ic: #f97316; }
.nav-price_book .page-head h1::before { content: "≡"; }
body.nav-customers { --sec: #0ea5e9; --sec2: #06b6d4; }
.side nav a.n-customers .ico { --ic: #0ea5e9; }
.nav-customers .page-head h1::before { content: "⌂"; }
body.nav-assets { --sec: #a855f7; --sec2: #6366f1; }
.side nav a.n-assets .ico { --ic: #a855f7; }
.nav-assets .page-head h1::before { content: "⚙"; }
body.nav-inventory { --sec: #fb923c; --sec2: #f43f5e; }
.side nav a.n-inventory .ico { --ic: #fb923c; }
.nav-inventory .page-head h1::before { content: "▣"; }
body.nav-contracts { --sec: #f43f5e; --sec2: #ec4899; }
.side nav a.n-contracts .ico { --ic: #f43f5e; }
.nav-contracts .page-head h1::before { content: "§"; }
body.nav-reports { --sec: #d946ef; --sec2: #8b5cf6; }
.side nav a.n-reports .ico { --ic: #d946ef; }
.nav-reports .page-head h1::before { content: "▥"; }
body.nav-training { --sec: #84cc16; --sec2: #10b981; }
.side nav a.n-training .ico { --ic: #84cc16; }
.nav-training .page-head h1::before { content: "?"; }
body.nav-releases { --sec: #64748b; --sec2: #94a3b8; }
.side nav a.n-releases .ico { --ic: #64748b; }
.nav-releases .page-head h1::before { content: "⟳"; }
body.nav-sales { --sec: #f59e0b; --sec2: #ec4899; }
.side nav a.n-sales .ico { --ic: #f59e0b; }
.nav-sales .page-head h1::before { content: "◆"; }
body.nav-dashboards { --sec: #06b6d4; --sec2: #8b5cf6; }
.side nav a.n-dashboards .ico { --ic: #06b6d4; }
.nav-dashboards .page-head h1::before { content: "◧"; }
body.nav-setup { --sec: #f43f5e; --sec2: #f59e0b; }
.side nav a.n-setup .ico { --ic: #f43f5e; }
.nav-setup .page-head h1::before { content: "✔"; }
body.nav-users { --sec: #6366f1; --sec2: #06b6d4; }
.side nav a.n-users .ico { --ic: #6366f1; }
.nav-users .page-head h1::before { content: "☺"; }
body.nav-access { --sec: #0ea5e9; --sec2: #8b5cf6; }
.side nav a.n-access .ico { --ic: #0ea5e9; }
.nav-access .page-head h1::before { content: "⊞"; }
body.nav-design { --sec: #e879f9; --sec2: #22d3ee; }
.side nav a.n-design .ico { --ic: #e879f9; }
.nav-design .page-head h1::before { content: "◈"; }
