/* Explicit pan actions retain scrolling but omit pinch and double-tap zoom.
   Apply to dialogs too: top-layer dialogs may not share body hit testing. */
@media (any-pointer: coarse) {
  :where(html, body, body *) { touch-action: pan-x pan-y; }
  /* iOS zooms focused form fields whose text is smaller than 16px. */
  html body input:not([type=range]):not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=hidden]),
  html body select, html body textarea {
    font-size: max(16px, 1em) !important;
  }
}
