/* v3.77.3 — colour and layout fixes from the live audit of 2026-11-18 (see /site-audit/ report). */

/* H-09: dark mode category tags were accent text on an accent fill (1:1). */
html[data-theme="dark"] body .chip,
html[data-theme="dark"] body .card-badge { color: #0D0D0D !important; }

/* H-10: AI Academy "mark lesson as complete" (and every accent button) was #1A1A1A on #0D0D0D. */
html body .aia-btn--accent { background: #41C48D !important; color: #0D0D0D !important; border: 2px solid #0D0D0D !important; }
html body .aia-btn--accent svg { color: #0D0D0D !important; }

/* H-11: dark mode badges/chips in Research Tools, Academic Prompts and the Quantum Lab (1.13–1.21:1). */
html[data-theme="dark"] body [class*="dlrt-badge"],
html[data-theme="dark"] body .dlap-badge,
html[data-theme="dark"] body [class*="dlap-lv-"],
html[data-theme="dark"] body .dql-chip { color: #E9F7EF !important; border-color: rgba(233, 247, 239, .35) !important; }

/* Academic Prompts hero stats were #0D0D0D on a #0D0D0D gradient. */
html body .dlap-hero b,
html body .dlap-hero strong { color: #41C48D !important; }

/* M-02: roadmap tags pushed /roadmaps/ wider than a 360px phone before scripts ran. */
html body .dlr-tags { display: flex; flex-wrap: wrap; max-width: 100%; }
html body .dlr-tags > .dlr-tag { max-width: 100%; overflow-wrap: anywhere; }

/* The skip link now comes first in Tab order; keep it above the ticker when focused. */
.skip-link:focus { z-index: 100000; }
