/* Keep the right edge anchored while the launcher expands to the left. */
#tbAiAssistant .tb-ai__launcher {
  gap: 0;
  min-height: 58px;
  padding: 7px;
  overflow: hidden;
  transition: padding .32s ease, gap .32s ease, box-shadow .32s ease;
}
#tbAiAssistant .tb-ai__launcher:hover { transform: none; }
#tbAiAssistant .tb-ai__launcher-label {
  display: block;
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  transition: max-width .32s ease, opacity .22s ease;
}
#tbAiAssistant .tb-ai__launcher:focus-visible {
  gap: 11px;
  padding: 7px 20px 7px 8px;
}
#tbAiAssistant .tb-ai__launcher:focus-visible .tb-ai__launcher-label {
  max-width: 180px;
  opacity: 1;
}
@media (hover: hover) and (pointer: fine) {
  #tbAiAssistant .tb-ai__launcher:hover {
    gap: 11px;
    padding: 7px 20px 7px 8px;
  }
  #tbAiAssistant .tb-ai__launcher:hover .tb-ai__launcher-label {
    max-width: 180px;
    opacity: 1;
  }
}
@media (max-width: 600px) {
  #tbAiAssistant .tb-ai__launcher { min-height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  #tbAiAssistant .tb-ai__launcher,
  #tbAiAssistant .tb-ai__launcher-label { transition: none; }
}
