/* Dimensions measured from the supplied June 2025 4MB1 question papers. */
.print-route{background:#e6e9e7!important;color:#111!important}.print-route.tutor-visible{overflow:auto}.print-route .skip{display:none}.print-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:210mm;margin:20px auto;font:14px Arial,sans-serif;padding:0 16px}.print-toolbar a,.print-toolbar button{display:flex;align-items:center;gap:8px;min-height:44px}.print-toolbar button{padding:10px 18px;background:#126b53;color:#fff;border-radius:5px}.print-toolbar>span{font-size:13px;text-align:center}
.print-booklet{width:210mm;max-width:none;margin:0 auto;background:transparent;color:#111;font-family:'Times New Roman',Times,serif;font-size:12pt;line-height:1.25;letter-spacing:0}.exam-sheet{position:relative;width:210mm;height:297mm;box-sizing:border-box;background:#fff;margin:0 0 8mm;overflow:hidden;box-shadow:0 2px 12px #0002;break-after:page;page-break-after:always}.exam-sheet:last-child{break-after:auto;page-break-after:auto}.exam-sheet *{box-sizing:border-box}.exam-sheet h1,.exam-sheet h2,.exam-sheet p{margin:0;letter-spacing:0;text-wrap:initial}.exam-sheet p{line-height:inherit}.exam-sheet .math-inline{overflow:visible;max-width:none;vertical-align:baseline}.exam-sheet .katex{font-size:1em;color:#111}.exam-sheet .math-display{padding:0;overflow:visible}.exam-sheet .katex-display{margin:3mm 0;overflow:visible}.exam-sheet .katex .base{white-space:nowrap}
.candidate-panel{position:absolute;left:34mm;top:13mm;width:154.5mm;height:123mm;border:.7mm solid #777;border-radius:3mm;padding:5mm;font-family:Arial,Helvetica,sans-serif}.candidate-check{position:absolute;top:1mm;left:4mm;right:4mm;text-align:center;font-size:7.2pt;font-weight:600;white-space:nowrap}.candidate-names{position:absolute;left:5mm;right:5mm;top:5.5mm;height:11mm;border:.7mm solid #777;border-radius:3mm;display:grid;grid-template-columns:61% 39%;overflow:hidden}.candidate-names label{font:8pt Arial,sans-serif;padding:1mm 2mm}.candidate-names label+label{border-left:.7mm solid #777}.candidate-numbers{display:flex;gap:3mm;position:absolute;left:6mm;top:17mm;font-size:10pt}.digit-boxes{display:flex;border:.7mm solid #777;border-radius:1mm;height:10mm;margin-top:1mm;overflow:hidden}.digit-boxes span{width:8.5mm;border-right:.7mm solid #777}.digit-boxes span:last-child{border:0}.qualification-name{position:absolute;left:5mm;top:34mm;font-size:18pt;line-height:1.2;font-weight:700}.mock-date{position:absolute;left:5mm;right:5mm;top:44mm;height:11mm;border:.7mm solid #777;border-radius:3mm;font-size:18pt;font-weight:700;padding:1mm 2mm;display:flex;align-items:center;justify-content:space-between}.mock-date span{font-size:12pt}.paper-timing{position:absolute;left:5mm;right:5mm;top:57mm;height:11mm;display:flex;align-items:center;justify-content:space-between;font-size:10.5pt}.paper-reference{display:flex;width:75mm;height:11mm;background:#595959;color:white;border-radius:0 3mm 0 0;overflow:hidden;border:.7mm solid #777}.paper-reference b{background:white;color:#222;padding:.5mm 1.5mm;font-size:10pt;line-height:1.05;width:23mm}.paper-reference strong{font-size:26pt;line-height:1;flex:1;text-align:center;padding-top:.6mm}.subject-box{position:absolute;left:5mm;right:5mm;top:67.5mm;height:33.5mm;border:.7mm solid #777;border-radius:0 0 3mm 3mm;padding:1mm 3mm}.subject-box h1{font:700 23pt Arial,sans-serif;line-height:1.2}.subject-box h2{font:700 16pt Arial,sans-serif;margin-top:1mm}.calculator-mark{position:absolute;right:3mm;bottom:3mm;transform:rotate(12deg);color:#555}.calculator-mark svg{width:19mm;height:24mm;stroke-width:1}.equipment-row{position:absolute;left:5mm;right:5mm;top:104mm;height:16.5mm;display:flex;gap:2mm}.equipment-row>p{border:.7mm solid #777;border-radius:3mm;padding:1mm 2mm;font:10.2pt Arial,sans-serif;line-height:1.15;width:122mm}.equipment-row>label{border:.7mm solid #777;border-radius:3mm;flex:1;text-align:center;padding-top:1mm;font:8pt Arial,sans-serif}
.exam-instructions{position:absolute;left:34mm;top:141mm;width:154.5mm;font:11pt Arial,Helvetica,sans-serif;line-height:1.16}.exam-instructions h2{font:600 13pt Arial,sans-serif;margin-bottom:2mm}.exam-instructions ul{padding-left:5mm;margin:0 0 5mm}.exam-instructions li{padding-left:0;margin:0;line-height:1.16}.cover-unofficial{position:absolute;left:34mm;top:245mm;font:9pt Arial,sans-serif;width:154mm}.exam-footer{position:absolute;left:12mm;right:12mm;bottom:7mm;display:flex;align-items:center;justify-content:space-between;gap:4mm;font:9pt Arial,sans-serif;height:6mm}.exam-footer>span:nth-child(2){font:7pt Arial,sans-serif}.exam-footer>b:last-child{font-style:italic}.exam-cover .exam-footer{bottom:13mm}.exam-cover .exam-footer>span:first-child{font-size:18pt}.exam-cover .exam-footer>b{position:absolute;right:2mm;bottom:13mm;font-size:11pt}.exam-footer b>span{font-size:9pt;color:#aaa;margin-left:2mm}
.exam-page-frame{position:absolute;left:12mm;right:12mm;top:13mm;bottom:17mm;border:.65mm solid #aaa;border-radius:3mm;padding:8mm 2.5mm 3mm;display:flex;flex-direction:column}.exam-sheet.even .exam-page-frame{right:12mm;left:12mm}.exam-sheet.odd .exam-page-frame{left:12mm;right:12mm}.exam-gutter{position:absolute;top:13mm;bottom:17mm;width:8mm;right:2mm;background:repeating-linear-gradient(45deg,#fff 0,#fff .5mm,#e5e5e5 .5mm,#e5e5e5 .7mm);display:flex;flex-direction:column;justify-content:space-around;align-items:center;overflow:hidden}.exam-sheet.odd .exam-gutter{right:auto;left:2mm}.exam-gutter span{writing-mode:vertical-rl;font:700 10pt Arial,sans-serif;color:#888;white-space:nowrap}.exam-opening{font-weight:700;text-align:center;font-size:12pt;margin-bottom:9mm;flex:none}.exam-opening p{margin-bottom:4mm}.exam-opening p:last-child{margin-bottom:0}.exam-continuation{font-weight:700;font-size:12pt;margin-bottom:6mm!important;flex:none}
.print-staging{position:absolute;left:-10000px;top:0;width:180mm;visibility:hidden}.print-booklet .print-question{border:0;border-radius:0;margin:0;padding:0 0 2mm;display:flex;flex-direction:column;flex:none;width:100%;break-inside:avoid;page-break-inside:avoid;font:12pt 'Times New Roman',Times,serif;color:#111}.print-booklet .print-question+.print-question{border-top:.3mm solid #aaa;padding-top:6mm}.print-booklet .print-part{margin:0;padding-left:0}.exam-prompt{display:flex;align-items:baseline;gap:0;line-height:1.35;flex:none}.exam-question-number{width:6.5mm;flex:none}.exam-part-label{width:7mm;flex:none}.exam-prompt>div{min-width:0;flex:1;white-space:pre-line}.exam-working{min-height:0;margin:5mm 0 3mm;flex:none}.exam-working.ruled{background-image:radial-gradient(circle,#aaa .15mm,transparent .2mm);background-size:1mm 10mm;background-position:0 9.7mm}.exam-answer-line{width:40mm;height:3mm;border-bottom:.25mm dotted #888;margin:0 0 4mm auto;flex:none}.exam-part-marks{text-align:right;color:#666;line-height:1;margin-bottom:3mm!important;padding-right:2mm;flex:none}.exam-question-total{font-weight:700;text-align:right;padding-right:14mm;line-height:1.2;flex:none}.exam-paper-total{text-align:right;font-weight:700;margin-top:3mm!important;padding-right:14mm;flex:none}.exam-question-graph{height:45mm;max-width:110mm;margin:4mm auto 0;width:100%;flex:none}.exam-question-graph svg{height:100%;width:100%}.exam-question-graph .plot-line{stroke:#111}.exam-question-graph .plot-fill{fill:#ddd;stroke:#111}.exam-question-graph .plot-grid line{stroke:#ddd}.exam-question-graph .plot-axis,.exam-question-graph .plot-label{fill:#111;color:#111}.exam-question-graph .plot-label-bg{fill:#fff;stroke:#aaa}
@media screen and (max-width:800px){.print-toolbar{flex-wrap:wrap}.print-toolbar>span{order:3;width:100%;text-align:left}.print-booklet[data-paginated]{width:calc(100vw - 24px)}.print-booklet[data-paginated]>.exam-sheet{zoom:var(--paper-preview-scale)}}
.exam-instructions{line-height:1.2}.exam-instructions li{line-height:1.2}.exam-instructions ul{margin-bottom:6mm}.exam-instructions li::marker{font-size:14pt}
.cover-unofficial{top:258mm}.exam-question-graph .plot-dot{fill:#111;stroke:#fff}
.print-booklet .print-part[data-part]:not([data-part="a"]){border-top:0;padding-top:6mm}.exam-page-frame>.print-question:last-of-type{border-bottom:.3mm solid #aaa}
@media print{
 @page{size:A4 portrait;margin:0;@bottom-center{content:none}}
 html,body.print-route{margin:0!important;padding:0!important;background:white!important;min-width:0!important;font-family:'Times New Roman',Times,serif}
 .print-toolbar,.skip,#toast{display:none!important}.print-booklet{margin:0;width:210mm}.exam-sheet{margin:0;box-shadow:none;zoom:1;print-color-adjust:exact;-webkit-print-color-adjust:exact}.exam-sheet:last-child{break-after:auto;page-break-after:auto}.print-booklet details{display:block!important}
}
