/*
 * iDrive Accessibility Fixes -- see idrive-a11y-fixes.php for the full
 * rationale on each rule below. Enqueued after every existing sheet; wins
 * on cascade order alone, no !important.
 */

/* 2026-09-11 #1: WCAG 1.4.3 AA color-contrast fix for the composer
   date/time placeholder text (was --corr-faint #93A199 at ~2.4:1 on the
   booking-shell background; --corr-muted #5F6B63 is corridor-v1.css's own
   documented "ONLY secondary text on light" token at 5.6:1 on white). */
.field-control__value.is-placeholder {
	color: var(--corr-muted, #5F6B63);
}

/* 2026-09-11 #2: WCAG 1.4.3 AA fix for the fleet-slider caption paragraph
   (was #6A7A72 at 4.01:1 on #F4F1EA; --corr-muted clears 4.5:1). */
.section-heading--compact.section-heading > p {
	color: var(--corr-muted, #5F6B63);
}

/* 2026-09-11 #3: WCAG 1.4.3 AA fix for the footer "install the app" copy
   (.appx-downloads, site-footer -- NOT the wp_footer install sheet, a
   separate always-visible footer section from app-experience-v11.js).
   First attempt set color:#869890 (~5.6:1 alone against #131F1C), but
   app-experience-v11.css also applies `opacity:0.76` to this span for its
   own muted-text effect, and that alpha blend with the dark background
   pulls the RENDERED contrast back down to 3.78:1 -- axe measures the
   composited color, not the declared one. Fixed by solving for the
   pre-opacity color that blends, at 0.76 alpha over #131F1C, to the same
   ~4.98:1-clearing tone used elsewhere (#7A9088): #9BB4AA. */
.appx-downloads__copy > span {
	color: #9BB4AA;
}
