/* Report surface only. Checker mood colours stay on the surrounding shell. */
.amh .amh-report {
  --bg: #f5f5ef;
  --panel: #ffffff;
  --panel2: #f3f1e8;
  --line: #e4e1d6;
  --text: #111b31;
  --muted: #5c6570;
  --accent: #3e60f5;
  --ink: #ffffff;
  --good: #3e60f5;
  --you: #3e60f5;
  --warn: #8a5a12;
  --bad: #8d3b32;
  --paper: #f5f5ef;
  --paperInk: #111b31;
  --amh-navy: #111b31;
  --amh-blue: #3e60f5;
  --amh-lime: #d9ef88;
  --amh-paper: #f5f5ef;
  --amh-muted: #5c6570;
  color: var(--amh-navy);
  background: var(--amh-paper);
  color-scheme: light;
  border-radius: 18px;
  padding: 28px 22px 36px;
}
.amh-report .report-hero,
.amh-report .value-calc,
.amh-report .time-model,
.amh-report .care-roadmap,
.amh-report .offer {
  background: #fff;
  border: 1px solid #e4e1d6;
  border-radius: 16px;
  padding: 22px;
  margin: 18px 0;
}
.amh-report .report-hero__body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, .8fr);
  gap: 22px;
  align-items: start;
}
.amh-report .report-hero h1,
.amh-report .report-hero h2,
.amh-report .care-roadmap h3,
.amh-report .value-calc h3,
.amh-report .time-model h3 {
  font-family: Manrope, "Segoe UI", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.amh-report .report-hero__mark strong {
  display: block;
  font-size: 64px;
  line-height: .9;
}
.amh-report .report-hero__grade {
  background: var(--amh-navy);
  color: #f7f6f1;
  border-radius: 14px;
  padding: 18px;
}
.amh-report .report-hero__grade .eyebrow,
.amh-report .report-hero__cover,
.amh-report .report-hero__date,
.amh-report .report-hero__why {
  color: #d5d8e0;
}
.amh-report .report-hero__grade--open {
  background: #fff;
  color: var(--amh-navy);
  border: 1px solid var(--amh-navy);
}
.amh-report .report-hero__grade--open .eyebrow,
.amh-report .report-hero__grade--open .report-hero__cover,
.amh-report .report-hero__grade--open .report-hero__date,
.amh-report .report-hero__grade--open .report-hero__why {
  color: var(--amh-muted);
}
.amh-report .value-calc-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.amh-report .value-calc-row label,
.amh-report .time-model label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}
.amh-report input {
  min-height: 42px;
  border: 1px solid #c9c6bb;
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  color: var(--amh-navy);
  background: #fff;
}
.amh-report .roadmap-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.amh-report .roadmap-lead { display: contents; }
.amh-report .roadmap-lead .kicker,
.amh-report .roadmap-lead .roadmap-start { grid-column: 1 / -1; }
.amh-report .roadmap-stage,
.amh-report .roadmap-split li,
.amh-report .roadmap-start {
  background: var(--amh-paper);
  border-radius: 12px;
  padding: 12px;
}
.amh-report .roadmap-stage h4 { margin: 0 0 6px; }
.amh-report .print-assumptions { display: none; }
.amh-report .roadmap-split { display: grid; gap: 8px; padding: 0; list-style: none; }
.amh-report .offer .btn,
.amh-report .value-calc .btn,
.amh-report .time-model .btn {
  background: var(--amh-blue);
  color: #fff;
  border-color: var(--amh-blue);
}
.amh-report .table-scroll { overflow-x: auto; }
.amh-report .summary-scope { color: var(--amh-muted); }
@media (max-width: 800px) {
  .amh-report { padding: 16px 12px 24px; }
  .amh-report .report-hero__body,
  .amh-report .roadmap-board { grid-template-columns: 1fr; }
  .amh-report .report-hero__mark strong { font-size: 48px; }
}
@media print {
  .amh .amh-report,
  .amh .client-report {
    color: #111b31 !important;
    --you: #3e60f5;
    --accent: #3e60f5;
    --good: #3e60f5;
  }
  .amh-report .value-calc-row,
  .amh-report .value-calc-actions,
  .amh-report .btn,
  .amh-report select,
  .header,
  .footer,
  .report-top { display: none !important; }
  .amh .client-report .print-assumptions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 6pt 18pt;
    margin: 8pt 0 10pt;
  }
  .amh .client-report .print-assumptions div { break-inside: avoid; }
  .amh .client-report .print-assumptions dt { font-size: 9.5pt; color: #5c6570; }
  .amh .client-report .print-assumptions dd { margin: 0; font-size: 11.5pt; color: #111b31; }
  .amh .client-report .print-listings,
  .amh .client-report #sec-profile {
    break-before: auto !important;
    page-break-before: auto !important;
    break-inside: auto !important;
  }
  .amh .client-report .chart { break-after: auto; margin: 8pt 0; }
  .amh .client-report .chart svg { max-height: none; height: auto; width: 100%; }
  .amh-report .roadmap-board { display: block; }
  .amh-report .roadmap-lead {
    display: block;
    break-inside: avoid;
    page-break-inside: avoid;
    break-after: avoid;
    page-break-after: avoid;
  }
  .amh-report .roadmap-stage { break-inside: avoid; margin: 0 0 8pt; }
  .amh .client-summary .print-plans p,
  .amh .client-summary .print-full-link { margin: 0 0 12pt !important; }
  .amh .client-summary .print-plans a,
  .amh .client-summary .print-full-link a { display: inline-block; margin-top: 3pt; line-height: 1.4; }
  .client-summary .table-scroll,
  .client-summary .care-roadmap,
  .client-summary #sec-method { display: none !important; }
  .amh-report details { display: block; }
  .amh-report { background: #fff; }
  .amh .client-report .report-hero { border-top-color: #3e60f5 !important; }
  .amh .client-report .offer,
  .amh .client-report .offer.close-care {
    border-color: #111b31 !important;
    background: #fff !important;
    color: #111b31 !important;
  }
  .amh .client-report .offer.close-care .eyebrow,
  .amh .client-report .offer.close-care h2 em { color: #3e60f5 !important; }
  .amh .client-report tr.own td { background: #e8edff !important; }
}
