/* Native canlı destek dock */
.lc-dock {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2147483002;
  width: min(400px, calc(100vw - 24px));
}
html.lc-native-chat .lc-dock,
.lc-dock:not([hidden]) {
  display: block !important;
  animation: ls-dock-in .22s cubic-bezier(.22, 1, .36, 1);
}
html.lc-native-chat .lc-hours-launcher,
.lc-hours-launcher.is-dock-open {
  opacity: 0;
  pointer-events: none;
}
html.lc-native-chat,
html.lc-native-chat body {
  overflow: hidden !important;
  overscroll-behavior: none;
}
@keyframes ls-dock-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}

.ls-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: min(680px, calc(100vh - 32px));
  background: var(--uc-surface, #161822);
  border: 1px solid color-mix(in srgb, var(--uc-primary, #6366f1) 22%, var(--uc-border, #2a2d3f));
  border-radius: 22px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, .48),
    0 0 0 1px rgba(255, 255, 255, .03) inset;
  overflow: hidden;
}

.ls-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px 14px 16px;
  background:
    radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--uc-primary, #6366f1) 34%, transparent), transparent 62%),
    linear-gradient(180deg, color-mix(in srgb, var(--uc-primary, #6366f1) 12%, var(--uc-surface, #161822)), var(--uc-surface, #161822));
  border-bottom: 1px solid var(--uc-border, #2a2d3f);
}
.ls-head-mark {
  width: 42px; height: 42px; border-radius: 13px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; flex: none;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--uc-primary, #6366f1) 28%, transparent);
}
.ls-head-copy { min-width: 0; flex: 1; }
.ls-head-title { margin: 0; font-size: 1rem; font-weight: 800; letter-spacing: -.02em; }
.ls-head-status {
  margin: 3px 0 0; font-size: .72rem; font-weight: 600;
  color: var(--uc-success, #34d399); display: flex; align-items: center; gap: 6px;
}
.ls-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--uc-success, #34d399);
  display: inline-block; box-shadow: 0 0 0 4px color-mix(in srgb, var(--uc-success, #34d399) 22%, transparent);
  animation: ls-pulse 1.8s ease-out infinite;
}
.ls-dot.is-offline { background: var(--uc-text-3, #8b8fa8); box-shadow: none; animation: none; }
.ls-head-status:has(.ls-dot.is-offline) { color: var(--uc-text-3, #8b8fa8); }
@keyframes ls-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--uc-success, #34d399) 45%, transparent); }
  100% { box-shadow: 0 0 0 8px transparent; }
}
.ls-head-actions { display: flex; gap: 4px; }
.ls-icon-btn {
  width: 32px; height: 32px; border: 0; border-radius: 10px;
  background: color-mix(in srgb, var(--uc-surface-2, #1e2130) 80%, transparent);
  color: var(--uc-text-2, #c5c8d8); cursor: pointer;
  display: grid; place-items: center;
}
.ls-icon-btn:hover { color: var(--uc-text, #fff); background: var(--uc-surface-2, #1e2130); }
.ls-end-btn {
  color: #fca5a5;
}
.ls-end-btn:hover {
  color: #fff; background: #ef4444;
}
.ls-end-btn[hidden] { display: none !important; }
.ls-end-text {
  margin-top: 10px; border: 0; background: transparent; cursor: pointer;
  color: #fca5a5; font: inherit; font-size: .78rem; font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px;
}
.ls-end-text:hover { color: #fecaca; }
.ls-end-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 12;
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-top: 1px solid color-mix(in srgb, #ef4444 28%, var(--uc-border, #2a2d3f));
  background: color-mix(in srgb, #ef4444 12%, var(--uc-surface, #161822));
  backdrop-filter: blur(12px);
}
.ls-end-sheet[hidden] { display: none !important; }
.ls-end-sheet-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ls-end-sheet-copy strong { font-size: .82rem; font-weight: 800; color: #fecaca; }
.ls-end-sheet-copy span { font-size: .72rem; color: var(--uc-text-3, #8b8fa8); line-height: 1.35; }
.ls-end-sheet-actions { display: flex; gap: 6px; flex: none; }
.ls-end-cancel, .ls-end-yes {
  height: 34px; padding: 0 12px; border-radius: 10px; font: inherit; font-size: .75rem;
  font-weight: 800; cursor: pointer; border: 1px solid transparent;
}
.ls-end-cancel {
  background: var(--uc-surface-2, #1e2130); color: var(--uc-text-2, #c5c8d8);
  border-color: var(--uc-border, #2a2d3f);
}
.ls-end-yes { background: #ef4444; color: #fff; }
.ls-end-yes:hover { filter: brightness(1.08); }
.ls-end-yes:disabled { opacity: .6; cursor: wait; }

.ls-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.ls-prechat, .ls-rate { padding: 16px 16px 18px; overflow: auto; }
.ls-hello { margin-bottom: 14px; }
.ls-hello-title {
  margin: 0 0 6px; font-size: 1.12rem; font-weight: 800; letter-spacing: -.03em; color: var(--uc-text, #fff);
}
.ls-hello-text {
  margin: 0 0 10px; color: var(--uc-text-2, #c5c8d8); font-size: .86rem; line-height: 1.5;
}
.ls-hours-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: 99px;
  background: color-mix(in srgb, var(--uc-primary, #6366f1) 14%, var(--uc-surface-2, #1e2130));
  color: var(--uc-primary-text, #a5b4fc); font-size: .72rem; font-weight: 700;
}
.ls-offline-banner {
  margin: 0 0 12px; padding: 9px 11px; border-radius: 12px;
  background: color-mix(in srgb, #f59e0b 12%, var(--uc-surface-2, #1e2130));
  color: #fbbf24; font-size: .78rem; line-height: 1.4;
}
.ls-mute-banner {
  margin: 0 0 12px; padding: 12px 12px 11px; border-radius: 14px;
  background: color-mix(in srgb, #ef4444 14%, var(--uc-surface-2, #1e2130));
  color: #fecaca;
}
.ls-mute-banner[hidden] { display: none !important; }
.ls-mute-banner strong { display: block; font-size: .84rem; color: #fee2e2; }
.ls-mute-banner p { margin: 6px 0 0; font-size: .8rem; line-height: 1.45; color: #fecaca; }
.ls-mute-banner span { display: block; margin-top: 6px; font-size: .72rem; color: #fca5a5; }
#ls-prechat-form.is-hours-locked {
  opacity: .55;
  pointer-events: none;
  filter: grayscale(.15);
}
#ls-start-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.ls-identity {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; margin-bottom: 14px; border-radius: 14px;
  background: var(--uc-surface-2, #1e2130);
  border: 1px solid var(--uc-border, #2a2d3f);
}
.ls-identity-ava {
  width: 40px; height: 40px; border-radius: 12px; object-fit: cover; flex: none;
  background: var(--uc-surface, #161822);
}
.ls-identity-ava--fallback {
  display: grid; place-items: center; font-weight: 800; color: #fff;
  background: var(--uc-primary, #6366f1);
}
.ls-identity-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.ls-identity-copy strong {
  font-size: .86rem; font-weight: 800; color: var(--uc-text, #fff);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ls-identity-copy span {
  font-size: .72rem; color: var(--uc-text-3, #8b8fa8);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ls-identity-badge {
  flex: none; height: 22px; padding: 0 8px; border-radius: 99px;
  background: color-mix(in srgb, var(--uc-success, #34d399) 16%, transparent);
  color: var(--uc-success, #34d399); font-size: .66rem; font-weight: 800;
  display: inline-flex; align-items: center;
}

.ls-guest-grid {
  display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 4px;
}
.ls-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }
.ls-field label, .ls-label {
  font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--uc-text-3, #8b8fa8);
}
.ls-field input, .ls-field textarea {
  width: 100%; border: 1px solid var(--uc-border, #2a2d3f); background: var(--uc-surface-2, #1e2130);
  color: var(--uc-text, #fff); border-radius: 12px; padding: 11px 12px; font: inherit; font-size: .9rem;
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.ls-field input:focus, .ls-field textarea:focus {
  border-color: var(--uc-primary, #6366f1);
  box-shadow: 0 0 0 4px var(--uc-primary-ring, color-mix(in srgb, var(--uc-primary, #6366f1) 22%, transparent));
}
.ls-field textarea { min-height: 88px; resize: vertical; line-height: 1.45; }

.ls-topics { display: flex; flex-wrap: wrap; gap: 7px; }
.ls-topic {
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 11px; border-radius: 99px; cursor: pointer;
  border: 1px solid var(--uc-border, #2a2d3f);
  background: var(--uc-surface-2, #1e2130); color: var(--uc-text-2, #c5c8d8);
  font: inherit; font-size: .78rem; font-weight: 700;
}
.ls-topic i { font-size: .72rem; opacity: .8; }
.ls-topic:hover { color: var(--uc-text, #fff); border-color: var(--uc-border-strong, #3a3e55); }
.ls-topic.is-active {
  color: #fff; border-color: transparent;
  background: var(--uc-primary, #6366f1);
  box-shadow: 0 6px 14px color-mix(in srgb, var(--uc-primary, #6366f1) 32%, transparent);
}
.ls-topic.is-active i { opacity: 1; }

.ls-error { color: #f87171; font-size: .8rem; margin: 0 0 8px; }
.ls-btn {
  height: 46px; width: 100%; border: 0; border-radius: 13px; font-weight: 800; cursor: pointer;
  background: linear-gradient(180deg, color-mix(in srgb, var(--uc-primary, #6366f1) 92%, #fff), var(--uc-primary, #6366f1));
  color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--uc-primary, #6366f1) 28%, transparent);
}
.ls-btn:hover { filter: brightness(1.06); }
.ls-btn:disabled { opacity: .65; cursor: wait; filter: none; }
.ls-btn.is-loading span, .ls-btn.is-loading i { visibility: hidden; }
.ls-btn.is-loading::after {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  position: absolute; animation: ls-spin .7s linear infinite;
}
.ls-btn { position: relative; }
@keyframes ls-spin { to { transform: rotate(360deg); } }
.ls-hint { font-size: .75rem; color: var(--uc-text-3, #8b8fa8); margin-top: 8px; }

.ls-thread-wrap { flex: 1; min-height: 0; display: flex; flex-direction: column; background:
  radial-gradient(80% 50% at 100% 0%, color-mix(in srgb, var(--uc-primary, #6366f1) 8%, transparent), transparent 60%);
}
.ls-messages { flex: 1; min-height: 0; overflow: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.ls-msg { display: flex; flex-direction: column; max-width: 84%; }
.ls-msg--visitor { align-self: flex-end; }
.ls-msg--agent, .ls-msg--system { align-self: flex-start; }
.ls-msg-meta { display: flex; align-items: center; gap: 8px; margin: 0 4px 4px; }
.ls-msg-from {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .68rem; font-weight: 800; letter-spacing: .02em;
  color: #86efac;
}
.ls-msg-from i { font-size: .62rem; }
.ls-msg-bubble {
  padding: 9px 12px; border-radius: 16px; font-size: .88rem; line-height: 1.45;
  background: var(--uc-surface-2, #1e2130); color: var(--uc-text, #fff);
}
.ls-msg--visitor .ls-msg-bubble {
  background: var(--uc-primary, #6366f1); color: #fff; border-bottom-right-radius: 5px;
}
.ls-msg--agent .ls-msg-bubble {
  border-bottom-left-radius: 5px;
  background: color-mix(in srgb, #10b981 16%, var(--uc-surface-2, #1e2130));
  border: 1px solid color-mix(in srgb, #34d399 28%, transparent);
}
.ls-msg--system { max-width: 100%; align-items: center; }
.ls-msg--system .ls-msg-bubble {
  background: color-mix(in srgb, var(--uc-surface-2, #1e2130) 70%, transparent);
  color: var(--uc-text-3, #8b8fa8); font-size: .75rem; text-align: center; padding: 6px 10px;
  border-radius: 99px;
}
.ls-msg-time { font-size: .65rem; color: var(--uc-text-3, #8b8fa8); margin: 0 6px 3px; }
.ls-msg--visitor .ls-msg-time { align-self: flex-end; }
.ls-msg-file { display: block; margin-top: 6px; color: inherit; }
.ls-msg-file img { max-width: 220px; border-radius: 10px; display: block; }

.ls-typing {
  padding: 0 16px 10px; font-size: .75rem; color: var(--uc-text-3, #8b8fa8);
  display: flex; align-items: center; gap: 8px;
}
.ls-typing-dots { display: inline-flex; gap: 3px; }
.ls-typing-dots i {
  width: 5px; height: 5px; border-radius: 50%; background: var(--uc-text-3, #8b8fa8);
  animation: ls-dot 1s ease-in-out infinite;
}
.ls-typing-dots i:nth-child(2) { animation-delay: .15s; }
.ls-typing-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes ls-dot {
  0%, 80%, 100% { opacity: .3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

.ls-wait {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 16px 16px; text-align: center;
  border-top: 1px solid var(--uc-border, #2a2d3f);
  background: color-mix(in srgb, var(--uc-surface, #161822) 92%, #000);
}
.ls-wait[hidden] { display: none !important; }
.ls-wait-spin {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--uc-primary, #6366f1) 28%, transparent);
  border-top-color: var(--uc-primary, #6366f1);
  animation: ls-spin .8s linear infinite;
}
.ls-wait strong { font-size: .86rem; }
.ls-wait p { margin: 0; font-size: .75rem; color: var(--uc-text-3, #8b8fa8); line-height: 1.4; }
.ls-dot.is-wait { background: #fbbf24; box-shadow: 0 0 0 4px rgba(251, 191, 36, .18); }
#ls-composer[hidden] { display: none !important; }
.ls-compose-box {
  position: relative; flex: none;
  border-top: 1px solid color-mix(in srgb, var(--uc-border, #2a2d3f) 80%, transparent);
  background: color-mix(in srgb, var(--uc-surface, #161822) 94%, #000);
}
.ls-composer {
  display: flex; gap: 8px; padding: 10px 12px 12px;
  align-items: flex-end;
}
.ls-composer-field {
  flex: 1; min-width: 0; display: flex; align-items: flex-end; gap: 6px;
  padding: 4px 4px 4px 14px;
  border-radius: 22px;
  background: var(--uc-surface-2, #1e2130);
  border: 1px solid var(--uc-border, #2a2d3f);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.ls-composer-field:focus-within {
  border-color: var(--uc-primary, #6366f1);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--uc-primary, #6366f1) 18%, transparent);
}
.ls-attach {
  position: absolute; left: 8px; right: 8px; bottom: calc(100% + 8px);
  display: block; z-index: 5; padding: 0; border: 0; background: transparent;
}
.ls-attach[hidden] { display: none !important; }
.ls-attach-sheet {
  padding: 12px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--uc-surface, #161822) 72%, #0b0c12);
  border: 1px solid color-mix(in srgb, var(--uc-primary, #6366f1) 22%, var(--uc-border, #2a2d3f));
  box-shadow: 0 22px 50px rgba(0, 0, 0, .5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: ls-attach-in .2s cubic-bezier(.22, 1, .36, 1);
}
@keyframes ls-attach-in {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.ls-attach-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  padding: 0 4px 10px;
}
.ls-attach-head strong {
  font-size: .78rem; font-weight: 800; letter-spacing: -.02em; color: var(--uc-text, #fff);
}
.ls-attach-head span { font-size: .68rem; font-weight: 600; color: var(--uc-text-3, #8b8fa8); }
.ls-attach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ls-attach-opt {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  border: 1px solid var(--uc-border, #2a2d3f);
  background: color-mix(in srgb, var(--uc-surface-2, #1e2130) 80%, transparent);
  color: var(--uc-text, #fff);
  font: inherit; cursor: pointer; padding: 12px 8px 10px; border-radius: 16px;
  transition: transform .14s ease, border-color .14s ease, background .14s ease;
}
.ls-attach-opt:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--uc-primary, #6366f1) 45%, var(--uc-border, #2a2d3f));
  background: color-mix(in srgb, var(--uc-primary, #6366f1) 10%, var(--uc-surface-2, #1e2130));
}
.ls-attach-opt:focus-visible {
  outline: 2px solid var(--uc-primary, #6366f1); outline-offset: 2px;
}
.ls-attach-ico {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.05rem; color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .22);
}
.ls-attach-ico--img { background: linear-gradient(160deg, #818cf8, #6366f1 55%, #7c3aed); }
.ls-attach-ico--cam { background: linear-gradient(160deg, #22d3ee, #2563eb); }
.ls-attach-ico--file { background: linear-gradient(160deg, #fb7185, #ef4444 60%, #f59e0b); }
.ls-attach-copy { display: flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1.2; }
.ls-attach-copy b { font-size: .72rem; font-weight: 800; letter-spacing: -.02em; }
.ls-attach-copy small { font-size: .58rem; font-weight: 600; color: var(--uc-text-3, #8b8fa8); }
.ls-composer .ls-icon-btn {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  background: var(--uc-surface-2, #1e2130);
  border: 1px solid var(--uc-border, #2a2d3f);
  color: var(--uc-text-2, #c5c8d8);
  transition: transform .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}
.ls-composer .ls-icon-btn:hover {
  color: #fff; border-color: var(--uc-primary, #6366f1);
}
.ls-icon-btn.is-on {
  background: var(--uc-primary, #6366f1); color: #fff; border-color: transparent;
  transform: rotate(45deg);
}
.ls-preview {
  display: flex; gap: 8px; padding: 10px 12px 0; overflow-x: auto;
}
.ls-preview[hidden] { display: none !important; }
.ls-preview-item {
  position: relative; width: 72px; height: 72px; flex: none; overflow: hidden;
  border-radius: 16px; background: var(--uc-surface-2, #1e2130);
  border: 1px solid var(--uc-border, #2a2d3f);
}
.ls-preview-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ls-preview-doc {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; gap: 4px; padding: 6px; text-align: center;
  font-size: .58rem; font-weight: 700; color: #fecaca; line-height: 1.2;
}
.ls-preview-doc i { font-size: 1.1rem; color: #f87171; }
.ls-preview-x {
  position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border: 0;
  border-radius: 50%; background: rgba(0,0,0,.72); color: #fff; cursor: pointer;
  display: grid; place-items: center; font-size: .7rem; line-height: 1;
}
.ls-preview-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: rgba(255,255,255,.12);
}
.ls-preview-bar i { display: block; height: 100%; width: 0; background: #818cf8; }
.ls-drop {
  position: absolute; inset: auto 8px 100%; margin-bottom: 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 88px; padding: 12px; border-radius: 18px; z-index: 6;
  border: 1.5px dashed color-mix(in srgb, var(--uc-primary, #6366f1) 55%, transparent);
  background: color-mix(in srgb, var(--uc-primary, #6366f1) 16%, var(--uc-surface, #161822));
  color: #c7d2fe; text-align: center;
}
.ls-drop[hidden] { display: none !important; }
.ls-drop i { font-size: 1.2rem; }
.ls-drop strong { font-size: .82rem; }
.ls-drop span { font-size: .68rem; color: var(--uc-text-3, #8b8fa8); }
.ls-composer textarea {
  flex: 1; min-width: 0; min-height: 34px; max-height: 110px; resize: none;
  border: 0; background: transparent;
  color: var(--uc-text, #fff); padding: 8px 0; font: inherit; font-size: .9rem;
  outline: none; line-height: 1.4;
}
.ls-composer .ls-send {
  width: 36px; height: 36px; flex: none; border-radius: 50%;
  border: 0; background: var(--uc-surface, #161822); color: var(--uc-text-3, #8b8fa8);
  cursor: pointer; display: grid; place-items: center;
  transition: background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.ls-send.is-ready {
  background: var(--uc-primary, #6366f1); color: #fff;
  box-shadow: 0 8px 16px color-mix(in srgb, var(--uc-primary, #6366f1) 30%, transparent);
}
.ls-send.is-ready:hover { filter: brightness(1.08); transform: translateY(-1px); }

.ls-rate-hero { text-align: center; margin-bottom: 4px; }
.ls-rate-ico {
  width: 52px; height: 52px; border-radius: 16px; margin: 4px auto 12px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--uc-primary, #6366f1) 18%, transparent);
  color: #a5b4fc; font-size: 1.15rem;
}
.ls-rate-thanks .ls-rate-ico {
  background: color-mix(in srgb, var(--uc-success, #34d399) 18%, transparent);
  color: var(--uc-success, #34d399);
}
.ls-rate p { margin: 0; color: var(--uc-text, #fff); font-size: 1.05rem; font-weight: 800; }
.ls-rate-sub { display: block; margin-top: 6px; font-size: .78rem; color: var(--uc-text-3, #8b8fa8); font-weight: 500; line-height: 1.4; }
.ls-stars { display: flex; gap: 8px; justify-content: center; margin: 18px 0 8px; }
.ls-stars button {
  width: 44px; height: 44px; border-radius: 13px; border: 1px solid var(--uc-border, #2a2d3f);
  background: var(--uc-surface-2, #1e2130); color: #6b7085; font-size: 1.15rem; cursor: pointer;
  transition: transform .12s ease, background .12s ease, color .12s ease;
}
.ls-stars button:hover { transform: translateY(-2px); color: #fbbf24; }
.ls-stars button.is-on { background: color-mix(in srgb, #fbbf24 18%, var(--uc-surface-2, #1e2130)); color: #fbbf24; border-color: rgba(251,191,36,.35); }
.ls-rate-label { text-align: center; font-size: .82rem; font-weight: 700; color: #fbbf24; min-height: 1.2em; margin: 0 0 12px !important; }
.ls-rate-reasons { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 0 0 14px; }
.ls-rate-reasons[hidden] { display: none !important; }
.ls-rate-chip {
  height: 30px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--uc-border, #2a2d3f);
  background: transparent; color: var(--uc-text-2, #c5c8d8); font: inherit; font-size: .72rem; font-weight: 700; cursor: pointer;
}
.ls-rate-chip.is-on { background: color-mix(in srgb, var(--uc-primary, #6366f1) 22%, transparent); border-color: transparent; color: #c7d2fe; }
.ls-rate .ls-btn { width: 100%; margin-top: 4px; }
.ls-rate .ls-btn:disabled { opacity: .45; cursor: not-allowed; }
.ls-rate-thanks { text-align: center; }
html:not(.lc-native-chat) #livechat-hours-launcher {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
html:not(.lc-native-chat) #livechat-hours-fab {
  display: inline-flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.lc-hours-overlay {
  pointer-events: none;
}
.lc-hours-overlay.is-open {
  pointer-events: auto;
}
.lc-hours-fab-icon--brand { display: none; }
.lc-hours-fab-icon--help {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  place-items: center;
  background: var(--uc-primary, #6366f1);
  color: #fff;
  font-size: 1rem;
}
.lc-hours-fab-title-short { display: none; }
.ls-unread {
  position: absolute; top: -6px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 99px; background: #ef4444; color: #fff; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

@media (max-width: 991px) {
  .lc-hours-launcher {
    display: flex !important;
    right: max(12px, env(safe-area-inset-right, 0px)) !important;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px) + 12px) !important;
    gap: 0;
  }
  .lc-hours-tip { display: none !important; }
  .lc-hours-fab {
    width: auto !important;
    height: auto !important;
    min-height: 44px !important;
    padding: 4px 10px 4px 4px !important;
    gap: 7px !important;
    border-radius: 99px !important;
    justify-content: flex-start !important;
  }
  .lc-hours-fab-icon--brand { display: none !important; }
  .lc-hours-fab-icon--help {
    display: grid !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50%;
    place-items: center;
    background: var(--uc-primary, #6366f1);
    color: #fff;
    font-size: .85rem;
  }
  .lc-hours-fab-copy {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1.15;
  }
  .lc-hours-fab-title-short { display: none !important; }
  .lc-hours-fab-title {
    display: block !important;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    white-space: nowrap;
  }
  .lc-hours-fab-status {
    display: block !important;
    font-size: .6rem !important;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.15;
    white-space: nowrap;
  }
  .lc-hours-fab-dot {
    position: static;
    width: 8px;
    height: 8px;
    margin: 0 0 0 2px;
    border: 0;
    flex: none;
    align-self: center;
  }
  .lc-dock {
    inset: 0; width: auto; right: 0; bottom: 0; left: 0; padding: 0;
  }
  .ls-card {
    height: 100%;
    height: 100dvh;
    border-radius: 0;
    max-height: none;
  }
  html.lc-native-chat .uc-bottom-nav { display: none; }
  .ls-composer {
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .ls-wait {
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .ls-end-sheet {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    left: 8px;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    padding: 16px 16px 14px;
    border-radius: 18px;
    border: 1px solid color-mix(in srgb, #ef4444 28%, var(--uc-border, #2a2d3f));
    box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
  }
  .ls-card.is-ending::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 11;
    background: rgba(8, 10, 16, .48);
    pointer-events: none;
  }
  .ls-end-sheet-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .ls-end-cancel, .ls-end-yes {
    height: 44px;
    width: 100%;
    font-size: .86rem;
    border-radius: 12px;
  }
  .ls-guest-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .ls-guest-grid { grid-template-columns: 1fr; }
}
