.booking { max-width: 820px; }
.booking-embedded { background: transparent; }
.booking-embedded .booking { width: 100%; padding: 4px; }
.booking h1 { margin-bottom: 1.25rem; }
.booking-form { display: grid; gap: 1rem; }
.booking-form fieldset { min-width: 0; padding: 0; border: 0; }
.booking-form legend { font-weight: 700; margin-bottom: .65rem; }
.booking-week-nav {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  text-align: center;
  margin-bottom: .6rem;
}
.booking-week-nav a { display: grid; place-items: center; min-height: 44px; font-size: 1.5rem; border-radius: 4px; background: #fffdf6; }
.booking-week-nav strong span { display: block; font-size: .85rem; font-weight: normal; }
.booking-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.booking-day { min-height: 8rem; border: 1px solid var(--line); border-radius: 5px; background: #fffdf690; }
.booking-day h2 { margin: .4rem 0; text-align: center; font: 650 .85rem/1.3 system-ui, sans-serif; letter-spacing: normal; }
.booking-day abbr { text-decoration: none; }
.booking-day time { display: block; font-weight: normal; }
.booking-slot {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .25rem;
  min-height: 44px;
  margin: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fffdf6;
  font-size: .8rem;
  cursor: pointer;
}
.booking-slot input { position: absolute; opacity: 0; }
.booking-slot:has(:focus-visible) { outline: 2px solid #227c81; outline-offset: -2px; }
.booking-slot:has(:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #edf4ec; }
.booking-slot:has(:disabled) { cursor: default; }
.booking-dot {
  display: inline-grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  border-radius: 50%;
  font: 700 .72rem/1 system-ui, sans-serif;
}
.booking-dot[data-free="2"] { background: #286748; color: white; }
.booking-dot[data-free="1"] { background: #f4ae5c; color: #382006; }
.booking-dot[data-free="0"] { background: #a6393b; color: white; }
.booking-legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; padding: 0; margin: .65rem 0 0; list-style: none; font-size: .8rem; }
.booking-legend li { display: flex; align-items: center; gap: .3rem; }
.booking-form > label { display: grid; gap: .25rem; }
.booking-form > label > :is(input, textarea) { padding: .55rem; font: inherit; border: 1px solid var(--muted); border-radius: 4px; }
.booking-form textarea { resize: vertical; }
.booking-form .button { justify-self: start; }
.booking-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.booking-feedback { padding: .75rem; background: #fffdf6; border-left: 3px solid var(--rust); }
.booking-contact { margin-top: 1.5rem; }
@media (max-width: 500px) {
  .booking-slot { flex-direction: column; gap: 0; font-size: .67rem; }
}
