/* contrast repair only; original framework/layout unchanged */
body.editorial { color: #f3f4f6 !important; }
body.editorial :is(p, small, span, a, button, b, h1, h2, h3) { opacity: 1 !important; }
body.editorial :is(.site-header, .mag-hero, .library, .version-guide, .site-footer) :is(p, small, span, a, button, b, h1, h2, h3) { color: #e5e7eb !important; }
body.editorial .rail-note :is(span, p, small), body.editorial .issue :is(span, b), body.editorial .section-heading p { color: #cbd5e1 !important; }
body.editorial .topic-jumps a { background: #261b35 !important; border-color: #67458a !important; }
body.editorial .topic-jumps :is(a, b, i) { color: #f3e8ff !important; }
body.editorial .work-card { background: #21172e !important; border-color: #51366d !important; }
body.editorial .work-meta > span { background: #3b2750 !important; border-color: #765293 !important; color: #f5e8ff !important; }
body.editorial .read-work { color: #e9d5ff !important; }
body.editorial .notes { background: #20172b !important; }
body.editorial .notes-list article { border-color: #59416b !important; }
body.editorial .notes-list :is(span, p) { color: #d7cce0 !important; }
body.editorial .filters button { color: #e9d5ff !important; border-color: #765293 !important; }
body.editorial .filters button[aria-pressed="true"] { background: #5b216e !important; border-color: #8b3da0 !important; color: #ffffff !important; }
body.editorial :is(.header-download, .action), body.editorial :is(.header-download, .action) * { color: #ffffff !important; }
body.editorial .mag-download :is(.eyebrow, h2, p) { color: #f5f7f0 !important; }
body.editorial .mag-download .action, body.editorial .mag-download .action * { color: #1f2a1c !important; background: #d6ed75 !important; }
body.editorial dialog { background: #18111f !important; color: #f3f4f6 !important; }
@media (max-width: 599px) { .menu-toggle.menu { display: flex !important; } }
