/* Touch-only activation is decided by the helper; desktop layout/zoom is intact.
   Pan in either direction, without page pinch/double-tap zoom. Child sliders
   keep their own narrower touch-action; top-layer dialogs use the same policy. */
html[data-hg-mobile-viewport="locked"],
html[data-hg-mobile-viewport="locked"] body,
html[data-hg-mobile-viewport="locked"] dialog {
  touch-action:pan-x pan-y;
}

/* Prevent small mobile editors from triggering focus magnification. Only text
   entry is16px: body copy, buttons, range, checkboxes and media are untouched. */
html[data-hg-mobile-viewport="locked"] :is(
  input:not([type]),input[type="text" i],input[type="search" i],
  input[type="email" i],input[type="url" i],input[type="tel" i],
  input[type="password" i],input[type="number" i],textarea,select,
  [contenteditable=""],[contenteditable="true"],[contenteditable="plaintext-only"]
) {
  font-size:16px!important;
}
