:root:not([data-theme="light"]) {
  color-scheme: dark;
  background: #242424;
  --navy: #dbeaf2;
  --navy-2: #78afd0;
  --blue: #68a9cf;
  --blue-soft: #22343e;
  --ink: #e7e7e3;
  --muted: #a5acae;
  --line: #3b3937;
  --line-strong: #4a4643;
  --bg: #151819;
  --white: #292827;
  --gold: #d7a24b;
  --green: #66ae8c;
  --shadow: 0 18px 48px rgba(0, 0, 0, .28);
  --lit-bg: #151819;
  --lit-surface: #292827;
  --lit-surface-raised: #302e2d;
  --lit-surface-soft: #2d2b2a;
  --lit-line: #403d3b;
  --lit-line-strong: #4c4845;
  --lit-text: #e7e7e3;
  --lit-muted: #a5acae;
  --lit-subtle: #7f898d;
  --lit-blue: #72b4d8;
  --lit-blue-soft: #233943;
  --lit-warm: #d89562;
  --lit-danger: #e07e83;
}

:root:not([data-theme="light"]) body {
  background: #242424;
  color: var(--lit-text);
}

/* Topic lists and task slots */
:root:not([data-theme="light"]) .public-literature-eyebrow,
:root:not([data-theme="light"]) .public-topic-label {
  color: var(--lit-blue);
}

:root:not([data-theme="light"]) .public-topic-secondary,
:root:not([data-theme="light"]) .public-topic-pagination a,
:root:not([data-theme="light"]) .public-topic-dialog,
:root:not([data-theme="light"]) .public-topic-dialog input,
:root:not([data-theme="light"]) .public-topic-dialog textarea,
:root:not([data-theme="light"]) .public-topic-dialog-actions > button:not(.public-topic-primary),
:root:not([data-theme="light"]) .public-topic-card,
:root:not([data-theme="light"]) .public-topic-empty,
:root:not([data-theme="light"]) .literature-task-slot,
:root:not([data-theme="light"]) .literature-search-dialog,
:root:not([data-theme="light"]) .literature-panel-field input,
:root:not([data-theme="light"]) .literature-panel-field textarea,
:root:not([data-theme="light"]) .literature-task-slot-menu-items {
  border-color: var(--lit-line);
  background: var(--lit-surface);
  color: var(--lit-text);
}

:root:not([data-theme="light"]) .public-topic-secondary:hover,
:root:not([data-theme="light"]) .public-topic-pagination a:hover,
:root:not([data-theme="light"]) .public-topic-create-slot:hover,
:root:not([data-theme="light"]) .literature-task-slot-empty:hover,
:root:not([data-theme="light"]) .literature-task-slot-menu summary:hover,
:root:not([data-theme="light"]) .literature-task-slot-menu[open] summary,
:root:not([data-theme="light"]) .literature-search-dialog-close:hover {
  border-color: #638aa0;
  background: #273238;
  color: #9fd0e8;
}

:root:not([data-theme="light"]) .public-topic-create-slot,
:root:not([data-theme="light"]) .literature-task-slot-empty {
  border-color: #506874;
  color: var(--lit-muted);
}

:root:not([data-theme="light"]) .public-topic-create-slot strong,
:root:not([data-theme="light"]) .literature-task-slot h3,
:root:not([data-theme="light"]) .literature-task-slot-empty strong,
:root:not([data-theme="light"]) .literature-task-article-count strong {
  color: var(--lit-text);
}

:root:not([data-theme="light"]) .public-topic-create-plus,
:root:not([data-theme="light"]) .literature-task-slot-add,
:root:not([data-theme="light"]) .literature-task-slot-badge {
  border-color: #4f6f7d;
  background: var(--lit-blue-soft);
  color: #8dc7e3;
}

:root:not([data-theme="light"]) .public-topic-card footer,
:root:not([data-theme="light"]) .literature-task-slot-facts {
  border-color: var(--lit-line);
}

:root:not([data-theme="light"]) .public-topic-card p,
:root:not([data-theme="light"]) .public-topic-card footer,
:root:not([data-theme="light"]) .public-topic-card dt,
:root:not([data-theme="light"]) .public-topic-pagination,
:root:not([data-theme="light"]) .literature-task-slot-query,
:root:not([data-theme="light"]) .literature-task-article-count span,
:root:not([data-theme="light"]) .literature-task-dates span {
  color: var(--lit-muted);
}

:root:not([data-theme="light"]) .public-topic-main:hover h2,
:root:not([data-theme="light"]) .literature-task-slot-link:hover h3 {
  color: #9fd0e8;
}

:root:not([data-theme="light"]) .public-topic-actions summary,
:root:not([data-theme="light"]) .literature-task-slot-menu summary {
  border-color: var(--lit-line);
  color: var(--lit-muted);
}

:root:not([data-theme="light"]) .public-topic-actions[open] summary,
:root:not([data-theme="light"]) .public-topic-actions summary:hover {
  border-color: #638aa0;
  background: #273238;
  color: #9fd0e8;
}

:root:not([data-theme="light"]) .public-topic-actions > div {
  border-color: var(--lit-line);
  background: var(--lit-surface-raised);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
}

:root:not([data-theme="light"]) .public-topic-actions button {
  color: var(--lit-text);
}

:root:not([data-theme="light"]) .public-topic-actions button:hover,
:root:not([data-theme="light"]) .literature-task-slot-menu-items button:hover {
  background: #2a3033;
}

:root:not([data-theme="light"]) .public-topic-actions .is-danger,
:root:not([data-theme="light"]) .public-topic-auto-update .public-topic-auto-error,
:root:not([data-theme="light"]) .literature-task-retention-warning,
:root:not([data-theme="light"]) .literature-task-slot-badge.is-failed,
:root:not([data-theme="light"]) .literature-panel-form-error,
:root:not([data-theme="light"]) .public-topic-form-error {
  color: var(--lit-danger);
}

:root:not([data-theme="light"]) .public-topic-dialog .public-topic-auto-update {
  border-color: var(--lit-line);
  background: var(--lit-surface-soft);
}

:root:not([data-theme="light"]) .public-topic-auto-update strong {
  color: var(--lit-text);
}

:root:not([data-theme="light"]) .public-topic-auto-update small {
  color: var(--lit-muted);
}

:root:not([data-theme="light"]) .public-topic-messages,
:root:not([data-theme="light"]) .literature-search-preview {
  border-color: #3e5966;
  background: #1d2a30;
  color: #cbdde5;
}

:root:not([data-theme="light"]) .literature-search-preview-chart,
:root:not([data-theme="light"]) .literature-search-preview-summary {
  border-color: var(--lit-line);
  background: var(--lit-surface-soft);
}

:root:not([data-theme="light"]) .literature-task-slot-badge.is-running {
  background: #252f42;
  color: #9db8e6;
}

:root:not([data-theme="light"]) .literature-panel-error {
  border-color: #71494c;
  background: #352427;
  color: #efafb3;
}

:root:not([data-theme="light"]) .public-topic-dialog::backdrop,
:root:not([data-theme="light"]) .literature-search-dialog::backdrop {
  background: rgba(0, 0, 0, .64);
}

:root:not([data-theme="light"]) .personal-literature-content,
:root:not([data-theme="light"]) .literature-task-panel {
  --panel-primary: #8fc9e4;
  --panel-primary-hover: #abd9ed;
  --panel-text: var(--lit-text);
  --panel-muted: var(--lit-muted);
  --panel-subtle: var(--lit-subtle);
  --panel-line: var(--lit-line);
  --panel-line-strong: var(--lit-line-strong);
}

/* Shared result workspace */
:root:not([data-theme="light"]) .panel,
:root:not([data-theme="light"]) .controls,
:root:not([data-theme="light"]) .table-wrap,
:root:not([data-theme="light"]) .article-filter-viz,
:root:not([data-theme="light"]) .detail-item,
:root:not([data-theme="light"]) .abstract,
:root:not([data-theme="light"]) .topic-metric {
  border-color: var(--lit-line-strong);
  background: var(--lit-surface);
  color: var(--lit-text);
  box-shadow: var(--shadow);
}

:root:not([data-theme="light"]) .hero {
  background: linear-gradient(135deg, #18384b, #285b72 62%, #68463a);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
}

:root:not([data-theme="light"]) .card,
:root:not([data-theme="light"]) .cards .article-filter-viz,
:root:not([data-theme="light"]) .cards .article-chart-card {
  border-color: rgba(161, 186, 199, .2);
  background: linear-gradient(145deg, #29363c, #22282b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

:root:not([data-theme="light"]) .card b,
:root:not([data-theme="light"]) .network-toolbar b,
:root:not([data-theme="light"]) .topic-head-copy b,
:root:not([data-theme="light"]) .year-value strong,
:root:not([data-theme="light"]) .topic-detail h2,
:root:not([data-theme="light"]) .topic-metric b {
  color: #d8e9f1;
}

:root:not([data-theme="light"]) .cards .year-mini-count,
:root:not([data-theme="light"]) .cards .summary-legend-row em,
:root:not([data-theme="light"]) .cards .db-legend-row b,
:root:not([data-theme="light"]) .journal-panel .year-mini-count,
:root:not([data-theme="light"]) .journal-panel .db-legend-row b {
  color: #d8e9f1;
}

:root:not([data-theme="light"]) input,
:root:not([data-theme="light"]) select,
:root:not([data-theme="light"]) .multi-trigger,
:root:not([data-theme="light"]) .multi-panel {
  border-color: var(--lit-line-strong);
  background-color: #181d1f;
  color: var(--lit-text);
  box-shadow: none;
}

:root:not([data-theme="light"]) input::placeholder,
:root:not([data-theme="light"]) textarea::placeholder {
  color: #768186;
}

:root:not([data-theme="light"]) input:hover,
:root:not([data-theme="light"]) select:hover,
:root:not([data-theme="light"]) .multi-trigger:hover {
  border-color: #647985;
}

:root:not([data-theme="light"]) .multi-clear,
:root:not([data-theme="light"]) .multi-option {
  color: #c8d3d8;
}

:root:not([data-theme="light"]) .multi-clear:hover,
:root:not([data-theme="light"]) .multi-option:hover,
:root:not([data-theme="light"]) .single-option.is-selected {
  background: #2a353a;
  color: #a7d7ec;
}

:root:not([data-theme="light"]) .filter-reset {
  border-color: var(--lit-line-strong);
  background: #181d1f;
  color: #aebdc4;
}

:root:not([data-theme="light"]) .filter-reset:hover:not(:disabled) {
  border-color: #647985;
  background: #2a353a;
  color: #e1ebef;
}

:root:not([data-theme="light"]) .table-head-wrap,
:root:not([data-theme="light"]) thead th {
  background: #19394a;
  color: #eef5f8;
}

:root:not([data-theme="light"]) .article-result-head {
  background: #19394a;
  color: #eef5f8;
}

:root:not([data-theme="light"]) .article-result-scope {
  color: #b9cbd3;
}

:root:not([data-theme="light"]) .table-wrap,
:root:not([data-theme="light"]) .frequency-bars,
:root:not([data-theme="light"]) .rank-scroll {
  scrollbar-color: #637077 #181c1e;
}

:root:not([data-theme="light"]) .table-wrap::-webkit-scrollbar-track,
:root:not([data-theme="light"]) .frequency-bars::-webkit-scrollbar-track,
:root:not([data-theme="light"]) .rank-scroll::-webkit-scrollbar-track {
  background: #181c1e;
}

:root:not([data-theme="light"]) .table-wrap::-webkit-scrollbar-thumb,
:root:not([data-theme="light"]) .frequency-bars::-webkit-scrollbar-thumb,
:root:not([data-theme="light"]) .rank-scroll::-webkit-scrollbar-thumb {
  border-color: #181c1e;
  background: #637077;
}

:root:not([data-theme="light"]) .table-wrap::-webkit-scrollbar-thumb:hover,
:root:not([data-theme="light"]) .frequency-bars::-webkit-scrollbar-thumb:hover,
:root:not([data-theme="light"]) .rank-scroll::-webkit-scrollbar-thumb:hover {
  background: #7b898f;
}

:root:not([data-theme="light"]) .article-table tbody tr.main:nth-child(odd) > td,
:root:not([data-theme="light"]) .journal-table tbody tr.main:nth-child(odd) > td,
:root:not([data-theme="light"]) tbody tr.main:nth-child(odd) > td {
  background: #202426;
}

:root:not([data-theme="light"]) .article-table tbody tr.main:nth-child(even) > td,
:root:not([data-theme="light"]) .journal-table tbody tr.main:nth-child(even) > td,
:root:not([data-theme="light"]) tbody tr.main:nth-child(even) > td {
  background: #24292c;
}

:root:not([data-theme="light"]) .article-table tbody tr.main:hover > td,
:root:not([data-theme="light"]) .journal-table tbody tr.main:hover > td,
:root:not([data-theme="light"]) tbody tr.main:hover > td {
  background: #2b373c;
}

:root:not([data-theme="light"]) tbody td,
:root:not([data-theme="light"]) .footer,
:root:not([data-theme="light"]) .detail-box,
:root:not([data-theme="light"]) .topic-detail,
:root:not([data-theme="light"]) .topic-head,
:root:not([data-theme="light"]) .network-toolbar,
:root:not([data-theme="light"]) .network-foot,
:root:not([data-theme="light"]) .frequency-panel {
  border-color: var(--lit-line);
}

:root:not([data-theme="light"]) .footer,
:root:not([data-theme="light"]) .topic-detail,
:root:not([data-theme="light"]) .topic-head,
:root:not([data-theme="light"]) .network-toolbar,
:root:not([data-theme="light"]) .network-foot,
:root:not([data-theme="light"]) .frequency-panel {
  background: #1d2224;
}

:root:not([data-theme="light"]) .pager,
:root:not([data-theme="light"]) .pager button,
:root:not([data-theme="light"]) .year-button,
:root:not([data-theme="light"]) .btn,
:root:not([data-theme="light"]) .topic-actions .btn.source {
  border-color: var(--lit-line-strong);
  background: #252b2e;
  color: #cfe1e9;
  box-shadow: none;
}

:root:not([data-theme="light"]) .pager button:hover:not(:disabled),
:root:not([data-theme="light"]) .btn:hover,
:root:not([data-theme="light"]) .year-button:hover {
  background: #303a3f;
}

:root:not([data-theme="light"]) .pager button:disabled {
  background: #1b1f21;
  color: #687378;
}

:root:not([data-theme="light"]) .pager button + span,
:root:not([data-theme="light"]) .pager span + button {
  border-color: var(--lit-line);
}

:root:not([data-theme="light"]) .title,
:root:not([data-theme="light"]) .article-title-text,
:root:not([data-theme="light"]) .journal-name,
:root:not([data-theme="light"]) .journal-title,
:root:not([data-theme="light"]) .rank-name {
  color: #d9e8ef;
}

:root:not([data-theme="light"]) .article-link-tag,
:root:not([data-theme="light"]) .journal-tag,
:root:not([data-theme="light"]) .count-bar,
:root:not([data-theme="light"]) .year-mini-track,
:root:not([data-theme="light"]) .frequency-track,
:root:not([data-theme="light"]) .detail-quality-switch {
  border-color: var(--lit-line);
  background: #2b3235;
  color: #b8c8cf;
}

:root:not([data-theme="light"]) .article-panel .article-year {
  border: 0;
  background: transparent;
  color: var(--lit-muted);
}

:root:not([data-theme="light"]) .article-meta .article-metric-sort:has(.metric.if),
:root:not([data-theme="light"]) .article-meta .article-metric-sort[data-article-sort="2025IF"] {
  border-color: #355768;
  background: #24363f;
  color: #9dc7da;
}

:root:not([data-theme="light"]) .article-meta .article-metric-sort:has(.metric.jcr-q1),
:root:not([data-theme="light"]) .article-meta .article-metric-sort:has(.metric.partition-1) {
  border-color: #66413e;
  background: #3a2928;
  color: #e0a19a;
}

:root:not([data-theme="light"]) .article-meta .article-metric-sort:has(.metric.jcr-q2),
:root:not([data-theme="light"]) .article-meta .article-metric-sort:has(.metric.partition-2) {
  border-color: #65563a;
  background: #393329;
  color: #ddc179;
}

:root:not([data-theme="light"]) .article-meta .article-metric-sort:has(.metric.jcr-q3),
:root:not([data-theme="light"]) .article-meta .article-metric-sort:has(.metric.partition-3) {
  border-color: #3d586b;
  background: #26333e;
  color: #9ebcd2;
}

:root:not([data-theme="light"]) .article-meta .article-metric-sort:has(.metric.jcr-q4),
:root:not([data-theme="light"]) .article-meta .article-metric-sort:has(.metric.partition-4) {
  border-color: #3e604f;
  background: #273730;
  color: #9bc8b3;
}

:root:not([data-theme="light"]) .article-links .article-link-tag.primary {
  border-color: #36596b;
  background: #253844;
  color: #9dccdf;
}

:root:not([data-theme="light"]) .article-links .article-link-tag.source {
  border-color: #40604f;
  background: #283831;
  color: #9fcab4;
}

:root:not([data-theme="light"]) .article-links .article-link-tag.pubmed {
  border-color: #514864;
  background: #322e3d;
  color: #bdb0d8;
}

:root:not([data-theme="light"]) .journal-panel .metric.if {
  border-color: #355768;
  background: #24363f;
  color: #9dc7da;
}

:root:not([data-theme="light"]) .journal-panel .metric.jcr-q1,
:root:not([data-theme="light"]) .journal-panel .metric.partition-1 {
  border-color: #66413e;
  background: #3a2928;
  color: #e0a19a;
}

:root:not([data-theme="light"]) .journal-panel .metric.jcr-q2,
:root:not([data-theme="light"]) .journal-panel .metric.partition-2 {
  border-color: #65563a;
  background: #393329;
  color: #ddc179;
}

:root:not([data-theme="light"]) .journal-panel .metric.jcr-q3,
:root:not([data-theme="light"]) .journal-panel .metric.partition-3 {
  border-color: #3d586b;
  background: #26333e;
  color: #9ebcd2;
}

:root:not([data-theme="light"]) .journal-panel .metric.jcr-q4,
:root:not([data-theme="light"]) .journal-panel .metric.partition-4 {
  border-color: #3e604f;
  background: #273730;
  color: #9bc8b3;
}

:root:not([data-theme="light"]) .journal-tags .article-link-tag.primary {
  border-color: #36596b;
  background: #253844;
  color: #9dccdf;
}

:root:not([data-theme="light"]) .journal-tags .article-link-tag.source {
  border-color: #40604f;
  background: #283831;
  color: #9fcab4;
}

:root:not([data-theme="light"]) .journal-tags .article-link-tag.pubmed {
  border-color: #514864;
  background: #322e3d;
  color: #bdb0d8;
}

:root:not([data-theme="light"]) .journal-panel .count-bar {
  border-color: #40515a;
  background: #273136;
  box-shadow: inset 0 0 0 1px #40515a;
}

:root:not([data-theme="light"]) .journal-panel .count-bar-fill {
  background: #486f84;
}

:root:not([data-theme="light"]) .journal-panel .count-bar b {
  color: #eef3f5;
}

:root:not([data-theme="light"]) .journal-panel .count-bar:hover,
:root:not([data-theme="light"]) .journal-panel .count-bar:focus-visible {
  background: #2d393e;
  box-shadow: inset 0 0 0 1px #557281, 0 0 0 3px rgba(85, 114, 129, .12);
}

:root:not([data-theme="light"]) .detail-box {
  background: linear-gradient(180deg, #22282b, #1d2224);
}

:root:not([data-theme="light"]) .abstract,
:root:not([data-theme="light"]) .detail-item {
  box-shadow: none;
}

:root:not([data-theme="light"]) .article-abstract,
:root:not([data-theme="light"]) .article-abstract-text,
:root:not([data-theme="light"]) .article-journal,
:root:not([data-theme="light"]) .abstract .text {
  color: #cbd5d9;
}

:root:not([data-theme="light"]) .abstract-toggle {
  color: #8fc9e4;
}

:root:not([data-theme="light"]) .chart-hover-panel,
:root:not([data-theme="light"]) .network-detail,
:root:not([data-theme="light"]) .detail-reopen {
  border-color: var(--lit-line-strong);
  background: rgba(34, 39, 42, .97);
  color: var(--lit-text);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .38);
}

:root:not([data-theme="light"]) .chart-view-option {
  border-color: var(--lit-line);
  background: linear-gradient(145deg, #2b3539, #22272a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  color: #c6d2d7;
}

:root:not([data-theme="light"]) .chart-select-view,
:root:not([data-theme="light"]) .detail-close {
  border-color: var(--lit-line-strong);
  background: #30373a;
  color: #bed0d8;
}

/* Network */
:root:not([data-theme="light"]) .frequency-row,
:root:not([data-theme="light"]) .frequency-count,
:root:not([data-theme="light"]) .network-detail ol,
:root:not([data-theme="light"]) .network-detail h3 {
  color: #bccbd1;
}

:root:not([data-theme="light"]) .frequency-row.is-hidden .frequency-track {
  background: #252a2d;
}

:root:not([data-theme="light"]) .frequency-edit-form input {
  background: #1b2022;
  color: var(--lit-text);
}

:root:not([data-theme="light"]) .frequency-remove {
  color: #879aa3;
}

:root:not([data-theme="light"]) .frequency-remove:hover,
:root:not([data-theme="light"]) .frequency-remove:focus-visible {
  background: #30383b;
  color: #e09a9f;
}

:root:not([data-theme="light"]) .keyword-changes {
  border-color: var(--lit-line);
  background: #252b2e;
  color: #bccbd1;
}

:root:not([data-theme="light"]) .keyword-change-list h3 {
  color: #879aa3;
}

:root:not([data-theme="light"]) .keyword-change-row button {
  border-color: var(--lit-line-strong);
  background: #30373a;
  color: #c7d8df;
}

:root:not([data-theme="light"]) .keyword-change-row button:hover,
:root:not([data-theme="light"]) .keyword-change-row button:focus-visible {
  border-color: #658ca1;
  background: #394449;
}

:root:not([data-theme="light"]) .network-stage {
  background: radial-gradient(circle at 50% 45%, #262d30 0, #1b2022 66%, #15191b 100%);
}

:root:not([data-theme="light"]) .keyword-link {
  stroke: #52666f;
}

:root:not([data-theme="light"]) .keyword-node circle {
  stroke: #202426;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .32));
}

:root:not([data-theme="light"]) .keyword-node text {
  fill: #edf0ee;
}

:root:not([data-theme="light"]) .keyword-node .node-count {
  fill: #b4c1c6;
}

:root:not([data-theme="light"]) .keyword-node:hover circle,
:root:not([data-theme="light"]) .keyword-node:focus-visible circle,
:root:not([data-theme="light"]) .keyword-node.selected circle,
:root:not([data-theme="light"]) .keyword-node.focus circle {
  stroke: #9fd0e8;
}

/* Topic quality */
:root:not([data-theme="light"]) .quality-option,
:root:not([data-theme="light"]) .rank-section-head {
  background: #24363f;
  color: #cfe6f0;
}

:root:not([data-theme="light"]) .quality-option:has(input:not(:checked)) {
  background: #272d30;
  color: #8d9a9f;
}

:root:not([data-theme="light"]) .rank-section {
  background: var(--lit-surface);
}

:root:not([data-theme="light"]) .rank-section + .rank-section,
:root:not([data-theme="light"]) .rank-section-head,
:root:not([data-theme="light"]) .topic-detail {
  border-color: var(--lit-line);
}

:root:not([data-theme="light"]) .rank-row {
  background: linear-gradient(90deg, #2c424c 0 var(--rank-share, 0%), #24292b var(--rank-share, 0%) 100%);
  color: #c0cdd2;
  box-shadow: inset 0 0 0 1px #343d41;
}

:root:not([data-theme="light"]) .rank-row:hover,
:root:not([data-theme="light"]) .rank-row.active {
  background: linear-gradient(90deg, #365462 0 var(--rank-share, 0%), #293235 var(--rank-share, 0%) 100%);
  box-shadow: inset 0 0 0 1px #628ca0;
}

:root:not([data-theme="light"]) .rank-number {
  background: rgba(20, 24, 26, .6);
  color: #b9d2dd;
  box-shadow: inset 0 0 0 1px rgba(169, 204, 220, .16);
}

:root:not([data-theme="light"]) .rank-share,
:root:not([data-theme="light"]) .rank-section-head b,
:root:not([data-theme="light"]) .rank-section-head em {
  color: #b9dced;
}

:root:not([data-theme="light"]) .history-track {
  background: #35454c;
}

:root:not([data-theme="light"]) .history-high {
  background: #66a9cf;
}

:root:not([data-theme="light"]) .topic-actions .btn.source {
  color: #bbd7e3;
}

@media (max-width: 720px) {
  :root:not([data-theme="light"]) .public-literature-page {
    background: transparent;
  }
}
