/* ip-192-168-2-1.css: the "which box answers" chain diagram (internet → main router → second box → phone).
   The static frame is the informative one; motion only pulses the active link (stopped by reduced motion). */

.chain-figure .toggle-chips { margin-bottom: 0.5rem; }
.chain { display: block; width: 100%; max-width: 30rem; height: auto; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; }
.chain-figure [data-toggle-panel] > p:last-child { margin-top: 0.75rem; }

.ch-cable { stroke: #9aa6b2; stroke-width: 3; fill: none; }
.ch-cloud { fill: #dfe6ee; }
.ch-box { fill: #18222e; }
.ch-box.is-active { fill: var(--wan); }
.ch-led { fill: #5fe0a0; }
.ch-name { font-size: 11.5px; font-weight: 700; fill: var(--ink); text-anchor: middle; }
.ch-small { font-size: 10.5px; fill: var(--muted); text-anchor: middle; }
.ch-ip { font-size: 11px; fill: var(--muted); text-anchor: middle; font-variant-numeric: tabular-nums; }
.ch-ip.strong { fill: var(--wan); font-weight: 700; }
.ch-phone { fill: #18222e; }
.ch-screen { fill: #f2f5f9; }
.ch-wave { fill: none; stroke: var(--wan); stroke-width: 2.5; stroke-linecap: round; animation: ch-pulse 1.8s ease-in-out infinite; }
.ch-wave.w2 { animation-delay: 0.3s; }
.ch-link { fill: none; stroke: var(--wan); stroke-width: 2.5; stroke-dasharray: 2 6; stroke-linecap: round; animation: ch-travel 1.4s linear infinite; }
.ch-tag { fill: #eef4fe; stroke: var(--wan); stroke-width: 1.5; }
.ch-tag-label { font-size: 10px; fill: var(--muted); }
.ch-tag-value { font-size: 13px; font-weight: 700; fill: var(--ink); font-variant-numeric: tabular-nums; }
.ch-pointer { stroke: var(--wan); stroke-width: 1.5; stroke-dasharray: 3 3; fill: none; }

@keyframes ch-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes ch-travel { to { stroke-dashoffset: 16; } }
