/* Local trial: the live booking table stays fixed and receives input immediately. */
.bench-tabs.bench-motion-ready {position:relative;isolation:isolate;}
.bench-motion-ready > button {position:relative;z-index:1;transition:color 400ms ease;}
.bench-tabs.bench-motion-ready > button.active {background:transparent;box-shadow:none;}
.bench-active-pill {position:absolute;left:0;top:0;z-index:0;background:#fff;border-radius:7px;box-shadow:0 1px 4px #24432c0b;pointer-events:none;}
.bench-grid-frame {position:relative;}
.bench-grid-overlay {position:absolute;top:0;z-index:2;overflow:hidden;background:#fff;pointer-events:none;user-select:none;contain:paint;}
.bench-grid-surface {position:absolute;inset:0;pointer-events:none;will-change:transform,opacity;}
.bench-grid-surface > .schedule-grid {max-width:none;margin-top:0;margin-bottom:0;pointer-events:none;}
.bench-grid-overlay * {pointer-events:none!important;}
@media(max-width:699px) {.bench-active-pill {border-radius:6px;}}
@media(prefers-reduced-motion:reduce) {
  .bench-motion-ready > button {transition:none;}
  .bench-grid-overlay {display:none;}
}

/* Keep desktop bench rows stable during a bench switch. */
@media(min-width:700px){.schedule-grid.single-bench .slot{min-height:37px}}

/* Uniform desktop row minimum for occupied and free slots. */
@media(min-width:700px){.schedule-grid .slot,.schedule-grid.single-bench .slot{min-height:39px}}
