html:root {
  color-scheme: light;
  --canvas: #f6f7f9;
  --surface: #ffffff;
  --soft: #eef1f4;
  --border: #e2e6ea;
  --border-strong: #cfd5db;
  --border-control: #77838c;
  --ink: #0d1317;
  --ink-2: #38434b;
  --ink-3: #5b6871;
  --on-ink: #ffffff;
  --petrol: #0f5c73;
  --petrol-hover: #0b4a5d;
  --petrol-text: #0d566c;
  --petrol-bg: #e6f1f4;
  --petrol-line: #bfdbe3;
  --ok: #17693f;
  --ok-bg: #e6f4ec;
  --warn: #8a4b08;
  --warn-bg: #fdf2df;
  --bad: #b3261e;
  --bad-bg: #fcebe9;
  --info: #3451b2;
  --info-bg: #ebeefb;
  --viz-1: #0d1317;
  --viz-2: #2f7dd4;
  --viz-3: #c2491d;
  --viz-4: #7a4dd8;
  --viz-5: #12806d;
  --viz-6: #5a616a;

  --primary: var(--petrol);
  --primary-foreground: var(--on-ink);
  --accent: var(--soft);
  --accent-foreground: var(--ink);
  --accent-hover: var(--petrol-hover);
  --accent-pressed: var(--petrol-hover);
  --accent-subtle: var(--petrol-bg);
  --accent-text: var(--petrol-text);
  --accent-border: var(--petrol-line);
  --ring: var(--petrol);
  --background: var(--canvas);
  --foreground: var(--ink);
  --card: var(--surface);
  --card-foreground: var(--ink);
  --popover: var(--surface);
  --popover-foreground: var(--ink);
  --secondary: var(--soft);
  --secondary-foreground: var(--ink);
  --muted: var(--soft);
  --muted-foreground: var(--ink-3);
  --destructive: var(--bad);
  --input: var(--border-control);
  --chart-1: var(--viz-1);
  --sidebar: var(--surface);
  --sidebar-foreground: var(--ink);
  --sidebar-primary: var(--petrol);
  --sidebar-primary-foreground: var(--on-ink);
  --sidebar-accent: var(--soft);
  --sidebar-accent-foreground: var(--ink);
  --sidebar-ring: var(--petrol);
  --sidebar-border: var(--border);
  --skeleton-highlight: rgba(255, 255, 255, 0.9);
  --overlay: rgba(13, 19, 23, 0.6);
  --bg: var(--canvas);
  --panel: var(--surface);
  --preview: var(--surface);
  --muted-bg: var(--soft);
  --hover-bg: var(--soft);
  --text: var(--ink);
  --text-muted: var(--ink-3);
  --text-subtle: var(--ink-3);
  --border-soft: var(--border);
  --card-stroke: var(--border);
  --panel-stroke: var(--border);
  --tier-stroke: var(--border);
  --primary-fg: var(--on-ink);
  --accent-soft: var(--soft);
  --shadow-pop: var(--shadow-2);
  --radius-panel: var(--radius-lg);
  --radius-card: var(--radius-lg);
  --radius-preview: var(--radius-md);
  --radius-pill: var(--radius-full);
  --ease-out: var(--ease-standard);
  --duration: var(--duration-hover);
  --shadow-card: none;
  --panel-shadow: none;

  --font-space: var(--font-geist-sans, "Geist");
  --font-sans: var(--font-geist-sans, "Geist"), system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: var(--font-geist-sans, "Geist"), system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: var(--font-display);
  --font-mono: var(--font-geist-mono, "Geist Mono"), ui-monospace, SFMono-Regular, Menlo, monospace;
  --text-display: 2.25rem;
  --text-display--line-height: 2.5rem;
  --text-display--font-weight: 600;
  --text-display--letter-spacing: -0.02em;
  --text-h1: 1.25rem;
  --text-h1--line-height: 1.75rem;
  --text-h1--font-weight: 600;
  --text-h1--letter-spacing: -0.02em;
  --text-h2: 1rem;
  --text-h2--line-height: 1.5rem;
  --text-h2--font-weight: 600;
  --text-h2--letter-spacing: -0.01em;
  --text-h3: 0.8125rem;
  --text-h3--line-height: 1.25rem;
  --text-h3--font-weight: 600;
  --text-body: 0.8125rem;
  --text-body--line-height: 1.2rem;
  --text-small: 0.75rem;
  --text-small--line-height: 1.1rem;
  --text-eyebrow: 0.65625rem;
  --text-eyebrow--line-height: 1rem;
  --text-eyebrow--font-weight: 600;
  --text-eyebrow--letter-spacing: 0.08em;
  --text-mono: 0.6875rem;
  --text-mono--line-height: 1rem;
  --text-caption: var(--text-mono);
  --text-caption--line-height: var(--text-mono--line-height);
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.08em;
  --tracking-wordmark: 0.19em;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --radius-sm: 3px;
  --radius-md: 5px;
  --radius-lg: 8px;
  --radius-xl: 10px;
  --radius-full: 999px;
  --shadow-1: 0 1px 0 rgba(13, 19, 23, 0.04);
  --shadow-2: 0 12px 32px rgba(13, 19, 23, 0.16), 0 1px 4px rgba(13, 19, 23, 0.08);
  --nav-width: 228px;
  --header-height: 44px;
  --context-width: 380px;
  --row-height: 30px;
  --radius: 0.5rem;
  --duration-hover: 120ms;
  --duration-panel: 200ms;
  --duration-page: 320ms;
  --ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html[data-theme="dark"],
html.dark {
  color-scheme: dark;
  --canvas: #0b0f12;
  --surface: #12171b;
  --soft: #1a2127;
  --border: #232c33;
  --border-strong: #2f3a42;
  --border-control: #6b7882;
  --ink: #e6ebee;
  --ink-2: #aab5bd;
  --ink-3: #8996a1;
  --on-ink: #06222b;
  --petrol: #5fb7cf;
  --petrol-hover: #7ccae0;
  --petrol-text: #8ccfe3;
  --petrol-bg: #11262d;
  --petrol-line: #1f4a58;
  --ok: #6ee7a0;
  --ok-bg: #10281b;
  --warn: #f6c77a;
  --warn-bg: #3a2a0f;
  --bad: #ff8a95;
  --bad-bg: #34131a;
  --info: #9aaef0;
  --info-bg: #151d3a;
  --viz-1: #e6ebee;
  --viz-2: #5ea8ff;
  --viz-3: #ff8a5c;
  --viz-4: #b08cff;
  --viz-5: #3dbba3;
  --viz-6: #8996a1;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-2: 0 8px 24px rgba(0, 0, 0, 0.6);
  --skeleton-highlight: rgba(230, 235, 238, 0.08);
  --overlay: rgba(0, 0, 0, 0.72);
}
