#switchingLab .l2-loop-main,#switchingLab .stp-main{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-height:0}
#switchingLab .l2-scene{flex:1;min-height:0;position:relative}
#switchingLab .l2-scene>svg{width:100%;height:100%;display:block}
#switchingLab .l2-device-title{font:700 23px 'Segoe UI',sans-serif;fill:var(--text);text-anchor:middle}
#switchingLab .l2-mac-name{font:650 18px 'Segoe UI',sans-serif;fill:var(--section-ink)}
#switchingLab .l2-level{font:500 13px 'Segoe UI',sans-serif;fill:var(--muted)}
#switchingLab .l2-port-name{font:600 15px Consolas,monospace;fill:var(--section-ink)}
#switchingLab .l2-device-caption{font:500 14px Consolas,monospace;fill:var(--muted)}
#switchingLab .l2-device.is-active>.sn-switch-shell{stroke:var(--mint);fill:color-mix(in srgb,var(--mint) 13%,var(--bg))}
#switchingLab .l2-link-hit{stroke:transparent;stroke-width:25;fill:none;pointer-events:stroke}
#switchingLab .l2-link[role=button]{cursor:pointer}
#switchingLab .l2-link.is-cut .swc-link-edge{stroke:var(--muted);stroke-dasharray:9 10;opacity:.45}
#switchingLab .l2-link.is-cut .swc-link-core{opacity:0}
#switchingLab .l2-link.is-blocked .swc-link-edge{stroke:#dc9a2c;stroke-dasharray:10 7}
#switchingLab .l2-link.is-blocked .swc-link-core{stroke:var(--bg)}
#switchingLab .l2-link.is-active .swc-link-edge{stroke:#1fa88b}
#switchingLab .l2-cut-mark{font:750 30px Segoe UI,sans-serif;fill:#d34b49}
#switchingLab .l2-data-dot{fill:var(--sn-purple);stroke:var(--bg);stroke-width:1.4}
#switchingLab .l2-deliveries{font:600 18px Segoe UI,sans-serif;fill:var(--section-ink)}
#switchingLab .l2-graph-message{font:500 17px Segoe UI,sans-serif;fill:var(--muted);text-anchor:middle}
#switchingLab .l2-cams{display:flex;gap:15px;padding:0 15px 5px;flex:none}
#switchingLab .l2-cam{flex:1;min-width:0;padding:9px 13px;border:1px solid var(--frame-border);border-radius:6px;background:var(--panel)}
#switchingLab .l2-cam h3{font:650 17px/24px Segoe UI,sans-serif;margin:0 0 7px;color:var(--section-ink)}
#switchingLab .l2-cam table{width:100%;border-collapse:collapse;font:14px/22px Consolas,monospace}
#switchingLab .l2-cam th{text-align:left;color:var(--muted);font:500 13px/21px Segoe UI,sans-serif;padding:0 0 4px}
#switchingLab .l2-cam td{padding:5px 0;border-top:1px solid var(--line)}
#switchingLab .l2-cam .is-moved td{color:#b66a05;font-weight:650}
:root[data-theme=dark] #switchingLab .l2-cam .is-moved td{color:#ffc267}
#switchingLab .l2-cam s{color:var(--muted);font-weight:400}
#switchingLab .l2-cam-note{flex:none;margin:5px 15px 10px;font-size:14px;line-height:21px;color:var(--muted)}
#switchingLab .stp-main{padding:8px 10px}
#switchingLab .stp-role rect{stroke:var(--line);fill:var(--panel)}
#switchingLab .stp-role text{font:750 15px Segoe UI,sans-serif;fill:var(--text)}
#switchingLab .stp-role.is-root rect{fill:#148d75;stroke:#148d75}
#switchingLab .stp-role.is-root text{fill:white}
#switchingLab .stp-role.is-designated rect{fill:#2379b3;stroke:#2379b3}
#switchingLab .stp-role.is-designated text{fill:white}
#switchingLab .stp-role.is-blocked rect{fill:#c5861c;stroke:#c5861c}
#switchingLab .stp-role.is-blocked text{fill:white}
#switchingLab .stp-root-badge rect{fill:#148d75}
#switchingLab .stp-root-badge text{fill:white;font:650 15px Segoe UI,sans-serif}
#switchingLab .stp-root-cost{fill:var(--section-ink);font:600 16px Consolas,monospace}
#switchingLab .stp-cost{paint-order:stroke;stroke:var(--bg);stroke-width:5px;stroke-linejoin:round;fill:var(--section-ink);font:600 15px Segoe UI,sans-serif}
#switchingLab .stp-bpdu-token rect{fill:#b7700c;stroke:var(--bg);stroke-width:1}
#switchingLab .stp-bpdu-token text{font:650 12px Segoe UI,sans-serif;fill:white}
#switchingLab .stp-bpdu-token.is-data rect{fill:var(--sn-purple)}
#switchingLab .stp-parallel-choice{font:700 23px Segoe UI,sans-serif;fill:var(--section-ink)}
#switchingLab .stp-legend{display:flex;justify-content:center;gap:23px;flex:none;font:600 14px/25px Segoe UI,sans-serif;padding:3px 8px}
#switchingLab .stp-legend .is-root{color:#168a73}#switchingLab .stp-legend .is-designated{color:var(--section-ink)}#switchingLab .stp-legend .is-blocked{color:#b77717}
:root[data-theme=dark] #switchingLab .stp-legend .is-root{color:#66dcc1}:root[data-theme=dark] #switchingLab .stp-legend .is-blocked{color:#f4b858}
#switchingLab .stp-intro{display:grid;grid-template-columns:235px minmax(0,1fr) minmax(0,1fr);gap:18px;min-height:0;height:100%}
#switchingLab .stp-person,#switchingLab .stp-poem{padding:15px 17px;border:1px solid var(--frame-border);border-radius:8px;background:var(--panel);min-width:0;overflow:hidden}
#switchingLab .stp-person figure{margin:0 0 13px}#switchingLab .stp-person img{display:block;width:100%;height:190px;object-fit:contain}
#switchingLab .stp-person figcaption{font-size:11px;line-height:16px;margin-top:7px;color:var(--muted)}
#switchingLab .stp-person h2,#switchingLab .stp-poem h2{font:700 23px/30px Segoe UI,sans-serif;color:var(--section-ink);margin:0 0 5px}
#switchingLab .stp-person p{font:400 15px/23px Segoe UI,sans-serif;margin:12px 0 0}
#switchingLab .stp-poem h3{font:600 15px/23px Segoe UI,sans-serif;color:var(--muted);margin:0 0 17px}
#switchingLab .stp-poem-lines{font:400 16px/25px Segoe UI,sans-serif}
#switchingLab .stp-poem-lines>span{display:block}
#switchingLab .stp-poem-lines .couplet-end{margin-bottom:9px}
#switchingLab .stp-author{font:650 16px/24px Segoe UI,sans-serif;color:var(--section-ink);margin:18px 0 10px}
#switchingLab .stp-poem-credit{font:400 12px/18px Segoe UI,sans-serif;color:var(--muted);margin-top:16px}
#switchingLab .stp-poem>a{font-size:13px}
#switchingLab .stp-poem-principles button{display:block;width:100%;text-align:left;font:600 17px/24px Segoe UI,sans-serif;padding:14px;margin:13px 0}
#switchingLab .stp-bpdu-main{width:100%;display:flex;flex-direction:column;gap:16px;min-height:0;padding:15px 12px;box-sizing:border-box}
#switchingLab .stp-bpdu-peers{display:flex;align-items:center;justify-content:center;gap:24px;height:70px;flex:none}
#switchingLab .stp-bpdu-peers>span{padding:14px;border:1px solid var(--frame-border);border-radius:7px;font-size:17px;color:var(--section-ink)}
#switchingLab .stp-bpdu-line{height:5px;background:var(--sn-blue);width:190px;position:relative}
#switchingLab .stp-bpdu-line b{position:absolute;bottom:14px;width:100%;text-align:center;font-size:16px;color:var(--section-ink)}
#switchingLab .stp-bpdu-line i{position:absolute;width:22px;height:12px;top:-4px;background:#d79523;border:1px solid var(--bg)}
#switchingLab .stp-envelope{display:flex;gap:0;border:1px solid var(--frame-border);border-radius:5px;overflow:hidden;flex:none}
#switchingLab .stp-envelope>span{padding:9px 7px;text-align:center;border-right:1px solid var(--line);font:500 12px/20px Segoe UI,sans-serif;flex:1;background:var(--panel)}
#switchingLab .stp-envelope>span:first-child,#switchingLab .stp-envelope>span:nth-child(2){flex:2.3}
#switchingLab .stp-envelope .is-bpdu{background:color-mix(in srgb,#d79523 18%,var(--panel));color:var(--text)}
#switchingLab .stp-envelope b{white-space:nowrap;font:650 12px/20px Consolas,monospace}
#switchingLab .stp-bpdu-main h3{font:650 21px/29px Segoe UI,sans-serif;color:var(--section-ink);margin:8px 0 0}
#switchingLab .stp-field-grid,#switchingLab .stp-hex-grid{display:grid;gap:0;flex:none}
#switchingLab .stp-field-grid button{height:135px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:8px;padding:5px 2px;border-radius:0;font:600 15px/21px Segoe UI,sans-serif;border:1px solid var(--frame-border);background:var(--panel)}
#switchingLab .stp-field-grid small{font:400 12px/17px Consolas,monospace}
#switchingLab .stp-field-grid .is-narrow b{writing-mode:vertical-rl;transform:rotate(180deg);font-size:14px;white-space:nowrap}
#switchingLab .stp-field-grid span{font-size:13px}
#switchingLab .stp-hex-grid button{padding:7px 0;font:500 12px/20px Consolas,monospace;min-width:0;min-height:32px;border-radius:0;border:1px solid var(--line);background:var(--panel)}
#switchingLab .stp-field-grid button.selected,#switchingLab .stp-hex-grid button.selected{background:color-mix(in srgb,var(--section-ink) 22%,var(--bg));border-color:var(--section-ink);box-shadow:inset 0 -3px var(--section-ink);color:var(--text)}
#switchingLab .stp-value{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:10px 13px;border-left:4px solid #d79523;background:var(--panel);font-size:18px}
#switchingLab .stp-bpdu-main>p{font-size:15px;line-height:23px;margin:0}
#switchingLab .stp-link-local{font:500 14px/23px Consolas,monospace;color:var(--section-ink)}
#switchingLab .stp-capture{height:100%;min-height:0;width:100%;display:flex;flex-direction:column;padding:10px;box-sizing:border-box}
#switchingLab .stp-capture img{display:block;width:100%;height:calc(100% - 30px);object-fit:contain;min-height:0;background:white;border-radius:5px}
#switchingLab .stp-capture p{font-size:13px;line-height:20px;color:var(--muted);margin:8px 0 0}
.stp-history-note{max-width:none;display:grid;grid-template-columns:250px minmax(0,1fr);gap:30px}
.stp-history-note figure{margin:0}.stp-history-note img{width:100%;max-height:300px;object-fit:contain}.stp-history-note figcaption{font-size:12px;line-height:20px}
#miniNote:has(.stp-history-note){width:min(1150px,calc(100vw - 48px));max-width:1150px}
@media(max-height:830px){#switchingLab .stp-person img{height:145px}#switchingLab .stp-person p{font-size:14px;line-height:21px}#switchingLab .stp-poem-lines{font-size:15px;line-height:22px}#switchingLab .stp-poem-lines .couplet-end{margin-bottom:6px}#switchingLab .stp-poem h3{margin-bottom:10px}#switchingLab .stp-bpdu-main{gap:10px;padding-top:5px}#switchingLab .stp-field-grid button{height:115px}#switchingLab .stp-bpdu-peers{height:53px}}

#switchingLab .l2-device-caption,#switchingLab .stp-root-cost{text-anchor:end}
#switchingLab .stp-root-badge text{text-anchor:middle}

#switchingLab .l2-device-title{font-size:21px}
#switchingLab .stp-field-grid button{height:160px;min-height:160px}
#switchingLab .stp-field-grid .is-narrow b{font-size:13px;line-height:18px;min-height:0}

@media(max-height:830px){#switchingLab .stp-field-grid button{height:135px;min-height:135px}#switchingLab .stp-bpdu-main{gap:8px;padding:5px 10px}#switchingLab .stp-bpdu-peers{height:37px}#switchingLab .stp-bpdu-peers>span{padding:7px 12px}#switchingLab .stp-bpdu-main>p{font-size:13px;line-height:19px}}
#switchingLab .l2-one-token{fill:var(--sn-purple);stroke:var(--bg);stroke-width:2}
#switchingLab .l2-one-addresses{display:grid;gap:18px;margin:22px 0}
#switchingLab .l2-one-addresses label{display:flex;flex-direction:column;gap:5px;font:600 14px/22px 'Segoe UI';color:var(--section-ink)}
#switchingLab .l2-one-addresses code{font:500 14px/22px Consolas;white-space:nowrap;color:var(--text)}
#switchingLab .l2-one-cam{flex:none;min-height:110px}
#switchingLab .l2-one-cam.is-hidden{visibility:hidden}
#switchingLab .l2-one-learning .l2-cam{border-color:#dc9a2c;box-shadow:inset 4px 0 #dc9a2c}
#switchingLab .l2-one-flood-label{fill:var(--section-ink);font:650 20px 'Segoe UI';text-anchor:middle}
#switchingLab .l2-mac-name{font-size:16.5px}
#switchingLab .l2-load-link{fill:none;stroke:#e5484d;stroke-width:5;opacity:.8;pointer-events:none}
#switchingLab .l2-warning{pointer-events:none}
#switchingLab .l2-warning-triangle{fill:#cf263b;stroke:#fff;stroke-width:1.5}
#switchingLab .l2-warning-mark{fill:none;stroke:white;stroke-width:3.5;stroke-linecap:round}
#switchingLab .l2-load-label{fill:#bd2037;stroke:var(--bg);stroke-width:5px;paint-order:stroke;stroke-linejoin:round;font:650 18px 'Segoe UI';text-anchor:middle}
:root[data-theme=dark] #switchingLab .l2-load-label{fill:#ff818d}
#switchingLab .l2-load-mac{fill:#ee405433;stroke:#e5484d;stroke-width:3;pointer-events:none}
#switchingLab .l2-risk-copy{margin-top:18px;font:400 14px/20px 'Segoe UI'}
#switchingLab .l2-risk-copy>b{font-size:15px;color:var(--section-ink)}
#switchingLab .l2-risk-copy p{font:400 14px/20px 'Segoe UI';margin:8px 0}
#switchingLab[data-view=topology] .sn-main{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:10px;gap:8px}
#switchingLab[data-view=topology] .sn-main>svg{width:100%;flex:1;min-height:0;height:0}
#switchingLab[data-view=topology] .sn-scene-context{position:static;margin:0;font-size:15px;line-height:20px;text-align:center;flex:none}
#switchingLab[data-view=topology] .sn-cam-map{position:static;transform:none;width:auto;min-width:0;flex:none;margin:0;padding:8px 14px}
#switchingLab[data-view=topology] .sn-cam-map h3{margin:0 0 6px}
#switchingLab[data-view=topology] .sn-cam-map table{width:100%}
#switchingLab .l2-map-device{cursor:pointer}
#switchingLab .l2-map-device.is-selected .sn-switch-shell{stroke:var(--mint);stroke-width:4;fill:color-mix(in srgb,var(--mint) 8%,var(--bg))}
#switchingLab[data-view=loops] :is(.sn-motion-path,.l2-one-token,.l2-data-dot,.l2-load-label){pointer-events:none}
#switchingLab[data-view=topology] .l2-exercise-main{justify-content:center;padding:16px 10px;gap:24px}
#switchingLab .l2-exercise-columns{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;width:100%;align-items:start}
#switchingLab .l2-exercise-column{min-width:0;display:flex;flex-direction:column;gap:24px}
#switchingLab .l2-exercise-column>svg{width:100%;height:auto;display:block}
#switchingLab .l2-exercise-cam{background:var(--panel);border:1px solid var(--frame-border);border-top:3px solid var(--section-ink);border-radius:6px;padding:10px 6px}
#switchingLab .l2-exercise-cam h3{font:650 16px/23px 'Segoe UI';color:var(--section-ink);margin:0 0 12px;text-align:center}
#switchingLab .l2-exercise-cam table{width:100%;border-collapse:collapse;table-layout:auto}
#switchingLab .l2-exercise-cam th{font:600 13px/22px 'Segoe UI';color:var(--muted);text-align:left;padding:0 0 7px}
#switchingLab .l2-exercise-cam td{font:500 12px/26px Consolas;white-space:nowrap;border-top:1px solid var(--line)}
#switchingLab .l2-exercise-cam td:last-child{text-align:right;color:var(--section-ink)}
#switchingLab .l2-exercise-endpoints{width:100%;height:170px;flex:none}
#switchingLab .l2-exercise-endpoints>svg{width:100%;height:100%;display:block}
#switchingLab .l2-exercise-address{font:500 19px Consolas;fill:var(--section-ink);text-anchor:middle}
#switchingLab[data-view=topology] .sn-settings{flex-wrap:nowrap;gap:16px;font-size:14px}
#switchingLab[data-view=topology] .sn-settings>span{flex:1;line-height:21px}
#switchingLab[data-view=topology] .l2-reference-main{flex:1;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:14px;padding:12px;min-height:0}
#switchingLab .l2-reference-tables{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;flex:none}
#switchingLab .l2-reference-tables .l2-exercise-cam td{font:500 15px/25px 'Segoe UI';white-space:normal;vertical-align:top;padding:2px 0}
#switchingLab .l2-reference-tables .l2-exercise-cam td:first-child{width:28px;color:var(--section-ink)}
#switchingLab .l2-reference-tables .l2-exercise-cam td:last-child{text-align:left}
#switchingLab .cam-mac{display:inline-block;min-height:22px!important;height:22px!important;min-width:20px!important;padding:0 3px!important;margin:0 2px 0 0;border:0!important;border-radius:3px;font:650 15px/22px Consolas!important;background:transparent;color:var(--text)}
#switchingLab .cam-mac.is-selected{background:var(--mint);color:#092828}
#switchingLab .l2-reference-graph{flex:1;min-height:0}
#switchingLab .l2-reference-graph>svg{width:100%;height:100%;display:block}
#switchingLab .cam-ex-credit{font-size:11px;line-height:14px;color:var(--muted);text-align:right}
#switchingLab .cam-ex-port{cursor:crosshair}
#switchingLab .cam-ex-port circle{fill:var(--panel);stroke:var(--section-ink);stroke-width:2}
#switchingLab .cam-ex-port text{fill:var(--section-ink);font:650 16px Consolas;text-anchor:middle;pointer-events:none}
#switchingLab .cam-ex-port.is-pending circle{fill:#e7a52f;stroke:#e7a52f}
#switchingLab .cam-ex-port.is-pending text{fill:#17202a}
#switchingLab .cam-ex-link{fill:none;stroke:var(--section-ink);stroke-width:5;cursor:pointer;pointer-events:stroke}
#switchingLab .cam-ex-ep.is-selected{filter:drop-shadow(0 0 7px var(--mint))}
#switchingLab .l2-reference-tables .cam-mac{width:18px!important;min-width:18px!important;padding:0!important;margin:0!important}
#switchingLab .l2-reference-tables .l2-exercise-cam td:first-child{width:32px}
#switchingLab .l2-reference-tables tbody tr{height:30px}
#switchingLab .cam-ex-feedback{min-height:26px;flex:none;font:600 15px/26px 'Segoe UI';text-align:center}
#switchingLab .cam-ex-feedback.is-error{color:#dc5353}
#switchingLab .cam-ex-feedback.is-warning{color:var(--section-ink);background:color-mix(in srgb,#e7a52f 20%,var(--panel));border-radius:5px}
#switchingLab .cam-ep-title{font:650 23px 'Segoe UI';fill:var(--section-ink);text-anchor:middle}
#switchingLab .cam-ep-mac{font:650 18px 'Segoe UI';fill:var(--text);text-anchor:middle}
#switchingLab .cam-ep-data{font:550 17px 'Segoe UI';fill:var(--text);text-anchor:middle}
#switchingLab .cam-ex-cable{cursor:pointer}
#switchingLab .cam-ex-link-halo{fill:none;stroke:var(--panel);stroke-width:10;stroke-linejoin:round;pointer-events:stroke}
#switchingLab .cam-ex-cable .cam-ex-link{stroke:var(--cam-cable);stroke-width:4;stroke-linejoin:round}
#switchingLab .cam-ex-cable.is-cycle .cam-ex-link{stroke:#df9223}
#switchingLab .cam-ex-cable:hover .cam-ex-link{stroke-width:7}
