#graph-controls{position:absolute;top:76px;left:20px;right:20px;z-index:22;max-width:690px;padding:10px 13px;border:1px solid #cbd6c7;border-radius:12px;background:#fafbf3f5;box-shadow:0 5px 20px #23452c12;font-size:12px}#graph-controls[hidden],#graph-controls [hidden]{display:none!important}.graph-row{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.graph-row button,.graph-row select{font:inherit;padding:7px 10px;border:1px solid #becbbc;border-radius:6px;background:#fffef8;color:#284b40}.graph-row [aria-pressed=true]{background:#315a4c;color:white}.graph-tools{margin-top:7px}#graph-count{font-size:11px;color:#53665b}#graph-key{font-size:11px;line-height:1.6;margin-top:6px}#graph-key small{display:block;font-size:10px;color:#5b6c61}.trail-key{color:#286e87}.proposal-key{color:#995e24}#graph-unplaced{margin-top:4px;font-size:11px}#graph-unplaced summary{cursor:pointer;color:#7c522c}#graph-unplaced>div{max-height:180px;overflow:auto}#graph-unplaced button{display:block;text-align:left;width:100%;margin:4px 0;padding:8px;border:1px solid #d3d8cb;border-radius:5px}#graph-unplaced small{display:block}.immersive.network-view #network.complete-graph{top:270px!important;height:calc(100% - 370px)!important;touch-action:none;cursor:grab}.complete-graph:active{cursor:grabbing}.complete-graph .graph-node rect{fill:#fffdf1;stroke:#72927e;stroke-width:2}.complete-graph .graph-node.evidence rect{fill:#dbe7ea;stroke:#7497a4}.complete-graph .graph-node.resource rect{fill:#eee0c8}.complete-graph .graph-node.environment rect{fill:#dae6cf}.complete-graph .graph-node text{fill:#263f35;font:13px system-ui;pointer-events:none}.complete-graph .graph-node .graph-kind{font-size:10px;fill:#64766a}.complete-graph .graph-node.chosen rect,.complete-graph .graph-node:focus rect,.complete-graph .graph-node:hover rect{stroke:#9d4d24;stroke-width:5}.graph-line{fill:none;stroke-width:3}.source-trail .graph-line{stroke-dasharray:3 7}.proposal .graph-line{stroke-dasharray:10 5}.graph-hit{fill:none;stroke:transparent;stroke-width:20}.graph-edge-label{font:13px system-ui;fill:#384f40;paint-order:stroke;stroke:#f9faef;stroke-width:5;opacity:0;pointer-events:none}.graph-edge:hover .graph-edge-label,.graph-edge:focus .graph-edge-label,.graph-edge.chosen .graph-edge-label{opacity:1}.graph-edge:hover .graph-line,.graph-edge:focus .graph-line,.graph-edge.chosen .graph-line{stroke-width:6}.graph-edge,.graph-node{cursor:pointer}.network-view .world-controls{display:none!important}.network-view.inspector-open #graph-controls,.network-view.explorer-open #graph-controls{visibility:hidden}@media(max-width:600px){#graph-controls{top:68px;left:12px;right:12px;padding:8px;max-width:none}.graph-row button,.graph-row select{padding:6px;font-size:11px}.immersive.network-view #network.complete-graph{top:280px!important;height:calc(100% - 380px)!important}}@media(max-height:600px){#graph-key small{display:none}.immersive.network-view #network.complete-graph{top:245px!important;height:calc(100% - 325px)!important}}
.network-view .view-tabs #fit{display:none!important}
.complete-graph .graph-line{vector-effect:non-scaling-stroke;stroke-width:1.2;opacity:.8}.complete-graph .source-trail .graph-line{stroke-dasharray:2 5}.complete-graph .proposal .graph-line{stroke-dasharray:8 4;stroke-width:1.8;opacity:1}.complete-graph .graph-hit{vector-effect:non-scaling-stroke;stroke-width:10}.complete-graph .graph-node rect{vector-effect:non-scaling-stroke;stroke-width:.7}.complete-graph .graph-node.chosen rect,.complete-graph .graph-node:focus rect,.complete-graph .graph-node:hover rect{stroke-width:2.4}.complete-graph .graph-edge:hover .graph-line,.complete-graph .graph-edge:focus .graph-line,.complete-graph .graph-edge.chosen .graph-line{stroke-width:2.4;opacity:1}
#graph-unlinked{margin-top:5px;font-size:11px}#graph-unlinked summary{cursor:pointer;color:#315a4c}#graph-unlinked>div{max-height:165px;overflow:auto}#graph-unlinked button{display:block;text-align:left;width:100%;margin:4px 0;padding:8px;border:1px solid #d3d8cb;border-radius:5px}#graph-unlinked small{display:block}#graph-unlinked [aria-current=true]{border:2px solid #9d4d24}.relationship-first .graph-edge-label{opacity:1;font-size:15px}.relationship-first .graph-edge-status{font-size:11px}.relationship-first .graph-node text{font-size:14px}.relationship-first .graph-node .graph-kind{font-size:10px}.relationship-first .graph-edge-label{stroke-width:7px}

/* Layout headings are context, never new graph nodes or inferred links. */
.complete-graph .graph-region-heading{pointer-events:none}.complete-graph .graph-region-heading text{font:600 14px system-ui;fill:#536b60}.complete-graph .graph-region-heading path{fill:none;stroke:#afc0b2;stroke-width:.4;vector-effect:non-scaling-stroke}
.complete-graph .graph-edge.adjacent .graph-line{stroke-width:2;opacity:1}

#graph-identity{margin-top:6px}.network-view.entity-history-open #graph-controls{visibility:hidden}
#entity-history[hidden]{display:none}#entity-history{position:absolute;z-index:35;top:76px;right:20px;bottom:96px;width:min(440px,calc(100% - 40px));overflow:auto;padding:18px;background:#fffef7;border:1px solid #c4d1c4;border-radius:14px;box-shadow:0 10px 34px #213d3226;color:#294638;font:12px/1.5 system-ui}#entity-history header{display:flex;gap:12px;justify-content:space-between;align-items:start}#entity-history h2{font-size:20px;line-height:1.2;margin:5px 0}#entity-history h3{font-size:14px;margin:4px 0}#entity-history button,#entity-history select{font:inherit;border:1px solid #b4c6b8;border-radius:6px;padding:7px;background:#f3f6ec;color:#244d3e}#entity-history header button{font-size:22px;line-height:1}.continuity-summary{font-weight:600}.continuity-time-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.continuity-time-controls label{display:grid;gap:4px}.continuity-time-controls select{width:100%;min-width:0}.continuity-history-list article{border-left:3px solid #688e7b;padding:6px 0 12px 12px;margin:16px 0}.continuity-history-list small{display:block;color:#64796c}#entity-history details{margin:8px 0;border-top:1px solid #dce2d7;padding-top:6px}#entity-history summary{cursor:pointer}#entity-history blockquote{margin:8px 0;padding:8px 10px;border-left:2px solid #9daf96;background:#eef2e7}.continuity-id{display:block;overflow-wrap:anywhere;font-size:10px;margin-top:6px}.continuity-checkpoint{background:#e5eee4;border-radius:5px;padding:7px}
.immersive.network-view #network.complete-graph{top:310px!important;height:calc(100% - 410px)!important}@media(max-width:600px){#entity-history{top:68px;right:12px;width:calc(100% - 24px);padding:14px;box-sizing:border-box}.immersive.network-view #network.complete-graph{top:320px!important;height:calc(100% - 420px)!important}}@media(max-height:600px){.immersive.network-view #network.complete-graph{top:275px!important;height:calc(100% - 355px)!important}}
#entity-history header{position:static;inset:auto;width:auto;height:auto;min-height:0;padding:0;margin:0;background:none;border:0;box-shadow:none;transform:none;backdrop-filter:none}#entity-history header>div{min-width:0}#entity-history header h2{white-space:normal;overflow-wrap:break-word}#entity-history header button{flex-shrink:0}#entity-history .continuity-time-controls label{position:static;color:#4d6657;font-size:11px}

/* Atlas62: the network gets the space; specialised controls open on demand. */
#graph-controls{max-width:600px;max-height:40dvh;overflow:auto}
.graph-primary{gap:6px}.graph-actions{display:flex;gap:5px;margin-left:auto}
.graph-summary{margin-top:6px}#graph-key{display:flex;flex-wrap:wrap;gap:4px 12px;line-height:1.4}
#graph-key button{font:inherit;padding:3px 5px;border:1px solid #bdcbbd;border-radius:4px;background:#f6f8f1;color:#315a4c}
#graph-options{border-top:1px solid #dce2d7;margin-top:8px;padding-top:6px}
#graph-options>summary{cursor:pointer;color:#536c5d;font-size:11px;padding:3px 0}
#graph-options[open]>summary{margin-bottom:9px}#graph-notes{font-size:11px;color:#5b6c61;line-height:1.5;margin:8px 0}
.immersive.network-view #network.complete-graph{top:var(--graph-controls-bottom,230px)!important;height:calc(100% - var(--graph-controls-bottom,230px) - 90px)!important}
@media(max-width:420px){.graph-primary{gap:4px}.graph-row button,.graph-row select{padding:6px 5px}.graph-actions{gap:4px}.graph-primary button{font-size:10px}}

.network-view.scenario-open #graph-controls{visibility:hidden}

/* This reading-surface header is not the application's fixed top bar. */
#entity-history header{max-width:none;height:auto!important;min-height:0!important;flex-wrap:nowrap}
@media(pointer:coarse),(max-width:600px){
 #graph-controls .graph-row button,#graph-controls .graph-row select{min-height:44px}
 #graph-controls .graph-primary button{font-size:11px}
 #graph-options>summary,#graph-unlinked>summary,#graph-unplaced>summary{min-height:40px;display:flex;align-items:center}
 #entity-history button,#entity-history select{min-height:40px}
}
