/* WhatsApp da Assistência (Thiago 17/11/2026) — mesmo padrão visual do simulador */
.wa-mesa { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 14px; align-items: start; }
@media (max-width: 900px) { .wa-mesa { grid-template-columns: 1fr; } }
.wa-lista { padding: 12px; margin: 0; } .wa-lista .pilulas { margin-bottom: 8px; flex-wrap: wrap; }
.wa-item { display: grid; gap: 4px; width: 100%; text-align: left; background: #fff; border: 1px solid #ececea; border-radius: 12px; padding: 10px 12px; margin-bottom: 6px; cursor: pointer; font: inherit; }
.wa-item:hover { border-color: var(--marca); } .wa-item.on { border-color: #111; box-shadow: inset 4px 0 0 var(--marca); }
.wa-item-t { display: flex; justify-content: space-between; gap: 8px; } .wa-item-t small { color: #777; font-size: 11px; white-space: nowrap; }
.wa-item-m { font-size: 12.5px; color: #555; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wa-chat { margin: 0; display: grid; gap: 8px; min-height: 420px; align-content: start; }
.wa-cab { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid #ececea; padding-bottom: 8px; }
.wa-cab b { display: block; font-size: 16px; } .wa-cab small { color: #666; font-size: 12px; }
.wa-msgs { background: #efeae2; border-radius: 12px; padding: 12px; max-height: 420px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.wa-msg { max-width: 78%; padding: 7px 10px 4px; border-radius: 10px; font-size: 13.5px; line-height: 1.4; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.wa-msg small { display: block; text-align: right; color: #667781; font-size: 10.5px; margin-top: 2px; }
.wa-msg.cliente { background: #fff; align-self: flex-start; } .wa-msg.atendente { background: #d9fdd3; align-self: flex-end; } .wa-msg.robo { background: #fff8d6; align-self: flex-end; border: 1px dashed #e0c25a; }
.wa-acoes { margin: 0; gap: 6px; }
.wa-resp { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; } .wa-resp textarea { min-height: 54px; }
.wa-simula { border: 1px dashed #ccc; border-radius: 10px; padding: 8px 10px; background: #fafaf8; } .wa-simula summary { cursor: pointer; font-size: 12.5px; font-weight: 600; color: #555; } .wa-simula form { margin-top: 8px; }
