/* Shared by every Formulab surface. Keep pinch zoom and user font overrides.
 * Layered important beats legacy unlayered small-input rules, not user CSS.
 * Applied before focus: changing viewport or blocking gestures is unnecessary. */
@layer formulab-input-safety {
  @media (any-pointer: coarse), (max-width: 900px) {
    :where(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="button"]):not([type="submit"]):not([type="reset"]), textarea, select, [contenteditable=""], [contenteditable="true"], [contenteditable="plaintext-only"]) {
      font-size: max(16px, 1em, var(--fl-input-font-size, 1em)) !important;
    }
    :where(input[autocomplete="one-time-code"]) {
      --fl-input-font-size: 24px;
    }
  }
}
