.LeadAudioMessage {
  display: inline-flex;
  flex-direction: column;
  width: min(280px, 100%);
  max-width: 100%;
  min-width: min(220px, 100%);
  box-sizing: border-box;
  padding: 4px 6px;
  border: 1px solid #e0e0e0;
  border-radius: 1px 6px 6px 6px;
  background: #fff;
}
.LeadAudioMessage--out {
  border-radius: 6px 1px 6px 6px;
  background: #e6f4ff;
  border-color: #91caff;
}
.LeadAudioMessage--deleted {
  opacity: 0.45;
}
.LeadAudioMessage__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;
}
.LeadAudioMessage__forwarded-icon {
  font-size: 10px;
  flex-shrink: 0;
}
.LeadAudioMessage__reply {
  display: flex;
  flex-direction: row;
  gap: 0;
  margin-bottom: 4px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  overflow: hidden;
}
.LeadAudioMessage__reply-indicator {
  width: 3px;
  min-width: 3px;
  background: #52c41a;
  border-radius: 3px 0 0 3px;
}
.LeadAudioMessage__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;
}
.LeadAudioMessage__reply-text b {
  font-weight: 600;
}
.LeadAudioMessage__title {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}
.LeadAudioMessage__title-icon {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}
.LeadAudioMessage__title-text {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.85);
  word-break: break-word;
}
.LeadAudioMessage__unavailable {
  margin-bottom: 2px;
  font-size: 11px;
  font-style: italic;
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.45);
}
.LeadAudioMessage__controls {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
}
.LeadAudioMessage__listen-btn {
  border-radius: 999px;
  height: 22px;
  padding: 0 8px;
  font-size: 11px;
  line-height: 1.1;
  border: 1px solid #91caff;
  color: #1677ff;
  background-color: #e6f4ff;
}
.LeadAudioMessage__listen-btn:hover {
  border-color: #4096ff;
  color: #0958d9;
  background-color: #bae0ff;
}
.LeadAudioMessage__download-btn {
  width: 22px;
  height: 22px;
  min-width: 22px;
  padding: 0;
  font-size: 11px;
}
.LeadAudioMessage__download-anchor {
  display: none;
}
.LeadAudioMessage__status {
  display: flex;
  align-items: center;
  align-self: flex-end;
  justify-content: flex-end;
  gap: 3px;
  max-width: 100%;
  margin-top: 2px;
}
.LeadAudioMessage__timestamp {
  font-size: 9px;
  line-height: 1.1;
  color: rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}
.LeadAudioMessage__status-icon {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  line-height: 1;
}
.LeadAudioMessage__status-icon svg {
  display: block;
}
.MessageHistory {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.MessageHistory__skeleton {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  background: #fff;
  padding: 6px;
}
.MessageHistory__error {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: rgba(0, 0, 0, 0.45);
  font-size: 12px;
  text-align: center;
}
.LeadEmojiPicker {
  width: min(320px, 100vw - 32px);
  min-width: 0;
}
.LeadEmojiPicker__popover {
  max-width: calc(100vw - 16px);
}
.LeadEmojiPicker__popover-body {
  padding: 8px;
}
.LeadEmojiPicker__search {
  margin-bottom: 6px;
  font-size: 12px;
}
.LeadEmojiPicker__categories {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 3px;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(5, 5, 5, 0.06);
}
.LeadEmojiPicker__category {
  width: 100%;
  height: 26px;
  padding: 0;
  font-size: 15px;
  line-height: 26px;
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.LeadEmojiPicker__category:hover, .LeadEmojiPicker__category:focus-visible, .LeadEmojiPicker__category--active {
  background: rgba(22, 119, 255, 0.1);
  outline: none;
}
.LeadEmojiPicker__content {
  max-height: min(300px, 46vh);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.LeadEmojiPicker__section {
  min-width: 0;
}
.LeadEmojiPicker__section + .LeadEmojiPicker__section {
  margin-top: 8px;
}
.LeadEmojiPicker__section-title {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 2px 0 5px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.55);
  background: #fff;
}
.LeadEmojiPicker__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(28px, 1fr));
  gap: 4px;
  min-width: 0;
}
.LeadEmojiPicker__item {
  width: 100%;
  min-width: 0;
  height: 28px;
  padding: 0;
  font-size: 18px;
  line-height: 28px;
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.LeadEmojiPicker__item:hover, .LeadEmojiPicker__item:focus-visible {
  background: rgba(0, 0, 0, 0.06);
  outline: none;
}
.LeadEmojiPicker__empty {
  margin: 12px 0 8px;
}
.LeadEmojiPicker__empty .ant-empty-description {
  font-size: 12px;
}
@media screen and (max-width: 420px) {
  .LeadEmojiPicker {
    width: min(288px, 100vw - 24px);
  }
  .LeadEmojiPicker__categories {
    grid-template-columns: repeat(9, 24px);
    overflow-x: auto;
  }
  .LeadEmojiPicker__content {
    max-height: min(260px, 44vh);
  }
}
.LeadMessageAttachments {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.LeadMessageAttachments__row, .LeadMessageAttachments__row--with-overflow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  min-width: 0;
  box-sizing: border-box;
}
.LeadMessageAttachments__row {
  width: 100%;
  flex-wrap: nowrap;
}
.LeadMessageAttachments__row--with-overflow {
  display: grid;
  grid-template-columns: 1fr 0.5fr;
}
.LeadMessageAttachments__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  flex: 0 1 auto;
  max-width: min(180px, 100%);
  min-width: 0;
  box-sizing: border-box;
  gap: 3px;
  padding: 2px 3px 2px 5px;
  background: #f5f5f5;
  border: 1px solid rgba(5, 5, 5, 0.06);
  border-radius: 5px;
}
.LeadMessageAttachments__icon, .LeadMessageAttachments__name, .LeadMessageAttachments__size {
  font-size: 10px;
  line-height: 1.15;
}
.LeadMessageAttachments__name {
  min-width: 0;
}
.LeadMessageAttachments__size {
  white-space: nowrap;
}
.LeadMessageAttachments__remove {
  width: 16px;
  min-width: 16px;
  height: 16px;
  padding: 0;
}
.LeadMessageAttachments__remove .anticon {
  font-size: 10px;
}
.LeadMessageAttachments__overflow {
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 20px;
  padding: 0 6px;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #f5f5f5;
  border: 1px solid rgba(5, 5, 5, 0.06);
  border-radius: 5px;
}
.LeadMessageAttachments__popover .ant-popover-inner {
  padding: 6px;
}
.LeadMessageAttachments__popover-body {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.LeadMessageAttachments__popover-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-height: min(220px, 45vh);
  min-width: 0;
  overflow-y: auto;
}
.LeadMessageAttachments__popover-list::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
.LeadMessageAttachments__popover-list::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: #b1c4df;
}
.LeadMessageTemplatesDropdown {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: calc(100% + 4px);
  left: 0;
  display: flex;
  flex-direction: column;
  max-height: 220px;
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(5, 5, 5, 0.12);
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.LeadMessageTemplatesDropdown__loading {
  display: flex;
  justify-content: center;
  padding: 12px;
}
.LeadMessageTemplatesDropdown__item {
  display: grid;
  grid-template-columns: minmax(96px, 140px) minmax(0, 1fr);
  gap: 8px;
  width: 100%;
  min-width: 0;
  padding: 7px 10px;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.LeadMessageTemplatesDropdown__item:hover, .LeadMessageTemplatesDropdown__item:focus-visible {
  background: rgba(0, 0, 0, 0.04);
  outline: none;
}
.LeadMessageTemplatesDropdown__name, .LeadMessageTemplatesDropdown__message {
  min-width: 0;
  font-size: 12px;
  line-height: 16px;
}
.MessageComposer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.MessageComposer__input-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.MessageComposer__input-wrapper:hover {
  border-color: #4096ff;
}
.MessageComposer__input-wrapper:focus-within {
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);
}
.MessageComposer__input-wrapper--disabled {
  background: rgba(0, 0, 0, 0.04);
}
.MessageComposer__input-wrapper--disabled:hover {
  border-color: #d9d9d9;
}
.MessageComposer__input {
  width: 100%;
  padding: 6px 8px 2px;
  font-size: 12px;
  line-height: 16px;
  resize: none;
  border: 0;
  box-shadow: none;
}
.MessageComposer__input:focus, .MessageComposer__input:hover {
  border: 0;
  box-shadow: none;
}
.MessageComposer__input::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
.MessageComposer__input::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: #b1c4df;
}
.MessageComposer__input-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 3px 3px 3px 6px;
}
.MessageComposer .IntegrationSelector {
  flex: 1 1 auto;
}
.MessageComposer__actions {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
.MessageComposer__file-input {
  display: none;
}
@media screen and (max-width: 1200px) {
  .MessageComposer {
    gap: 5px;
  }
  .MessageComposer__input-footer {
    gap: 6px;
    padding-right: 4px;
    padding-left: 6px;
  }
  .MessageComposer__actions {
    gap: 5px;
  }
}
@media screen and (max-width: 700px) {
  .MessageComposer__input-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .MessageComposer__actions {
    align-self: flex-end;
  }
}

/*# sourceMappingURL=main~14.beefe7f5.css.map*/