@media screen {
  html[data-theme=dark] {
    color-scheme:dark;
        --black:#0b0b0b;--paper:var(--black);--study-paper:var(--black);--field:var(--black);--sheet:#191919;
    --ink:#e8e8e8;--quiet:#b8b8b8;--steel-copy:#b8b8b8;--line:#373737;--silver-rule:#373737;
    --surface:#232323;--surface-low:#191919;
    --on-dark:#ededed;--on-dark-secondary:#bcbcbc;
    --accent-ink:#a6d2ed;
    --selection-fill:#c6c8c9;--selection-ink:#17191a;
    background:var(--black);color:var(--ink);
  }
  @media (forced-colors:none) {
    ::selection {background-color:var(--selection-fill);color:var(--selection-ink);text-shadow:none}
  }
  [data-theme=dark] body {background:var(--black);color:var(--ink)}
  [data-theme=dark] :is(.cover,.mast,.footer) {background:var(--black);color:var(--on-dark)}
  [data-theme=dark] .cover {isolation:isolate}
  [data-theme=dark] .cover .primary, [data-theme=dark] .footer .wait {background:#e5e5e5;color:#141414}
  [data-theme=dark] .cover .primary:hover, [data-theme=dark] .footer .wait:hover {background:#f3f3f3}
  [data-theme=dark] .cover .primary:active, [data-theme=dark] .footer .wait:active {background:#c6c6c6}
  [data-theme=dark] .cover-media {mix-blend-mode:lighten}
  [data-theme=dark] .mast[data-raised], [data-theme=dark] .mast:has(#mobile-menu[open]) {background:var(--black)}
  [data-theme=dark] #mobile-menu nav {background:#121212}
  [data-theme=dark] #mobile-menu nav {border-color:var(--line)}
  [data-theme=dark] .mast .outline {border-color:#595959}
  [data-theme=dark] .mast .outline:hover {background:#242424}
  [data-theme=dark] .routing, [data-theme=dark] .connect {background:var(--field)}
  [data-theme=dark] :is(.studio,.evidence,.questions) {background:var(--study-paper)}
  [data-theme=dark] :is(main,.routing,.studio,.evidence,.connect,.questions) {color:var(--ink)}
  [data-theme=dark] .routing .routing-head p, [data-theme=dark] .diagram-labels, [data-theme=dark] .route-readout span,
  [data-theme=dark] .route-readout i, [data-theme=dark] .output-kind, [data-theme=dark] .output-fasta .fasta-id {color:var(--steel-copy)}
  [data-theme=dark] .diagram-labels .interface-label, [data-theme=dark] .output-fasta, [data-theme=dark] .output-source {color:#d8d8d8}
  [data-theme=dark] .route-readout .arrow-link span {color:inherit}
  [data-theme=dark] .diagram-guides, [data-theme=dark] .routing-art .weave-crossings {stroke:#71818d}
  [data-theme=dark] .routing-art > g:first-child > path {stroke:#9aa7b3}
  [data-theme=dark] .routing-art > g:first-child > path:nth-child(3n) {stroke:#c6cfd6}
  [data-theme=dark] .lane.active .route-rail {stroke:#82a9c0}
  [data-theme=dark] .lane.active .route-pulse {stroke:#b1dcf5}
  [data-theme=dark] .lane.active>rect {fill:#9acdEB;stroke:#a9d7ef}
  [data-theme=dark] .model-plate::before, [data-theme=dark] .model-plate::after {border-color:#657480}
  [data-theme=dark] .output-fasta .seq-run::after {background:var(--accent)}
  [data-theme=dark] .routing .route-readout {background:transparent}
  [data-theme=dark] #specimen .fold-tab :is(a,b) {color:#c5c5c5}
  [data-theme=dark] .film-layers {mix-blend-mode:lighten}
  [data-theme=dark] .film-cut:before {background:#969696;box-shadow:1px 0 #202020}
  [data-theme=dark] .film-cut .compare-handle {background:#252525;border-color:#aeaeae;color:#ededed}
  [data-theme=dark] .film-frame:hover .compare-handle {background:#323232}
  [data-theme=dark] .film-frame.dragging .compare-handle {background:#203f52;border-color:var(--accent-light)}
  [data-theme=dark] .film-key span:first-child::before {background:#a9a49c}
  [data-theme=dark] .film-key span:last-child::before {border-color:#a5b4c0}
  [data-theme=dark] .file-work>.chain {background:var(--sheet)}
  [data-theme=dark] .map-book {background:#151515}
  [data-theme=dark] .file-reader .sheet-head, [data-theme=dark] .xyz>div, [data-theme=dark] .seq-band {border-color:var(--silver-rule)}
  [data-theme=dark] .file-work .raw-wrap {background:#111111}
  [data-theme=dark] .raw-head span:first-child, [data-theme=dark] .seq-head h4, [data-theme=dark] .seq-cells .letter {color:var(--ink)}
  [data-theme=dark] #raw mark {background:#314552;color:#d4edfc}
  [data-theme=dark] .seq-head .seq-meta>span:first-child {color:var(--steel-copy)}
  [data-theme=dark] .seq-cells .letter[aria-pressed=true] {color:#17252e;background:var(--accent)}
  [data-theme=dark] .seq-cells .letter:not([aria-pressed=true]):hover {background:#303030}
  [data-theme=dark] .seq-cells .letter:not([aria-pressed=true]):active {background:#3a3a3a}
  [data-theme=dark] .field-entry:has(:checked) {background:var(--sheet)}
  [data-theme=dark] .field-entry:has(label:hover):not(:has(:checked)) {background:#1a1a1a}
  [data-theme=dark] .field-entry code, [data-theme=dark] .access-method .code-fragment {color:#d3d3d3}
  [data-theme=dark] .field-entry .ap-icon {color:#a3a3a3}
  [data-theme=dark] .field-gloss, [data-theme=dark] .access-method p {color:var(--quiet)}
  [data-theme=dark] .access-method .code-fragment {background:#242424;box-shadow:inset 0 0 0 1px #414141}
  [data-theme=dark] .questions .faqs details {border-color:#323232}
  [data-theme=dark] .faqs summary:hover {color:#fff}
  [data-theme=dark] .faqs summary .ap-icon {color:#b1b1b1}
  [data-theme=dark] .footline {border-color:var(--line)}
  [data-theme=dark] dialog {background:#191919;border-color:#464646;color:var(--ink)}
  [data-theme=dark] dialog .primary {color:#151515;background:#e9e9e9}
  [data-theme=dark] dialog::backdrop {background:#080808bd}
  :is(html[data-theme=dark], .print-planes.choice-group) {
    --choice-track:#191919;--choice-text:#bfbfbf;--choice-selected:#353535;--choice-on:#f4f4f4;
    --choice-hover:#282828;--choice-press:#303030;--choice-selected-hover:#3b3b3b;
    --choice-edge:#414141;--choice-spot:#9daeb8;--choice-ring:#a6c7db;
  }
  .choice-group .choice-track,.seq-ranges.choice-track {box-shadow:inset 0 0 0 1px var(--choice-edge)}
  [data-theme=dark] .map-book .step-face {background:#1a1a1a;border-color:#525252}
  [data-theme=dark] .map-book .step:enabled:hover .step-face {background:#292929}
  [data-theme=dark] .map-book .pin-ring {fill:#151515}
  [data-theme=dark] .mast[data-raised] {box-shadow:0 1px 0 #343434}
  [data-theme=dark] .menu-backdrop {background-color:rgb(8 8 8 / .34)}
  [data-theme=dark] :focus-visible {outline-color:var(--choice-ring)}
}
