/* ===== CHAT ===== */

  .msg-ai {
    background: var(--moss-pale); color: var(--bark);
    padding: 0.75rem 1rem; border-radius: 16px 16px 16px 4px;
    font-size: 0.85rem; line-height: 1.6; max-width: 90%;
    align-self: flex-start;
  }
  .msg-user {
    background: var(--moss); color: white;
    padding: 0.75rem 1rem; border-radius: 16px 16px 4px 16px;
    font-size: 0.85rem; line-height: 1.6; max-width: 90%;
    align-self: flex-end;
  }
  .msg-typing {
    background: var(--moss-pale); color: var(--text-muted);
    padding: 0.75rem 1rem; border-radius: 16px 16px 16px 4px;
    font-size: 0.85rem; align-self: flex-start;
    display: flex; gap: 4px; align-items: center;
  }
  .typing-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--sage); animation: typingBounce 1.2s ease-in-out infinite;
  }
  .typing-dot:nth-child(2) { animation-delay: 0.2s; }
  .typing-dot:nth-child(3) { animation-delay: 0.4s; }
  @keyframes typingBounce { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }
