@media (max-width:991.98px) and (pointer:coarse) {
    /* iOS zooms small form text on focus, displacing fixed panels. */
    input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=hidden]):not([type=range]):not([type=color]),
    textarea,select,[contenteditable="true"] { font-size:16px!important; scroll-margin-block:80px 24px; }
    body.b2w-mobile-editing .workspace-bottom-nav,
    body.b2w-mobile-editing .b2w-bottom-nav { visibility:hidden!important;pointer-events:none!important; }
    body.b2w-mobile-editing .b2w-keyboard-dialog {
        position:fixed!important;top:var(--b2w-keyboard-top,0px)!important;
        bottom:auto!important;height:var(--b2w-keyboard-height,100dvh)!important;
        max-height:var(--b2w-keyboard-height,100dvh)!important;
        box-sizing:border-box;overflow-y:auto!important;overscroll-behavior:contain;
        padding:8px!important;-webkit-overflow-scrolling:touch;
    }
    body.b2w-mobile-editing .swal2-container.b2w-keyboard-dialog {align-items:start!important;}
    body.b2w-mobile-editing .b2w-keyboard-dialog .swal2-popup {margin:0 auto!important;min-height:0!important;}
    body.b2w-mobile-editing .b2w-keyboard-dialog .modal-dialog {margin:0 auto!important;min-height:0!important;}
    body.b2w-mobile-editing .b2w-keyboard-dialog .modal-content {max-height:calc(var(--b2w-keyboard-height) - 16px);}
    body.b2w-mobile-editing .b2w-keyboard-dialog .modal-body {min-height:0;overflow-y:auto;}
}
