/* Lab 6: Wireless and the Help-Desk Round: the worksheets, the channel plan, Packet Tracer's windows and the tickets.
   Loads after /slides/slides.css, ../ccna-net.css and ../wlan.css. */

.sv-fig { justify-content: flex-start; gap: 14px; }
@media (min-width: 861px) { .sv-side .sv-body { grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr); } }

/* The sections' colours. */
[data-sec="intro"] { --sec: #334155; }
[data-sec="survey"] { --sec: #0f766e; }
[data-sec="build"] { --sec: #1d4ed8; }
[data-sec="desk"] { --sec: #be123c; }

svg text { font-family: system-ui, sans-serif; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
@media (max-width: 1100px) { .two { grid-template-columns: 1fr; } }
.two.own { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
@media (max-width: 1400px) { .two.own { grid-template-columns: 1fr; } }

/* A column of terminals. */
.col { display: flex; flex-direction: column; gap: 10px; }

/* Worksheets: the cells the student fills in. */
.wk .blank { display: block; min-width: 60px; height: 18px; border-bottom: 1.5px dashed #9ca3af; }
.wk td { padding-top: 4px; padding-bottom: 4px; }
.wk { font-size: 13.5px; }
.stt td, .ppt td, .plt td { font-size: 13px; }

/* The channel plan. */
.planfig { width: 100%; max-height: 280px; }
.planfig .pt { font-size: 13.5px; font-weight: 800; fill: var(--sv-ink); }
.planfig .pc circle { stroke-width: 1.5; fill-opacity: .16; }
.planfig .pcn { font: 800 18px var(--mono); fill: var(--sv-ink); }
.planfig .pcm { font-size: 12px; font-weight: 800; fill: #0a5a8a; }
.planfig .c1 circle { fill: #0f766e; stroke: #0f766e; } .planfig .c6 circle { fill: #1d4ed8; stroke: #1d4ed8; } .planfig .c11 circle { fill: #b45309; stroke: #b45309; }
.planfig .p5 circle { fill: #7c3aed; stroke: #7c3aed; }
.planfig .p5.c44 circle, .planfig .p5.c48 circle { fill: #be123c; stroke: #be123c; }
.planfig .p5.c149 circle, .planfig .p5.c157 circle { fill: #0369a1; stroke: #0369a1; }

/* Packet Tracer's windows, drawn. */
.ptws { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.ptw { background: #fff; border: 1px solid #94a3b8; border-radius: 6px; padding: 8px 12px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; flex: 1 1 300px; max-width: 460px; }
.pw-title { font-size: 13.5px; color: #0a3d62; }
.pw-row { display: grid; grid-template-columns: 112px 1fr; gap: 8px; align-items: center; }
.pw-l { color: var(--sv-ink2); }
.pw-v { display: flex; flex-wrap: wrap; gap: 2px 10px; }
.field { border: 1px solid #94a3b8; border-radius: 3px; padding: 1px 8px; background: #f8fafc; font-size: 12.5px; }
.radio { color: var(--sv-ink2); white-space: nowrap; }
.radio::before { content: '○ '; } .radio.on { color: var(--sv-ink); font-weight: 700; } .radio.on::before { content: '◉ '; color: var(--sv-accent); }

/* The ladder, with Packet Tracer's column. */
.ladder { display: flex; flex-direction: column; gap: 6px; }
.lhead, .rung { display: grid; grid-template-columns: 34px minmax(110px, .8fr) repeat(4, minmax(0, 1fr)); gap: 8px; align-items: center; }
.lhead span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--sv-ink2); }
.rung { background: #fff; border: 1px solid var(--sv-line); border-left: 6px solid var(--c); border-radius: 8px; padding: 8px 10px; }
.rung > b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c); color: #fff; }
.rung strong { color: var(--c); }
.rung code { font-size: 12px; background: #f3f4f6; border-radius: 4px; padding: 3px 6px; overflow-wrap: anywhere; }
.rung code.ptc { background: #e6f2fa; }
.r-link { --c: #475569; } .r-ip { --c: #0f766e; } .r-gw { --c: #1d4ed8; } .r-dns { --c: #be123c; }
@media (max-width: 860px) {
  .lhead { display: none; }
  .rung { grid-template-columns: 30px 1fr; }
  .rung code { grid-column: 2; }
}

/* The tickets and the comparison. */
.tk td { font-size: 13.5px; }
.ft td { text-align: center; }
.wr td:last-child { text-align: left; }
.sv-stack .sv-text { max-width: 76em; }
.sv-stack .sv-text > ul { columns: 2; column-gap: 28px; }
.sv-stack .sv-text > ul > li { break-inside: avoid; }
@media (max-width: 1100px) { .sv-stack .sv-text > ul { columns: 1; } }

@media (max-width: 860px) {
  .tbl { display: block; overflow-x: auto; max-width: 100%; }
}

/* A slide whose figure takes the full width: its words follow straight under it. */
.sv-stack .sv-body { align-content: start; }
