#modal:has(.lab-request) {--request-pad:clamp(20px,4vw,40px);width:min(880px,calc(100vw - 24px));max-height:min(88dvh,850px);padding:var(--request-pad);overscroll-behavior:contain}
.lab-request {color:#1c2923;font-size:15px;line-height:1.5}
.lab-request h2 {font-size:clamp(24px,4vw,32px);line-height:1.2;letter-spacing:-.035em;margin:0 24px 8px 0}
.lab-request h2:focus {outline:none}
.lab-intro {color:#58635d;margin:0 0 24px}
.lab-progress {display:flex;gap:4px;width:96px;margin:0 0 24px}
.lab-progress i {height:4px;flex:1;background:#e3e7e1;border-radius:2px}
.lab-progress i:first-child,.lab-progress i.filled {background:#395d40}
#already-booked {margin-top:18px}
.preference-layout {display:grid;grid-template-columns:minmax(148px,1fr) minmax(0,2.25fr);gap:clamp(15px,4vw,36px);align-items:start}
.preference-location {background:#f7f8f5;border:1px solid #dfe4dc;border-radius:12px;padding:18px}
.preference-location p {margin:8px 0;color:#536255}
.preference-location h3,.preference-week h3 {font-size:18px;line-height:1.4;letter-spacing:-.02em;margin:0}
.preference-week {display:flex;align-items:center;gap:6px;margin-bottom:12px}
.preference-week h3 {margin-right:auto}
.preference-week button,.preference-times button {background:#fff;color:#26362a;font:inherit;cursor:pointer}
.preference-week button {width:42px;height:42px;border:0;border-radius:7px;font-size:28px}
.preference-week button:disabled {opacity:.3}
.preference-day {padding:17px 0;border-bottom:1px solid #e1e4de}
.preference-day h4 {margin:0 0 12px;font-size:16px}
.preference-day p {margin:0;color:#58635d}
.preference-times {display:flex;flex-wrap:wrap;gap:7px}
.preference-times button {padding:7px 12px;min-height:40px;border:1px solid #647c63;border-radius:7px;font-size:14px;font-weight:500}
.preference-times button[aria-pressed=true] {background:#254b33;color:white;border-color:#254b33}
.preference-times button:hover:not([aria-pressed=true]),.preference-week button:hover:enabled {background:#eff4eb}
.preference-submit {position:sticky;bottom:calc(0px - var(--request-pad));background:white;box-shadow:0 -5px 18px #fff;border-top:1px solid #d7dfd5;display:flex;gap:12px;align-items:center;justify-content:space-between;padding:14px 0 var(--request-pad)}
.preference-submit strong {font-size:14px;font-weight:500}
#send-preference:disabled {opacity:.55;cursor:default}
#preference-status:empty {display:none}
#preference-status {font-size:14px;margin:12px 0 0}
#preference-status[role=alert] {color:#933825}
@media(max-width:640px) {
  .preference-layout {grid-template-columns:1fr}
  .preference-location {padding:12px 14px}
  .preference-location .direct-text-button {padding:3px 0}
  #modal:has(.lab-request) {max-height:calc(100dvh - 18px)}
  .preference-submit {flex-wrap:wrap;gap:6px}
  .preference-submit .button {min-height:44px}
}
