/* a11y.css — STRUCTURAL accessibility only (focus, skip link, touch targets, sr-only).
   Colour-contrast remediation (gold/green text) is owned by the design-system tokens (WCAG AA),
   intentionally NOT handled here to avoid patching inline hex twice. */

/* Visible keyboard focus on every focusable control (overrides inline outline:none for keyboard users) */
:focus-visible {
  outline: 3px solid #2684ff !important;
  outline-offset: 2px !important;
  border-radius: 3px;
}

/* Skip-to-content link: off-screen until focused */
.skip-link {
  position: absolute;
  left: 8px;
  top: -56px;
  z-index: 100000;
  background: #003d6b;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 8px;
  font: 600 14px/1.2 system-ui, -apple-system, sans-serif;
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 8px; }

/* Screen-reader-only utility */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Minimum touch-target size — ACTUAL controls only (not inline text links), so dense text isn't distorted */
button,
[role="button"],
.btn,
select,
input[type="checkbox"],
input[type="radio"] {
  min-height: 44px;
}
button,
[role="button"],
.btn {
  min-width: 44px;
}
