/* Indeling; kleuren, controls, kaders en tabs volgen de gedeelde organisatiestandaard. */
.hypotheek{max-width:88rem;width:100%;min-width:0}
.hypotheek .hypotheek-aanname{max-width:72ch;margin:.5rem .5rem 1rem;line-height:1.5}
.hypotheek .tabblad-inhoud{min-width:0;padding:var(--kader-binnenruimte-y,var(--kader-binnenruimte,1rem)) var(--kader-binnenruimte-x,var(--kader-binnenruimte,1rem))}
.hypotheek [role=tabpanel][hidden]{display:none!important}
.hypotheek [role=tablist]{flex-wrap:wrap;gap:.25rem}
.hypotheek [role=tablist]>[role=tab]{flex:1 1 8rem;white-space:normal;line-height:1.3}
.hypotheek-velden{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr));gap:.85rem 1.25rem;margin:.8rem .25rem 1rem}
.hypotheek-veld{display:grid;grid-template-columns:minmax(0,1fr) 2.25rem;align-items:end;gap:.15rem .25rem;min-width:0}
.hypotheek .hypotheek-veld>label{display:flex;flex-direction:column;align-items:stretch;gap:.35rem;margin:0;min-width:0}
.hypotheek .hypotheek-veld>label>span{font-size:.95em}
.hypotheek .hypotheek-veld input:not([type=checkbox]),.hypotheek .hypotheek-veld select{width:100%;max-width:100%;margin:0;font:inherit}
.hypotheek .hypotheek-veld input[type=checkbox]{align-self:flex-start;min-height:1.4rem;min-width:1.4rem}
.hypotheek .hypotheek-veld>small{grid-column:1/-1}
.hypotheek .hypotheek-veld button.reken-icoon{width:2.25rem;min-width:2.25rem;flex-basis:2.25rem;font-size:1.2em}
.hypotheek .hypotheek-veld[data-origin=user] label>span::after{content:' •';color:var(--kleur-icoon,currentColor)}
.hypotheek .reken-disclosure{margin-block:.25rem;padding-inline:.25rem}
.hypotheek .reken-disclosure[open]{padding-bottom:.65rem}
.hypotheek [data-hypotheek-other]>.reken-disclosure{margin-inline-start:clamp(.65rem,1.5vw,1rem)}
.hypotheek [data-hypotheek-other]>.reken-disclosure>:not(summary){margin-inline-start:clamp(.35rem,1vw,.65rem)}
.hypotheek fieldset{min-width:0;max-width:100%;margin:.75rem 0;padding:var(--kader-binnenruimte-y,var(--kader-binnenruimte,1rem)) var(--kader-binnenruimte-x,var(--kader-binnenruimte,1rem))}
.hypotheek-samenvatting{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:.75rem;padding:.6rem .25rem 1rem;border-bottom:1px solid color-mix(in srgb,currentColor 22%,transparent);margin-bottom:1rem}
.hypotheek-samenvatting>div{display:flex;flex-direction:column;gap:.4rem;min-width:0;overflow-wrap:anywhere}
.hypotheek-samenvatting strong{font-size:1.35em;font-variant-numeric:tabular-nums}
.hypotheek-waarschuwingen p{padding:.3rem .5rem;line-height:1.5}
.hypotheek-grafiek{width:100%;min-width:0;overflow:hidden;margin:.75rem 0}
.hypotheek-grafiek svg{display:block;width:100%;height:auto;min-height:15rem;touch-action:pan-y;overflow:visible;color:var(--vlak-tekst,currentColor)}
.hypotheek-grafiek svg:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.hypotheek-tooltip{min-height:3.5rem;line-height:1.5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.hypotheek-tabel{max-width:100%;min-width:0;overflow:auto;margin:.75rem .25rem;padding:.4rem}
.hypotheek-tabel table{border-collapse:collapse;min-width:100%;width:max-content;font-variant-numeric:tabular-nums}
.hypotheek-tabel th,.hypotheek-tabel td{padding:.55rem .7rem;border-bottom:1px solid color-mix(in srgb,currentColor 18%,transparent);text-align:end;max-width:28rem;white-space:normal;overflow-wrap:anywhere}
.hypotheek-tabel :is(th,td):first-child{text-align:start}
.hypotheek-jaartabel table{font-size:.8rem;table-layout:auto;zoom:var(--hypotheek-tabelzoom,1)}
.hypotheek-jaartabel :is(th,td){padding:.35rem .45rem;white-space:nowrap;word-break:normal;overflow-wrap:normal;font-size:inherit}
.hypotheek-jaartabel th{white-space:normal;min-width:7.5rem;max-width:10rem;line-height:1.25}
.hypotheek-jaartabel :is(th,td):first-child{min-width:4rem;position:sticky;left:0;background:var(--kleur-icoontekst,#f3df9f);color:var(--vlak-tekst,#000)}
.hypotheek-tabelzoom{gap:.5rem}.hypotheek-tabelzoom output{min-width:3.5em;text-align:center;font-variant-numeric:tabular-nums}
.hypotheek [role=tabpanel]>ol{padding-inline-start:1.5rem;line-height:1.5}
.hypotheek [role=tabpanel]>ol>li{padding:.35rem .2rem .75rem}
#hypotheek-afdruk{display:none}
@media(max-width:600px){.hypotheek{padding:.5rem}.hypotheek [role=tablist]>[role=tab]{flex-basis:40%;font-size:.9em}.hypotheek-velden{gap:.7rem}.hypotheek-samenvatting{grid-template-columns:1fr 1fr}.hypotheek-samenvatting strong{font-size:1.15em}.hypotheek-grafiek svg{min-height:12rem}.hypotheek .reken-toolbar-links{flex-basis:auto}}
@page hypotheek-verslag{size:A4 portrait;margin:12mm!important}
@page hypotheek-jaarblad{size:A4 landscape;margin:8mm!important}
@media print{body:has(#hypotheek-afdruk)>:not(#hypotheek-afdruk){display:none!important}body:has(#hypotheek-afdruk){background:white!important;color:black!important;overflow:visible!important;margin:0!important}#hypotheek-afdruk{display:block!important;font:10pt Arial,sans-serif;color:black;background:white;padding:10mm}#hypotheek-afdruk svg{width:100%;height:auto;break-inside:avoid}#hypotheek-afdruk .hypotheek-tabel{overflow:visible}#hypotheek-afdruk table{width:100%;min-width:0;table-layout:fixed;font-size:7pt}#hypotheek-afdruk th,#hypotheek-afdruk td{padding:3pt;border:1px solid #999;overflow-wrap:normal;word-break:normal}#hypotheek-afdruk thead{display:table-header-group}#hypotheek-afdruk tr{break-inside:avoid}
 html:has(#hypotheek-afdruk),body:has(#hypotheek-afdruk){position:static!important;inset:auto!important;width:auto!important;height:auto!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:0!important}
 #hypotheek-afdruk{page:hypotheek-verslag;padding:0}
 #hypotheek-afdruk th{position:static!important}
 #hypotheek-afdruk th button{display:inline!important;font:inherit!important;line-height:inherit!important;height:auto!important;min-height:0!important;max-height:none!important;min-width:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:none!important;color:black!important;white-space:normal!important}
 #hypotheek-afdruk .hypotheek-jaarblad{page:hypotheek-jaarblad;break-before:page;break-after:page;break-inside:avoid;margin:0;padding:0}
 #hypotheek-afdruk .hypotheek-jaarblad h2{font-size:11pt;margin:0 0 2mm}#hypotheek-afdruk .hypotheek-jaarblad>p{font-size:7pt;margin:0 0 2mm}
 #hypotheek-afdruk .hypotheek-jaartabel{margin:0;padding:0;max-width:none}
 #hypotheek-afdruk .hypotheek-jaartabel table{zoom:1!important;table-layout:auto;font:6.5pt/1.05 Arial,sans-serif;width:100%;min-width:0;box-shadow:none!important}
 #hypotheek-afdruk .hypotheek-jaartabel :is(th,td){padding:.25pt 2pt;border:.25pt solid #999;min-width:0;max-width:none;font-size:6.5pt;line-height:1.05;white-space:nowrap;position:static;background:white!important;color:black!important}
 #hypotheek-afdruk .hypotheek-jaartabel th{white-space:normal;max-width:23mm;font-size:6.5pt;line-height:1.1}
}
/* Uitvoer en invoer volgen de centrale kaders; disclosures blijven erbuiten. */
.hypotheek-kader{padding:var(--kader-binnenruimte-y,var(--kader-binnenruimte,1rem)) var(--kader-binnenruimte-x,var(--kader-binnenruimte,1rem));min-width:0;max-width:100%;border:1px solid color-mix(in srgb,currentColor 22%,transparent);border-radius:var(--afronding, .5rem)}
.hypotheek-grafiekfilters{grid-template-columns:repeat(6,minmax(0,1fr));align-items:end}.hypotheek .hypotheek-grafiekfilters>label{grid-column:span 3}.hypotheek .hypotheek-grafiekfilters>label:nth-child(n+5){grid-column:span 2}
.hypotheek .hypotheek-grafiekfilters>label{display:grid;grid-template-rows:1fr auto;align-self:stretch;gap:.35rem;min-width:0;margin:0}
.hypotheek .hypotheek-grafiekfilters>label>select,.hypotheek .hypotheek-grafiekfilters>label>.zoekkeuze{width:100%;min-width:0;max-width:100%;margin:0}
.hypotheek-legenda{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem 1.25rem;padding:.5rem 0}
.hypotheek-legenda-item{display:grid;grid-template-columns:2.6rem minmax(0,1fr);gap:.2rem .5rem;align-items:center;min-width:0}
.hypotheek-legenda-item strong{grid-column:2;font-size:1.3em;font-weight:700;font-variant-numeric:tabular-nums}
.hypotheek-lijnvoorbeeld{display:inline-block;width:2.6rem;height:3px;background:currentColor}
.hypotheek-lijnvoorbeeld-onderbroken{background:linear-gradient(to right,currentColor 0 23.08%,transparent 23.08% 38.46%,currentColor 38.46% 61.54%,transparent 61.54% 76.92%,currentColor 76.92% 100%)}
.hypotheek .hypotheek-grafiekacties{justify-content:flex-end;margin-block:0}
.hypotheek .hypotheek-tooltip{min-height:1.5em;margin:.25rem 0;font-size:1.1em}
.hypotheek .reken-icoon>img{width:1.4em;height:1.4em;display:block}
.hypotheek-weergave{margin-top:.5rem}
@media(max-width:480px){.hypotheek-grafiekfilters{grid-template-columns:1fr}.hypotheek .hypotheek-grafiekfilters>label{grid-column:1!important}.hypotheek-legenda{grid-template-columns:1fr}}
