/* V18 — an object atlas, not an adventure dashboard */
body.atlas-mode{background:#fffdf4;color:#3d3056;background-image:none}body.atlas-mode>header{height:72px;min-height:72px;background:#fffdf4;border-bottom:1px solid #ded6e6;padding:12px 28px;box-shadow:none}body.atlas-mode .brand-cube{background:#d8c8f6;transform:none;box-shadow:2px 2px 0 #443456;border:1.5px solid #443456}body.atlas-mode main{max-width:1500px;padding:0 28px;margin:auto}body.atlas-mode .dashboard,body.atlas-mode .share{display:none}body.atlas-mode>header nav{margin-left:auto;gap:5px}body.atlas-mode>header .nav{display:none}body.atlas-mode>header .nav[data-view=atlas],body.atlas-mode>header .nav[data-view=play],body.atlas-mode>header .nav[data-view=physics]{display:block;font-weight:600;border-radius:20px;padding:9px 17px}body.atlas-mode>header .nav.active{background:#e9e0f5;box-shadow:none;color:#40305a}body.atlas-mode footer{margin-top:20px;border-top:1px solid #ded6e6;padding:15px 0;background:none}#atlas-view{--ink:#443456;--blue:#8ed0f0;--pink:#f1b9cd;--mint:#a6dec6;--yellow:#ffe39a;--purple:#cfb9ed;color:var(--ink);font-family:Inter,'PingFang SC','Microsoft YaHei',sans-serif}#atlas-view *{box-sizing:border-box}#atlas-view [hidden]{display:none!important}#atlas-view button{color:var(--ink);font:inherit;cursor:pointer;min-height:44px;touch-action:manipulation}#atlas-view button:focus-visible,#atlas-view input:focus-visible,#atlas-view [tabindex]:focus-visible{outline:3px solid #5651b5;outline-offset:4px}#atlas-view button:disabled{cursor:default;opacity:.45}#atlas-view h1,#atlas-view h2,#atlas-view h3,#atlas-view p{margin:0}#atlas-view .at-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 0 21px}.at-title h1{font-size:25px!important;letter-spacing:.01em;font-weight:650}.at-title p{font-size:12px;margin-top:7px!important;color:#786b85}.at-top-actions{display:flex;gap:10px;align-items:center}.at-plain{border:1px solid #c9bdd3;border-radius:7px;background:#fffdf4;padding:9px 14px;font-size:12px!important}.at-primary{border:1.5px solid var(--ink);border-radius:8px;background:var(--yellow);padding:11px 18px;box-shadow:3px 3px 0 #d3c2e8;font-weight:600!important}.at-subject{display:flex;gap:2px;border:1px solid #c5b6d6;padding:3px;border-radius:24px}.at-subject button{min-height:34px!important;border:0;background:none;padding:6px 18px;font-size:13px!important;border-radius:20px}.at-subject button[aria-pressed=true]{background:var(--ink);color:#fff!important}.at-legend{display:flex;gap:16px;font-size:11px;align-items:center;color:#786b85}.at-live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#54876e;margin-right:5px}.at-map-frame{position:relative;border-top:1px solid #e1d9e5;border-bottom:1px solid #e1d9e5;background:radial-gradient(#e9e1df .65px,transparent .65px);background-size:18px 18px;overflow:hidden}.at-map-scroll{overflow:auto;scrollbar-width:thin;overscroll-behavior:contain}.at-map-board{width:1100px;height:645px;position:relative;margin:0 auto;transform-origin:top left;transition:transform .4s}.at-connections{position:absolute;inset:0;width:1100px;height:645px;pointer-events:none}.at-connections path{fill:none;stroke-width:2;opacity:.65}.at-connections .at-cross{stroke:#c6b8d2;stroke-dasharray:4 6;stroke-width:1.3}.at-chain-label{position:absolute;left:0;width:104px;display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600}.at-chain-label i{height:26px;width:6px;border-radius:4px;background:var(--tone)}.at-stage-label{position:absolute;top:18px;width:170px;text-align:center;font-size:11px;color:#766482;letter-spacing:.04em}.at-node{position:absolute;width:151px;height:89px;padding:0!important;border:1.3px solid #594369;border-radius:5px!important;background:#fffdf8;text-align:left;box-shadow:4px 4px 0 var(--tone);transition:transform .2s,box-shadow .2s;overflow:visible}.at-node:hover,.at-node:focus-visible{transform:translateY(-4px);box-shadow:5px 8px 0 var(--tone);z-index:2}.at-node-art{display:block;height:54px;padding:5px 12px;background:#fffdf8;border-radius:4px 4px 0 0}.at-node-art svg{width:100%;height:43px;overflow:visible}.at-node-label{height:34px;display:flex;align-items:center;justify-content:space-between;background:var(--tone);border-top:1px solid #594369;padding:6px 8px;border-radius:0 0 4px 4px;font-size:11px;font-weight:600}.at-node-label small{font-size:9px;font-weight:400;white-space:nowrap}.at-node .at-node-open{position:absolute;right:-6px;top:-7px;border:1px solid var(--ink);border-radius:12px;background:#fffdf4;padding:2px 6px;font-size:9px}.at-map-axis{position:absolute;bottom:13px;left:115px;right:14px;border-top:1px solid #665075;padding-top:8px;color:#74637d;font-size:10px;display:flex;justify-content:space-between}.at-map-axis:after{content:'›';position:absolute;right:-2px;top:-13px;font-size:22px}.at-map-caption{display:flex;justify-content:space-between;align-items:center;padding:14px 0;gap:15px;font-size:12px;color:#766482}.at-map-caption button{font-size:11px!important;min-height:36px!important}.at-zoom{display:flex;align-items:center;gap:5px}.at-zoom button{border:1px solid #d2c5dd;border-radius:5px;background:#fffdf4;width:38px;padding:4px}.at-zoom output{width:44px;text-align:center}.at-sample-entry{display:flex;align-items:center;gap:20px;margin-top:10px;border:1px solid #d9ccdf;border-radius:9px;padding:18px 22px;background:#f7f2fc}.at-sample-entry>div{flex:1}.at-sample-entry h2{font-size:18px!important;margin-bottom:7px!important}.at-sample-entry p{font-size:12px;color:#776985}.at-sample-mark{font-family:Georgia,serif;font-size:36px;letter-spacing:-3px;color:#8d75b5}.at-focus{animation:at-zoom-in .45s both}.at-breadcrumb{display:flex;align-items:center;gap:14px;padding:20px 0 12px;font-size:12px}.at-breadcrumb button{border:0;background:none;padding:5px 0}.at-breadcrumb span{color:#8c7d97}.at-object-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:12px 0 20px}.at-object-head h1{font-size:26px!important;margin-top:9px!important;font-weight:600}.at-label{display:inline-flex;align-items:center;border:1px solid var(--ink);border-radius:6px;overflow:hidden;font-size:11px;box-shadow:2px 2px 0 #d9c6ed}.at-label span{padding:5px 10px;background:var(--ink);color:white}.at-label b{font-weight:500;padding:5px 12px;background:var(--yellow)}.at-object-head p{font-size:12px;color:#786b85;max-width:410px;line-height:1.7}.at-lab{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:26px}.at-workspace{min-width:0}.at-canvas{position:relative;min-height:370px;background:#fffdf4;border:1.5px solid #594369;border-radius:9px;box-shadow:5px 5px 0 #dfd1ec;overflow:hidden}.at-canvas-title{position:absolute;top:18px;left:20px;font-size:11px;color:#766482}.at-canvas svg{display:block;width:100%;height:auto;min-height:300px;touch-action:none}.at-canvas svg .at-tile{transition:transform .65s cubic-bezier(.25,.8,.25,1);stroke:#554063;stroke-width:1.1;fill:var(--blue)}.at-canvas svg .at-group-box{fill:#f6ecfa;stroke:#bba6d0;stroke-dasharray:4 4;stroke-width:1}.at-canvas svg text{fill:var(--ink);font-family:inherit;font-size:14px}.at-canvas svg .at-unit-note{font-size:11px;fill:#8a7695}.at-canvas svg .at-grip{cursor:ew-resize;fill:var(--yellow);stroke:var(--ink);stroke-width:1.5}.at-drag-target{position:absolute;inset:0;border:0!important;background:transparent;pointer-events:none}.at-drag-target.active{border:2px dashed #796093!important;background:#ede2f233}.at-canvas svg .at-axis{stroke:#776283;stroke-width:1.1;fill:none}.at-canvas svg .at-curve{stroke:#597ed1;stroke-width:3;fill:none}.at-canvas svg .at-guide{stroke:#d5cadd;stroke-dasharray:3 4;fill:none}.at-canvas-foot{display:flex;justify-content:center;gap:20px;align-items:center;padding:14px;border-top:1px solid #e2d7e8;min-height:55px;font-size:13px}.at-canvas-foot strong{font-size:22px;font-weight:500}.at-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:20px 0 15px}.at-controls .at-choice{display:flex;gap:7px;flex-wrap:wrap}.at-choice button{border:1px solid #a895ba;background:#fffdf4;border-radius:6px;padding:6px 14px;min-width:44px}.at-choice button[aria-pressed=true]{background:var(--mint);border-color:var(--ink);box-shadow:2px 2px 0 #d8c7e9}.at-control-caption{font-size:11px;color:#7c6a89;display:block;margin-bottom:9px}.at-controls .at-counter{display:flex;align-items:center;gap:10px}.at-counter button{width:44px;border:1px solid #a895ba;background:#fffdf4;border-radius:7px;font-size:21px!important}.at-counter output{min-width:28px;text-align:center;font-size:20px}.at-record{border:1.5px solid var(--ink);background:var(--yellow);border-radius:7px;padding:10px 15px;box-shadow:2px 2px 0 #dfceec;white-space:nowrap}.at-packet{border:1.5px solid var(--ink);border-radius:8px;background:#e3f1fa;padding:10px 17px;box-shadow:3px 3px 0 #cfbde6;cursor:grab!important;touch-action:none;display:flex;align-items:center;gap:11px}.at-packet i{display:inline-block;width:19px;height:23px;border:1px solid var(--ink);background:var(--blue);box-shadow:2px 2px 0 #d2c2e5}.at-drag-ghost{position:fixed;z-index:1000;pointer-events:none;transform:translate(-50%,-50%);padding:12px;background:#b9e3f5;border:1px solid #443456;border-radius:7px;box-shadow:3px 3px 0 #d6c5e7;color:#443456}.at-notebook{border-left:1px solid #d9ccdf;padding-left:23px}.at-notebook .at-note-eyebrow{font-size:10px;letter-spacing:.15em;color:#91809e}.at-notebook h2{font-size:18px!important;margin:10px 0 13px!important}.at-notebook p{font-size:12px;color:#786b85;line-height:1.8}.at-evidence{margin:20px 0;border-top:1px solid #d9ccdf}.at-evidence-row{display:flex;justify-content:space-between;padding:12px 4px;border-bottom:1px solid #e1d8e7;font-size:13px;animation:at-appear .25s}.at-evidence-row b{font-weight:500}.at-empty-record{padding:15px 0;color:#9a8ca4;font-size:12px}.at-reveal{width:100%;padding:11px 8px;background:#eee6f6;border:1px solid var(--ink);border-radius:7px}.at-discovery{margin-top:17px;background:#eef5e9;border:1px solid #a6bc9d;border-radius:7px;padding:14px;animation:at-appear .3s}.at-discovery strong{font-size:20px;display:block;font-family:Georgia,serif;margin-bottom:9px}.at-discovery p{font-size:12px;color:#53634b}.at-object-tabs{display:flex;gap:8px;margin:26px 0 10px;flex-wrap:wrap}.at-object-tabs button{border:1px solid #ccbed8;border-radius:20px;background:#fffdf4;padding:7px 16px;font-size:12px!important}.at-object-tabs button[aria-pressed=true]{background:#e9e0f5;border-color:#6a527f}.at-status{min-height:27px;font-size:12px;line-height:1.7;color:#695477}.at-graph-wrap{margin-top:15px;border:1px solid #c2b2d0;border-radius:8px;background:#fffefa;padding:12px;animation:at-appear .4s}.at-graph-wrap>p{font-size:11px;color:#8b7996;margin:4px 0 9px!important}.at-graph-wrap svg{width:100%;height:220px}.at-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:26px 0}.at-topic{border:1px solid #cdbed8;border-radius:7px;padding:18px;background:#fffefa}.at-topic h3{font-size:16px!important;margin:10px 0!important}.at-topic p{font-size:12px;color:#786b85;line-height:1.7}.at-topic small{font-size:10px;color:#8a7997}.at-topic button{display:block;margin-top:14px;padding:7px 10px;background:#e9f3eb;border:1px solid #b8cbb5;border-radius:5px;font-size:12px!important}.at-plan{padding:24px;background:#f4eef9;border:1px dashed #af97c6;border-radius:8px;margin-top:20px}.at-plan h2{font-size:20px!important;margin-bottom:12px!important}.at-plan p{font-size:13px;line-height:1.8;color:#776581}.at-chain-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.at-chain-chips span{padding:8px 13px;border:1px solid #b49ac9;background:#fffdf4;border-radius:4px;font-size:12px}.at-chain-chips span+span:before{content:'→';margin-right:12px;color:#b39ac7}.at-footer-note{font-size:11px;color:#91809b;padding:8px 0 20px}.at-abstract-switch{font-size:12px!important;border:1px solid #baa4ca;border-radius:6px;background:#eee6f5;padding:7px 12px}.at-size-mobile{display:none}.at-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes at-zoom-in{from{opacity:0;transform:scale(.965) translateY(15px)}to{opacity:1;transform:none}}@keyframes at-appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(min-width:1400px){.at-map-board{width:1100px}.at-lab{grid-template-columns:minmax(0,1fr) 320px}}@media(max-width:900px){body.atlas-mode main{padding:0 18px}.at-map-board{margin:0}.at-lab{grid-template-columns:minmax(0,1fr) 230px;gap:20px}.at-notebook{padding-left:18px}.at-object-head{align-items:flex-start}.at-object-head p{max-width:250px}.at-map-caption{align-items:flex-start}}@media(max-width:650px){body.atlas-mode>header{height:auto;min-height:64px;padding:10px 14px;gap:8px;flex-wrap:nowrap}.atlas-mode .brand{gap:7px}.atlas-mode .brand>span+span{font-size:13px}.atlas-mode .brand small{font-size:7px}.atlas-mode .brand-cube{width:29px!important;height:32px!important;font-size:19px!important}.atlas-mode>header nav{margin:0 0 0 auto;flex-wrap:nowrap;overflow:visible;gap:0!important}.atlas-mode>header .nav[data-view]{padding:8px 10px!important;font-size:12px!important;min-width:0!important}body.atlas-mode main{padding:0 14px}.at-top{padding:20px 0 16px!important;gap:10px!important;align-items:flex-start!important;flex-direction:column}.at-title h1{font-size:22px!important}.at-top-actions{width:100%;justify-content:space-between}.at-top-actions>.at-plain{font-size:11px!important;padding:6px 10px}.at-subject button{padding:6px 13px}.at-map-board{height:645px}.at-map-caption{flex-wrap:wrap;font-size:11px}.at-legend{gap:10px;font-size:10px}.at-sample-entry{padding:16px;gap:10px;flex-wrap:wrap}.at-sample-entry>div{min-width:180px}.at-sample-mark{display:none}.at-sample-entry h2{font-size:17px!important}.at-sample-entry>button{width:100%}.at-object-head{flex-direction:column;gap:12px;margin-bottom:17px}.at-object-head h1{font-size:23px!important}.at-object-head p{max-width:none}.at-lab{grid-template-columns:1fr;gap:18px}.at-canvas{min-height:0;box-shadow:3px 3px 0 #dfd1ec}.at-canvas svg{min-height:0;aspect-ratio:1.48}.at-canvas-title{top:10px;left:13px;font-size:10px}.at-canvas-foot{gap:13px;padding:10px;font-size:11px}.at-canvas-foot strong{font-size:19px}.at-controls{gap:10px;flex-wrap:wrap}.at-choice{gap:6px!important}.at-choice button{padding:5px 12px}.at-record{flex:1;font-size:12px!important}.at-notebook{border-left:0;border-top:1px solid #d9ccdf;padding:20px 0 0}.at-notebook h2{font-size:17px!important}.at-evidence{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0;border-top:0}.at-evidence-row{flex:1;min-width:80px;flex-direction:column;gap:6px;padding:10px;background:#f4eef8;border:1px solid #d9ccdf;border-radius:6px;font-size:12px}.at-evidence-row b{font-size:17px}.at-object-tabs{margin-top:15px;gap:6px}.at-object-tabs button{padding:7px 12px;font-size:11px!important}.at-breadcrumb{gap:8px;font-size:11px;flex-wrap:wrap;padding:12px 0 5px}.at-topic-grid{grid-template-columns:1fr}.at-graph-wrap svg{height:210px}.at-size-mobile{display:inline}.at-map-axis{font-size:9px}.at-map-scroll{max-height:550px}.at-plan{padding:18px}}
@media(prefers-reduced-motion:reduce){#atlas-view *,#atlas-view *:before,#atlas-view *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Refinements after side-by-side reference review. */
.at-map-board,.at-connections{height:505px}.at-node{height:73px}.at-node-art{height:42px;padding:2px 12px}.at-node-art svg{height:38px}.at-node-label{height:30px}.at-stage-label{top:14px}.at-map-axis{bottom:7px}.at-canvas svg{height:330px;min-height:0}.at-canvas{min-height:0}.at-object-head{margin:5px 0 16px}.at-object-head h1{margin-top:8px!important}.at-controls{justify-content:flex-start;flex-wrap:wrap}.at-controls .at-record{margin-left:auto}.at-controls #at-reverse,.at-controls #at-replay{font-size:11px!important;min-height:36px!important}.at-canvas svg .at-tile{transition:transform .85s cubic-bezier(.4,0,.2,1);stroke-width:1}.at-canvas svg .at-group-box{fill:#f4eafa;stroke:#c6b2db;opacity:.65}.at-canvas svg #at-area-shape,.at-canvas svg #at-old-square,.at-canvas svg #at-shape-grid{transition:all .35s}.at-map-board .at-node-art svg{stroke:#443456}.at-canvas-foot{min-height:50px}.at-graph-wrap{scroll-margin-top:20px}@media(max-width:650px){.at-map-board{height:505px}.at-map-scroll{max-height:510px}.at-canvas svg{height:auto;min-height:0;aspect-ratio:1.65}.at-controls .at-record{margin-left:0}.at-controls #at-reverse,.at-controls #at-replay{flex:1}.at-canvas-foot{min-height:44px}}
.at-has-relation .at-evidence{display:flex;flex-wrap:wrap;gap:5px;border:0;margin:12px 0}.at-has-relation .at-evidence-row{flex:1;min-width:68px;flex-direction:column;gap:4px;border:1px solid #ddcfe7;background:#f8f3fa;padding:7px;font-size:11px}.at-has-relation .at-notebook>p{display:none}.at-has-relation .at-discovery{padding:10px;margin-top:10px}.at-has-relation .at-discovery p{font-size:11px;line-height:1.6}.at-has-relation .at-graph-wrap{padding:7px}.at-has-relation .at-graph-wrap svg{height:170px}.at-has-relation .at-graph-wrap p{font-size:10px;line-height:1.5}.at-linked-formula{padding:5px 9px;border-radius:5px;background:#ffe9ae;font-size:13px;font-weight:500}.at-map-board .at-node-art svg text{font-family:Georgia,serif}
/* Geometry is recalculated per frame; independent width/height tweening would violate fixed area. */
.at-canvas svg #at-area-shape,.at-canvas svg #at-old-square,.at-canvas svg #at-shape-grid{transition:none}.at-grip .at-hit{fill:transparent;stroke:none;pointer-events:all}
/* The playable node zooms straight into its object; coverage stays secondary. */
.at-node.at-current{outline:2px solid #655081;outline-offset:6px}.at-breadcrumb #at-object-scope{margin-left:auto;font-size:10px!important;padding:5px 9px;min-height:32px!important;border:1px solid #d6c9df}.at-has-relation{grid-template-columns:minmax(0,1fr) minmax(330px,.9fr)}.at-has-relation .at-graph-wrap svg{height:225px}.at-has-relation .at-evidence-row{min-width:60px}.at-has-relation .at-discovery strong{font-size:23px}.at-has-relation .at-notebook h2{font-size:17px!important}@media(max-width:850px){.at-has-relation{grid-template-columns:1fr}.at-has-relation .at-notebook{border-left:0;border-top:1px solid #d9ccdf;padding:18px 0 0}.at-has-relation .at-graph-wrap svg{height:240px}}
@media(max-width:650px){.at-controls #at-reverse,.at-controls #at-replay{min-height:44px!important}}
