.scene-editor .cut-stage{container-type:size}.scene-editor .stage-frame{position:relative;width:100%;height:auto;min-height:0;background:#000;outline:1px solid #292a2c}.scene-editor .stage-frame :is(video,img,canvas){display:block;width:100%;height:100%;object-fit:contain}.scene-editor .stage-frame .frame-hold{position:absolute;inset:0;background:#000;pointer-events:none}.scene-editor .stage-frame .frame-hold[hidden]{display:none}.scene-editor .timeline-piece{position:relative;height:100%;flex:none;transform:translateX(var(--drag-x,0));user-select:none;-webkit-user-select:none}.scene-editor .timeline-piece.is-dragging{z-index:3}.scene-editor .timeline-piece .filmclip{display:block;width:100%;height:100%;border-radius:6px;background:#202124;border:1px solid #454649;box-shadow:none;cursor:grab;touch-action:none;padding:0}.scene-editor .timeline-piece .filmclip.selected{border:2px solid white}.scene-editor .timeline-piece .filmclip.selected:after,.scene-editor .timeline-piece .filmclip.selected:before{display:none}.scene-editor .timeline-piece .filmclip.moving{cursor:grabbing}.scene-editor .timeline-piece :is(.clip-film,.still-film,video){width:100%;height:100%;display:block;object-fit:cover;pointer-events:none}.scene-editor .still-film{background-repeat:repeat-x;background-size:auto 100%;background-position:0}.scene-editor .clip-grip{position:absolute;width:min(16px,30%);top:0;bottom:0;touch-action:none;cursor:ew-resize;z-index:1}.scene-editor .clip-grip.start{left:0}.scene-editor .clip-grip.end{right:0}.scene-editor .clip-grip:before{content:"";position:absolute;top:2px;bottom:2px;width:min(12px,100%);background:#fff}.scene-editor .clip-grip.start:before{left:1px;border-radius:4px 0 0 4px}.scene-editor .clip-grip.end:before{right:1px;border-radius:0 4px 4px 0}.scene-editor .clip-grip:after{content:"";position:absolute;width:2px;height:min(28px,55%);top:50%;transform:translateY(-50%);background:#20212470;border-radius:2px}.scene-editor .clip-grip.start:after{left:min(6px,40%)}.scene-editor .clip-grip.end:after{right:min(6px,40%)}.scene-editor .cut-playhead{z-index:2}.scene-editor .playhead-hit{position:absolute;top:0;left:-7px;width:16px;height:28px;pointer-events:auto;touch-action:none;cursor:grab}.scene-editor .playhead-hit:active{cursor:grabbing}.scene-editor .time-seek{touch-action:none}.scene-editor .clip-add{width:28px;min-width:28px;height:28px}.scene-editor.trashed-cut .timeline-piece .filmclip{touch-action:pan-x}.scene-editor.compact-player .cut-layout{grid-template-rows:76px minmax(0,1fr) 16px}.compact-player .cut-header{padding:0 20px;gap:4px}.compact-player .cut-header .cut-title{flex:0 1 auto;max-width:none}.compact-player .cut-top-actions{margin-left:auto}.compact-player .cut-header .cut-btn{padding:0;width:36px}.compact-player .cut-header .cut-done{color:#151515;background:#fff}.compact-player .cut-middle{display:flex;padding:0 16px}.compact-player .screen{flex:1 1;grid-template-rows:minmax(0,1fr)}.compact-player .cut-stage{padding:0}.compact-player .stage-frame{border-radius:16px;overflow:hidden}.stage-frame .playback-unavailable{position:absolute;z-index:2;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:max-content;max-width:calc(100% - 24px);border-radius:12px;background:#181a1eee;padding:10px 14px;text-align:center}.stage-frame .playback-unavailable p{margin:0 0 4px}.stage-frame .playback-unavailable a{color:#e8efff;text-decoration:underline}.compact-player .cut-zoom{display:none}.compact-player .cut-history{position:absolute;inset:0 12px 12px auto;z-index:3;width:min(260px,80%);padding:12px;border-radius:12px;background:#202124}.compact-player .watch-overlay{position:absolute;pointer-events:none;width:clamp(min(268px,100cqw),calc(100cqh * var(--watch-ratio)),100cqw);height:clamp(min(100px,100cqh),calc(100cqw / var(--watch-ratio)),100cqh)}.compact-player .watch-tools,.compact-player .watch-transport{position:absolute;display:flex;align-items:center;gap:6px}.compact-player .watch-overlay :is(button,input){pointer-events:auto}.compact-player .watch-tools{top:10px;right:10px}.compact-player .watch-tools .cut-btn{background:#171819bd}.compact-player .watch-tools .cut-btn[aria-pressed=true]{color:#151515;background:white}.compact-player .watch-transport{inset:auto 0 0;padding:20px 10px 8px;background:linear-gradient(transparent,#000b);border-radius:0 0 16px 16px}.compact-player .watch-transport input{flex:1 1;min-width:20px;height:26px;margin:0;padding:0;appearance:none;background:transparent;cursor:pointer}.compact-player .watch-transport input::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:linear-gradient(to right,#fff var(--played),#ffffff55 var(--played))}.compact-player .watch-transport input::-webkit-slider-thumb{appearance:none;width:6px;height:6px;margin-top:-1px;border-radius:50%;background:#fff}.compact-player .watch-transport input::-moz-range-track{height:4px;border-radius:2px;background:#ffffff55}.compact-player .watch-transport input::-moz-range-progress{height:4px;background:white}.compact-player .watch-transport input::-moz-range-thumb{width:6px;height:6px;border:0;background:white}.compact-player .watch-transport time{color:#fff;font:500 12px/1.2 Arial,sans-serif;white-space:nowrap}.compact-player .watch-overlay .cut-btn{width:34px;height:34px;min-width:34px;padding:0}.compact-player .watch-info{max-width:280px;padding:8px 12px;overflow-wrap:anywhere}@media (max-width:370px){.compact-player .cut-header{padding:0 8px}}@media (max-height:500px){.scene-editor.compact-player .cut-layout{grid-template-rows:48px minmax(0,1fr) 8px}}@scope (.studio-ui){:scope{color-scheme:dark;font-family:Google Sans Text,Google Sans,Roboto,Arial,sans-serif;color:#f1f3f4;font-size:14px}*{box-sizing:border-box}:scope{margin:0;background:#000}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;border:0;background:transparent}button:disabled{cursor:default;opacity:.4}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #a8c7fa;outline-offset:3px}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sprite{position:absolute;width:0;height:0;overflow:hidden}header{height:76px;display:flex;align-items:center;padding:10px 24px;gap:8px}.icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;flex-shrink:0}.icon:hover{background:#ffffff12}.project{font-size:16px;text-align:left;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:8px 0}.project-more{margin-left:62px}.searchbar{position:absolute;left:calc(50% - 245px);top:18px;width:430px;height:40px;background:#171717;border-radius:16px;display:flex;align-items:center;padding:0 12px;gap:10px}.searchbar svg{width:18px;height:18px;color:#a2a3a6}.searchbar input{min-width:0;width:100%;background:none;border:0;outline:0}.filter{position:absolute;top:18px;left:calc(50% + 193px);background:#171717;border-radius:16px;width:42px}.filter svg{width:18px;height:18px}.top-actions{margin-left:auto;display:flex;align-items:center;gap:6px}.avatar{margin-left:10px;border-radius:50%;width:40px;height:40px;background:#26272b;color:#c4d7fa;border:2px solid #99b8ff;font-size:16px;box-shadow:inset 0 0 0 3px #000}aside{position:fixed;left:16px;top:76px;width:215px;bottom:48px;display:flex;flex-direction:column;transition:width .18s}.nav-bottom button,nav button{display:flex;align-items:center;gap:18px;width:100%;height:48px;border-radius:16px;padding:0 14px;margin-bottom:5px;font-weight:500;text-align:left;white-space:nowrap}.nav-bottom button:hover,nav button:hover{background:#202020}nav button.selected{background:#383838}.nav-bottom svg,nav svg{width:20px;height:20px}.divider{height:1px;background:#303030;margin:9px 0}.trailing{margin-left:auto;width:17px}.nav-bottom{margin-top:auto}main{margin-left:248px;margin-right:16px;padding-bottom:170px;min-height:calc(100dvh - 100px)}#gallery{display:flex;flex-wrap:wrap;gap:16px;align-content:start}.media{position:relative;width:141px;height:250px;border-radius:16px;overflow:hidden;background:#131313;padding:0;text-align:left;border:1px solid #272727}.media img,.media video{width:100%;height:100%;object-fit:cover}.media .caption{bottom:0;left:0;right:0;padding:20px 10px 10px;background:linear-gradient(transparent,#000b);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.media .badge,.media .caption{position:absolute;font-size:12px}.media .badge{top:8px;left:8px;background:#0008;border-radius:10px;padding:2px 6px}#empty{font-size:14px;color:#6f7276;text-align:center;padding-top:25vh}.composer-wrap{position:fixed;width:660px;max-width:calc(100% - 32px);left:50%;transform:translateX(-50%);bottom:32px;z-index:3}.composer{min-height:56px;background:#121314;border:1px solid #252629;border-radius:29px;display:flex;align-items:center;padding:9px;gap:6px;box-shadow:0 8px 24px #0006}.composer textarea{resize:none;background:none;border:0;outline:0;padding:7px 4px;min-width:0;flex:1 1;line-height:20px;font-size:14px;height:34px;max-height:150px;order:2}.composer-controls{display:contents}.round{width:32px;height:32px;border-radius:50%;background:#ffffff06;display:grid;place-items:center;flex-shrink:0}.round svg{width:20px;height:20px}.round:hover{background:#ffffff18}#addIngredient{order:1}.spacer{display:none}#formatTrigger{order:3;display:flex;align-items:center;gap:5px;font-size:11px;white-space:nowrap;border-radius:16px;background:#ffffff06;height:32px;padding:0 12px}#formatTrigger svg{width:15px;height:15px}#agent{order:4}#generate{order:5}#generate:not(:disabled){background:#e5e7eb;color:#202124}.format-panel{position:absolute;bottom:56px;right:96px;width:296px;padding:8px;background:#151617;border-radius:20px;box-shadow:0 10px 35px #0009}.segments{background:#222325;overflow:hidden;margin-bottom:4px;gap:1px}.segments,.segments button{display:flex;border-radius:13px}.segments button{flex:1 1;min-width:0;min-height:34px;font-size:12px;align-items:center;justify-content:center;gap:5px}.segments button.selected{background:#3e3f40}.segments#modeGroup button.selected,.segments#typeGroup button.selected{background:#e2e3e6;color:#202124}.segments svg{width:16px;height:16px}.aspects button{flex-direction:column;gap:0;padding:4px;line-height:16px}.aspects svg{height:14px}.rule{border-top:1px solid #303134;margin:5px 0}.format-panel select{border:0;background:#2a2b2d;border-radius:12px;width:100%;height:34px;padding:0 12px;font-size:12px;margin-bottom:4px}.duration{display:flex;justify-content:space-between;align-items:center;font-size:12px;padding:0 8px;height:35px}.duration select{width:85px;background:transparent;margin:0;text-align:right}.usage{text-align:center;color:#b5b6ba;font-size:12px;padding:12px 0 8px}.footnote{position:fixed;bottom:8px;left:8px;font-size:11px;color:#b5b7ba}.collapsed aside{width:56px}.collapsed .nav-bottom span,.collapsed .trailing,.collapsed nav span{display:none}.collapsed main{margin-left:88px}.collapsed .divider{margin-right:0}.expanded-composer .composer{display:grid;grid-template-columns:1fr;border-radius:24px;padding:12px}.expanded-composer textarea{order:0;width:100%;height:60px;padding:6px;font-size:16px}.expanded-composer .composer-controls{display:flex;gap:4px;align-items:center}.expanded-composer .spacer{display:block;flex:1 1}.expanded-composer #references{display:flex;gap:8px;flex-wrap:wrap}.refchip{font-size:12px;color:#c2c5cc;background:#27282b;border-radius:8px;padding:5px 9px}dialog{background:#171819;color:#eee;border:1px solid #353638;border-radius:20px;padding:24px;width:460px;max-width:calc(100vw - 32px)}dialog::backdrop{background:#0009}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}h2{font-size:18px;font-weight:500;margin:0}#modalBody{font-size:14px;color:#bbc0c7;line-height:1.65}#modalBody button{background:#303134;border-radius:10px;padding:9px 14px;margin:6px 6px 0 0}#modalBody input{width:100%;background:#252629;border:1px solid #444;border-radius:9px;padding:10px}#modalBody img,#modalBody video{width:100%;max-height:65vh;object-fit:contain;border-radius:12px}#toast{position:fixed;left:50%;transform:translateX(-50%);bottom:110px;background:#e1e3e6;color:#25272a;padding:12px 18px;border-radius:12px;z-index:10;max-width:calc(100vw - 30px);font-size:14px}[hidden]{display:none!important}@media(max-width:1100px) and (min-width:701px){.searchbar{left:38%;width:28%}.filter{left:calc(66% + 8px)}.project-more{margin-left:10px}.top-actions{gap:0}.top-actions .icon{width:34px}.composer-wrap{left:calc(50% + 80px);width:min(660px,calc(100vw - 280px))}.composer textarea{font-size:13px}#formatTrigger{padding:0 8px}}@media(max-width:700px){header{height:120px;align-items:flex-start;padding:10px 16px;gap:8px}.project{font-size:16px;max-width:78px;padding-top:10px;flex:1 1}.project-more,.top-actions{margin-left:0}.top-actions{gap:6px}.top-actions .icon{width:40px}.top-actions .desktop{display:none}.avatar{margin-left:0;width:40px;height:40px}.searchbar{left:16px;right:66px;top:68px;width:auto}.filter{left:auto;right:16px;top:68px}aside{display:none}.collapsed main,main{margin-left:16px;margin-right:16px;padding-bottom:170px;min-height:calc(100dvh - 120px)}#gallery{gap:16px}.media{width:141px;height:250px}.composer-wrap{bottom:24px;width:calc(100% - 32px);max-width:none}.composer{display:grid;grid-template-columns:1fr;border-radius:24px;padding:10px}.composer textarea{order:0;width:100%;height:36px;min-height:36px;font-size:16px;padding:5px 8px}.composer-controls{display:flex;align-items:center;gap:4px}.spacer{display:block;flex:1 1}#agent{display:none}#formatTrigger{font-size:11px;padding:0 8px}.format-panel{right:44px;bottom:56px;width:296px;max-width:calc(100vw - 48px)}.footnote{bottom:5px;font-size:10px}.scenes{display:none}.expanded-composer textarea{height:60px}.mobile-nav aside{display:flex;background:#101112;z-index:6;top:60px;left:8px;bottom:30px;width:215px;padding:8px;border-radius:16px;border:1px solid #303134}#references{order:-1}}@media(max-width:370px){header{gap:2px;padding-left:8px;padding-right:8px}.project{max-width:65px}.top-actions{gap:1px}.top-actions .icon{width:35px}.avatar{width:34px;height:34px}.media{width:calc((100vw - 48px)/2);height:230px}}:scope{--motion-fast:140ms;--motion-panel:180ms;--ease:cubic-bezier(.2,0,0,1)}a,button,input,textarea{-webkit-tap-highlight-color:transparent}button{touch-action:manipulation;transition:background-color var(--motion-fast),color var(--motion-fast),opacity var(--motion-fast)}:scope{scrollbar-color:#303134 #000;scrollbar-width:thin}:scope{overflow-x:clip}header .project{min-width:0}textarea{scrollbar-width:thin}.format-panel{max-height:calc(100dvh - 180px);transform-origin:bottom right}.format-panel,dialog{overflow-y:auto;overscroll-behavior:contain;animation:panel-in var(--motion-panel) var(--ease)}dialog{max-height:calc(100dvh - 32px)}dialog::backdrop{animation:fade-in .14s}.composer-wrap{bottom:calc(32px + env(safe-area-inset-bottom,0px))}.composer{transition:border-color .14s,box-shadow .14s}.composer:focus-within{border-color:#44464a}.refchip{max-width:180px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;display:inline-flex;align-items:center;gap:5px}.refchip small{color:#9ca2ad}.media{animation:tile-in .22s var(--ease);transition:border-color .14s,box-shadow .14s;isolation:isolate}.media:hover{border-color:#73767b;box-shadow:0 4px 18px #0006}.media:focus-visible{outline-offset:4px}.media .tile-actions{position:absolute;top:8px;right:8px;display:flex;gap:5px;opacity:0;transition:opacity .14s}.media:focus-within .tile-actions,.media:hover .tile-actions{opacity:1}.media .tile-actions button{background:#17191bdd;width:30px;height:30px;border-radius:50%;display:grid;place-items:center}.media .tile-actions svg{width:16px;height:16px}.media .caption{pointer-events:none}.tile-open{width:100%;height:100%;padding:0}.media video,.tile-open{display:block}.media .type-icon{position:absolute;top:9px;left:9px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#0008;pointer-events:none}.type-icon svg{width:15px;height:15px}.job-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:16px;text-align:center;font-size:13px;background:radial-gradient(ellipse at top,#20242d,#101113 70%)}.job-tile .job-label{color:#d6d9de}.job-tile small{color:#959aa5}.job-tile progress{width:100%;height:3px;accent-color:#d1d7e4}.job-tile .job-prompt{position:absolute;bottom:12px;left:12px;right:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8f949c;font-size:12px}.job-tile.failed{background:#171214}.job-tile .retry{border:1px solid #53434a;border-radius:14px;padding:5px 12px;background:#302127}.spinner{width:22px;height:22px;border:2px solid #555a63;border-top-color:#d7dce5;border-radius:50%;animation:spin 1s linear infinite}.job-tile.failed .error-icon{font-size:22px;color:#e8b4bf}.media.placeholder{background:linear-gradient(120deg,#111317,#252831,#111317);background-size:200% 100%;animation:shimmer 2s infinite}#toast{overflow-wrap:anywhere;animation:panel-in .16s var(--ease)}.empty-action{margin-top:15px;color:#d3d7de;text-decoration:underline;text-underline-offset:4px}.footnote{pointer-events:none}.nav-scrim{position:fixed;inset:0;background:#0008;z-index:5}.mobile-nav .nav-scrim{display:block}.nav-scrim[hidden]{display:none}.viewer{position:fixed;inset:0;background:#000;z-index:20;display:flex;flex-direction:column;animation:fade-in .15s}.viewer-bar{display:flex;align-items:center;gap:8px;padding:18px 20px;height:76px;flex-shrink:0}.viewer-title{font-size:16px;font-weight:400;min-width:0;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0}.viewer-actions{margin-left:auto;display:flex;gap:6px;align-items:center}.viewer-done{background:#eee;color:#222;border-radius:12px;padding:8px 13px;font-weight:500}.viewer-content{padding:0 16px 42px;gap:16px}.viewer-content,.viewer-stage{display:flex;flex:1 1;min-height:0}.viewer-stage{position:relative;align-items:center;justify-content:center;min-width:0}.viewer-stage>img,.viewer-stage>video{max-width:100%;max-height:100%;object-fit:contain;border-radius:16px;display:block}.viewer-stage video{width:auto;height:100%}.viewer-history{width:300px;flex-shrink:0;overflow:auto;border-left:1px solid #242629;padding:16px;color:#b7bcc6;font-size:14px}.viewer-history img{width:90px;height:120px;object-fit:cover;border-radius:10px}.viewer-history h3{font-size:14px;font-weight:500;margin:0 0 16px}.viewer-history p{overflow-wrap:anywhere;line-height:1.6}.viewer-history button{padding:8px 12px;background:#292b30;border-radius:10px}.viewer-info{position:absolute;right:16px;top:76px;width:280px;max-width:calc(100vw - 32px);padding:20px;background:#1b1d21;border:1px solid #383b42;border-radius:16px;z-index:2;font-size:14px;line-height:1.7;box-shadow:0 12px 35px #0009}.viewer-info p{margin:0 0 10px;overflow-wrap:anywhere}.viewer-info a{display:inline-block;color:#e1e6f2;padding-top:8px}.viewer-menu{position:absolute;right:65px;top:64px;width:180px;background:#282a2d;border:1px solid #3c3e42;border-radius:14px;padding:6px;z-index:3;box-shadow:0 12px 30px #0008}.viewer-menu button{display:block;text-align:left;padding:11px;width:100%;border-radius:8px;font-size:14px}.viewer-menu button:hover{background:#3b3d42}.viewer-tools{position:absolute;top:12px;right:12px;display:flex;gap:8px}.viewer-tools button{background:#eeeeeedd;color:#222;border-radius:12px;width:34px;height:34px;display:grid;place-items:center}.viewer-tools svg{width:18px;height:18px}.viewer .icon[aria-pressed=true]{background:#33363a}.job-settings{font-size:12px;color:#9fa5af;line-height:1.5}.notice-row{padding:10px 0;color:#b9bec9;font-size:13px}@keyframes panel-in{0%{opacity:0;transform:translateY(6px) scale(.985)}to{opacity:1;transform:none}}@keyframes tile-in{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes spin{to{transform:rotate(1turn)}}@keyframes shimmer{to{background-position:-200% 0}}@media(min-width:960px) and (max-width:1100px){header .project{max-width:110px}.project-more{margin-left:0}.searchbar{left:28%;width:36%}.filter{left:calc(64% + 8px)}.composer-wrap{left:50%;width:660px}.top-actions .icon{width:36px}.avatar{margin-left:3px}}@media(min-width:701px) and (max-width:959px){header{height:120px;align-items:flex-start;padding:10px 16px;gap:8px}.project{flex:1 1;max-width:200px;padding-top:9px}.project-more{margin-left:0}.top-actions{gap:6px}.top-actions .desktop{display:none}.top-actions .icon{width:40px}.avatar{margin-left:0}.searchbar{left:16px;right:66px;top:68px;width:auto}.filter{top:68px;left:auto;right:16px}aside{display:none}.collapsed main,main{margin-left:16px;margin-right:16px}.composer-wrap{left:50%;width:660px;max-width:calc(100% - 32px)}.composer textarea{font-size:14px}.mobile-nav aside{display:flex;left:8px;top:60px;bottom:32px;width:215px;background:#101112;border:1px solid #303134;border-radius:16px;padding:8px;z-index:6}}@media(min-width:481px) and (max-width:700px){.composer{display:flex;border-radius:29px;padding:9px}.composer textarea{width:auto;min-height:34px;height:34px;font-size:14px;order:2}.composer-controls{display:contents}.spacer{display:none}#addIngredient{order:1}.composer-wrap{max-width:660px}.project{max-width:200px}.top-actions{margin-left:auto}#agent{display:none}.format-panel{right:44px}}@media(max-width:480px){header{display:grid;grid-template-columns:40px minmax(0,1fr) 40px auto;gap:0;padding:10px 16px;height:120px}.project{width:100%;max-width:none;padding:10px 8px;text-overflow:ellipsis}.project-more{margin:0}.top-actions{gap:6px}.avatar,.top-actions .icon{width:40px}.avatar{height:40px}.searchbar{display:flex}.composer-wrap{bottom:calc(24px + env(safe-area-inset-bottom,0px))}.composer{padding:10px;border-radius:24px}.format-panel{right:44px;max-width:calc(100vw - 48px);max-height:calc(100dvh - 170px)}.composer textarea{line-height:22px}.media .tile-actions{opacity:1}.viewer-bar{height:76px;padding:16px;gap:4px}.viewer-title{flex:1 1;max-width:none}.viewer-actions{gap:2px}.viewer-actions .icon{width:36px}.viewer-done{width:34px;height:34px;padding:0}.viewer-content{padding-bottom:48px}.viewer-history{position:absolute;right:16px;top:76px;bottom:48px;max-width:calc(100% - 32px);background:#141518;border:1px solid #34363c;border-radius:14px;z-index:1}.viewer-stage>video{height:auto;max-height:calc(100dvh - 160px);width:100%}.viewer-info{top:70px}.viewer-menu{right:16px}.footnote{font-size:10px}}@media(max-width:370px){header{padding:10px 8px;grid-template-columns:40px minmax(0,1fr) 32px auto}.project{max-width:none;font-size:14px;padding-left:4px;padding-right:4px}.project-more{width:32px}.top-actions{gap:2px}.top-actions .icon{width:32px}.avatar{width:34px;height:34px}.composer-wrap{width:calc(100% - 24px)}#formatTrigger{max-width:calc(100vw - 120px);min-width:0}#summary{overflow:hidden;text-overflow:ellipsis}.format-panel{right:32px;max-width:calc(100vw - 32px)}}@media(max-height:500px){.format-panel{max-height:calc(100dvh - 130px)}.composer-wrap{bottom:22px}.viewer-content{padding-bottom:18px}.viewer-bar{height:56px;padding-top:8px;padding-bottom:8px}.viewer-stage>video{max-height:calc(100dvh - 74px)}.viewer-info{top:52px;max-height:calc(100dvh - 70px);overflow:auto}dialog{max-height:calc(100dvh - 20px)}}@media(prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.spinner{border-color:#ddd #656b75 #656b75}}#options{margin:4px 0;background:#242527;border-radius:12px}#options summary{cursor:pointer;padding:9px 12px;font-size:12px;list-style-position:inside}#options[open]{padding-bottom:4px}#options .segments{margin-inline:4px}#gallery .media .caption{display:flex;align-items:center;gap:5px;text-align:left}.caption svg{width:14px;height:14px;flex:none}.play-mark{position:absolute;top:8px;left:8px;display:grid;place-items:center;width:29px;height:29px;font-size:12px;color:#111;background:#e8e9e8ce;border-radius:50%}#empty{padding-inline:15px}.format-panel{z-index:1}#sidebar{overflow-y:auto;overscroll-behavior:contain}#modalBody label,.login-dialog label{display:grid;gap:5px;margin:10px 0}#modalBody p{overflow-wrap:anywhere}#modalBody select,.login-dialog input{font:inherit;color:inherit;border:1px solid #4a4c50;background:#222428;border-radius:9px;padding:10px}.asset-link,.login-dialog button{background:#333539;border-radius:10px;padding:9px 14px;display:inline-block;color:#eee;margin-top:8px;text-decoration:none}.login-dialog .error{color:#ffc2b9}#modal.media-viewer{width:min(1050px,calc(100% - 30px));padding:14px 18px}#modal.media-viewer .dialog-header{margin-bottom:8px}.dialog-header h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dialog-header .icon{flex:none}.stage{background:#090a0a;border-radius:14px;text-align:center;display:grid;place-items:center}.stage>img,.stage>video{display:block}.asset-details p{margin:9px 0 0}.asset-actions{display:flex;gap:6px;flex-wrap:wrap}.asset-details summary{cursor:pointer;margin-top:10px}.asset-link{margin:6px 6px 0 0}.composer-wrap{bottom:calc(32px + env(safe-area-inset-bottom,0px) + var(--keyboard-gap,0px))}@media(max-width:959px){.collapsed main,main{padding-top:4px}.mobile-nav aside .nav-bottom{margin-top:10px}.mobile-nav aside{bottom:max(12px,env(safe-area-inset-bottom));overflow:auto}.mobile-nav .trailing,.mobile-nav.collapsed aside span{display:block}}@media(max-width:480px){.composer-wrap{bottom:calc(24px + env(safe-area-inset-bottom,0px) + var(--keyboard-gap,0px))}.composer{min-height:96px}.format-panel{right:44px;max-width:calc(100% - 44px);bottom:60px}.media{height:250px;width:min(141px,calc((100vw - 48px)/2))}.caption{padding-inline:8px}#modal.media-viewer{width:100%;max-width:100%;border-radius:0;max-height:100dvh;height:100dvh;border:0;padding:12px 16px 24px}.media-viewer .stage{min-height:42dvh}.footnote{font-size:11px}.composer-controls #addIngredient{order:0}.composer-controls .spacer{order:1}}@media(max-height:500px){.format-panel{bottom:48px;max-height:calc(100dvh - 110px)}#sidebar{bottom:12px}.asset-details p{margin:4px 0}.format-panel{scrollbar-width:thin}#modal.media-viewer .stage video{max-height:54dvh}}@media(prefers-reduced-motion:reduce){*,:after,:before{animation:none!important;transition:none!important}}#empty.scene-start{cursor:pointer;text-decoration:underline;text-underline-offset:5px;color:#d1d3d7}#empty.scene-start:focus-visible{outline:2px solid #a8c7fa}dialog.scene-editor{inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#000;color:#f2f2f2;overflow:hidden;box-shadow:none;animation:fade-in .12s ease}.scene-editor *{box-sizing:border-box}.cut-layout{height:100%;display:grid;grid-template-rows:76px minmax(0,1fr) 160px 150px}.scene-editor.image-only .cut-layout{grid-template-rows:76px minmax(0,1fr) 130px}.image-only .cut-timeline,.image-only .cut-zoom,.image-only .transport{display:none}.cut-header{display:flex;align-items:center;gap:8px;padding:0 20px;position:relative;min-width:0}.cut-title{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:16px;max-width:25vw;text-align:left;min-width:0}.cut-top-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.cut-btn{height:34px;min-width:34px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:6px;color:inherit;background:transparent;padding:0 8px;flex:none;line-height:1}.cut-btn svg{width:17px;height:17px;stroke-width:1.8}.cut-btn:hover,.cut-btn[aria-pressed=true],.cut-pill{background:#222325}.cut-btn:disabled{opacity:.4}.cut-done,.transport .play{background:#f5f5f5;color:#101010}.cut-done{min-width:64px}.cut-header .cut-rail{position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:4px;max-width:22%;overflow:hidden}.thumb-pick{width:26px;height:26px;border-radius:8px;background:#252527;border:1px solid transparent;padding:0;overflow:hidden;flex:none}.thumb-pick.selected{width:30px;height:30px;border-color:#fff}.hist-card img,.hist-card video,.thumb-pick img,.thumb-pick video{height:100%;width:100%;object-fit:cover;display:block}.cut-middle{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 264px;min-height:0;padding:0 8px 20px 16px;gap:4px}.cut-middle.no-history{grid-template-columns:minmax(0,1fr)}.cut-middle.no-history .cut-history{display:none}.screen{min-width:0;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) 54px;position:relative}.image-only .screen{grid-template-rows:1fr}.screen:fullscreen{background:#000;width:100%;height:100%;padding:12px}.cut-stage{display:flex;align-items:center;justify-content:center;position:relative;min-width:0;min-height:0;padding:16px 0 8px;overflow:hidden}.cut-stage>img,.cut-stage>video{display:block;width:100%;height:100%;object-fit:contain}.cut-stage video{cursor:pointer}.cut-stage .frame-action{position:absolute;right:10px;top:22px;background:#202123bb;opacity:0}.cut-stage:hover .frame-action,.frame-action:focus-visible{opacity:1}.transport{display:flex;align-items:center;justify-content:center;gap:4px;font-size:12px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.transport .cut-btn{min-width:30px;height:30px;padding:0 6px}.transport .play{height:34px;min-width:34px}.transport time{min-width:62px;text-align:center}.transport .total{color:#b9b9bd}.cut-history{overflow:auto;overscroll-behavior:contain;min-width:0;padding:0 8px 16px 4px}.hist-card{margin:2px 0 16px;max-width:100%;color:#d7d7d9;font-size:12px}.hist-card button.preview-clip{width:110px;min-height:62px;max-height:192px;border:1px solid #4e4f52;border-radius:8px;overflow:hidden;padding:0;display:block;background:#1a1a1c}.hist-card.selected .preview-clip{border:2px solid #ededee}.hist-card small{display:block;margin:8px 0 2px;color:#929295}.hist-card p{margin:5px 0;line-height:1.45;overflow-wrap:anywhere}.cut-zoom{position:absolute;right:8px;bottom:2px;display:flex}.cut-zoom .cut-btn{min-width:28px;height:25px}.cut-timeline{position:relative;background:#141517;border-block:1px solid #242528;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#48494c #141517;touch-action:pan-x}.cut-track{position:relative;height:100%;min-width:100%;background-image:linear-gradient(90deg,#303033 1px,transparent 0);background-size:var(--step,80px) 100%;background-position:20px 0}.ticks{position:absolute;top:4px;left:20px;display:flex;pointer-events:none;font-size:11px;color:#b7b7ba}.ticks span{width:var(--step);transform:translateX(-15px);flex:none}.time-seek{position:absolute;top:0;left:20px;appearance:none;opacity:0;height:43px;margin:0;z-index:2;cursor:ew-resize}.time-seek:focus-visible{opacity:.35}.filmline{display:flex;align-items:center;position:absolute;left:20px;top:48px;height:62px}.filmclip{position:relative;border:1px solid #56575b;height:62px;margin:0;flex:none;border-radius:5px;overflow:hidden;background:#232426;color:#fff;padding:0;background-size:auto 100%;background-repeat:repeat-x;background-position:50%}.filmclip img{width:100%;height:100%;object-fit:cover}.filmclip.selected{border:2px solid #fff;box-shadow:inset 4px 0 white,inset -4px 0 white}.filmclip.selected:after,.filmclip.selected:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:white}.filmclip.selected:after{left:auto;right:0}.clip-add{background:#f7f7f8;color:#161719;border-radius:8px;min-width:28px;height:28px;margin:0 5px}.cut-playhead{left:20px;bottom:0;width:2px;z-index:1;pointer-events:none}.cut-playhead,.cut-playhead:before{position:absolute;top:0;background:white}.cut-playhead:before{content:"";left:-4px;width:10px;height:10px;clip-path:polygon(0 0,100% 0,50% 100%)}.clip-tools{position:sticky;top:119px;left:24px;display:inline-flex;gap:4px;height:26px;z-index:1}.clip-tools button{width:28px;min-width:28px;height:26px;background:#343438;color:#fff;border-radius:7px}.reply-area{display:grid;align-items:center;justify-items:center;padding:12px 16px 16px}.reply-box{width:min(600px,100%);height:98px;background:#141516;border:1px solid #1c1d1f;border-radius:24px;padding:10px;display:grid;grid-template-rows:1fr auto}.reply-box textarea{width:100%;resize:none;border:0;background:transparent;padding:6px;font:inherit;font-size:14px;outline:none;min-width:0}.reply-actions{display:flex;align-items:center;gap:6px}.reply-actions .cut-pill{margin-left:auto;font-size:12px}.edit-menu{position:absolute;right:18px;top:60px;z-index:5;background:#222325;border:1px solid #393a3c;border-radius:14px;padding:8px;width:max-content;max-width:calc(100% - 28px);max-height:calc(100% - 100px);overflow:auto;box-shadow:0 8px 32px #000a}.edit-menu a,.edit-menu button{display:flex;align-items:center;gap:8px;text-align:left;padding:10px 12px;border-radius:8px;width:100%;color:inherit;text-decoration:none}.edit-menu a:hover,.edit-menu button:hover{background:#38393b}.edit-menu label{display:grid;padding:6px;gap:5px;font-size:13px}.edit-menu input,.edit-menu select{background:#141516;border:1px solid #4b4c50;border-radius:8px;padding:8px;max-width:100%}.edit-menu .menu-note{font-size:13px;color:#bcbdc2;padding:5px;max-width:280px}.cut-message{position:absolute;bottom:8px;left:8px;color:#adaeb3;font-size:11px;pointer-events:none}.cut-message.notice{font-size:14px;background:#eee;color:#161616;bottom:24px;left:50%;transform:translateX(-50%);padding:10px 14px;border-radius:10px;z-index:9}.cut-layout .mobile-only{display:none}.cut-btn svg.fill{fill:currentColor;stroke-width:0}.cut-stage .stage-error{position:absolute;background:#171819e6;padding:12px;border-radius:10px}.scene-editor :focus-visible{outline-color:#a8c7fa}@media(max-width:1100px){.cut-header .cut-rail{left:43%}.cut-middle{grid-template-columns:minmax(0,1fr) 210px}}@media(max-width:780px){.cut-layout{grid-template-rows:62px minmax(0,1fr) 136px 116px}.scene-editor.image-only .cut-layout{grid-template-rows:62px minmax(0,1fr) 116px}.cut-header{padding:0 12px;gap:4px}.cut-top-actions{gap:2px}.cut-title{max-width:35vw;font-size:14px;flex:1 1}.cut-header .cut-rail,.cut-layout .desk-only{display:none}.cut-layout .mobile-only{display:inline-flex}.cut-done{min-width:46px}.cut-middle{display:flex;padding:0 8px 19px}.screen{flex:1 1}.cut-history{position:absolute;right:8px;top:2px;bottom:20px;z-index:3;width:min(240px,80%);background:#18191bf7;border:1px solid #343539;border-radius:12px;padding:10px}.cut-zoom{bottom:0}.cut-stage{padding:6px 0}.transport{gap:1px}.transport time{min-width:56px}.filmline{top:40px}.clip-tools{top:105px}.reply-area{padding:8px 12px 14px}.reply-box{height:90px}.cut-stage .frame-action{top:9px;right:3px}.cut-message{bottom:0;font-size:10px}.cut-header .history-text{display:none}.scene-editor .edit-menu{top:50px}.cut-history .preview-clip{width:100px}.cut-top-actions .cut-btn{padding:0 6px}}@media(max-width:370px){.cut-header{padding:0 5px}.cut-title{font-size:13px}.transport .cut-btn{min-width:26px;padding:0 4px}.transport time{min-width:46px;font-size:11px}.cut-top-actions{gap:0}.cut-stage .frame-action{display:none}.cut-layout{grid-template-rows:56px minmax(0,1fr) 118px 108px}.filmline{top:34px}.filmclip,.filmline{height:52px}.clip-tools{top:88px}.time-seek{height:32px}}@media(max-height:500px){.cut-layout{grid-template-rows:42px minmax(0,1fr) 78px 42px}.scene-editor.image-only .cut-layout{grid-template-rows:42px minmax(0,1fr) 42px}.cut-header{padding:0 8px}.screen{grid-template-rows:minmax(0,1fr) 33px}.cut-middle{padding-bottom:0}.cut-stage{padding:0}.cut-zoom{right:3px;bottom:3px}.filmline{top:22px}.filmclip,.filmline{height:32px}.clip-tools{top:54px;height:20px}.clip-tools button{height:19px}.ticks{top:0}.time-seek{height:21px}.reply-area{padding:3px 10px}.reply-box{height:36px;display:flex;padding:2px 6px;align-items:center}.reply-box textarea{height:28px;flex:1 1}.reply-actions .cut-btn{height:26px}.cut-message:not(.notice){display:none}.cut-history{bottom:4px}.edit-menu{top:36px;max-height:calc(100% - 42px)}}@media(prefers-reduced-motion:reduce){.scene-editor{animation:none!important}}.scene-editor.immersive .screen{position:fixed;inset:0;background:#000;padding:max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom));z-index:8}.scene-editor.immersive .cut-stage{padding:0}.scene-editor.immersive .transport{z-index:1}@media(max-width:959px){.mobile-nav .scenes{display:flex}}}.studio-ui{--flow-panel:#171717;--flow-hover:#29292b;--flow-line:#343436;--flow-muted:#b4b6ba;--flow-text:#e3e3e3;min-height:100dvh;background:#000;color:var(--flow-text)}.studio-ui .gallery-entry{display:contents}.studio-ui #gallery{display:flex;flex-wrap:wrap;align-content:flex-start;align-items:flex-start;gap:16px}.studio-ui #gallery .gallery-entry h3{width:100%;font-size:14px;margin:8px 0 0;color:var(--flow-muted)}@media (max-width:839px){.studio-ui #gallery{margin-right:8px}}.studio-ui .flow-tile{position:relative;width:min(100%,calc(var(--tile-height) * var(--media-ratio) - .02px));max-width:100%;aspect-ratio:var(--media-ratio);flex:0 0 auto;border-radius:16px;overflow:hidden;background:#171717;isolation:isolate}.studio-ui .flow-tile.job-tile{background:radial-gradient(ellipse at top,#20242d,#101113 70%)}.studio-ui .flow-tile.job-tile:is(.failed,.review){min-height:184px;gap:6px;padding:12px 10px 31px}.studio-ui .flow-tile.job-tile.failed{background:#171214}.studio-ui .job-tile .job-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:4px}.studio-ui .job-actions .retry{min-height:36px}.studio-ui .job-actions .retry:hover{background:#41313a}.studio-ui .job-tile:is(.queued,.processing){background:#202020;box-shadow:inset 0 0 0 1px #ffffff0c}.studio-ui .job-tile:is(.queued,.processing):before{content:"";position:absolute;inset:-25%;background:radial-gradient(ellipse at 55% 28%,#777 0,#474747 29%,transparent 65%),radial-gradient(ellipse at 18% 64%,#4b4b4b,#191919 70%);animation:generation-drift 5s ease-in-out infinite alternate}@keyframes generation-drift{0%{transform:translate(-6%,3%)}to{transform:translate(7%,-4%)}}@media (prefers-reduced-motion:reduce){.studio-ui .job-tile:is(.queued,.processing):before{animation:none}}.studio-ui .generation-readout{position:absolute;top:12px;left:12px;right:12px;display:flex;align-items:center;justify-content:space-between;height:24px;color:rgba(218,220,224,.5);font-size:16px;line-height:24px;font-weight:400;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.studio-ui .generation-readout svg{width:20px;height:20px}.studio-ui .generation-delay{position:absolute;inset:44px 12px auto;margin:0;color:#eee;font-size:13px;line-height:1.3}.studio-ui .generation-readout .generation-play{box-sizing:border-box;padding:5px;border-radius:50%;background:rgba(218,220,224,.5);color:#383838;fill:currentColor}.studio-ui .generation-caption{position:absolute;inset:auto 0 0;display:flex;align-items:center;gap:8px;justify-content:space-between;padding:20px 12px 8px;background:linear-gradient(transparent,#111d);text-align:left}.studio-ui .generation-caption span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio-ui .generation-caption button{flex:none;width:36px;height:36px;border-radius:50%}@media (min-width:840px) and (hover:hover){.studio-ui .job-tile:not(:hover):not(:focus-within) .generation-caption{opacity:0;pointer-events:none}}.studio-ui .flow-tile.marked{outline:2px solid #eee;outline-offset:-2px}.studio-ui .tile-open{display:block;position:relative;padding:0;width:100%;height:100%;overflow:hidden;border-radius:inherit;background:none}.studio-ui .tile-open:focus-visible{outline-offset:-3px}.studio-ui .tile-open img,.studio-ui .tile-open video{display:block;width:100%;height:100%;object-fit:contain}.studio-ui .tile-kind{position:absolute;top:10px;left:10px;display:grid;place-items:center;width:18px;height:18px;color:#242528;background:#ffffffe0;border-radius:50%;pointer-events:none}.studio-ui .tile-kind svg{width:11px;height:11px;fill:currentColor}.studio-ui .tile-scene-mark{position:absolute;top:10px;right:10px;width:18px;height:18px;color:white;pointer-events:none}.studio-ui .tile-caption{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;gap:6px;padding:20px 10px 10px;background:linear-gradient(transparent,#000b);font-size:12px;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:0;pointer-events:none}.studio-ui button.tile-info{border-radius:0;justify-content:flex-start;color:white}.studio-ui .tile-caption svg,.studio-ui .tile-menu svg{width:16px;height:16px;flex:none}.studio-ui .tile-description{min-width:0;display:grid;gap:2px}.studio-ui .tile-description>*{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-ui .tile-description small{color:#dedfe2;font-size:11px;white-space:normal}.studio-ui .tile-description small span{white-space:nowrap}.studio-ui .flow-feedback>span{overflow-wrap:anywhere}.studio-ui .tile-menu{opacity:0;pointer-events:none;position:absolute;right:8px;top:8px;display:grid;place-items:center;width:34px;height:34px;padding:0;border-radius:12px;color:white;background:#171717d9}.studio-ui .flow-tile.show-details .tile-caption,.studio-ui .flow-tile:focus-within :is(.tile-menu,.tile-caption){opacity:1;pointer-events:auto}.studio-ui .tile-preview-progress{display:none;position:absolute;left:12px;right:12px;bottom:12px;height:2px;background:#ffffff38;pointer-events:none}.studio-ui .tile-preview-progress>span{display:block;height:100%;background:white;transform:scaleX(0);transform-origin:left}@media (min-width:840px) and (any-hover:hover){.studio-ui .flow-tile:is(:hover,:focus-within) :is(.tile-menu,.tile-caption){opacity:1;pointer-events:auto}.studio-ui .flow-tile:is(:hover,:focus-within):has(.tile-info) :is(.tile-kind,.tile-scene-mark){opacity:0}.studio-ui .flow-tile:hover .tile-preview-progress{display:block}.studio-ui .flow-tile:has(.tile-preview-progress):hover .tile-info{padding-bottom:20px}}@media (hover:none),(max-width:839px){.studio-ui .flow-tile .tile-info{opacity:1;pointer-events:auto;padding:18px 12px 12px;min-height:40px}.studio-ui .flow-tile .tile-kind{width:32px;height:32px;left:8px;top:8px;background:#ffffffe0}.studio-ui .flow-tile .tile-kind svg{width:14px;height:14px}.studio-ui .flow-tile:has(.tile-info) .tile-menu{display:none}.studio-ui .flow-tile:has(.tile-open:focus-visible,.tile-info:focus-visible,.tile-menu:focus-visible) .tile-menu{display:grid;opacity:1;pointer-events:auto}}@media (pointer:coarse){.studio-ui button:enabled:active{filter:brightness(.85)}}.studio-ui #sidebar nav>div{position:relative}.studio-ui #sidebar nav .nav-plus{position:absolute;right:2px;top:50%;transform:translateY(-50%);width:34px;height:34px;min-height:0;display:grid;place-items:center;padding:0}.studio-ui #sidebar nav .nav-plus svg{width:17px;height:17px}.studio-ui #sidebar nav .collection-nav{height:36px;padding-left:30px;font-size:13px}.studio-ui.collapsed #sidebar .nav-plus{display:none}.studio-ui .floating-dismiss{position:fixed;inset:0;z-index:30;background:transparent;width:100%;height:100%;cursor:default;border-radius:0}.studio-ui .flow-menu{position:fixed;z-index:31;background:#1b1b1d;border:1px solid #343438;border-radius:16px;padding:6px;box-shadow:0 12px 32px #000a;color:#e3e3e3;width:218px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.studio-ui .flow-menu.wide{width:318px;padding:14px}.studio-ui .flow-menu h2{font-size:14px;display:flex;align-items:center;gap:10px;margin:0 0 12px}.studio-ui .flow-menu>a,.studio-ui .flow-menu>button{display:flex;width:100%;align-items:center;gap:12px;min-height:38px;border-radius:10px;padding:9px 10px;text-align:left;font-size:13px;text-decoration:none;color:inherit}.studio-ui .flow-menu>hr{border:0;border-top:1px solid #39393a;margin:4px}.studio-ui .flow-menu button:hover,.studio-ui .flow-menu>a:hover{background:#37373a}.studio-ui .flow-menu a svg,.studio-ui .flow-menu button svg{width:18px;height:18px}.studio-ui .flow-menu fieldset{border:0;border-top:1px solid #343436;padding:9px 3px 10px;margin:4px 0}.studio-ui .flow-menu legend{font-size:12px;color:#bbb;padding:0 5px 0 0}.studio-ui .check-list{display:flex;gap:4px;flex-wrap:wrap}.studio-ui .check-list button,.studio-ui .check-list label,.studio-ui .flow-menu .choice{display:inline-flex;align-items:center;gap:5px;border-radius:8px;padding:6px 8px;background:#28282b;font-size:12px;cursor:pointer}.studio-ui .check-list input{width:12px;height:12px;accent-color:#dedee2}.studio-ui .check-list .chosen{background:#49494d}.studio-ui .filter-footer,.studio-ui .switch-row{display:flex;align-items:center;justify-content:space-between;padding:8px;font-size:12px}.studio-ui .filter-footer button{padding:6px 10px;border-radius:8px}.studio-ui .switch-row input{accent-color:#c2c4cd}.studio-ui .trash-workspace{min-height:100dvh;background:#000;color:#e3e3e3;--trash-left:248px;--trash-top:116px}.studio-ui .trash-head{height:76px;justify-content:space-between;padding:0 32px 0 20px;gap:12px;position:relative}.studio-ui .trash-bar,.studio-ui .trash-bar button,.studio-ui .trash-bar>div,.studio-ui .trash-head,.studio-ui .trash-identity,.studio-ui .trash-search,.studio-ui .trash-search label,.studio-ui .trash-user{display:flex;align-items:center}.studio-ui .trash-identity,.studio-ui .trash-user{gap:8px}.studio-ui .tool-head h1,.studio-ui .trash-identity h1{font-size:16px;line-height:24px;font-weight:500;margin:0}.studio-ui .tool-head>button,.studio-ui .trash-identity button,.studio-ui .trash-user>button:not(.avatar){width:40px;height:40px;padding:0;display:grid;place-items:center;border-radius:12px}.studio-ui .trash-search{position:absolute;left:50%;top:18px;transform:translateX(-50%);width:min(480px,42vw);gap:8px}.studio-ui .trash-search label,.studio-ui .trash-search>button{height:40px;border-radius:16px;background:#171717}.studio-ui .trash-search label{flex:1 1;gap:9px;padding:0 12px;min-width:0}.studio-ui .trash-search input{width:100%;min-width:0;border:none;background:transparent;outline:0;color:white;font-size:16px}.studio-ui .trash-search svg{width:19px;height:19px;flex:none}.studio-ui .trash-search>button{width:42px;display:grid;place-items:center}.studio-ui .trash-search>button[aria-pressed=true]{background:#37373a}.studio-ui .trash-user .avatar{display:grid;place-items:center}.studio-ui .trash-bar{height:40px;justify-content:center}.studio-ui .trash-bar>div{gap:4px;padding:2px 6px 2px 16px;border-radius:16px;background:#212122;color:#d4d5d7;font-size:12px;max-width:calc(100vw - 16px)}.studio-ui .trash-bar span{padding-right:8px}.studio-ui .trash-bar button{height:34px;padding:0 12px;gap:6px;white-space:nowrap;font-size:12px;border-radius:12px}.studio-ui .trash-bar svg{width:16px;height:16px}.studio-ui .trash-bar button:not(:disabled):hover,.studio-ui .trash-identity button:hover,.studio-ui .trash-side button:hover,.studio-ui .trash-user button:hover{background:#2a2a2b}.studio-ui .trash-side{position:fixed;left:16px;top:var(--trash-top);bottom:24px;width:215px;display:flex;flex-direction:column;justify-content:space-between}.studio-ui .trash-side button{min-height:48px;width:100%;display:flex;align-items:center;text-align:left;gap:14px;border-radius:16px;padding:0 16px;color:#d6d7db}.studio-ui .trash-side button[aria-pressed=true]{background:#242424;color:#fff}.studio-ui .trash-grid{display:flex;align-items:flex-start;flex-wrap:wrap;gap:16px;padding:16px 24px 48px var(--trash-left)}.studio-ui .nav-folded{--trash-left:84px}.studio-ui .nav-folded .trash-side{width:52px}.studio-ui .nav-folded .trash-side span{display:none}.studio-ui .trash-empty{min-height:calc(100dvh - var(--trash-top));display:grid;place-items:center;font-size:24px;font-weight:450;color:#e3e3e3;text-align:center}.studio-ui .flow-feedback{position:fixed;z-index:25;bottom:30px;left:50%;transform:translateX(-50%);align-items:center;gap:18px;max-width:calc(100vw - 24px);padding:10px 14px;border-radius:12px;box-shadow:0 4px 18px #0008;background:#202124;color:#eee;font-size:13px}.studio-ui .flow-feedback>div,.studio-ui .flow-feedback>span{display:flex;align-items:center;gap:8px}.studio-ui .flow-feedback svg{width:18px;height:18px;color:#b0abff}.studio-ui .flow-feedback button{white-space:nowrap;padding:6px 8px;color:#bab5ff;font-size:12px}.studio-ui dialog.flow-delete{width:min(360px,calc(100% - 32px));height:auto;margin:auto;background:#202124;border:1px solid #353638;border-radius:20px;padding:24px;color:#eee}.studio-ui .flow-delete p{font-size:17px;margin:14px 0 20px}.studio-ui .flow-delete>div{display:flex;justify-content:flex-end;gap:8px}.studio-ui .flow-delete button{background:#343539;border-radius:12px;padding:9px 16px}.studio-ui .flow-delete button:last-child{background:#ececf0;color:#161617}@media (max-width:839px){.studio-ui .trash-workspace{--trash-top:156px;--trash-left:16px}.studio-ui .trash-head{height:116px;align-items:flex-start;padding:10px 16px 0}.studio-ui .trash-search{top:68px;left:16px;right:16px;width:auto;transform:none}.studio-ui .trash-side,.studio-ui .trash-user>button:not(.avatar){display:none}.studio-ui .trash-grid{padding:8px 24px 48px 16px}.studio-ui .trash-bar>div{font-size:10px;gap:0;padding-left:12px}.studio-ui .trash-bar span{padding-right:3px}.studio-ui .trash-bar button{font-size:10px;padding:0 9px}.studio-ui .trash-bar svg{width:14px;height:14px}.studio-ui .tile-menu{opacity:1;pointer-events:auto}.studio-ui .flow-feedback{top:108px;bottom:auto;max-width:calc(100vw - 16px);width:358px;flex-wrap:wrap;gap:5px}.studio-ui .flow-feedback>div{margin-left:auto}.studio-ui .footnote{pointer-events:none}}@media (hover:none){.studio-ui .tile-menu{opacity:1;pointer-events:auto}}.studio-ui .flow-feedback{left:auto;right:8px;top:81px;bottom:auto;transform:none;display:flex;align-items:stretch;flex-direction:column;width:355px;border-radius:8px;padding:10px 12px 7px 16px;gap:2px}.studio-ui .flow-feedback>span{min-height:32px;gap:14px}.studio-ui .flow-feedback>div{align-self:flex-end}.studio-ui .import-issues{max-height:min(30dvh,200px);overflow:auto;overflow-wrap:anywhere}.studio-ui .import-issues summary{cursor:pointer}.studio-ui .import-issues ul{padding-inline-start:18px}.studio-ui .import-prompts{margin:0;padding:0;list-style:none;max-height:22dvh;overflow:auto}.studio-ui .import-prompts button{text-align:left;overflow-wrap:anywhere}.studio-ui .flow-feedback button{min-height:34px}.studio-ui .trashed-viewer{min-height:100dvh;background:#000;color:#e3e3e3}.studio-ui .trashed-titlebar{height:76px;display:flex;align-items:center;gap:8px;padding:0 20px}.studio-ui .trashed-titlebar>button{width:40px;height:40px;flex:none;display:grid;place-items:center;border-radius:12px}.studio-ui .trashed-titlebar h1{font-size:16px;font-weight:500;margin:0;line-height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio-ui .trash-badge{font-size:10px;letter-spacing:.04em;text-transform:uppercase;border:1px solid #444;border-radius:5px;padding:3px 5px}.studio-ui .trashed-controls{margin-left:auto;display:flex;align-items:center;gap:8px;flex:none}.studio-ui .trashed-controls button{height:34px;min-width:34px;border-radius:12px;display:grid;place-content:center;background:#1d1d1f}.studio-ui .trashed-controls svg,.studio-ui .viewer-actions svg{width:18px;height:18px}.studio-ui .trashed-controls .viewer-done{background:#f1f1f1;color:#161616;padding:0 17px;font-weight:550}.studio-ui .trashed-controls .small-action,.studio-ui .viewer-done svg{display:none}.studio-ui .trashed-stage{height:calc(100dvh - 110px);display:grid;place-items:center;padding:8px 16px}.studio-ui .trashed-stage :is(video,img){width:100%;height:100%;min-height:0;object-fit:contain}.studio-ui .viewer-actions{position:absolute;right:16px;top:62px;z-index:6;display:grid;background:#202022;padding:5px;border-radius:14px}.studio-ui .viewer-actions button{padding:9px 12px;display:flex;align-items:center;gap:10px;border-radius:10px}@media (max-width:839px){.studio-ui .flow-feedback{top:108px;right:auto;left:8px}.studio-ui .trashed-controls .wide-action,.studio-ui .viewer-done span{display:none}.studio-ui .trashed-controls .small-action,.studio-ui .viewer-done svg{display:grid}.studio-ui .trashed-controls .viewer-done{padding:0}.studio-ui .trashed-titlebar h1{min-width:0}.studio-ui .trash-badge{flex:none}}.studio-ui .trash-thumbs{position:absolute;left:50%;transform:translateX(-50%);display:flex;gap:3px}.studio-ui .trash-thumbs button{width:34px;height:34px;overflow:hidden;padding:0;border-radius:10px;background:#171717}.studio-ui .trash-thumbs :is(img,video){height:100%;width:100%;object-fit:cover}.studio-ui .trashed-cut .cut-layout{grid-template-rows:76px minmax(0,1fr) 150px 24px}.studio-ui .trashed-cut :is(.cut-history,.frame-action,.clip-tools,.clip-add,.reply-area){display:none}.studio-ui .trashed-cut .cut-middle{grid-template-columns:minmax(0,1fr)}.studio-ui .trashed-cut .cut-message{pointer-events:none}@media (max-width:839px){.studio-ui .trash-thumbs{display:none}.studio-ui .trashed-cut .cut-layout{grid-template-rows:76px minmax(0,1fr) 116px 18px}}@media (max-height:500px){.studio-ui .trashed-cut .cut-layout{grid-template-rows:52px minmax(0,1fr) 68px 12px}.studio-ui .trashed-cut .trashed-titlebar{height:52px}}.studio-ui .character-page{min-height:100dvh;background:#000;color:#e3e3e3}.studio-ui .character-head{height:76px;padding:0 24px;display:flex;align-items:center;gap:10px}.studio-ui .character-actions button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border-radius:16px;padding:0 14px;background:#232325}.studio-ui .character-actions svg{width:17px}.studio-ui .character-page main{position:static;margin:0;padding:22px 28px 84px;height:auto;max-width:none;overflow:visible}.studio-ui .character-head>button{min-width:34px;min-height:34px;border-radius:12px;display:grid;place-items:center}.studio-ui .character-head h1{margin:0;font-weight:500;font-size:17px}.studio-ui .character-head>button:last-of-type{margin-left:auto;background:#ededed;color:#161616;padding:0 14px}.studio-ui .character-page main{max-width:720px;margin:4vh auto}.studio-ui .character-page h2{font-size:clamp(24px,4vw,40px);font-weight:500}.studio-ui .character-actions,.studio-ui .character-examples{display:flex;flex-wrap:wrap;gap:8px}.studio-ui .character-examples button{background:#222224;padding:12px;border-radius:12px}.studio-ui .character-page label{display:grid;gap:8px;color:#b3b3b5;margin:22px 0 10px}.studio-ui .character-page textarea{padding:12px;min-height:96px;border:1px solid #3a3a3c;border-radius:16px;background:#181818;color:#eee;resize:vertical}.studio-ui #empty.gallery-empty{display:flex;flex-direction:column;align-items:center;gap:12px;padding-top:clamp(32px,18vh,180px);color:#cccdd0}.studio-ui .gallery-empty svg{width:28px;height:28px;color:#929498}.studio-ui .gallery-empty strong{font-size:16px;font-weight:500}.studio-ui .gallery-empty button{border-radius:20px;padding:9px 16px;background:#292a2c;color:#f3f3f4}.studio-ui .gallery-empty button:hover{background:#37383b}.studio-ui .tile-menu.tile-favorite{right:48px}@media (min-width:840px) and (any-hover:hover){.studio-ui .flow-tile:has(.tile-favorite):is(:hover,:focus-within) .tile-menu{width:33px;height:36px;color:#202124;background:#dadce0af;border-radius:0 12px 12px 0}.studio-ui .flow-tile:has(.tile-favorite):is(:hover,:focus-within) .tile-favorite{right:41px;border-radius:12px 0 0 12px}.studio-ui .flow-tile:has(.tile-favorite):is(:hover,:focus-within) .tile-menu:hover{background:#eeeeefe0}}.studio-ui .tile-favorite[aria-pressed=true]{opacity:1;pointer-events:auto}@media (hover:none),(max-width:839px){.studio-ui .trash-grid:not(:has(.marked)) .tile-menu{opacity:0;pointer-events:none}.studio-ui .trash-grid .flow-tile:has(:focus-visible) .tile-menu{opacity:1;pointer-events:auto}}.studio-ui .flow-menu[data-menu="Asset details"]{overflow-wrap:anywhere}.studio-ui .flow-menu[data-menu="Asset details"] :is(h2,p){margin:8px}.studio-ui .flow-menu[data-menu="Asset details"] p{color:#c5c6c8;font-size:13px}@media (max-width:839px){.studio-ui .flow-menu[data-menu="Media actions"]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;inset:auto auto max(12px,min(16dvh,136px)) 50%!important;transform:translateX(-50%);width:min(424px,calc(100vw - 16px));max-height:70dvh;padding:8px}.studio-ui .flow-menu[data-menu="Media actions"]>:is(button,a){flex-direction:column;justify-content:start;text-align:center;min-width:0;gap:6px;padding:9px 2px;font-size:12px;overflow-wrap:anywhere}.studio-ui .flow-menu[data-menu="Media actions"]>hr{display:none}}@media (min-width:840px){.studio-ui .trash-search{left:calc(50% - 6px)}}.studio-ui .edit-menu label input[type=range]{width:100%;accent-color:#eee}.studio-ui .reply-actions .cut-pill svg{width:14px}.studio-ui .extension-progress{min-width:110px;align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:#252525;border:1px dashed #555;border-radius:8px;color:#e3e3e3;font-size:12px}.studio-ui .pending-history span{float:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.studio-ui #sidebar .nav-bottom,.studio-ui #sidebar nav{min-width:0}.studio-ui #sidebar nav{min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;overscroll-behavior:contain}.studio-ui #sidebar .nav-bottom{flex:0 0 auto}.studio-ui #sidebar button>span{overflow:hidden;text-overflow:ellipsis}.studio-ui #sidebar .nav-row{position:relative}.studio-ui.mobile-nav #sidebar .nav-row:has(.nav-plus) [data-view],.studio-ui:not(.collapsed) #sidebar .nav-row:has(.nav-plus) [data-view]{padding-right:40px}.studio-ui #sidebar .nav-bottom>button:last-child{margin-bottom:0}@media (min-width:840px) and (max-width:959px){.studio-ui>header{height:76px;align-items:center;padding:0 20px;gap:8px}.studio-ui>header .project{flex:0 1 auto;max-width:max(40px,calc(100vw - 890px));padding:8px 0}.studio-ui>header .project-more{margin-left:0}.studio-ui>header .searchbar{left:auto;right:332px;top:18px;width:min(430px,calc(100% - 496px));padding-right:3px}.studio-ui>header .searchbar input{height:26px}.studio-ui>header .filter{left:auto;right:282px;top:18px}.studio-ui>header .top-actions{margin-left:auto}.studio-ui>header .top-actions .desktop{display:grid}.studio-ui>#sidebar{display:flex}.studio-ui:has(>#sidebar)>main{margin-left:248px;padding-top:0}}@media (min-width:840px){.studio-ui>#sidebar{left:0;width:231px;padding-left:16px;z-index:4;transition:none}.studio-ui.collapsed>#sidebar{width:63px}.studio-ui.collapsed>#sidebar button{justify-content:center;padding:0}.studio-ui.collapsed>#sidebar :is(button>span,.nav-plus,.collection-nav){display:none}.studio-ui.collapsed:has(>#sidebar)>main{margin-left:80px}}@media (min-width:840px) and (max-width:1155px){.studio-ui:not(.collapsed):has(>#sidebar)>.composer-wrap{--remaining-width:min(660px,calc(100% - 264px));width:var(--remaining-width);left:max(50%,calc(248px + var(--remaining-width) / 2))}}@media (max-width:839px){.studio-ui.mobile-nav>#sidebar{position:fixed;inset:60px auto max(12px,env(safe-area-inset-bottom)) 8px;z-index:36;display:flex;width:min(231px,calc(100vw - 16px));max-height:calc(100dvh - 72px);padding:8px;background:#171717;border:1px solid #353536;border-radius:16px}.studio-ui.mobile-nav>.nav-scrim{position:fixed;inset:0;z-index:35;background:rgb(0 0 0/40%)}.studio-ui.mobile-nav #sidebar .nav-plus,.studio-ui.mobile-nav #sidebar .scenes{display:flex}.studio-ui.mobile-nav #sidebar .nav-bottom{margin-top:auto}}@media (prefers-reduced-motion:reduce){.studio-ui #sidebar,.studio-ui:has(>#sidebar)>main{transition:none}}.studio-ui .project-home{min-height:100dvh;background:#000;color:#e3e3e3}.studio-ui .project-home .home-head{position:static;display:flex;align-items:center;height:80px;padding:0 24px;justify-content:space-between}.studio-ui .project-home .home-head h1{margin:0;font:600 16px/24px Arial,sans-serif}.studio-ui .project-home .project-head-actions{display:flex;align-items:center;gap:8px}.studio-ui .project-home .home-help{width:40px;height:40px}.studio-ui .project-home main{position:static;margin:0 auto;padding:0 24px 32px;height:auto;max-width:1992px;overflow:visible}.studio-ui .project-home .project-toolbar{display:flex;justify-content:flex-end;padding-bottom:12px}.studio-ui .project-toolbar .pick-select{width:132px}.studio-ui .project-toolbar .pick-select button[role=combobox]{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-height:44px;padding:0 12px;border-radius:8px;color:#dadce0;background:transparent;font:500 14px/20px Arial,sans-serif}.studio-ui .project-toolbar .pick-select button:hover{background:#202020}.studio-ui .project-toolbar .pick-options{z-index:8;min-width:156px}.studio-ui .project-home .project-cards{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:16px;margin:0}.studio-ui .project-home .project-cards article{position:relative;flex-grow:0;flex-shrink:0;flex-basis:calc((100% - 32px) / 3);min-width:0;max-width:640px}.studio-ui .project-home .project-open{display:block;width:100%;padding:0;border-radius:16px;background:transparent;text-align:left}.studio-ui .project-home .project-card-actions{position:absolute;bottom:0;right:0;display:flex}.studio-ui .project-home .project-art{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:16/9;padding:0;border-radius:16px;overflow:hidden;background:#202122}.studio-ui .project-home .project-art img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}.studio-ui .project-empty{display:grid;place-items:center;gap:8px;color:#aeb0b4;font-size:13px}.studio-ui .project-empty svg{width:24px;height:24px;stroke-width:1.5}.studio-ui .project-home .project-caption{display:flex;align-items:center;min-width:0;min-height:44px;margin:0;padding:0 94px 0 8px}.studio-ui .project-home .project-caption strong{flex:1 1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:500 14px/20px Arial,sans-serif}.studio-ui .project-home .project-card-actions button{display:grid;place-items:center;min-width:44px;min-height:44px;border-radius:50%}.studio-ui .project-card-actions button svg{width:16px;height:16px}.studio-ui .project-card-actions button:hover{background:#292929}@media (hover:hover) and (pointer:fine){.studio-ui .project-cards article:not(:hover):not(:focus-within) .project-card-actions button{opacity:0}}.studio-ui .project-home .project-create{display:inline-flex;align-items:center;min-height:44px;padding:0;border-radius:24px;background:transparent;color:#fff;font:500 14px/20px Arial,sans-serif;white-space:nowrap}.studio-ui .project-create-face{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:0 14px;border-radius:24px;background:#292a2c}.studio-ui .project-create:hover .project-create-face{background:#393a3c}.studio-ui .project-create svg{width:18px;height:18px}@media (max-width:839px){.studio-ui .project-home .home-head{padding:0 16px}.studio-ui .project-home .home-help{display:none}.studio-ui .project-home .project-head-actions{gap:4px}.studio-ui .project-home main{padding-inline:16px}.studio-ui .project-home .project-cards article{flex-basis:100%}}.studio-ui .tool-head{position:sticky;top:0;z-index:5;background:#000;display:flex;align-items:center;gap:8px;min-height:76px;padding:8px 24px}.studio-ui .tool-head [role=tablist]{position:absolute;left:50%;transform:translateX(-50%);display:flex;padding:4px;border-radius:14px;background:#131313}.studio-ui .tool-head [role=tab]{min-height:40px;padding:6px 22px;border-radius:10px;color:#bfbfbf;font-weight:550}.studio-ui .tool-head [role=tab][aria-selected=true]{background:#383838;color:white}.studio-ui .tool-head>.tools-nav-toggle{display:none}.studio-ui main.tools-body{padding:0 0 48px;margin-right:28px}.studio-ui .tools-body h2{margin:0;font-weight:500;letter-spacing:-.035em}.studio-ui .tools-feature{display:flex;align-items:flex-end;min-height:clamp(255px,29vw,465px);padding:clamp(22px,3.2vw,56px);border-radius:18px;background:linear-gradient(90deg,#080c10ed,#0b10188a 56%,#10161d0d),linear-gradient(0deg,#0009,transparent 65%),url(/assets/alpine.jpg) center 48% /cover}.studio-ui .tools-feature h2{font-size:clamp(32px,4vw,60px);line-height:1.04}.studio-ui .tools-empty p,.studio-ui .tools-feature p{max-width:38ch;margin:12px 0 20px;font-size:15px;line-height:1.5;color:#e0e0e0}.studio-ui .tool-pill{display:inline-flex;gap:12px;align-items:center;min-height:44px;padding:8px 17px;border-radius:24px;background:#f2f2f2;color:#171717;font-weight:600}.studio-ui .template-text svg,.studio-ui .tool-open,.studio-ui .tool-pill svg{width:17px;height:17px}.studio-ui .tools-body .tools-subhead{margin:20px 0;font-size:24px}.studio-ui .tools-feature+.tools-subhead{margin-top:clamp(28px,3vw,52px)}.studio-ui .template-shelf,.studio-ui .tool-shelf{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,178px),1fr));gap:16px}.studio-ui .tool-shelf button{min-width:0;scroll-margin-top:85px;min-height:155px;aspect-ratio:1;padding:18px;border-radius:24px;background:#191919}.studio-ui .create-tool{display:grid;place-content:center;justify-items:center;gap:14px;color:#dedede}.studio-ui .create-tool svg{width:44px;height:44px;stroke-width:1.25}.studio-ui .saved-tool{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:5px;overflow:hidden;text-align:left}.studio-ui .saved-tool>svg:first-child{margin-bottom:auto;color:#c0cce4}.studio-ui .saved-tool span,.studio-ui .saved-tool strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;line-height:1.35}.studio-ui .saved-tool strong,.studio-ui .template-text strong{font-size:16px;font-weight:600}.studio-ui .saved-tool span,.studio-ui .template-text>span{color:#bcbcbc;font-size:13px}.studio-ui .saved-tool .tool-open{position:absolute;top:18px;right:18px;color:#aaa}.studio-ui .template-shelf{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}.studio-ui .template-card{padding:0;min-width:0;overflow:hidden;border-radius:16px;background:#171717;text-align:left}.studio-ui .shot-study{display:grid;place-items:center;aspect-ratio:1.95;background:linear-gradient(135deg,#0002,#0005),url(/assets/alpine.jpg) 50% /cover}.studio-ui .shot-study.dolly{background-size:cover,180%;background-position:50%,70% 35%}.studio-ui .shot-study.tracking{background-size:cover,155%;background-position:50%,8% 67%}.studio-ui .shot-study svg{width:42%;height:53%;stroke-width:.8;color:#fff;filter:drop-shadow(0 1px 3px #000)}.studio-ui .template-text{display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px 8px;padding:16px}.studio-ui .template-text>span{grid-column:1/-1;line-height:1.5}.studio-ui .tools-empty{min-height:min(420px,60dvh);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 18px;text-align:center;border-radius:18px;background:#131313}.studio-ui .tools-empty>svg{height:32px;width:32px;margin-bottom:16px;color:#bdbdbd}.studio-ui .tools-empty p{color:#bcbcbc}@media (hover:hover){.studio-ui .template-card:hover,.studio-ui .tool-shelf button:hover{background-color:#252525}.studio-ui .tool-pill:hover{background:#d7d7d7}}@media (max-width:839px){.studio-ui .tool-head{flex-wrap:wrap;gap:4px;padding:8px 16px 12px}.studio-ui .tool-head>.tools-nav-toggle{display:grid;margin-left:auto}.studio-ui .tool-head>.header-panel-anchor{margin-left:3px}.studio-ui .tool-head [role=tablist]{position:static;transform:none;order:1;width:100%;margin-top:6px}.studio-ui .tool-head [role=tab]{flex:1 1;min-height:44px;padding-inline:4px}.studio-ui main.tools-body{margin:0 16px;min-height:calc(100dvh - 122px)}.studio-ui .tools-feature{min-height:225px}.studio-ui .tool-shelf{grid-template-columns:repeat(auto-fill,minmax(min(100%,136px),1fr));gap:10px}.studio-ui .tool-shelf button{border-radius:18px;min-height:136px;padding:14px;scroll-margin-top:125px}}@media (max-width:374px){.studio-ui .tool-shelf{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:839px){.studio-ui .generation-workspace .reference-bar{gap:4px}.studio-ui .generation-workspace .swap-frames{width:34px;height:34px;border-radius:12px}.studio-ui .generation-workspace #formatTrigger,.studio-ui .generation-workspace .frame-slot{font:500 11px/16px Roboto,Arial,sans-serif}.studio-ui .generation-workspace #formatTrigger{height:32px;border-radius:15px}.studio-ui .generation-workspace #generate{width:32px;height:32px;border-radius:50%;padding:6px}.studio-ui .generation-workspace .composer-controls{gap:4px}.studio-ui .generation-workspace .composer{border-radius:23px}.studio-ui:not(.phone-app) .generation-workspace.with-frames .composer{padding:3px 8px 12px 10px}.studio-ui:not(.phone-app) .generation-workspace.with-frames #prompt{min-height:48px}.studio-ui .generation-workspace .format-choices:nth-child(-n+2) button[aria-checked=true]{background:#f1f3f4;color:#171819}.studio-ui .format-choices[aria-label="Aspect ratio"]{min-height:42px}.studio-ui .format-choices[aria-label="Aspect ratio"] button{flex-direction:column;gap:1px}.studio-ui .ref-picker{padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom))}}.studio-ui .end-frame-info{margin:0 0 8px;padding:8px 12px;font-size:13px;line-height:18px;color:#dae0e5}@media (min-width:692px) and (max-width:839px){.studio-ui:not(.phone-app) .generation-workspace.with-frames{bottom:calc(26px + env(safe-area-inset-bottom, 0px) + var(--keyboard-gap, 0px))}.studio-ui:not(.phone-app) .generation-workspace.with-frames .composer{padding-inline-start:8px}}.studio-ui.phone-app{padding:env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left);font-family:Roboto,-apple-system,BlinkMacSystemFont,Arial,sans-serif}.phone-app .generation-workspace[hidden]{display:none}.studio-ui.phone-app .phone-home>header,.studio-ui.phone-app>header{height:80px;padding:8px 16px;gap:8px;align-items:center}.phone-home header h1{margin:0 auto 0 0;font-family:inherit;font-size:28px;line-height:34px;font-weight:500}.studio-ui.phone-app .phone-home main,.studio-ui.phone-app>main{margin:0;padding:0 0 calc(100px + env(safe-area-inset-bottom))}.phone-home-title{display:flex;align-items:center;justify-content:space-between;min-height:64px;padding:0 16px}.phone-home-title h2{font-size:23px;line-height:28px}.phone-home-title button{display:flex;align-items:center;justify-content:center;gap:8px;padding:0 18px;min-height:48px;border-radius:16px;background:#19191b}.phone-home-title button svg{width:16px;height:16px}.phone-projects{display:grid;padding:8px 16px;gap:8px}.phone-projects article{display:flex;align-items:center;justify-content:space-between}.phone-projects article>button{display:flex;align-items:center;text-align:start;padding:0;gap:8px;flex:1 1;min-width:0}.phone-cover{display:grid;flex:0 0 110px;height:96px;overflow:hidden;border-radius:12px;place-items:center;background:#101011}.phone-cover img{width:100%;height:100%;object-fit:cover}.phone-cover .project-empty{font-size:0;display:flex}.phone-project-name{display:grid;gap:6px;min-width:0}.phone-project-name strong{font-size:16px;line-height:22px;font-weight:400;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.phone-project-name small,.phone-project-name small span{display:flex;align-items:center;gap:4px}.phone-project-name small{gap:12px;color:#aaa}.phone-project-name svg{width:14px;height:14px}.studio-ui.phone-app>header .project{max-width:none;flex:1 1;font-size:20px}.studio-ui.phone-app>header :is(.project-more,.top-actions>.icon,.profile-trigger,.searchbar,.filter){display:none}.studio-ui.phone-app>header .top-actions{margin-left:auto}.studio-ui.phone-app #workspace-more,.studio-ui.phone-app>header>.icon:first-child{width:48px;height:48px;border-radius:16px;background:#151516}.studio-ui.phone-app.phone-search>header{height:128px;align-items:start;padding-top:12px}.studio-ui.phone-app.phone-search>header .searchbar{display:flex;top:calc(72px + env(safe-area-inset-top))}.studio-ui.phone-app.phone-search>header .filter{display:grid;top:calc(72px + env(safe-area-inset-top))}.studio-ui.phone-app .phone-filters{display:flex;gap:8px;padding:0 16px 16px}.studio-ui.phone-app .phone-filters button{display:inline-flex;width:auto;height:36px;align-items:center;gap:5px;margin:0;padding:0 12px;border-radius:12px;background:#202124;font-size:14px}.studio-ui.phone-app .phone-filters button[aria-pressed=true]{background:#f1f3f4;color:#151618}.phone-filters svg{width:16px;height:16px}.studio-ui.phone-app #gallery:not(.batch-gallery){display:block;column-count:2;column-gap:2px;margin:0}.studio-ui.phone-app #gallery:not(.batch-gallery) .gallery-entry{display:block;page-break-inside:avoid;break-inside:avoid;margin-bottom:2px}.studio-ui.phone-app #gallery:not(.batch-gallery) .flow-tile{display:block;width:100%;border-radius:12px}.studio-ui.phone-app .phone-dock{position:fixed;z-index:10;bottom:calc(8px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:4px;max-width:calc(100% - 16px)}.studio-ui.phone-app .phone-dock button{width:auto;min-width:64px;height:64px;margin:0;justify-content:center;gap:8px;padding:0 18px;border-radius:40px;border:1px solid #ffffff24;background:#222225ed;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.phone-app .phone-compose-dismiss{position:fixed;inset:0;z-index:11;display:flex;align-items:start;padding:calc(16px + env(safe-area-inset-top)) 16px;background:#000b;text-align:start}.phone-app .phone-compose-dismiss svg{box-sizing:content-box;width:20px;height:20px;padding:14px;border-radius:16px;background:#202022}.studio-ui.phone-app .generation-workspace{width:calc(100% - 16px);bottom:calc(8px + var(--keyboard-gap, 0px) + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:6px;max-height:calc(100dvh - 68px - env(safe-area-inset-top) - var(--keyboard-gap, 0px));overflow-y:auto}.studio-ui.phone-app .generation-workspace[hidden]{display:none}.phone-app .phone-mode{align-self:start;display:flex;gap:2px;padding:4px;border:1px solid #ffffff20;background:#151517;border-radius:24px}.phone-mode button{padding:0 12px;display:flex;align-items:center;gap:6px;height:36px;border-radius:20px}.phone-mode svg{width:16px;height:16px}.phone-mode button[aria-pressed=true]{background:#303134}.studio-ui.phone-app .generation-workspace .composer{background:#151517;border-radius:28px}.studio-ui.phone-app .generation-workspace .composer-settings{position:static;order:3;width:100%;max-width:none;max-height:46dvh}.studio-ui.phone-app .generation-workspace .generation-limit-note{position:static;order:2;background:#232323}.studio-ui.phone-app .composer-settings .format-choices{min-height:42px}.studio-ui.phone-app .composer-settings .cost-line{order:-2;text-align:center}.studio-ui.phone-app .composer-settings [aria-label=Mode]{display:none}.studio-ui.phone-app .composer-settings [aria-label="Aspect ratio"] button{flex-direction:row;gap:8px}.studio-ui.phone-app .composer-settings .length-control{order:1}.studio-ui.phone-app .composer-settings hr{display:none}.studio-ui.phone-app .generation-workspace .composer-controls{height:48px}.studio-ui.phone-app .generation-workspace #addIngredient,.studio-ui.phone-app .generation-workspace #generate{width:48px;height:48px}.studio-ui.phone-app .generation-workspace #formatTrigger{height:44px;border-radius:26px}