.knowledge-graph{position:fixed;right:16px;bottom:24px;width:340px;height:auto;z-index:9;overflow:visible;pointer-events:none}
.graph-key{fill:#78838e;font:9px var(--mono-font);letter-spacing:.05em}
.graph-relationship{fill:none;stroke:#8493a3;stroke-width:1;opacity:.3;transition:opacity .18s ease}
.graph-input-link{stroke-dasharray:4 4;stroke-width:1.5}
.graph-concept-link,.graph-type-link{stroke:#9b8fa8;stroke-dasharray:2 4;opacity:.38}
.graph-dot{fill:#171c21;stroke:#8b9bab;stroke-width:1.2;opacity:.8;transition:opacity .18s ease,fill .18s ease}
.graph-entity .graph-dot{fill:#18201c;stroke:#829a8a}
.graph-event .graph-dot{fill:#1a1e26;stroke:#8194ae}
.graph-concept .graph-dot{fill:#201c26;stroke:#aa98b9;stroke-dasharray:2 2;opacity:.75}
.graph-fact-ring{fill:none;stroke:#8b9bab;stroke-width:.7;opacity:.45;pointer-events:none}
.graph-node-label{fill:#a9b3bd;font:10px var(--mono-font);opacity:.7;pointer-events:auto;transition:opacity .18s ease;paint-order:stroke;stroke:var(--panel-soft);stroke-width:3;stroke-linejoin:round}
.graph-concept .graph-node-label{fill:#b9a9c5;font-size:9px}
.graph-node{pointer-events:auto;cursor:pointer;outline:none}
.graph-node-hit{fill:transparent;stroke:none}
.graph-node.graph-active .graph-dot{fill:#34483e;stroke:#c7e4c9;stroke-width:1.8;opacity:1}
.graph-node.graph-active .graph-node-label{fill:#e1e7e2;opacity:1}
.graph-relationship.graph-active{opacity:.9;stroke:#afbdc9}
.graph-edge-label{fill:#b7c4d0;font:9px var(--mono-font);opacity:0;pointer-events:none;paint-order:stroke;stroke:var(--panel-soft);stroke-width:4;stroke-linejoin:round}
.graph-edge-label.graph-active{opacity:1}
.graph-node:focus-visible .graph-dot{stroke:var(--focus);stroke-width:3}
.graph-word-tether{position:fixed;inset:0;width:100%;height:100%;z-index:9;pointer-events:none;overflow:visible}
.graph-word-tether path{fill:none;stroke:#b2bdca;stroke-width:1;stroke-dasharray:2 5;opacity:.7}
#graph .sentence-chunk.network-linked .box-text{fill:#c7e4c9;text-decoration:underline}
#graph .sentence-chunk.network-context .box-text{fill:#adbdaf}
@media(max-width:1199px){.knowledge-graph,.graph-word-tether{display:none}}

.graph-node-kind{fill:#8e9aaa;font:8px var(--mono-font);pointer-events:none}
.graph-node.graph-active .graph-node-kind{fill:#c7e4c9}
