/* Print / "Save as PDF" stylesheet for the Clinician Brief.
   Everything except .print-surface is hidden, so the browser's own
   print-to-PDF is the PDF export. No client-side PDF library needed. */

@page {
  margin: 16mm 14mm;
}

body {
  background: #fff !important;
  color: #000 !important;
  font-size: 10.5pt;
  line-height: 1.45;
}

.masthead,
.dock,
.toast,
footer.site,
.no-print,
.skip-link {
  display: none !important;
}

main {
  max-width: none !important;
  padding: 0 !important;
}

.card,
.notice,
.match {
  box-shadow: none !important;
  border: 1px solid #999 !important;
  background: #fff !important;
  break-inside: avoid;
}

h1,
h2,
h3 {
  break-after: avoid;
  color: #000 !important;
}

a {
  color: #000 !important;
  text-decoration: none;
}

.report h3 {
  border-bottom: 1px solid #000 !important;
}

pre.plain {
  background: #fff !important;
  border: 1px solid #999 !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Repeat the disclaimer on every printed page via a running footer block. */
.print-disclaimer {
  border-top: 1.5pt solid #000;
  margin-top: 8mm;
  padding-top: 3mm;
  font-size: 8.5pt;
}
