/* Keep the actual screenshot uncropped and preserve the page's shared grid. */
.academic-page .online-real-lesson .math-whiteboard-crop{display:block;aspect-ratio:1286 / 776;background:#f0f7fd}
.academic-page .math-whiteboard-crop img{display:block;width:100%;height:auto;object-fit:contain}
.academic-page .online-real-lesson{align-self:start}
.math-whiteboard-dialog{box-sizing:border-box;max-width:calc(100% - 24px);width:min(1120px,calc(100% - 32px))}
.math-whiteboard-dialog .online-worksheet-dialog-bar{align-items:flex-start;gap:16px}
.math-whiteboard-dialog .online-worksheet-dialog-bar h2{line-height:1.3;word-spacing:.035em}
.math-whiteboard-dialog .online-worksheet-close{flex-shrink:0;min-height:44px}
.math-whiteboard-zoom{overflow:auto;max-height:70vh;border-radius:12px;background:#f0f7fd;overscroll-behavior:contain}
.math-whiteboard-zoom img{display:block;width:100%;height:auto;max-width:none}
.math-whiteboard-zoom:focus-visible{outline:3px solid #638dc4;outline-offset:3px}
.math-whiteboard-dialog .math-whiteboard-hint{display:none}
@media(max-width:760px){.math-whiteboard-zoom img{width:900px}.math-whiteboard-dialog .math-whiteboard-hint{display:block;margin:0 0 14px;font:400 14px/1.5 'DM Sans',sans-serif}.math-whiteboard-dialog .online-worksheet-dialog-bar h2{font-size:21px}.math-whiteboard-dialog{padding:16px}}
