/* Existing page-gesture policy. Child sliders/editors keep their own touch-action. */
html { touch-action: pan-x pan-y; }
/* Scoped to Floowins browser pages; native bridge removes this marker. */
html[data-floowins-screen="stable"] {
  overflow-x: clip;
  overscroll-behavior-x: none;
  overscroll-behavior-y: none;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html[data-floowins-screen="stable"] body {
  max-inline-size: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
}
html[data-floowins-screen="stable"] :where(main,#app,#root,form) { min-inline-size: 0; }
/* Prevent iPhone input-focus zoom without changing page scroll, focus or keyboard handlers. */
@media (max-width: 767px) {
  html[data-floowins-screen="stable"] :is(input,textarea,select,[contenteditable="true"]):not([type="range"]):not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="file"]):not([type="hidden"]):not([type="button"]):not([type="submit"]) {
    font-size: max(16px,1em) !important;
  }
}
