/* Shared website print styles. Printing starts only from a user action. */
@page {
  size: auto;
  margin: 12mm;
}

html {
  scroll-behavior: auto;
}

body {
  background: white;
  color: #193d31;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.top,
button {
  display: none !important;
}

.page {
  position: static;
  margin: 0 !important;
  padding: 0 !important;
  width: auto;
  max-width: none;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible;
  break-after: auto !important;
  break-inside: auto;
}

.page + .page {
  break-before: page;
}

.page header,
.page footer {
  font-size: 9pt;
}

.page footer {
  position: static !important;
  margin-top: 20pt;
  padding-top: 9pt;
}

.page footer > span:last-child::before {
  content: "Section ";
}

h1,
.cover h1,
.research h1 {
  font-size: 30pt;
  line-height: 1.05;
  letter-spacing: -1pt;
  margin: 18pt 0 12pt;
  max-width: none;
  break-after: avoid;
}

.intro,
.cover .intro,
.research .intro {
  max-width: none;
  font-size: 13pt;
}

h2 {
  font-size: 15pt;
  break-after: avoid;
}

.cards p,
.sources p,
.evidence .cards p {
  font-size: 11pt;
  line-height: 1.4;
}

.cards article,
figure {
  break-inside: avoid;
}

.evidence .cards {
  grid-template-columns: 1fr 1fr;
}

.cover figure {
  position: static;
  inset: auto;
  margin: 16pt 0;
  overflow: visible;
}

.cover figure img {
  height: auto;
  object-fit: contain;
}

.cover .ribbon {
  margin-top: 16pt;
}

.note,
.cover .note {
  font-size: 9pt;
}

.research pre {
  columns: 1;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 9pt/1.4 monospace;
  padding: 12pt;
}

a {
  overflow-wrap: anywhere;
}

/* V4 optional native print flow; no exported asset is maintained. */
.deliverable-layout{display:block}
.estimate,.scope-choice,.approval-note{break-inside:avoid}
.review-steps{grid-template-columns:1fr 1fr}
.research pre{max-height:none;overflow:visible}
.finish-actions,.skip-link{display:none!important}
.cover{min-height:0!important}
.cover h1{font-size:30pt;margin-top:18pt}
.cover .ribbon{margin-top:16pt}
.page header span:last-child{text-align:right}
.timeline-visual .milestone-copy h2{font-size:15pt;min-height:0}
.timeline-visual .milestone-copy p{font-size:11pt}
