/* Source: core/assets/wcag-helper.css */
.wch-a11y-toggle-btn{
	display:none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999999;
  padding: 10px 12px;
  border-radius: 8px;
  border: 2px solid currentColor;
  background: #fff;
  color: #111;
  font: inherit;
  cursor: pointer;
}
.wch-a11y-toggle-btn:focus-visible{
  outline: 3px solid #000;
  outline-offset: 3px;
}

label.nav-tab:has(input:checked) {
    background: #f0f0f1;
    position: relative;
    top: 1px;
}

/* Source: modules/ada-compliance-scanner/assets/css/wch-a11y-deeplink.css */
.ada-error {
  outline: 6px solid #d32f2f !important;
  outline-offset: 4px;
  position: relative;
}

.ada-error::after {
  content: attr(data-ada-error-label);
  position: absolute;
  top: -1.8em;
  left: 0;
  background: #d32f2f;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  z-index: 999999;
}

/* Source: modules/ada-compliance-scanner/assets/css/wch-accessible.css */
/* Everything is OFF unless .wch-a11y-on is present on html/body */
.wch-a11y-on :focus-visible {
  outline: 3px solid #000;
  outline-offset: 3px;
}

/* Make links more obvious */
.wch-a11y-on a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 0.12em;
}

/* Improve target sizing a bit (careful: can affect layout) */
.wch-a11y-on a,
.wch-a11y-on button,
.wch-a11y-on input,
.wch-a11y-on select,
.wch-a11y-on textarea {
  min-height: 44px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .wch-a11y-on * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Optional: force higher contrast for focus states */
.wch-a11y-on a:focus-visible,
.wch-a11y-on button:focus-visible,
.wch-a11y-on input:focus-visible,
.wch-a11y-on select:focus-visible,
.wch-a11y-on textarea:focus-visible {
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px #000;
}
