/* Static Routes: the lesson's own figures.
   Loads after /slides/slides.css, ../ccna-net.css, ../sites.css, ../company.css and rt.css. */

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

/* The sections' colours. */
[data-sec="intro"] { --sec: #334155; }
[data-sec="cmd"] { --sec: #0a5a8a; }
[data-sec="kinds"] { --sec: #7c3aed; }
[data-sec="float"] { --sec: #b45309; }
[data-sec="v6"] { --sec: #0f766e; }
[data-sec="trouble"] { --sec: #be123c; }
[data-sec="lab"] { --sec: #1d8102; }

/* A table before and after one command. */
.ba { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }

/* The recursive lookup: two lookups in one table. */
.rec { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.rec-step { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.rec-step.out { font-weight: 600; }
.badge { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--sv-accent); color: #fff; font-weight: 800; font-size: 13px; flex: none; }
.tbl.rt tr.match td { color: #475569; }

/* Two terminals side by side. */
.two-terms { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 860px) { .two-terms { grid-template-columns: 1fr; } }

/* The summary's bits. */
.bits { font: 13px var(--mono); }
.bits .same { background: #e6f2fa; color: #0a5a8a; font-weight: 700; }
.bits .diff { background: #fff4d6; color: #92400e; font-weight: 700; }
.bits .any { color: #92400e; font-weight: 700; }

/* The link-local drawing: R1 and its three interfaces. */
.llfig { width: 100%; max-width: 560px; max-height: 300px; }
.llfig .d-rt { fill: #0a5a8a; }
.llfig .ll-r { font: 700 15px system-ui, sans-serif; fill: #fff; }
.llfig .ll-lk { fill: none; stroke: #8a96a3; stroke-width: 2.5; }
.llfig .ll-p { font: 700 13px system-ui, sans-serif; fill: var(--sv-ink); }
.llfig .ll-a { font: 600 13px var(--mono); fill: #0f766e; }
.llfig .ll-r2 { font: 13px var(--mono); fill: #1d8102; font-weight: 700; }
.llfig .ll-q { font: 12.5px system-ui, sans-serif; fill: var(--sv-ink2); }

.fm code, .ftt, .vf, .fx, .lnt, .hr { font-size: 13px; }
.fm td, .ftt td, .ftt th, .lnt td { white-space: normal; }
.ftt th:first-child { white-space: normal; }
.adt td { text-align: center; }

.sv-fig { align-items: flex-start; }
.sv-fig .net.nw { max-height: 380px; }
.llfig { max-height: 250px; }
.net.nw .flow.f2 .fl { stroke: #1d8102; }
.net.nw .flow.f2 .fa { fill: #1d8102; }
[data-id="intro"] .sv-fig .net.nw, [data-id="lab-net"] .sv-fig .net.nw { max-height: 480px; }
