/* Lab 5: Dual-Stack, then Repair: the lab's own figures.
   Loads after /slides/slides.css, ../ccna-net.css and ../sites.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="plan"] { --sec: #0f766e; }
[data-sec="config"] { --sec: #1d4ed8; }
[data-sec="faults"] { --sec: #be123c; }

mark { background: #fff1b8; color: inherit; border-radius: 3px; padding: 0 1px; }
.term mark { background: #4a3f12; color: #ffe08a; }

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

/* The /48 as a bar. */
:root { --site: #4338ca; --sub: #b45309; --iid: #0f766e; }
.bitbar { width: 100%; max-width: 860px; }
.bb { stroke-width: 1.5; }
.bb.site { fill: color-mix(in srgb, var(--site) 12%, #fff); stroke: var(--site); }
.bb.sub { fill: color-mix(in srgb, var(--sub) 14%, #fff); stroke: var(--sub); }
.bb.iid { fill: color-mix(in srgb, var(--iid) 12%, #fff); stroke: var(--iid); }
.bbv { font: 700 15px var(--mono); fill: var(--sv-ink); }
.bbl { font: 700 13px system-ui, sans-serif; }
.bbl.site { fill: var(--site); } .bbl.sub { fill: var(--sub); } .bbl.iid { fill: var(--iid); }

/* Packet Tracer's IP Configuration, drawn. */
.ptwin { background: #fff; border: 1px solid #94a3b8; border-radius: 6px; padding: 10px 14px; display: flex; flex-direction: column; gap: 8px; max-width: 560px; font-size: 13.5px; }
.pw-title { font-size: 14px; color: #0a3d62; }
.pw-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pw-k { min-width: 130px; }
.field { border: 1px solid #94a3b8; border-radius: 3px; padding: 2px 8px; min-width: 110px; background: #f8fafc; font: 13px var(--mono); }
.radio::before { content: '○ '; } .radio.on::before { content: '◉ '; color: var(--sv-accent); }

/* The fault table. */
.ft td { text-align: center; }
.ft tr:last-child th, .ft tr:last-child td { font-size: 12.5px; border-top: 2px solid var(--sv-line); }

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