/* Audit booking page (page-templates/aeo-booking-form.php). Builds on aeo-audit.css (tokens, card, fields, buttons). */
.aeb-body .aeo-wrap{max-width:760px}
.aeb-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
.aeb-steps--2{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:420px){.aeb-steps .aeo-steps-item{font-size:12.5px;gap:7px}.aeb-steps .aeo-steps-dot{flex-basis:22px;width:22px;height:22px;font-size:11px}}
.aeb-hint{margin:8px 0 0;font-size:13px;line-height:1.45;color:var(--aeo-muted)}
/* buttons: the label may wrap onto two lines on narrow screens instead of spilling out of the card */
.aeb-form .aeo-btn{max-width:100%;padding-top:10px;padding-bottom:10px;line-height:1.25;text-align:center;white-space:normal}
.aeb-form .aeo-btn>span{min-width:0}
.aeb-form .aeo-btn-arrow{flex:none}
.aeb-form .aeo-actions--split .aeo-btn{flex:0 1 auto;max-width:none}
@media (max-width:400px){.aeb-form .aeo-btn{padding-left:20px;padding-right:20px;font-size:15px}}

/* ---------- small phones ---------- */
@media (max-width:480px){
  /* progress: number above its label, so three steps fit without crowding */
  .aeb-steps{gap:8px}
  .aeb-steps .aeo-steps-item{flex-direction:column;align-items:flex-start;gap:6px;line-height:1.25}
  .aeb-steps-opt{display:none}
  /* Back + main button don't fit side by side: main button full width, Back underneath */
  .aeb-form .aeo-actions--split{flex-direction:column-reverse;align-items:stretch;gap:6px}
  .aeb-form .aeo-actions--split .aeo-btn{max-width:none;width:100%}
  .aeb-form .aeo-actions--split .aeo-back{align-self:center}
}
@media (max-width:360px){
  .aeb-body .aeo-kicker{font-size:11px;letter-spacing:.1em}
  .aeb-form .aeo-pill span{padding:0 6px;font-size:13.5px;white-space:nowrap}
}

/* ---------- state select ---------- */
.aeb-select{position:relative}
.aeb-select-input{padding-right:48px;-webkit-appearance:none;appearance:none;cursor:pointer;font-family:inherit;font-weight:600}
.aeb-select-input:invalid,.aeb-select-input option[value=""]{color:#a2a5b8;font-weight:500}
.aeb-select-input option{color:var(--aeo-ink)}
.aeb-select-icon{position:absolute;right:16px;top:50%;width:20px;height:20px;margin-top:-10px;fill:none;stroke:var(--aeo-muted);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}

/* ---------- congratulations (step 2) ---------- */
.aeb-congrats{text-align:center;padding-top:6px}
.aeb-congrats .aeb-ty-lead strong{color:var(--aeo-ink)}
.aeb-congrats-area{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:520px;margin:6px auto 18px;padding:0;list-style:none}
.aeb-congrats-area li{display:inline-flex;align-items:center;gap:6px;max-width:100%;min-height:36px;padding:6px 14px 6px 10px;line-height:1.3;overflow-wrap:anywhere;text-align:left;border-radius:999px;background:var(--aeo-pale);box-shadow:inset 0 0 0 1px #d9e0ff;font-size:14px;font-weight:700;color:var(--aeo-brand)}
.aeb-congrats-area svg{flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}
.aeb-congrats-area .aeb-congrats-more{padding:0 14px;background:none;box-shadow:none;color:var(--aeo-muted)}
.aeb-congrats .aeo-actions{margin-top:28px}
.aeb-congrats .aeb-ty-badge{width:64px;height:64px;margin-bottom:16px}
.aeb-congrats .aeb-ty-badge svg{width:28px;height:28px}
.aeb-ty-title,.aeb-ty-lead{overflow-wrap:anywhere}
@media (max-width:480px){
  .aeb-congrats .aeb-ty-title{font-size:clamp(24px,7.4vw,30px)}
  .aeb-congrats .aeb-ty-lead{font-size:15px}
  .aeb-congrats-area li{font-size:13.5px}
}

/* ---------- Calendly on the thank-you screen ---------- */
.aeb-calendly{margin-top:28px;border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 0 0 1px var(--aeo-line)}
.aeb-calendly.is-loaded{height:700px;min-width:280px}
@media (max-width:480px){.aeb-calendly{margin-left:-8px;margin-right:-8px}.aeb-calendly.is-loaded{height:900px}}
.aeb-calendly-fallback{margin:0;padding:22px;text-align:center;font-size:14.5px;color:var(--aeo-muted)}
.aeb-calendly-fallback a{color:var(--aeo-brand);font-weight:700}

/* ---------- cities ---------- */
.aeb-cities{min-width:0;margin:24px 0 0;padding:0;border:0;animation:aeo-step .45s var(--aeo-ease) both}
.aeb-cities legend.aeo-label{display:flex;width:100%;padding:0}
.aeb-count{font-size:13px;font-weight:700;color:var(--aeo-brand)}
.aeb-city-tools{margin-bottom:12px}
.aeb-city-filter{min-height:48px;font-size:16px} /* 16px: iPhones don't zoom in on focus */
/* long lists scroll inside the box; the bottom edge fades so it's clear there's more */
.aeb-chips{display:flex;flex-wrap:wrap;gap:8px;max-height:min(280px,52vh);overflow:auto;overscroll-behavior:contain;padding:2px 2px 18px;margin:-2px}
.aeb-chips.is-scroll{-webkit-mask-image:linear-gradient(#000 calc(100% - 36px),transparent);mask-image:linear-gradient(#000 calc(100% - 36px),transparent)}
.aeb-chips.is-scroll.is-end{-webkit-mask-image:none;mask-image:none}
.aeb-cities[aria-invalid="true"] .aeb-chips{outline:2px solid rgba(180,35,24,.35);outline-offset:4px;border-radius:12px}
.aeb-chip{position:relative;max-width:100%;margin:0;cursor:pointer}
.aeb-chip[hidden]{display:none}
.aeb-chip input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.aeb-chip span{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border:1.5px solid transparent;border-radius:999px;background:var(--aeo-fill);
  font-size:14px;font-weight:600;color:var(--aeo-ink);transition:background-color .2s,color .2s,box-shadow .2s,transform .2s var(--aeo-ease)}
.aeb-chip:hover span{background:#eaeefc}
.aeb-chip input:checked+span{background:var(--aeo-brand);color:#fff;box-shadow:0 8px 18px -10px rgba(1,43,255,.8)}
.aeb-chip input:checked+span::before{content:"";width:12px;height:7px;margin:-3px 0 0;border:solid currentColor;border-width:0 0 2.2px 2.2px;transform:rotate(-45deg)}
.aeb-chip input:focus-visible+span{outline:3px solid rgba(1,43,255,.4);outline-offset:2px}
.aeb-chip:active span{transform:scale(.97)}
/* long city names wrap inside their chip instead of running past the card */
.aeb-chip span{max-width:100%;padding-top:6px;padding-bottom:6px;line-height:1.25;overflow-wrap:anywhere}
@media (max-width:400px){.aeb-chip span{min-height:38px;padding-left:12px;padding-right:12px;font-size:13.5px}}
.aeb-empty{margin:4px 0 0;font-size:14px;color:var(--aeo-muted)}
.aeb-other{margin-top:16px}
.aeb-other-label{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:4px 10px;margin:0 0 8px;font-size:13.5px;font-weight:700;color:var(--aeo-ink)}
.aeb-opt-badge{display:inline-block;padding:3px 10px;border-radius:999px;background:var(--aeo-okbg);font-size:11.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--aeo-ok)}
.aeb-other .aeb-hint{margin-top:6px}
.aeb-cities-hint{margin:-2px 0 12px}

/* ---------- calendar ---------- */
.aeb-cal-wrap{display:grid;grid-template-columns:1fr;gap:22px}
@media (min-width:720px){.aeb-cal-wrap{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:28px}}
.aeb-cal-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.aeb-cal-month{margin:0;font-family:var(--aeo-display);font-size:19px;font-weight:700;letter-spacing:-.01em;color:var(--aeo-ink)}
.aeb-cal-nav{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:0;border-radius:50%;background:var(--aeo-pale);color:var(--aeo-brand);cursor:pointer;transition:background-color .2s}
.aeb-cal-nav:hover:not(:disabled){background:#e3e8ff}
.aeb-cal-nav:disabled{opacity:.35;cursor:default}
.aeb-cal-nav svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.aeb-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.aeb-dow{padding:6px 0;text-align:center;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#9a9db0}
.aeb-day{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1;min-height:40px;max-height:52px;width:100%;padding:0;border:0;border-radius:50%;background:none;
  font-size:15px;font-weight:600;color:#b4b7c6;font-variant-numeric:tabular-nums}
.aeb-day--pad{visibility:hidden}
.aeb-day.is-open{background:var(--aeo-pale);color:var(--aeo-brand);font-weight:800;cursor:pointer;transition:background-color .2s,color .2s,transform .2s var(--aeo-ease)}
.aeb-day.is-open:hover{background:#e3e8ff}
.aeb-day.is-open:active{transform:scale(.94)}
.aeb-day.is-selected{background:var(--aeo-brand);color:#fff;box-shadow:0 10px 20px -10px rgba(1,43,255,.8)}
.aeb-day.is-selected:hover{background:var(--aeo-brand)}
.aeb-cal-status{margin:12px 0 0;font-size:14px;line-height:1.5;color:var(--aeo-muted)}

.aeb-times{display:flex;flex-direction:column;min-width:0}
@media (min-width:720px){.aeb-times{padding-left:28px;border-left:1px solid var(--aeo-line)}}
.aeb-times-title{margin:0 0 12px;min-height:40px;display:flex;align-items:center;font-size:15px;font-weight:700;color:var(--aeo-ink);scroll-margin-top:16px}
.aeb-times-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;align-content:start}
@media (min-width:720px){.aeb-times-list{grid-template-columns:1fr 1fr;max-height:300px;overflow:auto;padding:2px;margin:-2px}}
.aeb-time{min-height:46px;padding:0 10px;border:1.5px solid var(--aeo-field);border-radius:12px;background:#fff;font-size:15px;font-weight:700;color:var(--aeo-brand);font-variant-numeric:tabular-nums;cursor:pointer;
  transition:background-color .2s,border-color .2s,color .2s,transform .2s var(--aeo-ease)}
.aeb-time:hover{border-color:var(--aeo-brand);background:#f7f8ff}
.aeb-time:active{transform:scale(.97)}
.aeb-time.is-selected{background:var(--aeo-brand);border-color:var(--aeo-brand);color:#fff;box-shadow:0 10px 20px -10px rgba(1,43,255,.8)}
.aeb-tz{display:flex;align-items:flex-start;gap:8px;margin:16px 0 0;font-size:13px;line-height:1.45;color:var(--aeo-muted)}
.aeb-tz svg{flex:none;width:16px;height:16px;margin-top:1px;fill:none;stroke:currentColor;stroke-width:1.8}

.aeb-steps-opt{display:block;font-size:11px;font-weight:600;color:#9a9db0;letter-spacing:0}
.aeb-step-note{margin:0 0 20px;padding:12px 16px;border-radius:14px;background:var(--aeo-pale);font-size:14px;line-height:1.5;color:var(--aeo-muted)}
.aeb-step-note strong{color:var(--aeo-ink)}
.aeb-summary p{flex:1;min-width:0}
.aeb-summary-clear{flex:none;min-height:40px;padding:0 14px;border:0;border-radius:999px;background:#fff;font-size:13.5px;font-weight:700;color:var(--aeo-muted);cursor:pointer;transition:color .2s}
.aeb-summary-clear:hover{color:var(--aeo-bad)}
.aeb-summary{display:flex;align-items:center;gap:14px;margin-top:22px;padding:14px 18px;border-radius:16px;background:var(--aeo-pale);animation:aeo-step .35s var(--aeo-ease) both}
.aeb-summary svg{flex:none;width:26px;height:26px;fill:none;stroke:var(--aeo-brand);stroke-width:1.9;stroke-linecap:round}
.aeb-summary p{display:flex;flex-direction:column;gap:2px;margin:0;font-size:15px;color:var(--aeo-ink)}
@media (max-width:420px){.aeb-summary{gap:10px;padding:12px 12px 12px 16px}.aeb-summary>svg{display:none}.aeb-summary p{font-size:14.5px}}
.aeb-summary span{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--aeo-brand)}

/* ---------- thank-you screen ---------- */
/* once sent, the form's headline gives way to the thank-you hero (the logo stays) */
.aeo-card.is-thanks .aeo-head{margin-bottom:8px}
.aeo-card.is-thanks .aeo-head>:not(.aeo-logo-link){display:none}
.aeb-thanks{animation:aeo-step .5s var(--aeo-ease) both}
.aeb-thanks :focus:not(:focus-visible){outline:none}
/* headings get focus from the script (for screen readers), not from the user: no ring */
.aeb-thanks [tabindex="-1"]:focus{outline:none}
.aeb-booked:focus{outline:none}

/* hero */
.aeb-ty-hero{padding:18px 0 4px;text-align:center}
.aeb-ty-badge{position:relative;display:grid;place-items:center;width:76px;height:76px;margin:0 auto 22px;border-radius:50%;
  background:linear-gradient(140deg,#16a35f,#0d7a45);box-shadow:0 18px 34px -16px rgba(13,122,69,.75),inset 0 1px 0 rgba(255,255,255,.3);animation:aeo-pop .7s var(--aeo-ease) both}
.aeb-ty-badge svg{position:relative;z-index:1;width:34px;height:34px;fill:none;stroke:#fff;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:24;stroke-dashoffset:24;animation:aeb-draw .5s .35s var(--aeo-ease) forwards}
.aeb-ty-ring{position:absolute;inset:0;border-radius:50%;border:2px solid rgba(22,163,95,.35);animation:aeb-ring 2.4s .6s var(--aeo-ease) infinite}
.aeb-ty-ring--2{animation-delay:1.4s}
.aeb-ty-kicker{margin:0 0 10px;font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--aeo-ok)}
.aeb-ty-title{margin:0 auto 12px;max-width:18ch;font-family:var(--aeo-display);font-size:clamp(28px,5.4vw,40px);font-weight:700;line-height:1.08;letter-spacing:-.03em;color:var(--aeo-ink);text-wrap:balance}
.aeb-ty-title-em{display:block;background:linear-gradient(100deg,var(--aeo-brand),var(--aeo-violet));-webkit-background-clip:text;background-clip:text;color:transparent}
.aeb-ty-lead{margin:0 auto;max-width:42ch;font-size:16px;line-height:1.55;color:var(--aeo-muted);text-wrap:pretty}
.aeb-ty-lead strong{color:var(--aeo-ink);overflow-wrap:anywhere}


/* the call offer: dark brand card with one clear button */
.aeb-ty-cta{position:relative;display:flex;flex-direction:column;gap:20px;margin-top:32px;padding:26px 24px;border-radius:24px;overflow:hidden;isolation:isolate;
  background:radial-gradient(120% 140% at 0% 0%,#0a1a9e 0%,#03087a 45%,#00033f 100%);color:#fff;box-shadow:0 30px 60px -30px rgba(0,3,63,.7);animation:aeo-step .5s .15s var(--aeo-ease) both}
.aeb-ty-cta::before{content:"";position:absolute;inset:0;z-index:-1;
  background-image:linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px);background-size:32px 32px;
  -webkit-mask-image:radial-gradient(ellipse 80% 90% at 100% 0%,#000 10%,transparent 70%);mask-image:radial-gradient(ellipse 80% 90% at 100% 0%,#000 10%,transparent 70%)}
.aeb-ty-cta::after{content:"";position:absolute;z-index:-1;right:-90px;top:-110px;width:280px;height:280px;border-radius:50%;background:radial-gradient(closest-side,rgba(109,92,255,.55),rgba(109,92,255,0))}
@media (min-width:640px){.aeb-ty-cta{flex-direction:row;align-items:center;justify-content:space-between;gap:28px;padding:30px 32px}}
/* "Optional" in brand orange (lightened for contrast on the dark card) so it's easy to spot */
.aeb-ty-cta-kicker{display:inline-block;margin:0 0 10px;padding:4px 11px;border-radius:999px;background:rgba(255,138,61,.16);box-shadow:inset 0 0 0 1px rgba(255,138,61,.4);font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#ff8a3d}
.aeb-ty-cta-title{margin:0 0 8px;font-family:var(--aeo-display);font-size:clamp(21px,3.4vw,26px);font-weight:700;line-height:1.15;letter-spacing:-.02em;text-wrap:balance}
.aeb-ty-cta-lead{margin:0;max-width:40ch;font-size:15px;line-height:1.55;color:#c3c9ee}
.aeb-ty-perks{display:flex;flex-wrap:wrap;gap:6px 16px;margin:14px 0 0;padding:0;list-style:none;font-size:13px;font-weight:700;color:#e3e7ff}
.aeb-ty-perks li{display:inline-flex;align-items:center;gap:6px}
.aeb-ty-perks li::before{content:"";width:14px;height:8px;margin-top:-3px;border:solid #7ee2a8;border-width:0 0 2px 2px;transform:rotate(-45deg)}
.aeb-ty-cta-btn{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 26px;border:0;border-radius:999px;cursor:pointer;
  background:#fff;color:var(--aeo-brand);font:inherit;font-size:16px;font-weight:800;white-space:nowrap;
  box-shadow:0 14px 30px -12px rgba(0,0,0,.55);transition:transform .25s var(--aeo-ease),box-shadow .25s}
.aeb-ty-cta-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.aeb-ty-cta-btn:hover{transform:translateY(-2px);box-shadow:0 20px 36px -12px rgba(0,0,0,.6)}
.aeb-ty-cta-btn:active{transform:scale(.98)}
.aeb-ty-cta-btn:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media (max-width:639px){.aeb-ty-cta-btn{width:100%}}

/* step 3: "Book my appointment" (Calendly popup), where the phone field was */
.aeb-book-now{display:flex;flex-direction:column;gap:14px;margin:8px 0 0;padding:20px 22px;border:1.5px dashed rgba(1,43,255,.28);border-radius:16px;background:rgba(1,43,255,.04)}
.aeb-book-now-title{margin:0 0 4px;font-weight:800;font-size:15.5px;color:var(--aeo-ink,#00033f)}
.aeb-book-now .aeb-hint{margin:0}
.aeb-book-now-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:10px 22px;border:1.5px solid var(--aeo-brand);border-radius:999px;cursor:pointer;
  background:#fff;color:var(--aeo-brand);font:inherit;font-size:15.5px;font-weight:800;line-height:1.25;text-align:center;transition:background .2s,color .2s,transform .2s}
.aeb-book-now-btn svg{flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.aeb-book-now-btn:hover{background:var(--aeo-brand);color:#fff}
.aeb-book-now-btn:active{transform:scale(.98)}
.aeb-book-now-btn:focus-visible{outline:3px solid var(--aeo-brand);outline-offset:3px}
@media (min-width:560px){.aeb-book-now{flex-direction:row;align-items:center;justify-content:space-between;gap:20px}.aeb-book-now-btn{flex:none}}
@media (max-width:559px){.aeb-book-now-btn{width:100%}}
.aeb-form .aeb-book-now + .aeo-actions{margin-top:28px}
/* the picked time, in the form */
.aeb-picked{margin-top:22px}
.aeb-picked .aeb-ticket{box-shadow:0 0 0 1px var(--aeo-line),0 24px 44px -30px rgba(0,3,63,.45)}
.aeb-picked-note{margin:14px 0 0;font-size:14px;line-height:1.5;text-align:center;color:var(--aeo-muted)}
.aeb-picked-note strong{color:var(--aeo-ink)}
.aeb-calendly-picked{display:flex;align-items:flex-start;gap:10px;margin:22px 0 0;padding:14px 16px;border-radius:14px;background:var(--aeo-okbg);color:#05603a;font-size:14.5px;font-weight:600;line-height:1.5}
.aeb-calendly-picked[hidden]{display:none}
.aeb-calendly-picked svg{flex:none;width:20px;height:20px;margin-top:1px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.aeb-form .aeo-actions{margin-top:28px}
@media (max-width:480px){.aeb-book-now{padding:18px 16px}.aeb-form .aeb-book-now + .aeo-actions{margin-top:22px}}

/* "Book my appointment" popup: the built-in date + time picker */
.aeb-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:24px 16px}
.aeb-modal[hidden]{display:none}
.aeb-modal-backdrop{position:absolute;inset:0;background:rgba(0,3,63,.55);backdrop-filter:blur(3px);animation:aeb-fade .25s ease both}
.aeb-modal-panel{position:relative;width:100%;max-width:760px;max-height:calc(100dvh - 48px);overflow-y:auto;overscroll-behavior:contain;border-radius:24px;animation:aeb-pop .3s var(--aeo-ease) both}
.aeb-modal .aeb-schedule{margin:0;box-shadow:0 40px 80px -30px rgba(0,3,63,.6);animation:none}
.aeb-modal .aeb-sched-close{display:inline-flex;align-items:center;justify-content:center;width:40px;padding:0}
.aeb-modal .aeb-sched-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
html.aeb-modal-open{overflow:hidden}
@keyframes aeb-fade{from{opacity:0}}
@keyframes aeb-pop{from{opacity:0;transform:translateY(16px) scale(.98)}}
@media (max-width:560px){
  .aeb-modal{align-items:flex-end;padding:0}
  .aeb-modal-panel{max-height:92dvh;border-radius:22px 22px 0 0}
  .aeb-modal .aeb-schedule{padding:18px 16px calc(18px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0}
}
@media (prefers-reduced-motion:reduce){.aeb-modal-backdrop,.aeb-modal-panel{animation:none}}

.aeb-calendly-done{margin:18px auto 0;max-width:46ch;padding:16px 18px;border-radius:14px;background:rgba(18,183,106,.1);color:#05603a;font-weight:600;line-height:1.5;text-align:center}

/* scheduler panel (opens from the button) */
.aeb-schedule{margin-top:22px;padding:22px;border:1px solid var(--aeo-line);border-radius:24px;background:#fff;box-shadow:0 24px 50px -34px rgba(0,3,63,.45);animation:aeo-step .45s var(--aeo-ease) both}
@media (max-width:480px){.aeb-schedule{margin-left:-6px;margin-right:-6px;padding:18px 14px}}
.aeb-sched-bar{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid var(--aeo-line)}
.aeb-sched-title{margin:0 0 4px;font-family:var(--aeo-display);font-size:20px;font-weight:700;letter-spacing:-.015em;color:var(--aeo-ink)}
.aeb-sched-lead{margin:0;font-size:14px;color:var(--aeo-muted)}
.aeb-sched-close{flex:none;min-height:40px;padding:0 14px;border:1.5px solid var(--aeo-field);border-radius:999px;background:#fff;font:inherit;font-size:13.5px;font-weight:700;color:var(--aeo-muted);cursor:pointer;transition:color .2s,border-color .2s}
.aeb-sched-close:hover{color:var(--aeo-ink);border-color:#c5cde2}
.aeb-schedule .aeo-actions{margin-top:20px}
.aeb-schedule #aeb-slot-err{text-align:center}

/* booked: a ticket with a date tile and a perforated edge */
.aeb-booked{margin-top:26px;text-align:center}
.aeb-ticket{position:relative;display:grid;grid-template-columns:118px 1fr;text-align:left;border-radius:24px;background:#fff;
  box-shadow:0 0 0 1px var(--aeo-line),0 34px 60px -32px rgba(0,3,63,.5);animation:aeb-ticket .6s var(--aeo-ease) both}
.aeb-ticket-date{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:22px 10px;border-radius:24px 0 0 24px;
  background:linear-gradient(160deg,var(--aeo-brand) 0%,#2a3cff 55%,var(--aeo-violet) 140%);color:#fff}
.aeb-ticket-date span{font-size:12.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.8)}
.aeb-ticket-date strong{font-family:var(--aeo-display);font-size:52px;font-weight:700;line-height:1;letter-spacing:-.03em}
/* perforation between the tile and the details, with notches cut from the edges */
.aeb-ticket-body{position:relative;padding:22px 24px 22px 28px;border-left:2px dashed var(--aeo-line)}
.aeb-ticket-body::before,.aeb-ticket-body::after{content:"";position:absolute;left:-12px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 1px var(--aeo-line)}
.aeb-ticket-body::before{top:-11px}
.aeb-ticket-body::after{bottom:-11px}
.aeb-ticket-kicker{display:inline-flex;align-items:center;gap:6px;margin:0 0 8px;padding:4px 10px 4px 8px;border-radius:999px;background:var(--aeo-okbg);font-size:11.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--aeo-ok)}
.aeb-ticket-kicker svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.aeb-ticket-title{margin:0 0 6px;font-family:var(--aeo-display);font-size:clamp(19px,3vw,22px);font-weight:700;line-height:1.2;letter-spacing:-.015em;color:var(--aeo-ink)}
.aeb-ticket-time{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin:0 0 14px}
.aeb-ticket-time span{font-family:var(--aeo-display);font-size:24px;font-weight:700;letter-spacing:-.02em;color:var(--aeo-brand);font-variant-numeric:tabular-nums}
.aeb-ticket-time small{font-size:13px;font-weight:600;color:var(--aeo-muted)}
.aeb-ticket-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0;padding:12px 0 0;list-style:none;border-top:1px solid var(--aeo-line);font-size:13.5px;font-weight:600;color:var(--aeo-text)}
.aeb-ticket-meta li{display:inline-flex;align-items:center;gap:7px}
.aeb-ticket-meta svg{width:16px;height:16px;fill:none;stroke:var(--aeo-brand);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:480px){
  /* phones: the date tile becomes a strip across the top, perforation runs sideways */
  .aeb-ticket{grid-template-columns:1fr}
  .aeb-ticket-date{flex-direction:row;gap:10px;padding:14px;border-radius:24px 24px 0 0}
  .aeb-ticket-date strong{font-size:34px}
  .aeb-ticket-body{padding:22px 18px 20px;border-left:0;border-top:2px dashed var(--aeo-line)}
  .aeb-ticket-body::before,.aeb-ticket-body::after{top:-12px;bottom:auto}
  .aeb-ticket-body::before{left:-11px}
  .aeb-ticket-body::after{left:auto;right:-11px}
}
.aeb-booked-note{margin:20px 0 0;font-size:14.5px;color:var(--aeo-muted)}
.aeb-booked-note strong{color:var(--aeo-ink);overflow-wrap:anywhere}
.aeb-booked-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 18px;margin-top:18px}
.aeb-booked-actions .aeo-btn{white-space:nowrap}
.aeb-ics{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 18px;border:1.5px solid var(--aeo-field);border-radius:999px;font-size:14.5px;font-weight:700;color:var(--aeo-ink);text-decoration:none;transition:border-color .2s,color .2s}
.aeb-ics:hover{border-color:var(--aeo-brand);color:var(--aeo-brand)}
.aeb-ics svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:420px){.aeb-booked-actions .aeo-btn,.aeb-ics{width:100%;justify-content:center}.aeb-booked-actions .aeo-btn{padding:0 20px}}

@keyframes aeb-draw{to{stroke-dashoffset:0}}
@keyframes aeb-ring{0%{transform:scale(1);opacity:.9}100%{transform:scale(1.7);opacity:0}}
@keyframes aeb-ticket{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.aeb-ty-ring{display:none}.aeb-ty-badge svg{stroke-dashoffset:0}}

/* ---------- booked ---------- */
.aeb-done:focus{outline:none}
.aeb-done-when{margin:0 auto 12px;max-width:440px;font-family:var(--aeo-display);font-size:20px;font-weight:700;line-height:1.3;color:var(--aeo-brand);text-wrap:balance}
.aeb-done-actions{margin-top:24px}

@media (forced-colors:active){
  .aeb-chip input:checked+span,.aeb-day.is-selected,.aeb-time.is-selected{forced-color-adjust:none;background:Highlight;color:HighlightText}
  .aeb-chip span,.aeb-day.is-open,.aeb-time{border:1px solid ButtonText}
}
