/* Keep mobile forms anchored; scroll their content rather than the whole window. */
@media(max-width:700px){
 #editor[open]:not(.floorplan-dialog){overflow:hidden;overscroll-behavior:none;}
 #editor[open]:not(.floorplan-dialog)>#editor-form{display:flex;flex-direction:column;max-height:90vh;max-height:90dvh;}
 #editor[open]:not(.floorplan-dialog) .dialog-heading,#editor[open]:not(.floorplan-dialog) .dialog-footer{flex:0 0 auto;position:static;}
 #editor[open]:not(.floorplan-dialog) .dialog-body{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:none;}
 #editor[open]:not(.floorplan-dialog) textarea{overscroll-behavior-y:contain;}
 #editor[open].ui-mobile-sheet:not(.floorplan-dialog)>#editor-form{max-height:calc(90dvh - 14px);}
 #editor[open]:has(.notification-panel)>#editor-form{height:100%;max-height:100%;}
 #editor[open].ui-mobile-sheet:has(.notification-panel)>#editor-form{height:calc(100% - 14px);max-height:calc(100% - 14px);}
}
