/* ============================================================================
   antwerp-house-agent — "Refined Instrument" report design system
   ----------------------------------------------------------------------------
   Quiet, precise, hairline-driven. One ink accent + signal red/amber/green.
   Schibsted Grotesk for text, JetBrains Mono (tabular) for every figure.
   No shadows, no side-tab borders, no glows, no bounce — passes the slop audit.
   ========================================================================== */

:root {
  /* canvas + surface */
  --paper:        #F5F5F1;   /* warm-neutral off-white */
  --surface:      #FFFFFF;
  --surface-2:    #FBFBF8;
  --line:         #E5E4DD;   /* hairline */
  --line-2:       #D7D6CD;   /* stronger hairline */

  /* ink */
  --ink:          #17181C;   /* near-black cool slate */
  --ink-2:        #41454E;
  --muted:        #54585f;   /* WCAG-AA on paper (≈6:1) */
  --faint:        #696d75;   /* WCAG-AA on paper (≈4.8:1) */

  /* signal accents (desaturated, instrument-grade) */
  --red:          #B5382B;   --red-2:   #8f2c22;  --red-soft:   #F8EAE8;
  --amber:        #9C6A12;   --amber-2: #7d5510;  --amber-soft: #F7F0E1;
  --green:        #2C7355;   --green-2: #225a43;  --green-soft: #E8F1EC;
  --accent:       #1E3A5F;   /* the single ink-blue: links / active */
  --accent-soft:  #ECF0F5;

  /* type */
  --sans: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius:    11px;
  --radius-sm: 7px;
  --maxw:      860px;
  --ease:      cubic-bezier(.22, .61, .36, 1);
}

/* ── reset / base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.58;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 2.25rem 1.25rem 4.5rem; }

/* ── breadcrumb / topbar ────────────────────────────────────────────────── */
.crumb {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.75rem;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted);
}
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--accent); }
.crumb__id { color: var(--ink); }
/* ── section scaffolding ────────────────────────────────────────────────── */
.section { margin-top: 2.4rem; }
.section__head {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1rem;
}
.section__head h2 {
  margin: 0; font-size: .76rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.section__head::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.section__count {
  font-family: var(--mono); font-size: .78rem; color: var(--faint);
  letter-spacing: .02em;
}

.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.5rem;
}

/* ── header / hero ──────────────────────────────────────────────────────── */
.hero { }
.hero__addr {
  margin: 0; font-size: 1.95rem; font-weight: 600; line-height: 1.12;
  letter-spacing: -.018em; color: var(--ink); max-width: 24ch;
}
.hero__city { margin: .35rem 0 0; color: var(--muted); font-size: 1rem; }
.hero__delisted {
  margin: 0 0 12px;
  padding: 8px 12px;
  border: 1px solid rgba(214, 158, 46, 0.5);
  border-radius: 6px;
  background: rgba(214, 158, 46, 0.12);
  color: #ecc94b;
  font-size: 0.85rem;
}
.hero__src {
  margin: .65rem 0 0; font-size: .85rem;
}
.hero__src a::after { content: " \2197"; font-family: var(--mono); }

.facts {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .9rem;
  margin: 1.15rem 0 0; padding: 0; list-style: none;
}
.facts li { display: flex; align-items: baseline; gap: .45rem; }
.facts li + li::before {
  content: ""; align-self: center; width: 3px; height: 3px; border-radius: 50%;
  background: var(--line-2); margin-right: .9rem;
}
.facts .k { font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); }
.facts .v { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: .95rem; color: var(--ink-2); font-weight: 500; }
.facts .v--price { font-size: 1.15rem; font-weight: 700; color: var(--ink); }

/* ── trust meter (the hero instrument) ──────────────────────────────────── */
.trust__top {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  margin-bottom: .6rem;
}
.trust__label {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted);
  font-weight: 600;
}
.trust__score {
  font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: 2.1rem; font-weight: 700; line-height: 1; letter-spacing: -.02em;
}
.trust__score small { font-size: .95rem; color: var(--faint); font-weight: 500; }
/* shared explanatory content BELOW both score cards (full width) */
.hero__verdict { margin: 1.1rem 0 0; color: var(--ink-2); font-size: .95rem; max-width: 60ch; }
.hero__legend { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }

.meter {
  position: relative; height: 12px; border-radius: 999px;
  background: var(--line);
}
.meter__fill {
  position: absolute; inset: 0 auto 0 0; width: 0;
  border-radius: 999px;   /* own radius -> no parent clip needed (pill fill) */
  animation: meter-grow 1.05s var(--ease) .15s forwards;
}
@keyframes meter-grow { to { width: var(--w, 0%); } }

/* threshold ticks at the band boundaries (40 / 70) */
.meter__tick {
  position: absolute; top: -3px; bottom: -3px; width: 1px;
  background: var(--paper);
}

.trust__band {
  margin-top: .7rem; display: flex; align-items: center; gap: .55rem;
  font-weight: 600; font-size: 1.02rem;
}
.trust__dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.trust__verdict { margin: .55rem 0 0; color: var(--ink-2); font-size: .95rem; max-width: 60ch; }
.trust__meta {
  margin: 1.05rem 0 0; font-family: var(--mono); font-size: .78rem;
  color: var(--faint); letter-spacing: .01em;
}

/* band legend */
.bands { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.bands span { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--muted); }
.bands i { width: 8px; height: 8px; border-radius: 2px; flex: none; }

/* band colour helpers (shared by meter, dots, legend, /matches) */
.c-red   { color: var(--red); }    .bg-red   { background: var(--red); }
.c-amber { color: var(--amber); }  .bg-amber { background: var(--amber); }
.c-green { color: var(--green); }  .bg-green { background: var(--green); }
/* 'onvoldoende gegevens' — neutral slate, deliberately not a score colour */
.c-slate { color: var(--muted); }  .bg-slate { background: var(--faint); }

/* ── fact list (Buurt / Energie compact rows, Plan 4 T3) ──────────────────── */
.factlist { margin: 1.1rem 0 0; padding: 0; display: flex; flex-direction: column; }
.factlist__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .55rem 0; border-top: 1px solid var(--line);
}
.factlist__row:first-child { border-top: 0; }
.factlist dt { font-size: .86rem; color: var(--muted); }
.factlist dd {
  margin: 0; font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: .9rem; font-weight: 600; text-align: right;
}
/* Overzicht boven de controles: het cijfer draagt zelf het oordeel
   (feedback 2026-07-27 — "groen voor goed en rood voor slecht"). In deze
   strip is 'gemiddeld' amber en niet grijs: grijs las als "geen mening",
   terwijl het wel degelijk een oordeel is. Alleen HIER; in een uitgeklapte
   controle blijft grijs correct. */
.factlist dd.g-neutral { color: var(--amber); }
.factlist dd.g-unknown { color: var(--faint); font-weight: 400; }

.factlist__note {
  display: block; font-family: var(--sans); font-weight: 400; font-size: .78rem;
  color: var(--faint); margin-top: .2rem; max-width: 40ch;
}

/* ── mini-map ───────────────────────────────────────────────────────────── */
.minimap {
  height: 280px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface-2);
  font-family: var(--mono); font-size: .78rem; color: var(--muted);
}
.minimap--empty { display: grid; place-items: center; text-align: center; }
.leaflet-container { font-family: var(--sans); }

/* ── broker-challenge ───────────────────────────────────────────────────── */
.claims { display: flex; flex-direction: column; gap: .1rem; }
.claim {
  display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem;
  padding: 1rem 0; border-top: 1px solid var(--line);
}
.claim:first-child { border-top: 0; }
.claim__verbatim { font-size: 1rem; color: var(--ink); font-weight: 500; max-width: 60ch; }
.claim__rationale { grid-column: 1 / -1; color: var(--ink-2); font-size: .92rem; max-width: 60ch; }
.claim__refs { grid-column: 1 / -1; }

.verdict {
  display: inline-flex; align-items: center; gap: .35rem; align-self: start;
  white-space: nowrap; font-size: .76rem; font-weight: 600; letter-spacing: .01em;
  padding: .28rem .6rem; border-radius: 999px;
}
.verdict--contradicted { color: var(--red-2);   background: var(--red-soft); }
.verdict--unverifiable { color: var(--amber-2); background: var(--amber-soft); }
.verdict--supported    { color: var(--green-2); background: var(--green-soft); }

.refs { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .3rem; }
.ref {
  font-family: var(--mono); font-size: .76rem; color: var(--muted);
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 4px; padding: .08rem .4rem;
}

/* ── checks accordion ───────────────────────────────────────────────────── */
.bundle { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .7rem; background: var(--surface); overflow: hidden; }
.bundle > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; gap: .75rem;
  padding: .95rem 1.25rem; font-weight: 600;
}
.bundle > summary::-webkit-details-marker { display: none; }
.bundle > summary::after {
  content: "\203A"; margin-left: auto; color: var(--faint);
  font-family: var(--mono); transition: transform .25s var(--ease);
}
.bundle[open] > summary::after { transform: rotate(90deg); }
.bundle > summary:hover { background: var(--surface-2); }
.bundle__name { font-size: .95rem; }
.bundle__tally { font-family: var(--mono); font-size: .78rem; color: var(--muted); letter-spacing: .01em; font-weight: 500; }

.checks { border-top: 1px solid var(--line); }
.check { border-top: 1px solid var(--line); }
.check:first-child { border-top: 0; }
.check > summary {
  display: grid; grid-template-columns: 22px 1fr auto 16px; gap: .15rem .85rem;
  align-items: start; padding: .85rem 1.25rem; cursor: pointer; list-style: none;
}
.check > summary::-webkit-details-marker { display: none; }
.check__glyph {
  font-family: var(--mono); font-weight: 700; font-size: .95rem;
  text-align: center; line-height: 1.5;
}
.g-good { color: var(--green); } .g-concern { color: var(--red); }
.g-neutral { color: var(--muted); } .g-unknown { color: var(--faint); }
/* min-width:0 — a grid item defaults to min-content width, so a long
   unbreakable value in the sibling `auto` track pushes the row past the
   container instead of letting the title shrink. */
.check__title { font-weight: 600; font-size: .95rem; min-width: 0; }
.check__chevron {
  font-family: var(--mono); color: var(--faint); justify-self: end;
  transition: transform .25s var(--ease);
}
.check[open] .check__chevron { transform: rotate(90deg); }
.check__val { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 500; font-size: .9rem; margin: 0; max-width: 60ch; }
.check__body { padding: 0 1.25rem 1rem 1.25rem; display: flex; flex-direction: column; gap: .55rem; }
.check__summary { color: var(--muted); font-size: .88rem; max-width: 60ch; margin: 0; }
.check__conclusie { color: var(--ink-2); font-weight: 600; font-size: .9rem; max-width: 60ch; margin: 0; }
.ruleparts { display: flex; flex-direction: column; gap: .5rem; max-width: 60ch; }
.rulepart__label { color: var(--muted); font-weight: 600; font-size: .8rem; margin: 0; }
.rulepart__text { color: var(--faint); font-size: .78rem; margin: .15rem 0 0; }
.rulepart__values { list-style: none; margin: .2rem 0 0; padding: 0; font-size: .78rem; color: var(--ink-2); }
.rulepart__values li { margin: .1rem 0; }
.rulepart__bron { color: var(--faint); font-size: .72rem; }
.methode { max-width: 60ch; }
.methode > summary { cursor: pointer; list-style: none; color: var(--faint); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.methode > summary::-webkit-details-marker { display: none; }
.methode p { color: var(--faint); font-size: .78rem; margin: .35rem 0 0; }
.evtable { border-collapse: collapse; font-size: .82rem; width: 100%; max-width: 60ch; }
.evtable th, .evtable td { text-align: left; padding: .3rem .6rem .3rem 0; }
.evtable thead th { color: var(--faint); font-weight: 600; text-transform: uppercase; font-size: .7rem; letter-spacing: .05em; border-bottom: 1px solid var(--line); }
.evtable tbody td { border-top: 1px solid var(--line); }
.evtable tbody td:first-child { font-family: var(--mono); color: var(--ink-2); }
.evtable tbody td:last-child { font-family: var(--mono); color: var(--muted); font-size: .78rem; }
.evref { color: var(--faint); font-size: .72rem; margin-left: .3rem; }
/* Fix (report-rubrics-clarity, T3): the collapsed row now renders the
   server-shortened `row_value` (report_view.py `_shorten_row_value`, cut at
   a ` · ` boundary, ROW_VALUE_MAX=48 chars) instead of the full merged
   value — the FULL value still shows in the expanded body (`.check__val`).
   `.conf`'s `max-width` below is the CSS backstop for the one case
   `row_value` cannot shorten safely: a single unbroken segment with no
   ` · ` boundary, which passes through unchanged and could still overflow. */
.conf { font-family: var(--mono); font-size: .8rem; letter-spacing: .01em; color: var(--muted); white-space: normal; overflow-wrap: anywhere; text-align: right; max-width: 20ch; }
.check__conf { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); margin: .5rem 0 0; }

/* ── transparantie table (per-bron status, Plan 4 T3) ──────────────────────── */
.transtable { border-collapse: collapse; font-size: .85rem; width: 100%; max-width: 60ch; margin: 0 0 1rem; }
.transtable th, .transtable td { text-align: left; padding: .4rem .8rem .4rem 0; }
.transtable thead th { color: var(--faint); font-weight: 600; text-transform: uppercase; font-size: .7rem; letter-spacing: .05em; border-bottom: 1px solid var(--line); }
.transtable tbody td { border-top: 1px solid var(--line); }
.transtable tbody td:last-child { font-family: var(--mono); color: var(--muted); font-size: .78rem; }

/* ── v4 prijsblok: bronvergelijking + Statbel-jaarreeks ────────────────────── */
.bronvgl tbody th { text-align: left; font-weight: 600; color: var(--muted); padding: .4rem 1rem .4rem 0; border-top: 1px solid var(--line); white-space: nowrap; }
.bronvgl tbody td:last-child { font-family: inherit; color: inherit; font-size: inherit; }
.reeks { margin: 0 0 1rem; }
.reeks__spark { width: 100%; max-width: 60ch; height: 46px; display: block; }
.reeks__spark polyline { fill: none; stroke: var(--accent, #1E3A5F); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.reeks__points { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin: .5rem 0 .3rem; padding: 0; max-width: 60ch; }
.reeks__points li { display: flex; gap: .35rem; align-items: baseline; font-size: .78rem; }
.reeks__year { font-family: var(--mono); color: var(--faint); }
.reeks__val { font-family: var(--mono); color: var(--muted); }

/* ── OV-rekenhulp (v4) ─────────────────────────────────────────────────────── */
.ovtool { margin: 1rem 0 0; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 8px; max-width: 46ch; }
.ovtool__label { display: block; font-size: .78rem; color: var(--muted); margin: 0 0 .35rem; }
.ovtool__input { width: 100%; padding: .45rem .6rem; font-family: var(--mono); font-size: .9rem; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: inherit; }
.ovtool__out { font-family: var(--mono); font-size: .9rem; margin: .6rem 0 0; }

/* ── photos ─────────────────────────────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .8rem; margin: 0; }
.gallery figure { margin: 0; }
.gallery img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface-2);
}
.gallery figcaption { margin-top: .4rem; color: var(--muted); font-size: .78rem; line-height: 1.4; }

/* ── questions ──────────────────────────────────────────────────────────── */
.questions { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.questions li {
  position: relative; padding: .8rem 0 .8rem 2.1rem; border-top: 1px solid var(--line);
  color: var(--ink-2); max-width: 60ch;
}
.questions li:first-child { border-top: 0; }
.questions li::before {
  counter-increment: q; content: counter(q, decimal-leading-zero);
  position: absolute; left: 0; top: .85rem;
  font-family: var(--mono); font-size: .78rem; color: var(--accent); font-weight: 600;
}

/* ── raw evidence ───────────────────────────────────────────────────────── */
.raw { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.raw > summary {
  list-style: none; cursor: pointer; padding: .9rem 1.25rem; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600;
}
.raw > summary::-webkit-details-marker { display: none; }
.raw > summary::before { content: "\002B  "; font-family: var(--mono); color: var(--faint); }
.raw[open] > summary::before { content: "\2212  "; }
.raw pre {
  margin: 0; padding: 1rem 1.25rem; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: .78rem; line-height: 1.6; color: var(--ink-2);
  white-space: pre-wrap; word-break: break-word; max-height: 460px; overflow: auto;
  background: var(--surface-2);
}

/* ── empty states ───────────────────────────────────────────────────────── */
.empty {
  border: 1px dashed var(--line-2); border-radius: var(--radius);
  padding: 1.5rem; text-align: center; color: var(--muted); font-size: .9rem;
  background: var(--surface-2);
}
.empty b { display: block; color: var(--ink-2); font-weight: 600; margin-bottom: .2rem; }
.empty .hint { font-size: .78rem; color: var(--faint); margin-top: .25rem; }

/* ── footer / back ──────────────────────────────────────────────────────── */
.foot { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .85rem; }
.foot a::before { content: "\2190  "; font-family: var(--mono); }

/* status pill (report-level: partial / failed) */
.statuspill {
  font-family: var(--mono); font-size: .76rem; text-transform: uppercase;
  letter-spacing: .06em; padding: .12rem .45rem; border-radius: 4px;
  border: 1px solid var(--line-2); color: var(--muted);
}
.statuspill--partial { color: var(--amber-2); background: var(--amber-soft); border-color: transparent; }
.statuspill--failed  { color: var(--red-2);   background: var(--red-soft);   border-color: transparent; }

/* ============================================================================
   /matches index
   ========================================================================== */
.idx__title { font-size: 1.9rem; font-weight: 600; letter-spacing: -.015em; margin: 0; }
.idx__title small { font-family: var(--mono); font-size: 1rem; color: var(--faint); font-weight: 500; margin-left: .5rem; }
.idx__sub { color: var(--muted); margin: .35rem 0 0; font-size: .92rem; }

.rows { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.9rem; }
.row {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 1rem 1.25rem;
  padding: 1.05rem 1.3rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); color: inherit; transition: border-color .2s var(--ease), background .2s var(--ease);
}
.row:hover { border-color: var(--line-2); background: var(--surface-2); text-decoration: none; }
.row__score {
  font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 700;
  font-size: 1.5rem; line-height: 1; text-align: center;
}
.row__score small { display: block; font-size: .58rem; color: var(--faint); font-weight: 500; letter-spacing: .04em; margin-top: .2rem; }
.row__main { min-width: 0; }
.row__id { font-family: var(--mono); font-size: .78rem; color: var(--muted); letter-spacing: .02em; }
.row__verdict { font-weight: 500; color: var(--ink); margin-top: .15rem; max-width: 64ch; overflow: hidden; text-overflow: ellipsis; }
.row__band { font-size: .78rem; margin-top: .2rem; font-weight: 600; }
.row__go { font-family: var(--mono); color: var(--faint); font-size: 1.1rem; }
.row:hover .row__go { color: var(--accent); }

/* tiny inline meter for the index rows */
.minimeter { margin-top: .45rem; height: 5px; width: 100%; max-width: 220px; border-radius: 999px; background: var(--line); }
.minimeter > i { display: block; height: 100%; border-radius: 999px; width: var(--w, 0%); }

/* ── 404 ────────────────────────────────────────────────────────────────── */
.nf { max-width: 560px; margin: 5rem auto; text-align: center; padding: 0 1.25rem; }
.nf__code { font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.nf h1 { font-size: 1.7rem; font-weight: 600; letter-spacing: -.015em; margin: .6rem 0 .8rem; }
.nf p { color: var(--muted); }
.nf .id { font-family: var(--mono); color: var(--ink-2); }

/* ── motion ─────────────────────────────────────────────────────────────
   Restrained by design: the only purposeful motion is the trust meter filling
   to its score on load. No staggered content reveal — content must be legible
   immediately (no opacity-hiding), which also keeps the slop audit clean. */
.rise { /* retained as a hook; intentionally no entrance animation */ }

@media (prefers-reduced-motion: reduce) {
  .meter__fill { animation: none; width: var(--w, 0%); }
  * { transition: none !important; }
}

/* ── responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .hero__addr { font-size: 1.6rem; }
  .trust__score { font-size: 1.8rem; }
  .claim { grid-template-columns: 1fr; }
  .verdict { justify-self: start; }
  .row { grid-template-columns: 48px 1fr; }
  .row__go { display: none; }
}

/* ── Concept e-mail block (US3, FR-015/016) ─────────────────────────────── */
.draft-box { display: grid; gap: .7rem; }
.draft-box__subject { font-size: .9rem; color: var(--ink-2); max-width: 60ch; }
.draft-box__body {
  white-space: pre-wrap; font-family: var(--sans); font-size: .9rem;
  line-height: 1.55; color: var(--ink); background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .9rem 1rem; max-width: 60ch;
}
.draft-box__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.draft-btn {
  font: 600 .82rem var(--sans); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); padding: .45rem .95rem; cursor: pointer;
}
.draft-btn:hover { border-color: var(--accent); color: var(--accent); }
.draft-btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.draft-btn--primary:hover { color: #fff; opacity: .92; }
.draft-box__no-email { font-size: .8rem; color: var(--muted); max-width: 40ch; }
.draft-result { font-size: .84rem; margin: 0; }
.draft-result--ok { color: var(--green); }
.draft-result--err { color: var(--amber); }
.draft-result__reason { display: block; color: var(--muted); font-size: .78rem; }

/* "tuin/terras onbekend" badge (US5, FR-020) — soft-filter transparency.
   Lives here (not app.css) so BOTH template families get it: base.html pages
   and the report_base pages (/matches) load report.css. */
.statuspill--onbekend { color: var(--amber); border-color: var(--amber); background: var(--amber-soft); }
.statuspill--verhuurd { color: var(--red-2); border-color: var(--red-2); background: var(--red-soft); }

/* "ook op: <bron>, <bron>" chip (Plan B Task 7) — cross-portal dedup
   provenance. Neutral/informational (not a warning), distinct from the
   amber onbekend badge above. Lives here for the same reason: BOTH template
   families (base.html + report_base.html) load report.css. */
.statuspill--alsoon { color: var(--ink-2); border-color: var(--line-2); background: var(--surface-2); }

/* listing-status (gemaild / bekeken / niet interessant) — report page +
   listings table + matches index all load report.css, same reasoning as
   the two chips above. */
.statuspill--gemaild { color: var(--green-2); border-color: var(--green); background: var(--green-soft); }
.statuspill--nietgemaild { color: var(--muted); background: var(--surface-2); }
.statuspill--bekeken { color: var(--ink-2); border-color: var(--line-2); background: var(--surface-2); }
.statuspill--nietinteressant { color: var(--red-2); border-color: var(--red-2); background: var(--red-soft); }
/* fsbo-flanders: private-seller (particulier) badge + filter button */
.statuspill--particulier { color: var(--green-2); border-color: var(--green); background: var(--green-soft); font-weight: 600; }
/* facebook-fsbo-pilot: seller_type still unknown pending human triage */
.statuspill--tecontroleren { color: var(--amber); border-color: var(--amber); background: var(--amber-soft); }
/* sale-status (US4, FR-009/FR-011): Lijst pill + report-header pill, same
   classes on both surfaces (src.sale_status.pill_label supplies the Dutch
   label; "unknown" renders no pill at all, so it has no rule here). */
.statuspill--beschikbaar { color: var(--green-2); border-color: var(--green); background: var(--green-soft); }
.statuspill--onderoptie { color: var(--amber-2); border-color: var(--amber); background: var(--amber-soft); }
.statuspill--verkocht { color: var(--red-2); border-color: var(--red-2); background: var(--red-soft); }
.statuspill--ingetrokken { color: var(--muted); border-color: var(--line-2); background: var(--surface-2); }
.filterbar { margin: .6rem 0 1rem; }
.pillbtn { display: inline-block; padding: .35rem .8rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); background: var(--surface-2); text-decoration: none; font-size: .85rem; font-weight: 600; }
.pillbtn:hover { border-color: var(--green); }
.pillbtn--on { color: #fff; background: var(--green-2, #1a7a4a); border-color: var(--green-2, #1a7a4a); }
.statusbar { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: .6rem 0 0; }
.statusbar__actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-left: auto; }
/* Predicted-not-yet-applied (Vercel): dashed + muted so an unconfirmed
   state can never be mistaken for a confirmed one. */
.statuspill--pending { border-style: dashed; opacity: .6; }
/* Explicit enqueue failure — never silently identical to success. */
.statusbar__error { flex-basis: 100%; margin: .35rem 0 0; font-size: .85rem; color: var(--red-2); }

/* ── Run-context banner (US2, FR-009/025) — which search am I looking at.
   Lives here (not app.css) so BOTH template families get it: base.html pages
   AND /matches (report_base loads only report.css). ── */
.run-banner {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .8rem;
  margin: .6rem 0 0; padding: .5rem .85rem;
  background: var(--accent-soft); border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-size: .82rem; color: var(--ink-2);
}
.run-banner__label { font-weight: 600; }
.run-banner__label a { color: var(--accent); }
.run-banner__summary { color: var(--muted); }
.run-banner__running { color: var(--amber); font-weight: 500; }
.run-banner__running a { color: var(--amber-2); }

/* ============================================================================
   Rapport v3 (W2) — summary-first: score-hero, prijsblok, prijsevolutie,
   triage, topic-buckets. EDIT VIA BASH STRING-REPLACE ONLY (prettier gotcha).
   ========================================================================== */

/* ── score hero (asymmetric: Woningscore leads) ─────────────────────────── */
.scorehero { display: grid; grid-template-columns: 1fr auto; gap: 1.4rem; align-items: end; margin-top: 1.6rem; }
@media (max-width: 560px) { .scorehero { grid-template-columns: 1fr; align-items: start; } }
.scorehero__lead { min-width: 0; }
.scorehero__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.scorehero__row { display: flex; align-items: center; gap: .8rem; margin: .3rem 0 .7rem; }
.scorehero__num { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 3.1rem; font-weight: 700; line-height: 1; letter-spacing: -.025em; }
.scorehero__num small { font-size: 1.05rem; color: var(--faint); font-weight: 500; }
.scorehero__num--empty { color: var(--faint); }
.scorehero__note { font-family: var(--mono); font-size: .8rem; color: var(--faint); }
.bandpill { display: inline-flex; align-items: center; padding: .3rem .7rem; border-radius: 999px; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.bandpill--green { color: var(--green-2); background: var(--green-soft); }
.bandpill--amber { color: var(--amber-2); background: var(--amber-soft); }
.bandpill--red   { color: var(--red-2);   background: var(--red-soft); }
.bandpill--slate { color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); }
.scorehero__side { display: flex; flex-direction: column; gap: .15rem; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); text-align: right; color: inherit; min-width: 150px; }
.scorehero__side:hover { text-decoration: none; border-color: var(--line-2); }
.scorehero__sidelabel { font-size: .73rem; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); font-weight: 600; }
.scorehero__sidenum { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 1.35rem; font-weight: 700; line-height: 1.1; }
.scorehero__sidenum small { font-size: .78rem; color: var(--faint); font-weight: 500; }
.scorehero__sideband { font-size: .78rem; font-weight: 600; }
.honesty { margin: 1rem 0 0; font-size: .82rem; color: var(--muted); max-width: 55ch; }
.facts .v--type { font-family: var(--sans); text-transform: capitalize; }

/* ── prijsblok (vraagprijs + pill + box plot) ───────────────────────────── */
.priceblock { margin-top: 1rem; }
.priceblock__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .9rem; }
.priceblock__price { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; }
.priceblock__m2 { font-family: var(--mono); font-size: .9rem; color: var(--muted); }
.pricepill { display: inline-flex; align-items: center; padding: .28rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 600; margin-left: auto; white-space: nowrap; }
.pricepill--green { color: var(--green-2); background: var(--green-soft); }
.pricepill--amber { color: var(--amber-2); background: var(--amber-soft); }
.pricepill--red   { color: var(--red-2);   background: var(--red-soft); }
.pricepill--grey  { color: var(--muted, #667); background: var(--panel-2, #eef); }
.statbelblok { margin: 10px 0 0; font-size: 13px; color: var(--muted, #667); border-top: 1px dashed var(--line, #dde); padding-top: 8px; }
.reeks__tenyear { margin: 0 0 6px; font-size: 14px; }
.boxplot { margin: 1.1rem 0 0; }
.boxplot svg { display: block; width: 100%; height: 64px; overflow: visible; }
.bp-whisker, .bp-cap { stroke: var(--line-2); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.bp-box { fill: var(--accent-soft); stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.bp-median { stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.boxplot__plot { position: relative; }
.bp-dot { position: absolute; top: 50%; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); border: 2px solid var(--surface); transform: translate(-50%, -50%); }
.boxplot__axis { display: flex; justify-content: space-between; margin-top: .25rem; font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: .74rem; color: var(--muted); }
.boxplot__caption { margin-top: .5rem; font-size: .78rem; color: var(--faint); max-width: 62ch; }
.swatch { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: .3rem; }
.swatch--listing { background: var(--accent); border-radius: 50%; }
.priceblock__none { margin: .9rem 0 0; font-size: .85rem; color: var(--muted); max-width: 60ch; }

/* ── prijsevolutie ──────────────────────────────────────────────────────── */
.evolution { margin-top: 1rem; }
.evolution__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem; }
.evolution__title { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.evolution__since { font-family: var(--mono); font-size: .78rem; color: var(--faint); }
/* Bronlabel naast de titel: waar de claim staat, niet in een subtitel.
   flex-basis 100% duwt het op zijn eigen regel onder de titel, zodat het
   niet met de runtime-subtitel ('Online sinds …') op een rij botst. */
.evolution__source { flex-basis: 100%; order: 3; font-size: .78rem; color: var(--faint); }
.evolution__body { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; margin-top: .8rem; }
@media (max-width: 560px) { .evolution__body { grid-template-columns: 1fr; } }
.steps { display: flex; flex-direction: column; }
.step { display: flex; align-items: baseline; gap: .9rem; padding: .4rem 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; }
.step__date { font-family: var(--mono); font-size: .78rem; color: var(--muted); min-width: 8.5ch; }
.step__price { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: .92rem; font-weight: 600; }
.step__delta { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: .76rem; font-weight: 600; padding: .1rem .45rem; border-radius: 4px; }
.step__delta--down { color: var(--red-2); background: var(--red-soft); }
.step__delta--up { color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); }
.step__delta--base { color: var(--faint); font-weight: 400; background: none; padding: 0; }
.evolution__spark { width: 150px; height: 46px; }
.evolution__spark polyline { fill: none; stroke: var(--accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.evolution__empty { margin: .7rem 0 0; font-size: .85rem; color: var(--muted); max-width: 60ch; }

/* ── triage (alleen problemen) ──────────────────────────────────────────── */
.triage { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.4rem; }
.triagechip { display: inline-flex; align-items: center; gap: .35rem; padding: .34rem .75rem; border-radius: 999px; font-size: .8rem; font-weight: 600; border: 1px solid transparent; }
.triagechip:hover { text-decoration: none; border-color: currentColor; }
.triagechip--concern { color: var(--red-2); background: var(--red-soft); }
.triagechip--unknown { color: var(--amber-2); background: var(--amber-soft); }
.triage__tail { font-size: .8rem; color: var(--muted); margin-left: .3rem; }

/* ── topic-buckets (onder de vouw) ──────────────────────────────────────── */
.buckets { margin-top: 2rem; }
.bucket__caveat { font-size: .76rem; color: var(--faint); margin: 0 0 .8rem; max-width: 62ch; }
.bucket__body { border-top: 1px solid var(--line); padding: 1rem 1.25rem 1.2rem; display: flex; flex-direction: column; gap: 1rem; }
.bucket__body > .checks { border-top: 0; }
.bucket__body .check > summary { padding-left: 0; padding-right: 0; }
.bucket__body .check__body { padding-left: 0; padding-right: 0; }
.bucket__body > .factlist { margin-top: 0; }
.bucket__note { font-size: .78rem; color: var(--faint); margin: 0; max-width: 62ch; }
.bucket__subhead { margin: .4rem 0 0; font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* fsbo-flanders: private-seller outreach block on the report */
.privoutreach { margin: .8rem 0; }
.privoutreach__head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.privoutreach__note { color: var(--ink-2); font-size: .9rem; }
.privoutreach__hint { color: var(--muted); font-size: .85rem; margin: .6rem 0 .4rem; }
.privoutreach__msg { width: 100%; box-sizing: border-box; font: inherit; font-size: .9rem; padding: .6rem .7rem; border: 1px solid var(--line-2); border-radius: .5rem; background: var(--surface-2); color: var(--ink); resize: vertical; }
.privoutreach .draft-btn { margin-top: .5rem; }
.privoutreach__links{margin:.5rem 0}

/* fsbo-flanders: per-row niet-interessant button on /matches */
.rowwrap { position: relative; }
.rowni { position: absolute; top: 50%; right: .4rem; transform: translateY(-50%); width: 1.7rem; height: 1.7rem; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--muted); cursor: pointer; font-size: .85rem; line-height: 1; opacity: 0; transition: opacity .12s; }
.rowwrap:hover .rowni { opacity: 1; }
.rowni:hover { color: var(--red-2); border-color: var(--red-2); }

/* ── Broker-mail-llm: LLM-written mail block (FR-001..FR-014) ───────────── */
.outreach-mail__field { display: grid; gap: .3rem; margin-bottom: .7rem; max-width: 60ch; }
.outreach-mail__field label { font-size: .8rem; color: var(--muted); }
.outreach-mail__subject, .outreach-mail__body {
  font: 400 .9rem var(--sans); color: var(--ink); background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .6rem .75rem;
  line-height: 1.55; resize: vertical;
}
.outreach-mail__subject:read-only, .outreach-mail__body:read-only { background: var(--surface); color: var(--ink-2); }
.outreach-mail__label { font-size: .8rem; color: var(--muted); margin: 0 0 .4rem; }
.outreach-mail__hint { font-size: .84rem; color: var(--amber); margin: 0 0 .5rem; }
.outreach-mail__error { font-size: .84rem; color: var(--red-2); margin: 0 0 .5rem; }
.outreach-mail__violations { font-size: .78rem; color: var(--muted); margin: .3rem 0 0; }
.outreach-mail__no-email { font-size: .8rem; color: var(--muted); max-width: 40ch; }
.outreach-mail__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: .6rem; }
.outreach-mail__spinner.htmx-indicator { display: none; font-size: .82rem; color: var(--muted); }
.outreach-mail__spinner.htmx-indicator.htmx-request { display: inline; }

/* ============================================================================
   report-focus — the asking price as a hero fact, the five focus blocks
   (prijs with two labelled sources), "Wat de advertentie niet vermeldt" and
   ONE collapsed "Meer details". 390 px first: single column, no fixed widths,
   every long string wraps. EDIT VIA BASH STRING-REPLACE ONLY (prettier gotcha).
   ========================================================================== */

/* ── hero: asking price as a fact (reuses .priceblock__price / __m2) ────── */
.hero__price { margin: 1.1rem 0 0; }

/* ── the five focus blocks: ONE panel, hairline-separated readings ───────── */
.focusgrid { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 2rem; padding-top: .35rem; padding-bottom: .35rem; }
/* overflow-wrap is inherited: one rule keeps every string inside a block (figure, reason, caveat, source, price rows) from widening the page */
.focusblock { min-width: 0; overflow-wrap: anywhere; padding: 1.1rem 0 1.15rem; border-top: 1px solid var(--line); }
.focusblock:first-child { border-top: 0; }
.focusblock__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem .75rem; }
.focusblock__title { margin: 0; font-size: 1.02rem; font-weight: 600; letter-spacing: -.005em; }
/* status word = the existing .bandpill (goed groen / neutraal amber / aandacht rood / onbekend slate) + a glyph so colour is never the only cue */
.fglyph { font-family: var(--mono); font-weight: 700; margin-right: .4rem; }
.focusblock__figure { margin: .6rem 0 0; font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.focusblock__sentence { margin: .4rem 0 0; color: var(--ink-2); font-size: .93rem; max-width: 60ch; }
/* the honest reason for "onbekend": always visible, dashed like .empty (no data, not a verdict) */
.focusblock__reason { margin: .65rem 0 0; padding: .5rem .75rem; border: 1px dashed var(--line-2); border-radius: var(--radius-sm); background: var(--surface-2); color: var(--ink-2); font-size: .86rem; max-width: 60ch; }
.focusblock__reason b { font-weight: 600; }
.focusblock__caveats { list-style: none; margin: .55rem 0 0; padding: 0; font-size: .8rem; color: var(--muted); max-width: 60ch; }
.focusblock__caveats li + li { margin-top: .15rem; }
.focusblock__caveats li::before { content: "*"; font-family: var(--mono); margin-right: .4rem; color: var(--faint); }
.focusblock__source { margin: .65rem 0 0; font-size: .78rem; color: var(--faint); }

/* ── prijs: two labelled sources side by side (stacked on a phone) + own history ── */
.psources { display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; margin-top: 1rem; }
.psource { min-width: 0; padding: .9rem 1rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); }
.psource__title { margin: 0; font-size: .95rem; font-weight: 600; }
.psource__facts { margin: .6rem 0 0; display: flex; flex-direction: column; }
.psource__facts > div { display: grid; grid-template-columns: 5.4rem minmax(0, 1fr); gap: .6rem; padding: .32rem 0; border-top: 1px solid var(--line); }
.psource__facts > div:first-child { border-top: 0; }
.psource__facts dt { font-size: .8rem; color: var(--muted); }
.psource__facts dd { margin: 0; font-size: .86rem; }
.psource__facts dd.num { font-weight: 600; }
.psource .reeks { margin: .9rem 0 0; }
.psource .priceblock__none { margin-top: .9rem; }
.pricehistory { margin-top: .9rem; }
.pricehistory .step { flex-wrap: wrap; gap: .15rem .9rem; }
.step__src { margin-left: auto; font-family: var(--mono); font-size: .78rem; color: var(--faint); }

/* ── prijs: spreiding, jaarreeks and step list live in ONE nested closed <details> (a phone would otherwise
   need ~1,700 px for this block); the provenance head above it stays visible. On >= 720 px the inline
   script opens it, so the wide layout shows the same as before. ── */
.evolution__head + .prijs__more { margin-top: .7rem; border-top: 1px solid var(--line); }
.prijs__more > summary { list-style: none; cursor: pointer; user-select: none; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem 0 .15rem; font-size: .9rem; font-weight: 600; color: var(--accent); }
.prijs__more > summary::-webkit-details-marker { display: none; }
.prijs__more > summary::after { content: "\203A"; font-family: var(--mono); color: var(--faint); transition: transform .25s var(--ease); }
.prijs__more[open] > summary::after { transform: rotate(90deg); }
.prijs__morebody { display: flex; flex-direction: column; gap: 1.1rem; padding-top: .7rem; }
.prijs__grouptitle { margin: 0; font-size: .82rem; font-weight: 600; color: var(--muted); }
.prijs__group .boxplot, .psource .prijs__group .reeks { margin-top: .5rem; }
.prijs__group .evolution__body { margin-top: .5rem; }
@media (min-width: 720px) {
  .prijs__morebody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.5rem; }
  .prijs__group--steps { grid-column: 1 / -1; }
}

/* ── Wat de advertentie niet vermeldt ────────────────────────────────────── */
/* At 320 px the uppercase tracked h2 (281.8 px, nowrap) is wider than the 280 px head, which pushed
   the count chip 2 px past the viewport. Scoped to #missing ONLY: the bare .section__head rules are shared
   with the broker-outreach mail region below and stay untouched. */
#missing .section__head { flex-wrap: wrap; row-gap: .25rem; }
#missing .section__head h2 { white-space: normal; }
.missing__incomplete { margin: 0 0 .7rem; font-size: .85rem; color: var(--amber-2); max-width: 60ch; }
.missing__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.missing__list li { display: flex; gap: .65rem; padding: .55rem 0; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); break-inside: avoid; }
.missing__list li::before { content: "\2212"; font-family: var(--mono); color: var(--faint); }
.missing__none { margin: 0; font-size: .9rem; color: var(--muted); max-width: 60ch; }
.missing__foot { margin: .8rem 0 0; font-size: .78rem; color: var(--faint); max-width: 62ch; }

/* ── Meer details: the ONE closed <details> holding everything else ─────── */
.meer { margin-top: 2.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.meer > summary { list-style: none; cursor: pointer; user-select: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .75rem; align-items: center; padding: 1.05rem 1.25rem; }
.meer > summary::-webkit-details-marker { display: none; }
.meer > summary::after { content: "\203A"; grid-column: 2; grid-row: 1 / span 2; color: var(--faint); font-family: var(--mono); transition: transform .25s var(--ease); }
.meer[open] > summary::after { transform: rotate(90deg); }
.meer > summary:hover { background: var(--surface-2); }
.meer__name { grid-column: 1; font-size: 1.05rem; font-weight: 600; }
.meer__hint { grid-column: 1; font-size: .8rem; color: var(--muted); }
.meer__body { border-top: 1px solid var(--line); padding: 1.25rem 1.25rem 1.4rem; }
.meer__body .scorehero { margin-top: 0; }
.meer__body .buckets { margin-top: 1.4rem; }
/* Bundles inside Meer details sit two levels deeper than before, so their wide tables (evidence, Transparantie)
   no longer fit at phone widths and .bundle { overflow: hidden } would clip them. Let the bucket scroll sideways
   instead. Scoped to .meer__body: the bare .bundle / .bucket__body rules are shared and stay untouched. */
.meer__body .bucket__body { overflow-x: auto; }

@media (min-width: 720px) {
  .focusgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .focusblock--prijs { grid-column: 1 / -1; }
  .psources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .missing__list { columns: 2; column-gap: 2rem; }
}
@media (max-width: 560px) {
  .focusgrid { padding-left: 1rem; padding-right: 1rem; }
  .psource { padding: .8rem .85rem .9rem; }
  .psource__facts > div { grid-template-columns: 4.9rem minmax(0, 1fr); gap: .5rem; }
  .meer > summary { padding: .95rem 1rem; }
  .meer__body { padding: 1rem .7rem 1.1rem; }
}
