/* Stooplight concierge — the same widget Stooplight ships, in brand colours */
.cw-toggle {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: flex; align-items: center; gap: 9px;
  background: var(--lamp-deep); color: #21150A;
  border: none; border-radius: 999px;
  padding: 12px 20px;
  font: 600 0.95rem var(--body);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.16s ease;
}
.cw-toggle:hover { transform: translateY(-2px); }
.cw-toggle::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: #FFF6DF; box-shadow: 0 0 10px 2px rgba(255, 246, 223, 0.85);
}
.cw-panel {
  position: fixed; right: 18px; bottom: 78px; z-index: 91;
  width: min(374px, calc(100vw - 36px));
  height: min(492px, 72vh);
  display: flex; flex-direction: column;
  background: var(--dusk);
  border: 1px solid color-mix(in srgb, var(--bone) 14%, transparent);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.cw-panel[hidden] { display: none; }
.cw-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 13px 16px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--lamp) 16%, var(--stone)), var(--stone));
  color: var(--bone);
  font-family: var(--display); font-weight: 800; font-size: 1rem;
}
.cw-head img { height: 22px; width: auto; display: block; }
.cw-close { background: none; border: none; color: inherit; font-size: 1.35rem; line-height: 1; cursor: pointer; }
.cw-log { flex: 1; overflow-y: auto; padding: 15px; display: flex; flex-direction: column; gap: 10px; }
.cw-msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 0.93rem; line-height: 1.5; white-space: pre-wrap; }
.cw-user { align-self: flex-end; background: var(--lamp-deep); color: #21150A; border-bottom-right-radius: 4px; font-weight: 500; }
.cw-bot { align-self: flex-start; background: var(--stone); color: var(--bone); border-bottom-left-radius: 4px; }
.cw-form { display: flex; gap: 8px; padding: 11px; border-top: 1px solid color-mix(in srgb, var(--bone) 12%, transparent); }
.cw-form input {
  flex: 1; font: inherit; font-size: 0.93rem;
  padding: 10px 13px; border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--bone) 20%, transparent);
  background: var(--night); color: var(--bone);
}
.cw-form input::placeholder { color: var(--dim); }
.cw-send {
  background: var(--lamp-deep); color: #21150A; border: none;
  border-radius: 10px; padding: 10px 16px;
  font: 600 0.9rem var(--body); cursor: pointer;
}
.cw-note { margin: 0; padding: 0 13px 11px; font-size: 0.72rem; color: var(--dim); text-align: center; }
@media (max-width: 480px) { .cw-panel { bottom: 74px; height: min(440px, 64vh); } }
