/*
 * Mobile Safari enlarges the viewport when a text control has a computed
 * font size below 16px. Keep every editable control at that threshold on
 * touch-first devices so focusing it never changes the page scale.
 */
@media (hover: none) and (pointer: coarse) {
    :where(
        input:not([type='button']):not([type='checkbox']):not([type='color']):not([type='file']):not([type='hidden']):not([type='image']):not([type='radio']):not([type='range']):not([type='reset']):not([type='submit']),
        select,
        textarea,
        [contenteditable='true']
    ) {
        /* biome-ignore lint/complexity/noImportantStyles: This must win over every page-specific control size. */
        font-size: max(16px, 1rem) !important;
    }
}
