/* Art Color shell around the on-demand Calendly embed. */
html.booking-open { overflow: hidden; scrollbar-gutter: stable; }
.booking-modal {
  width: min(1100px, calc(100% - 48px));
  height: min(900px, calc(100vh - 48px));
  height: min(900px, calc(100dvh - 48px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d4b7ff70;
  border-radius: 24px;
  background: #f8f5ff;
  color: #291545;
  box-shadow: 0 30px 100px #0a011c80;
}
.booking-modal:not([open]) { display: none; }
.booking-modal[open] { display: flex; flex-direction: column; }
.booking-modal::backdrop { background: #100622b8; backdrop-filter: blur(8px); }
.booking-heading { position: relative; flex-shrink: 0; padding: 25px 80px 25px 32px; background: radial-gradient(ellipse at 90% 0, #833fff90, transparent 65%), linear-gradient(120deg, #351377, #5426de); color: #fff; }
.booking-heading .eyebrow { font-size: 10px; margin-bottom: 9px; color: #e6d3ff; }
.booking-heading h2 { font-size: clamp(23px, 2.8vw, 32px); line-height: 1.2; margin: 0; }
.booking-heading p { margin-top: 10px; color: #e5d6fc; font-size: 12px; }
.booking-close { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: #ffffff14; color: #fff; border: 1px solid #ffffff55; border-radius: 50%; cursor: pointer; }
.booking-close:hover { background: #ffffff2a; }
.booking-close svg { width: 20px; height: 20px; }
.booking-content { position: relative; flex: 1; min-height: 0; background: #f8f5ff; }
.booking-calendar, .booking-calendar iframe { width: 100%; height: 100%; }
.booking-calendar iframe { display: block; border: 0; background: #f8f5ff; }
.booking-status { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 28px; background: #f8f5ff; color: #644e7c; font-size: 14px; text-align: center; pointer-events: none; }
.booking-status::before { content: ''; width: 28px; height: 28px; border: 3px solid #e3d6f4; border-top-color: #7030ff; border-radius: 50%; animation: booking-spin .8s linear infinite; }
.booking-status--slow::before { animation: none; border-color: #c6a5f1; }
.booking-footer { flex-shrink: 0; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 5px 10px; padding: 12px 20px; border-top: 1px solid #e4d8f1; background: #f8f5ff; font-size: 12px; color: #745f84; }
.booking-footer a { color: #6426d2; font-weight: 600; }
@keyframes booking-spin { to { transform: rotate(360deg); } }
@media (max-width: 650px) {
  html.booking-open { scrollbar-gutter: auto; }
  .booking-modal { width: 100%; height: 100vh; height: 100dvh; border: 0; border-radius: 0; }
  .booking-heading { padding: calc(18px + env(safe-area-inset-top)) 68px 18px 20px; }
  .booking-heading h2 { font-size: 23px; }
  .booking-heading .eyebrow { font-size: 9px; }
  .booking-heading p { font-size: 11px; }
  .booking-close { top: calc(15px + env(safe-area-inset-top)); right: 13px; }
  .booking-footer { padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); font-size: 11px; }
}
@media (max-height: 600px) {
  .booking-modal { height: 100vh; height: 100dvh; }
  .booking-heading { padding-block: 12px; }
  .booking-heading .eyebrow { display: none; }
  .booking-heading h2 { font-size: 21px; }
  .booking-heading p { margin-top: 5px; }
  .booking-close { top: 10px; }
  .booking-footer { padding-block: 8px; }
}
@media (prefers-reduced-motion: reduce) { .booking-status::before { animation: none; } }
@media print { .booking-modal { display: none !important; } }
