/* Native tap paint is not our hover effect. It can linger during iOS scrolling. */
html, body, :where(button, a, summary, [role="button"], [tabindex]),
:where(button, a, summary, [role="button"], [tabindex]) * {
  -webkit-tap-highlight-color: transparent !important;
}

/* Keep focus/trapping intact; only keyboard users need an action's focus ring.
   Editable fields retain their own focus/caret styling in every modality. */
html[data-control-input]:not([data-control-input="keyboard"]) body :is(button, a, summary, [role="button"], [tabindex]):not(input):not(textarea):not(select):not([contenteditable="true"]):focus {
  outline: none !important;
}
