/* SymptomStory v2 — print stylesheet for the one-page doctor report.
   When printing, hide the entire app chrome and show only #report-print-root.
   Targets a single A4 page for typical 30–90 day reports. */

@page {
  size: A4;
  margin: 14mm 12mm;
}

@media print {
  .site-header,
  .page,
  .site-footer,
  .toast,
  .skip-link {
    display: none !important;
  }

  html, body { background: #fff; }
  body { font-size: 11pt; color: #111; line-height: 1.4; }

  #report-print-root {
    display: block !important;
    max-width: 100%;
  }

  #report-print-root .report-doc { font-size: 10pt; }
  #report-print-root .rep-head {
    display: flex; justify-content: space-between; align-items: baseline;
    border-bottom: 3pt solid #2f7e6e; padding-bottom: 6pt; margin-bottom: 8pt;
  }
  #report-print-root .rep-head h4 { font-size: 17pt; margin: 0; }
  #report-print-root .rep-period { font-size: 9pt; color: #555; }
  #report-print-root .rep-section { margin-bottom: 7pt; break-inside: avoid; }
  #report-print-root .rep-section > h5 {
    font-size: 8.5pt; text-transform: uppercase; letter-spacing: 0.08em;
    color: #1d4a43; margin: 0 0 4pt;
  }
  #report-print-root .rep-kpis { display: flex; gap: 6pt; flex-wrap: wrap; }
  #report-print-root .rep-kpi {
    border: 1pt solid #ccc; border-radius: 4pt; padding: 4pt 8pt; flex: 1 1 0;
  }
  #report-print-root .rep-kpi .k { font-size: 7pt; color: #777; text-transform: uppercase; font-weight: 700; }
  #report-print-root .rep-kpi .v { font-size: 13pt; font-weight: 800; }
  #report-print-root .rep-list { margin: 0; padding: 0; list-style: none; }
  #report-print-root .rep-list li { padding: 2.5pt 0; border-bottom: 1pt dotted #bbb; font-size: 9.5pt; }
  #report-print-root .rep-disclaimer {
    font-size: 7.5pt; color: #777; border-top: 1pt solid #ccc; padding-top: 5pt; margin-top: 6pt;
  }
  #report-print-root .chart-svg { max-height: 34mm; }
  #report-print-root .chart-wrap { border: 0; padding: 0; margin: 0 0 6pt; }
  #report-print-root .reveal { opacity: 1 !important; transform: none !important; }
  #report-print-root .exploratory-note { font-size: 8.5pt; color: #555; }
}
