.theme-toggle { display: inline-grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; padding: 0; border: 1px solid var(--color-stone); border-radius: 50%; background: transparent; color: inherit; font: 20px/1 sans-serif; cursor: pointer; }
.theme-toggle:hover { background: var(--color-paper-deep); }
.theme-toggle:focus-visible { outline: 2px solid var(--color-red); outline-offset: 3px; }
html[data-theme='dark'] { color-scheme: dark; --color-ink: #edf1e9; --color-charcoal: #edf1e9; --color-paper: #1c211e; --color-paper-deep: #272e29; --color-white: #2c332e; --color-stone: #48524a; --color-line: #48524a; --color-red: #ec9b88; --color-blue: #a4c8d8; --editorial-muted: #b8c2b8; }
html[data-theme='dark'] body { background: var(--color-paper); color: var(--color-ink); }
html[data-theme='dark'] body::before { opacity: .06; }
html[data-theme='dark'] .site-header.header-light, html[data-theme='dark'] .site-header.is-scrolled, html[data-theme='dark'] .site-header.menu-active { background: rgba(28,33,30,.97); color: var(--color-ink); }
html[data-theme='dark'] .nav-dropdown-menu, html[data-theme='dark'] .site-nav { background-color: var(--color-paper); color: var(--color-ink); }
html[data-theme='dark'] .journal-body > p, html[data-theme='dark'] .science-deck, html[data-theme='dark'] .source-note, html[data-theme='dark'] .nav-menu-caption, html[data-theme='dark'] .library-deck, html[data-theme='dark'] .journal-tools label, html[data-theme='dark'] #article-count, html[data-theme='dark'] .article-cover figcaption { color: var(--editorial-muted); }
html[data-theme='dark'] .knowledge-visual, html[data-theme='dark'] .knowledge-visual-contrast, html[data-theme='dark'] .knowledge-visual-meal { background: #303b34; color: var(--color-ink); }
html[data-theme='dark'] .science-cover-label, html[data-theme='dark'] .campus-hero, html[data-theme='dark'] .site-footer { color: #f6f2ea; }
html[data-theme='dark'] .site-footer { background: #101512; }
html[data-theme='dark'] input, html[data-theme='dark'] select, html[data-theme='dark'] textarea { color: var(--color-ink); background-color: var(--color-paper-deep); }
html[data-theme='dark'] .journal-tools input, html[data-theme='dark'] .journal-tools select { background: transparent; }
html[data-theme='dark'] .source-note a, html[data-theme='dark'] .member-dialog-bio { color: inherit; }
html[data-theme='dark'] :is(.intro-copy, .mission-notes p, .program-card p, .evidence p, .story p, .event-list p, .join-panel p, .contact-lines span, .contact-panel p, .about-contact-details .contact-item p, .about-hero-copy, .about-stats span, .tb-hut p, .member-card p, .feature-note p, .reading-grid p, .campus-photo figcaption, .library-card p, .article-meta, .editor-help) { color: var(--editorial-muted); }
html[data-theme='dark'] .glimmer { background: #202a24; color: #f6f2ea; }
html[data-theme='dark'] .hero, html[data-theme='dark'] .button-light { color: #fff; }
html[data-theme='dark'] .admin-page button { color: #1c211e; }
html[data-theme='dark'] .admin-page #admin-articles button { color: var(--color-ink); }
html[data-theme='dark'] .admin-page button:hover { color: #1c211e; }
.mission-handwriting { width: 100%; margin: 38px 0 0; }
.mission-handwriting img { display: block; width: 100%; height: auto; }
@media (max-width: 700px) { .mission-handwriting { margin: 24px 0 8px; } }
#society-introduction { background: linear-gradient(rgba(246, 242, 234, .8), rgba(246, 242, 234, .8)), url('images/about-chalkboard.png') center / cover no-repeat; }
html[data-theme='dark'] #society-introduction { background: linear-gradient(rgba(28, 33, 30, .76), rgba(28, 33, 30, .76)), url('images/about-chalkboard.png') center / cover no-repeat; }
