@media screen and (max-width:800px){
html.fms-mobile-size{height:var(--fms-mobile-height,100dvh)!important;touch-action:pan-x pan-y}
html.fms-mobile-size:has(#fms-app-frame),html.fms-mobile-size:has(#fms-app-frame)>body{height:var(--fms-mobile-height,100dvh)!important;overflow:hidden}
@supports not selector(:has(*)){html.fms-mobile-size:is(:where([data-fms-rel-r35]),#fms-layout-never:not(*)),html.fms-mobile-size:is(:where([data-fms-rel-r35]),#fms-layout-never:not(*))>body{height:var(--fms-mobile-height,100dvh)!important;overflow:hidden}}

html.fms-mobile-size body.fms-workspace{height:var(--fms-mobile-height,100dvh)!important;min-height:0!important;box-sizing:border-box;overflow:hidden!important}
html.fms-mobile-size body.fms-workspace>main{flex:1 1 0!important;min-height:0!important;overflow-y:auto!important;box-sizing:border-box;padding-bottom:max(12px,env(safe-area-inset-bottom))!important}
html.fms-mobile-size body.fms-workspace>footer{position:static!important;flex:0 0 auto!important;box-sizing:border-box}
.mw-scan-overlay[open]{padding:0!important;border:0!important;width:calc(100vw - 8px)!important;height:calc(var(--fms-mobile-height,100dvh) - 8px)!important;max-height:calc(var(--fms-mobile-height,100dvh) - 8px)!important;overflow:hidden!important;margin:auto!important}
.mw-scan-overlay>iframe{width:100%;height:100%;border:0;display:block}
}

@media(max-width:800px){html.fms-auth-editing body.fms-auth>main{align-items:flex-start!important;overflow-y:auto!important}}

@media screen and (max-width:800px){
 html.fms-meter-entry.fms-mobile-size body.spt-embedded{
  display:flex;flex-direction:column;height:var(--fms-mobile-height,100dvh);min-height:0;overflow:hidden;
 }
 html.fms-meter-entry.fms-mobile-size.fms-keyboard-open body:is(.fms-workspace,.spt-embedded){
  height:var(--fms-meter-visible-height)!important;
 }
 html.fms-meter-entry.fms-mobile-size body:is(.fms-workspace,.spt-embedded)>main{
  display:block;flex:1 1 0!important;min-height:0!important;overflow-y:auto!important;
 }
 html.fms-meter-entry main :is(.reading-table-scroll,.fms-grid-scroll,.mw-table-scroll):not(dialog *){
  max-height:none;overscroll-behavior-y:auto;
 }
 /* The stacked device fields share the page's vertical scroll area. */
 html.fms-meter-entry #group-input-devices :is(.device-card,.reading-table-scroll,.mw-table-scroll,.fms-grid-scroll){
  overflow:visible!important;max-height:none!important;
 }
 html.fms-meter-entry #group-input-devices :is(.meter-input-table,[data-meter-field],input,textarea,select){
  touch-action:pan-y;overscroll-behavior-y:auto;
 }
}
