/* Panel de cliente (genVPS): se suma a base/estilo.css, que comparte con el panel de administración */
.cliente-nombre { font-family: var(--titulo); font-weight: 700; font-size: 18px; line-height: 1.2; }
.ayuda-login { color: var(--apagado); font-size: 13px; margin: 22px 0 0; }
.ayuda-login a { color: var(--texto); }
.ayuda-login a:hover { color: var(--naranja); }

/* Estado principal */
.hero { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  padding: 26px 24px; border: 1px solid var(--linea); border-left: 4px solid var(--ok);
  background: radial-gradient(ellipse at 0% 50%, rgba(87,199,138,.12) 0, rgba(87,199,138,0) 60%), var(--tarjeta); }
.hero.mal { border-left-color: var(--bad);
  background: radial-gradient(ellipse at 0% 50%, rgba(255,90,106,.14) 0, rgba(255,90,106,0) 60%), var(--tarjeta); }
.hero-estado { display: flex; gap: 18px; align-items: flex-start; flex: 1 1 380px; min-width: 0; }
.hero h1 { margin: 0 0 6px; font-family: var(--titulo); font-weight: 700; font-size: clamp(24px, 4vw, 34px); line-height: 1.1; }
.hero p { margin: 0 0 6px; color: var(--suave); overflow-wrap: anywhere; }
.hero p a { color: var(--texto); }
.hero-cifra { text-align: right; }
.hero-num { font-family: var(--titulo); font-weight: 700; font-size: clamp(44px, 7vw, 64px); line-height: 1; }
.hero-cifra .k { font-size: 13px; margin-top: 6px; }
@media (max-width: 560px) { .hero-cifra { text-align: left; } }

/* Punto que late: "en línea" */
.pulso { flex: none; width: 16px; height: 16px; margin-top: 10px; border-radius: 50%; background: var(--ok); position: relative; }
.pulso::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ok); animation: latido 2s ease-out infinite; }
.pulso.mal, .pulso.mal::after { background: var(--bad); }
@keyframes latido { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pulso::after { animation: none; } }


.grid.dos { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.grid.tres { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (max-width: 420px) { .grid.dos, .grid.tres { grid-template-columns: 1fr; } }
.card h4 { margin: 0 0 8px; font-family: var(--titulo); font-weight: 700; font-size: 16px; }
.card .v.chico { font-size: 17px; }
.bloque { margin-top: 12px; }
.bloque .hist-cab h4, .bloque > h4 { font-family: var(--titulo); font-weight: 500; font-size: 12px; letter-spacing: .25em;
  text-transform: uppercase; color: var(--naranja); }
.bloque > h4 { margin: 0 0 10px; }

.chip { color: var(--suave); background: var(--tarjeta-2); }

/* Actividad: cifras y barras por día */
.act-cifras { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 12px 0 14px; }
.cols { display: flex; align-items: flex-end; gap: 4px; height: 110px; padding-bottom: 18px; position: relative; }
.col { flex: 1 1 0; max-width: 24px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; outline: none; }
.col i { display: block; background: var(--texto); opacity: .7; border-radius: 4px 4px 0 0; min-height: 2px; }
.col:hover i, .col:focus i { opacity: 1; background: var(--naranja); }
.col span { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--apagado); }

.ley-linea { width: 14px; height: 2px; background: var(--texto); display: inline-block; }
.chart-ley { gap: 6px 8px; flex-wrap: wrap; }
.chart-ley .ley-caida { margin-left: 10px; }

/* Pie con contacto */
.pie-cliente { border-top: 1px solid var(--linea); margin-top: 40px;
  background: radial-gradient(ellipse at 50% 140%, rgba(240,83,45,.25) 0, rgba(240,83,45,0) 60%), var(--fondo); }
.pie-cliente .in { max-width: 1200px; margin: 0 auto; padding: 28px 16px 36px; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 16px; }
.pie-titulo { font-family: var(--titulo); font-weight: 700; font-size: 20px; }
.btn.wa { display: inline-flex; align-items: center; gap: 10px; }
