/* Accessibility fixes from the app-wide scan of 2026-11-11 (qa/mobile-ux/a11y-scan.js; report in
   docs/opus-execution-plan/accessibility-scan.md). Loaded last so each fix wins over the rule it corrects, without
   rewriting the original. Contrast fixes use the theme tokens already in the palette (css/themes.css); no new accent.

   Line length: WCAG 1.4.8 Visual Presentation (AAA) asks for no more than 80 characters per line. On a wide screen these
   blocks ran 86-119 characters. 56ch holds them to 80 or fewer (measured line by line at 1440px). */
.response-note,.ds-explain,.ds-dim-why,.context-ask-q,#seEngineDesc,.tp-headline,.tp-why-text,.strategy-text,.xdi-explain,.xdi-source-note,
.xray-summary,.settings-row-desc{max-width:56ch}

/* Contrast (WCAG 1.4.3, AA: 4.5:1 for text under 18.66px bold / 24px). Ratios are on the element's own background,
   before -> after, in the theme(s) that failed; every theme was re-measured after the change. */
/* Drop Score "Needs work": --danger on --danger-dim was 3.48:1 in Classic dark. --coral: 4.83 (Classic dark), 5.03-5.45 elsewhere. */
.ds-verdict.bad{color:var(--coral)}
/* Situation Analysis source verdicts (8px). "Fabricated" was 3.48:1 in Classic dark; "No source cited" (--mgray on a 6% tint)
   was 4.03-4.48:1 in every theme. */
.xdi-source-verdict.fabricated{color:var(--coral)}
.xdi-source-verdict.no-source{color:var(--white)}
/* History consent sheet "Learn more" link: the browser's default link blue, 1.8:1 in Classic dark. Same treatment as the
   sign-up terms links: the body's colour, underlined. */
.consent-body a{color:inherit;text-decoration:underline;text-underline-offset:2px}
