
@page { size: letter; margin:12mm; }
* { box-sizing:border-box; }
body { margin:0; background:#edf2f1; color:#223c40; font:12pt/1.3 Arial,Helvetica,sans-serif; }
.page { display:flow-root; width:calc(100% - 20px); max-width:192mm; margin:14px auto; padding:9mm; position:relative; background:white; overflow-wrap:anywhere; }
h1 { font-size:25pt; line-height:1.1; margin:0 0 3mm; color:#216574; }
h2 { font-size:16pt; color:#216574; margin:5mm 0 2mm; }
p { margin:2.5mm 0; }
.kicker { text-transform:uppercase; letter-spacing:.08em; font-size:9pt; font-weight:bold; color:#875731; margin:0 0 2mm; }
.hero { display:grid; grid-template-columns:minmax(0,1fr) 45mm; gap:3mm; align-items:center; min-height:34mm; }
.hero img { width:100%; height:33mm; object-fit:contain; }
.small { font-size:10pt; }
.tiny { font-size:9pt; }
.panel { border-left:4px solid #447a80; background:#f0f7f6; padding:3mm; margin:3mm 0; }
.warm { border-color:#bd8955; background:#fcf5e9; }
.two { display:grid; grid-template-columns:1fr 1fr; gap:6mm; }
.grid { display:block; margin:3mm auto; max-width:100%; }
.math-grid .cell { fill:white; stroke:#3b4d50; stroke-width:.18; }
.eq { font-size:12pt; line-height:1.65; }
.numberline { width:164mm; height:14mm; display:block; max-width:100%; margin:2mm auto; }
.rule { border-bottom:1px solid #8b9a9b; height:8mm; }
.sketch { width:81mm; height:68mm; border:1px solid #597278; background:white; margin:3mm 0; }
.teacher { font-size:11.5pt; line-height:1.32; }
.teacher h1 { font-size:23pt; }
.teacher h2 { font-size:15pt; }
ol,ul { margin:3mm 0; padding-left:7mm; }
li { margin:2.5mm 0; }
table { width:100%; border-collapse:collapse; font-size:10.5pt; }
th { background:#f0f6f5; text-align:left; }
td,th { border:1px solid #819395; padding:2mm; vertical-align:top; }
.trial td { height:23mm; }
.trial td:first-child { width:12mm; font-weight:bold; }
.trial td:nth-child(2) { width:28mm; }
.trial td:nth-child(3) { width:50mm; }
.footer { margin-top:7mm; border-top:1px solid #b7c7c7; padding-top:2mm; font-size:7pt; line-height:1.2; }
.page-count { float:right; }
.terms { max-width:192mm; width:calc(100% - 20px); background:white; margin:15px auto; padding:12px; font-size:10pt; }
.terms summary { font-weight:bold; cursor:pointer; }
.lowink,.lowink h1,.lowink h2,.lowink .kicker { color:#222; }
.lowink .panel,.lowink th { background:white; border-color:#555; }
@media screen and (max-width:600px) {
 .page { width:calc(100% - 12px); padding:15px; }
 .hero { grid-template-columns:minmax(0,1fr) 85px; }
 .hero img { height:75px; }
 h1 { font-size:27px; }
 .two { grid-template-columns:1fr; }
 .sketch { width:100%; }
 .grid,.numberline { height:auto; }
 .table-wrap { overflow-x:auto; }
 .trial { min-width:530px; }
 .page-count { float:none; display:block; }
}
@media print {
 body { background:white; }
 .page { width:100%; max-width:none; height:255mm; padding:0; margin:0; break-after:page; }
 .page:last-of-type { break-after:auto; }
 .footer { position:absolute; bottom:0; width:100%; margin:0; }
 .terms { display:none; }
 .panel,th { print-color-adjust:exact; -webkit-print-color-adjust:exact; }
}
