/* Astra Anywhere motion smoothing v1 */

#nodeBadge {
  width: 244px;
  max-width: 100%;
  min-height: 34px;
  overflow: hidden;
  contain: layout paint;
}

#nodeLabel {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.runtime-status {
  min-height: 54px;
  contain: layout paint;
}

.message.assistant.astra-response-revealing .bubble::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1em;
  margin-left: 3px;
  border-radius: 1px;
  background: currentColor;
  opacity: .45;
  vertical-align: -.12em;
  animation: astra-response-caret .9s steps(1, end) infinite;
}

@keyframes astra-response-caret {
  50% { opacity: .08; }
}

@media (max-width: 760px) {
  #nodeBadge {
    width: min(58vw, 244px);
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .message.assistant.astra-response-revealing .bubble::after {
    animation: none;
  }
}
