/* Vind uw plek: quiz + rapport. Bouwt voort op styles.css (NCB-designsysteem:
   Source Serif 4 + Hanken Grotesk, zwart/wit/band, hairlines, geen radius of schaduw).
   Kleur alleen functioneel: --green "past bij u", --red alleen voor fouten en minpunten. */

/* toegankelijkheid: overslaan-link, alleen zichtbaar bij toetsenbordfocus */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--white); padding: 12px 20px;
  font-size: 14px; font-weight: 600; text-decoration: none; }
.skip-link:focus { left: 0; }

/* ---------- landing: fotoband + statement (zelfde patroon als de hoofdsite) ---------- */
.plek-hero { position: relative; min-height: 0; display: block; overflow: visible; }
.plek-hero .hero-bg { position: static; inset: auto; }
.plek-hero::after { display: none; }
.plek-hero .hero-note { font-family: var(--sans); font-size: 11px; letter-spacing: var(--track-s); text-transform: uppercase; color: var(--muted); margin-top: var(--s3); }

.plek-steps { counter-reset: step; }
.plek-steps .numitem { counter-increment: step; }
.plek-preview { background: var(--band); }
.preview-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.preview-grid > div:first-child p { font-family: var(--serif); font-size: 17px; line-height: 1.7; color: var(--ink-soft); max-width: 52ch; margin-top: 16px; }
.report-mock { background: var(--paper); border: 1px solid var(--line); border-radius: 0;
  box-shadow: none; padding: 34px 36px; }
.report-mock .rm-over { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: var(--track-s); text-transform: uppercase; color: var(--muted); }
.report-mock .rm-title { font-family: var(--serif); font-size: 20px; font-weight: 400; margin: 10px 0 20px; }
.rm-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rm-row:last-child { border-bottom: none; }
.rm-row .rm-pct { font-variant-numeric: tabular-nums; font-family: var(--serif); font-weight: 500; font-size: 18px; min-width: 52px; }
.rm-row .rm-name { font-weight: 600; font-size: 14px; }
.rm-row .rm-tag { margin-left: auto; font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 0.8px; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 0; padding: 4px 9px; white-space: nowrap; }

/* ---------- quiz ---------- */
.quiz-shell { display: none; min-height: 100dvh; flex-direction: column; background: var(--paper); }
body.quiz-open .quiz-shell { display: flex; }
body.quiz-open .plek-landing, body.quiz-open footer, body.quiz-open .msticky { display: none; }

.quiz-top { border-bottom: 1px solid var(--line); }
.quiz-top .container { display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: 1120px; padding: 0 24px; }
.quiz-top .wordmark { font-size: 13px; letter-spacing: 2.5px; }
.quiz-quit { font-family: var(--sans); font-size: 11px; letter-spacing: var(--track-s); text-transform: uppercase; color: var(--muted); background: none; border: none; cursor: pointer; padding: 8px 0; }
.quiz-quit:hover { color: var(--ink); }

.quiz-progress { height: 2px; background: var(--line); }
.quiz-progress i { display: block; height: 100%; background: var(--ink); transition: width .45s cubic-bezier(.2,.7,.2,1); }

.quiz-main { flex: 1; display: flex; align-items: center; }
.quiz-main .container { width: 100%; max-width: 860px; padding-top: 40px; padding-bottom: 56px; }
/* Flex in plaats van een float voor de trechter-teller: een float liet de vraagtitel
   eromheen wikkelen ("Nieuw" alleen op regel 1) en overlapte hem op smalle schermen.
   Met flex-wrap zakt de chip op mobiel netjes naar een eigen regel ónder het nummer. */
.q-count { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: var(--track-s); text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.q-count .q-block { color: var(--muted); }
.quiz-main h2.q-title { font-family: var(--serif); font-size: 27px; line-height: 1.35; font-weight: 400;
  margin: 14px 0 8px; max-width: 24em; text-wrap: balance; }
.q-help { color: var(--muted); font-size: 14px; margin-bottom: 30px; max-width: 52ch; }

.q-options { display: grid; gap: 10px; max-width: 620px; }
.q-opt { display: flex; align-items: center; gap: 16px; text-align: left; width: 100%; cursor: pointer;
  background: var(--paper); border: 1px solid var(--line); border-radius: 0; padding: 16px 20px;
  font-family: inherit; color: var(--ink); transition: border-color .15s, background .15s; }
.q-opt:hover { border-color: var(--ink); }
.q-opt:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.q-opt.sel { border-color: var(--ink); background: var(--ink); color: var(--white); }
.q-opt.sel .q-sub { color: rgba(255,255,255,.65); }
.q-opt .q-key { flex: none; width: 26px; height: 26px; border: 1px solid currentColor; opacity: .45; border-radius: 0;
  display: grid; place-items: center; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.q-opt .q-lab { font-size: 15px; font-weight: 600; }
.q-opt .q-sub { font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 1px; }

.q-scale { max-width: 620px; }
.q-scale-ends { display: flex; justify-content: space-between; gap: 24px; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.q-scale-ends span { max-width: 46%; }
.q-scale-ends span:last-child { text-align: right; }
.q-scale-row { display: flex; gap: 8px; }
.q-scale-row button { flex: 1; cursor: pointer; background: var(--paper); border: 1px solid var(--line); border-radius: 0;
  padding: 22px 0; color: var(--muted); font-family: inherit; font-size: 15px; font-weight: 600;
  font-variant-numeric: tabular-nums; transition: border-color .15s, background .15s, color .15s; }
.q-scale-row button:hover { border-color: var(--ink); color: var(--ink); }
.q-scale-row button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.q-scale-row button.sel { border-color: var(--ink); background: var(--ink); color: var(--white); }

.quiz-nav { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.q-back { background: none; border: none; font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: var(--track-s); text-transform: uppercase;
  color: var(--muted); cursor: pointer; padding: 10px 0; }
.q-back:hover { color: var(--ink); }
.q-hintkeys { margin-left: auto; font-size: 12px; color: var(--muted); }
/* Toetsenbord-hints horen niet op een touchscreen. `hover: none` alleen is niet
   genoeg: sommige Android-browsers (o.a. Samsung Internet) melden zich als
   hover-apparaat, dus onder 700px verdwijnen ze sowieso. */
@media (hover: none), (pointer: coarse), (max-width: 700px) { .q-hintkeys, .q-opt .q-key { display: none; } }

/* tussenstop */
.q-inter { max-width: 640px; }
.q-inter .q-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 8px; }
.q-chip { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.8px; text-transform: uppercase; color: var(--ink); background: var(--band);
  border: 1px solid var(--line); border-radius: 0; padding: 8px 14px; }
.q-inter p { color: var(--ink-soft); font-family: var(--serif); font-size: 17px; line-height: 1.7; margin: 14px 0 6px; max-width: 48ch; }
.q-inter p strong { color: var(--ink); font-weight: 600; }
.q-inter .btn { margin-top: 26px; }

.fade-in { animation: plekfade .4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes plekfade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fade-in { animation: none; } .quiz-progress i { transition: none; } }

/* ---------- teaser (resultaat + gate) ---------- */
.teaser .rank-1 { border: 1px solid var(--ink); border-radius: 0; padding: 36px 38px;
  background: var(--paper); box-shadow: none; }
.rank-row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.rank-name { font-family: var(--serif); font-size: 27px; font-weight: 400; line-height: 1.2; }
.rank-zone { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: var(--track-s); text-transform: uppercase; color: var(--muted); margin-top: 6px; }
/* Typografische match-score (verving de donut, 2026-08-31): het statband-idioom
   van de homepage. Groot serif-cijfer, klein caps-label, geen decoratie. */
.match-fig { flex: none; text-align: right; }
.match-fig .mf-num { font-family: var(--serif); font-size: 44px; font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; display: block; }
.match-fig .mf-num sup { font-size: 15px; color: var(--muted); }
.match-fig small { font-family: var(--sans); font-size: 9px; font-weight: 500; letter-spacing: 0.8px; text-transform: uppercase; color: var(--muted); display: block; margin-top: 4px; }
.match-fig.small .mf-num { font-size: 27px; }
.match-fig.small .mf-num sup { font-size: 12px; }

.fit-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.fit-chip { font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 0.8px; text-transform: uppercase; color: var(--green); border: 1px solid var(--green); background: var(--paper); border-radius: 0; padding: 5px 12px; }
.rank-vibe { color: var(--ink-soft); font-family: var(--serif); font-size: 16px; line-height: 1.7; max-width: 58ch; margin-top: 16px; }
.rank-money { font-size: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.rank-money strong { font-variant-numeric: tabular-nums; }

.rank-23 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.rank-sm { border: 1px solid var(--line); border-radius: 0; padding: 24px 26px; background: var(--paper); }
.rank-sm .rank-name { font-size: 20px; }
.rank-sm .rank-vibe { font-size: 14px; }

.locked { margin-top: 64px; }
.locked-list { margin-top: 26px; max-width: 760px; }
.locked-item { display: grid; grid-template-columns: 30px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.locked-item:first-child { border-top: 1px solid var(--line); }
.locked-item .lock { color: var(--muted); padding-top: 2px; }
.locked-item h3 { font-size: 17px; margin-bottom: 4px; }
.locked-item p { color: var(--muted); font-size: 14px; max-width: 60ch; }

/* gate = band-paneel, zoals de cta-band op de hoofdsite */
.gate { margin-top: 40px; background: var(--band); color: var(--ink); border: 1px solid var(--line); border-radius: 0; padding: 44px 48px; }
.gate h3 { font-family: var(--serif); font-size: 25px; font-weight: 400; color: var(--ink); margin-bottom: 8px; }
.gate > p { color: var(--ink-soft); font-family: var(--serif); font-size: 17px; line-height: 1.7; max-width: 58ch; margin-bottom: 26px; }
.gate form { max-width: 520px; }
.gate .field label { color: var(--muted); }
.gate .field input { background: var(--paper); border-color: var(--line); color: var(--ink); }
.gate .field input::placeholder { color: var(--muted); }
.gate .field input:focus { border-color: var(--ink); box-shadow: none; }
.gate .choice span { background: var(--paper); border-color: var(--line); color: var(--ink); }
.gate .choice span:hover { border-color: var(--ink); }
.gate .choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.gate .checkline { background: var(--paper); border-color: var(--line); }
.gate .checkline .t { color: var(--ink); }
.gate .checkline .d { color: var(--muted); }
.gate .checkline input { accent-color: var(--ink); }
.gate .fine { font-size: 12px; color: var(--muted); margin: 14px 0 20px; }
.gate .fine a { color: var(--ink-soft); }
.gate .btn-primary { background: var(--ink); color: var(--white); border-color: var(--ink); }
.gate .btn-primary:hover { background: transparent; color: var(--ink); }
.gate .err { color: var(--red); }
.gate-done { max-width: 560px; }
.gate-done h3 { margin-bottom: 10px; }
.gate-done p { color: var(--ink-soft); font-size: 15px; margin-bottom: 24px; }

/* ---------- rapport ---------- */
.rep-cover { border-bottom: 1px solid var(--line); padding: 96px 0 64px; background: var(--band); }
.rep-cover h1 { max-width: 24em; margin: 18px 0 26px; }
.rep-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.rep-tag { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.8px; text-transform: uppercase; border: 1px solid var(--line); background: var(--paper); border-radius: 0; padding: 7px 13px; }
.rep-cover .lede { color: var(--ink-soft); max-width: 62ch; }
.rep-cover .lede strong { color: var(--ink); font-weight: 600; }

.rep-how { background: var(--paper); border: 1px solid var(--line); border-radius: 0;
  padding: 24px 28px; margin-top: 44px; max-width: 860px; }
.rep-how .overline { margin-bottom: 8px; display: block; }
.rep-how p { font-size: 14px; color: var(--muted); max-width: 76ch; }

.rep-section { padding: 88px 0 0; }
.rep-section:last-of-type { padding-bottom: 96px; }
.rep-section > .container > h2 { max-width: 26em; margin: 14px 0 10px; }
.rep-sub { color: var(--muted); font-size: 15px; max-width: 56ch; }

.weightbars { max-width: 720px; margin-top: 36px; }
.wbar { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.wbar .wl { font-size: 14px; font-weight: 600; }
.wbar .wt { height: 4px; border-radius: 0; background: var(--band); overflow: hidden; }
.wbar .wf { display: block; height: 100%; border-radius: 0; background: var(--ink); }

.ranklist { margin-top: 40px; }
.rankline { display: flex; align-items: center; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rankline:first-child { border-top: 1px solid var(--ink); }
.rankline .no { font-size: 13px; font-weight: 600; color: var(--muted); min-width: 30px; font-variant-numeric: tabular-nums; }
.rankline .nm { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.rankline .zn { font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 0.8px; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.rankline .pct { margin-left: auto; font-family: var(--serif); font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rankline .pct small { font-size: 11px; color: var(--muted); font-weight: 500; }
.rankline.dim .nm, .rankline.dim .pct { color: var(--muted); }

.dossier { border: 1px solid var(--line); border-radius: 0; background: var(--paper);
  box-shadow: none; padding: 44px 48px; margin-top: 44px; }
.dossier-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 8px; }
.dossier-head h3 { font-family: var(--serif); font-size: 27px; font-weight: 400; line-height: 1.2; }
.dossier .facts { display: flex; gap: 28px; flex-wrap: wrap; margin: 20px 0 6px; padding: 16px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.dossier .fact b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 500; font-variant-numeric: tabular-nums; }
.dossier .fact span { font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 0.8px; text-transform: uppercase; color: var(--muted); }
.dossier .vibe { font-family: var(--serif); font-size: 17px; line-height: 1.7; margin: 18px 0 4px; max-width: 66ch; }
.dossier .who { font-size: 14px; color: var(--muted); max-width: 66ch; }

.d-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; margin-top: 30px; }
.d-block { padding: 18px 0; border-top: 1px solid var(--line); }
.d-block.full { grid-column: 1 / -1; }
.d-block h4 { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: var(--track-s); text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.d-block p { font-size: 14px; color: var(--ink); max-width: 70ch; }
.d-block p.mut { color: var(--muted); }
.d-block ul { list-style: none; display: grid; gap: 9px; }
.d-block li { font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.d-block li::before { content: "·"; font-weight: 700; }
.d-block li.why::before { content: "✓"; color: var(--green); font-size: 13px; padding-top: 1px; }
.d-block li.trade::before { content: "→"; color: var(--red); font-size: 13px; padding-top: 1px; }
/* harde faalpunten: de koper gaf dit zelf als eis op, dus zwaarder aangezet */
.d-block li.trade.hard { color: var(--ink); font-weight: 500; }
.d-block li.trade.hard::before { content: "✕"; }
.d-block .kvrow { display: grid; grid-template-columns: 150px 1fr; gap: 12px; font-size: 14px; padding: 5px 0; }
.d-block .kvrow .k { color: var(--muted); font-weight: 600; }
.beach-type { font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 0; padding: 2px 7px; color: var(--muted); flex: none; margin-top: 2px; }
.watch { background: var(--band); border: 1px solid var(--line); border-left: 3px solid var(--ink);
  border-radius: 0; padding: 16px 20px; margin-top: 8px; }
.watch .wl { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: var(--track-s); text-transform: uppercase; color: var(--ink); display: block; margin-bottom: 6px; }
.watch p { font-size: 14px; color: var(--ink); max-width: 74ch; }
.d-src { font-size: 12px; color: var(--muted); margin-top: 22px; }
.d-src a { color: var(--muted); }

.cmp-wrap { overflow-x: auto; margin-top: 36px; }
.cmp { border-collapse: collapse; width: 100%; min-width: 640px; }
.cmp th, .cmp td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.cmp thead th { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.8px; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); }
.cmp td.dots { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cmp .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--line); margin-right: 4px; }
.cmp .dot.on { background: var(--ink); }
.cmp .rownm { font-weight: 600; }
.cmp .rowpct { font-weight: 600; font-variant-numeric: tabular-nums; }

.rest-list { margin-top: 36px; max-width: 860px; }
.rest-item { display: grid; grid-template-columns: 44px 190px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.rest-item .pct { font-weight: 600; font-variant-numeric: tabular-nums; font-size: 14px; color: var(--muted); }
.rest-item .nm { font-weight: 600; font-size: 14px; }
.rest-item .why { font-size: 14px; color: var(--muted); }

.next-steps { margin-top: 40px; max-width: 800px; }
.next-step { display: grid; grid-template-columns: 40px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.next-step:first-child { border-top: 1px solid var(--line); }
.next-step .n { font-family: var(--serif); font-size: 18px; color: var(--muted); padding-top: 0; font-variant-numeric: tabular-nums; }
.next-step h3 { margin-bottom: 6px; font-size: 18px; }
.next-step p { color: var(--muted); font-size: 14px; max-width: 62ch; }

.rep-cta { margin-top: 40px; background: var(--band); color: var(--ink); border: 1px solid var(--line); border-radius: 0; padding: 52px 56px; }
.rep-cta h2 { color: var(--ink); font-family: var(--serif); font-size: 25px; max-width: 24em; }
.rep-cta p { color: var(--ink-soft); font-family: var(--serif); font-size: 17px; line-height: 1.7; max-width: 58ch; margin: 16px 0 30px; }
.rep-cta .cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.rep-cta .sig { margin-top: 34px; font-size: 15px; font-weight: 600; }
.rep-cta .sig small { display: block; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: var(--track-s); text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.rep-foot { padding: 48px 0 72px; }
.rep-foot p { font-size: 12px; color: var(--muted); max-width: 80ch; line-height: 1.7; }

.rep-404 { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 24px; }
.rep-404 h1 { font-size: 27px; margin-bottom: 14px; }
.rep-404 p { color: var(--muted); margin-bottom: 28px; }

/* skeleton tijdens laden van het rapport */
.skel { padding: 140px 0; }
.skel .bar { height: 16px; border-radius: 0; background: var(--band); margin-bottom: 14px; animation: skelpulse 1.2s ease-in-out infinite; }
.skel .bar.w60 { width: 60%; } .skel .bar.w40 { width: 40%; } .skel .bar.w80 { width: 80%; }
@keyframes skelpulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .preview-grid { grid-template-columns: 1fr; gap: 36px; }
  /* Grid-blowout-stop: een 1fr-track zakt nooit onder de min-content van zijn
     kinderen. De rapport-mock (nowrap-tags + 36px padding) had een min-content
     van ±356px en duwde op Samsung-breedte (360px) de hele sectie én de tekst
     ernaast buiten beeld. min-width: 0 laat de kolommen echt krimpen. */
  .preview-grid > *, .d-grid > *, .rank-row > * { min-width: 0; }
  .gate, .rep-cta { padding: 32px 26px; }
  .dossier { padding: 28px 22px; }
  .d-grid { grid-template-columns: 1fr; gap: 4px; }
  .rank-23 { grid-template-columns: 1fr; }
  .wbar { grid-template-columns: 1fr; gap: 8px; }
  .rest-item { grid-template-columns: 44px 1fr; }
  .rest-item .why { grid-column: 1 / -1; padding-left: 60px; }
  .rep-cover { padding: 64px 0 48px; }
  .rep-section { padding: 60px 0 0; }
  /* Op een telefoon niet verticaal centreren: een korte vraag hing halverwege het
     scherm met een gapend gat onder de voortgangsbalk. Bovenaan beginnen leest
     als één geheel met de balk en laat lange vragen zonder springen doorgroeien. */
  .quiz-main { align-items: flex-start; }
  .quiz-main .container { padding-top: 24px; }
}
@media (max-width: 560px) {
  .rest-item .why { padding-left: 0; }
  .dossier-head { flex-direction: column-reverse; gap: 14px; }
  /* De rapport-mock ademt smaller en zijn rijen mogen wikkelen: de nowrap-tag
     zakt dan als geheel naar een tweede regel in plaats van de kaart op te rekken. */
  .report-mock { padding: 22px 18px; }
  .rm-row { flex-wrap: wrap; row-gap: 4px; }
  .rm-row .rm-name { min-width: 0; }
}

/* multi-select vragen */
.q-multi .q-opt.sel .q-key { opacity: 1; }
.q-multi { grid-template-columns: 1fr 1fr; display: grid; }
@media (max-width: 640px) { .q-multi { grid-template-columns: 1fr; } }

/* ---------- print (rapport als PDF bewaren) ---------- */
@media print {
  .topbar, .rep-cta .cta-row, .msticky { display: none !important; }
  .rep-cover { padding: 20px 0 30px; }
  .rep-section { padding: 30px 0 0; }
  .dossier { box-shadow: none; break-inside: avoid; padding: 24px; }
  .rankline, .rest-item, .next-step { break-inside: avoid; }
  body { font-size: 13px; }
}

/* ---------- rapport: deelrij en vaste contactknop ---------- */
.share-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.share-row .lbl { font-size: 13px; color: var(--muted); width: 100%; }
.rep-sticky { position: fixed; right: 18px; bottom: 18px; z-index: 50; }
@media (max-width: 640px) { .rep-sticky { right: 10px; bottom: 10px; } }

/* ---------- rapport: printweergave ---------- */
@media print {
  .topbar, .rep-sticky, .share-row, .rep-cta .cta-row, .consent-bar { display: none !important; }
  body { background: #fff; }
  .rep-cover, .rep-cta, .pact { background: #fff !important; color: #000 !important; }
  .rep-cover *, .rep-cta * { color: #000 !important; }
  .dossier, .rep-section { break-inside: avoid-page; }
  .ranklist .rankline { break-inside: avoid; }
}

/* Bronkwaliteit in het dossier (F09): welke klasse een bron heeft, en hoe zwaar het
   dossier als geheel weegt. Bewust rustig vormgegeven: het is een nuance, geen alarm. */
.src-tag { margin-left: 5px; font-size: 10px; letter-spacing: .4px; text-transform: uppercase;
  padding: 1px 6px; border-radius: 0; border: 1px solid currentColor; opacity: .75; white-space: nowrap; }
.src-primair { color: #2F6B46; }
.src-portaal { color: #7a5a20; }
.src-media   { color: #4a5568; }
.src-overig  { color: #666460; }
.d-srcq { margin-top: 6px; font-style: italic; }
.src-q-goed  { color: #2F6B46; }
.src-q-matig { color: #7a5a20; }
.src-q-dun   { color: #8A3A2A; }

/* Zekerheid bij de percentages (F18). Rustig bij een compleet profiel, opvallender naarmate
   er minder is ingevuld, want precies dan is de uitslag het makkelijkst verkeerd te lezen. */
.conf { font-size: 13px; line-height: 1.5; margin: 10px 0 0; max-width: 62ch; }
.conf-hoog { color: var(--muted); }
.conf-midden { color: #7a5a20; }
.conf-laag { color: #8A3A2A; font-weight: 500; }
.rep-cover .conf { color: var(--ink-soft); }
.rep-cover .conf-laag { color: #8A3A2A; }

/* ---------- v5: fotovragen, trechter-teller, persona-reveal, vergrendelde ranks ---------- */

/* Trechter-teller naast het vraagnummer: voelbaar dat elk antwoord meerekent. */
.q-inview { float: right; font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 0.8px;
  color: var(--green); border: 1px solid var(--green); background: var(--paper); border-radius: 0; padding: 4px 10px;
  text-transform: uppercase; }

/* Fotovragen: beeldkaarten met dezelfde radiogroup-semantiek als tekstopties. */
.q-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.q-photo { display: flex; flex-direction: column; text-align: left; padding: 0; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: 0;
  cursor: pointer; font-family: inherit; transition: border-color .15s; }
.q-photo:hover { border-color: var(--ink); }
.q-photo.sel { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
.q-photo-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.q-photo-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.q-photo-lab { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px 15px; }
.q-photo-lab .q-lab { font-weight: 600; font-size: 14px; }
.q-photo-lab .q-sub { color: var(--muted); font-size: 13px; margin-top: 2px; }
@media (max-width: 640px) {
  .q-photos { grid-template-columns: 1fr 1fr; gap: 10px; }
  .q-photo-lab { padding: 10px 12px 12px; gap: 8px; }
  .q-photo-lab .q-lab { font-size: 13px; }
  .q-photo-lab .q-sub { display: none; }
}

/* Persona-reveal: de gratis wow. Rustig, editorial, geen confetti. */
.reveal { animation: reveal-in .5s ease both; }
@keyframes reveal-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.persona-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; margin-top: 18px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 0;
  overflow: hidden; box-shadow: none; }
.persona-img { min-height: 320px; background: var(--photo); }
.persona-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.persona-body { padding: 34px 36px 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.persona-name { font-family: var(--serif); font-size: 27px; line-height: 1.2; font-weight: 400; margin: 2px 0 0; }
.persona-tagline { font-family: var(--serif); font-size: 17px; color: var(--ink); font-weight: 500; margin: 0; }
.persona-desc { color: var(--ink-soft); font-family: var(--serif); font-size: 16px; line-height: 1.7; margin: 0; max-width: 52ch; }
.persona-blend { width: 100%; max-width: 420px; }
.pb-bar { display: block; height: 4px; border-radius: 0; background: var(--line); overflow: hidden; }
.pb-bar i { display: block; height: 100%; background: var(--ink); border-radius: 0;
  animation: pb-grow .9s .2s cubic-bezier(.2,.7,.2,1) both; }
@keyframes pb-grow { from { width: 0 !important; } }
.pb-lab { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }
.persona-traits { display: flex; flex-wrap: wrap; gap: 8px; }
.persona-body .btn { margin-top: 10px; }
@media (max-width: 760px) {
  .persona-card { grid-template-columns: 1fr; }
  .persona-img { min-height: 0; aspect-ratio: 5 / 4; }
  .persona-body { padding: 24px 22px 26px; }
}

/* Dorpen 2 en 3 achter de gate: naam vervaagd, regio en score zichtbaar. */
.rank-locked .rank-blur { filter: blur(7px); user-select: none; pointer-events: none; opacity: .8; }
.rank-locked .mut { color: var(--muted); font-size: 13px; }

/* Persona-blok en advies in het rapport. */
.rep-persona { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 0;
  padding: 20px 24px; margin: 26px 0 0; }
.rep-persona img { width: 96px; height: 112px; object-fit: cover; border-radius: 0; display: block; }
.rep-persona .rp-name { font-family: var(--serif); font-size: 20px; font-weight: 400; margin: 2px 0 4px; }
.rep-persona .rp-tag { color: var(--muted); font-size: 14px; margin: 0; }
.rep-persona .pb-lab { margin-top: 6px; }
@media (max-width: 560px) { .rep-persona { grid-template-columns: 72px 1fr; } .rep-persona img { width: 72px; height: 88px; } }

.advice { background: var(--paper); border: 1px solid var(--line); border-radius: 0;
  padding: 34px 36px; box-shadow: none; }
.advice p { font-family: var(--serif); font-size: 17px; line-height: 1.7; margin: 0 0 16px; max-width: 68ch; }
.advice p:last-child { margin-bottom: 0; }
.advice-note { margin-top: 14px; font-size: 13px; color: var(--muted); max-width: 68ch; line-height: 1.55; }
.advice-pending { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.advice-pending .spin { width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--ink);
  border-radius: 50%; animation: adv-spin 1s linear infinite; flex: none; }
@keyframes adv-spin { to { transform: rotate(360deg); } }
@media (max-width: 560px) { .advice { padding: 24px 20px; } }
