.sl-faq-chat {
  margin-block-end: 1.5rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #cbd5e1;
  border-radius: .75rem;
  background: #fff;
  color: #0f172a;
}

.sl-faq-chat__header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.sl-faq-chat h2 { margin: 0; font-size: 1.25rem; }
.sl-faq-chat p { margin: .35rem 0 .75rem; }
.sl-faq-chat label { display: block; font-weight: 650; }
.sl-faq-chat__controls { display: flex; align-items: center; gap: .75rem; margin-top: .45rem; }

.sl-faq-chat input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: .6rem .75rem;
  border: 1px solid #64748b;
  border-radius: .4rem;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 1rem;
}

.sl-faq-chat button {
  min-height: 44px;
  padding: .55rem .95rem;
  border: 1px solid #075985;
  border-radius: .4rem;
  background: #075985;
  color: #fff;
  font: inherit;
  font-weight: 650;
}

.sl-faq-chat button:disabled { opacity: .6; }
.sl-faq-chat :focus-visible { outline: 3px solid #0369a1; outline-offset: 3px; }
.sl-faq-chat a { color: #075985; text-decoration: underline; }
.sl-faq-chat__log {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  max-height: 22rem;
  overflow-y: auto;
  margin: .75rem 0;
  padding: .75rem;
  border: 1px solid #cbd5e1;
  border-radius: .5rem;
  background: #f0f9ff;
}
.sl-faq-chat__bubble {
  align-self: flex-start;
  max-width: min(92%, 42rem);
  padding: .55rem .8rem;
  border-radius: .6rem;
  background: #fff;
  box-shadow: inset 0 0 0 1px #dbeafe;
  overflow-wrap: anywhere;
}
.sl-faq-chat__bubble--you { align-self: flex-end; background: #dbeafe; }
.sl-faq-chat__speaker { font-size: .85rem; font-weight: 700; }
.sl-faq-chat__bubble p { margin: .2rem 0; white-space: pre-line; }
.sl-faq-chat__starters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .75rem; }
.sl-faq-chat .sl-faq-chat__clear,
.sl-faq-chat__starters button {
  background: #fff;
  color: #075985;
  font-size: .875rem;
  border-color: #94a3b8;
}
.sl-faq-chat .sl-faq-chat__status { min-height: 1.5em; margin: .3rem 0 0; font-size: .875rem; }
@media (max-width: 420px) {
  .sl-faq-chat__controls { flex-wrap: wrap; }
}

.sl-faq-launcher[hidden] { display: none; }
.sl-faq-launcher {
  position: fixed;
  z-index: 90;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid #93c5fd;
  border-radius: 50%;
  background: #082f49;
  box-shadow: 0 6px 20px #0004;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.sl-faq-launcher img { display: block; pointer-events: none; }
.sl-faq-launcher.is-dragging { cursor: grabbing; }
.sl-faq-launcher:focus-visible, .sl-faq-dialog :focus-visible {
  outline: 3px solid #0284c7;
  outline-offset: 3px;
}
.sl-faq-move-help {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.sl-faq-dialog {
  position: fixed;
  inset: auto;
  box-sizing: border-box;
  width: min(392px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  margin: 0;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #93c5fd;
  border-radius: .85rem;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 10px 35px #0004;
}
.sl-faq-dialog::backdrop { background: #082f494f; }
.sl-faq-dialog__bar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .25rem .9rem;
  border-bottom: 1px solid #cbd5e1;
  background: #f8fafc;
}
.sl-faq-dialog__bar a { color: #075985; text-decoration: underline; }
.sl-faq-dialog__bar button {
  min-height: 44px;
  padding: .25rem .5rem;
  border: 0;
  background: transparent;
  color: #075985;
  font: inherit;
  font-weight: 650;
}
.sl-faq-dialog .sl-faq-chat { margin: 0; border: 0; border-radius: 0; }
.sl-faq-dialog .sl-faq-chat__log { max-height: min(18rem, 42dvh); }
.sl-faq-dialog .sl-faq-chat__starters button { padding: .35rem .65rem; }
.sl-faq-launcher img { border-radius: .45rem; }
@media (max-width: 720px) {
  .sl-faq-launcher { bottom: max(76px, calc(64px + env(safe-area-inset-bottom))); }
  .sl-faq-dialog .sl-faq-chat__log { max-height: min(13rem, 28dvh); }
}
