/* Generated from design-system/tokens.json by design-system/build_tokens.py. Edit the JSON, then rerun. */
/* Dark is the default theme; set data-theme="light" on <html> for light. */

:root {
  --font-sans: "Inter Variable", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-features: "cv01", "ss03";
  --weight-light: 300;
  --weight-normal: 400;
  --weight-medium: 510;
  --weight-semibold: 590;
  --weight-bold: 680;
  --display-xl-size: 4rem;
  --display-xl-line: 1.06;
  --display-xl-tracking: -0.022em;
  --display-xl-weight: 510;
  --display-size: 3.5rem;
  --display-line: 1.1;
  --display-tracking: -0.022em;
  --display-weight: 510;
  --title-1-size: 2.5rem;
  --title-1-line: 1.1;
  --title-1-tracking: -0.022em;
  --title-1-weight: 590;
  --title-2-size: 2rem;
  --title-2-line: 1.125;
  --title-2-tracking: -0.022em;
  --title-2-weight: 590;
  --title-3-size: 1.5rem;
  --title-3-line: 1.33;
  --title-3-tracking: -0.012em;
  --title-3-weight: 590;
  --title-4-size: 1.25rem;
  --title-4-line: 1.33;
  --title-4-tracking: -0.012em;
  --title-4-weight: 590;
  --title-5-size: 1.0625rem;
  --title-5-line: 1.4;
  --title-5-tracking: -0.012em;
  --title-5-weight: 590;
  --text-large-size: 1.0625rem;
  --text-large-line: 1.6;
  --text-large-tracking: 0;
  --text-large-weight: 400;
  --text-size: 0.9375rem;
  --text-line: 1.6;
  --text-tracking: -0.011em;
  --text-weight: 400;
  --text-small-size: 0.875rem;
  --text-small-line: 1.5;
  --text-small-tracking: -0.013em;
  --text-small-weight: 400;
  --text-mini-size: 0.8125rem;
  --text-mini-line: 1.5;
  --text-mini-tracking: -0.01em;
  --text-mini-weight: 400;
  --text-micro-size: 0.75rem;
  --text-micro-line: 1.4;
  --text-micro-tracking: 0;
  --text-micro-weight: 400;
  --text-tiny-size: 0.625rem;
  --text-tiny-line: 1.5;
  --text-tiny-tracking: -0.015em;
  --text-tiny-weight: 400;
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-3xl: 32px;
  --radius-full: 9999px;
  --border-hairline: 0.5px;
  --border-thin: 1px;
  --duration-instant: 0s;
  --duration-quick: 100ms;
  --duration-fade-out: 150ms;
  --duration-regular: 250ms;
  --ease-out-quad: cubic-bezier(.25, .46, .45, .94);
  --ease-out-cubic: cubic-bezier(.215, .61, .355, 1);
  --ease-out-quart: cubic-bezier(.165, .84, .44, 1);
  --ease-out-expo: cubic-bezier(.19, 1, .22, 1);
  --ease-in-out-cubic: cubic-bezier(.645, .045, .355, 1);
  --focus-width: 2px;
  --focus-offset: 2px;
  --header-height: 64px;
  --header-blur: 20px;
  --page-padding-inline: 24px;
  --page-max-width: 1024px;
  --wide-max-width: 1344px;
  --prose-max-width: 624px;
  --min-tap-size: 44px;
  --control-height-sm: 24px;
  --control-height-md: 32px;
  --control-height-lg: 40px;
  --z-header: 100;
  --z-overlay: 500;
  --z-popover: 600;
  --z-command-menu: 650;
  --z-dialog-overlay: 699;
  --z-dialog: 700;
  --z-toast: 800;
  --z-tooltip: 1100;
}

:root,
[data-theme="dark"] {
  color-scheme: dark;
  --color-bg: #08090a;
  --color-bg-panel: #0f1011;
  --color-surface: #141516;
  --color-surface-raised: #191a1b;
  --color-surface-hover: #1c1c1f;
  --color-surface-active: #232326;
  --color-translucent: #ffffff0d;
  --color-border: #23252a;
  --color-border-strong: #34343a;
  --color-border-subtle: #ffffff0d;
  --color-line: #202122;
  --color-text: #f7f8f8;
  --color-text-secondary: #d0d6e0;
  --color-text-muted: #8a8f98;
  --color-text-faint: #62666d;
  --color-accent: #4d8dff;
  --color-accent-hover: #6fa3ff;
  --color-accent-strong: #2563eb;
  --color-accent-tint: #0d1a33;
  --color-on-accent: #ffffff;
  --color-link: #6fa3ff;
  --color-button-primary-bg: #e5e5e6;
  --color-button-primary-bg-hover: #ffffff;
  --color-button-primary-text: #08090a;
  --color-focus-ring: #3b7bff;
  --color-overlay: #000000d9;
  --color-header-bg: #0b0b0bcc;
  --color-danger: #eb5757;
  --color-success: #27a644;
  --color-warning: #f0bf00;
  --color-info: #6eaeff;
  --color-orange: #fc7840;
  --color-teal: #00b8cc;
  --shadow-low: 0px 2px 4px #0000001a;
  --shadow-medium: 0px 4px 24px #00000033;
  --shadow-high: 0px 7px 32px #00000059;
  --shadow-stack: 0px 8px 2px 0px #00000000, 0px 5px 2px 0px #00000003, 0px 3px 2px 0px #0000000a, 0px 1px 1px 0px #00000012, 0px 0px 1px 0px #00000014;
  --shadow-inset-hairline: 0 0 0 1px #ffffff0d inset;
}

[data-theme="light"] {
  color-scheme: light;
  --color-bg: #ffffff;
  --color-bg-panel: #f8f8f8;
  --color-surface: #f4f4f4;
  --color-surface-raised: #f0f0f0;
  --color-surface-hover: #f4f2f4;
  --color-surface-active: #eeedef;
  --color-translucent: #00000005;
  --color-border: #e9e8ea;
  --color-border-strong: #dcdbdd;
  --color-border-subtle: #0000000d;
  --color-line: #eaeaeb;
  --color-text: #282a30;
  --color-text-secondary: #3c4149;
  --color-text-muted: #65646d;
  --color-text-faint: #86848d;
  --color-accent: #2563eb;
  --color-accent-hover: #1d4fd8;
  --color-accent-strong: #2563eb;
  --color-accent-tint: #eef4ff;
  --color-on-accent: #ffffff;
  --color-link: #1d5fe0;
  --color-button-primary-bg: #282a30;
  --color-button-primary-bg-hover: #1f2024;
  --color-button-primary-text: #ffffff;
  --color-focus-ring: #2563eb;
  --color-overlay: #ffffffa6;
  --color-header-bg: #ffffffcc;
  --color-danger: #cc3535;
  --color-success: #1b7f33;
  --color-warning: #866800;
  --color-info: #2f6fd6;
  --color-orange: #d35a20;
  --color-teal: #00808f;
  --shadow-tiny: 0px 1px 1px 0px #00000017;
  --shadow-low: 0px 1px 4px -1px #00000017;
  --shadow-medium: 0px 3px 12px #00000017;
  --shadow-high: 0px 7px 24px #0000000f;
  --shadow-stack: 0px -1px 1px 0px #0000001c inset, 0px 8px 2px 0px #00000000, 0px 5px 2px 0px #00000003, 0px 3px 2px 0px #0000000a, 0px 1px 1px 0px #00000012, 0px 0px 1px 0px #00000014;
  --shadow-inset-hairline: 0 0 0 1px #0000000d inset;
}

/* Base */
html { background: var(--color-bg); color: var(--color-text); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-feature-settings: var(--font-features);
  font-size: var(--text-size);
  line-height: var(--text-line);
  letter-spacing: var(--text-tracking);
  -webkit-font-smoothing: antialiased;
}
code, kbd, pre { font-family: var(--font-mono); }
::selection { background: color-mix(in srgb, var(--color-accent-strong) 70%, transparent); color: var(--color-on-accent); }
:focus-visible { outline: var(--focus-width) solid var(--color-focus-ring); outline-offset: var(--focus-offset); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
