/* ============================================================
   Asistente — FAB "?" + overlay de selección
   ============================================================ */

/* ── FAB: botón circular abajo al centro ─────────────────── */
.asistente-fab {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid var(--acento, var(--red));
  background: var(--bg-2);
  color: var(--acento, var(--red));
  cursor: pointer;
  z-index: 250;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1px rgba(var(--acento-rgb, 255,42,42), 0.18),
              0 8px 30px rgba(0,0,0,0.6),
              0 0 22px rgba(var(--acento-rgb, 255,42,42), 0.22);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.asistente-fab:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 0 0 1px rgba(var(--acento-rgb, 255,42,42), 0.35),
              0 12px 36px rgba(0,0,0,0.7),
              0 0 30px rgba(var(--acento-rgb, 255,42,42), 0.4);
}
.asistente-fab:active { transform: translateX(-50%) scale(0.95); }

.asistente-fab-core {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  position: relative;
  z-index: 2;
}

/* Ping anillo pulsante */
.asistente-fab-ping {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--acento, var(--red));
  opacity: 0;
  animation: asistente-ping 2.6s ease-out infinite;
}
@keyframes asistente-ping {
  0%   { transform: scale(1);   opacity: 0.5; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (max-width: 600px) {
  .asistente-fab { bottom: 18px; width: 52px; height: 52px; }
  .asistente-fab-core { font-size: 21px; }
}

/* ── Overlay de selección ────────────────────────────────── */
.asistente-overlay {
  position: fixed;
  inset: 0;
  z-index: 280;
  background: rgba(6, 6, 6, 0.92);
  backdrop-filter: blur(6px);
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.24s ease;
  padding: 70px 24px 40px;
}
.asistente-overlay.visible { opacity: 1; }

.asistente-sel-head {
  max-width: 720px;
  margin: 0 auto 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.asistente-sel-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--acento, var(--red));
}
.asistente-sel-sub {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--muted);
}

/* El layout interno reutiliza .seleccion-layout de entrada.css */
.asistente-sel .seleccion-layout {
  position: relative;
  inset: auto;
  padding: 14px 0 0;
  margin: 0 auto;
  max-width: 720px;
}
