/* Engine: Codex/gpt-6.1-sol, 2026-10-13: task530 reserve viewport edges so sticky controls never obscure customer content. */
body.e .customer-progress-line{position:fixed;top:0;left:0;width:100%;height:3px;z-index:100;border:0;border-radius:0;appearance:none;background:#d9e5ec;color:#10609d;pointer-events:none}
.customer-progress-line::-webkit-progress-bar{background:#d9e5ec}.customer-progress-line::-webkit-progress-value{background:#10609d}.customer-progress-line::-moz-progress-bar{background:#10609d}
body.e.customer-viewport{padding:0;overflow:hidden}body.e .customer-scroll{position:fixed;top:56px;bottom:0;left:0;right:0;overflow:auto;overscroll-behavior-y:contain;scroll-padding-block:18px}body.e.customer-floating-bottom .customer-scroll{bottom:82px}body.e.customer-floating-top .customer-scroll{top:85px}body.e.customer-floating-top header.top{visibility:hidden}
.customer-cta-edge.active{position:fixed;left:0;right:0;height:82px;background:#fff9c7;z-index:75;display:flex;align-items:center;justify-content:center;padding:12px 16px}.edge-top.active{top:3px}.edge-bottom.active{bottom:0;padding-bottom:max(12px,env(safe-area-inset-bottom))}
body.e .customer-cta-edge .order-now{position:static;width:min(100%,600px);margin:0;animation:none;font-size:18px;min-height:54px}
body.e .customer-cta-edge .order-now.customer-cta-above{animation:customer-cta-pulse 1.8s ease-in-out infinite}
body.e .order-now[hidden]{display:none!important}body.e #registration{scroll-margin-top:100px}
body.e .booking-progress,body.e .booking-progress-thin{display:none!important}
.thanks-card{max-width:680px;margin:32px auto;text-align:center}.thanks-sparkles{font-size:36px;letter-spacing:12px;color:#997c34}.thanks-sparkles span{display:inline-block;animation:thanks-jump 1.3s ease-in-out infinite}.thanks-sparkles span:nth-child(2){animation-delay:.2s}.thanks-sparkles span:nth-child(3){animation-delay:.4s}.thanks-details{text-align:right;display:grid;grid-template-columns:auto 1fr;gap:10px 18px;padding:20px;background:#fff9c7;border-radius:12px}.thanks-details dt{font-weight:bold}.thanks-details dd{margin:0;overflow-wrap:anywhere}.thanks-note{padding:16px;border-radius:12px;background:#eef5fa}
@keyframes thanks-jump{50%{transform:translateY(-12px)}}@keyframes customer-cta-pulse{50%{box-shadow:0 0 0 6px #10609d25}}
@media(prefers-reduced-motion:reduce){body.e .customer-cta-edge .order-now.customer-cta-above,.thanks-sparkles span{animation:none}}
@media print{.customer-cta-edge,.customer-progress-line,.thanks-sparkles{display:none!important}body.e.customer-viewport{overflow:visible}body.e .customer-scroll{position:static;overflow:visible}}

/* Engine: Codex/gpt-6.1-sol, 2026-10-16: task765 same customer back control geometry as the regular event page. */
body.e .customer-back696{position:absolute;left:12px;top:8px;min-height:40px;display:flex;align-items:center;padding:0 10px;border-radius:8px;background:#fff;color:#044060;text-decoration:none;font-weight:700;z-index:76}body.e .top{position:relative}body.e .top .brand{max-width:calc(100% - 96px)}

/* Engine: Codex/gpt-6.1-sol, 2026-10-16: task775 content-sized hero removes inherited image minimums; tenant UI keeps candidate3 header geometry. */
body.e main>.hero{min-height:0;margin-bottom:0;align-items:start}body.e .hero:not(:has(.event-poster)){grid-template-columns:1fr}body.e .hero>.event-poster{min-height:0;height:auto;display:block;align-self:start}body.e .hero-copy{padding:24px}body.e main>.hero+.card{margin-top:16px}body.e .tenant-brand{font-size:18px;line-height:1.3;display:block;overflow-wrap:anywhere}body.e .top:has(.tenant-brand) .brand-label{display:none}
/* Real select values keep existing server fields; JS enhancement offers day/time exclusively through accessible touch chips. */
.booking-pickers{display:grid;gap:12px;margin:20px 0}.picker-step{min-width:0;border:1px solid #d9e5ec;border-radius:14px;padding:16px;background:#f6f9fc}.picker-step h3{margin:0 0 8px;color:#044060;font-size:18px}.picker-caption{margin:0 0 5px}.picker-hint{margin:4px 0 12px;color:#526b7b;font-size:14px}.picker-tiles{display:flex;gap:10px;flex-wrap:wrap}.picker-chip{flex:0 1 auto;min-width:100px;min-height:48px;background:white;color:#044060;border:1px solid #aac5d7;padding:10px 16px;border-radius:10px;text-align:center}.picker-chip[aria-pressed=true]{background:#10609d;color:white;border-color:#10609d;box-shadow:inset 0 0 0 2px white,0 0 0 1px #10609d}.picker-chip:focus-visible,.picker-waitlist summary:focus-visible{outline:3px solid #997c34;outline-offset:4px}.picker-enhanced .picker-native{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important;clip-path:inset(50%);overflow:hidden;opacity:0;pointer-events:none}.picker-waitlist{margin:12px 0 0;padding-top:12px}.picker-waitlist[hidden]{display:none}.picker-waitlist summary{color:#044060;font-size:14px}.picker-waitlist p{font-size:14px}.picker-waitlist .picker-chip{border-style:dashed}.picker-native{margin:8px 0}body.e .booking-pickers select#guests{max-width:360px}
@media(min-width:800px){.booking-pickers{grid-template-columns:1fr}.picker-step{padding:18px 20px}.picker-tiles{gap:12px}}@media(max-width:500px){.picker-step{padding:14px 12px}.picker-chip{flex:1 1 125px;padding:10px}.hero>.hero-copy{padding:20px}}

/* Engine: Codex/gpt-6.1-sol, 2026-10-16: task783 light, non-blocking choice feedback and actionable missing fields. */
.diner-tiles .picker-chip{flex:0 0 54px;min-width:54px;min-height:54px;font-size:21px;font-weight:700}.choice-cheer{color:#23694d;font-weight:600;font-size:14px;margin:12px 0 0;min-height:20px}/* Engine: Codex/gpt-6.1-sol, 2026-10-16: task820 full containment clips particles at the viewport without adding flow height. */
.choice-cheer,.choice-confetti{pointer-events:none}
canvas.choice-confetti{position:fixed;inset:0;width:100%;height:100%;margin:0;z-index:2147483647;pointer-events:none;contain:strict;overflow:hidden;display:block}
.choice-pulse{animation:choice-pulse 1s ease-out}.missing-field{outline:2px solid #c92f45!important;outline-offset:3px;border-radius:10px}.missing-hint{display:block;color:#b51d34;font-size:13px;font-weight:700;margin-top:7px}.missing-flash{animation:missing-shake .6s ease-in-out,missing-red .9s ease-in-out}.missing-field input,.missing-field textarea{border-color:#c92f45!important}
body.e .customer-cta-edge .order-now{animation:none!important}body.e .customer-cta-edge .order-now.cta-attention{animation:cta-attention 1.8s ease-in-out infinite!important;transform-origin:center;max-width:min(94%,600px)}
@keyframes cta-attention{50%{transform:scale(1.06)}}@keyframes choice-pulse{50%{box-shadow:0 0 0 5px #79bb6640}}@keyframes missing-shake{15%,45%,75%{transform:translateX(-4px)}30%,60%,90%{transform:translateX(4px)}}@keyframes missing-red{25%,75%{box-shadow:0 0 0 6px #c92f4530}50%,100%{box-shadow:0 0 0 0 #c92f4500}}
@media(prefers-reduced-motion:reduce){.missing-flash{animation:none}.choice-confetti{display:none}body.e .customer-cta-edge .order-now.cta-attention{animation:none!important}}
/* Engine: Codex/gpt-6.1-sol, 2026-10-16: task820 async next-field highlighting must preserve the original 1px border geometry during a burst. */
#registration input.next:not([type=checkbox]),#registration select.next,#registration textarea.next{border-width:1px}
/* Engine: Codex/gpt-6.1-sol, 2026-10-16: task820 empty and populated confirmations occupy the same single line. */
#registration .choice-cheer{height:20px;line-height:20px;white-space:nowrap}

/* Engine: Codex/gpt-6.1-sol, 2026-10-16: task889 gives the requested diner chooser a clearer selected state using the existing aria state; no new behavior or layout animation. */
body.e .diner-tiles{gap:10px;padding-block:4px}
body.e .diner-tiles .picker-chip{position:relative;border-radius:16px;border:1px solid #aac5d7;background:#fff;box-shadow:0 2px 5px #0440600b}
body.e .diner-tiles .picker-chip[aria-pressed=true]{background:#10609d;color:#fff;border-color:#044060;box-shadow:inset 0 0 0 2px #fff,0 0 0 1px #10609d}
body.e .diner-tiles .picker-chip[aria-pressed=true]::after{content:"✓";position:absolute;inset-inline-end:4px;top:1px;font-size:11px;line-height:1}
body.e .diner-tiles .picker-chip:focus-visible{outline:3px solid #997c34;outline-offset:3px}

/* Engine: Codex/gpt-6.1-sol, 2026-10-17: task1160 paint-only next-step cue never changes border, size or flow. */
#registration .picker-next-guide{scroll-margin-top:24px;animation:picker-next-guide 2.2s ease-out}
@keyframes picker-next-guide{0%,35%{box-shadow:0 0 0 4px #1b9db040;background-color:#eaf7f9}100%{box-shadow:0 0 0 0 #1b9db000}}
@media(prefers-reduced-motion:reduce){#registration .picker-next-guide{animation:none;outline:3px solid #39889b;outline-offset:3px}}

/* Engine: Codex/gpt-6-luna, 2026-10-19: anchor the list above by default, with a viewport-aware below fallback from the picker script. */
.allergies-control{position:relative}.allergies-options{position:absolute;inset-inline:0;z-index:20;max-height:220px;overflow:auto;border:1px solid #aac5d7;background:#fff;box-shadow:0 8px 18px #04406020}.allergies-options.allergies-above{bottom:calc(100% - 2px);border-radius:10px 10px 0 0;box-shadow:0 -8px 18px #04406020}.allergies-options.allergies-below{top:calc(100% - 2px);border-radius:0 0 10px 10px}.allergies-options[hidden]{display:none}.allergies-option{padding:10px 14px;text-align:right;cursor:pointer}.allergies-option:hover,.allergies-option[aria-selected=true]{filter:brightness(.96)}.allergies-option:focus-visible{outline:3px solid #997c34;outline-offset:-3px}.allergy-neutral{background:#f3f5f6;color:#39464d}.allergy-gluten{background:#fff3cf;color:#654500}.allergy-nuts{background:#f2e6d9;color:#593719}.allergy-peanuts{background:#f8ead8;color:#68451d}.allergy-milk{background:#e3f2fb;color:#174d70}.allergy-eggs{background:#fff2b8;color:#5a4500}.allergy-sesame{background:#eeeae1;color:#49443a}.allergy-soy{background:#e4f2e7;color:#24552c}.allergy-fish{background:#dff2ef;color:#15554f}.allergy-seafood{background:#fde5df;color:#762e24}

/* Engine: Codex/gpt-6-luna, 2026-10-19: task1407 addendum extends the same readable allergy palette for ten common allergens. */
.allergy-wheat{background:#f8edce;color:#654800}.allergy-almonds{background:#e7efe2;color:#31512c}.allergy-hazelnuts{background:#efe4d8;color:#5a3921}.allergy-walnuts{background:#e9ddd0;color:#50321f}.allergy-cashew{background:#f4e6d4;color:#63451f}.allergy-pistachio{background:#e4f0d9;color:#35552a}.allergy-mustard{background:#f8edbd;color:#5b4900}.allergy-celery{background:#e2f0e6;color:#28543a}.allergy-lupin{background:#eee4f3;color:#53365e}.allergy-mollusks{background:#f7e2df;color:#702e2a}

/* Engine: Codex/gpt-6-luna, 2026-10-19: high-contrast repeated field flash makes validation guidance visible without changing layout. */
#registration .missing-field{outline:3px solid #c6283d!important;outline-offset:3px;background:#fff1f2!important;transition:background-color .15s ease}
#registration .missing-field input,#registration .missing-field textarea{border-color:#b51d34!important;box-shadow:0 0 0 2px #c6283d33}
#registration .missing-hint{padding:3px 7px;border-radius:5px;background:#fff1f2}
#registration .missing-flash{animation:registration-field-flash .5s ease-in-out 3}
@keyframes registration-field-flash{50%{background:#ffd6dc;box-shadow:0 0 0 7px #c6283d44}}
@media(prefers-reduced-motion:reduce){#registration .missing-flash{animation:none!important;transition:none!important}}

/* Grok Bot, 2026-10-23: Amitai asked for no celebration effects anywhere in the flow; validation hints and progress bars stay. */
.happy-badge,.booking-confetti,.choice-confetti,.thanks-sparkles,.pm2-confetti,.choice-cheer{display:none!important}.choice-pulse{animation:none!important}

/* BOT:amitai-popup, 2026-10-27: required cancellation-policy box above the main button. */
body.e .cancel-policy{margin:16px 0;padding:14px 16px;border:1px solid #d9e5ec;border-radius:12px;background:#f6f9fc}body.e .cancel-policy h3{margin:0 0 6px;font-size:17px;color:#044060}body.e .cancel-policy p{margin:0 0 10px;line-height:1.6}
/* BOT:amitai-popup (#1233 redo): customers get no back link in the event header (index.php line untouched). */
header.top .customer-back826{display:none!important}
