:root {
  --kleur: #1f4e79; --kleur-donker: #163a5a; --tekst: #1d2329; --grijs: #6b7480;
  --rand: #d9dee4; --achtergrond: #f4f6f8; --fout: #b42318; --ok: #1e7b45;
}
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--tekst); background: var(--achtergrond); }
a { color: var(--kleur); }
.kop { background: var(--kleur); color: #fff; }
.kop-binnen { max-width: 1100px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.merk { color: #fff; font-weight: 600; font-size: 17px; text-decoration: none; }
nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
nav a, nav .link { color: #fff; text-decoration: none; opacity: .9; }
nav a:hover, nav .link:hover { opacity: 1; text-decoration: underline; }
main { max-width: 1100px; margin: 24px auto; padding: 0 20px; }
.kaart { background: #fff; border: 1px solid var(--rand); border-radius: 8px; padding: 24px 28px; }
.kaart.smal { max-width: 460px; margin: 40px auto; }
h1 { font-size: 22px; margin: 0 0 16px; }
h2 { font-size: 17px; margin: 28px 0 8px; }
label { display: block; margin-bottom: 14px; font-weight: 500; }
label small { font-weight: 400; color: var(--grijs); }
input, select, textarea { display: block; width: 100%; margin-top: 4px; padding: 8px 10px; font: inherit; border: 1px solid var(--rand); border-radius: 5px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--kleur); outline-offset: -1px; }
input:disabled { background: var(--achtergrond); color: var(--grijs); }
label.vink { display: flex; gap: 8px; align-items: center; }
label.vink input { width: auto; margin: 0; }
button, .knop { display: inline-block; padding: 9px 16px; font: inherit; font-weight: 500; color: #fff; background: var(--kleur); border: 0; border-radius: 5px; cursor: pointer; text-decoration: none; }
button:hover, .knop:hover { background: var(--kleur-donker); }
button.secundair { background: #fff; color: var(--kleur); border: 1px solid var(--kleur); }
button.gevaar { background: var(--fout); }
button.link { background: none; padding: 0; font-weight: 400; }
a.gevaar { color: var(--fout); }
form.inline { display: inline; }
.melding { padding: 10px 14px; border-radius: 5px; margin-bottom: 16px; background: #e8f4ec; color: var(--ok); border: 1px solid #b7dcc4; }
.melding.fout { background: #fdecea; color: var(--fout); border-color: #f5c2bd; }
.kopregel { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.kopregel h1 { margin: 0; }
.zoek { display: flex; gap: 8px; margin-bottom: 16px; }
.zoek input { margin: 0; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--rand); }
th { font-size: 13px; color: var(--grijs); font-weight: 600; }
tr.grijs td { color: var(--grijs); }
.label { font-size: 12px; padding: 2px 8px; border-radius: 10px; background: #e8f4ec; color: var(--ok); }
.label.uit, .label.verlopen { background: #fdecea; color: var(--fout); }
.sleutel { font: 600 18px/1.4 ui-monospace, Consolas, monospace; letter-spacing: 1px; background: var(--achtergrond); border: 1px dashed var(--rand); padding: 10px 14px; margin: 8px 0; border-radius: 5px; word-break: break-all; }
.plaatshouder { border: 1px dashed var(--rand); color: var(--grijs); padding: 16px; border-radius: 5px; margin-bottom: 16px; text-align: center; }
.acties { display: flex; flex-wrap: wrap; gap: 8px; }
.onder { margin-top: 18px; }
.klein { font-size: 13px; color: var(--grijs); }
.leeg { color: var(--grijs); }
code.breek { word-break: break-all; font-size: 12px; }

/* ---- invoerschermen ---- */
[hidden] { display: none !important; }
main { max-width: 1280px; }
.invoer-indeling { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
/* Stappenmenu blijft links staan en scrolt mee; alleen op een telefoon komt het bovenaan */
@media (max-width: 600px) { .invoer-indeling { grid-template-columns: 1fr; } .stappen { position: static !important; max-height: none !important; } }
.stappen { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border: 1px solid var(--rand); border-radius: 8px; padding: 14px; }
.stappen ol { list-style: none; margin: 0 0 12px; padding: 0; }
.stappen li a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 5px; text-decoration: none; color: var(--tekst); }
.stappen li a:hover { background: var(--achtergrond); }
.stappen li.actief a { background: #e8eef4; font-weight: 600; color: var(--kleur); }
.teller { background: #fdecea; color: var(--fout); font-size: 12px; border-radius: 10px; padding: 1px 8px; white-space: nowrap; }
.vink-ok { color: var(--ok); font-weight: 700; }
.stappenoverzicht { padding-left: 0; list-style: none; }
.stappenoverzicht li { display: flex; gap: 12px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--rand); }
.stappenoverzicht li a { flex: 1; }
h2 { border-bottom: 1px solid var(--rand); padding-bottom: 4px; }
h3 { font-size: 15px; margin: 18px 0 6px; }
.veld { display: grid; grid-template-columns: minmax(200px, 340px) minmax(0, 1fr); gap: 4px 16px; align-items: start; padding: 8px 0; border-bottom: 1px dashed #eef0f2; }
.veld .vlabel { font-weight: 500; padding-top: 7px; }
.veld .hulp { grid-column: 2; color: var(--grijs); }
.veld select, .veld input { max-width: 320px; margin-top: 0; }
@media (max-width: 640px) { .veld { grid-template-columns: 1fr; } .veld .hulp { grid-column: 1; } }
.duo { display: flex; gap: 16px; flex-wrap: wrap; }
.duo .cel { margin: 0; font-weight: 400; flex: 1 1 140px; max-width: 220px; }
.wie { display: block; font-size: 12px; color: var(--grijs); font-weight: 600; margin-bottom: 2px; }
.eenheid { position: relative; display: block; max-width: 320px; }
.eenheid input { padding-left: 24px; text-align: right; }
.eenheid.procent input { padding-left: 10px; padding-right: 26px; }
.eenheid::before { position: absolute; top: 9px; color: var(--grijs); font-size: 14px; }
.eenheid.euro::before { content: "€"; left: 10px; }
.eenheid.procent::after { content: "%"; position: absolute; right: 10px; top: 9px; color: var(--grijs); }
input.kort { max-width: 90px; }
input.fout, select.fout { border-color: var(--fout); background: #fff7f6; }
.veldfout { display: block; color: var(--fout); font-size: 12px; margin-top: 2px; }
.tabel-scroll { overflow-x: auto; }
table.invoertabel { min-width: 640px; }
table.invoertabel th { font-size: 12px; vertical-align: bottom; }
table.invoertabel td { padding: 4px 6px; vertical-align: top; }
table.invoertabel td.nr { color: var(--grijs); width: 24px; padding-top: 12px; }
table.invoertabel input { margin-top: 0; padding: 6px 8px; }
table.invoertabel .eenheid input { padding-left: 22px; }
.box1 .herstel { font-size: 12px; color: #9a6700; }
.maandhulp input { margin-top: 4px; font-size: 12px; padding: 3px 6px; }
input.berekend { background: #f2f8ff; }
button.klein { padding: 5px 10px; font-size: 13px; }
.knoppen { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; position: sticky; bottom: 0; background: #fff; padding: 12px 0; border-top: 1px solid var(--rand); }
ul.ontbreekt { padding-left: 18px; }
.melding ul { margin: 6px 0 0; padding-left: 18px; }
.qr { width: 200px; height: 200px; margin: 10px 0; }
.qr svg { width: 100%; height: 100%; }
.maandhulp { display: block; margin-top: 4px; }
.maandhulp small { color: var(--grijs); font-size: 11px; }
.maandhulp input { margin-top: 1px; }

/* ---- hulpknoppen: invulinstructie / uitleg ---- */
.hulpknoppen { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; margin-top: 2px; }
.hulpknoppen details { display: contents; }
.hulpknoppen summary { list-style: none; cursor: pointer; font-size: 12px; padding: 2px 10px; border-radius: 12px; border: 1px solid var(--rand); color: var(--kleur); background: #fff; user-select: none; }
.hulpknoppen summary::-webkit-details-marker { display: none; }
.hulpknoppen .hulp-instructie summary::before { content: "✎ "; }
.hulpknoppen .hulp-uitleg summary::before { content: "ⓘ "; }
.hulpknoppen details[open] summary { background: #e8eef4; border-color: var(--kleur); font-weight: 600; }
.hulpknoppen .hulptekst { order: 99; flex-basis: 100%; background: #f7f9fb; border: 1px solid var(--rand); border-left: 3px solid var(--kleur); border-radius: 5px; padding: 10px 14px; font-size: 13.5px; line-height: 1.55; max-height: 380px; overflow-y: auto; }
.hulpknoppen .hulp-uitleg .hulptekst { border-left-color: #9a6700; }
.hulpknoppen.bij-kop { margin: -4px 0 10px; }
.kolomhulp { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 4px 0; border-bottom: 1px dashed #eef0f2; }
.kolomhulp .kolomnaam { font-size: 13px; font-weight: 600; min-width: 160px; }

/* ---- uitkomst ---- */
.stappen li.uitkomst-link a { border-top: 1px solid var(--rand); margin-top: 6px; padding-top: 10px; font-weight: 600; color: var(--kleur); }
.versiebalk { background: var(--achtergrond); border: 1px solid var(--rand); border-radius: 5px; padding: 6px 10px; margin-bottom: 10px; }
.downloads { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
a.secundair-link { background: #fff; color: var(--kleur); border: 1px solid var(--kleur); }
a.secundair-link:hover { background: #e8eef4; }
.melding.waarschuwing { background: #fff8e6; color: #7a5200; border-color: #f0d79a; }
table.uitkomst th, table.uitkomst td { padding: 5px 8px; font-size: 14px; }
table.uitkomst .r, th.r { text-align: right; }
table.uitkomst tr.box3 td { border-top: 2px solid var(--rand); }
.personen { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 18px; }
.persoonblok h3 { margin-top: 6px; }
.klein-tabel { margin-top: 8px; }
.kenmerk { font-size: 12px; font-weight: 600; color: #9a6700; }
.controle { color: var(--grijs); }
.testbalk { background: #9a6700; color: #fff; text-align: center; font-weight: 600; padding: 6px; letter-spacing: .5px; }
table.uitkomst td, table.uitkomst th { white-space: nowrap; }
table.uitkomst td.klein { white-space: normal; min-width: 180px; }
.personen { grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); }

/* ---- v0.6: compactere invoer, hulpknoppen naast de veldnaam ---- */
.veld { padding: 5px 0; align-items: center; }
.veld .vlabel { padding-top: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.veld .vlabel label { margin: 0; font-weight: 500; }
.veld.persoon { align-items: start; }
.veld.persoon .vlabel { padding-top: 22px; }
.veld .hulp { font-size: 12.5px; line-height: 1.4; }
.hulp-iconen { display: inline-flex; gap: 4px; vertical-align: middle; margin-left: 4px; }
.hulp-icoon { width: 20px; height: 20px; padding: 0; border-radius: 50%; font: 600 11px/18px system-ui, sans-serif; text-align: center;
  background: #fff; color: var(--kleur); border: 1px solid #b9c6d3; cursor: pointer; flex: none; }
.hulp-icoon.uitleg { font-style: italic; font-family: Georgia, serif; font-size: 12px; color: #9a6700; border-color: #e3cf9f; }
.hulp-icoon:hover, .hulp-icoon.open { background: #e8eef4; color: var(--kleur); border-color: var(--kleur); }
.hulp-icoon.uitleg:hover, .hulp-icoon.uitleg.open { background: #fff8e6; color: #7a5200; border-color: #9a6700; }
h2 .hulp-iconen { margin-left: 8px; }
th .hulp-iconen { margin-left: 3px; }
.panelen { grid-column: 1 / -1; }
.panelen:empty { display: none; }
.hulptekst { background: #f7f9fb; border: 1px solid var(--rand); border-left: 3px solid var(--kleur); border-radius: 5px; padding: 8px 14px 10px;
  font-size: 13.5px; line-height: 1.55; max-height: 380px; overflow-y: auto; margin: 6px 0; }
.hulptekst.uitleg { border-left-color: #9a6700; }
.hulptitel { display: flex; justify-content: space-between; font-weight: 600; font-size: 12px; color: var(--grijs); margin-bottom: 4px; }
.hulptitel .sluit { color: var(--grijs); font-size: 16px; line-height: 1; }
.kolomhulp { display: none; }

/* namen van de klant duidelijker */
.klantkop { border-bottom: 1px solid var(--rand); padding-bottom: 10px; margin-bottom: 10px; }
.klantnaam { font-size: 18px; font-weight: 700; color: var(--kleur); line-height: 1.25; margin-bottom: 4px; word-break: break-word; }
.tabelblok h3.persoonnaam { margin: 16px 0 6px; }
.tabelblok h3.persoonnaam .wie { font-size: 17px; color: var(--kleur); font-weight: 700; }
.duo .cel { margin: 0; }
.duo .wie { font-size: 13.5px; color: var(--tekst); font-weight: 600; margin: 0 0 2px; }

/* tabellen: regel verwijderen */
th.weg, td.weg { width: 30px; padding-left: 0; padding-right: 0; text-align: center; }
.rij-weg { width: 26px; height: 26px; padding: 0; margin-top: 5px; border-radius: 50%; background: #fff; color: var(--fout); border: 1px solid #f5c2bd; font-size: 16px; line-height: 1; }
.rij-weg:hover { background: #fdecea; }
.maandhulp input.hulpdatum { min-width: 150px; font-size: 13px; padding: 4px 6px; }
.maandhulp input.hulpdatum:disabled { cursor: not-allowed; }

/* knoppenbalk en leegmaken */
.knoppen { align-items: center; }
.knoppen .ruimte { flex: 1; }
button.link.gevaar { color: var(--fout); font-size: 13.5px; }
button.link.gevaar:hover { background: none; text-decoration: underline; }
.bevestig { border: 1px solid #f5c2bd; background: #fdecea; border-radius: 6px; padding: 12px 16px; margin-top: 10px; }
.bevestig p { margin: 0 0 10px; color: var(--fout); }
.bevestig button { margin-right: 8px; }
.melding.info { background: #eef4fa; color: var(--kleur); border-color: #c9d9ea; }

/* aandeel B, KEW, vaste waarden */
.invoer-cel { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.invoer-cel .eenheid, .invoer-cel select, .invoer-cel input[type=date] { flex: 0 1 320px; }
.invoer-cel .veldfout { flex-basis: 100%; }
.aandeel-b { font-size: 14px; color: var(--grijs); white-space: nowrap; }
.aandeel-b strong { color: var(--tekst); }
.ingebed { margin-top: 6px; }
.ingebed label { font-weight: 500; margin: 0 0 2px; display: block; }
.vast { padding: 4px 0; }
.vast.nvt { color: var(--grijs); font-style: italic; }

/* financieringsopzet (stap 6) */
.veld.compact { padding: 3px 0; }
.veld.subtotaal { border-top: 1px solid var(--rand); border-bottom: 0; margin-bottom: 6px; }
.veld.subtotaal .vlabel { font-weight: 700; }
.veld.subtotaal .bedrag { font-weight: 700; max-width: 320px; text-align: right; padding-right: 10px; }
table.opzet { max-width: 680px; margin: 6px 0 10px; }
table.opzet td { padding: 5px 10px; font-size: 14px; }
table.opzet td.r { text-align: right; white-space: nowrap; width: 160px; }
table.opzet tr.totaal td { font-weight: 700; border-top: 2px solid var(--rand); }
table.opzet tr.woning td { background: #f7f9fb; }
table.opzet tr.nodig td { font-weight: 700; color: var(--kleur); }
table.opzet.berekend td { color: var(--tekst); }
table.opzet.oud td { color: var(--grijs); }
.verouderd { font-size: 12px; font-weight: 600; color: var(--fout); margin-left: 8px; }
.veld .vlabel { display: block; }
.veld .vlabel label, .veld .vlabel > span { display: inline; }
.veld .vlabel .hulp-iconen { margin-left: 6px; position: relative; top: -1px; }
.veld { padding: 3px 0; }
.veld input, .veld select { padding: 5px 9px; }
.veld .eenheid::before, .veld .eenheid.procent::after { top: 6px; }

/* ---- uitkomst: wettelijke regeling (blauw) en interne draagplicht (oranje) ---- */
:root { --wr: #1f4e79; --wr-licht: #eaf1f8; --id: #b35c00; --id-licht: #fdf1e4; --or: #1f4e79; --nieuw: #5b9bd5; --box3: #b8c0c9; }
.legenda { display: flex; gap: 16px; flex-wrap: wrap; margin: 4px 0 10px; }
.legenda span { display: inline-flex; align-items: center; gap: 6px; }
.legenda .seg, .stip { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.seg.or, .stip.or { background: var(--or); } .seg.nieuw, .stip.nieuw { background: var(--nieuw); } .seg.box3, .stip.box3 { background: var(--box3); }
.stip { width: 9px; height: 9px; margin-right: 6px; vertical-align: 0; }
.vergelijk { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 18px; }
.vgl-persoon { border: 1px solid var(--rand); border-radius: 8px; padding: 12px 14px; }
h3.persoonkop { font-size: 17px; color: var(--kleur); margin: 2px 0 10px; }
.balkregel { display: grid; grid-template-columns: 30px 1fr 110px; align-items: center; gap: 8px; margin-bottom: 6px; }
.balklabel { font-weight: 700; font-size: 12px; text-align: center; color: #fff; border-radius: 4px; padding: 1px 0; }
.balkregel.wr .balklabel { background: var(--wr); } .balkregel.id .balklabel { background: var(--id); }
svg.balk { width: 100%; height: 18px; display: block; border-radius: 3px; }
svg.balk rect.achter { fill: #f1f3f5; } svg.balk rect.or { fill: var(--or); } svg.balk rect.nieuw { fill: var(--nieuw); } svg.balk rect.box3 { fill: var(--box3); }
.balktotaal { text-align: right; font-weight: 600; font-size: 13.5px; white-space: nowrap; }
table.vgl { margin-top: 10px; }
table.uitkomst th.wr { color: var(--wr); } table.uitkomst th.id { color: var(--id); }
table.vgl td.wr, table.o10 td.wr { background: var(--wr-licht); }
table.vgl td.id, table.o10 td.id { background: var(--id-licht); }
table.vgl tr.sub td { font-weight: 700; border-top: 2px solid var(--rand); }
table.vgl tr.recht td { color: var(--grijs); font-style: italic; }
td.verschil { color: var(--grijs); }
tr.anders td.verschil { color: var(--id); font-weight: 700; }
tr.anders td:first-child { box-shadow: inset 3px 0 0 #e0a100; }
table.o10 th.groep { color: #fff; text-align: center; border-bottom: 0; }
table.o10 th.groep.wr { background: var(--wr); } table.o10 th.groep.id { background: var(--id); }
table.o10 tr.anders td { font-weight: 600; }
.naast { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 8px; }
.naast.enkel { grid-template-columns: 1fr; }
@media (max-width: 1100px) { .naast { grid-template-columns: 1fr; } }
.regelingkaart { border: 1px solid var(--rand); border-radius: 8px; overflow: hidden; }
.regelingkaart .regelingtitel { color: #fff; font-weight: 600; padding: 6px 12px; }
.regelingkaart.wr .regelingtitel { background: var(--wr); } .regelingkaart.id .regelingtitel { background: var(--id); }
.regelingkaart table { margin: 0; }
.regelingkaart .klein-tabel { margin: 6px 0 4px; }
main { max-width: 1440px; }
.vergelijk { grid-template-columns: 1fr; }
.vgl-persoon { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 1.6fr); gap: 6px 22px; align-items: start; }
.vgl-persoon h3.persoonkop { grid-column: 1 / -1; }
.vgl-persoon .balken { padding-top: 34px; }
.vgl-persoon table.vgl { margin-top: 0; }
@media (max-width: 1000px) { .vgl-persoon { grid-template-columns: 1fr; } .vgl-persoon .balken { padding-top: 0; } }
.regelingkaart table.uitkomst th, .regelingkaart table.uitkomst td { padding: 4px 6px; font-size: 12.5px; }
.regelingkaart table.uitkomst td:first-child { white-space: normal; }
@media (max-width: 1250px) { .naast { grid-template-columns: 1fr; } }
.vgl-persoon > * { min-width: 0; }
table.vgl th, table.vgl td { font-size: 13px; padding: 4px 7px; }

/* ---- v0.7 ---- */
.vgl-persoon { display: block; }
.vergelijk { grid-template-columns: repeat(auto-fit, minmax(460px, 1fr)); }
table.vgl td:first-child { white-space: nowrap; }
.loper { display: inline-flex; align-items: center; gap: 8px; color: var(--kleur); font-weight: 600; font-size: 14px; margin-left: 12px; }
.loper[hidden] { display: none; }
.draai { width: 18px; height: 18px; border: 3px solid #c9d9ea; border-top-color: var(--kleur); border-radius: 50%; animation: draai .8s linear infinite; }
@keyframes draai { to { transform: rotate(360deg); } }
body.rekent { cursor: progress; }
button:disabled { opacity: .6; cursor: progress; }
.rekenform { display: inline-flex; align-items: center; }
.ewrblok { background: #f7f9fb; border: 1px solid var(--rand); border-radius: 6px; padding: 8px 14px 12px; margin: 6px 0 12px; }
.ewrblok h3 { margin: 4px 0 6px; font-size: 15px; }
.ewrwaarden { display: flex; gap: 26px; flex-wrap: wrap; margin: 2px 0 8px; align-items: center; }
.ewrwaarden .ewrnaam { color: var(--grijs); margin-right: 4px; }
td.ewrstatus { font-size: 12.5px; white-space: nowrap; }
.ewrstatus .ok { color: #2e7d32; } .ewrstatus .nee { color: var(--fout); font-weight: 600; }
table.opzet.ewr th { font-size: 13px; }
.veld.gezocht { background: #fff8e1; box-shadow: 0 0 0 2px #e0a100; border-radius: 4px; transition: background .4s; }
.maandhulp { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.maandhulp small { display: inline-flex; align-items: center; }
.maanduitkomst { font-weight: 700; color: var(--kleur); font-size: 13px; }
small.optioneel { color: var(--grijs); font-weight: 400; }
.vergelijk { grid-template-columns: 1fr; }
.vgl-persoon table.vgl { max-width: 860px; }
input[readonly][data-berekend] { background: #eef4fa; border-color: #c9d9ea; font-weight: 600; color: var(--kleur); }
.alsveld[hidden] { display: none; }

/* ---- v0.8: vaste kleur per persoon (A groenblauw, B paars), zacht ---- */
:root { --pa: #0f766e; --pa-licht: #eef8f6; --pa-rand: #a7d8cd; --pb: #7b4a93; --pb-licht: #f6f0f9; --pb-rand: #d6c1e3; }
.klantnaam .p-a { color: var(--pa); } .klantnaam .p-b { color: var(--pb); } .klantnaam .en { color: var(--grijs); font-weight: 400; }
/* invoervelden per persoon */
.duo .cel.p-a, .duo .cel.p-b { border-radius: 7px; padding: 5px 8px 7px; border-left: 3px solid; }
.duo .cel.p-a { background: var(--pa-licht); border-left-color: var(--pa-rand); }
.duo .cel.p-b { background: var(--pb-licht); border-left-color: var(--pb-rand); }
.duo .cel.p-a .wie { color: var(--pa); } .duo .cel.p-b .wie { color: var(--pb); }
/* tabellen per persoon */
.tabelblok.p-a, .tabelblok.p-b { border-left: 4px solid; border-radius: 8px; padding: 2px 12px 10px; margin: 12px 0; }
.tabelblok.p-a { background: var(--pa-licht); border-left-color: var(--pa-rand); }
.tabelblok.p-b { background: var(--pb-licht); border-left-color: var(--pb-rand); }
.tabelblok.p-a h3.persoonnaam .wie { color: var(--pa); } .tabelblok.p-b h3.persoonnaam .wie { color: var(--pb); }
.tabelblok table.invoertabel th { background: transparent; }
.aandeel-b.p-b strong, .aandeel-b.p-b .wie-b { color: var(--pb); }
/* EWR-overzicht */
th.p-a, .ewrwaarden .p-a .ewrnaam { color: var(--pa); } th.p-b, .ewrwaarden .p-b .ewrnaam { color: var(--pb); }
table.opzet td.p-a { background: var(--pa-licht); } table.opzet td.p-b { background: var(--pb-licht); }
/* uitkomst */
.vgl-persoon.p-a { border-top: 4px solid var(--pa-rand); } .vgl-persoon.p-b { border-top: 4px solid var(--pb-rand); }
.vgl-persoon.p-a h3.persoonkop, h3.persoonkop.p-a { color: var(--pa); }
.vgl-persoon.p-b h3.persoonkop, h3.persoonkop.p-b { color: var(--pb); }
h3.persoonkop.p-a, h3.persoonkop.p-b { border-bottom: 3px solid; display: inline-block; padding-bottom: 2px; margin-top: 18px; }
h3.persoonkop.p-a { border-bottom-color: var(--pa-rand); } h3.persoonkop.p-b { border-bottom-color: var(--pb-rand); }
table.o10 th.naam.p-a { color: var(--pa); box-shadow: inset 0 -3px 0 var(--pa-rand); }
table.o10 th.naam.p-b { color: var(--pb); box-shadow: inset 0 -3px 0 var(--pb-rand); }
/* route Gezamenlijk: de eerste kolom is 'Gezamenlijk', dus neutraal */
.gezamenlijk .duo .cel.p-a, .gezamenlijk .tabelblok.p-a { background: #f3f6f9; border-left-color: #c9d6e3; }
.gezamenlijk .duo .cel.p-a .wie, .gezamenlijk .tabelblok.p-a h3.persoonnaam .wie { color: var(--kleur); }

/* ---- v0.8.1: kleur per persoon ook in de uitkomstkolommen ---- */
table.o10 td.p-a { background: var(--pa-licht); }
table.o10 td.p-b { background: var(--pb-licht); }
table.o10 th.naam.p-a { background: var(--pa-licht); } table.o10 th.naam.p-b { background: var(--pb-licht); }
table.o10 .grens { border-left: 3px solid #ffffff; box-shadow: inset 3px 0 0 #d5dde6; }
table.o10 th.naam.p-a.grens { box-shadow: inset 3px 0 0 #d5dde6, inset 0 -3px 0 var(--pa-rand); }
.persoonblok { border-left: 4px solid; border-radius: 8px; padding: 4px 14px 14px; margin: 14px 0; }
.persoonblok.p-a { background: var(--pa-licht); border-left-color: var(--pa-rand); }
.persoonblok.p-b { background: var(--pb-licht); border-left-color: var(--pb-rand); }
.persoonblok h3.persoonkop { border-bottom: 0; margin-top: 8px; }
.persoonblok .regelingkaart { background: #fff; }
.vanander { margin-top: 6px; font-size: 12.5px; font-weight: 600; color: #8a5a00; background: #fff8e6; border: 1px solid #f0dca8; border-radius: 4px; padding: 3px 7px; }
.zoek select { width: auto; }

/* ---- v0.10: openbare pagina's en abonnementen ---- */
.site h1 { font-size: 30px; line-height: 1.2; }
.hero { background: #fff; border: 1px solid var(--rand); border-radius: 10px; padding: 34px 38px; margin-bottom: 20px; }
.hero .lead p { font-size: 17px; line-height: 1.6; max-width: 820px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 18px 0 6px; }
.knop.groot, button.groot { padding: 12px 22px; font-size: 16px; }
.blokken { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 860px) { .blokken { grid-template-columns: 1fr; } }
.blok { background: #fff; border: 1px solid var(--rand); border-radius: 10px; padding: 18px 24px; }
.blok h2, #prijzen h2 { margin-top: 4px; }
.stappenlijst li { margin: 3px 0; }
#prijzen { background: #fff; border: 1px solid var(--rand); border-radius: 10px; padding: 18px 24px; margin-bottom: 20px; }
.prijskaarten { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 10px 0 14px; }
.prijskaart { border: 1px solid var(--rand); border-top: 4px solid var(--kleur); border-radius: 8px; padding: 14px 18px; background: #fbfcfd; display: block; }
.prijskaart.proef { border-top-color: var(--pa-rand); } .prijskaart.plus { border-top-color: var(--pb-rand); }
.prijskaart h3 { margin: 0 0 4px; } .prijskaart .prijs { font-size: 24px; font-weight: 700; color: var(--kleur); } .prijskaart .prijs small { font-size: 12px; font-weight: 400; color: var(--grijs); }
.prijskaart ul { padding-left: 18px; margin: 8px 0 12px; }
.keuze .prijskaart { cursor: pointer; position: relative; }
.keuze .prijskaart input { position: absolute; top: 14px; right: 14px; width: auto; }
.keuze .prijskaart:has(input:checked) { border-color: var(--kleur); box-shadow: 0 0 0 2px var(--kleur); background: #f3f8fc; }
.sitevoet { text-align: center; padding: 10px 0 24px; }
.honing { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.twee, .drie { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.drie { grid-template-columns: 1fr 1fr 1fr; }
.gebruik { background: #f3f8fc; border: 1px solid #c9d9ea; border-radius: 6px; padding: 7px 12px; font-size: 14px; }
tr.aandacht td { background: #fff8e6; }
.label.nieuw { background: #e0a100; color: #fff; border-radius: 3px; padding: 1px 6px; font-size: 11px; margin-left: 4px; }
.kop nav .teller { background: #e0a100; color: #fff; border-radius: 9px; padding: 0 6px; font-size: 11px; margin-left: 2px; }
.demo-invoer { margin: 10px 0 18px; } .demo-invoer summary { cursor: pointer; font-weight: 600; color: var(--kleur); }
.p-a-tekst { color: var(--pa); font-weight: 600; } .p-b-tekst { color: var(--pb); font-weight: 600; }

/* ---- v0.13: scenario's ---- */
.scenariokeuze { margin-top: 10px; padding: 8px 10px; background: #f3f6f9; border: 1px solid var(--rand); border-radius: 6px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.scenariokeuze .scenario-wissel { flex-basis: 100%; }
.scenariokeuze label { display: block; margin: 0 0 2px; font-weight: 600; }
.scenariokeuze select { width: 100%; padding: 4px 6px; font-size: 13.5px; }
.scenariolijst td { vertical-align: middle; }
.scenariolijst form { display: inline; }
.scenariolijst input[name=naam] { width: 200px; padding: 4px 6px; }

/* ---------- v0.13 abonnementen, pakketten, documenten ---------- */
.subnav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: 0 0 1.25rem; padding-bottom: .5rem; border-bottom: 1px solid #e3e7ec; }
.subnav a { color: #1f4e79; opacity: 1; text-decoration: none; padding: .2rem 0; }
.subnav a.actief, p a.actief { font-weight: 600; border-bottom: 2px solid currentColor; }
.vergelijking { margin-top: 1rem; }
.vergelijking td.ja { color: #0f766e; font-weight: 600; text-align: center; }
.vergelijking td.nee { color: #9aa3ad; text-align: center; }
.vergelijking th { text-align: center; }
.label { display: inline-block; font-size: .75rem; padding: .05rem .4rem; border-radius: .6rem; background: #eef1f5; color: #4a5562; font-weight: 500; vertical-align: middle; }
.label.nieuw { background: #fde8c8; color: #8a4b00; }
.prijskaarten.keuze .prijskaart { cursor: pointer; position: relative; }
.prijskaarten.keuze .prijskaart input[type=radio] { position: absolute; top: .9rem; right: .9rem; }
.prijskaarten.keuze .prijskaart:has(input:checked) { outline: 2px solid #0f766e; background: #f4fbfa; }
ul.functies { list-style: none; padding: 0; margin: .5rem 0 0; font-size: .9rem; }
ul.functies li { margin: .2rem 0; }
ul.functies li.nee { color: #9aa3ad; }
.mijnabonnement .acties { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin: .5rem 0; }
.mijnabonnement .acties form { margin: 0; }
.mijnabonnement .cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
tr.nodig td { background: #fff7e6; }
details.pakket { border: 1px solid #e3e7ec; border-radius: .5rem; padding: .6rem .9rem; margin: .6rem 0; }
details.pakket summary { cursor: pointer; }
details.pakket[open] summary { margin-bottom: .8rem; }
fieldset { border: 1px solid #e3e7ec; border-radius: .4rem; margin: .8rem 0; padding: .5rem .9rem; }
.beheeracties form { border: 1px solid #e3e7ec; border-radius: .5rem; padding: .7rem; }
label.kort { display: flex; justify-content: space-between; gap: 1rem; align-items: center; max-width: 40rem; }
label.kort input { max-width: 11rem; }
pre.mailvoorbeeld { white-space: pre-wrap; background: #f6f8fa; padding: .8rem; border-radius: .4rem; font-size: .85rem; }
.documenttekst h2 { font-size: 1.1rem; margin-top: 1.4rem; }
.aanmelden .factuurdeel { border-left: 3px solid #e3e7ec; padding-left: .9rem; }
@media print { .geen-afdruk, header, nav, footer { display: none !important; } .kaart { box-shadow: none; border: 0; } }
.uitkoopblok { margin: .3rem 0 .9rem; } .uitkoopblok .uitkoopuitkomst { margin: .4rem 0 0; color: #0f766e; }
.kop nav a.inlogknop { background: #fff; color: #1f4e79; opacity: 1; padding: 6px 14px; border-radius: 6px; font-weight: 600; } .kop nav a.inlogknop:hover { text-decoration: none; background: #eef4fa; }
.blokken .blok.enkel { grid-column: 1 / -1; }
/* homepage: highlights */
.hero .sub { font-size: 1.15rem; color: var(--blauw, #1f4e79); font-weight: 600; margin: -4px 0 14px; }
.highlights ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .highlights ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .highlights ul { grid-template-columns: 1fr; } }
.highlights li { background: #fff; border: 1px solid var(--rand); border-top: 3px solid #1f4e79; border-radius: 10px; padding: 16px 18px; line-height: 1.45; }
.highlights li strong { display: block; font-size: 1.02rem; margin-bottom: 6px; color: #1f4e79; }
.highlights-voet { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.highlights-voet .klein { max-width: 46rem; } .highlights-voet .klein p { margin: 0; }
.mogelijkheden .documenttekst h2 { margin-top: 1.8rem; padding-top: 1rem; border-top: 1px solid var(--rand); }
.mogelijkheden .documenttekst ul, .mogelijkheden .documenttekst ol { line-height: 1.5; }
/* homepage: zes blokken */
.kaarten6 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
@media (max-width: 720px) { .kaarten6 { grid-template-columns: 1fr; } }
.kaart6 { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 18px 20px 20px; }
.kaart6 .icoon { color: #4b5563; display: block; margin-bottom: 10px; }
.kaart6 h3 { margin: 0 0 8px; font-size: 1.12rem; color: #111827; }
.kaart6 p { margin: 0; color: #6b7280; line-height: 1.5; }
.kaart6 .label { margin-top: 10px; background: #fff4e5; color: #8a4b00; }
.highlights-voet { justify-content: flex-end; }

/* v0.17 aanvullende onderdelen */
.stappen li.modulekop { margin: 10px 0 2px; padding: 8px 8px 0; border-top: 1px solid var(--rand); color: var(--grijs, #6b7480); text-transform: uppercase; letter-spacing: .04em; font-size: 11px; }
.module fieldset { border: 1px solid var(--rand); border-radius: 6px; margin: 0 0 14px; padding: 10px 14px 12px; }
.module legend { font-weight: 600; color: var(--kleur); padding: 0 4px; }
.velden-twee { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px 18px; }
.velden-twee label { display: flex; flex-direction: column; gap: 4px; }
.velden-twee label small { color: #6b7480; }
.module .eenheid { color: #6b7480; margin-left: 2px; }
.module table.kew th[scope=row] { text-align: left; font-weight: normal; white-space: normal; min-width: 220px; }
table.uitkomst.smal { max-width: 640px; }
table.uitkomst tr.totaal td { border-top: 2px solid var(--rand); }
table.uitkomst td.fout { color: #b42318; font-weight: 600; }
table.uitkomst td.let { color: #9a6700; }
table.uitkomst td.ok { color: #0f766e; }
.adviesteksten textarea { width: 100%; font: inherit; line-height: 1.45; padding: 8px; border: 1px solid var(--rand); border-radius: 5px; }
.adviesteksten h4 { margin: 14px 0 6px; }
.schakelaars td:nth-child(n+2) { text-align: center; }
.kewsituatie .kewuitleg { background: #f6f8fa; border-left: 3px solid var(--kleur); padding: 8px 12px; margin: 10px 0; font-size: 14px; }
.kewconclusie .let { color: #9a6700; font-weight: 600; }
dl.begrippen dt { font-weight: 600; margin-top: 8px; }
dl.begrippen dd { margin: 2px 0 0 0; }
textarea.breed { width: 100%; font: inherit; line-height: 1.45; padding: 8px; border: 1px solid var(--rand); border-radius: 5px; }
.toegangsblok { margin: 10px 0; padding: 8px 10px; border: 1px solid var(--rand); border-radius: 6px; background: #f6f8fa; }
.toegangsblok.let { border-color: #d4a72c; background: #fff8e1; }
.toegangsblok p { margin: 4px 0; }
.toegangsblok input[type=text] { width: 100%; margin: 4px 0; }
.toegangsblok .vraagform label { display: block; margin: 6px 0 2px; font-weight: 600; }
.toegangsblok .vraagform label.vink { font-weight: normal; display: flex; gap: 6px; align-items: flex-start; }
.toegangsblok .toelichting { margin: 4px 0; color: #444; }
.toegangsblok textarea { width: 100%; box-sizing: border-box; min-height: 6em; resize: vertical; margin: 2px 0 6px; font: inherit; }
.sitevoet p { margin: 4px 0; }
.contactblok .contactlijst { list-style: none; padding: 0; margin: 8px 0; }
.contactblok .contactlijst li { padding: 3px 0; }
.contactblok .contactlijst span { display: inline-block; min-width: 90px; color: #6b7480; }

/* Draagplichtovereenkomst: smal leningdeelnummer, brede omschrijving */
.modtabel-dpo table.invoertabel th:nth-child(2), .modtabel-dpo table.invoertabel td:nth-child(2) { width: 110px; }
.modtabel-dpo table.invoertabel th:nth-child(3), .modtabel-dpo table.invoertabel td:nth-child(3) { width: 40%; }
.modtabel-dpo table.invoertabel td:nth-child(2) input { width: 100%; }
.modtabel-dpo table.invoertabel td:nth-child(3) input { width: 100%; }
.overneemknop { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.overneemknop .loper { margin-left: 6px; }

/* KEW: compact bedrag met knop ernaast */
.kewbedragregel { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.kewbedragregel input.kort { width: 150px; flex: 0 0 auto; }
table.ewrtabel { max-width: 760px; }
table.ewrtabel tr.totaal td { border-top: 1px solid #c9d2dc; }

/* Beheerder: blokje toevoegen / verborgen blokje */
a.hulp-beheer { display: inline-block; font-size: 11px; line-height: 16px; padding: 0 4px; margin-left: 3px; border: 1px dashed #9db3c9; border-radius: 8px; color: #6b819a; text-decoration: none; vertical-align: middle; font-weight: normal; }
a.hulp-beheer:hover { background: #eef4fa; color: var(--kleur); }
a.hulp-beheer.verborgen { border-color: #d9a3a3; color: #a35b5b; }
.verborgenlabel { background: #f6e3e3; color: #8a3b3b; border-radius: 6px; padding: 1px 6px; font-size: 11px; }
form.inline { display: inline; margin-left: 8px; }

.eigendomblok { background: #f6f8fb; border: 1px solid #dfe5ec; border-radius: 8px; padding: 10px 14px; margin: 4px 0 14px; }
.eigendomblok p { margin: 4px 0; }

.totaal-naast { display: block; }
.totaal-naast .tabel-scroll { margin-bottom: 14px; }
table.totaaltabel { width: auto; min-width: 520px; }
table.totaaltabel td:first-child, table.totaaltabel th:first-child { min-width: 260px; }
table.totaaltabel td.r, table.totaaltabel th.r { min-width: 110px; }
table.totaaltabel tr.totaal td { font-weight: 600; border-top: 1px solid #c9d2dc; }
/* Rekenhulp looptijd (vriezer) en leegmaak-knop bij rekenhulpen */
.looptijdhulp { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.looptijdhulp small { display: inline-flex; align-items: center; color: var(--grijs); font-size: 11px; flex-basis: 100%; }
.looptijdhulp label { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--grijs); }
.looptijdhulp input[type="date"] { min-width: 140px; font-size: 13px; padding: 4px 6px; }
.hulp-leeg { border: 1px solid #ccc; background: #fff; border-radius: 4px; width: 24px; height: 24px; line-height: 20px; padding: 0; cursor: pointer; color: var(--grijs); font-size: 15px; }
.hulp-leeg:hover { color: #b00; border-color: #b00; }
/* v0.21.16: herkomst/oorzaak onder een leningdeelregel */
table.uitkomst tr.herkomst td { font-size: 12px; color: #555; padding-top: 0; padding-left: 22px; border-top: 0; font-style: italic; }
p.naverdeling { font-weight: 600; margin: 4px 0 10px; }

/* Tabellen in teksten (regels die met | beginnen) */
.teksttabel-wrap { overflow-x: auto; margin: 6px 0 10px; }
.teksttabel { border-collapse: collapse; font-size: 13px; line-height: 1.4; background: #fff; }
.teksttabel th, .teksttabel td { border: 1px solid var(--rand); padding: 3px 9px; text-align: left; vertical-align: top; white-space: nowrap; }
.teksttabel th { background: #eef2f6; font-weight: 600; }
.teksttabel td:last-child { white-space: normal; }
.hulptekst, .hulpknoppen .hulptekst { max-height: 520px; }
textarea[name=inhoud] { font-family: ui-monospace, Consolas, "Courier New", monospace; font-size: 13px; }

/* v0.21.25: compacte leningdelen met pop-up, samenstelling t.b.v. financieringsaanvraag */
.uitkomst.compact tr.regel-klik { cursor: pointer; }
.uitkomst.compact tr.regel-klik:hover td, .uitkomst.compact tr.regel-klik:focus td { background: #eef4fb; }
.uitkomst.compact tr.regel-klik:focus { outline: 2px solid #1f4e79; outline-offset: -2px; }
.regelhint { margin: 2px 0 8px; color: #666; }
.regeldialoog { max-width: 640px; width: 92vw; border: 1px solid var(--rand); border-radius: 8px; padding: 16px 20px; }
.regeldialoog::backdrop { background: rgba(0,0,0,.35); }
.regeldialoog h3 { margin-top: 0; }
.regeldialoog dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0 0 12px; }
.regeldialoog dt { font-weight: 600; color: #444; }
.regeldialoog dd { margin: 0; }
.samenstelknop-rij { margin: 16px 0 8px; }
.samenstelling { margin-top: 8px; }
.tabelscroll { overflow-x: auto; }
.uitkomst.samenstel td, .uitkomst.samenstel th { white-space: nowrap; }
.uitkomst.samenstel td.klein { white-space: normal; min-width: 260px; }
.uitkomst.samenstel td, .uitkomst.samenstel th { padding: 4px 6px; font-size: 13px; }
.uitkomst.samenstel details ul { margin: 4px 0 0 16px; padding: 0; }
.uitkomst.samenstel tr.catkop td { background: #eef2f6; font-weight: 600; }
.uitkomst.samenstel tr.subtotaal td { font-style: italic; border-top: 1px solid var(--rand); }
.uitkomst.samenstel tr.totaal td { font-weight: 700; border-top: 2px solid #333; }
.uitkomst.samenstel tr.signaal td { background: #fff8e6; }
.controles li.ok { color: #1b6e2c; } .controles li.fout { color: #b00020; font-weight: 600; }
.melding.let-op { background: #fff8e6; border-left: 4px solid #e0a000; padding: 8px 12px; margin: 8px 0; }
.keuzeform.rekenform { display: block; }
.uitkomst.keuzes { max-width: 900px; }
.uitkomst.keuzes th { width: 300px; font-weight: 600; }
.uitkomst.keuzes select { width: auto; min-width: 90px; }
.uitkomst.keuzes label { margin-right: 18px; }
.uitkomst.samenstel select { min-width: 150px; }
.uitkomst.samenstel input[type=text] { width: 60px; }

.uitkomst.samenstel tr.deeldetail td { white-space: normal; padding-top: 0; border-top: none; color: #555; }
.uitkomst.samenstel tr.deeldetail details { display: inline-block; }
.uitkomst.samenstel tr.deeldetail summary { cursor: pointer; }
.uitkomst.samenstel { width: 100%; }

.uitkomst.samenstel summary.herkomstlink { text-decoration: underline; color: var(--kleur); }

span.info { cursor: help; color: var(--kleur); font-size: 18px; line-height: 1; margin-left: 2px; display: inline-block; padding: 6px 7px; border-radius: 50%; vertical-align: middle; }
span.info:hover, span.info:focus { background: #e3edf7; outline: none; }
.waarsch { color: #b07800; }
.uitkomst.samenstel.compact td { vertical-align: middle; }
.knop.klein.toelichtingknop { padding: 3px 9px; font-size: 12px; }
.regeldialoog h4 { margin: 12px 0 4px; }
.regeldialoog ul { margin: 0 0 8px 18px; padding: 0; }

.uitkomst.samenstel.compact td.r { white-space: nowrap; }
.knop.klein.toelichtingknop { background: #fff; color: var(--kleur); border: 1px solid var(--kleur); }
.knop.klein.toelichtingknop:hover { background: #eef4fb; }
.uitkomst.samenstel.compact input[type=text] { width: 52px; display: inline-block; }
.nowrap { white-space: nowrap; }
.samenstel .nowrap select { width: auto; display: inline-block; }
.info-bel { position: absolute; z-index: 1000; max-width: 380px; background: #fff; color: #1d2b3a; border: 1px solid #c9d9ea; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.15); padding: 10px 12px; font-size: 14px; line-height: 1.45; }

/* ===== Kleurstelling v0.21.32: antraciet & helder blauw ===== */
:root { --kleur: #0050c8; --kleur-donker: #003a91; --achtergrond: #e9ecf0; --rand: #c5ccd6; --tekst: #111820; --grijs: #4b5563;
  --pa: #007a4d; --pa-licht: #d9f2e6; --pa-rand: #2fae7a; --pb: #b0165d; --pb-licht: #fbe0ec; --pb-rand: #e0518f;
  --wr: #0050c8; --wr-licht: #e1eafb; --id: #0050c8; --id-licht: #dde8fb; }
.kop { background: #1c2430; border-bottom: 4px solid #0050c8; }
.merk { font-weight: 700; letter-spacing: .2px; }
th { color: #003a91; font-weight: 700; }
table.uitkomst thead th, .uitkomst.samenstel thead th { background: #1c2430; color: #fff; border-bottom: 0; }
table.uitkomst thead th span.info { color: #fff; }
.uitkomst.samenstel tr.catkop td { background: #e1eafb; color: #003a91; border-top: 2px solid #0050c8; font-weight: 700; }
.uitkomst.samenstel tr.totaal td { border-top: 3px solid #1c2430; }
.stappen li.uitkomst-link a { color: #003a91; }
button, .knop { background: #0050c8; font-weight: 600; }
button:hover, .knop:hover { background: #003a91; }
button.secundair, .knop.secundair, .toelichtingknop { background: #fff; color: #0050c8; border: 2px solid #0050c8; }
.toelichtingknop:hover { background: #0050c8; color: #fff; }
.melding.info { background: #e1eafb; color: #003a91; border: 0; border-left: 5px solid #0050c8; }
.melding.ok, .melding { border-left-width: 5px; }
.kaart { border-color: #c5ccd6; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
h1, h2 { color: #003a91; }
span.info { color: #0050c8; }
.stappen li.actief a { background: #e1eafb; color: #003a91; font-weight: 700; box-shadow: inset 4px 0 0 #0050c8; }
.stappen li.actief a * { color: inherit; }
.stappen li.actief a .vink-ok { color: var(--ok); }
table.o10 th.naam { width: 14%; }
table.o10.een th.naam { width: 28%; }
.teksttabel th.lang, .teksttabel td.lang { white-space: normal; min-width: 260px; }
/* Totaaloverzicht: bestaande situatie ingetogen, nieuwe situatie als uitkomstkaart (v0.21.35) */
table.totaaltabel.bestaand thead th { background: #e5e8ec; color: #4b5563; }
table.totaaltabel.bestaand td { color: #4b5563; }
.uitkomstkaart { display: inline-block; max-width: 100%; margin: 6px 0 14px; padding: 12px 14px 14px; background: #f2f6ff; border: 2px solid #0050c8; border-radius: 10px; box-shadow: 0 3px 10px rgba(0,80,200,.12); }
.uitkomstkaart .tabel-scroll { margin-bottom: 0; }
.uitkomstkaart .kaartkop { font-size: 17px; font-weight: 700; color: #003a91; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.uitkomstkaart .kaartkop .label { background: #0050c8; color: #fff; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; }
table.totaaltabel.nieuw { background: #fff; }
table.totaaltabel.nieuw thead th { background: #0050c8 !important; color: #fff !important; box-shadow: none !important; }
table.totaaltabel.nieuw td { font-size: 15px; }
table.totaaltabel.nieuw tr.totaal td { background: #e1eafb; color: #003a91; font-weight: 700; border-top: 2px solid #0050c8; }
table.totaaltabel.nieuw tr.box3 td { background: #fff4e5; color: #9a3412; font-weight: 600; }
/* Rekenen: scherm-brede melding (v0.21.37) */
#rekenscherm { position: fixed; inset: 0; z-index: 2000; background: rgba(28,36,48,.35); display: flex; align-items: center; justify-content: center; cursor: progress; }
#rekenscherm .rekenkaart { background: #fff; border-left: 6px solid #0050c8; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.25); padding: 20px 26px; display: flex; gap: 16px; align-items: center; font-size: 15px; color: #1c2430; max-width: 440px; }
#rekenscherm .rekenkaart strong { font-size: 17px; color: #003a91; }
.draai.groot { width: 34px; height: 34px; border-width: 4px; flex: none; }
.melding.wijziging { background: #fff4e5; color: #7a3a00; border: 1px solid #f0b46c; border-left: 6px solid #e07b00; font-weight: 600; white-space: pre-line; }
.keuze-gewijzigd { outline: 2px solid #e07b00; outline-offset: 2px; border-radius: 4px; background: #fff8ee; }
/* Inventarisatie huidige hypotheek (v0.21.40) */
.inventaristabel td.nvt > * { visibility: hidden; }
.inventaristabel th.info-kol, .inventaristabel td:has([data-kol="rente"]), .inventaristabel td:has([data-kol="rentevast_tot"]) { background: #f6f7f9; }
.inventaristabel input[type="text"] { min-width: 80px; }
.inventaristabel [data-kol="nr"] { width: 70px; min-width: 60px; }
.inventaristabel select { min-width: 120px; }
table.inventarisoverzicht td.r, table.inventarisoverzicht th.r { text-align: right; }
select.afgeleid { pointer-events: none; background: #eef1f5; color: #1c2430; }
.inventaristabel .euro input { min-width: 110px; } .inventaristabel .procent input { min-width: 60px; width: 70px; }
/* Inventarisatie compact: alles op één regel zonder schuiven (v0.21.42) */
.inventaristabel { font-size: 13px; width: 100%; }
.inventaristabel th { font-size: 12px; white-space: nowrap; padding: 4px 3px; vertical-align: bottom; }
.inventaristabel td { padding: 3px 2px; }
.inventaristabel input, .inventaristabel select { font-size: 13px; padding: 4px 5px; height: 32px; }
.inventaristabel [data-kol="nr"] { width: 52px !important; min-width: 0 !important; }
.inventaristabel select[data-kol="soort"] { width: 118px; min-width: 0; }
.inventaristabel select[data-kol="wie"] { width: 130px; min-width: 0; }
.inventaristabel .euro input { min-width: 0 !important; width: 104px; }
.inventaristabel input[type="date"] { width: 118px; min-width: 0; padding-right: 2px; }
.inventaristabel .procent input { width: 54px !important; min-width: 0 !important; }
.inventaristabel .rij-weg[hidden] { display: inline-block !important; }
.inventaristabel td.nr { width: 18px; color: #6b7480; }
/* de pagina met de inventarisatie mag de volle breedte gebruiken */
main:has(.inventaristabel) { max-width: 1680px; }
.inventaristabel th { white-space: normal; line-height: 1.2; }
.inventaristabel th .hulp-iconen { display: block; margin-top: 2px; }
.inventaristabel [data-kol="nr"] { width: 44px !important; }
.inventaristabel select[data-kol="soort"] { width: 104px; }
.inventaristabel select[data-kol="wie"] { width: 112px; }
.inventaristabel .euro input { width: 92px; }
.inventaristabel input[type="date"] { width: 108px; font-size: 12px; }
.inventaristabel .eenheid { max-width: none; }
.inventaristabel button.splits { white-space: nowrap; font-size: 12px; padding: 2px 4px; }
.inventaristabel input[type="date"] { width: 100px; padding: 4px 2px; }
.inventaristabel td { padding: 3px 1px; }
.inventaristabel th { padding: 4px 2px; }
.inventaristabel [data-kol="nr"] { width: 40px !important; }
.inventaristabel select[data-kol="soort"] { width: 98px; padding-right: 0; }
.inventaristabel select[data-kol="wie"] { width: 104px; padding-right: 0; }
.inventaristabel .euro input { width: 88px; }
.inventaristabel td.acties { white-space: nowrap; }
.inventaristabel td.acties button { font-size: 15px; padding: 2px 6px; }
.inventaristabel th.acties { font-size: 11px; font-weight: 400; color: #4b5563; }
table.invoertabel.inventaristabel td { padding: 3px 2px; }
table.invoertabel.inventaristabel td.nr { padding: 10px 2px 0 0; width: 14px; }
table.invoertabel.inventaristabel th { padding: 4px 2px; }
table.invoertabel.inventaristabel input { padding: 4px 4px; }
table.invoertabel.inventaristabel .eenheid input { padding-left: 18px; }
.inventaristabel input[type="date"] { width: 96px; font-size: 12px; }
.inventaristabel .euro input { width: 86px; }
table.invoertabel.inventaristabel .procent input { width: 58px !important; padding-right: 18px; text-align: right; }
.inventaristabel td.acties button.splits { color: #0050c8; font-weight: 700; }
/* v0.21.44: inventarisatie – acties-kolom uitgelijnd, knop Verwerken, aanpassing bij splitsen */
table.invoertabel.inventaristabel td { vertical-align: middle; }
.inventaristabel td.acties { white-space: nowrap; text-align: center; }
.inventaristabel td.acties .rij-weg { margin: 0 0 0 4px; width: 24px; height: 24px; vertical-align: middle; }
.inventaristabel td.acties .splits { vertical-align: middle; }
.inv-knoppen { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.inventaristabel input.aangepast { background: #fff6d6; transition: background 1.5s; }
.inv-splitmelding { font-size: 13px; color: #6b4e00; background: #fff6d6; border: 1px solid #f0dc9a; border-radius: 4px; padding: 6px 10px; margin-top: 8px; }
/* v0.21.44: waarschuwing automatisch uitloggen */
.sessiebalk { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 1000; display: flex; gap: 14px; align-items: center;
  background: #1c2430; color: #fff; padding: 12px 18px; border-radius: 8px; box-shadow: 0 6px 24px rgba(0,0,0,.25); font-size: 14px; max-width: 92vw; }
.sessiebalk[hidden] { display: none; }
.sessiebalk .sessieteller { font-variant-numeric: tabular-nums; }
.sessiebalk button { background: #fff; color: #0050c8; }
button.inv-verwerken { color: #fff !important; background: var(--kleur) !important; border: 1px solid var(--kleur); padding: 6px 16px; font-weight: 600; }
button.inv-verwerken:hover { background: var(--kleur-donker) !important; }
.inventaristabel th.acties { font-size: 11px; white-space: nowrap; }
.inventaristabel td:has([data-kol="rente"]) input { width: 52px; }
.inventaristabel select[data-kol="wie"] { width: 104px; }
/* de algemene klasse .acties is een flex-container; in de inventarisatie moet het een gewone tabelcel blijven (oorzaak scheve regels rechts) */
.inventaristabel td.acties, .inventaristabel th.acties { display: table-cell; }
.inventaristabel th.acties { white-space: normal; width: 52px; }
.inventaristabel td.acties .rij-weg { margin-left: 2px; }
.inventaristabel td.acties button.splits { padding: 2px 3px; }
.inventaristabel input[type="date"] { width: 96px; }
.inventaristabel input[type="date"] { width: 92px; font-size: 11.5px; padding: 4px 1px; }
.sessiebalk button { white-space: nowrap; }
#f_situatie { min-width: 400px; }
#f_vordering_richting { min-width: 400px; }
/* v0.21.48: proefaccount laagdrempelig aanvragen */
.proefnoot { margin-top: 4px; color: #4a5563; }
.proefband { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-left: 5px solid var(--kleur); background: #eef4ff; }
.proefband h2 { margin-top: 0; }
.proefband p { margin-bottom: 0; max-width: 680px; }
/* v0.21.51: vinklijst op de prijskaarten */
ul.vinklijst { list-style: none; padding: 0; margin: 6px 0 14px; font-size: 14px; }
ul.vinklijst li { padding-left: 22px; position: relative; margin: 3px 0; }
ul.vinklijst li::before { content: "✓"; position: absolute; left: 2px; color: #007a4d; font-weight: 700; }
/* v0.21.52: (i) met uitleg op de openbare site, zonder JavaScript (werkt ook op de losse website) */
details.uitleg-i { display: inline-block; position: relative; vertical-align: middle; }
details.uitleg-i > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--kleur); color: var(--kleur); font: 700 12px/1 Georgia, serif; font-style: italic; }
details.uitleg-i > summary::-webkit-details-marker { display: none; }
details.uitleg-i[open] > summary { background: var(--kleur); color: #fff; }
.uitleg-i-tekst { position: absolute; z-index: 50; left: -10px; top: 26px; width: min(420px, 80vw); background: #fff; color: #1c2430;
  border: 1px solid #c9d3e0; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.15); padding: 12px 16px; font-size: 13.5px; font-weight: 400; text-align: left; white-space: normal; }
.uitleg-i-tekst p { margin: 0 0 8px; } .uitleg-i-tekst ul { margin: 0 0 8px; padding-left: 18px; }
ul.vinklijst li .uitleg-i { margin-left: 4px; }
/* v0.21.52: kleine knoppen kregen de grijze tekstkleur van .klein (onleesbaar op blauw, o.a. "Opnieuw berekenen") */
button.klein:not(.secundair):not(.toelichtingknop):not(.rij-weg):not(.splits), .knop.klein:not(.secundair):not(.toelichtingknop) { color: #fff; }
/* v0.21.52: klikbare controlemeldingen; het veld waar de melding over gaat, licht op */
.melding a.naar-veld { color: inherit; text-decoration: underline; }
.melding a.naar-veld::after { content: " →"; }
.veld:target, .veld.gemarkeerd { scroll-margin-top: 90px; outline: 3px solid #f0b400; outline-offset: 4px; border-radius: 4px; background: #fff8db; animation: veldflits 2.5s ease-out 1; }
@keyframes veldflits { 0% { background: #ffe58a; } 100% { background: #fff8db; } }
/* v0.21.54: aankondiging update */
.updatebalk { position: fixed; top: 0; left: 0; right: 0; z-index: 1100; background: #fff3c4; color: #5a4300; border-bottom: 2px solid #e0b400;
  padding: 10px 18px; font-size: 14px; line-height: 1.45; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.updatebalk[hidden] { display: none; }
body:has(#updatebalk:not([hidden])) { padding-top: 70px; }

/* v0.21.56 – onderdeel vertrekkende partner */
.expartnerform details.aanpassen { margin: .8rem 0; border: 1px solid #dde3ea; border-radius: 6px; padding: .5rem .8rem; background: #fafbfc; }
.expartnerform details.aanpassen > summary { cursor: pointer; font-weight: 600; color: #1d4f7a; }
.expartnerform label.breed { grid-column: 1 / -1; }
.expartnerform label.breed textarea { width: 100%; }
.expartnerform h4 { margin: 1rem 0 .4rem; }

/* v0.21.59 – gevaarlijke knop (bijv. Gebruiker verwijderen): witte tekst op rood, goed leesbaar */
a.knop.gevaar, button.gevaar:not(.link) { background: #c62828; color: #fff; border: 0; }
a.knop.gevaar:hover, button.gevaar:not(.link):hover { background: #8e1c1c; color: #fff; }

/* v0.21.65 – reviews */
.reviewform .sterren { border: 0; padding: 0; margin: .5rem 0 1rem; display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.reviewform .sterren legend { float: left; width: 100%; font-weight: 600; margin-bottom: .3rem; }
.reviewform .sterren input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.reviewform .sterren label { font-size: 2rem; line-height: 1; color: #cfd6de; cursor: pointer; }
.reviewform .sterren input:checked ~ label, .reviewform .sterren label:hover, .reviewform .sterren label:hover ~ label { color: #f2b01e; }
.reviewform .sterren input:focus-visible + label { outline: 2px solid #1d4f7a; }
.reviewform textarea { width: 100%; }
.reviewform .vinkje { display: block; margin: .4rem 0; }
.reviewform .inspring { margin-left: 1.6rem; }
.review { border-top: 1px solid #e3e8ee; padding: .8rem 0; }
.review .reviewkop { display: flex; flex-wrap: wrap; gap: .5rem; align-items: baseline; }
.sterren-toon { color: #f2b01e; letter-spacing: 1px; }
.sterren-toon .leeg { color: #cfd6de; }
.review .reactie { background: #f3f7fb; border-left: 3px solid #1d4f7a; padding: .5rem .8rem; margin-top: .4rem; }
.review .reactie p { margin: .3rem 0 0; }
.beheerreview .statuslabel { margin-left: auto; font-size: .85rem; padding: .1rem .5rem; border-radius: 10px; background: #e3e8ee; }
.beheerreview.status-nieuw .statuslabel { background: #fff3cd; }
.beheerreview.status-gepubliceerd .statuslabel { background: #d4edda; }
.beheerreview textarea { width: 100%; }
.filters a { margin-right: .8rem; }
.filters a.actief { font-weight: 700; text-decoration: none; }
nav a.menu-review { white-space: nowrap; }

/* ===== v0.21.66: homepage met donkere hero (variant B) en meer contrast ===== */
.kop { background: #0c1b33; border-bottom: 4px solid #f5b83d; }
.hero.hero-donker { background: #0c1b33; color: #fff; border: 0; border-radius: 18px; padding: 48px 48px 64px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.hero-donker .hero-tekst { flex: 1 1 460px; min-width: 0; }
.hero-donker .hero-beeld { flex: 1 1 360px; min-width: 0; }
.hero-donker .hero-plaat { display: block; max-width: 540px; margin: 0 auto; height: auto; }
.site .hero-donker h1 { color: #fff; font-size: 40px; line-height: 1.1; font-weight: 800; margin: 0 0 18px; }
.hero-donker h1 .accent { color: #f5b83d; }
.hero-donker .sub { color: #d6deea; font-size: 19px; font-weight: 400; line-height: 1.55; margin: 0 0 26px; max-width: 600px; }
.hero-donker .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-donker .knop.knop-accent { background: #f5b83d; border-color: #f5b83d; color: #0c1b33; font-weight: 700; }
.hero-donker .knop.knop-accent:hover { background: #ffc95a; text-decoration: none; }
.hero-donker .knop.knop-licht { background: transparent; border: 2px solid #fff; color: #fff; }
.hero-donker .knop.knop-licht:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.hero-donker .proefnoot { color: #c9d4e3; font-size: 14px; margin: 14px 0 0; }
.kerncijfers { position: relative; margin: -34px 24px 28px; background: #fff; border: 1px solid #c9d2df; border-radius: 16px; padding: 22px 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; box-shadow: 0 10px 30px rgba(12,27,51,.10); }
.kerncijfers strong { display: block; font-size: 24px; font-weight: 800; color: #0c1b33; }
.kerncijfers span { font-size: 15px; color: #2b3647; }
.introblok { background: #fff; border: 1px solid #c9d2df; border-radius: 14px; padding: 24px 28px; margin-bottom: 24px; }
.introblok .lead p { font-size: 17px; line-height: 1.6; max-width: 860px; color: #0f1a2b; margin-top: 0; }
.introblok .intro-links { margin: 6px 0 0; font-weight: 600; }
.kaart6 { border-color: #c9d2df; }
.kaart6 .icoon { color: #0c1b33; background: #fff4d6; border-radius: 10px; padding: 9px; box-sizing: content-box; }
.kaart6 h3 { color: #0c1b33; }
.kaart6 p { color: #2b3647; }
.proefband { background: #f5b83d; border-left: 0; color: #0c1b33; }
.proefband .knop.groot { background: #0c1b33; border-color: #0c1b33; color: #fff; }
.proefband .knop.groot:hover { background: #1b2f52; text-decoration: none; }
@media (max-width: 640px) { .hero.hero-donker { padding: 28px 22px 52px; } .site .hero-donker h1 { font-size: 32px; } .kerncijfers { margin: -30px 8px 22px; } }
.introblok { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.introblok .intro-tekst { flex: 999 1 520px; min-width: 0; }
.introblok .intro-plaat { flex: 1 1 260px; max-width: 340px; height: auto; margin: 0 auto; }

/* ===== v0.21.68: compacter en meer contrast in de tool ===== */
:root { --pa: #0f766e; --pa-licht: #e3f3f0; --pa-rand: #0f766e; --pb: #c2410c; --pb-licht: #fdece2; --pb-rand: #c2410c; }
/* stappen als balk bovenaan, volle breedte voor de inhoud */
.invoer-indeling { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.stappen { position: static; max-height: none; overflow: visible; padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; }
.stappen .klantkop { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; border: 0; margin: 0; padding: 0; }
.stappen .klantnaam { font-size: 21px; margin: 0; }
.stappen .scenariokeuze { margin: 0; padding: 4px 10px; flex-wrap: nowrap; gap: 10px; }
.stappen .scenariokeuze .scenario-wissel { flex-basis: auto; display: flex; align-items: center; gap: 8px; }
.stappen .scenariokeuze label { display: inline; margin: 0; }
.stappen .scenariokeuze select { width: auto; }
.stappen .vanander { margin: 0; }
.stappen ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.stappen li a { border: 1px solid #b9c4d3; border-radius: 999px; padding: 6px 12px; font-size: 14px; background: #fff; gap: 6px; white-space: nowrap; }
.stappen li a:hover { background: #eef2f7; }
.stappen li.actief a { background: #0c1b33; border-color: #0c1b33; color: #fff; box-shadow: none; }
.stappen li.actief a .vink-ok { color: #7ee2b8; }
.stappen li.uitkomst-link a { border: 2px solid #0b3d91; margin: 0; padding: 5px 12px; color: #0b3d91; }
.stappen li.uitkomst-link.actief a { background: #0b3d91; color: #fff; }
.stappen li.modulekop { margin: 0 0 0 10px; padding: 0; border: 0; align-self: center; }
.stappen li .teller { background: #b42318; color: #fff; }
/* invoer: twee velden naast elkaar op een breed scherm */
@media (min-width: 1000px) {
  #invoerform { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  #invoerform > * { grid-column: 1 / -1; min-width: 0; }
  #invoerform > .veld.bedragveld { grid-column: auto; grid-template-columns: minmax(0, 1fr) minmax(150px, 200px); }
  #invoerform > .veld.bedragveld .hulp { grid-column: 1 / -1; }
}
#invoerform h2 { margin: 18px 0 6px; padding-bottom: 4px; border-bottom: 2px solid #0c1b33; color: #0c1b33; font-size: 17px; }
/* tabellen: kop per persoon in eigen kleur, compacter */
table.o10 th.naam.p-a, table.totaaltabel th.naam.p-a { background: var(--pa); color: #fff; box-shadow: none; }
table.o10 th.naam.p-b, table.totaaltabel th.naam.p-b { background: var(--pb); color: #fff; box-shadow: none; }
table.o10 th.naam.p-a.grens { box-shadow: inset 3px 0 0 #fff; }
table.uitkomst td, table.uitkomst th { padding-top: 5px; padding-bottom: 5px; }
.uitkomstkaart { border-width: 2px; }
/* meldingen gebundeld */
details.meldingenbundel { background: #fff4d6; border: 1px solid #e0b44c; border-radius: 10px; padding: 9px 14px; margin: 12px 0; }
details.meldingenbundel summary { cursor: pointer; color: #5c3f00; }
details.meldingenbundel[open] summary { margin-bottom: 8px; }
details.meldingenbundel .melding { margin: 6px 0 0; }
details.bestaandblok { margin-top: 10px; }
details.bestaandblok summary { cursor: pointer; font-weight: 600; color: #0c1b33; margin-bottom: 6px; }
.stappen details.toegangsblok { margin: 0; padding: 6px 10px; }
.stappen details.toegangsblok summary { cursor: pointer; }
.stappen details.toegangsblok[open] summary { margin-bottom: 6px; }
.stappen > p.klein { margin: 0; }
.zonderopleiding { background: #0c1b33; color: #e6ecf5; border-radius: 16px; padding: 26px 30px; margin-bottom: 24px; }
.site .zonderopleiding h2 { color: #f5b83d; margin: 0 0 12px; font-size: 26px; border: 0; }
.zonderopleiding p { font-size: 17px; line-height: 1.6; max-width: 900px; margin: 0 0 12px; }
.zonderopleiding ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.zonderopleiding li { background: #16294a; border-radius: 10px; padding: 12px 14px; font-size: 15px; line-height: 1.45; }
.zonderopleiding li strong { color: #fff; font-size: 16px; }
.scenariokeuze button.link { color: #0b3d91; text-decoration: underline; }
label:has(> input[type=radio]), label:has(> input[type=checkbox]) { display: flex; align-items: center; gap: 8px; font-weight: 500; margin: 4px 0; }
label > input[type=radio], label > input[type=checkbox] { width: auto; margin: 0; }
.proefverlengen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; background: #fff4d6; border: 1px solid #e0b44c; border-radius: 8px; flex-basis: 100%; }
.proefverlengen label { margin: 0; font-weight: 600; } .proefverlengen select { width: auto; }
/* v0.21.70: tabellen in de dossierschermen niet over de volle breedte uitrekken: kolommen dicht bij elkaar */
.invoer-indeling table:not(.invoertabel) { width: auto; min-width: min(100%, 560px); max-width: 100%; }
.invoer-indeling table:not(.invoertabel) td:first-child, .invoer-indeling table:not(.invoertabel) th:first-child { min-width: 200px; }
.invoer-indeling table:not(.invoertabel) td.r, .invoer-indeling table:not(.invoertabel) th.r { min-width: 96px; padding-left: 18px; }
.invoer-indeling .naast { gap: 20px; }
.invoer-indeling .tabelblok table.invoertabel { width: auto; min-width: 0; max-width: 100%; }
.invoer-indeling .tabelblok table.invoertabel .eenheid.euro input { width: 150px; }
.invoer-indeling .tabelblok table.invoertabel input[type=date] { width: 150px; }
.invoer-indeling .regelingkaart table, .invoer-indeling .persoonblok table { width: 100%; min-width: 0; }
.invoer-indeling .regelingkaart table td:first-child, .invoer-indeling .regelingkaart table th:first-child { min-width: 0; }
.invoer-indeling .regelingkaart table td.r, .invoer-indeling .regelingkaart table th.r { min-width: 0; padding-left: 8px; }
.invoer-indeling .regelingkaart table td { white-space: normal; }
details.kewverdeling > summary { cursor: pointer; display: inline-block; padding: 8px 14px; border: 2px solid #0b3d91; border-radius: 8px; color: #0b3d91; font-weight: 600; margin: 6px 0 12px; }
details.kewverdeling > summary .klein { color: #3d4757; font-weight: 400; }
details.kewverdeling .open-tekst { display: none; } details.kewverdeling[open] .open-tekst { display: inline; } details.kewverdeling[open] .dicht-tekst { display: none; }
/* v0.21.72: fiscale uitwerking compact, ook bij één eigenaar: omschrijving en bedragen dicht bij elkaar */
.invoer-indeling table.o10 { width: auto; }
.invoer-indeling table.o10 th.naam, .invoer-indeling table.o10.een th.naam { width: auto; min-width: 120px; }
.invoer-indeling table.o10 td:first-child { min-width: 260px; }
.invoer-indeling table.ewrtabel, .invoer-indeling table.uitkomst.smal { width: auto; }
/* v0.21.72: samenstellen leningdelen compacter */
.kopregel { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.kopregel h2 { margin-bottom: 8px; }
.status-ok { color: #0f5f2c; background: #e5f4ea; border: 1px solid #9fd3b0; border-radius: 999px; padding: 4px 12px; font-weight: 600; font-size: 14px; }
.knoprij { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.invoer-indeling table.samenstel { width: auto; }
.invoer-indeling table.samenstel td, .invoer-indeling table.samenstel th { padding-left: 10px; padding-right: 10px; }
.invoer-indeling table.samenstel select { width: auto; }
h1 details.uitleg-i, h2 details.uitleg-i { font-size: 14px; font-weight: 400; }

/* ===== v0.21.73: kleuren A geel en B roze; soort leningdeel als gekleurd label ===== */
:root { --pa: #854d0e; --pa-licht: #fef9c3; --pa-rand: #facc15; --pa-vlak: #facc15; --pa-vlaktekst: #1f1a00;
        --pb: #be185d; --pb-licht: #fce7f3; --pb-rand: #be185d; --pb-vlak: #be185d; --pb-vlaktekst: #ffffff; }
table.o10 th.naam.p-a, table.totaaltabel th.naam.p-a { background: var(--pa-vlak); color: var(--pa-vlaktekst); }
table.o10 th.naam.p-b, table.totaaltabel th.naam.p-b { background: var(--pb-vlak); color: var(--pb-vlaktekst); }
.klantnaam .p-a { color: #854d0e; }
.soortpil { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 12.5px; font-weight: 600; color: #fff; white-space: nowrap; line-height: 1.5; }
.soortpil.or { background: #15803d; } .soortpil.afs { background: #1d4ed8; } .soortpil.nieuw { background: #6b21a8; } .soortpil.box3 { background: #c2410c; }
.invoer-indeling .regelingkaart table td { white-space: nowrap; } .invoer-indeling .regelingkaart table td:nth-child(3) { white-space: normal; }
.invoer-indeling table:not(.invoertabel) { justify-self: start; }
.invoer-indeling table.opzet td:first-child { min-width: 320px; }
.invoer-indeling .naast.enkel .regelingkaart { width: fit-content; max-width: 100%; }
.invoer-indeling .naast.enkel .regelingkaart table { width: auto; }
.invoer-indeling .regelingkaart table td.r, .invoer-indeling .regelingkaart table th.r { padding-left: 16px; }
/* v0.21.76: vraag met nadruk (bv. inbreng EWR) */
.veld.nadruk { background: #fff4d6; border: 2px solid #e0b44c; border-radius: 10px; padding: 12px 14px; margin: 6px 0 10px; }
.veld.nadruk .vlabel label { font-weight: 700; font-size: 16px; color: #0c1b33; }
.opzet tr.letop td { background: #fff4d6; color: #6b4a00; font-weight: 600; } .opzet tr.letop td:first-child { border-left: 4px solid #e0b44c; }

/* v0.21.79 – stap 7, B. Aflosvorm en fiscale gevolgen */
.aflosblok { border: 2px solid #0b3d91; border-radius: 12px; padding: 14px 16px; margin: 18px 0; background: #fff; }
.aflosblok h2 { margin-top: 0; }
.aflosblok h3 { margin: 16px 0 6px; font-size: 16px; }
.aflosblok .aflosuitleg { margin: 6px 0; padding-left: 20px; line-height: 1.5; }
.aflosblok .aflosuitleg li { margin: 3px 0; }
table.aflostabel { width: auto; justify-self: start; }
table.aflostabel th.p-a { box-shadow: inset 0 -3px 0 var(--pa-rand); } table.aflostabel th.p-b { box-shadow: inset 0 -3px 0 var(--pb-rand); }
table.aflostabel tr.gekozen td { background: #eef4ff; font-weight: 600; }
.keuzeopties { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 4px; }
.keuzeopties .optie { border: 2px solid #c9d2df; border-radius: 10px; padding: 9px 13px; min-width: 260px; cursor: pointer; background: #fff; }
.keuzeopties .optie:has(input:checked) { border-color: #0b3d91; background: #eef4ff; }
.onderzoek { display: inline-block; font-size: 11.5px; font-weight: 700; color: #92400e; background: #fde68a; border-radius: 6px; padding: 0 7px; cursor: help; }
/* samenstellen: waarschuwing bij aflosvorm met fiscale gevolgen */
.aflos-waarschuwing { background: #fff7ed; border: 2px solid #f97316; border-radius: 10px; padding: 10px 12px; margin: 6px 0; font-size: 14px; white-space: normal; }
.aflos-waarschuwing .knoprij { margin: 8px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
select.aflos-gewijzigd { border: 2px solid #f97316; }
.eindcontrole { border: 1px solid #c9d2df; border-radius: 10px; padding: 10px 14px; margin: 14px 0; background: #fff; }
.eindcontrole .blok { color: #b91c1c; font-weight: 600; }
.aflosblok, .aflosblok form { display: block; grid-column: 1 / -1; }
.aflosblok form > * { max-width: none; }
.aflosblok .melding.let-op { color: #5a3a00; }
.aflosblok .tabelscroll { display: block; }
.aflostabel th .klein { color: #cbd5e1; font-weight: 400; }
