/* Keep native scrolling while excluding browser pinch/double-tap page zoom.
   Croppers retain touch-action:none and handle their own pointer transforms. */
html.ib-pwa-no-zoom,
html.ib-pwa-no-zoom body { touch-action: pan-x pan-y; }

/* Native feel: no text selection, long-press callout or image drag anywhere,
   except where the user types. */
*, *::before, *::after {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
img, svg, a { -webkit-user-drag: none; }
input, textarea, [contenteditable]:not([contenteditable="false"]),
[contenteditable]:not([contenteditable="false"]) * {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

/* Modales sin rebote (29/11/2026): en iOS, deslizar de más dentro de una hoja
   o modal con el contenido arriba del todo lo hacía rebotar y dejaba un hueco
   vacío arriba. Ningún diálogo, hoja, modal u overlay rebota en vertical, ni
   lo que llevan dentro. html y body quedan fuera: el body recibe clases como
   «modal-open» y no debe heredar la regla. */
.mover,.mover *,
[role="dialog"],[role="dialog"] *,[aria-modal="true"],[aria-modal="true"] *,
:is([class*="sheet"],[class*="modal"],[class*="overlay"]):not(html):not(body),
:is([class*="sheet"],[class*="modal"],[class*="overlay"]):not(html):not(body) *{overscroll-behavior-y:none!important}
