.creation-flow[data-stage-layout=stable]{--stage-width:clamp(140px, min(100%, calc((100dvh - 330px) * .5625)), 220px);padding:0 16px max(12px, env(safe-area-inset-bottom));gap:16px}.creation-flow[data-stage-layout=stable] .creation-flow-header{flex-shrink:0;align-content:center;height:32px;display:grid}.creation-flow[data-stage-layout=stable] .creation-flow-header h2{letter-spacing:-.4px;text-align:center;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:17px;font-weight:550;overflow:hidden}.creation-flow[data-stage-layout=stable] .creation-flow-stage-heading{text-align:center;flex-shrink:0;min-height:1.3em;margin:clamp(8px,25dvh - 165px,48px) 0 8px;font-size:20px;font-weight:550;line-height:1.3}.creation-flow[data-stage-layout=stable] .creation-flow-media-region,.creation-flow[data-stage-layout=stable] .creation-flow-preview,.creation-flow[data-stage-layout=stable] .creation-flow-media,.creation-flow[data-stage-layout=stable] .creation-flow-skeleton-media,.creation-flow[data-stage-layout=stable] .creation-flow-transport{width:var(--stage-width)}.creation-flow[data-stage-layout=stable] .creation-flow-media,.creation-flow[data-stage-layout=stable] .creation-flow-skeleton-media{min-width:140px}.creation-flow[data-stage-layout=stable] .creation-flow-media-region,.creation-flow[data-stage-layout=stable] .creation-flow-preview,.creation-flow[data-stage-layout=stable] .creation-flow-status,.creation-flow[data-stage-layout=stable] .creation-flow-current-stage,.creation-flow[data-stage-layout=stable] .creation-flow-recovery,.creation-flow[data-stage-layout=stable] .creation-flow-actions{align-self:center}.creation-flow[data-stage-layout=stable]:is([data-kind=processing],[data-kind=resuming]) .creation-flow-media-region{width:calc(var(--stage-width) + 18px)}.creation-flow-source-shell{border-radius:calc(var(--radius) + 5px);background:linear-gradient(var(--canvas), var(--canvas)) padding-box, linear-gradient(155deg, var(--line), var(--muted), var(--line)) border-box;border:2px solid #0000;width:100%;padding:7px;position:relative}.creation-flow-perimeter{pointer-events:none;width:calc(100% + 4px);height:calc(100% + 4px);position:absolute;inset:-2px;overflow:visible}.creation-flow-perimeter rect{x:1px;y:1px;rx:calc(var(--radius) + 4px);fill:none;width:calc(100% - 2px);height:calc(100% - 2px);stroke:var(--ink);stroke-width:2px}.creation-flow-source-shell>img,.creation-flow-source-empty{aspect-ratio:9/16;border-radius:var(--radius);background:var(--panel);object-fit:contain;width:100%;height:auto;display:block}.creation-flow-source-empty{background:var(--loading-grey,var(--app-placeholder,var(--panel)));animation:loading-pulse-skeleton var(--loading-skeleton-pulse) ease-in-out infinite}.creation-flow-sheen{stroke-width:4px;stroke-dasharray:6 94;stroke-linecap:round;filter:drop-shadow(0 0 3px #fff);animation:2.4s linear infinite creation-flow-sheen}@keyframes creation-flow-sheen{0%{stroke-dashoffset:0}to{stroke-dashoffset:calc(6px - var(--outline-length) * 1px)}}@media (prefers-reduced-motion:reduce){.creation-flow-sheen{stroke-dashoffset:calc(6px - var(--outline-length) * 1px);animation:none}.creation-flow-source-empty{animation:none}}.creation-flow-progress-overlay{--creation-percent-size:22px;--creation-percent-slot:calc(var(--creation-percent-size) * 1.25);--creation-percent-block:56px;border-radius:var(--radius);color:#fff;pointer-events:none;background:#00000073;flex-direction:column;justify-content:center;align-items:center;padding:0 10px;display:flex;position:absolute;inset:7px}.creation-flow-progress-value{height:var(--creation-percent-slot);margin-bottom:calc(var(--creation-percent-block) - var(--creation-percent-slot));flex:none;place-items:center;display:grid}.creation-flow-progress-overlay strong{text-align:center;min-width:4ch;font-size:var(--creation-percent-size);line-height:var(--creation-percent-slot);font-variant-numeric:tabular-nums;font-weight:550}.creation-flow-progress-note{text-align:center;opacity:.8;margin:0;font-size:12px;line-height:16px;position:absolute;inset:auto 16px 22px}.creation-flow-current-stage{flex-direction:column;flex-shrink:0;align-items:center;min-height:32px;margin-top:8px;display:flex}.creation-flow-current-stage .loading-slow{color:inherit;opacity:.8}.creation-flow[data-stage-layout=stable] .creation-flow-failure{background:0 0;border:0;justify-items:center;padding:16px}.creation-flow[data-stage-layout=stable] .creation-flow-status{width:min(100%,320px);color:var(--muted);text-align:center;white-space:normal;margin:0;font-size:13px;line-height:1.5}.creation-flow[data-stage-layout=stable] .creation-flow-actions{flex-shrink:0;align-items:center;min-height:44px;margin-top:auto}.creation-flow[data-stage-layout=stable] .creation-flow-action-hold{height:44px}.creation-flow[data-stage-layout=stable][data-kind=result] .creation-flow-actions{margin-top:0}@media (max-height:660px){.creation-flow[data-stage-layout=stable]{gap:12px}.creation-flow[data-stage-layout=stable] .creation-flow-stage-heading{margin-top:4px}}
.creation-flow.project-result[data-kind=result]{--result-media-width:clamp(140px, min(100%, calc((100dvh - 390px) * .5625)), 236px);padding:0 24px max(20px,env(safe-area-inset-bottom));gap:16px}.creation-flow.project-result[data-kind=result] .creation-flow-header{flex-shrink:0;align-content:center;height:32px}.creation-flow.project-result[data-kind=result] .creation-flow-header h2{text-align:center;letter-spacing:-.4px;text-overflow:ellipsis;white-space:nowrap;font-size:18px;font-weight:550;overflow:hidden}.creation-flow.project-result[data-kind=result] .creation-flow-media-region,.creation-flow.project-result[data-kind=result] .creation-flow-preview,.creation-flow.project-result[data-kind=result] .creation-flow-media{width:var(--result-media-width)}.creation-flow.project-result[data-kind=result] .creation-flow-media-region{align-self:center;margin-top:24px}.creation-flow.project-result[data-kind=result] .creation-flow-preview{width:100%}.creation-flow.project-result[data-kind=result] .creation-flow-transport,.creation-flow.project-result[data-kind=result] .creation-flow-actions{width:var(--result-media-width);flex-shrink:0}.creation-flow.project-result[data-kind=result] .creation-flow-preview .creation-flow-transport{justify-self:center;width:100%;margin-top:16px}.creation-flow.project-result[data-kind=result] .creation-flow-transport{justify-content:flex-start;gap:8px}.creation-flow.project-result[data-kind=result] .creation-flow-transport-group{gap:0}.creation-flow.project-result[data-kind=result] .creation-flow-time{color:var(--muted);font-size:12px}.creation-flow.project-result[data-kind=result] .creation-flow-actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,100px),1fr));gap:10px;margin-top:0}.creation-flow.project-result[data-kind=result] .creation-flow-actions>.ds-button{white-space:normal;padding-inline:6px}.creation-flow.project-result[data-kind=result] .creation-flow-actions>.ds-button[data-variant=primary]{order:2}.creation-flow.project-result[data-kind=result] .creation-flow-actions>.ds-button[data-variant=secondary]{order:1}.creation-result-seek{appearance:none;cursor:pointer;background:0 0;flex:1;width:0;min-width:36px;height:44px;margin:0;padding:0}.creation-result-seek::-webkit-slider-runnable-track{background:var(--surface);border-radius:2px;height:3px}.creation-result-seek::-moz-range-track{background:var(--surface);border-radius:2px;height:3px}.creation-result-seek::-webkit-slider-thumb{appearance:none;background:var(--muted);border:0;border-radius:50%;width:7px;height:7px;margin-top:-2px}.creation-result-seek::-moz-range-thumb{background:var(--muted);border:0;border-radius:50%;width:7px;height:7px}.creation-result-seek:focus-visible{border-radius:var(--control-radius);outline:none}.creation-result-seek:disabled{opacity:.38;cursor:default}@media (max-height:700px){.creation-flow.project-result[data-kind=result]{gap:12px}.creation-flow.project-result[data-kind=result] .creation-flow-media-region{margin-top:12px}}.creation-flow.project-result .ds-button{isolation:isolate;min-height:var(--touch-target);min-width:var(--touch-target);position:relative}.creation-flow.project-result .ds-button:not([data-variant=primary]){box-shadow:none;background:0 0;border-color:#0000}.creation-flow.project-result .ds-button:not([data-variant=ghost]):not([data-variant=primary]):before{content:"";z-index:-1;height:var(--button-height);border:var(--border-width) solid var(--line);border-radius:inherit;background:var(--button-fill);box-shadow:var(--button-shadow);pointer-events:none;position:absolute;inset:50% 0 auto;transform:translateY(-50%)}.creation-flow.project-result .ds-button[data-icon-only=true]:not([data-variant=ghost]):before{width:var(--button-height);inset-inline:50% auto;transform:translate(-50%,-50%)}
