/* KBLLR Core-X Design System — generated from tokens.json */
:root, [data-theme="kbllr"] {
  --bg: #d1d1d0;
  --bg-surface: rgba(209, 209, 208, 0.75);
  --bg-elevated: rgba(195, 195, 193, 0.70);
  --bg-input: rgba(255, 255, 255, 0.35);
  --fg1: #2d2824;
  --fg2: #6b6560;
  --fg3: #9a9a9a;
  --fg-dim: #b5b5b3;
  --text: var(--fg1);
  --text-muted: var(--fg2);
  --text-light: var(--fg3);
  --text-dim: var(--fg-dim);
  --border: #9a9a9a;
  --border-light: #b5b5b3;
  --accent: #ff7a3d;
  --accent-hover: #e06020;
  --accent-fg: #0c1413;
  --accent-glow: rgba(255, 122, 61, 0.30);
  --status-green: #3d7a45;
  --status-yellow: #8a7420;
  --status-red: #8a3030;
  --status-amber: #b58106;
  --status-blue: #3d6e96;
  --signal-dot-base: rgba(109, 109, 112, 0.55);
  --signal-dot-active: rgba(143, 182, 255, 0.95);
  --signal-dot-glow: rgba(143, 182, 255, 0.45);
  --mat-2-fill: rgba(209, 209, 208, 0.42);
  --mat-3-fill: rgba(209, 209, 208, 0.62);
  --mat-4-fill: rgba(209, 209, 208, 0.82);
  --mat-5-fill: rgba(213, 213, 212, 0.94);
  --mat-6-fill: rgba(216, 216, 215, 0.98);
  --scrim: rgba(24, 24, 22, 0.42);
  --scanline-ink: rgba(0, 0, 0, 0.03);
  --corex-corex: #5cf08c;
  --corex-kbllr: #ebe2cc;
  --corex-spacebot: #5ce0f0;
  --corex-warehouse: #f5c93d;
  --corex-anthology: #b88a5a;
  --corex-leagentdiary: #b8d4c4;
  --corex-belle: #e89e7a;
  --corex-vega: #9eb8ff;
  --corex-avatar: #b6f25e;
  --corex-rigging: #4ec3d4;
  --corex-visual: #ffd28a;
  --corex-campus: #a8e6c9;
  --corex-anja: #f0c8d4;
  --corex-platform: #8eaf90;
  --corex-world: #7a8eff;
  --corex-moonsyc: #c9a8ff;
  --corex-emerg: #84ff3d;
  --corex-memory: #cc8a3d;
  --corex-label: #f5b89a;
  --corex-htdi: #ddd0b8;
  --corex-igi: #d8dee8;
  --corex-vectra: #ff5e6c;
  --corex-ember: #ff7a3d;
  --corex-tier-institution: #5cf08c;
  --corex-tier-house: #ffb547;
  --corex-mode-focus: #6b7f96;
  --corex-mode-observe: #5f92a0;
  --corex-mode-operate: #b8912f;
  --corex-mode-create: #b4744e;
  --corex-mode-collaborate: #8578a3;
  --corex-mode-debug: #b85a5a;
  --corex-cat-informative: #6b8296;
  --corex-cat-execution: #a8862f;
  --corex-cat-collaborative: #8578a3;
  --corex-cat-media: #a8894f;
  --corex-presence-head: #8578a3;
  --corex-presence-operator: #b8912f;
  --corex-up: var(--status-green);
  --corex-warn: var(--status-amber);
  --corex-down: var(--status-red);
  --glass-regular: rgba(236, 236, 234, 0.6);
  --glass-clear: rgba(236, 236, 234, 0.16);
  --glass-rim: rgba(255, 255, 255, 0.62);
  --glass-shade: rgba(16, 18, 16, 0.1);
  --shadow-0: none;
  --shadow-1: 0 1px 2px rgba(16, 18, 16, 0.06);
  --shadow-2: 0 4px 8px rgba(16, 18, 16, 0.08);
  --shadow-3: 0 12px 24px rgba(16, 18, 16, 0.12);
  --shadow-4: 0 22px 36px rgba(16, 18, 16, 0.14);
  --shadow-5: 0 34px 60px rgba(16, 18, 16, 0.18);
}
[data-theme="vectra"] {
  --bg: #0c0e0d;
  --bg-surface: rgba(12, 14, 13, 0.75);
  --bg-elevated: rgba(28, 36, 32, 0.80);
  --bg-input: rgba(0, 0, 0, 0.40);
  --fg1: #e6efe8;
  --fg2: #92a89a;
  --fg3: #5a6862;
  --fg-dim: #3a4440;
  --text: var(--fg1);
  --text-muted: var(--fg2);
  --text-light: var(--fg3);
  --text-dim: var(--fg-dim);
  --border: rgba(140, 200, 160, 0.28);
  --border-light: rgba(140, 200, 160, 0.14);
  --accent: #5cf08c;
  --accent-hover: #46b86b;
  --accent-fg: #0a0c0b;
  --accent-glow: rgba(92, 240, 140, 0.40);
  --status-green: #6cc07a;
  --status-yellow: #d8c86a;
  --status-red: #d68a7a;
  --status-amber: #d8b86a;
  --status-blue: #8fb6ff;
  --mat-2-fill: rgba(16, 20, 18, 0.55);
  --mat-3-fill: rgba(14, 18, 16, 0.72);
  --mat-4-fill: rgba(12, 16, 14, 0.86);
  --mat-5-fill: rgba(10, 13, 12, 0.94);
  --mat-6-fill: rgba(8, 11, 10, 0.98);
  --scrim: rgba(4, 6, 5, 0.66);
  --scanline-ink: rgba(140, 200, 160, 0.025);
  --corex-up: var(--status-green);
  --corex-warn: var(--status-amber);
  --corex-down: var(--status-red);
  --glass-regular: rgba(28, 36, 32, 0.74);
  --glass-clear: rgba(28, 36, 32, 0.18);
  --glass-rim: rgba(140, 200, 160, 0.26);
  --glass-shade: rgba(0, 0, 0, 0.38);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 4px 10px rgba(0, 0, 0, 0.42);
  --shadow-3: 0 12px 28px rgba(0, 0, 0, 0.5);
  --shadow-4: 0 22px 44px rgba(0, 0, 0, 0.56);
  --shadow-5: 0 34px 70px rgba(0, 0, 0, 0.64);
}
[data-theme="ember"] {
  --bg: #18090a;
  --bg-surface: rgba(24, 9, 10, 0.75);
  --bg-elevated: rgba(56, 22, 25, 0.80);
  --bg-input: rgba(0, 0, 0, 0.50);
  --fg1: #ffdcdb;
  --fg2: #c28e90;
  --fg3: #8c5658;
  --fg-dim: #543031;
  --text: var(--fg1);
  --text-muted: var(--fg2);
  --text-light: var(--fg3);
  --text-dim: var(--fg-dim);
  --border: rgba(255, 94, 108, 0.35);
  --border-light: rgba(255, 94, 108, 0.15);
  --accent: #ff5e6c;
  --accent-hover: #d13d4b;
  --accent-fg: #18090a;
  --accent-glow: rgba(255, 94, 108, 0.45);
  --status-green: #6cc07a;
  --status-yellow: #d8c86a;
  --status-red: #ff8a8a;
  --status-amber: #e8a86a;
  --status-blue: #a8b6ff;
  --mat-2-fill: rgba(34, 12, 14, 0.58);
  --mat-3-fill: rgba(30, 11, 13, 0.74);
  --mat-4-fill: rgba(26, 10, 11, 0.88);
  --mat-5-fill: rgba(22, 8, 9, 0.95);
  --mat-6-fill: rgba(18, 7, 8, 0.98);
  --scrim: rgba(10, 3, 4, 0.7);
  --scanline-ink: rgba(255, 94, 108, 0.03);
  --corex-up: var(--status-green);
  --corex-warn: var(--status-amber);
  --corex-down: var(--status-red);
  --glass-regular: rgba(56, 22, 25, 0.74);
  --glass-clear: rgba(56, 22, 25, 0.18);
  --glass-rim: rgba(255, 94, 108, 0.26);
  --glass-shade: rgba(0, 0, 0, 0.42);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 4px 10px rgba(0, 0, 0, 0.48);
  --shadow-3: 0 12px 28px rgba(0, 0, 0, 0.55);
  --shadow-4: 0 22px 44px rgba(0, 0, 0, 0.62);
  --shadow-5: 0 34px 70px rgba(0, 0, 0, 0.7);
}
[data-theme="macos"] {
  --bg: #111110;
  --bg-surface: #1a1a18;
  --bg-elevated: rgba(230, 228, 223, 0.08);
  --bg-input: #1a1a18;
  --fg1: #e6e4df;
  --fg2: rgba(230, 228, 223, 0.55);
  --fg3: rgba(230, 228, 223, 0.4);
  --fg-dim: rgba(230, 228, 223, 0.22);
  --text: var(--fg1);
  --text-muted: var(--fg2);
  --text-light: var(--fg3);
  --text-dim: var(--fg-dim);
  --border: rgba(230, 228, 223, 0.55);
  --border-light: rgba(230, 228, 223, 0.22);
  --status-green: #6cc07a;
  --status-yellow: #d8c86a;
  --status-red: #d68a7a;
  --status-amber: #d8b86a;
  --status-blue: #8fb6ff;
  --mat-2-fill: rgba(20, 22, 22, 0.55);
  --mat-3-fill: rgba(20, 22, 22, 0.72);
  --mat-4-fill: rgba(18, 20, 20, 0.86);
  --mat-5-fill: rgba(16, 18, 18, 0.94);
  --mat-6-fill: rgba(14, 16, 16, 0.98);
  --scrim: rgba(6, 8, 8, 0.62);
  --corex-up: var(--status-green);
  --corex-warn: var(--status-amber);
  --corex-down: var(--status-red);
  --glass-regular: rgba(26, 26, 24, 0.72);
  --glass-clear: rgba(26, 26, 24, 0.2);
  --glass-rim: rgba(255, 255, 255, 0.22);
  --glass-shade: rgba(0, 0, 0, 0.38);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-2: 0 4px 10px rgba(0, 0, 0, 0.38);
  --shadow-3: 0 12px 28px rgba(0, 0, 0, 0.45);
  --shadow-4: 0 22px 44px rgba(0, 0, 0, 0.5);
  --shadow-5: 0 34px 70px rgba(0, 0, 0, 0.58);
}
:root {
  --space-1: 2px;
  --space-2: 4px;
  --space-3: 6px;
  --space-4: 8px;
  --space-5: 10px;
  --space-6: 12px;
  --space-7: 16px;
  --space-8: 20px;
  --space-9: 24px;
  --space-10: 32px;
  --flow-tight: 6px;
  --flow: 12px;
  --flow-loose: 20px;
  --flow-section: 32px;
  --radius: 0px;
  --radius-glass: 16px;
  --radius-capsule: 999px;
  --text-xs: 10px;
  --text-sm: 11px;
  --text-base: 13px;
  --text-md: 14px;
  --text-lg: 16px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 32px;
  --track-tight: 0;
  --track-mono: 0.05em;
  --track-label: 0.08em;
  --track-heading: 0.1em;
  --track-brand: 0.14em;
  --blur-none: 0px;
  --blur-sm: 8px;
  --blur-md: 12px;
  --blur-lg: 16px;
  --blur-xl: 24px;
  --z-base: 0;
  --z-raised: 10;
  --z-sticky: 40;
  --z-rail: 90;
  --z-chrome: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-toast: 400;
  --z-tooltip: 500;
  --leading-none: 1;
  --leading-tight: 1.2;
  --leading-snug: 1.4;
  --leading-body: 1.6;
  --leading-loose: 1.75;
  --measure-tight: 46ch;
  --measure: 66ch;
  --measure-wide: 84ch;
  --glass-blur: 18px;
  --glass-blur-clear: 6px;
  --glass-saturate: 1.6;
  --glass-spacing: 12px;
  --font-heading: "Chakra Petch", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "Fira Code", "SF Mono", monospace;
}
.h1 { font-family: var(--font-heading); font-size: 32px; line-height: 1.1; font-weight: 600; letter-spacing: 0.08em; }
.h2 { font-family: var(--font-heading); font-size: 24px; line-height: 1.15; font-weight: 600; letter-spacing: 0.08em; }
.h3 { font-family: var(--font-heading); font-size: 20px; line-height: 1.2; font-weight: 500; letter-spacing: 0.1em; }
.h4 { font-family: var(--font-heading); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; }
.brand { font-family: var(--font-heading); font-size: 14px; font-weight: 700; letter-spacing: 0.14em; }
.body { font-family: var(--font-body); font-size: 14px; line-height: 1.6; }
.body-sm { font-family: var(--font-body); font-size: 13px; line-height: 1.5; }
.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; }
.mono-xs { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.05em; }
.meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.05em; }
@font-face { font-family: "Roboto"; src: url("fonts/Roboto-Thin.woff2") format("woff2"); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("fonts/Roboto-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("fonts/Roboto-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("fonts/Roboto-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "flowa"; src: url("fonts/flowa.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "pirulen"; src: url("fonts/pirulen.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
