/* СГЕНЕРИРОВАНО scripts/build-tokens.mjs из tokens/tokens.json — не править вручную. */
:root {
  --sp-space-0: 0px;
  --sp-space-1: 4px;
  --sp-space-2: 8px;
  --sp-space-3: 12px;
  --sp-space-4: 16px;
  --sp-space-5: 20px;
  --sp-space-6: 24px;
  --sp-space-8: 32px;
  --sp-space-10: 40px;
  --sp-space-12: 48px;
  --sp-space-16: 64px;
  --sp-radius-sm: 8px;
  --sp-radius-md: 12px;
  --sp-radius-lg: 16px;
  --sp-radius-xl: 24px;
  --sp-radius-full: 9999px;
  --sp-text-2xs: 11px;
  --sp-text-xs: 12px;
  --sp-text-sm: 13px;
  --sp-text-md: 15px;
  --sp-text-lg: 17px;
  --sp-text-xl: 21px;
  --sp-text-2xl: 26px;
  --sp-text-3xl: 30px;
  --sp-text-4xl: 40px;
  --sp-font-sans: 'Inter Variable', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --sp-font-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --sp-dur-instant: 0ms;
  --sp-dur-xfast: 100ms;
  --sp-dur-fast: 150ms;
  --sp-dur-base: 200ms;
  --sp-dur-moderate: 280ms;
  --sp-dur-slow: 400ms;
  --sp-dur-slower: 600ms;
  --sp-dur-chart: 700ms;
  --sp-ease-standard: cubic-bezier(0.645, 0.045, 0.355, 1);
  --sp-ease-enter: cubic-bezier(0.165, 0.84, 0.44, 1);
  --sp-ease-exit: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  --sp-ease-subtle: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --sp-ease-emphasized: cubic-bezier(0.19, 1, 0.22, 1);
  --sp-ease-linear: linear;
  --sp-button-height-sm: 36px;
  --sp-button-height-md: 44px;
  --sp-button-height-lg: 52px;
  --sp-button-radius: 9999px;
  --sp-field-height: 48px;
  --sp-field-radius: 12px;
  --sp-card-radius: 16px;
  --sp-card-pad: 24px;
  --sp-photo-radius: 12px;
  --sp-chip-height: 36px;
  --sp-nav-height: 72px;
  --sp-subnav-height: 52px;
  --sp-container-max: 1360px;
  --sp-container-pad: 40px;
  --sp-container-pad-sm: 16px;
  --sp-z-nav: 30;
  --sp-z-subnav: 29;
  --sp-z-popover: 40;
  --sp-z-dialog: 50;
  --sp-z-toast: 60;
}
:root, [data-theme="light"] {
  color-scheme: light;
  --sp-bg: #ffffff;
  --sp-surface: #ffffff;
  --sp-surface-soft: #f6f7f9;
  --sp-surface-strong: #eef0f3;
  --sp-ink: #1d2025;
  --sp-body: #3c4047;
  --sp-muted: #5f6670;
  --sp-hairline: #e2e5ea;
  --sp-border-strong: #c4c9d1;
  --sp-accent: #2b5fe3;
  --sp-accent-hover: #2452c9;
  --sp-on-accent: #ffffff;
  --sp-accent-soft: #eaf0fd;
  --sp-accent-text: #2452c9;
  --sp-positive: #0f7b45;
  --sp-negative: #c0392b;
  --sp-warning: #9a5c00;
  --sp-focus: #2b5fe3;
  --sp-scrim: #0f1114a6;
  --sp-map-water: #e6eef6;
  --sp-map-land: #f3f5f7;
  --sp-shadow-card: 0 1px 2px rgba(16,24,40,.06), 0 6px 20px rgba(16,24,40,.08);
  --sp-shadow-float: 0 8px 28px rgba(16,24,40,.14);
  --sp-chart-1: #2b5fe3;
  --sp-chart-2: #8a94a3;
  --sp-chart-3: #0e8a7a;
  --sp-chart-4: #b26b00;
  --sp-chart-5: #7a4cc2;
  --sp-chart-grid: #e2e5ea;
  --sp-chart-label: #5f6670;
  --sp-chart-positive: #0f7b45;
  --sp-chart-negative: #c0392b;
}
[data-theme="dark"] {
  color-scheme: dark;
  --sp-bg: #0f1114;
  --sp-surface: #171a1f;
  --sp-surface-soft: #1d2127;
  --sp-surface-strong: #252a31;
  --sp-ink: #f2f4f7;
  --sp-body: #c9ced6;
  --sp-muted: #9aa2ad;
  --sp-hairline: #2c323a;
  --sp-border-strong: #3a414b;
  --sp-accent: #7aa2ff;
  --sp-accent-hover: #9ab8ff;
  --sp-on-accent: #0b1430;
  --sp-accent-soft: #1c2a4d;
  --sp-accent-text: #9ab8ff;
  --sp-positive: #4cc98a;
  --sp-negative: #ff7a6b;
  --sp-warning: #f0b44c;
  --sp-focus: #7aa2ff;
  --sp-scrim: #000000b3;
  --sp-map-water: #121821;
  --sp-map-land: #1a2029;
  --sp-shadow-card: 0 1px 2px rgba(0,0,0,.4);
  --sp-shadow-float: 0 10px 30px rgba(0,0,0,.5);
  --sp-chart-1: #7aa2ff;
  --sp-chart-2: #6b7480;
  --sp-chart-3: #3cc9b4;
  --sp-chart-4: #f0b44c;
  --sp-chart-5: #b79cff;
  --sp-chart-grid: #2c323a;
  --sp-chart-label: #9aa2ad;
  --sp-chart-positive: #4cc98a;
  --sp-chart-negative: #ff7a6b;
}
@media (prefers-color-scheme: dark) {
  [data-theme="system"] {
    color-scheme: dark;
    --sp-bg: #0f1114;
    --sp-surface: #171a1f;
    --sp-surface-soft: #1d2127;
    --sp-surface-strong: #252a31;
    --sp-ink: #f2f4f7;
    --sp-body: #c9ced6;
    --sp-muted: #9aa2ad;
    --sp-hairline: #2c323a;
    --sp-border-strong: #3a414b;
    --sp-accent: #7aa2ff;
    --sp-accent-hover: #9ab8ff;
    --sp-on-accent: #0b1430;
    --sp-accent-soft: #1c2a4d;
    --sp-accent-text: #9ab8ff;
    --sp-positive: #4cc98a;
    --sp-negative: #ff7a6b;
    --sp-warning: #f0b44c;
    --sp-focus: #7aa2ff;
    --sp-scrim: #000000b3;
    --sp-map-water: #121821;
    --sp-map-land: #1a2029;
    --sp-shadow-card: 0 1px 2px rgba(0,0,0,.4);
    --sp-shadow-float: 0 10px 30px rgba(0,0,0,.5);
    --sp-chart-1: #7aa2ff;
    --sp-chart-2: #6b7480;
    --sp-chart-3: #3cc9b4;
    --sp-chart-4: #f0b44c;
    --sp-chart-5: #b79cff;
    --sp-chart-grid: #2c323a;
    --sp-chart-label: #9aa2ad;
    --sp-chart-positive: #4cc98a;
    --sp-chart-negative: #ff7a6b;
  }
}
/* Режимы анимации: off — всё мгновенно; reduced — без перемещений, только короткие переходы прозрачности */
[data-motion="off"] *, [data-motion="off"] *::before, [data-motion="off"] *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; }
[data-motion="reduced"] *, [data-motion="reduced"] *::before, [data-motion="reduced"] *::after { animation-duration: 0s !important; animation-iteration-count: 1 !important; transition-duration: min(var(--sp-dur-fast), 150ms) !important; }
