#booking-dialog {
  width: min(66rem, 96vw);
  max-width: 100%;
  height: min(55rem, 94dvh);
  max-height: 100%;
  padding: 0;
  margin: auto;
  border: 0;
  border-radius: 12px;
  color: #171716;
  background: white;
}
#booking-dialog[open] { display: flex; flex-direction: column; }
#booking-dialog::backdrop { background: rgb(18 18 18 / 65%); }
.booking-controls {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem;
  padding: .7rem 1rem; border-bottom: 1px solid #dededb; font-size: 1rem;
}
.booking-controls select, .booking-controls button {
  color: inherit; font: inherit; background: white; border: 1px solid #bbb;
  border-radius: .35rem; padding: .4rem .6rem;
}
.booking-controls a { margin-inline-start: auto; color: inherit; text-decoration: underline; }
#booking-dialog iframe { width: 100%; min-height: 0; flex: 1; border: 0; }
@media (max-width: 38rem) {
  #booking-dialog { width: 100vw; height: 100dvh; border-radius: 0; }
  .booking-controls { gap: .4rem .6rem; padding: .5rem; }
}

#consulta:has(.contact-next:not([hidden])) [data-session-booking] { display: none; }

html[data-theme=dark] #booking-dialog { color: #f5f5f3; background: #111; }
html[data-theme=dark] #booking-dialog .booking-controls { border-color: #454545; }
html[data-theme=dark] #booking-dialog .booking-controls :is(select, button) {
  color: #f5f5f3; background: #191919; border-color: #777;
}
html[data-theme=dark] #booking-dialog .booking-controls :focus-visible {
  outline: 2px solid white; outline-offset: 2px;
}
