/* Stack UI - generated from tokens.json */
:root, [data-theme="light"] {
  color-scheme: light;
  --gray-0: #ffffff;
  --gray-50: #f8f8f8;
  --gray-100: #f3f3f3;
  --gray-150: #ececec;
  --gray-200: #e2e2e2;
  --gray-300: #cfcfcf;
  --gray-400: #a3a3a3;
  --gray-500: #8a8a8a;
  --gray-600: #5c5c5c;
  --gray-700: #2f2f2f;
  --gray-800: #242424;
  --gray-850: #1c1c1c;
  --gray-900: #151515;
  --gray-950: #0b0b0b;
  --blue-100: #e4edfe;
  --blue-300: #6c9bff;
  --blue-500: #1f5fe0;
  --blue-700: #1a4fc0;
  --green-100: #dcf3e5;
  --green-300: #4cc38a;
  --green-700: #05713a;
  --amber-100: #fff1cc;
  --amber-300: #f5b83d;
  --amber-700: #7c4a00;
  --red-100: #fde4e1;
  --red-300: #ff7b72;
  --red-700: #b3130b;
  --background: var(--gray-0);
  --foreground: var(--gray-950);
  --card: var(--gray-0);
  --card-foreground: var(--gray-950);
  --muted: var(--gray-100);
  --muted-foreground: var(--gray-600);
  --border: var(--gray-200);
  --input: var(--gray-200);
  --primary: var(--gray-950);
  --primary-foreground: var(--gray-0);
  --accent: var(--gray-150);
  --accent-foreground: var(--gray-950);
  --success: var(--green-700);
  --success-surface: var(--green-100);
  --warning: var(--amber-700);
  --warning-surface: var(--amber-100);
  --destructive: var(--red-700);
  --destructive-surface: var(--red-100);
  --info: var(--blue-700);
  --info-surface: var(--blue-100);
  --focus: var(--blue-500);
  --overlay: rgba(11, 11, 11, 0.5);
  --button-primary-bg: var(--primary);
  --button-primary-bg-hover: var(--gray-700);
  --button-primary-text: var(--primary-foreground);
  --button-secondary-bg: var(--gray-150);
  --button-secondary-bg-hover: var(--gray-200);
  --button-danger-bg: var(--destructive-surface);
  --button-danger-bg-hover: #fbd2cd;
  --button-danger-text: var(--destructive);
  --switch-bg-off: var(--gray-500);
  --field-bg: var(--gray-150);
  --field-bg-hover: var(--gray-200);
  --field-bg-focus: var(--gray-0);
  --shadow-sm: 0 1px 2px rgba(11, 11, 11, 0.06), 0 1px 1px rgba(11, 11, 11, 0.04);
  --shadow-pressed: 0 1px 3px rgba(11, 11, 11, 0.16);
  --shadow-modal: 0 24px 48px -12px rgba(11, 11, 11, 0.28);
}
[data-theme="dark"] {
  color-scheme: dark;
  --background: var(--gray-950);
  --foreground: var(--gray-150);
  --card: var(--gray-900);
  --card-foreground: var(--gray-150);
  --muted: var(--gray-850);
  --muted-foreground: var(--gray-400);
  --border: #ffffff1f;
  --input: #ffffff26;
  --primary: var(--gray-100);
  --primary-foreground: var(--gray-950);
  --accent: var(--gray-700);
  --accent-foreground: var(--gray-150);
  --success: var(--green-300);
  --success-surface: #4cc38a29;
  --warning: var(--amber-300);
  --warning-surface: #f5b83d29;
  --destructive: var(--red-300);
  --destructive-surface: #ff7b7229;
  --info: var(--blue-300);
  --info-surface: #6c9bff29;
  --focus: var(--blue-300);
  --overlay: rgba(0, 0, 0, 0.72);
  --button-primary-bg: var(--primary);
  --button-primary-bg-hover: var(--gray-0);
  --button-primary-text: var(--primary-foreground);
  --button-secondary-bg: var(--gray-800);
  --button-secondary-bg-hover: var(--gray-700);
  --button-danger-bg: var(--destructive-surface);
  --button-danger-bg-hover: #ff7b7240;
  --button-danger-text: var(--destructive);
  --switch-bg-off: var(--gray-500);
  --field-bg: var(--gray-800);
  --field-bg-hover: var(--gray-700);
  --field-bg-focus: var(--gray-900);
  --shadow-sm: none;
  --shadow-pressed: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-modal: 0 24px 48px -12px rgba(0, 0, 0, 0.7);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --background: var(--gray-950);
    --foreground: var(--gray-150);
    --card: var(--gray-900);
    --card-foreground: var(--gray-150);
    --muted: var(--gray-850);
    --muted-foreground: var(--gray-400);
    --border: #ffffff1f;
    --input: #ffffff26;
    --primary: var(--gray-100);
    --primary-foreground: var(--gray-950);
    --accent: var(--gray-700);
    --accent-foreground: var(--gray-150);
    --success: var(--green-300);
    --success-surface: #4cc38a29;
    --warning: var(--amber-300);
    --warning-surface: #f5b83d29;
    --destructive: var(--red-300);
    --destructive-surface: #ff7b7229;
    --info: var(--blue-300);
    --info-surface: #6c9bff29;
    --focus: var(--blue-300);
    --overlay: rgba(0, 0, 0, 0.72);
    --button-primary-bg: var(--primary);
    --button-primary-bg-hover: var(--gray-0);
    --button-primary-text: var(--primary-foreground);
    --button-secondary-bg: var(--gray-800);
    --button-secondary-bg-hover: var(--gray-700);
    --button-danger-bg: var(--destructive-surface);
    --button-danger-bg-hover: #ff7b7240;
    --button-danger-text: var(--destructive);
    --switch-bg-off: var(--gray-500);
    --field-bg: var(--gray-800);
    --field-bg-hover: var(--gray-700);
    --field-bg-focus: var(--gray-900);
    --shadow-sm: none;
    --shadow-pressed: 0 1px 3px rgba(0, 0, 0, 0.5);
    --shadow-modal: 0 24px 48px -12px rgba(0, 0, 0, 0.7);
  }
}
:root {
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-14: 14px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --radius-sm: 6px;
  --radius-inner: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 999px;
  --sidebar-width: 280px;
  --content-max: 1120px;
  --column-max: 46rem;
  --modal-width: 880px;
  --modal-narrow: 680px;
  --control-height: 44px;
  --control-height-sm: 36px;
  --badge-height: 26px;
  --touch-target: 48px;
  --icon-tile-size: 36px;
  --progress-height: 2px;
  --switch-width: 44px;
  --switch-height: 24px;
  --opacity-disabled: 0.4;
  --opacity-inactive: 0.55;
  --opacity-retired: 0.78;
  --z-modal: 100;
  --font-sans: Figtree, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/Figtree-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
.title-page { font-family: var(--font-sans); font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.title-modal { font-family: var(--font-sans); font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
.title-section { font-family: var(--font-sans); font-size: 18px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.title-item { font-family: var(--font-sans); font-size: 16px; line-height: 1.3; font-weight: 700; }
.title-group { font-family: var(--font-sans); font-size: 15px; line-height: 1.3; font-weight: 700; }
.body { font-family: var(--font-sans); font-size: 15px; line-height: 1.5; font-weight: 400; }
.control { font-family: var(--font-sans); font-size: 15px; line-height: 1.1; font-weight: 600; }
.label { font-family: var(--font-sans); font-size: 14px; line-height: 1.4; font-weight: 600; }
.caption { font-family: var(--font-sans); font-size: 13px; line-height: 1.45; font-weight: 500; }
.caption-strong { font-family: var(--font-sans); font-size: 12px; line-height: 1.2; font-weight: 600; }
.body-sm { font-family: var(--font-sans); font-size: 14px; line-height: 1.45; font-weight: 400; }
.control-sm { font-family: var(--font-sans); font-size: 13px; line-height: 1.1; font-weight: 600; }
.row-title { font-family: var(--font-sans); font-size: 15px; line-height: 1.3; font-weight: 500; }
.micro { font-family: var(--font-sans); font-size: 11px; line-height: 1.2; font-weight: 700; letter-spacing: 0.06em; }
.overline { font-family: var(--font-sans); font-size: 12px; line-height: 1.2; font-weight: 700; letter-spacing: 0.06em; }
.wordmark { font-family: var(--font-sans); font-size: 16px; line-height: 1.25; font-weight: 700; letter-spacing: 0.08em; }
.mono { font-family: var(--font-mono); font-size: 13px; line-height: 1.55; font-weight: 400; }
