/*
 * Tap targets are not text (owner, real phone 01/12/2026, M1): a finger resting a little too long on a questionnaire
 * answer highlighted its words and opened Android's Copy / Select all / Share bar. Answers, buttons, tick-box rows and
 * list choices can't be text-selected and get no long-press bar. Normal text stays selectable, and every typing box
 * stays selectable and editable (the last rule). :where() keeps these rules at zero weight, so a page's own rule wins.
 */
:where(
    button, input[type="button"], input[type="submit"], input[type="reset"], .btn, [role="button"], [role="option"],
    [role="tab"], [role="menuitem"], [role="switch"], select,
    label:has(> input[type="checkbox"]), label:has(> input[type="radio"]),
    input[type="checkbox"] + label, input[type="radio"] + label,
    .questionnaire-option, .questionnaire-option *, .questionnaire-binary-option, .questionnaire-binary-option *,
    .nt-big-tick, .nt-big-tick *, .nt-pick__toggle, .nt-pick__toggle *, .nt-multi__toggle, .nt-multi__toggle *,
    .nt-combo__toggle, [data-nt-combo-list] li
) {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
textarea,
[contenteditable="true"],
[contenteditable=""] {
    -webkit-user-select: text;
    user-select: text;
    -webkit-touch-callout: default;
}
