/* Booking concierge chat (concierge.js) */
.cc {
  --cc-ink: #101c34; --cc-ink-2: #1d2f55; --cc-muted: #5d6474; --cc-line: rgba(16, 28, 52, .09); --cc-soft: #f6f1e8;
  --cc-cream: #fffaf2; --cc-gold: #f7a81b; --cc-gold-2: #ffc23a; --cc-gold-ink: #b86e00; --cc-font: "Inter", system-ui, sans-serif;
  font-family: var(--cc-font);
}
.cc svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* launcher */
.cc-fab {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 900;
  display: flex; align-items: center; gap: 9px; padding: 13px 20px 13px 16px; border: 0; border-radius: 999px;
  background: linear-gradient(135deg, var(--cc-ink-2), var(--cc-ink)); color: #fff; font: 600 15px/1 var(--cc-font); cursor: pointer;
  box-shadow: 0 10px 28px rgba(16, 28, 52, .28), 0 0 0 4px rgba(247, 168, 27, .18); transition: transform .2s ease, box-shadow .2s ease;
}
.cc-fab svg { color: var(--cc-gold); }
.cc-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(16, 28, 52, .32), 0 0 0 6px rgba(247, 168, 27, .22); }
.cc-open .cc-fab { display: none; }
html.app .cc-fab { bottom: calc(84px + env(safe-area-inset-bottom)); }

/* panel */
.cc-panel {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 901;
  width: min(390px, calc(100vw - 32px)); height: min(620px, calc(100dvh - 40px));
  display: flex; flex-direction: column; color: var(--cc-ink);
  background: radial-gradient(120% 50% at 100% 0%, #ffe9c2 0%, rgba(255, 233, 194, 0) 60%), var(--cc-cream);
  border-radius: 24px; box-shadow: 0 30px 80px rgba(16, 28, 52, .25), 0 0 0 1px rgba(16, 28, 52, .06); overflow: hidden;
  animation: cc-in .24s cubic-bezier(.2, .8, .2, 1);
}
.cc-panel[hidden] { display: none; }
@keyframes cc-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }

.cc-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px 6px 18px; }
.cc-title { display: flex; align-items: center; gap: 10px; }
.cc-title b { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.cc-mark, .cc-avatar, .cc-hello-mark { border-radius: 50%; background: linear-gradient(135deg, var(--cc-ink-2), var(--cc-ink)); color: var(--cc-gold); display: grid; place-items: center; flex: none; }
.cc-mark { width: 30px; height: 30px; }
.cc-mark svg { width: 15px; height: 15px; }
.cc-tools { display: flex; gap: 2px; }
.cc-reset[hidden] { display: none; }
.cc-close, .cc-reset { background: none; border: 0; color: var(--cc-muted); cursor: pointer; padding: 8px; border-radius: 12px; display: flex; transition: background .15s ease; }
.cc-close:hover, .cc-reset:hover { background: rgba(16, 28, 52, .06); color: var(--cc-ink); }

/* conversation */
.cc-log { flex: 1; overflow-y: auto; padding: 10px 18px 18px; display: flex; flex-direction: column; gap: 14px; }
.cc-row { display: flex; align-items: flex-start; gap: 10px; max-width: 92%; }
.cc-avatar { width: 26px; height: 26px; margin-top: 1px; }
.cc-avatar svg { width: 13px; height: 13px; }
.cc-msg { font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.cc-assistant { padding: 10px 14px; background: #fff; border-radius: 4px 18px 18px 18px; box-shadow: 0 1px 2px rgba(16, 28, 52, .06), 0 0 0 1px rgba(16, 28, 52, .05); }
.cc-user { align-self: flex-end; max-width: 82%; padding: 10px 15px; border-radius: 18px 18px 4px 18px; background: linear-gradient(135deg, var(--cc-ink-2), var(--cc-ink)); color: #fff; }
.cc-typing { display: flex; gap: 4px; padding: 15px 14px; }
.cc-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--cc-gold); animation: cc-dot 1s ease-in-out infinite; }
.cc-typing i:nth-child(2) { animation-delay: .15s; }
.cc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cc-dot { 50% { opacity: .35; transform: translateY(-3px); } }

/* welcome */
.cc-hello { text-align: center; padding: 8px 8px 4px; }
.cc-hello-mark { width: 56px; height: 56px; margin: 0 auto 14px; box-shadow: 0 10px 24px rgba(16, 28, 52, .22), 0 0 0 6px rgba(247, 168, 27, .16); }
.cc-hello-mark svg { width: 26px; height: 26px; }
.cc-hello h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.cc-hello p { color: var(--cc-muted); font-size: 14.5px; line-height: 1.5; max-width: 290px; margin: 0 auto; }
.cc-ex-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cc-gold-ink); margin: 8px 0 -4px; }
.cc-ex { display: flex; flex-direction: column; gap: 8px; }
.cc-ex button {
  display: flex; align-items: center; gap: 12px; text-align: left; padding: 8px 14px 8px 8px; border: 0; border-radius: 16px;
  background: #fff; color: var(--cc-ink); font-family: var(--cc-font); cursor: pointer;
  box-shadow: 0 1px 2px rgba(16, 28, 52, .06), 0 0 0 1px rgba(16, 28, 52, .06); transition: transform .15s ease, box-shadow .15s ease;
}
.cc-ex button:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(16, 28, 52, .1), 0 0 0 1px rgba(247, 168, 27, .6); }
.cc-ex img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; flex: none; }
.cc-ex b { display: block; font-size: 15px; font-weight: 600; }
.cc-ex small { display: block; font-size: 13px; color: var(--cc-muted); margin-top: 2px; }

/* booking card */
.cc-card { align-self: stretch; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 12px 30px rgba(16, 28, 52, .12), 0 0 0 1px rgba(16, 28, 52, .05); }
.cc-card-photo { position: relative; height: 150px; background: var(--cc-ink); }
.cc-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-card-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 40, 0) 35%, rgba(10, 20, 40, .85)); }
.cc-badge { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 600; }
.cc-card-name { position: absolute; left: 16px; right: 16px; bottom: 12px; z-index: 1; color: #fff; }
.cc-card-name b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.cc-card-name small { font-size: 13px; color: rgba(255, 255, 255, .8); }
.cc-card-body { padding: 14px 14px 14px; }
.cc-facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0; padding: 0; }
.cc-facts li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px; border-radius: 12px; background: var(--cc-soft); }
.cc-facts svg { width: 16px; height: 16px; color: var(--cc-gold-ink); }
.cc-facts span { font-size: 14px; font-weight: 700; line-height: 1.2; }
.cc-facts small { display: block; font-size: 12px; font-weight: 500; color: var(--cc-muted); margin-top: 2px; }
.cc-min { font-size: 13px; color: var(--cc-muted); margin: 10px 2px 0; }
.cc-min.cc-warn { color: var(--cc-gold-ink); font-weight: 600; }
.cc-book {
  width: 100%; margin-top: 12px; padding: 14px; border: 0; border-radius: 999px; background: linear-gradient(180deg, var(--cc-gold-2), var(--cc-gold));
  color: var(--cc-ink); font: 700 15px/1 var(--cc-font); cursor: pointer; box-shadow: 0 6px 16px rgba(247, 168, 27, .35); transition: transform .15s ease, box-shadow .15s ease;
}
.cc-book:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(247, 168, 27, .45); }

/* composer */
.cc-form {
  display: flex; align-items: flex-end; gap: 6px; margin: 0 12px 12px; padding: 6px 6px 6px 16px; border-radius: 26px; background: #fff;
  box-shadow: 0 6px 20px rgba(16, 28, 52, .08), 0 0 0 1px rgba(16, 28, 52, .08); transition: box-shadow .15s ease;
}
.cc-form:focus-within { box-shadow: 0 6px 20px rgba(16, 28, 52, .08), 0 0 0 2px var(--cc-gold); }
.cc-form textarea { flex: 1; resize: none; border: 0; outline: none; padding: 9px 0; font: 16px/1.4 var(--cc-font); color: var(--cc-ink); max-height: 120px; background: transparent; }
.cc-form textarea::placeholder { color: #8a92a3; }
.cc-send { width: 40px; height: 40px; border: 0; border-radius: 50%; background: linear-gradient(180deg, var(--cc-gold-2), var(--cc-gold)); color: var(--cc-ink); display: grid; place-items: center; cursor: pointer; flex: none; transition: transform .15s ease; }
.cc-send:hover { transform: scale(1.05); }
.cc-send svg { width: 18px; height: 18px; stroke-width: 2.4; }

@media (max-width: 520px) {
  .cc-panel { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; }
  .cc-fab { right: 16px; }
}
@media (prefers-reduced-motion: reduce) { .cc-panel, .cc-typing i { animation: none; } .cc-ex button, .cc-book { transition: none; } }
.cc-panel:has(.cc-empty) .cc-title { visibility: hidden; }
.cc-log > * { flex-shrink: 0; }
