/* Zapisano design system — generated from tokens.json */
:root, [data-theme="light"] {
  --surface: #f7f3ee; --surface-raised: #ffffff; --surface-sunken: #efe9e2;
  --line: #e3dcd3; --line-strong: #8a8178;
  --ink: #1f1a24; --ink-muted: #655c6d;
  --brand: #6b2d5c; --on-brand: #ffffff; --brand-soft: #f1e3ec;
  --agent: #0e6b70; --agent-soft: #dff1f1;
  --ok: #1e7a4b; --ok-soft: #dff3e7;
  --warn: #8a5300; --warn-soft: #fbeccc;
  --danger: #b3261e; --danger-soft: #fbe0dd;
  --info: #3b4f8a; --info-soft: #e3e8f8;
  --blocked: #d9d2ca;
  --focus-ring: var(--brand);
  --shadow-sheet: 0 -8px 24px rgba(31, 26, 36, 0.12);
}
[data-theme="dark"] {
  --surface: #17151a; --surface-raised: #221f26; --surface-sunken: #0f0e11;
  --line: #3a353f; --line-strong: #8e8597;
  --ink: #f2ede8; --ink-muted: #aaa1b3;
  --brand: #d9a0c8; --on-brand: #1f1a24; --brand-soft: #3b2236;
  --agent: #6cc8cc; --agent-soft: #123c3e;
  --ok: #79d0a0; --ok-soft: #123a26;
  --warn: #f0b64f; --warn-soft: #43300a;
  --danger: #ff8f86; --danger-soft: #4a1a17;
  --info: #9fb0ea; --info-soft: #1f2847;
  --blocked: #2c2830;
  --focus-ring: var(--brand);
  --shadow-sheet: 0 -8px 24px rgba(0, 0, 0, 0.5);
}
:root {
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px;
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-pill: 999px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display-xl: 700 56px/60px var(--font-display); --lead: 400 18px/28px var(--font-sans);
}
.display-xl { font: var(--display-xl); letter-spacing: -0.02em; }
.display-l { font-family: var(--font-display); font-size: 32px; line-height: 36px; font-weight: 700; letter-spacing: -0.01em; }
.display-m { font-family: var(--font-display); font-size: 24px; line-height: 30px; font-weight: 700; letter-spacing: -0.005em; }
.title { font-family: var(--font-sans); font-size: 18px; line-height: 24px; font-weight: 600; }
.lead { font: var(--lead); }
.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: 18px; font-weight: 400; }
.label { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.04em; }
.numeral { font-family: var(--font-sans); font-size: 15px; line-height: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
