.gfx-viewport { background-image:radial-gradient(var(--vws-grid) .55px, transparent .65px); background-size:15px 15px; }
.gfx-edge { stroke:var(--vws-wire); stroke-width:2; fill:none; }
.gfx-edge.forward, .gfx-edge.active { stroke:var(--reading-focus); stroke-width:3.5; }
.gfx-edge.alternate, .gfx-edge.down { stroke-dasharray:6 5; }
.gfx-edge.down { stroke:var(--reading-error); }
.gfx-root { fill:var(--reading-success)!important; font-weight:800!important; }
.gfx-packet-box { fill: var(--reading-focus); stroke: var(--vws-map); }
.gfx-packet.broadcast .gfx-packet-box { fill:var(--vws-vlan20); }
.gfx-packet-lines { fill:none; stroke:var(--vws-map); }
.gfx-extra { margin-block:1rem; }
.gfx-extra .lab-scroll { margin-block:.5rem; }
.gfx-legend { font-size:.88rem; color:var(--reading-muted); }
.gfx-range { position:relative; height:1.6rem; border:1px solid var(--reading-border); border-radius:.4rem; background:var(--reading-surface); margin-block:1rem; overflow:hidden; }
.gfx-range-usable { position:absolute; background:var(--reading-focus); opacity:.45; height:100%; }
.gfx-range-marker { position:absolute; top:0; bottom:0; width:4px; background:var(--reading-ink); transform:translateX(-50%); }
.gfx-octets { display:grid; grid-template-columns:repeat(auto-fit,minmax(128px,1fr)); gap:.4rem; margin-block:.3rem .8rem; }
.gfx-octets > span { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); font: .82rem var(--reading-mono); text-align:center; }
.gfx-octets b { padding:.24rem 0; border:1px solid var(--reading-border); }
.gfx-network-bit { color:var(--reading-surface); background:var(--reading-focus); }
.gfx-host-bit { color:var(--reading-ink); background:var(--reading-surface); }
.phase1b .vws-config-fields { margin-block:.55rem; }
.phase1b .vws-transport { margin-top:.6rem; }
.phase1b .vws-intro h1 { overflow-wrap:anywhere; }
.phase1b .vws-live { min-height:2.7rem; }

.gfx-viewport svg .vws-port-label { paint-order:stroke; stroke:var(--vws-map); stroke-width:3px; stroke-linejoin:round; }

.phase1b .vws-panel { animation:none; }
.phase1b .vws-goal p { margin:0; }

html body .phase1b .gfx-octets b.gfx-network-bit { color:var(--reading-surface) !important; }

.rendered-art{pointer-events:none}.rendered-interface{fill:#22c55e;stroke:#e2e8f0;stroke-width:1.2}.vws-viewport svg:has(.rendered-art) text{paint-order:stroke;stroke:var(--vws-map);stroke-width:4px;stroke-linejoin:round}.vws-viewport svg:has(.rendered-art) .vws-port-label{font-size:18px}.vws-viewport svg .rendered-device .vws-device-name{font-size:20px}

.gfx-network-context{display:flex;align-items:center;gap:.5rem}.gfx-network-context img{flex:none;object-fit:contain}
