/* TenderG shared accessibility layer (Phase 1, WP7). Additive overrides only.
   Linked after each page's own styles. Target: WCAG 2.2 AA. Measured with axe-core
   (see docs/phases/PHASE_1_A11Y_RESULTS_P.md). Not a substitute for manual testing. */

/* 1. Muted text colour: was #8A979D (2.9:1 on the page background), now 5.4:1 */
:root{--ink-3:#5B6A71}

/* 2. Visible keyboard focus everywhere */
:focus-visible{outline:3px solid #1d4ed8;outline-offset:2px}
.footer :focus-visible,.cookie-banner :focus-visible,[class*="consent"] :focus-visible{outline-color:#93c5fd}
.skip-link:focus,.skip-link:focus-visible{top:0;outline:3px solid #1d4ed8;outline-offset:2px}

/* 3. Touch / click targets: at least 24x24 CSS px (WCAG 2.2 SC 2.5.8) */
.nav-links a{min-height:24px}
.nav-cta{min-height:40px}
.footer-col a{min-height:24px;line-height:24px;margin-bottom:4px}
.footer-bottom a,[data-tg-cookie-link]{min-height:24px;line-height:24px}
input[type=checkbox],input[type=radio]{width:24px;height:24px}

.breadcrumb a{display:inline-block;min-height:24px;line-height:24px}
button.pf-x,button[aria-label^="Remove"],button[aria-label^="Delete"]{min-width:24px;min-height:24px}
button[data-go],button[aria-label^="Show the list"]{min-width:24px;min-height:24px}
#ob-manual,#stat-portal-link{display:inline-block;min-height:24px;line-height:24px}

/* 4. Links inside body text must not rely on colour alone */
.breadcrumb a{text-decoration:underline}

/* 5. Homepage product preview: text colours that passed less than 4.5:1 */
.s-hi small{color:#0a7a47}
.s-mid small{color:#8f5400}
.row.dim{opacity:1}
.row.dim .t b,.row.dim .t small,.s-lo b,.s-lo small{color:#5b6573}

/* 6. Tender page: coloured status text on white */
.text-green-600{color:#15803d}
.text-amber-500,.text-amber-600{color:#b45309}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}
}
