.seat-chat-dialog {
  width: min(420px, calc(100vw - 28px));
  max-height: calc(100dvh - 32px);
  padding: 22px;
  border: 1px solid var(--line, #dbe4ee);
  border-radius: 16px;
  background: var(--card, #fff);
  color: var(--text, #132c46);
  box-shadow: 0 18px 48px #132c4630;
}
.seat-chat-dialog::backdrop { background: #10253e61; }
.seat-chat-dialog h2 { font-size: 19px; margin: 0 0 16px; }
.seat-chat-dialog .seat-preview {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 13px;
  margin-bottom: 16px;
  background: var(--bg, #f2f6fb);
  border-radius: 12px;
}
.seat-chat-dialog .seat-preview strong { display: block; overflow-wrap: anywhere; }
.seat-chat-dialog .seat-preview small { display: block; margin-top: 4px; color: var(--sub, #566986); }
.seat-chat-dialog .seat-avatar-actions,
.seat-chat-dialog .seat-chat-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.seat-chat-dialog .seat-avatar-actions { margin: 8px 0 6px; }
.seat-chat-dialog .seat-chat-actions { justify-content: flex-end; margin-top: 12px; }
.seat-chat-dialog .seat-profile-error { color: #ad2035; }
.seat-chat-dialog .seat-profile-error:empty { display: none; }
.seat-chat-dialog input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.seat-chat-dialog .seat-avatar-actions label:focus-within {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.seat-chat-avatar {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  border-radius: 50%;
  background: #dce8f4;
  color: #193e5f;
  font-size: 10px;
  font-weight: 700;
}
.seat-chat-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.seat-chat-dialog .seat-chat-avatar { width: 44px; height: 44px; font-size: 18px; }
.top-user .uav .seat-chat-avatar { width: 100%; height: 100%; border-radius: inherit; }
.msg .who.has-seat-avatar { display: flex; align-items: center; gap: 6px; }
.msg.right .who.has-seat-avatar { justify-content: flex-end; }
#agentChatProfileOpen[hidden] { display: none; }
