/* Flowsafe Cijfers (cijfers.flowsafe.nl): tokens en onderdelen uit het design system "Flowsafe Evenementen"
   (tokens.css, components/bundle.css zonder de icon-masks), plus de eigen regels van de site onderaan. Geen inline
   stijlen (CSP style-src 'self'); grafieken zijn inline SVG met attributen, kleur uit de klassen fe-ch-*, fe-cmp-*,
   fe-spark-*. Lettertype Overpass van de eigen site (/static/overpass.woff2, SIL OFL 1.1). Bij een nieuwe versie van
   het design system de bovenste twee delen vervangen, de eigen regels onderaan houden. */
@font-face { font-family: "Overpass"; src: url("/static/overpass.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap;
  /* zonder U+00B7: de middenpunt van Overpass staat tegen het vorige woord aan; die komt uit de systeemletter */
  unicode-range: U+0000-00B6, U+00B8-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Flowsafe Evenementen — generated from tokens.json */
:root, [data-theme="light"] {
  --surface: #ffffff; /* Paginagrond, registerrijen en invoervelden. */
  --mist: #f1f4f9; /* Rustband achter een sectie, kop van de weekmail en hover van een rij. Geen tekstkleur. */
  --rule: #d8dee9; /* Scheidingslijn tussen rijen, rand van een tag en het land op de kaart. Alleen decoratief: nooit de enige grens van een veld. */
  --control: #6b7890; /* Rand van velden, segmenten en chips (minstens 3:1 op surface en mist). Ook het streepje 'niet inbegrepen' in de vergelijking. */
  --ink: #0f1d40; /* Koppen en lopende tekst op surface, mist, signal-soft en brand-soft. Ook het donkere vlak van CTA-band en CtaBar, de 2px-lijn boven elk register en de knop fe-btn--ink. */
  --ink-soft: #47546e; /* Bijschriften, plaatsregels en hulptekst op surface, mist en signal-soft. */
  --on-ink: #ffffff; /* Tekst op ink. */
  --on-ink-soft: #c9d6f7; /* Kleine lettertjes en bijzinnen op ink. */
  --brand: #2563eb; /* Flowsafe-blauw: openbaar. Links op surface en mist, 'vergund' op de kaart en in staafjes, de focusring. Niet als tekst op brand-soft. */
  --brand-soft: #e6edfd; /* Vlak achter de badge Vergund en achter een melding. */
  --brand-deep: #1e3a8a; /* Tekst op brand-soft, hover van links en van fe-btn--ink. Ook de waarde van de theme-color. */
  --signal: #ea580c; /* Oranje: aangevraagd, leesbaar met vroege toegang. Lakbalken, het eerste stuk van de voorsprong-lijn en de knop die de proef start. Alleen als vlak op surface, mist, signal-soft of ink; tekst erop in on-signal. */
  --on-signal: #0f1d40; /* Tekst op signal (4,6:1). Nooit wit op signal. */
  --signal-soft: #fff0e6; /* Het oranje blok: grond achter gelakte rijen, gelakte gegevens en de kolom Vroege toegang. */
  --signal-text: #c2410c; /* Oranje tekst op surface, mist en signal-soft: de badge Aangevraagd en aantallen aanvragen. */
  --danger: #b42318; /* Foutmelding bij een formulierveld, op surface en danger-soft. */
  --danger-soft: #feeceb; /* Vlak achter een foutmelding. */
  --focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px #2563eb; /* Toetsenbordfocus op lichte gronden: 2px wit, dan 2px brand. */
  --focus-ring-ink: 0 0 0 2px #0f1d40, 0 0 0 4px #ffffff; /* Toetsenbordfocus op ink, binnen fe-on-ink. */
}
:root {
  --space-1: 4px; /* Tussen titel en plaatsregel. */
  --space-2: 8px; /* Tussen tags, binnen knoppen en chips. */
  --space-3: 12px; /* Boven en onder een registerrij. */
  --space-4: 16px; /* Binnenmarge van een blok, zijmarge op mobiel. */
  --space-5: 24px; /* Zijmarge op desktop, tussen kop en inhoud. */
  --space-6: 32px; /* Tussen blokken binnen een sectie. */
  --space-7: 48px; /* Kolomafstand, sectiemarge op mobiel. */
  --space-8: 72px; /* Sectiemarge op desktop. */
  --radius-sm: 3px; /* Lakbalken, badges en tags. */
  --radius-md: 6px; /* Knoppen, velden, segmenten en chips. */
  --radius-lg: 12px; /* Het oranje blok, de CTA-band en de weekmail. */
  --page-max: 1120px; /* Maximale breedte van de inhoud. */
  --date-col: 124px; /* Vaste datumkolom van een registerrij. */
  --font-sans: "Overpass", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-fe-display: 800 48px/52px var(--font-sans); /* Alleen de H1 van home. Tot 720px: 34/38. */
  --text-fe-h1: 800 36px/42px var(--font-sans); /* H1 van elke andere pagina. Tot 720px: 30/35. */
  --text-fe-h2: 800 28px/34px var(--font-sans); /* Sectiekop. Tot 720px: 24/30. */
  --text-fe-h3: 700 20px/26px var(--font-sans); /* Kop binnen een sectie, maandkop boven een register. */
  --text-fe-lead: 400 19px/30px var(--font-sans); /* Inleiding onder een H1. Tot 720px: 17/27. */
  --text-fe-body: 400 16px/26px var(--font-sans); /* Lopende tekst. */
  --text-fe-small: 400 14px/20px var(--font-sans); /* Kleine lettertjes bij een knop, bijschrift, plaatsregel. */
  --text-fe-label: 600 13px/18px var(--font-sans); /* Badges en tags. Altijd gewone zinsvorm, nooit hoofdletters. */
}
.fe-display {
  font-family: var(--font-sans);
  font-size: 48px;
  line-height: 52px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.fe-h1 {
  font-family: var(--font-sans);
  font-size: 36px;
  line-height: 42px;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.fe-h2 {
  font-family: var(--font-sans);
  font-size: 28px;
  line-height: 34px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.fe-h3 {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
  letter-spacing: 0;
}
.fe-lead {
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 30px;
  font-weight: 400;
  letter-spacing: 0;
}
.fe-body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  letter-spacing: 0;
}
.fe-small {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0;
}
.fe-label {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0;
}
/* Flowsafe Evenementen: componenten. Laad dit bestand na tokens.css.
   Alle klassen beginnen met fe-. Geen JavaScript nodig. */

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 26px; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
:where(a) { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:where(a:hover) { color: var(--brand-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid transparent; outline-offset: 2px; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
.fe-on-ink :focus-visible { box-shadow: var(--focus-ring-ink); }
.fe-display, .fe-h1, .fe-h2, .fe-h3 { margin: 0; text-wrap: balance; }
.fe-lead, .fe-body, .fe-small { margin: 0; text-wrap: pretty; }
.fe-muted { color: var(--ink-soft); }
.fe-measure { max-width: 62ch; }
.fe-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.fe-skip { position: absolute; left: var(--space-4); top: -100px; padding: var(--space-2) var(--space-4); background: var(--ink); color: var(--on-ink); border-radius: var(--radius-md); z-index: 10; }
.fe-skip:focus { top: var(--space-2); }
.fe-mark { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* ---------- Layout ---------- */
.fe-wrap { max-width: calc(var(--page-max) + 2 * var(--space-5)); margin-inline: auto; padding-inline: var(--space-5); }
.fe-section { padding-block: var(--space-8); }
.fe-section--tight { padding-block: var(--space-7); }
.fe-section--flush { padding-top: 0; }
.fe-section--mist { background: var(--mist); }
.fe-section--ink { background: var(--ink); color: var(--on-ink); }
.fe-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-7); align-items: start; }
.fe-split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fe-split--aside { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.fe-stack { display: grid; gap: var(--space-5); align-content: start; }
.fe-stack--sm { gap: var(--space-3); }
.fe-stack--lg { gap: var(--space-7); }
.fe-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2) var(--space-5); margin-bottom: var(--space-5); }
.fe-head > div { flex: 1 1 320px; }
.fe-head p { margin: var(--space-2) 0 0; color: var(--ink-soft); max-width: 62ch; }
.fe-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); }
.fe-fine { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-soft); }
.fe-on-ink .fe-fine, .fe-on-ink .fe-muted { color: var(--on-ink-soft); }
.fe-on-ink :where(a) { color: var(--on-ink); }
.fe-hero { padding-block: var(--space-7); }
.fe-hero--page { padding-block: var(--space-6) var(--space-7); }

@media (max-width: 900px) {
  .fe-split, .fe-split--even, .fe-split--aside { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .fe-section { padding-block: var(--space-7); }
  .fe-section--tight { padding-block: var(--space-6); }
  .fe-hero { padding-block: var(--space-6); }
}
@media (max-width: 720px) {
  .fe-wrap { padding-inline: var(--space-4); }
  .fe-display { font-size: 34px; line-height: 38px; }
  .fe-h1 { font-size: 30px; line-height: 35px; }
  .fe-h2 { font-size: 24px; line-height: 30px; }
  .fe-lead { font-size: 17px; line-height: 27px; }
}

/* ---------- Button ---------- */
.fe-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; padding: 10px var(--space-4) 8px; border: 2px solid transparent; border-radius: var(--radius-md); font-family: var(--font-sans); font-size: 16px; line-height: 22px; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .12s ease, color .12s ease; }
.fe-btn--signal { background: var(--signal); color: var(--on-signal); }
.fe-btn--signal:hover { background: var(--ink); color: var(--on-ink); }
.fe-on-ink .fe-btn--signal:hover { background: var(--surface); color: var(--ink); }
.fe-btn--ink { background: var(--ink); color: var(--on-ink); }
.fe-btn--ink:hover { background: var(--brand-deep); color: var(--on-ink); }
.fe-btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.fe-btn--line:hover { background: var(--mist); color: var(--ink); }
.fe-on-ink .fe-btn--line { color: var(--on-ink); border-color: var(--on-ink); }
.fe-on-ink .fe-btn--line:hover { background: var(--brand-deep); color: var(--on-ink); }
.fe-btn--lg { min-height: 52px; padding: 13px var(--space-5) 11px; font-size: 17px; line-height: 24px; }
.fe-btn--sm { min-height: 36px; padding: 7px var(--space-3) 5px; font-size: 14px; line-height: 20px; }
.fe-btn--block { width: 100%; }
.fe-btn[disabled], .fe-btn[aria-disabled="true"] { background: var(--mist); color: var(--ink-soft); border-color: var(--rule); cursor: not-allowed; }
.fe-link { color: var(--ink); font-weight: 600; }
.fe-link:hover { color: var(--brand-deep); }
.fe-on-ink .fe-link { color: var(--on-ink); }

/* ---------- Badge en Tag ---------- */
.fe-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px var(--space-2) 1px; border-radius: var(--radius-sm); font-size: 13px; line-height: 18px; font-weight: 600; white-space: nowrap; }
.fe-badge::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: -2px; }
.fe-badge--aanvraag { background: var(--signal-soft); color: var(--signal-text); }
.fe-badge--aanvraag::before { background: var(--signal); }
.fe-badge--vergund { background: var(--brand-soft); color: var(--brand-deep); }
.fe-badge--vergund::before { background: var(--brand); border-radius: 50%; }
.fe-badge--gemeld { background: var(--mist); color: var(--ink-soft); }
.fe-badge--gemeld::before { border: 2px solid var(--ink-soft); border-radius: 50%; }
.fe-tag { display: inline-flex; align-items: center; padding: 2px var(--space-2) 0; border: 1px solid var(--rule); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink-soft); font-size: 13px; line-height: 18px; white-space: nowrap; }
.fe-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Register en EventRow ---------- */
.fe-registerbox { container-type: inline-size; }
.fe-register { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.fe-row { position: relative; display: grid; grid-template-columns: var(--date-col) minmax(0, 1fr) auto; column-gap: var(--space-4); align-items: baseline; padding: var(--space-3) var(--space-2); border-bottom: 1px solid var(--rule); }
.fe-row:hover { background: var(--mist); }
.fe-row-date { font-size: 15px; line-height: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fe-row-main { min-width: 0; }
.fe-row-title { color: var(--ink); font-size: 17px; line-height: 24px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.fe-row-title::after { content: ""; position: absolute; inset: 0; }
.fe-row:hover .fe-row-title { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.fe-row-place { display: block; font-size: 14px; line-height: 20px; color: var(--ink-soft); }
.fe-row-meta { display: flex; gap: 6px; justify-self: end; align-items: center; }
.fe-register-month { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); margin: var(--space-6) 0 var(--space-2); }
.fe-register-month:first-child { margin-top: 0; }
.fe-register-month > :first-child { min-width: 0; }
.fe-register-month > :last-child { white-space: nowrap; }
.fe-register-month span { font-size: 14px; color: var(--ink-soft); }
.fe-register-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-4); margin: 0; padding: var(--space-3) var(--space-2); font-size: 15px; line-height: 22px; color: var(--ink-soft); }
@container (max-width: 560px) {
  .fe-row { grid-template-columns: var(--date-col) minmax(0, 1fr); }
  .fe-row-main { grid-column: 2; grid-row: 1 / span 2; }
  .fe-row-meta { grid-column: 1; grid-row: 2; justify-self: start; margin-top: 2px; }
}
@container (max-width: 400px) {
  .fe-row { grid-template-columns: minmax(0, 1fr) auto; }
  .fe-row-date { grid-column: 1; grid-row: 1; }
  .fe-row-meta { grid-column: 2; grid-row: 1; justify-self: end; margin-top: 0; }
  .fe-row-main { grid-column: 1 / -1; grid-row: 2; }
}

/* Gelakt: aangevraagde evenementen die alleen met vroege toegang leesbaar zijn */
.fe-lak { display: inline-block; width: min(var(--w, 8ch), 100%); height: 0.72em; border-radius: var(--radius-sm); background: var(--signal); }
.fe-lak--sm { height: 8px; }
.fe-lakblok { margin-top: var(--space-3); padding: var(--space-3) var(--space-4) var(--space-4); border-radius: var(--radius-lg); background: var(--signal-soft); }
.fe-lakblok-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-4); margin-bottom: var(--space-2); }
.fe-lakblok-head p { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink); }
.fe-lakblok .fe-register { border-top: 0; }
.fe-lakblok .fe-row { padding-inline: 0; border-bottom: 2px solid var(--surface); }
.fe-lakblok .fe-row:hover { background: transparent; }
.fe-lakblok-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-5); margin-top: var(--space-4); }
.fe-lakblok-foot p { flex: 1 1 240px; margin: 0; font-weight: 700; line-height: 24px; }
.fe-lakblok-foot p span { display: block; font-size: 14px; line-height: 20px; font-weight: 400; }

/* ---------- FactTable ---------- */
.fe-facts { display: grid; grid-template-columns: minmax(112px, 180px) minmax(0, 1fr); margin: 0; border-top: 2px solid var(--ink); }
.fe-facts dt, .fe-facts dd { margin: 0; padding: var(--space-3) var(--space-2); border-bottom: 1px solid var(--rule); }
.fe-facts dt { font-size: 15px; color: var(--ink-soft); }
.fe-facts dd { font-weight: 600; }
.fe-facts--lak { border-top: 0; }
.fe-facts--lak dt, .fe-facts--lak dd { padding-inline: 0; border-bottom: 2px solid var(--surface); }
.fe-facts--lak dt { color: var(--ink); }
.fe-source { display: flex; gap: var(--space-2); align-items: flex-start; margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-soft); }
.fe-source .fe-icon { margin-top: -1px; }

/* ---------- CountList en chips ---------- */
.fe-counts { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.fe-counts--cols { columns: 2; column-gap: var(--space-6); }
.fe-counts--cols .fe-count { break-inside: avoid; }
.fe-count { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); padding: 10px var(--space-2) 9px; border-bottom: 1px solid var(--rule); }
.fe-count::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 3px; width: calc(var(--share, 0) * 100%); background: var(--brand); }
.fe-count a { color: var(--ink); font-weight: 600; text-decoration: none; }
.fe-count a::after { content: ""; position: absolute; inset: 0; }
.fe-count:hover { background: var(--mist); }
.fe-count:hover a { text-decoration: underline; text-decoration-thickness: 2px; }
.fe-count b { font-variant-numeric: tabular-nums; }
.fe-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.fe-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 6px var(--space-3) 4px; border: 1.5px solid var(--control); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); font-size: 15px; line-height: 20px; text-decoration: none; }
.fe-chip:hover { border-color: var(--ink); background: var(--mist); color: var(--ink); }
@media (max-width: 560px) { .fe-counts--cols { columns: 1; } }
@media (max-width: 560px) { .fe-search-row .fe-btn { flex: 1 1 100%; } }

/* ---------- MonthBars ---------- */
.fe-months { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-3) var(--space-4); align-items: center; margin: 0; }
.fe-months dt { font-size: 14px; line-height: 20px; color: var(--ink-soft); white-space: nowrap; }
.fe-months dd { display: grid; gap: 3px; margin: 0; }
.fe-bar { display: flex; align-items: center; gap: var(--space-2); font-size: 13px; line-height: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fe-bar::before { content: ""; flex: none; width: calc(var(--n) / var(--max) * (100% - 5ch)); min-width: 3px; height: 10px; border-radius: 2px; background: var(--brand); }
.fe-bar--zero { color: var(--ink-soft); font-weight: 400; }
.fe-bar--zero::before { display: none; }
.fe-bar--aanvraag { color: var(--signal-text); }
.fe-bar--aanvraag::before { background: var(--signal); }
.fe-legend { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-4); padding: 0; list-style: none; }

/* ---------- PlaceMap ---------- */
.fe-map { margin: 0; }
.fe-map svg { display: block; width: 100%; height: auto; max-width: 420px; }
.fe-map-land { fill: var(--rule); }
.fe-map-dot { fill: var(--brand); fill-opacity: .78; stroke: var(--surface); stroke-width: 1.5; }
.fe-map figcaption { margin-top: var(--space-3); font-size: 14px; line-height: 20px; color: var(--ink-soft); }

/* ---------- SearchField en Segmented ---------- */
.fe-search { display: grid; gap: var(--space-2); }
.fe-label { display: block; font-size: 15px; line-height: 20px; font-weight: 700; }
.fe-search-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-2) var(--space-4); }
.fe-search-opt { display: flex; align-items: center; gap: var(--space-2); font-size: 14px; line-height: 20px; color: var(--ink-soft); }
.fe-search-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.fe-search-row .fe-btn { flex: 0 0 auto; min-height: 48px; }
.fe-input, .fe-select { flex: 1 1 200px; min-width: 0; min-height: 48px; padding: 12px var(--space-3) 10px; border: 1.5px solid var(--control); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 24px; }
.fe-input::placeholder { color: var(--ink-soft); opacity: 1; }
.fe-input:hover, .fe-select:hover { border-color: var(--ink); }
.fe-input:focus-visible, .fe-select:focus-visible { border-color: var(--brand); border-radius: var(--radius-md); }
.fe-seg { display: inline-flex; flex: none; border: 1.5px solid var(--control); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.fe-seg > * { position: relative; display: inline-flex; align-items: center; min-height: 45px; padding: 4px var(--space-3) 2px; border-left: 1.5px solid var(--control); color: var(--ink); font-size: 15px; line-height: 20px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.fe-seg > *:first-child { border-left: 0; }
.fe-seg--sm > * { min-height: 33px; padding-inline: 10px; font-size: 14px; }
.fe-seg > *:hover { background: var(--mist); color: var(--ink); }
.fe-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.fe-seg > *:has(input:checked), .fe-seg > [aria-current] { background: var(--ink); color: var(--on-ink); }
.fe-seg > *:has(input:focus-visible), .fe-seg > a:focus-visible { box-shadow: inset 0 0 0 3px var(--brand); border-radius: 0; }

/* ---------- LeadTimeline (voorsprong) ---------- */
.fe-leadline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 2fr); }
.fe-leadline li { position: relative; padding: 34px var(--space-5) 0 0; }
.fe-leadline li::before { content: ""; position: absolute; top: 0; left: 0; z-index: 1; width: 18px; height: 18px; background: var(--signal); }
.fe-leadline li::after { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 8px; background: var(--signal); }
.fe-leadline li:nth-child(2)::before { border-radius: 50%; background: var(--brand); }
.fe-leadline li:nth-child(2)::after { top: 8px; height: 2px; background: var(--brand); }
.fe-leadline li:nth-child(3)::before { border-radius: 50%; background: var(--ink); }
.fe-leadline li:nth-child(3)::after { display: none; }
.fe-leadline b { display: block; font-size: 17px; line-height: 24px; font-weight: 700; }
.fe-leadline span { display: block; margin-top: 2px; font-size: 14px; line-height: 20px; color: var(--ink-soft); }
@media (max-width: 720px) {
  .fe-leadline { grid-template-columns: minmax(0, 1fr); }
  .fe-leadline li { padding: 0 0 var(--space-5) 34px; }
  .fe-leadline li::after { top: 0; bottom: 0; left: 5px; right: auto; width: 8px; height: auto; }
  .fe-leadline li:nth-child(2)::after { top: 0; left: 8px; width: 2px; height: auto; }
  .fe-leadline li:nth-child(3) { padding-bottom: 0; }
}

/* ---------- CompareTable ---------- */
.fe-compare { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.fe-compare th, .fe-compare td { padding: var(--space-3); border-bottom: 1px solid var(--rule); text-align: left; vertical-align: middle; }
.fe-compare thead th { border-bottom: 2px solid var(--ink); font-size: 18px; line-height: 24px; font-weight: 800; vertical-align: bottom; }
.fe-compare thead th small { display: block; font-size: 14px; line-height: 20px; font-weight: 400; color: var(--ink-soft); }
.fe-compare tbody th { font-weight: 400; padding-left: var(--space-2); }
.fe-compare tr.is-extra th { font-weight: 700; }
.fe-compare :is(th, td):nth-child(n+2) { width: 18%; text-align: center; }
.fe-compare :is(th, td):nth-child(3) { width: 27%; }
.fe-compare :is(th, td):nth-child(3) { background: var(--signal-soft); border-bottom-color: var(--surface); }
.fe-compare thead th:nth-child(3) { border-bottom-color: var(--ink); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.fe-compare .fe-icon--minus { color: var(--control); }
@media (max-width: 560px) {
  .fe-compare { font-size: 14px; line-height: 20px; }
  .fe-compare th, .fe-compare td { padding: 10px var(--space-2); }
  .fe-compare thead th { font-size: 15px; line-height: 20px; }
  .fe-compare :is(th, td):nth-child(2) { width: 19%; }
  .fe-compare :is(th, td):nth-child(3) { width: 30%; }
}

/* ---------- Pricing ---------- */
.fe-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.fe-price { padding: var(--space-4) var(--space-5) var(--space-5) 0; }
.fe-price + .fe-price { padding-left: var(--space-5); border-left: 1px solid var(--rule); }
.fe-price h3 { margin: 0; font-size: 17px; line-height: 24px; font-weight: 700; }
.fe-price-amount { margin: var(--space-2) 0; font-size: 40px; line-height: 44px; font-weight: 800; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.fe-price-amount small { display: block; font-size: 15px; line-height: 20px; font-weight: 400; letter-spacing: 0; color: var(--ink-soft); }
.fe-price p:last-child { margin: 0; font-size: 15px; line-height: 22px; color: var(--ink-soft); }
@media (max-width: 480px) {
  .fe-prices { grid-template-columns: minmax(0, 1fr); }
  .fe-price + .fe-price { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
}

/* ---------- Steps ---------- */
.fe-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5) var(--space-6); counter-reset: fe-step; }
.fe-steps li { counter-increment: fe-step; padding-top: var(--space-3); border-top: 2px solid var(--ink); }
.fe-steps li::before { content: counter(fe-step); display: block; margin-bottom: var(--space-1); font-size: 28px; line-height: 34px; font-weight: 800; font-variant-numeric: tabular-nums; }
.fe-steps b { display: block; font-size: 17px; line-height: 24px; }
.fe-steps span { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 15px; line-height: 23px; }
.fe-steps--stack { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 720px) { .fe-steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- MailPreview ---------- */
.fe-mail { margin: 0; }
.fe-mail-frame { border: 2px solid var(--ink); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.fe-mail-head { padding: var(--space-3) var(--space-4); background: var(--mist); border-bottom: 1px solid var(--rule); }
.fe-mail-from { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 var(--space-3); margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-soft); }
.fe-mail-from b { color: var(--ink); }
.fe-mail-subject { margin: 2px 0 0; font-size: 17px; line-height: 24px; font-weight: 700; }
.fe-mail-list { list-style: none; margin: 0; padding: 0 var(--space-4); }
.fe-mail-item { padding: var(--space-4) 0; border-bottom: 1px solid var(--rule); }
.fe-mail-item:last-child { border-bottom: 0; }
.fe-mail-item h4 { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-2); margin: 0; font-size: 17px; line-height: 24px; font-weight: 700; }
.fe-mail-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 var(--space-4); margin: var(--space-2) 0; font-size: 14px; line-height: 22px; }
.fe-mail-facts dt { color: var(--ink-soft); }
.fe-mail-facts dd { margin: 0; }
.fe-mail-item a { font-size: 14px; }
.fe-mail figcaption { margin-top: var(--space-2); font-size: 14px; line-height: 20px; color: var(--ink-soft); }

/* ---------- CtaBand en CtaBar ---------- */
.fe-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-5) var(--space-7); align-items: center; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--ink); color: var(--on-ink); }
.fe-cta p { margin: var(--space-2) 0 0; }
.fe-cta-act { display: grid; gap: var(--space-2); justify-items: start; }
.fe-ctabar { display: none; position: sticky; bottom: 0; z-index: 5; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-2) var(--space-4); background: var(--ink); color: var(--on-ink); font-size: 14px; line-height: 18px; }
.fe-ctabar p { margin: 0; }
.fe-ctabar b { display: block; font-size: 15px; line-height: 20px; }
.fe-ctabar .fe-btn { flex: none; }
@media (max-width: 900px) {
  .fe-cta { grid-template-columns: minmax(0, 1fr); padding: var(--space-5); }
}
@media (max-width: 720px) { .fe-ctabar { display: flex; } }

/* ---------- Formulier ---------- */
.fe-form { display: grid; gap: var(--space-5); max-width: 520px; }
.fe-field { display: grid; gap: 6px; min-width: 0; border: 0; margin: 0; padding: 0; }
.fe-field legend { padding: 0; margin-bottom: 6px; }
.fe-field .fe-seg { justify-self: start; }
.fe-hint { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-soft); }
.fe-error { margin: 0; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--danger); }
.fe-field.is-error .fe-input { border-color: var(--danger); border-width: 2px; }
.fe-checks { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.fe-check { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 7px var(--space-3) 5px; border: 1.5px solid var(--control); border-radius: var(--radius-md); background: var(--surface); font-size: 15px; line-height: 20px; cursor: pointer; }
.fe-check:hover { border-color: var(--ink); }
.fe-check input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.fe-check:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.fe-check:has(input:focus-visible) { box-shadow: var(--focus-ring); }
.fe-notice { display: flex; gap: var(--space-2); align-items: flex-start; margin: 0; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--brand-soft); color: var(--ink); }
.fe-notice .fe-icon { margin-top: 2px; color: var(--brand-deep); }
.fe-notice--error { background: var(--danger-soft); color: var(--danger); font-weight: 600; }

/* ---------- SiteHeader, Breadcrumb, SiteFooter ---------- */
.fe-header { border-bottom: 1px solid var(--rule); background: var(--surface); }
.fe-header-in { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-5); min-height: 64px; }
.fe-wordmark { display: inline-flex; align-items: baseline; gap: 5px; padding-top: 3px; color: var(--ink); font-size: 20px; line-height: 24px; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.fe-wordmark b { font-weight: 800; }
.fe-wordmark:hover { color: var(--ink); }
.fe-header-for { padding-top: 3px; font-size: 14px; line-height: 20px; color: var(--ink-soft); white-space: nowrap; }
.fe-nav { display: flex; align-items: center; gap: var(--space-5); margin-left: auto; font-size: 15px; line-height: 20px; }
.fe-nav a { padding: 6px 0 2px; border-bottom: 2px solid transparent; color: var(--ink); text-decoration: none; white-space: nowrap; }
.fe-nav a:hover { border-bottom-color: var(--ink); }
.fe-nav a[aria-current="page"] { border-bottom-color: var(--ink); font-weight: 700; }
.fe-crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 20px; color: var(--ink-soft); }
.fe-crumbs li + li::before { content: "/"; margin-inline: var(--space-2); color: var(--control); }
.fe-crumbs a { color: var(--ink-soft); }
.fe-crumbs a:hover { color: var(--ink); }
.fe-footer { padding-block: var(--space-6); border-top: 1px solid var(--rule); font-size: 14px; line-height: 22px; color: var(--ink-soft); }
.fe-footer-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-4) var(--space-7); }
.fe-footer p { margin: 0; max-width: 56ch; }
.fe-footer nav { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); align-content: start; }
.fe-footer a { color: var(--ink); }
.fe-trust { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 20px; color: var(--ink-soft); }
.fe-trust li { display: flex; align-items: center; gap: 6px; }
@media (max-width: 480px) {
  .fe-header-in { column-gap: var(--space-3); }
  .fe-wordmark { font-size: 18px; }
  .fe-facts { grid-template-columns: minmax(96px, 132px) minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .fe-header-for { display: none; }
  .fe-header-in { padding-top: var(--space-2); }
  .fe-nav { order: 3; flex-basis: 100%; margin-left: 0; overflow-x: auto; padding-block: var(--space-2); }
  .fe-header-cta { order: 2; margin-left: auto; }
  .fe-footer-in { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Prose ---------- */
.fe-prose { max-width: 64ch; }
.fe-prose > * { margin: 0; }
.fe-prose > * + * { margin-top: var(--space-4); }
.fe-prose h2 { margin-top: var(--space-7); font-size: 24px; line-height: 30px; font-weight: 800; letter-spacing: -0.01em; }
.fe-prose h2:first-child { margin-top: 0; }
.fe-prose h3 { margin-top: var(--space-6); font-size: 19px; line-height: 26px; font-weight: 700; }
.fe-prose ul { padding-left: 20px; }
.fe-prose li + li { margin-top: var(--space-2); }
.fe-prose li::marker { color: var(--control); }

@media (prefers-reduced-motion: reduce) { .fe-btn { transition: none; } }

/* =====================================================================
   Flowsafe Cijfers: onderdelen voor cijfers.flowsafe.nl.
   Zelfde tokens en basis. Geen style-attributen nodig: grafieken zijn
   inline SVG met attributen, kleur en lijn komen uit deze klassen.
   ===================================================================== */

/* ---------- Voorbeeldbalk, bron ---------- */
.fe-demo { padding-block: var(--space-2); background: var(--brand-soft); font-size: 14px; line-height: 20px; }
.fe-bron { margin: var(--space-3) 0 0; font-size: 13px; line-height: 18px; color: var(--ink-soft); }

/* ---------- KpiTiles (kengetal-tegels) ---------- */
.fe-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.fe-kpis--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fe-kpis--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fe-kpi { padding: var(--space-4) var(--space-4) var(--space-5) 0; }
.fe-kpi + .fe-kpi { padding-left: var(--space-4); border-left: 1px solid var(--rule); }
.fe-kpi dt { font-size: 15px; line-height: 20px; font-weight: 700; }
.fe-kpi dd { display: grid; gap: 2px; margin: 0; }
.fe-kpi-num { margin-top: var(--space-2); font-size: 40px; line-height: 44px; font-weight: 800; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fe-kpi-num small { margin-left: 2px; font-size: 20px; font-weight: 700; letter-spacing: 0; }
.fe-kpi-text { font-size: 14px; line-height: 20px; color: var(--ink-soft); }
.fe-ref { display: flex; align-items: center; gap: 6px; margin-top: var(--space-2); font-size: 14px; line-height: 20px; font-weight: 600; }
.fe-ref::before { content: ""; flex: none; width: 10px; height: 10px; border: 2px solid var(--control); background: var(--mist); }
@media (max-width: 900px) {
  .fe-kpis, .fe-kpis--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fe-kpi:nth-child(odd) { padding-left: 0; border-left: 0; }
  .fe-kpi:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .fe-kpi-num { font-size: 32px; line-height: 36px; }
  .fe-kpi-num small { font-size: 17px; }
}

/* ---------- TrendChart en Sparkline ---------- */
.fe-chart { margin: 0; container-type: inline-size; }
.fe-chart svg { display: block; width: 100%; height: auto; }
.fe-chart .fe-chart-narrow { display: none; }
@container (max-width: 560px) {
  .fe-chart .fe-chart-wide { display: none; }
  .fe-chart .fe-chart-narrow { display: block; }
}
.fe-ch-grid { stroke: var(--rule); stroke-width: 1; }
.fe-ch-base { stroke: var(--ink); stroke-width: 2; }
.fe-ch-label { fill: var(--ink-soft); font-size: 12px; font-variant-numeric: tabular-nums; }
.fe-chart-narrow .fe-ch-label { font-size: 13px; }
.fe-ch-begroot { fill: var(--surface); stroke: var(--brand); stroke-width: 2; }
.fe-ch-real { fill: var(--brand); }
.fe-ch-median { fill: none; stroke: var(--control); stroke-width: 2; stroke-linejoin: round; }
.fe-ch-mdot { fill: var(--surface); stroke: var(--control); stroke-width: 2; }
.fe-keys { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); list-style: none; margin: 0 0 var(--space-3); padding: 0; font-size: 14px; line-height: 20px; }
.fe-key { display: flex; align-items: center; gap: 6px; }
.fe-key::before { content: ""; flex: none; width: 12px; height: 12px; }
.fe-key--begroot::before { border: 2px solid var(--brand); background: var(--surface); }
.fe-key--real::before { background: var(--brand); }
.fe-key--median::before { width: 18px; height: 0; border-top: 2px solid var(--control); }
.fe-key--band::before { width: 18px; height: 10px; border: 1.5px solid var(--control); background: var(--mist); }
.fe-key--self::before { width: 6px; height: 14px; background: var(--brand); }
.fe-key--mid::before { width: 0; height: 14px; border-left: 2px solid var(--ink); }
.fe-spark { display: block; flex: none; width: 96px; height: 28px; }
.fe-spark-line { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.fe-spark-ref { fill: none; stroke: var(--control); stroke-width: 1.5; }
.fe-spark-dot { fill: var(--brand); }

/* ---------- CompareBar ---------- */
.fe-cmpbox { display: grid; gap: var(--space-1); }
.fe-cmp-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 var(--space-4); margin: 0; font-size: 15px; line-height: 22px; }
.fe-cmp { display: block; width: 100%; height: 24px; }
.fe-cmp-band { fill: var(--mist); stroke: var(--control); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.fe-cmp-median { stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.fe-cmp-self { fill: var(--brand); }
.fe-cmp-ends { display: flex; justify-content: space-between; margin: 0; font-size: 13px; line-height: 18px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* ---------- Tabel en TaskTable ---------- */
.fe-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); font-size: 15px; line-height: 22px; font-variant-numeric: tabular-nums; }
.fe-table th, .fe-table td { padding: var(--space-3) var(--space-2); border-bottom: 1px solid var(--rule); text-align: left; vertical-align: middle; }
.fe-table thead th { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink-soft); vertical-align: bottom; }
.fe-table thead a { color: var(--ink-soft); }
.fe-table thead th[aria-sort] a { color: var(--ink); font-weight: 700; }
.fe-table thead th small { display: block; font-weight: 400; }
.fe-table tbody th { font-size: 16px; font-weight: 700; }
.fe-table tbody th a { color: var(--ink); text-decoration: none; }
.fe-table tbody th a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.fe-table tbody tr:hover { background: var(--mist); }
.fe-table .is-num { text-align: right; white-space: nowrap; }
.fe-table td small, .fe-table tbody th small { display: block; font-size: 13px; line-height: 18px; font-weight: 400; color: var(--ink-soft); }
.fe-table .fe-nr { display: inline-block; min-width: 1.5em; font-weight: 400; color: var(--ink-soft); }
.fe-table .fe-cmp { width: 132px; height: 16px; margin-top: 3px; }
.fe-table .fe-spark { margin-left: auto; }
.fe-table-foot { margin: 0; padding: var(--space-3) var(--space-2); font-size: 15px; line-height: 22px; color: var(--ink-soft); }
@media (max-width: 720px) { .fe-table .is-wide, .fe-wide-only { display: none; } }

/* ---------- Filter (links, geen script) ---------- */
.fe-filter { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.fe-filter > span:first-child { flex: 0 0 104px; font-size: 14px; line-height: 20px; font-weight: 700; }
.fe-chip[aria-current] { border-color: var(--ink); background: var(--ink); color: var(--on-ink); }

/* ---------- Explainer en MunicipalityPicker (details) ---------- */
.fe-explain { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.fe-explain + .fe-explain { border-top: 0; }
.fe-explain summary { display: flex; align-items: baseline; gap: var(--space-3); padding: var(--space-3) var(--space-2); font-weight: 700; cursor: pointer; list-style: none; }
.fe-explain summary::-webkit-details-marker { display: none; }
.fe-explain summary::before { content: "+"; flex: none; width: 16px; font-weight: 400; text-align: center; }
.fe-explain[open] summary::before { content: "\2212"; }
.fe-explain summary:hover { background: var(--mist); }
.fe-explain summary span { margin-left: auto; font-size: 14px; font-weight: 400; color: var(--ink-soft); white-space: nowrap; }
.fe-explain-body { max-width: 72ch; padding: 0 var(--space-2) var(--space-4) calc(16px + var(--space-3) + var(--space-2)); }
.fe-explain-body--wide { max-width: none; }
.fe-explain-body > * { margin: 0; }
.fe-explain-body > * + * { margin-top: var(--space-3); }
@media (max-width: 560px) { .fe-explain-body { padding-left: var(--space-2); } }

/* ---------- AskClaude ---------- */
.fe-ask { border: 2px solid var(--ink); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.fe-ask-q { padding: var(--space-4) var(--space-5); background: var(--mist); border-bottom: 1px solid var(--rule); }
.fe-ask-who { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-soft); }
.fe-ask-q .fe-ask-text { margin: 2px 0 0; font-size: 20px; line-height: 28px; font-weight: 700; text-wrap: balance; }
.fe-ask-a { display: grid; gap: var(--space-3); padding: var(--space-4) var(--space-5); }
.fe-ask-a p { margin: 0; }
.fe-ask-a .fe-explain:last-child { border-bottom: 0; }
.fe-ask-a > div:empty { display: none; }
.fe-ask-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); padding: var(--space-4) var(--space-5); border-top: 1px solid var(--rule); }
.fe-code { margin: 0; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--mist); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 20px; white-space: pre; overflow-x: auto; }
@media (max-width: 560px) {
  .fe-ask-q, .fe-ask-a, .fe-ask-foot { padding-inline: var(--space-4); }
  .fe-ask-q .fe-ask-text { font-size: 18px; line-height: 26px; }
}

/* ---------- TwoPaths ---------- */
.fe-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.fe-path { display: grid; align-content: start; gap: var(--space-3); padding: var(--space-6); border: 2px solid var(--ink); border-radius: var(--radius-lg); }
.fe-path--ink { background: var(--ink); color: var(--on-ink); }
.fe-path p { margin: 0; }
.fe-path .fe-btn { justify-self: start; margin-top: var(--space-2); }
@media (max-width: 720px) {
  .fe-paths { grid-template-columns: minmax(0, 1fr); }
  .fe-path { padding: var(--space-5); }
}

/* ---------- Blokken, trendregels, lege staat ---------- */
.fe-blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-7); }
.fe-block { display: grid; align-content: start; gap: var(--space-3); padding-top: var(--space-4); border-top: 2px solid var(--ink); }
.fe-block p { margin: 0; }
.fe-block .fe-kpis { border-top: 0; }
.fe-block .fe-kpi { padding-top: 0; }
.fe-trends { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.fe-trend { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--rule); }
.fe-trend b { display: block; }
.fe-trend span { display: block; font-size: 14px; line-height: 20px; color: var(--ink-soft); }
.fe-empty { margin: 0; padding: var(--space-4); border: 1.5px dashed var(--control); border-radius: var(--radius-md); color: var(--ink-soft); }
@media (max-width: 900px) { .fe-blocks { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } }

/* ---------- Eigen regels van de site ---------- */
:root { color-scheme: light; }
/* Een grid zonder kolommen groeit mee met zijn breedste kind (een tabel, een codeblok); zo blijft alles binnen het scherm */
.fe-stack, .fe-block, .fe-ask-a { grid-template-columns: minmax(0, 1fr); }
.fe-hero .fe-crumbs { margin-bottom: calc(-1 * var(--space-2)); }
.fe-head h2 { margin: 0; }
.fe-sub { margin: var(--space-2) 0 0; color: var(--ink-soft); max-width: 62ch; }
/* Tabellen die op een telefoon breder zijn dan het scherm, schuiven binnen hun eigen vak */
.fe-tabelvak { max-width: 100%; overflow-x: auto; }
.fe-table caption { text-align: left; }
.fe-table td.fe-geen { color: var(--ink-soft); }
/* KpiTiles met één tegel (in een blok) */
.fe-kpis--1 { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) { .fe-kpis--1 { grid-template-columns: minmax(0, 1fr); } }
/* Gemeentekiezer: chips in een provincie */
.fe-picker .fe-explain-body .fe-chips { margin: 0; }
.fe-picker { scroll-margin-top: var(--space-4); }
/* Koppelen: het adres van de open koppeling */
.fe-adres { display: inline-block; max-width: 100%; padding: 2px var(--space-2); border-radius: var(--radius-sm); background: var(--mist); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; overflow-wrap: anywhere; }
.fe-steps code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
/* Thema's op de startpagina */
.fe-themas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.fe-themas li { padding-top: var(--space-3); border-top: 2px solid var(--ink); }
.fe-themas b { display: block; }
.fe-themas span { display: block; font-size: 15px; line-height: 22px; color: var(--ink-soft); }
@media (max-width: 900px) { .fe-themas { grid-template-columns: minmax(0, 1fr); } }
/* Lijst met bronnen op /over-de-gegevens */
.fe-prose .fe-table { max-width: none; }
@media (max-width: 560px) { .fe-filter > span:first-child { flex-basis: 100%; } }
/* Begrip bij een cijfer (feedback 25-11, 2.3): <details> met een klein vraagteken; werkt zonder script, met toetsenbord
   en op een telefoon. De uitleg opent als blok onder het vraagteken, binnen het scherm. */
.fe-term { display: inline-block; position: relative; margin-left: 4px; vertical-align: baseline; font-weight: 400; text-transform: none; letter-spacing: 0; }
.fe-term summary { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border: 1px solid var(--ink-soft); border-radius: 50%; font-size: 12px; line-height: 1; cursor: pointer; list-style: none; color: var(--ink-soft); }
.fe-term summary::-webkit-details-marker { display: none; }
.fe-term summary:hover, .fe-term[open] summary { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.fe-term-body { position: absolute; z-index: 5; top: calc(100% + 6px); left: 0; width: min(20rem, 80vw); padding: 12px; border: 1px solid var(--rule); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-size: 14px; line-height: 20px; text-align: left; white-space: normal; box-shadow: 0 6px 18px rgba(15, 29, 64, .12); }
.is-num .fe-term-body, .fe-kpi .fe-term-body { left: auto; right: 0; }
.fe-terms { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
.fe-begrippen { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: var(--space-2) 16px; }
.fe-begrippen dt { font-weight: 700; }
.fe-begrippen dd { margin: 0; }
@media (max-width: 560px) { .fe-begrippen { grid-template-columns: minmax(0, 1fr); } .fe-begrippen dd { margin-bottom: var(--space-2); } }
/* Gemeentepagina per onderwerp (feedback 25-11, 3.2-3.4, 4.2) */
.fe-h4 { margin: 0; font-size: 17px; line-height: 24px; font-weight: 700; color: var(--ink); }
.fe-toc { position: sticky; top: 0; z-index: 4; background: var(--surface); border-bottom: 1px solid var(--rule); }
.fe-toc ul { display: flex; gap: var(--space-4); margin: 0; padding: 10px 0; list-style: none; overflow-x: auto; white-space: nowrap; }
.fe-toc a { color: var(--ink); font-size: 15px; text-decoration: none; }
.fe-toc a:hover { text-decoration: underline; }
.fe-section[id], .fe-block[id] { scroll-margin-top: 56px; }
.fe-blok-kop { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2); }
.fe-blok-kop h2 { margin: 0; }
.fe-blok-link { font-size: 14px; color: var(--ink-soft); }
.fe-thema > div + div { padding-top: var(--space-2); }
.fe-kern { display: grid; gap: var(--space-2); padding: var(--space-3); background: var(--mist); border-radius: var(--radius-sm); }
.fe-kern .fe-cmp { width: 100%; max-width: 320px; height: 24px; }
.fe-kern-band { display: grid; gap: 4px; }
.fe-downloads { margin-top: var(--space-2); }
.fe-wissel { max-width: 28rem; }
.fe-opening { display: grid; gap: var(--space-4); }
.fe-kan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
.fe-kan li { padding-top: var(--space-2); border-top: 2px solid var(--ink); }
.fe-kan b { display: block; }
.fe-kan span { display: block; font-size: 15px; line-height: 22px; color: var(--ink-soft); }
.fe-voorbeeld { padding: var(--space-3); border-left: 3px solid var(--brand); background: var(--mist); }
@media (max-width: 900px) { .fe-kan { grid-template-columns: minmax(0, 1fr); } }
/* Vraagteken naast de titel van een trendregel: de regels .fe-trend b/span (display: block) niet laten doorwerken */
.fe-trend > div > b { display: inline; }
.fe-trend > div > b + .fe-term + span, .fe-trend > div > b + span { display: block; }
.fe-trend .fe-term summary span { display: inline; font-size: inherit; line-height: 1; color: inherit; }
.fe-trend .fe-term .fe-term-body { display: block; color: var(--ink); }
/* Zoekveld op de start niet over de hele breedte */
.fe-hero .fe-search { max-width: 34rem; }
