.live-chat-nav-icon {
  color: #2eb67d;
}

.live-chat-unread,
.live-chat-peer-unread {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  color: #fff;
  background: #e25466;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.live-chat-welcome {
  align-items: center;
}

.live-chat-online-summary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border: 1px solid #cfeee0;
  border-radius: 999px;
  color: #16734f;
  background: #f2fbf7;
  white-space: nowrap;
  font-size: 13px;
}

.live-chat-pulse,
.live-chat-avatar i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2eb67d;
  box-shadow: 0 0 0 4px rgba(46, 182, 125, .13);
}

.live-chat-layout {
  display: grid;
  grid-template-columns: minmax(270px, 340px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.live-chat-support-layout {
  margin-top: 18px;
}

.live-chat-people-panel,
.live-chat-conversation-panel,
.live-chat-threads-panel {
  min-width: 0;
  overflow: hidden;
}

.live-chat-people-panel {
  padding-bottom: 14px;
}

.live-chat-section-label {
  padding: 6px 18px 8px;
  color: #7c8099;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.live-chat-peer-list,
.live-chat-thread-list {
  display: grid;
  gap: 2px;
  padding: 0 10px;
}

.live-chat-peer,
.live-chat-thread {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 11px;
  padding: 11px 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #24253a;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.live-chat-peer:hover,
.live-chat-thread:hover,
.live-chat-peer.active,
.live-chat-thread.active {
  border-color: #dedcff;
  background: #f7f6ff;
}

.live-chat-peer:hover,
.live-chat-thread:hover {
  transform: translateY(-1px);
}

.live-chat-avatar {
  position: relative;
  display: inline-flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #5146d8;
  background: #eceaff;
  font-size: 12px;
  font-weight: 800;
}

.live-chat-avatar i {
  position: absolute;
  right: -1px;
  bottom: 0;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  background: #a7aabd;
  box-shadow: none;
}

.live-chat-avatar.is-online i {
  background: #2eb67d;
}

.live-chat-avatar.large {
  flex-basis: 46px;
  width: 46px;
  height: 46px;
  font-size: 14px;
}

.live-chat-avatar.large i {
  right: 0;
  bottom: 1px;
  width: 12px;
  height: 12px;
}

.live-chat-peer-copy,
.live-chat-thread-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
  flex: 1;
}

.live-chat-peer-copy strong,
.live-chat-thread-copy strong {
  overflow: hidden;
  color: #24253a;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-chat-peer-copy small,
.live-chat-thread-copy small {
  overflow: hidden;
  color: #8588a0;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-chat-peer-arrow {
  color: #9b9eb2;
  font-size: 19px;
}

.live-chat-offline-label {
  margin-top: 12px;
  border-top: 1px solid #f0eff7;
  padding-top: 16px;
}

.live-chat-safety-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 16px 18px 0;
  padding: 11px 12px;
  border-radius: 11px;
  color: #656981;
  background: #fafaff;
  font-size: 11px;
}

.live-chat-safety-note > span {
  color: #2eb67d;
  font-size: 14px;
  font-weight: 800;
}

.live-chat-safety-note strong {
  display: block;
  color: #3e4057;
  font-size: 11px;
}

.live-chat-safety-note p {
  margin: 3px 0 0;
}

.live-chat-conversation-panel {
  display: flex;
  min-height: 510px;
  padding: 0;
}

.live-chat-conversation-head {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 20px 24px;
  border-bottom: 1px solid #efeff6;
}

.live-chat-conversation-head > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.live-chat-conversation-head h3 {
  overflow: hidden;
  margin: 3px 0 2px;
  color: #202135;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-chat-conversation-head p {
  margin: 0;
  color: #83869e;
  font-size: 12px;
}

.live-chat-private-pill {
  align-self: flex-start;
  padding: 7px 10px;
  border-radius: 999px;
  color: #5a50d8;
  background: #f1efff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
}

.live-chat-conversation-panel > .live-chat-conversation-head,
.live-chat-conversation-panel > .live-chat-empty,
.live-chat-conversation-panel > .live-chat-loading {
  width: 100%;
}

.live-chat-conversation-panel {
  flex-direction: column;
}

.live-chat-message-list {
  display: grid;
  align-content: start;
  gap: 13px;
  flex: 1;
  min-height: 260px;
  max-height: 360px;
  overflow-y: auto;
  padding: 20px 24px;
  background: #fdfdff;
}

.live-chat-message {
  max-width: min(75%, 620px);
  padding: 11px 14px;
  border: 1px solid #e8e7f2;
  border-radius: 14px 14px 14px 4px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(48, 46, 88, .04);
}

.live-chat-message.mine {
  justify-self: end;
  border-color: #dcd8ff;
  border-radius: 14px 14px 4px 14px;
  background: #f0eeff;
}

.live-chat-message-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.live-chat-message-meta strong {
  color: #45465b;
  font-size: 11px;
}

.live-chat-message-meta span {
  color: #a1a3b4;
  font-size: 10px;
}

.live-chat-message.is-bot {
  border-style: dashed;
  background: #fbfaff;
}

.live-chat-bot-tag {
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #8a80e0;
  background: #efecff;
  padding: 2px 6px;
  border-radius: 100px;
}

.live-chat-bot-choices {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 10px;
}

.live-chat-bot-choice {
  text-align: left;
  padding: 9px 12px;
  border: 1px solid #ded9ff;
  border-radius: 9px;
  background: #fff;
  color: #4f43bd;
  font-size: 11px;
  font-weight: 600;
  transition: border-color .15s ease, background .15s ease;
}

.live-chat-bot-choice:hover {
  border-color: #b7abff;
  background: #f6f4ff;
}

.support-urgent-alert {
  position: fixed;
  left: 50%;
  top: -120px;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(92vw, 460px);
  padding: 14px 16px;
  border-radius: 14px;
  background: #201b45;
  color: #fff;
  box-shadow: 0 20px 45px rgba(20, 15, 60, .35);
  transition: top .28s ease;
}

.support-urgent-alert.show {
  top: 18px;
}

.support-urgent-alert-icon {
  color: #ff8b6b;
  font-size: 12px;
  flex: 0 0 auto;
  animation: supportUrgentPulse 1.1s ease-in-out infinite;
}

@keyframes supportUrgentPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.support-urgent-alert-copy {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.support-urgent-alert-copy strong {
  font-size: 12px;
}

.support-urgent-alert-copy span {
  font-size: 11px;
  color: #cbc6ef;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-urgent-alert-timer {
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 700;
  color: #ff8b6b;
  flex: 0 0 auto;
}

.support-urgent-alert .primary-button {
  padding: 8px 12px;
  font-size: 11px;
  flex: 0 0 auto;
}

.support-urgent-alert-dismiss {
  color: #9691c4;
  font-size: 18px;
  flex: 0 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  .support-urgent-alert-icon { animation: none; }
}

.live-chat-read-receipt {
  color: #9a9caf;
  font-size: 10px;
  font-weight: 700;
}

.live-chat-read-receipt.is-read {
  color: #2eb67d;
}

.live-chat-message p {
  margin: 0;
  color: #292a40;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.live-chat-composer {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid #efeff6;
  background: #fff;
}

.live-chat-composer textarea {
  min-height: 48px;
  max-height: 120px;
  flex: 1;
  resize: vertical;
}

.live-chat-composer .primary-button {
  flex: 0 0 auto;
}

.live-chat-empty,
.live-chat-empty-messages,
.live-chat-loading {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 240px;
  padding: 28px;
  color: #8588a0;
  text-align: center;
}

.live-chat-empty-icon,
.live-chat-empty-messages > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #5c53dc;
  background: #f0eeff;
}

.live-chat-empty h3,
.live-chat-empty-messages h3 {
  margin: 0;
  color: #3c3d53;
  font-size: 16px;
}

.live-chat-empty p,
.live-chat-empty-messages p {
  max-width: 390px;
  margin: 7px auto 0;
  font-size: 12px;
  line-height: 1.55;
}

.live-chat-threads-panel {
  margin-top: 18px;
  padding-bottom: 12px;
}

.live-chat-thread-list {
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}

.live-chat-thread-copy em {
  overflow: hidden;
  color: #8588a0;
  font-size: 11px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-chat-no-people {
  margin: 8px;
  padding: 12px;
  color: #8588a0;
  font-size: 12px;
}

#liveChatWidgetRoot {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  pointer-events: none;
}

#liveChatWidgetRoot.is-visible > * {
  pointer-events: auto;
}

.live-chat-widget-launcher {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 178px;
  padding: 12px 14px;
  border: 1px solid #dedbff;
  border-radius: 999px;
  color: #282847;
  background: #fff;
  box-shadow: 0 12px 34px rgba(40, 36, 104, .17), 0 2px 8px rgba(40, 36, 104, .08);
  cursor: pointer;
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease;
}

.live-chat-widget-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(40, 36, 104, .22), 0 3px 10px rgba(40, 36, 104, .1);
}

.live-chat-widget-launcher-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: #5c53dc;
  font-size: 12px;
  box-shadow: 0 0 0 5px #f0eeff;
}

.live-chat-widget-launcher > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 2px;
  flex: 1;
}

.live-chat-widget-launcher strong {
  font-size: 13px;
}

.live-chat-widget-launcher small {
  overflow: hidden;
  color: #8588a0;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-chat-widget-launcher b,
.live-chat-widget-person > b {
  display: grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff;
  background: #e25466;
  font-size: 10px;
}

.live-chat-widget-panel {
  display: flex;
  flex-direction: column;
  width: min(390px, calc(100vw - 32px));
  max-height: min(650px, calc(100vh - 48px));
  overflow: hidden;
  border: 1px solid #dedbff;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(31, 28, 82, .24), 0 4px 14px rgba(31, 28, 82, .1);
}

.live-chat-widget-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 19px 16px;
  color: #fff;
  background: linear-gradient(135deg, #332e8f, #6057de);
}

.live-chat-widget-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  color: #d9f9e9;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.live-chat-widget-status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #59e5a8;
  box-shadow: 0 0 0 3px rgba(89, 229, 168, .17);
}

.live-chat-widget-head h2 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -.02em;
}

.live-chat-widget-head p {
  margin: 2px 0 0;
  color: #dbd9ff;
  font-size: 11px;
}

.live-chat-widget-actions {
  display: flex;
  gap: 5px;
}

.live-chat-widget-actions button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.12);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.live-chat-widget-actions button:hover {
  background: rgba(255,255,255,.22);
}

.live-chat-widget-body {
  min-height: 170px;
  overflow-y: auto;
  background: #fcfcff;
}

.live-chat-widget-body-assistant {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: contain;
}

.live-chat-widget-body-assistant .live-chat-ai-message-list {
  min-height: 120px;
  max-height: none;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  overflow-anchor: none;
}

.live-chat-widget-intro {
  padding: 19px 19px 13px;
}

.live-chat-widget-intro h3 {
  margin: 5px 0 3px;
  color: #272741;
  font-size: 17px;
}

.live-chat-widget-intro p {
  margin: 0;
  color: #8588a0;
  font-size: 11px;
  line-height: 1.5;
}

.live-chat-widget-label {
  padding: 9px 18px 6px;
  border-top: 1px solid #eeeefa;
  color: #8b8da2;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
}

.live-chat-widget-people {
  display: grid;
  gap: 2px;
  padding: 0 9px 9px;
}

.live-chat-widget-person {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  min-height: 58px;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #28283f;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.live-chat-widget-person:hover {
  border-color: #dedbff;
  background: #f5f3ff;
}

.live-chat-widget-person > span:nth-child(2),
.live-chat-widget-person .live-chat-thread-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
  flex: 1;
}

.live-chat-widget-person strong {
  overflow: hidden;
  color: #2f3046;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-chat-widget-person small,
.live-chat-widget-person em {
  overflow: hidden;
  color: #8588a0;
  font-size: 10px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-chat-widget-arrow {
  color: #a1a3b4;
  font-size: 18px;
}

.live-chat-widget-back {
  display: inline-flex;
  margin: 12px 17px 0;
  padding: 4px 0;
  border: 0;
  color: #5c53dc;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.live-chat-widget-conversation {
  display: flex;
  flex-direction: column;
}

.live-chat-widget-conversation .live-chat-conversation-head {
  padding: 14px 17px 12px;
  border-bottom: 1px solid #eeeefa;
}

.live-chat-widget-conversation .live-chat-conversation-head h3 {
  font-size: 15px;
}

.live-chat-widget-conversation .live-chat-message-list {
  min-height: 210px;
  max-height: 285px;
  padding: 14px 16px;
}

.live-chat-widget-conversation .live-chat-message {
  max-width: 88%;
  padding: 9px 11px;
}

.live-chat-widget-conversation .live-chat-message p {
  font-size: 12px;
}

.live-chat-widget-conversation .live-chat-composer {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 11px 13px 13px;
}

.live-chat-widget-conversation .live-chat-composer textarea {
  min-height: 45px;
  font-size: 12px;
}

.live-chat-widget-conversation .live-chat-composer .primary-button {
  width: 100%;
}

.live-chat-widget-empty {
  margin: 0;
  padding: 20px 18px 24px;
  color: #8588a0;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .live-chat-layout {
    grid-template-columns: 1fr;
  }

  .live-chat-people-panel {
    order: 1;
  }

  .live-chat-conversation-panel {
    order: 2;
  }

  .live-chat-threads-panel {
    order: 3;
  }
}

@media (max-width: 720px) {
  body.mobile-nav-open #liveChatWidgetRoot {
    z-index: 25;
  }

  #liveChatWidgetRoot {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: auto;
    width: 60px;
    height: 60px;
  }

  /* Clients get a fixed bottom tab bar on mobile (see .mobile-tab-bar) --
     the chat launcher must sit above it, not on top of it. */
  body.is-member #liveChatWidgetRoot {
    bottom: calc(60px + 12px + env(safe-area-inset-bottom));
  }

  .live-chat-widget-launcher {
    position: relative;
    display: grid;
    place-items: center;
    width: 60px;
    min-width: 60px;
    height: 60px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #6c61ed, #4e43c5);
    box-shadow: 0 14px 30px rgba(55, 45, 169, .3), 0 3px 10px rgba(40, 36, 104, .12);
    text-align: center;
    touch-action: none;
    user-select: none;
    cursor: grab;
  }

  .live-chat-widget-launcher:active,
  #liveChatWidgetRoot.is-dragging .live-chat-widget-launcher {
    cursor: grabbing;
  }

  .live-chat-widget-launcher:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(55, 45, 169, .36), 0 4px 12px rgba(40, 36, 104, .15);
  }

  .live-chat-widget-launcher-icon {
    width: 40px;
    height: 40px;
    color: #fff;
    background: rgba(255,255,255,.14);
    font-size: 14px;
    box-shadow: 0 0 0 4px rgba(255,255,255,.12);
  }

  .live-chat-widget-launcher > span:nth-child(2) {
    display: none;
  }

  .live-chat-widget-launcher > b {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    border: 2px solid #fff;
    box-shadow: 0 4px 9px rgba(55, 45, 169, .2);
  }

  .live-chat-widget-panel {
    position: fixed;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    width: auto;
    max-height: calc(100vh - 24px - env(safe-area-inset-bottom));
    border-radius: 18px;
  }

  body.is-member .live-chat-widget-panel {
    bottom: calc(60px + 12px + env(safe-area-inset-bottom));
    max-height: calc(100vh - 84px - env(safe-area-inset-bottom));
  }

  #liveChatWidgetRoot.is-positioned .live-chat-widget-panel {
    position: fixed;
  }

  .live-chat-welcome {
    align-items: flex-start;
    gap: 14px;
  }

  .live-chat-online-summary {
    align-self: flex-start;
    padding: 9px 12px;
    font-size: 11px;
  }

  .live-chat-conversation-head {
    padding: 16px;
  }

  .live-chat-private-pill {
    display: none;
  }

  .live-chat-message-list {
    max-height: 420px;
    padding: 16px;
  }

  .live-chat-message {
    max-width: 88%;
  }

  .live-chat-composer {
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
  }

  .live-chat-composer .primary-button {
    width: 100%;
  }

  .live-chat-thread-list {
    grid-template-columns: 1fr;
  }
}

.live-chat-widget-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 8px 10px 0;
  background: #fff;
  border-bottom: 1px solid #eeeefa;
}

.live-chat-widget-tabs button {
  min-height: 34px;
  padding: 7px 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #8588a0;
  background: transparent;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.live-chat-widget-tabs button.active {
  border-bottom-color: #5c53dc;
  color: #5047c7;
}

.live-chat-widget-tabs button b {
  display: inline-grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  margin-left: 3px;
  padding: 0 4px;
  border-radius: 999px;
  color: #fff;
  background: #e25466;
  font-size: 9px;
}

.live-chat-ai-intro {
  padding: 17px 17px 11px;
  background: linear-gradient(180deg, #fff 0%, #fcfbff 100%);
}

.live-chat-ai-intro h3 {
  margin: 5px 0 4px;
  color: #272741;
  font-size: 16px;
  letter-spacing: -.02em;
}

.live-chat-ai-intro p {
  margin: 0;
  color: #8588a0;
  font-size: 11px;
  line-height: 1.5;
}

.live-chat-ai-context {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 11px;
  padding: 8px 9px;
  border: 1px solid #e5e1ff;
  border-radius: 9px;
  color: #8a86a4;
  background: #f8f7ff;
  font-size: 9px;
}

.live-chat-ai-context strong {
  overflow: hidden;
  color: #5b50c8;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-chat-ai-task-picker {
  margin-top: 9px;
  padding: 9px;
  border: 1px solid #e5e1ff;
  border-radius: 9px;
  background: #fff;
}

.live-chat-ai-task-picker label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  color: #4d4961;
  font-size: 9px;
  font-weight: 800;
}

.live-chat-ai-task-picker label small {
  color: #a09caf;
  font-size: 8px;
  font-weight: 600;
}

.live-chat-ai-task-picker select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 7px 8px;
  border: 1px solid #dedaf2;
  border-radius: 7px;
  color: #4f4a69;
  background: #fbfaff;
  font: inherit;
  font-size: 9px;
}

.live-chat-ai-task-picker p {
  margin-top: 6px;
  color: #9894aa;
  font-size: 8px;
  line-height: 1.4;
}

.live-chat-ai-message-list {
  display: grid;
  align-content: start;
  gap: 10px;
  max-height: 310px;
  overflow-y: auto;
  padding: 13px 15px;
  background: #fcfcff;
}

.live-chat-ai-message {
  max-width: 92%;
  padding: 10px 11px;
  border: 1px solid #e8e7f2;
  border-radius: 12px 12px 12px 4px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(48, 46, 88, .04);
}

.live-chat-ai-message.mine {
  justify-self: end;
  border-color: #ddd8fb;
  border-radius: 12px 12px 4px 12px;
  background: #f0eeff;
}

.live-chat-ai-message-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}

.live-chat-ai-message-meta strong {
  color: #4f4b61;
  font-size: 10px;
}

.live-chat-ai-message-meta span {
  color: #aaa6b2;
  font-size: 8px;
}

.live-chat-ai-message p {
  margin: 0;
  color: #686376;
  font-size: 11px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.live-chat-ai-feedback {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 9px;
  padding-top: 7px;
  border-top: 1px solid #f0eef6;
}

.live-chat-ai-feedback span {
  width: 100%;
  color: #aaa6b2;
  font-size: 8px;
}

.live-chat-ai-feedback button {
  padding: 4px 6px;
  border: 1px solid #e6e3f2;
  border-radius: 6px;
  color: #665bc3;
  background: #fff;
  font-size: 8px;
  cursor: pointer;
}

.live-chat-ai-feedback button:hover {
  border-color: #cfc8ff;
  background: #f8f7ff;
}

.live-chat-ai-feedback button:disabled {
  cursor: default;
  opacity: .55;
}

.live-chat-ai-feedback-saved {
  color: #208964;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.live-chat-ai-empty {
  padding: 19px 10px 16px;
  color: #8588a0;
  text-align: center;
}

.live-chat-ai-empty > span {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  margin: 0 auto 8px;
  border-radius: 50%;
  color: #5c53dc;
  background: #f0eeff;
}

.live-chat-ai-empty strong {
  display: block;
  color: #4b4660;
  font-size: 11px;
}

.live-chat-ai-empty p {
  max-width: 260px;
  margin: 5px auto 0;
  font-size: 10px;
  line-height: 1.45;
}

.live-chat-ai-loading {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 2px 2px;
  color: #8588a0;
  font-size: 10px;
}

.live-chat-ai-loading i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border: 2px solid #e4e0ff;
  border-top-color: #5c53dc;
  border-radius: 50%;
  animation: live-chat-ai-spin .8s linear infinite;
}

@keyframes live-chat-ai-spin {
  to { transform: rotate(360deg); }
}

.live-chat-ai-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0 15px 10px;
  background: #fcfcff;
}

.live-chat-ai-quick button {
  padding: 6px 8px;
  border: 1px solid #e2defa;
  border-radius: 999px;
  color: #6055c5;
  background: #fff;
  font-size: 9px;
  cursor: pointer;
}

.live-chat-ai-quick button:hover {
  border-color: #cfc8ff;
  background: #f5f3ff;
}

.live-chat-ai-composer textarea {
  min-height: 62px;
  max-height: 150px;
}
