/* Zavtrack UI-кит «Яичница» — generated from tokens.json */
:root, [data-theme="light"] {
  --paper: #fbf8f1;
  --crust: #f3eee2;
  --plate: #ffffff;
  --hover: #ece5d4;
  --line: #e6dfcf;
  --line-strong: #948b77;
  --ink: #1d1b16;
  --ink-muted: #6b6455;
  --ink-faint: #77705f;
  --yolk: #ffc21a;
  --yolk-hover: #f5b400;
  --yolk-soft: #fff0c2;
  --yolk-ink: #6e4e00;
  --on-yolk: #1d1b16;
  --focus: #1d1b16;
  --tomato: #e5482d;
  --tomato-soft: #fce0d9;
  --tomato-ink: #a3301a;
  --spinach: #3e8e5a;
  --spinach-soft: #e1f0e6;
  --spinach-ink: #276140;
  --blueberry: #5b5bd6;
  --blueberry-soft: #e8e8fb;
  --blueberry-ink: #3838a0;
  --tag-grey-bg: #efebe2;
  --tag-grey-fg: #57513f;
  --tag-brown-bg: #f3e6d6;
  --tag-brown-fg: #7a4b1e;
  --tag-orange-bg: #fde6cf;
  --tag-orange-fg: #94470a;
  --tag-yellow-bg: var(--yolk-soft);
  --tag-yellow-fg: var(--yolk-ink);
  --tag-green-bg: var(--spinach-soft);
  --tag-green-fg: var(--spinach-ink);
  --tag-blue-bg: #dfedf8;
  --tag-blue-fg: #1f5c8a;
  --tag-purple-bg: var(--blueberry-soft);
  --tag-purple-fg: var(--blueberry-ink);
  --tag-pink-bg: #fbe3ee;
  --tag-pink-fg: #9a2b5e;
  --tag-red-bg: var(--tomato-soft);
  --tag-red-fg: var(--tomato-ink);
  --selection: rgba(255, 194, 26, 0.35);
  --backdrop: rgba(29, 27, 22, 0.40);
  --chart-1: var(--yolk);
  --chart-2: var(--blueberry);
  --chart-3: var(--spinach);
  --chart-4: var(--tomato);
  --chart-5: #b87333;
  --shadow-card: 0 1px 0 #e6dfcf;
  --shadow-popover: 0 12px 32px rgba(29, 27, 22, 0.14), 0 2px 6px rgba(29, 27, 22, 0.08);
  --shadow-modal: 0 24px 64px rgba(29, 27, 22, 0.22);
  --shadow-yolk: 0 6px 0 -2px #ffc21a;
}
[data-theme="dark"] {
  --paper: #17150f;
  --crust: #201d16;
  --plate: #29251d;
  --hover: #332e24;
  --line: #3b352a;
  --line-strong: #7a715f;
  --ink: #f4efe3;
  --ink-muted: #a79f8e;
  --ink-faint: #968e7d;
  --yolk: #ffc21a;
  --yolk-hover: #ffcf4d;
  --yolk-soft: #3d3115;
  --yolk-ink: #ffd25c;
  --on-yolk: #1d1b16;
  --focus: #ffc21a;
  --tomato: #ff6a4d;
  --tomato-soft: #3e1d16;
  --tomato-ink: #ff9a85;
  --spinach: #5dbb7e;
  --spinach-soft: #1a3022;
  --spinach-ink: #8ad6a5;
  --blueberry: #8c8cff;
  --blueberry-soft: #25254a;
  --blueberry-ink: #b4b4ff;
  --tag-grey-bg: #34302a;
  --tag-grey-fg: #cfc8b8;
  --tag-brown-bg: #3a2c1e;
  --tag-brown-fg: #e3b98c;
  --tag-orange-bg: #44290f;
  --tag-orange-fg: #ffb877;
  --tag-yellow-bg: var(--yolk-soft);
  --tag-yellow-fg: var(--yolk-ink);
  --tag-green-bg: var(--spinach-soft);
  --tag-green-fg: var(--spinach-ink);
  --tag-blue-bg: #18303f;
  --tag-blue-fg: #8cc4f0;
  --tag-purple-bg: var(--blueberry-soft);
  --tag-purple-fg: var(--blueberry-ink);
  --tag-pink-bg: #3f1c2c;
  --tag-pink-fg: #f59ac3;
  --tag-red-bg: var(--tomato-soft);
  --tag-red-fg: var(--tomato-ink);
  --selection: rgba(255, 194, 26, 0.30);
  --backdrop: rgba(0, 0, 0, 0.60);
  --chart-1: var(--yolk);
  --chart-2: var(--blueberry);
  --chart-3: var(--spinach);
  --chart-4: var(--tomato);
  --chart-5: #e3a46a;
  --shadow-card: 0 1px 0 #0e0c08;
  --shadow-popover: 0 12px 32px rgba(0, 0, 0, 0.50), 0 2px 6px rgba(0, 0, 0, 0.30);
  --shadow-modal: 0 24px 64px rgba(0, 0, 0, 0.60);
  --shadow-yolk: 0 6px 0 -2px #ffc21a;
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-full: 999px;
  --control-sm: 32px;
  --control-md: 38px;
  --control-lg: 44px;
  --row: 34px;
  --sidebar-width: 256px;
  --doc-width: 900px;
  --font-display: "Unbounded", "Onest", system-ui, sans-serif;
  --font-sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
.display-xl { font-family: var(--font-display); font-size: 56px; line-height: 60px; font-weight: 800; letter-spacing: -0.035em; }
.page-title { font-family: var(--font-display); font-size: 40px; line-height: 48px; font-weight: 700; letter-spacing: -0.025em; }
.display-sm { font-family: var(--font-display); font-size: 26px; line-height: 32px; font-weight: 700; letter-spacing: -0.02em; }
.wordmark { font-family: var(--font-display); font-size: 15px; line-height: 20px; font-weight: 700; letter-spacing: -0.01em; }
.h1 { font-family: var(--font-sans); font-size: 30px; line-height: 38px; font-weight: 700; letter-spacing: -0.015em; }
.h2 { font-family: var(--font-sans); font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -0.01em; }
.h3 { font-family: var(--font-sans); font-size: 19px; line-height: 28px; font-weight: 600; }
.body-lg { font-family: var(--font-sans); font-size: 17px; line-height: 28px; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 15px; line-height: 22px; font-weight: 400; }
.body-strong { font-family: var(--font-sans); font-size: 15px; line-height: 22px; font-weight: 600; }
.small { font-family: var(--font-sans); font-size: 13px; line-height: 20px; font-weight: 500; }
.caption { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 500; }
.label { font-family: var(--font-mono); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; }
.meta { font-family: var(--font-mono); font-size: 12px; line-height: 18px; font-weight: 400; }
.code { font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 400; }
.kbd { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; }
