/* Print rules for site and teacher pages. Linked with media="print". */
@page { margin: 0.6in; }
:root, :root[data-theme="dark"] {
  --bg: #fff; --surface: #fff; --surface-2: #f1f1f1; --text: #000; --muted: #333; --border: #999; --rule: #bbb;
  color-scheme: light;
}
body { background: #fff !important; color: #000 !important; font-size: 11pt; line-height: 1.4; }
.site-header, .site-footer, .no-print, .skip-link, .icon-btn, .btn, button, nav, .school-strip { display: none !important; }
main { max-width: none; padding: 0; }
a { color: #000; text-decoration: none; }
.card { box-shadow: none; border: 1px solid #999; break-inside: avoid; }
h1, h2, h3 { break-after: avoid; }
table { font-size: 9pt; }
th { background: #eee !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
tr, td, th { break-inside: avoid; }
.page-break { break-before: page; }
.print-only { display: block !important; }
.table-wrap { overflow: visible; }
details { display: block; }
details > summary { display: none; }
details[open] > *, details > * { display: block; }
