/* Rekenhulpen (reservefonds, ALV-agenda): bouwt voort op homepage.css + marketing.css (.kb-…). */
.rh{max-width:920px}
.rh-blok{margin:34px 0 0;padding:26px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 10px 30px #153d3b0d}
.rh-blok>h2{font-size:clamp(22px,2.2vw,28px);letter-spacing:-.5px;line-height:1.2;margin:0 0 6px}
.rh-blok>p.rh-uitleg{margin:0 0 18px;color:var(--muted);font-size:15.5px}
.rh-velden{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:16px 18px}
.rh-veld{display:grid;gap:6px;align-content:start;min-width:0}
.rh-veld label,.rh-veld .rh-label{font-weight:700;font-size:15px;line-height:1.3}
.rh-veld small,.rh-hint{color:var(--muted);font-size:14px;line-height:1.4}
.rh input[type=text],.rh input[type=number],.rh input[type=date],.rh input[type=time],.rh select,.rh textarea{font:inherit;font-size:17px;min-height:48px;padding:10px 12px;border-radius:12px;border:2px solid #153d3b40;background:#fff;color:var(--ink);width:100%;min-width:0}
.rh textarea{min-height:110px;line-height:1.45;resize:vertical}
.rh input:focus-visible,.rh select:focus-visible,.rh textarea:focus-visible{outline:3px solid var(--copper);outline-offset:2px;border-color:var(--ink)}
.rh fieldset{border:0;padding:0;margin:0;min-width:0}
.rh legend{font-weight:700;font-size:15px;padding:0;margin:0 0 8px}
.rh-keuze{display:flex;flex-wrap:wrap;gap:10px 22px}
.rh-check{display:flex;align-items:center;gap:12px;min-height:44px;font-weight:600;font-size:16px;cursor:pointer;line-height:1.3}
.rh-check input{width:22px;height:22px;flex:none;accent-color:var(--ink);margin:0}
.rh-knop{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 18px;border:0;border-radius:12px;background:var(--ink);color:var(--paper);font:inherit;font-weight:700;font-size:16px;cursor:pointer}
.rh-knop:hover{background:var(--ink2)}
.rh-knop.licht{background:var(--soft);color:var(--ink)}.rh-knop.licht:hover{background:#eef4e2}
.rh-knop.rand{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 2px #153d3b40}.rh-knop.rand:hover{background:#153d3b0d}
.rh-knoppen{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
/* Onderdelen (reservefonds) */
.rh-onderdelen{display:grid;gap:14px;margin:0;padding:0;list-style:none}
.rh-onderdeel{display:grid;grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr)) 48px;gap:10px 12px;align-items:end;padding:14px;border-radius:14px;background:var(--mint)}
.rh-onderdeel .rh-weg{width:48px;height:48px;border:0;border-radius:12px;background:#fff;color:var(--ink);font:inherit;font-size:22px;font-weight:800;cursor:pointer;box-shadow:inset 0 0 0 2px #153d3b33}
.rh-onderdeel .rh-weg:hover{background:#fbeee4}
@media(max-width:720px){.rh-onderdeel{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.rh-onderdeel .rh-naam{grid-column:1/-1}.rh-onderdeel .rh-weg{grid-column:2;justify-self:end}}
/* Uitkomst */
.rh-cijfers{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:14px;margin:0;padding:0;list-style:none}
.rh-cijfer{padding:18px;border-radius:14px;background:var(--mint)}
.rh-cijfer.donker{background:var(--ink);color:var(--paper)}
.rh-cijfer.donker strong,.rh-cijfer.donker span{color:var(--paper)}
.rh-cijfer span{display:block;font-size:14.5px;font-weight:650;color:var(--muted);line-height:1.35}
.rh-cijfer strong{display:block;font-size:clamp(24px,2.6vw,30px);letter-spacing:-.5px;line-height:1.15;margin-top:6px;color:var(--ink)}
.rh-cijfer small{display:block;margin-top:6px;font-size:14px;line-height:1.4}
.rh-cijfer.donker small{color:#d6e2d8}
.rh-tabel-wrap{overflow-x:auto;margin-top:16px;-webkit-overflow-scrolling:touch}
.rh-tabel{width:100%;border-collapse:collapse;font-size:15px;font-variant-numeric:tabular-nums}
.rh-tabel th,.rh-tabel td{padding:9px 8px;border-bottom:1px solid var(--line);text-align:right;vertical-align:top}
.rh-tabel th:first-child,.rh-tabel td:first-child{text-align:left}
.rh-tabel thead th{font-size:13.5px;color:var(--muted);font-weight:750}
.rh-tabel td.rh-posten{text-align:left;color:var(--muted);font-size:14px;min-width:130px}
.rh-tabel tr.piek td{background:#fbeee4}
.rh-tabel td.negatief{color:#a3361c;font-weight:750}
.rh-balk{display:block;height:6px;border-radius:3px;background:var(--copper);margin-top:4px;margin-left:auto;max-width:100%}
.rh-melding{margin:14px 0 0;padding:12px 16px;border-radius:12px;background:#fbeee4;border-left:4px solid var(--copperText);font-size:15.5px}
.rh-melding:empty{display:none}
.rh-wet{margin-top:18px;padding:18px 22px;background:var(--mint);border-left:4px solid var(--green);border-radius:12px;font-size:16px}
.rh-wet p{margin:0 0 10px}.rh-wet p:last-child{margin:0}
.rh-wet ol{margin:0 0 10px;padding-left:1.3em}
.rh-status{min-height:24px;margin:10px 0 0;font-weight:650;color:var(--green)}
/* Oproep (ALV) */
.rh-oproep{margin-top:18px;padding:30px;background:#fff;border:1px solid #153d3b33;border-radius:12px;color:#111;font-family:Georgia,"Times New Roman",serif;font-size:17px;line-height:1.55}
.rh-oproep h2{font-family:inherit;font-size:25px;letter-spacing:0;line-height:1.25;margin:0 0 14px;color:#111}
.rh-oproep h3{font-family:inherit;font-size:19px;letter-spacing:0;margin:20px 0 8px;color:#111}
.rh-oproep p{margin:0 0 12px}
.rh-oproep dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:4px 16px;margin:0 0 14px}
.rh-oproep dt{font-weight:700}.rh-oproep dd{margin:0;overflow-wrap:anywhere}
.rh-oproep ol{margin:0 0 12px;padding-left:1.6em}
.rh-oproep li{margin:4px 0}
.rh-oproep .rh-stem{font-style:italic;color:#444}
@media(max-width:560px){.rh-blok{padding:18px}.rh-oproep{padding:18px;font-size:16px}.rh-oproep dl{grid-template-columns:1fr}.rh-oproep dd{margin-bottom:6px}}
/* Printen: alleen de uitkomst (of de oproep) op papier */
@media print{
 @page{margin:18mm}
 body{background:#fff;color:#000;font-size:11pt}
 .skip,.site-header,.site-footer,.crumbs,.kb-cta,.kb-meer,.kb-let-op,.rh-form,.rh-geen-print,.rh-knoppen,.rh-status{display:none!important}
 .kb{padding:0;max-width:none}
 .rh-blok{border:0;box-shadow:none;padding:0;margin:0 0 12pt}
 .rh-cijfer,.rh-cijfer.donker{background:#fff!important;color:#000!important;border:1px solid #999}
 .rh-cijfer.donker strong,.rh-cijfer.donker span,.rh-cijfer.donker small{color:#000!important}
 .rh-tabel tr.piek td{background:#eee!important}
 .rh-tabel-wrap{overflow:visible}
 .rh-oproep{border:0;padding:0;margin:0;font-size:12pt}
 a{text-decoration:none;color:#000}
}
.rh-kop3{font-size:20px;letter-spacing:-.3px;margin:28px 0 8px}
#rf-pieken{margin:0;padding-left:1.3em}#rf-pieken li{margin:4px 0}
.rh code{font-size:.92em;background:var(--mint);padding:1px 6px;border-radius:6px}
.rh-tabel caption{caption-side:bottom;text-align:left;padding-top:8px}
.kb-cta .textlink,.kb-kaart .textlink{display:inline-flex;align-items:center;min-height:44px}
.rh [hidden]{display:none!important}
/* Insluitweergave (?embed=1, zie embed.js): alleen de rekenhulp zelf, compact, met een klein merklinkje */
.lh-embed .skip,.lh-embed .site-header,.lh-embed .site-footer,.lh-embed .crumbs,.lh-embed .kb-cta{display:none!important}
.lh-embed body{background:#fff}
.lh-embed .kb.rh{max-width:none;padding:16px 16px 20px}
.lh-embed .rh h1{font-size:clamp(24px,4.2vw,34px);margin-top:4px}
.lh-embed .rh-blok{margin-top:20px}
.lh-embed-merk{margin:20px 0 0;font-size:14px;text-align:right}
.lh-embed-merk a{display:inline-flex;align-items:center;min-height:44px;color:var(--muted);font-weight:650;text-decoration:underline;text-underline-offset:3px}
@media print{.lh-embed-merk{display:none}}
/* Insluitpagina: code om te kopiëren en voorbeeld */
.rh-code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;font-size:14px!important;line-height:1.5}
.rh-voorbeeld{display:block;width:100%;height:560px;margin-top:16px;border:1px solid var(--line);border-radius:12px;background:#fff}
