.live-chat-root {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: var(--z-live-chat, 1180);
  font-family: inherit;
}
.live-chat-root[hidden] {
  display: none !important;
}
.live-chat-root button {
  font-family: inherit;
}
.live-chat-root svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.live-chat-root [hidden] {
  display: none !important;
}

.live-chat-fab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 132px;
  height: 48px;
  padding: 0 18px 0 12px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #1d4ed8 0%, #6366f1 48%, #0891b2 100%);
  box-shadow:
    0 14px 32px rgba(37, 99, 235, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 0 24px rgba(56, 189, 248, 0.25);
  transition: transform .22s ease, box-shadow .22s ease;
  overflow: visible;
}
.live-chat-fab:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(37, 99, 235, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.24) inset,
    0 0 32px rgba(56, 189, 248, 0.38);
}
.live-chat-fab__icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}
.live-chat-ai-bot {
  position: relative;
  width: 32px;
  height: 32px;
  animation: live-chat-bot-float 3s ease-in-out infinite;
}
.live-chat-ai-bot__ring {
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: conic-gradient(from 200deg, rgba(56, 189, 248, 0), rgba(56, 189, 248, 0.85), rgba(167, 139, 250, 0.9), rgba(56, 189, 248, 0));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1.5px;
  animation: live-chat-bot-spin 4s linear infinite;
  opacity: 0.9;
}
.live-chat-ai-bot__antenna {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 2px;
  height: 6px;
  margin-left: -1px;
  border-radius: 2px;
  background: linear-gradient(180deg, #67e8f9, #a5b4fc);
}
.live-chat-ai-bot__antenna i {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: #67e8f9;
  box-shadow: 0 0 8px #22d3ee, 0 0 14px rgba(34, 211, 238, 0.6);
  animation: live-chat-bot-pulse 1.8s ease-in-out infinite;
}
.live-chat-ai-bot__head {
  position: absolute;
  inset: 4px 2px 2px;
  border-radius: 10px 10px 9px 9px;
  background: linear-gradient(165deg, #ffffff 0%, #e0f2fe 55%, #dbeafe 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -3px 6px rgba(59, 130, 246, 0.12),
    0 4px 10px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}
.live-chat-ai-bot__faceplate {
  position: absolute;
  left: 4px;
  right: 4px;
  top: 7px;
  height: 11px;
  border-radius: 6px;
  background: linear-gradient(180deg, #0f172a 0%, #1e3a5f 100%);
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.35);
}
.live-chat-ai-bot__eye {
  position: absolute;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 6px #22d3ee, 0 0 10px rgba(34, 211, 238, 0.8);
  animation: live-chat-bot-blink 4.5s infinite;
}
.live-chat-ai-bot__eye.left { left: 8px; }
.live-chat-ai-bot__eye.right { right: 8px; }
.live-chat-ai-bot__mouth {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 10px;
  height: 3px;
  margin-left: -5px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  opacity: 0.85;
}
.live-chat-fab:hover .live-chat-ai-bot {
  animation-duration: 2.2s;
}
@keyframes live-chat-bot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
@keyframes live-chat-bot-spin {
  to { transform: rotate(360deg); }
}
@keyframes live-chat-bot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}
@keyframes live-chat-bot-blink {
  0%, 44%, 46%, 100% { transform: scaleY(1); opacity: 1; }
  45% { transform: scaleY(0.15); opacity: 0.7; }
}
.live-chat-fab__label {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}
.live-chat-fab__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.45);
  animation: live-chat-badge-pop .45s ease;
}
@keyframes live-chat-badge-pop {
  0% { transform: scale(.6); opacity: 0; }
  70% { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}

.live-chat-mascot {
  position: relative;
  width: 46px;
  height: 52px;
  animation: live-chat-float 2.8s ease-in-out infinite;
}
.live-chat-mascot__halo {
  position: absolute;
  inset: -8px -6px auto;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.55), transparent 70%);
  animation: live-chat-halo 2.2s ease-in-out infinite;
}
.live-chat-mascot__face {
  position: absolute;
  left: 8px;
  top: 6px;
  width: 30px;
  height: 26px;
  border-radius: 14px 14px 12px 12px;
  background: linear-gradient(180deg, #fff 0%, #e8f4ff 100%);
  box-shadow: inset 0 -2px 0 rgba(22,119,201,.12);
}
.live-chat-mascot__eye {
  position: absolute;
  top: 10px;
  width: 5px;
  height: 7px;
  border-radius: 50%;
  background: #17334c;
  animation: live-chat-blink 4s infinite;
}
.live-chat-mascot__eye.left { left: 8px; }
.live-chat-mascot__eye.right { right: 8px; }
.live-chat-mascot__mouth {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 10px;
  height: 4px;
  margin-left: -5px;
  border-bottom: 2px solid #3b82c4;
  border-radius: 0 0 8px 8px;
}
.live-chat-mascot__body {
  position: absolute;
  left: 10px;
  bottom: 0;
  width: 26px;
  height: 18px;
  border-radius: 10px 10px 14px 14px;
  background: linear-gradient(180deg, #7dd3fc, #38bdf8);
}
.live-chat-mascot__arm {
  position: absolute;
  bottom: 8px;
  width: 8px;
  height: 14px;
  border-radius: 6px;
  background: #7dd3fc;
}
.live-chat-mascot__arm.left {
  left: 2px;
  transform-origin: top center;
  animation: live-chat-wave-left 2.8s ease-in-out infinite;
}
.live-chat-mascot__arm.right {
  right: 2px;
  transform-origin: top center;
  animation: live-chat-wave-right 2.8s ease-in-out infinite .35s;
}
@keyframes live-chat-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes live-chat-halo {
  0%, 100% { opacity: .45; transform: scale(1); }
  50% { opacity: .9; transform: scale(1.08); }
}
@keyframes live-chat-blink {
  0%, 46%, 48%, 100% { transform: scaleY(1); }
  47% { transform: scaleY(.12); }
}
@keyframes live-chat-wave-left {
  0%, 100% { transform: rotate(12deg); }
  50% { transform: rotate(-18deg); }
}
@keyframes live-chat-wave-right {
  0%, 100% { transform: rotate(-12deg); }
  50% { transform: rotate(18deg); }
}

.live-chat-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-live-chat-panel, 1190);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}
.live-chat-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.live-chat-modal__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(56, 189, 248, .18), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(109, 92, 232, .2), transparent 40%),
    rgba(8, 18, 38, .55);
  backdrop-filter: blur(8px);
}

.live-chat-panel {
  position: relative;
  width: min(980px, calc(100vw - 32px));
  height: min(680px, calc(100vh - 40px));
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(148, 197, 255, .35);
  background: linear-gradient(160deg, rgba(255,255,255,.98) 0%, rgba(240,249,255,.96) 48%, rgba(237,233,254,.94) 100%);
  box-shadow: 0 30px 80px rgba(15, 23, 42, .28), 0 0 0 1px rgba(255,255,255,.5) inset;
  transform: translateY(16px) scale(.98);
  transition: transform .24s ease;
}
.live-chat-modal.is-open .live-chat-panel {
  transform: translateY(0) scale(1);
}

.live-chat-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(148, 163, 184, .22);
  background: linear-gradient(90deg, rgba(22,119,201,.08), rgba(109,92,232,.06));
}
.live-chat-panel__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.live-chat-panel__orb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, #22d3ee, #3b82f6, #8b5cf6, #22d3ee);
  box-shadow: 0 0 24px rgba(56, 189, 248, .45);
  animation: live-chat-orb-spin 6s linear infinite;
}
@keyframes live-chat-orb-spin {
  to { transform: rotate(360deg); }
}
.live-chat-panel__brand strong {
  display: block;
  font-size: 18px;
  color: #0f172a;
}
.live-chat-panel__brand p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #64748b;
}
.live-chat-panel__actions {
  display: flex;
  gap: 8px;
}
.live-chat-icon-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148,163,184,.35);
  border-radius: 10px;
  background: rgba(255,255,255,.8);
  color: #475569;
  cursor: pointer;
  box-shadow: none;
}
.live-chat-icon-btn svg {
  width: 16px;
  height: 16px;
}
.live-chat-icon-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.live-chat-icon-btn:not(:disabled):hover {
  color: #1677c9;
  border-color: rgba(22,119,201,.35);
}

.live-chat-panel__body {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 0;
}

.live-chat-sidebar {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(148,163,184,.2);
  background: rgba(248,250,252,.75);
  min-height: 0;
}
.live-chat-sidebar__search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px;
  padding: 0 12px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,.28);
  background: #fff;
  flex-shrink: 0;
}
.live-chat-sidebar__search input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 13px;
}
.live-chat-sidebar__search svg {
  width: 16px;
  height: 16px;
  color: #94a3b8;
}
.live-chat-contact-list {
  flex: 1;
  overflow: auto;
  padding: 0 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
  align-items: stretch;
}
.live-chat-contact-list .muted {
  margin: 0;
  padding: 24px 12px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
}
.live-chat-contact {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.live-chat-contact:hover {
  background: rgba(255,255,255,.85);
  border-color: rgba(148,163,184,.2);
}
.live-chat-contact.is-active {
  background: linear-gradient(135deg, rgba(22,119,201,.12), rgba(109,92,232,.08));
  border-color: rgba(22,119,201,.25);
  box-shadow: 0 8px 20px rgba(22,119,201,.08);
}
.live-chat-avatar {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  color: #fff;
  background: linear-gradient(145deg, #38bdf8, #6366f1);
}
.live-chat-avatar--msg {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 14px;
}
.live-chat-contact__meta strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
}
.live-chat-contact__meta span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}
.live-chat-contact__badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.live-chat-main {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(248,250,252,.45));
}
.live-chat-main__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 30px;
  text-align: center;
  color: #64748b;
}
.live-chat-main__empty h3 {
  margin: 0;
  color: #0f172a;
}
.live-chat-main__empty p {
  margin: 0;
  max-width: 320px;
  line-height: 1.6;
}
.live-chat-main__empty-art {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(56,189,248,.35), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(139,92,246,.28), transparent 50%),
    rgba(255,255,255,.92);
  border: 1px solid rgba(148,163,184,.22);
  box-shadow: 0 18px 40px rgba(22, 119, 201, .12);
  animation: live-chat-float 3.4s ease-in-out infinite;
}

.live-chat-thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.live-chat-thread__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(148,163,184,.18);
}
.live-chat-thread__peer {
  display: flex;
  align-items: center;
  gap: 10px;
}
.live-chat-thread__peer strong {
  display: block;
  font-size: 15px;
}
.live-chat-thread__peer > div > span {
  display: block;
  font-size: 12px;
  color: #64748b;
}
.live-chat-thread__peer .live-chat-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-sizing: border-box;
}
.live-chat-online-dot {
  font-size: 12px;
  color: #059669;
  font-weight: 700;
}
.live-chat-messages {
  flex: 1;
  overflow: auto;
  padding: 24px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(248,250,252,.15));
}
.live-chat-msg {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 78%;
  width: fit-content;
}
.live-chat-msg.is-self {
  align-self: flex-end;
}
.live-chat-msg.is-peer {
  align-self: flex-start;
}
.live-chat-msg__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
}
.live-chat-msg.is-self .live-chat-msg__row {
  flex-direction: row-reverse;
}
.live-chat-msg__row > .live-chat-avatar {
  flex: 0 0 auto;
  margin-top: 2px;
}
.live-chat-msg__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  width: fit-content;
  max-width: 100%;
}
.live-chat-msg.is-self .live-chat-msg__body {
  align-items: flex-end;
}
.live-chat-msg__bubble {
  width: fit-content;
  max-width: 100%;
  padding: 11px 15px;
  border-radius: 18px;
  line-height: 1.65;
  font-size: 14px;
  white-space: pre-wrap;
  word-break: break-word;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.live-chat-msg.is-peer .live-chat-msg__bubble {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148,163,184,.22);
  color: #1e293b;
  border-top-left-radius: 8px;
}
.live-chat-msg.is-self .live-chat-msg__bubble {
  background: linear-gradient(135deg, #1677c9 0%, #4f46e5 55%, #6366f1 100%);
  color: #fff;
  border-top-right-radius: 8px;
  box-shadow: 0 12px 28px rgba(22,119,201,.24);
}
.live-chat-msg__meta {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.4;
  white-space: nowrap;
}
.live-chat-msg.is-self .live-chat-msg__meta {
  text-align: right;
}
.live-chat-msg__actions {
  position: absolute;
  top: -28px;
  right: 0;
  display: flex;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
  z-index: 1;
}
.live-chat-msg.is-peer .live-chat-msg__actions {
  right: auto;
  left: 0;
}
.live-chat-msg.is-self .live-chat-msg__actions {
  justify-content: flex-end;
}
.live-chat-msg:hover .live-chat-msg__actions,
.live-chat-msg:focus-within .live-chat-msg__actions {
  opacity: 1;
  pointer-events: auto;
}
.live-chat-msg__action {
  height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(148,163,184,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
}
.live-chat-msg__action:hover {
  color: #1677c9;
  border-color: rgba(22,119,201,.35);
}
.live-chat-msg__action.is-danger:hover {
  color: #dc2626;
  border-color: rgba(220,38,38,.35);
}
.live-chat-msg__bubble.is-recalled {
  background: rgba(148,163,184,.12) !important;
  border: 1px dashed rgba(148,163,184,.35) !important;
  color: #94a3b8 !important;
  box-shadow: none !important;
  font-style: italic;
}

.live-chat-composer {
  display: grid;
  gap: 10px;
  padding: 12px 18px 16px;
  border-top: 1px solid rgba(148,163,184,.18);
  background: rgba(255,255,255,.88);
  flex-shrink: 0;
}
.live-chat-composer__input-box {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-height: 44px;
  padding: 6px 8px 6px 12px;
  border: 1px solid rgba(148,163,184,.35);
  border-radius: 12px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.live-chat-composer__input-box:focus-within {
  border-color: #1677c9;
  box-shadow: 0 0 0 3px rgba(22,119,201,.12);
}
.live-chat-composer__actions {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
  margin-bottom: 2px;
}
.live-chat-composer__emoji {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin-bottom: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  box-shadow: none;
}
.live-chat-composer__emoji svg {
  width: 20px;
  height: 20px;
}
.live-chat-composer__emoji:hover,
.live-chat-composer__emoji.is-active {
  color: #1677c9;
  background: rgba(22,119,201,.08);
}
.live-chat-composer__input-box textarea {
  flex: 1;
  width: 100%;
  min-height: 32px;
  max-height: 120px;
  height: auto;
  margin: 0;
  resize: none;
  border: 0;
  border-radius: 0;
  padding: 6px 4px;
  outline: none;
  font-size: 14px;
  line-height: 1.6;
  background: transparent;
  box-shadow: none;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.live-chat-composer__input-box textarea::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.live-chat-composer__input-box textarea:focus {
  border-color: transparent;
  box-shadow: none;
}
.live-chat-composer__send {
  flex: 0 0 auto;
  align-self: flex-end;
  width: 34px;
  height: 34px;
  min-width: 34px;
  margin-bottom: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1677c9, #6366f1);
  box-shadow: 0 8px 18px rgba(22,119,201,.24);
  white-space: nowrap;
}
.live-chat-composer__send svg {
  width: 16px;
  height: 16px;
}
.live-chat-composer__send:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(22,119,201,.3);
}
.live-chat-composer__send:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.live-chat-emoji-toggle.is-active {
  color: #1677c9;
  background: rgba(22,119,201,.08);
}
.live-chat-emoji-panel {
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.live-chat-emoji-tabs {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(148,163,184,.16);
  background: #f8fafc;
}
.live-chat-emoji-tabs button {
  height: 28px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
}
.live-chat-emoji-tabs button.is-active {
  color: #1677c9;
  background: #eff6ff;
  border-color: rgba(22,119,201,.22);
}
.live-chat-emoji-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 4px;
  max-height: 148px;
  overflow: auto;
  padding: 10px;
}
.live-chat-emoji-item {
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  box-shadow: none;
}
.live-chat-emoji-item--text {
  grid-column: span 2;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.live-chat-emoji-item:hover {
  background: #eff6ff;
}

.live-chat-contact-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 12px 0;
  flex-shrink: 0;
}
.live-chat-contact-tabs button {
  flex: 1;
  height: 34px;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 10px;
  background: rgba(255,255,255,.85);
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
}
.live-chat-contact-tabs button.is-active {
  color: #1677c9;
  border-color: rgba(22,119,201,.35);
  background: linear-gradient(180deg, rgba(239,246,255,.95), rgba(219,234,254,.75));
}

.live-chat-root--visitor .live-chat-panel__body {
  grid-template-columns: 1fr;
}
.live-chat-root--visitor .live-chat-sidebar {
  display: none !important;
}
.live-chat-root--visitor .live-chat-main__empty h3,
.live-chat-root--visitor .live-chat-main__empty p {
  display: none;
}
.live-chat-root--visitor .live-chat-thread__head {
  border-bottom: 1px solid rgba(148,163,184,.16);
  background: linear-gradient(180deg, rgba(239,246,255,.85), rgba(255,255,255,.65));
}

@media (max-width: 860px) {
  .live-chat-panel__body {
    grid-template-columns: 1fr;
  }
  .live-chat-sidebar {
    display: none;
  }
  .live-chat-panel.is-mobile-contacts .live-chat-sidebar {
    display: grid;
  }
  .live-chat-panel.is-mobile-contacts .live-chat-main {
    display: none;
  }
}
