main.math{padding:2.1rem 0 4rem}
.math .crumb{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;font-size:.9rem}
.math h1{font-size:clamp(2.6rem,5.6vw,4.5rem);margin:1rem 0 .65rem}
.math .intro{margin:0 0 1.65rem;max-width:66ch}
.workbench{display:grid;grid-template-columns:minmax(14rem,1fr) minmax(0,2.55fr);gap:clamp(1rem,3vw,2.4rem);align-items:start}
.workbench h2{font-size:1.6rem;margin:0}
#settings{background:#e8eee2;border:1px solid #c5cfbf;border-radius:5px;padding:1.4rem;display:grid;gap:1rem}
#settings label{display:grid;gap:.25rem;font-weight:600}
.math select,.math button{font:inherit;padding:.55rem .75rem;border:1px solid #879b8d;border-radius:4px}
.math select{background:white;color:#203d33;width:100%;min-width:0}
.math button{background:#244a39;color:white;font-weight:600;cursor:pointer}
.math button.secondary{background:#fff;color:#203d33}.math button:disabled{opacity:.56;cursor:default}
.math :focus-visible{outline:3px solid #916120;outline-offset:3px}
#range-help,#status{font-size:.9rem;line-height:1.4;margin:0}
#range-help{margin-top:.35rem}
.math [hidden]{display:none!important}
.sheet-actions{display:flex;gap:.65rem;flex-wrap:wrap;margin:0 0 .75rem}
#sheet{background:#fff;border:1px solid #cbd2bd;padding:clamp(1rem,3vw,2.2rem)}
#sheet h2{font-size:clamp(2rem,4.2vw,3.15rem)}
#mode-label{color:#42604a;font-weight:650;margin:0 0 .45rem}
#sheet-info{margin:.6rem 0 1.1rem}
.identity{display:flex;gap:2rem;flex-wrap:wrap;border-block:1px solid #c4ccbf;padding:1rem 0;font-size:.95rem}.identity span{display:inline-block;width:8em;border-bottom:1px solid #788c7c}
#problems{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));list-style-position:inside;padding:0;gap:0 1.2rem;margin:1rem 0 0}
#problems li{font:1.2rem/1.5 Georgia,serif;padding:.95rem 0;break-inside:avoid}
#problems li::marker{font:normal .83rem system-ui;color:#516257}
.blank{display:inline-block;width:3em;border-bottom:1px solid #677567}
.solution{display:none}
.coordinate-grid{display:block;width:min(100%,12rem);margin:.45rem auto}
.coordinate-grid .grid-line{fill:none;stroke:#a5afa9;stroke-width:.55}
.coordinate-grid .axis{fill:none;stroke:#263b30;stroke-width:1.1}
.coordinate-grid text{fill:#263b30;font:6px system-ui}
.coordinate-grid .graph-solution{stroke:#122b1c;stroke-width:2.2}
#sheet[data-layout="proof"] #problems{display:block}
#sheet[data-layout="proof"] .blank{display:block;width:100%;min-height:4.5em}
@media(max-width:760px){.workbench{grid-template-columns:1fr}.identity{gap:.8rem}.math button{min-height:44px}}
@media(max-width:420px){#problems{grid-template-columns:1fr}}
@page{margin:.65in}
@media print{
 body{background:white;color:black}
 body>header,body>footer,.math>h1,.math>.crumb,.math>.intro,#settings,.sheet-actions,.jump{display:none!important}
 main.math,.workbench,.results,#sheet{display:block;width:auto;max-width:none;margin:0;border:0;padding:0}
 #sheet h2{font-size:22pt}#sheet-info,#mode-label,.identity{font-size:10pt}.identity{flex-wrap:nowrap}
 #problems{display:block;columns:2;column-gap:.4in}
 #problems li{font-size:14pt;padding:.14in 0}
 .print-key .solution{display:inline}.print-key .blank,.print-key .identity{display:none}
 #sheet[data-layout="proof"] #problems{columns:auto}
 .print-key #sheet[data-layout="proof"] .blank{display:none}
 .coordinate-grid{width:1.6in}
 .print-key #problems{columns:auto}
 .print-key #problems > li{font-size:12pt;padding:.10in 0;line-height:1.35}
 .print-key #problems .worked-solution{display:block;margin:.05in 0 0 .2in}
 .worked-solution p{margin:0 0 .03in;font:normal 11pt/1.35 Georgia,serif}
 .worked-solution strong{font-weight:700}
}
