.in-game #worksheet{min-height:0;height:100%;display:flex;flex-direction:column;gap:7px;background:#fff;border:1px solid #e1e6d8;border-radius:20px;padding:10px 12px;overflow:hidden}
.worksheet-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}
.worksheet-heading h3{font-family:inherit;font-weight:600;font-size:clamp(16px,1.5vw,24px);line-height:1.3;margin:0;max-width:calc(100% - 180px)}
.worksheet-actions{display:flex;gap:7px;flex-shrink:0}.worksheet-actions button,.worksheet-tools button,.worksheet-bottom button{font-size:13px;padding:6px 11px}
.worksheet-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap;flex-shrink:0}.worksheet-tools [aria-pressed=true]{background:#e6efde;border-color:#8ba775}.worksheet-color{display:flex;gap:5px;align-items:center;font-size:13px}.worksheet-color select{font:inherit;border:1px solid #ccd7c4;background:#fff;border-radius:6px;padding:5px}
.worksheet-viewport{flex:1;min-height:0;min-width:0;width:100%;overflow:auto;position:relative;overscroll-behavior:contain}.worksheet-page{position:relative;margin:auto;max-width:none;background:white;flex-shrink:0}.worksheet-page>img{display:block;width:100%;height:100%;user-select:none;pointer-events:none}.worksheet-page>canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none}.worksheet-page #worksheet-hotspots{position:absolute;inset:0;pointer-events:none}
.worksheet-position{position:absolute;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));pointer-events:auto}.worksheet-position button{padding:0;border:1px solid #7b9275;background:rgba(255,255,255,.9);cursor:pointer;display:flex;align-items:center;justify-content:center}.worksheet-position button span{width:55%;height:66%;border-radius:50%}.worksheet-position button.correct span{background:#d62938}.worksheet-position button.try:not(.correct){background:#fff1d7}.worksheet-position button:hover:not(:disabled){background:#edf5e5}.worksheet-position button:focus-visible{outline:3px solid #588867;outline-offset:2px;z-index:1}.worksheet-position button:disabled{opacity:1;cursor:default}
.worksheet-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px;flex-shrink:0}.worksheet-bottom p{font-size:15px;color:#476b40;margin:0;max-height:70px;overflow:auto}.worksheet-bottom>div{display:flex;gap:7px;flex-shrink:0}.worksheet-bottom [aria-pressed=true]{background:#e6efde}.worksheet-heading .outline:focus-visible,.worksheet-tools .outline:focus-visible{outline:3px solid #588867;outline-offset:2px}
@media(max-width:750px){.in-game #worksheet{padding:7px;gap:5px}.worksheet-heading h3{font-size:15px;max-width:calc(100% - 126px)}.worksheet-actions{gap:4px}.worksheet-actions button,.worksheet-tools button,.worksheet-bottom button{font-size:11px;padding:5px 7px}.worksheet-tools{gap:4px}.worksheet-color{font-size:11px}.worksheet-bottom{align-items:flex-start;min-height:30px}.worksheet-bottom p{font-size:12px}.worksheet-bottom>div{gap:4px}}
