.explorable-controls{padding:18px 20px;border-top:1px solid #dce3ec;background:#f6f9fd;display:grid;gap:14px}.explorable-controls label{font-size:.88rem;font-weight:700;color:#17365f;display:block}.explorable-controls input[type=range]{display:block;width:100%;margin:9px 0 0;accent-color:#2864d7}.explorable-controls output{color:#2864d7;font-variant-numeric:tabular-nums}.explorable-note{font-size:.87rem;line-height:1.65;color:#526174;margin:0!important;text-align:left!important}.explorable-presets,.photo-tools{display:flex;gap:8px;flex-wrap:wrap}.explorable-controls button,.photo-tools button,.photo-dialog button{border:1px solid #a9bfd8;background:#fff;color:#17365f;border-radius:5px;padding:9px 13px;font:inherit;font-size:.82rem;cursor:pointer;min-height:42px}.explorable-controls button:hover,.photo-tools button:hover{background:#e6effa}.explorable-controls button:focus-visible,.photo-tools button:focus-visible,.photo-dialog button:focus-visible{outline:3px solid #2864d7;outline-offset:3px}.lesson-explorable>svg{display:block;width:100%;background:#edf3f9}.lesson-photo .photo-tools{padding:12px 18px;background:#f2f6fb;border-top:1px solid #dce3ec;align-items:center}.photo-tools span{font-size:.77rem;color:#526174}.photo-reading{padding:0 18px 15px;color:#526174;font-size:.84rem;line-height:1.7}.photo-reading summary{color:#17365f;font-weight:700;cursor:pointer}.photo-reading ul{padding-left:20px;margin-top:9px}.photo-reading li+li{margin-top:7px}.photo-dialog{width:min(1100px,94vw);max-height:94vh;max-height:94dvh;border:1px solid #a9bfd8;border-radius:10px;padding:0;background:#071524;color:#edf3f9}.photo-dialog::backdrop{background:rgba(2,10,20,.85)}.photo-dialog-header{padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:#11253d}.photo-dialog-header h2{font-size:1.08rem;color:white;line-height:1.4;margin:0}.photo-dialog-tools{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:10px 18px;background:#11253d}.photo-dialog-tools output{font-size:.8rem;min-width:42px;color:white}.photo-dialog-stage{height:58vh;height:58dvh;overflow:hidden;display:grid;place-items:center;touch-action:none;cursor:grab;position:relative}.photo-dialog-stage.dragging{cursor:grabbing}.photo-dialog-stage img{width:100%;height:100%;object-fit:contain;max-height:none;will-change:transform;user-select:none;-webkit-user-drag:none;transform-origin:center}.photo-dialog-caption{font-size:.8rem;line-height:1.6;padding:14px 18px;max-height:130px;overflow:auto;background:#11253d}.photo-dialog-caption a{color:#a9d5ff;text-decoration:underline}.explorable-controls .control-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}@media(max-width:600px){.explorable-controls{padding:15px}.explorable-controls .control-grid{grid-template-columns:1fr;gap:14px}.photo-dialog-header{padding:12px}.photo-dialog-header h2{font-size:.9rem}.photo-dialog-stage{height:49vh;height:49dvh}.photo-dialog-caption{font-size:.74rem}.photo-tools span{flex-basis:100%}.lesson-explorable>svg{min-height:240px}}
@media(prefers-reduced-motion:reduce){.photo-dialog-stage img{will-change:auto}}
.photo-dialog{margin:auto}
.lesson-laboratory{margin:26px 0;background:#edf3f9;border:1px solid #dce3ec;border-radius:10px;overflow:hidden}.lesson-laboratory>svg{width:100%;display:block}.lesson-laboratory figcaption{font-size:.8rem;line-height:1.65;text-align:left;padding:15px 18px;color:#526174;background:white}

.photo-tools .photo-open{display:inline-flex;align-items:center;border:1px solid #a9bfd8;background:#fff;color:#17365f;border-radius:5px;padding:9px 13px;font:inherit;font-size:.82rem;min-height:42px;text-decoration:none;box-sizing:border-box}.photo-tools .photo-open:hover{background:#e6effa}.photo-tools .photo-open:focus-visible{outline:3px solid #2864d7;outline-offset:3px}
