/* The research pages share the site's navy surface hierarchy. Text accents remain. */
html[data-theme=dark] body.terminal-article{--paper:#070e1d;--ink:#e4ecf8;--muted:#adbbd0;--line:#293a52;background:#070e1d}
html[data-theme=dark] .terminal-article :is(.research-graphic,.state-figure,.flow-figure,.future-work,.article-history,.update-flow,.research-update,.lab-next){background:#0c1729!important;border-color:#2c3e58!important}
html[data-theme=dark] .terminal-article :is(.trial-card,.hash-node,.flow-node,.flow-branch,.future-grid article,.finding-card,.update-flow>div){background:#132139!important;border-color:#30445f!important}
html[data-theme=dark] .terminal-article :is(.bit-visual span,.hash-node>span,.flow-node>span,.finding-card>span){background:#233b5b!important;border-color:#405b80;color:#dceaff}
html[data-theme=dark] .terminal-article .bit-visual span:last-child{background:#34587c!important;color:#eff6ff}
html[data-theme=dark] .terminal-article :is(.article-body code,.article-environment code,.article-body mark){background:#1b2c46!important;color:#dbe9fb}
html[data-theme=dark] .terminal-article :is(.article-table th,.article-table tr:nth-child(even)){background:#122139!important}
html[data-theme=dark] .terminal-article :is(.article-table,.article-table td,.article-table th,.state-figure figcaption,.flow-branches,.article-environment,.research-graphic,.article-history,.future-work){border-color:#2c3e58!important}
html[data-theme=dark] .terminal-article :is(.research-graphic figcaption,.trial-card small,.hash-node small,.update-flow span,.state-figure figcaption){color:#adbed6}
html[data-theme=dark] .terminal-article .article-body h2:before{border-color:#819fc6}
.terminal-article .article-body h2,.terminal-article .research-update,.terminal-article .future-work,.terminal-article .article-history{scroll-margin-top:130px}
@media(min-width:1101px){.terminal-article .article-toc{top:90px;max-height:calc(100dvh - 110px);overflow-y:auto}}
