/* Shared front-end focus policy. Preserve component colours, widths and offsets,
   while overriding Astra's dotted focus style (including its inline selectors).
   This sheet also loads on native pages outside .swatcom-design. */
body :focus {
    outline-style: solid !important;
}

/* Pointer focus should not leave a ring. Keyboard and text-entry focus remain
   visible; older browsers retain the solid fallback above. */
@supports selector(:focus-visible) {
    body :focus:not(:focus-visible) {
        outline: none !important;
    }
}

/* Astra can put a second dotted ring on the unfocused parent of a custom
   button link. The link itself retains the visible keyboard indicator. */
body .ast-builder-button-wrap:has(.ast-custom-button-link:focus) {
    outline: none !important;
}
