/* Eternal Youth V115 — small layout corrections only (V114 baseline retained). */
.appointment-slot-inspector-link-v115 {margin:8px 0 14px}

/* The older appointment stylesheet sets a fixed 54px height on these radio cards.
   Allow descriptions to wrap naturally so labels never escape their outline. */
@media (max-width: 900px) {
  #cancel-booking .appointment-cancel-options-v52 {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:10px!important;
    width:100%!important;
    min-width:0!important;
  }
  #cancel-booking .appointment-cancel-options-v52 > label {
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:77px!important;
    max-height:none!important;
    display:grid!important;
    grid-template-columns:22px minmax(0,1fr)!important;
    align-items:start!important;
    justify-content:stretch!important;
    column-gap:12px!important;
    padding:13px 14px!important;
    overflow:visible!important;
  }
  #cancel-booking .appointment-cancel-options-v52 > label .option-radio-v52 {
    margin-top:4px!important;
  }
  #cancel-booking .appointment-cancel-options-v52 > label > div {
    display:block!important;
    min-width:0!important;
    max-width:100%!important;
    width:auto!important;
    align-self:start!important;
  }
  #cancel-booking .appointment-cancel-options-v52 > label strong {
    display:block!important;
    margin:0 0 4px!important;
    font-size:14px!important;
    font-weight:700!important;
    line-height:1.35!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
  }
  #cancel-booking .appointment-cancel-options-v52 > label small {
    display:block!important;
    font-size:12px!important;
    line-height:1.5!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
  }
  #cancel-booking .appointment-cancel-footer-v52 {
    grid-template-columns:minmax(0,1fr)!important;
    gap:11px!important;
  }
  #cancel-booking .cancel-info-v52 {
    height:auto!important;
    min-height:43px!important;
    padding:11px 12px!important;
    box-sizing:border-box!important;
    line-height:1.4!important;
  }
  #cancel-booking .appointment-cancel-button-v52 {
    width:100%!important;
    min-width:0!important;
  }
}

/* Tablet layout: previous clinic-app.css hides the booking summary at <=900px.
   Preserve the side-by-side desktop experience and show a usable summary at
   761–1100px. Only the treatment-card grid becomes one column if too tight. */
@media (min-width: 761px) and (max-width: 1100px) {
  .booking-site .booking-layout {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(245px,31%)!important;
    gap:13px!important;
    align-items:start!important;
  }
  .booking-site .booking-layout > .booking-main {
    display:block!important;
    min-width:0!important;
    width:auto!important;
    max-width:none!important;
    grid-column:1!important;
    grid-row:1!important;
  }
  .booking-site .booking-layout > .booking-summary {
    display:block!important;
    visibility:visible!important;
    position:sticky!important;
    top:12px!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    overflow-wrap:anywhere!important;
    grid-column:2!important;
    grid-row:1!important;
  }
  .booking-site .booking-layout .booking-service-grid {
    grid-template-columns:minmax(0,1fr)!important;
  }
  .booking-site .booking-layout .booking-filterbar {
    min-width:0!important;
    max-width:100%!important;
  }
}
