.LeadListItem {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  flex: none;
  gap: 4px;
  width: 100%;
  min-height: 46px;
  padding: 6px 4px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  position: relative;
}
.LeadListItem:hover {
  background: #f5faff;
  border-color: #e6f4ff;
}
.LeadListItem:focus-visible {
  outline: 2px solid #1677ff;
  outline-offset: -2px;
}
.LeadListItem--selected {
  background: #e6f4ff;
  border-color: #91caff;
}
.LeadListItem--selected:hover {
  background: #e6f4ff;
  border-color: #91caff;
}
.LeadListItem__avatar {
  flex: none;
}
.LeadListItem__content {
  display: block;
  min-width: 0;
}
.LeadListItem__name {
  min-width: 0;
  padding-right: 30px;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  color: rgba(0, 0, 0, 0.88);
}
.LeadListItem__last-message {
  margin-top: 1px;
  font-size: 10px;
  line-height: 14px;
  color: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.LeadListItem__message-icon {
  flex: none;
}
.LeadListItem__message-text {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.LeadListItem__time {
  max-width: 64px;
  overflow: hidden;
  font-size: 10px;
  line-height: 10px;
  color: rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  text-overflow: ellipsis;
  position: absolute;
  top: 3px;
  right: 3px;
}
.LeadListItem__unread-dot {
  width: 6px;
  height: 6px;
  background: #ff4d4f;
  border-radius: 50%;
  position: absolute;
  bottom: 4px;
  right: 4px;
}
.LeadListSkeleton {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  min-width: 0;
}
.LeadListSkeleton__row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  flex: none;
  min-height: 46px;
  padding: 6px 8px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
}
.LeadListSkeleton__avatar {
  flex: none;
}
.LeadListSkeleton__content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.LeadListSkeleton__name.ant-skeleton.ant-skeleton-element {
  width: 70%;
}
.LeadListSkeleton__name.ant-skeleton.ant-skeleton-element .ant-skeleton-input {
  width: 100%;
  min-width: 0;
  height: 12px;
}
.LeadListSkeleton__last-message.ant-skeleton.ant-skeleton-element {
  width: 90%;
}
.LeadListSkeleton__last-message.ant-skeleton.ant-skeleton-element .ant-skeleton-input {
  width: 100%;
  min-width: 0;
  height: 10px;
}
.LeadListSkeleton__meta {
  display: flex;
  flex: none;
  align-self: flex-start;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  min-width: 32px;
}
.LeadListSkeleton__time.ant-skeleton.ant-skeleton-element {
  width: 30px;
}
.LeadListSkeleton__time.ant-skeleton.ant-skeleton-element .ant-skeleton-input {
  width: 100%;
  min-width: 0;
  height: 10px;
}
.LeadListPanel {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.LeadListPanel__top {
  flex: none;
  padding: 6px 6px 9px 6px;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}
.LeadListPanel__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 6px;
}
.LeadListPanel__list::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
.LeadListPanel__list::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: #b1c4df;
}
.LeadListPanel__empty {
  margin: auto;
}
.LeadListPanel__show-next {
  flex: none;
  margin-top: 4px;
}
.MainBody {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #f9fafb;
}
.MainBody__title {
  flex: none;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}
.MainBody__messages {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}
.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;
  }
}
.MainFooter {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: none;
  min-width: 0;
  padding: 6px;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid #f0f0f0;
}
@media screen and (max-width: 1200px) {
  .MainFooter {
    gap: 5px;
    padding: 6px 10px;
  }
}
@media screen and (max-width: 1000px) {
  .MainFooter {
    gap: 5px;
    padding: 6px 10px;
  }
}
.MainHeader {
  flex: none;
  min-width: 0;
  padding: 6px;
  overflow: hidden;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}
.MainHeader__controls {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.MainHeader__drawer-button {
  display: none;
  flex: 0 0 auto;
}
@media screen and (max-width: 1200px) {
  .MainHeader__drawer-button--lead-list {
    display: inline-flex;
  }
}
@media screen and (max-width: 1000px) {
  .MainHeader {
    padding: 6px 10px;
  }
  .MainHeader__controls {
    gap: 5px;
  }
  .MainHeader__drawer-button--user-details {
    display: inline-flex;
  }
}
.MainPanel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #fff;
}
.LeadContextAnalysis {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 4px 7px;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
}
.LeadContextAnalysis__title {
  margin: 0;
  overflow: hidden;
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
  color: rgba(0, 0, 0, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.LeadContextAnalysis__lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.LeadContextAnalysis__line {
  font-size: 11px;
  line-height: 13px;
  color: rgba(0, 0, 0, 0.88);
  overflow-wrap: anywhere;
}
.LeadContextAnalysis__action {
  margin: 0;
  padding: 4px 8px;
  font-size: 11px;
  line-height: 15px;
  color: #1677ff;
  background: rgba(22, 119, 255, 0.08);
  border-radius: 4px;
  overflow-wrap: anywhere;
}
.StageColorSquare {
  display: inline-block;
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 2px;
}
.StageColorSquare--empty {
  background: transparent;
  border: 1px solid #d9d9d9;
}
.FunnelStageTreeSelect__overlay .ant-popover-inner {
  padding: 4px;
}
.FunnelStageTreeSelect__tree {
  min-width: 300px;
  max-width: 400px;
  max-height: 360px;
  overflow-y: auto;
  font-size: 12px;
}
.FunnelStageTreeSelect__tree::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
.FunnelStageTreeSelect__tree::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: #b1c4df;
}
.FunnelStageTreeSelect__tree .ant-tree-switcher {
  width: 16px;
  margin-top: 0px;
  height: 20px;
}
.FunnelStageTreeSelect__tree .ant-tree-node-content-wrapper {
  height: 20px !important;
  padding: 0px 4px 0px 4px;
}
.FunnelStageTreeSelect__tree .ant-tree-switcher-noop {
  display: none;
}
.FunnelStageTreeSelect__tree .ant-tree-indent-unit {
  background-color: red !important;
  width: 16px;
}
.FunnelStageTreeSelect__tree .ant-tree-treenode {
  height: 20px !important;
}
.FunnelStageTreeSelect__option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.FunnelStageTreeSelect__option-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.FunnelStageTreeSelect__empty {
  margin: 8px 12px;
  font-size: 12px;
}
.LeadFunnelStages {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.LeadFunnelStages__title {
  margin: 0;
  overflow: hidden;
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
  color: rgba(0, 0, 0, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.LeadFunnelStages__message {
  margin: 0;
  font-size: 11px;
  line-height: 14px;
  color: rgba(0, 0, 0, 0.45);
}
.LeadFunnelStages__list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.LeadFunnelStages__chip {
  display: flex;
  align-items: stretch;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  transition: box-shadow 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}
.LeadFunnelStages__chip:hover {
  filter: brightness(0.97);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
  transform: translateY(-1px);
}
.LeadFunnelStages__chip:hover .LeadFunnelStages__remove:not(:disabled) {
  opacity: 1;
}
.LeadFunnelStages__chip-trigger {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  padding: 2px 4px;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: none;
}
.LeadFunnelStages__chip-trigger:disabled {
  cursor: default;
}
.LeadFunnelStages__funnel-name {
  overflow: hidden;
  font-size: 10px;
  line-height: 10px;
  opacity: 0.75;
  white-space: nowrap;
  text-overflow: ellipsis;
  letter-spacing: -0.25px;
}
.LeadFunnelStages__stage-name {
  overflow: hidden;
  font-size: 12px;
  line-height: 12px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.LeadFunnelStages__remove {
  flex: none;
  align-self: center;
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  margin-right: 4px;
  padding: 0;
  line-height: 1;
  color: inherit;
  border-radius: 2px;
  opacity: 0.85;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}
.LeadFunnelStages__remove:hover:not(:disabled) {
  opacity: 1;
  background: rgba(0, 0, 0, 0.12);
}
.LeadFunnelStages__remove .anticon {
  font-size: 12px !important;
}
.LeadFunnelStages__add {
  width: 100%;
  font-size: 12px;
}

/*# sourceMappingURL=main~11.b39bb311.css.map*/