/* ===== topology.css: the live network map card ===== */
.topo-wrap { position: relative; height: clamp(360px, 56vh, 560px); overflow: hidden; }
.topo-wrap canvas { width: 100%; height: 100%; display: block; cursor: default; }
.topo-legend { position: absolute; left: 16px; bottom: 12px; display: flex; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: var(--muted); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .4rem; } .dot.up { background: var(--up); } .dot.down { background: var(--down); } .dot.bad { background: var(--bad); }
.topo-tip { position: absolute; pointer-events: none; padding: .5rem .7rem; border-radius: 10px; background: rgba(10,15,36,.92); border: 1px solid var(--line); font-size: .8rem; white-space: nowrap; z-index: 3; }
.topo-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .4rem; text-align: center; }
