/* Targeted contrast corrections; existing layout and sizing are preserved. */
.bn-skip { color:#0f172a!important; }
footer.text-slate-400 { color:#526174; }
.dark footer.text-slate-400 { color:#b8c8dd; }
.bn-prototype .mode-btn:not(.active) { color:#526174!important; }
.bn-prototype .proto-article-grid>a p { color:#526174!important; }
.bn-reader .ux-article :is(p,li)>a { text-decoration:underline; text-underline-offset:.15em; }
.bn-reader .ux-article :is(.from-slate-900,.bg-indigo-600) :is(h2,h3,p,li,strong,span) { color:#f8fafc!important; }
.bn-reader .ux-article :is(.from-slate-900,.bg-indigo-600) a { color:#dbeafe!important; text-decoration:underline; }
.bn-reader .ux-article :is(.from-slate-900,.bg-indigo-600) li::marker { color:#bfdbfe; }
html.dark .bn-reader .ux-article :is(h1,h2,h3) { color:#f1f5f9!important; }
html.dark .bn-reader .ux-article :is(p,li) { color:#cbd5e1!important; }
html.dark .bn-reader .ux-article a { color:#93c5fd; }
html.dark .bn-reader .ux-article li::marker { color:#93c5fd; }
html.dark .bn-reader .bn-brief { background:#17283f!important; border-color:#405574!important; }
html.dark .bn-reader .bn-brief strong { color:#bfdbfe!important; }
html.dark .bn-reader .ux-article .border-indigo-200 { background:#17283f!important; }
html.dark .bn-reader .ux-article :is(.text-purple-600,.text-rose-600) { color:#e9d5ff!important; }
html.dark .bn-reader .ux-article .bg-indigo-600 :is(h2,h3,p,li,strong,span,a) { color:#fff!important; }
html.dark .legal-card a,html.dark .legal-link,html.dark .legal-button { color:#93c5fd; }
html.dark .bn-prototype #mainBadge,html.dark .bn-prototype .proto-settings>summary,html.dark .bn-prototype .proto-result-details>summary,html.dark .bn-prototype .proto-section-title>a,html.dark .bn-prototype .proto-source-banner>a { color:#93c5fd!important; }
html.dark .bn-prototype .calculator-privacy,html.dark .bn-prototype .proto-article-grid>a p { color:#b8c8dd!important; }
html.dark .bn-prototype .proto-library>details.ux-more { background:#17283f; }
:focus-visible { outline:3px solid #2563eb; outline-offset:3px; }
html.dark :focus-visible { outline-color:#93c5fd; }
.bn-reader .ux-article .bg-slate-900 :is(h2,h3,p,li,strong,span) { color:#f8fafc!important; }
.bn-reader .ux-article .bg-slate-900 a { color:#bfdbfe!important; }
.bn-reader .ux-article a.bg-indigo-600,html.dark .bn-reader .ux-article a.bg-indigo-600 { color:#fff!important; }
html:not(.dark) .bn-reader .ux-article .text-rose-600 { color:#be123c!important; }
.bn-quick-topics button small,#heroNewsDate,.bn-saved-title { color:#526174!important; }
html.dark .bn-prototype .proto-trust,html.dark .bn-prototype .proto-source-banner strong { color:#cbd5e1!important; }
html.dark .bn-reader .faq details { background:#1e293b; }
html.dark footer { background:#0f172a!important; color:#cbd5e1!important; }
html.dark #heroNewsLink { color:#93c5fd!important; }
html.dark .np-list-heading>span,html.dark #news-count,html.dark .bn-saved-title,html.dark #heroNewsDate { color:#cbd5e1!important; }
html:not(.dark) .bn-reader .ux-article :is(.bg-purple-50,.bg-emerald-50) p { opacity:1!important; }
html.dark .bn-reader .faq { background:transparent; }
html.dark .bn-reader .faq>h3 { color:#f1f5f9!important; background:#1e293b; }
html:not(.dark) .bn-hero-news-text #heroNewsDate { color:#526174!important; }
html.dark .bn-quickcalc .bn-quickcalc__inner { background:#17283f!important; }
html.dark .bn-quickcalc .bn-quickcalc__desc { color:#cbd5e1!important; }
html.dark .bn-quickcalc .bn-quickcalc__cta { background:#1e40af!important; color:#fff!important; }
html.dark .bn-reader .ux-article :is(section.not-prose,.bg-slate-50,.bg-rose-50,.bg-amber-50,.bg-emerald-50,.bg-white) { background-color:#1e293b!important; }
html:not(.dark) .bn-reader .ux-article p.opacity-75 { opacity:1; }
html:not(.dark) .bn-reader .ux-article .text-emerald-600 { color:#047857!important; }
html:not(.dark) .bn-reader .ux-article .text-orange-500 { color:#c2410c!important; }
html.dark .bn-reader .ux-article .text-emerald-600 { color:#6ee7b7!important; }
html.dark .text-indigo-600,html.dark .text-indigo-500 { color:#a5b4fc!important; }
html.dark .bn-reader .ux-article a.bg-white { color:#93c5fd!important; }
.cg-scope a { text-decoration:underline!important; text-underline-offset:.15em; }
/* The crypto guide keeps its light cards: pair their backgrounds with explicit ink. */
html.dark :is(.cg-brief,.cg-two-notes>div,.cg-equation,.cg-calc-form,.cg-advanced,.cg-results,.cg-info,.cg-examples>div,.cg-steps li,.cg-dac,.cg-toc,.cg-related,.cg-trust,.cg-side-cta) { color:#142d52; }
html.dark .bn-reader .ux-article .border-emerald-100 { background-color:#12352f!important; }
