/* PSS Plasma — the keyboard's floor. Pro Steel Solutions Ltd. No italics.
 *
 * Every component that draws its own focus ring keeps it: this rule has a single class worth
 * of weight, so anything more specific still wins. What it does is catch everything that was
 * never given one — file inputs, checkboxes, anything added later — so no control can be
 * focused invisibly.
 *
 * The named ones below replace their outline with a change of border colour only. A keyboard
 * user who cannot separate those two oranges has nothing to go on, so they get a ring as well
 * as the colour rather than instead of it.
 */
:focus-visible{outline:3px solid var(--orange-ink);outline-offset:2px}

.pss-st-name:focus-visible,
.pss-param input:focus-visible,.pss-param select:focus-visible,
.pss-field input:focus-visible,.pss-field select:focus-visible,.pss-field textarea:focus-visible,
.pss-search input:focus-visible,.search-form .search-field:focus-visible,
input[type=file]:focus-visible,input[type=checkbox]:focus-visible,input[type=radio]:focus-visible{
  outline:3px solid var(--orange-ink);outline-offset:2px;
}

/* On a dark surface the deep orange disappears, so the ring is the bright one there. */
:root[data-theme="dark"] :focus-visible{outline-color:var(--orange-2)}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) :focus-visible{outline-color:var(--orange-2)}
}
