/* Réplica: pastilla del cerebro dentro de la caja de texto, discreta como en otras IA. */
#caja .cerebro-pill {
  margin: 0 2px 0 0;
  max-width: 180px;
  height: 34px;
  padding: 0 4px 0 10px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
#caja .cerebro-pill:hover,
#caja .cerebro-pill.abierta {
  background: var(--hover);
  border-color: var(--borde);
  color: var(--panel-texto);
}
#caja .cerebro-pill select {
  font-size: 12.5px;
  font-weight: 550;
}
.pill-menu.rm-hacia-arriba {
  animation-name: rm-pill-menu-sube;
}
@keyframes rm-pill-menu-sube {
  from { opacity: 0; transform: translateY(4px); }
}

@media (max-width: 820px) {
  #caja .cerebro-pill {
    max-width: 128px;
  }
}
