.cheffy-waitlist-modal{
  position:fixed;inset:0;z-index:220;display:flex;align-items:center;justify-content:center;
  padding:max(20px,env(safe-area-inset-top)) 20px max(20px,env(safe-area-inset-bottom));
  visibility:hidden;pointer-events:none;
}
.cheffy-waitlist-modal.is-open{visibility:visible;pointer-events:auto}
.cheffy-waitlist-modal-backdrop{
  position:absolute;inset:0;background:rgba(0,0,0,.38);
  backdrop-filter:blur(8px) saturate(1.1);
  -webkit-backdrop-filter:blur(8px) saturate(1.1);
  opacity:0;transition:opacity .28s cubic-bezier(.4,0,.2,1);
}
.cheffy-waitlist-modal.is-open .cheffy-waitlist-modal-backdrop{opacity:1}
.cheffy-waitlist-modal-card{
  position:relative;z-index:1;box-sizing:border-box;flex:0 0 auto;
  width:100%;max-width:360px;min-width:0;
  padding:22px 24px 20px;
  border-radius:22px;
  background:#f5f5f7;
  box-shadow:0 24px 64px -20px rgba(0,0,0,.28);
  opacity:0;transform:scale(.97) translateY(8px);
  transition:opacity .28s cubic-bezier(.4,0,.2,1),transform .28s cubic-bezier(.4,0,.2,1);
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;color:#1d1d1f;
  max-height:min(90vh,640px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;
}
.cheffy-waitlist-modal.is-open .cheffy-waitlist-modal-card{
  opacity:1;transform:scale(1) translateY(0);
}
.cheffy-waitlist-modal-close{
  position:absolute;top:14px;right:14px;z-index:2;
  display:flex;align-items:center;justify-content:center;
  width:32px;height:32px;min-width:32px;min-height:32px;
  border:0;border-radius:50%;
  background:rgba(120,120,128,.16);color:#636366;
  cursor:pointer;padding:0;margin:0;
  font-size:0;line-height:0;
  -webkit-appearance:none;appearance:none;
  transition:color .2s ease,background-color .2s ease,transform .2s ease;
}
.cheffy-waitlist-modal-close::before,
.cheffy-waitlist-modal-close::after{
  content:"";position:absolute;top:50%;left:50%;
  width:11px;height:1.5px;margin:-0.75px 0 0 -5.5px;
  border-radius:1px;background:currentColor;
}
.cheffy-waitlist-modal-close::before{transform:rotate(45deg)}
.cheffy-waitlist-modal-close::after{transform:rotate(-45deg)}
.cheffy-waitlist-modal-close:hover{color:#1d1d1f;background:rgba(120,120,128,.24)}
.cheffy-waitlist-modal-close:active{transform:scale(.96)}

.cheffy-waitlist-modal-card #cheffyWaitlistModalFormView{padding-right:28px}

.cheffy-waitlist-modal-eyebrow{
  margin:0 0 8px;font-size:12px;line-height:1.35;letter-spacing:-.01em;color:#6e6e73;
}
.cheffy-waitlist-modal-eyebrow [data-waitlist-count]{font-weight:600;color:#1d1d1f}
.cheffy-waitlist-modal-card h2{
  margin:0;font-size:24px;line-height:1.12;font-weight:600;letter-spacing:-.028em;
}
.cheffy-waitlist-modal-sub{
  margin:8px 0 16px;font-size:15px;line-height:1.4;letter-spacing:-.01em;color:#6e6e73;
}
.cheffy-waitlist-modal-card form{margin:0}

/* Optional question: iOS-style segmented control */
.cheffy-waitlist-modal-question{
  margin:0 0 22px;padding:0;border:0;min-width:0;
}
.cheffy-waitlist-modal-question legend{
  padding:0;margin:0 0 9px;
  font-size:13px;line-height:1.35;letter-spacing:-.01em;color:#6e6e73;
}
.cheffy-waitlist-modal-segments{
  display:flex;gap:2px;padding:2px;
  background:rgba(120,120,128,.12);border-radius:10px;
}
.cheffy-waitlist-modal-segments label{flex:1;min-width:0;cursor:pointer}
.cheffy-waitlist-modal-segments input{position:absolute;opacity:0;width:0;height:0}
.cheffy-waitlist-modal-segments span{
  display:flex;align-items:center;justify-content:center;
  padding:7px 4px;border-radius:8px;
  font-size:14px;line-height:1.2;letter-spacing:-.01em;color:#1d1d1f;white-space:nowrap;
  transition:background-color .2s ease,box-shadow .2s ease;
}
.cheffy-waitlist-modal-segments label:hover span{background:rgba(255,255,255,.5)}
.cheffy-waitlist-modal-segments input:checked + span{
  background:#fff;font-weight:500;
  box-shadow:0 1px 3px rgba(0,0,0,.12),0 0 0 .5px rgba(0,0,0,.04);
}
.cheffy-waitlist-modal-segments input:focus-visible + span{
  box-shadow:0 0 0 3px rgba(0,113,227,.35);
}
.cheffy-waitlist-modal-field{
  display:flex;align-items:flex-end;gap:20px;
  padding:0 0 12px;border-bottom:1px solid rgba(29,29,31,.55);
  transition:border-color .25s ease;
}
.cheffy-waitlist-modal-field:focus-within{border-bottom-color:var(--blue,#0071e3)}
.cheffy-waitlist-modal-field input{
  flex:1;min-width:0;border:0;background:transparent;padding:6px 0;
  font:inherit;font-size:17px;line-height:1.23536;letter-spacing:-.022em;
  color:#1d1d1f;outline:none;
}
.cheffy-waitlist-modal-field input::placeholder{color:rgba(29,29,31,.36)}
.cheffy-waitlist-modal-field input:disabled{opacity:.45}
.cheffy-waitlist-modal-field button{
  flex:none;border:0;background:transparent;padding:6px 0;
  font:inherit;font-size:17px;line-height:1.23536;font-weight:400;letter-spacing:-.022em;
  color:var(--blue,#0071e3);cursor:pointer;white-space:nowrap;
  transition:opacity .2s ease;
}
.cheffy-waitlist-modal-field button:hover{opacity:.72}
.cheffy-waitlist-modal-field button:disabled{color:#86868b;cursor:default;opacity:1}
.cheffy-waitlist-modal-note{
  margin:10px 0 0;font-size:11px;line-height:1.4;letter-spacing:-.01em;color:#86868b;
}
.cheffy-waitlist-modal-done{padding-right:28px}
.cheffy-waitlist-modal-success{
  margin:0;padding:4px 0;font-size:17px;line-height:1.35;font-weight:400;letter-spacing:-.01em;color:#1d1d1f;
}
.cheffy-waitlist-modal-card.is-done #cheffyWaitlistModalFormView{display:none}
.cheffy-waitlist-modal-card.is-done .cheffy-waitlist-modal-done{display:block!important}

/* Skip-the-line offer: the ask that follows the confirmation. A raised white
   card so it reads as a second, optional thing rather than more of the receipt. */
.cheffy-waitlist-offer{
  margin-top:18px;padding:16px 16px 14px;
  border-radius:16px;background:#fff;
  box-shadow:0 1px 3px rgba(0,0,0,.06),0 0 0 .5px rgba(0,0,0,.05);
  animation:cheffy-waitlist-offer-in .42s cubic-bezier(.4,0,.2,1) .12s both;
}
@keyframes cheffy-waitlist-offer-in{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:none}
}
.cheffy-waitlist-offer-title{
  margin:0;font-size:17px;line-height:1.25;font-weight:600;letter-spacing:-.02em;color:#1d1d1f;
}
.cheffy-waitlist-offer-copy{
  margin:6px 0 14px;font-size:13px;line-height:1.42;letter-spacing:-.01em;color:#6e6e73;
}
.cheffy-waitlist-offer-cta{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 16px;border-radius:980px;
  background:var(--blue,#0071e3);color:#fff;text-decoration:none;
  font-size:14px;line-height:1.2;font-weight:600;letter-spacing:-.01em;
  transition:opacity .2s ease,transform .2s ease;
}
.cheffy-waitlist-offer-cta:hover{opacity:.88}
.cheffy-waitlist-offer-cta:active{transform:scale(.98)}
.cheffy-waitlist-offer-min{
  padding:2px 7px;border-radius:980px;background:rgba(255,255,255,.22);
  font-size:11px;font-weight:500;letter-spacing:0;
}
.cheffy-waitlist-offer-skip{
  display:block;margin:12px 0 0;padding:0;border:0;background:transparent;
  font:inherit;font-size:13px;line-height:1.3;letter-spacing:-.01em;color:#86868b;cursor:pointer;
  transition:color .2s ease;
}
.cheffy-waitlist-offer-skip:hover{color:#1d1d1f}
.cheffy-waitlist-modal-card.cheffy-ask.is-submitted .cheffy-waitlist-modal-field,
.cheffy-waitlist-modal-card.cheffy-ask.is-submitted .cheffy-waitlist-modal-note{display:none}
.cheffy-waitlist-modal-card .cheffy-ask-more{
  display:none;grid-template-rows:0fr;opacity:0;transform:translateY(6px);
  transition:grid-template-rows .5s ease,opacity .5s ease,transform .5s ease;
}
.cheffy-waitlist-modal-card .cheffy-ask-more-inner{
  min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:16px;
}
.cheffy-waitlist-modal-card.cheffy-ask.is-revealed .cheffy-ask-more{
  display:grid;grid-template-rows:1fr;opacity:1;transform:none;margin-top:16px;
}
.cheffy-waitlist-modal-card .cheffy-ask-followup{
  margin:0;font-size:13px;line-height:1.35;letter-spacing:-.01em;color:#6e6e73;
}
.cheffy-waitlist-modal-card .cheffy-shape-field{display:flex;flex-direction:column;gap:8px}
.cheffy-waitlist-modal-card .cheffy-shape-input{
  width:100%;border:0;border-bottom:1px solid rgba(29,29,31,.55);background:transparent;
  padding:8px 0 12px;font:inherit;font-size:17px;line-height:1.23536;letter-spacing:-.022em;
  color:#1d1d1f;outline:none;transition:border-color .25s ease;
}
.cheffy-waitlist-modal-card .cheffy-shape-input::placeholder{color:rgba(29,29,31,.36)}
.cheffy-waitlist-modal-card .cheffy-shape-input:focus{border-bottom-color:var(--blue,#0071e3)}
.cheffy-waitlist-modal-card .cheffy-shape-input[aria-invalid="true"]{border-bottom-color:#d70015}
.cheffy-waitlist-modal-card .cheffy-shape-actions{margin-top:0}
.cheffy-waitlist-modal-card .cheffy-shape-submit{
  display:inline-flex;align-items:center;justify-content:center;min-width:148px;
  padding:11px 22px;border-radius:980px;border:1.5px solid #1d1d1f;background:#1d1d1f;color:#fff;
  font:inherit;font-size:14px;line-height:1.23536;font-weight:600;letter-spacing:-.01em;cursor:pointer;
}
.cheffy-waitlist-modal-card .cheffy-shape-submit:hover{opacity:.88}
.cheffy-waitlist-modal-card .cheffy-shape-submit:disabled{opacity:.45;cursor:default}
.cheffy-waitlist-modal-card .experience-price-range{display:flex;flex-direction:column;gap:14px}
.cheffy-waitlist-modal-card .experience-price-range input[type="range"]{
  width:100%;margin:0;accent-color:var(--blue,#0071e3);cursor:pointer;
}
.cheffy-waitlist-modal-card .experience-price-labels{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  font-size:12px;line-height:1.33337;color:#6e6e73;
}
.cheffy-waitlist-modal-card .experience-price-labels output{
  font-size:17px;line-height:1.23536;font-weight:600;letter-spacing:-.022em;color:#1d1d1f;
}

@media(prefers-reduced-motion:reduce){
  .cheffy-waitlist-modal-backdrop,.cheffy-waitlist-modal-card,.cheffy-waitlist-modal-close{transition:none}
  .cheffy-waitlist-offer{animation:none}
  .cheffy-waitlist-offer-cta{transition:none}
}
.cheffy-waitlist-modal .visually-hidden{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
