.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--unread {
  background: #eaf3ff;
  border-color: #d9e8ff;
}
.LeadListItem--unread:hover {
  background: #e2eeff;
  border-color: #d9e8ff;
}
.LeadListItem--selected {
  background: #fff7e6;
  border-color: #ffd591;
}
.LeadListItem--selected:hover {
  background: #fff7e6;
  border-color: #ffd591;
}
.LeadListItem__avatar {
  flex: none;
}
.LeadListItem__content {
  display: block;
  min-width: 0;
}
.LeadListItem__name-row {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding-right: 30px;
}
.LeadListItem__name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  color: rgba(0, 0, 0, 0.88);
}
.LeadListItem__no-answer-dot {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  background: #ff4d4f;
  border-radius: 50%;
}
.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-group {
  position: absolute;
  top: 3px;
  right: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 74px;
}
.LeadListItem__time {
  min-width: 0;
  max-width: 64px;
  overflow: hidden;
  font-size: 10px;
  line-height: 10px;
  color: rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.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 #d9d9d9;
  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 #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
}
.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 {
  position: relative;
  z-index: 0;
  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;
}
.MessageComposer {
  container-type: inline-size;
  container-name: message-composer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.MessageComposer__channel-hint {
  color: rgba(0, 0, 0, 0.65);
  font-size: 11px;
  line-height: 15px;
  overflow-wrap: anywhere;
}
.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-wrapper--no-integrations:hover {
  border-color: #d9d9d9;
}
.MessageComposer__input-wrapper--no-integrations:focus-within {
  border-color: #d9d9d9;
  box-shadow: none;
}
.MessageComposer__toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap-reverse;
  justify-content: space-between;
  gap: 4px 8px;
  min-width: 0;
}
.MessageComposer__toolbar-selectors {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  gap: 8px;
  min-width: 0;
}
.MessageComposer__input-area {
  position: relative;
  min-width: 0;
}
.MessageComposer__input {
  width: 100%;
  padding: 6px 8px;
  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__char-count {
  flex: 0 0 auto;
  font-size: 11px;
  color: rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  user-select: none;
}
.MessageComposer__char-count--limit {
  color: #ff4d4f;
}
.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__actions--end {
  flex: 1 1 auto;
}
.MessageComposer__file-input {
  display: none;
}
.MessageComposer__ai-button.ant-btn:not(:disabled) {
  border-color: #d6c8ff;
  color: #6b4fa3;
}
.MessageComposer__ai-button.ant-btn:not(:disabled):hover, .MessageComposer__ai-button.ant-btn:not(:disabled):focus-visible {
  border-color: #6b4fa3;
  color: #6b4fa3;
  background-color: #f3f0ff;
}
.MessageComposer__ai-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 2px 4px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.2px;
}
.MessageComposer__ai-sparkle {
  position: absolute;
  background-color: currentcolor;
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  animation: MessageComposer-ai-sparkle 2.4s ease-in-out infinite;
}
.MessageComposer__ai-sparkle--top {
  top: -2px;
  right: 0;
  width: 6px;
  height: 6px;
}
.MessageComposer__ai-sparkle--bottom {
  bottom: 0px;
  left: 0;
  width: 4px;
  height: 4px;
  animation-delay: 1.2s;
}
@media (prefers-reduced-motion: reduce) {
  .MessageComposer__ai-sparkle {
    animation: none;
  }
}
.MessageComposer__no-integration-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: inherit;
}
.MessageComposer__no-integration-hint {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  font-size: 11px;
  color: rgba(0, 0, 0, 0.55);
  text-align: center;
  line-height: 1.3;
}
.MessageComposer__no-integration-actions {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  padding: 3px 3px 3px 6px;
}
@media screen and (max-width: 1200px) {
  .MessageComposer {
    gap: 5px;
  }
  .MessageComposer__toolbar {
    gap: 4px 6px;
  }
  .MessageComposer__input-footer {
    gap: 6px;
    padding-right: 4px;
    padding-left: 6px;
  }
  .MessageComposer__actions {
    gap: 5px;
  }
}
@media screen and (max-width: 700px) {
  .MessageComposer__input-footer {
    flex-direction: row;
    align-items: center;
  }
}

@keyframes MessageComposer-ai-sparkle {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.7);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}
.MainFooter {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: none;
  min-width: 0;
  padding: 6px;
  background: #fff;
  border-top: 1px solid #d9d9d9;
}
@media screen and (max-width: 1200px) {
  .MainFooter {
    gap: 5px;
    padding: 6px 10px;
  }
}
@media screen and (max-width: 1000px) {
  .MainFooter {
    gap: 5px;
    padding: 6px 10px;
  }
}
.MainFooter__answer-timer {
  flex: none;
  padding: 5px 8px;
  color: #ad6800;
  font-size: 12px;
  line-height: 16px;
  background: #fff7e6;
  border: 1px solid #ffd591;
  border-radius: 6px;
}
.MainHeader {
  flex: none;
  min-width: 0;
  padding: 6px;
  overflow: hidden;
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
}
.MainHeader__controls {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.MainHeader__button {
  flex: 0 0 auto;
}
.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;
}
.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.888ee4a7.css.map*/