/* interaction-drawer.css — Sprint 49.1. Conteúdo do drawer de interação (reusa .drawer da casa). */
.interaction-drawer { width: 550px; max-width: 94vw; }
.interaction-drawer .sec-title { font-size: 12px; font-weight: 600; color: var(--az-primary, #534AB7); margin-bottom: 6px; }
.interaction-drawer .pill { display: inline-flex; gap: 4px; align-items: center; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--az-bg-tertiary, #eef); }
.interaction-drawer .cid { font-size: 11px; color: var(--az-text-tertiary, #9aa0a6); font-family: monospace; word-break: break-all; }

.purpose-card { padding: 8px 10px; border-radius: 8px; background: var(--az-bg-secondary, #f9fafb); margin-bottom: 6px; }
.purpose-card .pc-name { font-weight: 600; font-size: 13px; margin-bottom: 4px; }
.purpose-card .pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; font-size: 12px; }

.ura-timeline { padding-left: 6px; }
.ura-step { position: relative; padding: 0 0 12px 18px; border-left: 2px solid var(--az-border-secondary, #d6dae2); }
.ura-step-last { border-left-color: transparent; }
.ura-step-dot { position: absolute; left: -5px; top: 2px; width: 8px; height: 8px; border-radius: 50%; background: #8b5cf6; }
.ura-step-name { font-size: 12px; font-weight: 500; }
.ura-step-events { margin-top: 2px; }
.ura-event { font-size: 11px; color: var(--az-text-tertiary, #9aa0a6); }

.msg-list { display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow-y: auto; padding: 8px; background: var(--az-bg-secondary, #f9fafb); border-radius: 8px; }
.msg { padding: 7px 11px; border-radius: 12px; max-width: 80%; font-size: 13px; }
.msg-customer { background: #fff; border: .5px solid var(--az-border-tertiary, #e5e7eb); align-self: flex-start; }
.msg-agent { background: #ede9fe; align-self: flex-end; }
.msg-head { display: flex; gap: 8px; font-size: 10px; margin-bottom: 3px; }
.msg-body { line-height: 1.4; white-space: pre-wrap; }

.attrs-priority { display: grid; gap: 3px; font-size: 12px; }
.attr-row { padding: 1px 0; }

.live-badge { display: inline-block; padding: 2px 8px; background: linear-gradient(135deg, #dc2626, #ef4444); color: #fff; border-radius: 10px; font-size: 11px; font-weight: 600; animation: live-pulse 1.5s infinite; }
@keyframes live-pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(220,38,38,.4); } 50% { opacity: .85; box-shadow: 0 0 0 4px rgba(220,38,38,0); } }
.int-alert { padding: 10px; border-radius: 6px; font-size: 13px; line-height: 1.5; }
.int-alert.warn { background: #fef3c7; border-left: 3px solid #f59e0b; color: #92400e; }
.int-alert.info { background: #f0f9ff; border-left: 3px solid #3b82f6; }
.int-alert.err { background: #fef2f2; border-left: 3px solid #dc2626; color: #991b1b; }
