/* Jade finish and a fine, directional entry mark, with no device power metaphor. */
body[data-page=welcome] #next.cloud-launch{--launch-metal:#e0c795;--launch-ink:#fbf3df;--launch-dark:#173e35;--launch-light:#2c5a4e;--launch-sheen:#fff3c48f;--launch-sheen-edge:#e8bd6547;--launch-rim:#efd59499;isolation:isolate;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:22px;touch-action:manipulation;border:1px solid #bc9f6770;background:linear-gradient(115deg,var(--launch-light),var(--launch-dark) 78%);color:var(--launch-ink);box-shadow:inset 0 1px #fff1cf38,inset 0 -1px #061c2229,0 5px 18px #183f321c;filter:none;transition:transform .18s cubic-bezier(.2,.7,.3,1),border-color .2s}
body[data-page=welcome][data-scheme=b] #next.cloud-launch{--launch-metal:#77603a;--launch-ink:#29463c;--launch-dark:#d3be92;--launch-light:#eee0be;--launch-sheen:#b58a407a;--launch-sheen-edge:#90683233;--launch-rim:#84623299;border-color:#ead6aa}
.cloud-launch .launch-label{position:relative;z-index:1;white-space:nowrap}
.launch-entry{position:relative;z-index:1;width:36px;height:36px;flex:none;color:var(--launch-metal);animation:cloud-launch-entry 2.6s ease-in-out infinite}
.launch-entry svg{display:block;width:100%;height:100%;pointer-events:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.launch-entry circle{fill:currentColor;stroke:none}
.cloud-launch:before{content:"";position:absolute;inset:-40% auto -40% 0;width:42%;pointer-events:none;background:linear-gradient(105deg,transparent,var(--launch-sheen-edge) 25%,var(--launch-sheen) 50%,var(--launch-sheen-edge) 75%,transparent);transform:translateX(-130%) skewX(-16deg);animation:cloud-launch-sweep 4.2s cubic-bezier(.3,0,.3,1) infinite;will-change:transform}
.cloud-launch:after{content:"";position:absolute;inset:4px;border:1px solid var(--launch-rim);border-radius:4px 12px 4px 4px;pointer-events:none;animation:cloud-launch-rim 2.4s ease-in-out infinite alternate}
body[data-page=welcome] #next.cloud-launch:hover{border-color:var(--launch-metal);transform:translateY(-1px);filter:none}
body[data-page=welcome] #next.cloud-launch:active{transform:translateY(0) scale(.985)}
@keyframes cloud-launch-sweep{0%{transform:translateX(-130%) skewX(-16deg);opacity:0}5%{opacity:1}36%{transform:translateX(350%) skewX(-16deg);opacity:1}43%,100%{transform:translateX(390%) skewX(-16deg);opacity:0}}
@keyframes cloud-launch-entry{0%,100%{transform:translateX(-4px);opacity:.55}50%{transform:translateX(5px);opacity:1}}
@keyframes cloud-launch-rim{from{opacity:.32}to{opacity:.95}}

/* Shared dimensions keep the primary action steady throughout the kiosk flow. */
body[data-scheme] .site-footer #next,body[data-scheme] #consent-prompt .primary{width:280px;min-width:280px;height:64px;min-height:64px;max-height:64px;padding:10px 24px;border-radius:8px 16px 8px 8px;justify-content:center;font:400 21px/1.5 var(--serif);letter-spacing:2px}
body[data-scheme] .site-footer :is(#back,#skip),body[data-scheme] #consent-prompt .secondary{height:64px;min-height:64px;max-height:64px;min-width:112px;padding:10px 20px;border-radius:8px;font:400 21px/1.5 var(--serif);letter-spacing:1px}
.consent-dialog{position:fixed;width:min(560px,calc(100vw - 48px));max-height:calc(100dvh - 48px);margin:auto;padding:36px 30px 30px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);box-shadow:0 22px 80px #183b3029}
.consent-dialog::backdrop{background:#142b2366}
.consent-dialog-close{position:absolute;top:8px;right:10px;width:44px;height:44px;border:0;background:transparent;color:var(--muted);font:28px/1 sans-serif}
.consent-dialog h2{font:400 28px/1.5 var(--serif);letter-spacing:2px;margin:0 30px 18px 0}
.consent-dialog p{font-size:20px;line-height:1.8;color:var(--muted);margin:0}
.consent-dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:30px}

/* The customer sees only a calm handoff, with no personal information on screen. */
body:is([data-page=completion],[data-page=staff]) .flow-steps{display:none}
body[data-scheme=b]:is([data-page=completion],[data-page=staff]) .app-shell{grid-template-columns:1fr}
body[data-scheme=b]:is([data-page=completion],[data-page=staff]) .main-view{grid-column:1}
body[data-scheme=c]:is([data-page=completion],[data-page=staff]) .main-view{grid-row:2;grid-column:1}
body[data-scheme=c][data-page=staff] .app-shell{grid-template-rows:76px minmax(0,1fr) 86px}
body[data-scheme][data-page=completion] .app-shell{grid-template-rows:76px minmax(0,1fr) 32px}
body[data-page=completion] .site-footer{border:0;background:transparent;backdrop-filter:none;padding:0}
body[data-page=completion] .brand{touch-action:none;cursor:default}
body[data-page=completion] .brand,body[data-page=completion] .brand *{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
body:is([data-page=completion],[data-page=staff]) .header-tools{display:none}
body .handoff-page{gap:0;padding-bottom:30px}
.handoff-emblem{position:relative;display:grid;place-items:center;width:126px;height:126px;margin-bottom:40px;border:1px solid var(--line);border-radius:50%;background:radial-gradient(circle,var(--accent-soft),transparent 72%);color:var(--accent)}
.handoff-aura{position:absolute;inset:-36px;border-radius:50%;pointer-events:none;background:radial-gradient(circle,color-mix(in srgb,var(--gold) 26%,transparent),transparent 68%);opacity:.25;will-change:transform,opacity}
.handoff-emblem svg{width:58px;height:58px;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.handoff-check{stroke-dasharray:1;stroke-dashoffset:0}
.handoff-ripple{position:absolute;inset:0;border:1px solid var(--gold);border-radius:50%;opacity:0;pointer-events:none}
.handoff-orbit{position:absolute;inset:-13px;border:1px solid var(--gold);border-right-color:transparent;border-bottom-color:transparent;border-radius:50%;opacity:.42;transform:rotate(30deg)}
.handoff-orbit-second{inset:-24px;border-style:dashed;opacity:.2;transform:rotate(-25deg)}
body .handoff-page .eyebrow{font-size:14px;letter-spacing:5px;margin-bottom:18px;color:var(--muted)}
body .handoff-page h1{font-size:clamp(38px,4vw,58px);letter-spacing:8px;line-height:1.5;margin-bottom:22px}
body .handoff-page>p:not(.eyebrow){font-size:25px;line-height:1.7;letter-spacing:2px;color:var(--muted)}
@media(prefers-reduced-motion:reduce){.cloud-launch:before,.cloud-launch:after,.launch-entry{animation:none;will-change:auto}.handoff-aura{will-change:auto}}

body .handoff-page .handoff-hint{margin-top:22px;font-size:16px;line-height:1.7;letter-spacing:.5px;color:var(--muted);opacity:.8}
