.booking-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 1.25rem; }
.booking-card { min-width: 0; }
.booking-card.is-reveal-pending { transform: none; }
.booking-options { display: grid; gap: 1.15rem; min-width: 0; }
.booking-summary { position: static; }
.booking-summary dl { margin-block: .75rem; }

.booking-dates {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .4rem;
}

.booking-card .slot input { width: 1px; min-height: 0; padding: 0; border: 0; }
.booking-card .slot > span {
  min-width: 0;
  min-height: 58px;
  background: #fff9;
  border-color: var(--line);
}
.booking-card .booking-day > span {
  min-height: 78px;
  padding: .35rem .2rem;
  line-height: 1.15;
  gap: .3rem;
}
.booking-day time { font-size: 1rem; font-weight: 700; }
.booking-day small { color: var(--muted); font-size: .75rem; }
.booking-card .slot input:checked + span { background: var(--plum); border-color: var(--plum); color: #fff; }
.booking-card .slot input:checked + span small { color: #fff; }
.booking-card .slot input:disabled + span { background: #f6e7eb; color: var(--muted); }
.booking-card .slot:hover input:not(:disabled):not(:checked) + span { background: #ffe9f1; }
.booking-card fieldset[aria-invalid="true"] { outline: 1px solid var(--error); outline-offset: 6px; border-radius: 8px; }
.booking-card #slot-status:empty { display: none; }
.booking-card input:not([type="radio"]), .booking-card select, .booking-ai select { background-color: #fffe; }

.booking-ai-fields { display: grid; gap: .6rem; margin-top: .8rem; }
.booking-ai label { display: block; margin-bottom: .25rem; font-weight: 700; font-size: .9rem; }
.booking-review {
  display: inline-block;
  margin-top: .45rem;
  color: var(--plum);
  font-size: .9rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .2em;
}
#ai-result:empty { margin: 0; }

.booking-dialog-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

@media (prefers-reduced-motion: no-preference) {
  .booking-card #slot-field:not([hidden]) { animation: show-time-slots .4s var(--ease) both; }
  @keyframes show-time-slots {
    from { opacity: 0; transform: translateY(.5rem); }
    to { opacity: 1; transform: none; }
  }
}

@media (max-width: 62rem) {
  .booking-dates { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
  .booking-layout { grid-template-columns: 1fr; }
}
@media (min-width: 36rem) and (max-width: 48rem) {
  .booking-dates { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}
