/* print.css  (media="print")
   Print styling for the year-end report and "Save my year in review" (brief Section 12.7).
   White background, theme colors only as accents, app chrome hidden. utils/report.js adds .print-report content. */
@page { size: letter; margin: 0.6in; }
html, body { background: #fff !important; }
body { color: #222 !important; font-size: 11pt; }
.sidebar, .bottom-bar, .topbar, .fab, .toast-region, #update-banner, #sw-error-banner, .skip-link, .no-print, .overlay { display: none !important; }
.main-wrap { margin: 0 !important; padding: 0 !important; }
.main { max-width: none !important; padding: 0 !important; }
.card { box-shadow: none !important; break-inside: avoid; border-color: #ddd !important; background: #fff !important; }
body.is-printing-report .app-shell { display: none !important; }
body.is-printing-report #print-root { display: block !important; }
#print-root { display: none; }
.print-report h1, .print-report h2 { color: #222 !important; break-after: avoid; }
.print-report section { break-inside: avoid-page; margin-bottom: 18pt; }
.print-cover { height: 9in; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; break-after: page; }
.print-report img { max-width: 2.6in; border-radius: 8px; }
a { color: inherit !important; text-decoration: none !important; }

/* Dark theme (or any theme) prints as dark ink on white paper. */
html[data-theme] { --bg: #fff; --surface: #fff; --surface-alt: #f4f4f4; --text: #222; --heading: #111; --text-muted: #555; --border: #ddd; --divider: #e4e4e4; --link: #222; }
/* Controls don't print; the content does. */
.btn, .btn-icon, .demo-bar, .subtabs-wrap, .jump-menu, .quick-actions, .check-hit::after { display: none !important; }
.app-shell, .main-wrap { min-height: 0 !important; }

/* Long text boxes print in full through their .print-text copy (added just before printing). */
main textarea { display: none !important; }
.print-text { white-space: pre-wrap; border: 1px solid #ddd; border-radius: 8px; padding: 8pt 10pt; }
