.worksheet-space{padding:2rem 1.25rem 3rem;min-width:0}.worksheet-space #worksheet-title:focus{outline:none}.worksheet-intro{max-width:48rem;font-size:1.05rem;line-height:1.65}.worksheet-mode-grid,.ready-sheet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.5rem 0}.worksheet-mode-card{display:flex;flex-direction:column;align-items:flex-start;gap:.75rem;text-align:left;padding:1.5rem;min-height:10rem}.worksheet-mode-card strong{font-size:1.3rem;font-weight:600}.worksheet-mode-card span{font-size:1rem;line-height:1.6;color:var(--muted)}.worksheet-mode-nav{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.5rem}.worksheet-mode-nav strong{font-weight:500}.worksheet-mode-nav .button{min-height:44px}.ready-sheet-card{border:1px solid var(--line);border-radius:6px;padding:1.25rem;display:flex;flex-direction:column;align-items:flex-start;min-width:0}.ready-sheet-card h2{font-size:1.2rem;line-height:1.5;margin:.4rem 0}.ready-sheet-card>p:not(.eyebrow){line-height:1.6;flex:1}.ready-sheet-card .button{width:100%;min-height:44px;font-size:1rem;white-space:normal}.ready-filters{max-width:42rem}.ready-level-description{min-height:3rem}.worksheet-options select{max-width:100%}.worksheet-sprite-option{display:flex;align-items:center;gap:.65rem;font-size:1rem;min-height:44px;margin:.75rem 0}.worksheet-sprite-option input{width:1.2rem;height:1.2rem;flex-shrink:0}.worksheet-options .worksheet-sprite-option{flex-direction:row;align-self:end}.worksheet-sheet-footer{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;border-top:1px solid #aaa;padding-top:.5rem;margin-top:1.25rem;break-inside:avoid;font-size:.75rem;color:#444}.worksheet-corner-sprite{display:block;object-fit:contain;image-rendering:pixelated;filter:grayscale(1);width:40px;height:60px;flex-shrink:0}.worksheet-set-code{font-size:.875rem;color:#454545}.ready-example{border:1px solid #aaa;border-left:4px solid #555;border-radius:4px;padding:.9rem 1.1rem;margin:1.25rem 0;break-inside:avoid}.ready-example h3{font-size:1rem;margin:0 0 .5rem}.ready-example p,.ready-example ol{margin:.45rem 0}.ready-example ol{padding-left:1.25rem}.ready-example li{padding:.15rem 0}.ready-instruction{line-height:1.6}.worksheet-support{font-size:.875rem;color:#454545;border-left:2px solid #aaa;padding-left:.6rem}.worksheet-question-sheet.ws-format-grid .worksheet-questions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem 1.5rem;list-style-position:outside}.worksheet-question-sheet.ws-format-grid .worksheet-questions>li{padding:.6rem .3rem 1rem;border-top:1px solid #aaa;min-width:0}.ws-format-spacious .worksheet-working{height:8rem}.ws-format-grid .worksheet-working{height:4rem}.worksheet-questions>li,.worksheet-answers>li{min-width:0}.worksheet-question-sheet .math{max-width:100%}.worksheet-preview .worksheet-expression{max-width:100%;overflow-x:auto}.ready-numberline{width:340px;max-width:100%;margin:.5rem 0}.worksheet-design-notes{border-top:1px solid var(--line);padding-top:1rem;margin-top:2rem;font-size:.95rem;line-height:1.6}.worksheet-design-notes summary{cursor:pointer;min-height:44px;padding:.5rem 0}.worksheet-design-notes a{text-decoration:underline}.worksheet-design-notes li{padding:.3rem 0}
@media(max-width:640px){.worksheet-mode-grid,.ready-sheet-grid{grid-template-columns:minmax(0,1fr)}.worksheet-mode-card{min-height:0;padding:1.25rem}.worksheet-space{padding:1.5rem 1rem 2.5rem}.worksheet-question-sheet.ws-format-grid .worksheet-questions{display:block}.worksheet-preview{padding:1rem}.worksheet-options label{flex-basis:12rem}.worksheet-questions{padding-left:1.25rem}.worksheet-space .beta-heading h1{font-size:1.5rem}.worksheet-mode-nav .button{flex:1 1 auto}.ready-example{padding:.75rem}.worksheet-corner-sprite{width:32px;height:48px}}
@media print{body[data-worksheet-print] .worksheet-space{padding:0!important;max-width:none}body[data-worksheet-print] .worksheet-preview{font-size:11pt;line-height:1.45}body[data-worksheet-print] .worksheet-question-sheet.ws-format-grid .worksheet-questions{display:block;columns:2;column-gap:8mm}body[data-worksheet-print] .worksheet-question-sheet.ws-format-grid .worksheet-questions>li{break-inside:avoid;padding:3mm 1mm 4mm;margin-left:5mm}body[data-worksheet-print] .worksheet-working{height:16mm}body[data-worksheet-print] .ws-format-spacious .worksheet-working{height:32mm}body[data-worksheet-print] .ready-example{padding:4mm;margin:4mm 0;break-inside:avoid}body[data-worksheet-print] .worksheet-name{margin:5mm 0}body[data-worksheet-print] .worksheet-sheet-heading h2{font-size:17pt}body[data-worksheet-print] .worksheet-sheet-footer{margin-top:4mm;font-size:8pt}body[data-worksheet-print] .worksheet-corner-sprite{width:9mm;height:13.5mm}body[data-worksheet-print] .worksheet-support{font-size:9pt}body[data-worksheet-print] .worksheet-expression .katex{font-size:1.05em}}
