/* The app's worksheet style (src/worksheets/sheetHtml.ts) kept inside .ws; written by scripts/seo/worksheets.ts. */
@page { margin: 13mm 13mm 15mm 13mm; }
.ws, .ws * { box-sizing: border-box; margin: 0; padding: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.ws { background: #eef5ff; }
.ws { font-family: "Nunito", "Avenir Next", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif; color: #172d55; font-size: 12pt; line-height: 1.4; overflow-wrap: break-word; padding: 18px; }
.ws .sheet, .ws .key { background: #fff; max-width: 216mm; margin: 0 auto 18px; padding: 14mm 13mm; border: 1px solid #dbe6f5; border-radius: 10px; box-shadow: 0 4px 0 rgba(23,45,85,0.08); }
.ws .new-page { break-before: page; page-break-before: always; }
.ws .brand { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ws .brand img { width: 26px; height: 26px; }
.ws .brand strong { font-size: 13pt; font-weight: 800; }
.ws .brand span { font-size: 9pt; color: #48638a; padding-left: 8px; border-left: 1px solid #c9d8ee; }
.ws .brand .from { font-size: 11pt; padding-left: 0; border-left: 0; }
.ws .brand .from strong { font-size: 13pt; color: #172d55; }
.ws .head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; padding-bottom: 12px; border-bottom: 2px solid #e3ecf8; margin-bottom: 12px; break-inside: avoid; }
.ws .head-main { flex: 1.4; min-width: 0; }
.ws .pill { display: inline-block; background: #eaf2ff; color: #315cd4; font-weight: 800; font-size: 9pt; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-bottom: 6px; }
.ws .sheet-title { font-size: 20pt; line-height: 1.15; font-weight: 800; margin-bottom: 4px; }
.ws .meta { color: #48638a; font-size: 10.5pt; }
.ws .lines { flex: 1; display: flex; flex-direction: column; gap: 9px; min-width: 160px; }
.ws .line { display: flex; align-items: flex-end; gap: 8px; font-size: 9.5pt; font-weight: 700; color: #48638a; }
.ws .line span { flex: 1; border-bottom: 1.5px solid #9fb3d1; min-height: 16px; color: #172d55; font-size: 11pt; padding-left: 4px; }
.ws .instruction { font-size: 10.5pt; font-weight: 700; color: #2b4470; background: #f3f8ff; border: 1px solid #bcd0f2; padding: 7px 12px; border-radius: 8px; margin-bottom: 14px; break-inside: avoid; }
.ws .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.ws .q, .ws .wide-block, .ws .hw-row, .ws .cover-box, .ws .cover-days tr { break-inside: avoid; page-break-inside: avoid; }
.ws .wide-block.long { break-inside: auto; page-break-inside: auto; }
.ws .passage p { orphans: 3; widows: 3; }
.ws .hw-row { margin: 0 0 6px; }
.ws .hw-svg { display: block; width: 100%; height: auto; }
.ws .cbn { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.ws .key-pic { break-inside: avoid; page-break-inside: avoid; margin-top: 4px; }
.ws .cover-box { border: 2px solid #e3ecf8; border-radius: 14px; padding: 26px 22px; text-align: center; margin: 18px 0 22px; }
.ws .cover-title { font-size: 30pt; line-height: 1.15; font-weight: 800; margin: 6px 0 10px; }
.ws .cover-name { font-size: 24pt; font-weight: 800; color: #315cd4; }
.ws .cover-line { max-width: 300px; margin: 14px auto 0; }
.ws .cover-days { width: 100%; border-collapse: collapse; font-size: 12pt; }
.ws .cover-days th, .ws .cover-days td { border-bottom: 1px dashed #c9d8ee; padding: 9px 6px; text-align: left; vertical-align: top; }
.ws .cover-days th { width: 34%; font-weight: 800; white-space: nowrap; }
.ws .cover-days .tick { display: inline-block; width: 15px; height: 15px; border: 1.6px solid #172d55; border-radius: 4px; margin-right: 9px; vertical-align: -2px; }
.ws .cover-note { margin-top: 16px; font-size: 10.5pt; color: #48638a; }
.ws .key-note { font-size: 10pt; color: #48638a; margin-top: 5px; }
.ws .q { display: flex; gap: 10px; padding: 4px 0 10px; border-bottom: 1px dashed #e3ecf8; }
.ws .q.wide, .ws .wide-block { grid-column: 1 / -1; }
.ws .q-num { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: #172d55; color: #fff; font-size: 10pt; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ws .q-body { flex: 1; min-width: 0; }
.ws .read-aloud { font-size: 9.5pt; color: #48638a; font-style: italic; margin-bottom: 3px; }
.ws .read-aloud b { font-style: normal; font-size: 8pt; text-transform: uppercase; letter-spacing: 0.05em; background: #fff4d6; color: #8a5a00; border-radius: 4px; padding: 1px 5px; margin-right: 4px; }
.ws .q-prompt { font-size: 12pt; font-weight: 700; margin-bottom: 8px; }
.ws .equation { font-size: 18pt; font-weight: 800; margin: 2px 0 8px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px; }
.ws .eq-blank { display: inline-block; width: 58px; border-bottom: 2.5px solid #315cd4; height: 26px; }
.ws .answer-line { display: flex; align-items: flex-end; gap: 8px; font-size: 9.5pt; font-weight: 700; color: #48638a; margin-top: 6px; }
.ws .answer-line span { flex: 1; max-width: 220px; border-bottom: 2px solid #9fb3d1; height: 22px; }
.ws .choices { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ws .choice { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5pt; }
.ws .bubble { display: inline-flex; width: 21px; height: 21px; border: 1.6px solid #172d55; border-radius: 50%; align-items: center; justify-content: center; font-size: 8.5pt; font-weight: 800; flex: 0 0 auto; }
.ws .write-lines span { display: block; height: 26px; border-bottom: 1.5px solid #9fb3d1; }
.ws .passage { border: 1.5px solid #c9d8ee; background: #fbfdff; border-radius: 8px; padding: 10px 14px; font-size: 11.5pt; line-height: 1.55; margin-bottom: 4px; }
.ws .passage p + p { margin-top: 6px; }
.ws .passage-title { font-weight: 800; font-size: 12.5pt; margin-bottom: 4px; }
.ws .fig { margin: 2px 0 8px; }
.ws .fig-svg { display: block; max-width: 100%; height: auto; }
.ws .fig-words { display: inline-block; font-size: 16pt; font-weight: 800; letter-spacing: 0.04em; border: 1.5px dashed #9fb3d1; border-radius: 8px; padding: 4px 12px; margin: 0 0 8px; }
.ws .fig-cards { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.ws .fig-cards span { border: 1.5px solid #172d55; border-radius: 6px; padding: 2px 9px; font-weight: 800; }
.ws .col-prob { display: inline-flex; flex-direction: column; align-items: flex-end; font-size: 20pt; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0.12em; line-height: 1.25; min-width: 120px; }
.ws .col-op { margin-right: 10px; letter-spacing: 0; }
.ws .col-bar { align-self: stretch; border-bottom: 2.5px solid #172d55; }
.ws .col-space { height: 34px; }
.ws .ldiv { display: inline-flex; align-items: flex-start; font-size: 18pt; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0.1em; margin-top: 30px; }
.ws .ldiv-divisor { padding: 4px 6px 0 0; }
.ws .ldiv-box { border-top: 2.5px solid #172d55; border-left: 2.5px solid #172d55; border-top-left-radius: 14px; padding: 4px 10px 0 10px; }
.ws .ldiv-work { height: 90px; }
.ws .fig-table { border-collapse: collapse; margin: 0 0 8px; font-size: 10.5pt; }
.ws .fig-table th, .ws .fig-table td { border: 1.2px solid #9fb3d1; padding: 3px 10px; text-align: center; }
.ws .fig-table th { background: #f3f8ff; font-weight: 800; }
.ws /* Clear space between the writing lines and the QR code: the 18px gap plus 4mm, .ws about 9mm. */
.qr { flex: 0 0 auto; width: 26mm; margin-left: 4mm; text-align: center; font-size: 7.5pt; line-height: 1.2; font-weight: 700; color: #48638a; }
.ws .qr svg { display: block; width: 24mm; height: 24mm; margin: 0 auto 3px; }
.ws .foot { text-align: center; font-size: 8.5pt; color: #8aa0b8; margin-top: 16px; break-before: avoid; page-break-before: avoid; }
.ws .brand .use { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 1px; min-width: 0; }
.ws .brand .use span { padding-left: 0; border-left: 0; }
.ws .use-text { font-size: 7.5pt; line-height: 1.15; color: #6f84a3; white-space: nowrap; }
.ws .brand .use .use-text { font-size: 7.5pt; color: #6f84a3; }
.ws .use-mark { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.ws .tc { font-size: 4pt; line-height: 1; color: #fbfbfb; letter-spacing: 0; white-space: nowrap; }
.ws .brand .use .tc { font-size: 4pt; color: #fbfbfb; }
.ws .trace-dots { display: block; flex: 0 0 auto; }
.ws .use-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin-top: 14px; break-before: avoid; page-break-before: avoid; break-inside: avoid; }
.ws .use-foot .use-text { text-align: center; font-size: 8pt; }
.ws .key h2 { font-size: 16pt; font-weight: 800; border-bottom: 2px solid #e3ecf8; padding-bottom: 6px; margin-bottom: 12px; }
.ws .key h2 span { font-size: 10pt; color: #48638a; font-weight: 700; margin-left: 6px; }
.ws .key .legend { font-size: 10pt; color: #48638a; margin-bottom: 10px; }
.ws .key-sheet { margin-bottom: 14px; break-inside: avoid; }
.ws .key-sheet h3 { font-size: 11.5pt; font-weight: 800; margin-bottom: 4px; }
.ws .key-sheet ol { columns: 3; column-gap: 18px; padding-left: 22px; font-size: 10.5pt; }
.ws .key-sheet li { break-inside: avoid; margin-bottom: 2px; }
@media print {.ws { background: #fff; padding: 0; }
.ws .sheet, .ws .key { max-width: none; margin: 0; padding: 0; border: 0; box-shadow: none; }
}
@media screen and (max-width: 560px) {.ws .brand { flex-wrap: wrap; }
.ws .brand .use { margin-left: 0; flex-basis: 100%; align-items: flex-start; }
.ws .use-text { white-space: normal; }
.ws .grid { grid-template-columns: 1fr; }
.ws .head { flex-direction: column; align-items: stretch; }
.ws .qr { align-self: center; margin: 4mm 0 0; }
.ws .key-sheet ol { columns: 2; }
}

/* The site style (/landing/home.css) sets these for the whole page; the sheet keeps its own. */
.ws h2, .ws h3 { font-family: inherit; color: inherit; letter-spacing: normal; text-align: left; text-wrap: wrap; }
.ws h2::after { content: none; display: none; }
.ws ol { list-style: decimal; }
.ws img { display: inline-block; }
.ws { border-radius: 18px; }
