/* One persistent launcher; the existing chat field is the only text destination. */
.hf-launcher {
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 6px 12px;
  background: var(--bg-card, #111827);
  color: var(--text-primary, #f1f5f9);
  border-bottom: 1px solid var(--border-subtle, #64748b);
  font: 600 12px/1.3 system-ui, sans-serif;
}
.hf-launcher .hf-dot { color: #22c55e; }
.hf-launcher[data-state="active"] .hf-dot { color: #fbbf24; }
.hf-launcher[data-state="error"] .hf-dot { color: #f87171; }
.hf-launcher button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
}
.hf-launcher button:hover,
.hf-launcher button[aria-pressed="true"] { border-color: currentColor; background: #80808020; }
.hf-launcher button:focus-visible { outline: 2px solid #00a9cc; outline-offset: 2px; }
.hf-launcher button:disabled { opacity: .5; cursor: not-allowed; }
.hf-launcher #hfStatus { font-size: 11px; font-weight: 400; max-width: 32em; }
.hf-launcher [hidden] { display: none !important; }
@media (max-width: 540px) {
  .hf-launcher { gap: 2px; padding: 4px 6px; }
  .hf-launcher button { padding: 6px; font-size: 11px; }
  .hf-launcher #hfStatus { flex-basis: 100%; text-align: center; }
}