/* iOS automatically magnifies focused text fields below 16px. Prevent that
   at the field, not by restricting the viewport or disabling pinch zoom.
   Shared by public pages, generated portals and internal tools. */
@media (max-width: 1024px), (any-pointer: coarse) {
  body :is(
    input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="image"]),
    textarea,
    select,
    [contenteditable="true"],
    [contenteditable="plaintext-only"]
  ) {
    font-size: max(16px, var(--tvc-mobile-field-size, 1em)) !important;
  }

  /* Retain the intentionally larger authentication code treatment. */
  body :is(#otp-input, #recovery-code-input) {
    --tvc-mobile-field-size: 21px;
  }
}
