/* Keep the confirmation in view when an iPad time picker opens above its field.
   The existing R23 calendar and phone picker retain their original layout. */
@media (pointer: coarse) and (hover: none) and (min-width: 700px) {
  .r23-reservation-picker:has(.time-columns):not([hidden]) {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 350px;
    padding: 10px;
    overflow: hidden;
  }
  .r23-reservation-picker:has(.time-columns) .picker-heading {
    flex: none;
    margin-bottom: 4px;
  }
  .r23-reservation-picker:has(.time-columns) .picker-time-context {
    flex: none;
    margin-bottom: 4px;
  }
  .r23-reservation-picker:has(.time-columns) .time-columns {
    flex: 1 1 auto;
    min-height: 0;
  }
  .r23-reservation-picker:has(.time-columns) .time-columns > div {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .r23-reservation-picker:has(.time-columns) .time-values {
    flex: 1 1 auto;
    height: auto;
    min-height: 44px;
    -webkit-overflow-scrolling: touch;
  }
  .r23-reservation-picker:has(.time-columns) .picker-apply {
    flex: none;
    margin-top: 6px;
    min-height: 44px;
  }
}
