:root {
  --ob-abyss:#030711;
  --ob-surface:#0a1424;
  --ob-cyan:#72e3ff;
  --ob-blue:#537fff;
  --ob-violet:#aa97ff;
  --ob-gold:#f0cc86;
  --ob-text:#f2f6fc;
  --ob-muted:#b0bdcf;
  --ob-line:#26384e;
  --ob-control:180ms;
  --ob-inspect:480ms;
}
body.ob-edition {background:var(--ob-abyss);color:var(--ob-text);font-family:system-ui,sans-serif;font-size:16px;}
body.ob-edition::after {opacity:.09;}
.ob-edition [hidden] {display:none!important;}
.ob-edition main :is(section,article)[id] {scroll-margin-top:110px;}
.ob-edition .site-header {background:#070e1bf5;border-color:var(--ob-line);}
.ob-edition .primary-nav a {font-size:clamp(13px,.82vw,17px);}
.ob-edition .header-inner {min-height:78px;}
.ob-edition .brand strong {color:var(--ob-text);}
.ob-wrap {width:calc(100% - clamp(32px,6vw,180px));margin-inline:auto;}
.ob-kicker {font-size:11px;font-weight:700;letter-spacing:.13em;color:var(--ob-cyan);line-height:1.65;}
.ob-edition h1,.ob-edition h2 {text-wrap:balance;}
.ob-edition em {font-style:normal;color:var(--ob-gold);}
.ob-edition .tm {white-space:nowrap;}
.ob-hero {padding:clamp(52px,6vw,135px) 0 0;border-bottom:1px solid var(--ob-line);background:radial-gradient(ellipse at 81% 34%,#0c213a 0%,transparent 58%);}
.ob-hero-grid {display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);align-items:center;gap:clamp(30px,4vw,110px);}
.ob-hero h1,.ob-route-head h1 {font-size:clamp(45px,5.7vw,124px);font-weight:620;letter-spacing:-.064em;line-height:1.025;margin:26px 0 28px;}
.ob-hero h1 {text-wrap:initial;}
.ob-deck,.ob-route-head>p:last-child {font-size:clamp(17px,1.24vw,24px);color:var(--ob-muted);max-width:54ch;line-height:1.78;}
.ob-actions {display:flex;flex-wrap:wrap;gap:12px;margin:30px 0 0;}
.ob-button,.ob-edition .ob-controls button,.ob-edition .ob-steps button,.ob-edition .ob-panel button,.ob-event-list button,.ob-close,.ob-reading {display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:44px;border:1px solid #456076;border-radius:4px;padding:10px 17px;background:#0d1c30;color:var(--ob-text);font:600 13px/1.4 system-ui,sans-serif;text-align:center;cursor:pointer;text-decoration:none;transition:background var(--ob-control),border-color var(--ob-control),color var(--ob-control);}
.ob-button {min-height:50px;padding-inline:19px;}
.ob-button:hover,.ob-edition button:hover {border-color:var(--ob-cyan);}
.ob-button.ob-primary {background:var(--ob-gold);border-color:var(--ob-gold);color:#17150f;}
.ob-button.ob-primary:hover {background:#ffe2aa;}
.ob-status {color:var(--ob-muted);font-size:13px;margin-top:25px;}
.ob-status>span {display:inline-block;background:#88d6ae;width:7px;height:7px;border-radius:50%;margin-right:8px;vertical-align:1px;}
.ob-hero-foot {display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:clamp(38px,5vw,90px);padding:20px 0;border-top:1px solid var(--ob-line);color:var(--ob-muted);font-size:13px;}
.ob-hero-foot a,.ob-edition .ob-panel a,.ob-edition .ob-workbench a {color:var(--ob-cyan);text-underline-offset:4px;}
.ob-section {padding:clamp(57px,6.3vw,155px) 0;border-bottom:1px solid var(--ob-line);}
.ob-section h2 {font-size:clamp(35px,4.15vw,91px);letter-spacing:-.055em;line-height:1.1;margin:16px 0 25px;}
.ob-paper {background:#edf1f3;color:#112235;}
.ob-paper .ob-kicker {color:#31576e;}
.ob-paper h2,.ob-paper h3,.ob-paper p {color:#102338;}
.ob-paper a:not(.ob-button) {color:#135171;}
.ob-paper .ob-button:not(.ob-primary) {background:#f7fafc;color:#162f41;border-color:#91a6b5;}
.ob-evidence-grid,.ob-purpose {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,5vw,130px);align-items:center;}
.ob-evidence-grid p,.ob-purpose p {line-height:1.84;max-width:65ch;}
.ob-evidence-grid figure {margin:0;}
.ob-evidence-grid figure img {width:100%;height:auto;display:block;border:1px solid #7893a6;border-radius:5px;background:#031323;}
.ob-evidence-grid figcaption {font-size:13px;line-height:1.7;margin-top:13px;}
.ob-purpose {align-items:start;}
.ob-purpose h2 {margin-top:17px;}
.ob-purpose p {color:var(--ob-muted);}
.ob-scene {margin:0;position:relative;min-width:0;isolation:isolate;overflow:hidden;border:1px solid #294861;border-radius:7px;background:#050e1d;aspect-ratio:1.32;}
.ob-scene::before {position:absolute;content:"";inset:0;background:linear-gradient(#7cafd60b 1px,transparent 1px),linear-gradient(90deg,#7cafd60b 1px,transparent 1px);background-size:34px 34px;pointer-events:none;}
.ob-scene-fallback {display:block;width:100%;height:100%;object-fit:cover;position:absolute;inset:0;}
.ob-scene canvas {display:none;position:absolute;inset:0;width:100%;height:100%;}
.ob-scene[data-scene-ready=true] .ob-scene-fallback {visibility:hidden;}
.ob-scene[data-scene-ready=true] canvas {display:block;}
.ob-scene figcaption {position:absolute;z-index:1;bottom:0;left:0;right:0;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:13px 17px;background:#061223e8;color:#bdcde0;font-size:11px;pointer-events:none;}
.ob-star-key {color:var(--ob-gold);}
.ob-star-key::before {content:'✦';margin-right:7px;}
.ob-scene[data-structure=true] {background:#061221;border-color:#719db7;}
.ob-scene {transition:background var(--ob-inspect),border-color var(--ob-inspect);}
.ob-visual:has(.ob-scene[data-structure=true]) .ob-scene::after {content:"";position:absolute;right:0;top:45%;height:1px;width:14%;background:var(--ob-gold);pointer-events:none;}
.ob-edition [data-ob-replay] .ob-workbench {view-transition-name:observatory-evidence;}
@view-transition {navigation:auto;}
::view-transition-old(observatory-evidence),::view-transition-new(observatory-evidence) {animation-duration:480ms;}
.ob-edition[data-motion=paused]::view-transition-old(root),.ob-edition[data-motion=paused]::view-transition-new(root) {animation-duration:0s;}
.ob-route-head {margin-bottom:35px;}
.ob-route-head h1,.ob-route-head h2 {max-width:22ch;}
.ob-workspace {display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:clamp(20px,3vw,54px);align-items:start;}
.ob-workbench {min-width:0;border:1px solid var(--ob-line);border-radius:7px;background:var(--ob-surface);padding:clamp(18px,2.3vw,40px);}
.ob-workbench.ob-paper {background:#edf1f3;}
.ob-controls,.ob-steps {display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:14px;}
.ob-controls label {display:flex;flex-wrap:wrap;align-items:center;gap:10px;color:var(--ob-muted);font-size:13px;}
.ob-controls :is(select,input) {max-width:100%;min-height:44px;background:#0e1d30;color:#f0f4fa;border:1px solid #456076;border-radius:4px;padding:8px 10px;font:inherit;}
.ob-controls input[type=number] {width:90px;}
.ob-steps button {flex:1;min-width:max-content;}
.ob-edition button[aria-pressed=true],.ob-event-list button[aria-current=true] {background:#23435c;border-color:var(--ob-gold);color:#f7e2b2;}
.ob-edition button:disabled {opacity:.46;cursor:default;}
.ob-stage {min-height:285px;padding:24px 0 15px;border-block:1px solid var(--ob-line);margin:18px 0;transition:background var(--ob-inspect),color var(--ob-inspect);}
.ob-stage.ob-paper {padding-inline:20px;border-radius:4px;}
.ob-stage h2,.ob-panel h2 {font-size:clamp(23px,2.15vw,42px);line-height:1.23;letter-spacing:-.035em;margin:10px 0 16px;}
.ob-stage p,.ob-panel p,.ob-workbench p {font-size:15px;line-height:1.75;}
.ob-stage.ob-paper a {color:#145470;}
.ob-chips {padding:0;margin:22px 0 0;list-style:none;display:flex;flex-wrap:wrap;gap:7px;}
.ob-chips li {font-size:12px;border:1px solid #6c8298;border-radius:3px;padding:6px 9px;}
.ob-live {min-height:25px;color:#acc2d5;margin:13px 0 0;}
.ob-lab-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:44px;}
.ob-panel {min-width:0;background:var(--ob-surface);border:1px solid var(--ob-line);border-radius:6px;padding:clamp(22px,3vw,46px);}
.ob-panel p {color:var(--ob-muted);}
.ob-node-list {display:grid;gap:7px;}
.ob-node-core {color:var(--ob-gold);padding:9px 0;}
.ob-node-list button,.ob-event-list button,.ob-interpretation {justify-content:flex-start;text-align:left;}
.ob-interpretation {width:100%;margin-bottom:8px;}
.ob-dependency {display:flex;align-items:center;gap:11px;min-height:44px;color:var(--ob-muted);font-size:14px;}
.ob-dependency input {width:18px;height:18px;accent-color:var(--ob-gold);flex:none;}
.ob-consequence {padding:13px 16px;border-left:2px solid #8bd0a9;background:#122b2b;}
.ob-consequence[data-supported=false] {border-color:#f0a78b;background:#362229;color:#ffd1bf;}
.ob-panel details {margin-top:18px;color:var(--ob-muted);}
.ob-panel summary,.ob-legacy summary {cursor:pointer;color:var(--ob-cyan);padding:13px 0;}
.ob-inspector {color:var(--ob-text);background:#0b1b2c;border:1px solid #6c9ab4;border-radius:8px;max-width:min(620px,calc(100% - 36px));padding:25px 30px 36px;}
.ob-inspector::backdrop {background:#020611bb;}
.ob-inspector form {display:flex;justify-content:flex-end;}
.ob-inspector h2 {font-size:32px;}
.ob-inspector p {color:var(--ob-muted);}
.ob-inspector a {color:var(--ob-cyan);}
.ob-replay .ob-workbench h3 {font-size:clamp(25px,2.5vw,46px);line-height:1.13;margin:12px 0;}
.ob-replay .ob-workbench a {color:#145470;}
.ob-replay .ob-workbench :is(time,span) {font-size:13px;}
.ob-seek {display:flex;align-items:center;gap:16px;margin:22px 0;color:#18344b;font-weight:600;}
.ob-seek input {width:100%;min-height:44px;accent-color:#1d6382;}
.ob-event-list {display:grid;gap:6px;max-height:325px;overflow:auto;margin:18px 0;padding:1px 4px 1px 1px;}
.ob-event-list button {min-height:44px;}
.ob-legacy {border-top:1px solid var(--ob-line);margin:28px 0;}
.ob-legacy>summary {margin-inline:auto;width:calc(100% - 64px);min-height:48px;}
.ob-meridian {position:fixed;right:9px;top:40%;display:grid;gap:20px;z-index:20;border-left:1px solid #648198;padding:9px 0 9px 11px;background:#061221de;}
.ob-meridian a {width:9px;height:9px;border:1px solid #91bfd8;border-radius:50%;display:block;}
.ob-meridian a[aria-current=location] {background:var(--ob-gold);border-color:var(--ob-gold);}
.ob-tools {position:fixed;bottom:18px;right:18px;z-index:1001;display:flex;gap:7px;align-items:center;}
.ob-tools .global-motion {position:static;font:600 12px/1.4 system-ui,sans-serif;}
.ob-reading {font-size:12px;}
.ob-footage video {display:block;width:100%;height:auto;aspect-ratio:16/9;background:#061020;object-fit:contain;}
.ob-footage figure {margin:0;}
.ob-footage figcaption {font-size:14px;color:var(--ob-muted);margin-top:14px;}
.ob-book-excerpt blockquote {border-left:2px solid var(--ob-gold);margin:25px 0;padding:15px 25px;background:var(--ob-surface);max-width:75ch;font-size:clamp(17px,1.4vw,26px);line-height:1.8;}
.ob-edition .book-hero h1 {font-size:clamp(37px,4.1vw,88px);max-width:18ch;}
.ob-edition .book-hero {padding-top:clamp(45px,5vw,100px);}
.ob-edition .book-cover-card {max-width:430px;}
.ob-edition .book-cover-card img {transform:perspective(1200px) rotateY(-5deg);box-shadow:8px 4px #bdc7cf,12px 6px #657381,22px 20px 65px #0008;}
.ob-book-author {color:var(--ob-gold);font-size:15px;}
.ob-edition :focus-visible {outline:3px solid #f2d38e;outline-offset:4px;}
.ob-paper :focus-visible {outline-color:#245c79;}
.ob-edition[data-reading=true] {background:#0a111b;}
.ob-edition[data-reading=true] .ob-hero {background:none;}
.ob-edition[data-reading=true] .ob-meridian {display:none;}
.ob-edition[data-motion=paused] * {animation-play-state:paused!important;transition:none!important;}
@media(max-width:1100px) {
  .ob-hero-grid,.ob-workspace {grid-template-columns:1fr;}
  .ob-hero h1 {font-size:clamp(50px,8vw,96px);}
  .ob-hero .ob-scene {aspect-ratio:1.6;}
  .ob-workspace .ob-scene {aspect-ratio:1.55;}
  .ob-meridian {display:none;}
}
@media(max-width:760px) {
  .ob-wrap {width:calc(100% - 32px);}
  .ob-hero {padding-top:43px;}
  .ob-hero h1,.ob-route-head h1 {font-size:clamp(38px,9.5vw,65px);margin:18px 0;}
  .ob-hero .ob-scene,.ob-workspace .ob-scene {aspect-ratio:1.06;}
  .ob-hero-foot {justify-content:flex-start;}
  .ob-evidence-grid,.ob-purpose,.ob-lab-grid {grid-template-columns:1fr;}
  .ob-section {padding:52px 0;}
  .ob-section h2 {font-size:clamp(29px,8vw,52px);}
  .ob-stage h2,.ob-panel h2 {font-size:26px;}
  .ob-stage {min-height:0;}
  .ob-tools {bottom:9px;right:9px;}
  .ob-tools button {padding-inline:10px;}
  .ob-scene figcaption {padding:10px 11px;font-size:10px;}
  .ob-workbench .ob-controls select {width:100%;}
  .ob-edition .book-cover-card img {transform:none;box-shadow:4px 2px #8a9aab,9px 12px 32px #0008;}
  .ob-edition .book-cover-card {max-width:min(290px,100%);}
  .ob-edition .book-cover-card::before {inset:5% 0 -5%;}
}
@media(forced-colors:active) {
  .ob-edition :is(.ob-paper,.ob-stage,.ob-panel,.ob-workbench,.ob-inspector) {color:CanvasText;background:Canvas;border:1px solid CanvasText;}
  .ob-edition :is(button,a):focus-visible {outline-color:Highlight;}
}
