/* BIMpire tokens: the BIMpire website palette (D-20261015-1052) on the round 4 type, space and motion scales (D-20261014-1958). Every colour, size and space comes from here;
   tests/test_tokens_contrast.py proves the contrast pairs on these hex values. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/Inter-Variable-latijn.woff2") format("woff2");
  /* The Latin subset (fontTools, round 4): 100 kB instead of 352 kB, axes opsz and wght, cv11 and tnum kept. */
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;

  /* Type: vendored Inter variable */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-features: "cv11";
  --fs-11: 11px; --lh-11: 16px;
  --fs-12: 12px; --lh-12: 16px;
  --fs-13: 13px; --lh-13: 18px;
  --fs-14: 14px; --lh-14: 20px;
  --fs-16: 16px; --lh-16: 24px;
  --fs-20: 20px; --lh-20: 28px;
  --fs-24: 24px; --lh-24: 32px;
  --fs-28: 28px; --lh-28: 34px;
  --fs-32: 32px; --lh-32: 40px;
  /* Deprecated sizes, aliased into the seven-step scale (12, 13, 14, 16, 20, 24, 28) */
  --fs-15: var(--fs-14); --lh-15: var(--lh-14);
  --fs-18: var(--fs-20); --lh-18: var(--lh-20);
  --fs-30: var(--fs-28); --lh-30: var(--lh-28);
  --ls-display: -0.022em;
  --ls-kop: -0.02em;
  --ls-titel: -0.016em;
  --ls-h2: -0.011em;
  --ls-getal: -0.03em;
  --ls-body: 0;
  --ls-label: 0.06em;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Neutral scale: the warm grey-green of the BIMpire website (D-20261015-1052) */
  --n-0: #FFFFFF;
  --n-25: #FAFAF6;
  --n-50: #F6F5F0;
  --n-100: #EFEFE7;
  --n-150: #E8EAE1;
  --n-200: #DEE2D6;
  --n-300: #CBD2C1;
  --n-400: #A3AC9B;
  --n-500: #6E7A68;
  --n-600: #586653;
  --n-700: #435441;
  --n-800: #34432F;
  --n-900: #253326;

  /* Canvas and surfaces: cream canvas, white workbench */
  --bg: #F6F5F0;
  --surface: #FFFFFF;
  --paper: #FAFAF6;
  --sunken: #EFEFE7;
  --border: #DEE2D6;
  --border-zacht: #E8EAE1;
  --border-knop: #CBD2C1;
  --border-control: #6E7A68;

  /* Text: the brand's dark green ink */
  --text: #253326;
  --text-2: #435441;
  --text-3: #586653;
  --text-placeholder: #687463;

  /* Accent: the one brand green family */
  --accent: #3B5038;
  --accent-hover: #253326;
  --accent-soft: #EDF0DB;
  --accent-tint: #DFE6C2;
  --accent-glow: rgba(59, 80, 56, 0.14);
  --on-accent: #FFFFFF;

  /* The brand's dark green surface: the rail, the phone header, the login panel */
  --merk: #253326;
  --merk-actief: #3B5038;
  --on-merk: #F6F5F0;
  --merk-zacht: #CED4BC;
  --merk-lime: #9FAD52;
  --merk-focus: #C9D88B;
  --merk-lijn: #44573F;

  /* The dark rail */
  --rail-bg: #253326;
  --rail-tekst: #F6F5F0;
  --rail-icoon: #CED4BC;
  --rail-sectie: #CED4BC;
  --rail-tekst-actief: #253326;
  --rail-actief-bg: #9FAD52;
  --rail-hover-bg: #3B5038;
  --rail-marker: #9FAD52;
  --rail-focus: #C9D88B;
  --rail-lijn: var(--merk-lijn);

  /* A quiet hover wash on the light pages (a stil button, a summary) */
  --waas-hover: rgba(37, 51, 38, 0.06);

  /* Status, always with a word; each passes on the cream canvas, on paper and on white */
  --ok: #1E7A4F;
  --ok-soft: #E6F4EC;
  --warn: #8A5A00;
  --warn-soft: #FDF1DC;
  --error: #B42318;
  --error-soft: #FDEBE9;
  --error-tint: #FADBD7;
  --error-hover: #8F1C13;
  --info: #42584F;
  --info-soft: #EEF1EA;

  /* Kinds of work: decisions in the accent, concept mails petrol (clear of the olive accent), vervanger rose, verschillen amber */
  --teal: #0E6670;
  --teal-soft: #E1F0F1;
  --violet: #5A4BB0;
  --violet-soft: #ECEAF9;
  --rose: #A63D6C;
  --rose-soft: #FBEDF3;

  /* Toast */
  --toast-bg: #253326;
  --on-toast: #FFFFFF;
  --toast-actie: #C9D88B;
  --toast-lijn: rgba(255, 255, 255, 0.14);

  /* Skeleton */
  --skelet: #E8EAE1;
  --skelet-glans: #F3F3EC;

  /* Focus */
  --focus-ring: #3B5038;
  --focus-halo: rgba(59, 80, 56, 0.20);
  --focus-halo-fout: rgba(180, 35, 24, 0.16);
  --focus-ring-on-accent: #253326;
  --focus-ring-on-merk: #C9D88B;
  --backdrop: rgba(37, 51, 38, 0.45);

  /* Elevation: 0 flat, 1 workbench, 2 hovered card, 3 menu, 4 dialog */
  --el-0: none;
  --el-1: 0 1px 2px rgba(37, 51, 38, 0.05);
  --el-2: 0 1px 2px rgba(37, 51, 38, 0.04), 0 8px 24px -8px rgba(37, 51, 38, 0.12);
  --el-3: 0 0 0 1px rgba(37, 51, 38, 0.06), 0 12px 32px -8px rgba(37, 51, 38, 0.18);
  --el-4: 0 0 0 1px rgba(37, 51, 38, 0.06), 0 24px 64px -16px rgba(37, 51, 38, 0.28);
  --el-toast: 0 12px 32px -8px rgba(37, 51, 38, 0.35);
  /* Old names */
  --shadow-kaart: var(--el-0);
  --shadow-zweef: var(--el-3);
  --shadow-knop: var(--el-1);
  --shadow-actief: var(--el-1);
  --lijn-merk: rgba(246, 245, 240, 0.14);
  --waas-licht: rgba(37, 51, 38, 0.04);

  /* Space */
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;

  /* Radius */
  --radius-4: 4px;
  --radius-6: 6px;
  --radius-8: 8px;
  --radius-10: 10px;
  --radius-12: 12px;
  --radius-14: 12px;
  --radius-16: 16px;
  --radius-pill: 999px;

  /* Density */
  --control-h: 36px;
  --control-h-row: 36px;
  --control-h-login: 44px;
  --control-h-cel: 32px;
  --rij-h: 52px;
  --rij-h-tabel: 44px;
  --rij-h-compact: 36px;
  --chip-h: 22px;
  --focus-width: 2px;
  --focus-offset: 2px;

  /* Layout */
  --sidebar-w: 232px;
  --sidebar-w-smal: 64px;
  --header-h: 56px;
  --content-max: 1280px;
  --werkblad-rand: 8px;
  --gutter: 24px;
  --gutter-phone: 16px;
  --voorbeeldbalk-h: 28px;
  --paneel-w: 320px;
  --zijpaneel-w: 320px;

  /* Motion: transform, opacity, colour and shadow only */
  --motion-snel: 120ms;
  --motion: 160ms;
  --motion-traag: 200ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-uit: cubic-bezier(0.3, 0, 0.6, 1);

  /* Round 4 "strak blad" on the brand palette: the figure strip, the page head, the planning tones, the rail, the panes */
  --fs-36: 36px; --lh-36: 40px;
  --ls-stat: -0.035em;
  --fs-titel: var(--fs-24); --lh-titel: var(--lh-24);
  --hairline: #E6E9DE;
  /* Planning tones cel-licht, accent-tint and cel-vol, each one step deeper in the green family */
  --cel-licht: #F3F5E8;
  --cel-vol: #C9D3AA;
  --cel-vol-tekst: #253326;
  --rail-marker-w: 3px;
  /* A rail count: a queue is a light pill on the dark rail, any other count a quiet green one */
  --rail-teller-bg: #EDF0DB;
  --rail-teller-tekst: #3B5038;
  --rail-teller-stil-bg: #3B5038;
  --rail-teller-stil-tekst: #F6F5F0;
  /* The logo PNG (1624 by 514): the rail, the phone header, the login panel */
  --logo-rail-w: 168px;
  --logo-kop-w: 112px;
  --logo-login-w: 220px;
  --lijstpaneel-w: 360px;
  --instel-kolom-w: 260px;
  --tekening: var(--n-400);
  --tekening-accent: var(--accent);
}
