/* DavisAIgov v13.5.4 regression fixes: readable light surfaces, preserved dark theme. */
body.legacy-threat-reference { --amber:#875000; }
@media (prefers-color-scheme:dark) {
 :root:not([data-theme="light"]) body.legacy-threat-reference { --amber:#e6a83a; }
}
:root[data-theme="dark"] body.legacy-threat-reference { --amber:#e6a83a; }
body.legacy-threat-reference .matrix .n { color:var(--muted); }
[data-assurance-step] > span { color:#59536f !important; font-size:11px !important; }
.feed-hero .fp-notice, .feed-hero .fp-notice p, .feed-hero .fp-notice strong,
.feed-hero .feed-note, .feed-hero .feed-note strong { color:#173b52 !important; text-shadow:none !important; }
.feed-hero .fp-notice a { color:#174d70 !important; text-decoration:underline; }
/* Embedded legacy Harness has white reader surfaces within the dark hero. */
main .seo-hero .ecosystem-section .trace-btn,
main .seo-hero .ecosystem-section .eco-reading-pane a {color:#5031bf!important;text-shadow:none!important;}
main .seo-hero .ecosystem-section .eco-reading-pane :is(h2,h3,h4,p,li,strong,span),
main .seo-hero .ecosystem-section .eco-flow-status {color:#302d43!important;text-shadow:none!important;}
main .seo-hero .ecosystem-section .eco-visual-frame p {color:#302d43!important;text-shadow:none!important;}
body.legacy-threat-reference .tm-integration {--amber:#875000!important;}
body.legacy-threat-reference .tm-integration .matrix .n {color:var(--muted)!important;}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) body.legacy-threat-reference .tm-integration {--amber:#e6a83a!important;}}
:root[data-theme="dark"] body.legacy-threat-reference .tm-integration {--amber:#e6a83a!important;}
/* Keep the skip link offscreen until keyboard focus, including scrolled captures. */
.skip-link:not(:focus):not(:focus-visible){position:fixed!important;left:-10000px!important;top:0!important;width:1px!important;height:1px!important;overflow:hidden!important;}
.skip-link:focus,.skip-link:focus-visible{position:fixed!important;left:12px!important;top:12px!important;width:auto!important;height:auto!important;z-index:100000!important;background:#fff!important;color:#173b52!important;padding:12px 18px!important;outline:3px solid #5031bf!important;}
main .seo-hero .pt-note-card p {color:#302d43!important;text-shadow:none!important;}
main .seo-hero .pt-term-bank a {color:#5031bf!important;}
main .seo-hero .ecosystem-section .trace-btn[aria-pressed="true"] {color:#fff!important;}
/* Manual image-background review: archived briefing eyebrow on a dark hero. */
main > section.hero > .kicker {color:#ffd178!important;text-shadow:none!important;}
