/* Only Tutorials figures: remove browser figure gutters and permit read-only zoom. */
#thtt-root .tt-bank-prose figure,#thtt-root .tt-bank-options figure{margin:8px 0;max-width:100%}
#thtt-root .tt-bank-prose figure img,#thtt-root .tt-bank-options figure img{display:block;margin:0 auto}
#thtt-root .tt-bank-prose figcaption{font-size:12px;line-height:1.4;color:#62738b;margin-top:4px}
#thtt-root [data-thtt-media]{cursor:zoom-in}
#thtt-root [data-thtt-media]:focus-visible{outline:3px solid #137cac;outline-offset:3px}
#thtt-root .tt-media-hint{font-size:13px;line-height:1.5;color:#527082;margin:8px 0}
.thtt-media-viewer{box-sizing:border-box;width:min(1100px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:12px;border:1px solid #b6cad8;border-radius:8px;color:#17324d;background:#fff;font:16px/1.5 system-ui,sans-serif}
.thtt-media-viewer::backdrop{background:#102b46bf}
.thtt-media-viewer header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.thtt-media-viewer h2{font-size:18px;margin:0}
.thtt-media-viewer button{font:inherit;cursor:pointer;border:1px solid #a9c2d4;background:#f2f8fc;color:#17324d;border-radius:5px;padding:6px 12px;min-width:40px;min-height:40px}
.thtt-media-viewer button:disabled{opacity:.45;cursor:default}
.thtt-media-viewer button:focus-visible,.thtt-media-stage:focus-visible{outline:3px solid #137cac;outline-offset:2px}
.thtt-media-controls{display:flex;align-items:center;justify-content:center;gap:8px;margin:10px 0;flex-wrap:wrap}
.thtt-media-controls output{min-width:54px;text-align:center}
.thtt-media-stage{box-sizing:border-box;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y;max-height:calc(100dvh - 210px);min-height:100px;background:white;border:1px solid #e1e9ee;padding:10px}
.thtt-media-stage .thtt-media-content{display:block;max-width:none;height:auto;margin:0 auto}
.thtt-media-help{font-size:13px;color:#527082;margin:8px 0 0}
@media(max-width:760px){#thtt-root .tt-bank-prose img,#thtt-root .tt-bank-options img{max-height:none}.thtt-media-viewer{padding:10px}.thtt-media-viewer h2{font-size:16px}.thtt-media-viewer button{min-height:44px}}
