#slotly-chat {
  --chat-ink: #1b2924;
  --chat-muted: #66746e;
  --chat-line: #d9e2dc;
  --chat-paper: #fbfaf7;
  --chat-brand: var(--brand, #1f3b34);
  --chat-brand-deep: color-mix(in srgb, var(--chat-brand) 78%, #10231d);
  --chat-accent: #cf9d5a;
  --chat-success: #347553;
  position: fixed;
  z-index: 1000;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  color: var(--chat-ink);
  font: 14px/1.5 Manrope, system-ui, sans-serif;
}

#slotly-chat *,
#slotly-chat *::before,
#slotly-chat *::after {
  box-sizing: border-box;
}

#slotly-chat button,
#slotly-chat input,
#slotly-chat textarea {
  font: inherit;
}

.chat-launch {
  --chat-brand: var(--brand, #1f3b34);
  --chat-brand-deep: color-mix(in srgb, var(--chat-brand) 78%, #10231d);
  --chat-accent: #cf9d5a;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  border: 1px solid color-mix(in srgb, var(--chat-brand) 70%, white);
  border-radius: 999px;
  padding: 0 20px 0 12px;
  color: #fff;
  background: var(--chat-brand);
  box-shadow: 0 8px 24px #172d2552;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.chat-launch:hover {
  background: var(--chat-brand-deep);
}

#slotly-chat .chat-avatar,
#slotly-chat .chat-message-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  font-family: Georgia, serif;
}

.chat-launch__icon {
  width: 32px;
  height: 32px;
  color: #f6dfbb;
  background: #ffffff1a;
  font-size: 18px;
}

#slotly-chat .chat-panel {
  position: absolute;
  right: 0;
  bottom: 68px;
  display: flex;
  flex-direction: column;
  width: min(410px, calc(100vw - 32px));
  height: min(690px, calc(100dvh - 112px));
  overflow: hidden;
  border: 1px solid #d0d8d2;
  border-radius: 20px;
  background: var(--chat-paper);
  box-shadow: 0 24px 72px #10251f42;
}

#slotly-chat .chat-panel[hidden] {
  display: none;
}

#slotly-chat .chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 18px;
  color: #fff;
  background: var(--chat-brand);
}

#slotly-chat .chat-header__identity {
  display: flex;
  align-items: center;
  gap: 11px;
}

#slotly-chat .chat-avatar {
  width: 42px;
  height: 42px;
  border: 1px solid #ffffff5c;
  color: #f4d9ad;
  background: #ffffff17;
  font-size: 20px;
  font-weight: 700;
}

#slotly-chat .chat-header strong,
#slotly-chat .chat-header small {
  display: block;
}

#slotly-chat .chat-header strong {
  font-size: 15px;
  line-height: 1.3;
}

#slotly-chat .chat-header small {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  color: #e5eee9;
  font-size: 11px;
}

#slotly-chat .chat-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a9d9ad;
}

#slotly-chat .chat-close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #ffffff45;
  border-radius: 50%;
  color: #fff;
  background: #ffffff12;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

#slotly-chat .chat-close:hover {
  background: #ffffff24;
}

#slotly-chat .chat-welcome {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 18px 13px;
  border-bottom: 1px solid var(--chat-line);
  background: #f2efe7;
}

#slotly-chat .chat-welcome strong {
  color: #273a32;
  font-size: 15px;
}

#slotly-chat .chat-welcome span {
  color: #5b6962;
  font-size: 12px;
}

#slotly-chat .chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 17px 14px;
  overscroll-behavior: contain;
  background: var(--chat-paper);
  scroll-behavior: smooth;
}

#slotly-chat .chat-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0 0 15px;
}

#slotly-chat .chat-row--guest {
  justify-content: flex-end;
}

#slotly-chat .chat-message-avatar {
  width: 26px;
  height: 26px;
  color: var(--chat-brand);
  background: #e6ebe5;
  font-size: 13px;
  font-weight: 700;
}

#slotly-chat .chat-message-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: min(88%, 330px);
}

#slotly-chat .chat-row--guest .chat-message-wrap {
  align-items: flex-end;
}

#slotly-chat .chat-message {
  width: fit-content;
  max-width: 100%;
  border: 1px solid #dbe3dd;
  border-radius: 16px 16px 16px 5px;
  padding: 11px 13px;
  color: #29362f;
  background: #fff;
  box-shadow: 0 2px 5px #2033290b;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

#slotly-chat .chat-guest {
  border-color: var(--chat-brand);
  border-radius: 16px 16px 5px 16px;
  color: #fff;
  background: var(--chat-brand);
}

#slotly-chat .chat-message-copy {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

#slotly-chat .chat-card-title {
  display: block;
  margin-bottom: 6px;
  color: var(--chat-brand);
  font-size: 12px;
  font-weight: 800;
}

#slotly-chat .chat-review-list,
#slotly-chat .chat-detail-list {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid #e7ece8;
  list-style: none;
}

#slotly-chat .chat-review-list li {
  padding: 7px 9px;
  border-radius: 8px;
  color: #33463c;
  background: #f2f5f1;
  font-size: 12px;
}

#slotly-chat .chat-detail-list li {
  color: #43534b;
  font-size: 12px;
}

#slotly-chat .chat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

#slotly-chat .chat-action {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 36px;
  border: 1px solid #b6c5ba;
  border-radius: 10px;
  padding: 8px 11px;
  color: #244737;
  background: #fff;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

#slotly-chat .chat-action:hover,
#slotly-chat .chat-action:focus-visible {
  border-color: var(--chat-brand);
  color: #fff;
  background: var(--chat-brand);
}

#slotly-chat .chat-action small {
  color: var(--chat-muted);
  font-size: 10px;
  font-weight: 550;
}

#slotly-chat .chat-options--services,
#slotly-chat .chat-options--staff,
#slotly-chat .chat-options--appointments {
  display: grid;
  width: 100%;
}

#slotly-chat .chat-options--slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

#slotly-chat .chat-action--card {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border-color: #c7d2ca;
  background: #fff;
}

#slotly-chat .chat-options--slots .chat-action--card {
  align-items: center;
  justify-content: center;
  min-height: 46px;
  text-align: center;
}

#slotly-chat .chat-action:hover small,
#slotly-chat .chat-action:focus-visible small {
  color: #e4ece7;
}

#slotly-chat .chat-action:disabled,
#slotly-chat button:disabled {
  opacity: 0.55;
  cursor: wait;
}

#slotly-chat .chat-timestamp {
  margin: 4px 2px 0;
  color: #748179;
  font-size: 10px;
}

#slotly-chat .chat-row--guest .chat-timestamp {
  text-align: right;
}

#slotly-chat .chat-date-form,
#slotly-chat .chat-start {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

#slotly-chat .chat-date-form label,
#slotly-chat .chat-start label {
  display: grid;
  gap: 5px;
  color: #45554c;
  font-size: 11px;
  font-weight: 750;
}

#slotly-chat .chat-start input,
#slotly-chat .chat-date-form input,
#slotly-chat .chat-compose textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #c3cec6;
  border-radius: 10px;
  outline: none;
  padding: 10px 11px;
  color: var(--chat-ink);
  background: #fff;
}

#slotly-chat .chat-start input:focus,
#slotly-chat .chat-date-form input:focus,
#slotly-chat .chat-compose textarea:focus {
  border-color: var(--chat-brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--chat-brand) 17%, transparent);
}

#slotly-chat .chat-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  background: var(--chat-brand);
  font-weight: 800;
  cursor: pointer;
}

#slotly-chat .chat-primary-action:hover {
  background: var(--chat-brand-deep);
}

#slotly-chat .chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 3px 0 12px 34px;
  color: var(--chat-muted);
}

#slotly-chat .chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #73847a;
}

#slotly-chat .chat-typing small {
  margin-left: 5px;
  font-size: 11px;
}

#slotly-chat .chat-error {
  margin: 8px 0 12px 34px;
  border: 1px solid #e9c6b9;
  border-radius: 10px;
  padding: 9px 11px;
  color: #792f22;
  background: #fff1e9;
  font-size: 12px;
}

#slotly-chat .chat-empty {
  display: grid;
  justify-items: start;
  gap: 8px;
  max-width: 290px;
  margin: 18px auto 20px;
  border: 1px solid #dbe3dd;
  border-radius: 16px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 5px 18px #2033290b;
}

#slotly-chat .chat-empty-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: #785427;
  background: #f3e8d7;
  font-size: 18px;
}

#slotly-chat .chat-empty strong {
  color: #263b31;
  font-size: 14px;
}

#slotly-chat .chat-empty p,
#slotly-chat .chat-entry-intro {
  margin: 0;
  color: #627067;
  font-size: 12px;
  line-height: 1.55;
}

#slotly-chat .chat-entry {
  padding: 12px 14px 10px;
  border-top: 1px solid var(--chat-line);
  background: #fff;
}

#slotly-chat .chat-start {
  margin-top: 0;
}

#slotly-chat .chat-start .chat-primary-action {
  width: 100%;
  margin-top: 2px;
}

#slotly-chat .chat-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
}

#slotly-chat .chat-compose textarea {
  min-height: 42px;
  max-height: 120px;
  resize: none;
  font-size: 13px;
}

#slotly-chat .chat-compose button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  align-self: end;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--chat-brand);
  font-size: 23px;
  font-weight: 700;
  cursor: pointer;
}

#slotly-chat .chat-book-link {
  grid-column: 1 / -1;
  justify-self: start;
  margin: 0 1px;
  color: #365947;
  font-size: 11px;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

#slotly-chat .chat-footnote {
  padding: 0 14px 10px;
  color: #718077;
  background: #fff;
  font-size: 10px;
}

#slotly-chat .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

#slotly-chat :focus-visible,
.chat-launch:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--chat-accent) 75%, white);
  outline-offset: 2px;
}

@media (max-width: 520px) {
  #slotly-chat {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  #slotly-chat .chat-panel {
    position: fixed;
    inset: auto 8px max(74px, calc(env(safe-area-inset-bottom) + 66px)) 8px;
    width: auto;
    height: min(720px, calc(100dvh - 92px - env(safe-area-inset-bottom)));
    border-radius: 18px;
  }
}

@media (min-width: 521px) and (max-width: 760px) {
  #slotly-chat {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  #slotly-chat .chat-messages {
    scroll-behavior: auto;
  }
}
