/* Public graph presentation; a complete synthetic poster remains without JavaScript. */
.graph-controls { display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px; }
.graph-controls button { min-width:40px;min-height:40px;padding:8px 12px;border:1px solid rgb(230 241 236 / .22);border-radius:7px;color:#e6f1ec;background:rgb(255 255 255 / .06);font:500 13px Archivo,sans-serif;cursor:pointer;transition:background 160ms ease,border-color 160ms ease; }
.graph-controls button:hover {background:rgb(255 255 255 / .13);border-color:#8bb2b2;}
.graph-controls button:first-child {background:#164a52;border-color:#4e8886;color:#a5e8db;}
.graph-controls button:focus-visible,.graph-inspector button:focus-visible,.graph-node:focus-visible,.graph-enhanced .network-figure svg:focus-visible {outline:3px solid #35c8b8;outline-offset:3px;}
.graph-controls button:disabled {opacity:.55;cursor:default;}
.graph-enhanced .network-figure {position:relative;background:#0b3541;padding:20px 20px 0;}
.graph-enhanced .network-figure figcaption {position:relative;z-index:1;font-size:13px;color:#e6f1ec;}
.graph-enhanced .network-figure svg {display:block;width:100%;height:470px;overflow:hidden;touch-action:pan-y pinch-zoom;cursor:grab;}
.graph-enhanced .network-figure svg.graph-dragging {cursor:grabbing;}
.graph-enhanced .network-figure svg.graph-touch-panning {touch-action:none;}
.graph-enhanced .network-focus {display:none;}
.graph-enhanced .network-selection {display:none;}
.graph-node {cursor:pointer;pointer-events:bounding-box;transition:opacity 520ms ease;}
.graph-node-hit {fill:transparent;stroke:transparent;}
.graph-node-halo {opacity:.1;transition:opacity 220ms ease;}
.graph-node-query .graph-node-halo {opacity:0;}
.graph-node.graph-selected .graph-node-halo {opacity:.3;}
.graph-node.graph-selected>circle:not(.graph-node-hit):not(.graph-node-halo) {stroke:#ee9068;stroke-width:2;vector-effect:non-scaling-stroke;}
.graph-node:hover .graph-node-halo,.graph-node:focus .graph-node-halo {opacity:.45;}
.graph-node-label {fill:#bdd2ce;font-family:Archivo,sans-serif;font-weight:400;opacity:0;paint-order:stroke;stroke:#061f2b;stroke-width:5px;stroke-linejoin:round;pointer-events:visiblePainted;transition:opacity 180ms ease;}
.graph-node-page .graph-node-label {font-family:ui-monospace,SFMono-Regular,Menlo,monospace;}
.graph-node-source .graph-node-label,.graph-node-topic .graph-node-label {fill:#e6f1ec;font-weight:500;}
.graph-node-label:not(.graph-label-visible) {display:none;}
.graph-node-label.graph-label-visible {opacity:1;}
.graph-node.graph-dim {opacity:.1;}
.graph-node.graph-dim .graph-node-label {opacity:0;}
.graph-node:hover .graph-node-label,.graph-node:focus .graph-node-label {opacity:1;}
.graph-edge {stroke-width:.8;opacity:.72;transition:opacity 520ms ease,stroke-width 520ms ease;}
.graph-edge-observed {opacity:.45;stroke-width:.6;}
.graph-edge-fact {stroke-dasharray:5 5;stroke-width:1.1;opacity:.4;}
.graph-edge.graph-unknown {stroke:#9cafb4;stroke-dasharray:2 5;}
.graph-edge.graph-evidence {stroke:#43d4bd;stroke-dasharray:9 7;stroke-width:2.2;opacity:1;}
.graph-edge.graph-dim {opacity:.055;}
.graph-animate .graph-edge.graph-evidence,.graph-animate .graph-proposal-visible {animation:graph-evidence-stream 1500ms linear infinite;}
.graph-proposed-link {stroke:#ee9068;stroke-width:2;stroke-dasharray:7 6;vector-effect:non-scaling-stroke;opacity:0;pointer-events:none;}
.graph-proposed-link.graph-proposal-visible {opacity:1;}
.graph-rank-pin {opacity:1;transition:opacity 220ms ease;pointer-events:none;}
.graph-rank-pin text {font-family:Archivo,sans-serif;font-weight:600;}
.graph-intro .graph-rank-pin:not(.graph-pin-shown) {opacity:0;}
.graph-node.graph-pre,.graph-edge.graph-pre {opacity:0;}
.graph-enhanced:not(.graph-intro) .graph-skip {display:none;}
.graph-legend {list-style:none;display:flex;align-items:center;flex-wrap:wrap;gap:10px 17px;margin:0 -20px;padding:16px 20px;border-top:1px solid rgb(230 241 236 / .12);color:#bdd2ce;font-size:12px;line-height:1.4;}
.graph-legend li {display:flex;align-items:center;gap:6px;}
.graph-legend li::before {content:'';display:block;width:7px;height:7px;border-radius:50%;background:#62d4c8;}
.graph-legend .graph-key-topic::before {background:#e6f1ec;}
.graph-legend .graph-key-query::before {width:5px;height:5px;background:#599ca8;}
.graph-legend .graph-key-source::before {width:8px;height:8px;border-radius:2px;border:1px solid #c8e0db;background:transparent;}
.graph-legend .graph-key-prompt::before {background:#a6bfd9;border-radius:1px;transform:rotate(45deg);}
.graph-legend .graph-key-fact::before {height:0;width:12px;border-top:2px dashed #43d4bd;background:transparent;}
.graph-enhanced .network-caption {font-size:12px;color:#bdd2ce;margin:0 0 14px;}
.graph-inspector {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;margin:0 -20px;padding:16px 20px;background:#092e39;border-top:1px solid rgb(230 241 236 / .1);}
.graph-inspector-heading {min-width:0;}
.graph-inspector-heading>span {display:block;color:#bdd2ce;font-size:12px;line-height:1.5;margin-bottom:3px;}
.graph-inspector-heading>strong {display:block;font-size:14px;font-weight:500;color:#e6f1ec;line-height:1.5;overflow-wrap:anywhere;}
.graph-inspect-actions {display:flex;gap:5px;align-items:center;}
.graph-inspector button {font:500 13px Archivo,sans-serif;min-height:38px;cursor:pointer;}
.graph-inspect-actions>button {border:1px solid rgb(230 241 236 / .25);border-radius:6px;min-width:38px;padding:6px 10px;background:transparent;color:#e6f1ec;}
.graph-connections {grid-column:1/-1;padding:0;border:0;font-size:13px;}
.graph-connections>summary {color:#bde9df;font-size:13px;font-weight:500;cursor:pointer;min-height:32px;padding:5px 0;}
.graph-connections ul {list-style:none;margin:12px 0 0;padding:0;max-height:220px;overflow:auto;overscroll-behavior:contain;}
.graph-connections li {padding:8px 0;border-top:1px solid rgb(230 241 236 / .12);}
.graph-connections li>button {display:block;color:#e6f1ec;text-align:left;border:0;background:transparent;padding:0;overflow-wrap:anywhere;}
.graph-connections li>span {display:block;font-size:12px;color:#bdd2ce;}
.graph-finding-meta {display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px;margin-top:9px;font-size:12px;line-height:1.5;font-weight:400;color:#bdd2ce;}
.graph-finding-meta code {font-size:12px;color:#bdd2ce;}
.graph-finding-meta .graph-score {margin-left:auto;font-variant-numeric:tabular-nums;color:#8ce5d3;font-weight:600;}
.graph-sources {list-style:none;margin:16px 0 0;padding:0;}
.graph-sources li {border-left:2px solid #386963;margin-top:12px;padding:0 0 0 11px;font-size:13px;line-height:1.5;}
.graph-sources strong,.graph-sources span {display:block;}
.graph-sources strong {color:#a5e8db;font-weight:500;}
.graph-sources span {color:#d0e2dc;font-size:12px;}
.graph-enhanced .network-findings .graph-approval {padding:11px 0 0;color:#a5e8db;font-size:12px;font-weight:500;}
.graph-footer {display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;padding:16px 24px;background:#103843;border-top:1px solid rgb(230 241 236 / .13);color:#bdd2ce;}
.graph-track {list-style:none;display:flex;align-items:center;gap:18px;margin:0;padding:0;flex-shrink:0;font-size:12px;}
.graph-track li {position:relative;color:#a4bfbc;}
.graph-track li+li::before {position:absolute;left:-12px;content:'›';color:#7b9a99;}
.graph-track li[data-state=now] {color:#8ce5d3;font-weight:600;}
.graph-track li[data-state=done] {color:#e6f1ec;}
.graph-ticker {min-width:0;flex:1;margin:0;font-size:12px;color:#bdd2ce;line-height:1.5;}
@keyframes graph-evidence-stream {to{stroke-dashoffset:-32;}}
@media(max-width:1100px){.graph-enhanced .network-figure svg{height:420px;}.graph-controls{justify-content:flex-start;}}
@media(max-width:800px){.graph-controls{width:100%;}.graph-controls button{min-height:44px;}.graph-enhanced .network-figure svg{height:380px;}.graph-footer{padding:16px 20px;}.graph-ticker{flex-basis:100%;}.graph-legend{font-size:12px;}}
@media(max-width:460px){.graph-enhanced .network-figure{padding:18px 16px 0;}.graph-enhanced .network-figure svg{height:320px;}.graph-legend,.graph-inspector{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px;}.graph-legend{gap:10px 12px;}.graph-controls{gap:5px;}.graph-controls button{padding:7px 10px;}.graph-track{gap:20px;}.graph-ticker{font-size:12px;}.graph-inspector button{min-height:44px;}}
@media(prefers-reduced-motion:reduce){.graph-node,.graph-node-label,.graph-node-halo,.graph-edge,.graph-rank-pin,.graph-controls button{transition:none;}.graph-animate .graph-edge.graph-evidence,.graph-animate .graph-proposal-visible{animation:none;}}
/* Text and controls stay readable at their actual size. */
.graph-controls button, .graph-inspector button, .graph-connections > summary { min-height:44px; }
.graph-inspect-actions > button { min-width:44px; }
.graph-legend, .graph-enhanced .network-caption, .graph-inspector-heading > span,
.graph-connections li > span, .graph-finding-meta, .graph-finding-meta code,
.graph-sources span, .graph-enhanced .network-findings .graph-approval,
.graph-track, .graph-ticker { font-size:13px; }
.graph-enhanced .network-findings details[open] { background:#23454e; margin-inline:-24px; padding-inline:24px; }
@media(max-width:460px) { .graph-enhanced .network-findings details[open] { margin-inline:-20px; padding-inline:20px; } }
.graph-enhanced .network-findings .graph-finding-meta span { font-size:13px; }
