.ams4 .s-production-entry{display:flex;align-items:center;gap:16px;padding:19px 22px;margin:8px 0 28px;border:1px solid #454545;border-radius:14px;background:linear-gradient(110deg,#222,#171717);color:#f0f0f0}
.ams4 .s-production-entry-icon{display:grid;place-items:center;width:40px;height:40px;color:#dedede;flex-shrink:0}.s-production-entry-icon svg{width:30px;height:30px}
.ams4 .s-production-entry>div{display:grid;gap:6px;flex:1}.ams4 .s-production-entry strong{font-size:15px;font-weight:600}.ams4 .s-production-entry small{font-size:12px;color:#dedede}
.ams4 .s-production-entry-button,.ams4 .s-production-primary{border:1px solid transparent;border-radius:9px;padding:11px 16px;background:var(--am-accent,var(--s-accent,#dddddd));color:var(--am-accent-ink,#171717);font-weight:650;cursor:pointer}
.ams4 .s-production-entry-button:hover,.ams4 .s-production-primary:hover{border-color:#f0f0f0}
.ams4 .s-production-backdrop{position:fixed;inset:0;z-index:100100;background:#000b;backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));box-sizing:border-box}
.ams4 .s-production-dialog{width:min(1030px,100%);max-height:calc(100dvh - 32px);display:flex;flex-direction:column;overflow:hidden;background:#181818;border:1px solid #484848;border-radius:20px;color:#f0f0f0;box-shadow:0 28px 90px #0008;text-align:left;font-size:14px}
.ams4 .s-production-header{display:flex;align-items:center;justify-content:space-between;padding:23px 28px 18px;flex-shrink:0}.ams4 .s-production-header small{letter-spacing:.16em;font-size:10px;color:#dedede}.ams4 .s-production-header h2{font-size:22px;line-height:1.4;font-weight:600;margin:6px 0 0;color:#f0f0f0}
.ams4 .s-production-close{display:none;background:transparent;border:0;color:#dedede;font-size:26px;cursor:pointer;padding:5px 10px}
.ams4 .s-production-steps{display:flex;gap:6px;padding:0 28px 18px;flex-shrink:0;border-bottom:1px solid #353535}.ams4 .s-production-steps button{border:0;background:transparent;color:#bcbcbc;padding:9px 14px;border-radius:8px;font-size:12px;cursor:pointer}.ams4 .s-production-steps button[aria-current=step]{background:#373737;color:#f0f0f0}
.ams4 .s-production-body{display:grid;grid-template-columns:minmax(0,1fr) 255px;min-height:0;overflow:auto;overscroll-behavior:contain}.ams4 .s-production-content{min-width:0;padding:22px 28px 28px}.ams4 .s-production-content>h3{font-size:17px;margin:0 0 22px;color:#f0f0f0}
.ams4 .s-production-field{border:0;padding:0;margin:0 0 22px;min-width:0}.ams4 .s-production-field legend{font-size:12px;font-weight:600;margin:0 0 10px;padding:0;color:#dedede}
.ams4 .s-production-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ams4 .s-production-field:first-of-type .s-production-choices:has(> :last-child:nth-child(2)){grid-template-columns:repeat(2,minmax(0,1fr))}
.ams4 .s-production-choice{display:grid;gap:7px;align-content:start;text-align:left;min-width:0;padding:13px 12px;border:1px solid #3c3c3c;border-radius:10px;background:#202020;color:#f0f0f0;cursor:pointer}.ams4 .s-production-choice:hover{background:#2a2a2a;border-color:#777}.ams4 .s-production-choice[aria-pressed=true]{border-color:#b7b7b7;background:#333}.ams4 .s-production-choice-title{display:flex;align-items:center;justify-content:space-between;gap:4px}.ams4 .s-production-choice strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.ams4 .s-production-choice i{font-size:13px;font-style:normal;color:#dedede}.ams4 .s-production-choice small{font-size:11px;line-height:1.5;color:#dedede}
.ams4 .s-production-name{display:grid;gap:8px;margin:0 0 20px;font-size:12px;color:#dedede}.ams4 .s-production-name input,.ams4 .s-production-name textarea{box-sizing:border-box;width:100%;max-width:100%;background:#222;border:1px solid #484848;border-radius:9px;padding:11px 12px;color:#f0f0f0;font:inherit;font-size:14px;resize:vertical}.ams4 .s-production-name input:focus,.ams4 .s-production-name textarea:focus{outline:1px solid #ccc;outline-offset:1px}.ams4 .s-production-name textarea{min-height:70px}
.ams4 .s-production-preview{padding:26px 22px;background:linear-gradient(155deg,#2a2a2a,#1c1c1c);border-left:1px solid #353535;min-width:0}.ams4 .s-production-preview[data-color=amber]{background:linear-gradient(155deg,#3b3025,#1d1c1b)}.ams4 .s-production-preview[data-color=blue]{background:linear-gradient(155deg,#25333b,#1a1c1e)}.ams4 .s-production-preview[data-color=pastel]{background:linear-gradient(155deg,#39313b,#211e22)}
.ams4 .s-production-preview-mark{width:52px;height:52px;display:grid;place-items:center;border:1px solid #666;border-radius:14px;margin-bottom:24px;color:#f0f0f0}.s-production-preview-mark svg{width:28px;height:28px}.ams4 .s-production-preview>small{font-size:9px;letter-spacing:.15em;color:#dedede}.ams4 .s-production-preview h3{font-size:25px;font-weight:500;margin:10px 0 24px;color:#f0f0f0}.ams4 .s-production-summary{display:grid;gap:12px}.ams4 .s-production-summary>div{display:flex;justify-content:space-between;gap:8px;line-height:1.4}.ams4 .s-production-summary small{font-size:11px;color:#dedede}.ams4 .s-production-summary span{font-size:12px;text-align:right}.ams4 .s-production-preview-note,.ams4 .s-production-help{font-size:11px;line-height:1.7;color:#dedede;margin:24px 0 0}
.ams4 .s-production-footer{display:flex;align-items:center;gap:14px;padding:16px 28px;border-top:1px solid #353535;background:#1c1c1c;flex-shrink:0}.ams4 .s-production-footer>button:first-child{background:transparent;color:#dedede;border:0;font-size:12px;cursor:pointer;padding:10px 0}.ams4 .s-production-status{flex:1;font-size:11px;line-height:1.5;color:#dedede}.ams4 .s-production-status a{color:#f0f0f0;text-decoration:underline}.ams4 .s-production-dialog :disabled{opacity:.5;cursor:wait}
.ams4 .s-production-node{display:flex;align-items:center;gap:8px;color:#dedede;font-size:11px;padding:9px 3px}.ams4 .s-production-node input{accent-color:#dedede;margin:0;width:14px;height:14px}.ams4 .s-production-node button{margin-left:auto;background:transparent;border:0;color:#dedede;cursor:pointer;font-size:11px;padding:4px}.ams4 .s-production-new-link{display:block;width:100%;margin:0 0 16px;padding:12px;border:1px solid #555;border-radius:9px;background:#2a2a2a;color:#f0f0f0;cursor:pointer;text-align:left}
@media(max-width:760px){.ams4 .s-production-entry{padding:16px;gap:12px;flex-wrap:wrap}.ams4 .s-production-entry>div{flex-basis:calc(100% - 54px)}.ams4 .s-production-entry-button{margin-left:52px}.ams4 .s-production-backdrop{padding:8px}.ams4 .s-production-dialog{max-height:calc(100dvh - 16px);border-radius:15px}.ams4 .s-production-header{padding:18px 18px 14px}.ams4 .s-production-header h2{font-size:18px}.ams4 .s-production-close{display:block}.ams4 .s-production-steps{padding:0 14px 12px;gap:3px}.ams4 .s-production-steps button{flex:1;font-size:11px;padding:10px 5px}.ams4 .s-production-body{display:block}.ams4 .s-production-content{padding:18px}.ams4 .s-production-content>h3{font-size:16px;margin-bottom:18px}.ams4 .s-production-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.ams4 .s-production-choice{padding:12px;min-height:72px}.ams4 .s-production-name input,.ams4 .s-production-name textarea{font-size:16px}.ams4 .s-production-preview{border-left:0;border-top:1px solid #353535;padding:18px}.ams4 .s-production-preview-mark,.ams4 .s-production-preview>small,.ams4 .s-production-preview-note{display:none}.ams4 .s-production-preview h3{font-size:16px;margin:0 0 12px}.ams4 .s-production-summary{display:flex;flex-wrap:wrap;gap:7px}.ams4 .s-production-summary>div{border:1px solid #555;border-radius:6px;padding:6px 8px}.ams4 .s-production-summary small{display:none}.ams4 .s-production-footer{padding:12px 16px;gap:10px}.ams4 .s-production-primary{padding:11px 13px;white-space:nowrap;font-size:12px}.ams4 .s-production-footer>button:first-child{max-width:100px}.ams4 .s-production-status{font-size:10px}}
@media(pointer:coarse){.ams4 .s-production-close{display:block}.ams4 .s-production-choice,.ams4 .s-production-steps button{min-height:44px}}

@media(max-width:760px),(pointer:coarse){.ams4 .s-production-close{min-width:44px;min-height:44px}.ams4 .s-production-footer>button:first-child{white-space:nowrap}}

@media(min-width:761px){.ams4 .s-production-preview{position:sticky;top:0;align-self:start;padding:22px}.ams4 .s-production-preview-mark{width:32px;height:32px;margin-bottom:14px;border-radius:9px}.ams4 .s-production-preview-mark svg{width:20px;height:20px}.ams4 .s-production-preview h3{font-size:22px;margin:8px 0 18px}.ams4 .s-production-summary{gap:8px}.ams4 .s-production-preview-note{margin-top:18px}}
@media(min-width:761px) and (max-height:600px){.ams4 .s-production-body{grid-template-columns:minmax(0,1fr)}.ams4 .s-production-preview{display:none}}

/* A shared scene makes every setting comparable without an AI request. */
.ams4 .s-production-body{grid-template-columns:minmax(0,1fr) 350px;overflow:hidden}
.ams4 .s-production-content{overflow:auto;overscroll-behavior:contain;min-height:0}
.ams4 .s-production-preview{position:static;align-self:stretch;display:flex;flex-direction:column;gap:12px;padding:20px;overflow:auto;overscroll-behavior:contain;background:#202020}
.ams4 .s-production-live-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0}.ams4 .s-production-live-heading strong{font-size:12px;font-weight:600}
.ams4 .s-production-preview-play{border:1px solid #555;background:transparent;padding:4px 8px;min-width:30px;height:28px;font-size:11px;color:#dedede}
.ams4 .s-production-live-scene{position:relative;aspect-ratio:16/9;width:100%;flex-shrink:0;overflow:hidden;border:1px solid #555;border-radius:10px;background:var(--pp-sky);isolation:isolate;contain:paint}
.ams4 .s-production-scene-pan,.ams4 .s-production-scene-zoom{position:absolute;inset:0;transform-origin:55% 58%}.ams4 .s-production-scene-pan{inset:-4%;animation:none}
.ams4 .s-production-scene-zoom{transform:scale(var(--pp-zoom,1));transition:transform .4s ease}.ams4 .s-production-scene-zoom svg{display:block;width:100%;height:100%}
.ams4 .s-production-scene-environment{filter:blur(var(--pp-blur,0));transition:filter .3s}
.ams4 .s-production-scene-light,.ams4 .s-production-scene-frame{position:absolute;inset:0;pointer-events:none}
.ams4 .s-production-scene-light{background:linear-gradient(120deg,#fff8ce22,transparent 55%,#0002);mix-blend-mode:soft-light}
.ams4 .s-production-live-scene[data-lighting=soft] .s-production-scene-light{background:radial-gradient(ellipse at 35% 30%,#ffefd37a,transparent 85%)}
.ams4 .s-production-live-scene[data-lighting=studio] .s-production-scene-light{background:linear-gradient(90deg,#fff6,transparent 35%,transparent 65%,#fff4)}
.ams4 .s-production-live-scene[data-lighting=split] .s-production-scene-light{background:linear-gradient(90deg,#fff1bd22 0 54%,#000b 54% 100%);mix-blend-mode:multiply}
.ams4 .s-production-live-scene[data-lighting=silhouette] .s-production-scene-person{filter:brightness(.12)}
.ams4 .s-production-live-scene[data-lighting=silhouette] .s-production-scene-light{background:radial-gradient(ellipse at 56% 45%,#fff4b7bb,transparent 48%);mix-blend-mode:soft-light}
.ams4 .s-production-live-scene[data-lighting=under] .s-production-scene-light{background:linear-gradient(0deg,#f1d7a27a,#000c 70%);mix-blend-mode:multiply}
.ams4 .s-production-live-scene[data-lighting=neon] .s-production-scene-light{background:linear-gradient(100deg,#e335c888,#0000 40%,#2bd2f5aa);mix-blend-mode:color}
.ams4 .s-production-live-scene[data-lighting=lowkey] .s-production-scene-light{background:radial-gradient(ellipse at 57% 48%,#0000 6%,#000b 65%);mix-blend-mode:multiply}
.ams4 .s-production-live-scene[data-look=film] .s-production-scene-zoom{filter:contrast(.88) saturate(.8) sepia(.12)}
.ams4 .s-production-live-scene[data-look=anamorphic] .s-production-scene-frame{background:linear-gradient(0deg,#000b 0 6%,transparent 6% 94%,#000b 94%);box-shadow:inset 0 1px #d5e7ff44}
.ams4 .s-production-live-scene[data-look=documentary] .s-production-scene-zoom{filter:saturate(.7) contrast(1.08)}
.ams4 .s-production-live-scene[data-look=clean] .s-production-scene-zoom{filter:contrast(1.15) saturate(1.1)}
.ams4 .s-production-scene-frame{inset:8%;border:1px solid #ffffff22;border-radius:1px;background:linear-gradient(90deg,transparent 33%,#fff1 33% 33.3%,transparent 33.3% 66%,#fff1 66% 66.3%,transparent 66.3%)}
.ams4 .s-production-live-scene[data-movement=tracking] .s-production-scene-pan{animation:pp-track 4s ease-in-out infinite alternate}
.ams4 .s-production-live-scene[data-movement=dolly-in] .s-production-scene-pan{animation:pp-in 4s ease-in-out infinite alternate}
.ams4 .s-production-live-scene[data-movement=dolly-out] .s-production-scene-pan{animation:pp-out 4s ease-in-out infinite alternate}
.ams4 .s-production-live-scene[data-movement=pan] .s-production-scene-pan{animation:pp-pan 4s ease-in-out infinite alternate}
.ams4 .s-production-live-scene[data-movement=orbit] .s-production-scene-pan{animation:pp-orbit 5s ease-in-out infinite alternate}
.ams4 .s-production-live-scene[data-movement=crane-up] .s-production-scene-pan{animation:pp-crane 4s ease-in-out infinite alternate}
.ams4 .s-production-live-scene[data-movement=handheld] .s-production-scene-pan{animation:pp-handheld 2s ease-in-out infinite}
.ams4 .s-production-live-scene[data-paused=true] .s-production-scene-pan{animation-play-state:paused}
.ams4 .s-production-live-caption{font-size:11px;line-height:1.5;margin:0;color:#dedede;flex-shrink:0}
.ams4 .s-production-preview .s-production-summary{gap:7px;flex-shrink:0}.ams4 .s-production-summary>div{font-size:11px}.ams4 .s-production-live-disclaimer{font-size:10px;line-height:1.5;color:#bcbcbc;margin:0;flex-shrink:0}
@keyframes pp-track{from{transform:translateX(0)}to{transform:translateX(2%)}}
@keyframes pp-in{from{transform:scale(1)}to{transform:scale(1.2)}}
@keyframes pp-out{from{transform:scale(1)}to{transform:scale(.96)}}
@keyframes pp-pan{from{transform:translateX(0) rotate(0)}to{transform:translateX(3%) rotate(1deg)}}
@keyframes pp-orbit{from{transform:perspective(600px) rotateY(0) scale(1)}to{transform:perspective(600px) rotateY(6deg) scale(1.04)}}
@keyframes pp-crane{from{transform:translateY(0) scale(1)}to{transform:translateY(-3%) scale(1.05)}}
@keyframes pp-handheld{0%,100%{transform:translate(0,0) rotate(0)}25%{transform:translate(1%,-.7%) rotate(.4deg)}60%{transform:translate(-.7%,.5%) rotate(-.3deg)}80%{transform:translate(.4%,.3%) rotate(.1deg)}}
@media(max-width:760px){.ams4 .s-production-body{display:flex;flex-direction:column}.ams4 .s-production-preview{order:-1;flex:none;overflow:visible;border-left:0;border-top:0;border-bottom:1px solid #444;padding:10px 18px;gap:6px}.ams4 .s-production-live-scene{height:clamp(95px,18dvh,150px);width:100%;aspect-ratio:auto}.ams4 .s-production-live-scene svg{object-fit:cover}.ams4 .s-production-preview .s-production-summary{display:none}.ams4 .s-production-live-heading strong{font-size:11px}.ams4 .s-production-live-caption{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px}.ams4 .s-production-live-disclaimer{font-size:9px}.ams4 .s-production-content{flex:1;padding:16px 18px}.ams4 .s-production-preview-play{height:26px;min-width:32px;padding:2px 8px}}
@media(max-height:520px) and (min-width:650px){.ams4 .s-production-body{display:grid;grid-template-columns:minmax(0,1fr) 260px}.ams4 .s-production-preview{display:flex;order:0;overflow:auto;padding:12px;border-bottom:0}.ams4 .s-production-live-scene{height:105px;aspect-ratio:auto}.ams4 .s-production-preview .s-production-summary{display:none}.ams4 .s-production-header{padding:12px 20px}.ams4 .s-production-header h2{font-size:17px}.ams4 .s-production-steps{padding-bottom:10px}.ams4 .s-production-footer{padding:10px 20px}}
@media(prefers-reduced-motion:reduce){.ams4 .s-production-scene-pan{animation:none!important}.ams4 .s-production-scene-zoom{transition:none}}

.ams4 .s-production-live-scene[data-format=commercial] .s-production-scene-frame{inset:5%;border-color:#ffffff44;background:none}.ams4 .s-production-choice small{word-break:keep-all}

@media(min-width:761px){.ams4 .s-production-preview{padding:16px;gap:9px}.ams4 .s-production-live-scene{height:150px;aspect-ratio:auto}.ams4 .s-production-preview .s-production-summary{display:flex;flex-wrap:wrap;gap:5px}.ams4 .s-production-preview .s-production-summary>div{border:1px solid #4b4b4b;border-radius:6px;padding:4px 7px}.ams4 .s-production-preview .s-production-summary small{display:none}.ams4 .s-production-preview .s-production-summary span{font-size:11px}.ams4 .s-production-live-caption{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}

.ams4 .s-production-content,.ams4 .s-production-preview{overflow-x:hidden}
.ams4 .s-production-recommendation{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-6px 0 20px;padding:11px 12px;border:1px solid #404040;background:#242424;border-radius:9px}.ams4 .s-production-recommendation small{font-size:10px;line-height:1.5;color:#dedede}.ams4 .s-production-recommendation button{flex-shrink:0;font-size:10px;padding:7px 9px;background:#333;border:1px solid #606060;color:#f0f0f0}
.ams4 .s-production-manual{display:inline-block;font-size:9px;font-weight:400;margin-left:9px;color:#bcbcbc}
.ams4 .s-production-field-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-3px 0 9px}.ams4 .s-production-field-tools>small{font-size:10px;color:#bcbcbc}.ams4 .s-production-field-tools>button{background:transparent;border:0;color:#dedede;padding:3px 0;font-size:10px}
.ams4 .s-production-choice .s-production-other{font-size:9px;color:#bcbcbc;justify-self:start;border:1px solid #555;border-radius:4px;padding:1px 5px}
@media(max-width:760px){.ams4 .s-production-recommendation{padding:9px 10px;gap:8px;margin-bottom:16px}.ams4 .s-production-recommendation small{font-size:9px}.ams4 .s-production-field-tools>button{min-height:32px}.ams4 .s-production-manual{margin-left:6px}}

/* Paper silhouette stays readable while framing and camera movement change. */
.ams4 .s-production-scene-zoom{transform-origin:55% 40%}
.ams4 .s-production-scene-environment{filter:blur(min(var(--pp-blur,0px),1px)) drop-shadow(5px 7px 1px #16152355)}
.ams4 .s-production-live-scene[data-color=mono] .s-production-paper-person{filter:grayscale(1) drop-shadow(6px 9px 1px #1115)}

/* Library paper collage: keep the professor separate from the room for lens depth. */
.ams4 .s-production-live-scene:has(.s-production-library-person) .s-production-scene-environment{filter:blur(var(--pp-blur,0px))}
.ams4 .s-production-live-scene:has(.s-production-library-person)[data-color=mono] .s-production-scene-zoom>svg{filter:grayscale(1)}
.ams4 .s-production-live-scene:has(.s-production-library-person)[data-color=amber] .s-production-scene-zoom>svg{filter:sepia(.35) saturate(1.12)}
.ams4 .s-production-live-scene:has(.s-production-library-person)[data-color=pastel] .s-production-scene-zoom>svg{filter:saturate(.7) brightness(1.08)}
.ams4 .s-production-live-scene:has(.s-production-library-person)[data-color=muted] .s-production-scene-zoom>svg{filter:saturate(.4)}
.ams4 .s-production-live-scene:has(.s-production-library-person)[data-color=vivid] .s-production-scene-zoom>svg{filter:saturate(1.4)}
.ams4 .s-production-live-scene:has(.s-production-library-person)[data-color=blue] .s-production-scene-zoom>svg{filter:sepia(.2) hue-rotate(160deg) saturate(.8)}

/* Two equally visible ways into the studio: free nodes and guided presets. */
.ams4 .s-start-duo{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);gap:18px;margin:0 0 20px;align-items:stretch}
.ams4 .s-start-duo[hidden]{display:none!important}
.ams4 .s-start-duo .s-workflow-hero{margin:0;display:flex;flex-direction:column;min-width:0}
.ams4 .s-start-duo .s-workflow-header{padding:20px 18px 12px;gap:12px;flex-wrap:wrap}
.ams4 .s-start-duo .s-workflow-header h1{font-size:18px;line-height:1.5;flex:1 1 270px}
.ams4 .s-start-duo .s-workflow-visual{height:calc(360px * var(--wf-home-scale,1));overflow:hidden;margin:auto 0;flex:none}
.ams4 .s-start-duo .s-workflow-stage{width:960px;min-width:960px;height:360px;transform:scale(var(--wf-home-scale,1));transform-origin:top left}
.ams4 .s-production-entry.s-preset-home{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:20px;margin:0;min-width:0;border-color:#444;background:linear-gradient(150deg,#242424,#171717);border-radius:14px}
.ams4 .s-preset-home .s-preset-home-heading{display:block;flex:none}
.ams4 .s-preset-home-heading h2{font-size:18px;line-height:1.5;letter-spacing:-.5px;font-weight:600;color:#f0f0f0;margin:0;word-break:keep-all}
.ams4 .s-preset-home .s-preset-home-steps{display:flex;flex:none;gap:6px}
.ams4 .s-preset-home-steps>span{flex:1;display:flex;align-items:center;gap:6px;padding:8px;border:1px solid #4a4a4a;border-radius:7px;white-space:nowrap;background:#2b2b2b}
.ams4 .s-preset-home-steps small{font-size:9px;color:#bdbdbd}.ams4 .s-preset-home-steps strong{font-size:11px;font-weight:550}
.ams4 .s-preset-home .s-preset-home-demo{display:block;position:relative;flex:none;overflow:hidden;border-radius:9px;border:1px solid #4c4c4c}
.ams4 .s-preset-home-demo .s-production-live-scene{height:auto;aspect-ratio:16/9;border:0;border-radius:0}
.ams4 .s-preset-home-demo .s-production-scene-pan{inset:0}
.ams4 .s-preset-home-tags{position:absolute;left:10px;right:10px;bottom:10px;display:flex;gap:5px;flex-wrap:wrap}
.ams4 .s-preset-home-tags span{font-size:9px;background:#181818d9;border:1px solid #ffffff33;padding:4px 7px;border-radius:5px;backdrop-filter:blur(8px)}
.ams4 .s-preset-home-copy{font-size:12px;line-height:1.7;color:#dedede;margin:0;word-break:keep-all}
.ams4 .s-preset-home .s-preset-home-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;margin-top:auto}
.ams4 .s-preset-home-footer small{font-size:10px;color:#bdbdbd}.ams4 .s-preset-home-footer .s-production-entry-button{margin:0;font-size:11px;padding:9px 12px;border-radius:7px;white-space:nowrap}
@media(max-width:1000px){.ams4 .s-start-duo{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:12px}.ams4 .s-production-entry.s-preset-home{padding:16px;gap:12px}.ams4 .s-preset-home-steps>span{gap:4px;padding:6px 4px}.ams4 .s-preset-home-steps strong{font-size:10px}.ams4 .s-preset-home-footer>small{display:none}.ams4 .s-preset-home-footer{justify-content:flex-end!important}}
@media(max-width:760px){.ams4 .s-start-duo{grid-template-columns:minmax(0,1fr);gap:12px}.ams4 .s-start-duo .s-workflow-header{padding:16px;gap:10px}.ams4 .s-start-duo .s-workflow-header h1{font-size:17px;flex-basis:100%}.ams4 .s-start-duo .s-workflow-actions{width:100%;justify-content:space-between}.ams4 .s-production-entry.s-preset-home{padding:16px;gap:12px}.ams4 .s-preset-home-heading h2{font-size:17px}.ams4 .s-preset-home-demo .s-production-live-scene{height:auto;aspect-ratio:16/9}.ams4 .s-preset-home-steps>span{padding:8px}.ams4 .s-preset-home-steps strong{font-size:11px}.ams4 .s-preset-home-footer>small{display:block}.ams4 .s-preset-home .s-preset-home-footer{justify-content:space-between!important}}

@media(max-width:760px){.ams4 .s-start-duo .s-workflow-visual{height:330px;overflow-x:auto}.ams4 .s-start-duo .s-workflow-stage{height:330px;transform:none}}

.ams4 .s-preset-home .s-preset-home-demo{width:100%;aspect-ratio:16/9;min-height:0}
.ams4 .s-preset-home-demo .s-production-live-scene{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto}

/* Compact, automatically advancing views of the actual three preset steps. */
.ams4 .s-preset-home-steps>button{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 5px;border:1px solid transparent;border-radius:7px;background:transparent;color:#dedede;cursor:pointer;white-space:nowrap;transition:background .2s,border-color .2s}
.ams4 .s-preset-home-steps>button[aria-current=step]{background:#3a3a3a;border-color:#606060;color:#f0f0f0}
.ams4 .s-preset-home-steps>button:hover{background:#303030}.ams4 .s-preset-home-steps>button:focus-visible{outline:2px solid #dedede;outline-offset:2px}
.ams4 .s-preset-home .s-preset-home-settings{aspect-ratio:auto;height:242px;background:#1c1c1c;padding:12px;box-sizing:border-box}
.ams4 .s-preset-demo-bar{display:flex;align-items:center;gap:8px;font-size:9px;color:#bdbdbd;padding-bottom:10px;margin-bottom:12px;border-bottom:1px solid #3d3d3d}
.ams4 .s-preset-demo-bar>span:nth-child(2){margin-left:auto;font-variant-numeric:tabular-nums}
.ams4 .s-preset-demo-toggle{display:grid;place-items:center;background:transparent;border:0;color:#dedede;min-width:24px;height:24px;padding:3px;border-radius:4px;font-size:10px;cursor:pointer}.ams4 .s-preset-demo-toggle:hover{background:#383838}.ams4 .s-preset-demo-toggle:disabled{opacity:.4}
.ams4 .s-preset-demo-panel{display:grid;gap:12px;animation:pp-demo-appear .3s ease}
.ams4 .s-preset-demo-panel[hidden]{display:none!important}
.ams4 .s-preset-demo-field{display:grid;grid-template-columns:58px minmax(0,1fr);gap:8px;align-items:center}
.ams4 .s-preset-demo-label{font-size:10px;color:#dedede;word-break:keep-all}
.ams4 .s-preset-demo-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.ams4 .s-preset-demo-choice{display:flex;align-items:center;justify-content:space-between;gap:4px;border:1px solid #3e3e3e;background:#252525;color:#dedede;border-radius:6px;padding:8px 7px;min-width:0;font-size:10px;line-height:1.4}
.ams4 .s-preset-demo-choice>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ams4 .s-preset-demo-choice>small{font-size:10px;color:#aaa;flex:none}
.ams4 .s-preset-demo-choice.is-selected{background:#383838;border-color:#818181;color:#f0f0f0}.ams4 .s-preset-demo-choice.is-selected>small{color:#f0f0f0}
@keyframes pp-demo-appear{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.ams4 .s-preset-demo-panel{animation:none}}
@media(max-width:1000px){.ams4 .s-preset-demo-field{grid-template-columns:48px minmax(0,1fr);gap:5px}.ams4 .s-preset-demo-choice{padding:7px 5px;font-size:9px}.ams4 .s-preset-home .s-preset-home-settings{padding:10px}}
@media(max-width:760px){.ams4 .s-preset-demo-field{grid-template-columns:58px minmax(0,1fr);gap:8px}.ams4 .s-preset-demo-choice{font-size:10px;padding:8px 7px}.ams4 .s-preset-home .s-preset-home-settings{padding:12px}}

/* Spread the existing diagram into the available width, retaining its first node. */
.ams4 .s-start-duo .s-workflow-stage{width:max(960px,100%)}
.ams4 .s-start-duo .s-workflow-character-one{left:var(--wf-home-inset,30px);width:96px}
.ams4 .s-start-duo .s-workflow-character-two{left:calc(153.6px + var(--wf-home-spread,0px) * .18);width:96px}
.ams4 .s-start-duo .s-workflow-background{left:calc(288px + var(--wf-home-spread,0px) * .36);width:182.4px}
.ams4 .s-start-duo .s-workflow-text{left:calc(249.6px + var(--wf-home-spread,0px) * .36);width:211.2px}
.ams4 .s-start-duo .s-workflow-sound{left:calc(499.2px + var(--wf-home-spread,0px) * .65);width:201.6px}
.ams4 .s-start-duo .s-workflow-output.s-node{left:calc(528px + var(--wf-home-spread,0px) * .72);width:192px}
.ams4 .s-start-duo .s-workflow-composer{left:calc(748.8px + var(--wf-home-spread,0px));width:192px}
@media(max-width:760px){.ams4 .s-start-duo .s-workflow-stage{--wf-home-spread:-10.8px;--wf-home-inset:30px}}

/* Per-canvas preset context lives below the active canvas name, outside the stage. */
.ams4 .s-canvas-row.s-current-canvas{flex-wrap:wrap}
.ams4 .s-canvas-preset-context{flex:0 0 100%;min-width:0;padding:3px 4px 7px 25px;box-sizing:border-box}
.ams4 .s-production-configure{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:4px 0;border:0;background:transparent;color:#dedede;font-size:11px;font-weight:550;text-align:left;cursor:pointer}
.ams4 .s-production-configure svg{width:13px;height:13px;flex:none}.ams4 .s-production-configure:hover{color:#fff}.ams4 .s-production-configure:disabled{opacity:.65;cursor:default}.ams4 .s-production-configure:focus-visible{outline:2px solid #dedede;outline-offset:3px;border-radius:3px}
.ams4 .s-canvas-preset-summary{margin:3px 0 0;font-size:10px;line-height:1.7;color:#dedede;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;font-weight:400}
.ams4.s-mobile .s-canvas-preset-context{padding-left:4px}.ams4.s-mobile .s-production-configure{min-height:34px}
