:root { color-scheme: light dark; --ground: #f6f7fb; --paper: #ffffff; --paper-2: #f9fafc; --ink: #0e1120; --ink-soft: #5d6376; --line: rgba(14, 17, 32, 0.08); --line-strong: rgba(14, 17, 32, 0.22); --brand: #4f46e5; --brand-strong: #4338ca; --brand-ink: #ffffff; --rood: #b91c1c; --rood-soft: #fde4e4; --meldspoor: #0f766e; --meldspoor-soft: #d5f5ee; --radius-sm: 12px; }
@media (prefers-color-scheme: dark) { :root { --ground: #090b13; --paper: #10131d; --paper-2: #151927; --ink: #f3f4f9; --ink-soft: #9aa0b4; --line: rgba(255, 255, 255, 0.08); --line-strong: rgba(255, 255, 255, 0.22); --brand: #818cf8; --brand-strong: #a5b4fc; --brand-ink: #0b0d16; --rood: #fca5a5; --rood-soft: rgba(185, 28, 28, 0.18); --meldspoor: #5eead4; --meldspoor-soft: rgba(13, 148, 136, 0.18); } }
* { box-sizing: border-box; }
body.vf-pagina { margin: 0; background: var(--ground); color: var(--ink); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
.vf-hoofd { max-width: 720px; margin: 32px auto 64px; padding: 0 16px; }
.vf-site { margin: 0 0 16px; font-size: 14px; }
.vf-site a { color: var(--ink-soft); }
.vf-kader { background: var(--paper); border: 1px solid var(--line-strong); border-radius: 18px; padding: 28px 24px; }
.vf-titel { margin: 0 0 20px; font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; }
@media (max-width: 640px) { .vf-kader { padding: 20px 16px; } .vf-hoofd { margin-top: 16px; } }
/* === formulier F1-C === */
/* Formulierbouwer F1-C (BOUWCONTRACT_FORMULIERBOUWER_2026-10-29): het blok "Formulier" (vfb-) en het formulier zelf
   (vf-), zoals de server het rendert (@Formulier/publiek/_formulier.html.twig). Dezelfde regels gelden op de losse
   pagina van het formulier: het middel `stijl` levert dit deel van site.css met alleen de kleuren erboven. Geen
   inline stijlen; de huisstijlkleuren komen uit de variabelen van de site. Zonder script staan alle stappen onder
   elkaar; site.js (deel formulier F1-C) zet `vf-actief` op het formulier en toont dan één stap tegelijk. */
/* Uitlijning (2026-11-02): de smalle formulierkolom begint op de kantlijn (zoals de vragenlijst), niet in het midden. */
.vrijformulier .vfb-binnen > * { max-width: 704px; }
.vrijformulier .vfb-houder { margin-top: 24px; }
.vrijformulier .vfb-plek { border: 1px dashed var(--line-strong); border-radius: var(--radius-sm, 12px); padding: 20px; color: var(--ink-soft); background: var(--paper); }
.vrijformulier .vfb-plek[hidden], .vrijformulier .vfb-open[hidden] { display: none; }
.vrijformulier .vfb-open { margin-top: 8px; }
.vf-formulier { display: grid; gap: 22px; color: var(--ink); font-size: 16px; line-height: 1.5; }
.vf-formulier [hidden] { display: none !important; }
.vf-lok { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.vf-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.vf-stap { display: grid; gap: 18px; }
.vf-stapkop { font-size: 20px; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.vf-stapkop:focus { outline: none; }
.vf-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 20px; }
.vf-cel { grid-column: span 3; min-width: 0; }
.vf-cel--1 { grid-column: span 1; }
.vf-cel--2 { grid-column: span 2; }
.vf-veld, .vf-groepveld { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.vf-label { font-weight: 600; font-size: 15px; padding: 0; }
.vf-label--klein { font-weight: 500; font-size: 14px; color: var(--ink-soft); }
.vf-verplicht { color: var(--rood, #b91c1c); }
.vf-hulp { margin: 0; font-size: 14px; color: var(--ink-soft); }
.vf-informatie { margin: 0; color: var(--ink-soft); white-space: pre-line; }
.vf-tussenkop { margin: 8px 0 0; font-size: 18px; font-weight: 700; }
.vf-scheiding { border: 0; border-top: 1px solid var(--line-strong); margin: 4px 0; }
.vf-invoer { width: 100%; box-sizing: border-box; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 13px; min-height: 46px; }
textarea.vf-invoer { min-height: 120px; resize: vertical; }
.vf-invoer:focus-visible, .vf-keuze input:focus-visible, .vf-knop:focus-visible, .vf-canvas:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.vf-invoer[aria-invalid="true"], .vf-groepveld[aria-invalid="true"] .vf-invoer, [aria-invalid="true"] > .vf-invoer { border-color: var(--rood, #b91c1c); }
.vf-invoer--handtekening { font-family: "Segoe Script", "Brush Script MT", "Lucida Handwriting", cursive; font-size: 22px; }
.vf-bestand { padding: 9px; }
.vf-keuzes { display: grid; gap: 8px; }
.vf-keuze { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.vf-keuze input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.vf-schaal { display: flex; flex-wrap: wrap; gap: 8px; }
.vf-schaalpunt { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px 12px; cursor: pointer; }
.vf-schaalpunt input { accent-color: var(--brand); }
.vf-adres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.vf-adresdeel { display: grid; gap: 4px; font-size: 14px; color: var(--ink-soft); }
.vf-fout { margin: 0; color: var(--rood, #b91c1c); font-size: 14px; font-weight: 600; }
.vf-melding { border: 1px solid var(--rood, #b91c1c); background: var(--rood-soft, #fde4e4); color: var(--ink); border-radius: 10px; padding: 12px 14px; }
.vf-melding--goed { border-color: var(--meldspoor, #0f766e); background: var(--meldspoor-soft, #d5f5ee); }
.vf-berekend { display: block; font-weight: 700; font-variant-numeric: tabular-nums; background: var(--paper-2, var(--paper)); border: 1px solid var(--line); border-radius: 10px; padding: 10px 13px; min-height: 44px; box-sizing: border-box; }
.vf-herhaal { border: 1px solid var(--line-strong); border-radius: var(--radius-sm, 12px); padding: 16px; margin: 0; display: grid; gap: 14px; min-width: 0; }
.vf-rijen { display: grid; gap: 16px; }
.vf-rij { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.vf-rij:last-child { border-bottom: 0; padding-bottom: 0; }
.vf-tekenvlak { display: grid; gap: 8px; justify-items: start; }
.vf-canvas { width: 100%; max-width: 600px; height: 180px; background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; touch-action: none; cursor: crosshair; }
.vf-knoppen { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.vf-knop { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 700; cursor: pointer; background: var(--brand); color: var(--brand-ink); text-decoration: none; }
.vf-knop:hover { background: var(--brand-strong, var(--brand)); }
.vf-knop--licht { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.vf-knop--licht:hover { background: var(--paper); }
.vf-knop[disabled] { opacity: 0.6; cursor: progress; }
.vf-voortgang { display: grid; gap: 6px; }
.vf-voortgangtekst { margin: 0; font-size: 14px; color: var(--ink-soft); }
.vf-balk { height: 8px; border-radius: 999px; background: var(--line-strong); overflow: hidden; }
.vf-balkvulling { height: 100%; width: 0; border-radius: 999px; background: var(--brand); transition: width 0.25s ease; }
.vf-formulier.vf-actief .vf-stap.vf-weg, .vf-formulier.vf-actief .vf-cel.vf-weg { display: none; }
.vf-bedankt { border: 1px solid var(--meldspoor, #0f766e); background: var(--meldspoor-soft, #d5f5ee); color: var(--ink); border-radius: var(--radius-sm, 12px); padding: 16px 18px; }
.vf-bedankt p { margin: 0 0 6px; }
.vf-nummer strong { font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
@media (prefers-reduced-motion: reduce) { .vf-balkvulling { transition: none; } }
/* F2-E: "later verder" onder de knoppen, en de knop op de pagina van de hervatlink. */
.vf-later { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.vf-later > summary { cursor: pointer; font-weight: 600; color: var(--ink-soft); width: max-content; max-width: 100%; }
.vf-later > summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.vf-later[open] { gap: 10px; }
.vf-later .vf-knop { justify-self: start; }
.vf-hervat { margin: 16px 0 8px; }
/* einde F2-E */
/* Blokken 101-200, besluit 6 (2026-11-25): de nieuwe en verbeterde veldsoorten en de standaardonderdelen 144, 149 en
   158. Alleen de kleuren van de site (ook op de losse pagina, zie FormulierMiddelen) en color-mix; geen eigen kleuren. */
.vf-groepveld:focus, .vf-herhaal:focus, .vf-overzicht:focus { outline: none; }
.vf-overzicht { border: 2px solid var(--rood, #b91c1c); border-radius: 10px; padding: 12px 16px; background: var(--paper); }
.vf-overzicht:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.vf-overzicht__kop { margin: 0 0 6px; font-weight: 700; }
.vf-overzicht__lijst { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.vf-overzicht__lijst a { color: var(--rood, #b91c1c); font-weight: 600; text-underline-offset: 3px; }
.vf-overzicht--hersteld a { color: var(--ink-soft); text-decoration: line-through; font-weight: 500; }
.vf-overzicht--hersteld::marker { content: "✓  "; color: var(--meldspoor, #0f766e); }
.vf-knop--bezig::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: vf-draai 0.8s linear infinite; flex: none; }
.vf-knop--gelukt { background: var(--meldspoor, #0f766e); color: var(--paper); }
.vf-knop--gelukt::before { content: "✓"; font-weight: 700; }
.vf-knop--bezig[disabled], .vf-knop--gelukt[disabled] { opacity: 1; cursor: progress; }
.vf-knopfout { margin: -10px 0 0; color: var(--rood, #b91c1c); font-size: 14px; font-weight: 600; }
@keyframes vf-draai { to { transform: rotate(360deg); } }
.vf-knop--klein { min-height: 36px; padding: 0 14px; font-size: 14px; }
.vf-paar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.vf-samen { font-variant-numeric: tabular-nums; }
.vf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.vf-chip { appearance: none; font: inherit; font-size: 14px; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.vf-chip:hover { border-color: var(--brand); }
.vf-chip:focus-visible, .vf-tab:focus-visible, .vf-label-chip__weg:focus-visible, .vf-sleepvak:focus-within { outline: 3px solid var(--brand); outline-offset: 2px; }
.vf-chip[disabled] { opacity: 0.5; cursor: default; }
/* 147: de uitleg per stap onder het getal; "Weet ik niet" los ernaast. */
.vf-schaal--uitleg { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.vf-schaal--uitleg .vf-schaalpunt { flex-direction: column; align-items: flex-start; gap: 4px; }
.vf-schaalpunt:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--paper)); }
.vf-schaalgetal { font-weight: 700; }
.vf-schaaluitleg { font-size: 13px; color: var(--ink-soft); line-height: 1.35; }
.vf-schaalpunt--weetniet { border-style: dashed; }
/* 149: teller als ring en de waarschuwing bij een BSN of IBAN. */
.vf-bewaker { display: grid; gap: 6px; }
.vf-teller { display: inline-flex; align-items: center; gap: 6px; justify-self: end; font-size: 13px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.vf-teller__ring { width: 20px; height: 20px; transform: rotate(-90deg); }
.vf-teller__baan, .vf-teller__vol { fill: none; stroke-width: 3; }
.vf-teller__baan { stroke: var(--line-strong); }
.vf-teller__vol { stroke: var(--brand); stroke-dasharray: 56.55; stroke-dashoffset: calc(56.55 * (1 - var(--vf-vol, 0))); transition: stroke-dashoffset 0.15s ease; }
.vf-teller--bijna { color: var(--rood, #b91c1c); }
.vf-teller--bijna .vf-teller__vol { stroke: var(--rood, #b91c1c); }
.vf-waarschuwingen { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.vf-waarschuwing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid color-mix(in srgb, var(--rood, #b91c1c) 45%, var(--line)); background: color-mix(in srgb, var(--rood, #b91c1c) 7%, var(--paper)); border-radius: 10px; padding: 8px 10px; font-size: 14px; }
/* 152: controles van het rekeningnummer. */
.vf-invoer--iban { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; text-transform: uppercase; }
.vf-checks { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--ink-soft); }
.vf-check { display: inline-flex; align-items: center; gap: 6px; }
.vf-check__teken { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-strong); display: inline-grid; place-items: center; font-size: 11px; line-height: 1; }
.vf-check--goed { color: var(--ink); }
.vf-check--goed .vf-check__teken { border-color: var(--meldspoor, #0f766e); background: var(--meldspoor, #0f766e); color: var(--paper); }
.vf-check--goed .vf-check__teken::after { content: "✓"; }
.vf-check--fout { color: var(--rood, #b91c1c); }
.vf-check--fout .vf-check__teken { border-color: var(--rood, #b91c1c); }
.vf-check--fout .vf-check__teken::after { content: "×"; }
/* 151: landkeuze naast het nummer. */
.vf-telefoon { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 8px; }
/* 157: het voorstel bij een typfout. */
.vf-voorstel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px 10px; background: var(--paper-2, var(--paper)); }
.vf-voorstel p { margin: 0; flex: 1 1 12rem; }
/* 153: het raster met dagdelen; op smal blijft het binnen de breedte. */
.vf-beltijden { display: grid; grid-template-columns: max-content repeat(5, minmax(0, 1fr)); gap: 4px; align-items: center; }
.vf-beltijden__dag, .vf-beltijden__deel { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.vf-beltijden__dag { text-align: center; }
.vf-beltijden__deel { padding-right: 6px; }
.vf-beltijden__vak { position: relative; display: block; height: 40px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper); cursor: pointer; user-select: none; touch-action: manipulation; }
.vf-beltijden__vak input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.vf-beltijden__vak:has(input:checked) { background: var(--brand); border-color: var(--brand); }
.vf-beltijden__vak:has(input:checked)::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--brand-ink); font-weight: 700; pointer-events: none; }
.vf-beltijden__vak:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
/* 154: de schuif met twee grepen; de vulling loopt tussen de grepen. */
.vf-schuif { position: relative; height: 32px; margin: 4px 10px; --vf-van: 0; --vf-tot: 1; }
.vf-schuif__baan { position: absolute; left: 0; right: 0; top: 14px; height: 4px; border-radius: 999px; background: var(--line-strong); }
.vf-schuif__baan::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--vf-van) * 100%); right: calc((1 - var(--vf-tot)) * 100%); background: var(--brand); border-radius: 999px; }
.vf-schuif__greep { position: absolute; left: -10px; width: calc(100% + 20px); top: 0; height: 32px; margin: 0; background: none; pointer-events: none; appearance: none; -webkit-appearance: none; }
.vf-schuif__greep::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 2px solid var(--brand); cursor: grab; }
.vf-schuif__greep::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 2px solid var(--brand); cursor: grab; }
.vf-schuif__greep::-webkit-slider-runnable-track { background: none; }
.vf-schuif__greep::-moz-range-track { background: none; }
.vf-schuif__greep:focus-visible { outline: none; }
.vf-schuif__greep:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--brand); outline-offset: 2px; }
.vf-schuif__greep:focus-visible::-moz-range-thumb { outline: 3px solid var(--brand); outline-offset: 2px; }
/* 146: labels als chips in het veld. */
.vf-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 6px 8px; background: var(--paper); min-height: 46px; box-sizing: border-box; }
.vf-labels:focus-within { outline: 3px solid var(--brand); outline-offset: 2px; }
.vf-labels .vf-invoer { flex: 1 1 8rem; border: 0; min-height: 32px; padding: 4px; }
.vf-labels .vf-invoer:focus-visible { outline: none; }
.vf-labels__lijst { display: contents; }
.vf-label-chip { display: inline-flex; align-items: center; gap: 2px; max-width: 100%; background: color-mix(in srgb, var(--brand) 12%, var(--paper)); border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line)); border-radius: 999px; padding: 2px 4px 2px 10px; font-size: 14px; }
.vf-label-chip > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vf-label-chip--weg { background: color-mix(in srgb, var(--rood, #b91c1c) 14%, var(--paper)); border-color: var(--rood, #b91c1c); }
.vf-label-chip__weg { appearance: none; border: 0; background: none; color: inherit; font: inherit; font-size: 16px; line-height: 1; width: 26px; height: 26px; border-radius: 50%; cursor: pointer; flex: none; }
.vf-label-chip__weg:hover { background: color-mix(in srgb, var(--ink) 10%, transparent); }
.vf-labels__teller { justify-self: end; }
/* 143: het sleepvak met de lijst klaargezette bestanden. */
.vf-sleepvak { position: relative; display: grid; place-items: center; text-align: center; min-height: 96px; padding: 16px; border: 2px dashed var(--line-strong); border-radius: 12px; background: var(--paper); cursor: pointer; color: var(--ink-soft); }
.vf-sleepvak--boven { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--paper)); }
.vf-sleepvak__tekst { font-weight: 600; }
.vf-sleepvak__invoer { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.vf-ruimte { height: 6px; border-radius: 999px; background: var(--line-strong); overflow: hidden; --vf-ruimte: 0; }
.vf-ruimte::after { content: ""; display: block; height: 100%; width: calc(var(--vf-ruimte) * 100%); background: var(--brand); }
.vf-bestanden { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.vf-bestanden:empty { display: none; }
.vf-bestandregel { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 4px 12px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 14px; }
.vf-bestandregel__naam { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.vf-bestandregel__grootte { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.vf-bestandregel .vf-label-chip__weg { grid-column: 3; grid-row: 1; }
.vf-bestandregel__stand { grid-column: 1 / -1; grid-row: 2; color: var(--meldspoor, #0f766e); font-size: 13px; }
.vf-bestandregel--fout .vf-bestandregel__stand { color: var(--rood, #b91c1c); font-weight: 600; }
/* 160: tabbladen tekenen of typen, en de knoppen bij het tekenvlak. */
.vf-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 999px; width: max-content; max-width: 100%; }
.vf-tab { appearance: none; border: 0; background: none; color: var(--ink-soft); font: inherit; font-weight: 600; font-size: 14px; padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.vf-tab[aria-selected="true"] { background: var(--brand); color: var(--brand-ink); }
.vf-tekenknoppen { display: flex; flex-wrap: wrap; gap: 8px; }
.vf-tekenknoppen .vf-knop[disabled] { cursor: default; }
.vf-datumuit:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .vf-knop--bezig::before { animation: none; border-right-color: currentColor; } .vf-teller__vol { transition: none; } }
@media (max-width: 640px) {
    .vf-raster { grid-template-columns: minmax(0, 1fr); }
    .vf-telefoon { grid-template-columns: minmax(0, 1fr); }
    .vf-beltijden { grid-template-columns: max-content repeat(5, minmax(0, 1fr)); gap: 3px; }
    .vf-beltijden__vak { height: 36px; }
    .vf-cel, .vf-cel--1, .vf-cel--2 { grid-column: auto; }
    .vf-adres { grid-template-columns: minmax(0, 1fr); }
    .vf-knop { width: 100%; }
}
/* === einde formulier F1-C === */
