/* Shared front-end focus policy for buttons and choice controls. */
body :is(button, input[type="button"], input[type="submit"], input[type="reset"], input[type="checkbox"], input[type="radio"], [role="button"], a.buttons, a.wp-block-button__link):focus {
    outline: none !important;
}

/* A keyboard-only cue replaces browser/theme black focus outlines. */
body :is(button, input[type="button"], input[type="submit"], input[type="reset"], input[type="checkbox"], input[type="radio"], [role="button"], a.buttons, a.wp-block-button__link):focus-visible {
    outline: 2px solid #ed1c24 !important;
    outline-offset: 3px !important;
}

/* Firefox's legacy inner button focus border. */
body button::-moz-focus-inner,
body input[type="button"]::-moz-focus-inner,
body input[type="submit"]::-moz-focus-inner,
body input[type="reset"]::-moz-focus-inner {
    border: 0;
}
