.chat-composer-shell {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 12px 16px 16px;
  border-block-start: 1px solid #e7e9ee;
  background: linear-gradient(180deg, #fff 0%, #fbfbfc 100%);
}
.chat-privacy-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid #cce8d7;
  border-radius: 12px;
  background: #f2fbf5;
  color: #126b3c;
}
.chat-privacy-notice > ui-icon {
  flex: none;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: #d8f3e2;
}
.chat-privacy-notice span { display: grid; gap: 2px; }
.chat-privacy-notice b { font-size: 12px; line-height: 1.6; }
.chat-privacy-notice small { color: #46725b; font-size: 11px; line-height: 1.7; }
.chat-composer-feedback {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #f3aaa5;
  border-radius: 11px;
  background: #fff3f2;
  color: #b42318;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
  animation: composer-feedback-in .18s ease-out;
}
.chat-composer-feedback.success {
  border-color: #a9ddbf;
  background: #effaf3;
  color: #137a43;
}
.chat-composer-feedback[hidden] { display: none !important; }
.chat-composer {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 0;
  border: 0;
}
.chat-composer--simple { grid-template-columns: minmax(180px, 1fr) auto; }
.chat-composer__actions { display: flex; gap: 7px; }
.chat-action {
  display: inline-flex;
  height: 48px;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  border: 1px solid #dfe2e7;
  border-radius: 12px;
  background: #fff;
  color: #33353d;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.chat-action:hover { border-color: #f55450; background: #fff7f6; color: #d83f3b; transform: translateY(-1px); }
.chat-action span { font-size: 21px; font-weight: 400; line-height: 1; }
.chat-action ui-icon { width: 18px; height: 18px; }
.chat-composer__field {
  position: relative;
  display: block;
  min-width: 0;
}
.chat-composer__field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  max-height: 130px;
  resize: none;
  overflow-y: auto;
  padding: 12px 14px 11px 58px;
  border: 1px solid #d9dde4;
  border-radius: 13px;
  outline: 0;
  background: #fff;
  color: #202228;
  font: inherit;
  font-size: 13px;
  line-height: 1.8;
  transition: border-color .16s ease, box-shadow .16s ease;
}
[dir="ltr"] .chat-composer__field textarea { padding: 12px 58px 11px 14px; }
.chat-composer__field textarea:focus { border-color: #f55450; box-shadow: 0 0 0 3px #f5545018; }
.chat-composer__field textarea.invalid { border-color: #dc423d; box-shadow: 0 0 0 3px #dc423d18; }
.chat-composer__field > small {
  position: absolute;
  inset-inline-end: 12px;
  inset-block-end: 9px;
  color: #9a9faa;
  direction: ltr;
  font-size: 9px;
}
.chat-send {
  display: inline-flex;
  height: 48px;
  min-width: 112px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: #f55450;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 18px #f5545030;
  cursor: pointer;
  transition: background .16s ease, transform .16s ease, opacity .16s ease;
}
.chat-send:hover { background: #df4642; transform: translateY(-1px); }
.chat-send:disabled { cursor: wait; opacity: .62; transform: none; }
.chat-send b { font-family: Arial, sans-serif; font-size: 18px; }
.chat-panel > header b { font-size: 13px; }
.chat-panel > header small, .chat-panel > header a { font-size: 11px; line-height: 1.8; }
.chat-bubble { min-width: 70px; padding: 11px 14px; font-size: 13px; line-height: 1.8; }
.chat-bubble small { font-size: 9px; }
.conversation-list b { font-size: 12px; }
.conversation-list small { margin-top: 2px; font-size: 10.5px; }
.conversation-list em { margin-top: 3px; font-size: 9.5px; }
.conversation-list nav { overflow-x: hidden; overflow-y: auto; }
.conversation-list .conversation-contact { color: #7b4f20; font-weight: 700; }
.chat-contact-target { display: inline-flex !important; align-items: center; gap: 5px; color: #80551d !important; font-weight: 700; }
.chat-contact-target ui-icon { width: 14px; height: 14px; }
.chat-contact-target i { color: #8b909a; font-style: normal; font-weight: 400; }
.direct-chat-summary { display: grid; justify-items: center; gap: 5px; margin-top: 14px; padding: 18px 14px; border: 1px solid #dce4f2; border-radius: 13px; background: #f7f9fd; text-align: center; }
.direct-chat-summary ui-icon { width: 28px; height: 28px; color: #4f67a8; }
.direct-chat-summary small { color: #667085; }
.direct-chat-summary b { font-size: 13px; }
.direct-chat-summary p { margin: 4px 0 0; color: #707784; font-size: 10px; line-height: 1.8; }
.communication-policy-hint {
  margin: 4px 0 14px;
  padding: 10px 12px;
  border: 1px solid #dbe3ed;
  border-radius: 10px;
  background: #f7f9fc;
  color: #526071;
  font-size: 11px;
  line-height: 1.8;
}
.negotiation-error {
  max-width: min(520px, calc(100vw - 40px));
  line-height: 1.8;
  box-shadow: 0 14px 38px #17202f28;
}
@keyframes composer-feedback-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.vp-secure-contact {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px;
  border: 1px solid #cce8d7;
  border-radius: 18px;
  background: linear-gradient(135deg, #f3fbf6, #fff);
}
.vp-secure-contact > span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #daf3e4;
  color: #138049;
}
.vp-secure-contact small { color: #138049; font-weight: 900; letter-spacing: .04em; }
.vp-secure-contact h2 { margin: 7px 0 8px; }
.vp-secure-contact p { max-width: 720px; margin: 0 0 18px; color: #626b75; line-height: 2; }
.vp-secure-contact a { width: max-content; }
.vp-panel[data-vp-panel="contacts"] .vp-section-head { margin-bottom: 18px; }
.vp-panel[data-vp-panel="contacts"] .vp-section-head h2 { margin-bottom: 5px; }
.vp-panel[data-vp-panel="contacts"] .vp-section-head p { margin: 0; color: #6b7280; font-size: 11.5px; line-height: 1.9; }
.vp-contact-card { position: relative; align-items: flex-start; min-height: 124px; box-shadow: 0 10px 26px -25px #17202f; }
.vp-contact-card > div { min-width: 0; flex: 1; }
.vp-contact-card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 13px; }
.vp-contact-message {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding: 7px 14px;
  border: 0;
  border-radius: 9px;
  background: #f55450;
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.vp-contact-message:hover { background: #df4642; }
.vp-contact-message ui-icon { width: 16px; height: 16px; }
.vp-contact-empty { font-size: 14px; }
.vp-contact-empty .button { border: 0; font-size: 11px; }
.vp-message-dialog {
  width: min(620px, calc(100vw - 28px));
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: #202228;
  box-shadow: 0 30px 90px #11182742;
}
.vp-message-dialog::backdrop { background: #17191f9c; backdrop-filter: blur(2px); }
.vp-message-dialog > .dialog-close { position: absolute; z-index: 2; inset-block-start: 18px; inset-inline-end: 18px; width: 38px; height: 38px; border: 1px solid #e2e5ea; border-radius: 10px; background: #fff; color: #525866; font-size: 22px; cursor: pointer; }
.vp-message-dialog > header { display: flex; gap: 14px; padding: 27px 27px 20px; border-bottom: 1px solid #eceef2; background: linear-gradient(135deg,#fff8f7,#fff); }
.vp-message-dialog > header > span { display: grid; width: 54px; height: 54px; flex: none; place-items: center; border-radius: 15px; background: #f55450; color: #fff; }
.vp-message-dialog > header ui-icon { width: 24px; height: 24px; }
.vp-message-dialog > header small { color: #f55450; font-size: 10px; font-weight: 900; letter-spacing: .04em; }
.vp-message-dialog > header h2 { margin: 4px 0; padding-inline-end: 40px; font-size: 18px; }
.vp-message-dialog > header h2 b { color: #f55450; }
.vp-message-dialog > header p { margin: 0; color: #747b87; font-size: 11px; }
.vp-message-dialog > form { display: grid; gap: 14px; padding: 22px 27px 27px; }
.vp-message-dialog > form > label { display: grid; gap: 7px; color: #363942; font-size: 11.5px; font-weight: 800; }
.vp-message-dialog textarea { width: 100%; min-height: 128px; resize: vertical; padding: 12px 14px; border: 1px solid #dce0e6; border-radius: 12px; outline: 0; font: inherit; font-size: 12.5px; line-height: 1.9; }
.vp-message-dialog textarea:focus { border-color: #f55450; box-shadow: 0 0 0 3px #f5545018; }
.vp-message-dialog .chat-privacy-notice { min-height: 46px; }
.vp-message-dialog .button { min-height: 48px; border: 0; border-radius: 11px; font-weight: 800; }
.vp-message-error { padding: 10px 12px; border: 1px solid #f3aaa5; border-radius: 10px; background: #fff3f2; color: #b42318; font-size: 11.5px; font-weight: 700; line-height: 1.8; }
.vp-message-error[hidden] { display: none; }
@media (max-width: 620px) {
  .vp-secure-contact { grid-template-columns: 1fr; }
  .chat-privacy-notice { align-items: flex-start; }
  .chat-composer { grid-template-columns: 1fr auto; }
  .chat-composer__actions { grid-column: 1 / -1; }
  .chat-action { height: 40px; }
  .chat-send { min-width: 52px; padding: 0 12px; }
  .chat-send span { display: none; }
  .chat-composer-shell { padding-inline: 12px; }
  .vp-message-dialog > header, .vp-message-dialog > form { padding-inline: 18px; }
}
