/* AGH Ibérica — generated from tokens.json */
:root, [data-theme="light"] {
  --paper: #FBFBF8;
  --surface: #FFFFFF;
  --beige: #F6E9E0;
  --line: #D9D4CE;
  --line-strong: #8C857E;
  --ink: #212121;
  --text: #444444;
  --text-muted: #6B6661;
  --red: #FE0000;
  --red-dark: #D90000;
  --red-press: #B00000;
  --on-red: #FFFFFF;
  --red-soft: #FFECEA;
  --focus: #D90000;
  --accepted: #0F6E6E;
  --accepted-soft: #E3F2F1;
  --edited: #2A5DB0;
  --edited-soft: #E6EEFA;
  --warning: #8A5A00;
  --warning-soft: #FBF0D9;
  --error: #9F1F5C;
  --error-soft: #F8E4EE;
  --rejected: #6B6661;
  --rejected-soft: #EFECE8;
  --diff-add: #E3F2F1;
  --diff-del: #EFECE8;
  --doc-paper: #FFFFFF;
  --doc-ink: #000000;
  --doc-red: #C00000;
  --doc-muted: #595959;
  --link: var(--red-dark);
  --shadow-card: 0 1px 2px rgba(33,33,33,0.06);
  --shadow-overlay: 0 12px 32px rgba(20,20,19,0.16);
}
[data-theme="dark"] {
  --paper: #161514;
  --surface: #1F1E1C;
  --beige: #2E2620;
  --line: #3A3633;
  --line-strong: #7A736C;
  --ink: #F3F1EE;
  --text: #C9C5C0;
  --text-muted: #9C968F;
  --red: #FF5247;
  --red-dark: #FF7A70;
  --red-press: #FF9A92;
  --on-red: #161514;
  --red-soft: #3A1512;
  --focus: #FF7A70;
  --accepted: #5CC8C2;
  --accepted-soft: #10302F;
  --edited: #8FB4F0;
  --edited-soft: #16243B;
  --warning: #E8B54A;
  --warning-soft: #33270C;
  --error: #F28AB8;
  --error-soft: #3A1427;
  --rejected: #9C968F;
  --rejected-soft: #2A2826;
  --diff-add: #10302F;
  --diff-del: #2A2826;
  --doc-paper: #FFFFFF;
  --doc-ink: #000000;
  --doc-red: #C00000;
  --doc-muted: #595959;
  --link: var(--red-dark);
  --shadow-card: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-overlay: 0 12px 32px rgba(0,0,0,0.55);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-pill: 104px;
  --brand-square: 7px;
  --control-h: 44px;
  --wrap: 1180px;
  --font-display: "Special Gothic Expanded One", "Archivo", system-ui, sans-serif;
  --font-body: "Host Grotesk", "Inter", system-ui, sans-serif;
  --font-doc: Cambria, "Caladea", Georgia, serif;
}
.display-xl { font-family: var(--font-display); font-size: 56px; line-height: 1.0; font-weight: 400; letter-spacing: -0.01em; }
.display-l { font-family: var(--font-display); font-size: 36px; line-height: 1.05; font-weight: 400; }
.score { font-family: var(--font-display); font-size: 64px; line-height: 1.0; font-weight: 400; }
.title { font-family: var(--font-display); font-size: 20px; line-height: 1.2; font-weight: 400; }
.heading { font-family: var(--font-body); font-size: 18px; line-height: 24px; font-weight: 600; }
.body { font-family: var(--font-body); font-size: 16px; line-height: 24px; font-weight: 400; }
.body-s { font-family: var(--font-body); font-size: 14px; line-height: 20px; font-weight: 400; }
.label { font-family: var(--font-body); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.06em; }
.doc-name { font-family: var(--font-doc); font-size: 22px; line-height: 1.2; font-weight: 700; }
.doc-section { font-family: var(--font-doc); font-size: 13px; line-height: 1.3; font-weight: 700; }
.doc-body { font-family: var(--font-doc); font-size: 11px; line-height: 1.45; font-weight: 400; }
