.zm-shell .zm-header .zm-company-chat-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.zm-company-chat-icon img,
.zm-company-chat img {
  display: block;
  flex-shrink: 0;
}

.zm-company-chats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.zm-shell .zm-company-chat[data-channel="telegram"],
.zm-shell .zm-receipt-chat--telegram {
  --chat-surface: #eaf5fc;
  --chat-hover: #d8edfa;
  --chat-line: #b5d7e9;
  --chat-ink: #104b6c;
}

.zm-shell .zm-company-chat[data-channel="whatsapp"],
.zm-shell .zm-receipt-chat--whatsapp {
  --chat-surface: #eaf7ee;
  --chat-hover: #d9efdf;
  --chat-line: #b9d9c4;
  --chat-ink: #185136;
}

.zm-shell .zm-company-chats .zm-company-chat,
.zm-shell .contact-form .form-status .zm-receipt-chat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  width: auto;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--chat-line);
  border-radius: 24px;
  background: var(--chat-surface);
  color: var(--chat-ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
}

.zm-shell .zm-company-chats .zm-company-chat:hover,
.zm-shell .contact-form .form-status .zm-receipt-chat:hover {
  background: var(--chat-hover);
  border-color: var(--chat-ink);
}

.zm-shell .contact-form .form-status .zm-receipt-chat {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 8px;
}

.zm-receipt-chat::before {
  content: "";
  flex: none;
  width: 24px;
  height: 24px;
  background: center / contain no-repeat;
}

.zm-telegram-plane,
.zm-receipt-chat--telegram::before {
  border-radius: 50%;
  background-image: none, linear-gradient(#2aabee, #229ed9);
}

.zm-telegram-plane {
  flex-shrink: 0;
  object-fit: contain;
  object-position: 0 0;
}

.zm-telegram-plane--plain {
  background: transparent;
}

.zm-receipt-chat--telegram::before {
  background-image: url("images/messengers/telegram-plane.svg"), linear-gradient(#2aabee, #229ed9);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* Move the white plane inside its fixed badge; the hit area stays still. */
@keyframes zm-plane-flight {
  0%, 100% { object-position: 0 0; background-position: 0 0; }
  22% { object-position: -1px 1px; background-position: -1px 1px, center; }
  62% { object-position: 3px -3px; background-position: 3px -3px, center; }
}

@media (prefers-reduced-motion: no-preference) {
  .zm-company-chat-icon .zm-telegram-plane {
    animation: zm-plane-arrival 850ms ease-out both;
  }

  @keyframes zm-plane-arrival {
    from { object-position: -5px 4px; }
    65% { object-position: 2px -2px; }
    to { object-position: 0 0; }
  }

  :is(a, button):is(:focus-visible, :active) .zm-telegram-plane,
  .zm-receipt-chat--telegram:is(:focus-visible, :active)::before {
    animation: zm-plane-flight 650ms ease-in-out;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(a, button):hover .zm-telegram-plane,
  .zm-telegram-plane:hover,
  .zm-receipt-chat--telegram:hover::before {
    animation: zm-plane-flight 650ms ease-in-out;
  }
}

.zm-receipt-chat--whatsapp::before {
  background-image: url("images/messengers/whatsapp.svg");
}

.zm-shell .zm-header .zm-company-chat-icon:hover {
  background: #edf5f1;
}

.zm-shell :is(.zm-company-chat, .zm-company-chat-icon, .zm-receipt-chat):focus-visible {
  outline: 3px solid #237fb1;
  outline-offset: 2px;
}

.zm-header .zm-nav-panel .zm-company-chats {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #dce4df;
}

.zmf-footer .zm-company-footer-chats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-block: 18px;
  border-block: 1px solid #dce4df;
}

.zm-project-mail {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}

@media (min-width: 681px) {
  .zm-contacts-page .zm-contact-facts .zm-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .zm-contacts-page .zm-contact-facts .zm-container > :first-child {
    padding-left: 0;
  }
}
.zm-contact-messengers {
  scroll-margin-top: 6rem;
}
