/* ===== Nami Lake Nona: manual accessibility fixes (round 3) ===== */

/* Two-tone ring (black next to the control, white outside it) so it shows on light and dark backgrounds alike. */
html body :is(a[href], button, [role="button"], input:not([type="hidden"]), select, textarea, summary, [tabindex="0"], .pum-content):focus-visible:not(#nami-x):not(#wpadminbar *):not([class*="userway"]):not([class^="uw"]):not(.ab-item) {
  outline: 2px solid #fff !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 2px #000 !important;
}

/* The popup content box is only focused by the popup script, so give it a ring that sits inside the popup edge. */
html body .pum .pum-content:focus-visible:not(#nami-x) {
  outline-offset: -4px !important;
  box-shadow: inset 0 0 0 2px #000 !important;
}