/* StepLab: inter-vlan-lab2 (lesson.css, kit 2.0.7) */
/* The lesson's own CSS, after the kit's (05-09): only what its drawing adds to the kit's parts, with the kit's colours.
   The VLANs take the kit's VLAN colours (kit 1.8.0: --vlan-1, -2, -3 for VLAN 10, 20, 30, as VLAN ステップラボ), always
   with the VLAN number or the SVI's name written on them or next to them (never colour alone). No addresses as numbers
   in the drawing but in SW1's routing table (the design guide's 0章). Parts copied from VLAN ステップラボ (the PCs'
   fill, the VLAN chips, the VLAN tag) and MAC・IPアドレス ステップラボ (the address shapes, the packet): no new kit
   version while other lessons are made at the same time (SKILL.md 4章). */

/* A PC (a laptop: 07): its port's VLAN as its screen's light fill. One that takes what comes to it: a thick blue
   outline on its lid; one that takes it and drops it (not for it): a grey screen (as VLAN ステップラボ: one shape, one
   meaning) */
.sl-root .term.v0 .pc-screen{fill:var(--surface);stroke:var(--line-strong)}
.sl-root .term.v1 .pc-screen{fill:var(--vlan-1-soft);stroke:var(--vlan-1);stroke-width:2}
.sl-root .term.v2 .pc-screen{fill:var(--vlan-2-soft);stroke:var(--vlan-2);stroke-width:2}
.sl-root .term.v3 .pc-screen{fill:var(--vlan-3-soft);stroke:var(--vlan-3);stroke-width:2}
.sl-root .term.take .pc-frame,.sl-root .term.take .pc-base{stroke:var(--accent);stroke-width:3.5}
/* (a PC's and an SVI's outline change softly: what it did with what came to it goes back with the packet) */
.sl-root .term rect,.sl-root .term path,.sl-root .bdg.svi rect{transition:fill .35s,stroke .35s,stroke-width .35s}
@media (prefers-reduced-motion:reduce){.sl-root .term rect,.sl-root .term path,.sl-root .bdg.svi rect{transition:none}}
.sl-root .term.drop .pc-screen{fill:var(--surface-2);stroke:var(--line-strong);stroke-width:1.5}
.sl-root .term.drop text{fill:var(--muted)}

/* A port's VLAN: a chip in the switch, over the port */
.sl-root .bdg.vb rect{fill:var(--surface-3);stroke:var(--line-strong);stroke-width:1}
.sl-root .bdg.vb text{fill:var(--ink-2);font-family:var(--font-ui);font-weight:700}
.sl-root .bdg.vb.v1 rect{fill:var(--vlan-1);stroke:none}
.sl-root .bdg.vb.v2 rect{fill:var(--vlan-2);stroke:none}
.sl-root .bdg.vb.v3 rect{fill:var(--vlan-3);stroke:none}
.sl-root .bdg.vb.v1 text,.sl-root .bdg.vb.v2 text,.sl-root .bdg.vb.v3 text{fill:var(--on-vlan)}

/* A VLAN inside a switch: a thin line in its colour, joining its ports (and the SVI, the trunk port) */
.sl-root .bus{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.sl-root .bus.v1{stroke:var(--vlan-1)}
.sl-root .bus.v2{stroke:var(--vlan-2)}
.sl-root .bus.v3{stroke:var(--vlan-3)}
/* a VLAN's way, held (the SVI's step, the PC-B case): its lines thicker */
.sl-root .bus.glow{stroke-width:6}
.sl-root .lk.way{stroke-width:5}
.sl-root .lk.way.wv1{stroke:var(--vlan-1)}
.sl-root .lk.way.wv2{stroke:var(--vlan-2)}
.sl-root .lk.way.wv3{stroke:var(--vlan-3)}
/* what the routing part does (its step in 第1章): a grey arrow from VLAN 10's side to VLAN 20's, through it */
.sl-root .rt-way{fill:none;stroke:var(--line-strong);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
.sl-root .rt-way-g.on .rt-way{stroke:var(--accent);stroke-width:3}   /* (第1章: routing on, D.rtWayOn) */
/* An SVI: SW1's interface in a VLAN, in the VLAN's colour, its name on it */
.sl-root .bdg.svi rect{fill:var(--surface);stroke-width:2.6}
.sl-root .bdg.svi text{font-family:var(--font-ui);font-weight:700}
.sl-root .bdg.svi.v1 rect{stroke:var(--vlan-1)}.sl-root .bdg.svi.v1 text{fill:var(--vlan-1)}
.sl-root .bdg.svi.v2 rect{stroke:var(--vlan-2)}.sl-root .bdg.svi.v2 text{fill:var(--vlan-2)}
.sl-root .bdg.svi.mark rect{stroke-width:4.5}
.sl-root .bdg.svi.chg rect{stroke:var(--try-ring);stroke-width:3.2}
/* the lab: an SVI that is there but down (no port of its VLAN is up: Cisco's autostate) */
.sl-root .bdg.svi.down{opacity:.4}
/* an SVI the lab's setup has not (D.sviGhost): its place, dashed and violet, its name grey */
.sl-root .bdg.svi.ghost rect{fill:none;stroke:var(--try-ring);stroke-width:2.2;stroke-dasharray:6 4}.sl-root .bdg.svi.ghost text{fill:var(--ink-3)}
/* (an SVI's 「IP」 tab: thinner than its box, which lies over its inner edge. Round 3) */
.sl-root .bdg.svi .ip-tab rect{stroke-width:1.8}
/* the routing part: blue while routing is enabled, plain while it is disabled; the lines to the SVIs too */
.sl-root .bdg.rtb rect{fill:var(--surface);stroke:var(--line-strong);stroke-width:1.6}
.sl-root .bdg.rtb text{font-family:var(--font-ui);font-weight:700;fill:var(--ink-3)}
.sl-root .bdg.rtb .rtb-s{font-weight:400}
.sl-root .bdg.rtb.on rect{fill:var(--accent-soft);stroke:var(--accent);stroke-width:2.6}
.sl-root .bdg.rtb rect,.sl-root .bdg.rtb text,.sl-root .rtl{transition:fill .35s,stroke .35s,stroke-width .35s}
@media (prefers-reduced-motion:reduce){.sl-root .bdg.rtb rect,.sl-root .bdg.rtb text,.sl-root .rtl{transition:none}}
.sl-root .bdg.rtb.on text{fill:var(--accent)}
.sl-root .bdg.rtb.chg rect{stroke:var(--try-ring);stroke-width:3.2}
.sl-root .rtl{stroke:var(--line-strong);stroke-width:2.5;stroke-linecap:round}
.sl-root .rtl.on{stroke:var(--accent);stroke-width:4}
/* what an SVI is for the PCs of its VLAN: ゲートウェイ (a chip over it, in the VLAN's colour) */
.sl-root .bdg.gwb rect{stroke:none}
.sl-root .bdg.gwb.v1 rect{fill:var(--vlan-1)}.sl-root .bdg.gwb.v2 rect{fill:var(--vlan-2)}
.sl-root .bdg.gwb text{fill:var(--on-vlan);font-family:var(--font-ui);font-weight:700}
/* a short flash on what matters now; a pop-in */
.sl-root .flash rect{animation:ivflash 1s ease-out}
@keyframes ivflash{0%{stroke-width:2}35%{stroke-width:6}100%{stroke-width:2.6}}
/* (a VLAN chip has no outline: its flash is a blue ring that comes and goes; the first-time learner's review, 2026-10-30:
   the chips' flash did not show) */
.sl-root .bdg.vb.flash rect{animation:ivchip 1s ease-out}
@keyframes ivchip{0%{stroke:var(--accent);stroke-width:0}35%{stroke:var(--accent);stroke-width:5}100%{stroke:var(--accent);stroke-width:0}}
.sl-root .dg-box .pop{animation:ivpop .45s ease-out}
@keyframes ivpop{0%{opacity:0;transform:scale(.6)}100%{opacity:1;transform:scale(1)}}
.sl-root .dg-box .pop{transform-box:fill-box;transform-origin:center}

/* a summary table's row: the part of the drawing it is about, framed in blue while the row is lit (D.holdTo) */
.sl-root .sum-hold{fill:none;stroke:var(--accent);stroke-width:3}
.sl-root .dg-narrow .sum-hold{stroke-width:2.4}

/* A trunk link carries many VLANs: a thicker line */
.sl-root .lk.trunk{stroke-width:5}

/* The packet: a square in the colour of its VLAN; white (grey outline) while SW1 has its layer 2 header off. Its VLAN
   tag on the trunk: a tab over it with the VLAN number */
.sl-root .pkt rect.psq{stroke:var(--surface);stroke-width:2}
.sl-root .pkt.v1 rect.psq{fill:var(--vlan-1)}
.sl-root .pkt.v2 rect.psq{fill:var(--vlan-2)}
.sl-root .pkt.v3 rect.psq{fill:var(--vlan-3)}
.sl-root .pkt.bare rect.psq{fill:var(--surface);stroke:var(--ink-3)}
.sl-root .dg rect.vtag.v1{fill:var(--vlan-1)}
.sl-root .dg rect.vtag.v2{fill:var(--vlan-2)}
.sl-root .dg rect.vtag.v3{fill:var(--vlan-3)}
.sl-root .dg .vtag-g text.vtag-t{fill:var(--on-vlan);font-family:var(--font-mono);font-weight:700}
/* where a packet is dropped: a big × (the kit's blocking colour, as ルータの基本動作 ステップラボ) */
.sl-root .xdrop circle{fill:var(--role-b);stroke:var(--surface);stroke-width:2.5}
.sl-root .xdrop path{stroke:var(--on-role);stroke-width:4;stroke-linecap:round}

/* The packet's addresses: a pointed shape from its sender to its receiver. MAC: the VLAN's colour; IP: grey. The one
   the packet carries now: a thicker outline; one not known yet: dashed */
.sl-root .tg path{stroke-width:2;stroke-linejoin:round}
.sl-root .tg text{font-weight:700;fill:var(--ink)}
.sl-root .tg-mac path{fill:var(--surface-2);stroke:var(--line-strong)}
.sl-root .tg-mac.v1 path{fill:var(--vlan-1-soft);stroke:var(--vlan-1)}
.sl-root .tg-mac.v2 path{fill:var(--vlan-2-soft);stroke:var(--vlan-2)}
.sl-root .tg-mac.v3 path{fill:var(--vlan-3-soft);stroke:var(--vlan-3)}
.sl-root .tg-ip path{fill:var(--surface-3);stroke:var(--ink-3)}
.sl-root .tg.now path{stroke-width:3.5}
.sl-root .tg.ask path{stroke-dasharray:7 5}
.sl-root .tg.ok path{animation:tagok .7s ease-out}
/* a MAC taken off (SW1 took the layer 2 header off; the UI review, 2026-11-02: a thinner outline alone was missed): grey */
.sl-root .tg-mac.gone path{fill:var(--surface);stroke:var(--line-strong);stroke-width:1.5}
.sl-root .dg .tg.gone text{fill:var(--muted);font-weight:400}
/* the IP the routing table is looked up by (from the look-up until the packet goes on): blue, as the table's row */
.sl-root .tg-ip.look path{stroke:var(--accent);stroke-width:3.5}
@keyframes tagok{0%{stroke-width:2}40%{stroke-width:6}100%{stroke-width:3.5}}
.sl-root .tag-head text{fill:var(--ink-2);font-weight:700}

/* SW1's routing table: the kit's card colours; the row it uses in blue. Values in the mono font */
.sl-root .hc-bg{fill:var(--surface);stroke:var(--line-strong);stroke-width:1.2}
.sl-root .hc-t{fill:var(--ink);font-weight:700}
.sl-root .dg .hc-k{fill:var(--ink-2)}
.sl-root .dg .hc-k.mono,.sl-root .dg .hc-v{fill:var(--ink);font-family:var(--font-mono);font-weight:700}
.sl-root .rt-row rect{fill:transparent}
.sl-root .rt-row.hl rect{fill:var(--accent)}
.sl-root .dg .rt-row.hl text{fill:var(--on-accent)}
/* (the row once used: light, under what the step shows now. The UI review, 2026-11-22, round 3) */
.sl-root .rt-row.hl.past rect{fill:var(--accent-soft);stroke:var(--accent);stroke-width:1.2}
.sl-root .dg .rt-row.hl.past text{fill:var(--accent)}
/* (the part of a network that changed, 20 → 21: violet, bold, underlined. Round 3) */
.sl-root .dg .rt-row .oct{fill:var(--try);font-weight:800;text-decoration:underline}
/* a row a change touched (第5章: Vlan20's address): violet, as the other changed parts */
.sl-root .rt-row.rchg rect{fill:var(--try-soft);stroke:var(--try-ring);stroke-width:2}
.sl-root .dg .hc-empty{fill:var(--muted)}
.sl-root .dg .hc-note rect{fill:var(--surface);stroke:var(--ink-3);stroke-width:1.6;stroke-dasharray:6 4}
.sl-root .dg .hc-note text{fill:var(--ink)}   /* (the reason itself: the text's colour, not a grey. The UI review, 2026-11-22, round 2) */
.sl-root .dg .hc-note.found rect{stroke:var(--accent);stroke-dasharray:none}

/* a quiz: what you can pick is outlined (dashed blue); a wrong pick, dashed grey */
.sl-root .term.pick,.sl-root .bdg.svi.pick{cursor:pointer}
.sl-root .term.pick .pc-frame,.sl-root .bdg.svi.pick rect{stroke:var(--accent);stroke-width:2.4;stroke-dasharray:7 5}
.sl-root .term.pick:hover .pc-frame,.sl-root .bdg.svi.pick:hover rect{stroke-dasharray:none;stroke-width:3}
.sl-root .term:focus,.sl-root .bdg.svi:focus{outline:none}
.sl-root .term:focus-visible .pc-frame,.sl-root .bdg.svi:focus-visible rect{stroke:var(--focus);stroke-width:3.5}
/* a quiz answered on the drawing: a wrong first try, grey (a solid line: dashed is "not known yet" in this drawing);
   the right answer, a ring in the kit's colour of a right answer */
.sl-root .term.mark-ng .pc-frame,.sl-root .bdg.svi.mark-ng rect{stroke:var(--ng);stroke-width:2.5;stroke-dasharray:none}
.sl-root .term.mark-ok .pc-frame,.sl-root .bdg.svi.mark-ok rect{stroke:var(--ok);stroke-width:4;stroke-dasharray:none}
/* the setups' small drawings (初期設定): the L3 switch blue, the PCs in their VLAN's colour */
.sl-root .thumb .th-l3{fill:var(--accent-soft);stroke:var(--accent);stroke-width:1.5}
.sl-root .thumb .th-trunk{fill:none;stroke:var(--ink-3);stroke-width:2.6}
.sl-root .thumb .th-pc.v1{fill:var(--vlan-1-soft);stroke:var(--vlan-1);stroke-width:1.3}
.sl-root .thumb .th-pc.v2{fill:var(--vlan-2-soft);stroke:var(--vlan-2);stroke-width:1.3}

/* the lab: a list of rows; a row that differs from the lesson's setup in violet; the result tables */
.sl-root .lab-rows{display:flex;flex-direction:column;gap:8px}
.sl-root .lab-row.changed .lab-label{color:var(--try-strong);font-weight:700}
.sl-root .lab-sub{margin:4px 0 -2px;font-size:12.5px;font-weight:700;color:var(--ink-3)}
.sl-root .res-tbl{width:100%;max-width:440px;border-collapse:collapse;font-size:13.5px}
.sl-root .res-tbl th,.sl-root .res-tbl td{padding:6px 10px;text-align:left;border-top:1px solid var(--line-2);vertical-align:top}
.sl-root .res-tbl thead th{border-top:0;font-size:12.5px;color:var(--ink-3)}
.sl-root .res-tbl tbody th{font-weight:700;color:var(--ink)}
.sl-root .res-tbl .res-sub{display:block;font-size:12px;font-weight:400;color:var(--ink-3)}
.sl-root .res-tbl .mono{font-family:var(--font-mono);font-weight:700}
.sl-root .res-tbl .vdot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:4px;background:var(--line-strong)}
.sl-root .res-tbl .vdot.v1{background:var(--vlan-1)}
.sl-root .res-tbl .vdot.v2{background:var(--vlan-2)}
.sl-root .res-tbl .vdot.v3{background:var(--vlan-3)}
/* (each value whole on its line: a routing table's row, an SVI, an address. A phone's table broke them into 5 lines:
   C13, 2026-11-22; the narrow table's columns closer) */
.sl-root .res-tbl .nobr{white-space:nowrap}
.sl-root .res-tbl .res-chg{color:var(--try);font-weight:700}
/* (an address and its mask may wrap between them: 「ip address 192.168.21.254 255.255.255.0」 ran out of the box in the
   1,200px panel. The kit keeps the setting with its value: 「address 192.168.21.254」 stays together. The UI review,
   2026-11-22, round 3) */
.sl-root .ios-c .ios-kv b{white-space:normal}
@container sl (max-width:640px){.sl-root .res-tbl th,.sl-root .res-tbl td{padding:5px 6px}.sl-root .res-tbl{font-size:13px}}

/* the legend's icons */
.sl-root .lg-take{display:inline-block;width:22px;height:14px;border-radius:4px;background:var(--surface-2);border:3px solid var(--accent)}
.sl-root .lg-chip-v{display:inline-flex;align-items:center;justify-content:center;min-width:46px;height:18px;padding:0 6px;border-radius:9px;background:var(--vlan-1);color:var(--on-vlan);font-size:11px;font-weight:700}
.sl-root .lg-gw{display:inline-flex;align-items:center;justify-content:center;height:18px;padding:0 6px;border-radius:5px;background:var(--vlan-1);color:var(--on-vlan);font-size:11px;font-weight:700}
.sl-root .lg-svi{display:inline-flex;align-items:center;justify-content:center;min-width:46px;height:18px;padding:0 5px;border-radius:5px;border:2px solid var(--vlan-1);color:var(--vlan-1);background:var(--surface);font-size:11px;font-weight:700}
.sl-root .lg-rtb{display:inline-flex;align-items:center;justify-content:center;height:18px;padding:0 6px;border-radius:5px;border:2px solid var(--accent);color:var(--accent);background:var(--accent-soft);font-size:11px;font-weight:700}
.sl-root .lg-bus{stroke:var(--vlan-1);stroke-width:3;stroke-linecap:round}
.sl-root .lg-pk{fill:var(--vlan-1)}
.sl-root .lg-bare{fill:var(--surface);stroke:var(--ink-3);stroke-width:1.5}
.sl-root .lg-tag{fill:var(--vlan-1)}
.sl-root .lg-mac path{fill:var(--vlan-1-soft);stroke:var(--vlan-1);stroke-width:1.5;stroke-linejoin:round}
.sl-root .lg-mac.ask path{stroke-dasharray:4 3}
.sl-root .lg-mac.gone path{fill:var(--surface);stroke:var(--line-strong)}
.sl-root .lg-mac.gone text{fill:var(--muted);font-weight:400}
.sl-root .lg-ip path{fill:var(--surface-3);stroke:var(--ink-3);stroke-width:1.5;stroke-linejoin:round}
.sl-root .lg-mac text,.sl-root .lg-ip text{fill:var(--ink);font-family:var(--font-ui);font-size:10.5px;font-weight:700}
.sl-root .lg-trunk{stroke:var(--link);stroke-width:5;stroke-linecap:round}
.sl-root .lg-x circle{fill:var(--role-b)}
.sl-root .lg-x path{stroke:var(--on-role);stroke-width:2.2;stroke-linecap:round}
.sl-root .lg-chg{display:inline-block;width:22px;height:14px;border-radius:4px;background:var(--try-soft);border:1.5px solid var(--try-ring)}
.sl-root .lg-frm{display:inline-block;width:24px;height:15px;border-radius:4px;border:2px solid var(--accent);background:var(--surface)}
@media (prefers-reduced-motion:reduce){.sl-root .flash rect,.sl-root .tg.ok path,.sl-root .dg-box .pop{animation:none}}
/* inter-vlan-lab2 (2026-11-22): the drawing in the StepLab site's ジオラマ (kit 2.0), as the model lessons (OSPF ネイバーと
   LSDB ステップラボ３, DR・BDR) and STP: parts outlined in ink (--edge), the switches thin boxes, their top lighter than
   their front, the L3 switch's top a router's blue (fields/network.md: L3スイッチ), the PCs laptops, the routing table a
   card with a hard shadow, the cables a warm grey. After 05: the PC's VLAN is its screen's colour. */
.sl-root .lk{stroke:var(--link);stroke-width:4}
.sl-root .lk.trunk{stroke-width:6}
.sl-root .nd .box{stroke:var(--edge);stroke-width:2;stroke-linejoin:round}
.sl-root .nd.sw .box.sw-front{fill:var(--dio-pc-side)}
.sl-root .nd.sw .box.sw-top{fill:var(--dio-pc)}
.sl-root .nd.sw.l3 .box.sw-top{fill:var(--dio-router-top)}
.sl-root .nd .nm,.sl-root .nd .st{fill:var(--ink)}
.sl-root .nd .st{font-weight:700}
/* a PC: a laptop; its screen in its port's VLAN's colour (05) */
.sl-root .term .pc-frame{fill:var(--dio-pc);stroke:var(--edge);stroke-width:2}
.sl-root .term .pc-screen{fill:var(--dio-screen);stroke:var(--edge);stroke-width:1.5}
.sl-root .term .pc-base{fill:var(--dio-pc-side);stroke:var(--edge);stroke-width:2;stroke-linejoin:round}
.sl-root .term text{fill:var(--ink)}
.sl-root .hc-lift{fill:var(--lift)}
.sl-root .hc-bg{fill:var(--node);stroke:var(--edge);stroke-width:2}
/* the legend's icons, as the drawing's parts */
.sl-root .lg-sw{display:inline-block;width:26px;height:15px;border:2px solid var(--edge);border-radius:3px 3px 2px 2px;background:repeating-linear-gradient(90deg,transparent 0 2.5px,var(--edge) 2.5px 5.5px) 0 8px/100% 2.5px no-repeat,linear-gradient(var(--dio-pc) 0 38%,var(--dio-pc-side) 38%)}
.sl-root .lg-l3{display:inline-block;width:26px;height:15px;border:2px solid var(--edge);border-radius:3px 3px 2px 2px;background:repeating-linear-gradient(90deg,transparent 0 2.5px,var(--edge) 2.5px 5.5px) 0 8px/100% 2.5px no-repeat,linear-gradient(var(--dio-router-top) 0 38%,var(--dio-pc-side) 38%)}
.sl-root .lg-host{display:inline-block;width:22px;height:15px;border-radius:3px;border:2px solid var(--edge);background:linear-gradient(var(--vlan-1-soft) 0 62%,var(--dio-pc-side) 62%)}
