/* Shared authored-page interaction policy. No pointer/touch gesture replacement.
   Existing touch-action:none and pan-y controls win over the zero-specificity base. */
:where(html,body,body *) {
  -webkit-user-select:none;
  user-select:none;
  -webkit-touch-callout:none;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
  touch-action:pan-x pan-y;
}
:where(img,svg,canvas,video,picture,a) {
  -webkit-user-drag:none;
}
:where(input,textarea,[contenteditable]:not([contenteditable="false"]),[contenteditable]:not([contenteditable="false"]) *) {
  -webkit-user-select:text;
  user-select:text;
  -webkit-touch-callout:default;
}
/* iOS zooms focused text controls smaller than 16px; keep deliberate editing.
   Range, check, radio, button and other native controls retain existing sizing. */
@media (pointer:coarse) {
  :is(input:not([type]),input[type="text"],input[type="email"],input[type="search"],input[type="url"],input[type="tel"],input[type="password"],input[type="number"],textarea,select,[contenteditable]:not([contenteditable="false"])) {
    font-size:max(16px,1em)!important;
  }
}
