.image-studio-page{background-image:radial-gradient(#ffffff14 1px,#0000 1px);background-size:18px 18px;gap:28px;min-height:calc(100vh - 84px);padding:78px 0 64px;display:grid}.image-workbench{justify-items:center;width:min(960px,100vw - 64px);max-width:calc(100vw - 64px);margin:0 auto;display:grid;position:relative}.image-panel-title{color:#ffffffb8;justify-content:center;align-items:center;gap:14px;width:100%;margin-bottom:26px;display:flex}.image-panel-title h1{color:#ffffffb8;letter-spacing:0;margin:0;font-size:clamp(34px,4vw,52px);line-height:1}.studio-prompt-composer{width:100%;min-width:0}.studio-prompt-composer.is-expanded{width:min(1320px,100vw - 96px)}.studio-prompt-composer.is-video{justify-items:center;display:grid}.image-prompt-composer{background:#141414eb;border:1px solid #ffffff29;border-radius:26px;grid-template-columns:minmax(0,1fr);width:100%;min-height:228px;display:grid;position:relative;overflow:visible;box-shadow:0 28px 82px #00000094,inset 0 1px #ffffff12}.image-prompt-composer textarea{resize:none;scrollbar-width:none;color:#ffffffe6;background:0 0;border:0;outline:0;width:100%;height:auto;min-height:126px;padding:86px 28px 78px;font-size:18px;line-height:1.6;overflow:hidden}.image-prompt-composer textarea::-webkit-scrollbar{display:none}.image-prompt-composer.has-references textarea{padding-top:116px}.image-prompt-composer.has-preset textarea{padding-top:128px}.image-prompt-composer.has-references.has-preset textarea{padding-top:152px}.image-prompt-composer textarea::placeholder{color:#ffffff6b}.reference-upload,.prompt-edit-button,.image-composer-toolbar button,.image-tab{color:#ffffffa8;background:#ffffff12;border:1px solid #ffffff0f;border-radius:999px;justify-content:center;align-items:center;gap:7px;display:inline-flex}.reference-upload{z-index:3;color:#ffffffb8;background:#ffffff14;border-color:#ffffff1f;border-radius:14px;place-items:center;width:auto;height:46px;padding:0 16px 0 13px;transition:color .16s,background .16s,border-color .16s;display:inline-flex;position:absolute;top:20px;left:24px;box-shadow:inset 0 1px #ffffff0d}.reference-upload span{clip:auto;width:auto;height:auto;color:inherit;white-space:nowrap;font-size:13px;font-weight:850;position:static;overflow:visible}.reference-upload.is-counter{justify-content:space-between;width:72px;min-width:72px;padding:0 11px}.reference-upload.is-counter strong{font-variant-numeric:tabular-nums;font-size:12px;line-height:1}.reference-upload.is-at-limit{cursor:not-allowed;opacity:.52}.reference-upload:hover{color:#ffffffe6;background:#ffffff1f;border-color:#fff3}.studio-file-input{display:none}.reference-upload:disabled,.video-frame-upload:disabled{cursor:progress;opacity:.68}.reference-upload.is-at-limit:disabled{cursor:not-allowed;opacity:.52}.studio-reference-preview{z-index:2;scrollbar-width:none;gap:6px;min-width:0;max-width:calc(100% - 210px);display:grid;position:absolute;top:20px;left:166px;overflow:visible}.reference-preview-items{scrollbar-width:none;gap:8px;min-width:0;padding-right:6px;display:flex;overflow-x:auto}.image-prompt-composer.has-reference-counter .studio-reference-preview{max-width:calc(100% - 156px);left:112px}.studio-reference-preview.is-video{max-width:340px;top:104px;left:24px}.studio-reference-preview button{background:#ffffff14;border:1px solid #ffffff29;border-radius:12px;flex:none;width:46px;height:46px;padding:0;position:relative;overflow:hidden;box-shadow:0 8px 18px #00000042}.studio-reference-preview img,.studio-reference-preview video{object-fit:cover;width:100%;height:100%}.studio-reference-preview video{background:#0000006b}.studio-reference-preview button>.reference-remove{color:#ffffffeb;opacity:0;background:#00000094;border:1px solid #ffffff2e;border-radius:999px;place-items:center;width:16px;height:16px;font-size:13px;font-weight:900;line-height:1;transition:opacity .16s;display:grid;position:absolute;top:3px;right:3px}.studio-reference-preview button:hover>.reference-remove{opacity:1}.canvas-preset-badge{z-index:2;color:#ffffffe6;pointer-events:none;align-items:center;gap:8px;min-width:0;height:30px;display:flex;position:absolute;top:78px;left:24px;right:24px}.image-prompt-composer.has-references .canvas-preset-badge{top:82px}.canvas-preset-badge span{color:#fff;background:linear-gradient(135deg,#8b5cf6,#ec4899);border-radius:6px;flex:none;place-items:center;width:22px;height:22px;display:grid;box-shadow:0 8px 18px #a855f74d}.canvas-preset-badge strong{text-overflow:ellipsis;white-space:nowrap;flex:none;max-width:210px;font-size:15px;font-weight:820;line-height:1;overflow:hidden}.canvas-preset-badge em{color:#ffffff57;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;font-style:normal;font-weight:650;line-height:1;overflow:hidden}.canvas-preset-badge>button{color:#ffffff94;pointer-events:auto;background:#ffffff12;border:1px solid #ffffff1a;border-radius:7px;flex:none;place-items:center;width:26px;height:26px;margin-left:auto;padding:0;display:grid}.canvas-preset-badge>button:hover{color:#fff;background:#ffffff24}.image-composer-toolbar{scrollbar-width:none;background:#2f2a37c7;border-radius:0 0 18px 18px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;padding:8px;display:grid;position:absolute;bottom:12px;left:12px;right:12px;overflow:visible}.image-toolbar-scroll{scrollbar-width:none;align-items:center;gap:9px;min-width:0;display:flex;overflow-x:auto}.image-toolbar-scroll::-webkit-scrollbar{display:none}.image-toolbar-actions{flex:none;align-items:center;gap:4px;display:flex}.image-preset-menu-wrap{display:flex;position:relative}.image-composer-toolbar .image-application-trigger{color:#ffffffd1;background:linear-gradient(145deg,#ffffff21,#ffffff12);border:1px solid #ffffff1f;border-radius:12px;place-items:center;width:42px;min-width:42px;height:42px;min-height:42px;padding:0;transition:color .15s,background .15s,border-color .15s,transform .15s;display:grid;position:relative;box-shadow:inset 0 1px #ffffff14}.image-composer-toolbar .image-application-trigger:hover,.image-composer-toolbar .image-application-trigger.is-open{color:#fff;background:linear-gradient(145deg,#7467ff52,#5ec8ff29);border-color:#93aaff6b;transform:translateY(-1px)}.image-composer-toolbar button{white-space:nowrap;flex:none;min-height:36px;padding:0 14px;font-size:13px;font-weight:800}.image-composer-toolbar .studio-model-trigger,.video-composer-toolbar .studio-model-trigger{text-overflow:ellipsis;max-width:210px;overflow:hidden}.image-composer-toolbar .image-mode-active{color:#ffffffe0;background:#ffffff2e}.studio-model-trigger svg:last-child{opacity:.58;transition:transform .16s}.studio-model-trigger.is-open svg:last-child,.studio-param-trigger.is-open svg:last-child{transform:rotate(180deg)}.studio-param-trigger svg:last-child{opacity:.52;transition:transform .16s}.image-credit{color:#f5f1e8b8;white-space:nowrap;background:0 0;margin-left:0;padding:0 8px 0 12px;font-size:14px;font-weight:900;position:static}.image-composer-toolbar .image-generate-button{color:#fffc;background:#ffffff1f;width:38px;min-width:38px;height:38px;padding:0;position:static}.image-composer-toolbar .image-generate-button:disabled,.video-composer-toolbar .video-generate-button:disabled{cursor:not-allowed;opacity:.48}.studio-task-status{color:#ceffdcdb;text-overflow:ellipsis;white-space:nowrap;background:#285c408a;border:1px solid #95f5b538;border-radius:8px;width:100%;min-height:24px;margin-top:10px;padding:5px 10px;font-size:12px;font-weight:850;position:static;overflow:hidden}.studio-task-status.is-error{color:#ffd9d9e6;background:#68272b94;border-color:#ff8f8f3d}.image-model-popover{z-index:12;scrollbar-width:none;background:#101012fa;border:1px solid #ffffff1f;border-radius:10px;flex-direction:column;gap:0;width:min(172px,100% - 40px);max-height:421px;margin-top:0;padding:0;display:none;position:absolute;top:calc(100% + 10px);bottom:auto;left:20px;overflow:auto;box-shadow:0 16px 46px #0000007a}.image-model-popover.is-open{display:flex}.image-model-popover button{color:#ffffffbd;text-align:left;background:0 0;border:1px solid #0000;border-bottom-color:#ffffff0f;border-radius:0;flex:none;justify-content:space-between;align-items:center;gap:6px;min-height:35px;padding:0 12px;display:inline-flex}.image-model-popover button.is-selected{color:#fff;background:#ffffff18;border-color:#47a9ff75;box-shadow:inset 0 1px #ffffff0d}.studio-model-popover-head{justify-content:space-between;align-items:center;gap:12px;padding:4px 7px 6px;display:flex}.studio-model-popover-head span{color:#ffffffdb;font-size:13px;font-weight:900}.studio-model-popover-head em{color:#ffffff5c;font-size:12px;font-style:normal;font-weight:750}.studio-model-option-main{min-width:0;display:grid}.studio-model-option-title{color:#ffffffe6;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:900;overflow:hidden}.studio-model-option-meta{color:#ffffff6e;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:760;overflow:hidden}.studio-model-option-side{color:#f5f1e8bd;flex:none;justify-content:flex-end;align-items:center;gap:5px;font-size:12px;font-weight:900;display:flex}.studio-model-option-side em,.studio-model-option-side strong{color:#ffffffb8;border:1px solid #ffffff29;border-radius:5px;padding:2px 7px;font-size:10px;font-style:normal;font-weight:900;display:inline-flex}.studio-param-popover{z-index:12;background:#101012fa;border:1px solid #ffffff1f;border-radius:12px;gap:8px;width:min(316px,100% - 40px);padding:9px;display:none;position:absolute;top:calc(100% + 10px);bottom:auto;box-shadow:0 16px 46px #0000007a}.studio-param-popover.is-open{display:grid}.studio-param-popover.is-ratio{width:300px;left:280px}.studio-param-popover.is-quality{width:92px;left:420px}.studio-param-popover.is-count{width:180px;left:auto;right:20px}.studio-param-popover-head{color:#ffffffd1;padding:2px 3px;font-size:12px;font-weight:900}.studio-param-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.studio-param-grid.is-quality{grid-template-columns:1fr;gap:0}.studio-param-grid button{color:#ffffffad;background:#ffffff0e;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:4px;min-height:34px;padding:0 6px;font-size:12px;font-weight:850;display:inline-flex}.studio-param-grid button.is-selected{color:#fffffff2;background:#ffffff1f;border-color:#48a9ff75}.studio-param-grid.is-ratio-cards button{align-content:center;justify-items:center;gap:7px;min-height:76px;display:grid}.ratio-preview{width:30px;max-width:38px;aspect-ratio:var(--ratio);background:#ffffff57;border-radius:3px;display:block}.studio-param-grid button.is-selected .ratio-preview,.video-settings-grid button.is-selected .ratio-preview{background:#ffffffe0}.studio-count-selector{grid-template-columns:1fr 64px;align-items:center;gap:10px;min-height:36px;padding:0 10px;display:grid}.studio-count-selector label{color:#ffffffc2;font-size:12px;font-weight:900}.studio-count-selector input{color:#ffffffeb;text-align:center;background:#ffffff14;border:1px solid #ffffff21;border-radius:8px;outline:none;width:64px;height:30px;padding:0 8px;font-size:13px;font-weight:900}.studio-count-selector input:focus{border-color:#48a9ff8a;box-shadow:0 0 0 2px #48a9ff24}.studio-count-presets{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:0 10px 4px;display:grid}.studio-count-presets button{color:#ffffffd6;background:#4a4866b8;border:1px solid #0000;border-radius:8px;min-width:38px;min-height:28px;font-size:12px;font-weight:900}.studio-count-presets button.is-selected{color:#fffffff5;background:#48a9ff3d;border-color:#48a9ff7a}.studio-model-option-side strong{color:#f0a35f;border-color:#f0a35f47}.image-template-area{min-width:0}.image-tabs{gap:34px;width:min(100%,1640px);margin:0 auto 18px;display:flex}.image-tab{color:#ffffff94;background:0 0;border:0;border-radius:0;min-height:44px;padding:0;font-size:24px;font-weight:950;position:relative}.image-tab.is-active{color:#ffffffd1}.image-tab.is-active:after{content:"";background:#ffffffb8;border-radius:999px;height:3px;position:absolute;bottom:0;left:0;right:0}.image-template-grid{grid-template-columns:repeat(auto-fill,minmax(255px,1fr));grid-auto-rows:minmax(220px,300px);gap:2px;width:min(100%,1640px);margin:0 auto;padding-bottom:8px;display:grid;overflow:visible}.image-template-card{background:#101010;border:0;border-radius:0;min-width:0;position:relative;overflow:hidden}.image-template-card:nth-child(5n+1),.image-template-card:nth-child(5n+4){grid-row:span 2}.template-cover{cursor:pointer;text-align:left;background:#101010;width:100%;height:100%;min-height:220px;padding:0;display:block;position:relative;overflow:hidden}.template-remix-button{z-index:4;color:#fff;opacity:0;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:999px;min-height:34px;padding:0 14px;font-size:13px;font-weight:850;transition:opacity .16s,transform .16s;position:absolute;bottom:12px;right:12px;transform:translateY(8px)}.image-template-card:hover .template-remix-button,.template-remix-button:focus-visible{opacity:1;transform:translateY(0)}.template-cover>img{object-fit:cover;width:100%;height:100%}.template-cover:after{content:"";background:linear-gradient(#0000,#000000bd);height:44%;position:absolute;inset:auto 0 0}.template-cover>span{z-index:2;color:#ffffffe6;text-overflow:ellipsis;white-space:nowrap;background:#141414b8;border-radius:0 0 12px;max-width:92%;padding:7px 12px;font-size:14px;font-weight:850;position:absolute;top:0;left:0;overflow:hidden}.template-cover:focus-visible{outline-offset:-2px;outline:2px solid #8b5cf6f2}@media (max-width:760px){.image-template-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;gap:10px}.image-template-card{border-radius:14px}.image-template-card:nth-child(5n+1),.image-template-card:nth-child(5n+4){grid-row:auto}.template-cover{aspect-ratio:3/4;border-radius:14px;height:auto;min-height:0}.template-cover>span{border-radius:0 0 10px;max-width:calc(100% - 16px);padding:6px 10px;font-size:12px}.template-remix-button,.video-template-remix-button{opacity:1;min-height:30px;padding:0 12px;font-size:12px;bottom:8px;right:8px;transform:none}.template-detail-drawer{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:1fr;overflow-y:auto}.template-detail-preview{padding:60px 16px 16px}.template-detail-preview img{max-height:52vh}.template-detail-side{padding:22px 16px calc(32px + env(safe-area-inset-bottom))}}.template-detail-drawer{z-index:80;color:#ffffffe6;background:#080809f5;grid-template-columns:minmax(0,1fr) 360px;display:grid;position:fixed;inset:0}.template-detail-close{z-index:4;color:#fffc;background:#ffffff1f;border-radius:999px;place-items:center;width:38px;height:38px;display:grid;position:absolute;top:18px;right:18px}.template-detail-preview{background:#0b0b0c;place-items:center;min-width:0;padding:44px;display:grid}.template-detail-preview img{object-fit:contain;border-radius:8px;max-width:min(100%,1080px);max-height:calc(100vh - 88px)}.template-detail-side{background:#282828;align-content:start;gap:18px;padding:34px 24px 112px;display:grid}.template-detail-side h2{margin:0;padding-right:34px;font-size:18px;line-height:1.35}.template-detail-side>strong{color:#ffffffd1;font-size:14px}.template-reference-row{gap:10px;display:flex}.template-reference-row img{object-fit:cover;border:2px solid #6366f1bf;border-radius:8px;width:74px;height:74px}.template-result-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.template-result-row button{aspect-ratio:1;background:#ffffff14;border:2px solid #0000;border-radius:8px;padding:0;position:relative;overflow:hidden}.template-result-row button.is-active{border-color:#8b5cf6f2}.template-result-row img{object-fit:cover;width:100%;height:100%}.template-detail-meta{background:#ffffff0f;border:1px solid #ffffff14;border-radius:10px;gap:12px;margin:0;padding:14px;display:grid}.template-detail-meta div{grid-template-columns:minmax(0,1fr) auto;gap:12px;display:grid}.template-detail-meta dt,.template-detail-meta dd{color:#ffffff9e;margin:0;font-size:13px;font-weight:800}.template-detail-meta dd{color:#ffffffe0}.template-detail-prompt{color:#ffffffb8;background:#ffffff0e;border:1px solid #ffffff12;border-radius:8px;min-height:46px;margin:0;padding:12px;font-size:14px;line-height:1.5}.template-detail-actions{z-index:3;grid-template-columns:minmax(0,1fr) 128px;gap:12px;width:336px;display:grid;position:fixed;bottom:24px;right:24px}.template-detail-actions button,.template-detail-actions a{color:#fff;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:48px;font-size:15px;font-weight:900;display:inline-flex}.template-detail-actions a{color:#ffffffdb;background:#3b5677ad;border:1px solid #93c5fd2e}.studio-history-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;width:min(100%,1640px);margin:0 auto;padding-bottom:12px;display:grid}.studio-history-grid>.studio-history-card-shell{place-self:stretch stretch;width:100%;min-width:0}.studio-history-card{color:#ffffffd6;text-align:left;cursor:pointer;background:#101010;border:1px solid #ffffff14;border-radius:6px;grid-template-rows:auto auto auto;gap:8px;min-width:0;padding:0 0 12px;transition:border-color .16s,transform .16s;display:grid;overflow:hidden}.studio-history-card:hover{border-color:#ffffff38;transform:translateY(-2px)}.studio-history-cover{aspect-ratio:1;color:#ffffff6b;background:#ffffff0e;place-items:center;display:grid;position:relative;overflow:hidden}.studio-history-cover img,.studio-history-cover video{object-fit:cover;width:100%;height:100%}.studio-history-cover .studio-history-status{box-sizing:border-box;color:#ffffffdb;white-space:nowrap;background:#0000008f;border-radius:999px;justify-content:center;align-items:center;width:72px;min-width:72px;min-height:26px;padding:4px 8px;font-size:11px;font-weight:900;display:inline-flex;position:absolute;top:10px;right:10px;overflow:hidden}.studio-history-card.is-pending .studio-history-cover{background:linear-gradient(135deg,#7860ff2e,#ffffff0d)}.studio-history-cover .studio-history-loader{color:#ffffffc7;background:0 0;place-items:center;padding:0;display:grid;position:static;top:auto;right:auto}.studio-history-cover .studio-history-download{z-index:2;color:#ffffffeb;cursor:pointer;opacity:0;background:#00000094;border:1px solid #ffffff24;border-radius:999px;place-items:center;width:30px;height:30px;padding:0;transition:opacity .16s,background .16s;display:grid;position:absolute;top:10px;left:10px;right:auto}.studio-history-card:hover .studio-history-download,.studio-history-download:focus-visible{opacity:1}.studio-history-download:hover{background:#000000c7}.studio-history-cover .studio-history-loader svg{animation:.9s linear infinite studio-history-spin}@keyframes studio-history-spin{to{transform:rotate(360deg)}}.studio-history-card strong,.studio-history-card p{text-overflow:ellipsis;white-space:nowrap;margin:0 12px;overflow:hidden}.studio-history-card strong{font-size:14px;font-weight:900}.studio-history-card p{color:#ffffff7a;font-size:12px}.studio-history-empty{color:#ffffff70;background:#ffffff0b;border:1px solid #ffffff14;border-radius:8px;place-items:center;width:min(100%,1640px);min-height:220px;margin:0 auto;font-size:14px;font-weight:850;display:grid}.reference-stack{z-index:2;display:flex;position:absolute;bottom:12px;right:12px}.reference-stack img{object-fit:cover;width:42px;height:42px;transform:translateX(calc(var(--offset) * -10px));border:2px solid #000000b8;border-radius:9px}.history-detail-viewer{z-index:90;color:#ffffffe6;background:#1b1b1cfa;grid-template-columns:minmax(0,1fr) 416px;min-width:0;display:grid;position:fixed;inset:0}.history-detail-close{z-index:4;color:#ffffffd1;background:#ffffff2e;border:1px solid #ffffff14;border-radius:999px;place-items:center;width:52px;height:52px;display:grid;position:fixed;top:18px;right:18px}.history-detail-stage{background:#1b1b1c;place-items:center;min-width:0;padding:28px 36px;display:grid}.history-detail-stage img{object-fit:contain;border-radius:8px;max-width:min(100%,1120px);max-height:calc(100vh - 56px);box-shadow:0 22px 66px #00000057}.history-detail-empty{aspect-ratio:1;color:#ffffff57;background:#ffffff0e;border:1px solid #ffffff14;border-radius:12px;place-items:center;width:min(420px,72vw);display:grid}.history-detail-side{background:#202020;border-left:1px solid #ffffff12;align-content:start;gap:18px;min-width:0;padding:28px 18px 24px;display:grid;overflow-y:auto}.history-detail-side h2{color:#ffffffd1;text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;padding-right:56px;font-size:17px;font-weight:900;line-height:1.35;overflow:hidden}.history-detail-meta{background:#ffffff12;border:1px solid #ffffff14;border-radius:12px;gap:0;margin:0;display:grid;overflow:hidden}.history-detail-meta div{grid-template-columns:minmax(88px,1fr) minmax(0,auto);align-items:center;gap:16px;min-height:52px;padding:0 14px;display:grid}.history-detail-meta div+div{border-top:1px solid #ffffff0e}.history-detail-meta dt,.history-detail-meta dd{color:#ffffff94;min-width:0;margin:0;font-size:14px;font-weight:850}.studio-history-card-shell,.three-d-history-card,.human-task-card{position:relative}.studio-history-card-shell>.studio-history-card{width:100%;min-width:0;height:100%;padding-bottom:48px}.studio-history-delete{z-index:12;position:absolute;bottom:10px;right:10px}.studio-history-delete-trigger{color:#ffffffb8;cursor:pointer;pointer-events:none;opacity:0;background:#0e0e10c7;border:1px solid #ffffff24;border-radius:8px;place-items:center;width:28px;height:28px;padding:0;transition:opacity .15s,transform .15s,color .15s,background .15s,border-color .15s;display:grid;transform:translateY(3px)scale(.92);box-shadow:0 8px 20px #00000047}.studio-history-card-shell:hover .studio-history-delete-trigger,.three-d-history-card:hover .studio-history-delete-trigger,.audio-history-item:hover .studio-history-delete-trigger,.human-task-card:hover .studio-history-delete-trigger,.studio-history-delete.is-confirming .studio-history-delete-trigger,.studio-history-delete-trigger:focus-visible{opacity:1;pointer-events:auto;transform:translateY(0)}.studio-history-delete-trigger:hover{color:#ffb4b8;background:#801c24d1;border-color:#ff9ea457}.studio-history-delete-confirm{color:#ffffffeb;text-align:left;background:#1a1a1cfc;border:1px solid #ffffff26;border-radius:8px;gap:6px;width:230px;padding:13px;display:grid;position:absolute;bottom:38px;right:0;box-shadow:0 20px 54px #00000094}.studio-history-delete-confirm>strong{margin:0;font-size:13px}.studio-history-delete-confirm>span,.studio-history-delete-confirm>em{color:#ffffff7a;font-size:11px;font-style:normal;line-height:1.45}.studio-history-delete-confirm>em{color:#ff9da3}.studio-history-delete-confirm>div{justify-content:flex-end;gap:7px;margin-top:5px;display:flex}.studio-history-delete-confirm button{color:#ffffffc2;background:#ffffff12;border:1px solid #ffffff1a;border-radius:7px;justify-content:center;align-items:center;gap:5px;min-height:30px;padding:0 9px;display:inline-flex}.studio-history-delete-confirm button.is-danger{color:#fff;background:#a9323c;border-color:#0000}.studio-history-delete-confirm button:disabled{cursor:default;opacity:.56}@media (hover:none),(max-width:760px){.studio-history-delete-trigger{opacity:1;pointer-events:auto;transform:none}}.three-d-card.three-d-history-card{padding-bottom:52px}.audio-history-item{padding-bottom:50px;padding-right:52px}.human-task-card{padding-bottom:42px}.history-detail-meta dd{color:#ffffffd1;text-align:right;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.history-detail-prompt{color:#ffffffad;background:#ffffff0e;border:1px solid #ffffff12;border-radius:10px;max-height:180px;margin:0;padding:13px 14px;font-size:13px;font-weight:750;line-height:1.6;overflow-y:auto}.history-detail-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:auto;display:grid}.history-detail-actions button,.history-detail-actions a{color:#ffffffe0;background:#494584b8;border:1px solid #8077ee47;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-width:0;min-height:58px;padding:0 12px;font-size:15px;font-weight:900;display:inline-flex}.history-detail-actions button:nth-child(2){background:#63421ebd;border-color:#ed9e4047}.history-detail-actions a:nth-child(3){background:#1d5842b8;border-color:#47dc9940}.history-detail-actions a:nth-child(4),.history-detail-actions button:nth-child(4){background:#2d4a6cbd;border-color:#6aa8e840}.history-detail-actions button:disabled{cursor:not-allowed;opacity:.48}@media (max-width:760px){.history-detail-viewer{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:1fr}.history-detail-stage{padding:70px 16px 16px}.history-detail-stage img{max-height:58vh}.history-detail-side{border-top:1px solid #ffffff12;border-left:0;max-height:42vh;padding:18px 14px}.history-detail-actions{grid-template-columns:1fr}}
.video-studio-page{background-image:radial-gradient(#ffffff14 1px,#0000 1px);background-size:18px 18px;gap:42px;min-height:calc(100vh - 84px);padding:78px 0 64px;display:grid}.video-workbench{justify-items:center;width:min(960px,100vw - 64px);max-width:calc(100vw - 64px);margin:0 auto;display:grid;position:relative}.video-panel-title{color:#ffffffb8;justify-content:center;align-items:center;gap:14px;width:100%;margin-bottom:34px;display:flex}.video-panel-title h1{color:#ffffffb8;letter-spacing:0;margin:0;font-size:clamp(34px,4vw,52px);line-height:1}.video-mode-tabs{scrollbar-width:none;align-items:center;gap:4px;width:min(100%,960px);max-width:100%;margin-bottom:4px;padding:3px 2px 8px;display:flex;overflow-x:auto}.video-mode-tabs::-webkit-scrollbar{display:none}.video-template-filters::-webkit-scrollbar{display:none}.video-mode-tabs button{color:#ffffff8a;background:#ffffff0e;border:1px solid #ffffff0b;border-radius:11px;justify-content:center;align-items:center;gap:9px;min-height:42px;padding:0 18px;font-size:15px;font-weight:850;display:inline-flex}.video-mode-tabs button.is-active{color:#ffffffd1;background:#ffffff24;border-color:#8ec2ffd1;box-shadow:0 0 0 1px #8ec2ff2e,0 8px 24px #4689d82e}.video-prompt-composer{background:#141414f0;border:1px solid #ffffff29;border-radius:24px;width:100%;min-height:228px;display:grid;position:relative;overflow:visible;box-shadow:0 28px 82px #00000094,inset 0 1px #ffffff12}.video-prompt-composer textarea{resize:none;scrollbar-width:none;color:#ffffffe6;background:0 0;border:0;outline:0;width:100%;height:auto;min-height:126px;padding:86px 28px 78px;font-size:16px;line-height:1.6;overflow:hidden}.video-prompt-composer textarea::-webkit-scrollbar{display:none}.video-prompt-composer textarea::placeholder{color:#ffffff5c}.video-frame-upload{color:#ffffffb8;background:#ffffff14;border:1px solid #ffffff1f;border-radius:14px;justify-content:center;align-items:center;gap:7px;width:auto;height:46px;padding:0 16px 0 13px;transition:color .16s,background .16s,border-color .16s;display:inline-flex;position:static;box-shadow:inset 0 1px #ffffff0d}.video-frame-upload span{white-space:nowrap;font-size:13px;font-weight:850}.video-frame-upload.is-compact-channel{justify-content:space-between;width:72px;min-width:72px;padding:0 11px}.video-frame-upload.is-compact-channel strong{font-variant-numeric:tabular-nums;font-size:12px;line-height:1}.video-frame-upload.is-frame-slot{min-width:104px}.video-frame-upload.is-frame-slot.is-filled{color:#bfe0c5e6;background:#79b2841f;border-color:#9bd3a442}.video-frame-upload:focus-visible{outline-offset:2px;outline:2px solid #a4ceffdb}.video-frame-upload.is-video-source{width:auto}.video-reference-channels{z-index:3;scrollbar-width:none;gap:8px;display:flex;position:absolute;top:20px;left:24px;right:24px;overflow-x:auto}.video-frame-upload.is-audio-source{color:#ffd6b0d9}.video-frame-upload.is-audio-source:hover{color:#ffe8c8f2}.video-frame-upload:hover{color:#ffffffe6;background:#ffffff1f;border-color:#fff3}.video-frame-upload.is-at-limit{cursor:not-allowed;opacity:.52}.video-prompt-composer .studio-reference-preview,.video-prompt-composer .studio-reference-preview.is-video{max-width:calc(100% - 48px);top:78px;left:24px}.video-prompt-composer .studio-reference-preview.is-omni{max-width:none;top:78px;left:24px;right:24px}.studio-reference-preview.is-omni .reference-preview-items{gap:10px}.studio-reference-preview.is-omni button{background:#17191e;border-color:#ffffff24;border-radius:8px;width:96px;min-width:96px;height:104px}.studio-reference-preview.is-omni button:after{content:"";pointer-events:none;background:linear-gradient(#0000,#050608d6);position:absolute;inset:46% 0 0}.studio-reference-preview.is-omni button.is-audio:after{display:none}.studio-reference-preview.is-omni button.reference-add-tile{color:#ffffff85;background:#ffffff06;border:1px dashed #ffffff3d;align-content:center;place-items:center;gap:8px;display:grid}.studio-reference-preview.is-omni button.reference-add-tile:hover{color:#ffffffd6;background:#ffffff12;border-color:#ffffff75}.studio-reference-preview.is-omni button.reference-add-tile:after{display:none}.reference-add-tile span{width:auto;height:auto;color:inherit;opacity:1;background:0 0;border:0;border-radius:0;padding:0;font-size:11px;font-weight:760;position:static}.studio-reference-preview.is-omni img,.studio-reference-preview.is-omni video{object-fit:cover}.studio-reference-preview .reference-video-play{z-index:2;color:#ffffffeb;pointer-events:none;background:#00000085;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:32px;height:32px;padding:0;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.video-reference-count-badge{z-index:3;color:#fff;background:#4b4f58;border-radius:999px;place-items:center;min-width:22px;height:22px;padding:0 6px;font-size:12px;font-weight:800;display:grid;position:absolute;top:-6px;left:-6px;box-shadow:0 2px 8px #0000003d}.video-frame-upload:has(>.video-reference-count-badge){position:relative}.studio-reference-preview .reference-audio-thumb{color:#e0e2ede6;background:linear-gradient(145deg,#444857f5,#16181efa);align-content:center;place-items:center;gap:10px;display:grid;position:absolute;inset:0}.reference-audio-thumb audio{display:none}.reference-waveform{align-items:center;gap:2px;height:20px;display:flex}.reference-waveform i{opacity:.62;background:currentColor;border-radius:2px;width:2px;height:6px;display:block}.reference-waveform i:nth-child(2),.reference-waveform i:nth-child(7){height:11px}.reference-waveform i:nth-child(3),.reference-waveform i:nth-child(6){height:17px}.reference-waveform i:nth-child(4),.reference-waveform i:nth-child(5){height:20px}.studio-reference-preview .reference-type-badge{z-index:3;color:#ffffffe6;opacity:1;pointer-events:none;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#08090ca3;border:1px solid #ffffff1a;border-radius:5px;align-items:center;gap:4px;width:auto;height:22px;padding:0 6px;font-size:11px;font-weight:800;display:inline-flex;position:absolute;inset:auto auto 8px 8px}.studio-reference-preview button.is-audio .reference-type-badge{background:#242630d1}.studio-reference-preview .reference-duration{z-index:3;color:#ffffffe0;font-variant-numeric:tabular-nums;opacity:1;pointer-events:none;background:#08090c9e;border:1px solid #ffffff1a;border-radius:4px;align-items:center;width:auto;height:20px;padding:0 6px;font-size:10px;display:inline-flex;position:absolute;inset:8px auto auto 8px}.studio-reference-preview.is-omni button>.reference-remove{z-index:4;opacity:.72;width:20px;height:20px;top:6px;right:6px}.reference-kind-summary{color:#ffffff94;align-items:center;gap:10px;min-width:0;min-height:24px;font-size:12px;font-weight:720;display:flex}.reference-kind-summary span{white-space:nowrap}.reference-kind-summary small{color:#ffffff57;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:11px;overflow:hidden}.video-prompt-composer:has(.studio-reference-preview) textarea{padding-top:144px}.video-prompt-composer:has(.studio-reference-preview.is-omni){min-height:342px}.video-prompt-composer:has(.studio-reference-preview.is-omni) textarea{min-height:238px;padding-top:226px}.video-composer-toolbar{scrollbar-width:none;background:#302a38b8;border-radius:0 0 18px 18px;align-items:center;gap:9px;min-width:0;padding:8px;display:flex;position:absolute;bottom:12px;left:12px;right:12px;overflow-x:auto}.video-composer-toolbar button,.video-tab{color:#ffffffa8;background:#ffffff13;border:1px solid #ffffff0f;border-radius:999px;justify-content:center;align-items:center;gap:7px;display:inline-flex}.video-composer-toolbar button{white-space:nowrap;flex:none;min-height:36px;padding:0 14px;font-size:13px;font-weight:800}.video-credit{z-index:2;color:#f5f1e8b8;white-space:nowrap;background:linear-gradient(90deg,#302a3800,#302a38f5 24%);margin-left:auto;padding:0 8px 0 12px;font-size:14px;font-weight:900;position:sticky;right:48px}.video-composer-toolbar .video-generate-button{z-index:3;color:#ffffffc7;background:#ffffff1f;width:38px;min-width:38px;height:38px;padding:0;position:sticky;right:0}.video-submit-spinner{animation:.8s linear infinite video-submit-spin}@keyframes video-submit-spin{to{transform:rotate(360deg)}}.studio-history-cover .video-history-loader{z-index:2;color:#ffffffe6;background:#0000009e;border:1px solid #ffffff1f;border-radius:50%;place-items:center;width:32px;height:32px;padding:0;display:grid;position:absolute;inset:auto auto 10px 10px}.video-history-loader svg{animation:.8s linear infinite video-submit-spin}.video-model-popover{z-index:12;scrollbar-width:none;background:#101012fa;border:1px solid #ffffff1f;border-radius:10px;flex-direction:column;gap:0;width:min(172px,100% - 40px);max-height:300px;margin-top:0;padding:0;display:none;position:absolute;top:calc(100% + 10px);bottom:auto;left:20px;overflow:auto;box-shadow:0 16px 46px #0000007a}.video-model-popover.is-open{display:flex}.video-model-popover button{color:#ffffffd1;text-align:left;background:0 0;border:1px solid #0000;border-bottom-color:#ffffff0f;border-radius:0;flex:none;justify-content:space-between;align-items:center;gap:6px;min-height:35px;padding:0 12px;display:inline-flex}.video-model-popover button.is-selected{background:#ffffff18;border-color:#48a9ff75;box-shadow:inset 0 1px #ffffff0d}.video-settings-popover{z-index:12;color:#ffffffc7;background:#101012fa;border:1px solid #ffffff1f;border-radius:12px;width:min(360px,100% - 36px);padding:16px;display:none;position:absolute;top:calc(100% + 10px);bottom:auto;left:18px;box-shadow:0 18px 58px #00000085}.video-settings-popover.is-open{gap:16px;display:grid}.video-settings-section{gap:10px;display:grid}.video-settings-section+.video-settings-section{border-top:1px solid #ffffff14;padding-top:12px}.video-settings-head{color:#fffc;justify-content:space-between;align-items:center;gap:12px;font-size:13px;font-weight:850;display:flex}.video-settings-head strong{color:#fffffff0;font-size:16px}.video-settings-section input[type=range]{accent-color:#ffffffe6;width:100%}.video-duration-range{gap:10px;display:grid}.video-duration-custom{color:#ffffff75;grid-template-columns:34px minmax(0,1fr) 34px;align-items:center;gap:10px;font-size:11px;font-weight:800;display:grid}.video-duration-custom span:last-child{text-align:right}.video-duration-custom output{color:#ffffffeb;background:#ffffff12;border:1px solid #ffffff21;border-radius:8px;justify-content:center;align-items:center;height:36px;padding:0 30px 0 12px;font-size:13px;font-weight:850;display:flex;position:relative}.video-duration-custom em{color:#ffffff6b;font-size:11px;font-style:normal;position:absolute;top:50%;right:11px;transform:translateY(-50%)}.video-settings-label{color:#ffffff9e;font-size:12px;font-weight:850}.video-settings-grid{gap:6px;display:grid}.video-settings-grid.is-resolution{grid-template-columns:repeat(2,minmax(0,1fr))}.video-settings-grid.is-duration{grid-template-columns:repeat(auto-fit,minmax(48px,1fr))}.video-settings-grid.is-tier{grid-template-columns:repeat(2,minmax(0,1fr))}.video-settings-grid.is-ratio{grid-template-columns:repeat(6,minmax(0,1fr))}.video-settings-grid button{color:#ffffffa8;background:#ffffff0f;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;min-height:34px;padding:0 8px;font-size:12px;font-weight:850;display:inline-flex}.video-settings-grid.is-ratio button{align-content:center;justify-items:center;gap:5px;min-height:56px;padding:0 4px;display:grid}.video-settings-grid button.is-selected{color:#080808;background:#f2eee7f0;border-color:#ffffff85}.video-template-area{min-width:0}.video-tabs{gap:34px;width:min(100%,1640px);margin:0 auto 18px;display:flex}.video-template-filters{scrollbar-width:none;gap:8px;width:min(100%,1640px);margin:0 auto 20px;display:flex;overflow-x:auto}.video-template-filters button{color:#ffffff8c;background:#ffffff0d;border:1px solid #ffffff14;border-radius:999px;flex:none;min-height:34px;padding:0 14px;font-size:13px;font-weight:800}.video-template-filters button.is-active{color:#ffffffeb;background:#ffffff24;border-color:#ffffff57}.video-template-empty{color:#ffffff75;text-align:center;width:min(100%,1640px);margin:48px auto}.video-tab{color:#ffffff94;background:0 0;border:0;border-radius:0;min-height:44px;padding:0;font-size:24px;font-weight:950;position:relative}.video-tab.is-active{color:#ffffffd1}.video-tab.is-active:after{content:"";background:#ffffffb8;border-radius:999px;height:3px;position:absolute;bottom:0;left:0;right:0}.video-template-grid{column-count:4;column-gap:16px;width:min(100%,1640px);margin:0 auto;padding-bottom:12px;overflow:visible}.video-template-card{break-inside:avoid;background:#101010;border:1px solid #ffffff14;border-radius:6px;width:100%;min-width:0;margin:0 0 16px;display:inline-block;position:relative;overflow:hidden}.video-template-kind{z-index:1;color:#ffffffe6;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0a0a0aad;border:1px solid #fff3;border-radius:999px;padding:4px 8px;font-size:11px;font-style:normal;font-weight:800;position:absolute;top:12px;left:12px}.video-template-cover{width:100%;aspect-ratio:var(--media-ratio,16 / 9);text-align:left;background:#101010;border:0;border-radius:0;min-height:0;padding:0;display:block;position:relative;overflow:hidden}.video-template-cover:after{content:"";background:linear-gradient(#0000000a,#0000 48%,#0000008a);position:absolute;inset:0}.video-template-cover img,.video-template-cover video{object-fit:contain;width:100%;height:auto}.video-template-cover video{aspect-ratio:var(--media-ratio,16 / 9);background:#080808;display:block}.video-template-cover img{display:block}.video-template-remix-button{z-index:4;color:#fff;opacity:0;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:999px;min-height:34px;padding:0 14px;font-size:13px;font-weight:850;transition:opacity .16s,transform .16s;position:absolute;bottom:12px;right:12px;transform:translateY(8px)}.video-template-card:hover .video-template-remix-button,.video-template-remix-button:focus-visible{opacity:1;transform:translateY(0)}.video-template-cover>span{z-index:2;color:#ffffffe6;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;font-weight:850;line-height:1.35;display:-webkit-box;position:absolute;bottom:14px;left:14px;right:14px;overflow:hidden}.video-template-meta{z-index:2;pointer-events:none;justify-content:space-between;align-items:center;gap:8px;display:flex;position:absolute;top:14px;left:14px;right:14px}.video-template-meta em,.video-template-meta small{color:#ffffffe0;background:#0000007a;border:1px solid #ffffff1f;border-radius:999px;align-items:center;min-height:26px;padding:0 9px;font-size:12px;font-style:normal;font-weight:850;display:inline-flex}.video-template-detail-preview video{background:#050505;border-radius:8px;width:min(100%,1120px);max-height:calc(100vh - 88px)}.template-detail-summary{color:#ffffff9e;margin:0;font-size:14px;font-weight:760;line-height:1.45}.video-template-detail-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr)}.video-template-detail-actions button,.video-template-detail-actions a{min-width:0}.video-template-detail-actions button.is-edit{background:linear-gradient(135deg,#6d28d9,#7c3aed)}@media (max-width:760px){.video-studio-page{gap:24px;padding:58px 0 30px}.video-template-remix-button{opacity:1;position:absolute;transform:none}.video-prompt-composer .studio-reference-preview.is-omni{top:68px;left:16px;right:16px}.studio-reference-preview.is-omni button{width:88px;min-width:88px;height:96px}.reference-kind-summary{gap:8px;font-size:11px}.video-prompt-composer:has(.studio-reference-preview.is-omni) textarea{padding-top:210px}.video-template-detail-preview{padding:60px 14px 14px}.video-template-detail-preview video{width:100%;max-height:52vh}.video-template-detail-actions{grid-template-columns:1fr}}
.three-d-studio-page{color:#ffffffdb;background-image:radial-gradient(#ffffff14 1px,#0000 1px);background-size:18px 18px;gap:42px;min-height:calc(100vh - 84px);padding:78px 0 64px;display:grid}.three-d-workbench{justify-items:center;width:min(960px,100vw - 64px);max-width:calc(100vw - 64px);margin:0 auto;display:grid;position:relative}.three-d-title-row{color:#ffffffb8;justify-content:center;align-items:center;gap:14px;width:100%;margin-bottom:26px;display:flex}.three-d-title-row>svg{display:block}.three-d-title-row h1{color:#ffffffb8;letter-spacing:0;margin:0;font-size:clamp(34px,4vw,52px);font-weight:900;line-height:1}.three-d-kind-tabs{background:#ffffff0e;border:1px solid #ffffff12;border-radius:10px;align-items:center;gap:4px;max-width:100%;margin-bottom:10px;padding:4px;display:flex}.three-d-kind-tabs button{color:#ffffff8a;cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;gap:7px;min-height:34px;padding:0 12px;font-size:13px;font-weight:800;display:inline-flex}.three-d-kind-tabs button.is-active{color:#ffffffe6;background:#ffffff1f;box-shadow:0 4px 12px #0000002e}.three-d-mode-tabs{margin-bottom:4px}.three-d-composer{background:#141414f0;border:1px solid #ffffff29;border-radius:26px;width:100%;min-height:228px;display:grid;position:relative;overflow:visible;box-shadow:0 28px 82px #00000094,inset 0 1px #ffffff12}.three-d-composer textarea{resize:none;scrollbar-width:none;color:#ffffffe6;width:100%;height:auto;min-height:126px;font:inherit;background:0 0;border:0;outline:0;padding:86px 28px 78px;font-size:18px;line-height:1.6;overflow:hidden}.three-d-composer textarea::-webkit-scrollbar{display:none}.three-d-composer textarea::placeholder{color:#ffffff5c}.three-d-reference-upload{z-index:3;position:absolute;top:20px;left:24px}.three-d-reference-upload.has-range{width:92px;min-width:92px}.three-d-composer .studio-reference-preview,.three-d-composer .studio-reference-preview.is-video{max-width:calc(100% - 156px);top:20px;left:112px}.three-d-reference-upload.has-range+.studio-reference-preview{max-width:calc(100% - 176px);left:132px}.three-d-controls{scrollbar-width:none;z-index:8;background:#2f2a37c7;border-radius:0 0 18px 18px;align-items:center;gap:9px;min-width:0;padding:8px;display:flex;position:absolute;bottom:12px;left:12px;right:12px;overflow:auto visible}.three-d-picker{flex:none;min-width:0;position:relative}.three-d-picker-button{color:#ffffffa8;white-space:nowrap;cursor:pointer;background:#ffffff13;border:1px solid #ffffff0f;border-radius:999px;outline:0;justify-content:center;align-items:center;gap:7px;max-width:210px;min-height:36px;padding:0 14px;font-size:13px;font-weight:800;display:inline-flex}.three-d-picker-button span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.three-d-picker-button svg{color:#ffffffa3;flex:none}.three-d-picker-button:disabled{color:#ffffff7a;cursor:not-allowed}.three-d-picker.is-open .three-d-picker-button{color:#fffffff0;background:#ffffff24}.three-d-picker-menu{z-index:20;scrollbar-width:none;background:#101012fa;border:1px solid #ffffff1f;border-radius:10px;flex-direction:column;width:min(260px,100vw - 48px);max-height:300px;padding:0;display:flex;position:absolute;top:calc(100% + 22px);bottom:auto;left:0;overflow:auto;box-shadow:0 16px 46px #0000007a}.three-d-picker-menu button{color:#ffffffd1;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-bottom-color:#ffffff0f;border-radius:0;justify-content:space-between;align-items:center;gap:12px;min-height:42px;padding:6px 12px;display:flex}.three-d-picker-menu button:hover,.three-d-picker-menu button.is-selected{color:#fffffff0;background:#ffffff18;border-color:#48a9ff75}.three-d-picker-menu button>span{gap:2px;min-width:0;display:grid}.three-d-picker-menu strong,.three-d-picker-menu small{text-overflow:ellipsis;overflow:hidden}.three-d-picker-menu strong{font-size:13px;line-height:1.2}.three-d-picker-menu small{color:#ffffff6b;font-size:11px;line-height:1.2}.three-d-picker-empty{color:#ffffff7a;align-items:center;min-height:38px;padding:0 9px;font-size:12px;display:flex}.three-d-card button,.three-d-template-actions a,.three-d-card-actions a{color:#ffffffa8;white-space:nowrap;cursor:pointer;background:#ffffff13;border:1px solid #ffffff0f;border-radius:999px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:0 14px;font-weight:850;text-decoration:none;display:inline-flex}.three-d-controls .video-credit{z-index:2;color:#f5f1e8b8;white-space:nowrap;background:linear-gradient(90deg,#302a3800,#302a38f5 24%);margin-left:auto;padding:0 8px 0 12px;font-size:14px;font-weight:900;position:sticky;right:48px}.three-d-controls .video-generate-button{z-index:3;color:#ffffffc7;cursor:pointer;background:#ffffff1f;border:1px solid #ffffff0f;border-radius:999px;justify-content:center;align-items:center;width:38px;min-width:38px;height:38px;padding:0;display:inline-flex;position:sticky;right:0}.three-d-controls .video-generate-button:disabled{cursor:not-allowed;opacity:.48}.three-d-library{min-width:0}.three-d-tabs{gap:34px;width:min(100%,1640px);margin:0 auto 18px;display:flex}.three-d-tabs button{color:#ffffff94;cursor:pointer;background:0 0;border:0;border-radius:0;justify-content:center;align-items:center;min-height:44px;padding:0;font-size:24px;font-weight:950;display:inline-flex;position:relative}.three-d-tabs button.is-active{color:#ffffffd1}.three-d-tabs button.is-active:after{content:"";background:#ffffffb8;border-radius:999px;height:3px;position:absolute;bottom:0;left:0;right:0}.three-d-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;width:min(100%,1640px);margin:0 auto;padding-bottom:12px;display:grid}.three-d-card{color:#ffffffd1;background:#101010;border:1px solid #ffffff14;border-radius:8px;align-content:start;gap:0;min-width:0;padding:0;transition:transform .16s,border-color .16s,box-shadow .16s;display:grid;position:relative;overflow:hidden}.three-d-card.is-template{cursor:pointer}.three-d-card.is-template:hover{z-index:1;border-color:#fff3;transform:translateY(-3px);box-shadow:0 18px 42px #00000057}.three-d-card-visual{aspect-ratio:16/10;color:#ffffff75;background:radial-gradient(circle at 50% 40%,#ffffff1f,#0000 42%),#080808;place-items:center;display:grid;position:relative;overflow:hidden}.three-d-card-visual img{object-fit:cover;width:100%;height:100%;display:block}.three-d-card-visual:after{content:"";pointer-events:none;background:linear-gradient(#0000,#0505067a);height:42%;position:absolute;bottom:0;left:0;right:0}.three-d-card-visual-actions{z-index:2;gap:6px;display:flex;position:absolute;top:10px;right:10px}.three-d-card-visual-actions button,.three-d-card-visual-actions a{color:#ffffffe0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0a0a0cb8;border:1px solid #ffffff24;border-radius:7px;width:34px;min-width:34px;height:34px;min-height:34px;padding:0;box-shadow:0 7px 18px #00000047}.three-d-card-visual-actions button:hover,.three-d-card-visual-actions a:hover{color:#fff;background:#232327eb;border-color:#ffffff4d}.three-d-card .three-d-card-download{z-index:3;color:#ffffffeb;cursor:pointer;opacity:0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0a0a0cc2;border:1px solid #ffffff29;border-radius:999px;place-items:center;width:34px;min-width:34px;height:34px;min-height:34px;padding:0;transition:opacity .16s,transform .16s,background .16s,border-color .16s;display:grid;position:absolute;top:10px;left:10px;transform:translateY(-3px);box-shadow:0 7px 18px #0000004d}.three-d-card:hover .three-d-card-download,.three-d-card-download:focus-visible{opacity:1;transform:translateY(0)}.three-d-card .three-d-card-download:hover{color:#fff;background:#0a0a0cf0;border-color:#ffffff57}@media (hover:none){.three-d-card .three-d-card-download{opacity:1;transform:none}}.three-d-card-content{align-content:start;gap:10px;min-height:148px;padding:14px 14px 12px;display:grid}.three-d-card-heading{gap:9px;display:grid}.three-d-card-visual.has-source{background:radial-gradient(circle at 50% 38%,#6366f142,#0000 44%),linear-gradient(135deg,#ffffff0f,#0000),#080808}.three-d-card h2{color:#ffffffe6;margin:0;font-size:15px;line-height:1.35}.three-d-card-tags{flex-wrap:wrap;gap:6px;display:flex}.three-d-card-tags span{color:#e0e4ecb3;background:#fff1;border:1px solid #ffffff12;border-radius:5px;align-items:center;min-height:23px;padding:0 7px;font-size:11px;font-weight:750;display:inline-flex}.three-d-card p{color:#ffffff8f;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:40px;margin:0;font-size:13px;line-height:1.45;display:-webkit-box;overflow:hidden}.three-d-card-source{color:#ffffff61;background:0 0;border:0;border-radius:0;width:fit-content;margin:auto 0 0;padding:0;font-size:11px;font-weight:850;line-height:1.2}.three-d-card>button,.three-d-template-actions button{color:#111216;background:#f5f5f7f0;border-color:#ffffffe0;border-radius:7px;min-height:34px;font-size:13px}.three-d-template-actions button:hover{color:#050506;background:#fff}.three-d-template-actions{grid-template-columns:minmax(0,1fr);gap:8px;margin:0 14px 14px;display:grid}.three-d-template-actions button,.three-d-template-actions a{min-width:0;padding:0 12px}.three-d-template-actions a{width:38px;padding:0}.three-d-status{box-sizing:border-box;color:#ffffffa8;background:#ffffff14;border-radius:999px;justify-content:center;align-items:center;width:72px;min-width:72px;min-height:26px;margin:0 12px;padding:0 10px;font-size:12px;font-weight:850;display:inline-flex}.three-d-status.is-completed{color:#baffd6e6;background:#17a15e38}.three-d-status.is-failed{color:#ffc4c8eb;background:#ca303b38}.three-d-card-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 12px;display:grid}.three-d-history-card{gap:10px;padding-bottom:12px}.three-d-history-card h2,.three-d-history-card p{margin-left:12px;margin-right:12px}.three-d-viewer-overlay{z-index:180;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#000000c7;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.three-d-viewer{background:#090a0d;border:1px solid #ffffff26;border-radius:8px;width:min(1040px,100vw - 48px);height:min(760px,100vh - 48px);min-height:420px;position:relative;overflow:hidden;box-shadow:0 30px 90px #000000ad}.three-d-viewer-stage,.three-d-viewer-stage canvas{width:100%;height:100%;display:block}.three-d-viewer-state{z-index:2;color:#ffffff9e;background:#090a0d;align-content:center;place-items:center;gap:10px;display:grid;position:absolute;inset:0}.three-d-viewer-state strong{font-size:14px}.three-d-viewer-state span{color:#ffffff61;font-size:12px}.three-d-viewer-header{z-index:3;pointer-events:none;background:linear-gradient(#050608e0,#0000);justify-content:space-between;align-items:flex-start;gap:24px;padding:20px;display:flex;position:absolute;top:0;left:0;right:0}.three-d-viewer-header div{min-width:0}.three-d-viewer-header small{color:#fff6;font-size:10px;font-weight:850}.three-d-viewer-header h2{color:#ffffffe6;text-overflow:ellipsis;white-space:nowrap;max-width:min(620px,100vw - 160px);margin:5px 0 0;font-size:18px;line-height:1.3;overflow:hidden}.three-d-viewer-header button{pointer-events:auto;color:#ffffffd1;cursor:pointer;background:#0f1014b8;border:1px solid #ffffff24;border-radius:7px;justify-content:center;align-items:center;width:38px;min-width:38px;height:38px;padding:0;display:inline-flex}.three-d-viewer-hint{z-index:3;color:#ffffff94;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0c0d10a8;border:1px solid #ffffff1a;border-radius:6px;align-items:center;gap:7px;min-height:30px;padding:0 10px;font-size:11px;display:inline-flex;position:absolute;bottom:18px;left:50%;transform:translate(-50%)}.three-d-card-actions a:only-child,.three-d-card-actions button:only-child{grid-column:1/-1}.three-d-empty{color:#ffffff94;background:#101010;border:1px dashed #ffffff24;border-radius:6px;align-content:center;place-items:center;gap:10px;min-height:180px;display:grid}.three-d-spin{animation:.9s linear infinite three-d-spin}@keyframes three-d-spin{to{transform:rotate(360deg)}}@media (max-width:900px){.three-d-studio-page{padding-top:48px}.three-d-workbench,.three-d-tabs,.three-d-grid{width:min(100%,100vw - 28px);max-width:calc(100vw - 28px)}.three-d-controls{align-items:stretch;overflow:auto visible}.three-d-picker{min-width:150px}.three-d-tabs button{font-size:22px}.three-d-viewer-overlay{padding:0}.three-d-viewer{border:0;border-radius:0;width:100vw;height:100dvh;min-height:0}}
.workspace-main:has(.chat-studio-page){height:100dvh;padding:80px 20px 20px;overflow:hidden}.chat-studio-page{grid-template-columns:286px minmax(0,1fr);gap:14px;width:min(1720px,100%);height:calc(100dvh - 100px);min-height:0;max-height:calc(100dvh - 100px);margin:0 auto;display:grid;overflow:hidden}.chat-sidebar,.chat-main{background:#121214f0;border:1px solid #ffffff1a;min-width:0;box-shadow:0 20px 60px #00000040}.chat-sidebar{border-radius:14px;grid-template-rows:auto auto auto minmax(0,1fr);align-content:start;gap:12px;min-height:0;padding:14px;display:grid}.chat-sidebar-head,.chat-main-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.chat-sidebar-head span,.chat-main-head span,.chat-role,.chat-head-model-field span{color:#ffffff75;text-transform:uppercase;font-size:12px;font-weight:800}.chat-sidebar-head h1,.chat-main-head h2{color:#ffffffe6;letter-spacing:0;margin:3px 0 0;font-size:22px;line-height:1.15}.chat-sidebar-brand,.chat-main-title{align-items:center;gap:10px;min-width:0;display:flex}.chat-sidebar-mark,.chat-main-title-mark,.chat-empty-mark{color:#ffffffe0;background:#ffffff17;border:1px solid #ffffff1c;flex:none;place-items:center;display:grid}.chat-sidebar-mark{border-radius:10px;width:38px;height:38px}.chat-main-title-mark{border-radius:11px;width:40px;height:40px}.chat-sidebar-head button,.chat-composer button{color:#ffffffd6;background:#ffffff1f;border:1px solid #ffffff1f;border-radius:12px;flex:none;place-items:center;width:38px;height:38px;display:grid}.chat-new-button{color:#171717;background:#fffffff0;border:1px solid #fffffff0;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:42px;padding:0 14px;font-size:13px;font-weight:800;transition:transform .15s,background-color .15s;display:inline-flex}.chat-new-button span{color:inherit;font-size:inherit;font-weight:inherit;text-transform:none}.chat-new-button:hover:not(:disabled){background:#fff;transform:translateY(-1px)}.chat-sidebar-section-head{color:#fff6;justify-content:space-between;align-items:center;min-height:24px;padding:4px 5px 0;font-size:11px;font-weight:800;display:flex}.chat-sidebar-section-head span{text-transform:uppercase}.chat-sidebar-section-head small{color:#ffffff8c;background:#ffffff12;border-radius:6px;place-items:center;min-width:20px;height:20px;padding:0 6px;display:grid}.chat-history-toggle{display:none}.chat-sidebar-head button:disabled,.chat-new-button:disabled,.chat-composer button:disabled{cursor:not-allowed;opacity:.5}.chat-conversation-list{flex-direction:column;gap:5px;min-height:0;padding-right:2px;display:flex;overflow-y:auto}.chat-conversation-item{color:#ffffffb3;text-align:left;background:0 0;border:1px solid #0000;border-radius:9px;grid-template-columns:minmax(0,1fr) 30px;align-items:center;gap:8px;width:100%;padding:4px;transition:background-color .15s,border-color .15s;display:grid}.chat-conversation-item:hover{background:#ffffff0e}.chat-conversation-item.is-active{color:#ffffffeb;background:#ffffff1a;border-color:#ffffff1c}.chat-conversation-main{min-width:0;color:inherit;text-align:left;background:0 0;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px 10px;padding:5px;display:grid}.chat-conversation-main span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;font-weight:850;overflow:hidden}.chat-conversation-main small{color:#fff6;grid-column:2;font-size:12px}.chat-conversation-delete{color:#ffffff61;opacity:0;background:0 0;border-radius:8px;place-items:center;width:30px;height:30px;transition:color .16s,background .16s,opacity .16s;display:grid}.chat-conversation-item:hover .chat-conversation-delete,.chat-conversation-delete:focus-visible{opacity:1}.chat-conversation-delete:hover{color:#ffd7d7f2;background:#ff505024}.chat-conversation-delete.is-confirm,.chat-conversation-item:hover .chat-conversation-delete.is-confirm{color:#fff;opacity:1;background:#dc2626e6;animation:1.2s ease-in-out infinite chat-delete-pulse}.chat-conversation-delete.is-confirm:hover{background:#dc2626}@keyframes chat-delete-pulse{0%,to{box-shadow:0 0 #dc26268c}50%{box-shadow:0 0 0 4px #dc262600}}.chat-list-state,.chat-inline-state{color:#ffffff80;padding:14px;font-size:13px}.chat-list-state.is-guest,.chat-list-state.is-empty{background:#ffffff09;border:1px dashed #ffffff17;border-radius:10px;justify-items:start;gap:9px;margin-top:4px;padding:14px 12px;line-height:1.5;display:grid}.chat-list-state.is-error,.chat-inline-state.is-error,.chat-bubble.is-error{color:#ffd7d2}.chat-main{border-radius:16px;grid-template-rows:auto minmax(0,1fr) auto;height:100%;min-height:0;display:grid;overflow:hidden}.chat-main-head{border-bottom:1px solid #ffffff17;min-height:76px;padding:14px 18px}.chat-main-head h2{text-overflow:ellipsis;white-space:nowrap;max-width:min(560px,42vw);font-size:18px;overflow:hidden}.chat-head-model-field{gap:7px;width:min(360px,42vw);min-width:220px;display:grid}.chat-model-picker{min-width:0;position:relative}.chat-model-trigger{color:#ffffffe0;background:#ffffff14;border:1px solid #ffffff21;border-radius:12px;outline:0;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:38px;padding:5px 11px 5px 13px;transition:background-color .16s,border-color .16s,box-shadow .16s;display:flex}.chat-model-trigger:hover,.chat-model-picker.is-open .chat-model-trigger{background:#ffffff1f;border-color:#84a2ff7a}.chat-model-trigger-copy,.chat-model-option-copy{text-align:left;gap:2px;min-width:0;display:grid}.chat-model-trigger-copy strong,.chat-model-option-copy strong{color:inherit;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:820;overflow:hidden}.chat-model-trigger-copy small,.chat-model-option-copy small{color:#ffffff75;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.25;overflow:hidden}.chat-model-trigger-copy small:empty{display:none}.chat-model-trigger>svg,.chat-model-option>svg{flex:none}.chat-model-trigger>svg{transition:transform .16s}.chat-model-picker.is-open .chat-model-trigger>svg{transform:rotate(180deg)}.chat-model-menu{z-index:30;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);scrollbar-color:#fff3 transparent;scrollbar-width:thin;background:#18181bfa;border:1px solid #ffffff24;border-radius:14px;width:max(100%,330px);max-height:min(58vh,520px);padding:6px;display:grid;position:absolute;top:calc(100% + 8px);right:0;overflow-y:auto;box-shadow:0 22px 60px #0000006b}.chat-model-option{color:#ffffffc7;text-align:left;background:0 0;border:1px solid #0000;border-radius:9px;justify-content:space-between;align-items:center;gap:12px;min-width:0;min-height:48px;padding:7px 10px;transition:background-color .14s,border-color .14s,color .14s;display:flex}.chat-model-option:hover,.chat-model-option.is-selected{color:#fffffff5;background:#84a2ff2b;border-color:#84a2ff42}.chat-model-option.is-selected svg{color:#8eafff}.chat-message-list{overscroll-behavior:contain;background-image:radial-gradient(#ffffff0b .7px,#0000 .7px);background-size:20px 20px;flex-direction:column;height:100%;min-height:0;padding:26px 5% 32px;display:flex;overflow-y:auto}.chat-empty{color:#ffffff7a;text-align:center;place-content:center;justify-items:center;gap:9px;width:min(680px,100%);min-height:100%;margin:0 auto;display:grid}.chat-empty-mark{border-radius:16px;width:58px;height:58px;margin-bottom:6px;box-shadow:0 14px 40px #0003}.chat-empty-kicker{color:#ffffff6b;text-transform:uppercase;font-size:11px;font-weight:800}.chat-empty strong{color:#ffffffdb;font-size:23px}.chat-empty p{max-width:430px;margin:0;line-height:1.6}.chat-empty-primary{color:#111;background:#fff;border-radius:9px;align-items:center;gap:10px;min-height:42px;margin-top:10px;padding:0 18px;font-size:14px;font-weight:800;display:inline-flex;box-shadow:0 8px 24px #ffffff1f}.chat-suggestions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:min(560px,100%);margin-top:16px;display:grid}.chat-suggestions button{color:#ffffffb3;text-align:left;background:#ffffff0b;border:1px solid #ffffff17;border-radius:10px;align-items:center;gap:10px;min-width:0;min-height:48px;padding:0 13px;transition:background-color .15s,border-color .15s,transform .15s;display:flex}.chat-suggestions button:hover{color:#fffffff0;background:#ffffff16;border-color:#ffffff29;transform:translateY(-1px)}.chat-suggestions button svg{color:#9eb8ff;flex:none}.chat-suggestions button span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;font-weight:750;overflow:hidden}.chat-message-row{gap:11px;width:100%;max-width:980px;margin-bottom:18px;margin-left:auto;margin-right:auto;display:flex}.chat-message-row.is-user{flex-direction:row-reverse}.chat-avatar{color:#ffffffc2;background:#ffffff1a;border:1px solid #ffffff1f;border-radius:10px;flex:none;place-items:center;width:32px;height:32px;display:grid}.chat-bubble{color:#ffffffdb;background:#ffffff16;border:1px solid #ffffff14;border-radius:14px;width:fit-content;min-width:0;max-width:min(760px,78%);padding:12px 14px}.chat-message-row.is-user .chat-bubble{background:#5681ff38;border-color:#84a2ff33}.chat-markdown{gap:8px;min-width:0;display:grid}.chat-markdown p,.chat-markdown .chat-paragraph,.chat-markdown h2,.chat-markdown h3,.chat-markdown h4,.chat-markdown h5,.chat-markdown ol,.chat-markdown ul,.chat-markdown blockquote,.chat-markdown pre{margin:0}.chat-markdown .chat-paragraph{gap:4px;display:grid}.chat-markdown h2,.chat-markdown h3,.chat-markdown h4,.chat-markdown h5{color:#fffffff0;font-size:16px;line-height:1.35}.chat-markdown h3,.chat-markdown h4,.chat-markdown h5{font-size:15px}.chat-markdown p,.chat-markdown li{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.65}.chat-markdown ul,.chat-markdown ol{padding-left:20px}.chat-markdown li+li{margin-top:4px}.chat-markdown strong{color:#fffffff5;font-weight:850}.chat-markdown .chat-strong-line{color:#fffffff5;font-size:15px;line-height:1.55;display:block}.chat-markdown blockquote{color:#ffffffb8;background:#ffffff0e;border-left:3px solid #84a2ff8c;border-radius:8px;padding:8px 10px}.chat-markdown pre{color:#ffffffe0;background:#00000052;border:1px solid #ffffff1a;border-radius:10px;min-width:0;max-width:100%;padding:12px;overflow-x:auto}.chat-markdown code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13px}.chat-markdown :not(pre)>code{background:#00000047;border:1px solid #ffffff14;border-radius:5px;padding:2px 5px}.chat-caret{vertical-align:-.18em;background:#ffffffbd;width:7px;height:1.1em;margin-left:2px;animation:.9s step-end infinite chat-caret;display:inline-block}.chat-bubble.is-thinking{align-items:center;gap:8px;display:inline-flex}.chat-composer{background:#1e1e21f7;border:1px solid #ffffff1f;border-radius:15px;grid-template-columns:minmax(0,1fr) auto;align-items:flex-end;gap:8px;margin:0 18px 18px;padding:8px;display:grid;box-shadow:0 16px 44px #00000047,inset 0 1px #ffffff0a}.chat-composer-row{align-items:flex-end;gap:10px;min-width:0;display:flex}.chat-composer textarea{resize:none;field-sizing:content;color:#ffffffe6;background:0 0;border:0;border-radius:8px;outline:0;flex:auto;min-height:42px;max-height:180px;padding:10px 8px;font-size:15px;line-height:1.5}.chat-upload-button{flex:none;align-self:flex-end}.chat-upload-button.is-active{color:#fff;background:#5681ff52;border-color:#84a2ff61}.chat-composer>button[type=submit]{color:#151515;background:#fffffff0;border-color:#fffffff0}.chat-composer>button[type=submit]:hover:not(:disabled){background:#fff}.chat-voice-panel{background:#fff1;border:1px solid #ffffff1c;border-radius:16px;grid-column:1/-1;gap:12px;min-width:0;padding:14px;display:grid}.chat-voice-panel-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.chat-voice-panel-head div{gap:3px;display:grid}.chat-voice-panel-head span,.chat-voice-filters span{color:#ffffff7a;text-transform:uppercase;font-size:11px;font-weight:850}.chat-voice-panel-head strong{color:#ffffffe6;font-size:15px}.chat-voice-panel-head button{border-radius:9px;width:30px;height:30px}.chat-voice-filters{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.chat-voice-filters label{gap:6px;min-width:0;display:grid}.chat-voice-filters select,.chat-clone-box input{color:#ffffffe0;background:#00000038;border:1px solid #ffffff1f;border-radius:10px;outline:0;width:100%;min-width:0;min-height:34px;padding:0 10px}.chat-voice-list{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;max-height:224px;padding-right:2px;display:grid;overflow-y:auto}.chat-voice-card{place-items:initial;text-align:left;background:#0000002e;border-radius:12px;grid-template-columns:34px minmax(0,1fr) 16px;align-items:center;gap:9px;width:100%;height:auto;min-height:74px;padding:9px;display:grid}.chat-voice-card.is-selected{background:#5681ff38;border-color:#84a2ff52}.chat-voice-avatar{color:#fff;background:linear-gradient(135deg,#5681ffcc,#23c59ab3);border-radius:11px;place-items:center;width:34px;height:34px;display:grid}.chat-voice-card span:nth-child(2){gap:3px;min-width:0;display:grid}.chat-voice-card strong,.chat-voice-card small,.chat-voice-card em{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.chat-voice-card strong{color:#ffffffe6;font-size:13px}.chat-voice-card small{color:#ffffff8f;font-size:11px}.chat-voice-card em{color:#addaffe6;font-size:11px;font-style:normal}.chat-voice-empty{color:#ffffff8c;grid-column:1/-1;align-items:center;gap:8px;padding:12px;font-size:13px;display:inline-flex}.chat-voice-actions{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;display:grid}.chat-voice-primary,.chat-clone-box button{white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:7px;width:auto;min-width:0;height:36px;padding:0 12px;display:inline-flex}.chat-voice-primary{background:#5681ffe0;border-color:#84a2ff61}.chat-clone-box{grid-template-columns:minmax(150px,.9fr) minmax(170px,1fr) auto;gap:8px;min-width:0;display:grid}.chat-clone-box button span{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:170px;overflow:hidden}.chat-copy-button{color:#ffffff8c;cursor:pointer;opacity:0;background:0 0;border:1px solid #ffffff1f;border-radius:8px;align-items:center;gap:5px;margin-top:8px;padding:3px 9px;font-size:11px;font-weight:600;transition:opacity .15s,color .15s,border-color .15s;display:inline-flex}.chat-message-row:hover .chat-copy-button,.chat-copy-button:focus-visible{opacity:1}.chat-copy-button:hover{color:#ffffffe6;border-color:#ffffff47}.chat-model-notice,.chat-composer-notice{color:#cfe0ff;background:#5681ff29;border:1px solid #84a2ff3d;border-radius:9px;grid-column:1/-1;padding:6px 11px;font-size:12px}.chat-attachment-hint{color:#ffffff6b;grid-column:1/-1;font-size:11px}.chat-attachment-tray{flex-wrap:wrap;grid-column:1/-1;gap:8px;display:flex}.chat-attachment-chip,.chat-message-attachments a{color:#ffffffc7;text-overflow:ellipsis;white-space:nowrap;background:#ffffff14;border:1px solid #ffffff1a;border-radius:999px;align-items:center;gap:7px;max-width:min(360px,100%);min-height:30px;padding:0 9px;font-size:12px;display:inline-flex;overflow:hidden}.chat-attachment-preview{color:#ffffffc7;background:#ffffff14;border:1px solid #ffffff1a;border-radius:14px;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:10px;width:min(360px,100%);min-height:68px;padding:6px 8px 6px 6px;display:grid;overflow:hidden}.chat-attachment-preview img{object-fit:cover;background:#ffffff14;border-radius:10px;width:56px;height:56px}.chat-attachment-preview span{gap:4px;min-width:0;display:grid}.chat-attachment-preview strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;font-weight:750;overflow:hidden}.chat-attachment-chip em,.chat-attachment-preview em,.chat-message-attachments span{color:#a5cdfff2;text-transform:uppercase;font-style:normal;font-weight:900}.chat-attachment-chip button,.chat-attachment-preview button{color:#ffffffad;background:0 0;border:0;min-height:22px;padding:0}.chat-message-attachments{flex-wrap:wrap;gap:7px;margin:4px 0 9px;display:flex}.chat-message-attachments a{text-decoration:none}.chat-message-attachments .chat-message-image-attachment{white-space:normal;border-radius:14px;gap:7px;max-width:240px;padding:7px;display:grid}.chat-message-image-attachment img{object-fit:cover;border-radius:10px;width:100%;max-height:170px}.chat-message-image-attachment span{color:#ffffffb8;text-overflow:ellipsis;text-transform:none;white-space:nowrap;min-width:0;font-size:12px;font-weight:700;display:block;overflow:hidden}.chat-composer textarea::placeholder{color:#ffffff61}.chat-dialog-backdrop{z-index:70;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0000008a;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.chat-name-dialog{background:#141416f5;border:1px solid #ffffff24;border-radius:16px;gap:16px;width:min(420px,100%);padding:20px;display:grid;box-shadow:0 28px 90px #0000007a}.chat-name-dialog span{color:#ffffff75;text-transform:uppercase;font-size:12px;font-weight:850}.chat-name-dialog h3{color:#ffffffeb;margin:4px 0 0;font-size:20px;line-height:1.25}.chat-name-dialog input{color:#ffffffe6;background:#ffffff14;border:1px solid #ffffff1c;border-radius:12px;outline:0;width:100%;min-height:46px;padding:0 13px}.chat-name-dialog input:focus{border-color:#84a2ff80;box-shadow:0 0 0 3px #84a2ff1f}.chat-name-dialog-actions{justify-content:flex-end;gap:10px;display:flex}.chat-name-dialog-actions button{color:#ffffffd1;background:#ffffff14;border:1px solid #ffffff1a;border-radius:10px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:0 14px;display:inline-flex}.chat-name-dialog-actions button[type=submit]{color:#08111f;background:#f5f1e8eb;border-color:#f5f1e8eb}.chat-name-dialog-actions button:disabled{cursor:not-allowed;opacity:.55}.is-spinning{animation:.9s linear infinite chat-spin}@keyframes chat-spin{to{transform:rotate(360deg)}}@keyframes chat-caret{50%{opacity:0}}@media (max-width:920px){.workspace-main:has(.chat-studio-page){padding:72px 12px 12px}.chat-studio-page{grid-template-columns:1fr;height:calc(100dvh - 84px);max-height:calc(100dvh - 84px)}.chat-sidebar{grid-template-rows:auto auto auto minmax(0,1fr);max-height:260px}.chat-main{min-height:0}.chat-main-head{flex-wrap:wrap;align-items:flex-start}.chat-head-model-field,.chat-model-menu{width:100%;min-width:0}.chat-bubble{max-width:86%}}@media (max-width:760px){.workspace-main:has(.chat-studio-page){height:100dvh;padding:10px 10px calc(82px + env(safe-area-inset-bottom));overflow:hidden}.chat-studio-page{height:calc(100dvh - 92px - env(safe-area-inset-bottom));max-height:calc(100dvh - 92px - env(safe-area-inset-bottom));background:0 0;grid-template-rows:auto minmax(0,1fr);gap:10px;padding:0}.chat-sidebar,.chat-main{border-color:#ffffff1a;box-shadow:0 16px 46px #00000042}.chat-sidebar{border-radius:16px;grid-template-rows:auto auto auto;grid-template-columns:minmax(0,1fr) auto;gap:9px;max-height:none;padding:10px}.chat-new-button{grid-area:1/2;width:36px;min-height:36px;padding:0}.chat-new-button span,.chat-sidebar-section-head{display:none}.chat-history-toggle{color:#ffffff9e;background:#ffffff0e;border:1px solid #ffffff12;border-radius:10px;grid-column:1/-1;justify-content:space-between;align-items:center;min-height:34px;padding:0 10px;font-size:12px;font-weight:750;display:flex}.chat-history-toggle svg{transition:transform .16s}.chat-history-toggle.is-open svg{transform:rotate(180deg)}.chat-sidebar-head h1{text-overflow:ellipsis;white-space:nowrap;max-width:230px;font-size:18px;overflow:hidden}.chat-sidebar-head span,.chat-main-head span,.chat-role,.chat-head-model-field span{font-size:10px}.chat-sidebar-head button,.chat-composer button{border-radius:11px;width:36px;height:36px}.chat-conversation-list{scrollbar-width:none;flex-direction:row;grid-column:1/-1;gap:7px;min-height:54px;padding:0 1px 2px;display:none;overflow:auto hidden}.chat-conversation-list.is-open{display:flex}.chat-conversation-list::-webkit-scrollbar{display:none}.chat-conversation-item{border-radius:13px;flex:0 0 min(188px,58vw);grid-template-columns:minmax(0,1fr) 28px;gap:4px;min-height:54px;padding:5px}.chat-conversation-main{gap:5px 7px;padding:4px}.chat-conversation-main span{font-size:12px}.chat-conversation-main small{font-size:10px}.chat-conversation-delete{opacity:1;width:28px;height:28px}.chat-list-state{flex:0 0 100%;padding:10px}.chat-main{border-radius:16px}.chat-main-head{align-items:stretch;gap:9px;min-height:0;padding:10px}.chat-main-title-mark{width:36px;height:36px}.chat-main-head h2{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:17px;overflow:hidden}.chat-head-model-field{gap:5px}.chat-model-trigger{border-radius:11px;min-height:36px}.chat-message-list{padding:14px 10px 16px}.chat-empty{gap:8px;padding:22px}.chat-empty-mark{border-radius:14px;width:50px;height:50px}.chat-suggestions{grid-template-columns:1fr;width:min(360px,100%);margin-top:10px}.chat-suggestions button{min-height:42px}.chat-empty strong{font-size:20px}.chat-empty p{font-size:13px;line-height:1.5}.chat-message-row{gap:8px;margin-bottom:14px}.chat-avatar{border-radius:9px;width:28px;height:28px}.chat-bubble{border-radius:13px;max-width:calc(100% - 38px);padding:10px 11px}.chat-markdown{gap:7px}.chat-markdown p,.chat-markdown li{font-size:14px;line-height:1.58}.chat-markdown h2,.chat-markdown h3,.chat-markdown h4,.chat-markdown h5,.chat-markdown .chat-strong-line{font-size:14px}.chat-markdown pre{border-radius:9px;padding:10px;font-size:12px}.chat-copy-button{opacity:1}.chat-composer{border-radius:13px;grid-template-columns:minmax(0,1fr) 36px;gap:8px;margin:0 8px 8px;padding:7px}.chat-composer-row{gap:8px}.chat-composer textarea{resize:none;border-radius:8px;min-height:42px;max-height:116px;padding:10px 7px;font-size:14px}.chat-attachment-tray{gap:6px;max-height:120px;padding-right:1px;overflow-y:auto}.chat-attachment-preview{border-radius:12px;grid-template-columns:44px minmax(0,1fr) 24px;min-height:56px}.chat-attachment-preview img{border-radius:9px;width:44px;height:44px}.chat-attachment-chip,.chat-message-attachments a{max-width:100%}.chat-message-attachments .chat-message-image-attachment{max-width:min(220px,100%)}.chat-name-dialog{border-radius:15px;padding:18px}.chat-name-dialog-actions{grid-template-columns:1fr 1fr;display:grid}}
