/*! Kaya POS & ERP 21 · © 2024-2026 KayaPC Team · Ibrahim Qandily · https://www.kayapc.org — proprietary software, all rights reserved. Unauthorized copying or redistribution is prohibited. */
/* Kaya family themes — shared token set with Kaya Mobile (mobile.kayapc.org) & Kaya Exchange.
   NOTE: "--muted" (a surface colour there) is renamed "--muted-bg" here. */
/* ============================================================================
   KAYA MOBILE design system — shares the Kaya Exchange token set
   (same names, same component contract) so both apps feel like one family.
   Default identity "kaya": deep navy sidebar, signal blue actions and the
   electric-blue/cyan "Kaya Tech" accents. Other identities come from Exchange.
   ========================================================================== */
:root {
  --radius: 0.75rem;
  --shadow-sm: 0 1px 2px rgba(10, 25, 47, 0.06), 0 4px 12px rgba(10, 25, 47, 0.05);
  --shadow-md: 0 4px 14px rgba(10, 25, 47, 0.08), 0 12px 32px rgba(10, 25, 47, 0.06);
  --signal: #22d3ee;
}
/* KAYAPC — default identity (same brand as kayapc.org): ink black sidebar, KayaPC red actions,
   warm white surfaces in light mode and true black-red in dark mode. Green/amber kept for money states. */
:root, [data-theme="kaya"] {
  color-scheme: light;
  --background: #f7f4f4;
  --foreground: #1a0d10;
  --card: #ffffff;
  --card-foreground: #1a0d10;
  --popover: #ffffff;
  --popover-foreground: #1a0d10;
  --primary: #e11d2e;
  --primary-foreground: #ffffff;
  --secondary: #f6eced;
  --secondary-foreground: #3a1419;
  --muted-bg: #f2ebec;
  --muted-foreground: #6b5a5e;
  --accent: #fdecee;
  --accent-foreground: #9f1424;
  --destructive: #c2410c;
  --border: #eadfe0;
  --input: #e2d4d6;
  --ring: #e11d2e;
  --chart-1: #e11d2e;
  --chart-2: #16a34a;
  --chart-3: #1f2937;
  --chart-4: #f59e0b;
  --chart-5: #2563eb;
  --sidebar: #0a0506;
  --sidebar-foreground: #e9dcdd;
  --sidebar-primary: #e11d2e;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: rgba(225, 29, 46, 0.12);
  --sidebar-accent-foreground: #ffffff;
  --sidebar-border: rgba(255, 255, 255, 0.08);
  --sidebar-ring: #ff4655;
  --grad-a: #ff4655;
  --grad-b: #b3121f;
  --signal: #ff4655;
}
[data-theme="kaya"].dark, :root.dark:not([data-theme]) {
  color-scheme: dark;
  --background: #0a0506;
  --foreground: #f6eeef;
  --card: #160a0c;
  --card-foreground: #f6eeef;
  --popover: #1d0d10;
  --popover-foreground: #f6eeef;
  --primary: #ff3b4b;
  --primary-foreground: #ffffff;
  --secondary: #24110f;
  --secondary-foreground: #f1dfe1;
  --muted-bg: #1d0d10;
  --muted-foreground: #b6a3a6;
  --accent: rgba(225, 29, 46, 0.14);
  --accent-foreground: #ff8a94;
  --destructive: #fb923c;
  --border: rgba(255, 255, 255, 0.09);
  --input: rgba(255, 255, 255, 0.14);
  --ring: #ff4655;
  --chart-1: #ff4655;
  --chart-2: #4ade80;
  --chart-3: #e9dcdd;
  --chart-4: #fbbf24;
  --chart-5: #60a5fa;
  --sidebar: #070304;
  --sidebar-foreground: #e9dcdd;
  --sidebar-primary: #ff3b4b;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: rgba(225, 29, 46, 0.14);
  --sidebar-accent-foreground: #ffffff;
  --sidebar-border: rgba(255, 255, 255, 0.07);
  --sidebar-ring: #ff4655;
  --grad-a: #ff4655;
  --grad-b: #b3121f;
  --signal: #ff4655;
}
/* KAYA TECH — blue identity (former default): deep space navy, electric blue → violet actions,
   cyan signal accents. Built for long POS shifts: high contrast, calm surfaces. */
[data-theme="tech"] {
  color-scheme: light;
  --background: #f4f7fc;
  --foreground: #0b1324;
  --card: #ffffff;
  --card-foreground: #0b1324;
  --popover: #ffffff;
  --popover-foreground: #0b1324;
  --primary: #2f6bff;
  --primary-foreground: #ffffff;
  --secondary: #eaf0fb;
  --secondary-foreground: #172b55;
  --muted-bg: #edf1f8;
  --muted-foreground: #5a6884;
  --accent: #e3f7fd;
  --accent-foreground: #075e78;
  --destructive: #e11d48;
  --border: #dbe3f0;
  --input: #d2dcec;
  --ring: #2f6bff;
  --chart-1: #2f6bff;
  --chart-2: #06b6d4;
  --chart-3: #8b5cf6;
  --chart-4: #10b981;
  --chart-5: #f59e0b;
  --sidebar: #070d1d;
  --sidebar-foreground: #c9d5ea;
  --sidebar-primary: #2f6bff;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: rgba(120, 160, 255, 0.08);
  --sidebar-accent-foreground: #ffffff;
  --sidebar-border: rgba(120, 160, 255, 0.12);
  --sidebar-ring: #22d3ee;
  --grad-a: #2f6bff;
  --grad-b: #8b5cf6;
  --signal: #22d3ee;
}
[data-theme="tech"].dark {
  color-scheme: dark;
  --background: #060b18;
  --foreground: #e6ecf8;
  --card: #0c1428;
  --card-foreground: #e6ecf8;
  --popover: #0e1830;
  --popover-foreground: #e6ecf8;
  --primary: #4d82ff;
  --primary-foreground: #ffffff;
  --secondary: #111d38;
  --secondary-foreground: #d4def2;
  --muted-bg: #0f1a33;
  --muted-foreground: #8d9bb8;
  --accent: rgba(34, 211, 238, 0.12);
  --accent-foreground: #67e8f9;
  --destructive: #fb7185;
  --border: rgba(120, 150, 210, 0.16);
  --input: rgba(120, 150, 210, 0.22);
  --ring: #4d82ff;
  --chart-1: #4d82ff;
  --chart-2: #22d3ee;
  --chart-3: #a78bfa;
  --chart-4: #34d399;
  --chart-5: #fbbf24;
  --sidebar: #040815;
  --sidebar-foreground: #c3cfe6;
  --sidebar-primary: #4d82ff;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: rgba(120, 160, 255, 0.07);
  --sidebar-accent-foreground: #ffffff;
  --sidebar-border: rgba(120, 160, 255, 0.10);
  --sidebar-ring: #22d3ee;
  --grad-a: #4d82ff;
  --grad-b: #a78bfa;
  --signal: #22d3ee;
}
[data-theme="classic"] {
  color-scheme: light;
  --radius: 0.65rem;
  --background: #f2f6fb;
  --foreground: #0f1f33;
  --card: #ffffff;
  --card-foreground: #0f1f33;
  --popover: #ffffff;
  --popover-foreground: #0f1f33;
  --primary: #1d4ed8;
  --primary-foreground: #ffffff;
  --secondary: #eef3fa;
  --secondary-foreground: #16336b;
  --muted-bg: #eef2f8;
  --muted-foreground: #55677f;
  --accent: #e9f1fd;
  --accent-foreground: #0b4a8f;
  --destructive: #c0262e;
  --border: #d8e1ec;
  --input: #cfdaea;
  --ring: #1d4ed8;
  --chart-1: #1d4ed8;
  --chart-2: #0ea5e9;
  --chart-3: #6366f1;
  --chart-4: #059669;
  --chart-5: #d97706;
  --sidebar: #10233f;
  --sidebar-foreground: #dbe7f6;
  --sidebar-primary: #5b8ff0;
  --sidebar-primary-foreground: #071a33;
  --sidebar-accent: rgba(255, 255, 255, 0.07);
  --sidebar-accent-foreground: #f0f6fe;
  --sidebar-border: rgba(255, 255, 255, 0.09);
  --sidebar-ring: #5b8ff0;
  --color-atmosphere-a: rgba(191, 219, 254, 0.30);
  --color-atmosphere-b: rgba(224, 231, 255, 0.26);
  --grad-a: #2563eb;
  --grad-b: #1e40af;
  --surface-glass: rgba(255, 255, 255, 0.66);
  --surface-glass-strong: rgba(255, 255, 255, 0.85);
  --surface-floating: rgba(255, 255, 255, 0.97);
  --surface-crystal: rgba(255, 255, 255, 0.28);
  --border-glass: rgba(210, 222, 236, 0.9);
  --shadow-sm: 0 1px 2px rgba(15, 31, 51, 0.06), 0 4px 12px rgba(15, 31, 51, 0.05);
  --shadow-md: 0 4px 14px rgba(15, 31, 51, 0.08), 0 12px 32px rgba(15, 31, 51, 0.06);
  --shadow-lg: 0 12px 36px rgba(15, 31, 51, 0.12);
}

[data-theme="classic"].dark {
  color-scheme: dark;
  --background: #0b1220;
  --foreground: #dce6f4;
  --card: rgba(17, 26, 42, 0.92);
  --card-foreground: #dce6f4;
  --popover: rgba(19, 28, 45, 0.97);
  --popover-foreground: #dce6f4;
  --primary: #5f8dff;
  --primary-foreground: #071a33;
  --secondary: #1c2b47;
  --secondary-foreground: #cfe0f6;
  --muted-bg: #18243a;
  --muted-foreground: #8fa2bc;
  --accent: #223352;
  --accent-foreground: #bfe0f5;
  --destructive: #e5646f;
  --border: rgba(255, 255, 255, 0.11);
  --input: rgba(255, 255, 255, 0.15);
  --ring: #5f8dff;
  --chart-1: #5f8dff;
  --chart-2: #38bdf8;
  --chart-3: #8b93ff;
  --chart-4: #34d399;
  --chart-5: #f0b04c;
  --sidebar: #070e1a;
  --sidebar-foreground: #d5dfef;
  --sidebar-primary: #5f8dff;
  --sidebar-primary-foreground: #071a33;
  --sidebar-accent: rgba(255, 255, 255, 0.06);
  --sidebar-accent-foreground: #eaf2fc;
  --sidebar-border: rgba(255, 255, 255, 0.08);
  --sidebar-ring: #5f8dff;
  --color-atmosphere-a: rgba(30, 64, 120, 0.35);
  --color-atmosphere-b: rgba(60, 70, 140, 0.28);
  --grad-a: #3b82f6;
  --grad-b: #1e40af;
  --surface-glass: rgba(20, 32, 50, 0.6);
  --surface-glass-strong: rgba(17, 26, 42, 0.8);
  --surface-floating: rgba(22, 36, 55, 0.97);
  --surface-crystal: rgba(255, 255, 255, 0.1);
  --border-glass: rgba(255, 255, 255, 0.14);
}

[data-theme="onyx"] {
  color-scheme: dark;
  --radius: 0.85rem;
  --background: #07070f;
  --foreground: #e9e7f7;
  --card: rgba(20, 19, 38, 0.72);
  --card-foreground: #e9e7f7;
  --popover: rgba(22, 21, 42, 0.97);
  --popover-foreground: #e9e7f7;
  --primary: #8b7cff;
  --primary-foreground: #0b0a1d;
  --secondary: rgba(139, 124, 255, 0.14);
  --secondary-foreground: #cfc9ff;
  --muted-bg: rgba(167, 160, 220, 0.09);
  --muted-foreground: #9a96bd;
  --accent: rgba(99, 102, 241, 0.16);
  --accent-foreground: #c7d2fe;
  --destructive: #fb7185;
  --border: rgba(167, 160, 230, 0.14);
  --input: rgba(167, 160, 230, 0.2);
  --ring: #8b7cff;
  --chart-1: #8b7cff;
  --chart-2: #38bdf8;
  --chart-3: #f472b6;
  --chart-4: #34d399;
  --chart-5: #fbbf24;
  --sidebar: rgba(10, 9, 24, 0.82);
  --sidebar-foreground: #dedbf5;
  --sidebar-primary: #7c6cff;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: rgba(255, 255, 255, 0.06);
  --sidebar-accent-foreground: #f3f1ff;
  --sidebar-border: rgba(167, 160, 230, 0.13);
  --sidebar-ring: #8b7cff;
  --color-atmosphere-a: rgba(124, 58, 237, 0.30);
  --color-atmosphere-b: rgba(37, 99, 235, 0.28);
  --grad-a: #7c6cff;
  --grad-b: #3b82f6;
  --surface-glass: rgba(24, 22, 48, 0.55);
  --surface-glass-strong: rgba(20, 19, 40, 0.8);
  --surface-floating: rgba(24, 22, 46, 0.97);
  --surface-crystal: rgba(255, 255, 255, 0.05);
  --border-glass: rgba(167, 160, 230, 0.16);
  --shadow-sm: 0 2px 10px rgba(3, 2, 15, 0.5);
  --shadow-md: 0 10px 30px rgba(3, 2, 15, 0.55);
  --shadow-lg: 0 24px 64px rgba(3, 2, 15, 0.65);
}
[data-theme="onyx"] .card, [data-theme="onyx"] .kpi { -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); border-color: var(--border-glass); }
html[data-theme="onyx"] body { background-image: radial-gradient(60rem 40rem at 110% -10%, var(--color-atmosphere-a), transparent 60%), radial-gradient(50rem 36rem at -10% 110%, var(--color-atmosphere-b), transparent 60%); background-attachment: fixed; }
[data-theme="ocean"] {
  color-scheme: light;
  --radius: 0.8rem;
  --background: #f1f8f9;
  --foreground: #0b2730;
  --card: #ffffff;
  --card-foreground: #0b2730;
  --popover: #ffffff;
  --popover-foreground: #0b2730;
  --primary: #0f766e;
  --primary-foreground: #ffffff;
  --secondary: #e3f4f2;
  --secondary-foreground: #0f5f59;
  --muted-bg: #eaf3f4;
  --muted-foreground: #557079;
  --accent: #e0f2fe;
  --accent-foreground: #075985;
  --destructive: #dc2626;
  --border: #d5e6e8;
  --input: #cde0e3;
  --ring: #0f766e;
  --chart-1: #0f766e;
  --chart-2: #0284c7;
  --chart-3: #7c3aed;
  --chart-4: #f59e0b;
  --chart-5: #e11d48;
  --sidebar: #062a30;
  --sidebar-foreground: #d3ecee;
  --sidebar-primary: #2dd4bf;
  --sidebar-primary-foreground: #032421;
  --sidebar-accent: rgba(255, 255, 255, 0.07);
  --sidebar-accent-foreground: #effbfb;
  --sidebar-border: rgba(255, 255, 255, 0.09);
  --sidebar-ring: #2dd4bf;
  --color-atmosphere-a: rgba(45, 212, 191, 0.18);
  --color-atmosphere-b: rgba(14, 165, 233, 0.14);
  --grad-a: #0f766e;
  --grad-b: #0ea5e9;
  --surface-glass: rgba(255, 255, 255, 0.84);
  --surface-glass-strong: rgba(255, 255, 255, 0.95);
  --surface-floating: rgba(255, 255, 255, 0.99);
  --surface-crystal: rgba(255, 255, 255, 0.55);
  --border-glass: #d5e6e8;
  --shadow-sm: 0 1px 2px rgba(6, 42, 48, 0.06);
  --shadow-md: 0 2px 4px rgba(6, 42, 48, 0.05), 0 8px 20px rgba(6, 42, 48, 0.07);
  --shadow-lg: 0 12px 36px rgba(6, 42, 48, 0.12);
}
[data-theme="ocean"].dark {
  color-scheme: dark;
  --background: #041417;
  --foreground: #d9eef0;
  --card: rgba(9, 35, 40, 0.88);
  --card-foreground: #d9eef0;
  --popover: rgba(10, 38, 44, 0.98);
  --popover-foreground: #d9eef0;
  --primary: #2dd4bf;
  --primary-foreground: #032421;
  --secondary: rgba(45, 212, 191, 0.12);
  --secondary-foreground: #99f6e4;
  --muted-bg: rgba(148, 163, 184, 0.1);
  --muted-foreground: #86a6ab;
  --accent: rgba(56, 189, 248, 0.14);
  --accent-foreground: #7dd3fc;
  --destructive: #f87171;
  --border: rgba(160, 220, 225, 0.13);
  --input: rgba(160, 220, 225, 0.18);
  --ring: #2dd4bf;
  --chart-1: #2dd4bf;
  --chart-2: #38bdf8;
  --chart-3: #a78bfa;
  --chart-4: #fbbf24;
  --chart-5: #fb7185;
  --sidebar: #020e10;
  --sidebar-foreground: #cfe7ea;
  --sidebar-primary: #2dd4bf;
  --sidebar-primary-foreground: #032421;
  --sidebar-accent: rgba(255, 255, 255, 0.06);
  --sidebar-accent-foreground: #ecfafa;
  --sidebar-border: rgba(255, 255, 255, 0.08);
  --sidebar-ring: #2dd4bf;
  --color-atmosphere-a: rgba(45, 212, 191, 0.18);
  --color-atmosphere-b: rgba(14, 165, 233, 0.16);
  --grad-a: #2dd4bf;
  --grad-b: #38bdf8;
  --surface-glass: rgba(10, 38, 44, 0.6);
  --surface-glass-strong: rgba(9, 35, 40, 0.84);
  --surface-floating: rgba(10, 38, 44, 0.98);
  --surface-crystal: rgba(255, 255, 255, 0.05);
  --border-glass: rgba(160, 220, 225, 0.14);
  --shadow-sm: 0 2px 10px rgba(1, 10, 12, 0.45);
  --shadow-md: 0 8px 28px rgba(1, 10, 12, 0.5);
  --shadow-lg: 0 20px 60px rgba(1, 10, 12, 0.6);
}
@media print {html[data-theme]{--background:#fff;--card:#fff;--foreground:#171717;--muted-foreground:#444;}}


/* ---- Additional identities shared with Kaya Exchange ---- */
[data-theme="midnight"] {
  color-scheme: dark;
  --radius: 0.75rem;
  --background: #0a0f1e;
  --foreground: #e3eaf6;
  --card: rgba(17, 24, 40, 0.86);
  --card-foreground: #e3eaf6;
  --popover: rgba(19, 27, 45, 0.97);
  --popover-foreground: #e3eaf6;
  --primary: #34d399;
  --primary-foreground: #06281d;
  --secondary: rgba(52, 211, 153, 0.12);
  --secondary-foreground: #a7f3d0;
  --muted-bg: rgba(148, 163, 184, 0.1);
  --muted-foreground: #8fa0bd;
  --accent: rgba(52, 211, 153, 0.12);
  --accent-foreground: #6ee7b7;
  --destructive: #f87171;
  --border: rgba(148, 163, 184, 0.14);
  --input: rgba(148, 163, 184, 0.18);
  --ring: #34d399;
  --chart-1: #34d399;
  --chart-2: #60a5fa;
  --chart-3: #a78bfa;
  --chart-4: #fbbf24;
  --chart-5: #22d3ee;
  --sidebar: rgba(6, 10, 20, 0.92);
  --sidebar-foreground: #d5dfef;
  --sidebar-primary: #34d399;
  --sidebar-primary-foreground: #06281d;
  --sidebar-accent: rgba(255, 255, 255, 0.06);
  --sidebar-accent-foreground: #eef4fc;
  --sidebar-border: rgba(148, 163, 184, 0.12);
  --sidebar-ring: #34d399;
  --color-atmosphere-a: rgba(16, 185, 129, 0.16);
  --color-atmosphere-b: rgba(59, 130, 246, 0.18);
  --grad-a: #34d399;
  --grad-b: #60a5fa;
  --surface-glass: rgba(20, 28, 46, 0.55);
  --surface-glass-strong: rgba(17, 24, 40, 0.78);
  --surface-floating: rgba(21, 30, 50, 0.97);
  --surface-crystal: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(148, 163, 184, 0.16);
  --shadow-sm: 0 2px 10px rgba(2, 8, 20, 0.45);
  --shadow-md: 0 8px 28px rgba(2, 8, 20, 0.5);
  --shadow-lg: 0 20px 60px rgba(2, 8, 20, 0.6);
}

[data-theme="emerald"] {
  color-scheme: light;
  --radius: 0.75rem;
  --background: #eff6f1;
  --foreground: #0c2018;
  --card: #ffffff;
  --card-foreground: #0c2018;
  --popover: #ffffff;
  --popover-foreground: #0c2018;
  --primary: #059669;
  --primary-foreground: #ffffff;
  --secondary: #e2f0e7;
  --secondary-foreground: #14532d;
  --muted-bg: #e8f0eb;
  --muted-foreground: #567263;
  --accent: #dbf3e5;
  --accent-foreground: #047857;
  --destructive: #c0262e;
  --border: #cfe2d5;
  --input: #bed7c7;
  --ring: #059669;
  --chart-1: #059669;
  --chart-2: #0ea5e9;
  --chart-3: #8b5cf6;
  --chart-4: #d97706;
  --chart-5: #e11d48;
  --sidebar: #0a291f;
  --sidebar-foreground: #d3eadc;
  --sidebar-primary: #34d399;
  --sidebar-primary-foreground: #06281d;
  --sidebar-accent: rgba(255, 255, 255, 0.07);
  --sidebar-accent-foreground: #e9f7ef;
  --sidebar-border: rgba(255, 255, 255, 0.09);
  --sidebar-ring: #34d399;
  --color-atmosphere-a: rgba(52, 211, 153, 0.26);
  --color-atmosphere-b: rgba(16, 185, 129, 0.18);
  --grad-a: #10b981;
  --grad-b: #047857;
  --surface-glass: rgba(255, 255, 255, 0.62);
  --surface-glass-strong: rgba(255, 255, 255, 0.84);
  --surface-floating: rgba(255, 255, 255, 0.97);
  --surface-crystal: rgba(255, 255, 255, 0.26);
  --border-glass: rgba(207, 226, 213, 0.9);
  --shadow-sm: 0 1px 2px rgba(6, 40, 28, 0.06), 0 4px 12px rgba(6, 40, 28, 0.05);
  --shadow-md: 0 4px 14px rgba(6, 40, 28, 0.08), 0 12px 32px rgba(6, 40, 28, 0.06);
  --shadow-lg: 0 12px 36px rgba(6, 40, 28, 0.12);
}

[data-theme="emerald"].dark {
  color-scheme: dark;
  --background: #071410;
  --foreground: #d7eae0;
  --card: rgba(13, 31, 25, 0.9);
  --card-foreground: #d7eae0;
  --popover: rgba(15, 35, 28, 0.97);
  --popover-foreground: #d7eae0;
  --primary: #34d399;
  --primary-foreground: #06281d;
  --secondary: rgba(52, 211, 153, 0.12);
  --secondary-foreground: #a7f3d0;
  --muted-bg: rgba(148, 163, 184, 0.1);
  --muted-foreground: #8ca99b;
  --accent: rgba(52, 211, 153, 0.13);
  --accent-foreground: #6ee7b7;
  --destructive: #f87171;
  --border: rgba(255, 255, 255, 0.11);
  --input: rgba(255, 255, 255, 0.15);
  --ring: #34d399;
  --chart-1: #34d399;
  --chart-2: #38bdf8;
  --chart-3: #a78bfa;
  --chart-4: #fbbf24;
  --chart-5: #f87171;
  --sidebar: #04100c;
  --sidebar-foreground: #cfe3d8;
  --sidebar-primary: #34d399;
  --sidebar-primary-foreground: #06281d;
  --sidebar-accent: rgba(255, 255, 255, 0.06);
  --sidebar-accent-foreground: #e9f7ef;
  --sidebar-border: rgba(255, 255, 255, 0.08);
  --sidebar-ring: #34d399;
  --color-atmosphere-a: rgba(16, 185, 129, 0.2);
  --color-atmosphere-b: rgba(5, 150, 105, 0.16);
  --grad-a: #34d399;
  --grad-b: #0ea5e9;
  --surface-glass: rgba(15, 33, 27, 0.6);
  --surface-glass-strong: rgba(13, 31, 25, 0.82);
  --surface-floating: rgba(15, 35, 28, 0.97);
  --surface-crystal: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(255, 255, 255, 0.12);
}

[data-theme="royal"] {
  color-scheme: light;
  --radius: 0.7rem;
  --background: #fbf6f3;
  --foreground: #2a1215;
  --card: #ffffff;
  --card-foreground: #2a1215;
  --popover: #ffffff;
  --popover-foreground: #2a1215;
  --primary: #9f1239;
  --primary-foreground: #ffffff;
  --secondary: #f7ecec;
  --secondary-foreground: #7f1d1d;
  --muted-bg: #f5eded;
  --muted-foreground: #82616a;
  --accent: #f9edd6;
  --accent-foreground: #92610e;
  --destructive: #dc2626;
  --border: #e9dbd8;
  --input: #e0cfcb;
  --ring: #9f1239;
  --chart-1: #9f1239;
  --chart-2: #c9a227;
  --chart-3: #7c2d12;
  --chart-4: #0ea5e9;
  --chart-5: #059669;
  --sidebar: #2a0e14;
  --sidebar-foreground: #f3dfe1;
  --sidebar-primary: #d9a441;
  --sidebar-primary-foreground: #2a0e14;
  --sidebar-accent: rgba(217, 164, 65, 0.14);
  --sidebar-accent-foreground: #fbeedd;
  --sidebar-border: rgba(255, 255, 255, 0.09);
  --sidebar-ring: #d9a441;
  --color-atmosphere-a: rgba(217, 164, 65, 0.26);
  --color-atmosphere-b: rgba(159, 18, 57, 0.12);
  --grad-a: #9f1239;
  --grad-b: #d9a441;
  --surface-glass: rgba(255, 255, 255, 0.64);
  --surface-glass-strong: rgba(255, 253, 250, 0.85);
  --surface-floating: rgba(255, 255, 255, 0.97);
  --surface-crystal: rgba(217, 164, 65, 0.14);
  --border-glass: rgba(233, 219, 216, 0.9);
  --shadow-sm: 0 1px 2px rgba(42, 14, 20, 0.06), 0 4px 12px rgba(42, 14, 20, 0.05);
  --shadow-md: 0 4px 14px rgba(42, 14, 20, 0.09), 0 12px 32px rgba(42, 14, 20, 0.06);
  --shadow-lg: 0 12px 36px rgba(42, 14, 20, 0.13);
}

[data-theme="royal"].dark {
  color-scheme: dark;
  --background: #140b0d;
  --foreground: #f2e3e1;
  --card: rgba(32, 18, 22, 0.9);
  --card-foreground: #f2e3e1;
  --popover: rgba(37, 21, 26, 0.97);
  --popover-foreground: #f2e3e1;
  --primary: #e3b341;
  --primary-foreground: #2a0e14;
  --secondary: rgba(226, 179, 65, 0.12);
  --secondary-foreground: #f2d398;
  --muted-bg: rgba(148, 130, 140, 0.1);
  --muted-foreground: #b39ba3;
  --accent: rgba(226, 179, 65, 0.14);
  --accent-foreground: #f2d398;
  --destructive: #f87171;
  --border: rgba(255, 255, 255, 0.11);
  --input: rgba(255, 255, 255, 0.15);
  --ring: #e3b341;
  --chart-1: #e3b341;
  --chart-2: #fb7185;
  --chart-3: #60a5fa;
  --chart-4: #34d399;
  --chart-5: #a78bfa;
  --sidebar: #0c0709;
  --sidebar-foreground: #ecd9db;
  --sidebar-primary: #e3b341;
  --sidebar-primary-foreground: #2a0e14;
  --sidebar-accent: rgba(226, 179, 65, 0.12);
  --sidebar-accent-foreground: #fbeedd;
  --sidebar-border: rgba(255, 255, 255, 0.08);
  --sidebar-ring: #e3b341;
  --color-atmosphere-a: rgba(226, 179, 65, 0.16);
  --color-atmosphere-b: rgba(159, 18, 57, 0.24);
  --grad-a: #e3b341;
  --grad-b: #fb7185;
  --surface-glass: rgba(34, 20, 25, 0.6);
  --surface-glass-strong: rgba(32, 18, 22, 0.82);
  --surface-floating: rgba(37, 21, 26, 0.97);
  --surface-crystal: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(255, 255, 255, 0.12);
}

[data-theme="sahara"] {
  color-scheme: light;
  --radius: 0.8rem;
  --background: #faf5ec;
  --foreground: #2b1d0e;
  --card: #ffffff;
  --card-foreground: #2b1d0e;
  --popover: #ffffff;
  --popover-foreground: #2b1d0e;
  --primary: #d97706;
  --primary-foreground: #ffffff;
  --secondary: #f6ecd9;
  --secondary-foreground: #92400e;
  --muted-bg: #f3eada;
  --muted-foreground: #7d6b52;
  --accent: #fbefd7;
  --accent-foreground: #92610e;
  --destructive: #dc2626;
  --border: #eae0cc;
  --input: #e0d2b8;
  --ring: #d97706;
  --chart-1: #d97706;
  --chart-2: #0ea5e9;
  --chart-3: #8b5cf6;
  --chart-4: #059669;
  --chart-5: #ef4444;
  --sidebar: #2b1a08;
  --sidebar-foreground: #f1e5cf;
  --sidebar-primary: #e3b341;
  --sidebar-primary-foreground: #2b1a08;
  --sidebar-accent: rgba(227, 179, 65, 0.14);
  --sidebar-accent-foreground: #f9edd0;
  --sidebar-border: rgba(255, 255, 255, 0.09);
  --sidebar-ring: #e3b341;
  --color-atmosphere-a: rgba(245, 197, 78, 0.3);
  --color-atmosphere-b: rgba(217, 119, 6, 0.14);
  --grad-a: #d97706;
  --grad-b: #f2c14e;
  --surface-glass: rgba(255, 255, 255, 0.62);
  --surface-glass-strong: rgba(255, 253, 247, 0.85);
  --surface-floating: rgba(255, 255, 255, 0.97);
  --surface-crystal: rgba(255, 255, 255, 0.26);
  --border-glass: rgba(234, 224, 204, 0.9);
  --shadow-sm: 0 1px 2px rgba(43, 29, 14, 0.06), 0 4px 12px rgba(43, 29, 14, 0.05);
  --shadow-md: 0 4px 14px rgba(43, 29, 14, 0.08), 0 12px 32px rgba(43, 29, 14, 0.06);
  --shadow-lg: 0 12px 36px rgba(43, 29, 14, 0.12);
}

[data-theme="sahara"].dark {
  color-scheme: dark;
  --background: #171106;
  --foreground: #f1e7d2;
  --card: rgba(41, 30, 14, 0.9);
  --card-foreground: #f1e7d2;
  --popover: rgba(46, 35, 17, 0.97);
  --popover-foreground: #f1e7d2;
  --primary: #f2c14e;
  --primary-foreground: #2b1a08;
  --secondary: rgba(242, 193, 78, 0.12);
  --secondary-foreground: #f6dfac;
  --muted-bg: rgba(160, 140, 100, 0.1);
  --muted-foreground: #b4a181;
  --accent: rgba(242, 193, 78, 0.14);
  --accent-foreground: #f6dfac;
  --destructive: #f87171;
  --border: rgba(255, 255, 255, 0.11);
  --input: rgba(255, 255, 255, 0.15);
  --ring: #f2c14e;
  --chart-1: #f2c14e;
  --chart-2: #fb923c;
  --chart-3: #38bdf8;
  --chart-4: #34d399;
  --chart-5: #f472b6;
  --sidebar: #100b04;
  --sidebar-foreground: #e9dcc0;
  --sidebar-primary: #f2c14e;
  --sidebar-primary-foreground: #2b1a08;
  --sidebar-accent: rgba(242, 193, 78, 0.12);
  --sidebar-accent-foreground: #f9edd0;
  --sidebar-border: rgba(255, 255, 255, 0.08);
  --sidebar-ring: #f2c14e;
  --color-atmosphere-a: rgba(242, 193, 78, 0.18);
  --color-atmosphere-b: rgba(217, 119, 6, 0.2);
  --grad-a: #f2c14e;
  --grad-b: #fb923c;
  --surface-glass: rgba(43, 32, 16, 0.6);
  --surface-glass-strong: rgba(41, 30, 14, 0.82);
  --surface-floating: rgba(46, 35, 17, 0.97);
  --surface-crystal: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(255, 255, 255, 0.12);
}

[data-theme="sapphire"] {
  color-scheme: light;
  --radius: 0.7rem;
  --background: #f3f6fb;
  --foreground: #0d1b33;
  --card: #ffffff;
  --card-foreground: #0d1b33;
  --popover: #ffffff;
  --popover-foreground: #0d1b33;
  --primary: #1d3d8f;
  --primary-foreground: #ffffff;
  --secondary: #e9eef8;
  --secondary-foreground: #1d3d8f;
  --muted-bg: #eef2f8;
  --muted-foreground: #5b6b86;
  --accent: #fbf3df;
  --accent-foreground: #8a5a00;
  --destructive: #c0262d;
  --border: #dbe3ef;
  --input: #d3dcea;
  --ring: #1d3d8f;
  --chart-1: #1d3d8f;
  --chart-2: #c9952b;
  --chart-3: #0e7490;
  --chart-4: #15803d;
  --chart-5: #9333ea;
  --sidebar: #0b1a3a;
  --sidebar-foreground: #dbe5f7;
  --sidebar-primary: #d4a338;
  --sidebar-primary-foreground: #1a1203;
  --sidebar-accent: rgba(255, 255, 255, 0.07);
  --sidebar-accent-foreground: #f5f8fd;
  --sidebar-border: rgba(255, 255, 255, 0.09);
  --sidebar-ring: #d4a338;
  --color-atmosphere-a: rgba(29, 61, 143, 0.12);
  --color-atmosphere-b: rgba(212, 163, 56, 0.14);
  --grad-a: #1d3d8f;
  --grad-b: #d4a338;
  --surface-glass: rgba(255, 255, 255, 0.86);
  --surface-glass-strong: rgba(255, 255, 255, 0.95);
  --surface-floating: rgba(255, 255, 255, 0.99);
  --surface-crystal: rgba(255, 255, 255, 0.55);
  --border-glass: #dbe3ef;
  --shadow-sm: 0 1px 2px rgba(13, 27, 51, 0.06);
  --shadow-md: 0 2px 4px rgba(13, 27, 51, 0.05), 0 8px 20px rgba(13, 27, 51, 0.06);
  --shadow-lg: 0 12px 36px rgba(13, 27, 51, 0.12);
}
[data-theme="sapphire"].dark {
  color-scheme: dark;
  --background: #060d1d;
  --foreground: #e2e9f6;
  --card: rgba(14, 26, 52, 0.88);
  --card-foreground: #e2e9f6;
  --popover: rgba(15, 28, 56, 0.98);
  --popover-foreground: #e2e9f6;
  --primary: #e0b04a;
  --primary-foreground: #1a1203;
  --secondary: rgba(224, 176, 74, 0.13);
  --secondary-foreground: #f3d898;
  --muted-bg: rgba(148, 163, 184, 0.1);
  --muted-foreground: #8fa1c2;
  --accent: rgba(96, 135, 230, 0.16);
  --accent-foreground: #bcd0ff;
  --destructive: #f87171;
  --border: rgba(148, 170, 220, 0.15);
  --input: rgba(148, 170, 220, 0.2);
  --ring: #e0b04a;
  --chart-1: #e0b04a;
  --chart-2: #6b93f0;
  --chart-3: #22d3ee;
  --chart-4: #34d399;
  --chart-5: #c084fc;
  --sidebar: #040a17;
  --sidebar-foreground: #d4def1;
  --sidebar-primary: #e0b04a;
  --sidebar-primary-foreground: #1a1203;
  --sidebar-accent: rgba(255, 255, 255, 0.06);
  --sidebar-accent-foreground: #f1f5fc;
  --sidebar-border: rgba(255, 255, 255, 0.08);
  --sidebar-ring: #e0b04a;
  --color-atmosphere-a: rgba(59, 100, 210, 0.22);
  --color-atmosphere-b: rgba(224, 176, 74, 0.14);
  --grad-a: #e0b04a;
  --grad-b: #4f7be8;
  --surface-glass: rgba(16, 29, 58, 0.6);
  --surface-glass-strong: rgba(14, 26, 52, 0.84);
  --surface-floating: rgba(15, 28, 56, 0.98);
  --surface-crystal: rgba(255, 255, 255, 0.05);
  --border-glass: rgba(148, 170, 220, 0.16);
  --shadow-sm: 0 2px 10px rgba(1, 5, 15, 0.45);
  --shadow-md: 0 8px 28px rgba(1, 5, 15, 0.5);
  --shadow-lg: 0 20px 60px rgba(1, 5, 15, 0.6);
}
[data-theme="gradient"] {
  color-scheme: light;
  --radius: 0.9rem;
  --background: #f6f4fd;
  --foreground: #1c1533;
  --card: #ffffff;
  --card-foreground: #1c1533;
  --popover: rgba(255, 255, 255, 0.98);
  --popover-foreground: #1c1533;
  --primary: #7c3aed;
  --primary-foreground: #ffffff;
  --secondary: #f0eaff;
  --secondary-foreground: #4c1d95;
  --muted-bg: #f2effb;
  --muted-foreground: #6d6788;
  --accent: #f3ecff;
  --accent-foreground: #5b21b6;
  --destructive: #e11d63;
  --border: #e6e1f2;
  --input: #ddd6ef;
  --ring: #7c3aed;
  --chart-1: #7c3aed;
  --chart-2: #ec4899;
  --chart-3: #3b82f6;
  --chart-4: #10b981;
  --chart-5: #f59e0b;
  --sidebar: #1e1136;
  --sidebar-foreground: #e9e1fb;
  --sidebar-primary: #a78bfa;
  --sidebar-primary-foreground: #170b2e;
  --sidebar-accent: rgba(167, 139, 250, 0.14);
  --sidebar-accent-foreground: #f3eefc;
  --sidebar-border: rgba(255, 255, 255, 0.1);
  --sidebar-ring: #a78bfa;
  --color-atmosphere-a: rgba(124, 58, 237, 0.2);
  --color-atmosphere-b: rgba(236, 72, 153, 0.14);
  --grad-a: #7c3aed;
  --grad-b: #ec4899;
  --surface-glass: rgba(255, 255, 255, 0.6);
  --surface-glass-strong: rgba(255, 255, 255, 0.85);
  --surface-floating: rgba(255, 255, 255, 0.97);
  --surface-crystal: rgba(255, 255, 255, 0.25);
  --border-glass: rgba(230, 225, 242, 0.85);
  --shadow-sm: 0 4px 14px rgba(124, 58, 237, 0.10);
  --shadow-md: 0 10px 30px rgba(124, 58, 237, 0.14);
  --shadow-lg: 0 24px 60px rgba(124, 58, 237, 0.2);
}

[data-theme="gradient"].dark {
  color-scheme: dark;
  --background: #120d24;
  --foreground: #eae4fb;
  --card: rgba(30, 22, 54, 0.9);
  --card-foreground: #eae4fb;
  --popover: rgba(34, 25, 60, 0.97);
  --popover-foreground: #eae4fb;
  --primary: #a78bfa;
  --primary-foreground: #170b2e;
  --secondary: rgba(124, 58, 237, 0.16);
  --secondary-foreground: #ddd1fb;
  --muted-bg: rgba(148, 140, 190, 0.12);
  --muted-foreground: #a49ec4;
  --accent: rgba(124, 58, 237, 0.2);
  --accent-foreground: #ddd1fb;
  --destructive: #fb7185;
  --border: rgba(255, 255, 255, 0.12);
  --input: rgba(255, 255, 255, 0.16);
  --ring: #a78bfa;
  --chart-1: #a78bfa;
  --chart-2: #f472b6;
  --chart-3: #60a5fa;
  --chart-4: #34d399;
  --chart-5: #fbbf24;
  --sidebar: #0c0819;
  --sidebar-foreground: #e2d9fa;
  --sidebar-primary: #a78bfa;
  --sidebar-primary-foreground: #170b2e;
  --sidebar-accent: rgba(167, 139, 250, 0.12);
  --sidebar-accent-foreground: #f3eefc;
  --sidebar-border: rgba(255, 255, 255, 0.09);
  --sidebar-ring: #a78bfa;
  --color-atmosphere-a: rgba(124, 58, 237, 0.3);
  --color-atmosphere-b: rgba(236, 72, 153, 0.18);
  --grad-a: #a78bfa;
  --grad-b: #f472b6;
  --surface-glass: rgba(30, 22, 54, 0.6);
  --surface-glass-strong: rgba(30, 22, 54, 0.82);
  --surface-floating: rgba(34, 25, 60, 0.97);
  --surface-crystal: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.14);
}



/* ===== 21.6 identities ===== */
[data-theme="rosegold"] {
  color-scheme: light; --radius: 1rem;
  --background: #fbf5f6; --foreground: #2a1019; --card: #ffffff; --card-foreground: #2a1019; --popover: #ffffff; --popover-foreground: #2a1019;
  --primary: #be185d; --primary-foreground: #ffffff; --secondary: #f6e3ea; --secondary-foreground: #7c103c;
  --muted-bg: #f1eaeb; --muted-foreground: #88777c; --accent: #f7e3ec; --accent-foreground: #a2144f;
  --destructive: #c0262e; --border: #e2dadb; --input: #d5ccce; --ring: #be185d;
  --chart-1: #be185d; --chart-2: #d4a373; --chart-3: #0ea5e9; --chart-4: #8b5cf6; --chart-5: #10b981;
  --sidebar: #2a1019; --sidebar-foreground: #dfdbdc; --sidebar-primary: #ce5286; --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: rgba(255, 255, 255, 0.07); --sidebar-accent-foreground: #ffffff; --sidebar-border: rgba(255, 255, 255, 0.09); --sidebar-ring: #be185d;
  --color-atmosphere-a: rgba(190, 24, 93, 0.22); --color-atmosphere-b: rgba(212, 163, 115, 0.16); --grad-a: #be185d; --grad-b: #d4a373;
  --surface-glass: rgba(255, 255, 255, 0.62); --surface-glass-strong: rgba(255, 255, 255, 0.84); --surface-floating: rgba(255, 255, 255, 0.97); --surface-crystal: rgba(255, 255, 255, 0.26); --border-glass: rgba(42, 16, 25, 0.1);
  --shadow-sm: 0 1px 2px rgba(42, 16, 25, 0.06), 0 4px 12px rgba(42, 16, 25, 0.05); --shadow-md: 0 4px 14px rgba(42, 16, 25, 0.08), 0 12px 32px rgba(42, 16, 25, 0.06); --shadow-lg: 0 12px 36px rgba(42, 16, 25, 0.12);
}
[data-theme="rosegold"].dark {
  color-scheme: dark; --background: #1b0a10; --foreground: #faedf2; --card: rgba(38, 14, 22, 0.92); --card-foreground: #faedf2;
  --popover: #280f18; --popover-foreground: #f1f1f1; --primary: #d25d8e; --primary-foreground: #0b0b0b;
  --secondary: rgba(190, 24, 93, 0.14); --secondary-foreground: #e5a3be; --muted-bg: rgba(148, 163, 184, 0.1); --muted-foreground: #9f9398;
  --accent: rgba(190, 24, 93, 0.15); --accent-foreground: #e297b6; --destructive: #f87171; --border: rgba(255, 255, 255, 0.11); --input: rgba(255, 255, 255, 0.15); --ring: #d25d8e;
  --chart-1: #d25d8e; --sidebar: #17090e; --sidebar-primary: #d25d8e;
  --color-atmosphere-a: rgba(190, 24, 93, 0.18); --color-atmosphere-b: rgba(212, 163, 115, 0.12); --grad-a: #d25d8e; --grad-b: #d4a373;
  --surface-glass: rgba(42, 16, 25, 0.6); --surface-glass-strong: rgba(42, 16, 25, 0.82); --surface-floating: rgba(42, 16, 25, 0.97); --surface-crystal: rgba(255, 255, 255, 0.06); --border-glass: rgba(255, 255, 255, 0.12);
}

[data-theme="forest"] {
  color-scheme: light; --radius: .7rem;
  --background: #f5f7ef; --foreground: #1a2410; --card: #ffffff; --card-foreground: #1a2410; --popover: #ffffff; --popover-foreground: #1a2410;
  --primary: #4d7c0f; --primary-foreground: #ffffff; --secondary: #e8eddd; --secondary-foreground: #32510a;
  --muted-bg: #eaece4; --muted-foreground: #7d8374; --accent: #eaefe2; --accent-foreground: #41690d;
  --destructive: #c0262e; --border: #dbded4; --input: #ced1c7; --ring: #4d7c0f;
  --chart-1: #4d7c0f; --chart-2: #ca8a04; --chart-3: #0ea5e9; --chart-4: #8b5cf6; --chart-5: #10b981;
  --sidebar: #1a2410; --sidebar-foreground: #dddedb; --sidebar-primary: #7a9d4b; --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: rgba(255, 255, 255, 0.07); --sidebar-accent-foreground: #ffffff; --sidebar-border: rgba(255, 255, 255, 0.09); --sidebar-ring: #4d7c0f;
  --color-atmosphere-a: rgba(77, 124, 15, 0.22); --color-atmosphere-b: rgba(202, 138, 4, 0.16); --grad-a: #4d7c0f; --grad-b: #ca8a04;
  --surface-glass: rgba(255, 255, 255, 0.62); --surface-glass-strong: rgba(255, 255, 255, 0.84); --surface-floating: rgba(255, 255, 255, 0.97); --surface-crystal: rgba(255, 255, 255, 0.26); --border-glass: rgba(26, 36, 16, 0.1);
  --shadow-sm: 0 1px 2px rgba(26, 36, 16, 0.06), 0 4px 12px rgba(26, 36, 16, 0.05); --shadow-md: 0 4px 14px rgba(26, 36, 16, 0.08), 0 12px 32px rgba(26, 36, 16, 0.06); --shadow-lg: 0 12px 36px rgba(26, 36, 16, 0.12);
}
[data-theme="forest"].dark {
  color-scheme: dark; --background: #11170a; --foreground: #f1f5ec; --card: rgba(23, 32, 14, 0.92); --card-foreground: #f1f5ec;
  --popover: #19220f; --popover-foreground: #f1f1f1; --primary: #82a357; --primary-foreground: #0b0b0b;
  --secondary: rgba(77, 124, 15, 0.14); --secondary-foreground: #b8cb9f; --muted-bg: rgba(148, 163, 184, 0.1); --muted-foreground: #989c93;
  --accent: rgba(77, 124, 15, 0.15); --accent-foreground: #afc493; --destructive: #f87171; --border: rgba(255, 255, 255, 0.11); --input: rgba(255, 255, 255, 0.15); --ring: #82a357;
  --chart-1: #82a357; --sidebar: #0e1409; --sidebar-primary: #82a357;
  --color-atmosphere-a: rgba(77, 124, 15, 0.18); --color-atmosphere-b: rgba(202, 138, 4, 0.12); --grad-a: #82a357; --grad-b: #ca8a04;
  --surface-glass: rgba(26, 36, 16, 0.6); --surface-glass-strong: rgba(26, 36, 16, 0.82); --surface-floating: rgba(26, 36, 16, 0.97); --surface-crystal: rgba(255, 255, 255, 0.06); --border-glass: rgba(255, 255, 255, 0.12);
}

[data-theme="slate"] {
  color-scheme: light; --radius: .55rem;
  --background: #f6f7f9; --foreground: #0f172a; --card: #ffffff; --card-foreground: #0f172a; --popover: #ffffff; --popover-foreground: #0f172a;
  --primary: #334155; --primary-foreground: #ffffff; --secondary: #e6e8ec; --secondary-foreground: #212a37;
  --muted-bg: #eaecef; --muted-foreground: #777c87; --accent: #e7e8eb; --accent-foreground: #2b3748;
  --destructive: #c0262e; --border: #dadce0; --input: #cccfd4; --ring: #334155;
  --chart-1: #334155; --chart-2: #0ea5e9; --chart-3: #0ea5e9; --chart-4: #8b5cf6; --chart-5: #10b981;
  --sidebar: #0f172a; --sidebar-foreground: #dbdcdf; --sidebar-primary: #667080; --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: rgba(255, 255, 255, 0.07); --sidebar-accent-foreground: #ffffff; --sidebar-border: rgba(255, 255, 255, 0.09); --sidebar-ring: #334155;
  --color-atmosphere-a: rgba(51, 65, 85, 0.22); --color-atmosphere-b: rgba(14, 165, 233, 0.16); --grad-a: #334155; --grad-b: #0ea5e9;
  --surface-glass: rgba(255, 255, 255, 0.62); --surface-glass-strong: rgba(255, 255, 255, 0.84); --surface-floating: rgba(255, 255, 255, 0.97); --surface-crystal: rgba(255, 255, 255, 0.26); --border-glass: rgba(15, 23, 42, 0.1);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.05); --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08), 0 12px 32px rgba(15, 23, 42, 0.06); --shadow-lg: 0 12px 36px rgba(15, 23, 42, 0.12);
}
[data-theme="slate"].dark {
  color-scheme: dark; --background: #0a0f1b; --foreground: #eff0f1; --card: rgba(14, 21, 38, 0.92); --card-foreground: #eff0f1;
  --popover: #0e1628; --popover-foreground: #f1f1f1; --primary: #707a88; --primary-foreground: #0b0b0b;
  --secondary: rgba(51, 65, 85, 0.14); --secondary-foreground: #adb3bb; --muted-bg: rgba(148, 163, 184, 0.1); --muted-foreground: #93979f;
  --accent: rgba(51, 65, 85, 0.15); --accent-foreground: #a3aab2; --destructive: #f87171; --border: rgba(255, 255, 255, 0.11); --input: rgba(255, 255, 255, 0.15); --ring: #707a88;
  --chart-1: #707a88; --sidebar: #080d17; --sidebar-primary: #707a88;
  --color-atmosphere-a: rgba(51, 65, 85, 0.18); --color-atmosphere-b: rgba(14, 165, 233, 0.12); --grad-a: #707a88; --grad-b: #0ea5e9;
  --surface-glass: rgba(15, 23, 42, 0.6); --surface-glass-strong: rgba(15, 23, 42, 0.82); --surface-floating: rgba(15, 23, 42, 0.97); --surface-crystal: rgba(255, 255, 255, 0.06); --border-glass: rgba(255, 255, 255, 0.12);
}

[data-theme="coral"] {
  color-scheme: light; --radius: 1.1rem;
  --background: #fff7f2; --foreground: #2b1208; --card: #ffffff; --card-foreground: #2b1208; --popover: #ffffff; --popover-foreground: #2b1208;
  --primary: #ea580c; --primary-foreground: #ffffff; --secondary: #fdeae0; --secondary-foreground: #983908;
  --muted-bg: #f4ece6; --muted-foreground: #8a7971; --accent: #fcebe2; --accent-foreground: #c74b0a;
  --destructive: #c0262e; --border: #e6dcd6; --input: #d9cec8; --ring: #ea580c;
  --chart-1: #ea580c; --chart-2: #e11d48; --chart-3: #0ea5e9; --chart-4: #8b5cf6; --chart-5: #10b981;
  --sidebar: #2b1208; --sidebar-foreground: #dfdbda; --sidebar-primary: #ef8249; --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: rgba(255, 255, 255, 0.07); --sidebar-accent-foreground: #ffffff; --sidebar-border: rgba(255, 255, 255, 0.09); --sidebar-ring: #ea580c;
  --color-atmosphere-a: rgba(234, 88, 12, 0.22); --color-atmosphere-b: rgba(225, 29, 72, 0.16); --grad-a: #ea580c; --grad-b: #e11d48;
  --surface-glass: rgba(255, 255, 255, 0.62); --surface-glass-strong: rgba(255, 255, 255, 0.84); --surface-floating: rgba(255, 255, 255, 0.97); --surface-crystal: rgba(255, 255, 255, 0.26); --border-glass: rgba(43, 18, 8, 0.1);
  --shadow-sm: 0 1px 2px rgba(43, 18, 8, 0.06), 0 4px 12px rgba(43, 18, 8, 0.05); --shadow-md: 0 4px 14px rgba(43, 18, 8, 0.08), 0 12px 32px rgba(43, 18, 8, 0.06); --shadow-lg: 0 12px 36px rgba(43, 18, 8, 0.12);
}
[data-theme="coral"].dark {
  color-scheme: dark; --background: #1c0c05; --foreground: #fdf2ec; --card: rgba(39, 16, 7, 0.92); --card-foreground: #fdf2ec;
  --popover: #291108; --popover-foreground: #f1f1f1; --primary: #f08a55; --primary-foreground: #0b0b0b;
  --secondary: rgba(234, 88, 12, 0.14); --secondary-foreground: #f7bc9e; --muted-bg: rgba(148, 163, 184, 0.1); --muted-foreground: #a09490;
  --accent: rgba(234, 88, 12, 0.15); --accent-foreground: #f6b492; --destructive: #f87171; --border: rgba(255, 255, 255, 0.11); --input: rgba(255, 255, 255, 0.15); --ring: #f08a55;
  --chart-1: #f08a55; --sidebar: #180a04; --sidebar-primary: #f08a55;
  --color-atmosphere-a: rgba(234, 88, 12, 0.18); --color-atmosphere-b: rgba(225, 29, 72, 0.12); --grad-a: #f08a55; --grad-b: #e11d48;
  --surface-glass: rgba(43, 18, 8, 0.6); --surface-glass-strong: rgba(43, 18, 8, 0.82); --surface-floating: rgba(43, 18, 8, 0.97); --surface-crystal: rgba(255, 255, 255, 0.06); --border-glass: rgba(255, 255, 255, 0.12);
}

[data-theme="cyber"], [data-theme="cyber"].dark {
  color-scheme: dark; --radius: .6rem;
  --background: #05080f; --foreground: #d9f3ff; --card: rgba(10, 16, 28, 0.92); --card-foreground: #d9f3ff; --popover: #0a111d; --popover-foreground: #d9f3ff;
  --primary: #22d3ee; --primary-foreground: #021016; --secondary: rgba(34, 211, 238, 0.12); --secondary-foreground: #22d3ee; --muted-bg: rgba(148, 163, 184, 0.09); --muted-foreground: #7f93ad;
  --accent: rgba(34, 211, 238, 0.14); --accent-foreground: #22d3ee; --destructive: #fb7185; --border: rgba(34, 211, 238, 0.18); --input: rgba(34, 211, 238, 0.25); --ring: #22d3ee;
  --chart-1: #22d3ee; --chart-2: #a3e635; --chart-3: #f472b6; --chart-4: #fbbf24; --chart-5: #818cf8;
  --sidebar: #02040a; --sidebar-foreground: #bfe9f5; --sidebar-primary: #22d3ee; --sidebar-primary-foreground: #021016; --sidebar-accent: rgba(34, 211, 238, 0.08); --sidebar-accent-foreground: #e6fbff; --sidebar-border: rgba(34, 211, 238, 0.15); --sidebar-ring: #22d3ee;
  --color-atmosphere-a: rgba(34, 211, 238, 0.22); --color-atmosphere-b: rgba(163, 230, 53, 0.14); --grad-a: #22d3ee; --grad-b: #a3e635;
  --surface-glass: rgba(8, 14, 26, 0.6); --surface-glass-strong: rgba(8, 14, 26, 0.82); --surface-floating: rgba(8, 14, 26, 0.97); --surface-crystal: rgba(255, 255, 255, 0.05); --border-glass: rgba(34, 211, 238, 0.2);
  --shadow-sm: 0 0 0 1px rgba(34, 211, 238, 0.08); --shadow-md: 0 0 24px rgba(34, 211, 238, 0.1); --shadow-lg: 0 0 40px rgba(34, 211, 238, 0.16);
}
html[data-theme="cyber"] body { background-image: radial-gradient(50rem 30rem at 100% -10%, rgba(34, 211, 238, 0.12), transparent 60%), radial-gradient(40rem 30rem at -10% 110%, rgba(163, 230, 53, 0.08), transparent 60%); background-attachment: fixed; }
[data-theme="cyber"] .btn.primary, [data-theme="cyber"] .btn.pay { box-shadow: 0 0 18px rgba(34, 211, 238, 0.35); }
