.landai-chat-shell,
.landai-hypothesis-panel {
  min-height: 100%;
}

.landai-chat-thread {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 28rem;
  overflow-y: auto;
}

.landai-chat-thread .message {
  margin-bottom: 0;
}

.landai-chat-user {
  align-self: flex-end;
}

.landai-chat-assistant {
  align-self: stretch;
}

/* Hypothesis panel styles */
.landai-hypothesis-panel {
  position: relative;
  transition: box-shadow 0.3s ease;
}

.landai-hypothesis-panel.landai-updated {
  box-shadow: 0 0 0 2px #48c78e;
  animation: landai-pulse 2s ease-out;
}

@keyframes landai-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(72, 199, 142, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(72, 199, 142, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(72, 199, 142, 0);
  }
}

.landai-hypothesis-content {
  background-color: #f5f5f5;
  border-left: 4px solid #48c78e;
  padding: 1rem;
}

.landai-relative-time {
  font-weight: 500;
}

.landai-relative-time.has-text-success {
  color: #48c78e;
}
