header{flex-wrap:wrap;gap:12px}header button{font-size:15px;padding:11px 16px}#sync-status{max-width:1180px;margin:10px auto;padding:0 24px;font-size:14px}.day-pages{display:flex;gap:12px;overflow:auto;margin-bottom:20px}.day-pages button{padding:8px;flex:0 0 140px}.day-pages img{height:160px;width:120px;object-fit:contain}label select,label input[type=date]{margin:8px 16px 16px 8px;font:inherit;border:1px solid #cfddd4;border-radius:12px;padding:10px}table{display:block;overflow-x:auto}td button{margin-top:5px;font-size:14px;padding:8px}.a4-sheet{box-sizing:border-box;width:186mm;min-height:273mm;margin:20px auto;padding:7mm;border:1mm double #174d3b;border-radius:4mm;background:white;color:#173e32;box-shadow:0 3px 18px #173e3212;font-size:11pt;line-height:1.4;display:flex;flex-direction:column}.sheet-heading{border-bottom:2px solid #174d3b;padding-bottom:9px;display:flex;justify-content:space-between;gap:10px;font-size:12pt}.a4-sheet h2{font-size:13pt;margin:16px 0 8px}.a4-sheet p{font-size:11pt;line-height:1.4;margin:5px 0}.a4-sheet .sheet-instruction{font-size:10pt;color:#586b62}.sheet-questions{display:grid;grid-template-columns:1fr 1fr;gap:15px 22px}.sheet-questions>div{border-bottom:1px solid #d9e3dd;padding:8px 0 12px;break-inside:avoid}.sheet-questions b{font-size:11pt}.sheet-questions p{font-size:10pt}.sheet-word-box{border:1px solid #c7d6ca;background:#f5f9f7;padding:8px;text-align:center;font-size:11pt}.sheet-words{display:grid;grid-template-columns:1fr 1fr;gap:12px 22px;margin:12px 0}.sheet-words>div{display:flex;justify-content:space-between;font-size:11pt}.writing-line{height:10mm;border-bottom:1px solid #789387;margin:6px 0}.recording-homework{border:1px solid #9db5a4;padding:10px;margin-top:auto}.recording-homework p{font-size:10pt}.popup-toolbar{flex-wrap:wrap}.popup-toolbar button{font-size:16px}dialog img{max-height:calc(100vh - 125px)}
@media(max-width:760px){.a4-sheet{width:100%;padding:20px;min-height:0}.sheet-heading{flex-wrap:wrap}.sheet-questions{grid-template-columns:1fr}.recording-homework{margin-top:20px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@page{size:A4;margin:12mm}
@media print{html,body{background:white!important;margin:0!important;padding:0!important}body>header,footer,#sync-status,.no-print{display:none!important}main#app{max-width:none!important;margin:0!important;padding:0!important}.a4-sheet{box-shadow:none!important;width:186mm!important;min-height:273mm!important;height:273mm!important;margin:0!important;padding:7mm!important;break-after:page;page-break-after:always}.a4-sheet:last-child{break-after:auto;page-break-after:auto}.sheet-questions{grid-template-columns:1fr 1fr!important}.recording-homework{margin-top:auto!important}.sheet-heading{flex-wrap:nowrap}.a4-sheet *{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.maxima-logo{font-size:23pt;letter-spacing:1.5px;font-weight:900;color:#174d3b;line-height:1.2}.sheet-heading>div:last-child{text-align:right}.sheet-heading span{display:block;font-size:10pt;margin-top:4px}
.teacher-embed>header,.teacher-embed>footer,.teacher-embed #sync-status{display:none}.teacher-embed main{padding:20px;margin:auto;max-width:none}.teacher-embed h1{font-size:32px}.teacher-embed .panel{padding:20px}.class-review{box-sizing:border-box;width:96vw;max-width:1600px;height:94vh;max-height:94vh;padding:20px;background:#f5f9f7;color:#174d3b;border:0;border-radius:20px}.class-review::backdrop{background:#10271de6}.review-toolbar,.review-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;height:52px}.review-toolbar button,.review-nav button{padding:10px 18px}.review-slide{height:calc(100% - 116px);display:flex;align-items:center;justify-content:center;gap:35px;padding:28px;box-sizing:border-box;overflow:auto}.review-slide>div{max-width:1100px}.review-slide>img{max-height:100%;max-width:52%;object-fit:contain}.review-slide .review-page{max-width:100%;width:auto}.review-slide h1{font-size:clamp(26px,4vw,58px);line-height:1.2;margin:10px 0 30px}.review-slide p{font-size:clamp(20px,2.5vw,34px)}.review-slide h2{font-size:clamp(30px,4vw,56px)}.review-answer{background:#174d3b;color:white;border-radius:16px}.review-answer .ko{color:#d8ebe0}.review-choices p{padding:8px 0}.teacher-embed #student-preview{display:none}
.book-library{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:24px;margin:24px 0}.book-library img{width:100%;max-height:260px;object-fit:contain;margin-bottom:12px}.book-library b,.book-library h2{font-size:21px;display:block}.book-library audio{width:100%;margin-top:12px}.book-library button{margin:4px 0;font-size:15px;padding:12px}.student-picks{display:flex;gap:12px;flex-wrap:wrap;padding:16px;background:#f5f9f7;border-radius:14px;margin:14px 0}.student-picks label{padding:10px;border:1px solid #dce8df;border-radius:12px;font-size:16px}.student-picks input{width:18px;height:18px}.library-tabs{display:flex;gap:16px;margin:20px 0}
.a4-sheet{padding:6mm}.a4-sheet h2{margin:10px 0 6px}.a4-sheet p{margin:3px 0}.sheet-questions{gap:9px 20px}.sheet-questions>div{padding:6px 0}.sheet-words{gap:8px 22px;margin:10px 0}@media print{.a4-sheet{padding:6mm!important}}

.sight-panel{max-width:880px;margin:24px auto}.sight-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.sight-heading p{margin:0}.sight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:28px 0}.sight-card{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:150px;padding:22px 12px;background:#f0f7f2;border:1px solid #dce9e1;border-radius:20px;text-align:center;gap:14px}.sight-card strong{font-size:42px;line-height:1.1;color:#174c39}.sight-card span{font-size:20px;line-height:1.4;color:#60756a}.sight-panel button:disabled{opacity:.35;cursor:default}@media(max-width:600px){.sight-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sight-card{min-height:120px}.sight-card strong{font-size:34px}.sight-card span{font-size:17px}}

.hunt-picture img{height:auto;max-height:none;object-fit:fill}.hunt-picture{cursor:pointer}#hunt-hint{background:#fff0c8;margin:10px 0}#hunt-listen{margin:0 0 12px}

.vocab-icon{width:150px;height:120px;vertical-align:middle}.listen-choice{display:grid;grid-template-columns:1fr auto;gap:6px}.options .listen-choice button:last-child{min-width:64px;padding:10px}.sight-card{cursor:pointer;font:inherit;width:100%;box-shadow:none}.sight-card .speaker{font-size:16px;color:#698576}.sight-card:hover{background:#e5f0e8}#story-clock{max-width:1072px;margin:16px auto;padding:12px 24px;background:#fff;border-radius:14px;position:sticky;top:0;z-index:5;box-shadow:0 3px 8px #174d3b0a}.clock-summary{display:flex;justify-content:space-between;font-size:14px;color:#547965}.clock-track{height:8px;background:#e2ebe5;border-radius:8px;margin:10px 0 5px}.clock-track i{display:block;background:#6b9477;height:100%;border-radius:8px;transition:width 1s linear,background-color 1s linear}.clock-ticks{display:flex;justify-content:space-between;color:#708478;font-size:12px}@media print{#story-clock{display:none}}
.pack-built{min-height:65px;margin:20px 0;padding:14px;border:2px dashed #bacfc0;border-radius:15px;font-size:28px;letter-spacing:1px}.pack-tiles{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.pack-tiles button{font-size:24px;min-width:58px}.pack-memory{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.pack-memory button{min-height:90px;font-size:22px;background:#f0f7ef}.pack-hunt-crop{width:180px;height:150px;object-fit:contain;border:5px solid #e8b84b;border-radius:16px}.hunt-picture>span{position:absolute;transform:translate(-50%,-50%);font-size:38px;pointer-events:none}@media(max-width:600px){.pack-memory{grid-template-columns:repeat(3,1fr)}.pack-built{font-size:22px}}
/* Listening speed and phonics scaffolds */
.story-listening-speed{font-size:14px;padding:9px 13px;white-space:nowrap;margin-left:auto;border-color:#b9dacf;background:#fff8dc;box-shadow:none}
.story-listening-speed[aria-pressed=true]{background:#e3f4de;border-color:#83b976}
.story-speaking-card{display:flex;flex-direction:column;gap:10px;min-width:0}.story-speaking-card>.sight-card{width:100%;flex:1}.story-word-tools{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:12px 0}.story-word-tools button{font-size:14px;padding:10px 12px;box-shadow:0 3px 0 #dbe7df;background:#fff8df}.story-word-tools button+button{background:#eaf3fc}
.story-blending-dialog{width:min(680px,calc(100vw - 32px));box-sizing:border-box;border:3px solid #b9d8cd;border-radius:26px;padding:28px;color:#163f34;background:#fff;max-height:90vh;overflow:auto;text-align:center;box-shadow:0 18px 70px #12352a40}.story-blending-dialog::backdrop{background:#163e3480}.blend-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.blend-top h2{font-size:26px;margin:0}.blend-top button{font-size:14px;padding:10px}.blend-chunks{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:28px 0}.blend-chunk{font-size:clamp(28px,5vw,48px);font-weight:800;background:#eef3f0;border:3px solid transparent;border-radius:15px;padding:10px 16px}.blend-active{background:#ffdf70;border-color:#e8b031}.blend-read{background:#d8f0d8}.blend-silent{color:#80908a;border-bottom:3px dashed #82978f}.blend-word{font-size:clamp(34px,6vw,60px);font-weight:800;letter-spacing:.18em;transition:letter-spacing .35s,color .35s;margin:15px 0}.blend-joined{letter-spacing:0;color:#087d48}.blend-note{font-size:15px;background:#f4f7fc;padding:12px;border-radius:12px}.blend-status{min-height:30px;font-weight:600}.blend-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}.blend-actions button{font-size:16px;padding:13px 18px}@media(max-width:650px){header{flex-wrap:wrap;gap:10px}.story-listening-speed{margin-left:0}.story-blending-dialog{padding:20px}.blend-chunk{padding:8px 11px}}@media print{.story-word-tools,.story-blending-dialog{display:none}}
/* Book illustrations use the same cards, colours and buttons as A Day with Mom. */
.book-word-art{display:block;width:150px;max-width:100%;height:135px;margin:8px auto;border-radius:14px;background:white;font-size:16px}.sight-card .book-word-art{height:135px}.rabbit-order{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.rabbit-order button{position:relative;padding:8px;background:#f3f8f4}.rabbit-order img{width:100%;border-radius:12px;display:block}.rabbit-order span:not(:empty){position:absolute;top:12px;left:12px;background:#194d3b;color:white;border-radius:50%;padding:5px 12px;font-size:24px}.rabbit-order .chosen{border-color:#194d3b;box-shadow:0 0 0 2px #194d3b}.pack-memory .book-word-art{height:90px;width:115px}#rabbit-hunt-word{font-size:clamp(36px,5vw,62px)}@media(max-width:700px){.rabbit-order{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Grade 1–2 printable homework */
.junior-sheet{border:2.5px solid #66bba3;border-radius:18px;padding:6mm!important;height:273mm;min-height:273mm;font-family:Arial,sans-serif;gap:0;overflow:hidden}.junior-sheet .sheet-heading{border:0;align-items:center;padding:0 0 10px}.junior-sheet .maxima-logo{font-size:21px;color:#176c55;letter-spacing:1px}.junior-sheet .maxima-logo span{display:block;font-size:12px;letter-spacing:0}.junior-sheet .sheet-heading b{font-size:17px}.junior-sheet .sheet-heading span{display:block;font-size:12px}.junior-name{background:#f2f7fb;border-radius:9px;padding:10px;font-size:13px}.junior-sheet h2{border-radius:9px;padding:8px 10px;font-size:15px;margin:12px 0 8px}.junior-green{background:#dcf3e7}.junior-yellow{background:#fff1bb}.junior-blue{background:#dfedfc}.junior-sheet .sheet-questions{gap:9px}.junior-sheet .sheet-questions>div{border:1px solid #d6e5df;border-radius:12px;padding:9px;min-height:95px}.junior-sheet .sheet-questions b{font-size:14px;line-height:1.35;display:block}.question-badge{color:#238566}.junior-sheet .sheet-questions p{font-size:11px;line-height:1.4;margin:6px 0}.junior-choices{display:flex;flex-wrap:wrap;gap:5px 12px;font-size:13px;line-height:1.6}.junior-word-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.junior-word{display:flex;gap:9px;padding:9px;border:1px solid #eddba3;border-radius:12px;min-height:104px}.junior-art{width:68px;flex:0 0 68px;height:82px;display:flex;align-items:center;justify-content:center;font-size:39px}.junior-art svg,.junior-art img{width:68px!important;height:82px!important;max-width:68px;object-fit:contain}.junior-word>div:last-child{flex:1;min-width:0}.junior-word strong{display:block;font-size:17px}.junior-word span{font-size:11px;display:block}.junior-trace{font-size:20px;letter-spacing:1px;color:#b8bfbd;border-bottom:1px dashed #a8b8b0;margin-top:4px}.junior-write{height:22px;border-bottom:1px solid #9caea6}.junior-tokens{display:flex;gap:7px;flex-wrap:wrap}.junior-tokens span{background:#f0f6fc;border:1px solid #b8d1eb;border-radius:7px;padding:5px 10px;font-size:14px}.junior-sheet .writing-line{height:8mm;margin:3px 0 10px}.junior-read{padding:10px;background:#fff5ed;border-radius:10px;font-size:13px}.junior-read p{font-size:16px;margin:7px 0}.junior-read span{font-size:11px}.junior-sheet .recording-homework{border:0;background:#eee8fa;border-radius:11px;padding:10px;margin-top:auto;font-size:13px}.junior-sheet .recording-homework p{font-size:11px}@media print{.junior-sheet{height:273mm!important;padding:6mm!important;border-radius:18px!important}.junior-word-grid{grid-template-columns:1fr 1fr!important}}

.junior-sheet .sheet-word-box{background:#fff9e5;border:1px solid #efd99b;border-radius:10px;font-size:15px;padding:12px}.junior-sheet .sheet-words{gap:13px 20px;margin:14px 0}.junior-sheet .sheet-words>div{font-size:14px;align-items:center;padding:5px 0}.junior-sheet .sheet-words span{font-size:15px}.junior-sheet .sheet-questions>div{min-height:94px}

.junior-sheet .sheet-questions>div{min-height:80px}.junior-sheet .writing-line{flex-shrink:0;height:8mm}.junior-sheet .sheet-words{gap:10px 20px;margin:10px 0}.junior-sheet .recording-homework{flex-shrink:0}

.junior-sheet .official-maxima-logo{width:64px;height:60px;display:block}.junior-sheet .sheet-heading{padding-bottom:7px;flex-shrink:0}.junior-sheet h2{margin:9px 0 6px}

@page{size:A4 portrait;margin:12mm}@media print{.a4-sheet{break-inside:avoid}.junior-sheet{height:273mm!important;width:186mm!important}.junior-sheet .sheet-questions>div{break-inside:avoid}}

.spelling-panel{text-align:center}.spelling-panel .word-bank{justify-content:center}#letter-answer,.pack-built.letter-slots{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;border:0;background:transparent;letter-spacing:normal;padding:16px 0}.letter-slot{display:inline-flex!important;align-items:center;justify-content:center;width:58px;height:66px;padding:0!important;border:2px dashed #a9c9b8;border-radius:12px;background:#f3f8f5!important;font-size:34px;font-weight:700;color:#174d3c;box-sizing:border-box}.letter-slot.filled{border-style:solid;background:#e5f2e9!important;box-shadow:0 4px 0 #cfdfd4}@media(max-width:600px){.letter-slot{width:42px;height:52px;font-size:27px}#letter-answer,.pack-built.letter-slots{gap:6px}}
.wordsearch-sheet .wordsearch-logo{width:24mm;height:24mm;object-fit:contain}.wordsearch-grid{display:table!important;border-collapse:collapse;margin:8mm auto;width:auto;overflow:visible}.wordsearch-grid td{width:11mm;height:11mm;text-align:center;border:1px solid #597d6c;padding:0;font:700 17pt Arial;color:#173e32}.wordsearch-bank{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;font-size:14pt}.wordsearch-drawing{display:flex;gap:4mm;margin-top:6mm}.wordsearch-drawing>div{flex:1;height:39mm;border:1px solid #90bbaa;border-radius:3mm;padding:3mm;font-size:10pt}.solution-cell{background:#ffe582!important}.wordsearch-solution{max-width:186mm;margin:auto}.wordsearch-sheet{overflow:visible;height:273mm}@media print{.wordsearch-solution{display:none!important}.wordsearch-grid td{width:11mm;height:11mm}.a4-sheet{break-after:page}.a4-sheet:last-of-type{break-after:auto}}
.wordsearch-grid{margin:5mm auto}.wordsearch-grid td{width:9mm;height:9mm;font-size:15pt}.wordsearch-drawing>div{height:30mm}@media print{.wordsearch-grid td{width:9mm;height:9mm}}
.junior-sheet:not(.wordsearch-sheet) .sheet-questions>div{min-height:80px}.junior-sheet:not(.wordsearch-sheet) .sheet-questions b{font-size:13px}.junior-sheet:not(.wordsearch-sheet) h2{margin-top:9px;padding:6px 10px}
.junior-sheet:not(.wordsearch-sheet) .sheet-questions>div{min-height:70px;padding:7px}
/* Keep longer bilingual worksheets inside the A4 writing area. */
.junior-sheet:not(.wordsearch-sheet) .sheet-questions>div{padding:5px;min-height:64px}.junior-sheet:not(.wordsearch-sheet) .sheet-questions{gap:7px}.junior-sheet:not(.wordsearch-sheet) .sheet-word-box{padding:8px}.junior-sheet:not(.wordsearch-sheet) .sheet-words{gap:6px 20px;margin:7px 0}.junior-sheet:not(.wordsearch-sheet) .sheet-words>div{padding:3px 0}.junior-sheet:not(.wordsearch-sheet) h2{padding:5px 9px;margin:7px 0 5px}.junior-sheet:not(.wordsearch-sheet) .junior-read{padding:8px}.junior-sheet:not(.wordsearch-sheet) .recording-homework{padding:8px;margin-top:auto}
@media print{body{margin:0!important}main,.teacher-embed main{padding:0!important;margin:0!important;max-width:none!important}.a4-sheet{margin:0!important;box-shadow:none!important}section:has(>.a4-sheet){break-after:page}.a4-sheet{overflow:visible!important;break-inside:avoid;break-after:page}}
@media print{.a4-sheet,.junior-sheet,.wordsearch-sheet{height:270mm!important;min-height:270mm!important;width:186mm!important;margin:0!important;box-sizing:border-box!important}.a4-sheet{page-break-after:always}.a4-sheet:last-of-type{page-break-after:auto}}
.teacher-key-sheet .wordsearch-logo{width:20mm;height:20mm;object-fit:contain}.key-answers{display:grid;grid-template-columns:1fr 1fr;gap:4mm}.key-answers p{border-bottom:1px solid #d7e5df;padding:3mm}.teacher-key-sheet>p{font-size:12pt}.teacher-key-sheet{overflow:visible}

.sheet-heading .official-maxima-logo{width:18mm;height:17mm;display:block;flex-shrink:0}.wordsearch-sheet .sheet-heading .official-maxima-logo,.teacher-key-sheet .sheet-heading .official-maxima-logo{width:20mm;height:19mm}

.sheet-heading .maxima-logo{flex:0 0 18mm;width:18mm;min-width:18mm;height:17mm}.sheet-heading .maxima-logo .official-maxima-logo{width:18mm!important;height:17mm!important;display:block!important}

/* Four by four picture memory, including small screens. */
.pack-memory,.options.picture-memory-4x4{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:760px;margin:18px auto}.pack-memory button,.picture-memory-4x4 button{min-width:0;min-height:100px;padding:8px;font-size:clamp(14px,2.5vw,24px);overflow-wrap:anywhere}.pack-memory .book-word-art,.picture-memory-4x4 .book-word-art{max-width:100%;height:80px}@media(max-width:600px){.pack-memory,.options.picture-memory-4x4{gap:6px}.pack-memory button,.picture-memory-4x4 button{min-height:76px;padding:4px}.pack-memory .book-word-art,.picture-memory-4x4 .book-word-art{height:60px}}

/* Grade 1: two main A4 pages, with generous ruled writing spaces. */
.junior-sheet.grade1-sheet .sheet-questions{gap:5mm}.junior-sheet.grade1-sheet .sheet-questions>div{min-height:50mm;padding:4mm}.junior-sheet.grade1-sheet .sheet-questions b{font-size:16px}.junior-sheet.grade1-sheet .sheet-questions p{font-size:13px}.junior-sheet.grade1-sheet .junior-choices{font-size:15px;gap:2mm 4mm}.junior-sheet.grade1-sheet .junior-name{font-size:14px;padding:3mm}.junior-sheet.grade1-reading .junior-read{margin-top:auto;padding:5mm}.junior-sheet.grade1-writing .sheet-words{grid-template-columns:1fr 1fr;gap:4mm 7mm;margin:4mm 0}.junior-sheet.grade1-writing .sheet-words>div{display:block;min-height:24mm;padding:1mm 0}.junior-sheet.grade1-writing .sheet-words b{display:block;font-size:15px;margin-bottom:2mm}.junior-sheet.grade1-writing .handwriting-guide{display:block;width:100%;height:16mm;border-top:1px solid #b2c1b8;border-bottom:1.5px solid #547660;background:linear-gradient(to bottom,transparent calc(50% - .5px),#b2c1b8 calc(50% - .5px),#b2c1b8 calc(50% + .5px),transparent calc(50% + .5px));}.junior-sheet.grade1-writing .sentence-handwriting{height:auto;border:0;margin:4mm 0}.junior-sheet.grade1-writing .sentence-handwriting .handwriting-guide{height:13mm;margin-bottom:3mm}.junior-sheet.grade1-writing .junior-tokens span{font-size:17px;padding:2mm 3mm}.junior-sheet.grade1-writing .sheet-word-box{font-size:16px;padding:3mm}.junior-sheet.grade1-writing .junior-word-grid{gap:4mm}.junior-sheet.grade1-writing .junior-word{min-height:30mm}.wordsearch-print-choice{display:inline-flex;align-items:center;gap:8px;margin:8px;font-size:15px}@media print{body:not(.print-wordsearch) .optional-wordsearch{display:none!important}.junior-sheet.grade1-sheet .sheet-words{grid-template-columns:1fr 1fr!important}.junior-sheet.grade1-sheet .sheet-questions{gap:5mm!important}}

@media print{.grade1-writing,.teacher-key-sheet{break-after:auto!important;page-break-after:auto!important}body.print-wordsearch .grade1-writing,body.print-wordsearch .teacher-key-sheet{break-after:page!important;page-break-after:always!important}}
