/* ══════════════════════════════════════════════════════════════════════
   El mapa de red de Sytex, recreado (10-nov). Lo usan /isps, /rollout y
   /network-map.

   Es la misma reconstrucción del post de Fiber Connect (KB 5177,
   ~/Marketing-2026/posts/fiber-connect-2026): la red dibujada sobre calles
   reales de Santiago (troncal, distribución, clusters por capa y las OLT),
   que va como UNA imagen (assets/photo/network-map.webp, fondo © Esri ·
   © OpenStreetMap), y encima, en HTML traducible, lo que tiene la pantalla
   del producto: la barra «Mapa de red» con Agregar · Medir · Capas ·
   Jerarquía de red, el buscador, el panel de capas con su conteo y la
   leyenda de tareas por estado. Los números son de ejemplo.

   El escenario mide 1080 de ancho y se escala con `zoom` (lo calcula el
   script de la página). Abajo de 700 px los paneles flotantes no se leerían,
   así que se esconden y la leyenda baja debajo del mapa, a tamaño normal.
   Siempre en oscuro: es el tema con el que se ve el mapa en el producto.
   ══════════════════════════════════════════════════════════════════════ */
.nmap{position:relative;width:100%;max-width:100%;min-width:0;overflow:hidden;font-family:Inter,system-ui,sans-serif}
.nm-st{width:1080px;transform-origin:0 0;border-radius:18px;overflow:hidden;background:#1c1d22;
  box-shadow:0 0 0 1px #2c2e36,0 40px 80px -36px rgba(0,0,0,.55)}
.nm-bar{height:60px;display:flex;align-items:center;gap:24px;padding:0 22px;border-bottom:1px solid #2e2f34;color:#e8e9ec}
.nm-bar .t{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:600}
.nm-bar svg{width:20px;height:20px;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.nm-bar .t svg{width:22px;height:22px;stroke:#7c86ff}
.nm-bar .sp{flex:1}
.nm-bar .a{display:flex;align-items:center;gap:8px;font-size:14.5px;font-weight:500;color:#d6d8dd}
.nm-bar .a svg{stroke:#d6d8dd}
.nm-map{position:relative;width:1080px;height:790px;background:#2a2b30}
.nm-lay{position:absolute;left:0;top:0;width:1080px;height:790px}
.nm-lay>img{position:absolute;inset:0;width:1080px;height:790px;display:block}
.nm-fl{position:absolute;background:#202125;border:1px solid #3a3b41;border-radius:12px;color:#e8e9ec;box-shadow:0 10px 28px rgba(0,0,0,.45)}
.nm-busca{left:22px;top:22px;height:44px;padding:0 18px 0 14px;display:flex;align-items:center;gap:10px;font-size:15px;color:#b9bcc4}
.nm-busca svg{width:17px;height:17px;stroke:#b9bcc4;fill:none;stroke-width:1.8}
.nm-capas{right:18px;top:18px;width:282px;padding:16px 0 8px}
.nm-capas h4{margin:0;padding:0 18px 10px;font-size:18px;font-weight:600;letter-spacing:0;color:#e8e9ec}
.nm-cp{display:flex;align-items:center;gap:12px;padding:8px 18px;font-size:15px}
.nm-cp .ey{width:18px;height:18px;stroke:#9a9da6;fill:none;stroke-width:1.6;flex:none}
.nm-cp i{flex:none;width:11px;height:11px;border-radius:50%}
.nm-cp i.ln{width:18px;height:4px;border-radius:2px}
.nm-cp i.sq{border-radius:3px;background:#e5484d}
.nm-cp i.mx{width:18px;height:8px;border-radius:4px;background:linear-gradient(90deg,#9aa3ad,#2f80ed,#2e9e4f,#f5a623)}
.nm-cp b{font-weight:500;flex:1}
.nm-cp em{font-style:normal;color:#9a9da6;font-variant-numeric:tabular-nums}
.nm-cp.on{background:rgba(124,134,255,.12)}
.nm-ley{left:18px;bottom:18px;width:262px;padding:14px 16px 10px}
.nm-ley h5{margin:0 0 10px;font-size:16px;font-weight:600;color:#e8e9ec}
.nm-ley .gb{height:6px;border-radius:4px;background:linear-gradient(90deg,rgba(124,134,255,.25),#7c86ff)}
.nm-ley .mm{display:flex;justify-content:space-between;font-size:12px;color:#9a9da6;margin:5px 0 8px}
.nm-lr{display:flex;align-items:center;gap:10px;padding:4px 0;font-size:14.5px}
.nm-lr i{width:11px;height:11px;border-radius:50%}
.nm-lr em{margin-left:auto;font-style:normal;color:#9a9da6;font-variant-numeric:tabular-nums}
.nm-zoom{right:18px;bottom:18px;display:flex;flex-direction:column;border-radius:10px}
.nm-zoom b{width:40px;height:40px;display:grid;place-items:center;font-size:22px;font-weight:400;color:#d6d8dd}
.nm-zoom b+b{border-top:1px solid #3a3b41}
.nm-attr{position:absolute;right:70px;bottom:6px;font-size:10.5px;color:#8b8e96}
/* una tarea que se está cerrando: el punto late sobre un cluster */
.nm-live{position:absolute;width:22px;height:22px;margin:-11px 0 0 -11px;border-radius:50%;border:3px solid #fff;background:#2f80ed;
  box-shadow:0 0 0 0 rgba(47,128,237,.6);animation:nmlive 2.4s ease-out infinite}
@keyframes nmlive{0%{box-shadow:0 0 0 0 rgba(47,128,237,.55)}70%{box-shadow:0 0 0 22px rgba(47,128,237,0)}100%{box-shadow:0 0 0 0 rgba(47,128,237,0)}}
.nm-tip{position:absolute;padding:8px 12px;border-radius:10px;background:#fff;color:#253031;font-size:14px;font-weight:600;white-space:nowrap;
  box-shadow:0 6px 18px rgba(0,0,0,.4);transform:translate(-50%,0)}
.nm-tip small{display:block;font-size:12px;font-weight:500;color:#5a7077}
@media (prefers-reduced-motion:reduce){.nm-live{animation:none}}
/* la leyenda de abajo, sólo en el teléfono */
.nm-legm{display:none}
@media (max-width:700px){
  .nm-st{width:640px}.nm-map{width:640px;height:560px}
  .nm-lay{left:-40px;top:-60px}
  .nm-bar .a,.nm-capas,.nm-ley,.nm-busca,.nm-attr{display:none}
  .nm-legm{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:12px;font-size:13px;color:var(--sx-text,#3d4f54)}
  .nm-legm span{display:inline-flex;align-items:center;gap:6px}
  .nm-legm i{width:10px;height:10px;border-radius:50%}
  .nm-legm i.ln{width:16px;height:4px;border-radius:2px}
  .nm-legm i.sq{border-radius:3px}
}
/* la sección que lleva el mapa en una landing */
.nm-sec{min-height:auto}
.nm-sec>.wrap{width:100%;min-width:0;box-sizing:border-box}
.nm-sec .nmap{margin-top:clamp(2rem,5vh,3rem)}
.nm-pts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1rem,3vw,2.4rem);margin-top:clamp(1.8rem,4vh,2.6rem)}
.nm-pts h3{margin:0 0 .4rem;font-size:clamp(1.15rem,1.6vw,1.35rem);letter-spacing:-.02em}
.nm-pts p{margin:0;font-size:1rem;line-height:1.55;color:var(--sx-text,#3d4f54)}
@media (max-width:860px){.nm-pts{grid-template-columns:minmax(0,1fr)}}
