/* Interaction only: keep keyboard rings, including focusable scroll/tab panels.
   Page-specific focus-visible styles retain precedence over this fallback. */
:where(button, a[href], input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--queue-focus, var(--m-blue, var(--s-primary, #258cfb)));
    outline-offset: 2px;
}

/* A pointer-focused control/container must not retain the browser's default
   ring. Text-entry focus stays visible, including on a touch keyboard. No blur,
   tabindex changes, or removal of keyboard focus is needed. */
:focus:not(:focus-visible) { outline: none; }
html[data-wl-input="pointer"] :focus:not(input, select, textarea, [contenteditable="true"]) {
    outline: none !important;
}

:where(button, a[href], summary, [role="button"], [role="tab"]) {
    -webkit-tap-highlight-color: transparent;
}
