/* Chat in the verification banner, once both directions are proved.

   Linked after vfy-secret.css. The tokens are the ones portal.css defines and
   vfy-secret.css already uses; nothing here invents one.

   The code and a revealed secret stay the loud things. The chat is quiet on
   purpose: it is a conversation with somebody already on the phone.         */

.vfy-chat {
  display: grid; gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 10px; margin-top: 2px;
}

.vfy-chat-list {
  display: grid; gap: 6px; align-content: start;
  max-height: 280px; overflow-y: auto;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 10px 12px;
}

.vfy-msg {
  display: grid; gap: 2px; max-width: 85%;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 7px 10px;
}
.vfy-msg-theirs { justify-self: start; }
.vfy-msg-mine   { justify-self: end; border-color: var(--accent); }

.vfy-msg-meta { font-size: 11px; color: var(--text3); }
.vfy-msg-body { font-size: 14px; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }

.vfy-chat-form { display: flex; gap: 8px; align-items: flex-end; }
.vfy-chat-in {
  flex: 1 1 auto; min-width: 0; min-height: 2.6em; resize: vertical;
  font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--border2); border-radius: var(--radius);
  padding: 8px 10px;
}
