/* Soroban Academy R32 — interactive teacher responsive polish */
#v183Teacher.open{display:flex!important;flex-direction:column!important;inset:0!important;background:linear-gradient(180deg,#f8fbf8,#eef6f1)!important;overflow:hidden!important}
#v183Teacher .v183Top{flex:0 0 auto!important;display:grid!important;grid-template-columns:auto minmax(160px,1fr) auto auto!important;gap:8px!important;align-items:center!important;padding:10px 12px!important;background:rgba(255,255,255,.96)!important;border-bottom:1px solid #d7e4dd!important;box-shadow:0 8px 24px rgba(19,73,58,.06)!important;z-index:3!important}
#v183Teacher .v183Info{min-width:0!important}#v183Teacher .v183Info b{display:block!important;font-size:clamp(15px,2.6vw,22px)!important;color:#164f40!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}#v183Teacher .v183Info small{display:block!important;color:#6b7e77!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#v183Teacher .v183Nav{grid-column:1/-1!important;max-width:1120px!important;width:100%!important;margin:0 auto!important;border-radius:18px!important;background:#f7faf8!important;border:1px solid #dce8e2!important;padding:8px!important;box-sizing:border-box!important}
#v183Teacher .v183Stage{flex:1 1 auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;padding:10px!important;overflow:auto!important}
#v183Teacher .v183LessonStrip{flex:0 0 auto!important;max-width:1120px!important;width:100%!important;margin:0 auto 8px!important;border-radius:16px!important;box-shadow:0 8px 20px rgba(15,82,63,.07)!important}
#v183Teacher #v183LabMount{flex:1 1 auto!important;min-height:360px!important;max-width:1180px!important;width:100%!important;margin:0 auto!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;overflow:auto!important;padding:2px!important;box-sizing:border-box!important}
#v183Teacher #v183LabMount>#abacus{width:100%!important;max-width:100%!important;margin:0!important}#v183Teacher #v183LabMount>#abacus .abstage{min-height:0!important;width:100%!important;overflow:auto!important}
#v183Teacher .v183Current{min-width:72px!important;text-align:center!important;border-radius:14px!important;background:#0d725f!important;color:#fff!important;font-weight:950!important;font-size:20px!important;padding:8px!important}
@media(max-width:760px){#v183Teacher .v183Top{grid-template-columns:auto 1fr auto!important;padding:7px!important}#v183Teacher .v183Top>button.ghost:last-of-type{display:none!important}#v183Teacher #v294BeadSoundBtn{font-size:0!important;min-width:42px!important}#v183Teacher #v294BeadSoundBtn:before{content:'🔊';font-size:17px!important}#v183Teacher .v183Nav{display:grid!important;grid-template-columns:72px 1fr!important;gap:6px!important}#v183Teacher .v183RuleControl,#v183Teacher .v183RuleWide{min-width:0!important;width:100%!important}#v183Teacher .v183Nav>button{min-height:42px!important}#v183Teacher #v183LabMount{min-height:300px!important;padding:0!important}.v183ToolPanel{max-height:72vh!important;overflow:auto!important}}
@media(max-width:480px){#v183Teacher .v183Stage{padding:6px!important}#v183Teacher .v183Info small{display:none!important}#v183Teacher .v183Top>button{padding:7px 8px!important;font-size:11px!important}#v183Teacher .v183Nav{border-radius:14px!important;padding:6px!important}#v183Teacher #v183LabMount{min-height:260px!important}}
