/*
 * System-wide mobile interaction safeguards.
 *
 * iOS Safari automatically zooms the page when an editable control whose
 * computed font size is below 16px receives focus. Keep controls at or above
 * that threshold without disabling the user's normal pinch-to-zoom gesture.
 */
@media (max-width: 1024px), (pointer: coarse) {
    input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]),
    select,
    textarea,
    [contenteditable]:not([contenteditable="false"]) {
        font-size: max(16px, 1em) !important;
    }

    [data-pull-refresh-scroll-region] {
        overscroll-behavior-y: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }
}
