/* A white cyclorama: one light direction, ceramic components, graphite interconnect. */
body.spatial-site{background:#fafbfc;color-scheme:light}.space-viewport{background:radial-gradient(ellipse at 38% 15%,#fff 0%,#f8f9fb 50%,#e8edf4 100%)}.space-floor{opacity:.15;mask-image:linear-gradient(transparent 48%,#0009 95%)}.space-floor svg{stroke:#858d9a;stroke-width:.6}.spatial-site header{background:linear-gradient(#fafbfce8,#fafbfc00)}.spatial-site .card{border-color:#caced480}.spatial-site .design-heading h1{font-size:27px}.spatial-site .design-heading .eyebrow{color:#737b87}.studio-view{display:flex;gap:18px;align-items:center;justify-content:flex-end;height:25px;font:9px var(--mono);color:var(--muted)}.studio-view label{display:flex;align-items:center;gap:10px}.studio-view input{width:75px;height:10px}.studio-view button{font-size:9px;padding:0}.design-scene{perspective:1600px}.design-planes{--orbit:-12deg;perspective:1600px;perspective-origin:50% 38%;transform-style:preserve-3d}
.spatial-site .design-plane{isolation:auto;transform-style:preserve-3d;top:0;height:85%;border:0;background:none;box-shadow:none;transform:translateZ(-25px) rotateX(48deg) rotateY(var(--orbit)) rotateZ(-15deg);transition:left 1s cubic-bezier(.2,.7,.2,1),width 1s,top 1s,height 1s,transform 1s,opacity .5s;overflow:visible!important}.spatial-site .design-plane>svg{position:absolute;inset:0;overflow:visible!important;backface-visibility:visible}.spatial-site .design-plane .design-ground{transform:translateZ(0);filter:drop-shadow(8px 18px 12px #343e4d20)}.spatial-site .design-plane .design-raised{transform:translateZ(18px)}.spatial-site .design-plane .design-solid{pointer-events:none}.spatial-site .design-solid *{fill:#a5b4ca!important;stroke:#a5b4ca!important;stroke-width:1!important}.spatial-site .design-solid .register *,.spatial-site .design-solid .qr-register *{fill:#a0b1cc!important;stroke:#a0b1cc!important}.spatial-site .design-solid .memory *,.spatial-site .design-solid .qr-storage *{fill:#aeb6c4!important;stroke:#aeb6c4!important}.spatial-site .design-solid text{display:none}.design-plane::before{content:'';position:absolute;inset:15% 12%;background:#323c4c15;filter:blur(22px);transform:translate3d(18px,32px,-22px);pointer-events:none}.design-plane-label{transform:translateZ(20px);bottom:-20px;color:#535d6b!important}.design-scene.focused .design-plane.selected{top:0;height:81%;transform:translateZ(20px) rotateX(22deg) rotateY(var(--orbit)) rotateZ(-3deg);border:0;background:none;box-shadow:none}.design-scene.focused .design-plane.receded{top:81%;height:16%;opacity:1;transform:translateZ(-60px) rotateX(52deg) rotateY(-20deg) rotateZ(-12deg)}.design-scene.focused .design-plane.receded .design-plane-label{bottom:-10px}.design-scene.focused .design-plane.selected .design-plane-label{display:block;font-size:9px!important;bottom:-8px}.design-note{border-color:#8d99aa66;background:linear-gradient(90deg,#fafbfc00,#fafbfca8 18%);padding-left:20px}.design-note p{color:#62676d!important}.design-leader path{stroke:#51637f80}.design-leader circle,.design-pin{fill:#36588a}.design-target>rect,.design-target>circle,.design-target>path{fill:#d0d9e6!important;stroke:#395886!important;stroke-width:3!important}.design-formula{font-size:11px;color:#2b394f}.design-topics button[aria-pressed=true]{color:#36588a}.spatial-site .design-raised .qr-unit>rect,.spatial-site .design-raised .bc-unit>rect,.spatial-site .design-raised .cp-unit>rect{stroke-width:1.8}.design-raised text{paint-order:normal}.design-controls{position:relative;z-index:4}.design-overview{color:#525d6d}.spatial-site .qr-boundary,.spatial-site .bc-boundary,.spatial-site .cp-boundary{stroke:#a3a9b3;stroke-opacity:.55}.spatial-site .qr-matrices,.spatial-site .bc-inspection,.spatial-site .cp-pipeline,.spatial-site #cp-sort{border-color:#c9ced5}.spatial-site .ag-panel .nn-neuron{fill:#b4becc;stroke:#56667e}.spatial-site .ag-panel .nn-link{stroke:#919ba9}.spatial-site .ag-system-boundary.agent,.spatial-site .ag-system-nn,.spatial-site .ag-system-action rect{filter:drop-shadow(3px 7px 4px #313d4e18)}
@media(max-width:850px){.studio-view{justify-content:flex-start;padding-bottom:8px;height:28px}.spatial-site .design-plane{transform:rotateX(38deg) rotateY(var(--orbit)) rotateZ(-10deg)}.design-scene.focused .design-plane.selected{transform:rotateX(16deg) rotateY(var(--orbit));height:380px}.design-scene.focused .design-note{border-color:#8d99aa66}.design-scene.focused .design-plane.receded{display:none}}
@media(prefers-reduced-motion:reduce){.spatial-site .design-plane{transition:none!important}.design-note{animation:none!important}}
@media print{.design-mode,.studio-view,.design-controls{display:none}}
.design-ground .qr-section-label,.design-ground .bc-section,.design-ground .cp-section{display:none}.design-scene.focused .design-plane.selected{height:90%}.design-scene.focused .design-plane.receded{top:88%;height:11%}.design-scene.focused .design-plane.receded .design-plane-label{font-size:8px!important}.spatial-site .design-plane .design-raised{filter:drop-shadow(1px 1px .5px #fff8)}
@media(max-width:850px){.design-scene.focused .design-plane.selected{height:380px}}
/* One connected world; focus changes the camera, never the circuit topology. */
.spatial-site main.space-page.design-active{width:96vw;left:-48vw;height:calc(100svh - 100px);top:calc(-1 * (100svh - 100px)/2)}
.design-active .design-mode{height:24px;margin-bottom:0}.design-active .design-explorer{height:calc(100% - 24px)}
.design-active .design-heading{padding:0;align-items:center}.design-active .design-heading .eyebrow,.design-active .design-heading p{display:none}.spatial-site .design-active .design-heading h1{font-size:22px;margin:4px 0 8px}.design-active .design-stages{padding:0 0 4px;gap:20px}
.studio-view{position:absolute;right:0;top:58px;z-index:5;height:20px;font-size:9px;gap:14px}.studio-view button{border:0;background:none;color:var(--muted)}
.design-planes{right:0;perspective:1800px;perspective-origin:50% 50%;cursor:grab;touch-action:none;user-select:none;overflow:hidden;transition:right .3s}.design-planes.dragging{cursor:grabbing}.design-planes:focus-visible{outline:1px solid var(--accent);outline-offset:-2px}.design-scene.focused .design-planes{right:28%}
.spatial-site .design-scene .design-plane{left:0!important;top:0!important;width:100%!important;height:100%!important;transform:scale(var(--zoom,1)) rotateX(var(--pitch,20deg)) rotateY(var(--yaw,-8deg));transition:none!important;cursor:inherit;transform-origin:center}
.spatial-site .design-plane .design-hit{transform:translateZ(19px);cursor:inherit}.design-hit rect{pointer-events:all}.design-plane::before{inset:12% 5%;filter:blur(18px)}
.design-note{width:26%;top:2%;max-height:96%;padding-left:16px}.design-controls{padding-top:4px;min-height:32px;gap:14px}.design-progress{font-size:9px}.design-leader{z-index:2}.design-ground .qr-section-label,.design-ground .bc-section,.design-ground .cp-section{display:block}
@media(max-width:850px){.spatial-site main.space-page.design-active{width:96vw;left:-48vw;height:calc(100svh - 100px)}.studio-view{position:static;justify-content:flex-start;margin:2px 0;height:22px}.design-scene{min-height:380px}.design-scene.focused{min-height:850px}.design-scene.focused .design-planes{right:0;height:380px}.design-scene.focused .design-note{top:400px;width:100%;max-height:440px}.design-controls{padding-bottom:16px}}

@media(prefers-reduced-motion:reduce){.spatial-site .design-scene .design-plane{transform:scale(var(--zoom,1)) rotateX(var(--pitch,20deg)) rotateY(var(--yaw,-8deg))!important}.design-planes{transition:none}}
/* Personal contributions are discoverable on entry and attached to their hardware. */
.design-intro{display:flex;align-items:center;justify-content:space-between;gap:32px;margin:0 0 12px}.design-intro p{max-width:850px;margin:0;font:12px/1.6 Arial,sans-serif;color:#62676d}.design-intro>span{flex:none;font:9px/1.5 var(--mono);color:#36588a;max-width:185px}.design-intro i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#36588a;margin-right:6px}.feature-focused .design-intro{display:none}.design-active .studio-view{position:static;justify-content:flex-end;height:20px;margin-top:-22px;margin-bottom:2px;pointer-events:none}.studio-view button{pointer-events:auto}
.design-features{position:absolute;inset:0;pointer-events:none;z-index:4;transform-style:flat}.spatial-site .design-feature{position:absolute;display:flex;align-items:center;gap:6px;white-space:nowrap;pointer-events:auto;cursor:pointer;background:#f6f8fbf5;border:1px solid #7a8da9;border-radius:5px;padding:5px 7px;font:10px var(--mono);color:#253a5a;box-shadow:0 2px 8px #35455e14;transition:background .15s,box-shadow .15s}.design-feature[hidden]{display:none}.design-feature .feature-dot{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#36588a;color:white;font-size:9px}.spatial-site .design-feature:hover,.spatial-site .design-feature.hovered,.spatial-site .design-feature:focus-visible,.spatial-site .design-feature[aria-pressed=true]{background:#d8e1ee;box-shadow:0 2px 10px #35455e30;outline:2px solid #4d6a96;outline-offset:2px}.design-feature-area{cursor:pointer}.spatial-site .design-plane .design-feature-pins{transform:translateZ(20px);pointer-events:none}.design-feature-pins circle{fill:#36588a;stroke:#f7f8fa;stroke-width:3}.design-feature-unit>rect,.design-feature-unit>path,.design-feature-unit>circle{stroke:#43618d!important;stroke-width:3!important}.feature-hover>rect,.feature-hover>path,.feature-hover>circle{fill:#c7d3e5!important;stroke-width:4!important}.design-topics{flex-wrap:wrap;gap:5px 12px;margin-bottom:12px}.design-topics button{font-size:9px;padding:4px 0}
@media(max-width:850px){.design-intro{display:block;margin-bottom:8px}.design-intro p{font-size:11px}.design-intro>span{display:block;margin-top:5px;max-width:none}.design-active .studio-view{margin:0;justify-content:flex-start;height:22px}.spatial-site .design-feature{font-size:9px;padding:4px;gap:4px}.design-feature .feature-dot{width:15px;height:15px;font-size:8px}.design-scene:not(.focused){min-height:420px}}

.design-feature-links{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.design-feature-links path{fill:none;stroke:#43618d;stroke-width:1;opacity:.7}
/* Abstract-led project opening with a direct source entry point. */
.design-intro{gap:24px;margin:2px 0 10px}.design-intro p{max-width:1050px;font-size:13px;line-height:1.6;color:#353b44}.design-heading .project-source{font:11px var(--mono);color:#36588a;white-space:nowrap;border-bottom:1px solid #b5becc;padding:4px 0}.design-heading .project-source:hover{border-color:#36588a}.design-intro>span{max-width:140px;font-size:9px}
@media(max-width:850px){.design-intro p{font-size:11px}.design-active .design-heading{display:flex;gap:12px}.design-heading .project-source{font-size:9px}.design-intro>span{max-width:none}}
.ag-abstract{display:flex;gap:28px;align-items:center;padding:6px 0}.ag-abstract p{max-width:1050px;font:13px/1.6 Arial,sans-serif;color:#353b44;margin:0}.ag-abstract>span{font:9px var(--mono);color:#36588a;max-width:130px;flex:none}.ag-detail-view .ag-abstract{display:none}.spatial-site #ag-system-agent-hit,.spatial-site #ag-system-nn-hit,.spatial-site #ag-system-actions-hit{cursor:pointer}.spatial-site .ag-system-boundary.agent,.spatial-site .ag-action-rack,.spatial-site .ag-system-nn{stroke:#43618d;stroke-width:2.5;fill:#e6eaf1}.spatial-site #ag-system-agent-hit:hover,.spatial-site #ag-system-nn-hit:hover,.spatial-site #ag-system-actions-hit:hover{filter:drop-shadow(0 0 5px #36588a55)}.spatial-site #ag-system-actions-hit:focus,.spatial-site #ag-system-agent-hit:focus,.spatial-site #ag-system-nn-hit:focus{outline:3px solid #36588a;outline-offset:4px}#ag-design-note{display:none}.ag-feature-open #ag-design-note:not([hidden]){display:block;position:absolute;right:0;top:0;width:29%;height:100%;overflow:auto;padding:16px 12px 12px 20px;border-left:1px solid #a9b5c7;background:#fafbfcee}.ag-feature-open #ag-system-svg{width:69%;flex:none}.ag-feature-open #ag-system{position:relative}.ag-feature-open #ag-design-note h2{font:400 22px/1.3 var(--mono);margin:12px 0 16px}.ag-feature-open #ag-design-note p{font:12px/1.65 Arial,sans-serif;color:#62676d}.ag-feature-open #ag-design-note h3{font:10px var(--mono);color:#36588a;margin:18px 0 6px}.ag-design-close{position:absolute;right:4px;top:0}.ag-design-next{margin-top:16px;color:#36588a!important;border-bottom:1px solid #8e9db4!important}.ag-feature-open #ag-design-note .eyebrow{font:9px var(--mono);color:#36588a}
@media(max-width:850px){.ag-abstract{display:block}.ag-abstract p{font-size:11px}.ag-abstract>span{display:block;max-width:none;padding-top:5px}.ag-feature-open #ag-system{overflow:auto;display:block}.ag-feature-open #ag-system-svg{width:100%;height:300px}.ag-feature-open #ag-design-note:not([hidden]){position:relative;width:100%;height:auto;padding:14px}.ag-heading h1{font-size:20px}}
.spatial-site main.space-page[data-demo=aig]{width:96vw;left:-48vw;height:calc(100svh - 100px);top:calc(-1 * (100svh - 100px)/2)}.spatial-site .ag-heading span{display:none}.spatial-site .ag-heading h1{font-size:22px}.ag-feature-open .ag-abstract{display:none}.ag-feature-open #ag-system-svg{position:absolute;left:0;top:0;width:69%;height:100%;min-height:0;max-height:100%;flex:none}
@media(max-width:850px){.ag-feature-open #ag-system-svg{position:relative;width:100%;height:300px;max-height:none}}

.project-source small{display:inline-block;font-size:8px;color:#616b79;margin-left:6px;border:1px solid #c5ccd6;border-radius:3px;padding:2px 4px}
/* MCTS shares the connected white-studio geometry and direct camera of QR. */
.ag-camera-controls{display:flex;align-items:center;gap:14px;margin-left:auto;font:9px var(--mono);color:var(--muted)}.ag-camera-controls button{font-size:9px!important}.ag-detail-view .ag-camera-controls{display:none}
.spatial-site #ag-system{position:relative;overflow:hidden}
.ag-space-viewport{position:absolute;inset:0;perspective:1800px;perspective-origin:50% 50%;overflow:hidden;cursor:grab;touch-action:none;user-select:none;transition:right .25s}.ag-space-viewport.dragging{cursor:grabbing}.ag-space-viewport:focus-visible{outline:1px solid var(--accent);outline-offset:-2px}
.ag-space-model{position:absolute;inset:0;transform-style:preserve-3d;transform-origin:center;transform:scale(var(--ag-zoom,1)) rotateX(var(--ag-pitch,24deg)) rotateY(var(--ag-yaw,-10deg))}
.ag-space-model::before{content:'';position:absolute;inset:16% 10%;background:#323c4c18;filter:blur(22px);transform:translate3d(18px,32px,-22px);pointer-events:none}
.spatial-site .ag-space-model>svg,.spatial-site .ag-feature-open #ag-system-svg{position:absolute;inset:0;width:100%;height:100%;min-width:0;min-height:0;max-height:none;overflow:visible;flex:none}
.ag-space-ground{transform:translateZ(0);filter:drop-shadow(8px 18px 12px #343e4d20);pointer-events:none}.ag-space-faces{transform:translateZ(20px);filter:drop-shadow(1px 1px .5px #fff9);pointer-events:none}.ag-space-solid{pointer-events:none}
.spatial-site .ag-space-solid rect{fill:#a5b4ca!important;stroke:#a5b4ca!important;stroke-width:1!important}.spatial-site .ag-space-solid .agent rect,.spatial-site .ag-space-solid .evaluator rect{fill:#a0b1cc!important;stroke:#a0b1cc!important}.spatial-site .ag-space-solid .training rect{fill:#aeb6c4!important;stroke:#aeb6c4!important}
.spatial-site .ag-space-faces .ag-system-boundary.agent,.spatial-site .ag-space-faces .ag-system-nn{fill:#e3e7ee;filter:none}.spatial-site .ag-space-faces .ag-action-rack{fill:#e4e9f1;filter:none}.spatial-site .ag-space-faces .ag-candidate-plate{fill:#f0f2f4;stroke:#b0b7c2;stroke-width:1.5}.spatial-site .ag-space-faces .ag-training-source{fill:#e9edf3;stroke:#758298}
.spatial-site .ag-space-ground .ag-system-boundary{fill:none;stroke:#a3a9b3;stroke-dasharray:5 5;stroke-opacity:.65}.spatial-site .ag-space-faces #ag-system-agent-hit,.spatial-site .ag-space-faces #ag-system-nn-hit,.spatial-site .ag-space-faces #ag-system-actions-hit{pointer-events:all;cursor:pointer}.ag-space-viewport.dragging .ag-space-faces [role=button]{cursor:grabbing!important}
.ag-feature-open .ag-space-viewport{right:31%}.ag-feature-open #ag-design-note{z-index:3}
@media(max-width:850px){.ag-camera-controls{gap:8px;flex-wrap:wrap;font-size:8px}.ag-camera-controls span{max-width:110px}.spatial-site .ag-feature-open #ag-system{overflow:auto}.ag-feature-open .ag-space-viewport{position:relative;right:auto;width:100%;height:340px}.spatial-site .ag-feature-open #ag-system-svg{position:absolute;width:100%;height:100%}.ag-space-model::before{inset:20% 5%}}
@media(prefers-reduced-motion:reduce){.ag-space-viewport{transition:none}}

/* The tree and inference graph occupy the same raised, orbitable workspace. */
.ag-detail-view .ag-camera-controls{display:flex}
.ag-detail-space{position:relative;inset:auto;flex:1;min-height:0;width:100%;overflow:hidden}
.ag-detail-space .ag-space-model::before{inset:18% 10%;background:#323c4c10}
.spatial-site .ag-detail-face{transform:translateZ(18px);filter:drop-shadow(0 1px 1px #fff9)}
.ag-detail-solid{pointer-events:none}.ag-detail-solid circle,.ag-detail-solid ellipse{fill:#9da6b4;stroke:#9da6b4;stroke-width:2}
.spatial-site .ag-detail-face .ag-search-node ellipse{fill:#edeff3;stroke:#77859b}
.spatial-site .ag-detail-face .ag-search-node.selected ellipse{fill:#d9e0ea;stroke:#36588a}
.spatial-site .ag-detail-face .ag-search-node.inspected ellipse{stroke:#36588a}
.spatial-site .ag-detail-face .nn-neuron{fill:#51698e;stroke:#e8ecf2;stroke-width:2.5}
.spatial-site .ag-detail-face .nn-neuron.nn-active{stroke:#36588a;stroke-width:4}
.spatial-site #ag-search{padding:0;gap:24px;grid-template-columns:minmax(0,3fr) minmax(220px,1fr)}
.spatial-site .ag-inspect{padding:14px 0 0 18px;border-left:1px solid #ced3da;background:transparent}
.spatial-site .ag-inspect svg{max-height:240px}.spatial-site .ag-neural{padding:8px 0;border:0}
.spatial-site .ag-nn-training{padding:8px 0;border-color:#ced3da70}.spatial-site .ag-nn-training p{margin:4px 0;font-size:11px}
.ag-feature-open.ag-detail-view .ag-stage>#ag-search,.ag-feature-open.ag-detail-view .ag-stage>#ag-evaluator{flex:none;width:68%}
.ag-feature-open.ag-detail-view #ag-search{grid-template-columns:1fr}.ag-feature-open.ag-detail-view .ag-inspect{display:none}
.ag-feature-open .ag-detail-space{right:auto}
.ag-in-flight .ag-stage{pointer-events:none}
.ag-flight{margin:0!important;max-width:none!important;border:0!important;background:none!important;cursor:default!important}
.ag-flight .ag-space-model>svg{position:absolute;inset:0;width:100%;height:100%;min-width:0;min-height:0;max-height:none;overflow:visible}
.ag-flight text{text-anchor:middle;font:20px Arial;fill:var(--fg)}
.ag-flight .ag-system-title{font:500 22px var(--mono)}.ag-flight .ag-system-label,.ag-flight .ag-system-count,.ag-flight .ag-system-hint{font-size:17px}
.ag-flight .ag-system-link-label,.ag-flight .ag-system-reward{font:21px var(--mono);fill:var(--accent);stroke:var(--bg);paint-order:stroke;stroke-width:6px}
.ag-flight .ag-stat{font:15px var(--mono)}.ag-flight .ag-action-label{font:16px var(--mono)}
@media(max-width:650px){.spatial-site #ag-search{grid-template-columns:1fr}.ag-tree-wrap{overflow:hidden}.ag-camera-controls{gap:8px}.ag-camera-controls span{display:none}.spatial-site .ag-detail-space{min-height:250px}.ag-feature-open.ag-detail-view .ag-stage>#ag-search,.ag-feature-open.ag-detail-view .ag-stage>#ag-evaluator{width:100%}.ag-feature-open.ag-detail-view .ag-stage{overflow:auto;display:block}.ag-feature-open.ag-detail-view #ag-design-note{position:relative;width:100%;height:auto}.spatial-site .ag-nn-training{gap:8px}.spatial-site .ag-nn-controls{font-size:9px}}
