#topologyLab[data-tp-view=receive] .tp-description{font-size:17px;line-height:26px}
#topologyLab .tp-address-board{position:relative;padding:16px;display:grid;grid-template-rows:170px minmax(0,1fr);gap:30px;overflow:visible}
.tp-address-identity{position:relative;z-index:3;justify-self:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:320px;padding:9px 14px 18px;min-height:0;border:2px solid var(--purple);border-radius:16px;background:color-mix(in srgb,var(--purple) 14%,var(--panel));text-align:center}
#topologyLab .tp-address-identity h3{font:650 21px/26px 'Segoe UI',sans-serif;color:var(--section-ink);margin:0}
.tp-address-own{display:flex;gap:12px;align-items:center}.tp-address-own>span{font:600 16px/21px 'Segoe UI',sans-serif}
#topologyLab .tp-address-identity #tpAddressEndpoint{width:108px;min-width:108px;height:38px;min-height:38px;font:700 22px/26px Consolas,monospace;padding:3px 25px 3px 10px}
.tp-address-group-caption{font:500 14px/19px 'Segoe UI',sans-serif;color:var(--muted)}
.tp-address-membership{display:flex;gap:7px}
#topologyLab .tp-address-membership button{height:30px;min-height:30px;padding:3px 7px;min-width:36px;background:var(--control);color:var(--text);border:1px solid var(--control-border)}
.tp-address-group.group-1,.tp-address-membership .group-1{--address-group:#22a88a}.tp-address-group.group-2,.tp-address-membership .group-2{--address-group:#429bd1}.tp-address-group.group-3,.tp-address-membership .group-3{--address-group:#d49b36}
#topologyLab .tp-address-membership button.selected{background:color-mix(in srgb,var(--address-group) 25%,var(--panel))!important;border:2px solid var(--address-group)!important;color:var(--text)!important}
.tp-address-network{position:relative;display:grid;grid-template-columns:minmax(240px,1.2fr) minmax(80px,.65fr) minmax(180px,1fr);gap:12px;align-items:center;min-height:0;padding:34px 12px 12px;border:1px solid var(--frame-border);border-radius:10px;background:var(--bg)}
#topologyLab .tp-address-network>h3{position:absolute;top:7px;left:14px;margin:0;font:650 20px/24px 'Segoe UI',sans-serif;color:var(--section-ink)}
.tp-address-families{grid-column:1;display:grid;gap:8px;min-height:0}
.tp-address-family{position:relative;padding:7px 27px 7px 11px;border:1px solid var(--frame-border);border-left:4px solid var(--section-ink);border-radius:8px;background:var(--panel);display:flex;flex-direction:column;gap:3px}
.tp-address-family.broadcast{border-left-color:#d49b36}.tp-address-family.unicast{border-left-color:#429bd1}.tp-address-family.multicast{border-left-color:#22a88a}
.tp-address-family>small{font:500 14px/18px 'Segoe UI',sans-serif;color:var(--muted)}
.tp-address-family>strong{font:650 19px/24px 'Segoe UI',sans-serif}.tp-address-family>span{font:600 17px/22px Consolas,monospace}
.tp-address-family>i{position:absolute;right:9px;top:9px;font:700 19px/24px 'Segoe UI',sans-serif;color:var(--mint)}
.tp-address-members{display:flex;flex-wrap:wrap;gap:5px}
.tp-address-group{font:650 15px/19px Consolas,monospace;padding:1px 5px;border-radius:5px;color:var(--text);background:color-mix(in srgb,var(--address-group) 22%,var(--panel));border:1px solid var(--address-group)}
.tp-address-source{grid-column:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:150px;padding:12px 8px;border:1px solid var(--purple);border-radius:10px;background:var(--panel);text-align:center}
.tp-address-source span{font:600 17px/23px 'Segoe UI',sans-serif}.tp-address-source strong{font:700 34px/40px Consolas,monospace;color:var(--purple)}.tp-address-source>small{font:600 16px/22px 'Segoe UI',sans-serif}.tp-address-source>.tp-address-source-caption{font:500 14px/19px 'Segoe UI',sans-serif;color:var(--muted)}
.tp-address-phy{position:absolute;bottom:-16px;left:calc(50% - 14px);width:28px;height:30px;overflow:visible}.tp-address-phy path{fill:var(--panel);stroke:var(--section-ink);stroke-width:1.6}.tp-address-phy text{font:700 7.5px Consolas,monospace;fill:var(--text)}.tp-address-phy circle{fill:var(--section-ink)}
.tp-address-network-arrows{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;overflow:visible}.tp-address-route{fill:none;stroke:var(--section-ink);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.tp-address-packet{fill:var(--purple);stroke:var(--panel);stroke-width:1}.tp-address-packet[hidden]{display:none}.tp-address-packet.route-0{fill:#d49b36}.tp-address-packet.route-1{fill:#429bd1}.tp-address-packet.route-2{fill:#22a88a}
@media(max-height:800px){#topologyLab .tp-address-board{grid-template-rows:158px minmax(0,1fr);gap:27px;padding:12px}.tp-address-network{padding:30px 10px 9px}.tp-address-family{padding-block:5px}.tp-address-families{gap:6px}}

.tp-address-network{align-self:start}
.tp-address-source{gap:6px}
.tp-address-outgoing{width:100%;display:grid;gap:4px;margin-top:3px}
.tp-outgoing-heading{font:600 14px/20px 'Segoe UI',sans-serif;color:var(--muted);text-align:left}
.tp-outgoing-row{--out-kind:#d49b36;display:grid;grid-template-columns:14px 1fr auto;gap:6px;align-items:center;min-height:27px;padding:3px 5px;border:1px solid var(--frame-border);border-radius:5px;text-align:left}
.tp-outgoing-row[data-outgoing-kind="1"]{--out-kind:#429bd1}.tp-outgoing-row[data-outgoing-kind="2"]{--out-kind:#22a88a}
.tp-outgoing-row::before{content:'';width:12px;height:8px;border-radius:2px;background:var(--out-kind)}
#topologyLab .tp-address-source .tp-outgoing-row strong{font:650 14px/20px 'Segoe UI',sans-serif;color:var(--text)}
#topologyLab .tp-address-source .tp-outgoing-row span{font:600 14px/20px Consolas,monospace;color:var(--text)}
#topologyLab[data-tp-out-kind="0"] [data-outgoing-kind="0"],#topologyLab[data-tp-out-kind="1"] [data-outgoing-kind="1"],#topologyLab[data-tp-out-kind="2"] [data-outgoing-kind="2"]{background:color-mix(in srgb,var(--out-kind) 23%,var(--panel));border-color:var(--out-kind);box-shadow:inset 0 0 0 1px var(--out-kind)}
.tp-address-packet.route-out[data-kind="0"]{fill:#d49b36}.tp-address-packet.route-out[data-kind="1"]{fill:#429bd1}.tp-address-packet.route-out[data-kind="2"]{fill:#22a88a}
/* Centre the complete address diagram, keeping space below its Network heading. */
#topologyLab .tp-address-board{grid-template-rows:190px auto;align-content:center;gap:42px;padding:24px 20px}
#topologyLab .tp-address-network{padding:58px 16px 18px;align-self:auto}
#topologyLab .tp-address-network>h3{top:13px;left:17px;font-size:23px;line-height:28px}
#topologyLab .tp-address-identity{width:345px;gap:7px}
#topologyLab .tp-address-group-caption{font-size:16px;line-height:21px}
#topologyLab .tp-address-own>span{font-size:18px;line-height:23px}
#topologyLab .tp-address-families{gap:10px}
#topologyLab .tp-address-family{padding:10px 28px 10px 13px;gap:5px}
#topologyLab .tp-address-family>small{font-size:16px;line-height:21px}
#topologyLab .tp-address-family>strong{font-size:22px;line-height:27px}
#topologyLab .tp-address-family>span{font-size:19px;line-height:24px}
#topologyLab .tp-address-source{gap:9px;padding:16px 10px}
#topologyLab .tp-address-source>.tp-address-source-caption{font-size:16px;line-height:22px}
#topologyLab .tp-address-source>span{font-size:19px;line-height:25px}
#topologyLab .tp-address-source>.tp-address-outgoing .tp-outgoing-row strong,#topologyLab .tp-address-source>.tp-address-outgoing .tp-outgoing-row span{font-size:16px;line-height:22px}
#topologyLab .tp-outgoing-heading{font-size:16px;line-height:22px}
#topologyLab .tp-outgoing-row{min-height:32px}
@media(max-height:820px){#topologyLab .tp-address-board{grid-template-rows:162px auto;gap:29px;padding:14px 12px;align-content:center}#topologyLab .tp-address-network{padding:49px 12px 12px}#topologyLab .tp-address-network>h3{font-size:21px;top:10px}#topologyLab .tp-address-identity{width:330px;gap:5px}#topologyLab .tp-address-family{padding:6px 26px 6px 10px;gap:3px}#topologyLab .tp-address-families{gap:7px}#topologyLab .tp-address-family>small{font-size:15px;line-height:19px}#topologyLab .tp-address-family>strong{font-size:20px;line-height:24px}#topologyLab .tp-address-family>span{font-size:18px;line-height:22px}#topologyLab .tp-address-source{padding:10px 8px;gap:6px}#topologyLab .tp-address-source>.tp-address-source-caption{font-size:15px;line-height:20px}#topologyLab .tp-address-source>.tp-address-outgoing .tp-outgoing-row strong,#topologyLab .tp-address-source>.tp-address-outgoing .tp-outgoing-row span{font-size:14px;line-height:20px}#topologyLab .tp-outgoing-row{min-height:29px}}
