/* style-setup-overrides.css · v6.99.4 · Fix: Ocultación estricta de chat-input en Paso 0 */

body.setup-step-0 #panel-center {
  max-width: 720px;
  margin: 0 auto;
  border: none;
  background: transparent;
}
body.setup-step-0 .main-layout {
  justify-content: center;
  align-items: flex-start;
  padding-top: 40px;
}

/* ═══════════════════════════════════════════════════════════════
   Paso 0: Ocultar completamente la barra de chat inferior
   display: none !important para override incondicional
   ═══════════════════════════════════════════════════════════════ */
body.setup-step-0 .chat-input-area,
body.setup-step-0 #chat-input-container,
body.setup-step-0 .chat-input-actions,
body.setup-step-0 #chat-input,
body.setup-step-0 [class*="chat-input"] {
  display: none !important;
}

.setup-welcome-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--linea);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.welcome-confirm-btn {
  font-size: 14px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #0b0d11;
  border: none;
  font-weight: 700;
}
.welcome-confirm-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.setup-pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 12px 8px;
  margin-bottom: 12px;
  background: var(--surface2);
  border: 1px solid var(--linea2);
  border-radius: 8px;
}
.pipe-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 52px;
  opacity: 0.35;
  transition: all 0.35s ease;
}
.pipe-stage i { font-size: 22px; color: var(--tenue); transition: all 0.35s ease; }
.pipe-stage span { font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--tenue); letter-spacing: 0.03em; }
.pipe-stage.active { opacity: 1; }
.pipe-stage.active i { color: var(--cyan); transform: scale(1.25); filter: drop-shadow(0 0 6px rgba(125,207,255,0.5)); }
.pipe-stage.active span { color: var(--cyan); }
.pipe-stage.done { opacity: 1; }
.pipe-stage.done i { color: var(--ok); }
.pipe-stage.done span { color: var(--ok); }
.pipe-stage.scanning i { animation: pipe-pulse 1.4s ease-in-out infinite; }
@keyframes pipe-pulse {
  0%,100% { transform: scale(1.15); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.7; }
}
.pipe-connector {
  font-size: 13px;
  font-weight: 700;
  color: var(--tenue);
  font-family: ui-monospace, Consolas, monospace;
  padding: 0 2px;
  user-select: none;
}
.setup-log { font-family: ui-monospace, Consolas, monospace; color: var(--suave); }

/* TeLabS */
.chat-bubble.telabs-bubble,
.chat-bubble.unknown-bubble,
.chat-bubble[data-session="UNKNOWN-SERVER"] {
  border-color: var(--cyan);
}
.chat-bubble.telabs-bubble img,
.chat-bubble.unknown-bubble img,
.chat-bubble[data-session="UNKNOWN-SERVER"] img {
  width: 24px; height: 24px; border-radius: 4px; object-fit: contain;
}

/* USER */
.chat-bubble.user-bubble,
.chat-bubble[data-session="USER-LOCAL"] {
  border-color: var(--oro);
}

/* WebLLM pendiente / listo */
.chat-bubble.webllm-bubble,
.chat-bubble[data-session="WEBLLM-PENDING"],
.chat-bubble[data-session="WEBLLM-BROWSER-01"] {
  border-color: var(--purple);
}

.webllm-radio-label { transition: border-color 0.2s, background 0.2s; }
.webllm-radio-label.selected {
  border-color: var(--cyan) !important;
  background: rgba(125,207,255,0.08);
}
.webllm-radio-label input[type="radio"] { accent-color: var(--cyan); }