@media (any-pointer: coarse) {
  /* Cover nested scroll regions too, without disabling single-finger scrolling. */
  html, body, body * {
    touch-action: pan-x pan-y;
  }

  /* iPhone focus zoom is avoided by keeping editable text at least 16px. */
  body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
  body textarea.form-control,
  body select.form-select,
  body textarea,
  body select {
    font-size: max(16px, 1em);
  }
}
