.appointment-form .schedule-group {
  min-width: 0;
  margin: 0 0 0 .5rem;
  padding: .75rem 1rem .9rem;
  border: 0;
  border-radius: 12px;
}
.appointment-form .schedule-days { background: #f5f0e4; }
.appointment-form .schedule-times { background: #edf2e9; }
.appointment-form .schedule-group .checklist { margin: .3rem 0 0; }
.appointment-form .schedule-group label { white-space: nowrap; }
.appointment-form .schedule-flexible { margin-left: .5rem; }
.appointment-form .schedule-time-row p { margin: 0; font-size: .9rem; font-weight: 700; color: var(--green); }
.appointment-form .schedule-time-row + .schedule-time-row { margin-top: .65rem; padding-top: .65rem; border-top: 1px solid #cfdacd; }
.appointment-form .contact-field { min-width: 0; }
.appointment-form .field-note { margin: .35rem 0 0; }
.appointment-form .location-preview[hidden] { display: none; }
#request-name { scroll-margin-top: 6rem; }
@media (max-width: 720px) {
  #main-content.page-hero { padding-block: 22px; }
  #main-content.page-hero .breadcrumb { margin-bottom: 8px; }
}
.arrival-photo-grid .suite-g-map-photo .photo-enlarge-hint { left: 8px; right: auto; }
.appointment-form .preferred-date-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr));
  gap: 8px;
  margin-top: .5rem;
}
.appointment-form .preferred-date-options label { position: relative; white-space: normal; }
.appointment-form .preferred-date-options input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.appointment-form .preferred-date-options span {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 6px 8px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.appointment-form .preferred-date-options input:checked + span { background: var(--green); color: #fff; }
.appointment-form .preferred-date-options input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 1px; }
.appointment-form [hidden] { display: none !important; }
.appointment-form .patient-type-picker,
.appointment-form .location-picker { border: 0; padding: 0; margin: 0; min-width: 0; }
.appointment-form .patient-type-picker { margin-bottom: 1rem; }
.appointment-form .patient-type-picker legend,
.appointment-form .location-picker legend { margin-bottom: .35rem; font-weight: 600; }
.appointment-form .patient-type-options,
.appointment-form .location-options { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.appointment-form .patient-type-options label,
.appointment-form .location-options label { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin: 0; cursor: pointer; }
.appointment-form .patient-type-options input,
.appointment-form .location-options input { position: static; width: 18px; height: 18px; flex: 0 0 18px; margin: 0; padding: 0; opacity: 1; accent-color: var(--green); cursor: pointer; }
.appointment-form .patient-type-options input:focus-visible,
.appointment-form .location-options input:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
@media (max-width: 380px) {
 .appointment-form .patient-type-options,
 .appointment-form .location-options { flex-direction: column; gap: 0; }
}
#main-content.page-hero { padding-block: 22px; }
#main-content.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .5rem; }
#main-content.page-hero p { margin-bottom: 0; }
.appointment-form-card > div:first-child { margin-bottom: .75rem; }
.appointment-form .scheduling-note textarea { box-sizing: border-box; width: 100%; height: 68px; min-height: 68px; margin-top: 7px; resize: vertical; }
.appointment-form .preferred-date-options { display: block; }
.appointment-form .booking-week + .booking-week { margin-top: 12px; }
.appointment-form .booking-week-label { margin: 0 0 6px; }
.appointment-form .booking-week-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr)); gap: 8px; }
.appointment-form .booking-week-1 .booking-week-options span { background: #fff; }
.appointment-form .booking-week-2 .booking-week-options span { background: #f7f2e8; }
.appointment-form .booking-week-options input:checked + span { background: var(--green); color: #fff; }

.appointment-form .schedule-times .checklist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.appointment-form .schedule-times .checklist label {
  position: relative;
  display: block;
  margin: 0;
  min-width: 0;
  cursor: pointer;
}
.appointment-form .schedule-times .checklist input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.appointment-form .schedule-times .checklist span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 46px;
  padding: 6px;
  border: 1px solid #d8d4ce;
  border-radius: 8px;
  background: #fff;
  color: #24352f;
  font-size: 1rem;
  line-height: 1.25;
}
.appointment-form .schedule-times input:checked + span {
  background: #F5E6EA;
  border-color: #780E2B;
  color: #780E2B;
  font-weight: 600;
}
.appointment-form .schedule-times input:checked + span::before {
  content: '✓';
}
.appointment-form .schedule-times input:focus-visible + span {
  outline: 2px solid #780E2B;
  outline-offset: 2px;
}
.appointment-form .schedule-times input:disabled + span {
  background: #f1f1ef;
  border-color: #deded9;
  color: #858780;
}
@media (max-width: 380px) {
  .appointment-form .schedule-times .checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 721px) {
  .appointment-form .schedule-times .checklist {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .appointment-form .booking-week-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .appointment-form .preferred-date-options span {
    padding: 6px 3px;
    font-size: .9rem;
    white-space: nowrap;
  }
}

.appointment-form .location-box {
  padding: 16px;
  border-radius: 12px;
  background: #f5f0e4;
}
.appointment-form .location-box .location-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.appointment-form .location-box .location-options label {
  position: relative;
  display: block;
  min-width: 0;
}
.appointment-form .location-box .location-options input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
}
.appointment-form .location-box .location-options span {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}
.appointment-form .location-box input:checked + span {
  background: #F5E6EA;
  border-color: #780E2B;
  color: #780E2B;
}
.appointment-form .location-box input:focus-visible + span {
  outline: 2px solid #780E2B;
  outline-offset: 2px;
}

.appointment-form .interest-picker { border: 0; padding: 0; margin: 0; min-width: 0; }
.appointment-form .interest-picker legend { font-weight: 600; margin-bottom: 8px; }
.appointment-form .interest-options { display: flex; flex-wrap: wrap; gap: 8px; }
.appointment-form .interest-options label { position: relative; display: block; margin: 0; cursor: pointer; }
.appointment-form .interest-options input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.appointment-form .interest-options span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 1rem; }
.appointment-form .interest-options input:checked + span { background: #F5E6EA; border-color: #780E2B; color: #780E2B; font-weight: 600; }
.appointment-form .interest-options input:focus-visible + span { outline: 2px solid #780E2B; outline-offset: 2px; }
.appointment-form .fertility-offer { color: #780E2B; font-weight: 600; margin: 8px 0 0; }
.appointment-form .booking-summary { padding: 14px 16px; border: 1px solid #dec5ce; border-radius: 12px; background: #faf2f4; }
.appointment-form .booking-summary p { margin: 4px 0 0; white-space: pre-line; }
.appointment-form .preferred-date-options input:checked + span { background: #F5E6EA; border-color: #780E2B; color: #780E2B; }
