/* Průvodce „Jak vybrat router“ (pages/guide-router.php) – rozvržení z guide-monitor.css (mg-*),
   tady rádce, ilustrace pokrytí (rg-*) a drobnosti navíc. */

.rg .mg-chip[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--mg-ink); }
.rg .mg-chip[aria-pressed="true"] small { color: #6a6f7d; }
.rg .mg-pick[hidden] { display: none; }

/* ---------- Výsledek rádce ---------- */
.rg-result .mg-figure { margin-bottom: 0.75rem; }
.rg-rec-label { margin: 0; font-size: 0.8125rem; font-weight: 600; color: rgba(255, 255, 255, 0.6); }
.rg-rec-title { margin: 0.1rem 0 0.35rem; font-size: 1.5rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; color: #fff; }
.rg-rec-lead { margin: 0 0 1rem; font-size: 0.9375rem; line-height: 1.5; color: rgba(255, 255, 255, 0.78); }
.rg-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-top: 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.rg-facts dt { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.6); }
.rg-facts dd { margin: 0; }
.rg-facts .mg-num { font-size: 1.0625rem; }
.rg-conn { margin: 1rem 0 0; padding: 0.7rem 0.9rem; border-radius: 12px; background: rgba(255, 255, 255, 0.06); font-size: 0.875rem; line-height: 1.5; color: rgba(255, 255, 255, 0.78); }

/* ---------- Ilustrace pokrytí (tmavé hero) ---------- */
.rg-svg { display: block; width: 100%; height: auto; }
.rg-sig-a { stop-color: #d9ccff; stop-opacity: 0.7; }
.rg-sig-b { stop-color: #a98bff; stop-opacity: 0.3; }
.rg-sig-c { stop-color: #a98bff; stop-opacity: 0; }
.rg-ring { fill: none; stroke: #e4dbff; stroke-opacity: 0.22; stroke-width: 1.2; }
.rg-floor { fill: rgba(8, 5, 20, 0.55); }
.rg-scene { border-radius: 12px; }
.rg-garden { fill: rgba(120, 200, 140, 0.12); }
.rg-wall { fill: none; stroke: rgba(255, 255, 255, 0.85); stroke-width: 4; stroke-linejoin: round; }
.rg-wall-in { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 2.5; stroke-linecap: round; }
.rg-slab { fill: none; stroke: rgba(255, 255, 255, 0.85); stroke-width: 4; }
.rg-roof { fill: rgba(255, 255, 255, 0.04); stroke: rgba(255, 255, 255, 0.85); stroke-width: 4; stroke-linejoin: round; }
.rg-stairs { fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.5; }
.rg-ground { fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 2; }
.rg-terrace { fill: none; stroke: rgba(255, 255, 255, 0.5); stroke-width: 3; stroke-linecap: round; }
.rg-tree rect { fill: rgba(255, 255, 255, 0.3); }
.rg-tree circle { fill: rgba(120, 200, 140, 0.28); }
.rg-room { font: 600 11px/1 Manrope, system-ui, sans-serif; fill: rgba(255, 255, 255, 0.6); text-anchor: middle; }
.rg-room--start { text-anchor: start; }
.rg-device { fill: #fff; stroke: #2a1670; stroke-width: 1.5; }
.rg-antenna { stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }
.rg-led { fill: #521cdf; }
.rg-link { stroke: #ffd38a; stroke-width: 1.5; stroke-dasharray: 4 4; }
.rg-tower path { fill: none; stroke: rgba(255, 255, 255, 0.8); stroke-width: 2; stroke-linecap: round; }
.rg-tower .rg-wave { stroke: #ffd38a; }
.rg-air { stroke: #ffd38a; stroke-width: 1.5; stroke-dasharray: 2 5; stroke-linecap: round; }

/* ---------- Obsah ---------- */
.rg-h3 { margin: 1.5rem 0 0.75rem; font-size: 1.125rem; font-weight: 700; color: var(--mg-ink); }
#podle-pouziti .rg-h3:first-of-type { margin-top: 0.25rem; }
.rg .mg-links .mg-cta--light { margin-top: 0.5rem; }
.rg .mg-aside-title:not(:first-child) { margin-top: 0.5rem; }
.rg .mg-scale { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rg .mg-scale li:nth-child(1) { border-color: #ece7fb; }
.rg .mg-scale li:nth-child(2) { border-color: #c9b8fb; }
.rg .mg-scale li:nth-child(3) { border-color: #8b66f0; }
.rg .mg-scale li:nth-child(4) { border-color: #521cdf; }

@media (max-width: 600px) {
    .rg-rec-title { font-size: 1.3125rem; }
    .rg-facts { grid-template-columns: 1fr; gap: 0.75rem; }
    .rg-room { font-size: 16px; }
    .rg .mg-scale { grid-template-columns: 1fr; }
    .rg [data-pick] .mg-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
