/* Actual Pilot12 task-neutral style, reused by request. */

:root{--ink:#183149;--paper:#fffdf7;--canvas:#f1eadf;--navy:#163b59;--teal:#1f756d;--rust:#a4492f}*{box-sizing:border-box}html{overflow-anchor:none}body{margin:0;background:var(--canvas);color:var(--ink);font:18px/1.6 Georgia,"Palatino Linotype",serif}main,.hero-inner,.controls-inner{max-width:980px;margin:auto}main{padding:0 24px 24px}.hero{background:var(--navy);color:#fffdf7;padding:36px 24px 30px}.eyebrow{font:700 13px/1.5 "Segoe UI",sans-serif;letter-spacing:.12em;text-transform:uppercase}.hero h1{font-size:clamp(2rem,5vw,3.4rem);line-height:1.1;margin:12px 0}.hero p{max-width:770px;margin:12px 0}.status-note{font:14px/1.5 "Segoe UI",sans-serif;opacity:.9}.screen-controls{position:sticky;top:0;z-index:5;background:#fffdf7f5;border-bottom:1px solid #d9cebd;padding:10px 20px}.controls-inner{display:flex;flex-wrap:wrap;gap:7px}button{font:600 14px/1.3 "Segoe UI",sans-serif;padding:8px 10px;border:1px solid #9fafb6;border-radius:8px;background:white;color:var(--navy);cursor:pointer}button[aria-pressed=true]{background:var(--navy);color:white}button:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid #b35330;outline-offset:3px}.theory,.task-card{background:var(--paper);border:1px solid #d7cab9;border-radius:20px;padding:23px;margin:24px 0;box-shadow:0 5px 18px #1831490b}.theory>summary{font-weight:bold;font-size:1.35rem;cursor:pointer}.theory p{margin:14px 0}.part-title{font-size:1.45rem;margin:32px 0 12px}.task-card h2{font-size:1.3rem;margin:0 0 14px}.task-prompt{padding:14px 18px;background:linear-gradient(120deg,#f7eedb,#f8f5ed);border-radius:12px}.task-prompt p:first-child{margin-top:0}.task-prompt p:last-child{margin-bottom:0}.answer-label{display:block;font:600 14px "Segoe UI",sans-serif;margin:16px 0 6px}textarea{width:100%;resize:vertical;min-height:62px;border:1px solid #acb8bb;border-radius:8px;background:#fff;font:18px Georgia;padding:8px}.aux-card{border:1px solid #b8cac9;border-radius:10px;margin-top:10px;overflow:hidden}.aux-card>summary{min-height:42px;padding:9px 13px;font:600 15px/1.5 "Segoe UI",sans-serif;cursor:pointer;background:#e4f0ec}.aux-body{padding:0 15px;background:#ffffff90}.aux-body p,.aux-body ol{margin:12px 0}.algorithm>summary{background:#e4edf5}.answer>summary{background:#f6e5dc}.solution>summary{background:#f5edcd}.check>summary{background:#e6efdd}.mistake>summary{background:#f5e2e4}.strategy>summary{background:#e6e9f5}.grading>summary{background:#f4e7cc}table{border-collapse:collapse;width:100%;margin:12px 0;font-size:.95em}th,td{padding:7px 10px;border:1px solid #a9b5b5;text-align:center}th:first-child{text-align:left}.table-wrap{max-width:100%;overflow:auto}math{font-family:"Cambria Math","STIX Two Math",serif;font-size:1.08em;vertical-align:baseline}p,li{overflow-wrap:break-word}.end-buffer{height:52vh}.paper-answer,.answer-sheet,.print-note{display:none}footer{font:14px/1.5 "Segoe UI",sans-serif;margin:24px 0}a{color:#226a81}.mode-full .print-note{display:block}.mode-student .aux-card{display:none}.mode-sheet .hero,.mode-sheet .screen-controls,.mode-sheet main{display:none}.mode-sheet .answer-sheet{display:block;max-width:760px;margin:25px auto}.sheet-row{height:86px;border:1px solid #9bacb2;border-radius:8px;margin:9px 0;padding:8px 12px;font:600 14px "Segoe UI",sans-serif}.sheet-row span{display:block;border-bottom:1px dotted #8c999f;height:35px}.answer-sheet h1{font-size:26px;margin:0 0 5px}.answer-sheet p{font-size:14px;margin:0 0 12px}
@media(max-width:600px){body{font-size:17px}main{padding:0 12px}.hero{padding:24px 16px}.screen-controls{padding:7px 10px}.controls-inner{gap:5px}button{font-size:12px;padding:7px}.task-card,.theory{padding:15px;border-radius:15px}.task-prompt{padding:12px}th,td{padding:5px 6px}.task-card h2{font-size:1.15rem}}
@page{size:A4;margin:13mm 12mm 14mm}@media print{body{background:white;font-size:10pt;line-height:1.42;color:#172c3e}main{max-width:none;padding:0}.hero{padding:0 0 12px;background:white;color:#172c3e}.hero h1{font-size:25pt}.hero p{margin:7px 0}.eyebrow{font-size:9pt}.status-note{font-size:9pt}.screen-controls,textarea,.end-buffer,footer{display:none!important}.theory{padding:12px;margin:12px 0 0;border-radius:10px;box-shadow:none;break-after:page}.theory>summary{font-size:14pt;list-style:none}.theory p{margin:10px 0}.task-card{break-before:page;break-inside:avoid;margin:0;padding:12px;border-radius:12px;box-shadow:none}.part-title{font-size:14pt;margin:0 0 12px;break-after:avoid}.part-title+.task-card{break-before:auto}.task-card h2{font-size:13pt;margin:0 0 10px}.task-prompt{padding:10px 12px}.answer-label{font-size:9pt;margin-top:10px}.paper-answer{display:block;height:28px;border-bottom:1px dotted #788b92;margin-bottom:12px}.aux-card{margin-top:6px;break-inside:avoid;border-radius:7px}.aux-card>summary{font-size:9pt;line-height:1.3;min-height:0;padding:6px 10px;list-style:none}.aux-body{padding:0 11px}.aux-body p,.aux-body ol{margin:7px 0}.aux-body ol{padding-left:18px}table{font-size:9.5pt}th,td{padding:5px 7px}.print-note{display:block;font-weight:bold}.mode-student .task-card{break-before:auto;margin-bottom:16px}.mode-student .paper-answer{height:54px}.mode-student .part-title{break-before:page}.mode-student .theory{break-after:auto}.mode-student .print-note{display:none}.mode-sheet .answer-sheet{margin:0;max-width:none}.mode-sheet .sheet-row{height:25mm;margin:3mm 0;padding:2mm 4mm}.mode-sheet .sheet-row span{height:15mm}.mode-sheet .answer-sheet h1{font-size:19pt}.mode-sheet .answer-sheet p{font-size:10pt}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

.screen-intro{display:block}.paper-intro{display:none}.coefficient-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.work-area{min-height:100px}input{width:100%;min-height:44px;border:1px solid #acb8bb;border-radius:8px;padding:8px;font:18px Georgia;background:white}input:focus-visible{outline:3px solid #b35330;outline-offset:3px}.options li{padding:3px 0}.sheet-fields{display:flex;gap:20px}.sheet-fields label{flex:1}.mode-student .screen-intro{display:none}.mode-student .paper-intro{display:block}
@media print{input,.screen-intro{display:none!important}.paper-intro{display:block}.mode-full .paper-intro{display:none}.mode-student .theory{break-after:page}.mode-student .part-title{break-before:auto}.mode-student .task-card{break-inside:avoid}.work-paper{display:block;height:35mm;background:repeating-linear-gradient(to bottom,transparent 0,transparent 8mm,#d4dcdf 8mm,#d4dcdf 8.2mm)}.mode-full .work-paper,.mode-full .paper-answer,.mode-full .answer-label{display:none}.mode-sheet .sheet-row{height:25mm}.sheet-fields{display:flex}.sheet-fields span{height:10mm!important}.mode-sheet .sheet-row>span{height:12mm}.mode-full .theory{break-after:page}.mode-full .part-title{break-before:page}.mode-full .task-card{break-inside:auto}.mode-full .aux-card{break-inside:avoid}}

@media print{.theory p{margin:8px 0}.theory h3{margin:12px 0 8px}}
@media print{.theory{break-inside:auto}.theory h3{break-after:avoid}.mode-full .aux-body p{orphans:2;widows:2}}@media print{.hero h1{font-size:22pt;margin:5px 0}.hero{padding-bottom:6px}.theory p{margin:6px 0}.theory h3{margin:8px 0 5px}}
@media print{.theory h3{break-after:avoid}.theory p{orphans:3;widows:3}.mode-full .aux-card{break-inside:auto}.aux-card>summary{break-after:avoid}.aux-body p,.aux-body li{orphans:2;widows:2}.table-wrap{overflow:visible}thead{display:table-header-group}tr{break-inside:avoid}.aux-body table{break-inside:auto}.aux-body h3{break-after:avoid}.mode-full .task-card{break-before:page}.mode-full .part-title+.task-card{break-before:auto}}
@media(max-width:600px){.table-wrap table{font-size:12px}.table-wrap th,.table-wrap td{padding:4px 3px}.table-wrap th{overflow-wrap:anywhere}}
@media print{.theory p{margin:4px 0;line-height:1.35}.theory h3{margin-top:7px;margin-bottom:4px}.mode-full .aux-body p{margin:5px 0}.mode-full .aux-card{margin-top:6px}.mode-full th,.mode-full td{padding:4px 6px}}
@media print{.mode-full{line-height:1.35}.mode-full .aux-card>summary{padding:4px 10px}.mode-full .aux-body p,.mode-full .aux-body ol{margin:4px 0}.mode-full th,.mode-full td{padding:3px 6px}.mode-full .task-prompt{padding:8px 10px}.mode-full .aux-card.grading{break-inside:avoid}}

@media print{.theory p{break-inside:avoid}}
@media print{.mode-sheet .sheet-row:nth-of-type(8),.mode-sheet .sheet-row:nth-of-type(15),.mode-sheet .sheet-row:nth-of-type(22),.mode-sheet .sheet-row:nth-of-type(29){break-before:page}}.global-topics-link{float:right;font:14px/1.5 Arial,sans-serif;margin-left:18px;color:#18576b;text-decoration:underline}@media print{.global-topics-link{display:none}}
