html{color-scheme:light}
html[data-theme="dark"]{color-scheme:dark;--ink:#edf1f2;--paper:#10161b;--muted:#a9b4ba;--line:#344149;--red:#ef646a;--navy:#123747;--gold:#d8a84d;--panel:#1b252b;--soft:#1b242a}
body{transition:background-color .18s ease,color .18s ease}
.theme-actions{display:flex;align-items:center;gap:12px}
.theme-toggle{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:7px 11px;border:1px solid #ffffff55;border-radius:999px;background:#ffffff10;color:#fff;font:800 10px/1 var(--sans,Arial,sans-serif);letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.theme-toggle:hover{background:#ffffff20;border-color:#ffffff88}
.theme-toggle:focus-visible{outline:2px solid #e7c77f;outline-offset:3px}
.theme-toggle-icon{display:grid;place-items:center;width:15px;height:15px}
.theme-toggle-icon svg{display:block;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

html[data-theme="dark"] body{background:#10161b;color:#edf1f2}
html[data-theme="dark"] :where(.dek,.section-intro,.document-record-head>p,.evidence-copy>p:not(.evidence-index),.roster-copy>span:not(.roster-domain):not(.roster-action),.lead-module-header p,.chain-heading>p:last-child,.story p,.record p,.source-nav p,.article-abstract-copy p){color:#b8c2c7}
html[data-theme="dark"] :where(.meta,.evidence-index,.roster-domain,.lead-card-summary,.lead-card-body,.lead-visual figcaption,.identity-record-preview figcaption,.evidence-wide figcaption,.record-pair figcaption){color:#a8b3b9}
html[data-theme="dark"] :where(.evidence-story,.evidence-gallery figure,.feature-document,.evidence-story-compact figure,.roster-preview,.instagram-profile,.transcript details,.scope-note,.record,.record-pair figure,.evidence-wide,.identity-record-preview,.lead-entity-card,.chain-grid article,.subject-guide li,.lineage-more){background:#182126;color:#edf1f2;border-color:#3a464c}
html[data-theme="dark"] :where(.evidence-gallery,.roster-thumb,.evidence-image,.lead-network-view,.lead-network-stage){background:#212b30;border-color:#3a464c}
html[data-theme="dark"] :where(.prompt-excerpt,.document-record-close,.record-card,.fact-box,.statusbar,.identity-grid li,.documented-chain,.subject-guide,.lineage-boundary,.lineage-events article){background:#1b252b;color:#e4e9eb}
html[data-theme="dark"] :where(.prompt-excerpt,.prompt-excerpt span,.document-record-close,.record-card p,.fact-box p){color:#d8dfe2}
html[data-theme="dark"] .evidence-copy>p:not(.evidence-index){color:#c8d1d5!important}
html[data-theme="dark"] .roster-copy>span:not(.roster-domain):not(.roster-action){color:#bac5ca!important}
html[data-theme="dark"] :where(.identity-grid li>p,.identity-card-copy>p,.chain-grid p,.complaint-claims p,.lead-card-body){color:#bac5ca!important}
html[data-theme="dark"] .identity-grid .identity-featured{background:#1b252b!important;border-color:#47606c}
html[data-theme="dark"] .identity-grid .identity-featured .identity-card-title{color:#edf1f2}
html[data-theme="dark"] .hardship-evidence{background:#182126;border-color:#ef646a}
html[data-theme="dark"] .hardship-card{background:#1b252b;border-color:#3a464c;color:#edf1f2}
html[data-theme="dark"] .record-quote{background:#202a30!important;color:#edf1f2!important;border-color:#3a464c!important}
html[data-theme="dark"] :where(.document-preview,.instagram-source){background:#12191e;border-color:#3a464c}
html[data-theme="dark"] .caption-excerpts{border-color:#3a464c}
html[data-theme="dark"] .caption-excerpts p{color:#edf1f2!important}
html[data-theme="dark"] .evidence-source{color:#aeb9be!important}
html[data-theme="dark"] .evidence-assessment{background:#3a464c;border-color:#3a464c}
html[data-theme="dark"] .evidence-assessment p{background:#1b252b;color:#c8d1d5!important}
html[data-theme="dark"] .evidence-assessment b{color:#ff7b80}
html[data-theme="dark"] .article-abstract{background:#182126;border-color:#344149}
html[data-theme="dark"] .article-abstract-copy strong{color:#edf1f2}
html[data-theme="dark"] :where(.toc,.rail){color:#b9c3c8}
html[data-theme="dark"] :where(.toc a,.toc-finding,.toc-subject,.toc-points a){color:#b6c1c6!important;border-color:#344149}
html[data-theme="dark"] :where(.lead-network-indexes,.lead-structure-grid,.chain-grid,.complaint-claims){background:#344149}
html[data-theme="dark"] :where(.lead-network-indexes article,.lead-network-indexes>p,.complaint-claims article){background:#182126;color:#edf1f2}
html[data-theme="dark"] .lead-network-indexes article p{background:transparent}
html[data-theme="dark"] :where(.lead-module-label,.lead-network-indexes strong,.lead-entity-card strong,.chain-grid h3,.subject-guide h3){color:#edf1f2!important}
html[data-theme="dark"] .lead-view-switch{background:#273238;border-color:#465158}
html[data-theme="dark"] .lead-view-switch button{color:#cad2d6}
html[data-theme="dark"] .lead-view-switch button[aria-pressed="true"]{background:#edf1f2;color:#142833}
html[data-theme="dark"] .lead-graph-edge text{stroke:#212b30;fill:#b9c3c8}
html[data-theme="dark"] .lead-network-instruction{background:#10161be8;color:#d9e0e3!important}
html[data-theme="dark"] :where(.transcript-cue,.timeline li,.meta,.story h2,.story>h3.finding-heading,.source-page,.lead-module-header){border-color:#344149}
html[data-theme="dark"] .cue-copy{color:#dce2e5}
html[data-theme="dark"] .source-actions a{border-color:#65727a}
html[data-theme="dark"] footer:not(.publication-footer){border-color:#344149;color:#9eabb1}

@media(max-width:560px){
  .theme-actions{gap:7px}
  .theme-toggle{padding:7px 9px}
  .theme-toggle-text{display:none}
}

@media(prefers-reduced-motion:reduce){body{transition:none}.theme-toggle{transition:none}}
