.MessagesSkeleton {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding-top: 4px;
}
.MessagesSkeleton__row {
  display: flex;
  min-width: 0;
}
.MessagesSkeleton__row--right {
  justify-content: flex-end;
}
.MessagesSkeleton__bubble.ant-skeleton.ant-skeleton-element {
  max-width: 72%;
}
.MessagesSkeleton__bubble.ant-skeleton.ant-skeleton-element .ant-skeleton-button {
  width: 100%;
  min-width: 0;
  height: 28px;
  border-radius: 6px;
}
.LeadTechnicalMessage {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 4px 2px;
}
.LeadTechnicalMessage__header {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}
.LeadTechnicalMessage__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 16px;
  min-height: 14px;
  color: rgba(0, 0, 0, 0.45);
  font-size: 10px;
  line-height: 14px;
}
.LeadTechnicalMessage__header-text {
  min-width: 0;
  font-size: 10px;
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.72);
  word-break: break-word;
}
.LeadTechnicalMessage__user {
  font-weight: 600;
  color: rgba(0, 0, 0, 0.85);
}
.LeadTechnicalMessage__timestamp {
  color: rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  font-size: 9px;
}
.LeadTechnicalMessage__link {
  font-size: inherit;
  line-height: inherit;
}
.LeadTechnicalMessage__link-button {
  height: auto;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
  vertical-align: baseline;
}
.LeadTechnicalMessage__link-button > span {
  line-height: inherit;
}
.LeadTechnicalMessage__fragments {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 4px;
  padding-left: 10px;
}
.LeadTechnicalMessage__fragment {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
  font-size: 10px;
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.72);
  word-break: break-word;
}
.LeadTechnicalMessage__fragment-icon {
  display: inline-flex;
  justify-content: center;
  flex-shrink: 0;
  width: 5px;
  color: rgba(0, 0, 0, 0.45);
  font-size: 5px;
}
.LeadTechnicalMessage__fragment-arrow {
  flex-shrink: 0;
  font-size: 8px;
  color: rgba(0, 0, 0, 0.45);
}
.LeadTechnicalMessage__fragment-property {
  margin-left: 2px;
  color: rgba(0, 0, 0, 0.45);
}
.LeadVideoAttachment {
  display: inline-flex;
  flex-direction: column;
  max-width: 100%;
  box-sizing: border-box;
  padding: 4px 6px;
  border: 1px solid #e0e0e0;
  border-radius: 1px 6px 6px 6px;
  background: #fff;
}
.LeadVideoAttachment--out {
  border-radius: 6px 1px 6px 6px;
  background: #e6f4ff;
  border-color: #91caff;
}
.LeadVideoAttachment--deleted {
  opacity: 0.45;
}
.LeadVideoAttachment__forwarded {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 3px;
  font-size: 10px;
  line-height: 1.1;
  font-style: italic;
  color: rgba(0, 0, 0, 0.45);
  opacity: 0.8;
}
.LeadVideoAttachment__forwarded-icon {
  font-size: 10px;
  flex-shrink: 0;
}
.LeadVideoAttachment__reply {
  display: flex;
  flex-direction: row;
  gap: 0;
  margin-bottom: 4px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  overflow: hidden;
}
.LeadVideoAttachment__reply-indicator {
  width: 3px;
  min-width: 3px;
  background: #52c41a;
  border-radius: 3px 0 0 3px;
}
.LeadVideoAttachment__reply-text {
  padding: 3px 5px;
  font-size: 10px;
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.65);
  word-break: break-word;
  white-space: pre-wrap;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.LeadVideoAttachment__reply-text b {
  font-weight: 600;
}
.LeadVideoAttachment__player-area {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 4px;
}
.LeadVideoAttachment__video {
  display: block;
  width: min(240px, 100%);
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  cursor: pointer;
}
.LeadVideoAttachment__download-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  width: 22px;
  height: 22px;
  min-width: 22px;
  padding: 0;
  font-size: 11px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.24);
}
.LeadVideoAttachment__download-btn:hover, .LeadVideoAttachment__download-btn:focus {
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
}
.LeadVideoAttachment__download-anchor {
  display: none;
}
.LeadVideoAttachment__modal .ant-modal-content {
  overflow: hidden;
}
.LeadVideoAttachment__modal .ant-modal-body {
  display: flex;
  justify-content: center;
  padding: 0;
  background: #111;
}
.LeadVideoAttachment__modal-video {
  display: block;
  width: 100%;
  max-height: min(74vh, 720px);
  background: #000;
}
.LeadVideoAttachment__status {
  display: flex;
  align-items: center;
  align-self: flex-end;
  justify-content: flex-end;
  gap: 3px;
  max-width: 100%;
  margin-top: 2px;
}
.LeadVideoAttachment__timestamp {
  font-size: 9px;
  line-height: 1.1;
  color: rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}
.LeadVideoAttachment__status-icon {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  line-height: 1;
}
.LeadVideoAttachment__status-icon svg {
  display: block;
}
.LeadTextMessage {
  display: inline-flex;
  flex-direction: column;
  max-width: 100%;
  box-sizing: border-box;
  padding: 3px 5px;
  border: 1px solid #e0e0e0;
  border-radius: 1px 6px 6px 6px;
  background: #fff;
}
.LeadTextMessage--out {
  border-radius: 6px 1px 6px 6px;
  background: #e6f4ff;
  border-color: #91caff;
}
.LeadTextMessage--deleted {
  opacity: 0.45;
}
.LeadTextMessage__forwarded {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 3px;
  font-size: 10px;
  line-height: 1.1;
  font-style: italic;
  color: rgba(0, 0, 0, 0.45);
  opacity: 0.8;
}
.LeadTextMessage__forwarded-icon {
  font-size: 10px;
  flex-shrink: 0;
}
.LeadTextMessage__reply {
  display: flex;
  flex-direction: row;
  gap: 0;
  margin-bottom: 4px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  overflow: hidden;
}
.LeadTextMessage__reply-indicator {
  width: 3px;
  min-width: 3px;
  background: #52c41a;
  border-radius: 3px 0 0 3px;
}
.LeadTextMessage__reply-text {
  padding: 3px 5px;
  font-size: 10px;
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.65);
  word-break: break-word;
  white-space: pre-wrap;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.LeadTextMessage__reply-text b {
  font-weight: 600;
}
.LeadTextMessage__text {
  font-size: 11px;
  line-height: 1.1;
  color: rgba(0, 0, 0, 0.85);
  word-break: break-word;
  white-space: pre-wrap;
}
.LeadTextMessage__text b {
  font-weight: 600;
}
.LeadTextMessage__status {
  display: flex;
  align-items: center;
  align-self: flex-end;
  justify-content: flex-end;
  gap: 3px;
  max-width: 100%;
  margin-top: 2px;
}
.LeadTextMessage__timestamp {
  font-size: 9px;
  line-height: 1.1;
  color: rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}
.LeadTextMessage__status-icon {
  display: inline-flex;
  align-items: center;
  font-size: 10px !important;
  line-height: 1;
}
.LeadTextMessage__status-icon svg {
  display: block;
}
.LeadMessageItem {
  display: flex;
  flex-direction: row;
  gap: 3px;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  padding: 3px 2px;
}
.LeadMessageItem--out {
  flex-direction: row-reverse;
}
.LeadMessageItem--out .LeadMessageItem__body {
  align-items: flex-end;
}
.LeadMessageItem--out .LeadMessageItem__content {
  flex-direction: row-reverse;
}
.LeadMessageItem__avatar {
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
}
.LeadMessageItem__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-sizing: border-box;
  width: fit-content;
  min-width: 0;
  max-width: 75%;
}
.LeadMessageItem__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
  max-width: 100%;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
  color: rgba(0, 0, 0, 0.85);
}
.LeadMessageItem__header-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.LeadMessageItem__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  max-width: 100%;
  min-width: 0;
  font-size: 10px;
  line-height: 1.1;
  color: rgba(0, 0, 0, 0.45);
}
.LeadMessageItem__meta > span {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.LeadMessageItem__deleted-notice {
  color: rgb(225, 79, 79);
}
.LeadMessageItem__content {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 0px;
  position: relative;
  max-width: 100%;
  min-width: 0;
}
.LeadMessageItem__content .copy-message-info-button {
  position: absolute;
  right: -30px;
  bottom: 0;
}
.LeadMessageItem__content .copy-message-info-button--incoming {
  right: auto;
  left: -30px;
}
.LeadMessageItem__actions {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
  padding-bottom: 2px;
}
.LeadMessageItem__error-icon {
  font-size: 14px;
  color: rgb(225, 79, 79);
  cursor: pointer;
}
.LeadMessageItem__reaction {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(235, 235, 235, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
}
.LeadMessageItem__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  max-width: 100%;
  min-width: 0;
  font-size: 10px;
  line-height: 1.1;
  color: rgba(0, 0, 0, 0.45);
}
.LeadMessageItem__footer > span {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.LeadMessageItem__branch {
  color: rgba(0, 0, 0, 0.45);
}
@media screen and (max-width: 560px) {
  .LeadMessageItem {
    gap: 6px;
  }
  .LeadMessageItem__body {
    max-width: calc(100% - 38px);
  }
}
.LeadMessageList {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  min-height: 0;
}
.LeadMessageList__scroll {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  overflow: auto;
  padding: 2px;
}
.LeadMessageList__scroll::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
.LeadMessageList__scroll::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: #b1c4df;
}
.LeadMessageList__older-loading {
  position: absolute;
  top: 4px;
  right: 0;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 4px 0;
}
.LeadMessageList__empty {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
}
.LeadMessageList__items {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}
.LeadMessageList__scroll-to-bottom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #1677ff;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease;
}
.LeadMessageList__scroll-to-bottom:hover {
  background: #0958d9;
}

/*# sourceMappingURL=main~13.bc6ae2f0.css.map*/