.sp-consultation {
  --sp-consultation-surface: rgb(255 254 250 / 70%);
  --sp-consultation-text: #1d2622;
  position: fixed;
  inset-inline-end: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 90;
  display: grid;
  justify-items: end;
  gap: 8px;
  max-width: calc(100vw - 32px);
  color: var(--sp-consultation-text);
}
.sp-consultation[hidden], .sp-consultation .sp-consultation-greeting[hidden] { display: none; }
.sp-consultation.sp-consultation-inline {
  position: static;
  margin: 12px 16px;
  margin-inline-start: auto;
  width: max-content;
}
.sp-consultation-panel {
  grid-area: 1 / 1;
  display: grid;
  gap: 6px;
  max-height: min(60vh, 26rem);
  overflow: auto;
  direction: rtl;
  width: max-content;
  max-width: min(19rem, calc(100vw - 32px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 220ms, transform 220ms, visibility 0s 220ms;
}
.sp-consultation:not(.sp-consultation-inline) .sp-consultation-panel {
  position: absolute;
  bottom: 60px;
  right: 0;
}
.sp-consultation-inline .sp-consultation-panel:not([data-open]) { display: none; }
.sp-consultation-panel[data-open] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}
.sp-consultation .sp-consultation-greeting {
  position: absolute;
  inset-inline-end: 60px;
  bottom: 0;
  width: min(15rem, calc(100vw - 84px));
  border: 0;
  cursor: pointer;
  text-align: start;
}
.sp-consultation-method {
  display: flex;
  direction: ltr;
  padding-inline-end: 5px;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}
.sp-consultation-method:hover .sp-consultation-label,
.sp-consultation-method:focus-visible .sp-consultation-label { text-decoration: underline; }
.sp-consultation :is(.sp-consultation-label,.sp-consultation-greeting) {
  display: block;
  padding: 6px 9px;
  border-radius: 6px;
  background: var(--sp-consultation-surface);
  color: var(--sp-consultation-text);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.sp-consultation-label { padding-inline: 14px; text-align: end; min-width: 0; }
.sp-consultation-label strong { font-weight: 500; }
.sp-consultation-accent .sp-consultation-label strong { color: #863C13; }
.sp-consultation-accent .sp-consultation-label {
  --sp-consultation-surface: rgb(255 254 250 / 70%);
  --sp-consultation-text: #1d2622;
}
.sp-consultation :is(.sp-consultation-label,.sp-consultation-greeting) strong { font-size: 15px; }
.sp-consultation :is(.sp-consultation-label small,.sp-consultation-greeting span) { display: block; font-size: 13px; }
.sp-consultation-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #E1E4D5;
  color: #455035;
}
.sp-consultation-icon svg { width: 22px; height: 22px; }
.sp-consultation-accent .sp-consultation-icon { background: #B6571C; color: #fff; }
.sp-consultation-method:focus-visible { outline-offset: -2px; }
.sp-consultation .sp-consultation-toggle {
  grid-area: 2 / 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  color: #fff;
  background: #B6571C;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.sp-consultation .sp-consultation-toggle:hover { background: #984713; }
.sp-consultation-toggle svg { width: 28px; height: 28px; }
.sp-consultation-toggle[aria-expanded="false"] .sp-consultation-close,
.sp-consultation-toggle[aria-expanded="true"] .sp-consultation-headset { display: none; }
@media (prefers-color-scheme: dark) {
  .sp-consultation {
    --sp-consultation-surface: rgb(35 43 39 / 70%);
    --sp-consultation-text: #fffefa;
  }
}
