:root{padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}body{margin:0}img{max-width:100%}[hidden]{display:none!important}
/* Layout: smalle kolom met bedieningsstrook bovenaan, uitkomst direct eronder, daarna fiscale vergelijking, grafiek, ladder en aannames. */
:root {
  /* Take Stock V2: donkergroen met zand en koper, een horizon met een kronkelende weg als kop. */
  --bg: #0D1A15;
  --surface: #13241D;
  --surface2: #1A2F26;
  --ink: #F3ECDB;
  --ink2: #D6CBB0;
  --muted: #A59C84;
  --line: #2B4438;
  --grid: #1E3329;
  --accent: #DDBB87;
  --accent-soft: #2C3A2A;
  --copper: #CF8553;
  --good: #8FD3A4;
  --good-bg: #123022;
  --warn: #E8B45C;
  --warn-bg: #352A10;
  --bad: #F08A76;
  --bad-bg: #3A1F19;
  --hill1: #1B3328;
  --hill2: #15291F;
  --hill3: #101F18;
  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-num: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
html { background: var(--bg); }
* { box-sizing: border-box; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 15px; line-height: 1.5;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 22px 40px;
}
.wrap { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 26px; }
h1, h2 { font-family: var(--f-display); text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: 30px; line-height: 1.1; font-weight: 700; }
h2 { font-size: 19px; line-height: 1.2; font-weight: 600; }
p { margin: 0; }
.eyebrow { font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.lede { color: var(--ink2); margin-top: 8px; max-width: 60ch; }
section { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.sub { color: var(--ink2); font-size: 14px; max-width: 62ch; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px; }

/* knoppen */
.knobs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px 28px; }
.knob { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.knob.wide { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 16px; }
.knob-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.knob label.t, .field label { font-weight: 600; font-size: 14px; }
input[type="number"], input[type="text"] {
  font-family: var(--f-num); font-size: 15px; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; width: 100%; min-width: 0;
}
.knob input[type="number"], .knob input[data-dec] { width: 128px; text-align: right; }
input[type="range"] { width: 100%; accent-color: var(--accent); height: 28px; margin: 0; }
input:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.unit { color: var(--muted); font-size: 13px; white-space: nowrap; }
.tag { font-size: 12px; font-weight: 600; padding: 1px 7px; border-radius: 99px; letter-spacing: 0.02em; white-space: nowrap; }
.tag.bevestigd { display: none; }
.tag.bron { background: var(--accent-soft); color: var(--accent); }
.tag.aanname { background: var(--warn-bg); color: var(--warn); }
.tag.zelf { background: rgba(150, 196, 224, 0.16); color: #A8CFE6; }

/* keuzeschakelaar */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--bg); align-self: flex-start; flex-wrap: wrap; }
.seg-opt { position: relative; cursor: pointer; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-opt span { display: block; padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--ink2); }
.seg-opt input:checked + span { background: var(--accent); color: var(--bg); }
.seg-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -2px; }
.soon-row { display: flex; gap: 8px; flex-wrap: wrap; }
.soon { font-size: 12.5px; color: var(--muted); border: 1px dashed var(--line); border-radius: 99px; padding: 2px 10px; }
.subknobs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px 24px; }

/* uitkomst */
.verdict { border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 10px; border: 1px solid transparent; }
.verdict.good { background: var(--good-bg); border-color: color-mix(in srgb, var(--good) 35%, transparent); }
.verdict.warn { background: var(--warn-bg); border-color: color-mix(in srgb, var(--warn) 35%, transparent); }
.verdict.bad { background: var(--bad-bg); border-color: color-mix(in srgb, var(--bad) 35%, transparent); }
.verdict-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pill { font-family: var(--f-display); font-weight: 700; font-size: 20px; }
.verdict.good .pill { color: var(--good); }
.verdict.warn .pill { color: var(--warn); }
.verdict.bad .pill { color: var(--bad); }
.scope { font-size: 12px; color: var(--ink2); border: 1px solid var(--line); border-radius: 99px; padding: 1px 8px; background: var(--surface); }
.verdict-text { color: var(--ink); max-width: 62ch; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kpi .k-label { font-size: 12px; color: var(--ink2); font-weight: 600; letter-spacing: 0.02em; }
.kpi .k-val { font-family: var(--f-num); font-variant-numeric: tabular-nums; font-size: 21px; font-weight: 500; overflow-wrap: anywhere; }
.kpi .k-val.pos { color: var(--good); }
.kpi .k-val.neg { color: var(--bad); }
.kpi .k-sub { font-size: 12.5px; color: var(--muted); }

/* fiscale vergelijking */
.cmp { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 10px; }
.cmp-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cmp-card.cur { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.cmp-card h3 { margin: 0; font-family: var(--f-display); font-size: 16px; font-weight: 600; line-height: 1.25; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.chip { font-family: var(--f-body); font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 99px; padding: 1px 8px; }
.cmp-big { font-family: var(--f-num); font-variant-numeric: tabular-nums; font-size: 22px; font-weight: 500; }
.cmp-delta { font-size: 12.5px; color: var(--ink2); }
.cmp-delta.more { color: var(--bad); }
.cmp-delta.less { color: var(--good); }
.kv { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink2); border-top: 1px solid var(--line); padding-top: 5px; }
.kv span:last-child { font-family: var(--f-num); font-variant-numeric: tabular-nums; color: var(--ink); text-align: right; }
.insight { font-size: 14px; color: var(--ink); max-width: 66ch; }

/* grafiek */
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { display: inline-block; width: 22px; height: 0; border-top: 2px solid var(--accent); }
.legend i.dash { border-top: 2px dashed var(--muted); }
.legend i.mark { border-top: 1px solid var(--muted); width: 14px; }
.chart { position: relative; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 6px 4px 2px; touch-action: pan-y; }
.chart svg { display: block; width: 100%; height: auto; }
.chart text { font-family: var(--f-num); font-size: 12px; fill: var(--muted); }
.chart text.lbl { fill: var(--ink2); }
.chart .grid { stroke: var(--grid); stroke-width: 1; }
.chart .zero { stroke: var(--ink2); stroke-width: 1; }
.chart .k-line { stroke: var(--accent); stroke-width: 2.2; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.chart .r-line { stroke: var(--muted); stroke-width: 1.8; fill: none; stroke-dasharray: 5 4; }
.chart .neg-zone { fill: var(--bad); opacity: 0.09; }
.chart .mk { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 2 3; }
.chart .dot { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }
.chart .dot2 { fill: var(--muted); stroke: var(--surface); stroke-width: 2; }
.chart .cross { stroke: var(--ink2); stroke-width: 1; }
.tip {
  position: absolute; pointer-events: none; background: var(--surface); border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 10px; font-size: 12.5px; box-shadow: 0 4px 14px rgba(0,0,0,0.16);
  min-width: 170px; z-index: 3;
}
.tip b { font-weight: 600; display: block; margin-bottom: 3px; }
.tip .row { display: flex; justify-content: space-between; gap: 14px; }
.tip .row span:last-child { font-family: var(--f-num); font-variant-numeric: tabular-nums; }
details.table-view summary { cursor: pointer; font-size: 13.5px; color: var(--accent); font-weight: 600; padding: 4px 0; }
.tbl { overflow-x: auto; margin-top: 8px; }
table { border-collapse: collapse; width: 100%; min-width: 440px; font-size: 13px; }
th, td { text-align: right; padding: 6px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th:first-child, td:first-child { text-align: left; }
th { font-weight: 600; color: var(--ink2); font-size: 12px; }
td { font-family: var(--f-num); font-variant-numeric: tabular-nums; }
td.neg { color: var(--bad); }

/* land kiezen, ranglijst en landkaart */
select { font-family: var(--f-body); font-size: 15px; font-weight: 600; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; min-width: 0; max-width: 100%; }
select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip.warn { color: var(--warn); background: var(--warn-bg); }
.chip.dim { color: var(--ink2); background: var(--surface2); }
.rank { display: flex; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.rrow { display: grid; grid-template-columns: 26px 1fr 104px; gap: 10px; align-items: center; text-align: left; font: inherit; color: inherit; background: transparent; border: 1px solid transparent; border-radius: 8px; padding: 8px; cursor: pointer; width: 100%; }
.rrow:hover { background: var(--surface2); }
.rrow.cur { border-color: var(--accent); background: var(--accent-soft); }
.rk { font-family: var(--f-num); font-size: 14px; color: var(--muted); text-align: center; }
.rrow.top .rk { color: var(--accent); font-weight: 500; }
.rname { display: flex; align-items: center; gap: 4px 8px; flex-wrap: wrap; font-weight: 600; font-size: 14.5px; margin-bottom: 5px; }
.rdet { font-size: 12px; color: var(--muted); margin-top: 5px; }
.rv { font-family: var(--f-num); font-variant-numeric: tabular-nums; text-align: right; font-size: 15px; }
.rv small { display: block; font-size: 12px; color: var(--muted); font-family: var(--f-body); }
.rsep { border-top: 1px dashed var(--line); margin: 2px 6px; font-size: 12px; color: var(--muted); padding-top: 3px; }
.rules { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink); }
.lfields { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 18px; }
.lh { display: flex; gap: 6px 10px; align-items: baseline; flex-wrap: wrap; }
.lh h3 { margin: 0; font-family: var(--f-display); font-size: 18px; font-weight: 600; }

/* advies en overzichtstabel */
.advice { display: flex; flex-direction: column; gap: 10px; }
.advice .big { font-family: var(--f-display); font-size: 21px; font-weight: 700; display: flex; gap: 6px 10px; align-items: baseline; flex-wrap: wrap; }
.advice p { max-width: 64ch; }
button.act { font-family: var(--f-body); font-size: 13.5px; font-weight: 600; color: var(--bg); background: var(--accent); border: 0; border-radius: 6px; padding: 7px 12px; cursor: pointer; align-self: flex-start; }
.mxbar { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.mxrange { display: flex; flex-direction: column; gap: 2px; flex: 1 1 240px; min-width: 200px; }
.mxrange .mv { font-family: var(--f-num); font-size: 14px; }
.mx { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
table.mxt { min-width: 540px; width: 100%; border-collapse: separate; border-spacing: 3px; }
.mxt th { font-size: 12px; padding: 6px 4px; text-align: center; white-space: nowrap; border-bottom: 0; font-family: var(--f-num); }
.mxt th.cc { color: var(--accent); }
.mxt th.rn, .mxt td.rn { text-align: left; font-family: var(--f-body); font-size: 13.5px; font-weight: 600; position: sticky; left: 0; background: var(--surface); z-index: 1; padding: 6px 8px; min-width: 118px; border-bottom: 0; white-space: normal; }
.mxt td.rn small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.mxt tr.sel td.rn { color: var(--accent); }
.mxt td.c { padding: 0; border-bottom: 0; text-align: center; }
.mxt td.c button { width: 100%; font-family: var(--f-num); font-size: 12.5px; border: 0; border-radius: 6px; padding: 9px 2px; cursor: pointer; font-variant-numeric: tabular-nums; }
.mxt td.g button { background: var(--good-bg); color: var(--good); }
.mxt td.w button { background: var(--warn-bg); color: var(--warn); }
.mxt td.b button { background: var(--bad-bg); color: var(--bad); }
.mxt td.cur button { box-shadow: inset 0 0 0 2px var(--ink); }
.mxt tr.sep td { padding: 2px 8px; font-size: 12px; color: var(--muted); border-bottom: 0; text-align: left; font-family: var(--f-body); }

/* bailout */
.chip.good { color: var(--good); background: var(--good-bg); }
.chip.bad { color: var(--bad); background: var(--bad-bg); }
.bcard { display: flex; flex-direction: column; gap: 8px; }
.bcard h3 { margin: 0; font-family: var(--f-display); font-size: 17px; font-weight: 600; display: flex; gap: 6px 10px; align-items: baseline; flex-wrap: wrap; }

/* ladder */
.ladder { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.lrow { display: grid; grid-template-columns: 62px 1fr 104px; align-items: center; gap: 10px; padding: 3px 4px; border-radius: 6px; }
.lrow.cur { background: var(--surface2); }
.lrow .lb { font-family: var(--f-num); font-size: 13px; font-variant-numeric: tabular-nums; }
.lrow.cur .lb { font-weight: 500; }
.track { position: relative; height: 12px; background: color-mix(in srgb, var(--line) 55%, transparent); border-radius: 2px 6px 6px 2px; }
.bar { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); border-radius: 2px 6px 6px 2px; }
.cap { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); border-radius: 1px; }
.lv { font-family: var(--f-num); font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.st { display: inline-block; width: 1.1em; text-align: center; font-weight: 700; }
.st.ok { color: var(--good); }
.st.no { color: var(--bad); }
.lnote { font-size: 12.5px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.lnote .capkey { display: inline-block; width: 2px; height: 12px; background: var(--ink); vertical-align: -2px; margin-right: 6px; }

/* aannames */
.group { display: flex; flex-direction: column; gap: 10px; }
.group h3 { margin: 0; font-size: 13px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink2); font-weight: 600; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px 22px; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field .ftop { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.field .inrow { display: flex; align-items: center; gap: 8px; }
.hint { font-size: 12.5px; color: var(--muted); }
.keyline { font-size: 12.5px; color: var(--ink2); display: flex; gap: 8px 12px; flex-wrap: wrap; align-items: center; }
button.reset { font-family: var(--f-body); font-size: 13px; font-weight: 600; color: var(--accent); background: transparent; border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; cursor: pointer; align-self: flex-start; }

/* verificatie */
footer { font-size: 12.5px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
footer a, .keyline a { color: var(--accent); }
footer .tag { margin-top: 10px; font-size: 14px; }
footer .tag a { font-weight: 600; text-decoration: none; }
footer .tag a:hover { text-decoration: underline; }
@media (max-width: 420px) {
  h1 { font-size: 26px; }
  .lrow { grid-template-columns: 54px 1fr 96px; gap: 8px; }
  .knob input[type="number"], .knob input[data-dec] { width: 116px; }
}


/* Take Stock V2: merk, horizon en introductie */
:root { --brand: var(--copper); }
.brandbar { display: flex; flex-direction: column; gap: 16px; }
.brandrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; }
.wordmark { font-family: var(--f-display); font-size: 25px; font-weight: 700; letter-spacing: -0.015em; line-height: 1; }
.v2 { font-family: var(--f-num); font-size: 12px; font-weight: 500; color: var(--accent); border: 1px solid var(--line); border-radius: 99px; padding: 2px 8px; letter-spacing: 0.06em; }
.hashtag { font-size: 16px; font-weight: 700; color: #1E1209; background: var(--brand); padding: 9px 16px; border-radius: 99px; text-decoration: none; letter-spacing: 0.01em; white-space: nowrap; }
.hashtag:hover { filter: brightness(1.08); }
.hashtag:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.hero { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, #0D1A15 0%, #14271E 58%, #1E3226 100%); padding: 28px 24px 150px; min-height: 280px; }
.hero-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; max-width: 34rem; }
.hero h1 { font-size: 38px; line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
.hero h1 span { color: var(--accent); }
.kn { margin-right: 0.075em; color: inherit !important; } .kn.j { margin-right: 0.035em; }
.steps { margin: 0; display: flex; flex-wrap: wrap; gap: 2px 14px; color: var(--ink2); font-size: 15px; }
.horizon { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 150px; }
.intro { display: flex; flex-direction: column; gap: 12px; }
.intro h2 { font-size: 20px; }
.route { list-style: none; margin: 0 0 0 7px; padding: 0 0 0 22px; border-left: 2px dashed var(--line); display: flex; flex-direction: column; gap: 10px; }
.route li { position: relative; color: var(--ink); font-size: 16px; }
.route li::before { content: ""; position: absolute; left: -30px; top: 0.42em; width: 10px; height: 10px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 4px var(--bg); }
.readmore summary { cursor: pointer; display: inline-block; font-weight: 600; font-size: 14px; color: var(--accent); padding: 8px 0; min-height: 44px; }
.readmore summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.readmore-body { display: flex; flex-direction: column; gap: 10px; max-width: 60ch; color: var(--ink2); border-left: 2px solid var(--copper); padding-left: 14px; margin-top: 2px; }
.readmore-body p { margin: 0; }
.readmore-body b { color: var(--ink); }
@media (max-width: 560px) { .wordmark { font-size: 22px; } .hashtag { font-size: 15px; padding: 8px 14px; } .hero { padding: 22px 18px 130px; } .hero h1 { font-size: 30px; } .horizon { height: 130px; } }
/* uitklapbare inzichten */
.folds { display: flex; flex-direction: column; gap: 10px; }
h2.more { font-size: 13px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin: 0 2px 2px; }
.fold { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); min-width: 0; }
.fold > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; min-height: 60px; cursor: pointer; border-radius: 12px; }
.fold > summary::-webkit-details-marker { display: none; }
.fold-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fold-t h2 { font-size: 17px; }
.fold-s { font-size: 13px; color: var(--muted); }
.chev { flex: none; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin: 0 4px 3px 0; transition: transform .15s; }
.fold[open] > summary .chev { transform: rotate(-135deg); margin: 4px 4px 0 0; }
.fold[open] > summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.fold-body { display: flex; flex-direction: column; gap: 12px; padding: 4px 16px 16px; min-width: 0; }
/* telefoon */
@media (max-width: 560px) {
  body { padding-block: 16px 32px; font-size: 16px; }
  .wrap { gap: 20px; }
  .stack { gap: 18px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .kpi { padding: 10px 12px; }
  .kpi .k-val { font-size: 19px; }
  .kpi .k-sub { font-size: 12px; }
  input[type="number"], input[type="text"] { font-size: 16px; min-height: 44px; padding: 8px 10px; }
  .partners input[type="text"] { font-size: 16px; }
  .seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: stretch; }
  .seg.seg3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seg.seg3 .seg-opt span { padding: 12px 4px; }
  .seg-opt span { padding: 12px 10px; text-align: center; font-size: 14px; }
  input[type="range"] { height: 40px; }
  .fold > summary { padding: 12px 14px; }
  .fold-body { padding: 2px 12px 14px; }
  .card { padding: 14px; }
  .knobs { gap: 20px; }
  .mini { padding: 6px 12px; gap: 2px 12px; }
  .mini b { font-size: 14px; }
  button.reset { min-height: 44px; }
  .tbl table { font-size: 12.5px; min-width: 0; }
  .tbl th, .tbl td { padding: 6px 4px; font-size: 12px; }
  .fan-head { gap: 8px; }
  .fan-head .seg { display: inline-flex; align-self: flex-start; }
  .fan-head .seg-opt span { padding: 12px 14px; }
  .fan-ctl button { min-width: 44px; min-height: 44px; }
}
@media (prefers-reduced-motion: no-preference) {
  .bar { transition: width 0.25s ease; }
}

/* koopkracht per land */
.krow { display: grid; grid-template-columns: 1fr 112px; gap: 10px; align-items: center; padding: 9px 8px; border-radius: 8px; }
.krow + .krow { border-top: 1px solid var(--line); }
.krow.std { background: var(--surface2); }
.krow .rv small.up { color: var(--good); }
.cat { display: inline-flex; gap: 4px; font-size: 12px; color: var(--muted); }
.cat b { font-family: var(--f-num); font-weight: 500; }
.cat b.cheap { color: var(--good); }
.cat b.dear { color: var(--bad); }
.cats { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 5px; }
.krow .rname .sub2 { font-weight: 400; font-size: 12px; color: var(--muted); }

.subh { margin: 20px 0 8px; font-family: var(--f-display); font-size: 16px; font-weight: 600; }
#pf-tbl, #pf-assump { overflow-x: auto; }
#pf-tbl table, #pf-assump table { min-width: 460px; }
.fan-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.fan-box { border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 8px 14px; display: flex; flex-direction: column; justify-content: center; font-size: 12.5px; color: var(--ink2); min-width: 0; }
.fan-box b { font-family: var(--f-num); font-size: 26px; font-weight: 500; color: var(--ink); line-height: 1.1; }
.fan-box .ft { font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.fan-box ul { margin: 0; padding-left: 16px; }
.fan-ctl { display: flex; gap: 6px; align-items: flex-start; margin-left: auto; }
.fan-ctl button { width: 36px; height: 36px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 8px; font-size: 18px; line-height: 1; cursor: pointer; font-family: var(--f-body); }
.fan-ctl button:hover { background: var(--surface2); }
.lg { cursor: pointer; user-select: none; }
.lg.off { opacity: 0.4; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.sw.s1 { opacity: 0.35; } .sw.s2 { opacity: 0.6; } .sw.s3 { opacity: 0.9; }
.sw.med { width: 22px; height: 3px; border-radius: 2px; background: var(--ink); }
.chart .b-rare { fill: var(--accent); opacity: 0.13; }
.chart .b-less { fill: var(--accent); opacity: 0.24; }
.chart .b-likely { fill: var(--accent); opacity: 0.42; }
.chart .med { stroke: var(--ink); stroke-width: 2.4; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.stack { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
hr.cut { border: 0; border-top: 3px solid var(--accent); margin: 14px 0 0; width: 100%; }
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 22px; }
.partners input[type="text"] { width: 100%; text-align: left; font-family: var(--f-body); }
.mini { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: none; justify-content: center; gap: 4px 18px; flex-wrap: wrap; padding: 8px 16px; background: var(--bg); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink2); }
.mini.show { display: flex; }
.mini b { font-family: var(--f-num); font-weight: 500; font-size: 15px; color: var(--ink); }
.mini .good { color: var(--good); } .mini .warn { color: var(--warn); } .mini .bad { color: var(--bad); }
.seg-opt span span { display: inline; padding: 0; color: inherit; font-weight: inherit; background: none; }

/* ===== Take Stock V2 als app: pagina's, navigatie, dashboard, stappen, introductie en rondleiding ===== */
:root { --sage: #8FB89A; --sky: #8FB3C9; --tipmuted: #5E6B62; }
[hidden] { display: none !important; }
body { padding: 0 0 56px; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 61; background: var(--bg); }
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); border-bottom: 1px solid var(--line); }
.topbar-in { max-width: 1040px; margin: 0 auto; display: flex; align-items: center; gap: 14px; padding-block: 10px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
a.brand { color: var(--ink); text-decoration: none; }
.topbar .wordmark { font-size: 21px; }
.tabs { display: flex; gap: 4px; margin-left: auto; }
.tabs a { display: flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 99px; color: var(--ink2); text-decoration: none; font-weight: 600; font-size: 14px; }
.tabs a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabs a:hover { color: var(--ink); background: var(--surface); }
.tabs a[aria-current="page"] { background: var(--surface2); color: var(--ink); }
.tabs a[aria-current="page"] svg { stroke: var(--copper); }
.tabs a:focus-visible, a.brand:focus-visible, .nlink:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mini { position: static; border-bottom: 0; border-top: 1px solid var(--line); padding-block: 7px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 1040px; margin: 0 auto; display: block; padding-top: 24px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.page { display: flex; flex-direction: column; gap: 18px; }
.page-head { display: flex; flex-direction: column; gap: 4px; }
.page-head h1 { font-size: 30px; }

/* knoppen */
.btn { font-family: var(--f-body); font-size: 15px; font-weight: 600; border-radius: 99px; padding: 10px 20px; min-height: 44px; cursor: pointer; border: 1px solid transparent; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.btn.primary { background: var(--copper); color: #1E1209; }
.btn.primary:hover { filter: brightness(1.07); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--surface2); }
.btn.link { background: transparent; color: var(--accent); padding-inline: 6px; }
.btn[disabled] { opacity: .4; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* dashboard */
.dash { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.dash > * { min-width: 0; }
.empty-cta { display: none; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-color: color-mix(in srgb, var(--copper) 45%, var(--line)); }
.empty-cta h2 { font-size: 19px; margin-bottom: 4px; }
.empty-text { flex: 1 1 280px; min-width: 0; }
html.is-empty .empty-cta { display: flex; }
.status { display: flex; flex-direction: column; gap: 10px; }
.status.good { border-color: color-mix(in srgb, var(--good) 40%, var(--line)); }
.status.warn { border-color: color-mix(in srgb, var(--warn) 40%, var(--line)); }
.status.bad { border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); }
.status .verdict { background: transparent; border: 0; padding: 0; }
.gauge { width: 100%; max-width: 260px; align-self: center; }
.gauge svg { display: block; width: 100%; height: auto; }
.gauge .g-bg { fill: none; stroke: var(--surface2); stroke-width: 15; stroke-linecap: round; }
.gauge .g-val { fill: none; stroke-width: 15; stroke-linecap: round; }
.gauge .g-val.good { stroke: var(--good); } .gauge .g-val.warn { stroke: var(--warn); } .gauge .g-val.bad { stroke: var(--bad); }
.gauge .g-num { font-family: var(--f-num); font-size: 34px; font-weight: 500; fill: var(--ink); text-anchor: middle; }
.gauge .g-lbl { font-family: var(--f-body); font-size: 12px; fill: var(--muted); text-anchor: middle; }
.panel { display: flex; flex-direction: column; gap: 12px; }
.panel-head { display: flex; flex-direction: column; gap: 4px; }
.panel-head h2 { font-size: 19px; }
.panel p { margin: 0; }
.panel .chart { background: transparent; border: 0; padding: 0; }
.ph { min-height: 200px; display: grid; place-items: center; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 10px; padding: 24px; font-size: 14px; }
.chart .f-aow, .sw.f-aow { fill: var(--accent); background: var(--accent); }
.chart .f-pen, .sw.f-pen { fill: var(--sage); background: var(--sage); }
.chart .f-wk, .sw.f-wk { fill: var(--sky); background: var(--sky); }
.chart .f-cap, .sw.f-cap { fill: var(--copper); background: var(--copper); }
.chart .f-bud { stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 5 4; fill: none; }
.chart .f-hl { fill: var(--ink); opacity: .08; }
.sw.box { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.next { display: flex; flex-direction: column; gap: 10px; }
.next-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.nlink { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); }
.nlink span { color: var(--muted); font-size: 13.5px; }
.nlink b::after { content: " →"; color: var(--copper); }
.nlink:hover { background: var(--surface2); }
@media (min-width: 900px) {
  .dash { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .dash > .empty-cta, .dash > .panel, .dash > .next { grid-column: 1 / -1; }
  .dash > .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
}

/* inzicht */
.empty-note { display: none; }
.empty-note p { margin: 0; color: var(--ink2); }
.empty-note a { color: var(--accent); }
html.is-empty .empty-note { display: block; }
html.is-empty .needs-data { display: none; }

/* invullen in stappen */
.progress { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 20%; background: var(--copper); transition: width .25s ease; }
.stepper { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.stepper button { display: flex; align-items: center; gap: 8px; background: transparent; border: 1px solid var(--line); color: var(--ink2); border-radius: 99px; padding: 5px 14px 5px 5px; font-family: var(--f-body); font-size: 13.5px; font-weight: 600; cursor: pointer; min-height: 40px; white-space: nowrap; }
.stepper .num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface2); color: var(--ink2); font-family: var(--f-num); font-size: 13px; }
.stepper button.done .num { background: color-mix(in srgb, var(--copper) 30%, var(--surface2)); color: var(--ink); }
.stepper button[aria-current="step"] { border-color: var(--copper); color: var(--ink); }
.stepper button[aria-current="step"] .num { background: var(--copper); color: #1E1209; }
.stepper button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.step { display: flex; flex-direction: column; gap: 16px; }
.step-head { display: flex; flex-direction: column; gap: 4px; }
.step-k { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--copper); font-weight: 600; }
.step-head h2 { font-size: 23px; }
.cols2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.pcard { display: flex; flex-direction: column; gap: 14px; }
.pcard h3 { margin: 0; font-size: 13px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink2); font-weight: 600; }
.step .knob .hint { margin: 0; }
#fan-succ-box { display: none; }
.status #v-sim, .status .verdict-head .scope:nth-child(2) { display: none; }
.step .knobs > .knob.wide:first-child { border-top: 0; padding-top: 0; }
.step-nav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.step-nav #step-next { margin-left: auto; }

/* introductie */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(4, 10, 8, 0.78); padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.modal[hidden] { display: none; }
.modal-card { width: min(560px, 100%); max-height: 100%; overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.modal-hero { position: relative; height: 150px; background: linear-gradient(180deg, #0D1A15 0%, #14271E 60%, #1E3226 100%); border-radius: 20px 20px 0 0; overflow: hidden; }
.modal-hero .horizon { height: 150px; }
.modal-brand { position: absolute; left: 20px; top: 16px; display: flex; align-items: center; gap: 8px; }
.modal-brand .wordmark { font-size: 20px; }
.modal-body { padding: 18px 22px 20px; display: flex; flex-direction: column; gap: 12px; }
.pay { font-size: 27px; line-height: 1.1; letter-spacing: -0.02em; }
.pay span { color: var(--accent); }
.q-h { margin: 6px 0 0; font-family: var(--f-display); font-size: 17px; font-weight: 600; }
.modal .route li { font-size: 15px; }
.modal-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 4px; }

/* rondleiding */
.tour { position: fixed; inset: 0; z-index: 95; }
.tour[hidden] { display: none; }
.tour-spot { position: fixed; border-radius: 14px; box-shadow: 0 0 0 9999px rgba(4, 10, 8, 0.76); outline: 2px solid var(--copper); outline-offset: 2px; pointer-events: none; }
.tour-tip { position: fixed; width: min(340px, calc(100vw - 32px)); background: var(--ink); color: var(--bg); border-radius: 14px; padding: 16px 16px 12px; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45); display: flex; flex-direction: column; gap: 6px; }
.tour-tip h3 { margin: 0; font-family: var(--f-display); font-size: 18px; color: var(--bg); }
.tour-tip p { margin: 0; font-size: 14.5px; line-height: 1.45; }
.tour-count { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tipmuted); }
.tour-arrow { position: absolute; width: 14px; height: 14px; background: var(--ink); transform: rotate(45deg); }
.tour-arrow.up { top: -7px; }
.tour-arrow.down { bottom: -7px; }
.tour-arrow.none { display: none; }
.tour-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.tour-actions .sp { flex: 1 1 0; }
.tour-tip .btn { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.tour-tip .btn.ghost { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 30%, transparent); }
.tour-tip .btn.ghost:hover { background: color-mix(in srgb, var(--bg) 8%, transparent); }
.tour-tip .btn.link { color: var(--tipmuted); }
.tour-tip .btn:focus-visible { outline-color: var(--bg); }

@media (prefers-reduced-motion: no-preference) {
  .tour-spot { transition: top .25s ease, left .25s ease, width .25s ease, height .25s ease; }
  .modal:not([hidden]) .modal-card { animation: pop .28s ease-out; }
  @keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
}

/* telefoon: tabbalk onderin */
@media (max-width: 760px) {
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
  .topbar-in { justify-content: space-between; }
  .tabs { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; z-index: 70; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--surface); border-top: 1px solid var(--line); padding-top: 6px; padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px)); padding-left: max(8px, env(safe-area-inset-left, 0px)); padding-right: max(8px, env(safe-area-inset-right, 0px)); }
  .tabs a { flex-direction: column; justify-content: center; gap: 3px; padding: 6px 2px; font-size: 12px; border-radius: 12px; min-height: 54px; }
  .tabs a svg { width: 21px; height: 21px; }
  .topbar .wordmark { font-size: 19px; }
  .topbar .hashtag { font-size: 14px; padding: 7px 12px; }
  .page-head h1 { font-size: 26px; }
  .stepper .lbl { display: none; }
  .stepper button { padding-right: 5px; }
  #fan-assump { display: none; }
  .pay { font-size: 24px; }
  .gauge { max-width: 210px; }
  .modal-hero, .modal-hero .horizon { height: 120px; }
}
@media (max-width: 380px) { .topbar .v2 { display: none; } }

/* ===== Knopen tellen V2: licht pastelthema, knopen als beeldtaal ===== */
:root {
  /* Layout: app met vaste kopbalk, pagina's als kaartenstapel op een zachte pastelgrond; knopen en een leren buidel als terugkerend beeld */
  --bg: #F3F7FB;
  --surface: #FFFFFF;
  --surface2: #EDF3F9;
  --ink: #1D2B3A;
  --ink2: #3D4D5F;
  --muted: #5D6C7C;
  --line: #DAE4EE;
  --grid: #E7EDF4;
  --accent: #2F6DAE;
  --accent-soft: #E2EDF8;
  --copper: #985A32;
  --good: #22764A;
  --good-bg: #E3F3E9;
  --warn: #93600F;
  --warn-bg: #FAEFD8;
  --bad: #B0392F;
  --bad-bg: #FAE4E0;
  --pblue: #8DB8E8;
  --peach: #F2A97E;
  --sage: #9ED3B4;
  --sky: #C9B8EE;
  --butter: #F5D98B;
  --tipmuted: #A9BACB;
  --shadow: 0 1px 2px rgba(29, 43, 58, 0.04), 0 8px 24px rgba(29, 43, 58, 0.06);
  color-scheme: light;
}
html, body { background: var(--bg); color: var(--ink); }
.app-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42rem 30rem at -8% -10%, rgba(141, 184, 232, 0.30), transparent 70%),
    radial-gradient(36rem 26rem at 108% 18%, rgba(242, 169, 126, 0.20), transparent 70%),
    radial-gradient(40rem 30rem at 50% 115%, rgba(158, 211, 180, 0.24), transparent 70%),
    var(--bg); }
body::before { background: var(--surface); }
.card, .kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.card { padding: 20px; }
.kpi { padding: 14px 16px; }
.kpi .k-label { color: var(--muted); }

/* kopbalk en navigatie */
.topbar { background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); }
.topbar .wordmark { white-space: nowrap; }
.brand .bmark { width: 34px; height: 34px; display: block; }
.topbar .wordmark { color: var(--ink); }
.v2 { color: var(--accent); border-color: var(--line); background: var(--surface); }
.tabs a { color: var(--ink2); }
.tabs a:hover { background: var(--surface2); color: var(--ink); }
.tabs a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
.tabs a[aria-current="page"] svg { stroke: var(--accent); }
.hashtag { background: var(--copper); color: #FFFFFF; box-shadow: 0 4px 14px rgba(152, 90, 50, 0.25); }
.hashtag:focus-visible { outline-color: var(--accent); }
.hashtag { display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; font-family: inherit; }
.hashtag[hidden] { display: none; }
.hashtag svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

.mini { background: rgba(255, 255, 255, 0.92); }
.btn.primary { background: var(--accent); color: #FFFFFF; box-shadow: 0 4px 14px rgba(47, 109, 174, 0.22); }
.btn.ghost { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn.ghost:hover { background: var(--surface2); }
.btn.link { color: var(--accent); }
.seg { background: var(--surface2); border-color: var(--line); border-radius: 12px; }
.seg-opt span { color: var(--ink2); }
.seg-opt input:checked + span { background: var(--accent); color: #FFFFFF; }
input[type="number"], input[type="text"] { background: var(--surface); border-color: #CBD7E3; border-radius: 10px; }
input[type="range"] { accent-color: var(--accent); }
.tag.bron { background: var(--accent-soft); color: var(--accent); }
.tag.aanname { background: var(--warn-bg); color: var(--warn); }
.tag.zelf { background: #EEE8FB; color: #5A45A6; }
.tip { background: var(--surface); border-color: var(--line); box-shadow: 0 10px 30px rgba(29, 43, 58, 0.14); }
.ph { background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(141, 184, 232, 0.08) 12px 24px); border-color: #C9D7E5; }
.krow.std { background: var(--surface2); }
.eyebrow { color: var(--copper); }

/* overzicht: kop met buidel */
.ov-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 8px; padding: 0; overflow: hidden;
  background: linear-gradient(120deg, #FFFFFF 0%, #EEF5FC 48%, #F8EFE6 100%); }
.ov-text { padding: 26px 8px 26px 26px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ov-text h1 { font-size: 34px; line-height: 1.08; letter-spacing: -0.02em; }
.ov-text .sub { color: var(--ink2); }
.ov-art { align-self: end; min-width: 0; }
.pouch-art { display: block; width: 100%; height: auto; }

/* status met meter en knopenrij */
.status { gap: 12px; }
.status.good { border-color: color-mix(in srgb, var(--good) 35%, var(--line)); }
.status.warn { border-color: color-mix(in srgb, var(--warn) 35%, var(--line)); }
.status.bad { border-color: color-mix(in srgb, var(--bad) 35%, var(--line)); }
.gauge .g-bg { stroke: var(--surface2); }

/* panelen en grafieken */
.panel-head h2 { font-size: 20px; }
.chart .f-aow, .sw.f-aow { fill: var(--pblue); background: var(--pblue); }
.chart .f-pen, .sw.f-pen { fill: var(--sage); background: var(--sage); }
.chart .f-wk, .sw.f-wk { fill: var(--sky); background: var(--sky); }
.chart .f-cap, .sw.f-cap { fill: var(--peach); background: var(--peach); }
.chart .f-bud { stroke: var(--ink); }
.next-grid .nlink { position: relative; overflow: hidden; padding: 18px 18px 18px 64px; min-height: 92px; justify-content: center; }
.nlink .nb { position: absolute; left: 16px; top: 50%; width: 34px; height: 34px; transform: translateY(-50%); }
.nlink:nth-child(1) { background: linear-gradient(135deg, #FFFFFF, var(--tint-pf)); }
.nlink:nth-child(2) { background: linear-gradient(135deg, #FFFFFF, var(--tint-ld)); }
.nlink:nth-child(3) { background: linear-gradient(135deg, #FFFFFF, var(--tint-kp)); }
.nlink b::after { color: var(--accent); }
.empty-cta { background: linear-gradient(120deg, #FFFFFF, #EAF2FB); border-color: #C9DAEC; }

/* invullen */
.stepper button { background: var(--surface); border-color: var(--line); color: var(--ink2); }
.stepper .num { background: var(--surface2); color: var(--ink2); }
.stepper button.done .num { background: transparent; color: transparent; position: relative; }
.stepper button.done .num::after { content: ""; position: absolute; inset: 1px; border-radius: 50%; background:
  radial-gradient(circle at 38% 38%, #5E8FC6 0 1.6px, transparent 2px), radial-gradient(circle at 62% 38%, #5E8FC6 0 1.6px, transparent 2px),
  radial-gradient(circle at 38% 62%, #5E8FC6 0 1.6px, transparent 2px), radial-gradient(circle at 62% 62%, #5E8FC6 0 1.6px, transparent 2px), var(--pblue);
  box-shadow: inset 0 0 0 1.5px #5E8FC6, inset 0 0 0 5px var(--pblue), inset 0 0 0 6px rgba(94, 143, 198, 0.6); }
.stepper button[aria-current="step"] { border-color: var(--accent); color: var(--ink); }
.stepper button[aria-current="step"] .num { background: var(--accent); color: #FFFFFF; }
.progress { background: var(--surface2); height: 6px; border-radius: 3px; }
.progress span { background: linear-gradient(90deg, var(--pblue), var(--accent)); }
.step-k { color: var(--copper); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; cursor: pointer; min-height: 40px; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; }
.pcard .dep { display: flex; flex-direction: column; gap: 14px; }
.only-note { font-size: 13px; color: var(--muted); margin: 0; }
html.one-person .only2 { display: none !important; }
html:not(.one-person) .only1 { display: none !important; }

/* over en introductie */
.hero { background: linear-gradient(120deg, #FFFFFF 0%, #EEF5FC 50%, #F8EFE6 100%); border-color: var(--line); padding: 26px 24px 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-height: 0; box-shadow: var(--shadow); }
.hero h1 { color: var(--ink); }
.hero h1 span, .pay span { color: var(--accent); }
.hero .ov-art { margin: 0 -24px; }
.route { border-left-color: #C9D7E5; }
.route li::before { width: 14px; height: 14px; left: -32px; top: 0.3em; background:
  radial-gradient(circle at 38% 38%, #D47F50 0 1.2px, transparent 1.6px), radial-gradient(circle at 62% 38%, #D47F50 0 1.2px, transparent 1.6px),
  radial-gradient(circle at 38% 62%, #D47F50 0 1.2px, transparent 1.6px), radial-gradient(circle at 62% 62%, #D47F50 0 1.2px, transparent 1.6px), var(--peach);
  box-shadow: 0 0 0 1.5px #D47F50, 0 0 0 5px var(--surface); }
.page .route li::before { box-shadow: 0 0 0 1.5px #D47F50, 0 0 0 5px var(--bg); }
.readmore-body { border-left-color: var(--peach); }
.modal { background: rgba(29, 43, 58, 0.42); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-card { background: var(--surface); border-color: var(--line); box-shadow: 0 30px 80px rgba(29, 43, 58, 0.28); }
.modal-hero { height: auto; background: linear-gradient(120deg, #EEF5FC 0%, #F8EFE6 100%); padding-top: 44px; }
.modal-brand .wordmark { color: var(--ink); white-space: nowrap; }
.modal-brand .bmark { width: 30px; height: 30px; display: block; }
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: end; } .hero .hero-text { padding-bottom: 30px; align-self: center; } .hero .ov-art { margin: 0 -24px 0 0; } }
.modal-actions { position: sticky; bottom: -20px; background: linear-gradient(180deg, rgba(255,255,255,0), var(--surface) 30%); padding: 18px 0 20px; margin-bottom: -20px; }
.tour-spot { box-shadow: 0 0 0 9999px rgba(29, 43, 58, 0.52); outline-color: var(--accent); }
.tour-tip { background: var(--ink); color: #FFFFFF; }
.tour-tip h3 { color: #FFFFFF; }
.tour-arrow { background: var(--ink); }
.tour-count { color: var(--tipmuted); }
.tour-tip .btn.primary { background: #FFFFFF; color: var(--ink); box-shadow: none; }
.tour-tip .btn.ghost { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.35); background: transparent; }
.tour-tip .btn.ghost:hover { background: rgba(255, 255, 255, 0.08); }
.tour-tip .btn.link { color: var(--tipmuted); }
.tour-tip .btn:focus-visible { outline-color: #FFFFFF; }
footer a, .keyline a, .empty-note a { color: var(--accent); }

@media (max-width: 760px) {
  .tabs { background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 -6px 20px rgba(29, 43, 58, 0.06); }
  .ov-hero { grid-template-columns: minmax(0, 1fr); }
  .ov-art { order: -1; margin-top: 4px; }
  .ov-text { padding: 4px 20px 22px; }
  .ov-text h1 { font-size: 28px; }
  .topbar .wordmark { font-size: 18px; }
  .modal-hero { height: auto !important; padding-top: 40px; }
  .gauge { max-width: 190px; }
  .card { padding: 16px; }
}

/* beelden uit Canva */
.card.ov-hero { padding: 0; }
.ov-art.photo { align-self: stretch; margin: 0; min-height: 230px; position: relative; }
.ov-art.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ov-hero { background: linear-gradient(120deg, #FFFFFF 0%, #F4F7FB 55%, #F8F1E8 100%); }
.ov-hero h1 span { color: var(--accent); }
.ov-hero .steps { margin: 6px 0 0; color: var(--ink2); }
/* Over-pagina: titel, uitleg en knoppen in één kaart, alles links uitgelijnd onder de titel */
.ab-hero .ov-text { padding: 28px 12px 28px 28px; gap: 6px; }
.ab-hero .about-body { margin-top: 10px; max-width: none; gap: 12px; color: var(--ink2); line-height: 1.55; }
.ab-hero .btn-row { margin-top: 14px; gap: 8px; }
.ab-hero .btn-row .btn { padding-left: 16px; padding-right: 16px; }
@media (max-width: 760px) { .ab-hero .ov-text { padding: 16px 18px 22px; } }
.modal-hero { padding-top: 0 !important; height: auto; }
.modal-hero img { display: block; width: 100%; height: 190px; object-fit: cover; object-position: 50% 60%; }
.modal-brand { background: rgba(255, 255, 255, 0.86); padding: 6px 12px 6px 8px; border-radius: 99px; box-shadow: 0 4px 14px rgba(29, 43, 58, 0.10); }
.empty-cta { align-items: stretch; }
.ec-img { flex: 0 0 180px; border-radius: 12px; overflow: hidden; position: relative; min-height: 120px; }
.ec-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.empty-cta .btn { align-self: center; }
@media (max-width: 760px) {
  .ov-art.photo { min-height: 180px; margin: 0; }
  .card.ov-hero { padding: 0; }
  .ov-hero .ov-text { padding: 16px 18px 20px; }
  .modal-hero img { height: 150px; }
  .ec-img { flex: 1 1 100%; min-height: 140px; }
}

/* V3: snel rekenen en advies */
.snel { display: flex; flex-direction: row; gap: 20px; align-items: stretch; flex-wrap: wrap; }
.dash > .snel, .dash > .advies { grid-column: 1 / -1; }

.snel .ec-img { flex: 0 0 240px; }
.snel-body { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.snel-body h2 { font-size: 22px; }
.snel-grid .curve-f { grid-column: 1 / -1; }
.curve-f .hint a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.snel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px 20px; margin-top: 6px; }
.qp { display: flex; flex-direction: column; gap: 8px; }
.flabel { font-weight: 600; font-size: 14px; }
.opt { font-weight: 400; color: var(--muted); }
.snel .seg { align-self: flex-start; }
.advies { display: flex; flex-direction: column; gap: 10px; background: linear-gradient(120deg, #FFFFFF 0%, #EEF5FC 60%, #F8F1E8 100%); border-color: #C9DAEC; }
.adv-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.adv-top h2 { font-size: 22px; }
.adv-big { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.adv-big b { font-family: var(--f-num); font-size: 34px; font-weight: 500; color: var(--accent); line-height: 1.05; }
.adv-big span { font-size: 13px; color: var(--muted); }
.adv-p { margin: 0; max-width: 70ch; }
.adv-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; color: var(--ink2); font-size: 14px; max-width: 74ch; }
.havebar { display: flex; flex-direction: column; gap: 6px; }
.havebar p { margin: 0; font-weight: 600; }
.hb-track { height: 12px; border-radius: 6px; background: var(--surface2); overflow: hidden; border: 1px solid var(--line); }
.hb-fill { height: 100%; background: linear-gradient(90deg, var(--sage), #5FAF83); border-radius: 6px; }
@media (max-width: 760px) {
  .snel { padding: 0 !important; gap: 0; }
  .snel .ec-img { flex: 1 1 100%; min-height: 150px; border-radius: 18px 18px 0 0; }
  .snel-body { padding: 16px; }
  .adv-big { align-items: flex-start; text-align: left; }
  .adv-big b { font-size: 30px; }
}

/* ===== Take Stock V4: talen, landen ===== */
.tb-right { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.lang-pick { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 0 4px 0 9px; min-height: 36px; color: var(--ink2); }
.lang-pick svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: 0 0 auto; }
.lang-pick select { border: 0; background: transparent; font-family: var(--f-num); font-size: 13px; font-weight: 500; color: var(--ink); padding: 6px 4px; cursor: pointer; min-height: 34px; }
.lang-pick select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-radius: 6px; }
select { background: var(--surface); border-color: #CBD7E3; border-radius: 10px; min-height: 40px; }
.snel-grid select, .knob select, .field select { width: 100%; }
.intro-prefs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 14px; padding: 12px; margin-bottom: 4px; background: var(--surface2); border: 1px solid var(--line); border-radius: 14px; }
.intro-prefs label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.intro-prefs select { text-transform: none; letter-spacing: 0; }
html.sp-flat .sp-q { display: none !important; }
html.is-nl .not-nl { display: none !important; }
html:not(.is-nl) .nl-only { display: none !important; }
.adv-warn { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--warn-bg); color: var(--warn); font-size: 14px; max-width: 74ch; }
.adv-warn a, .hint a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
details.kmore { border-top: 1px solid var(--line); }
details.kmore > summary { cursor: pointer; padding: 10px 8px; font-weight: 600; font-size: 14px; color: var(--accent); list-style: none; }
details.kmore > summary::-webkit-details-marker { display: none; }
details.kmore > summary::before { content: "+ "; }
details.kmore[open] > summary::before { content: "− "; }
.facts { display: flex; flex-direction: column; gap: 4px; }
.facts .kv { font-size: 14px; align-items: baseline; }
.facts .kv > span:first-child { flex: 0 0 38%; color: var(--muted); }
.facts .kv > span:last-child { text-align: right; color: var(--ink); min-width: 0; }
.facts a, #sources a { color: var(--accent); }
.about-body { display: flex; flex-direction: column; gap: 10px; max-width: 68ch; }
.about-body p { margin: 0; }
@media (max-width: 760px) {
  .tb-right { gap: 6px; }
  .lang-pick { min-height: 34px; padding-left: 7px; }
  .facts .kv { flex-direction: column; gap: 2px; }
  .facts .kv > span:last-child { text-align: left; }
}
@media (max-width: 420px) {
  .topbar .hashtag { font-size: 13px; padding: 7px 10px; }
  .topbar .wordmark { font-size: 17px; }
  .brand { gap: 7px; }
  .brand .bmark { width: 28px; height: 28px; }
}
@media (max-width: 360px) { .lang-pick svg { display: none; } }
.support-line { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: 14px; margin: 4px 0 0; }
a.kofi { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--copper); font-weight: 600; text-decoration: none; white-space: nowrap; }
a.kofi:hover { background: var(--surface2); }
.topbar { background: var(--surface); }
@media (max-width: 430px) { .topbar .v2 { display: none; } .topbar-in { gap: 8px; } }
.facts .kv > span:last-child { font-family: var(--f-body); }
@media (max-width: 360px) {
  .topbar .wordmark { font-size: 15px; }
  .topbar .hashtag { font-size: 12px; padding: 6px 8px; }
  .lang-pick { padding-left: 4px; }
  .lang-pick select { padding: 4px 2px; }
  .brand { gap: 5px; }
  .brand .bmark { width: 24px; height: 24px; }
  .topbar-in { gap: 6px; }
}

.intro-s0 { gap: 10px; }
.intro-s0 .welcome { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--copper); line-height: 1.5; }
.intro-s0 h2 { font-family: var(--f-display); font-size: 28px; line-height: 1.15; margin: 0; }
.intro-s0 .sub { margin: 0; }
.intro-s0 .intro-prefs { grid-template-columns: 1fr; margin-top: 4px; }
.intro-s0 .ip-country select { font-size: 17px; min-height: 50px; }
.intro-s0 .ip-lang span, .intro-s0 .ip-country span { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink); }

.srcline { margin: 2px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); max-width: 90ch; }
.srcline .src-h { font-weight: 600; color: var(--ink2); }
.srcline a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); white-space: nowrap; }
.srcline .src-d { white-space: nowrap; }
.kpis .kpi-src { grid-column: 1 / -1; padding: 0 4px; }
.status .srcline { text-align: center; }
.facts .srcline { margin: 0; font-size: 13px; }
.facts .kv span { font-family: var(--f-body); }

/* feedback */
.fb-line { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 0; color: var(--ink2); font-size: 15px; text-align: center; }
.fb-line .btn { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.fb-card p { margin: 0; max-width: 64ch; color: var(--ink2); }
.fb-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.fb-top h2 { font-family: var(--f-display); font-size: 24px; line-height: 1.2; margin: 0; }
.fb-x { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink2); font-size: 16px; cursor: pointer; }
.fb-x:hover { background: var(--surface2); }
.fb-cats { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fb-cats legend { font-weight: 600; font-size: 14px; margin-bottom: 8px; padding: 0; }
.fb-cats label { position: relative; cursor: pointer; }
.fb-cats input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.fb-cats span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface2); color: var(--ink2); font-size: 14px; font-weight: 600; }
.fb-cats input:checked + span { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.fb-cats input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.fb-lbl { font-weight: 600; font-size: 14px; }
.fb-ctx { margin: 0; font-size: 13px; color: var(--copper); font-weight: 600; }
#fb-msg { font-family: var(--f-body); font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--surface); border: 1px solid #CBD7E3; border-radius: 12px; padding: 10px 12px; width: 100%; min-height: 120px; resize: vertical; }
#fb-msg:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.fb-actions .btn[aria-disabled="true"] { opacity: 0.55; }
.fb-status { margin: 0; font-size: 14px; color: var(--good); font-weight: 600; min-height: 0; }
.fb-status:empty { display: none; }
.fb-actions .btn[disabled] { opacity: 0.55; cursor: default; }
.fb-fallback { margin: 0; font-size: 13.5px; }
.fb-fallback a { color: var(--ink2); text-decoration: underline; }
.fb-mail { font-family: var(--f-num); color: var(--ink); user-select: all; -webkit-user-select: all; }
button.fb-spot { background: none; border: 0; padding: 0; font: inherit; color: var(--copper); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; white-space: nowrap; }
.fb-dlg .modal-actions { position: static; box-shadow: none; background: none; padding-bottom: 0; }
.fb-status.warn { color: var(--warn); }

/* doelkeuze */
.goals { display: grid; gap: 10px; margin: 6px 0 2px; }
.goal { display: flex; flex-direction: column; gap: 2px; text-align: left; width: 100%; min-height: 56px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface2); color: var(--ink); font: inherit; cursor: pointer; }
.goal b { font-family: var(--f-display); font-size: 16px; font-weight: 600; line-height: 1.3; }
.goal span { font-size: 14px; color: var(--ink2); line-height: 1.4; }
.goal:hover { border-color: var(--copper); }
.goal:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.goal[data-goal="unsure"] { background: none; border-style: dashed; }
.intro-about-h { font-family: var(--f-display); font-size: 22px; line-height: 1.2; margin: 0 0 8px; }
.intro-about { color: var(--ink2); line-height: 1.55; margin-bottom: 18px; font-size: 15px; }
.intro-about { gap: 16px; margin-bottom: 6px; }
.intro-about .ia-lead { font-family: var(--f-display); font-size: 20px; line-height: 1.3; color: var(--ink); }
.intro-about .ia-show { margin-bottom: -8px; font-weight: 600; color: var(--ink); }
.intro-about .ia-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.intro-about .ia-list li { position: relative; margin: 0; padding-left: 24px; }
.intro-about .ia-list li::before { content: ""; position: absolute; left: 3px; top: 0.5em; width: 10px; height: 10px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 3px var(--surface2); }
.intro-about .ia-sum { display: flex; flex-direction: column; gap: 12px; padding: 14px; background: var(--surface2); border: 1px solid var(--line); border-radius: 16px; }
.intro-about .ia-sum h3 { margin: 0; font-family: var(--f-display); font-size: 18px; line-height: 1.25; color: var(--ink); }
.intro-about .ia-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.intro-about .ia-side { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.intro-about .ia-side b { font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--copper); }
.intro-about .ia-why { padding-left: 14px; border-left: 3px solid var(--copper); }
.intro-about .ia-close { font-family: var(--f-display); font-size: 18px; line-height: 1.35; color: var(--ink); }
.intro-about .ia-priv { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; font-size: 13.5px; line-height: 1.45; background: var(--surface2); border-radius: 12px; }
.intro-about .ia-priv svg { flex: none; margin-top: 1px; color: var(--copper); }
@media (max-width: 520px) { .intro-about .ia-sides { grid-template-columns: 1fr; } }
#intro-s1 #intro-h { margin-top: 0; font-size: 22px; }
.agebox.need { outline: 2px solid var(--copper); outline-offset: 4px; border-radius: 14px; }
.age-need { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--copper); text-align: center; }
.slot { --fh: 52px; --wh: 250px; display: grid; gap: 10px; margin: 8px 0 4px; }
.slot-machine { padding: 8px; border: 2px solid var(--copper); border-radius: 18px; background: linear-gradient(180deg, #4a3a30, #2a211b); box-shadow: 0 6px 18px rgba(152, 90, 50, 0.18); }
.slot-window { position: relative; height: var(--wh); overflow: hidden; border-radius: 12px; background: #f4efe7; perspective: 600px; perspective-origin: 50% 50%; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.slot-window:active { cursor: grabbing; }
.slot-window:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.slot-window::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(30, 20, 12, 0.62) 0%, rgba(30, 20, 12, 0.22) 22%, rgba(30, 20, 12, 0) 40%, rgba(30, 20, 12, 0) 60%, rgba(30, 20, 12, 0.22) 78%, rgba(30, 20, 12, 0.62) 100%), linear-gradient(90deg, rgba(30, 20, 12, 0.18), rgba(30, 20, 12, 0) 7%, rgba(30, 20, 12, 0) 93%, rgba(30, 20, 12, 0.18)); }
.slot-window::after { content: ""; position: absolute; left: -2px; right: -2px; top: 50%; height: calc(var(--fh) + 4px); transform: translateY(-50%); z-index: 3; pointer-events: none; background: linear-gradient(180deg, rgba(196, 112, 62, 0.20), rgba(196, 112, 62, 0.10) 50%, rgba(196, 112, 62, 0.20)); border-top: 1px solid rgba(160, 82, 45, 0.75); border-bottom: 1px solid rgba(160, 82, 45, 0.75); box-shadow: 0 2px 6px rgba(30, 20, 12, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.slot-cyl-wrap { position: absolute; inset: 0; transform-style: preserve-3d; }
.slot-cyl { position: absolute; left: 0; right: 0; top: 50%; height: var(--fh); margin-top: calc(var(--fh) / -2); transform-style: preserve-3d; will-change: transform; }
.slot-cyl.run { transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.25, 1); }
.slot-face { position: absolute; inset: 0; box-sizing: border-box; padding: 0 16px; display: flex; align-items: center; justify-content: center; text-align: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #fbf8f3; color: #1d1a17; }
.slot-face b { font-family: var(--f-display); font-size: 17px; font-weight: 600; line-height: 1.15; text-wrap: balance; }
.agebox { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 12px; }
.age-q { font-weight: 600; font-size: 15px; color: var(--ink2); text-align: center; }
.age-read { text-align: center; font-family: var(--f-num); font-size: 15px; color: var(--ink2); }
.age-read b { font-size: 34px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
#age-r { -webkit-appearance: none; appearance: none; width: 100%; height: 40px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
#age-r::-webkit-slider-runnable-track { height: 22px; border-radius: 6px; border: 1px solid var(--line); background:
  repeating-linear-gradient(90deg, var(--muted) 0 1px, transparent 1px calc(100% / 45)) bottom / 100% 8px no-repeat,
  linear-gradient(90deg, var(--accent-soft) 0 33.33%, var(--surface2) 33.33% 66.66%, var(--bg) 66.66%); }
#age-r::-moz-range-track { height: 22px; border-radius: 6px; border: 1px solid var(--line); background:
  repeating-linear-gradient(90deg, var(--muted) 0 1px, transparent 1px calc(100% / 45)) bottom / 100% 8px no-repeat,
  linear-gradient(90deg, var(--accent-soft) 0 33.33%, var(--surface2) 33.33% 66.66%, var(--bg) 66.66%); }
#age-r::-webkit-slider-thumb { -webkit-appearance: none; width: 8px; height: 38px; margin-top: -9px; border-radius: 4px; background: var(--accent); border: 2px solid var(--bg); box-shadow: 0 0 0 1px var(--accent); }
#age-r::-moz-range-thumb { width: 6px; height: 36px; border-radius: 4px; background: var(--accent); border: 2px solid var(--bg); box-shadow: 0 0 0 1px var(--accent); }
#age-r:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.age-zones { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; font-size: 13px; color: var(--muted); }
.age-zones span { padding: 2px 0; border-radius: 6px; }
.age-zones span.on { color: var(--accent); font-weight: 700; background: var(--accent-soft); }
html:not(.is-opb) .opb-q { display: none !important; }
html.is-opb .not-opb { display: none !important; }
html.is-opb.no-bud #status-card { display: none; }
.opb-card { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; border-color: var(--accent); }
.opb-k { margin: 0; font-size: 12.5px; letter-spacing: 0.07em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.opb-big { margin: 0; font-family: var(--f-num); font-variant-numeric: tabular-nums; font-size: clamp(32px, 7vw, 46px); font-weight: 500; line-height: 1.1; color: var(--ink); overflow-wrap: anywhere; }
.opb-range, .opb-split { margin: 0; font-size: 15px; color: var(--ink2); }
.opb-span { margin: 0; font-size: 14px; color: var(--muted); }
.icon-btn, .opb-st-c button { position: relative; }
.icon-btn::after, .opb-st-c button::after { content: ""; position: absolute; inset: -5px; }
#tab-notes { display: none; cursor: pointer; }
@media (max-width: 560px) {
  .tabs { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
  #tab-notes { display: flex; }
  .nt-fab { display: none !important; }
}
/* 10: het overzicht korter. 18-34 heeft het oordeel al op de kaart; 'Jouw cijfers' klapt in op de telefoon */
html.band-0.is-opb #status-card { display: none; }
.side-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.side-tog { display: none; }
@media (max-width: 760px) {
  .side-tog { display: inline-flex; }
  .side-card.sc-closed #ov-quick, .side-card.sc-closed .side-more { display: none; }
  .home-side { align-self: stretch; width: 100%; }
}
.opb-debt { margin: 0; font-size: 15px; color: var(--ink2); }
.wi50 { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.wi50 .opb-h { margin: 0; }
.wi50-res { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.opb-debt b { color: var(--ink); }
.intro-more { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.wk1-till { margin-top: 10px; }
.wk1-till label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.chart .f-sal, .sw.f-sal { fill: var(--muted); background: var(--muted); opacity: .32; }
.opb-note, .opb-empty { margin: 0; font-size: 13px; color: var(--muted); }
.opb-empty { font-size: 15px; color: var(--ink2); }
.lvl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lvl-b { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink2); font: inherit; cursor: pointer; min-width: 0; }
.lvl-b b { font-size: 15px; color: var(--ink); }
.lvl-b .lvl-a { font-family: var(--f-num); font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 600; color: var(--accent); }
.lvl-b .lvl-e { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.lvl-b.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); }
.lvl-b:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
html.no-lvl #lvl-box { display: none !important; }
@media (max-width: 560px) { .lvl { grid-template-columns: minmax(0, 1fr); } }
.opb-h { margin: 10px 0 0; font-size: 12.5px; letter-spacing: 0.07em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.opb-mix { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--ink2); }
.opb-mix li { padding: 6px 10px; border-radius: 8px; background: var(--surface2); overflow-wrap: anywhere; }
.opb-mix li.cur { background: var(--accent-soft); }
.opb-act { margin-top: 6px; display: flex; gap: 10px; flex-wrap: wrap; }
.slot-sub { margin: 0; min-height: 1.4em; text-align: center; color: var(--ink2); font-size: 15px; }
.slot-hint { margin: 0; text-align: center; color: var(--ink2); font-size: 13.5px; }
.slot-ok { width: 100%; }
@keyframes slotNudge { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-16px); } 70% { transform: translateY(5px); } }
.slot-window.nudge .slot-cyl-wrap { animation: slotNudge 0.9s ease-in-out 0.5s 1 both; }
@media (max-width: 420px) { .slot { --fh: 54px; --wh: 260px; } .slot-face { padding: 0 12px; } .slot-face b { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .slot-cyl.run { transition: none; } .slot-window.nudge .slot-cyl-wrap { animation: none; } }

#intro-s1 h2 { font-family: var(--f-display); font-size: 26px; line-height: 1.15; margin: 0; }
.goal-bar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; border-left: 4px solid var(--copper); }
.goal-bar .gb-text { flex: 1 1 280px; min-width: 0; }
.goal-bar h2 { margin: 0 0 4px; font-family: var(--f-display); font-size: 20px; line-height: 1.25; }
.goal-bar .sub { margin: 0; }
.goal-bar .gb-actions { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
@media (max-height: 760px) { #intro .modal-hero img { max-height: 120px; object-fit: cover; width: 100%; } #intro-s1 h2 { font-size: 22px; } }

/* installeren */
.install { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; min-width: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--copper); font: 600 13px var(--f-body, inherit); cursor: pointer; white-space: nowrap; }
.install[hidden] { display: none; }
.install svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.install:hover { background: var(--surface2); }
.install:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 760px) { .install { padding: 0; width: 36px; } .install span { display: none; } }
@media (max-width: 400px) { .install { width: 32px; min-width: 32px; min-height: 32px; } .install svg { width: 16px; height: 16px; } }
.inst-dlg h2 { font-family: var(--f-display); font-size: 22px; margin: 0; }
/* wat is er nieuw */
.rel-dlg h2 { font-family: var(--f-display); font-size: 24px; margin: 0; }
.rel-dlg .rel-v { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--copper); line-height: 1.5; }
.rel-dlg h3 { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft, var(--ink)); margin: 6px 0 0; }
.rel-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: 15.5px; line-height: 1.4; }
.rel-list li { position: relative; padding-left: 22px; min-width: 0; overflow-wrap: anywhere; }
.rel-list li::before { content: ""; position: absolute; left: 3px; top: 0.5em; width: 9px; height: 9px; border-radius: 50%; background: var(--copper); }
@media (max-width: 480px) { .rel-dlg .modal-body { gap: 8px; padding: 16px 18px 16px; } .rel-dlg h2 { font-size: 22px; } .rel-list { font-size: 14.5px; gap: 5px; line-height: 1.32; } }
.rel-since { margin: -4px 0 0; color: var(--muted); font-size: 15px; }
.rel-vers { display: flex; flex-direction: column; gap: 10px; }
.rel-ver { display: flex; flex-direction: column; gap: 8px; }
.rel-ver + .rel-ver { border-top: 1px dashed var(--line); padding-top: 14px; }
.pro-tag { display: inline-flex; align-items: center; gap: 3px; margin-left: 7px; padding: 2px 6px 2px 4px; border: 1px solid var(--copper); border-radius: 99px; color: var(--copper); font-family: var(--f-body); font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; line-height: 1.2; vertical-align: 0.15em; white-space: nowrap; cursor: help; opacity: 0.85; }
.pro-tag svg, .share-opt .pro-tag svg { width: 11px; min-width: 0; margin: 0; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; flex: none; }
.panel-head.has-pro { position: relative; }
.panel-head.has-pro > .pro-tag.corner { position: absolute; top: 2px; right: 0; margin: 0; }
.panel-head.has-pro h2 { padding-right: 64px; }
.wk-tog .pro-tag { margin-left: 8px; }
.nt-fab { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 75; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.35); cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none; transition: transform 0.15s; }
.nt-fab:hover { transform: translateY(-1px); }
.nt-fab.dragging { cursor: grabbing; transform: scale(1.06); transition: none; }
.nt-fab[aria-expanded="true"] { background: var(--accent-soft); }
.nt-fab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.nt-fab:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.nt-dot { position: absolute; top: 9px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--copper); border: 2px solid var(--surface); pointer-events: none; }
.nt-pop { position: fixed; z-index: 76; width: min(400px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 14px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.45); }
.nt-pop[hidden] { display: none; }
.nt-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.nt-top h2 { margin: 0; font-size: 20px; }
.nt-sub { margin: -4px 0 0; color: var(--muted); font-size: 14px; }
.nt-bar { display: flex; flex-wrap: wrap; gap: 6px; }
#nt-text { width: 100%; min-height: 200px; resize: vertical; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.55; box-sizing: border-box; }
#nt-text:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.nt-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.nt-state { color: var(--muted); font-size: 13px; }
.nt-sure { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.nt-sure p { margin: 0; }
.nt-pop .hint { margin: 0; font-size: 12.5px; }
@media (max-width: 560px) {
  .nt-fab { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); width: 50px; height: 50px; }
  .nt-pop.sheet { left: 8px !important; right: 8px; top: auto !important; bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important; width: auto; max-height: calc(100vh - 110px); }
}
@media print { .nt-fab, .nt-pop { display: none !important; } }
.rel-list.fix li::before { background: transparent; border: 2px solid var(--copper); box-sizing: border-box; }
.inst-steps { margin: 6px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.inst-steps li.plain { list-style: none; margin-left: -22px; }
@media (max-width: 340px) { .topbar .wordmark { font-size: 13.5px; } .topbar .brand svg, .topbar .bmark { width: 26px; height: 26px; } .topbar .hashtag { font-size: 12px; padding: 5px 7px; } .install { width: 30px; min-width: 30px; min-height: 30px; } .lang-pick { min-height: 30px; } .lang-pick select { font-size: 12px; } .tb-right { gap: 4px; } .topbar-in { gap: 4px; } }
#page-input .goal-bar { grid-column: 1 / -1; flex-direction: row; padding-block: 12px; gap: 8px 16px; }
.goal-bar .gb-text { flex: 1 1 240px; }
.goal-bar .eyebrow { margin-bottom: 2px; }
.goal-bar h2 { font-size: 18px; margin-bottom: 2px; }
.goal-bar .sub { font-size: 14px; }
.goal-bar .gb-actions .btn { min-height: 40px; padding-block: 8px; font-size: 14px; }
@media (max-width: 560px) { .goal-bar h2 { font-size: 17px; } .goal-bar .gb-actions { width: 100%; } }
#page-input .goal-bar h2#gb-q { font-size: 17px; line-height: 1.3; }
#page-input .goal-bar p.sub { font-size: 14px; line-height: 1.45; }
#page-input .goal-bar .gb-actions .btn { min-height: 38px; padding: 6px 16px; font-size: 14px; }
#page-input .goal-bar .gb-actions .btn.link { padding-inline: 4px; }
@media (max-width: 560px) { #page-input .goal-bar { padding: 12px 14px; } #page-input .goal-bar .gb-actions { flex-wrap: nowrap; } }
@media (max-width: 560px) { #page-input .goal-bar p.sub { display: none; } #page-input .goal-bar .gb-actions { flex-wrap: wrap; } #page-input .goal-bar h2#gb-q { text-wrap: pretty; } }

/* samengevoegde overzichtkaart en snel rekenen in stap 1 */
.ov-main { gap: 12px; }
.ovm-head { display: flex; flex-direction: column; gap: 6px; }
.ovm-head .eyebrow { margin-bottom: 0; }
.ovm-head h1 { font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
.ovm-head .sub { margin: 0; color: var(--ink2); max-width: 70ch; }
.ov-start { align-self: flex-start; }
.adv-in { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.adv-in[hidden] { display: none; }
@media (max-width: 560px) { .ovm-head h1 { font-size: 25px; } }
#step1-slot .snel { padding: 16px; }
#step1-slot .snel .ec-img, #step1-slot .snel .snel-body > .eyebrow, #step1-slot .snel .snel-body > h2, #step1-slot .snel .snel-body > .sub { display: none; }
#step1-slot .snel .snel-grid { margin-top: 0; }
@media (min-width: 761px) { .dash > .status, .dash > .kpis { grid-column: 1 / -1; } .dash > .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* kopafbeelding overzicht */
.card.ov-main { padding: 0; overflow: hidden; gap: 0; }
.ovm-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: stretch; }
.ovm-head { padding: 28px 24px 24px 28px; justify-content: center; gap: 8px; }
.ovm-head .ov-start { margin-top: 8px; }
.ovm-art { position: relative; min-height: 240px; }
.ovm-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ovm-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 22%); pointer-events: none; }
.ov-main .adv-in { margin: 0 24px 24px 28px; padding-top: 18px; }
.ovm-head h1 { font-size: 34px; }
@media (max-width: 760px) {
  .ovm-top { grid-template-columns: minmax(0, 1fr); }
  .ovm-art { order: -1; min-height: 170px; }
  .ovm-art::after { background: linear-gradient(180deg, rgba(255,255,255,0) 60%, rgba(255,255,255,0.7) 100%); }
  .ovm-head { padding: 16px 18px 18px; }
  .ovm-head h1 { font-size: 26px; }
  .ov-main .adv-in { margin: 0 18px 18px; }
}

/* advies leidend: "Dit hebben jullie nodig" is de grootste kop, het overzicht is ondergeschikt en zachter van kleur */
.ov-main .adv-top h2 { font-size: 36px; line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.ov-main:has(.adv-in:not([hidden])) .ovm-head .eyebrow { color: var(--muted); }
.ov-main:has(.adv-in:not([hidden])) .ovm-head h1 { font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; color: var(--muted); }
@media (max-width: 760px) {
  .ov-main .adv-top h2 { font-size: 30px; }
  .ov-main:has(.adv-in:not([hidden])) .ovm-head h1 { font-size: 19px; }
}
@media (max-width: 560px) {
  .ov-main .adv-top h2 { font-size: 27px; }
  .ov-main:has(.adv-in:not([hidden])) .ovm-head h1 { font-size: 18px; }
}

/* overzicht in vakjes: drie gegevens naast elkaar, label erboven */
.ov-main .ov-tiles { margin: 0 24px 0 28px; padding: 4px 0 18px; display: flex; flex-direction: column; gap: 8px; }
.ovt-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.ovt { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 11px 14px 12px; background: var(--surface2); border: 1px solid var(--line); border-radius: 12px; }
.ovt.auto { border-style: dashed; border-color: #B9C9DA; }
.ovt-l { font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.ovt-v { font-family: var(--f-num); font-variant-numeric: tabular-nums; font-size: 21px; font-weight: 500; line-height: 1.15; color: var(--ink2); overflow-wrap: anywhere; }
.ovt-s { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.ovt-note { margin: 0; font-size: 12.5px; color: var(--muted); }
@media (min-width: 761px) { .ov-main:has(.ov-tiles:not([hidden])) .ovm-art { min-height: 170px; } }
@media (max-width: 760px) { .ov-main .ov-tiles { margin: 0 18px 0; padding-bottom: 16px; } }
@media (max-width: 560px) {
  .ovt-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ovt { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; padding: 10px 14px; }
  .ovt-v { font-size: 19px; }
  .ovt-s { flex-basis: 100%; }
}

/* zes vakken: benodigd startkapitaal en buffer samen als totaal */
.k-split { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--surface2); margin: 2px 0; }
.k-split i { display: block; height: 100%; }
.k-split .ks-need { background: var(--accent); }
.k-split .ks-buf { background: var(--good); }
.k-split .ks-short { background: var(--bad); }
.k-split.hl-need .ks-buf, .k-split.hl-need .ks-short, .k-split.hl-buf .ks-need { opacity: 0.28; }

/* info bij nominaal en reëel */
.fan-head { position: relative; }
.info-btn { flex: none; align-self: flex-start; width: 38px; height: 38px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--accent); cursor: pointer; }
.info-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-btn:hover, .info-btn[aria-expanded="true"] { background: var(--accent-soft); border-color: var(--accent); }
.info-btn:focus-visible, .fp-x:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fan-pop { position: absolute; z-index: 25; left: 0; top: calc(100% + 8px); width: min(400px, 100%); padding: 14px 16px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(29, 43, 58, 0.18); display: flex; flex-direction: column; gap: 10px; }
.fp-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fp-top h3 { margin: 0; font-family: var(--f-display); font-size: 17px; font-weight: 600; }
.fp-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--ink2); font-size: 16px; cursor: pointer; }
.fp-x:hover { background: var(--surface2); }
.fan-pop dl { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.fan-pop dt { font-weight: 600; font-size: 14px; }
.fan-pop dd { margin: 2px 0 0; font-size: 14px; color: var(--ink2); }
@media (max-width: 560px) { .info-btn { width: 44px; height: 44px; } }

/* inzicht: dezelfde knoopkleur en lichte gloed als de kaarten onderaan het overzicht */
:root { --tint-pf: #E8F1FB; --tint-ld: #E9F6EF; --tint-kp: #FCEFE6; }
#sec-pf { background: linear-gradient(135deg, #FFFFFF, var(--tint-pf)); }
#sec-ladder { background: linear-gradient(135deg, #FFFFFF, var(--tint-ld)); }
#sec-koop { background: linear-gradient(135deg, #FFFFFF, var(--tint-kp)); }
.panel-head.has-nb { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 4px 12px; }
.panel-head.has-nb .nb { grid-column: 1; grid-row: 1; width: 34px; height: 34px; display: block; }
.panel-head.has-nb .nb svg { display: block; width: 100%; height: 100%; }
.panel-head.has-nb h2 { grid-column: 2; grid-row: 1; }
.panel-head.has-nb .sub { grid-column: 1 / -1; }


/* =====================================================================
   V5: rustiger, volwassener. Cijfers in de leesletter (tabular), bronnen
   ingeklapt, glazen balken, zachte beweging, duidelijke focus.
   ===================================================================== */
:root {
  --f-num: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r-card: 22px;
  --r-ctl: 14px;
  --shadow: 0 1px 2px rgba(29, 43, 58, 0.04), 0 14px 34px -14px rgba(29, 43, 58, 0.14);
  --shadow-up: 0 2px 4px rgba(29, 43, 58, 0.05), 0 22px 44px -16px rgba(29, 43, 58, 0.22);
  --ring: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-variant-numeric: tabular-nums lining-nums; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: color-mix(in srgb, var(--accent) 22%, transparent); }
h1, h2, h3, .wordmark { text-wrap: balance; letter-spacing: -0.012em; font-variant-ligatures: no-common-ligatures no-discretionary-ligatures; font-feature-settings: "liga" 0, "clig" 0, "calt" 1; font-kerning: normal; }
p { text-wrap: pretty; }

/* kaarten */
.card, .kpi { border-radius: var(--r-card); border-color: color-mix(in srgb, var(--line) 70%, transparent); }
.kpi { border-radius: 18px; }
a.card, .nlink { transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s; }
@media (hover: hover) { a.card:hover, .nlink:hover { transform: translateY(-2px); box-shadow: var(--shadow-up); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); } }
a.card:active, .nlink:active { transform: translateY(0) scale(0.995); }

/* cijfers: groot, strak, in de koppenletter */
.ovt-v, .g-num, .kpi b, .kpi .kv, .adv-amt, .mini b { letter-spacing: -0.015em; }
.ovt-v { font-family: var(--f-display); font-weight: 600; font-size: 23px; color: var(--ink); }
.gauge .g-num { font-family: var(--f-display); font-weight: 600; font-size: 38px; letter-spacing: -0.02em; }
.mini b { font-weight: 700; }
.lang-pick select { font-weight: 600; letter-spacing: 0.02em; }
.v2 { font-weight: 700; letter-spacing: 0.08em; }

/* kans-tegel bovenaan */
.ovt-chance { appearance: none; font: inherit; text-align: left; cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.ovt-chance .ovt-v { font-size: 28px; }
.ovt-chance.good { background: var(--good-bg); border-color: color-mix(in srgb, var(--good) 30%, transparent); } .ovt-chance.good .ovt-v { color: var(--good); }
.ovt-chance.warn { background: var(--warn-bg); border-color: color-mix(in srgb, var(--warn) 30%, transparent); } .ovt-chance.warn .ovt-v { color: var(--warn); }
.ovt-chance.bad { background: var(--bad-bg); border-color: color-mix(in srgb, var(--bad) 30%, transparent); } .ovt-chance.bad .ovt-v { color: var(--bad); }
.ovt-chance:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) { .ovt-chance:hover { transform: translateY(-1px); box-shadow: var(--shadow); } }
.ovt { border-radius: var(--r-ctl); }

/* glazen balken */
/* het glas zit op ::before: een backdrop-filter op de balk zelf zou de vaste tabbalk onderaan aan de kop vastmaken */
.topbar { background: transparent; border-bottom-color: color-mix(in srgb, var(--line) 60%, transparent); }
.topbar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, 0.8); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); }
.mini { background: transparent; }
@media (max-width: 760px) {
  .tabs { background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); }
  .tabs a { transition: background 0.2s, color 0.2s, transform 0.15s; }
  .tabs a:active { transform: scale(0.96); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .topbar::before { background: rgba(255, 255, 255, 0.97); } }

/* knoppen en velden */
.btn { transition: transform 0.15s var(--ease), box-shadow 0.2s, background 0.2s, filter 0.2s; }
.btn:active { transform: scale(0.975); }
.btn.primary { box-shadow: 0 6px 18px -6px rgba(47, 109, 174, 0.55); }
@media (hover: hover) { .btn.primary:hover { box-shadow: 0 10px 24px -8px rgba(47, 109, 174, 0.6); transform: translateY(-1px); } }
input[type="number"], input[type="text"], select { transition: border-color 0.15s, box-shadow 0.15s; }
input[type="number"]:focus, input[type="text"]:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
input[type="number"], input[type="text"] { border-radius: 12px; font-weight: 600; }
input::placeholder { font-weight: 400; }

/* bronnen: ingeklapt tot een rustig label */
.srcline { font-size: 12.5px; }
.srcs > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 11px 4px 9px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--ink2); font-weight: 600; font-size: 12.5px; cursor: pointer; user-select: none; transition: background 0.15s, border-color 0.15s; }
.srcs > summary::-webkit-details-marker { display: none; }
.srcs > summary svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.srcs > summary i { font-style: normal; font-weight: 700; font-size: 12px; min-width: 18px; padding: 1px 5px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); text-align: center; }
.srcs > summary:hover { background: var(--surface2); }
.srcs > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.srcs[open] > summary { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.srcs-body { margin-top: 8px; line-height: 1.7; color: var(--muted); text-align: left; }
.srcs-body a { white-space: normal !important; overflow-wrap: anywhere; }
.status .srcline { text-align: center; } .status .srcs-body { text-align: center; }
.facts .srcs > summary { min-height: 28px; }

/* veelgestelde vragen */
.faq { gap: 0; }
.faq h2 { margin-bottom: 6px; }
.lp-intro { margin: 10px 0 0; max-width: 34em; font-size: 17px; line-height: 1.55; color: var(--ink, inherit); }
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 14px; height: 14px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.trust a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.trust a:hover { color: var(--accent); }
.faq-i { border-top: 1px solid var(--line); }
.faq-i > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 2px; min-height: 48px; font-family: var(--f-display); font-weight: 600; font-size: 16.5px; line-height: 1.3; color: var(--ink); cursor: pointer; }
.faq-i > summary::-webkit-details-marker { display: none; }
.faq-i > summary::after { content: ""; flex: 0 0 auto; width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.2s var(--ease); }
.faq-i[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-i > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.faq-a { padding: 0 2px 16px; max-width: 68ch; color: var(--ink2); line-height: 1.6; }
.faq-a p { margin: 0; }

/* taallinks in de voet */
.site-langs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; }
.site-langs a { color: var(--muted); text-decoration: none; font-weight: 600; padding: 6px 0; }
.site-langs a:hover { color: var(--accent); text-decoration: underline; }
.site-langs a[aria-current="true"] { color: var(--ink); }

/* zachte beweging */
@media (prefers-reduced-motion: no-preference) {
  .page:not([hidden]) > * { animation: v5in 0.42s var(--ease) both; }
  .page:not([hidden]) > *:nth-child(2) { animation-delay: 0.04s; }
  .page:not([hidden]) > *:nth-child(3) { animation-delay: 0.08s; }
  .page:not([hidden]) > *:nth-child(n+4) { animation-delay: 0.12s; }
  @keyframes v5in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .gauge .g-val { transition: stroke-dashoffset 0.7s var(--ease), stroke 0.3s; }
  .srcs[open] .srcs-body, .faq-i[open] .faq-a { animation: v5in 0.25s var(--ease) both; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* =====================================================================
   V6 "Atelier": linnen, inkt en naaigaren. Eigen letters (Fraunces voor
   koppen, Inter voor tekst en cijfers), licht en donker, een werkblad
   met invoer naast de uitkomst.
   ===================================================================== */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/fraunces-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/inter-700.woff") format("woff"); }

:root {
  color-scheme: light;
  --bg: #F6F2EB; --surface: #FFFEFB; --surface2: #F0EADF; --ink: #1C2421; --ink2: #414C47; --muted: #616B65;
  --line: #E2DACD; --grid: #EAE3D6;
  --accent: #1E5A49; --accent-soft: #DDEAE3; --on-accent: #FFFFFF; --copper: #A9502A;
  --good: #1D7046; --good-bg: #E1F0E5; --warn: #8A5A00; --warn-bg: #F7EBCF; --bad: #AB3526; --bad-bg: #F8E2DC;
  --pblue: #8FB4D9; --peach: #E8A07A; --sage: #9CC7AC; --sky: #C2B3E0; --butter: #EBCF86; --tipmuted: #B9C2BC;
  --tint-pf: #E9F0F6; --tint-ld: #E6F1E9; --tint-kp: #F8EBE1;
  --glass: rgba(246, 242, 235, 0.82); --scrim: rgba(28, 36, 33, 0.45);
  --shadow: 0 1px 0 rgba(28, 36, 33, 0.03), 0 12px 28px -20px rgba(28, 36, 33, 0.28);
  --shadow-up: 0 2px 0 rgba(28, 36, 33, 0.03), 0 22px 40px -22px rgba(28, 36, 33, 0.38);
  --ring: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
  --f-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-num: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-card: 20px; --r-ctl: 12px;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
  --bg: #131715; --surface: #1B211E; --surface2: #242C28; --ink: #F2EEE6; --ink2: #CFD5CF; --muted: #9BA69F;
  --line: #333E38; --grid: #2A332E;
  --accent: #86D3B4; --accent-soft: #1F342C; --on-accent: #0F1D17; --copper: #E6A077;
  --good: #84D7A5; --good-bg: #17301F; --warn: #ECC06B; --warn-bg: #382C10; --bad: #F39683; --bad-bg: #3A1F1A;
  --pblue: #7FA6CF; --peach: #D9906A; --sage: #7FB796; --sky: #A999D0; --butter: #D7BB6F; --tipmuted: #6F7B74;
  --tint-pf: #1F2930; --tint-ld: #1E2B24; --tint-kp: #2E2620;
  --glass: rgba(19, 23, 21, 0.8); --scrim: rgba(0, 0, 0, 0.62);
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.25), 0 14px 30px -20px rgba(0, 0, 0, 0.8);
  --shadow-up: 0 2px 0 rgba(0, 0, 0, 0.25), 0 24px 44px -22px rgba(0, 0, 0, 0.9);
  color-scheme: dark;
}
:root:not([data-theme="light"]) .hero-art img, :root:not([data-theme="light"]) .pt-art img, :root:not([data-theme="light"]) .modal-hero img { filter: brightness(0.86) saturate(0.95); }
}
:root[data-theme="dark"] {
  --bg: #131715; --surface: #1B211E; --surface2: #242C28; --ink: #F2EEE6; --ink2: #CFD5CF; --muted: #9BA69F;
  --line: #333E38; --grid: #2A332E;
  --accent: #86D3B4; --accent-soft: #1F342C; --on-accent: #0F1D17; --copper: #E6A077;
  --good: #84D7A5; --good-bg: #17301F; --warn: #ECC06B; --warn-bg: #382C10; --bad: #F39683; --bad-bg: #3A1F1A;
  --pblue: #7FA6CF; --peach: #D9906A; --sage: #7FB796; --sky: #A999D0; --butter: #D7BB6F; --tipmuted: #6F7B74;
  --tint-pf: #1F2930; --tint-ld: #1E2B24; --tint-kp: #2E2620;
  --glass: rgba(19, 23, 21, 0.8); --scrim: rgba(0, 0, 0, 0.62);
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.25), 0 14px 30px -20px rgba(0, 0, 0, 0.8);
  --shadow-up: 0 2px 0 rgba(0, 0, 0, 0.25), 0 24px 44px -22px rgba(0, 0, 0, 0.9);
  color-scheme: dark;
}
:root[data-theme="dark"] .hero-art img, :root[data-theme="dark"] .pt-art img, :root[data-theme="dark"] .modal-hero img { filter: brightness(0.86) saturate(0.95); }


html { background: var(--bg); }
body { background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.55; font-feature-settings: "tnum" 1, "calt" 1, "case" 1; }
.app-bg { background: radial-gradient(60rem 28rem at 50% -14rem, color-mix(in srgb, var(--accent-soft) 70%, transparent), transparent 70%), var(--bg); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
a { color: var(--accent); }
.sub { color: var(--ink2); }
.eyebrow, .step-k { color: var(--copper); font-family: var(--f-body); font-weight: 700; letter-spacing: 0.09em; }

/* ---------- kop ---------- */
.topbar { background: transparent; border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.topbar::before { background: var(--glass); }
.topbar-in { max-width: 1200px; gap: 16px; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.bmark { width: 30px; height: 30px; flex: 0 0 auto; }
.bm-o { fill: var(--accent); } .bm-r { fill: none; stroke: var(--on-accent); stroke-width: 1.4; opacity: 0.55; } .bm-h { fill: var(--bg); } .bm-t { stroke: var(--copper); stroke-width: 1.5; stroke-linecap: round; fill: none; }
.topbar .wordmark, .wordmark { font-family: var(--f-display); font-weight: 600; font-size: 21px; letter-spacing: -0.015em; color: var(--ink); white-space: nowrap; }
.tabs { margin: 0 auto; gap: 2px; padding: 4px; background: var(--surface2); border-radius: 14px; }
.tabs a { padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--ink2); gap: 8px; }
.tabs a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tabs a:hover { background: color-mix(in srgb, var(--surface) 60%, transparent); color: var(--ink); }
.tabs a[aria-current="page"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 0 0 1px color-mix(in srgb, var(--line) 80%, transparent); }
.tabs a[aria-current="page"] svg { stroke: var(--accent); }
.tb-right { display: flex; align-items: center; gap: 8px; margin-left: 0; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink2); font: 600 14px var(--f-body); cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s; }
.icon-btn[hidden] { display: none; }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.icon-btn:hover { color: var(--ink); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.icon-btn:active { transform: scale(0.96); }
.icon-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.icon-btn.install { background: var(--accent); border-color: var(--accent); color: var(--on-accent); padding: 0 14px; }
#btn-theme .i-sun, #btn-theme .i-moon, #btn-theme .i-auto { display: none; }
#btn-theme[data-mode="light"] .i-sun, #btn-theme[data-mode="dark"] .i-moon, #btn-theme[data-mode="auto"] .i-auto { display: block; }
.lang-pick { border-radius: 12px; min-height: 40px; background: var(--surface); border-color: var(--line); color: var(--ink2); }
.lang-pick select { color: var(--ink); font: 600 13px var(--f-body); background: transparent; }
.mini { background: transparent; border-top-color: color-mix(in srgb, var(--line) 70%, transparent); color: var(--ink2); }
.mini b { font-weight: 700; }

/* ---------- pagina ---------- */
.wrap { max-width: 1200px; padding-top: 28px; padding-bottom: 72px; }
.page { gap: 20px; }
.card, .kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); }
.card { padding: 24px; }
.panel-head h2, .card > h2, .side-h { font-size: 22px; line-height: 1.2; margin: 0; }
.panel-head .sub { margin-top: 6px; max-width: 64ch; }

/* ---------- held ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 40px; align-items: center; padding: 18px 12px 10px 4px; background: none; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
.hero-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0; font: 700 12.5px var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--copper); }
.kdot { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--on-accent) 0 1.2px, transparent 1.6px), radial-gradient(circle at 65% 35%, var(--on-accent) 0 1.2px, transparent 1.6px), radial-gradient(circle at 35% 65%, var(--on-accent) 0 1.2px, transparent 1.6px), radial-gradient(circle at 65% 65%, var(--on-accent) 0 1.2px, transparent 1.6px), var(--copper); }
.hero h1 { margin: 0; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -0.008em; word-spacing: 0.02em; max-width: 19ch; text-wrap: balance; }
.hero-sub { margin: 0; font-size: 18px; line-height: 1.5; color: var(--ink2); max-width: 46ch; }
.hero-sub[hidden] { display: none; }
.hero .ov-start { display: none; }
.hero-art { position: relative; aspect-ratio: 4 / 3; border-radius: 26px; overflow: visible; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 26px; }
.hero-art::after { content: ""; position: absolute; inset: -9px; border: 2px dashed color-mix(in srgb, var(--copper) 55%, transparent); border-radius: 33px; pointer-events: none; }
.hero .ov-tiles { margin: 6px 0 0; padding: 0; }
.ovt-row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.ovt { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.ovt.auto { border-style: dashed; border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.ovt-l { font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }
.ovt-v { font-family: var(--f-num); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }
.ovt-chance .ovt-v { font-family: var(--f-display); font-weight: 600; font-size: 30px; }
.ovt-note { color: var(--muted); }

/* ---------- werkblad: invoer naast uitkomst ---------- */
.home-grid { display: grid; grid-template-columns: 348px minmax(0, 1fr); gap: 24px; align-items: start; }
.home-side { position: sticky; top: 84px; min-width: 0; }
.home-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.side-card { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-top: 3px solid var(--accent); }
.side-more { justify-content: center; }
#ov-quick .snel, #step1-slot .snel { background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0; display: block; }
#ov-quick .snel .ec-img, #ov-quick .snel .snel-body > .eyebrow, #ov-quick .snel .snel-body > h2, #ov-quick .snel .snel-body > .sub { display: none; }
#ov-quick .snel .snel-body { padding: 0; }
#ov-quick .snel .snel-grid { display: flex; flex-direction: column; gap: 14px; margin-top: 0; }
#ov-quick .qp { display: flex; flex-direction: column; gap: 8px; }
.adv-card:has(#advies[hidden]) { display: none; }
.adv-card { background: linear-gradient(135deg, var(--surface), color-mix(in srgb, var(--accent-soft) 55%, var(--surface))); border-color: color-mix(in srgb, var(--accent) 22%, var(--line)); }
.adv-in { padding: 0; margin: 0; border: 0; }
.adv-big, .adv-top b { font-family: var(--f-display); font-weight: 600; color: var(--accent); letter-spacing: -0.02em; }
.curve-cap { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.curve-cap:empty { display: none; }
.seg.seg3 .seg-opt span { text-align: center; }
.zk-cap { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.zk-d { margin: 6px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 500; line-height: 1.4; }
.zk-cap[hidden], .zk-d[hidden] { display: none; }
.hb-track { background: var(--surface2); } .hb-fill { background: linear-gradient(90deg, var(--sage), var(--good)); }

/* ---------- uitkomst ---------- */
.status { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 8px 28px; align-items: center; padding: 24px 28px; }
.status .gauge { max-width: 230px; grid-row: span 2; }
.status .srcline { text-align: left; }
.status.good { border-color: color-mix(in srgb, var(--good) 45%, var(--line)); } .status.warn { border-color: color-mix(in srgb, var(--warn) 45%, var(--line)); } .status.bad { border-color: color-mix(in srgb, var(--bad) 45%, var(--line)); }
.gauge .g-bg { stroke: var(--surface2); }
.gauge .g-num { font-family: var(--f-display); font-weight: 600; font-size: 40px; fill: var(--ink); }
.gauge .g-lbl { fill: var(--muted); font-family: var(--f-body); }
.verdict { background: none !important; border: 0 !important; padding: 0; }
.verdict .pill { font-family: var(--f-display); font-weight: 600; font-size: 22px; }
.verdict-text { color: var(--ink2); }
.chip, .verdict .chip { background: var(--surface2); border: 1px solid var(--line); color: var(--ink2); border-radius: 99px; }
.kpis { gap: 12px; }
.kpi { padding: 16px 18px; border-radius: 16px; box-shadow: none; }
.k-label { color: var(--muted); font-weight: 600; }
.k-val { font-family: var(--f-num); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.k-sub { color: var(--muted); }
.fan-box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.fan-box b { font-family: var(--f-num); font-weight: 700; letter-spacing: -0.02em; }
.fan-ctl button, .info-btn { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 12px; }
.fan-pop, .tip { background: var(--surface); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-up); }
.ph { background: repeating-linear-gradient(135deg, transparent 0 12px, color-mix(in srgb, var(--accent) 5%, transparent) 12px 24px); border-color: var(--line); color: var(--muted); }
.legend { color: var(--ink2); }
.table-view summary, .readmore summary { color: var(--accent); }
.more { font-family: var(--f-body); font-weight: 700; font-size: 12.5px; letter-spacing: 0.1em; color: var(--muted); }
.nlink { box-shadow: none; }
.nlink:nth-child(1) { background: linear-gradient(135deg, var(--surface), var(--tint-pf)); }
.nlink:nth-child(2) { background: linear-gradient(135deg, var(--surface), var(--tint-ld)); }
.nlink:nth-child(3) { background: linear-gradient(135deg, var(--surface), var(--tint-kp)); }
.nlink b { font-family: var(--f-display); font-weight: 600; color: var(--ink); }
#sec-pf { background: linear-gradient(135deg, var(--surface), var(--tint-pf)); }
#sec-ladder { background: linear-gradient(135deg, var(--surface), var(--tint-ld)); }
#sec-koop { background: linear-gradient(135deg, var(--surface), var(--tint-kp)); }
.is-calc .status .gauge, .is-calc .ovt-chance, .is-calc .kpis, .is-calc .mini, .is-calc #plans .pl-v.now, .is-calc #fb-send { opacity: 0.55; transition: opacity 0.15s; }

/* ---------- knoppen en velden ---------- */
.btn { border-radius: 12px; font-family: var(--f-body); font-weight: 600; min-height: 46px; padding: 10px 20px; }
.btn.sm { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.btn.primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn.primary:hover { box-shadow: 0 12px 22px -10px color-mix(in srgb, var(--accent) 85%, transparent); filter: none; }
.btn.primary:disabled { opacity: 0.45; cursor: default; box-shadow: none; transform: none; }
.btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); background: var(--surface); }
.btn.link { color: var(--accent); background: none; }
input[type="number"], input[type="text"], select, textarea, #fb-msg { background: var(--surface); color: var(--ink); border: 1px solid color-mix(in srgb, var(--ink) 22%, var(--line)); border-radius: var(--r-ctl); font-family: var(--f-body); }
input[type="number"], input[type="text"] { font-weight: 600; min-height: 46px; }
select { min-height: 46px; }
input::placeholder { color: var(--muted); font-weight: 400; }
.unit, .opt, .hint { color: var(--muted); }
label, .flabel { color: var(--ink); }
.seg { background: var(--surface2); border: 1px solid var(--line); border-radius: 12px; padding: 3px; gap: 2px; }
.seg-opt span { border-radius: 9px; color: var(--ink2); }
.seg-opt input:checked + span { background: var(--accent); color: var(--on-accent); }
input[type="range"] { accent-color: var(--accent); }
.tag { border-radius: 99px; font-weight: 600; }
.tag.zelf { background: color-mix(in srgb, var(--sky) 30%, var(--surface)); color: var(--ink); }
.tag.bron { background: var(--accent-soft); color: var(--accent); }
.tag.aanname { background: var(--warn-bg); color: var(--warn); }
.reset { color: var(--accent); }

/* ---------- pagina-kop (Invullen, Inzicht, Over) ---------- */
.page-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; padding: 6px 4px 2px; }
.page-top.has-art { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
.pt-text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pg-h { margin: 0; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.06; letter-spacing: -0.022em; }
.pg-h span { color: var(--accent); }
.page-top .sub { margin: 0; font-size: 17px; max-width: 56ch; }
.pt-art { position: relative; aspect-ratio: 3 / 2; }
.pt-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; display: block; }
.pt-art::after { content: ""; position: absolute; inset: -8px; border: 2px dashed color-mix(in srgb, var(--copper) 50%, transparent); border-radius: 31px; pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 99px; padding: 8px 14px; min-height: 38px; font: 600 14px var(--f-body); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.chip-btn:hover { border-color: var(--accent); }
.chip-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.about-body { color: var(--ink2); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 20px; align-items: start; }
.about-grid > .faq { grid-row: span 2; }
.about-grid > #privacy, .about-grid > #disclaimer { grid-column: 1 / -1; }
.about-grid > #privacy .about-body, .about-grid > #disclaimer .about-body { max-width: none; columns: 2 320px; column-gap: 32px; display: block; }
.about-grid .about-body p { margin: 0 0 10px; break-inside: avoid; }
footer { color: var(--muted); }
.site-langs a { color: var(--muted); } .site-langs a[aria-current="true"] { color: var(--ink); }
.goal-bar { border-left: 4px solid var(--copper); }
.empty-note { border-style: dashed; color: var(--ink2); box-shadow: none; }

/* ---------- stappen ---------- */
.progress { background: var(--surface2); } .progress span { background: var(--accent); }
.stepper button { color: var(--ink2); }
.stepper button .num { background: var(--surface); border: 1px solid var(--line); color: var(--ink2); box-shadow: none; }
.stepper button[aria-current="step"] .num { background: var(--accent); background-image: none; border-color: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.stepper button.done .num { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.step-head h2 { font-size: 28px; line-height: 1.12; }
.knob, .cmp-card, .pcard { background: var(--surface); border-color: var(--line); }

/* ---------- bronnen, vragen ---------- */
.srcs > summary { background: var(--surface); border-color: var(--line); color: var(--ink2); }
.srcs > summary:hover { background: var(--surface2); }
.srcs > summary i { background: var(--accent-soft); color: var(--accent); }
.srcline a { color: var(--accent); }
.fb-spot { color: var(--copper); }
.faq-i { border-top-color: var(--line); }
.faq-i > summary { font-family: var(--f-body); font-weight: 600; font-size: 16px; }
.faq-i > summary::after { border-color: var(--accent); }

/* ---------- plannen vergelijken ---------- */
.pl-grid { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.pl-row { display: grid; grid-template-columns: minmax(120px, 1.25fr) repeat(3, minmax(0, 1fr)); align-items: center; border-top: 1px solid var(--line); }
.pl-row:first-child { border-top: 0; }
.pl-row > span { padding: 11px 14px; min-width: 0; overflow-wrap: anywhere; }
.pl-head > span { font: 700 12px var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--surface2); }
.pl-l { color: var(--ink2); font-size: 14px; }
.pl-v { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.pl-head .pl-col { text-align: right; }
.pl-row .now { background: color-mix(in srgb, var(--accent-soft) 45%, transparent); }
.pl-head .pl-col.now { color: var(--accent); background: var(--accent-soft); }
.pl-succ { font-family: var(--f-display); font-size: 22px; font-weight: 600; }
.pl-succ.good { color: var(--good); } .pl-succ.warn { color: var(--warn); } .pl-succ.bad { color: var(--bad); }
.pl-none { color: var(--muted); font-weight: 400; font-size: 13px; }
.pl-btns { display: flex; flex-wrap: wrap; gap: 4px 8px; justify-content: flex-end; align-items: center; }
.pl-save { margin-top: 14px; }

/* ---------- vensters ---------- */
.modal { background: var(--scrim); }
.modal-card { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.55); border-radius: 24px; }
.modal-hero { background: var(--surface2); }
.modal-brand { background: var(--glass); box-shadow: none; border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.modal-actions { background: linear-gradient(180deg, transparent, var(--surface) 30%); }
#intro-s1 h2, .intro-about-h { font-family: var(--f-display); }
.fb-x { background: var(--surface2); color: var(--ink); border: 0; border-radius: 10px; }
.fb-cats label span { border-color: var(--line); background: var(--surface); color: var(--ink); }
.fb-cats input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.slot-machine { background: var(--surface2); border-color: var(--copper); box-shadow: inset 0 0 0 4px var(--surface); }
.share-list { display: grid; gap: 10px; margin-top: 6px; }
.share-opt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; min-height: 64px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; transition: border-color 0.15s, transform 0.15s, background 0.15s; }
.share-opt[hidden] { display: none; }
.share-opt:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent-soft) 40%, var(--surface)); }
.share-opt:active { transform: scale(0.99); }
.share-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.share-opt svg { width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.share-opt > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.share-opt b { font-weight: 600; } .share-opt > span > span { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
#share-out { width: 100%; box-sizing: border-box; margin-top: 12px; padding: 12px; font: 13px/1.5 var(--f-body); resize: vertical; }
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 12px); z-index: 200; max-width: min(92vw, 420px); padding: 12px 18px; border-radius: 14px; background: #1C2421; color: #FFFEFB; font: 600 14.5px var(--f-body); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6); opacity: 0; transition: opacity 0.2s, transform 0.2s; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.tour-spot { box-shadow: 0 0 0 9999px rgba(15, 20, 18, 0.6); }
.tour-tip { background: #1C2421; color: #FFFEFB; }
.tour-tip h3, .tour-tip p { color: #FFFEFB; }
.tour-tip .btn.primary { background: #FFFEFB; color: #1C2421; border-color: #FFFEFB; box-shadow: none; }
.tour-tip .btn.ghost { background: none; color: #FFFEFB; border-color: rgba(255, 255, 255, 0.35); }
.tour-tip .btn.link { color: #D7E6DF; }

/* ---------- smal scherm ---------- */
@media (max-width: 1020px) {
  .home-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 18px; }
  .status { grid-template-columns: minmax(0, 1fr); } .status .gauge { grid-row: auto; justify-self: center; } .status .srcline { text-align: center; }
  .about-grid { grid-template-columns: minmax(0, 1fr); } .about-grid > .faq { grid-row: auto; }
}
@media (max-width: 760px) {
  .wrap { padding-top: 18px; padding-bottom: 120px; }
  .card { padding: 18px; }
  .tabs { left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); margin: 0; padding: 5px; border: 1px solid var(--line); border-radius: 20px; background: var(--glass); -webkit-backdrop-filter: saturate(1.5) blur(18px); backdrop-filter: saturate(1.5) blur(18px); box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.35); }
  .tabs a { border-radius: 15px; padding: 7px 4px; font-size: 12px; gap: 3px; }
  .tabs a[aria-current="page"] { background: var(--accent); color: var(--on-accent); box-shadow: none; }
  .tabs a[aria-current="page"] svg { stroke: var(--on-accent); }
  .icon-btn .ib-l { display: none; } .icon-btn, .icon-btn.install { padding: 0; width: 36px; min-width: 36px; height: 36px; border-radius: 10px; }
  .lang-pick { min-height: 36px; padding-left: 6px; border-radius: 10px; } .lang-pick svg { display: none; } .lang-pick select { padding: 4px 2px; min-height: 32px; }
  .topbar-in { gap: 8px; }
  .topbar .wordmark { font-size: 19px; } .bmark { width: 27px; height: 27px; }
  .tb-right { gap: 5px; margin-left: auto; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 4px; }
  .hero h1 { font-size: clamp(28px, 8vw, 40px); }
  .hero-sub { font-size: 16.5px; }
  .hero-art { aspect-ratio: 16 / 9; margin: 4px 8px 6px; }
  html:not(.is-empty) .hero-art { display: none; }
  .hero .ov-tiles { display: none; }
  .home-grid { display: flex; flex-direction: column; gap: 16px; }
  .home-side { position: static; } .home-main { display: contents; }
  .page-top.has-art { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pt-art { aspect-ratio: 16 / 9; margin: 0 8px 4px; order: -1; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px; scrollbar-width: none; } .chips::-webkit-scrollbar { display: none; } .chip-btn { white-space: nowrap; flex: 0 0 auto; }
  .about-grid > #privacy .about-body, .about-grid > #disclaimer .about-body { columns: auto; }
  .pl-row { grid-template-columns: minmax(84px, 1fr) repeat(3, minmax(0, 1fr)); }
  .pl-row > span { padding: 10px 8px; font-size: 13.5px; } .pl-l { font-size: 12.5px; } .pl-succ { font-size: 19px; }
  .pl-btns { flex-direction: column; align-items: flex-end; }
  .step-head h2 { font-size: 24px; }
}
@media (max-width: 440px) { .tb-right { gap: 4px; } .topbar .icon-btn { min-width: 36px; height: 36px; padding: 0 8px; } .topbar .wordmark { font-size: 17px; } }
/* de kopbalk mag op geen enkele taal of breedte de pagina breder maken: de linkerkant mag krimpen met een ellips */
.topbar-in { min-width: 0; }
.topbar-in > a.brand, .topbar .brand { min-width: 0; flex: 0 1 auto; overflow: hidden; }
.topbar .wordmark { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) { .topbar-in { gap: 8px; } }
@media (max-width: 380px) { .topbar .wordmark { font-size: 17px; } .tb-right { gap: 4px; } #btn-theme { display: none; } }

/* ---------- afdrukken ---------- */
@media print {
  :root { --bg: #fff; --surface: #fff; --surface2: #f3f3f3; --line: #cfcfcf; --shadow: none; color-scheme: light; }
  html, body, .app-bg { background: #fff !important; }
  .topbar, .tabs, .home-side, .next, .fb-line, .support-line, .hero-art, .fan-ctl, .info-btn, .seg, .srcline, .table-view, .toast, .modal, .tour, footer, .hero .ov-start { display: none !important; }
  .page[hidden] { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  .home-grid { display: block; } .home-main { display: block; }
  .card, .kpi { box-shadow: none; break-inside: avoid; margin-bottom: 12px; }
  .hero { display: block; padding: 0 0 8px; } .hero h1 { font-size: 30px; max-width: none; }
  .hero .ov-tiles { display: block !important; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- bijwerken na eerste beoordeling ---------- */
.page-top { padding: 14px 4px 6px; }
#page-input .page-top { padding-bottom: 0; }
.step-head .sub, .step .sub { max-width: 64ch; }
.cmp-card.sel, .cmp-card.auto, .cmp-card[aria-current="true"] { border-color: var(--accent); }
.intro-s0 .welcome { color: var(--copper); }
.intro-prefs { background: var(--surface2); border-color: var(--line); }
/* kop op de smalste telefoons: "Button Counter" is langer dan het oude "Buttons" */
@media (max-width: 340px) { .topbar .wordmark { font-size: 15px; } .topbar .brand { gap: 6px; } .topbar .brand .bmark { width: 28px; height: 28px; } }
/* koffieregel: onder het advies, in het deelvenster en na het bewaren van een plan */
.support-card { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap; padding: 14px 20px; background: color-mix(in srgb, var(--accent-soft) 35%, var(--surface)); }
.support-card[hidden] { display: none; }
.support-card .sup-t { flex: 1 1 240px; min-width: 0; color: var(--ink2); font-size: 15px; line-height: 1.45; }
.support-card a.kofi, .sup-sh a.kofi, .sup-pl a.kofi { margin-left: 0; }
.sup-sh, .sup-pl { display: flex; flex-direction: column; align-items: center; gap: 10px; line-height: 1.45; text-align: center; }
.sup-sh { margin: 6px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.sup-sh[hidden] { display: none; }
#plans .sup-pl { margin: 20px 0 0; }
@media (min-width: 640px) { .sup-pl { flex-direction: row; justify-content: center; gap: 4px 12px; flex-wrap: wrap; } }
@media print { .support-card, .sup-sh, .sup-pl { display: none !important; } }

/* ===== v7: kaarten op smalle schermen niet breder dan het scherm ===== */
.home-grid > *, .home-main > * { min-width: 0; max-width: 100%; }
.per-warn { margin: 0; padding: 8px 10px; border-radius: 8px; background: color-mix(in srgb, var(--copper) 12%, transparent); color: var(--ink); font-size: 13.5px; line-height: 1.4; }
.per-warn[hidden] { display: none; }

/* ===== v7: gesplitste knop tip | koffie ===== */
.support-card { flex-direction: column; justify-content: center; text-align: center; gap: 12px; padding: 18px 20px; }
.duo-t { margin: 0; color: var(--ink2); font-size: 15px; line-height: 1.45; }
.duo { display: flex; align-items: stretch; width: min(100%, 520px); border: 1px solid var(--line); border-radius: 999px; background: var(--surface); overflow: hidden; box-shadow: 0 1px 2px rgba(20, 40, 30, 0.06); }
.duo > button, .duo > a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 10px 18px; margin: 0; border: 0; background: none; font: inherit; text-align: left; text-decoration: none; cursor: pointer; flex: 1 1 0; min-width: 0; }
.duo > button:hover, .duo > a:hover { background: var(--surface2); }
.duo > button:focus-visible, .duo > a:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.duo-l { color: var(--accent); }
.duo-r { color: var(--copper); border-left: 1px solid var(--line) !important; }
.duo-i { flex: 0 0 auto; font-size: 20px; line-height: 1; }
.duo-x { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.duo-x b { font-weight: 650; font-size: 15px; text-wrap: balance; overflow-wrap: break-word; }
.duo-x small { font-size: 12.5px; color: var(--muted); text-wrap: balance; overflow-wrap: break-word; }
.sup-sh, .sup-pl, .sup-ab { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.sup-sh { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
footer .sup-ab { flex-basis: 100%; margin: 6px 0; }
@media (max-width: 480px) {
  .duo { border-radius: 26px; }
  .duo > button, .duo > a { flex-direction: column; gap: 4px; padding: 12px 10px; text-align: center; }
  .duo-x { align-items: center; text-align: center; }
  .duo-i { font-size: 22px; }
  .duo-x b { font-size: 14px; }
}
@media print { .sup-ab { display: none !important; } }

/* ===== v7: werk per partner, perioden en potten ===== */
.wk { display: flex; flex-direction: column; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.wk-h { margin: 0; font-size: 15px; font-weight: 650; color: var(--ink); }
.wk-one { display: flex; flex-direction: column; gap: 14px; }
.wk-tog { align-self: flex-start; }
.wk-per { display: flex; flex-direction: column; gap: 8px; }
.per-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.5fr) 36px; gap: 8px; align-items: center; }
.per-row input { width: 100%; min-width: 0; }
.per-head span { font-size: 12.5px; font-weight: 600; color: var(--ink2); }
.per-x { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink2); cursor: pointer; font-size: 14px; }
.per-x:hover { border-color: var(--copper); color: var(--copper); }
.per-add { align-self: flex-start; }
.pots { margin-top: 16px; padding: 0; }
.pots > summary { display: flex; flex-direction: column; gap: 3px; padding: 16px 20px; cursor: pointer; list-style: none; }
.pots > summary::-webkit-details-marker { display: none; }
.pots-h { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.pots-h::before { content: '+'; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.pots[open] .pots-h::before { content: '−'; }
.pots-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: var(--bg); font-size: 12.5px; font-weight: 700; }
.pots-s { color: var(--ink2); font-size: 14px; padding-left: 34px; }
.pots-in { display: flex; flex-direction: column; gap: 14px; padding: 0 20px 20px; }
.pots-in > .hint { margin: 0; }
#pots-list, #debts-list { display: flex; flex-direction: column; gap: 14px; }
#pots-list:empty, #debts-list:empty { display: none; }
.debts-opb { margin: 0; }
.debt-q { flex: 1 1 100%; font-size: 14px; font-weight: 600; }
.pot { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.pot-top { display: flex; gap: 8px; align-items: center; }
.pot-name { flex: 1 1 auto; min-width: 0; font-weight: 600; }
.pot-segs { display: flex; flex-wrap: wrap; gap: 8px; }
.pot-f { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.pot-f input { min-width: 0; width: 100%; }
.pot-taxh { margin: 0; }
.pot-sum { margin: 0; font-weight: 600; color: var(--accent); }
.pot-sum.muted { color: var(--muted); font-weight: 500; }
.chart .f-pot, .sw.f-pot { fill: var(--butter, #EBCF86); background: var(--butter, #EBCF86); }
.chart .f-lump { fill: var(--accent); }
.flash { animation: flash 1.2s ease-out; }
@keyframes flash { 0% { box-shadow: 0 0 0 3px var(--accent); } 100% { box-shadow: 0 0 0 3px transparent; } }

/* ===== v7: fine-tunen als overzicht ===== */
.in-mode { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; margin: 0 0 14px; }
.in-mode .hint { margin: 0; }
.in-sum { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.in-sum[hidden] { display: none; }
.ins-head h2 { margin: 0 0 4px; }
.ins-head .sub { margin: 0; }
.ins-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px 26px; }
.ins-g { display: flex; flex-direction: column; min-width: 0; }
.ins-g h3 { margin: 0 0 4px; font-size: 12.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--copper); font-weight: 700; }
.ins-i { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 6px; border: 0; border-bottom: 1px dashed var(--line); background: none; font: inherit; color: var(--ink2); text-align: left; cursor: pointer; border-radius: 6px; }
.ins-i:hover { background: var(--surface2); }
.ins-i span { flex: 0 0 auto; font-size: 14px; }
.ins-i b { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 14px; font-weight: 600; color: var(--ink); text-align: right; min-width: 0; overflow-wrap: anywhere; }
.in-all .progress, .in-all .step-k, .in-all #step-prev { display: none; }
.in-all .step + .step { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.in-all .stepper button.done, .in-all .stepper button[aria-current] { background: var(--surface); }
@media print { .in-mode, .in-sum { display: none !important; } }
/* opgeruimd invulblok (v16): alles op één lijn, geen dubbele voortgang */
.page-top { padding-inline: 0; }
#page-input { gap: 14px; }
#page-input .goal-bar { border-left: 1px solid var(--line); background: var(--surface); }
#page-input .goal-bar h2#gb-q { text-wrap: balance; }
#page-input .goal-bar .gb-actions { gap: 4px 14px; }
.in-mode { gap: 8px 14px; margin: 0; }
.in-mode .hint { margin: 0; }
@media (max-width: 560px) {
  .in-mode { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .in-mode .seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: stretch; width: 100%; }
  .in-mode .seg-opt span { text-align: center; padding: 11px 10px; }
}
#page-input .progress { display: none; }
#steps .snel-body { padding-inline: 0; }
#steps .step-head { margin-top: 4px; }
#stepper { margin-top: 2px; }


/* ===== Pro op slot (meetfase) ===== */

html.pro-locked .pro-tag { background: var(--copper); color: #1A120B; opacity: 1; cursor: pointer; }
.pro-tag .pl-lock { display: none; }
html.pro-locked .pro-tag .pl-lock { display: block; }
html.pro-locked .pro-tag .pl-clock { display: none; }

/* hele blokken: kop blijft leesbaar, inhoud vervaagt achter een slot */
html.pro-locked .pl-gated { position: relative; }
html.pro-locked .pl-gated > :not(.panel-head):not(.pl-gate) { filter: blur(5px) saturate(.7); opacity: .55; pointer-events: none; user-select: none; }
html.pro-locked .pl-gated { min-height: 320px; }
.pl-gate { display: none; }
html.pro-locked .pl-gate { display: flex; position: absolute; left: 50%; top: 124px; transform: translateX(-50%); z-index: 3; width: min(88%, 340px); flex-direction: column; align-items: center; gap: 8px; padding: 16px 18px; text-align: center; background: var(--surface); border: 1px solid var(--copper); border-radius: 16px; box-shadow: 0 12px 34px rgba(0,0,0,.35); }
.pl-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--copper); color: #1A120B; }
.pl-ic svg { width: 17px; height: 17px; }
.pl-gate p { margin: 0; color: var(--ink); font: 600 14.5px/1.4 var(--f-body); }
.pl-gate small { color: var(--muted); font-size: 12.5px; }

/* uitgavenverloop: Vlak blijft gratis, Typisch en Sterk dalend zie je wel, maar dragen een slotje */
html.pro-locked .curve-f .seg-opt:not(:first-child) span { opacity: .75; }
html.pro-locked .curve-f .seg-opt:not(:first-child) > span::after { content: ""; position: absolute; top: 4px; right: 5px; width: 11px; height: 11px; background: var(--copper); -webkit-mask: var(--pl-lock) center/contain no-repeat; mask: var(--pl-lock) center/contain no-repeat; }
html.pro-locked .curve-f .seg-opt { position: relative; }

/* losse knoppen: extra pot, per periode, print en samenvatting */
html.pro-locked #pots-box > summary, html.pro-locked #debts-box > summary, html.pro-locked .wk-tog.pl-has, html.pro-locked #sh-print, html.pro-locked #sh-copy { opacity: .8; }

:root { --pl-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='3' y='7' width='10' height='7.5' rx='1.6'/%3E%3Cpath d='M5.3 7V5.2a2.7 2.7 0 0 1 5.4 0V7' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E"); }

/* het Pro-venster */
.pl-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-end; justify-content: center; background: rgba(5,10,8,.62); }
.pl-modal[hidden] { display: none; }
@media (min-width: 600px) { .pl-modal { align-items: center; } }
.pl-sheet { width: min(100%, 440px); max-height: 92vh; overflow: auto; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 22px 22px 0 0; padding: 22px 22px calc(20px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -10px 40px rgba(0,0,0,.4); }
@media (min-width: 600px) { .pl-sheet { border-radius: 22px; } }
.pl-sheet .pl-top { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.pl-sheet h2 { margin: 0; font: 700 21px/1.2 var(--f-display); }
.pl-sheet .pl-why { margin: 10px 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); border-left: 3px solid var(--copper); font: 600 15px/1.45 var(--f-body); }
.pl-sheet ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 7px; }
.pl-sheet li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--ink2); }
.pl-sheet li::before { content: "✓"; color: var(--good); font-weight: 700; }
.pl-sheet li.cur { color: var(--ink); font-weight: 600; }
.pl-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.pl-price b { font: 700 28px/1 var(--f-display); color: var(--accent); }
.pl-price span { color: var(--ink2); font-size: 14px; }
.pl-note { margin: 0 0 14px; color: var(--muted); font-size: 12px; }
.pl-sheet .pl-buy { width: 100%; padding: 13px; border: 0; border-radius: 12px; background: var(--copper); color: #1A120B; font: 700 16px/1 var(--f-body); cursor: pointer; }
.pl-sheet .pl-later { width: 100%; margin-top: 8px; padding: 10px; border: 0; background: none; color: var(--ink2); font: 600 14px var(--f-body); cursor: pointer; }
.pl-sheet .pl-free { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: 12.5px; }
.pl-sheet .pl-done { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--good-bg); color: var(--good); font-size: 13.5px; }

.pl-sheet .pl-wip { margin: 0 0 10px; color: var(--ink2); font-size: 13.5px; line-height: 1.45; }
.pl-sheet .pl-lh { margin: 0 0 6px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pl-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0 6px; }
.pl-prices button { padding: 12px 8px; border: 1px solid var(--copper); border-radius: 12px; background: transparent; color: var(--ink); font: 700 15px/1 var(--f-body); cursor: pointer; }
.pl-prices button:hover, .pl-prices button:focus-visible { background: var(--accent-soft); }
.wk-tip { margin: -6px 0 0; font-size: 12.5px; }
.curve-intro { margin: 2px 0 10px; }
.share-plan { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin: -4px 0 14px; }
.share-plan svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html.is-empty .share-plan { display: none; }
/* ---------- beeldreeks v2: één tafel, één licht ---------- */
:root .hero-art img, :root .pt-art img, :root .modal-hero img, :root .ec-img img { filter: none !important; }
#intro .modal-hero img { object-position: 50% 42%; }
/* welkom: leeftijd als drie knoppen */
.agebox .age-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-self: stretch; width: 100%; }
.agebox .age-seg .seg-opt span { padding: 12px 4px; text-align: center; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.age-note { margin: 2px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--muted); text-align: center; }
/* uitkomst: kansring en buidel */
.status .st-vis { display: flex; align-items: center; justify-content: center; gap: 2px; min-width: 0; }
.status .gauge { width: 206px; max-width: 206px; flex: 0 0 auto; }
.st-pouch { width: 122px; height: auto; flex: 0 0 auto; }
.st-pouch[hidden] { display: none; }
@media (min-width: 1021px) { .status { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); } .status .st-vis { grid-row: span 2; } }
@media (max-width: 1020px) { .status .st-vis { justify-self: center; } .status .gauge { width: 188px; max-width: 188px; } .st-pouch { width: 110px; } }
@media (max-width: 420px) { .status .gauge { width: 172px; max-width: 172px; } .st-pouch { width: 100px; } }
.kring { position: relative; width: 100%; aspect-ratio: 1 / 1; }
.kring .kr-b { position: absolute; width: 14%; height: auto; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .38)); }
.kring .kr-e { position: absolute; width: 11.5%; aspect-ratio: 1 / 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--muted) 75%, transparent); box-sizing: border-box; }
.kring .kr-c { position: absolute; inset: 23%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.kring .kr-c b { font-family: var(--f-display); font-weight: 600; font-size: 36px; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.kring .kr-c span { margin-top: 5px; font-size: 12px; line-height: 1.2; color: var(--muted); }
@media (max-width: 420px) { .kring .kr-c b { font-size: 30px; } }
/* stappenbalk: alleen nummers; het voorwerp staat groot bij de kop van de stap */
.stepper .num { position: relative; width: 34px !important; height: 34px !important; background: var(--surface) !important; border: 1px solid var(--line) !important; color: var(--ink2) !important; box-shadow: none !important; }
.stepper .num i { font: 700 14px/1 var(--f-body); font-style: normal; }
.stepper button[aria-current="step"] .num { background: var(--accent) !important; border-color: var(--accent) !important; color: var(--on-accent, #10231a) !important; box-shadow: 0 0 0 3px var(--accent-soft) !important; }
.stepper button.done .num { background: var(--accent-soft) !important; border-color: transparent !important; color: var(--accent) !important; }
.stepper button.done .num::after { display: none !important; }
.stepper button.done .num i { font-size: 0; }
.stepper button.done .num i::after { content: "\2713"; font-size: 15px; }
/* keuze stap voor stap / alles in één overzicht: kleiner en rustiger, zonder uitleg eronder */
.in-mode .hint { display: none; }
.in-mode .seg-opt span { padding: 7px 14px; font-size: 14px; }
@media (max-width: 720px) { .in-mode .seg-opt span { padding: 8px 10px; } }
.step-head.has-spot { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: center; }
.step-head.has-spot .step-spot { grid-column: 1; grid-row: 1 / span 2; width: 64px; height: 58px; object-fit: contain; }
.step-head.has-spot .step-k, .step-head.has-spot h2 { grid-column: 2; }
.step-head.has-spot .sub { grid-column: 1 / -1; }
/* levensstijl als stapel: 3, 4 en 7 knopen op dezelfde schaal */
.lvl-b .lvl-pic { display: flex; align-items: flex-end; height: 62px; margin-bottom: 2px; }
.lvl-b .lvl-img { display: block; width: auto; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .2)); }
.lvl-b .lvl-img.l1 { height: 30px; } .lvl-b .lvl-img.l2 { height: 42px; } .lvl-b .lvl-img.l3 { height: 60px; }
@media (max-width: 560px) {
  .lvl-b { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: center; }
  .lvl-b .lvl-pic { grid-column: 1; grid-row: 1 / span 3; margin: 0; justify-content: center; }
  .lvl-b > b, .lvl-b .lvl-a, .lvl-b .lvl-e { grid-column: 2; }
}
/* uitgavenverloop: knoopmaat */
.curve-f .seg-opt .curve-img { display: block; width: 92%; max-width: 104px; height: 18px; object-fit: contain; margin: 0 auto 6px; }
html.pro-locked .curve-f .seg-opt:not(:first-child) .curve-img { opacity: .8; }
/* één voorwerp per kaart */
.nlink .nb { width: 60px !important; height: 46px !important; left: 12px !important; }
.nlink .nb img, .panel-head.has-nb .nb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.next-grid .nlink { padding-left: 86px !important; }
.panel-head.has-nb { display: grid !important; grid-template-columns: 64px minmax(0, 1fr) !important; align-items: center; column-gap: 14px; }
.panel-head.has-nb .nb { grid-column: 1 !important; grid-row: 1 / span 2 !important; width: 64px !important; height: 50px !important; align-self: center; }
.panel-head.has-nb > h2, .panel-head.has-nb > .sub { grid-column: 2; }
.about-grid .panel-head.has-nb { margin-bottom: 6px; }
/* Over: het verhaal achter de app, ruimer opgezet */
.about-story { padding: 36px 40px 40px; gap: 18px; }
.about-story > h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.15; letter-spacing: -0.015em; }
.ab-story { display: flex; flex-direction: column; gap: 22px; max-width: 62ch; font-size: 17.5px; line-height: 1.7; color: var(--ink2); }
.ab-story p { margin: 0; }
.ab-story .ab-lead { font-size: 21px; line-height: 1.5; color: var(--ink); }
.ab-story .ab-ifs { display: flex; flex-direction: column; gap: 6px; padding: 2px 0 2px 18px; border-left: 3px solid var(--copper); font-family: var(--f-display); font-size: 19px; line-height: 1.4; color: var(--ink); }
.ab-story .ab-turn { margin: 6px 0; font-family: var(--f-display); font-size: clamp(25px, 3.2vw, 32px); line-height: 1.2; letter-spacing: -0.015em; color: var(--accent); text-wrap: balance; }
.ab-story .ab-close { padding-top: 22px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }
@media (max-width: 760px) {
  .about-story { padding: 24px 20px 28px; }
  .ab-story { gap: 20px; font-size: 17px; }
  .ab-story .ab-lead { font-size: 19.5px; }
  .ab-story .ab-ifs { font-size: 18px; }
}

.pl-ic.pl-ic-img { width: 74px !important; height: 56px !important; background: none !important; border-radius: 0 !important; }
.pl-ic.pl-ic-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.support-card .sup-spot { display: block; width: 78px; height: auto; margin: 0 auto -4px; }
/* scheiding: gestippelde lijn met één knoop */
.kn-sep { display: flex; align-items: center; gap: 12px; margin: 0 6px; align-self: stretch; }
.kn-sep::before, .kn-sep::after { content: ""; flex: 1; height: 0; border-top: 2px dashed color-mix(in srgb, var(--copper) 50%, transparent); }
.kn-sep img { width: 22px; height: 22px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35)); }
html.is-empty .kn-sep.nd { display: none; }
@media print { .kn-sep { display: none !important; } }
/* kladblok: plaatje bij de kop */
.nt-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.nt-spot { flex: 0 0 auto; height: 58px; width: auto; display: block; }
/* onderschrift onder het wiel: alle teksten liggen op elkaar, alleen de gekozen is zichtbaar.
   Zo is de ruimte altijd die van het langste onderschrift (op de telefoon twee regels) en schuift de pagina niet mee met het wiel. */
.slot-sub { display: grid; min-height: 3.1em; min-height: 2lh; }
.slot-sub > span { grid-area: 1 / 1; visibility: hidden; }
.slot-sub > span.on { visibility: visible; }

/* studieschuld (versie 20) */
.sl .pot h4 { margin: 0 0 2px; font-size: 14px; }
.sl-rate { margin: 0; }
.sl-rate > summary { cursor: pointer; color: var(--ink2); font-size: 14px; }
.sl-rate[open] > summary { margin-bottom: 10px; }
.sl-note { margin: 0; color: var(--warn); font-size: 14px; }
.sl-fg { margin: 0; color: var(--ink2); font-size: 14px; }
.sl-pro { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 1px dashed var(--copper); border-radius: 10px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.sl-pro img { width: 34px; height: 34px; object-fit: contain; flex: none; }
.sl-pro > span:not(.pro-tag) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.sl-pro small { color: var(--ink2); font-size: 13px; }
.sl-reset { align-self: flex-start; }
html.band-0 .curve-f, html.band-0 #debts-box, html.band-0 #pots-box, html.band-0 .wk-tog, html.band-0 .wk-tip { display: none !important; }

.pdrop { border: 1px solid var(--line); border-radius: 10px; }
.pdrop > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 12px; min-height: 44px; cursor: pointer; list-style: none; font-weight: 600; font-size: 14px; }
.pdrop > summary::-webkit-details-marker { display: none; }
.pdrop > summary::after { content: ""; width: 8px; height: 8px; margin: 0 4px 4px auto; border-right: 2px solid var(--ink2); border-bottom: 2px solid var(--ink2); transform: rotate(45deg); transition: transform .15s; }
.pdrop[open] > summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.pdrop > summary input { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; flex: none; }
.pdrop .pd-t { flex: 1; }
.pdrop .pd-h { order: 3; flex-basis: 100%; margin: 0 0 0 30px; font-weight: 400; }
.pdrop > .dep { padding: 4px 12px 14px; }

.tdrop { grid-column: 1 / -1; }
.tdrop > .knob { border-top: 0; padding: 0 12px 14px; }
.tdrop .knob-top { display: none; }
.tdrop .pd-h { margin-left: 0; }

.opb-bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--surface2); margin-top: 6px; }
.opb-bar i { display: block; height: 100%; }
.opb-bar .o { background: var(--muted); }
.opb-bar .r { background: var(--good); }
.opb-leg { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.opb-more > summary { cursor: pointer; color: var(--ink2); font-size: 14px; }
.opb-more[open] > summary { margin-bottom: 6px; }
.opb-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 560px) { .opb-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.opb-tiles button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface2); color: var(--ink); font: inherit; cursor: pointer; min-width: 0; }
.opb-tiles button.cur { border: 2px solid var(--accent); background: var(--accent-soft); }
.opb-tiles small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.opb-tiles em { font-style: normal; font-size: 12px; color: var(--ink2); font-weight: 600; margin-top: 3px; text-align: center; }
.opb-tiles b { font-size: 15px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.opb-msg { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; font-size: 15px; line-height: 1.5; }
.opb-msg.yes { background: var(--good-bg); color: var(--good); }
.opb-msg.no { background: var(--warn-bg); color: var(--ink); }
.opb-msg b { font-weight: 700; }
.opb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.opb-chips button { padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.opb-chips button.on { background: var(--good-bg); border-color: var(--good); color: var(--good); font-weight: 600; }
.opb-delta { margin: 2px 0 0; font-size: 14px; color: var(--good); font-weight: 600; min-height: 1.2em; }

.ovt-ok { display: block; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.ovt-ok.ok { color: var(--good); }
.ovt-ok.short { color: var(--warn); }
.opb-pm { font-size: 0.42em; font-weight: 500; color: var(--muted); }
.opb-want { margin: 0; font-size: 15px; font-weight: 600; }
.opb-want.ok { color: var(--good); }
.opb-want.short { color: var(--warn); }
.opb-meter { position: relative; height: 12px; border-radius: 6px; background: var(--surface2); margin-top: 8px; }
.opb-meter .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: var(--good); }
.opb-meter .tick { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--muted); }
.opb-meter .tick.hit { background: var(--ink); }
.opb-meter .want { position: absolute; top: -5px; bottom: -5px; width: 3px; background: var(--warn); border-radius: 2px; }
.opb-lvls { position: relative; height: 17px; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.opb-lvls.two { height: 34px; }
.opb-lvls span { position: absolute; top: 0; white-space: nowrap; transform: translateX(-50%); }
.opb-lvls span.eL { transform: none; }
.opb-lvls span.eR { transform: translateX(-100%); }
.opb-lvls span.row2 { top: 17px; }
.opb-lvls .hit { color: var(--good); font-weight: 600; }
.opb-tiles span { font-size: 12px; color: var(--muted); }

/* Invullen, stap 1 op brede schermen: "Hoe wil je later leven?" over de volle breedte, drie kaarten naast elkaar */
@media (min-width: 561px) {
  #step1-slot .snel-grid #lvl-box { grid-column: 1 / -1; }
  #step1-slot .lvl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #step1-slot .lvl-b { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 12px 14px; }
  #step1-slot .lvl-b .lvl-pic { grid-column: 1; grid-row: 1 / span 3; margin: 0; height: auto; justify-content: center; }
  #step1-slot .lvl-b > b, #step1-slot .lvl-b .lvl-a, #step1-slot .lvl-b .lvl-e { grid-column: 2; min-width: 0; overflow-wrap: break-word; }
  #step1-slot #lvl-hint { max-width: 70ch; }
}
@media (min-width: 760px) { #step1-slot .snel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
#step1-slot .snel-grid .inrow input { flex: 1 1 auto; min-width: 0; }
#step1-slot .snel-grid .inrow .unit { flex: none; white-space: nowrap; }

.opb-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.opb-st { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px 6px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface2); }
.opb-st > span { font-size: 13px; color: var(--muted); font-weight: 600; }
.opb-st-c { display: flex; align-items: center; gap: 4px; flex: none; }
.opb-st-c b { min-width: 76px; text-align: center; }
.opb-st-c b { font-size: 16px; font-variant-numeric: tabular-nums; }
.opb-st-c button { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.opb-st-c button:hover { border-color: var(--accent); }
.mini { gap: 4px 22px; padding-block: 10px; }
.mini .mini-main { font-size: 15px; }
.mini .mini-main b { font-size: 20px; }
.mini small { font-size: 13px; color: var(--muted); }
.mini.st-good { background: var(--good-bg); }
.mini.st-warn { background: var(--warn-bg); }
.mini.st-bad { background: var(--bad-bg, var(--warn-bg)); }

.inl-per { grid-column: 1 / -1; gap: 8px; }
.inl-per .flabel { font-weight: 600; font-size: 14px; }
.inl-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--ink2); }
.inl-row .inl-a { width: 64px; text-align: center; }
.inl-row input[data-money] { width: 120px; }
.inl-per > .btn { align-self: flex-start; }
.inl-pro { display: inline-flex; align-items: center; gap: 6px; }

.age-cap { margin: 4px 0 0; color: var(--warn); }
.age-cap a { color: inherit; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }

/* "Jouw cijfers" op het overzicht is een smalle kolom: de levensstijlkaarten daar onder elkaar, in de compacte rij-vorm */
#ov-quick .lvl { grid-template-columns: minmax(0, 1fr); }
#ov-quick .lvl-b { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: center; }
#ov-quick .lvl-b .lvl-pic { grid-column: 1; grid-row: 1 / span 3; margin: 0; height: auto; justify-content: center; }
#ov-quick .lvl-b > b, #ov-quick .lvl-b .lvl-a, #ov-quick .lvl-b .lvl-e { grid-column: 2; min-width: 0; }

/* in de opbouw geen "per periode"-verfijning bij werk: het van/tot zit al in het bijverdien-vak */
html.is-opb .wk-tog, html.is-opb .wk-tip { display: none !important; }

.lrow.lhead { padding-bottom: 1px; }
.lrow.lhead .lb, .lrow.lhead .lv { font-family: var(--f-body); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; color: var(--muted); white-space: normal; line-height: 1.25; }

.opb-meter.has-want { margin-top: 30px; }
.opb-meter .want { width: 4px; top: -7px; bottom: -4px; transform: translateX(-50%); }
.opb-meter .want-ppl { position: absolute; top: -24px; transform: translateX(-50%); display: inline-flex; gap: 1px; color: var(--warn); line-height: 0; filter: drop-shadow(0 1px 0 var(--bg)); }

.opb-wait .opb-big, .opb-wait .opb-want, .opb-wait .opb-meter, .opb-wait .opb-lvls, .opb-wait .opb-tiles, .opb-wait .opb-msg, .opb-wait .opb-split { opacity: 0.45; transition: opacity 0.15s; }
/* doorstuurkaartje (versie 23): alleen de app doorsturen, de cijfers gaan niet mee */
.tipcard { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 16px; padding: 16px 56px 16px 18px; background: linear-gradient(120deg, var(--surface), color-mix(in srgb, var(--accent-soft) 75%, var(--surface))); border-color: color-mix(in srgb, var(--accent) 28%, var(--line)); }
.tipcard[hidden] { display: none; }
.tc-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.tc-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tc-t { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tc-t h2 { font-size: 17px; }
.tc-t p { margin: 0; color: var(--ink2); font-size: 14.5px; }
.tc-go { white-space: nowrap; }
.tc-x { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font: inherit; font-size: 16px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; }
.tc-x::after { content: ""; position: absolute; inset: -4px; }
.tc-x:hover { background: var(--surface2); color: var(--ink); }
.tc-x:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 560px) {
  .tipcard { grid-template-columns: auto minmax(0, 1fr); padding: 16px; }
  .tc-t { padding-right: 34px; }
  .tc-go { grid-column: 1 / -1; width: 100%; }
}
@media print { .tipcard { display: none !important; } }
/* opstarten: de eerste berekening loopt in de worker; tot die er is blijft alles onder de kop verborgen */
html.is-boot #opb-card, html.is-boot .home-grid { display: none !important; }
/* uitleg achter een ⓘ (versie 23): de ⓘ loopt in de tekstregel mee, direct achter het laatste woord van het label;
   de toelichting gaat open in een kadertje direct onder het label */
.ib-row { display: block; min-width: 0; }
.ib-row > label, .ib-row > .flabel, .ib-row > .t, .ib-row > h2 { display: inline; }
.ib-row.ib-seg { display: flex; align-items: center; gap: 8px; }
.ib-row.ib-seg > .seg { flex: 1 1 auto; }
.ftop > .ib-row, .knob-top > .ib-row { flex: 0 1 auto; }
.ftop > .tag, .knob-top > .tag { flex: none; margin-left: auto; }
.ib { position: relative; display: inline-grid; place-items: center; width: 24px; height: 24px; margin: -3px 0 -3px 3px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--accent); cursor: pointer; vertical-align: middle; }
.ib-seg > .ib { margin: 0; }
.ib::after { content: ""; position: absolute; inset: -10px; }
.ib svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ib:hover, .ib[aria-expanded="true"] { background: var(--accent-soft); }
.ib:focus-visible, .ipop-x:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ipop { position: relative; margin: 4px 0 6px; padding: 12px 42px 12px 14px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); border-radius: 12px; box-shadow: 0 8px 24px rgba(29, 43, 58, 0.12); }
.ipop[hidden] { display: none; }
.ipop .hint { display: block; margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink2); }
.ipop-x { position: absolute; top: 5px; right: 5px; width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font: inherit; font-size: 14px; line-height: 1; cursor: pointer; }
.ipop-x::after { content: ""; position: absolute; inset: -6px; }
.ipop-x:hover { background: var(--surface2); color: var(--ink); }
.fp-lead { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--ink2); }
@media print { .ib, .ipop-x { display: none !important; } }

/* ================= overzicht in vijf delen (ronde 1) =================
   Een kop per deel met een knoop in de eigen kleur, kerncijfers in één kaart */
.ch-head { display: flex; align-items: center; gap: 12px; align-self: stretch; width: 100%; box-sizing: border-box; margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.ch-head.ch-empty { display: none !important; }
.ch-k { flex: none; width: 42px; height: 42px; border-radius: 50%; display: block; }
.ch-t { min-width: 0; }
.ch-head h2 { margin: 2px 0 0; font-size: 23px; line-height: 1.15; text-wrap: balance; }
.ch-s { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.wi-card { padding: 16px 18px; }
.wi-card .wi50 { margin: 0; }
.opb-play .opb-h:first-child { margin-top: 0; }
#kpis.kpis { gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card, 18px); overflow: hidden; grid-template-columns: repeat(2, minmax(0, 1fr)); }
#kpis .kpi { border: 0; border-radius: 0; box-shadow: none; background: var(--surface); }
#kpis .kpi-src { background: var(--surface); padding: 8px 14px; margin: 0; }
@media (min-width: 761px) {
  #kpis[data-n="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #kpis[data-n="6"], #kpis[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.side-sum { display: none; margin: 0; font-size: 14.5px; color: var(--ink2); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .side-card.sc-closed { gap: 4px; padding-block: 12px; }
  .side-card.sc-closed .side-h { font-size: 19px; }
  .side-card.sc-closed .side-sum { display: block; }
  html:not(.is-empty) #page-overview .hero h1 { font-size: 24px; }
  html:not(.is-empty) #page-overview .hero .trust { display: none !important; }
  html:not(.is-empty) #page-overview .hero { gap: 8px; }
}
@media print { .ch-head { break-after: avoid; } }
#ch-5 ~ .next > .more { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#page-input:not(.gb-end) .goal-bar { display: none !important; }
#page-input .goal-bar { margin-top: 18px; }

/* ================= versie 25 ================= */
/* knoppen bij "Speel met je cijfers": op tablet liepen label en plus/min over elkaar; nu breder per knop en het label mag afbreken */
.opb-steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.opb-st { flex-wrap: wrap; min-width: 0; }
.opb-st > span { min-width: 0; flex: 1 1 90px; }
.opb-st-c b { white-space: nowrap; }
.opb-tiles button .opb-med { display: block; font-style: normal; font-size: 12.5px; color: var(--ink2); margin-top: 2px; font-variant-numeric: tabular-nums; }
.disc-line { margin: 2px 4px 0; font-size: 13px; color: var(--muted); }
.disc-line a { color: var(--accent); white-space: nowrap; }
.lvl-own { margin-top: 6px; }
/* tablet (staand, 761 tot 1100 px): de bovenbalk paste niet en liet de pagina zijwaarts schuiven; knoppen daar zonder tekst */
@media (min-width: 761px) and (max-width: 1100px) { .topbar .icon-btn .ib-l { display: none; } .topbar .icon-btn, .topbar .icon-btn.install { padding: 0; width: 40px; min-width: 40px; } }

/* versie 25: voorbeeldplan */
.ex-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 18px; padding: 12px 16px; border: 1.5px dashed color-mix(in srgb, var(--copper) 60%, transparent); border-radius: 16px; background: color-mix(in srgb, var(--copper) 8%, var(--surface)); font-size: 15px; line-height: 1.45; }
.ex-bar[hidden] { display: none; }
.ex-bar .ex-t { flex: 1 1 260px; min-width: 0; }
.ex-bar b { color: var(--copper); }
.ex-bar .btn { flex: 0 0 auto; }
.ex-try { margin: 6px 0 4px; }
.ex-try[hidden], .ov-ex[hidden] { display: none; }
.ov-ex { align-self: flex-start; margin-top: 4px; }
