/*
 * Accessibility safety net (2026-10-05). Additive only: zero-specificity selectors, so any existing
 * focus style in the theme still wins; nothing here changes layout or colours of the design.
 */

/* Visible keyboard focus everywhere, in the text colour of the element (works on dark and light areas). */
:where(a, button, input, select, textarea, summary, [role="button"], [tabindex]:not([tabindex="-1"])):focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

/* Respect the "reduce motion" system setting. */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
