/* Topologiediagram (overgenomen uit KISS, Toegang › Topologie, 9-11-2026) */
.topo-diagram { --accent: #FFB71B; position:relative; height:calc(100vh - 330px); min-height:460px; background:radial-gradient(circle, #2a2a2a 1px, transparent 1px) 0 0/22px 22px, #161616; border:1px solid #2e2e2e; border-radius:14px; overflow:hidden; touch-action:none; user-select:none; color:#e6e6e6; }
.topo-svg { width:100%; height:100%; display:block; cursor:grab; }
.topo-svg:active { cursor:grabbing; }
.topo-link { fill:none; stroke:#4a4a4a; stroke-width:2; }
.topo-link.thin { stroke-width:1.4; stroke:#3d3d3d; }
.topo-link.bad { stroke:#a33a2c; stroke-dasharray:6 4; }
.topo-ic { fill:#262626; stroke:#4a4a4a; stroke-width:1.5; }
.topo-node.k-c .topo-ic { fill:#2a2310; stroke:var(--accent); }
.topo-node.k-s .topo-ic, .topo-node.k-o .topo-ic { fill:#202a33; stroke:#3d5a73; }
.topo-node.k-h .topo-ic, .topo-node.k-g .topo-ic, .topo-node.k-f .topo-ic { fill:#1f2b24; stroke:#3f6e52; } .topo-node.k-h .topo-glyph, .topo-node.k-g .topo-glyph, .topo-node.k-f .topo-glyph { fill:#a8dcb9; }
.topo-ssh circle { fill:#1a1a1a; stroke:#FFB71B; stroke-width:1.5; cursor:pointer; }
.topo-ssh text { fill:#FFB71B; font:700 9px "IBM Plex Mono", monospace; text-anchor:middle; pointer-events:none; }
.topo-ssh:hover circle { fill:#FFB71B; } .topo-ssh:hover text { fill:#1a1a1a; }
.topo-node.k-a .topo-ic { fill:#2a2038; stroke:#6b4f9a; } .topo-node.k-a .topo-glyph { fill:#c9b3f0; }
.topo-node.s-bad .topo-ic, .topo-node.s-gone .topo-ic, .topo-node.s-down .topo-ic { stroke:#c0392b; }
.topo-node.s-muted, .topo-node.s-silent, .topo-node.s-off { opacity:.55; }
.topo-node.k-b:hover .topo-ic { stroke:var(--accent); }
.topo-glyph { fill:#e6e6e6; font-size:22px; text-anchor:middle; pointer-events:none; }
.topo-node.k-t .topo-glyph { font-size:16px; }
.topo-node.k-c .topo-glyph { fill:var(--accent); font-size:26px; }
.topo-dot { stroke:#161616; stroke-width:2; }
.topo-lbl { fill:#e6e6e6; font-size:13px; font-weight:600; text-anchor:middle; }
.topo-lbl.t { text-anchor:start; font-weight:500; font-size:12px; }
.topo-sub { fill:#8a8a8a; font-size:11px; text-anchor:middle; }
.topo-sub.t { text-anchor:start; font-family:ui-monospace, Menlo, monospace; }
.topo-net { font-family:ui-monospace, Menlo, monospace; font-size:10px; }
.topo-node.s-gone .topo-lbl { fill:#ff8a80; }
.topo-toggle circle { fill:#1a1a1a; stroke:#5a5a5a; stroke-width:1.5; } .topo-toggle text { fill:#e6e6e6; font-size:16px; font-weight:700; text-anchor:middle; pointer-events:none; }
.topo-node:hover .topo-toggle circle { stroke:var(--accent); }
.topo-bubble rect { fill:#16301f; stroke:#2b5c3b; } .topo-bubble text { fill:#9be3b0; font-size:12px; font-weight:700; text-anchor:middle; }
.topo-bubble.bad rect { fill:#4a1612; stroke:#a33a2c; } .topo-bubble.bad text { fill:#ffb4a8; }
.topo-tip { position:absolute; display:none; pointer-events:none; background:#000c; border:1px solid #444; border-radius:8px; padding:6px 9px; font-size:12px; max-width:320px; z-index:5; }
/* Gepland / in voorbereiding (12-11-2026): gestippeld blauw, geen alarm. */
.topo-node.s-plan .topo-ic { stroke:#5b8def; stroke-dasharray:5 3; fill:transparent; }
.topo-node.s-plan .topo-glyph { fill:#9db8f5; }

/* Open storing (21-11-2026): rode knop linksboven, klik = naar de storing. */
.topo-al rect { fill:#c0392b; stroke:#161616; stroke-width:1.5; cursor:pointer; }
.topo-al text { fill:#fff; font-size:11px; font-weight:700; text-anchor:middle; pointer-events:none; }
.topo-al:hover rect { fill:#e74c3c; stroke:#FFB71B; }
.topo-al.m rect { fill:#6b6b6b; } .topo-al.m:hover rect { fill:#8a8a8a; }
.topo-tipal { color:#ff8a80; font-weight:600; }

/* Zoektreffer (12-11-2026) */
.topo-node.hit .topo-ic { stroke:#FFB71B; stroke-width:4; }
.topo-node.hit .topo-lbl { fill:#FFB71B; font-weight:700; }
