#graphcolumn {
  min-width: 30em !important;
}

#status {
  flex: 1 1 auto;
  padding: 0.2em 0.5em;
  min-height: 1.4em;
  white-space: nowrap;
  overflow: auto;

}
#status.error, #status .error {
  background-color: var(--wfadaptor-selected);
}
#status.success, #status .success {
  background-color: var(--wfadaptor-exec-vote);
}
#status.loading {
  background-color: #99c1f1;
}

#status.loading::after, #status .loading::after {
  display: inline-block;
  animation: dotty steps(1,end) 1s infinite;
  content: '';
}
@keyframes dotty {
  0%   { content: 'ₒₒₒ'; }
  16%  { content: 'ₒₒ∘'; }
  32%  { content: 'ₒ∘ᵒ'; }
  48%  { content: '∘ᵒ∘'; }
  64%  { content: 'ᵒ∘ₒ'; }
  80%  { content: '∘ₒₒ'; }
  100% { content: 'ₒₒₒ'; }
}

.chat.bubble {
  max-width: 75%;
  width: fit-content;
  margin: 0.3em 0;
  padding: 0.4em 0.7em;
  border-radius: 1em;
  overflow-wrap: break-word;
  white-space: pre-wrap;
  user-select: text;
}
.chat.bubble.input:first-child {
  margin-top: 1.5em;
}
.chat.bubble.input {
  margin-left: auto;
  background-color: var(--x-ui-speech-me-back);
  color: var(--x-ui-speech-me-front);
}
.chat.bubble.response {
  margin-right: auto;
  background-color: var(--x-ui-speech-you-back);
  color: var(--x-ui-speech-you-front);
}

#prompt_container {
  background-color: var(--x-ui-tab-inactive-color);
  outline: none;
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  flex: 0 0 auto;
  height: 7.3em;
}

#areachat {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#prompt {
  flex: 1 1 auto;
  padding: 0.2em 0.5em;
  overflow: auto;
  outline: none;
}
#prompt_submit_container {
  padding: 0em 0.5em;
  flex: 0 0 auto;
  align-self: stretch;
}
#prompt:empty:before {
  font-family: adwaita-sans;
  white-space: normal;
  content: attr(placeholder);
  display: block;
}

.single {
  width: 2.3em;
  height: 2.3em;
}

.llm_button {
  width: 100%;
  min-width: 2.5em;

  display: flex;
  justify-content: center; /* Horizontal zentrieren */
  align-items: center;     /* Vertikal zentrieren */

  /* Wichtig bei Symbolen und Icons */
  line-height: 0.9;       /* Verhindert Störungen durch Standard-Zeilenabstände */

  height: 2em;
}
.llm_button.small:nth-child(n+2) {
  margin-top: 0.5em;
}

.llm_button:hover {
  background-color: var(--wfadaptor-selected);
}
