.network-panel{background:radial-gradient(ellipse at 68% 75%,#162e4a,#0b172c 70%);box-shadow:0 16px 45px #15253c20}.network-heading{position:relative;padding-bottom:14px}.network-stage{position:relative;isolation:isolate;background-image:radial-gradient(#7893ba2d 1px,transparent 1px);background-size:17px 17px}.network-stage svg{display:block;width:100%;height:auto}.network-stage .wire{fill:none;stroke:#74a7ce;stroke-opacity:.43;stroke-width:1.5}.network-stage .particle{fill:#a4f6ff;filter:drop-shadow(0 0 3px #49e0ff)}.network-stage .node{cursor:pointer;outline:none}.node .plate{stroke:#52799a;stroke-width:1.2;fill:#132941}.node.active .plate,.node:focus-visible .plate{stroke:#98efff;stroke-width:3}.network-stage .active .wire{stroke:#95eaff;stroke-opacity:1;stroke-width:2.5}.network-stage .halo{fill:#4bbdff22;stroke:#62d6ff;transform-box:fill-box;transform-origin:center;animation:lh-ripple 3s ease-out infinite}.network-stage .region{font:bold 12px Arial,sans-serif;fill:white;paint-order:stroke;stroke:#102338;stroke-width:3px}.network-stage output{display:block;text-align:center;color:#d4e7fc;background:#0f2139;padding:11px;font:500 14px Arial,sans-serif;min-height:18px}.network-stage .channel-label{fill:#e6f2ff;text-anchor:middle;font:600 13px Arial,sans-serif}@keyframes lh-ripple{to{transform:scale(1.85);opacity:0}}@media(prefers-reduced-motion:reduce){.network-stage .halo{animation:none}}

.network-panel {
  --ink: #203e50;
  --accent: #087791;
  --line: #5293a8;
  background: linear-gradient(128deg,#fbfefe,#eaf5f8);
  border: 1px solid #d4e5ea;
  color: var(--ink);
}
.network-panel:has([data-network="markets"]) {
  --ink: #393550;
  --accent: #6854ab;
  --line: #a090c1;
  background: linear-gradient(125deg,#fefdfd,#f2eff9);
  border-color: #e1dceb;
}
.network-heading h2,.network-stage .channel-label { color: var(--ink); fill: var(--ink); }
.network-heading p { color:#516171; }
.network-stage { background-image:radial-gradient(#65768b22 .8px,transparent 1px); }
.network-stage .wire { stroke:var(--line);stroke-opacity:.8; }
.network-stage .particle { fill:var(--accent);filter:drop-shadow(0 0 2px white); }
.network-stage .plate { fill:white;stroke:var(--line); }
.network-stage .node.active .plate,.network-stage .node:focus-visible .plate,.network-stage .active .wire {stroke:var(--accent)}
.network-stage .halo {stroke:var(--accent);fill:#ffffff55}
.network-stage output { color:var(--ink);background:#ffffffa8;border-top:1px solid #8592a033; }
.network-stage[data-network="markets"] .node .plate{stroke:#dfd4c4;fill:#fff;filter:drop-shadow(0 3px 4px #68461416);transition:stroke .2s,fill .2s}
.network-stage[data-network="markets"] .node.active .plate,.network-stage[data-network="markets"] .node:focus-visible .plate{stroke:#a65b09;fill:#fff9ec}
.network-stage[data-network="markets"] .channel-mark{pointer-events:none}
.network-stage[data-network="markets"] .channel-label{font-weight:650;font-size:15px}
