.create-studio-mode-wrap{width:68px;margin:0;align-self:start}.create-studio-mode-tabs[aria-orientation=vertical]{position:relative;isolation:isolate;display:grid;grid-auto-rows:44px;width:100%;height:auto;gap:2px;padding:4px;border:1px solid hsl(var(--foreground)/.08);border-radius:20px;background:hsl(var(--muted));box-shadow:inset 0 1px 0 hsl(var(--card)/.8),0 4px 12px -10px rgba(0,0,0,.2)}.create-studio-mode-tabs[aria-orientation=vertical]:before{content:"";position:absolute;z-index:-1;top:4px;left:4px;right:4px;height:44px;border:1px solid hsl(var(--foreground)/.06);border-radius:16px;background:hsl(var(--card));box-shadow:0 2px 5px -2px rgba(0,0,0,.14);opacity:0;transition:transform .22s cubic-bezier(.22,1,.36,1),opacity .15s ease}.create-studio-mode-tabs:has(button[data-state=active]):before{opacity:1}.create-studio-mode-tabs:has(button:nth-child(2)[data-state=active]):before{transform:translateY(46px)}.create-studio-mode-tabs:has(button:nth-child(3)[data-state=active]):before{transform:translateY(92px)}.create-studio-mode-tabs[aria-orientation=vertical] button{display:flex;flex-direction:column;width:100%;min-height:0;height:44px;gap:3px;padding:4px;border-radius:16px;background:transparent;color:hsl(var(--muted-foreground));box-shadow:none;font-size:11px;line-height:15px;font-weight:500;transition:color .16s ease}.create-studio-mode-tabs button svg{width:16px;height:16px;stroke-width:1.65;flex-shrink:0}.create-studio-mode-tabs[aria-orientation=vertical] button:hover,.create-studio-mode-tabs[aria-orientation=vertical] button[data-state=active]{color:hsl(var(--foreground))}.create-studio-mode-tabs[aria-orientation=vertical] button[data-state=active] svg{color:hsl(var(--primary));stroke-width:1.9}@media (prefers-reduced-motion:reduce){.create-studio-mode-tabs[aria-orientation=vertical] button,.create-studio-mode-tabs[aria-orientation=vertical]:before{transition:none}}.create-studio-panel[hidden]{display:none}.create-studio-composer{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:72px auto auto auto;column-gap:16px;background:hsl(var(--card));border:1px solid hsl(var(--foreground)/.1);border-radius:18px;padding:16px 16px 0;box-shadow:inset 0 1px 0 hsl(var(--foreground)/.04),0 0 0 3px hsl(var(--background)),0 0 0 4px hsl(var(--foreground)/.055),0 14px 32px -24px rgba(0,0,0,.4)}.create-studio-composer:has(.create-studio-prompt:focus){border-color:hsl(var(--primary)/.4)}.create-studio-prompt-wrap{grid-column:1;grid-row:1;min-width:0;min-height:0}.create-studio-prompt-wrap:has(.create-studio-template-chip){display:flex;flex-direction:column;align-items:stretch;gap:8px}.create-studio-prompt-wrap:has(.create-studio-template-chip) .create-studio-template-chip{align-self:flex-start}.create-studio-prompt-wrap:has(.create-studio-template-chip) .create-studio-prompt,.create-studio-prompt-wrap:has(.create-studio-template-chip) [data-prompt-placeholder],.create-studio-prompt-wrap:has(.create-studio-template-chip) [data-prompt-reference-composer],.create-studio-prompt-wrap:has(.create-studio-template-chip) [data-prompt-reference-composer]>div{width:100%;min-width:0}.create-studio-prompt-wrap:has(.create-studio-template-chip)>.creation-input{width:100%;flex-shrink:0}.create-studio-template-chip{display:inline-flex;align-items:center;gap:8px;max-width:100%;min-height:52px;padding:0 4px 0 0;border-radius:10px;border:1px solid hsl(var(--border));background:hsl(var(--card));color:hsl(var(--foreground))}.create-studio-template-chip-thumb{display:block;width:40px;height:52px;flex:0 0 40px;overflow:hidden;border-radius:8px;border:1px solid hsl(var(--foreground)/.08);background:hsl(var(--muted))}.create-studio-template-chip-thumb img,.create-studio-template-chip-thumb video{width:100%;height:100%;object-fit:cover}.create-studio-template-chip-name{min-width:0;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:550;line-height:16px}.create-studio-template-chip-clear{display:grid;place-items:center;width:auto;height:auto;flex:0 0 auto;margin-right:2px;padding:3px;border-radius:50%;background:hsl(var(--card));color:hsl(var(--muted-foreground))}.create-studio-template-chip-clear:hover{background:hsl(var(--muted));color:hsl(var(--foreground))}.create-studio-prompt{grid-column:1;grid-row:1;width:100%;min-width:0;min-height:72px;height:72px;resize:none;background:transparent;border:none;outline:none;font-size:14px;line-height:24px;max-height:340px;padding:3px 4px}.create-studio-prompt::placeholder{color:hsl(var(--muted-foreground))}.create-studio-toolbar-wrap{grid-column:1;grid-row:2;width:100%;min-width:0;max-width:100%;position:relative;align-self:end}.create-studio-toolbar{display:flex;align-items:center;flex-wrap:nowrap;min-width:0;gap:6px;overflow-x:auto;scrollbar-width:none;padding:0}.create-studio-toolbar::-webkit-scrollbar{display:none}.create-studio-rail-arrow{position:absolute;top:0;bottom:0;width:32px;display:grid;place-items:center;border-radius:9px;background:hsl(var(--muted));z-index:1}.create-studio-rail-next{right:0;box-shadow:-12px 0 12px hsl(var(--card))}.create-studio-rail-previous{left:0;box-shadow:12px 0 12px hsl(var(--card))}.create-studio-toolbar>*{flex-shrink:0}.create-studio-control{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:7px 9px;min-height:36px;height:36px;border-radius:9px;background:hsl(var(--foreground)/.045);font-size:11px;white-space:nowrap;color:hsl(var(--foreground)/.85);border:1px solid transparent}.create-studio-control:hover{background:hsl(var(--foreground)/.08)}.create-studio-control:focus-visible,.create-studio-modal button:focus-visible,.create-studio-mode-tabs button:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:3px}.create-studio-icon-control{width:36px;padding:7px}.create-studio-model-control{font-weight:500}.create-studio-model-control>span{display:flex!important;align-items:center;gap:6px}.create-studio-style-control{padding:4px 8px 4px 4px}.create-studio-style-control img{width:24px;height:24px;border-radius:5px;object-fit:cover}.create-studio-ratio-icon{height:14px;width:11px;border:1px solid;border-radius:2px}.create-studio-batch{display:flex;align-items:center;gap:7px;font-size:11px;background:hsl(var(--foreground)/.045);height:36px;border-radius:9px;padding:0 6px}.create-studio-batch button{padding:4px}.create-studio-modal button:disabled,.create-studio-panel button:disabled{opacity:.4;cursor:not-allowed}.create-studio-bottom{grid-column:2;grid-row:1/4;min-width:0;max-width:200px}.create-studio-bottom:not(:has(.create-studio-references>*)){display:none}.create-studio-references{display:flex;gap:8px;flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;min-width:0}.create-studio-slot{position:relative;width:96px;height:108px;flex-shrink:0}.create-studio-slot>button:first-child{width:100%;height:100%;position:relative;overflow:hidden;border:1px solid hsl(var(--foreground)/.08);border-radius:13px;color:hsl(var(--foreground));background:linear-gradient(160deg,hsl(var(--foreground)/.035),hsl(var(--foreground)/.055)),hsl(var(--card)/.8);-webkit-backdrop-filter:blur(16px) saturate(120%);backdrop-filter:blur(16px) saturate(120%);box-shadow:inset 0 1px 0 hsl(var(--card)/.6);transition:border-color .16s ease,box-shadow .16s ease;display:flex;align-items:center;justify-content:center}.create-studio-slot>button:first-child:hover{border-color:hsl(var(--primary)/.3);box-shadow:inset 0 1px 0 hsl(var(--card)/.6)}.create-studio-slot>button>img{width:100%;height:100%;object-fit:cover}.create-studio-slot>button>span:last-child{position:absolute;bottom:0;left:0;right:0;text-align:left;font-size:11px;font-weight:600;text-transform:uppercase;padding:10px;background:transparent;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.create-studio-slot-plus{position:absolute;top:8px;left:8px;display:grid;place-items:center;width:26px;height:26px;background:hsl(var(--card)/.65);border:1px solid hsl(var(--foreground)/.07);box-shadow:none;border-radius:50%;z-index:1}.create-studio-slot>button>img+span:last-child{background:linear-gradient(transparent,#0009);color:#fff;padding-top:20px;text-align:left;padding-left:8px;font-weight:600}.create-studio-slot-ghost{display:none}.create-studio-slot-remove{position:absolute;right:4px;top:4px;width:20px;height:20px;border-radius:50%;background:hsl(var(--foreground));color:hsl(var(--background));display:grid;place-items:center;z-index:2}.create-studio-reference-thumb{width:96px;height:108px;flex-shrink:0;position:relative;border:1px solid hsl(var(--border));border-radius:10px;overflow:hidden}.create-studio-reference-thumb img{width:100%;height:100%;object-fit:cover}.create-studio-reference-thumb>span{position:absolute;bottom:0;left:0;right:0;background:hsl(var(--card)/.9);font-size:9px;padding:5px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.create-studio-reference-thumb>button{position:absolute;top:4px;right:4px;border-radius:50%;padding:3px;background:hsl(var(--card))}.create-studio-reference-thumb--inactive{opacity:.45}.create-studio-generate{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:9px;background:hsl(var(--primary));color:hsl(var(--primary-foreground));border-radius:10px;width:auto;height:32px;min-height:32px;padding:0 10px;font-size:11px;font-weight:500;box-shadow:none;transition:background .15s,box-shadow .15s;flex-shrink:0}.create-studio-actions{grid-column:1/-1;grid-row:4;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin:14px -4px 0;padding:8px 0;border-top:1px solid hsl(var(--border)/.45)}.create-studio-template-strip{grid-column:1;grid-row:4;display:flex;align-items:center;gap:8px;min-width:0;min-height:72px;padding:2px 0 0}.create-studio-template-rail{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 auto;overflow-x:auto;scrollbar-width:none;padding:8px 6px}.create-studio-template-rail::-webkit-scrollbar{display:none}.create-studio-template-item{position:relative;flex:0 0 40px}.create-studio-template-item,.create-studio-template-thumb{width:40px;min-width:40px;max-width:40px;height:56px;min-height:56px;max-height:56px}.create-studio-template-thumb{appearance:none;display:block;box-sizing:border-box;padding:0;overflow:hidden;border-radius:8px;border:1px solid hsl(var(--foreground)/.08);background:hsl(var(--muted));outline:none;box-shadow:none}.create-studio-template-item:has(.create-studio-template-thumb[aria-pressed=true]){border-radius:8px;box-shadow:0 0 0 2px hsl(var(--primary))}.create-studio-template-clear{top:3px;left:3px;place-items:center;width:14px;height:14px;pointer-events:auto;background:rgba(0,0,0,.5);color:#fff}.create-studio-template-clear,.create-studio-template-like{position:absolute;z-index:1;display:grid;border-radius:999px}.create-studio-template-like{right:2px;bottom:2px;place-items:center;width:20px;height:20px;background:rgba(0,0,0,.45);color:#fff}.create-studio-template-item .create-studio-template-like{opacity:0;pointer-events:none}.create-studio-template-like svg{width:12px;height:12px}.create-studio-template-card .create-studio-template-like,.create-studio-template-item--active .create-studio-template-like,.create-studio-template-item:has(.create-studio-template-thumb[aria-pressed=true]) .create-studio-template-like,.create-studio-template-like[aria-pressed=true]{opacity:1;pointer-events:auto}.create-studio-template-like[aria-pressed=true]{color:#fb7185}@media (min-width:640px){.create-studio-template-item:focus-within .create-studio-template-like,.create-studio-template-item:hover .create-studio-template-like{opacity:1;pointer-events:auto}}.create-studio-template-pick-dialog{max-width:22rem;gap:1.15rem;padding:1.35rem 1.3rem 1.2rem;border-radius:1.25rem}.create-studio-template-pick-sheet{z-index:10001;gap:1rem;padding:.35rem 1.25rem max(1.15rem,env(safe-area-inset-bottom));border-radius:1.25rem 1.25rem 0 0}.create-studio-template-pick-handle{width:36px;height:4px;margin:2px auto 6px;border-radius:999px;background:hsl(var(--foreground)/.16)}.create-studio-template-pick{display:grid;gap:1.05rem}.create-studio-template-pick-hero{display:flex;align-items:center;gap:12px;min-width:0}.create-studio-template-pick-thumb{display:block;width:52px;height:72px;overflow:hidden;border-radius:10px;flex-shrink:0;background:hsl(var(--muted));border:1px solid hsl(var(--foreground)/.08)}.create-studio-template-pick-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.05rem;font-weight:600;line-height:1.3;letter-spacing:-.01em}.create-studio-template-pick-copy{margin-top:.3rem;font-size:13px;line-height:1.4}.create-studio-template-pick-actions{display:grid;gap:8px}.create-studio-template-more{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;flex:0 0 auto;width:58px;height:56px;border-radius:8px;background:hsl(var(--foreground)/.045);color:hsl(var(--foreground)/.8);font-size:9px;font-weight:600;line-height:1.15;text-align:center}.create-studio-template-action{display:flex;align-items:center;justify-content:center;min-height:40px;border-radius:10px;border:1px solid hsl(var(--border));background:hsl(var(--muted)/.6);font-size:13px;font-weight:550}.create-studio-template-action:hover{background:hsl(var(--muted))}.create-studio-template-action--primary{background:hsl(var(--primary));color:hsl(var(--primary-foreground));border-color:transparent}.create-studio-template-action--primary:hover{background:hsl(var(--primary));filter:brightness(.96)}.create-studio-composer--with-templates{grid-template-rows:72px auto auto auto auto}.create-studio-composer--with-templates .create-studio-template-strip{grid-row:4}.create-studio-composer--with-templates .create-studio-actions{grid-row:5}.create-studio-actions>.create-studio-generate{margin-left:0}.create-studio-cost{margin-left:auto;font-size:11px;color:hsl(var(--muted-foreground));white-space:nowrap}.create-studio-generate:disabled{opacity:.5;box-shadow:none}.create-studio-generate:not(:disabled):hover{filter:brightness(.95)}.create-studio-credit{display:flex;align-items:center;gap:4px;font-weight:400;font-size:11px;border-left:1px solid;padding-left:9px}.create-studio-footnote{display:flex;justify-content:flex-end;gap:15px;padding:8px 4px;font-size:11px;color:hsl(var(--muted-foreground))}.create-studio-native-fields{grid-column:1;grid-row:3;padding:8px 0 0;display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.create-studio-error{font-size:12px;color:hsl(var(--destructive));padding:12px 16px;background:hsl(var(--destructive)/.06);border-radius:8px;margin:8px 0}.create-studio-modal{width:calc(100vw - 40px)!important;max-width:1050px!important;height:min(760px,85dvh);padding:0!important;display:flex!important;flex-direction:column;gap:0!important;overflow:hidden;border-radius:18px!important;background:hsl(var(--card))!important}.create-studio-modal-heading{padding:24px 28px 20px;flex-shrink:0;border-bottom:1px solid hsl(var(--border)/.6)}.create-studio-modal-heading h2{font-size:18px;font-weight:600;letter-spacing:-.35px}.create-studio-modal-heading p{font-size:12px;margin-top:6px;color:hsl(var(--muted-foreground))}.create-studio-browser{display:flex;min-height:0;flex:1;overflow:hidden}.create-studio-sidebar{width:170px;flex-shrink:0;padding:18px 12px;border-right:1px solid hsl(var(--border)/.65);overflow-y:auto}.create-studio-sidebar h3{display:flex;gap:7px;align-items:center;font-size:11px;color:hsl(var(--muted-foreground));padding:9px 12px;margin-bottom:5px}.create-studio-sidebar>div+div{margin-top:24px}.create-studio-sidebar button{display:flex;align-items:center;gap:7px;width:100%;border-radius:8px;text-align:left;padding:11px 13px;margin:2px 0;font-size:12px}.create-studio-sidebar button[aria-pressed=true]{background:hsl(var(--primary)/.09);color:hsl(var(--primary));font-weight:500}.create-studio-sidebar button:hover{background:hsl(var(--muted))}.create-studio-browser-body{flex:1;min-width:0;overflow:auto;padding:20px}.create-studio-search{display:flex;gap:9px;align-items:center;background:hsl(var(--muted)/.6);border:1px solid hsl(var(--border)/.6);border-radius:9px;padding:10px 12px;color:hsl(var(--muted-foreground));min-width:0}.create-studio-search input{font-size:12px;outline:none;background:transparent;width:100%;color:hsl(var(--foreground))}.create-studio-style-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.create-studio-style-card{position:relative;aspect-ratio:3/4;overflow:hidden;border-radius:12px;background:hsl(var(--muted));text-align:left;border:2px solid transparent}.create-studio-style-card img,.create-studio-style-card video{width:100%;height:100%;object-fit:cover;transition:transform .2s}.create-studio-style-card:hover img{transform:scale(1.025)}.create-studio-style-card>span{position:absolute;left:0;bottom:0;right:0;color:#fff;padding:35px 13px 13px;font-size:12px;font-weight:500;background:linear-gradient(transparent,#0009)}.create-studio-style-card[aria-checked=true]{border-color:hsl(var(--primary))}.create-studio-style-card>i{position:absolute;top:9px;right:9px;border-radius:50%;padding:4px;background:hsl(var(--primary));color:#fff}.create-studio-library-tabs{display:flex;gap:18px;align-items:center;padding:0 26px;border-bottom:1px solid hsl(var(--border)/.6);overflow-x:auto;flex-shrink:0}.create-studio-library-tabs>button{padding:16px 2px;font-size:12px;border-bottom:2px solid transparent;white-space:nowrap}.create-studio-library-tabs>button[aria-pressed=true]{border-color:hsl(var(--primary));font-weight:600}.create-studio-library-tabs .create-studio-upload{margin-left:auto;display:flex;align-items:center;gap:6px;color:hsl(var(--primary))}.create-studio-library-tools{display:flex;gap:12px;align-items:center}.create-studio-library-tools>.create-studio-search{flex:1}.create-studio-library-tools>select{font-size:11px;max-width:120px;background:hsl(var(--card))}.create-studio-filters{display:flex;gap:7px;margin:15px 0}.create-studio-filters button{font-size:11px;padding:7px 12px;border-radius:20px;border:1px solid hsl(var(--border))}.create-studio-filters button[aria-pressed=true]{background:hsl(var(--foreground));color:hsl(var(--background));border-color:transparent}.create-studio-asset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}.create-studio-add-asset{border:1px dashed hsl(var(--border));border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;aspect-ratio:3/4;background:hsl(var(--muted)/.35);font-size:12px}.create-studio-add-asset small{font-size:9px;color:hsl(var(--muted-foreground))}.create-studio-asset-card{position:relative;aspect-ratio:3/4;overflow:hidden;border-radius:10px;background:hsl(var(--muted))}.create-studio-asset-select{display:block;width:100%;height:100%}.create-studio-asset-select img{width:100%;height:100%;object-fit:cover}.create-studio-asset-select span{position:absolute;bottom:0;left:0;right:0;padding:24px 10px 10px;background:linear-gradient(transparent,#0009);color:#fff;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.create-studio-asset-actions{position:absolute;top:7px;right:7px;display:flex;gap:4px}.create-studio-asset-actions button{border-radius:6px;background:hsl(var(--card)/.9);padding:6px}.create-studio-asset-actions button[aria-pressed=true]{color:hsl(var(--primary))}.create-studio-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;padding:36px 10px;color:hsl(var(--muted-foreground));font-size:12px}.create-studio-empty button{color:hsl(var(--primary));font-weight:600}.create-studio-load-more{display:block;margin:20px auto;font-size:12px;text-decoration:underline}.create-studio-heading-row{display:flex;align-items:center;gap:12px}.create-studio-editor{padding:26px;display:grid;grid-template-columns:1fr 1.2fr;gap:28px;overflow:auto}.create-studio-editor-image>button{width:100%;aspect-ratio:3/4;border:1px dashed hsl(var(--border));border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;overflow:hidden;font-size:13px;background:hsl(var(--muted)/.4)}.create-studio-editor-image img{width:100%;height:100%;object-fit:contain}.create-studio-editor-image small{font-size:10px;color:hsl(var(--muted-foreground))}.create-studio-editor-fields{display:flex;flex-direction:column;gap:17px}.create-studio-editor-fields label{font-size:12px;display:flex;flex-direction:column;gap:8px}.create-studio-editor-fields input,.create-studio-editor-fields select,.create-studio-editor-fields textarea{background:transparent;border:1px solid hsl(var(--border));border-radius:8px;padding:10px;width:100%;font-size:12px}.create-studio-link-input{display:flex;gap:7px}.create-studio-link-input button{display:flex;align-items:center;gap:5px;font-size:11px;white-space:nowrap;padding:8px;border:1px solid hsl(var(--border));border-radius:8px}.create-studio-candidates{display:flex;gap:8px;overflow-x:auto}.create-studio-candidates button{width:65px;height:65px;flex-shrink:0;border:2px solid transparent;border-radius:8px;overflow:hidden}.create-studio-candidates button[aria-pressed=true]{border-color:hsl(var(--primary))}.create-studio-candidates img{width:100%;height:100%;object-fit:cover}.create-studio-primary{background:hsl(var(--primary));color:hsl(var(--primary-foreground));display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;border-radius:9px;font-size:12px}.create-studio-duration-menu,.create-studio-ratio-menu,.create-studio-reference-menu,.create-studio-settings-menu{z-index:10003!important;width:min(280px,calc(100vw - 24px));background:hsl(var(--card));border:1px solid hsl(var(--foreground)/.1);border-radius:14px;padding:12px;font-size:12px;box-shadow:0 10px 30px -12px hsl(var(--foreground)/.22)}.create-studio-duration-menu strong,.create-studio-ratio-menu strong,.create-studio-reference-menu strong,.create-studio-settings-menu>strong{font-size:12px;font-weight:600;display:block;margin-bottom:12px}.create-studio-reference-menu button{display:flex;align-items:center;gap:9px;padding:8px;min-height:34px;width:100%;border-radius:7px;font-size:12px;transition:background .15s}.create-studio-reference-menu button:hover{background:hsl(var(--foreground)/.045)}.create-studio-ratio-menu{width:min(280px,calc(100vw - 24px))!important;max-height:var(--radix-popover-content-available-height);overflow-y:auto}.create-studio-ratio-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.create-studio-ratio-grid button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:7px;min-width:0;height:58px;padding:8px 3px;border:1px solid hsl(var(--border)/.7);border-radius:8px;font-size:11px;line-height:14px;color:hsl(var(--muted-foreground));transition:background .15s,border-color .15s}.create-studio-ratio-grid button:hover{background:hsl(var(--foreground)/.035);border-color:hsl(var(--foreground)/.2)}.create-studio-ratio-grid button[aria-pressed=true]{background:hsl(var(--primary)/.06);border-color:hsl(var(--primary)/.4);color:hsl(var(--primary))}.create-studio-ratio-grid button>svg{position:absolute;top:4px;right:4px;width:10px;height:10px}.create-studio-ratio-preview{display:block;flex-shrink:0;border:1px solid;border-radius:2px}.create-studio-duration-menu strong{display:flex;justify-content:space-between}.create-studio-duration-menu input{width:100%;accent-color:hsl(var(--primary))}.create-studio-duration-menu>div{display:flex;justify-content:space-between;font-size:10px;margin-top:8px;color:hsl(var(--muted-foreground))}.create-studio-settings-menu{width:min(280px,calc(100vw - 24px))!important;max-height:min(380px,var(--radix-popover-content-available-height));overflow-y:auto;padding:14px;border-radius:14px;border-color:hsl(var(--foreground)/.1);box-shadow:0 10px 30px -12px hsl(var(--foreground)/.22)}.create-studio-settings-menu>strong{font-size:12px;font-weight:600;padding-bottom:10px;margin-bottom:2px;border-bottom:1px solid hsl(var(--border)/.6)}.create-studio-setting{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;font-size:12px}.create-studio-setting-label{display:inline-flex;align-items:center;gap:5px;min-width:0}.create-studio-setting-help{color:hsl(var(--muted-foreground)/.65);display:grid;place-items:center;padding:2px}.create-studio-setting .create-studio-setting-input{width:104px;height:30px;flex-shrink:0;border-radius:7px;background:hsl(var(--foreground)/.035);border-color:transparent;padding:0 9px;font-size:11px;box-shadow:none}.create-studio-results{margin-top:30px}.create-studio-results h2{font-size:15px;font-weight:500;margin:0 0 15px}.create-studio-results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.create-studio-result{border:1px solid hsl(var(--border));border-radius:12px;overflow:hidden;background:hsl(var(--card))}.create-studio-result img,.create-studio-result video{width:100%;aspect-ratio:3/4;object-fit:cover}.create-studio-result a{gap:6px;padding:10px}.create-studio-job-status,.create-studio-result a{font-size:11px;display:flex;justify-content:center}.create-studio-job-status{aspect-ratio:3/4;flex-direction:column;align-items:center;padding:20px;text-align:center;gap:15px;color:hsl(var(--muted-foreground))}.create-studio-preview{max-width:900px!important}.create-studio-preview img,.create-studio-preview video{max-height:75dvh;max-width:100%;margin:auto}@media (max-width:640px){.create-studio-mode-tabs button{font-size:13px;gap:6px}.create-studio-composer{padding:0}.create-studio-toolbar{gap:5px}.create-studio-control{font-size:10px;padding:6px}.create-studio-model-control{max-width:190px;overflow:hidden}.create-studio-generate{height:40px;min-height:40px}.create-studio-actions{margin:0 8px}.create-studio-toolbar{padding:8px}.create-studio-batch,.create-studio-control{min-height:40px}.create-studio-prompt:not(:placeholder-shown){min-height:128px}.create-studio-reference-thumb,.create-studio-slot{width:75px;height:83px}.create-studio-modal{width:calc(100vw - 16px)!important;height:90dvh}.create-studio-modal-heading{padding:20px}.create-studio-sidebar{width:112px;padding:12px 6px}.create-studio-sidebar h3{padding:8px 5px}.create-studio-sidebar button{font-size:11px;padding:10px 7px}.create-studio-browser-body{padding:12px}.create-studio-style-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.create-studio-style-card>span{font-size:10px;padding:25px 7px 9px}.create-studio-asset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.create-studio-library-tabs{padding:0 15px;gap:14px}.create-studio-library-tools{flex-wrap:wrap}.create-studio-library-tools>.create-studio-search{flex-basis:100%}.create-studio-editor{grid-template-columns:1fr;padding:18px;gap:18px}.create-studio-editor-image>button{aspect-ratio:4/3;max-height:200px}.create-studio-footnote{font-size:9px}.create-studio-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.create-studio-filters{flex-wrap:wrap}.create-studio-add-asset{font-size:10px}.create-studio-add-asset small{display:none}}@media (prefers-reduced-motion:reduce){.create-studio-mode-tabs button,.create-studio-style-card img{transition:none}}.create-studio-asset-select svg{width:100%;height:100%}.create-studio-asset-select video,.create-studio-reference-thumb video{width:100%;height:100%;object-fit:cover}.create-studio-audio-icon{display:grid!important;place-items:center!important;inset:0!important;background:transparent!important;color:hsl(var(--foreground))!important}.create-studio-new-element{padding:60px 30px;overflow:auto;margin:auto;width:min(100%,650px)}.create-studio-avatar-generator h3,.create-studio-new-element h3{font-size:22px;letter-spacing:-.5px;text-align:center;margin-bottom:25px}.create-studio-new-element>div{display:grid;grid-template-columns:1fr 1fr;gap:18px}.create-studio-new-element>div>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;padding:35px 20px;border-radius:14px;border:1px solid hsl(var(--border));background:hsl(var(--muted)/.3)}.create-studio-new-element>div>button:hover{border-color:hsl(var(--primary));background:hsl(var(--primary)/.04)}.create-studio-new-element strong{font-size:15px;font-weight:500}.create-studio-new-element span{font-size:11px;color:hsl(var(--muted-foreground))}.create-studio-avatar-generator{width:min(100%,560px);padding:28px;margin:auto;overflow:auto}.create-studio-avatar-generator h3{margin:24px 0 8px}.create-studio-avatar-generator>p{font-size:12px;text-align:center;color:hsl(var(--muted-foreground));margin-bottom:18px}.create-studio-avatar-generator>textarea{display:block;resize:vertical;width:100%;background:transparent;border:1px solid hsl(var(--border));border-radius:10px;padding:12px;font-size:13px;min-height:110px;margin-bottom:15px}.create-studio-avatar-generator>.create-studio-primary{width:100%}.create-studio-avatar-samples{display:flex;justify-content:center;gap:10px}.create-studio-avatar-samples img{object-fit:cover;height:140px;width:100px;border-radius:10px;transform:rotate(-5deg)}.create-studio-avatar-samples img:nth-child(2){transform:rotate(3deg);margin-top:-8px}.create-studio-avatar-samples img:nth-child(3){transform:rotate(6deg)}@media (max-width:767px){.create-studio-composer{padding:14px 12px 0;column-gap:12px}.create-studio-toolbar{flex-wrap:nowrap;padding:0;gap:6px}.create-studio-batch,.create-studio-control{height:36px;min-height:36px;font-size:11px}.create-studio-bottom{max-width:176px}.create-studio-reference-thumb,.create-studio-slot{width:84px;height:108px}.create-studio-actions{margin:14px -4px 0}.create-studio-generate{height:40px;min-height:40px}.create-studio-prompt:not(:placeholder-shown){min-height:72px}}@media (max-width:480px){.create-studio-composer{grid-template-columns:minmax(0,1fr)}.create-studio-bottom{grid-column:1;grid-row:2;max-width:100%;margin:0 0 12px}.create-studio-toolbar-wrap{grid-row:3}.create-studio-native-fields{grid-row:4}.create-studio-actions{grid-row:5}.create-studio-reference-thumb,.create-studio-slot{width:80px;height:88px}}.create-studio-mode-tabs[data-story-only]{width:84px;grid-template-columns:minmax(0,1fr)}.create-studio-mode-tabs[data-story-only] .create-studio-tab-indicator{width:100%}.create-studio-composer{grid-template-rows:48px auto auto auto;padding:10px 12px 0;column-gap:12px;border-radius:14px}.create-studio-composer--with-templates{grid-template-rows:auto auto auto auto auto}.create-studio-prompt{min-height:48px;height:48px;font-size:13px;line-height:21px}.create-studio-prompt:not(:placeholder-shown){min-height:48px}.create-studio-reference-thumb,.create-studio-slot{width:68px;height:76px}.create-studio-slot{width:80px}.create-studio-bottom{max-width:168px}.create-studio-actions{margin:6px 0 0;padding:6px 0;gap:6px}.create-studio-actions>.create-studio-generate{min-height:32px;height:32px}.create-studio-batch,.create-studio-control{min-height:30px;height:30px;font-size:11px}@media(max-width:480px){.create-studio-reference-thumb,.create-studio-slot{width:60px;height:64px}.create-studio-slot{width:80px}.create-studio-bottom{max-width:100%;margin-bottom:6px}}.create-studio-style-card>span>small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:4px;font-size:11px;font-weight:400;line-height:1.35;opacity:.85}.create-studio-style-card[data-has-preview=false]{aspect-ratio:auto;min-height:180px;background:hsl(var(--card));border-color:hsl(var(--border))}.create-studio-style-card[data-has-preview=false]>span{position:static;display:block;padding:0 16px 16px;background:none;color:hsl(var(--foreground))}.create-studio-style-card[data-has-preview=false]>span>small{color:hsl(var(--muted-foreground))}.create-studio-style-card[data-has-preview=false][aria-checked=true]{border-color:hsl(var(--primary))}.create-studio-attached-references{grid-column:1/-1;grid-row:1;display:flex;flex-wrap:wrap;gap:8px;min-width:0;padding:0 0 10px}.create-studio-panel .create-studio-composer:has(.create-studio-attached-references){grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto}.create-studio-composer:has(.create-studio-attached-references) .create-studio-attached-references{grid-column:1/-1;grid-row:1}.create-studio-composer:has(.create-studio-attached-references) .create-studio-prompt-wrap{grid-column:1;grid-row:2}.create-studio-composer:has(.create-studio-attached-references) .create-studio-toolbar-wrap{grid-row:3}.create-studio-composer:has(.create-studio-attached-references) .create-studio-actions{grid-row:4}.create-studio-composer--with-templates:has(.create-studio-attached-references){grid-template-rows:auto auto auto auto auto}.create-studio-composer--with-templates:has(.create-studio-attached-references) .create-studio-attached-references{grid-row:1}.create-studio-composer--with-templates:has(.create-studio-attached-references) .create-studio-prompt-wrap{grid-row:2}.create-studio-composer--with-templates:has(.create-studio-attached-references) .create-studio-toolbar-wrap{grid-row:3}.create-studio-composer--with-templates:has(.create-studio-attached-references) .create-studio-template-strip{grid-row:4}.create-studio-composer--with-templates:has(.create-studio-attached-references) .create-studio-actions{grid-row:5}.create-studio-composer:has(.create-studio-attached-references) .create-studio-bottom{display:none}@media (max-width:480px){.create-studio-panel .create-studio-composer:has(.create-studio-attached-references){grid-template-rows:auto auto auto auto}.create-studio-composer:has(.create-studio-attached-references) .create-studio-toolbar-wrap{grid-row:3}.create-studio-composer:has(.create-studio-attached-references) .create-studio-actions{grid-row:4}}.creation-input-composer{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;row-gap:6px}.creation-input-composer .create-studio-prompt-wrap{grid-row:1;min-width:0}.creation-input-composer .create-studio-toolbar-wrap{grid-row:2}.creation-input-composer .create-studio-actions{grid-row:3;justify-content:flex-end}.creation-input-composer .create-studio-prompt{height:auto}.creation-input-composer [aria-label="Added references"]{margin-bottom:10px}.create-studio-panel .create-studio-composer--without-subjects{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto}.create-studio-composer--without-subjects .create-studio-prompt{min-height:144px;height:auto}.create-studio-panel .segment-script-composer{grid-template-rows:auto auto}.segment-script-composer .create-studio-prompt{min-height:72px;height:72px}.segment-script-composer .create-studio-actions{grid-row:2}.segment-script-composer:not(:has(.create-studio-actions)){padding-bottom:10px}@media (max-width:639px){.create-studio-panel .create-studio-composer{display:flex;flex-direction:column;gap:12px;padding:12px;min-width:0;max-width:100%;overflow-x:hidden}.create-studio-composer .create-studio-attached-references{order:0}.create-studio-composer .create-studio-prompt-wrap{order:1;width:100%;min-width:0;align-self:stretch}.create-studio-composer .create-studio-prompt-wrap .create-studio-prompt,.create-studio-composer .create-studio-prompt-wrap [data-prompt-placeholder],.create-studio-composer .create-studio-prompt-wrap [data-prompt-reference-composer],.create-studio-composer .create-studio-prompt-wrap [data-prompt-reference-composer]>div{width:100%;min-width:0}.create-studio-composer .create-studio-prompt-wrap [data-prompt-placeholder]{right:0;white-space:normal;overflow-wrap:break-word;word-break:normal}.create-studio-template-chip{min-height:56px}.create-studio-template-chip-thumb{width:40px;height:52px;flex-basis:40px;border-radius:8px}.create-studio-template-chip-name{max-width:min(220px,62vw)}.create-studio-template-chip-clear{padding:5px}.create-studio-composer .create-studio-bottom{order:2}.create-studio-composer .create-studio-toolbar-wrap{order:3;align-self:stretch;justify-self:stretch;width:100%;min-width:0;max-width:100%;overflow:hidden}.create-studio-composer .create-studio-template-strip{order:4}.create-studio-composer .create-studio-actions{order:5}.create-studio-panel .create-studio-prompt{height:auto;min-height:120px;max-height:min(280px,40dvh);font-size:16px;line-height:24px}.create-studio-panel .create-studio-prompt:not(:placeholder-shown){min-height:120px}.create-studio-composer .create-studio-toolbar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:8px;padding:0;width:100%;max-width:100%;min-width:0}.create-studio-composer .create-studio-toolbar::-webkit-scrollbar{display:none}.create-studio-composer .create-studio-toolbar>*{flex-shrink:0}.create-studio-composer .create-studio-control{height:44px;min-height:44px;min-width:44px;font-size:13px;padding:6px}.create-studio-composer .create-studio-model-control{flex:1 1 8rem;max-width:46%;width:auto;min-width:5.5rem;overflow:hidden}.create-studio-composer .create-studio-model-control>span{min-width:0;overflow:hidden}.create-studio-composer .create-studio-batch{gap:0;padding:0;height:44px;min-height:44px;font-size:13px}.create-studio-composer .create-studio-batch button{width:44px;height:44px}.create-studio-composer .create-studio-rail-arrow{display:none}.create-studio-composer .create-studio-template-strip{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:0;padding:0}.create-studio-composer .create-studio-template-rail{min-width:0;gap:8px;padding:8px 6px}.create-studio-composer .create-studio-template-item,.create-studio-composer .create-studio-template-thumb{flex-basis:48px;width:48px;min-width:48px;max-width:48px;height:64px;min-height:64px;max-height:64px}.create-studio-composer .create-studio-template-more{width:56px;height:64px;font-size:10px}.create-studio-template-item:active .create-studio-template-like{opacity:1;pointer-events:auto}.create-studio-template-pick-sheet{max-height:min(70dvh,420px);overflow:auto}.create-studio-template-pick-dialog .create-studio-template-action,.create-studio-template-pick-sheet .create-studio-template-action{min-height:44px}.create-studio-composer .create-studio-actions{margin:0;flex-wrap:nowrap;gap:10px;min-width:0}.create-studio-composer .create-studio-cost{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.create-studio-composer .create-studio-actions>.create-studio-generate{height:44px;min-height:44px;font-size:14px;flex-shrink:0}.create-studio-modal .create-studio-sidebar{width:100%;display:flex;gap:4px;overflow-x:auto;padding:8px 12px;border-right:0;border-bottom:1px solid hsl(var(--border))}.create-studio-modal .create-studio-sidebar button{min-height:44px;width:auto;white-space:nowrap;font-size:13px;flex-shrink:0}.create-studio-modal .create-studio-browser{flex-direction:column}}