/* Kostenklus Rekentools 1.1.0 – mobile-first, alleen eigen klassen (kk-) */
.kk-tool{--kk-acc:#b4470f;--kk-acc-d:#8f3609;--kk-ink:#1f2328;--kk-mute:#57606a;--kk-line:#d0d7de;--kk-bg:#fff8f3;box-sizing:border-box;max-width:40rem;margin:1.5rem auto;padding:1rem;border:1px solid var(--kk-line);border-radius:12px;background:#fff;color:var(--kk-ink);font:16px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.kk-tool *,.kk-tool *::before,.kk-tool *::after{box-sizing:inherit}
.kk-titel{margin:0 0 .75rem;font-size:1.25rem;line-height:1.3}
.kk-form{display:grid;gap:1rem}
.kk-veld{display:grid;gap:.35rem;margin:0;padding:0;border:0;font-weight:600}
.kk-veld legend{padding:0;margin-bottom:.35rem;font-weight:600}
.kk-veld input[type=number],.kk-veld select{width:100%;min-height:44px;padding:.5rem .75rem;border:1px solid #8c959f;border-radius:8px;font:inherit;font-weight:400;background:#fff;color:inherit}
.kk-veld input[type=range]{width:100%;min-height:44px;accent-color:var(--kk-acc)}
.kk-keuze{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:.6rem;min-height:44px;padding:.35rem .5rem;border:1px solid var(--kk-line);border-radius:8px;font-weight:400;cursor:pointer}
.kk-keuze input{width:1.25rem;height:1.25rem;margin:0;accent-color:var(--kk-acc)}
.kk-keuze .kk-hint{grid-column:2}
.kk-inline{font-weight:400}
.kk-hint{font-weight:400;font-size:.875rem;color:var(--kk-mute)}
.kk-toon{font-weight:700}
.kk-knop-reken{justify-self:start;min-height:44px;padding:.5rem 1.25rem;border:2px solid var(--kk-acc);border-radius:8px;background:#fff;color:var(--kk-acc-d);font:inherit;font-weight:700;cursor:pointer}
.kk-uitkomst{margin-top:1rem;padding:1rem;border-radius:10px;background:var(--kk-bg)}
.kk-uitkomst:focus{outline:3px solid var(--kk-acc);outline-offset:2px}
.kk-bedrag{margin:0 0 .5rem;font-size:1.5rem;line-height:1.25}
.kk-bedrag .kk-label{display:block;font-size:.875rem;font-weight:600;color:var(--kk-mute)}
.kk-details{margin:0 0 .5rem;padding-left:1.1rem}
.kk-details li{margin:.2rem 0}
.kk-noot{color:var(--kk-mute)}
.kk-klein,.kk-bronnen{margin:.4rem 0;font-size:.875rem;color:var(--kk-mute)}
.kk-bronnen a,.kk-disclosure a{color:var(--kk-acc-d)}
.kk-fout{margin:0;color:#a40e26;font-weight:600}
.kk-cta-blok{margin:1rem 0 .25rem}
.kk-cta{display:block;min-height:48px;padding:.75rem 1rem;border-radius:10px;background:var(--kk-acc);color:#fff;font-weight:700;text-align:center;text-decoration:none}
.kk-cta:hover,.kk-cta:focus{background:var(--kk-acc-d);color:#fff}
.kk-cta:focus-visible,.kk-knop-reken:focus-visible,.kk-keuze:focus-within{outline:3px solid var(--kk-ink);outline-offset:2px}
@media (min-width:40rem){.kk-tool{padding:1.5rem}.kk-cta{display:inline-block}}
@media (prefers-reduced-motion:reduce){.kk-tool *{transition:none!important}}
/* 1.1.0: totaalbudget en extra tools */
.kk-tool-breed{max-width:48rem}
.kk-klus{padding:.75rem;border:1px solid var(--kk-line);border-radius:10px}
.kk-klus legend{padding:0 .35rem;font-size:1.05rem}
.kk-klus.kk-uit [data-kk-veld]{display:none}
.kk-klus .kk-hint a,.kk-form .kk-hint a{color:var(--kk-acc-d)}
.kk-veld input:disabled,.kk-keuze input:disabled{opacity:.5}
@media (min-width:40rem){.kk-klus{display:grid;grid-template-columns:1fr 1fr;gap:.6rem 1rem}.kk-klus>.kk-keuze:first-of-type,.kk-klus>.kk-hint{grid-column:1/-1}}
