.codex-experience{--bg:#0a0b0d;--ink:#f2f1ed;--muted:#aaa;--line:#343434;background:#0a0b0d;color:#f2f1ed}
.codex-experience button,.codex-experience select,.codex-experience input{font:inherit}
.archive-entrance{min-height:100svh;position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:5vh 6vw 5vh;background:#090a0b;color:#ecebe7;overflow:hidden}
.archive-entrance::after{content:"";position:absolute;right:5vw;top:10vh;bottom:10vh;width:1px;background:linear-gradient(transparent,#3a3b3d,transparent);opacity:.4}
.entrance-sequence{display:flex;flex-direction:column;gap:.65rem;color:#a9aaa8;font:clamp(.62rem,.8vw,.8rem)/1.4 Consolas,'Courier New',monospace;letter-spacing:.13em}
.entrance-sequence span{opacity:0;animation:entrance-line .6s ease forwards}
.entrance-sequence span:nth-child(2){animation-delay:.45s}.entrance-sequence span:nth-child(3){animation-delay:1s}.entrance-sequence span:nth-child(4){animation-delay:1.55s;color:#c25a4c}
@keyframes entrance-line{to{opacity:1}}
.entrance-main{position:relative;z-index:1;padding:3rem 0 5rem;opacity:0;animation:entrance-line .85s ease 2.15s forwards}
.entrance-classification,.entrance-author,.entrance-foot,.entrance-button,.sound-choice{font-family:Consolas,'Courier New',monospace;letter-spacing:.12em;text-transform:uppercase}
.entrance-classification{color:#a75448;font-size:.7rem;margin-bottom:2rem}
.entrance-main h1{font:600 clamp(4.2rem,10.7vw,12rem)/.87 'Urbanist',Arial,sans-serif;letter-spacing:-.08em;max-width:12ch}
.entrance-author{font-size:.77rem;color:#c5c2bc;margin:1.8rem 0 3rem;text-transform:none;letter-spacing:.08em}
.entrance-button,.sound-choice{display:block;width:max-content;max-width:100%;border:0;background:transparent;color:#f2f1ed;cursor:pointer;text-align:left;font-size:.78rem;padding:.8rem 0}
.entrance-button{border-bottom:1px solid #f2f1ed}
.entrance-button:hover,.entrance-button:focus-visible,.sound-choice:hover,.sound-choice:focus-visible{color:#d26353}
.sound-choice{margin-top:1.2rem;color:#999}
.sound-choice[aria-pressed=true]{color:#d7aa9e}
.entrance-foot{font-size:.6rem;color:#5e6263}
.js .archive-document{display:none}.archive-entered .archive-entrance{display:none}.archive-entered .archive-document{display:block}
html:not(.js) .archive-entrance{display:none}
.archive-document{background:#f5f4ef;color:#191a1a;min-height:100vh}
.js .document-shell,.js .prototype-ending{display:none}
.document-open .classification-sheet{display:none}
.document-open .document-shell{display:grid}
.document-open .prototype-ending{display:flex}
.archive-header{position:sticky;top:0;z-index:12;display:grid;grid-template-columns:1fr auto 1fr;gap:2rem;align-items:center;padding:1rem 3vw;border-bottom:1px solid #d4d0c8;background:rgba(245,244,239,.96);backdrop-filter:blur(12px);font: .64rem/1.3 Consolas,'Courier New',monospace;letter-spacing:.1em}
.archive-header>a{font:600 1.9rem/.8 'Urbanist',Arial,sans-serif;letter-spacing:-.09em;width:max-content}.archive-header>a span{color:#bb4236}
.archive-header>div{display:flex;flex-direction:column;text-align:center;gap:.25rem}
.archive-header>span{justify-self:end;color:#666;white-space:nowrap;transition:color .15s}
.classification-sheet{position:relative;min-height:calc(100svh - 5rem);max-width:66rem;margin:0 auto;padding:clamp(4rem,7vw,7rem) 5vw 6rem;font-family:Consolas,'Courier New',monospace;color:#252525}
.classification-top{display:flex;justify-content:space-between;gap:2rem;border-bottom:1px solid #444;padding-bottom:1.2rem;align-items:flex-start;font-size:.7rem;letter-spacing:.15em}
.classification-top span:last-child{border:1px solid #bd3d33;color:#bd3d33;padding:.5rem 1.4rem;line-height:1.6}
.classification-warning{display:block;width:max-content;color:#b73e33;transform:rotate(-90deg);transform-origin:left bottom;position:absolute;margin-left:-2.2rem;margin-top:25rem;font:.55rem Consolas,'Courier New',monospace;letter-spacing:.12em}
.classification-kicker{font-size:.73rem;color:#b73e33;letter-spacing:.12em;margin:3.5rem 0 .5rem}
.classification-sheet h2{font:700 clamp(2.1rem,4vw,4rem)/1 'Urbanist',Arial,sans-serif;letter-spacing:-.055em;max-width:18ch}
.classification-objective{font:.72rem/1.5 Consolas,'Courier New',monospace;letter-spacing:.03em;border-bottom:1px solid #aaa;padding:1.2rem 0}
.classification-intro{max-width:49rem;font:.96rem/1.55 Consolas,'Courier New',monospace;margin:2.2rem 0 3rem}.classification-intro p+p{margin-top:.3rem}
.dossier-player{max-width:49rem;border-top:1px solid #9d9c98;border-bottom:1px solid #9d9c98;padding:.75rem 0 1rem;margin:-.5rem 0 3.5rem;font:.67rem/1.4 Consolas,'Courier New',monospace;letter-spacing:.04em}.dossier-player>div:first-child,.dossier-player-time{display:flex;align-items:center;justify-content:space-between;gap:1rem}.dossier-player button{border:0;background:transparent;color:#171717;cursor:pointer;padding:.5rem 0;text-align:left;font:inherit;letter-spacing:inherit}.dossier-player button:hover,.dossier-player button:focus-visible{text-decoration:underline}.dossier-player button[aria-pressed=true]{color:#b73e33}.dossier-player button:disabled,.dossier-player input:disabled{opacity:.5;cursor:default}.dossier-player input{display:block;width:100%;margin:.65rem 0 .2rem;accent-color:#b73e33;cursor:pointer}.dossier-player>div:first-child span,.dossier-player-time{color:#77736d}
.classification-files{display:grid;gap:2.4rem}.classification-files section{border:1px solid #aaa;background:#f9f8f5;padding:1.5rem 1.7rem;position:relative}
.classification-files h3{width:max-content;max-width:100%;border:1px solid #aaa;background:#f5f4ef;margin:-2.3rem 0 1.4rem;padding:.45rem .7rem;font:bold .68rem/1.3 Consolas,'Courier New',monospace;letter-spacing:.04em}
.classification-files section:nth-child(3) h3,.classification-files section:nth-child(4) h3{color:#b73e33}
.classification-files p{font:.88rem/1.6 Consolas,'Courier New',monospace;max-width:55rem}.classification-files p+p{margin-top:.5rem}
.classification-bottom{display:flex;justify-content:space-between;align-items:end;gap:2rem;border-top:1px solid #aaa;margin-top:3rem;padding-top:2rem;font:.63rem/1.4 Consolas,'Courier New',monospace;letter-spacing:.09em;color:#b73e33}
.classification-bottom button{position:relative;border:0;border-bottom:1px solid #252525;padding:.6rem 0;background:transparent;color:#252525;cursor:pointer;letter-spacing:.08em;font:inherit;text-align:left}
.js .archive-entered .classification-sheet .is-reveal-pending{opacity:0;transform:translateY(.65rem);transition:opacity 1.25s ease,transform 1.25s ease}
.js .archive-entered .classification-sheet .is-reveal-pending.is-revealed{opacity:1;transform:none}
.document-shell{display:grid;grid-template-columns:minmax(8rem,1fr) minmax(0,47rem) minmax(10rem,1fr);gap:3vw;max-width:1550px;margin:0 auto;padding:6rem 3vw 8rem}
.document-margin,.document-side{display:flex;flex-direction:column;gap:1.3rem;color:#85837e;font:.62rem/1.5 Consolas,'Courier New',monospace;letter-spacing:.1em;text-transform:uppercase}
.document-margin{padding-top:12rem}.document-margin i{display:block;height:5rem;width:1px;background:#c8c1b9;margin:1rem 0}
.document-side{padding-top:12rem;align-items:flex-end;text-align:right}
.document-heading{display:flex;justify-content:space-between;gap:1rem;border-top:1px solid #252525;padding-top:1rem;font:.65rem/1.4 Consolas,'Courier New',monospace;letter-spacing:.12em}
.chapter-code{font:.75rem/1.5 Consolas,'Courier New',monospace;color:#b33e34;letter-spacing:.03em;margin:5rem 0 .9rem}
.prologue h2{font-size:clamp(4.8rem,9vw,9rem);line-height:.82;letter-spacing:-.08em;font-weight:600}
.chapter-deck{font:italic clamp(1.15rem,2vw,1.6rem)/1.5 Georgia,serif;max-width:32rem;margin:2.3rem 0 5rem;color:#484541}
.narration-player{border-top:1px solid #222;border-bottom:1px solid #c6c1bb;padding:1.1rem 0 1.3rem;margin-bottom:5rem;font-family:Consolas,'Courier New',monospace}
.player-top,.player-progress>div,.player-tools{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.player-top button,.player-tools button{border:0;background:transparent;color:#191a1a;cursor:pointer;text-align:left}
.player-top button:disabled,.player-tools button:disabled,.player-progress input:disabled{opacity:.45;cursor:default}
.player-top button{font-size:.76rem;letter-spacing:.09em;padding:.5rem 0}
.player-top button[aria-pressed=true]{color:#b73e33}
.player-top>span,.player-progress>div,.player-tools,#audio-note{font-size:.68rem;color:#69665f}
.player-progress{margin:.6rem 0 1rem}.player-progress input{width:100%;accent-color:#bb4438;cursor:pointer}.player-progress>div{margin-top:.25rem}
.player-tools{justify-content:flex-start;flex-wrap:wrap;gap:1.2rem 2rem;text-transform:uppercase;letter-spacing:.05em}
.player-tools button{font-size:.68rem;text-transform:uppercase}.player-tools label{display:flex;align-items:center;gap:.6rem}.player-tools input{width:4.8rem;accent-color:#bb4438}.player-tools select{border:0;border-bottom:1px solid #aaa;background:transparent;color:#191a1a;cursor:pointer;font-size:.7rem}
#reading-resume{display:block;border:0;border-bottom:1px solid #a64137;padding:.25rem 0;margin-top:1.2rem;background:transparent;color:#a64137;font: .68rem Consolas,'Courier New',monospace;letter-spacing:.07em;cursor:pointer}
#reading-resume[hidden]{display:none}
#audio-note{margin-top:1rem;line-height:1.5}
.voice-disclosure{font:.61rem/1.4 Consolas,'Courier New',monospace;color:#777;margin-top:.4rem}
.prologue-text{font:clamp(1.1rem,1.45vw,1.32rem)/1.8 Georgia,'Times New Roman',serif;letter-spacing:-.008em}
.reading-paragraph{padding:.2rem .5rem .2rem 1rem;margin:0 0 1.55rem -1rem;border-left:2px solid transparent;transition:background .35s,border-color .35s;color:#292827}
.js .document-open .reading-paragraph.is-reveal-pending{opacity:0;transform:translateY(.6rem);transition:opacity 1.25s ease,transform 1.25s ease,background .35s,border-color .35s}
.js .document-open .reading-paragraph.is-reveal-pending.is-revealed{opacity:1;transform:none}
.reading-paragraph.is-current{background:#ede9e1;border-color:#b74b3f}
.annotated-block{position:relative}.annotated-block::after{content:"";position:absolute;right:-.12rem;top:1.2rem;width:.28rem;height:.28rem;border-radius:50%;background:#a54238}
.annotation-marker{position:absolute;left:calc(100% + 3vw);top:.1rem;width:10rem;border:0;border-top:1px solid #ad4940;background:transparent;color:#a54238;padding:.65rem 0;text-align:left;cursor:pointer;font:.62rem/1.4 Consolas,'Courier New',monospace;letter-spacing:.08em}
.annotation-marker::before{content:"";position:absolute;right:100%;top:-1px;width:3vw;border-top:1px solid #ad4940}.annotation-marker span,.annotation-marker strong,.annotation-marker small,.annotation-marker em{display:block;font:inherit}.annotation-marker strong{margin-top:.55rem;color:#1d1d1d}.annotation-marker small{margin-top:.15rem;color:#777}.annotation-marker em{margin-top:.7rem;font-style:normal}
.annotation-marker.first-seen{animation:annotation-notice 1.3s ease-out 1}@keyframes annotation-notice{50%{background:#e8d8d2}}
.annotation-marker:hover,.annotation-marker:focus-visible{text-decoration:underline}
.prologue-colophon{display:flex;justify-content:space-between;gap:1rem;border-top:1px solid #bbb;padding-top:1rem;margin-top:6rem;font:.64rem/1.3 Consolas,'Courier New',monospace;color:#777;letter-spacing:.07em}
.prototype-ending{min-height:70svh;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:7rem 6vw;background:#0a0b0d;color:#efeee8}
.prototype-ending>span,.prototype-ending>p,.prototype-ending button{font-family:Consolas,'Courier New',monospace;letter-spacing:.12em;text-transform:uppercase}
.prototype-ending>span{font-size:.68rem;color:#ae645b}.prototype-ending h2{font-size:clamp(3.5rem,8vw,8.5rem);line-height:.9;letter-spacing:-.07em;margin:2rem 0}.prototype-ending>p{font-size:.75rem;color:#aaa}
.prototype-ending button{border:1px solid #aaa;background:transparent;color:#efeee8;padding:1.1rem 1.5rem;min-height:3.6rem;margin-top:4rem;font-size:1rem;cursor:pointer}.prototype-ending button:hover,.prototype-ending button:focus-visible{background:#efeee8;color:#0a0b0d}
#archive-expansion{margin-top:3rem!important;color:#d0c5c0!important;line-height:1.7}
.codex-footer{display:flex;justify-content:space-between;gap:2rem;flex-wrap:wrap;background:#0a0b0d;color:#777;border-top:1px solid #383838;padding:2rem 3vw;font:.65rem/1.5 Consolas,'Courier New',monospace;letter-spacing:.05em}.codex-footer a{color:#c7c4be}
.nexus-annotation{position:fixed;inset:0 0 0 auto;width:min(38rem,100vw);height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#f3f2ee;color:#171717;box-shadow:-2rem 0 5rem #0004;overflow-y:auto}
.nexus-annotation::backdrop{background:#08080988}
.annotation-sheet{min-height:100%;padding:2rem clamp(1.5rem,4vw,4rem);display:flex;flex-direction:column}
.annotation-head{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid #171717;padding-bottom:1rem;font:.64rem/1.3 Consolas,'Courier New',monospace;letter-spacing:.07em}
.annotation-head button{border:0;background:none;color:#171717;cursor:pointer;font:inherit}
.annotation-code{font:.7rem/1.4 Consolas,'Courier New',monospace;color:#b43b32;margin:5rem 0 1.2rem;letter-spacing:.09em}
.annotation-sheet h2{font-size:clamp(2.5rem,4vw,4.2rem);line-height:.94;letter-spacing:-.065em}
.nexus-audio{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.8rem;border-top:1px solid #9f9c96;border-bottom:1px solid #9f9c96;margin-top:2rem;padding:.65rem 0;font:.65rem/1.4 Consolas,'Courier New',monospace;letter-spacing:.06em}.nexus-audio button{border:0;background:transparent;color:#171717;cursor:pointer;padding:.45rem 0;font:inherit;letter-spacing:inherit}.nexus-audio button:hover,.nexus-audio button:focus-visible{text-decoration:underline}.nexus-audio button[aria-pressed=true]{color:#b43b32}.nexus-audio>span{color:#79746e}
.annotation-copy{font:1.08rem/1.6 Consolas,'Courier New',monospace;margin:3rem 0;color:#292929}.annotation-copy p+p{margin-top:1.2rem}
#artifact-toggle{align-self:flex-start;border:0;border-bottom:1px solid #222;background:none;color:#171717;padding:.6rem 0;cursor:pointer;font:.75rem/1.3 Consolas,'Courier New',monospace;letter-spacing:.06em}
#access-document,#artifact-toggle{isolation:isolate;position:relative}
#artifact-toggle{padding:.8rem .5rem;margin-left:-.5rem}
#access-document:is(:hover,:focus-visible),#artifact-toggle:is(:hover,:focus-visible){background:#171717;color:#fff}
.micro-glitch{position:relative;isolation:isolate}
.micro-glitch::after{content:attr(data-ghost);position:absolute;inset:0;width:100%;height:100%;white-space:pre-wrap;overflow:hidden;pointer-events:none;color:currentColor;opacity:0;z-index:1}
.micro-shear{animation:micro-shear .14s steps(1,end) 1}
.micro-shear::after{animation:micro-shear-ghost .14s steps(1,end) 1}
.micro-ghost::after{animation:micro-ghost .19s steps(1,end) 1}
.micro-corrupt::after{content:attr(data-corrupt);animation:micro-corrupt .17s steps(1,end) 1}
.micro-scan::after{clip-path:inset(37% 0 37% 0);animation:micro-scan .19s steps(1,end) 1}
.micro-static{filter:contrast(1.8);text-decoration:underline;text-decoration-style:dotted}
@keyframes micro-shear{0%,100%{transform:none}15%{transform:translateX(7px)}40%{transform:translateX(-5px)}70%{transform:translateX(2px)}}
@keyframes micro-shear-ghost{0%,100%{opacity:0;transform:none}15%,38%{opacity:.58;transform:translateX(-9px);clip-path:inset(0 0 52% 0)}40%,68%{opacity:.5;transform:translateX(8px);clip-path:inset(47% 0 0 0)}}
@keyframes micro-ghost{0%,100%{opacity:0;transform:none}15%,52%{opacity:.8;transform:translateX(8px);clip-path:inset(0 0 48% 0)}53%,80%{opacity:.65;transform:translateX(-6px);clip-path:inset(49% 0 0 0)}}
@keyframes micro-corrupt{0%,100%{opacity:0}18%,72%{opacity:1;filter:invert(1);clip-path:inset(18% 0 28% 0)}}
@keyframes micro-scan{0%,100%{opacity:0;transform:none}18%,42%{opacity:1;transform:translateX(-10px);clip-path:inset(18% 0 65% 0)}43%,78%{opacity:.85;transform:translateX(8px);clip-path:inset(62% 0 12% 0)}}
.impossible-event[hidden]{display:none}
.impossible-event{position:fixed;inset:0;z-index:10000;overflow:hidden;background:#f3f2ee;pointer-events:auto}
.anomaly-fragments,.impossible-blackout{position:absolute;inset:0}
.anomaly-fragments{overflow:hidden}
.anomaly-slice{position:absolute;inset:0;overflow:hidden;background:#f3f2ee;color:#191a1a;will-change:transform;animation:signal-fracture .42s steps(1,end) both}
.anomaly-slice:nth-child(2n){animation-delay:25ms}
.anomaly-slice:nth-child(3n){animation-delay:45ms}
.anomaly-slice .archive-header{background:#f3f2ee}
.anomaly-slice .document-shell{color:#191a1a}
.anomaly-slice :is(h1,h2,h3,p,span,button){text-shadow:2px 0 #73737377,-2px 0 #fff9}
@keyframes signal-fracture{0%,100%{transform:none;filter:none}12%{transform:translateX(var(--slice-shift));filter:contrast(1.5)}28%{transform:translateX(calc(var(--slice-shift) * -.65)) translateY(6px)}29%{transform:translateX(calc(var(--slice-shift) * -.65)) translateY(-5px)}45%{transform:translateX(calc(var(--slice-shift) * 1.3));filter:contrast(2)}65%{transform:translateX(calc(var(--slice-shift) * -.4)) translateY(4px)}66%{transform:translateX(calc(var(--slice-shift) * -.4)) translateY(-4px)}84%{transform:translateX(var(--slice-shift));filter:none}}
.impossible-blackout{display:none;align-items:center;justify-content:center;background:#050607;color:#eeeee9}
.impossible-blackout p{margin:0;padding:0 2rem;font:500 clamp(.85rem,1.1vw,1.05rem)/1.4 Arial,Helvetica,sans-serif;letter-spacing:.018em;text-align:center}
.impossible-event.is-blackout,.impossible-event.is-recovering{background:#050607}
.is-blackout .anomaly-fragments,.is-recovering .anomaly-fragments{display:none}
.is-blackout .impossible-blackout,.is-recovering .impossible-blackout{display:flex}
.is-recovering{animation:signal-recovery .19s steps(1,end) both}
@keyframes signal-recovery{0%,65%{opacity:1}66%,100%{opacity:0}}
.impossible-event.is-reduced .anomaly-fragments{background:#ecebe5;filter:contrast(1.8)}
.impossible-event.is-reduced .anomaly-fragments::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 17px,#111 18px 19px,transparent 20px 41px);opacity:.18}
html[data-codex-theme=dark] .impossible-event.is-rupturing,html[data-codex-theme=dark] .anomaly-slice,html[data-codex-theme=dark] .anomaly-slice .archive-header{background:#111416;color:#ebe9e2}
html[data-codex-theme=dark] .anomaly-slice .document-shell{color:#ebe9e2}
.recovered-artifact{border:1px solid #b7b3ac;background:#fff;padding:1.2rem;margin-top:2rem;font-family:Consolas,'Courier New',monospace}
.recovered-artifact:not([hidden]){animation:archive-paper-reveal .8s ease both}
.recovered-artifact>div{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid #bbb;padding-bottom:.6rem;color:#a63c31;font-size:.62rem}
.recovered-artifact p{font-size:.86rem;line-height:1.7;margin:1.2rem 0}.recovered-artifact small{color:#777}
.annotation-foot{font:.64rem/1.4 Consolas,'Courier New',monospace;color:#b43b32;margin-top:auto;padding-top:4rem;letter-spacing:.06em}
.nexus-annotation[open] .annotation-head,.nexus-annotation[open] .annotation-code,.nexus-annotation[open] .annotation-sheet h2,.nexus-annotation[open] .annotation-copy p{animation:archive-paper-reveal .9s ease both}
.nexus-annotation[open] .annotation-code{animation-delay:.08s}.nexus-annotation[open] .annotation-sheet h2{animation-delay:.16s}.nexus-annotation[open] .annotation-copy p:nth-child(1){animation-delay:.24s}.nexus-annotation[open] .annotation-copy p:nth-child(2){animation-delay:.32s}.nexus-annotation[open] .annotation-copy p:nth-child(3){animation-delay:.4s}.nexus-annotation[open] .annotation-copy p:nth-child(4){animation-delay:.48s}
@keyframes archive-paper-reveal{from{opacity:0;transform:translateY(.6rem)}to{opacity:1;transform:none}}
@media(max-width:1280px){.document-shell{grid-template-columns:minmax(0,1fr);max-width:55rem;padding:5rem 5vw}.document-margin,.document-side{display:none}.annotated-block::after,.annotation-marker::before{display:none}.annotation-marker{position:static;display:block;width:100%;margin:0 0 2rem 0;padding:1rem 1.2rem;border:1px solid #bab4ac;border-left:2px solid #ad4940;background:#eeece7}.annotation-marker span,.annotation-marker strong,.annotation-marker small,.annotation-marker em{display:inline-block;margin:0 1rem .15rem 0}}
@media(max-width:760px){.archive-entrance{padding:4rem 5vw 2rem}.entrance-main{padding:3rem 0}.entrance-main h1{font-size:clamp(3.7rem,15vw,7rem)}.archive-header{grid-template-columns:auto 1fr;padding:.8rem 5vw}.archive-header>div{display:none}.archive-header>span{font-size:.55rem}.classification-sheet{padding:3rem 6vw 5rem}.classification-top{font-size:.6rem}.classification-intro{font-size:.83rem}.classification-files section{padding:1.4rem 1rem}.classification-files p{font-size:.79rem}.classification-bottom{flex-direction:column;align-items:flex-start}.document-shell{padding:4rem 6vw 6rem}.document-heading{flex-direction:column}.chapter-code{margin-top:4rem}.chapter-deck{margin-bottom:4rem}.player-tools{gap:1rem}.prologue-text{font-size:1.17rem}.annotation-sheet{padding:1.5rem 6vw}.prototype-ending{min-height:70svh}.prologue-colophon{flex-direction:column}}
@media(max-width:760px){.classification-warning{position:static;transform:none;margin:1rem 0 0}}
@media(prefers-reduced-motion:reduce){.entrance-sequence span,.entrance-main{opacity:1;animation:none}.reading-paragraph,.archive-header>span{transition:none}.js .document-open .reading-paragraph.is-reveal-pending,.js .archive-entered .classification-sheet .is-reveal-pending{opacity:1;transform:none;transition:none}.annotation-marker.first-seen,.nexus-annotation[open] .annotation-head,.nexus-annotation[open] .annotation-code,.nexus-annotation[open] .annotation-sheet h2,.nexus-annotation[open] .annotation-copy p,.nexus-annotation[open] #artifact-toggle,.recovered-artifact:not([hidden]),.micro-glitch,.micro-glitch::after,.anomaly-slice{animation:none}.is-recovering{animation:none;opacity:0}}

.archive-header{grid-template-columns:1fr auto 1fr auto}
.codex-theme-toggle{border:1px solid #777;background:transparent;color:#292827;padding:.5rem .7rem;cursor:pointer;white-space:nowrap;font:inherit;letter-spacing:inherit}
.codex-theme-toggle:hover,.codex-theme-toggle:focus-visible{background:#191a1a;color:#f5f4ef}
.codex-experience :focus-visible{outline:2px solid #b73e33;outline-offset:3px}
@media(max-width:760px){.archive-header{grid-template-columns:auto 1fr auto;gap:.75rem}.archive-header>span{justify-self:end;text-align:right;white-space:normal}.codex-theme-toggle{font-size:.55rem;padding:.45rem}}

html[data-codex-theme=dark]{color-scheme:dark}
html[data-codex-theme=dark] .archive-document{background:#111416;color:#ebe9e2}
html[data-codex-theme=dark] .archive-header{background:rgba(19,23,25,.96);border-color:#40484a;color:#ebe9e2}
html[data-codex-theme=dark] .archive-header>a,html[data-codex-theme=dark] .archive-header>div{color:#ebe9e2}
html[data-codex-theme=dark] .archive-header>span{color:#b8bbb8}
html[data-codex-theme=dark] .codex-theme-toggle{border-color:#818987;color:#e9e9e4}
html[data-codex-theme=dark] .codex-theme-toggle:hover,html[data-codex-theme=dark] .codex-theme-toggle:focus-visible{background:#e9e9e4;color:#15191a}
html[data-codex-theme=dark] .classification-sheet{color:#e5e5df}
html[data-codex-theme=dark] .classification-top{border-color:#a5aaa6}
html[data-codex-theme=dark] .classification-top span:last-child,html[data-codex-theme=dark] .classification-warning,html[data-codex-theme=dark] .classification-kicker,html[data-codex-theme=dark] .classification-files section:nth-child(3) h3,html[data-codex-theme=dark] .classification-files section:nth-child(4) h3,html[data-codex-theme=dark] .classification-bottom{color:#f09180}
html[data-codex-theme=dark] .classification-top span:last-child{border-color:#de7567}
html[data-codex-theme=dark] .classification-objective,html[data-codex-theme=dark] .classification-bottom{border-color:#677073}
html[data-codex-theme=dark] .dossier-player{border-color:#8c9694}html[data-codex-theme=dark] .dossier-player button{color:#ebe9e2}html[data-codex-theme=dark] .dossier-player button[aria-pressed=true]{color:#ef9282}html[data-codex-theme=dark] .dossier-player>div:first-child span,html[data-codex-theme=dark] .dossier-player-time{color:#bbc2bf}
html[data-codex-theme=dark] .classification-files section{background:#1b2022;border-color:#687071}
html[data-codex-theme=dark] .classification-files h3{background:#111416;border-color:#687071;color:#ebe9e2}
html[data-codex-theme=dark] .classification-bottom button{color:#ebe9e2;border-color:#d9d8d2}
html[data-codex-theme=dark] .document-margin,html[data-codex-theme=dark] .document-side{color:#aeb7b4}
html[data-codex-theme=dark] .document-margin i{background:#687071}
html[data-codex-theme=dark] .document-heading,html[data-codex-theme=dark] .narration-player{border-color:#8c9694}
html[data-codex-theme=dark] .chapter-code{color:#ef9282}
html[data-codex-theme=dark] .chapter-deck{color:#cecac1}
html[data-codex-theme=dark] .voice-disclosure{color:#b9c0bc}
html[data-codex-theme=dark] .player-top button,html[data-codex-theme=dark] .player-tools button,html[data-codex-theme=dark] .player-tools select{color:#ebe9e2}
html[data-codex-theme=dark] .player-top button[aria-pressed=true],html[data-codex-theme=dark] #reading-resume{color:#ef9282}
html[data-codex-theme=dark] .player-top>span,html[data-codex-theme=dark] .player-progress>div,html[data-codex-theme=dark] .player-tools,html[data-codex-theme=dark] #audio-note{color:#bbc2bf}
html[data-codex-theme=dark] .player-tools select{border-color:#8c9694;background:#111416}
html[data-codex-theme=dark] #reading-resume{border-color:#ef9282}
html[data-codex-theme=dark] .reading-paragraph{color:#e9e8e2}
html[data-codex-theme=dark] .reading-paragraph.is-current{background:#293034;border-color:#e88575}
html[data-codex-theme=dark] .annotation-marker{color:#ef9282;border-color:#de786b}
html[data-codex-theme=dark] .annotation-marker::before{border-color:#de786b}
html[data-codex-theme=dark] .annotation-marker strong{color:#e9e8e2}
html[data-codex-theme=dark] .annotation-marker small,html[data-codex-theme=dark] .prologue-colophon{color:#bbc2bf}
html[data-codex-theme=dark] .annotation-marker.first-seen{animation-name:annotation-notice-dark}
@keyframes annotation-notice-dark{50%{background:#31383a}}
html[data-codex-theme=dark] .prologue-colophon{border-color:#697270}
html[data-codex-theme=dark] .nexus-annotation{background:#161b1d;color:#ecebe6;box-shadow:-2rem 0 5rem #0009}
html[data-codex-theme=dark] .annotation-head{border-color:#aab3af}
html[data-codex-theme=dark] .annotation-head button{color:#ecebe6}
html[data-codex-theme=dark] .annotation-code,html[data-codex-theme=dark] .annotation-foot{color:#ef9282}
html[data-codex-theme=dark] .annotation-copy{color:#e4e5df}
html[data-codex-theme=dark] .nexus-audio{border-color:#889290}html[data-codex-theme=dark] .nexus-audio button{color:#ecebe6}html[data-codex-theme=dark] .nexus-audio button[aria-pressed=true]{color:#ef9282}html[data-codex-theme=dark] .nexus-audio>span{color:#b9c0bc}
html[data-codex-theme=dark] #artifact-toggle{color:#ecebe6;border-color:#ecebe6}
html[data-codex-theme=dark] #artifact-toggle:is(:hover,:focus-visible),html[data-codex-theme=dark] #access-document:is(:hover,:focus-visible){background:#ecebe6;color:#15191a}
html[data-codex-theme=dark] .recovered-artifact{background:#22292b;border-color:#889290;color:#ecebe6}
html[data-codex-theme=dark] .recovered-artifact>div{border-color:#889290;color:#ef9282}
html[data-codex-theme=dark] .recovered-artifact small{color:#bbc2bf}
@media(max-width:1280px){html[data-codex-theme=dark] .annotation-marker{background:#22292b;border-color:#7f8987;border-left-color:#de786b}}

/* Complete recovered book: center is manuscript, margins are NEXUS. */
.archive-header{grid-template-columns:1fr auto 1fr auto auto;gap:.8rem}
.codex-index-toggle{border:1px solid currentColor;background:transparent;color:inherit;padding:.5rem .75rem;font:inherit;letter-spacing:.12em;cursor:pointer}
.codex-index-toggle:hover,.codex-index-toggle:focus-visible{background:#191a1a;color:#f5f4ef}
.codex-file-index[hidden],.chapter-reader[hidden]{display:none!important}
.entrance-resume{display:block;width:max-content;max-width:100%;margin:1.3rem auto 0;color:#c4c5c4;text-decoration:none;font:500 .65rem/1.4 Consolas,'Courier New',monospace;letter-spacing:.12em}.entrance-resume:hover,.entrance-resume:focus-visible{color:#fff;text-decoration:underline}
.codex-file-index{position:fixed;z-index:120;top:3.9rem;right:0;width:min(38rem,100vw);height:calc(100svh - 3.9rem);overflow:auto;padding:2rem clamp(1.3rem,4vw,3rem) 3rem;background:#f5f4ef;border-left:1px solid #787b79;box-shadow:-2rem 1rem 4rem #0003}
.index-top{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-bottom:1rem;border-bottom:1px solid #777;font:600 .62rem/1.4 Consolas,'Courier New',monospace;letter-spacing:.13em}
.index-top button{background:transparent;border:0;color:inherit;cursor:pointer;font:inherit}
.codex-file-index h2{margin:2rem 0 .6rem;color:#a94c43;font:500 .62rem/1.4 Consolas,'Courier New',monospace;letter-spacing:.14em}
.codex-file-index>a{display:grid;grid-template-columns:3.1rem 1fr auto;gap:.8rem;align-items:center;padding:.9rem .2rem;border-bottom:1px solid #c9cac7;color:inherit;text-decoration:none}
.codex-file-index>a span{font:500 .7rem/1.3 Consolas,'Courier New',monospace;color:#777}
.codex-file-index>a strong{font:600 .82rem/1.35 Consolas,'Courier New',monospace;overflow-wrap:anywhere}
.codex-file-index>a:hover,.codex-file-index>a:focus-visible,.codex-file-index>a[aria-current=page]{background:#191a1a;color:#f5f4ef;padding-left:.6rem;padding-right:.6rem}
.codex-file-index>a:hover span,.codex-file-index>a:focus-visible span,.codex-file-index>a[aria-current=page] span{color:#d2d0c9}
.codex-file-index>p{margin-top:3rem;font:.6rem/1.5 Consolas,'Courier New',monospace;color:#777;letter-spacing:.1em}
.chapter-route .archive-entrance,.chapter-route .classification-sheet,.chapter-route .document-shell,.chapter-route .prototype-ending{display:none!important}
.chapter-route .chapter-reader{display:block}
.chapter-grid{display:grid;grid-template-columns:minmax(7rem,1fr) minmax(0,48rem) minmax(9rem,1fr);gap:clamp(1rem,3vw,3rem);max-width:1600px;min-height:100vh;margin:auto;padding:6rem 3vw 12rem}
.chapter-left,.chapter-right{font:500 .62rem/1.55 Consolas,'Courier New',monospace;letter-spacing:.12em;color:#7b7d7b}
.chapter-left{display:flex;flex-direction:column;gap:.7rem}.chapter-left i{height:1px;width:4rem;background:#aaa;margin:1.2rem 0}
.chapter-right{padding-top:clamp(17rem,25vw,30rem)}
.chapter-center{min-width:0}.chapter-group{margin:4rem 0 1rem;font:500 .65rem/1.4 Consolas,'Courier New',monospace;letter-spacing:.15em;color:#ad4c43}
.chapter-title{max-width:45rem;margin:0 0 3rem;font:600 clamp(2.1rem,4.3vw,4.5rem)/.98 Arial,Helvetica,sans-serif;letter-spacing:-.055em;overflow-wrap:anywhere}
.chapter-audio-pending,.chapter-audio{margin:0 0 5rem;padding:1rem 0;border-top:1px solid #888;border-bottom:1px solid #888;font:500 .66rem/1.5 Consolas,'Courier New',monospace;letter-spacing:.08em}
.chapter-audio-pending span{color:#a94c43}.chapter-audio-pending p{margin:.5rem 0;color:#767977;letter-spacing:0}
.chapter-audio{display:flex;flex-wrap:wrap;align-items:center;gap:1rem}.chapter-audio button,.chapter-audio select{border:0;background:none;color:inherit;cursor:pointer;font:inherit}.chapter-audio-seek{flex:1 1 12rem}.chapter-audio small{flex-basis:100%;color:#777}
#chapter-resume{margin:0 0 2rem;padding:.65rem .7rem;border:1px solid #9b9d9a;background:transparent;color:inherit;font:500 .66rem Consolas,'Courier New',monospace;letter-spacing:.08em;cursor:pointer}
#chapter-resume[hidden]{display:none}
.codex-source-page{scroll-margin-top:6rem;margin:0 0 3rem}.source-page-label{display:block;margin-bottom:1.4rem;color:#a0a19e;font:500 .55rem/1.3 Consolas,'Courier New',monospace;letter-spacing:.14em}
.codex-prose{margin:0 0 1.15em;font:400 clamp(1.08rem,1.45vw,1.26rem)/1.68 Georgia,'Times New Roman',serif;letter-spacing:.002em;overflow-wrap:break-word}
.codex-prose.is-current{background:#e7e1d8;box-shadow:-.35rem 0 #a94c43}
.codex-sequence{overflow-x:auto;white-space:pre-wrap;margin:3rem 0 5rem;padding:2rem 0;font:500 clamp(.8rem,1.1vw,1rem)/1.8 Consolas,'Courier New',monospace;letter-spacing:.03em}
.codex-log-page{margin:0 auto 3rem;max-width:42rem}.codex-log-page img{display:block;width:100%;height:auto}.codex-log-page figcaption{margin-top:.5rem;color:#888;font:500 .56rem Consolas,'Courier New',monospace;letter-spacing:.1em}
.codex-plate{margin:7rem calc(-1 * min(5vw,4rem)) 6rem}.codex-plate button{display:block;width:100%;padding:0;border:0;background:#111;cursor:zoom-in}.codex-plate img{display:block;width:100%;max-height:85svh;object-fit:contain;background:#111}.codex-plate figcaption{display:flex;justify-content:space-between;gap:1rem;margin-top:.6rem;color:#888;font:500 .56rem/1.4 Consolas,'Courier New',monospace;letter-spacing:.1em}
.js .codex-plate{opacity:.55;filter:contrast(.86);transform:translateY(1rem) scale(.985);transition:opacity 1.4s ease,filter 1.4s ease,transform 1.4s ease}.js .codex-plate.is-visible{opacity:1;filter:none;transform:none}.codex-plate.plate-wide{margin-left:calc(-1 * min(14vw,10rem));margin-right:calc(-1 * min(14vw,10rem))}.codex-plate.plate-wide img{max-height:94svh}
.open-source-page{border:0;border-bottom:1px solid currentColor;background:transparent;color:inherit;padding:.35rem 0;font:500 .64rem Consolas,'Courier New',monospace;letter-spacing:.08em;cursor:pointer}.open-source-page:hover,.open-source-page:focus-visible{color:#ad4c43}
body[data-codex-file=E] .chapter-right,body[data-codex-file=E] .chapter-left{opacity:.45}body[data-codex-file=E] .codex-emergency-log{margin-left:calc(-1 * min(8vw,6rem));margin-right:calc(-1 * min(8vw,6rem));padding:3rem min(8vw,6rem);background:#121618;color:#ebe9e2;box-shadow:0 2rem 4rem #0003}body[data-codex-file=C] .chapter-left,body[data-codex-file=C] .chapter-right{opacity:0}body[data-codex-file=C] .chapter-title{font-size:clamp(2rem,3vw,3.4rem)}body[data-codex-file=C] .chapter-pages{padding-top:4rem}
body[data-codex-file="10"] .chapter-left,body[data-codex-file="10"] .chapter-right{transition:opacity 2s ease,transform 2s ease}body[data-codex-file="10"].control-failing .chapter-left{opacity:.35;transform:translateX(-.75rem)}body[data-codex-file="10"].control-failing .chapter-right{opacity:.35;transform:translateX(.75rem)}
.chapter-dossier{position:relative;display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:.45rem;border:0;border-top:1px solid #aa554c;padding:.9rem 0;background:transparent;color:inherit;text-align:left;cursor:pointer}
.chapter-dossier.dossier-pulse::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 5px,currentColor 6px 7px,transparent 8px 15px);animation:dossier-interference .28s steps(1,end) 1}
@keyframes dossier-interference{0%,100%{opacity:0;transform:none}15%,38%{opacity:.18;transform:translateX(-5px)}48%,72%{opacity:.12;transform:translateX(6px)}}
.chapter-annotated{position:relative}.chapter-annotated::after{content:"";position:absolute;top:0;left:100%;width:clamp(1rem,3vw,3rem);border-top:1px solid #aa554c}.chapter-annotated>.chapter-dossier{position:absolute;top:0;left:calc(100% + clamp(1rem,3vw,3rem));width:clamp(9rem,13vw,16rem)}
.chapter-dossier span,.chapter-dossier small,.chapter-dossier em{font:500 .6rem/1.4 Consolas,'Courier New',monospace;letter-spacing:.08em;color:#a64a42}.chapter-dossier strong{font:600 .8rem/1.3 Consolas,'Courier New',monospace;color:inherit}.chapter-dossier small{color:#888}.chapter-dossier em{font-style:normal;margin-top:.5rem}.chapter-dossier:hover em,.chapter-dossier:focus-visible em{text-decoration:underline}
.chapter-dossier-mobile{display:none}.chapter-next{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;padding-top:1.5rem;border-top:1px solid #888}.chapter-next a{color:inherit;text-decoration:none;font:500 .68rem/1.45 Consolas,'Courier New',monospace;overflow-wrap:anywhere}.chapter-next .previous-file-link{max-width:34%}.chapter-next .previous-file-link:is(:hover,:focus-visible){text-decoration:underline}.chapter-next .next-file-link{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:center;gap:.45rem;width:min(29rem,64%);min-height:5.5rem;padding:1rem 1.4rem;border:1px solid currentColor;background:transparent;text-align:left;transition:background .16s ease,color .16s ease}.chapter-next .next-file-link:is(:hover,:focus-visible){background:#171819;color:#f5f4ef}.next-file-label{display:block;align-self:flex-start;font-size:clamp(.82rem,1.2vw,1rem);letter-spacing:.1em;white-space:nowrap}.next-file-link strong{font:500 .66rem/1.45 Consolas,'Courier New',monospace;letter-spacing:.05em}.next-file-link::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:0;background:repeating-linear-gradient(0deg,transparent 0 6px,currentColor 7px 8px,transparent 9px 17px)}.next-file-link:is(:hover,:focus-visible)::after{animation:file-control-scan .2s steps(1,end) 1}@keyframes file-control-scan{0%,100%{opacity:0;transform:none}25%,55%{opacity:.14;transform:translateY(3px)}}html[data-codex-theme=dark] .chapter-next .next-file-link:is(:hover,:focus-visible){background:#e9e8e2;color:#111416}
.codex-evidence-viewer{width:min(90rem,100vw);max-width:100vw;max-height:100svh;padding:0;border:0;background:#eae9e3;color:#171819}.codex-evidence-viewer::backdrop{background:#000d}.evidence-toolbar{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 2vw;border-bottom:1px solid #888;background:#eae9e3;font:600 .65rem/1.4 Consolas,'Courier New',monospace;letter-spacing:.1em}.evidence-toolbar button{border:1px solid #555;background:transparent;color:inherit;padding:.5rem .7rem;font:inherit;cursor:pointer}.evidence-toolbar button:hover{background:#171819;color:#eee}.codex-evidence-viewer figure{margin:2rem auto 4rem;width:min(88%,57rem)}.codex-evidence-viewer img{display:block;width:100%;height:auto;box-shadow:0 1rem 3rem #0002}.codex-evidence-viewer figcaption{margin-top:.6rem;font:500 .6rem Consolas,'Courier New',monospace;color:#666}
.evidence-toolbar>div{display:flex;gap:.5rem}.codex-evidence-viewer.is-zoomed #evidence-body{width:max(100%,115rem)}.codex-evidence-viewer.is-zoomed figure{width:min(92%,105rem)}
html[data-codex-theme=dark] .codex-file-index{background:#171c1e;color:#e9e8e2;border-color:#666}html[data-codex-theme=dark] .codex-file-index>a{border-color:#545c5c}html[data-codex-theme=dark] .chapter-audio-pending p,html[data-codex-theme=dark] .chapter-audio small{color:#a9b1ae}html[data-codex-theme=dark] .codex-prose.is-current{background:#293034}html[data-codex-theme=dark] .codex-evidence-viewer,html[data-codex-theme=dark] .evidence-toolbar{background:#202628;color:#f0f0ea}html[data-codex-theme=dark] .evidence-toolbar button{color:#f0f0ea}html[data-codex-theme=dark] .evidence-toolbar button:hover{background:#f0f0ea;color:#202628}
@media(max-width:1100px){.chapter-grid{grid-template-columns:minmax(0,1fr);max-width:55rem;padding:5rem 5vw 9rem}.chapter-left,.chapter-right{display:none}.chapter-dossier-mobile{display:block;margin:1rem 0 5rem}.chapter-annotated::after{display:none}.chapter-annotated>.chapter-dossier{position:static;width:100%;margin:0 0 2rem;padding:1rem 1.2rem;border:1px solid #bab4ac;border-left:2px solid #ad4940;background:#eeece7}.chapter-title{font-size:clamp(2.1rem,7vw,4rem)}}
@media(max-width:760px){.archive-header{grid-template-columns:auto 1fr auto auto;gap:.45rem}.codex-index-toggle{padding:.45rem;font-size:.55rem}.codex-file-index{top:3.5rem;height:calc(100svh - 3.5rem)}.chapter-grid{padding:3.5rem 6vw 7rem}.chapter-group{margin-top:3rem}.chapter-title{margin-bottom:2.5rem}.codex-prose{font-size:1.16rem;line-height:1.64}.codex-plate{margin-left:-6vw;margin-right:-6vw}.codex-plate figcaption{padding:0 6vw;flex-direction:column}.codex-evidence-viewer figure{width:96%}.chapter-next{flex-direction:column;align-items:stretch}.chapter-next .previous-file-link{max-width:none}.chapter-next .next-file-link{width:100%}}
@media(max-width:760px){.codex-plate.plate-wide{margin-left:-6vw;margin-right:-6vw}.codex-emergency-log{font-size:.66rem;line-height:1.7}}
@media(max-width:1100px){html[data-codex-theme=dark] .chapter-annotated>.chapter-dossier{background:#22292b;border-color:#7f8987;border-left-color:#de786b}}
@media(prefers-reduced-motion:reduce){.js .codex-plate{opacity:1;filter:none;transform:none;transition:none}}
@media(prefers-reduced-motion:reduce){body[data-codex-file="10"] .chapter-left,body[data-codex-file="10"] .chapter-right{transition:none}body[data-codex-file="10"].control-failing .chapter-left,body[data-codex-file="10"].control-failing .chapter-right{transform:none}}

/* One NEXUS file grammar: manuscript in the page, archive files in this shell. */
.archive-document{--codex-reading-surface:#f5f4ef;background:var(--codex-reading-surface)}
html[data-codex-theme=dark] .archive-document{--codex-reading-surface:#111416}
.codex-plate,.codex-plate button,.codex-plate img{background:var(--codex-reading-surface)}
.codex-plate img{object-fit:contain}
.archive-header{grid-template-columns:minmax(9rem,1fr) auto auto auto;gap:clamp(.55rem,2vw,2rem);min-height:4.2rem}
.archive-header>.archive-brand{font:600 .72rem/1.25 Consolas,'Courier New',monospace;letter-spacing:.14em;text-decoration:none;white-space:nowrap}
.archive-header>#archive-status{justify-self:auto;color:#a33d34;font-weight:700}
.archive-options{position:relative;font:600 .62rem/1.3 Consolas,'Courier New',monospace;letter-spacing:.1em}
.archive-options summary,.audio-options summary{list-style:none;cursor:pointer;padding:.55rem .2rem}
.archive-options summary::-webkit-details-marker,.audio-options summary::-webkit-details-marker{display:none}
.archive-options summary::after,.audio-options summary::after{content:' +';color:#a94c43}
.archive-options[open] summary::after,.audio-options[open] summary::after{content:' −'}
.archive-options>div{position:absolute;right:0;top:calc(100% + 1rem);z-index:20;display:flex;flex-direction:column;align-items:stretch;gap:.4rem;min-width:12rem;padding:1rem;background:var(--codex-reading-surface);border:1px solid #8b8984;box-shadow:0 1rem 2rem #0002}
.archive-options a{color:inherit;text-decoration:none;padding:.5rem;font:inherit}.archive-options a:hover{text-decoration:underline}
.archive-options .codex-theme-toggle{width:100%;text-align:left}
.audio-options{margin-top:.3rem;font:500 .63rem/1.4 Consolas,'Courier New',monospace;letter-spacing:.08em}
.audio-options summary{width:max-content;color:#777}
.audio-options .player-tools{padding:1rem 0 .4rem;border-top:1px solid #c8c6c0}
.chapter-audio{display:grid;grid-template-columns:auto minmax(7rem,1fr) auto;gap:.6rem 1rem}
.chapter-audio .audio-options,.chapter-audio small{grid-column:1/-1}
.chapter-audio-controls{display:flex;flex-wrap:wrap;gap:1rem 1.5rem;align-items:center;padding:.7rem 0}
.chapter-audio-controls label{display:flex;align-items:center;gap:.4rem}
.chapter-audio-controls input[type=range]{width:5.5rem}
.codex-file-index>a{grid-template-columns:3.5rem minmax(0,1fr) auto auto}
.codex-file-index>a small{font:500 .55rem/1.3 Consolas,'Courier New',monospace;color:#a94c43;white-space:nowrap}
.codex-file-index>a:is(:hover,:focus-visible,[aria-current=page]) small{color:#f0b4aa}
.codex-evidence-viewer{width:min(78rem,100vw);height:min(100dvh,100%);max-height:100dvh;overflow:auto;background:#f5f4ef;color:#191a1a}
.evidence-toolbar{min-height:5.2rem;padding:.8rem clamp(1rem,3vw,2.6rem);background:#f5f4ef;border-color:#b9b6ae}
.evidence-identity{display:flex;flex-direction:column;align-items:flex-start;gap:.18rem;min-width:0}
.evidence-identity>span,.evidence-identity>small{font-size:.55rem;color:#777;letter-spacing:.11em}
.evidence-identity>strong{font-size:.77rem;letter-spacing:.07em;overflow-wrap:anywhere}
.evidence-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:.4rem}
.evidence-toolbar button{min-height:2.5rem}
.codex-evidence-viewer button[hidden]{display:none!important}
.codex-evidence-viewer[data-mode=DOSSIER] #evidence-body{padding:clamp(1rem,3vw,3rem) clamp(1rem,6vw,6rem) 6rem}
.nexus-dossier-document{max-width:62rem;margin:0 auto}
.codex-evidence-viewer[data-mode=ANNOTATION]{width:min(42rem,100vw);margin:0 0 0 auto;box-shadow:-2rem 0 5rem #0005}
.codex-evidence-viewer[data-mode=ANNOTATION] #evidence-body{padding:clamp(1.4rem,5vw,3rem)}
.nexus-annotation-file{font-family:Consolas,'Courier New',monospace}
.nexus-file-kicker{color:#af453a;font-size:.61rem;letter-spacing:.09em}
.nexus-annotation-file h2{margin:2rem 0 1.5rem;font:700 clamp(1.2rem,3vw,1.9rem)/1.15 Arial,Helvetica,sans-serif}
.nexus-annotation-file h3{margin:0 0 1.1rem;color:#af453a;font:700 .72rem/1.4 Consolas,'Courier New',monospace}
.nexus-annotation-file p{font:.9rem/1.7 Consolas,'Courier New',monospace}
.nexus-annotation-file button{display:block;width:100%;min-height:2.8rem;margin:1.5rem 0;padding:.7rem .2rem;border:0;border-bottom:1px solid currentColor;background:transparent;color:inherit;text-align:left;cursor:pointer;font:600 .66rem/1.35 Consolas,'Courier New',monospace;letter-spacing:.07em}
.nexus-annotation-file button:hover,.nexus-annotation-file button:focus-visible{background:#171819;color:#fff;padding-left:.7rem}
.nexus-annotation-copy{padding:1rem 0 1.5rem;border-bottom:1px solid #aaa}
.nexus-annotation-file #viewer-artifact{padding:1.5rem 0;border-top:1px solid #af453a}
.nexus-dossier-page{position:relative;margin:0 0 6rem;padding:0 0 1.5rem;font-family:Consolas,'Courier New',monospace}
.nexus-dossier-pagehead{display:flex;align-items:start;justify-content:space-between;gap:1rem;padding:1rem 0 1.5rem;border-bottom:1px solid #aaa;font-size:.66rem;line-height:1.6;letter-spacing:.12em}
.nexus-dossier-pagehead span:last-child{color:#a9362c;border:1px solid #ad3e33;padding:.6rem 1rem}
.nexus-dossier-titleline{display:flex;align-items:end;justify-content:space-between;gap:1rem;padding:2.3rem 0 1.2rem;border-bottom:1px solid #aaa}
.nexus-dossier-titleline h2{margin:0;font:700 clamp(1.4rem,2.7vw,2.55rem)/1.04 Arial,Helvetica,sans-serif;letter-spacing:-.045em;overflow-wrap:anywhere}
.nexus-dossier-titleline>span{flex:none;color:#a9362c;font-size:.61rem;letter-spacing:.05em}
.nexus-dossier-section{margin:2.1rem 0 2.6rem;border-top:1px solid #b8b7b2}
.nexus-dossier-section h3{position:relative;display:table;max-width:100%;margin:-1px 0 0;padding:.55rem .8rem;border:1px solid #b8b7b2;background:#f0f0ed;font:700 .72rem/1.35 Consolas,'Courier New',monospace;letter-spacing:.01em;overflow-wrap:anywhere}
.nexus-dossier-section>div{padding:1.7rem clamp(.9rem,2.5vw,2rem) 2rem;border:1px solid #b8b7b2;border-top:0}
.nexus-dossier-section.is-critical h3{color:#a9362c;border-color:#bd4439}
.nexus-dossier-section.is-critical>div{border-color:#bd4439}
.nexus-dossier-section.is-inline{margin:-2.6rem 0 2.6rem;border:0}
.nexus-dossier-section.is-inline h3{display:block;margin:0;padding:1rem clamp(.9rem,2.5vw,2rem) 0;border:0;background:transparent;font-size:.7rem}
.nexus-dossier-section.is-inline>div{padding-top:.4rem;border-top:0}
.nexus-dossier-section p{margin:.6rem 0;font:400 clamp(.87rem,1.35vw,1.05rem)/1.65 Consolas,'Courier New',monospace;overflow-wrap:break-word}
.nexus-dossier-section p:first-child{margin-top:0}.nexus-dossier-section p:last-child{margin-bottom:0}
.nexus-redaction{width:min(24rem,70%);height:1.25rem;margin:.65rem 0;background:#171717}
.nexus-record{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font:500 clamp(.75rem,1.3vw,.98rem)/1.7 Consolas,'Courier New',monospace}
.nexus-dossier-section .nexus-recovered-margin{margin-top:1.2rem;padding:.8rem 0 .5rem;border-top:1px solid #b6b6b1;font-style:italic}
.nexus-approval{display:grid;grid-template-columns:1.1fr .9fr .7fr;border:1px solid #aaa;font-size:.67rem;line-height:1.5}
.nexus-approval>div{display:flex;flex-direction:column;gap:.65rem;padding:1rem;border-right:1px solid #aaa}.nexus-approval>div:last-child{border-right:0}
.nexus-approval b{font-weight:700}.nexus-approval strong{color:#b43d32}
.nexus-approval span + b{margin-top:1rem}
.nexus-dossier-page>footer{display:flex;justify-content:space-between;gap:1rem;margin-top:2rem;padding-top:.6rem;border-top:1px solid #aaa;color:#777;font-size:.6rem;letter-spacing:.1em}
.codex-evidence-viewer[data-mode=PLATE] .nexus-source-figure,.codex-evidence-viewer[data-mode='SOURCE DOCUMENT'] .nexus-source-figure{width:min(92%,67rem)}
.codex-evidence-viewer .nexus-source-figure img{box-shadow:none}
.codex-evidence-viewer[data-view=source] .nexus-source-figure{margin:2rem auto 4rem;width:min(88%,55rem)}
.nexus-annotation{border-left:1px solid #b9b6ae}
.nexus-annotation .annotation-head{border-bottom:1px solid #b9b6ae}
html[data-codex-theme=dark] .codex-evidence-viewer,html[data-codex-theme=dark] .evidence-toolbar{background:#171c1e;color:#edece5}
html[data-codex-theme=dark] .nexus-dossier-pagehead,html[data-codex-theme=dark] .nexus-dossier-titleline,html[data-codex-theme=dark] .nexus-dossier-section,html[data-codex-theme=dark] .nexus-dossier-section>div,html[data-codex-theme=dark] .nexus-approval,html[data-codex-theme=dark] .nexus-approval>div{border-color:#646d6b}
html[data-codex-theme=dark] .nexus-dossier-section h3{background:#22292b;border-color:#646d6b}
html[data-codex-theme=dark] .nexus-dossier-section.is-critical h3,html[data-codex-theme=dark] .nexus-dossier-section.is-critical>div{border-color:#d66e61}
html[data-codex-theme=dark] .nexus-dossier-section.is-critical h3,html[data-codex-theme=dark] .nexus-dossier-titleline>span,html[data-codex-theme=dark] .nexus-dossier-pagehead span:last-child{color:#e58275}
html[data-codex-theme=dark] .nexus-redaction{background:#050606}
html[data-codex-theme=dark] .archive-options>div{border-color:#67716e;box-shadow:0 1rem 2rem #0009}
@media(max-width:760px){
 .archive-header{grid-template-columns:minmax(0,1fr) auto auto;gap:.45rem;padding:.65rem 4vw}
 .archive-header>.archive-brand{font-size:.58rem;letter-spacing:.06em;white-space:normal}
 .archive-header>#archive-status{grid-column:1/-1;grid-row:2;justify-self:start;font-size:.56rem}
 .archive-options{grid-column:3;grid-row:1;font-size:.55rem}
 .codex-index-toggle{grid-column:2;grid-row:1;min-height:2.5rem}
 .codex-file-index{top:4.65rem;height:calc(100dvh - 4.65rem)}
 .codex-file-index>a{grid-template-columns:2.6rem minmax(0,1fr) auto;gap:.5rem}
 .codex-file-index>a small{grid-column:2;grid-row:2;white-space:normal}
 .codex-file-index>a span:last-child{grid-column:3;grid-row:1}
 .chapter-audio{grid-template-columns:1fr auto}.chapter-audio-seek{grid-column:1/-1;grid-row:2;width:100%}.chapter-audio-time{grid-column:2;grid-row:1}
 .evidence-toolbar{align-items:start;flex-direction:column;padding:.8rem 5vw}
 .evidence-actions{width:100%;justify-content:space-between}
 .evidence-toolbar button{font-size:.56rem;padding:.55rem .45rem}
 .codex-evidence-viewer[data-mode=DOSSIER] #evidence-body{padding:1rem 5vw 5rem}
 .nexus-dossier-page{margin-bottom:4rem}.nexus-dossier-pagehead{font-size:.55rem}.nexus-dossier-pagehead span:last-child{padding:.45rem .55rem}
 .nexus-dossier-titleline{align-items:start;flex-direction:column;padding:1.5rem 0 1rem}
 .nexus-dossier-titleline h2{font-size:clamp(1.25rem,6vw,2rem)}
 .nexus-dossier-section{margin:1.6rem 0 2rem}.nexus-dossier-section h3{font-size:.64rem}
 .nexus-dossier-section>div{padding:1rem .85rem 1.35rem}.nexus-dossier-section p{font-size:.84rem;line-height:1.6}
 .nexus-approval{grid-template-columns:1fr 1fr}.nexus-approval>div:last-child{grid-column:1/-1;border-top:1px solid #aaa}.nexus-approval>div:nth-child(2){border-right:0}
 .codex-evidence-viewer[data-view=source] .nexus-source-figure{width:96%}
}
@media(prefers-reduced-motion:reduce){.codex-evidence-viewer,.nexus-dossier-page,.nexus-dossier-section{scroll-behavior:auto}}

/* Final consistency pass: the Prologue note uses the same marginal file control as later chapters. */
.prologue-annotated>.chapter-dossier{top:.1rem}
.prologue-annotated.chapter-annotated::after{top:.1rem}
.prologue-annotated>.chapter-dossier.first-seen{animation:annotation-notice 1.3s ease-out 1}
html[data-codex-theme=dark] .prologue-annotated>.chapter-dossier.first-seen{animation-name:annotation-notice-dark}
@media(max-width:1280px){.prologue-annotated.chapter-annotated::after{display:none}.prologue-annotated>.chapter-dossier{position:static;width:100%;margin:0 0 2rem;padding:1rem 1.2rem;border:1px solid #bab4ac;border-left:2px solid #ad4940;background:#eeece7}html[data-codex-theme=dark] .prologue-annotated>.chapter-dossier{background:#22292b;border-color:#7f8987;border-left-color:#de786b}}

/* Reveal only reconstructed prose; the archive's navigation and metadata remain steady. */
.js .document-open .reading-paragraph.is-reveal-pending{transform:translateY(.4rem);transition:opacity .85s ease,transform .85s ease,background .35s,border-color .35s}
.js .document-open .codex-prose.is-reveal-pending,.js .document-open .codex-sequence.is-reveal-pending{opacity:0;transform:translateY(.4rem);transition:opacity .85s ease,transform .85s ease}
.js .document-open .codex-prose.is-reveal-pending.is-revealed,.js .document-open .codex-sequence.is-reveal-pending.is-revealed{opacity:1;transform:none}

/* PDF image extraction leaves a bright final pixel column on every plate. Mask only that seam. */
.codex-plate img,.codex-evidence-viewer .nexus-source-figure img,.codex-log-page img{clip-path:inset(0 .5% 0 0)}
/* The regenerated plate asset has no PDF export seam; keep its natural framing. */
.codex-plate button{overflow:hidden}

/* The dossier's optional voice belongs to the file shell, not to the manuscript. */
.nexus-dossier-audio{display:grid;grid-template-columns:auto minmax(8rem,1fr) auto;align-items:center;gap:.65rem 1rem;margin:0 0 3rem;padding:.9rem 0;border-top:1px solid currentColor;border-bottom:1px solid currentColor;font:500 .65rem/1.5 Consolas,'Courier New',monospace;letter-spacing:.06em}
.nexus-dossier-audio button{min-height:2.5rem;border:0;background:transparent;color:inherit;text-align:left;font:inherit;letter-spacing:inherit;cursor:pointer}
.nexus-dossier-audio button:is(:hover,:focus-visible){text-decoration:underline;text-underline-offset:.25em}
.nexus-dossier-audio input{width:100%;min-width:0;accent-color:#ad4940}
.nexus-dossier-audio small{grid-column:1/-1;opacity:.72}
@media(max-width:640px){.nexus-dossier-audio{grid-template-columns:1fr auto}.nexus-dossier-audio input{grid-column:1/-1;grid-row:2}}
.codex-plate img{width:100%;max-width:100%;clip-path:none}

/* E-47 is weakened by design, while its file control remains legible. */
body[data-codex-file=E] .chapter-left,body[data-codex-file=E] .chapter-right{opacity:.78}
body[data-codex-file="10"].control-failing .chapter-left,body[data-codex-file="10"].control-failing .chapter-right{opacity:.72}
body[data-codex-file=E] .chapter-dossier span,body[data-codex-file=E] .chapter-dossier em{color:#86453f}
body[data-codex-file=E] .chapter-dossier strong{color:#454745}
body[data-codex-file=E] .chapter-dossier small{color:#5e625f}
html[data-codex-theme=dark] body[data-codex-file=E] .chapter-dossier span,html[data-codex-theme=dark] body[data-codex-file=E] .chapter-dossier em{color:#d79b91}
html[data-codex-theme=dark] body[data-codex-file=E] .chapter-dossier strong{color:#dddcd5}
html[data-codex-theme=dark] body[data-codex-file=E] .chapter-dossier small{color:#bbc1bd}
html[data-codex-theme=dark] body[data-codex-file=E] .chapter-left,html[data-codex-theme=dark] body[data-codex-file=E] .chapter-right{color:#cbd0cc}
@media(prefers-reduced-motion:reduce){.js .document-open .codex-prose.is-reveal-pending,.js .document-open .codex-sequence.is-reveal-pending{opacity:1;transform:none;transition:none}.prologue-annotated>.chapter-dossier.first-seen{animation:none}}
@media(max-width:1100px){body[data-codex-file=E] .codex-emergency-log{margin-left:-5vw;margin-right:-5vw;padding:3rem 5vw}}
@media(max-width:760px){body[data-codex-file=E] .codex-emergency-log{margin-left:-6vw;margin-right:-6vw;padding:2rem 6vw}}
@media(prefers-reduced-motion:reduce){.next-file-link:is(:hover,:focus-visible)::after{animation:none}.chapter-next .next-file-link{transition:none}}
@media(prefers-reduced-motion:reduce){.chapter-dossier.dossier-pulse::before{display:none;animation:none}}
