/* No-quote advice (/advies), redesign 2026-10-02. Loaded after app.css and report.css (the
   chart tokens, marks, KPI blocks and the basis panel live there). Tokens only, from
   DESIGN.md: hairline frames on paper, ink for interaction, the highlighter behind the one
   figure that matters, blue only for "better choice" (the best option). No green, no icons
   in circles, no shadows. */

.advice.stack { gap: var(--space-lg); }
.advice-head { gap: var(--space-xs); }

/* ---- The answer and the next step (the first phone screen) ---------------------------- */
.advice-answer { display: flex; flex-direction: column; gap: var(--space-md); max-width: 62ch; }
.answer-sentence { font: 700 1.625rem/1.3 var(--display); letter-spacing: -.01em; margin: 0; }
.answer-sentence .mark { white-space: nowrap; }
.answer-extra { font-size: 1.125rem; margin: 0; }
.home-line { color: var(--pencil); margin: 0; }
.home-line a { color: var(--ink); }
.answer-actions { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
.answer-actions p { margin: 0; }
.cta-form { margin: 0; }
.cta-form .btn { min-height: 56px; }
.advice-estimate { margin: 0; }
@media (max-width: 480px) {
  .answer-sentence { font-size: 1.5rem; }
  .cta-form, .cta-form .btn { width: 100%; }
}

/* ---- Sections ------------------------------------------------------------------------- */
.advice-section { display: flex; flex-direction: column; gap: var(--space-md); border-top: 1px solid var(--rule); padding-top: var(--space-lg); min-width: 0; }
.advice-section h2 { font: 700 1.5rem/1.2 var(--display); letter-spacing: -.01em; }
.advice-section h3 { font: 700 1.25rem/1.25 var(--display); }

/* ---- Option cards: one frame per option, side by side when there is room ---------------- */
.options-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--space-md);
}
.option-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 0;
}
.option-card.is-recommended { border: 2px solid var(--verdict-yes); }
.best-tag { color: var(--verdict-yes); font-weight: 700; margin: 0; }
.option-product { margin: 0; }

/* Three figures in a row, compact (the report's KPI block at a smaller size). */
.kpi-row { grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: var(--space-sm); }
.kpi-row .kpi-label { font-size: .875rem; line-height: 1.3; }
.kpi-row .kpi-value { font-size: 1.0625rem; line-height: 1.25; font-variant-numeric: normal; }
.kpi-row .small { font-size: .8125rem; }
@media (max-width: 560px) { .kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.fair-chart .chart-svg { margin-top: var(--space-xs); }

/* "Meer uitleg": native details, like the report's "Hoe komen we hieraan?". */
.more summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; }
.more summary::before { content: "▸"; display: inline-block; width: 1.1em; color: var(--pencil); }
.more[open] summary::before { content: "▾"; }
.more-list { margin: var(--space-xs) 0 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: var(--space-xs); }

/* Band-based fit: blue = fits, amber = depends on use, pencil = doesn't (never red: no
   verdict about a quote here). */
.fit { font-weight: 700; }
.fit-fits { color: var(--verdict-yes); }
.fit-maybe { color: var(--verdict-partly); }
.fit-no { color: var(--pencil); }

/* ---- The checklist ----------------------------------------------------------------------- */
.checklist-panel > summary h2 { display: inline; font: 700 1.25rem/1.3 var(--display); }
.checklist-panel[open] > summary { margin-bottom: var(--space-sm); }
.advice-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--space-lg); margin-top: var(--space-md); }
.checklist-group h3 { font-size: 1.125rem; }
.checklist { margin: var(--space-sm) 0 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: var(--space-sm); }
.checklist .watch { display: block; font-weight: 700; }

.advice-basis { border-top: 0; padding-top: 0; }
.advice-basis ul ul { padding-left: 1.2em; }
.home-line a, .advice-basis a { min-height: 44px; display: inline-flex; align-items: center; }

/* ---- Print: the advice on paper; "Print de checklist" prints the checklist only ---------- */
@media print {
  .answer-actions, .more, .chart-table, .advice-estimate a { display: none !important; }
  .option-card { break-inside: avoid; }
  .checklist-panel > :not(summary) { display: block; }
  body.print-checklist main .advice > :not(#checklist) { display: none !important; }
  body.print-checklist .site-header, body.print-checklist .site-footer { display: none !important; }
}

/* PR #34: the "met verzwaring naar 3-fase" row inside a heat-pump card. */
.upgrade-row { margin-top: var(--space-md); padding-top: var(--space-sm); border-top: 1px solid var(--rule); }
.upgrade-row h4 { margin: 0 0 var(--space-xs); }
