/* Append after existing motion styles. No new motion controller or viewport-wide wipe. */
.ambient-item{position:absolute;pointer-events:none;transition:transform 900ms cubic-bezier(.2,.8,.2,1),opacity 600ms;transform:translate(var(--ax,0),var(--ay,0)) rotate(var(--ar,0deg));opacity:var(--ao,.7)}
.ambient-item svg{display:block;width:100%;height:auto;overflow:visible}
.ambient-ribbon{width:420px;left:-270px;top:25%;--ao:.8}
.ambient-ribbon svg{animation:ambient-tide 17s ease-in-out infinite}
.ambient-notes{width:150px;right:-48px;top:7%;--ao:.26}
.ambient-notes svg{animation:ambient-note 13s ease-in-out infinite}
.ambient-heart{width:130px;right:3%;bottom:3%;--ao:.6}
.ambient-heart svg{animation:ambient-affection 11s ease-in-out infinite}
/* A visible stage, not a flat cream sheet. Keep accents away from the left reading column. */
.app-shell[data-view=landing] .scene-shape{opacity:.16}
.app-shell[data-view=landing] .scene-loop{left:-410px;bottom:-70px}
.app-shell[data-view=landing] .scene-orbit{right:-370px;top:4%;background:var(--peach)}
.app-shell[data-view=landing] .scene-star{opacity:0}
.app-shell[data-view=landing] .ambient-ribbon{left:auto;right:-200px;top:57%;--ar:-16deg;--ao:.28}
.app-shell[data-view=landing] .ambient-notes{right:32%;top:2%;width:94px;--ao:.12;--ar:-17deg}
.app-shell[data-view=landing] .ambient-heart{right:47%;bottom:7%;width:78px;--ao:.18}
/* One vocabulary, seven different arrangements. Parent transforms transition while child loops persist. */
.app-shell[data-scene="0"][data-view=form] .ambient-ribbon{--ar:-24deg;--ay:-70px}
.app-shell[data-scene="0"][data-view=form] .ambient-heart{--ay:-90px;--ar:12deg}
.app-shell[data-scene="1"][data-view=form] .ambient-ribbon{--ax:100px;--ay:70px;--ar:35deg}
.app-shell[data-scene="1"][data-view=form] .ambient-notes{--ao:.09;--ay:90px}
.app-shell[data-scene="1"][data-view=form] .ambient-heart{--ay:-140px;--ar:-15deg;--ao:.85}
.app-shell[data-scene="2"][data-view=form] .ambient-ribbon{--ax:20px;--ay:-90px;--ar:-12deg}
.app-shell[data-scene="2"][data-view=form] .ambient-notes{--ax:-15px;--ay:40px;--ar:15deg;--ao:.8;color:var(--sky)}
.app-shell[data-scene="2"][data-view=form] .ambient-notes svg path{stroke:var(--sky)}
.app-shell[data-scene="2"][data-view=form] .ambient-notes svg ellipse{fill:var(--sky)}
.app-shell[data-scene="3"][data-view=form] .ambient-ribbon{--ax:60px;--ay:180px;--ar:68deg}
.app-shell[data-scene="3"][data-view=form] .ambient-notes{--ao:.14;--ay:-40px;--ar:-22deg}
.app-shell[data-scene="3"][data-view=form] .ambient-heart{--ay:-180px;--ar:10deg}
.app-shell[data-scene="4"][data-view=form] .ambient-ribbon{--ax:100px;--ay:50px;--ar:145deg;--ao:.48}
.app-shell[data-scene="4"][data-view=form] .ambient-heart{--ax:-15px;--ay:-220px;--ar:-8deg;--ao:.9}
.app-shell[data-scene="4"][data-view=form] .ambient-notes{--ao:.08}
.app-shell[data-scene="5"][data-view=form] .ambient-ribbon{--ax:70px;--ay:-70px;--ar:6deg}
.app-shell[data-scene="5"][data-view=form] .ambient-heart{--ay:-30px;--ar:15deg}
.app-shell[data-scene="5"][data-view=form] .ambient-notes{--ao:.6;--ay:30px}
.app-shell[data-scene="5"][data-view=form] .ambient-notes svg path{stroke:var(--sky)}
.app-shell[data-scene="5"][data-view=form] .ambient-notes svg ellipse{fill:var(--sky)}
.app-shell[data-scene="6"][data-view=form] .ambient-ribbon{--ax:70px;--ay:90px;--ar:-35deg}
.app-shell[data-scene="6"][data-view=form] .ambient-heart{--ay:-120px;--ar:-13deg;--ao:.7}
.app-shell[data-scene="6"][data-view=form] .ambient-notes{--ao:.16}
@keyframes ambient-tide{0%,100%{translate:0 0;rotate:-4deg}50%{translate:28px -35px;rotate:6deg}}
@keyframes ambient-note{0%,100%{translate:0 8px;rotate:-6deg}50%{translate:-12px -15px;rotate:8deg}}
@keyframes ambient-affection{0%,100%{translate:0 5px;rotate:-5deg;scale:.96}50%{translate:10px -18px;rotate:8deg;scale:1.04}}
@media(max-width:900px){.ambient-notes{right:-82px}.ambient-heart{right:-50px}.ambient-ribbon{left:-340px}}
@media(max-width:650px){
 .ambient-ribbon{width:300px;left:-270px;top:15%;--ao:.65}
 .ambient-notes{display:none}.ambient-heart{width:80px;right:-52px;bottom:5%;--ao:.6}
 .app-shell[data-view=landing] .ambient-ribbon{width:260px;right:-205px;top:47%;--ao:.35}
 .app-shell[data-view=landing] .ambient-heart{right:-42px;bottom:17%;width:70px;--ao:.22}
 .app-shell[data-view=landing] .scene-orbit{right:-195px;top:35%}
 .app-shell[data-view=landing] .scene-loop{left:-280px;bottom:0}
 @keyframes ambient-tide{0%,100%{translate:0 0;rotate:-3deg}50%{translate:13px -20px;rotate:4deg}}
}
/* Existing global pause selectors already cover these. Keep explicit safety for standalone snippet. */
.motion-paused .ambient-item,.motion-suspended .ambient-item{transition:none!important}
.motion-paused .ambient-item svg,.motion-suspended .ambient-item svg,
.scene[data-motion-offscreen=true] .ambient-item svg{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.ambient-item,.ambient-item svg{animation:none!important;transition:none!important}}
.receipt-keepsake{width:220px;height:96px;margin:0 0 12px;pointer-events:none}
.receipt-keepsake svg{width:100%;height:100%;overflow:visible}
.receipt-heart{transform-box:fill-box;transform-origin:center;animation:receipt-heart-arrive 2200ms cubic-bezier(.2,.8,.2,1) both}
.receipt-tail{transform-box:fill-box;transform-origin:center;opacity:0}
.receipt-tail-left{animation:receipt-ribbon-left 2600ms ease-out both}
.receipt-tail-right{animation:receipt-ribbon-right 2800ms ease-out both}
@keyframes receipt-heart-arrive{0%{scale:.86;translate:0 10px;rotate:-8deg}40%{scale:1.05;translate:0 -4px;rotate:5deg}70%{scale:.99;translate:0 1px;rotate:-2deg}100%{scale:1;translate:0 0;rotate:0deg}}
@keyframes receipt-ribbon-left{0%{opacity:0;translate:20px 10px;rotate:10deg}20%,65%{opacity:1}100%{opacity:0;translate:-15px -14px;rotate:-12deg}}
@keyframes receipt-ribbon-right{0%{opacity:0;translate:-15px 10px;rotate:-10deg}25%,65%{opacity:1}100%{opacity:0;translate:16px -20px;rotate:14deg}}
.motion-paused .receipt-keepsake *,.motion-suspended .receipt-keepsake *,
.receipt-keepsake[data-motion-offscreen=true] *{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.receipt-keepsake *{animation:none!important}.receipt-tail{display:none}}
@media(max-width:650px){.receipt-keepsake{width:180px;height:78px;margin-bottom:8px}}
/* A warm handover, with administrative details deliberately secondary. */
.success{padding-top:5px}.receipt-art{height:114px;margin:0 0 15px;display:flex;align-items:center}.receipt-static{width:208px;height:114px;display:block}.receipt-art:has(.receipt-keepsake)>.receipt-static{display:none}.receipt-art .receipt-keepsake{margin:0}.receipt-eyebrow{display:block;font-size:10px;letter-spacing:.1em;font-weight:750;color:var(--muted);margin:0 0 15px}.success h1{max-width:18ch;font-size:43px;margin-bottom:17px}.success>p{max-width:48ch;font-size:17px;line-height:1.6;margin:0 0 25px}.success>p strong{overflow-wrap:anywhere}.success .status-card{background:var(--peach);border:0;border-radius:20px;gap:15px;padding:23px;margin:0 0 26px}.status-card .next-step-symbol{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;border-radius:50%;background:var(--paper);color:var(--ink)}.success .status-card strong{font-size:19px}.success .status-card p{font-size:15px;line-height:1.6;margin:7px 0 0}.receipt-home{width:100%;margin-bottom:11px}.success .export-main{border:0;background:transparent;min-height:44px;text-decoration:underline;text-underline-offset:4px;margin:0;font-size:14px}.receipt-details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:21px 0 0;padding:0}.receipt-details summary{cursor:pointer;min-height:48px;display:list-item;padding:14px 4px;font-size:13px;font-weight:650;list-style-position:inside}.receipt-details summary:focus-visible{outline:3px solid var(--ink);outline-offset:3px}.receipt-details dl{margin:0;padding:0 4px 14px;display:grid;gap:15px}.receipt-details dt{font-size:11px;color:var(--muted);font-weight:650;margin-bottom:5px}.receipt-details dd{font-size:13px;margin:0;overflow-wrap:anywhere}.receipt-details .export-options{justify-content:flex-start;gap:22px;flex-wrap:wrap;padding:0 4px 12px;margin:0}.success .privacy-note{font-size:12px;line-height:1.6;color:var(--muted);margin:12px 0 0}.success .export-status{font-size:12px;margin:8px 0;min-height:0}.receipt-details #manual-copy{padding:0 4px 14px}.app-shell[data-received=true]{--scene-color:var(--cream)}.app-shell[data-received=true] .scene-loop{border-color:var(--peach)}
/* Each choice has a tactile language, without moving the actual control or caret. */
.occasion-choices .option{border-style:solid;border-left-width:5px;border-left-color:var(--coral);padding:15px 16px;min-height:70px;border-radius:8px 18px 18px 8px}.occasion-choices .option:nth-child(2n){border-left-color:var(--sky)}.occasion-choices .option:nth-child(3n){border-left-color:var(--yellow)}.occasion-choices .option-icon{width:34px;height:34px;border-radius:50%;background:var(--peach);display:grid;place-items:center}.occasion-choices .option:has(input:checked){background:var(--peach);border-color:var(--ink)}.music-choices .option{border-top:4px solid var(--sky);min-height:82px}.music-choices .option:nth-child(2n){border-top-color:var(--coral)}.music-choices .option:nth-child(3n){border-top-color:var(--yellow)}.music-choices .option:has(input:checked){background:#e8f4f7;border-color:var(--ink)}.detail-field{background:#fff;border:1px solid #d4dce3;border-radius:18px;padding:17px}.detail-field:before{top:0;right:0;width:30px;height:30px}.detail-field textarea{border:0;padding:6px 0 0;min-height:170px;resize:vertical}.detail-field textarea:focus{outline:2px solid var(--ink);outline-offset:7px}.message-field{padding:19px;border-radius:20px;background:var(--peach)}.message-field textarea{border:0;background:var(--paper);min-height:150px}.inspiration{border:0;padding:0 4px}.inspiration p{font-size:13px;line-height:1.65}.studio-form{transition:border-radius 450ms var(--ease)}.studio-form:has(#step-content[data-step="1"]){border-radius:34px 16px 34px 16px}.studio-form:has(#step-content[data-step="3"]){border-radius:18px 34px 18px 34px}.studio-form:has(#step-content[data-step="4"]){border-radius:34px 34px 18px 18px}.studio-form:has(#step-content[data-step="6"]){border-radius:22px}.how-copy li{position:relative;border-top:1px solid #173b7329;padding-top:18px}.how-copy li>span{width:33px;height:33px;flex-shrink:0;background:var(--cream);border-radius:50%;display:grid;place-items:center;padding:0}.how-copy ol{gap:20px}
@media(max-width:650px){.receipt-art{height:86px;margin-bottom:12px}.receipt-static{width:175px;height:90px}.receipt-eyebrow{font-size:9px;margin-bottom:12px}.success h1{font-size:34px;line-height:1.07}.success>p{font-size:15px;line-height:1.55;margin-bottom:22px}.success .status-card{padding:18px;border-radius:17px;margin-bottom:21px;gap:11px}.status-card .next-step-symbol{width:27px;height:27px}.success .status-card strong{font-size:17px}.success .status-card p{font-size:14px}.receipt-details{margin-top:15px}.receipt-details summary{font-size:12px}.success .privacy-note{font-size:11px}.receipt-home{font-size:15px;min-height:54px}.occasion-choices .option{min-height:63px;padding:12px 10px;gap:7px;border-left-width:3px}.occasion-choices .option-icon{width:24px;height:24px}.occasion-choices .option-icon svg{width:18px;height:18px}.music-choices .option{min-height:80px}.detail-field{padding:14px}.detail-field textarea{min-height:165px}.message-field{padding:14px}.how-copy li{padding-top:15px}.how-copy li>span{width:29px;height:29px}.receipt-details .export-options{gap:14px}.consent-panel h2{font-size:19px}.consent-panel{border:0!important;background:#f1f4f5!important;padding:19px 16px!important;border-radius:18px}.consent-check{padding-top:14px;border-top:1px solid #d5dfe4;margin:15px 0;font-size:13px;line-height:1.5}.consent-check input{width:21px;height:21px;flex-shrink:0}.consent-panel>p{font-size:13px;line-height:1.55}.consent-panel .hint{font-size:13px;line-height:1.55}}
@media(prefers-reduced-motion:reduce){.studio-form{transition:none}}
