/* Brand-neutral design tokens: font, sizes, spacing, radii, layout. Colours come from the installation's theme
   (THEME_DIR/theme.css, D-095); no other file has colour values (tests/web/test_colour_tokens.py checks this). */

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Typography (Huisstijl V1 §2; sizes and weights of the Sherlock reference, D-720) */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-letter: Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, Consolas, monospace;
  --fs-xs: 10px;
  --fs-sm: 12px;
  --fs-base: 14px;
  --fs-md: 15px;
  --fs-lg: 20px;
  --fs-xl: 26px;
  --fs-stat: 25px;
  --lh: 1.5;
  --fw-regular: 400;
  --fw-medium: 400;
  --fw-semibold: 650;
  --fw-bold: 700;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 22px;
  --space-6: 28px;
  --space-7: 36px;
  --space-8: 48px;

  /* Rhythm: the same distances on every screen (S60, dashboard review 30-11 §1–3) */
  --card-pad: var(--space-5);     /* inside a card, its section head and a dialog */
  --gap-cards: var(--space-5);    /* between cards, stacked or side by side */
  --gap-topic: var(--space-6);    /* above the next topic inside a card: after the button of the topic before */
  --gap-status: var(--space-3);   /* between a status badge and its action button */
  --gap-fields: var(--space-4);   /* between fields side by side */

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 9px;
  --radius-lg: 14px;
  --radius-xl: 16px;
  --radius-pill: 999px;

  /* Layout (Huisstijl V1 §3; widths and heights of the Sherlock reference, D-720) */
  --sidebar-width: 242px;
  --topbar-height: 64px;
  --balk-ruimte: 130px;           /* M5's summary bar and a gap: an address lands below it (app.js measures it) */
  --testbalk-hoogte: 44px;        /* S22b: the test environment's banner on a wide screen */
  --content-max: 1450px;
  --content-pad: 24px;
  --dialog-width: 760px;
  --dialog-wide: 1240px;
}
