.worksheet-tools{display:flex;flex-wrap:wrap;gap:.65rem;align-items:center;margin:1rem 0}.worksheet-tools button,.worksheet-tools select,.worksheet-tools input{min-height:46px;font-size:1rem}.worksheet-tools label{display:flex;gap:.4rem;align-items:center}.worksheet-tools input[type=text]{width:min(18rem,100%)}.worksheet-scroll{max-height:75vh;overflow:auto;background:#e8e1f5;padding:8px;border-radius:16px;border:2px solid #cbbdec}.worksheet-paper{display:block;width:100%;height:auto;background:white;touch-action:none;cursor:crosshair}.worksheet-paper.zoomed{width:900px;max-width:none}.worksheet-paper.move-mode{touch-action:pan-x pan-y;cursor:grab}#worksheet-practice{margin:2rem 0;padding:clamp(12px,3vw,28px);background:#faf7ff;border:2px solid #d6c9f0;border-radius:24px}#worksheet-practice[hidden]{display:none}.worksheet-tools [aria-pressed=true]{background:#6543d6;color:white}.worksheet-tools input:focus,.worksheet-tools button:focus-visible{outline:3px solid #f3c642;outline-offset:3px}@media(max-width:600px){.worksheet-tools{gap:.45rem}.worksheet-tools .plain-button{padding:.65rem .8rem}.worksheet-scroll{max-height:68vh}}
.worksheet-paper.zoomed{width:150%;min-width:900px;max-width:none}.worksheet-scroll{min-width:0;max-width:100%}#worksheet-text{font-size:1.1rem;min-height:46px;max-width:100%}
