.live-chat-launcher {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 9998;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f4d22b;
  color: #17181b;
  box-shadow: 0 12px 30px #00000047;
  cursor: pointer;
  transition: transform .2s ease,filter .2s ease;
}
.live-chat-launcher:hover,.live-chat-launcher:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.05);
}
.live-chat-launcher:focus-visible,.live-chat-close:focus-visible,.live-chat-send:focus-visible,.live-chat-new:focus-visible,.chat-admin-list__item:focus-visible,.chat-admin-panel__compose button:focus-visible,.chat-admin-page__back-link:focus-visible {
  outline: 2px solid var(--pg311,#fff);
  outline-offset: 3px;
}
.live-chat-launcher svg {
  width: 25px;
  height: 25px;
}
.live-chat-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e54848;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  border: 2px solid #202125;
  box-shadow: 0 4px 12px #00000047;
}
.live-chat-launcher.has-new-message {
  animation: liveChatLauncherPulse .45s ease-out;
}
.live-chat-launcher.has-new-message .live-chat-badge {
  box-shadow: 0 0 0 4px #e5484829;
}
@keyframes liveChatLauncherPulse {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}
.chat-admin-list__name .chat-guest-name,.chat-admin-panel__name .chat-guest-name {
  color: var(--pg508,#f4d22b);
}
.live-chat-widget {
  position: fixed;
  right: 28px;
  bottom: 98px;
  z-index: 9999;
  width: min(390px,calc(100vw - 32px));
  height: min(610px,calc(100vh - 130px));
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(244,210,43,.28);
  border-radius: 16px;
  background: var(--pg553,#202125);
  color: var(--pg20,#f4f5f7);
  box-shadow: 0 24px 70px var(--pg554,#0000006b);
}
@media(max-width:760px) {
  body.live-chat-open .live-chat-launcher {
    visibility: hidden;
    pointer-events: none;
  }
}
.live-chat-widget.is-open {
  display: flex;
  animation: liveChatIn .18s ease-out;
}
@keyframes liveChatIn {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.live-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 18px;
  background: var(--pg555,#18191c);
  border-bottom: 1px solid var(--pg127,rgba(255,255,255,.06));
}
.live-chat-header__title {
  margin: 0;
  color: var(--pg508,#f4d22b);
  font-size: 15px;
  font-weight: 700;
}
.live-chat-header__status {
  margin: 3px 0 0;
  color: var(--pg556,#9fa3ad);
  font-size: 11px;
}
.live-chat-close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--pg557,#c9cbd0);
  font-size: 20px;
  cursor: pointer;
}
.live-chat-close:hover {
  background: var(--pg558,#292b30);
  color: var(--pg55,#fff);
}
.live-chat-prechat,.live-chat-conversation {
  flex: 1;
  min-height: 0;
}
.live-chat-prechat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}
.live-chat-prechat h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
}
.live-chat-prechat p {
  margin: 0 0 22px;
  color: var(--pg559,#aeb2bc);
  font-size: 13px;
  line-height: 1.55;
}
.live-chat-field {
  display: grid;
  gap: 7px;
  margin-bottom: 13px;
}
.live-chat-field label {
  color: var(--pg560,#d6d8dd);
  font-size: 12px;
  font-weight: 600;
}
.live-chat-field input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--pg561,#3a3d43);
  border-radius: 8px;
  background: var(--pg558,#292b30);
  color: var(--pg55,#fff);
  outline: none;
}
.live-chat-field input:focus {
  border-color: var(--pg562,#f4d22b);
}
.live-chat-start {
  width: 100%;
  min-height: 43px;
  margin-top: 4px;
  border: 0;
  border-radius: 8px;
  background: #f4d22b;
  color: #17181b;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.live-chat-start:hover {
  filter: brightness(1.05);
}
.live-chat-error {
  order: 2;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: var(--pg563,#ff9a9a);
  font-size: 11px;
  line-height: 1.4;
}
.live-chat-error:not(:empty) {
  margin: 0 11px;
  padding: 9px 11px;
  border: 1px solid rgba(255,120,120,.22);
  border-radius: 8px;
  background: #ff5a5a12;
}
.live-chat-conversation {
  display: none;
  flex-direction: column;
}
.live-chat-conversation.is-active {
  display: flex;
}
.live-chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 15px;
  background: var(--pg553,#202125);
  overscroll-behavior: contain;
  scroll-behavior: smooth;
}
.live-chat-empty {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 30px;
  color: var(--pg564,#888d97);
  font-size: 12px;
  text-align: center;
}
.live-chat-message {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  max-width: min(82%,520px);
  margin-bottom: 12px;
}
.live-chat-message--mine {
  margin-left: auto;
  align-items: flex-end;
}
.live-chat-message__bubble {
  width: fit-content;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 12px 12px 12px 4px;
  background: var(--pg565,#2b2d32);
  color: var(--pg152,#eef0f2);
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.live-chat-message--mine .live-chat-message__bubble {
  border-radius: 12px 12px 4px;
  background: #f4d22b;
  color: #17181b;
}
.live-chat-message__meta {
  margin-top: 4px;
  color: var(--pg566,#7f848e);
  font-size: 10px;
  overflow-wrap: anywhere;
}
.live-chat-message--mine .live-chat-message__meta {
  text-align: right;
}
.live-chat-compose {
  order: 3;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 11px;
  background: var(--pg555,#18191c);
  border-top: 1px solid var(--pg127,rgba(255,255,255,.06));
}
.live-chat-compose textarea {
  flex: 1;
  min-height: 42px;
  max-height: 110px;
  resize: none;
  padding: 11px 12px;
  border: 1px solid var(--pg561,#3a3d43);
  border-radius: 9px;
  background: var(--pg558,#292b30);
  color: var(--pg55,#fff);
  font-size: 13px;
  line-height: 1.4;
  font-family: inherit;
  outline: none;
}
.live-chat-compose textarea:focus {
  border-color: var(--pg562,#f4d22b);
}
.live-chat-compose textarea:disabled {
  opacity: .65;
  cursor: not-allowed;
}
.live-chat-send {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: #f4d22b;
  color: #17181b;
  cursor: pointer;
}
.live-chat-send svg {
  width: 18px;
  height: 18px;
}
.live-chat-send:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.live-chat-new {
  align-self: center;
  margin: 0 12px 10px;
  padding: 9px 14px;
  border: 1px solid var(--pg567,rgba(244,210,43,.55));
  border-radius: 8px;
  background: transparent;
  color: var(--pg508,#f4d22b);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.live-chat-new:hover,.live-chat-new:focus-visible {
  background: #f4d22b1a;
}
.live-chat-new[hidden] {
  display: none;
}
.live-chat-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.chat-admin-page {
  width: min(1440px,calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(28px,4vw,52px) 0 40px;
  flex: 1 0 auto;
}
.chat-admin-page__back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 28px;
  margin: 0 0 12px;
  padding: 0;
  color: var(--pg117,#aeb5bd);
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
  transition: color .18s ease;
}
.chat-admin-page__back-link:hover {
  color: var(--pg508,#f4d22b);
}
.chat-admin-page__back-link:focus-visible {
  outline: 2px solid var(--pg562,#f4d22b);
  outline-offset: 3px;
  border-radius: 3px;
}
.chat-admin-page__heading {
  margin: 0 0 20px;
  color: var(--pg508,#f4d22b);
  font-size: clamp(1.4rem,2vw,1.9rem);
  font-weight: 700;
}
.chat-admin-page__heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.chat-admin-page__subheading {
  margin: 6px 0 0;
  color: var(--pg568,#ffffff94);
  font-size: .92rem;
}
.chat-admin-unread {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--pg335,rgba(255,255,255,.12));
  border-radius: 999px;
  color: var(--pg569,#ffffff9e);
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
}
.chat-admin-unread.is-active {
  border-color: #ffcd0073;
  background: #ffcd001a;
  color: var(--pg570,#ffd400);
}
.chat-admin-layout {
  display: grid;
  grid-template-columns: minmax(280px,350px) minmax(0,1fr);
  height: min(740px,calc(100vh - 230px));
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--pg571,#303238);
  border-radius: 12px;
  background: var(--pg553,#202125);
}
.chat-admin-list {
  overflow-y: auto;
  min-height: 0;
  border-right: 1px solid var(--pg571,#303238);
  background: var(--pg572,#191a1d);
}
.chat-admin-list__toolbar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid var(--pg571,#303238);
  background: var(--pg572,#191a1d);
}
.chat-admin-list__toolbar label {
  align-self: center;
  color: var(--pg573,#b7bac2);
  font-size: 11px;
}
.chat-admin-list__toolbar select,.chat-admin-list__toolbar input {
  min-width: 0;
  min-height: 36px;
  padding: 7px 9px;
  border: 1px solid var(--pg561,#3a3d43);
  border-radius: 6px;
  background: var(--pg574,#25272c);
  color: var(--pg20,#f4f5f7);
  font: inherit;
  font-size: 11px;
}
.chat-admin-list__toolbar input {
  grid-column: 1 / -1;
}
.chat-admin-list__item {
  width: 100%;
  padding: 15px 16px;
  border: 0;
  border-bottom: 1px solid var(--pg575,#292b30);
  background: transparent;
  color: var(--pg55,#fff);
  text-align: left;
  cursor: pointer;
}
.chat-admin-list__item:hover,.chat-admin-list__item.is-active {
  background: var(--pg574,#25272c);
}
.chat-admin-list__top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.chat-admin-list__name {
  font-size: 13px;
  font-weight: 700;
}
.chat-admin-list__role {
  display: inline-flex;
  margin-left: 6px;
  padding: 2px 5px;
  border: 1px solid rgba(244,210,43,.22);
  border-radius: 4px;
  color: var(--pg576,#b9a94c);
  font-size: 9px;
  font-weight: 650;
  vertical-align: middle;
}
.chat-admin-list__time {
  color: var(--pg577,#777c86);
  font-size: 10px;
}
.chat-admin-list__preview {
  margin-top: 6px;
  overflow: hidden;
  color: var(--pg578,#989da7);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-admin-list__badge {
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  padding: 0 5px;
  border-radius: 999px;
  background: #f4d22b;
  color: #17181b;
  font-size: 10px;
  font-weight: 700;
}
.chat-admin-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  min-height: 0;
}
.chat-admin-panel__header {
  position: relative;
  padding: 17px 20px;
  border-bottom: 1px solid var(--pg571,#303238);
  background: var(--pg555,#18191c);
}
.chat-admin-archive {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--pg579,#4a4d54);
  border-radius: 8px;
  background: var(--pg574,#25272c);
  color: var(--pg508,#f4d22b);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.chat-admin-archive:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.chat-admin-panel__name {
  margin: 0;
  color: var(--pg508,#f4d22b);
  font-size: 15px;
  font-weight: 700;
}
.chat-admin-panel__meta {
  margin: 4px 0 0;
  color: var(--pg580,#9297a1);
  font-size: 11px;
}
.chat-admin-panel__messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
}
.chat-admin-panel__empty {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--pg577,#777c86);
  font-size: 13px;
  text-align: center;
}
.chat-admin-panel__messages .live-chat-message {
  max-width: min(82%,620px);
}
.chat-admin-panel__compose {
  display: flex;
  gap: 9px;
  padding: 12px;
  border-top: 1px solid var(--pg571,#303238);
  background: var(--pg555,#18191c);
}
.chat-admin-panel__compose textarea {
  flex: 1;
  min-height: 44px;
  max-height: 120px;
  resize: none;
  padding: 11px 12px;
  border: 1px solid var(--pg561,#3a3d43);
  border-radius: 8px;
  background: var(--pg558,#292b30);
  color: var(--pg55,#fff);
  outline: none;
}
.chat-admin-status {
  margin: 0;
  padding: 0 14px;
  color: var(--pg78,#aab1bb);
  font-size: 12px;
  line-height: 1.4;
}
.chat-admin-status:not([hidden]) {
  padding-top: 9px;
}
.chat-admin-status[data-state=error] {
  color: var(--pg220,#faa);
}
.chat-admin-close {
  padding: 0 14px;
  border: 1px solid var(--pg581,#4b4e55);
  border-radius: 8px;
  background: transparent;
  color: var(--pg582,#cdd0d6);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.chat-admin-delete {
  padding: 0 14px;
  border: 1px solid #b83a3a;
  border-radius: 8px;
  background: transparent;
  color: var(--pg583,#ff8c8c);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.chat-admin-delete:hover:not(:disabled) {
  background: #b83a3a;
  color: #fff;
}
.chat-admin-delete:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.chat-admin-send {
  padding: 0 17px;
  border: 0;
  border-radius: 8px;
  background: #f4d22b;
  color: #17181b;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.chat-admin-send:disabled,.chat-admin-close:disabled,.chat-admin-delete:disabled {
  opacity: .48;
  cursor: not-allowed;
}
@media(max-width:760px) {
  .live-chat-launcher {
    right: 16px;
    bottom: 16px;
  }
  .live-chat-widget {
    right: 16px;
    bottom: 84px;
    height: min(610px,calc(100dvh - 110px));
  }
  .chat-admin-page {
    width: 100%;
    padding: 24px 16px 32px;
  }
  .chat-admin-layout {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }
  .chat-admin-list {
    max-height: 250px;
    border-right: 0;
    border-bottom: 1px solid var(--pg571,#303238);
  }
  .chat-admin-panel {
    height: min(62vh,520px);
    min-height: 380px;
  }
  .chat-admin-panel__compose {
    flex-wrap: wrap;
    gap: 7px;
  }
  .chat-admin-panel__compose textarea {
    flex: 1 0 100%;
  }
  .chat-admin-panel__compose button {
    min-height: 40px;
    flex: 1;
  }
}
@media(max-width:420px) {
  .live-chat-widget {
    right: 8px;
    bottom: max(76px,env(safe-area-inset-bottom));
    width: calc(100vw - 16px);
    height: min(640px,calc(100dvh - 92px));
    border-radius: 13px;
  }
  .live-chat-messages {
    padding: 14px 11px;
  }
  .live-chat-message {
    max-width: 88%;
  }
}
@media(max-width:420px) {
  .live-chat-widget {
    inset: max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom));
    width: auto;
    height: auto;
    max-height: none;
  }
}
@media(prefers-reduced-motion:reduce) {
  .live-chat-launcher,.live-chat-widget {
    animation: none;
    transition: none;
  }
}
.live-chat-conversation--direct,.live-chat-conversation--direct.is-active {
  display: flex;
}
