/* A focus ring answers the keyboard. After a press, the browser can restore
   focus or a script can move it (returning to the tab, a select's native
   list, a drag handle). That focus shows no ring until a navigation key.
   user_interface/focus/focus_source.js records which input came last. The
   transparent ring still draws in forced colours. Text fields keep their own
   focus edge. */
:root[data-focus-source='pointer'] :focus-visible,
:root[data-focus-source='pointer'] :focus-visible + :is(label, .switch_label),
:root[data-focus-source='pointer'] :focus-visible::after {
  outline: 2px solid transparent !important;
}
