/* A document layout, not a scaled-down screenshot. Loaded only for print.
   Use the selected paper (Letter or A4); never clip or shrink away warnings. */
@page { size: auto; margin: 14mm; }

html, body { margin: 0; padding: 0; background: #fff; color: #20272b; }
body { font-size: 9pt; line-height: 1.4; }
*, *::before, *::after { box-shadow: none !important; text-shadow: none !important; }
.skip-link, .report-header, .report-hero, .tool-shell, .result-actions, .follow-up, .follow-up-availability, .follow-up-fallback, footer,
[hidden] { display: none !important; }
main, .report-results { display: block; width: 100%; max-width: none; margin: 0; padding: 0; }
p, li { orphans: 3; widows: 3; }
h1, h2, h3 { break-after: avoid; }
a { color: inherit; text-decoration: none; }

.print-masthead { display: flex; justify-content: space-between; align-items: center; gap: 18pt; padding-bottom: 12pt; border-bottom: 1.5pt solid #8b7048; margin-bottom: 16pt; break-inside: avoid; }
.print-masthead p { margin: 4pt 0 0; color: #50585a; font-size: 8pt; }
.print-masthead .print-brand { margin: 0; color: #20272b; font: 600 28pt/1 var(--serif); }
.print-masthead > div:last-child { text-align: right; }
.print-masthead h1 { font: 600 18pt/1.1 var(--serif); }

.result-heading { display: grid; grid-template-columns: 1fr; gap: 18pt; align-items: start; margin: 0 0 16pt; padding: 0; border: 0; break-inside: avoid; }
.result-heading .eyebrow { display: none; }
.recommendation-badge, .recommendation-badge.stay { margin: 0 0 7pt; padding: 0; border: 0; border-radius: 0; color: #625033; font: 600 8pt/1.3 var(--sans); letter-spacing: .07em; }
.result-heading h2 { font-size: 23pt; line-height: 1.05; text-wrap: initial; }
.result-heading > div:first-child > p:last-child { max-width: none; margin: 8pt 0 0; color: #50585a; font-size: 9pt; line-height: 1.4; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: .5pt solid #b8b6b0; border-bottom: .5pt solid #b8b6b0; break-inside: avoid; }
.metric-grid article { min-width: 0; min-height: 0; padding: 11pt 10pt; border: 0; background: none; }
.metric-grid article:first-child { padding-left: 0; }
.metric-grid article:last-child { padding-right: 0; }
.metric-grid article + article { border-left: .5pt solid #d4d1cb; }
.metric-grid span { min-height: 22pt; font-size: 8pt; line-height: 1.3; color: #50585a; }
.metric-grid strong, .metric-grid .savings-metric strong { margin: 5pt 0; color: #20272b; font: 600 17pt/1.15 var(--sans); letter-spacing: -.03em; overflow-wrap: anywhere; }
.print-wide-values .metric-grid strong { font-size: 11.5pt; white-space: nowrap; }
.metric-grid .savings-metric { border-top: 0; }
.metric-grid .savings-metric strong { color: #625033; }
.metric-grid small { color: #50585a; font-size: 7.5pt; line-height: 1.35; }

.comparison-card { margin-top: 16pt; padding: 0; border: 0; background: none; color: #20272b; break-inside: avoid; }
.comparison-heading { gap: 10pt; margin-bottom: 9pt; padding-bottom: 6pt; border-bottom: .5pt solid #d4d1cb; }
.comparison-heading h3 { font-size: 15pt; line-height: 1.1; }
.comparison-heading p { color: #50585a; font-size: 8pt; }
.bar-row { display: grid; grid-template-columns: 48pt minmax(0, 1fr) 100pt; gap: 10pt; margin: 8pt 0; font-size: 9pt; }
.bar-track { height: 6pt; background: none; outline: .5pt solid #d4d1cb; }
/* Borders still print when the user disables background graphics. */
.bar { height: 6pt; background: none; border-top: 6pt solid; }
.current-bar { border-color: #677278; }
.proposed-bar { border-color: #9a7c4c; }
.range { margin: 9pt 0 0; padding: 0; border: 0; color: #50585a; font-size: 8pt; line-height: 1.4; }

.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20pt; margin-top: 17pt; break-inside: avoid; }
.detail-card { min-width: 0; padding: 0; border: 0; background: none; }
.detail-card h3 { margin: 0 0 8pt; font-size: 15pt; line-height: 1.1; }
.detail-card dl div { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 8pt; padding: 6pt 0; border-top: .5pt solid #d4d1cb; font-size: 8.5pt; line-height: 1.35; break-inside: avoid; }
.detail-card dt { color: #50585a; }
.detail-card dd { color: #20272b; overflow-wrap: anywhere; }

/* Allow long caveats to continue on another page, but keep each item intact. */
.assumptions { margin-top: 17pt; padding: 11pt 0 0; border: 0; border-top: 1pt solid #8b7048; background: none; }
.assumptions h3 { font-size: 15pt; line-height: 1.1; }
.assumptions ul { display: block; margin: 8pt 0 0; padding-left: 12pt; color: #50585a; font-size: 8pt; line-height: 1.4; }
.assumptions li { margin: 0 0 4pt; padding-left: 2pt; break-inside: avoid; }
.assumptions > p { margin: 9pt 0 0; padding-top: 8pt; border-top: .5pt solid #d4d1cb; color: #20272b; font-size: 8pt; line-height: 1.4; break-inside: avoid; }
