/* UI Kit — сгенерировано из tokens.json. Не редактируйте вручную: меняйте tokens.json и пересоберите. */
/* Тема по умолчанию — dark. Переключение: <html data-theme="dark"> или data-theme="light". */

:root, [data-theme="dark"] {
  color-scheme: dark;
  --surface: #110d11;
  --surface-raised: #1a141a;
  --surface-sunken: #0b080b;
  --line: #2c232c;
  --line-strong: #76687a;
  --ink: #f3ece6;
  --ink-muted: #b3a7ad;
  --ink-subtle: #94878f;
  --accent: #d9b77e;
  --accent-hover: #e6c890;
  --accent-soft: #2b2116;
  --on-accent: #1d1508;
  --gilt: #d9b77e;
  --link: #e0c28f;
  --danger: #ff8a7a;
  --danger-hover: #ffa699;
  --danger-soft: #3a1513;
  --on-danger: #1d0806;
  --success: #7fd1a0;
  --success-soft: #10291b;
  --warning: #ffb36b;
  --warning-soft: #33200c;
  --knob: #f3ece6;
  --track: #4a3f49;
  --field: #160f16;
  --field-border: #3a2f39;
  --field-border-hover: #574a56;
  --focus-halo: #d9b77e33;
  --seg-track: #221a22;
  --seg-thumb: #3a2f3a;
  --seg-thumb-ink: #f3ece6;
  --heat-0: #2a2129;
  --heat-1: #4d3b26;
  --heat-2: #7d6136;
  --heat-3: #b38c50;
  --heat-4: #e6c48a;
  --shadow-sm: inset 0 1px 0 #ffffff0d, 0 1px 2px #00000080, 0 8px 20px -8px #000000b3;
  --shadow-md: inset 0 1px 0 #ffffff12, 0 20px 48px -16px #000000e6;
  --shadow-lg: 0 32px 80px -20px #000000f2;
  --focus-ring: 0 0 0 2px #110d11, 0 0 0 4px #d9b77e;
}

[data-theme="light"] {
  color-scheme: light;
  --surface: #f2eef0;
  --surface-raised: #fbf9fa;
  --surface-sunken: #e7e1e5;
  --line: #ddd4da;
  --line-strong: #8b7d88;
  --ink: #1d141c;
  --ink-muted: #5d5059;
  --ink-subtle: #6b5e67;
  --accent: #3b1d38;
  --accent-hover: #4f284b;
  --accent-soft: #ece0e9;
  --on-accent: #f6ecd9;
  --gilt: #7a5c24;
  --link: #6b3a65;
  --danger: #a3271f;
  --danger-hover: #851d17;
  --danger-soft: #f7e3e0;
  --on-danger: #ffffff;
  --success: #1f6b43;
  --success-soft: #dff0e5;
  --warning: #8a4d00;
  --warning-soft: #f6e7d2;
  --knob: #fbf9fa;
  --track: #8b7d88;
  --field: #fdfbfc;
  --field-border: #d6ccd3;
  --field-border-hover: #8b7d88;
  --focus-halo: #3b1d382e;
  --seg-track: #e7e1e5;
  --seg-thumb: #fbf9fa;
  --seg-thumb-ink: #1d141c;
  --heat-0: #ebe5e9;
  --heat-1: #e8d8b8;
  --heat-2: #d1b277;
  --heat-3: #a7823d;
  --heat-4: #6f521e;
  --shadow-sm: inset 0 1px 0 #ffffffcc, 0 1px 2px #1d141c14, 0 6px 16px -6px #1d141c1f;
  --shadow-md: inset 0 1px 0 #ffffffcc, 0 18px 40px -14px #3b1d3840;
  --shadow-lg: 0 32px 80px -24px #3b1d3859;
  --focus-ring: 0 0 0 2px #f2eef0, 0 0 0 4px #3b1d38;
}

:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --control-sm: 36px;
  --control-md: 44px;
  --control-lg: 52px;
  --font-mono: "IBM Plex Mono", "Berkeley Mono", "JetBrains Mono", ui-monospace, Menlo, monospace;
  --font-sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Стили текста: класс = имя стиля */
.display { font-family: var(--font-mono); font-size: 54px; line-height: 60px; font-weight: 600; letter-spacing: -0.045em; }
.h1 { font-family: var(--font-mono); font-size: 40px; line-height: 46px; font-weight: 600; letter-spacing: -0.04em; }
.h2 { font-family: var(--font-mono); font-size: 30px; line-height: 38px; font-weight: 600; letter-spacing: -0.035em; }
.h3 { font-family: var(--font-mono); font-size: 22px; line-height: 30px; font-weight: 600; letter-spacing: -0.025em; }
.h4 { font-family: var(--font-mono); font-size: 17px; line-height: 24px; font-weight: 600; letter-spacing: -0.015em; }
.lead { font-family: var(--font-sans); font-size: 19px; line-height: 30px; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 16px; line-height: 26px; font-weight: 400; }
.body-sm { font-family: var(--font-sans); font-size: 14px; line-height: 22px; font-weight: 400; }
.label { font-family: var(--font-mono); font-size: 13px; line-height: 18px; font-weight: 500; }
.caption { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 400; }
.overline { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.16em; }
.code { font-family: var(--font-mono); font-size: 14px; line-height: 20px; font-weight: 400; }
