.workspace-shell,.workspace-account-menu{--workspace-edge:13px;--workspace-nav-width:238px;--workspace-motion:.34s}.workspace-shell{flex-direction:column;height:100dvh;min-height:0;display:flex;overflow:hidden}.workspace-nav{z-index:700;align-items:stretch;gap:var(--s-10);width:var(--workspace-nav-width);height:100dvh;padding:max(var(--s-8), env(safe-area-inset-top,0px)) var(--workspace-edge) max(var(--s-8), env(safe-area-inset-bottom,0px));background:var(--surface);transition:transform var(--workspace-motion) cubic-bezier(.16,1,.3,1), opacity var(--workspace-motion) ease;flex-direction:column;display:flex;position:fixed;inset:0 auto 0 0}.workspace-nav-head,.workspace-nav-links,.workspace-nav-bottom{align-items:center;gap:var(--s-2);display:flex}.workspace-nav-head{justify-content:space-between}.workspace-nav .workspace-nav-links{align-items:stretch;gap:var(--s-3);scrollbar-width:none;flex-direction:column;overflow-y:auto}.workspace-nav-bottom{align-items:stretch;gap:var(--s-5);flex-direction:column;margin:auto 0 0}.workspace-brand{align-items:center;gap:var(--s-4);padding-left:var(--s-3);flex:none;height:44px;display:flex}.workspace-brand img{object-fit:contain;width:28px;height:28px}.workspace-brand-name{font-family:var(--font-brand), var(--font-sans-stack);letter-spacing:-.025em;font-size:18px;font-weight:650}.workspace-nav-link{justify-content:flex-start;align-items:center;gap:var(--s-5);height:var(--h-action);padding:0 var(--s-6);border-radius:var(--r-action);corner-shape:squircle;color:var(--text-secondary);font-size:var(--fs-sm);flex:none;font-weight:550;display:flex}.workspace-nav-link.is-active{color:var(--text-primary);background:var(--surface-raised)}.workspace-nav-link small{font-size:var(--fs-xs);color:var(--text-muted);margin-left:auto}.workspace-nav-link:hover{background:var(--surface-hover);color:var(--text-primary)}.workspace-expand{display:none}.workspace-collapse{display:inline-flex}.workspace-account-name{white-space:nowrap;text-overflow:ellipsis;font-size:var(--fs-sm);overflow:hidden}.workspace-collapse,.workspace-expand{justify-content:center;align-items:center;min-width:44px;min-height:44px}.workspace-shell :is(.workspace-collapse,.workspace-expand,.generation-nav){border-radius:calc(50% * var(--corner-scale,1));--corner-scale:1;corner-shape:round;--corner-shape:round;flex-shrink:0}.workspace-account{align-items:center;gap:var(--s-4);height:var(--h-action);border-radius:var(--r-action);corner-shape:squircle;padding:0 var(--s-3);min-width:0;color:var(--text-primary);transition:background var(--t-fast) var(--ease);flex:1;display:flex}.workspace-account .account-avatar{flex:none;width:28px;height:28px}.workspace-account:hover,.workspace-account[data-state=open]{background:var(--surface-hover)}.workspace-account .account-avatar,.workspace-account-identity .account-avatar{pointer-events:none}.workspace-auth{align-items:stretch;gap:var(--s-3);flex-direction:column;display:flex}.workspace-nav .creator-offer-trigger{white-space:normal;flex-wrap:wrap;width:100%}.workspace-generation{flex:none}.workspace-generation:empty{display:none}.workspace-shell>.main{min-height:0;padding:var(--workspace-edge);padding-bottom:max(var(--workspace-edge), env(safe-area-inset-bottom,0px));flex:1;overflow:hidden}.workspace-shell>.main>.page{overscroll-behavior:contain;scrollbar-width:none;min-height:0;margin:0;overflow:auto}.workspace-shell>.main>.page::-webkit-scrollbar{display:none}.workspace-shell[data-section=home]>.main>.page{padding-top:0}.workspace-shell .page-inner-bleed,.workspace-shell .tts{height:100%;min-height:0}.workspace-shell .home-workspace{--composer-sticky-top:var(--workspace-page-gutter,var(--gutter));width:min(780px,100%);padding-top:var(--s-9)}.workspace-shell .home-workspace [data-template-catalog]{width:calc(100% + 8px);scroll-margin-top:calc(var(--composer-height,240px) + var(--composer-sticky-top,0px) + 36px);margin-inline:-4px;padding:4px}.home-composer-dock{top:var(--composer-sticky-top,0px);z-index:20;isolation:isolate;position:sticky}.home-composer-dock:before{content:"";inset:calc(-1 * var(--composer-sticky-top,0px)) -4px 0;z-index:-1;background:var(--surface-input) var(--page-texture) repeat;pointer-events:none;background-size:128px 128px;position:absolute}.home-composer-dock:after{content:"";background:var(--surface-input) var(--page-texture) repeat;pointer-events:none;background-size:128px 128px;height:36px;position:absolute;top:100%;left:-4px;right:-4px;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.home-welcome{margin-bottom:max(var(--s-10), calc(var(--composer-sticky-top,0px) + var(--s-4)))}.home-welcome h1{margin:0 0 var(--s-3);letter-spacing:-.025em;font-size:28px;font-weight:600;line-height:1.25}.home-welcome p{color:var(--text-secondary);font-size:var(--fs-body);margin:0}.workspace-shell .home-workspace [data-template-try]{scroll-margin-top:calc(var(--composer-height,240px) + var(--composer-sticky-top,0px) + 40px)}.workspace-shell .home-workspace .launchpad{--composer-control-h:36px;--corner-shape:round;max-height:calc(var(--composer-available-height,100dvh) - var(--composer-sticky-top,0px) - 32px);scrollbar-width:none;position:relative;overflow:visible}@supports not (corner-shape:squircle){.workspace-shell .home-workspace .launchpad{border-radius:calc(20px * var(--corner-scale,1));--corner-scale:1}}.workspace-shell .home-workspace .launchpad[data-scrollable]{overscroll-behavior:contain;overflow:hidden auto}.workspace-shell .home-workspace .launchpad::-webkit-scrollbar{display:none}.workspace-shell [data-template-catalog]:focus{outline:none}.workspace-profile-row{align-items:center;gap:var(--s-2);min-width:0;display:flex}.workspace-help{width:var(--h-action);height:var(--h-action);border-radius:var(--r-action);corner-shape:squircle;flex:none;place-items:center;display:grid}.workspace-library-chevron{margin-left:auto;transform:rotate(-90deg)}.workspace-library-chevron[data-expanded=true]{transform:none}.workspace-library-links{gap:var(--s-3);margin:0 0 var(--s-3) var(--s-9);padding-left:var(--s-6);border-left:1px solid var(--line);flex-direction:column;flex:none;display:flex}.workspace-library-links a{height:var(--h-action);padding:0 var(--s-6);border-radius:var(--r-action);corner-shape:squircle;font-size:var(--fs-sm);color:var(--text-secondary);transition:background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);align-items:center;display:flex}.workspace-library-links a:hover{background:var(--surface-hover)}.workspace-library-links a[aria-current=page]{color:var(--text-primary);background:var(--surface-active)}.workspace-account-menu{width:calc(var(--workspace-nav-width) - var(--workspace-edge));max-width:calc(100vw - 24px);max-height:min(640px, var(--radix-dropdown-menu-content-available-height))}.workspace-account-summary{gap:var(--s-4);padding:var(--s-4);margin-bottom:var(--s-3);border-bottom:1px solid var(--line);display:grid}.workspace-account-identity{align-items:center;gap:var(--s-5);padding-bottom:var(--s-6);margin-bottom:var(--s-2);border-bottom:1px solid var(--line);display:flex}.workspace-account-identity .account-avatar{flex:none;width:36px;height:36px}.workspace-account-identity img{object-fit:cover;width:100%;height:100%}.workspace-account-identity-copy{gap:0;min-width:0;display:grid}.workspace-account-identity-copy strong{white-space:nowrap;text-overflow:ellipsis;font-size:var(--fs-sm);font-weight:550;line-height:var(--lh-sm);overflow:hidden}.workspace-account-identity-copy>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.workspace-account-balance{align-items:baseline;gap:var(--s-3);font-size:var(--fs-xs);color:var(--text-secondary);display:flex}.workspace-account-balance strong{font-size:var(--fs-body);color:var(--text-primary)}.workspace-account-summary .summary-bar{margin-bottom:var(--s-5)}@media (min-width:1101px){.workspace-shell{--workspace-page-gutter:32px;--workspace-motion:.34s;grid-template-columns:var(--workspace-nav-width) minmax(0, 1fr);transition:grid-template-columns var(--workspace-motion) cubic-bezier(.16,1,.3,1);display:grid}.workspace-shell[data-nav-collapsed=true]{grid-template-columns:0 minmax(0,1fr)}.workspace-shell>.main{grid-area:1/2}.workspace-shell>.main>.page{padding:64px var(--workspace-page-gutter) var(--s-15);border-radius:14px}.workspace-shell .home-workspace{padding-top:64px}.workspace-shell>.main>.page-bleed{padding:0}.workspace-shell .workspace-nav{background:0 0;transform:translate(0)}.workspace-nav-head{justify-content:space-between}.workspace-brand{gap:var(--s-4);width:auto;padding-left:var(--s-3);display:flex}.workspace-brand-name{display:block}.workspace-nav .workspace-nav-links{align-items:stretch;gap:var(--s-3);flex-direction:column}.workspace-nav .workspace-nav-link{justify-content:flex-start}.workspace-nav .workspace-nav-bottom{align-items:stretch;gap:var(--s-5);flex-direction:column;margin:auto 0 0}.workspace-nav .creator-offer-trigger{white-space:normal;flex-wrap:wrap;width:100%}.workspace-collapse{display:inline-flex}.workspace-account-name{display:block}.workspace-account{flex:1}.workspace-account-menu{width:calc(var(--workspace-nav-width) - var(--workspace-edge))}.workspace-account-name{white-space:nowrap;text-overflow:ellipsis;font-size:var(--fs-sm);overflow:hidden}.workspace-auth{flex-direction:column;align-items:stretch}.workspace-shell[data-nav-collapsed=true] .workspace-nav{opacity:0;pointer-events:none;transform:translate(-100%)}.workspace-shell[data-nav-collapsed=true] .workspace-expand{top:calc(var(--workspace-edge) + var(--s-4));left:calc(var(--workspace-edge) + var(--s-4));z-index:500;background:var(--surface-raised);display:inline-flex;position:fixed}.workspace-shell[data-section=home]>.main>.page>.page-inner{max-width:none}.workspace-library-links{gap:var(--s-3);margin:0 0 var(--s-3) var(--s-9);padding-left:var(--s-6);border-left:1px solid var(--line);flex-direction:column}}@media (max-width:1100px){.workspace-shell,.workspace-account-menu{--workspace-nav-width:min(280px, calc(100vw - 48px))}.workspace-account-menu{width:calc(var(--workspace-nav-width) - 2 * max(12px, var(--workspace-edge)))}.workspace-nav{opacity:0;pointer-events:none;transform:translate(-100%)}.workspace-shell[data-mobile-nav-open=true] .workspace-nav{opacity:1;pointer-events:auto;transform:none}.workspace-shell .workspace-expand{top:max(calc(var(--workspace-edge) + 10px), env(safe-area-inset-top,0px));left:calc(var(--workspace-edge) + 10px);z-index:500;background:var(--surface-raised);display:inline-flex;position:fixed}.workspace-shell :is(.workspace-expand,.workspace-collapse){width:36px;min-width:36px;height:36px;min-height:36px}.workspace-shell .workspace-expand{transition:opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility var(--t-fast)}.workspace-shell .workspace-expand[data-scrolled],.workspace-shell[data-page-scrolled] .workspace-status{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-8px)}.workspace-shell[data-mobile-nav-open=true] .workspace-expand{display:none}.workspace-nav-scrim{z-index:600;background:var(--scrim);opacity:0;visibility:hidden;transition:opacity var(--workspace-motion) ease, visibility var(--workspace-motion);position:fixed;inset:0}.workspace-shell[data-mobile-nav-open=true] .workspace-nav-scrim{opacity:1;visibility:visible}.workspace-shell>.main>.page{padding-top:76px}.workspace-shell[data-section=home]>.main>.page{padding-top:0}.workspace-shell .home-workspace{padding-top:68px}.workspace-shell .workspace-status{top:max(calc(var(--workspace-edge) + 10px), env(safe-area-inset-top,0px));right:calc(var(--workspace-edge) + 10px);z-index:500;transition:opacity var(--t-fast) var(--ease), visibility var(--t-fast);position:fixed}.workspace-shell .generation-nav{background:var(--surface-raised);width:36px;height:36px}}@media (prefers-reduced-motion:reduce){.workspace-shell,.workspace-shell .workspace-nav,.workspace-shell .workspace-expand,.workspace-nav-scrim{transition:none}}.workspace-shell .home-workspace .launch-main{gap:var(--s-7);padding-top:var(--s-10)}.workspace-shell .home-workspace .launch-footer{gap:var(--s-4);padding:var(--s-5) var(--s-6) var(--s-6);flex-wrap:nowrap}.workspace-shell .home-workspace .launch-options{justify-content:flex-start;gap:var(--s-4);flex-wrap:nowrap;flex:auto;width:auto}.workspace-shell .home-workspace .launch-source-controls{gap:var(--s-4)}.workspace-shell .home-workspace .launch-actions{gap:var(--s-4);flex-wrap:nowrap;flex:none;width:auto}.workspace-shell .home-workspace .launchpad .launch-footer :is(.launch-plus,.launch-avatar-trigger,.launch-more-options){width:auto;height:var(--composer-control-h);min-height:var(--composer-control-h);padding:0 var(--s-5);justify-content:center;align-items:center;gap:var(--s-3);corner-shape:round;background:var(--surface-active);border:1px solid color-mix(in srgb, var(--surface-active) 90%, var(--text-primary));box-shadow:none;color:var(--text-primary);transition:background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);border-radius:999px;flex:none;display:inline-flex}.workspace-shell .home-workspace .launch-footer :is(.launch-plus,.launch-avatar-trigger,.launch-more-options):hover{background:var(--surface-hover);box-shadow:none}.workspace-shell .home-workspace .launchpad .launch-footer :is(.launch-plus,.launch-settings){width:var(--composer-control-h);padding:0}.workspace-shell .home-workspace .launch-footer button{--corner-shape:round}.workspace-shell .home-workspace .launch-footer button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.workspace-shell .home-workspace .launch-avatar-trigger{max-width:110px}.workspace-shell .home-workspace .launch-templates{max-width:142px}.workspace-shell .home-workspace :is(.launch-avatar-trigger,.launch-templates)>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.workspace-shell .home-workspace .launch-footer svg{flex:none}.workspace-shell .home-workspace .launch-templates>.launch-template-icon{flex:none;width:16px;height:16px;display:grid;overflow:visible}.launch-template-icon>svg{grid-area:1/1}.launch-template-icon>svg+svg,.launch-templates[data-selected]:is(:hover,:focus-visible) .launch-template-icon>svg:first-child{opacity:0}.launch-templates[data-selected]:is(:hover,:focus-visible) .launch-template-icon>svg+svg{opacity:1}@media (hover:none){.launch-templates[data-selected] .launch-template-icon>svg:first-child{opacity:0}.launch-templates[data-selected] .launch-template-icon>svg+svg{opacity:1}}.workspace-shell .home-workspace .launch-footer .launch-templates[data-selected]{color:#f4cfdf;background:#8e1d5b40;border-color:#8e1d5b4d}.workspace-shell .home-workspace .launch-footer .launch-templates[data-selected]:hover{background:#8e1d5b59}html[data-theme=light] .workspace-shell .home-workspace .launch-footer .launch-templates[data-selected]{color:#7e214d;background:#8e1d5b1a}.workspace-shell .home-workspace .launch-cta{corner-shape:round;border-radius:999px}.workspace-shell .home-workspace .launch-cta-up{display:none}@media (max-width:768px){.workspace-shell,.workspace-account-menu{--workspace-edge:5.2px}.home-welcome{text-align:center}.workspace-shell .home-workspace .launchpad{--composer-control-h:40px}.workspace-shell .home-workspace .launch-footer{padding:var(--s-4);gap:var(--s-2)}.workspace-shell .home-workspace :is(.launch-options,.launch-source-controls,.launch-actions){gap:var(--s-2)}.workspace-shell .home-workspace .launchpad .launch-footer :is(.launch-avatar-trigger,.launch-templates){padding-inline:var(--s-3);gap:var(--s-2);font-size:12px}.workspace-shell .home-workspace .launch-avatar-anchor{flex-basis:auto;width:auto;min-width:0}.workspace-shell .home-workspace .launch-avatar-trigger{max-width:90px}.workspace-shell .home-workspace .launch-templates{max-width:110px}.workspace-shell .home-workspace .launch-footer :is(.launch-avatar-trigger,.launch-templates)>span:last-child{display:block}.workspace-shell .home-workspace .launch-actions>.launch-cta-anchor{flex:none}.workspace-shell .home-workspace .launch-cta{width:var(--composer-control-h);min-width:0;padding:0}.workspace-shell .home-workspace :is(.launch-cta-label,.launch-cta-right){display:none}.workspace-shell .home-workspace .launch-cta-up{display:block}}@media (max-width:380px){.workspace-shell .home-workspace .launch-footer{padding:var(--s-3);gap:var(--s-1)}.workspace-shell .home-workspace :is(.launch-options,.launch-source-controls,.launch-actions){gap:var(--s-1)}.workspace-shell .home-workspace .launchpad .launch-footer :is(.launch-avatar-trigger,.launch-templates){padding-inline:5px;font-size:11px}.workspace-shell .home-workspace .launch-avatar-trigger{max-width:52px}.workspace-shell .home-workspace .launch-avatar-trigger>svg{display:none}.workspace-shell .home-workspace .launch-templates{max-width:84px}.home-welcome h1{font-size:24px}}.composer-keep-original{justify-content:space-between;align-items:center;gap:var(--s-6);flex-wrap:wrap;display:flex}.composer-keep-original h3{font-size:var(--fs-sm);font-weight:550}.composer-keep-original p{margin:var(--s-2) 0 0}body:has(.workspace-shell) :is(.modal,.compact-dialog,.director-preflight,.composer-options-dialog){max-width:calc(100vw - 26px)}@media (min-width:1101px){body:has(.workspace-shell[data-nav-collapsed=false]){--workspace-dialog-offset:238px}body:has(.workspace-shell) :is(.modal,.compact-dialog,.director-preflight,.composer-options-dialog){left:calc(50% + var(--workspace-dialog-offset,0px) / 2);max-width:calc(100vw - var(--workspace-dialog-offset,0px) - 48px)}}.workspace-shell .home-workspace .launch-main textarea{scrollbar-width:none;resize:none;min-height:52px;max-height:130px;overflow-y:auto}.workspace-shell .home-workspace .launch-main textarea::-webkit-scrollbar{display:none}.workspace-shell .home-workspace .launch-attachments::-webkit-scrollbar{display:none}.workspace-shell .home-workspace .launch-attachments{gap:var(--s-6);scrollbar-width:none;padding:var(--s-2) 0 var(--s-4);flex-wrap:nowrap;margin:0;display:flex;overflow-x:auto}.workspace-shell .home-workspace .launch-attachments>span,.workspace-shell .home-workspace .launch-media-add{border-radius:var(--r-lg);corner-shape:squircle;flex:0 0 100px;width:100px;height:120px}.workspace-shell .home-workspace .launch-media-add{justify-content:center;align-items:center;gap:var(--s-4);background:var(--surface-input);box-shadow:inset 0 0 0 1px var(--line);color:var(--text-secondary);font-size:var(--fs-xs);flex-direction:column;display:flex}.workspace-shell .home-workspace .launch-media-add:hover{background:var(--surface-hover)}.workspace-shell .home-workspace .launch-media-add svg{width:22px;height:22px}.workspace-shell .home-workspace .launch-attachments img,.workspace-shell .home-workspace .launch-attachments video{object-fit:cover;border-radius:inherit;corner-shape:squircle;width:100%;height:100%}.workspace-shell .home-workspace .launch-attachments>span>.launch-media-remove{background:var(--surface);width:28px;height:28px;color:var(--text-primary);box-shadow:var(--shadow-sm);border-radius:50%;top:2px;right:2px;transform:none}.workspace-shell .home-workspace .launch-attachments>span>.launch-media-remove svg{width:14px;height:14px}.workspace-shell .home-workspace .launch-attachments .launch-photo-status small{border-radius:0 0 var(--r-lg) var(--r-lg);padding:var(--s-2);background:var(--surface);position:absolute;inset:auto 0 0}.workspace-shell .home-workspace .launch-attachments .launch-photo-status>.launch-photo-replace{position:absolute;bottom:24px;left:4px;right:4px}.workspace-shell .home-workspace .launch-composer-meta{align-items:center;gap:var(--s-5);flex-wrap:wrap;min-height:18px;display:flex}.workspace-shell .home-workspace .launch-composer-meta .launch-visual-guidance{margin:0;padding:0}@media (hover:hover) and (pointer:fine){.workspace-shell .home-workspace .launch-media-remove{opacity:0}.workspace-shell .home-workspace .launch-attachments>span:hover .launch-media-remove,.workspace-shell .home-workspace .launch-attachments>span:focus-within .launch-media-remove{opacity:1}}@media (max-width:600px){.workspace-shell .home-workspace .launch-attachments>span,.workspace-shell .home-workspace .launch-media-add{flex-basis:84px;width:84px;height:104px}}.workspace-shell .library-toolbar{gap:var(--s-8);min-height:var(--h-action);flex-wrap:nowrap}.library-title{margin:0}.library-toolbar .library-toolbar-action{flex:none;order:0;margin-left:auto}.workspace-shell .library-toolbar .voice-filters,.workspace-shell .library-toolbar .asset-filters{gap:var(--s-2);scrollbar-width:none;flex-wrap:nowrap;flex-basis:auto;order:0;min-width:0;overflow-x:auto}.library-toolbar .asset-filters::-webkit-scrollbar{display:none}.library-toolbar .voice-filters::-webkit-scrollbar{display:none}.workspace-shell .library-toolbar :is(.voice-filters,.asset-filters)>button{gap:var(--s-3);padding:0 var(--s-6);font-size:var(--fs-xs);white-space:nowrap;flex:none}.workspace-shell .library-toolbar [data-library-filter]>svg{flex:none}.workspace-shell .library-toolbar .asset-breadcrumb{min-width:0;margin:0}.library-toolbar .asset-breadcrumb span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.library-toolbar .asset-breadcrumb button{white-space:nowrap;min-height:var(--h-action)}.workspace-shell .tool-page-assets :is(.asset-list-head,.asset-file-row,.asset-folder-row){padding-inline:0}.workspace-shell .tool-page-assets :is(.asset-file-row,.asset-folder-row)>:last-child{justify-self:end}.workspace-shell .avatar-library-grid{gap:var(--s-6);grid-template-columns:repeat(5,minmax(0,1fr))}.workspace-shell .avatar-library-grid article{min-width:0;position:relative}.workspace-shell .avatar-library-image{border-radius:var(--r-lg);aspect-ratio:3/4;width:100%;display:block;position:relative;overflow:hidden}.workspace-shell .avatar-library-image:after{content:"";pointer-events:none;background:linear-gradient(#0000,#000c);position:absolute;inset:40% 0 0}.workspace-shell .avatar-library-name{bottom:var(--s-8);left:var(--s-7);right:var(--s-7);z-index:1;text-align:left;font-size:var(--fs-body);color:#fff;white-space:nowrap;text-overflow:ellipsis;font-weight:600;position:absolute;overflow:hidden}.workspace-shell .avatar-library-meta{top:var(--s-3);right:var(--s-3);margin:0;position:absolute}.workspace-shell .avatar-library-meta .ui-menu-btn{width:var(--h-action);height:var(--h-action);color:#fff;background:#0000008c}.workspace-shell .avatar-library-selected{top:var(--s-3);left:var(--s-3);z-index:1;justify-content:center;width:32px;height:32px;padding:0;font-size:0;right:auto}.workspace-shell .avatar-library-selected svg{width:16px;height:16px}.workspace-shell .voice-list{gap:var(--s-6);grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}.workspace-shell .voice-row{grid-template-columns:var(--h-action) minmax(0, 1fr) auto;gap:var(--s-4);padding:var(--s-6);border-radius:var(--r-lg);display:grid}.workspace-shell .voice-row-info h3{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.voice-preview{width:var(--h-action);height:var(--h-action);border-radius:var(--r-action);corner-shape:squircle;background:var(--surface-raised);color:var(--text-primary);place-items:center;display:grid}.voice-preview:hover:not(:disabled){background:var(--surface-active)}.voice-preview:disabled{opacity:.4;cursor:not-allowed}.voice-row-actions{align-items:center;gap:var(--s-1);display:flex}.voice-row-actions .btn{height:var(--h-action);min-height:var(--h-action);padding:0 var(--s-4);font-size:var(--fs-xs)}.voice-row-actions .icon-btn{width:var(--h-action);height:var(--h-action)}.voice-row[data-selected=true] .voice-row-actions .btn{color:var(--text-primary)}.custom-voice-field .input{min-height:44px}.library-upload .keep-list{max-height:240px;overflow-y:auto}.library-upload .keep-list li{grid-template-columns:auto minmax(0,1fr) auto}.library-upload-background{align-items:center;gap:var(--s-4);min-height:var(--h-action);font-size:var(--fs-sm);cursor:pointer;display:flex}.library-upload-background small{margin-left:auto}@media (max-width:1100px){.workspace-shell .avatar-library-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:700px){.workspace-shell .avatar-library-grid{gap:var(--s-4);grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-shell .tool-page-avatars .voice-filters>button{padding-inline:var(--s-4)}.workspace-shell .library-toolbar{gap:var(--s-4)}.library-toolbar .library-toolbar-action span{display:none}.workspace-shell .library-toolbar .library-toolbar-action.btn,.workspace-shell .library-toolbar .library-toolbar-action .btn{width:var(--h-action);padding:0}.custom-voice-field .input{font-size:16px}}@media (max-width:500px){.workspace-shell .avatar-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.composer-options-dialog.settings-compact{width:min(680px,100vw - 32px)}.settings-compact .composer-options-head{align-items:center;padding:20px 28px 16px}.settings-compact .settings-heading{align-items:center;gap:12px;display:flex}.settings-compact .composer-options-body{gap:16px;padding:0 28px 16px}.settings-compact [hidden]{display:none!important}.settings-compact .composer-options-foot{padding:12px 28px 20px}.settings-compact .composer-options-section{gap:8px}.settings-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.settings-compact .composer-pace-grid,.settings-compact .composer-style-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-compact .composer-option-grid{gap:8px}.settings-compact .composer-option-grid>button{gap:6px;min-height:44px;padding:10px 12px}.settings-compact .composer-option-grid strong{white-space:normal;line-height:1.35}.settings-compact .composer-toggle-row{justify-content:space-between;align-items:center;gap:12px;padding:8px 0}.settings-compact .composer-toggle-row input{flex:none;margin:0}.settings-disclosure>summary{cursor:pointer;align-items:center;gap:12px;min-height:48px;list-style:none;display:flex}.settings-disclosure summary::-webkit-details-marker{display:none}.settings-disclosure>summary>strong{font-size:var(--fs-sm);font-weight:600}.settings-disclosure>summary>svg{color:var(--text-muted);flex:none}.settings-disclosure>summary>span{white-space:nowrap;text-overflow:ellipsis;min-width:0;color:var(--text-muted);font-size:var(--fs-xs);margin-left:auto;overflow:hidden}.settings-disclosure>summary>svg:last-child{transition:transform var(--t-fast) var(--ease)}.settings-disclosure[open]>summary>svg:last-child{transform:rotate(180deg)}.settings-disclosure-content{gap:20px;padding:8px 0 24px;display:grid}.settings-text-disclosure>summary{width:fit-content;min-height:36px;color:var(--text-secondary);font-size:var(--fs-xs);cursor:pointer;align-items:center;gap:8px;list-style:none;display:flex}.settings-text-disclosure[open]>summary>svg{transform:rotate(180deg)}.settings-text-disclosure .composer-prose{margin-top:4px}.settings-current{color:var(--text-muted);font-size:var(--fs-xs)}.composer-options-section-head .settings-current{margin-left:auto}.settings-compact .settings-backgrounds{grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;display:grid}.settings-compact .settings-backgrounds>button{aspect-ratio:1;border-radius:var(--r-continuous-control);corner-shape:squircle;background:var(--surface-raised);width:100%;min-width:0;color:var(--text-primary);box-shadow:inset 0 0 0 1px var(--line-strong);place-content:center;gap:4px;padding:0;display:grid;position:relative;overflow:hidden}.settings-backgrounds>button>img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.settings-backgrounds>button>svg{margin:auto}.settings-backgrounds>button:not(.settings-background-upload):not(.settings-background-more)>svg{display:none}.settings-backgrounds>button.selected>svg{background:var(--primary);width:16px;height:16px;color:var(--primary-text);border-radius:50%;padding:2px;position:absolute;top:5px;right:5px;display:block!important}.settings-backgrounds>button.selected{outline:1px solid var(--text-primary);outline-offset:2px}.settings-backgrounds>button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.settings-backgrounds>button>span{font-size:var(--fs-xs)}.settings-backgrounds .settings-background-upload{border:1px dashed var(--line-strong);box-shadow:none}.settings-backgrounds .settings-background-auto.selected>svg{display:none!important}.settings-media-thumbnail{background:var(--surface-raised);width:100%;height:100%;color:var(--text-muted);place-items:center;display:grid;position:relative;overflow:hidden}.settings-media-thumbnail>img,.settings-media-thumbnail>video{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.settings-compact .voice-drawer-advanced{border:0;margin:0;padding:0}.settings-compact .voice-drawer-advanced:empty{display:none}.settings-library-section{gap:8px;display:grid}.settings-library-toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.settings-library-toolbar>.btn{flex:none}.settings-selected-media{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:260px;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.settings-selected-media li{aspect-ratio:4/3;border-radius:var(--r-sm);min-width:0;position:relative;overflow:hidden}.settings-selected-media li>button{background:var(--surface);width:32px;height:32px;position:absolute;top:4px;right:4px}.settings-compact .composer-keep-original{padding-top:16px}.settings-compact .composer-keep-original p{margin-top:4px}.settings-library-view{gap:16px;display:grid}.settings-library-view:focus{outline:none}.settings-library-count{color:var(--text-muted);font-size:var(--fs-xs);white-space:nowrap}.settings-library-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.settings-library-grid>button{text-align:left;min-width:0;color:var(--text-primary);border-radius:var(--r-sm);box-shadow:none;border:0;padding:0;display:block;overflow:hidden}.settings-library-grid>button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.settings-library-preview{aspect-ratio:4/3;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.settings-library-check{border-radius:var(--r-sm);background:var(--surface);width:22px;height:22px;box-shadow:inset 0 0 0 1px var(--line-strong);place-items:center;display:grid;position:absolute;top:8px;right:8px}.settings-library-grid [aria-pressed=true] .settings-library-check{background:var(--text-primary);color:var(--surface)}.settings-library-empty{text-align:center;color:var(--text-muted);font-size:var(--fs-sm);padding:56px 12px}body:has(.settings-compact) .ui-select-item>span:not(.ui-select-check){text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}body:has(.settings-compact) .ui-select-check{flex:none}@media (max-width:520px){body:has(.settings-compact) .ui-select-content-expanded{min-width:0}body:has(.settings-compact) .ui-select-viewport-expanded{grid-template-rows:none;grid-auto-flow:row}.settings-compact .composer-options-head{padding:20px 16px 16px}.settings-compact .composer-options-body{gap:18px;padding:0 16px 16px}.settings-compact .composer-options-foot{padding:12px 16px 20px}.settings-pair{grid-template-columns:1fr;gap:12px}.settings-pair>section{grid-template-columns:112px minmax(0,1fr);align-items:center}.settings-compact .composer-option-grid>button{text-align:center;justify-content:center;padding:10px 6px}.settings-compact .composer-option-grid>button>svg{display:none}.settings-compact .composer-option-grid>button.selected{outline:1px solid var(--text-primary);outline-offset:2px}.settings-compact .composer-pace-grid strong{white-space:nowrap;font-size:11px}.settings-compact .settings-backgrounds{grid-template-columns:repeat(4,minmax(0,1fr))}.settings-compact .composer-style-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-disclosure>summary{gap:8px}.settings-disclosure>summary>span{max-width:44%}.settings-library-grid{gap:10px}.settings-library-toolbar{flex-wrap:wrap;gap:8px}}
