/* B10.3R-RC2.5.2S1 demo-only layer. Exact client components remain unchanged. */
:root{--maartiste-demo-primary:#9f3f42;--maartiste-demo-primary-soft:#f7e9ea;--maartiste-demo-accent:#B08D57}

/* RSVP search identity and optional field wording */
.demo-optional-label{display:inline-flex;align-items:center;margin-left:6px;padding:2px 7px;border:1px solid color-mix(in srgb,var(--maartiste-demo-primary) 28%,var(--border));border-radius:999px;background:color-mix(in srgb,var(--maartiste-demo-primary) 6%,#fff);color:var(--maartiste-demo-primary);font-size:9px;font-weight:800;letter-spacing:.04em;text-transform:none;vertical-align:middle}
#topIcon.demo-search-monogram{width:72px;height:72px;margin:0 auto var(--space-6);display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;background:#fff;border:1px solid color-mix(in srgb,var(--maartiste-demo-primary) 18%,var(--border));box-shadow:0 8px 24px rgba(42,33,24,.10)}
#topIcon .demo-search-monogram-image{display:block;width:100%;height:100%;padding:4px;object-fit:contain;border-radius:50%;background:#fff}
/* The RSVP success confirmation intentionally keeps the original animated check icon. */

/* RC2.2 action hierarchy retained: calendar is a quiet utility action. */
#calendarBtn{background:var(--maartiste-demo-primary-soft)!important;color:var(--maartiste-demo-primary)!important;border:1.5px solid color-mix(in srgb,var(--maartiste-demo-primary) 34%,transparent)!important;box-shadow:none!important}
#calendarBtn:hover{background:color-mix(in srgb,var(--maartiste-demo-primary-soft) 76%,#fff)!important;border-color:color-mix(in srgb,var(--maartiste-demo-primary) 48%,transparent)!important}
#calendarBtn:focus-visible{outline:3px solid color-mix(in srgb,var(--maartiste-demo-primary) 38%,#fff)!important;outline-offset:3px}

/* RC2.3 confirmation-only handoff. Hidden until a verified DemoStore save and the success screen are both active. */
.demo-confirmation-handoff[hidden]{display:none!important}
.demo-confirmation-handoff{margin:16px 20px 0;padding:16px 17px;display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid color-mix(in srgb,var(--maartiste-demo-primary) 26%,var(--border,#e8ddd4));border-radius:16px;background:color-mix(in srgb,var(--maartiste-demo-primary) 6%,#fff);text-align:left;box-shadow:0 10px 28px rgba(42,33,24,.08)}
.demo-confirmation-handoff-copy{min-width:0}
.demo-confirmation-handoff-copy span{display:block;margin-bottom:4px;color:var(--maartiste-demo-primary);font-size:9.5px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.demo-confirmation-handoff-copy strong{display:block;color:var(--text,#2a2118);font-family:var(--serif,Georgia,serif);font-size:19px;font-weight:700;line-height:1.25}
.demo-confirmation-handoff-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:50px;padding:11px 17px;border:1px solid var(--maartiste-demo-primary);border-radius:13px;background:var(--maartiste-demo-primary);color:#fff;text-decoration:none;font-size:13px;font-weight:900;white-space:nowrap}
.demo-confirmation-handoff-button:focus-visible{outline:3px solid color-mix(in srgb,var(--maartiste-demo-primary) 35%,#fff);outline-offset:3px}
body.image-export-open .demo-confirmation-handoff{display:none!important}

/* Demo Center direct Dashboard entry */
.demo-dashboard-entry{
  margin:0 0 20px;
  padding:18px 20px;
  border:1px solid color-mix(in srgb,var(--maartiste-demo-primary) 22%,var(--bdr));
  border-radius:16px;
  background:linear-gradient(135deg,color-mix(in srgb,var(--maartiste-demo-primary) 5%,#fff),#fff);
  box-shadow:var(--sh);
}
.demo-dashboard-entry-eyebrow{
  margin-bottom:5px;
  color:var(--maartiste-demo-primary);
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.demo-dashboard-entry h2{
  margin:0;
  color:var(--ink);
  font-family:var(--fd);
  font-size:clamp(22px,3vw,28px);
  line-height:1.15;
}
.demo-dashboard-entry p{
  max-width:720px;
  margin:7px 0 0;
  color:var(--mut);
  font-size:12.5px;
  line-height:1.6;
}
.demo-dashboard-entry-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:13px;
}
.demo-dashboard-entry-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:9px 13px;
  border-radius:9px;
  text-decoration:none;
  font-size:11.5px;
  font-weight:800;
}
.demo-dashboard-entry-primary{
  border:1px solid var(--maartiste-demo-primary);
  background:var(--maartiste-demo-primary);
  color:#fff;
}
.demo-dashboard-entry-secondary{
  border:1px solid var(--bdr);
  background:#fff;
  color:var(--maartiste-demo-primary);
}

/* Latest connected response marker */
.demo-latest-rsvp{position:relative}
.demo-latest-badge{display:inline-flex;align-items:center;flex:0 0 auto;margin-left:auto;padding:3px 8px;border:1px solid color-mix(in srgb,var(--maartiste-demo-primary) 28%,var(--bdr));border-radius:999px;background:color-mix(in srgb,var(--maartiste-demo-primary) 7%,#fff);color:var(--maartiste-demo-primary);font-size:9.5px;font-weight:900;letter-spacing:.04em;white-space:nowrap}

/* Existing post-tour inquiry card */
.demo-inquiry-card{margin-top:22px;padding:22px;border:1px solid color-mix(in srgb,var(--maartiste-demo-primary) 26%,var(--bdr));border-radius:18px;background:linear-gradient(135deg,color-mix(in srgb,var(--maartiste-demo-primary) 7%,#fff),#fff);box-shadow:var(--sh)}
.demo-inquiry-eyebrow{font-size:9.5px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;color:var(--maartiste-demo-primary);margin-bottom:6px}
.demo-inquiry-card h2{margin:0;font-family:var(--fd);font-size:clamp(23px,3vw,29px);line-height:1.15;color:var(--maartiste-demo-primary)}
.demo-inquiry-card p{max-width:680px;margin:8px 0 0;font-size:13px;line-height:1.65;color:var(--mut)}
.demo-inquiry-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}
.demo-inquiry-primary,.demo-inquiry-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:10px;text-decoration:none;font-size:12.5px;font-weight:800;transition:transform .16s ease,background .16s ease,border-color .16s ease}
.demo-inquiry-primary{padding:10px 16px;background:var(--maartiste-demo-primary);color:#fff;border:1px solid var(--maartiste-demo-primary)}
.demo-inquiry-link{padding:10px 13px;background:#fff;color:var(--maartiste-demo-primary);border:1px solid color-mix(in srgb,var(--maartiste-demo-primary) 30%,var(--bdr))}
.demo-inquiry-primary:hover,.demo-inquiry-link:hover{transform:translateY(-1px)}
.demo-inquiry-primary:focus-visible,.demo-inquiry-link:focus-visible{outline:3px solid color-mix(in srgb,var(--maartiste-demo-primary) 30%,#fff);outline-offset:3px}

/* Guided Guest Tracker proof tour. Underlying Dashboard motion is paused while the spotlight is active. */
body.demo-proof-open{overflow:hidden!important}
body.demo-proof-open>:not(#demoProofTour),body.demo-proof-open>:not(#demoProofTour) *{animation:none!important;transition:none!important}
body.demo-proof-open .panel.active{animation:none!important;transform:none!important}
body.demo-proof-open .mobile-bottom-nav{visibility:hidden!important;pointer-events:none!important}
.demo-proof-tour{position:fixed;inset:0;z-index:12000;display:none;pointer-events:auto;touch-action:none;overscroll-behavior:none}
.demo-proof-tour.is-open{display:block}
.demo-proof-tour.demo-proof-no-target{background:rgba(42,33,24,.54)}
.demo-proof-dim{display:none!important}
.demo-proof-spotlight{position:fixed;z-index:12006;display:none;border:2px solid var(--maartiste-demo-primary);border-radius:16px;background:rgba(255,255,255,.02);box-shadow:0 0 0 9999px rgba(42,33,24,.54),0 0 0 4px rgba(159,63,66,.16),0 12px 34px rgba(42,33,24,.24);pointer-events:none;transition:opacity 120ms ease-out!important;animation:none!important}
.demo-proof-card{position:fixed;z-index:12020;left:50%;bottom:22px;width:min(430px,calc(100vw - 36px));max-height:min(44dvh,350px);overflow:auto;transform:translateX(-50%);padding:18px;border:1px solid color-mix(in srgb,var(--maartiste-demo-primary) 24%,var(--bdr));border-radius:18px;background:#fff;box-shadow:0 18px 52px rgba(42,33,24,.22);transition:opacity 120ms ease-out!important}
.demo-proof-card.is-bottom{top:auto;bottom:22px}
.demo-proof-card.is-top{top:max(14px,calc(env(safe-area-inset-top) + 12px));bottom:auto}
.demo-proof-card.is-centered{top:50%;bottom:auto;transform:translate(-50%,-50%)}
.demo-proof-kicker{font-size:9.5px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;color:var(--maartiste-demo-primary);margin-bottom:7px}
.demo-proof-card h2{margin:0;font-family:var(--fd);font-size:26px;line-height:1.14;color:var(--maartiste-demo-primary)}
.demo-proof-card>p{margin:8px 0 0;font-size:13px;line-height:1.6;color:var(--mut)}
.demo-proof-progress{display:flex;gap:7px;margin-top:14px}
.demo-proof-progress[hidden]{display:none}
.demo-proof-progress span{width:9px;height:9px;border-radius:999px;background:var(--bdr);border:1px solid transparent}
.demo-proof-progress span.is-done{background:color-mix(in srgb,var(--maartiste-demo-primary) 44%,#fff)}
.demo-proof-progress span.is-current{background:var(--maartiste-demo-primary)}
.demo-proof-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px}
.demo-proof-actions[hidden]{display:none}
.demo-proof-nav{display:flex;gap:8px;align-items:center;margin-left:auto}
.demo-proof-exit,.demo-proof-back,.demo-proof-next,.demo-proof-secondary{min-height:42px;border-radius:10px;padding:9px 13px;font:800 12px var(--fb);cursor:pointer;animation:none!important}
.demo-proof-exit{border:0;background:transparent;color:var(--mut)}
.demo-proof-back,.demo-proof-secondary{border:1px solid var(--bdr);background:#fff;color:var(--ink)}
.demo-proof-next{border:1px solid var(--maartiste-demo-primary);background:var(--maartiste-demo-primary);color:#fff;min-width:118px}
.demo-proof-exit:focus-visible,.demo-proof-back:focus-visible,.demo-proof-next:focus-visible,.demo-proof-secondary:focus-visible,.demo-proof-complete-actions a:focus-visible{outline:3px solid color-mix(in srgb,var(--maartiste-demo-primary) 30%,#fff);outline-offset:2px}
.demo-proof-complete-actions{display:grid;grid-template-columns:1fr;gap:9px;margin-top:17px}
.demo-proof-complete-actions[hidden]{display:none}
.demo-proof-primary-link,.demo-proof-secondary-link{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:11px;padding:11px 14px;text-decoration:none;font-size:12.5px;font-weight:900}
.demo-proof-primary-link{background:var(--maartiste-demo-primary);color:#fff;border:1px solid var(--maartiste-demo-primary)}
.demo-proof-secondary-link{background:#fff;color:var(--maartiste-demo-primary);border:1px solid color-mix(in srgb,var(--maartiste-demo-primary) 28%,var(--bdr))}
.demo-proof-secondary{width:100%;min-height:48px;color:var(--maartiste-demo-primary);border-color:color-mix(in srgb,var(--maartiste-demo-primary) 28%,var(--bdr))}

@media(max-width:760px){
  body.demo-confirmation-handoff-active #sc-success .success-card{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  .demo-confirmation-handoff{position:fixed;z-index:6100;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));margin:0;padding:12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;border-radius:16px;box-shadow:0 14px 36px rgba(42,33,24,.20)}
  .demo-confirmation-handoff-copy strong{font-family:var(--sans,system-ui,sans-serif);font-size:12.5px;line-height:1.35}
  .demo-confirmation-handoff-copy span{font-size:8.5px;margin-bottom:2px}
  .demo-confirmation-handoff-button{min-height:48px;padding:10px 14px;font-size:12.5px}
  .demo-proof-card{width:calc(100vw - 28px);max-height:min(36dvh,270px);padding:15px 16px}
  .demo-proof-card.is-bottom{bottom:calc(14px + env(safe-area-inset-bottom))}
  .demo-proof-card.is-top{top:calc(10px + env(safe-area-inset-top))}
  .demo-proof-card h2{font-size:23px}
  .demo-proof-card>p{font-size:12.5px;line-height:1.52}
  .demo-proof-actions{align-items:stretch}
  .demo-proof-nav{flex:1;justify-content:flex-end}
  .demo-proof-next{min-width:0}
}
@media(max-width:560px){
  .demo-latest-badge{margin-left:0;margin-top:6px;width:max-content}
  .demo-inquiry-card{padding:18px 16px;margin-top:18px}
  .demo-inquiry-actions{display:grid;grid-template-columns:1fr}
  .demo-inquiry-primary,.demo-inquiry-link{width:100%;min-height:48px}
  .demo-proof-card{width:calc(100vw - 24px);max-height:min(38dvh,270px);padding:14px 15px}
  .demo-proof-card.is-bottom{bottom:calc(12px + env(safe-area-inset-bottom))}
  .demo-proof-card.is-top{top:calc(10px + env(safe-area-inset-top))}
  .demo-proof-actions{display:grid;grid-template-columns:auto 1fr}
  .demo-proof-nav{display:grid;grid-template-columns:auto minmax(0,1fr);width:100%;margin-left:0}
  .demo-proof-next{width:100%}
}
@media(max-width:390px){
  .demo-confirmation-handoff{grid-template-columns:1fr;padding:11px}
  .demo-confirmation-handoff-copy{text-align:center}
  .demo-confirmation-handoff-button{width:100%}
  body.demo-confirmation-handoff-active #sc-success .success-card{padding-bottom:calc(148px + env(safe-area-inset-bottom))!important}
}
@media(max-width:360px){
  .demo-proof-card h2{font-size:21px}
  .demo-proof-exit,.demo-proof-back,.demo-proof-next{padding-inline:10px;font-size:11.5px}
}
@media(prefers-reduced-motion:reduce){
  .demo-proof-card.is-entering{animation:none!important}
  .demo-proof-dim,.demo-proof-spotlight,.demo-inquiry-primary,.demo-inquiry-link{transition-duration:1ms!important;animation:none!important}
}

/* B10.3R-RC2.5.2S · Demo Flow Reliability & Completion Lock */
/* Frameless monogram identity. The source image remains unchanged. */
#topIcon.demo-search-monogram{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
#topIcon .demo-search-monogram-image{
  padding:0!important;
  background:transparent!important;
  border-radius:0!important;
}
.tn-monogram,
.dash-loading-icon{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.tn-monogram img,
.dash-loading-icon img{
  padding:0!important;
  background:transparent!important;
  border-radius:0!important;
}

/* True viewport-floating RSVP handoff. Appending it to body avoids transformed
   confirmation ancestors turning fixed positioning into local positioning. */
.demo-confirmation-handoff{
  position:fixed!important;
  z-index:16000!important;
  left:50%!important;
  right:auto!important;
  bottom:calc(14px + env(safe-area-inset-bottom))!important;
  width:min(520px,calc(100vw - 28px))!important;
  margin:0!important;
  padding:13px 14px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
  transform:translateX(-50%)!important;
  border-radius:18px!important;
  background:rgba(255,251,250,.98)!important;
  box-shadow:0 16px 42px rgba(42,33,24,.24)!important;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.demo-confirmation-handoff[hidden]{display:none!important}
.demo-confirmation-handoff-copy strong{
  font-family:var(--sans,system-ui,sans-serif)!important;
  font-size:13px!important;
  line-height:1.35!important;
}
.demo-confirmation-handoff-copy span{font-size:8.5px!important;margin-bottom:3px!important}
.demo-confirmation-handoff-button{min-height:48px!important;padding:10px 15px!important;font-size:12.5px!important}
body.demo-confirmation-handoff-active #sc-success .success-card{
  padding-bottom:calc(132px + env(safe-area-inset-bottom))!important;
}
  to{opacity:1;transform:translate(-50%,0)}
}

/* A tutorial card is revealed only after the current target has a stable,
   measurable spotlight. This prevents the Step 3 card from appearing alone. */
.demo-proof-tour.is-preparing .demo-proof-card{
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* Completion becomes a full-screen, non-scrollable modal surface. */
.demo-proof-tour.is-complete{
  display:block;
  background:#fff;
  overflow:hidden;
  overscroll-behavior:none;
}
.demo-proof-tour.is-complete .demo-proof-dim,
.demo-proof-tour.is-complete .demo-proof-spotlight{
  display:none!important;
}
.demo-proof-tour.is-complete .demo-proof-card{
  position:fixed!important;
  inset:0!important;
  width:100%!important;
  height:100dvh!important;
  max-height:none!important;
  overflow:hidden!important;
  transform:none!important;
  padding:
    calc(28px + env(safe-area-inset-top))
    max(24px,calc((100vw - 620px)/2))
    calc(28px + env(safe-area-inset-bottom))!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  text-align:center!important;
  background:
    radial-gradient(circle at 50% 18%,rgba(159,63,66,.09),transparent 34%),
    #fff!important;
}
.demo-proof-tour.is-complete .demo-proof-kicker{margin-bottom:10px}
.demo-proof-tour.is-complete .demo-proof-card h2{
  max-width:620px;
  font-size:clamp(34px,7vw,54px);
  line-height:1.05;
}
.demo-proof-tour.is-complete .demo-proof-card>p{
  max-width:560px;
  margin-top:14px;
  font-size:clamp(14px,2.8vw,17px);
  line-height:1.6;
}
.demo-proof-tour.is-complete .demo-proof-complete-actions{
  width:min(420px,100%);
  margin-top:24px;
}
.demo-proof-tour.is-complete .demo-proof-progress,
.demo-proof-tour.is-complete .demo-proof-actions{display:none!important}
.demo-proof-tour.is-complete .demo-proof-primary-link,
.demo-proof-tour.is-complete .demo-proof-secondary,
.demo-proof-tour.is-complete .demo-proof-secondary-link{min-height:50px}
.demo-proof-tour.is-complete .demo-proof-restart{
  border-color:transparent;
  background:transparent;
}

@media(max-width:560px){
  .demo-confirmation-handoff{width:calc(100vw - 24px)!important}
  .demo-proof-tour.is-complete .demo-proof-card{
    padding:
      calc(24px + env(safe-area-inset-top))
      22px
      calc(24px + env(safe-area-inset-bottom))!important;
  }
}
@media(max-width:390px){
  .demo-confirmation-handoff{
    grid-template-columns:1fr!important;
    gap:9px!important;
    padding:12px!important;
  }
  .demo-confirmation-handoff-copy{text-align:center!important}
  .demo-confirmation-handoff-button{width:100%!important}
  body.demo-confirmation-handoff-active #sc-success .success-card{
    padding-bottom:calc(176px + env(safe-area-inset-bottom))!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .demo-confirmation-handoff{animation:none!important}
}


/* B10.3R-RC2.5.2S · Stable RSVP + Smooth Dashboard Tutorial */
/* RSVP loading identity appears immediately while the exact RSVP initializes. */
.loading-card.demo-loading-identity::after{display:none!important}
#loadingIcon.demo-loading-monogram{
  width:66px!important;
  height:66px!important;
  margin:0 auto var(--space-5,16px)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  animation:none!important;
}
#loadingIcon .demo-loading-monogram-image{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  animation:none!important;
}

/* V1 smooth tutorial: the Dashboard scrolls once, then spotlight and card reveal together. */
.demo-proof-dim,
.demo-proof-spotlight,
.demo-proof-card,
.demo-proof-card.is-entering,
.demo-proof-tour.is-complete .demo-proof-card{
  animation:none!important;
  transition:none!important;
  transform-origin:center!important;
}
.demo-proof-card{opacity:1!important}
.demo-proof-tour.is-preparing .demo-proof-dim,
.demo-proof-tour.is-preparing .demo-proof-spotlight,
.demo-proof-tour.is-preparing .demo-proof-card{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
.demo-proof-tour.is-revealing .demo-proof-dim,
.demo-proof-tour.is-revealing .demo-proof-spotlight,
.demo-proof-tour.is-revealing .demo-proof-card,
.demo-proof-tour.is-revealing.is-complete .demo-proof-card{
  visibility:visible!important;
  transition:opacity 100ms ease-out!important;
}
.demo-confirmation-handoff{
  animation:none!important;
  transition:none!important;
}
.demo-confirmation-handoff-button[aria-disabled="true"]{
  opacity:.78;
  pointer-events:none;
  cursor:progress;
}
.demo-proof-next[aria-busy="true"],
.demo-proof-back:disabled{
  cursor:wait;
}


/* B10.3R-RC2.5.2S reduced-motion hard stop for the Dashboard tutorial only. */
@media(prefers-reduced-motion:reduce){
  .demo-proof-dim,
  .demo-proof-spotlight,
  .demo-proof-card,
  .demo-proof-tour.is-revealing .demo-proof-dim,
  .demo-proof-tour.is-revealing .demo-proof-spotlight,
  .demo-proof-tour.is-revealing .demo-proof-card{
    transition:none!important;
    animation:none!important;
  }
}


/* B10.3R-RC2.5.2S1 · Tablet & Mobile Tutorial Fit */
/* Responsive tour keeps touch input captured by the overlay while allowing its one controlled page scroll. */
body.demo-proof-open[data-demo-proof-layout="tablet"],
body.demo-proof-open[data-demo-proof-layout="mobile"],
body.demo-proof-open[data-demo-proof-layout="phone-landscape"]{
  overflow:auto!important;
  overscroll-behavior:none!important;
}
/* Desktop geometry above 1024px remains owned by the proven RC2.5.2S rules. */
.demo-proof-tour[data-layout="tablet"] .demo-proof-card.is-bottom{
  width:min(500px,calc(100vw - 32px));
  max-height:min(34vh,320px);
  max-height:min(34svh,320px);
  bottom:calc(16px + env(safe-area-inset-bottom));
  overflow-y:auto;
  overscroll-behavior:contain;
  touch-action:pan-y;
  -webkit-overflow-scrolling:touch;
}
.demo-proof-tour[data-layout="mobile"] .demo-proof-card.is-bottom{
  width:calc(100vw - 24px);
  max-height:min(40vh,300px);
  max-height:min(40svh,300px);
  bottom:calc(12px + env(safe-area-inset-bottom));
  overflow-y:auto;
  overscroll-behavior:contain;
  touch-action:pan-y;
  -webkit-overflow-scrolling:touch;
}
.demo-proof-tour[data-layout="phone-landscape"] .demo-proof-card.is-bottom{
  width:min(520px,calc(100vw - 20px));
  max-height:min(42vh,190px);
  max-height:min(42svh,190px);
  bottom:calc(8px + env(safe-area-inset-bottom));
  padding:10px 12px;
  overflow-y:auto;
  overscroll-behavior:contain;
  touch-action:pan-y;
  -webkit-overflow-scrolling:touch;
}
.demo-proof-tour[data-layout="tablet"] .demo-proof-actions,
.demo-proof-tour[data-layout="mobile"] .demo-proof-actions,
.demo-proof-tour[data-layout="phone-landscape"] .demo-proof-actions{
  position:sticky;
  z-index:2;
  bottom:-1px;
  margin-inline:-2px;
  padding:10px 2px 2px;
  background:linear-gradient(to bottom,rgba(255,255,255,0),#fff 12px,#fff);
}
.demo-proof-tour[data-layout="tablet"] .demo-proof-exit,
.demo-proof-tour[data-layout="tablet"] .demo-proof-back,
.demo-proof-tour[data-layout="tablet"] .demo-proof-next,
.demo-proof-tour[data-layout="mobile"] .demo-proof-exit,
.demo-proof-tour[data-layout="mobile"] .demo-proof-back,
.demo-proof-tour[data-layout="mobile"] .demo-proof-next,
.demo-proof-tour[data-layout="phone-landscape"] .demo-proof-exit,
.demo-proof-tour[data-layout="phone-landscape"] .demo-proof-back,
.demo-proof-tour[data-layout="phone-landscape"] .demo-proof-next{
  min-height:44px;
}
.demo-proof-tour[data-layout="phone-landscape"] .demo-proof-kicker{margin-bottom:4px;font-size:8.5px}
.demo-proof-tour[data-layout="phone-landscape"] .demo-proof-card h2{font-size:19px;line-height:1.12}
.demo-proof-tour[data-layout="phone-landscape"] .demo-proof-card>p{margin-top:5px;font-size:11.5px;line-height:1.42}
.demo-proof-tour[data-layout="phone-landscape"] .demo-proof-progress{margin-top:7px}
.demo-proof-tour[data-layout="phone-landscape"] .demo-proof-actions{margin-top:7px;padding-top:7px}
.demo-proof-tour[data-layout="phone-landscape"] .demo-proof-exit,
.demo-proof-tour[data-layout="phone-landscape"] .demo-proof-back,
.demo-proof-tour[data-layout="phone-landscape"] .demo-proof-next{padding:7px 9px;font-size:11px}
.demo-proof-tour[data-layout="tablet"] .demo-proof-spotlight,
.demo-proof-tour[data-layout="mobile"] .demo-proof-spotlight,
.demo-proof-tour[data-layout="phone-landscape"] .demo-proof-spotlight{border-radius:14px}
@media(prefers-reduced-motion:reduce){
  .demo-proof-tour[data-layout="tablet"] .demo-proof-card,
  .demo-proof-tour[data-layout="mobile"] .demo-proof-card,
  .demo-proof-tour[data-layout="phone-landscape"] .demo-proof-card{scroll-behavior:auto!important}
}
