/* Fix76: scoped to the general counting lesson only. */
@media(max-width:720px){
 #v183Teacher.open.sa76CounterView{grid-template-rows:auto minmax(0,1fr)!important;overflow:hidden!important}
 #v183Teacher.sa76CounterView .v183Top{
  display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:4px!important;
  padding:4px 6px!important;min-height:0!important;
 }
 #v183Teacher.sa76CounterView .v183Top .v183Info{flex:1!important;min-width:0!important;grid-column:auto!important}
 #v183Teacher.sa76CounterView .v183Top #v183Nav{
  display:flex!important;flex:1 0 100%!important;grid-column:auto!important;
  align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;
  height:44px!important;max-height:44px!important;gap:4px!important;margin:0!important;
 }
 #v183Teacher.sa76CounterView .v183Nav #v183Current{font-size:12px!important;flex:0 0 auto!important}
 #v183Teacher.sa76CounterView .v183Nav button{flex:1 1 0!important;min-width:0!important;max-height:40px!important;min-height:40px!important;padding:3px!important;font-size:clamp(10px,2.7vw,13px)!important;white-space:normal!important;line-height:1.1!important}
 #v183Teacher.sa76CounterView .v183Stage{min-height:0!important;overflow:hidden!important;padding:3px 5px!important}
 #v183Teacher.sa76CounterView .v183LessonStrip{min-height:28px!important;margin:0 0 3px!important;padding:4px!important}
 #v183Teacher.sa76CounterView #v183LabMount{min-height:0!important;overflow:hidden!important;padding:3px!important}
 #v183Teacher.sa76CounterView #v183LabMount>#abacus .abinner{
  height:285px!important;max-height:285px!important;
 }
 #v183Teacher.sa76CounterView #v183LabMount>#abacus .heaven:not(.active){top:47px!important}
 #v183Teacher.sa76CounterView #v183LabMount>#abacus .heaven.active{top:82px!important}
 #v183Teacher.sa76CounterView #v183LabMount>#abacus .abinner:after{top:111px!important}
 #v183Teacher.sa76CounterView #v183LabMount>#abacus .lowerBead[data-rank="1"]{top:155px!important}
 #v183Teacher.sa76CounterView #v183LabMount>#abacus .lowerBead[data-rank="2"]{top:184px!important}
 #v183Teacher.sa76CounterView #v183LabMount>#abacus .lowerBead[data-rank="3"]{top:213px!important}
 #v183Teacher.sa76CounterView #v183LabMount>#abacus .lowerBead[data-rank="4"]{top:242px!important}
 #v183Teacher.sa76CounterView #v183LabMount>#abacus .lowerBead[data-rank="1"].nearBar{top:140px!important}
 #v183Teacher.sa76CounterView #v183LabMount>#abacus .lowerBead[data-rank="2"].nearBar{top:169px!important}
 #v183Teacher.sa76CounterView #v183LabMount>#abacus .lowerBead[data-rank="3"].nearBar{top:198px!important}
 #v183Teacher.sa76CounterView #v183LabMount>#abacus .lowerBead[data-rank="4"].nearBar{top:227px!important}
 #v183Teacher.sa76CounterView:not(.sa76SettingsOpen) #v183ToolPanel{display:none!important}
 #v183Teacher.sa76CounterView.sa76SettingsOpen #v183ToolPanel{
  display:block!important;position:fixed!important;z-index:9998!important;
  inset:clamp(88px,13dvh,118px) 9px 8px!important;
  width:auto!important;max-width:none!important;height:auto!important;max-height:none!important;
  overflow-y:auto!important;overscroll-behavior:contain!important;
  border-radius:18px!important;padding:12px!important;background:#fffaf2!important;
  box-shadow:0 0 0 200vmax #071c16a8,0 8px 25px #112e2736!important;
 }
 #v183Teacher.sa76CounterView.sa76SettingsOpen .v183ToolGrid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
 #v183Teacher.sa76CounterView.sa76SettingsOpen .v183ToolPanel .field{min-width:0!important;margin:0!important}
 #v183Teacher.sa76CounterView.sa76SettingsOpen #v183ToolPanel>h3{font-size:18px!important;margin:2px 0!important}
 #v183Teacher.sa76CounterView.sa76SettingsOpen #v183ToolPanel>p{font-size:12px!important;line-height:1.3!important;margin:4px 0!important}
 #v183Teacher.sa76CounterView.sa76SettingsOpen .v183ToolActions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin:10px 0!important}
 #v183Teacher.sa76CounterView.sa76SettingsOpen .v183ToolActions button{min-height:43px!important;padding:5px!important}
}
