/* Goodline UI 2 — токены (сгенерировано из tokens.json, руками не править).
   Светлая тема — по умолчанию; тёмная — data-theme="dark" на <html> или класс body.dark.
   Плотность: обычная — по умолчанию; плотная — data-density="compact" на <html> или класс body.gl-compact.
   Шрифт Gogh: файлы рядом — ../fonts/ (при другой структуре проекта поправьте пути). */
@font-face { font-family: "Gogh"; font-style: normal; font-weight: 50 900; font-display: swap; src: url(../fonts/Gogh-Variable.woff2) format("woff2"); }
@font-face { font-family: "Gogh"; font-style: italic; font-weight: 50 900; font-display: swap; src: url(../fonts/Gogh-Variable-Italic.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --bg: #f1f1f2;
  --surface: #ffffff;
  --card: #ffffff;
  --border: #dedfe2;
  --border-strong: #8b8c91;
  --ink: #000000;
  --ink-muted: #5f6066;
  --gray: #97989d;
  --brand: #ff6400;
  --brand-hover: #e05800;
  --on-brand: #ffffff;
  --brand-soft: #ffd8bf;
  --emerald: #00704b;
  --emerald-hover: #005c3e;
  --on-emerald: #ffffff;
  --emerald-soft: #dfede8;
  --lime: #b8eb00;
  --green: #8acc13;
  --link: #00704b;
  --nav-active-ink: #00704b;
  --focus: #00704b;
  --success: #00704b;
  --success-soft: #daefb5;
  --danger: #ea2b1f;
  --danger-ink: #c62828;
  --danger-soft: #fbd7d5;
  --warning: #ff9e00;
  --warning-ink: #8a5300;
  --warning-soft: #ffe1af;
  --info: #0369a1;
  --info-soft: #dcebf5;
  --tone-orange: #d9480f;
  --tone-blue: #0369a1;
  --tone-green: #2b8a3e;
  --tone-dark-green: #1b5e20;
  --tone-yellow: #a16207;
  --tone-pink: #c2255c;
  --tone-purple: #6741d9;
  --tone-lime: #66a80f;
  --tone-gold: #9a7b1a;
  --tone-navy: #2b5cb8;
  --tone-red: #c62828;
  --row-hover: rgba(0,0,0,0.04);
  --overlay: rgba(0,0,0,0.45);
  --skeleton-base: rgba(0,0,0,0.07);
  --skeleton-shine: rgba(0,0,0,0.14);
  --shadow-panel: 0 1px 6px rgba(0,0,0,0.08);
  --shadow-float: 0 8px 32px rgba(0,0,0,0.12);
}
:root[data-theme="dark"], body.dark {
  color-scheme: dark;
  --bg: #0c0f0e;
  --surface: #151918;
  --card: #1d2220;
  --border: #2d3533;
  --border-strong: #6b7672;
  --ink: #e8edea;
  --ink-muted: #8a9490;
  --gray: #97989d;
  --brand: #ff6400;
  --brand-hover: #e05800;
  --on-brand: #ffffff;
  --brand-soft: #3a2414;
  --emerald: #00704b;
  --emerald-hover: #005c3e;
  --on-emerald: #ffffff;
  --emerald-soft: #143027;
  --lime: #b8eb00;
  --green: #8acc13;
  --link: #ff6400;
  --nav-active-ink: #b8eb00;
  --focus: #ff6400;
  --success: #b8eb00;
  --success-soft: #1e2d12;
  --danger: #ea2b1f;
  --danger-ink: #ff5555;
  --danger-soft: #3a1715;
  --warning: #ff9e00;
  --warning-ink: #f5a623;
  --warning-soft: #3a2a10;
  --info: #55b9f3;
  --info-soft: #12283a;
  --tone-orange: #ff8a3d;
  --tone-blue: #55b9f3;
  --tone-green: #45d07b;
  --tone-dark-green: #27a05c;
  --tone-yellow: #ffd43b;
  --tone-pink: #f178b6;
  --tone-purple: #b197fc;
  --tone-lime: #a8e05f;
  --tone-gold: #f0c24b;
  --tone-navy: #6e9bff;
  --tone-red: #ff5555;
  --row-hover: rgba(255,255,255,0.04);
  --overlay: rgba(0,0,0,0.82);
  --skeleton-base: rgba(255,255,255,0.06);
  --skeleton-shine: rgba(255,255,255,0.13);
  --shadow-panel: none;
  --shadow-float: 0 10px 30px rgba(0,0,0,0.4);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 48px;
  --space-9: 64px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-pill: 999px;
  --z-raised: 2;
  --z-dropdown: 30;
  --z-sticky: 40;
  --z-modal: 50;
  --z-popover: 60;
  --z-toast: 100;
  --font-sans: "Gogh", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --motion-fast: 150ms;
  --motion-base: 200ms;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  /* плотность: обычная */
  --fs-display: 48px;
  --fs-h1: 32px;
  --fs-h2: 24px;
  --fs-h3: 20px;
  --fs-body: 16px;
  --fs-control: 16px;
  --fs-small: 14px;
  --fs-caption: 12px;
  --fs-micro: 10px;
  --lh-display: 1.1;
  --lh-h1: 1.2;
  --lh-h2: 1.25;
  --lh-h3: 1.3;
  --lh-body: 1.5;
  --lh-control: 1.25;
  --lh-small: 1.45;
  --lh-caption: 1.35;
  --lh-micro: 1.2;
  --control-h: 40px;
  --control-h-sm: 32px;
  --control-h-lg: 48px;
  --control-px: 16px;
  --topbar-h: 64px;
  --page-pad: 24px;
  --panel-pad: 20px;
  --row-py: 12px;
  --gap: 16px;
}
:root[data-density="compact"], body.gl-compact {
  --fs-display: 32px;
  --fs-h1: 24px;
  --fs-h2: 20px;
  --fs-h3: 16px;
  --fs-body: 14px;
  --fs-control: 14px;
  --fs-small: 12px;
  --fs-caption: 12px;
  --fs-micro: 10px;
  --control-h: 36px;
  --control-h-sm: 28px;
  --control-h-lg: 40px;
  --control-px: 14px;
  --page-pad: 20px;
  --panel-pad: 16px;
  --row-py: 9px;
  --gap: 12px;
}
