.stackd-cdh-concierge {
  --stackd-forest: #173f35;
  --stackd-cream: #fff9ed;
  --stackd-gold: #b89146;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99999;
  color: var(--stackd-forest);
  font-family: "DM Sans", sans-serif;
}

.stackd-cdh-concierge button,
.stackd-cdh-concierge textarea {
  font: inherit;
}

.stackd-cdh-concierge [hidden] {
  display: none !important;
}

.stackd-cdh-concierge__form button {
  border: 1px solid var(--stackd-gold);
  border-radius: 999px;
  background: var(--stackd-forest);
  color: var(--stackd-cream);
  cursor: pointer;
  font-weight: 700;
}

.stackd-cdh-concierge__launcher {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--stackd-forest);
  cursor: pointer;
}

.stackd-cdh-concierge__launcher-label {
  padding: 10px 14px;
  border: 1px solid var(--stackd-gold);
  border-radius: 999px;
  background: var(--stackd-cream);
  box-shadow: 0 8px 24px rgba(23, 63, 53, 0.18);
  font-size: 14px;
  font-weight: 700;
}

.stackd-cdh-concierge__launcher-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 2px solid var(--stackd-gold);
  border-radius: 50%;
  background: var(--stackd-forest);
  box-shadow: 0 10px 28px rgba(23, 63, 53, 0.28);
  color: var(--stackd-gold);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.stackd-cdh-concierge__launcher:hover .stackd-cdh-concierge__launcher-icon {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(23, 63, 53, 0.34);
}

.stackd-cdh-concierge__launcher svg {
  width: 38px;
  height: 38px;
  overflow: visible;
  fill: currentColor;
}

.stackd-cdh-concierge__launcher .stackd-cdh-concierge__bubble-shape {
  fill: none;
  stroke: var(--stackd-cream);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.stackd-cdh-concierge__panel {
  width: min(390px, calc(100vw - 28px));
  max-height: min(650px, calc(100vh - 90px));
  margin-bottom: 12px;
  overflow: auto;
  border: 1px solid var(--stackd-gold);
  border-radius: 18px;
  background: var(--stackd-cream);
  box-shadow: 0 16px 44px rgba(23, 63, 53, 0.28);
}

.stackd-cdh-concierge__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--stackd-forest);
  color: var(--stackd-cream);
}

.stackd-cdh-concierge__eyebrow {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 25px;
  font-weight: 600;
}

.stackd-cdh-concierge__close {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.stackd-cdh-concierge__body {
  padding: 18px;
}

.stackd-cdh-concierge__welcome {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 23px;
  line-height: 1.25;
}

.stackd-cdh-concierge__safety {
  margin: 0 0 16px;
  color: #365b51;
  font-size: 13px;
  line-height: 1.45;
}

.stackd-cdh-concierge__answer,
.stackd-cdh-concierge__fallback {
  margin: 0 0 16px;
  padding: 13px;
  border-left: 3px solid var(--stackd-gold);
  background: #f6ecd7;
  line-height: 1.55;
}

.stackd-cdh-concierge__fallback p {
  margin: 0 0 8px;
}

.stackd-cdh-concierge__fallback p:last-child {
  margin-bottom: 0;
}

.stackd-cdh-concierge a {
  color: var(--stackd-forest);
  font-weight: 700;
}

.stackd-cdh-concierge__form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.stackd-cdh-concierge__form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 82px;
  resize: vertical;
  border: 1px solid #9caea8;
  border-radius: 10px;
  padding: 10px;
  background: #fffdf7;
  color: var(--stackd-forest);
}

.stackd-cdh-concierge__form button {
  margin-top: 10px;
  padding: 10px 17px;
}

.stackd-cdh-concierge button:focus-visible,
.stackd-cdh-concierge textarea:focus-visible,
.stackd-cdh-concierge a:focus-visible {
  outline: 3px solid var(--stackd-gold);
  outline-offset: 3px;
}

.stackd-cdh-concierge button:disabled {
  cursor: wait;
  opacity: 0.68;
}

@media (max-width: 520px) {
  .stackd-cdh-concierge {
    right: 14px;
    bottom: 14px;
  }

  .stackd-cdh-concierge__panel {
    max-height: calc(100vh - 78px);
  }

  .stackd-cdh-concierge__launcher-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
