/* Allow pinch zoom without iOS automatically zooming small editable controls
   when the keyboard opens. Include V2 and body-level dialogs as well as V3.
   Keep mouse/trackpad desktop styling unchanged. Component rules sometimes use
   !important, so this accessibility minimum must take precedence on touch devices. */
@media (pointer: coarse) {
    :root body :is(
        input:not(:where([type="hidden"], [type="checkbox"], [type="radio"],
            [type="range"], [type="button"], [type="submit"], [type="reset"],
            [type="image"], [type="color"], [type="file"])),
        textarea, select, [contenteditable="true"]
    ) {
        font-size: max(16px, 1rem) !important;
    }
}
