/* Chat page layout */
body { background: #132240; height: 100dvh; overflow: hidden; }

/* Prose / markdown content */
.prose { line-height: 1.6; overflow-wrap: break-word; word-break: break-word; color: #e8edf5; }
.prose p { margin: 0; }
.prose p + p { margin-top: 8px; }
.prose strong { color: #e8edf5; font-weight: 600; }
.prose em { color: #c8a03a; font-style: normal; }
.prose h3, .prose h4 { color: #fff; }

/* Charts */
.chart-wrap canvas { width: 100% !important; height: auto !important; max-height: 300px; }

/* Thinking dots animation */
.thinking-dots {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  margin-left: 6px;
  vertical-align: middle;
}

.thinking-dots .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c8a03a;
  animation: pulse-dot 1s ease-in-out infinite;
}

.thinking-dots .dot:nth-child(2) { animation-delay: 0.15s; }
.thinking-dots .dot:nth-child(3) { animation-delay: 0.3s; }
.thinking-dots.fade-out { animation: fade-out 0.3s ease-out forwards; }

@keyframes pulse-dot {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

@keyframes fade-out {
  to { opacity: 0; }
}
