/* ─────────────────────────────────────────────────────────────
   VELIABI — Components (geteilt zwischen Landing & App)
   Chat-Blasen, Typing-Indikator, Fortschritts-Punkte
   ───────────────────────────────────────────────────────────── */

@keyframes msgin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes tp    { 0%,60%,100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-6px); opacity: 1; } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

@media (prefers-reduced-motion: reduce) {
  .msg, .typing i, .presence, .eyebrow .dot { animation: none !important; }
}

/* Chat-Blasen */
.msg { max-width: min(620px, 85%); padding: 12px 15px; border-radius: 16px; line-height: 1.55; font-size: .95rem; animation: msgin .28s var(--ease) both; box-shadow: 0 1px 2px rgba(36,26,20,.06); }
.msg.user { align-self: flex-end; background: var(--espresso); color: var(--paper); border-bottom-right-radius: 4px; }
.msg.bot  { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.bot b { color: var(--cay-600); }
.msg small { display: block; margin-top: 6px; color: var(--ink-mute); font-size: .72rem; }
.msg .src  { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: .72rem; color: var(--ink-mute); }
.msg .src b { color: var(--dem-deep); }
.msg ol, .msg ul { margin: 8px 0 2px 18px; }
.msg li { margin: 3px 0; }
.stamp { font-size: .66rem; color: var(--ink-mute); margin-top: 5px; }
.msg.user .stamp { color: #9a8f83; }

/* Typing-Indikator (3 Çay-Dampf-Punkte) */
.typing { align-self: flex-start; display: flex; gap: 5px; background: #fff; border: 1px solid var(--line); padding: 13px 16px; border-radius: 16px; border-bottom-left-radius: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--cay-400); animation: tp 1.15s infinite; }
.typing i:nth-child(2) { animation-delay: .16s; }
.typing i:nth-child(3) { animation-delay: .32s; }
