




.hm-chat { position: absolute; left: 10px; top: 10px; bottom: 10px; width: calc(40% - 15px); display: flex; flex-direction: column; background: #faf9f5; border: 1px solid #e5e2d8; border-radius: 12px; color: #1f1e1d; overflow: hidden;
           box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); opacity: 0; transform: translateX(-12px); pointer-events: none; transition: opacity 0.4s, transform 0.4s; z-index: 2; }
.hm-chat.on { opacity: 1; transform: none; }
.hm-chat-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 8px 12px 0; font: 11px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; color: #6b6a65; }
.hm-chat-nota { font-size: 10px; color: #9a9890; }
.hm-chat-body { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; gap: 8px; padding: 8px 12px 4px; overflow: hidden; }
.hm-chat-body p { margin: 0; opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s; }
.hm-chat-body p.on { opacity: 1; transform: none; }
.hm-chat-u { align-self: flex-end; max-width: 88%; padding: 6px 10px; border-radius: 12px; background: #f0eee6; font: 12px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; }
.hm-chat-a { align-self: flex-start; font: 13px/1.5 Georgia, "Times New Roman", serif; }
.hm-chat-t { align-self: flex-start; padding: 4px 9px; border: 1px solid #e0ddd2; border-radius: 8px; background: #ffffff; color: #5f5e59; font: 11px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; }
.hm-chat-t::before { content: "\25B8  idemodel  \00B7  "; color: #8a8982; }
.hm-chat-comp { display: flex; align-items: center; justify-content: space-between; margin: 2px 10px 10px; padding: 7px 11px; border: 1px solid #e0ddd2; border-radius: 12px; background: #ffffff; color: #9a9890; font: 11px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; }
.hm-chat-comp i { display: block; width: 18px; height: 18px; border-radius: 6px; background: #c9c7bf; }
@media (prefers-reduced-motion: reduce) { .hm-chat, .hm-chat-body p { transition: none; } }
