.studio-topics{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.7rem;margin:1.2rem 0}.studio-topics a{display:block;border:1px solid #c5d4df;border-radius:12px;padding:1rem;text-decoration:none;background:#fff}.studio-topics a[aria-current=page]{border:2px solid #137c83;background:#eef9f7}.stage-nav{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}.stage-nav a{padding:.6rem;background:#eaf0f5;border-radius:8px}.learning-stage{scroll-margin-top:1rem;margin:1rem 0}.stage-number{color:#087778;font-weight:700;letter-spacing:.05em}.learning-check{margin:1rem 0;padding:1rem;border-left:3px solid #91bfc0;background:#f4f8fb}.learning-check input,.learning-check select{max-width:380px}.learning-feedback{white-space:normal}.learning-diagram{max-width:620px;margin:1rem 0}.learning-diagram svg{width:100%;height:auto;background:#fff;border:1px solid #c5d4df;border-radius:8px}.learning-diagram table{width:100%}.learning-diagram td,.learning-diagram th{padding:.4rem;text-align:left}.exam-toolbar{position:sticky;top:0;background:#fff;padding:1rem;border:1px solid #c5d4df;z-index:2;display:flex;gap:1rem;flex-wrap:wrap;align-items:center}.exam-question{break-inside:avoid;margin:1.5rem 0}.exam-question textarea{min-height:110px}.exam-question .answer{max-width:400px}.print-space{display:none}.print-only{display:none}.exam-review .solution{background:#eef8f5;padding:1rem}.exam-saved{color:#087778}.exam-selfmark{max-width:300px}.method-warning{padding:1rem;background:#fff3d9;border-left:3px solid #a9660b}.topic-review{display:flex;flex-wrap:wrap;gap:1rem}.paper-heading{margin:1rem 0}.paper-list article{display:flex;flex-direction:column}.paper-list article .actions{margin-top:auto}.studio-reflection{width:100%;min-height:120px}.learning-tutor{margin:1rem 0}.exam-question textarea:disabled{color:#25364a;background:#f3f5f7}@media print{header,footer,.skip,.no-print,.exam-toolbar,.stage-nav,.studio-topics,.actions,.exam-question input,.exam-question select,.exam-question textarea,.exam-help,.self-mark-form{display:none!important}main{max-width:none;padding:0;margin:0}body{background:#fff;color:#000;font:11pt Arial,sans-serif}.exam-question{box-shadow:none;border:none;border-bottom:1px solid #aaa;padding:12px 0}.print-space{display:block;height:90px;border-bottom:1px solid #bbb}.print-only{display:block}.learning-diagram{max-width:430px}.paper-heading h1{font-size:22pt}.solution{break-inside:avoid}.learning-check{background:white}.exam-answer-print{white-space:pre-wrap}.paper-heading{break-after:avoid}}

/* Keep substantial solutions readable without reducing the mathematical demand. */
.learning-stage ol{max-width:76ch;padding-left:1.6rem;line-height:1.75}
.learning-stage ol li{padding:.5rem .4rem;margin-bottom:.45rem;border-bottom:1px solid #dce8ee}
.alternative-method{margin:1.25rem 0;padding:1rem;background:#eef8f5;border-left:4px solid #137c83;border-radius:8px}
.alternative-method summary{font-weight:700;cursor:pointer}
.guided-context{padding:1rem;background:#edf3f9;border-left:4px solid #092b4c;line-height:1.7}
