/* The calendar shares its markup and styles with the full consultation page. */
html[data-booking-embed="true"] { color-scheme: light; scroll-padding-top: 0; }
html[data-booking-embed="true"]:has(dialog[open]) { overflow: hidden; }
body.booking-embed { margin: 0; min-height: 0; background: #fff; }
.booking-embed-content { display: flow-root; width: 100%; max-width: 1256px; margin-inline: auto; padding: 4px 4px 12px; }
.booking-embed .booking-section { padding: 0; border: 0; background: transparent; }
.booking-embed .booking-section > .container { width: 100%; max-width: none; padding: 0; }
/* The host supplies heading/price; retain the visitor-timezone guidance. */
.booking-embed .booking-heading h2,
.booking-embed #booking-price-copy { display: none; }
.booking-embed .booking-heading { margin-bottom: 20px; }
.booking-embed .booking-heading .booking-schedule { margin-top: 0; }
.booking-embed .booking-card { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, 1fr); box-shadow: none; }
.booking-embed .booking-preferences { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 28px; border-bottom: 1px solid var(--line); background: var(--surface); }
.booking-embed .booking-meeting-meta { display: grid; gap: 4px; margin: 0; }
.booking-embed .booking-meeting-meta span { color: var(--ink); font-size: 16px; font-weight: 500; }
.booking-embed .booking-meeting-meta strong { color: var(--muted); font-size: 12px; font-weight: 400; }
.booking-embed .booking-timezone { width: 260px; max-width: 100%; flex-shrink: 0; }
.booking-embed .booking-timezone .timezone-label { display: block; margin: 0; font-size: 10px; }
.booking-embed .booking-timezone .timezone-trigger { min-height: 48px; margin-top: 5px; padding-block: 7px; }
.booking-embed .calendar-panel { min-width: 0; padding: 28px; justify-content: flex-start; }
.booking-embed .times-panel { grid-column: auto; min-width: 0; padding: 28px 24px; border-top: 0; border-left: 1px solid var(--line); justify-content: flex-start; }
.booking-embed .time-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.booking-embed .booking-note { margin-bottom: 0; }
.booking-embed .preview-banner { position: static; margin-bottom: 12px; }
.booking-embed dialog { max-height: calc(100dvh - 28px); }
@media (max-width: 760px) {
  .booking-embed .booking-card { grid-template-columns: minmax(0, 1fr); }
  .booking-embed .times-panel { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .booking-embed-content { padding: 3px 3px 12px; }
  .booking-embed .booking-preferences { flex-wrap: wrap; gap: 14px; padding: 20px; }
  .booking-embed .booking-timezone { width: 100%; }
  .booking-embed .calendar-panel, .booking-embed .times-panel { padding: 22px 20px; }
}
