@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";:root{font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;color:#3d4655;background:#fff;font-synthesis:none;font-size:12px;--orange: #f46b37;--line: #e9eaee;--muted: #929bab;--surface: #f7f8fb;--ink: #192231}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;border:0;background:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0}button:disabled{cursor:not-allowed;opacity:.45}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{transition:background .15s,color .15s,border-color .15s,box-shadow .15s}button:focus-visible,a:focus-visible{outline:2px solid #f3a182;outline-offset:3px}input,textarea,select{outline:none}input:focus,textarea:focus,select:focus{border-color:#f5b091!important}input::placeholder,textarea::placeholder{color:#a0a5ae}input[type=checkbox]{accent-color:var(--orange);cursor:pointer}textarea{resize:none}input[type=number]{-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}h1,h2,h3,h4,p{margin:0}h1{font-size:23px;color:var(--ink);font-weight:650}h2{font-size:16px;font-weight:650;color:var(--ink)}h3{font-size:13px;font-weight:600}a{color:inherit;text-decoration:none}svg{flex-shrink:0}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-thumb{background:#dfe2e8;border-radius:9px}::-webkit-scrollbar-track{background:transparent}.orange{color:var(--orange)}.muted{color:#9199a8;font-size:12px;line-height:1.85;margin:12px 0}.centered{text-align:center}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{height:100dvh;min-height:480px;overflow:hidden}.titlebar{height:28px;border-bottom:1px solid #f0f0f2;position:relative;background:#fff;-webkit-user-select:none;user-select:none}.window-controls{display:flex;align-items:center;gap:31px;position:absolute;right:15px;top:9px;color:#8f9095}.app-body{height:calc(100% - 28px);display:flex;flex-direction:column}.main-nav{width:100%;height:56px;flex:0 0 56px;border-bottom:1px solid #f0f0f2;display:flex;align-items:center;z-index:20;background:#fff;padding:0 15px 0 8px;gap:10px}.brand-logo{width:48px;height:48px;flex:0 0 48px}.brand-logo img{width:30px;height:30px;object-fit:contain}.nav-main{display:flex;flex:1 1 0;gap:4px;min-width:0;align-items:center;overflow-x:auto;scrollbar-width:none}.nav-main::-webkit-scrollbar{display:none}.nav-item{position:relative;flex:0 0 auto;gap:7px;min-width:65px;height:36px;padding:0 10px;color:#9aa5b5;border-radius:6px;font-size:11px;line-height:1.1;font-weight:400}.nav-item>svg{width:17px;height:17px}.nav-item:hover{background:#f7f8fa;color:#647184}.nav-item.active{color:var(--orange);background:#faf3ef}.nav-item.active:before{content:"";position:absolute;left:10px;right:10px;bottom:0;height:2px;border-radius:2px;background:var(--orange)}.nav-item small{position:absolute;right:-2px;top:0;border:1px solid #ffb390;color:#f17442;background:#fff2e9;padding:1px 3px;border-radius:6px;font-size:6px;z-index:3}.nav-bottom{display:flex;flex:0 0 auto;gap:3px;padding-left:10px;border-left:1px solid #f0f0f2}.main-content{min-width:0;flex:1;min-height:0;overflow:hidden}.creation-layout{display:flex;height:100%}.creation-module-nav{display:flex;flex:0 0 92px;flex-direction:column;align-items:center;gap:6px;padding:15px 8px;border-right:1px solid #f0f0f2;background:#fff}.creation-module{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:76px;min-height:62px;border-radius:6px;color:#8793a2;font-size:10px;white-space:nowrap}.creation-module:hover{color:var(--orange);background:#f9f6f4}.creation-module.active{color:var(--orange);background:#fff3ed;font-weight:600}.creation-panel{width:385px;flex-shrink:0;padding:13px 14px;border-right:1px solid #f0f0f2;overflow:auto;background:#fff}.draw-layout .creation-panel{display:flex;flex-direction:column;min-height:0}.enhance-switch{height:36px;display:flex;align-items:center;gap:7px;padding:0 11px;background:#f8f9fb;border:1px solid #e5e7ec;border-radius:5px;font-size:10px;font-weight:600;cursor:pointer}.enhance-switch input{width:12px;height:12px;margin:0}.enhance-switch.enabled{background:#fff8f4;border-color:#f3d5c5}.enhance-switch button{margin-left:auto;font-size:9px;color:var(--orange)}.segments{display:flex;background:#f1f3fa;border-radius:7px;padding:3px;gap:2px}.segments>button{flex:1;white-space:nowrap;border-radius:5px;color:#778191;font-weight:600}.segments>button.selected{background:#fff;color:var(--orange);box-shadow:0 1px 5px #d9dde326}.creation-tabs{height:34px;margin:9px 0}.creation-tabs button{font-size:12px}.upload-label{font-size:10px;margin-bottom:4px;color:#626a76;display:flex;justify-content:space-between}.upload-label>span{color:#a0a8b6;font-size:9px}.draw-layout .upload-label{margin:3px 0 12px;color:#252d39;font-size:15px;font-weight:650}.upload-area{display:flex;align-items:center;gap:8px;padding:8px;border:1.5px dashed #dde1e8;border-radius:10px;min-height:94px;background:#fdfdfe;position:relative}.draw-layout .upload-area{min-height:282px}.upload-area:focus-visible{outline:2px solid #f5c2ab;outline-offset:2px}.upload-area.dragging{background:#fff6ee;border-color:var(--orange)}.upload-add{width:76px;height:76px;flex-shrink:0;border:1.5px dashed #cdd3dd;color:#8993a4;border-radius:6px;background:#fff}.upload-add:hover{border-color:var(--orange);color:var(--orange);background:#fffaf7}.upload-copy{justify-content:flex-start;flex:1;text-align:left;line-height:1.6;color:#9ba4b4;font-size:11px;height:75px}.upload-area.with-images{flex-wrap:wrap;min-height:94px;padding-bottom:18px}.draw-layout .upload-area.with-images{min-height:282px;align-content:flex-start;align-items:flex-start}.draw-layout .workbench-upload{display:flex;flex-direction:column;align-items:stretch;flex:0 0 282px;gap:0;padding:14px;border:0;border-radius:7px;background:#f5f6fa}.workbench-dropzone{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:91px;padding:12px;border:1px dashed #d8dce8;border-radius:7px;background:#fff;color:#525b70;font-size:11px;font-weight:600;text-align:center}.workbench-dropzone svg{flex:0 0 auto;color:#8b89bd}.workbench-dropzone:hover:not(:disabled),.workbench-upload.dragging .workbench-dropzone{border-color:var(--orange);color:var(--orange)}.workbench-upload-meta{display:flex;align-items:center;justify-content:space-between;min-height:32px;color:#737d8e;font-size:10px}.workbench-upload-meta button{gap:3px;color:#737d8e;font-size:10px}.workbench-upload-meta button:hover{color:var(--orange)}.workbench-thumbnails{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:8px;flex:1;min-height:0;overflow-y:auto;padding:1px 3px 3px 1px}.workbench-thumbnails .upload-thumbnail{width:100%;height:116px;min-width:0}.upload-thumbnail{width:70px;height:73px;position:relative;border:1px solid #e4e6eb;border-radius:5px}.upload-thumbnail img{height:100%;width:100%;object-fit:cover;border-radius:4px}.upload-thumbnail>span{position:absolute;left:0;bottom:0;right:0;font-size:8px;color:#fff;background:#26313b9c;text-align:center;padding:3px;border-radius:0 0 4px 4px}.upload-thumbnail>button{position:absolute;right:-4px;top:-4px;background:#303846;color:#fff;border-radius:50%;width:16px;height:16px}.upload-count{position:absolute;right:8px;bottom:3px;color:#9ba4b4;font-size:9px}.with-images .upload-add{width:70px;height:73px}.prompt-panel{margin-top:15px;background:#f4f5f7;border:1px solid #e4e6e9;border-radius:5px}.draw-layout .prompt-panel{display:contents}.draw-layout .prompt-toolbar{height:32px;min-height:32px;margin-top:18px;padding:0}.draw-layout .prompt-toolbar strong{font-size:14px;color:#252d39}.draw-layout .prompt-body{margin:4px 0 0;border-color:#dfe3ea;border-radius:7px}.draw-layout .prompt-body>textarea{height:145px;padding:12px;font-size:12px}.draw-save-prompt{width:27px;height:27px;margin-left:auto;border:1px solid #e4e7ed;border-radius:5px;color:#7e899a}.draw-save-prompt:hover{color:var(--orange);border-color:#f5b091}.draw-settings-trigger{justify-content:space-between;gap:8px;width:100%;min-height:42px;margin-top:auto;padding:0 12px;border:1px solid #f1a886;border-radius:6px;background:#fff;color:#344052;font-size:11px;text-align:left}.draw-settings-trigger:hover,.draw-settings-trigger[aria-expanded=true]{border-color:var(--orange);background:#fffaf7}.draw-settings-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.draw-settings-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#17202a14}.draw-settings-drawer{position:absolute;top:84px;left:487px;width:405px;max-height:calc(100dvh - 84px);overflow-y:auto;border:1px solid #e2e5ec;border-radius:7px;background:#fff;box-shadow:0 14px 42px #1d293d20;outline:none}.draw-settings-header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:0 17px;border-bottom:1px solid #edf0f4;background:#fff}.draw-settings-header h2{font-size:15px}.draw-settings-content{padding:18px 17px 22px}.draw-settings-section+.draw-settings-section{margin-top:22px}.draw-settings-section h3{margin-bottom:11px;color:#293242;font-size:13px}.draw-model-list{display:grid;gap:8px}.draw-model-list button{justify-content:space-between;min-height:56px;min-width:0;padding:9px 12px;border:1px solid #e7e9f0;border-radius:6px;background:#f7f8fb;text-align:left}.draw-model-list button>span{display:grid;gap:4px;min-width:0}.draw-model-list strong{overflow:hidden;color:#263040;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.draw-model-list small{color:#8b94a3;font-size:10px}.draw-model-list button.selected,.draw-ratio-grid button.selected,.draw-settings-options button.selected{border-color:var(--orange);background:#fff9f5;color:var(--orange)}.draw-model-list button.selected strong{color:var(--orange)}.draw-ratio-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.draw-ratio-grid button{min-width:0;height:42px;border:1px solid #e7e9f0;border-radius:6px;background:#f7f8fb;color:#515c6c;font-size:11px}.draw-ratio-grid .ratio-shape{border-color:#a3adbd}.draw-settings-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.draw-settings-options button{height:40px;min-width:0;border:1px solid #e7e9f0;border-radius:6px;background:#f7f8fb;color:#515c6c;font-size:11px}.draw-settings-options.count-options{grid-template-columns:repeat(4,minmax(0,1fr))}.draw-settings-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.draw-settings-section-heading label{display:flex;align-items:center;gap:6px;margin-bottom:9px;color:#8893a1;font-size:10px}.draw-settings-section-heading input{width:42px;height:28px;border:1px solid #e1e4eb;border-radius:5px;text-align:center}.draw-layout .submit-task{flex:0 0 42px;margin-top:10px;font-size:13px;font-weight:600}.prompt-toolbar{height:28px;display:flex;align-items:center;gap:9px;padding:0 8px;white-space:nowrap}.prompt-toolbar strong{font-size:10px;font-weight:650;color:#333c4a}.quick-templates{display:flex;gap:9px;flex:1;min-width:0}.quick-templates button{font-size:8px;color:#828894}.quick-templates button:hover{color:var(--orange)}.tiny-button{border:1px solid #dce0e6;border-radius:3px;font-size:8px;gap:3px;height:18px;padding:0 5px;background:#fff}.tiny-button:hover{border-color:#ffc0a5;color:var(--orange)}.prompt-body{border:1px solid #e1e4e8;background:#fff;border-radius:5px;margin:0 -1px -1px;position:relative}.prompt-body>textarea{display:block;width:100%;height:158px;padding:10px;border:0;background:transparent;font-size:11px;line-height:1.8;color:#555e6c}.prompt-body>textarea::placeholder{color:#929498}.video-prompt .prompt-body>textarea{height:164px}.clear-prompt{position:absolute;top:8px;right:7px;width:18px;height:18px;border-radius:3px;color:#a4adbb;background:#fff}.clear-prompt:hover{background:#f4f5f7}.prompt-bottom{display:flex;align-items:center;gap:4px;padding:3px 5px 5px;position:relative;height:30px}.video-prompt .prompt-bottom{margin:0 -1px -1px;background:#fff;border:1px solid #e1e4e8;border-top:0;border-radius:0 0 5px 5px}.video-prompt .prompt-body{border-radius:5px 5px 0 0}.setting-anchor{position:relative;min-width:0}.setting-button{height:25px;padding:0 6px;border:1px solid #e5e7ec;background:#f8f9fb;border-radius:5px;font-size:10px;font-weight:600;gap:4px;white-space:nowrap}.setting-button>svg:last-child{color:#8f98a5}.setting-button.open,.setting-button:hover{border-color:#ef895e;background:#fff}.save-prompt{margin-left:auto;background:#fff}.creation-options{display:flex;gap:9px;margin-top:9px;height:29px}.quantity{width:111px;display:flex;align-items:center;justify-content:space-between;border:1px solid #e3e5eb;border-radius:6px;background:#f8f9fb;padding:0 6px}.quantity>span{color:#808999;font-size:9px}.quantity button{width:17px;height:24px;color:#9aa2ae}.quantity button:hover{color:var(--orange)}.quantity input{min-width:0;width:25px;text-align:center;border:0;background:transparent;font-size:11px;font-weight:600;color:#242a35}.timing{flex:1;border:1px solid #e4e6ed;padding:2px}.timing button{font-size:10px;gap:5px}.submit-task{width:100%;height:38px;border-radius:7px;background:var(--orange);color:#fff;font-size:12px;margin-top:12px;gap:8px;font-weight:500}.submit-task:hover:not(:disabled){background:#e75b27;box-shadow:0 3px 10px #f46b3729}.submit-task:disabled{background:#f3f4f6;color:#a1a6b0;opacity:1}.schedule-field{display:flex;align-items:center;gap:7px;border:1px solid #e7e9ee;border-radius:5px;margin-top:9px;padding:7px 9px;color:#7d8592}.schedule-field input{border:0;flex:1;font-size:11px}.task-history{flex:1;min-width:0;padding:13px 14px;overflow:auto;display:flex;flex-direction:column}.history-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:8px;border-bottom:1px solid #f3f3f4;height:31px;gap:10px}.history-header h3{font-size:12px;font-weight:500;white-space:nowrap;color:#454545}.history-header h3 span{font-size:10px;color:#98999d;margin-left:4px}.history-filters{display:flex;gap:7px;align-items:center}.search-box{display:flex;align-items:center;gap:6px;border:1px solid #e7e8ec;border-radius:5px;background:#fff;padding:0 8px;height:30px;color:#b1b5bd;min-width:0}.search-box input{border:0;background:transparent;width:100%;min-width:0;font-size:11px}.history-filters .search-box{width:121px;height:23px;padding:0 6px}.history-filters input{font-size:9px}.history-filters select{height:22px;width:69px;border:1px solid #e8e9ed;background:#fff;border-radius:4px;padding-left:5px;font-size:10px}.refresh-button{width:28px;height:23px;background:#fff;border:1px solid #e6e8ed;border-radius:4px;color:#91969d}.refresh-button:hover{background:#f6f7f9}.empty-state{border:1px dashed #dddfe5;background:#fafafa;border-radius:7px;min-height:109px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;color:#a4a4a7;font-size:12px;margin-top:10px}.history-columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:12px;flex:1;min-height:0;padding-top:12px}.result-pane,.task-queue{min-width:0;min-height:0;border:1px solid var(--line);border-radius:8px;background:#fff}.result-pane{overflow:hidden;padding:8px}.result-pane>.empty-state{height:100%;min-height:180px;margin-top:0}.result-pane>.empty-state>span{max-width:100%;text-align:center}.result-error{display:block;max-width:440px;margin-top:8px;color:#b85d57;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.result-layout{display:grid;grid-template-columns:minmax(0,1fr) 110px;width:100%;height:100%;min-height:260px;gap:8px}.result-viewer{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));align-items:center;justify-items:center;gap:10px;min-width:0;min-height:0;overflow:auto;padding:4px;background:#fafafa;border-radius:5px}.result-item{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0;min-height:0;margin:0}.result-item img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100vh - 190px);object-fit:contain}.result-download-panel{display:flex;align-items:center;justify-content:center;min-width:0;padding:8px;border-left:1px solid #f0f1f4}.result-download-all{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%;min-height:72px;padding:8px 4px;border:1px solid #eceef2;border-radius:5px;color:#697487;background:#fff;font-size:10px;white-space:nowrap;box-shadow:0 2px 8px #1a24350d}.result-download-all:hover{color:var(--orange);border-color:#ffc8b7;background:#fff8f5}.task-queue{display:flex;flex-direction:column;overflow:hidden}.queue-header{flex:0 0 auto;display:flex;align-items:center;min-height:41px;padding:0 12px;border-bottom:1px solid #f0f1f4}.queue-header h3{color:#454545;font-size:12px;font-weight:500}.queue-header h3 span{margin-left:4px;color:#98999d;font-size:10px}.task-queue>.empty-state{flex:1;min-height:120px;margin:10px}.queue-list{flex:1;overflow:auto;padding:6px}.queue-group+.queue-group{margin-top:6px;border-top:1px solid #edf0f2}.queue-group-title{display:flex;align-items:center;gap:6px;min-height:29px;padding:4px 7px;color:#946932;font-size:10px;font-weight:600}.queue-group-title:before{width:6px;height:6px;border-radius:50%;background:#d6a265;content:""}.queue-group-title span{margin-left:auto;color:#8d949d;font-weight:500}.queue-group-title-成功{color:#4e866a}.queue-group-title-成功:before{background:#73b38f}.queue-group-title-失败{color:#b65b56}.queue-group-title-失败:before{background:#dc8177}.queue-item{display:flex;align-items:flex-start;width:100%;gap:8px;padding:8px 6px;border-bottom:1px solid #f1f2f5;text-align:left}.queue-item:last-child{border-bottom:0}.queue-item:hover{background:#fafafa}.queue-item.selected{background:#fff5f1}.queue-item.selected .queue-content strong{color:var(--orange)}.queue-item-actions{display:flex;gap:2px;margin-left:auto;opacity:0;transition:opacity .15s ease}.queue-item:hover .queue-item-actions,.queue-item:focus-within .queue-item-actions{opacity:1}.queue-item-actions button{display:grid;place-items:center;width:24px;height:24px;border-radius:5px;color:#98a0ab}.queue-item-actions button:hover{color:var(--orange);background:#fff0e9}.queue-thumb{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;overflow:hidden;border-radius:5px;color:#b1b7c0;background:#f1f2f4}.queue-thumb img{width:100%;height:100%;object-fit:cover}.queue-content{display:flex;flex-direction:column;min-width:0;gap:3px}.queue-content strong{overflow:hidden;color:#596474;font-size:10px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.queue-prompt{display:-webkit-box;overflow:hidden;color:#929aa6;font-size:10px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.queue-status{display:inline-flex;align-items:center;gap:4px;color:#a98152;font-size:9px}.queue-status i{width:5px;height:5px;border-radius:50%;background:#d6a265}.queue-status-已完成{color:#5b9475}.queue-status-已完成 i{background:#73b38f}.queue-status-生成失败{color:#c66d64}.queue-status-生成失败 i{background:#dc8177}.queue-status-生成中 i{animation:blink 1s infinite}.task-card{border:1px solid var(--line);border-radius:8px;padding:13px;background:#fff;align-self:start}.task-card-heading{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#8b95a3;margin-bottom:10px}.task-card-heading>span{display:flex;align-items:center;gap:5px}.task-status{color:#aa8152;background:#fff7eb;padding:3px 5px;border-radius:4px;font-size:9px}.task-status i{width:4px;height:4px;border-radius:50%;background:#d9a869}.task-prompt{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-align:left;line-height:1.8;font-size:12px;white-space:pre-wrap;margin-bottom:12px}.task-prompt:hover{color:var(--orange)}.task-meta{color:#8e97a6;font-size:10px;display:flex;align-items:center;gap:4px;line-height:1.8}.task-card>footer{margin-top:10px;padding-top:8px;border-top:1px solid #f0f1f4;display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#98a1af}.task-card footer>div{display:flex;gap:10px}.task-card footer button:hover{color:var(--orange)}.task-images{display:flex;gap:6px;margin:8px 0}.task-images img{width:47px;height:47px;object-fit:cover;border-radius:4px}.popover{position:absolute;bottom:34px;left:0;z-index:40;background:#fff;box-shadow:0 8px 35px #1a24352b,0 0 1px #25334836;border:1px solid #e9eaf0;border-radius:9px;padding:12px;animation:pop-in .12s ease-out}.popover h3{font-size:12px;color:#2c3542;margin-bottom:12px}.model-popover{width:215px}.model-popover>button{width:100%;justify-content:flex-start;padding:9px 8px;font-size:11px;border-radius:5px;gap:9px}.model-popover>button span{flex:1;text-align:left}.model-popover>button:hover{background:#f5f6f8}.popover button.active{background:#fff3ec;color:var(--orange);border-color:#f6b796}.size-popover{width:315px;left:-145px}.size-popover>label{display:block;font-size:10px;font-weight:500;margin:11px 0 8px}.ratio-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}.ratio-grid button{border:1px solid #e7e9ef;border-radius:4px;flex-direction:column;gap:5px;height:47px;font-size:9px;color:#798392}.ratio-shape{display:block;max-width:23px;max-height:20px;border:1px solid currentColor;border-radius:2px;min-width:5px;min-height:5px}.option-grid{display:flex;gap:5px}.option-grid button{border:1px solid #e6e8ed;border-radius:4px;flex:1;padding:7px 3px;font-size:9px}.option-grid button:hover,.ratio-grid button:hover{border-color:#f1b399}.icon-button{width:28px;height:28px;border-radius:5px;color:#8e97a6}.icon-button:hover{background:#f3f4f7;color:#323b4a}.assistant-launcher{position:fixed;right:21px;bottom:20px;display:flex;flex-direction:column;align-items:flex-end;gap:9px;z-index:25}.assistant-hint{display:flex;align-items:center;gap:8px;background:#131a28;color:#fff;padding:8px 9px 8px 12px;border-radius:12px;box-shadow:0 8px 28px #131a282e;font-size:10px;position:relative;line-height:17px}.assistant-hint:after{content:"";position:absolute;bottom:-5px;right:22px;width:9px;height:9px;background:#131a28;transform:rotate(45deg)}.assistant-hint button{background:#ffffff17;width:17px;height:17px;border-radius:50%;color:#b9c0cd;z-index:1}.assistant-button{height:42px;padding:0 18px;border-radius:24px;border:1px solid #e6e7eb;background:#fff;box-shadow:0 2px 8px #1e283408;font-size:12px;color:#313238;gap:8px}.assistant-button:hover{box-shadow:0 3px 15px #1e283415;transform:translateY(-1px)}.toast{position:fixed;top:47px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:9px;max-width:calc(100vw - 40px);border:1px solid #e3e9e5;box-shadow:0 5px 25px #1e2c4214;padding:11px 17px;border-radius:8px;background:#fff;z-index:200;color:#515c68;font-size:12px;animation:toast-in .2s ease}.toast svg{color:#62a483}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,-6px)}to{opacity:1;transform:translate(-50%)}}@keyframes pop-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.scroll-page{height:100%;overflow:auto}.tools-page{padding:23px 16px 50px 14px}.tools-heading{display:flex;gap:7px;padding-bottom:14px;border-bottom:1px solid #eff0f3}.tools-heading h2{font-size:14px}.tools-heading h2 span{font-size:9px;color:var(--orange);background:#fff3ec;padding:2px 5px;margin-left:5px;border-radius:4px}.tools-heading p{font-size:10px;color:#9a9fa8;margin-top:3px}.tool-filters{display:flex;gap:7px;margin:27px 0 11px}.tool-filters button{border:1px solid #e1e3e7;padding:3px 12px;border-radius:15px;color:#606269;font-size:11px}.tool-filters button:hover,.tool-filters button.active{border-color:#f9b496;color:var(--orange);background:#fff5ee}.tools-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.tool-card{display:block;border:1px solid #e3e5e9;overflow:hidden;border-radius:11px;text-align:left;background:#fff;transition:transform .18s,box-shadow .18s}.tool-card:hover{transform:translateY(-3px);box-shadow:0 7px 20px #23334212;border-color:#f2cbb7}.tool-collage{width:100%;aspect-ratio:1.48;background:#f1f3f8;display:grid;grid-template-columns:repeat(2,1fr);overflow:hidden;color:#c2c9d4}.tool-collage img{width:100%;height:100%;object-fit:cover;min-height:0;min-width:0}.collage-1{grid-template-columns:1fr}.collage-3{grid-template-columns:repeat(3,1fr)}.collage-4{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr)}.collage-6{grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr)}.collage-8{grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(2,1fr)}.collage-0{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#fafafa,#e8edf5)}.tool-description{padding:11px 12px 10px}.tool-description h3{font-size:12px;color:#28303e;font-weight:600}.tool-description p{font-size:10px;line-height:1.7;color:#8c95a3;margin:5px 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:34px}.tool-description>div{display:flex;gap:5px}.tag{display:inline-flex;align-items:center;font-size:8px;padding:2px 6px;border-radius:3px;background:#f1f3f7;color:#7f8b9c;white-space:nowrap}.orange-tag{background:#fff3e9;color:#ee8a42}.green-tag{background:#e9faed;color:#38955c}.blue-tag{background:#eaf0ff;color:#678ed3}.purple-tag{background:#f1eaf8;color:#9567c4}.tool-preview{aspect-ratio:2;max-height:230px;border-radius:6px;margin-bottom:15px}.subnav-layout{display:flex;height:100%;background:#f8f9fc}.subnav{width:171px;flex-shrink:0;border-right:1px solid #e7eaf0;padding:20px 11px;background:#f8f9fc}.subnav h4{font-size:10px;color:#99a5b8;font-weight:600;letter-spacing:1px;padding:0 9px;margin:0 0 16px}.subnav>button{width:100%;height:38px;justify-content:flex-start;gap:12px;padding:0 13px;border-radius:8px;margin-bottom:4px;font-size:12px}.subnav>button.active{background:#fff;color:var(--orange);box-shadow:0 3px 9px #25334403;font-weight:500}.subnav>button:hover{background:#fff}.subnav hr{border:0;border-top:1px solid #e5e8ef;margin:14px 10px}.assets-page{padding:23px 21px;flex:1;min-width:0}.section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}.section-heading h1{font-size:22px;line-height:1.5}.section-heading p{font-size:12px;color:#8d97a6;margin-top:3px;line-height:1.7}.count-pill{border:1px solid #e6e8ee;border-radius:18px;background:#fff;padding:6px 10px;font-size:11px;white-space:nowrap}.asset-toolbar{display:flex;align-items:center;gap:8px;padding:10px 13px;border:1px solid #e3e6ec;background:#fff;border-radius:11px}.asset-toolbar>.search-box{flex:1;min-width:100px}.asset-toolbar select{height:29px;padding:0 5px;background:#fff;border:1px solid #e3e6ed;border-radius:4px;font-size:10px}.asset-toolbar>button{border:1px solid #e4e6ed;border-radius:4px;padding:7px 8px;font-size:10px;white-space:nowrap}.selected-count{margin-left:auto;font-size:10px;white-space:nowrap;color:#7b8696}.danger-text{color:#e88181}.assets-page>.empty-state{min-height:204px;background:#fff;font-weight:500;color:#818c9d;margin-top:14px}.asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px;margin-top:16px}.asset-card{border:1px solid #e3e6ec;border-radius:8px;position:relative;overflow:hidden;background:#fff}.asset-card.selected{border-color:var(--orange);box-shadow:0 0 0 1px #f46b37}.asset-image{display:block;width:100%;aspect-ratio:1;overflow:hidden}.asset-image img{width:100%;height:100%;object-fit:cover}.asset-check{position:absolute;left:6px;top:6px}.asset-card>footer{display:flex;align-items:center;gap:6px;padding:10px;font-size:10px}.asset-card>footer>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.image-preview{max-width:100%;max-height:70vh;object-fit:contain;display:block;margin:auto}.upload-large{min-height:125px}.agents-page{background:#f8f9fc;padding:23px 21px}.agent-heading{display:flex;justify-content:space-between;gap:15px;padding-bottom:21px;border-bottom:1px solid #f0f1f6;margin-bottom:20px}.agent-heading h1{font-size:21px;margin:12px 0}.agent-heading p{color:#8a919e;font-size:13px}.agent-heading>div:last-child{display:flex;align-items:flex-end;flex-direction:column;gap:11px}.agent-heading .segments{height:28px;min-width:192px}.agent-heading .segments button{padding:0 10px;font-size:11px}.agent-heading .segments button.selected{color:#3d4758}.primary-button{background:#ff790d!important;color:#fff!important;border:1px solid #ff790d!important;border-radius:6px;padding:9px 14px;font-size:12px;gap:7px;white-space:nowrap}.primary-button:hover:not(:disabled){background:#ed6c06!important;box-shadow:0 3px 8px #f4761124}.agent-filters{display:flex;gap:10px;margin-top:13px}.agent-filters button{background:#fff;border:1px solid #e4e8ef;border-radius:15px;padding:4px 13px;font-size:11px;color:#8994a4}.agent-filters button i{width:5px;height:5px;background:#cdd3dd;border-radius:50%;margin-right:1px}.agent-filters button.active{color:#394454;box-shadow:0 2px 7px #1f29330a}.agent-filters button.active i{background:#555f6c}.agent-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.agent-card{border:1px solid #e3e6ed;background:#fff;border-radius:11px;padding:17px 17px 10px;min-width:0}.agent-card.featured{background:linear-gradient(125deg,#fff,#f1f4ff);border-color:#cfdcf2}.agent-icon{background:#f2f5f9;width:31px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#657080;margin-bottom:10px}.agent-card h3{font-size:12px;line-height:1.7;font-weight:500}.agent-tag{font-size:8px;background:#526072;color:#fff;padding:1px 4px;border-radius:3px;white-space:nowrap;margin-left:3px}.agent-card h3 .tag{margin-left:4px}.agent-card p{font-size:11px;line-height:1.65;color:#9099a8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:36px;margin-bottom:10px}.agent-card>button{width:100%;border-top:1px solid #f0f2f6;padding:10px 4px;justify-content:flex-start;font-size:11px;color:#7b8799}.agent-card>button:hover{color:var(--orange)}.engines-page{flex:1;min-width:0;padding:30px 35px;background:#fdfdfe}.engines-page .section-heading{margin-bottom:24px}.official-provider{border:1px solid #f1d7b6;border-radius:14px;padding:21px 24px 17px;background:linear-gradient(110deg,#fff,#fff6ec);box-shadow:0 3px 12px #e4ba8620}.official-top{display:flex;align-items:center;gap:25px}.provider-brand{display:flex;align-items:center;gap:12px;flex-shrink:0;min-width:235px}.provider-brand>img{width:49px;height:49px;padding:5px;border:1px solid #e7e8eb;background:#f4f4f5;box-shadow:0 2px 3px #17223108;border-radius:12px}.provider-brand h2{font-size:17px}.provider-brand h2>span{background:#ff8d1f;color:#fff;font-size:9px;padding:1px 5px;border-radius:4px;margin-left:5px}.provider-brand p{font-size:10px;color:#9d9790;margin-top:5px}.provider-benefits{flex:1;display:flex;gap:13px;min-width:0}.provider-benefits>div{display:flex;align-items:center;gap:12px;border:1px solid #eeeae5;background:#ffffffba;border-radius:10px;padding:12px 13px;flex:1;min-width:0}.provider-benefits>div>span{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:7px;background:linear-gradient(145deg,#ff701c,#ffab00);color:#fff;flex-shrink:0}.provider-benefits strong{font-size:10px;white-space:nowrap;font-weight:500}.provider-benefits p{font-size:9px;color:#a8a099;margin-top:3px;white-space:nowrap}.official-models{display:flex;flex-wrap:wrap;gap:5px;margin:15px 0 13px;padding:8px 11px;border:1px solid #eee7de;border-radius:8px;background:#d8c9b00d}.official-models>span{border-radius:4px;padding:3px 7px;font-size:10px;background:#e9e7e580;white-space:nowrap}.official-models .blue-tag{background:#e6ecfa}.official-models .purple-tag{background:#f0e8f3}.official-models .green-tag{background:#e7f6e9}.provider-login{padding:7px 12px;border:1px solid #e4e3e5;background:#fafafa;border-radius:6px;color:#999596;font-size:10px}.provider-divider{display:flex;align-items:center;justify-content:center;gap:19px;margin:31px 0 17px;color:#8d99aa;font-size:11px}.provider-divider:before,.provider-divider:after{content:"";height:1px;background:#e9ecf1;flex:1}.provider-divider>span:last-child{border:1px solid #c5d8f0;background:#eff6fe;border-radius:12px;padding:0 14px}.provider-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.provider-card{display:block;text-align:left;border:1px solid #e8eaf0;border-radius:10px;padding:17px 18px;position:relative;background:#fff;min-height:130px}.provider-card:hover{border-color:#f3c393;box-shadow:0 3px 9px #22334408}.provider-card h3{font-size:14px;font-weight:500}.provider-card>p{font-size:10px;color:#a9afba;margin:5px 0 4px}.provider-card>.tag{font-size:8px;margin-bottom:5px}.provider-models{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.provider-models>span{font-size:9px;border:1px solid #e4e8ef;background:#f4f6fa;color:#8996a8;border-radius:10px;padding:2px 6px}.provider-dot{position:absolute;right:18px;top:38px;width:6px;height:6px;background:#cbd2dd;border-radius:50%}.provider-dot.configured{background:#61b783}.custom-provider{border-style:dashed}.custom-provider>svg{color:#bac4d1;margin-top:14px}.provider-card>.pro-tag{position:absolute;right:15px;top:14px}.route-settings{background:#fff;border:1px solid #e4e7ee;border-radius:12px;padding:8px 24px}.route-settings>label{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0f4;padding:22px 0}.route-settings p{color:#959fae;font-size:11px;margin-top:5px}.route-settings select{border:1px solid #e1e5eb;border-radius:5px;width:180px;padding:9px;background:#fff}.canvas-projects{height:100%;background:#f8f9fc;overflow:auto}.canvas-project-header{height:55px;display:flex;align-items:center;justify-content:space-between;padding:0 21px;border-bottom:1px solid #e5e7ed;background:#fff;gap:15px}.canvas-project-header h2{display:flex;align-items:center;gap:10px;font-size:15px}.canvas-project-header h2>svg{color:#97a6bc}.canvas-project-header .segments{height:31px;min-width:172px}.canvas-project-header .segments>button{font-size:11px;padding:0 15px}.canvas-project-header .segments>button.selected{color:#384455}.dark-button{border:0!important;border-radius:8px;background:#374457!important;color:#fff!important;padding:10px 16px;font-size:12px;box-shadow:0 5px 12px #3744571c}.dark-button:hover{background:#263548!important}.canvas-project-header .dark-button{font-size:11px;padding:8px 15px}.canvas-project-empty{height:calc(100% - 55px);display:flex;align-items:center;justify-content:center;padding:25px}.canvas-project-empty>div{border:1px solid #e5e8f0;background:#fff;border-radius:12px;padding:29px 38px;width:392px;box-shadow:0 8px 25px #203c7410;text-align:center}.canvas-empty-icon{width:78px;height:78px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e5e8ef;border-radius:20px;background:#f8f9fc;color:#93a3bb;position:relative}.canvas-empty-icon>svg:last-child{position:absolute;bottom:0;right:0;transform:translate(15%,15%);background:#fff;color:#384859}.canvas-project-empty h2{font-size:16px;margin:18px 0 8px}.canvas-project-empty p{font-size:12px;color:#8b95a7;line-height:1.8;margin-bottom:22px}.project-grid,.recommended-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px;padding:26px}.project-grid>article,.recommended-grid>button{border:1px solid #e2e7ef;border-radius:11px;background:#fff;overflow:hidden;display:block;text-align:left}.project-grid article>button{display:block;width:100%;text-align:left}.project-thumbnail{height:155px;background-color:#f3f5f9;background-image:radial-gradient(#cfd8e6 .8px,transparent .8px);background-size:14px 14px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#99a9c0;gap:13px}.project-thumbnail>span{font-size:10px}.project-grid h3,.recommended-grid h3{padding:14px 15px 5px;font-size:13px}.project-grid footer{padding:4px 15px 13px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#97a1b1}.project-grid footer button:hover{color:#e47670}.recommended-grid p{font-size:11px;color:#98a1b1;padding:4px 15px 17px}.canvas-editor{height:100%;display:flex;flex-direction:column}.canvas-editor>header{display:flex;align-items:center;gap:12px;height:53px;border-bottom:1px solid #e7eaf0;padding:0 17px;background:#fff;flex-shrink:0}.canvas-editor>header>svg{color:#90a0b7}.canvas-editor>header input{border:1px solid transparent;padding:5px;border-radius:4px;width:180px;font-weight:600}.canvas-editor>header>button:last-child{margin-left:auto;border:1px solid #e2e6ed;padding:7px 11px;border-radius:5px;font-size:11px}.autosave{display:flex;align-items:center;gap:4px;color:#a0aab7;font-size:10px}.canvas-surface{position:relative;background-color:#f7f8fb;background-image:radial-gradient(#d4d9e2 .8px,transparent .8px);background-size:18px 18px;overflow:hidden;flex:1;touch-action:none}.canvas-surface.hand-tool{cursor:grab}.canvas-content{position:absolute;left:0;top:0;transform-origin:0 0;pointer-events:none}.canvas-node{position:absolute;width:250px;background:#fff;border:1px solid #dbe0e8;border-radius:10px;box-shadow:0 5px 15px #334c7010;pointer-events:auto}.node-header{height:40px;border-bottom:1px solid #edf0f4;display:flex;align-items:center;gap:8px;padding:0 12px;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.node-header>svg{color:#a397cb}.node-header strong{font-size:11px;font-weight:500;flex:1}.node-header button{color:#a8b0bc;padding:4px}.canvas-node textarea{width:100%;height:118px;padding:13px;border:0;font-size:12px;line-height:1.7;border-radius:0 0 10px 10px}.canvas-node footer{padding:7px 12px 10px;color:#a7afbc;font-size:9px;display:flex;justify-content:space-between}.node-port{position:absolute;top:50%;width:8px;height:8px;border:2px solid #9daec8;border-radius:50%;background:#fff}.node-port.left{left:-5px}.node-port.right{right:-5px}.canvas-empty{position:absolute;left:50%;top:43%;transform:translate(-50%,-50%);text-align:center;color:#a3aec0}.canvas-empty h2{font-size:18px;font-weight:500;color:#6e7c90;margin:17px 0 8px}.canvas-empty p{font-size:12px}.canvas-empty button{margin-top:20px;background:#fff;border:1px solid #dfe4ed;border-radius:6px;padding:8px 12px;color:#6f7c91}.canvas-tools{position:absolute;bottom:24px;left:50%;transform:translate(-50%);background:#fff;border:1px solid #e2e6ed;border-radius:11px;padding:7px;display:flex;gap:6px;box-shadow:0 5px 20px #24334710}.canvas-tools>button{height:33px;width:34px;border-radius:6px;color:#8995a6}.canvas-tools>button:hover,.canvas-tools>button.active{background:#fff2e9;color:var(--orange)}.canvas-tools>i{width:1px;background:#ebedf2;margin:6px 3px}.canvas-zoom{position:absolute;bottom:24px;right:20px;display:flex;gap:8px;align-items:center;background:#fff;border:1px solid #e2e6ed;border-radius:8px;padding:10px;color:#8190a4;font-size:10px}.canvas-zoom button{width:18px;height:18px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#17233337;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;z-index:100;padding:25px;animation:pop-in .15s ease}.modal{background:#fff;border:1px solid #e5e8ef;border-radius:13px;box-shadow:0 25px 90px #15243a36;width:450px;max-width:100%;max-height:85dvh;display:flex;flex-direction:column;outline:none;overflow:hidden}.modal-wide{width:720px}.modal>header{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;border-bottom:1px solid #eff0f4;flex-shrink:0}.modal>header h2{font-size:15px;font-weight:600}.modal-body{padding:21px;overflow:auto}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}.modal-actions>button{border:1px solid #e1e5ec;border-radius:6px;padding:9px 15px;font-size:12px}.form-label{display:block;font-size:12px;font-weight:500;color:#566274;margin-bottom:17px}.form-label>input,.form-label>textarea{display:block;width:100%;border:1px solid #dfe3ea;border-radius:6px;background:#fff;padding:10px 12px;margin-top:8px;font-size:12px;font-weight:400}.form-label>textarea{height:110px;line-height:1.7}.prompt-preview{border:1px solid #edf0f4;background:#f8f9fb;padding:14px;line-height:1.9;font-size:12px;color:#8b94a2;border-radius:7px;max-height:160px;overflow:auto;white-space:pre-wrap}.template-controls{display:flex;justify-content:space-between;gap:20px;margin-bottom:18px}.template-controls>.segments{min-width:190px;height:33px}.template-controls .segments button{font-size:11px}.template-controls>.search-box{width:210px;height:33px}.template-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.template-card{display:block;border:1px solid #e6e9ef;border-radius:9px;padding:16px;text-align:left;position:relative}.template-card:hover{border-color:#f0b898;background:#fffcfa;transform:translateY(-1px)}.template-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;background:#fff3eb;color:#ef8d4c;border-radius:9px;margin-bottom:12px}.template-card h3{font-size:13px}.template-card p{font-size:11px;line-height:1.8;color:#95a0ae;margin:8px 0 12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.detail-meta{display:flex;gap:10px;align-items:center;font-size:11px;color:#929dab}.detail-prompt{font-size:13px;line-height:1.9;white-space:pre-wrap;margin-top:18px}.detail-images{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.detail-images img{width:100px;height:100px;object-fit:cover;border-radius:7px}.about-app{text-align:center;padding:8px 0 18px}.about-app>img{width:70px;height:70px;object-fit:contain}.about-app h1{font-size:24px;margin:10px 0 8px}.about-app>p{color:#96a0ae;margin-bottom:14px;font-size:12px}.about-features{display:flex;gap:18px;justify-content:center;border-block:1px solid #eff1f5;padding:17px 0}.about-features span{display:flex;align-items:center;gap:6px;font-size:11px;color:#75849a}.invite-content{text-align:center;padding:10px}.invite-content>span,.profile-content>span{display:inline-flex;align-items:center;justify-content:center;width:73px;height:73px;border-radius:20px;background:#fff3e6;color:#f69246;margin-bottom:18px}.invite-content h2{font-size:18px}.invite-content p{font-size:12px;color:#98a1af;margin:12px 0 20px}.invite-box{border:1px dashed #e2e5ea;padding:20px;border-radius:8px;background:#fafbfc;font-size:11px;color:#99a4b3;margin-bottom:24px}.profile-content{text-align:center;padding:10px}.profile-content>span{color:#93a7c3;background:#f1f4fa}.profile-content p{color:#9aa5b3;font-size:12px;margin:10px 0}.account-info{display:flex;border:1px solid #e7eaf0;border-radius:9px;margin:17px 0}.account-info>div{display:flex;flex:1;flex-direction:column;gap:10px;align-items:center;padding:17px}.account-info>div+div{border-left:1px solid #e7eaf0}.account-info span{color:#97a2b1;font-size:11px}.account-info strong{font-weight:500;font-size:13px}.wallet-loading{display:flex;align-items:center;justify-content:center;gap:8px;min-height:150px;color:#66717d;font-size:13px}.wallet-login{display:grid;gap:15px}.wallet-login label,.wallet-recharge label{display:grid;gap:6px;min-width:0;color:#4a5662;font-size:12px;font-weight:600}.wallet-login input,.wallet-recharge input{width:100%;min-width:0;height:38px;padding:0 10px;border:1px solid #dfe4e8;border-radius:5px;background:#fff;color:#27333d;font:inherit;font-weight:400}.wallet-login p,.wallet-note{margin:0;color:#77838e;font-size:11px;line-height:1.5}.wallet-login>.primary-button{justify-content:center;min-height:38px}.wallet-error{margin:0;color:#b64d4d!important;font-size:11px;overflow-wrap:anywhere}.wallet-switch{justify-self:center;margin-top:-4px;font-size:11px;color:#7d8592;text-decoration:underline;text-underline-offset:3px}.wallet-switch:hover{color:var(--orange)}.wallet-content{display:grid;gap:20px}.wallet-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:17px;border-bottom:1px solid #e9edf0}.wallet-summary>div{min-width:0}.wallet-summary>div>span{color:#6c7883;font-size:11px}.wallet-summary strong{display:flex;align-items:center;gap:7px;margin-top:5px;color:#28363b;font-size:29px;line-height:1}.wallet-summary strong svg{color:#ef8037}.wallet-summary strong small{font-size:13px;font-weight:500}.wallet-summary p{margin:8px 0 0;color:#7d8892;font-size:11px;overflow-wrap:anywhere}.wallet-rate{flex:0 0 auto;color:#556b60;font-size:12px}.wallet-section{display:grid;gap:10px}.wallet-section h3{margin:0;color:#34434b;font-size:13px;font-weight:600}.wallet-recharge{display:flex;align-items:end;gap:10px}.wallet-recharge label{flex:1}.wallet-recharge .primary-button{justify-content:center;min-width:118px;min-height:38px}.wallet-requests,.wallet-ledger{border-top:1px solid #edf0f2}.wallet-requests>div,.wallet-ledger>div{display:grid;grid-template-columns:minmax(80px,1fr) minmax(65px,auto) minmax(78px,auto) minmax(120px,auto);align-items:center;gap:10px;min-height:34px;border-bottom:1px solid #edf0f2;color:#53616b;font-size:11px}.wallet-requests .wallet-reconcile{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:.4px;color:var(--orange)}.wallet-requests time,.wallet-ledger time{color:#909aa1;text-align:right}.wallet-ledger>div{grid-template-columns:minmax(100px,1fr) minmax(140px,auto) 52px}.wallet-ledger strong{text-align:right;font-size:12px}.wallet-ledger strong.positive{color:#43835e}.wallet-ledger strong.negative{color:#b85d57}.wallet-logout{display:inline-flex;align-items:center;gap:6px;justify-self:end;color:#6f7a84;font-size:11px}.wallet-logout:hover{color:#b85d57}@media(max-width:600px){.wallet-summary{align-items:start;flex-direction:column;gap:9px}.wallet-requests>div,.wallet-ledger>div{grid-template-columns:minmax(80px,1fr) auto}.wallet-requests time,.wallet-ledger time{grid-column:1 / -1;text-align:left;padding-bottom:8px}.wallet-ledger strong{grid-column:2;grid-row:1}}.assistant-panel{position:fixed;right:14px;bottom:14px;width:355px;height:min(600px,calc(100dvh - 58px));border:1px solid #e0e4ec;border-radius:14px;background:#fff;box-shadow:0 8px 45px #1c2b4826;display:flex;flex-direction:column;z-index:60;overflow:hidden;animation:pop-in .2s ease}.assistant-panel>header{height:57px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;border-bottom:1px solid #f0f2f6}.assistant-panel>header>div{display:flex;align-items:center;gap:9px;color:#535c6e}.assistant-panel h3{font-size:13px;font-weight:600}.chat-messages{flex:1;overflow:auto;padding:20px 16px}.assistant-welcome{text-align:center;padding-top:22px}.assistant-welcome>span{display:inline-flex;width:59px;height:59px;align-items:center;justify-content:center;background:linear-gradient(140deg,#fff6ec,#f3efff);color:#b09cbb;border-radius:18px}.assistant-welcome h2{font-size:19px;font-weight:600;margin:20px 0 10px}.assistant-welcome p{font-size:12px;line-height:1.9;color:#97a1b1;padding:0 14px}.assistant-welcome>div{display:flex;flex-direction:column;gap:9px;margin-top:28px}.assistant-welcome button{border:1px solid #e8ebf1;background:#fafbfc;border-radius:7px;padding:11px 13px;font-size:11px;color:#828da0;justify-content:space-between}.assistant-welcome button:hover{border-color:#f1c7aa;background:#fff8f2;color:#d48b58}.chat-message{display:flex;gap:7px;margin-bottom:20px;font-size:12px;line-height:1.85}.chat-message>div{min-width:0}.chat-message p{white-space:pre-wrap;overflow-wrap:anywhere}.chat-message.user{justify-content:flex-end}.chat-message.user p{padding:10px 13px;background:#fff1e7;border-radius:12px 12px 2px;max-width:270px;color:#785f4e}.chat-message.assistant p{background:#f6f7fa;border-radius:2px 10px 10px;padding:11px 12px;color:#788597}.chat-avatar{background:#eef1f6;border-radius:7px;width:24px;height:25px;display:flex;align-items:center;justify-content:center;color:#94a1b7;flex-shrink:0}.chat-actions{display:flex;justify-content:space-between;gap:10px;margin-top:8px;font-size:10px;color:#99a4b2}.chat-actions button:hover{color:var(--orange)}.chat-composer{margin:0 12px 11px;border:1px solid #e3e7ee;border-radius:9px;position:relative;flex-shrink:0;background:#fcfcfd;overflow:hidden}.chat-composer textarea{width:100%;height:88px;padding:12px 42px 20px 12px;background:transparent;border:0;font-size:12px;line-height:1.7}.chat-composer>button{position:absolute;right:10px;bottom:26px;width:29px;height:29px;background:#414d61;border-radius:7px;color:#fff}.chat-composer>button:disabled{background:#d7dce4}.chat-composer>span{display:block;font-size:8px;color:#b0b7c2;padding:0 0 7px;text-align:center}.thinking{font-size:11px;color:#a4adba;display:flex;gap:10px}.thinking span{letter-spacing:3px;animation:blink 1s infinite}@keyframes blink{50%{opacity:.25}}@media(min-width:1450px){.tools-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.creation-panel{width:405px}.prompt-body>textarea{height:190px}.agent-card{padding:20px}.agent-card p{min-height:44px}}@media(max-width:1200px)and (min-width:601px){.draw-layout .creation-module-nav{flex:0 0 76px;padding-inline:5px}.draw-layout .creation-module{width:64px}.draw-layout .creation-panel{width:340px;padding:12px 11px}.draw-layout .history-columns{grid-template-columns:minmax(0,1fr) 250px;gap:10px}}@media(max-width:1040px)and (min-width:601px){.draw-layout .creation-panel{width:318px}.draw-layout .history-columns{grid-template-columns:minmax(0,1fr) 208px}.draw-layout .history-filters .search-box{width:96px}}@media(max-width:880px)and (min-width:601px){.draw-layout .creation-module-nav{flex:0 0 68px}.draw-layout .creation-module{width:58px}.draw-layout .creation-panel{width:300px}.draw-layout .history-columns{grid-template-columns:minmax(0,1fr)}.draw-layout .task-queue{display:none}}@media(max-width:1100px){.tools-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.provider-benefits{gap:6px}.provider-benefits>div{padding:10px 7px;gap:6px}.provider-brand{min-width:175px}.provider-benefits p{font-size:8px}.provider-benefits>div>span{width:23px;height:26px}.official-top{gap:12px}.engines-page{padding:25px 23px}.official-provider{padding:18px}.asset-toolbar{flex-wrap:wrap}.asset-toolbar>.search-box{min-width:190px}.agent-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.subnav{width:155px}.provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.provider-benefits>div:last-child{display:none}}@media(max-width:800px){.creation-panel{width:355px;padding:12px 11px}.quick-templates{gap:7px}.prompt-toolbar{gap:7px;padding:0 6px}.setting-button{font-size:9px;padding:0 5px}.task-history{padding:12px 10px}.history-header{height:auto;flex-wrap:wrap;gap:9px}.history-filters{width:100%}.history-filters>.search-box{flex:1}.tools-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.agent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.agent-heading h1{font-size:19px}.agent-heading p{font-size:11px}.subnav{width:130px;padding-inline:7px}.subnav>button{padding-inline:9px;font-size:10px;gap:8px}.provider-benefits{display:none}.assets-page{padding:20px 15px}.engines-page{padding:23px 18px}.canvas-project-header{padding-inline:15px}.canvas-project-header .segments{min-width:150px}.canvas-project-header h2{font-size:13px}.canvas-zoom{right:10px;bottom:12px}.canvas-tools{bottom:12px}.template-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.app-shell{min-height:0}.titlebar{height:23px}.app-body{height:calc(100% - 23px)}.window-controls{top:6px;gap:24px}.main-nav{display:grid;grid-template-columns:38px minmax(0,1fr) 100px;height:50px;flex-basis:50px;gap:5px;padding:0 7px}.brand-logo{width:38px;height:42px;flex-basis:38px}.brand-logo img{width:27px;height:27px}.nav-main{gap:2px;width:100%}.nav-item{min-width:51px;height:35px;padding:0 6px;gap:4px;font-size:10px}.nav-item>svg{width:15px;height:15px}.nav-item small{right:-2px;font-size:5px;top:0}.nav-bottom{gap:0;padding-left:4px}.nav-bottom .nav-item{min-width:31px;padding:0 6px}.nav-bottom .nav-item span{display:none}.creation-layout{display:block;overflow:auto}.draw-layout .creation-module-nav{display:flex;flex-direction:row;align-items:center;width:100%;min-height:55px;padding:6px 12px;border-right:0;border-bottom:1px solid #f0f0f2}.draw-layout .creation-module{flex-direction:row;gap:7px;width:auto;min-height:38px;padding:0 12px}.creation-panel{width:100%;border-right:0;border-bottom:1px solid #f0f1f4;padding:12px;overflow:visible}.task-history{min-height:225px;overflow:visible;padding:14px 12px 95px}.history-columns{grid-template-columns:1fr;min-height:0}.result-pane{min-height:220px}.result-layout{grid-template-columns:1fr;grid-template-rows:minmax(220px,1fr) auto}.result-download-panel{border-top:1px solid #f0f1f4;border-left:0}.result-download-all{flex-direction:row;min-height:34px;width:auto;padding-inline:14px}.task-queue{max-height:280px}.prompt-body>textarea,.video-prompt .prompt-body>textarea{height:155px}.history-header{flex-wrap:nowrap}.history-filters{width:auto}.history-filters>.search-box{width:100px}.history-filters select{width:56px}.history-header h3{font-size:11px}.quick-templates{gap:7px}.quick-templates button{font-size:8px}.prompt-toolbar strong{font-size:9px}.prompt-toolbar{gap:7px}.setting-button{font-size:9px}.assistant-launcher{right:13px;bottom:13px}.assistant-hint{font-size:9px}.assistant-button{font-size:11px;height:37px;padding-inline:14px}.tools-page{padding:18px 12px 90px}.tool-filters{gap:5px;margin-top:18px;flex-wrap:wrap}.tool-filters button{padding:3px 8px;font-size:10px}.tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tool-description{padding:9px}.tool-description h3{font-size:10px}.tool-description p{font-size:9px}.tool-collage{aspect-ratio:1.1}.subnav-layout{display:block;overflow:auto}.subnav{width:100%;height:54px;border-right:0;border-bottom:1px solid #e7eaf0;display:flex;align-items:center;gap:6px;padding:7px 11px}.subnav h4{padding:0;margin:0 6px 0 0;font-size:9px;white-space:nowrap}.subnav>button{width:auto;height:31px;padding:0 10px;margin:0;font-size:10px}.subnav hr{display:none}.assets-page,.engines-page{height:auto;min-height:calc(100% - 54px);padding:18px 12px 90px;overflow:visible}.section-heading h1{font-size:19px}.section-heading p{font-size:11px}.asset-toolbar{padding:9px;gap:7px}.asset-toolbar>.search-box{min-width:100%;height:28px}.asset-toolbar>button{font-size:9px;padding:6px}.asset-toolbar select{height:27px;font-size:9px}.selected-count{font-size:9px}.asset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.agents-page{padding:16px 12px 95px}.agent-heading{display:block;padding-bottom:16px;margin-bottom:15px}.agent-heading h1{margin-top:4px}.agent-heading>div:last-child{flex-direction:row;align-items:center;margin-top:18px;justify-content:space-between;gap:7px}.agent-heading .segments{min-width:0;flex:1}.agent-heading .segments button{padding:0 6px;font-size:9px}.agent-heading .primary-button{font-size:9px;padding:7px;gap:4px}.agent-heading .primary-button svg{width:12px}.agent-filters{gap:8px}.agent-filters button{padding:4px 10px}.agent-grid{gap:9px}.agent-card{padding:11px 10px 4px}.agent-card h3{font-size:11px}.agent-card p{font-size:10px;-webkit-line-clamp:3;min-height:49px}.agent-card h3 .tag{display:none}.agent-tag{font-size:6px}.agent-card>button{font-size:10px}.official-provider{padding:14px}.provider-brand h2{font-size:16px}.official-models{max-height:150px;overflow:auto;padding:6px;gap:4px}.official-models>span{font-size:9px;padding:3px 5px}.provider-grid{gap:9px}.provider-card{padding:13px 10px;min-height:140px}.provider-card h3{font-size:12px}.provider-card>p{font-size:9px;line-height:1.7;margin-right:7px}.provider-models>span{font-size:8px;padding:2px 5px}.provider-dot{right:10px;top:16px;width:5px;height:5px}.route-settings{padding:6px 12px}.route-settings select{width:125px;font-size:11px}.canvas-project-header{height:auto;min-height:88px;flex-wrap:wrap;padding:12px;gap:12px}.canvas-project-header h2{flex:1}.canvas-project-header .segments{order:3;width:100%;height:27px}.canvas-project-header .dark-button{font-size:10px;padding:7px 10px}.canvas-project-empty{height:calc(100% - 100px);padding:17px}.canvas-project-empty>div{padding:25px 20px}.canvas-project-empty h2{font-size:15px}.canvas-project-empty p{font-size:11px}.canvas-empty-icon{height:66px;width:66px}.canvas-project-empty .dark-button{font-size:11px}.project-grid,.recommended-grid{grid-template-columns:1fr;padding:17px}.canvas-editor>header{padding:0 8px;gap:6px}.canvas-editor>header input{width:115px;font-size:11px}.canvas-editor>header .autosave{display:none}.canvas-editor>header>button:last-child{font-size:0;padding:7px}.canvas-tools{bottom:64px}.canvas-zoom{bottom:15px;right:50%;transform:translate(50%)}.canvas-empty{width:90%;top:38%}.canvas-empty h2{font-size:16px}.canvas-empty p{font-size:11px}.modal-backdrop{padding:15px}.modal-body{padding:17px}.modal-wide{max-height:88dvh}.template-controls{gap:9px;flex-direction:column}.template-controls>.search-box{width:100%}.template-card{padding:12px}.template-card p{font-size:10px}.template-grid{gap:10px}.assistant-panel{width:calc(100% - 18px);right:9px;bottom:9px;height:calc(100dvh - 91px)}.assistant-welcome h2{font-size:17px}.assistant-welcome p{font-size:11px}.toast{top:35px;font-size:11px;width:max-content;max-width:90vw}.about-features{gap:13px}.about-features span{font-size:10px}}@media(min-width:1450px){.draw-settings-drawer{left:507px}}@media(max-width:1200px){.draw-settings-drawer{top:96px;left:50%;width:min(405px,calc(100vw - 24px));max-height:calc(100dvh - 112px);transform:translate(-50%)}}@media(max-width:600px){.draw-settings-drawer{top:auto;bottom:0;left:0;width:100%;max-height:85dvh;border-radius:8px 8px 0 0;transform:none}.draw-settings-content{padding:16px 12px 22px}.draw-ratio-grid{gap:6px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.engine-key-list{display:grid;gap:12px;max-width:720px;margin-top:18px}.engine-key-card{padding:16px 18px;border:1px solid var(--line);border-radius:10px;background:#fff}.engine-key-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.engine-key-head h3{margin:0;font-size:14px;font-weight:650;color:var(--ink)}.engine-key-head p{margin:4px 0 0;font-size:11px;color:var(--muted)}.engine-key-state{flex:0 0 auto;padding:3px 8px;border:1px solid #e6e8ee;border-radius:999px;background:#f7f8fa;color:#98a1b0;font-size:10px}.engine-key-state.on{border-color:#c9ebd8;background:#eefaf2;color:#2f9e5f}.engine-key-field{display:flex;align-items:center;gap:8px;height:40px;margin-top:12px;padding:0 10px;border:1px solid #e4e7ed;border-radius:7px;background:#fff;color:#98a1b0}.engine-key-field:focus-within{border-color:#f5b091;box-shadow:0 0 0 3px #f46b3714}.engine-key-field input{flex:1;min-width:0;height:100%;border:0;background:transparent;font-size:12px;letter-spacing:.02em;color:var(--ink)}.engine-key-icon{flex:0 0 auto;width:26px;height:26px;border-radius:5px;color:#8b95a5}.engine-key-icon:hover{background:#f4f5f7;color:#556070}.engine-key-note{margin:8px 0 0;font-size:10px;color:#a0a8b5}.engine-key-foot{display:flex;align-items:center;gap:6px;max-width:720px;margin:14px 0 0;font-size:10px;color:#98a1b0}@media(max-width:600px){.engine-key-card{padding:14px}.engine-key-head h3{font-size:13px}}.creation-module span{white-space:normal;overflow-wrap:anywhere;line-height:1.3}.pose-panel{display:flex;flex-direction:column;gap:10px}.pose-section{display:flex;flex-direction:column;gap:6px}.pose-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.pose-head strong{font-size:11px;font-weight:650;color:#343a43}.pose-head span{font-size:9px;color:#8993a0}.pose-drop{display:flex;flex-direction:column;gap:6px;min-height:56px;padding:6px;border:1.5px dashed #dde1e8;border-radius:8px;background:#fdfdfe}.pose-drop.dragging{border-color:var(--orange);background:#fff6ee}.pose-drop:focus-visible{outline:2px solid #f5c2ab;outline-offset:2px}.pose-drop-button{width:100%;min-height:34px;border-radius:6px;color:#97a0ae;font-size:10px}.pose-drop-button:hover:not(:disabled){color:var(--orange);background:#fff7f2}.pose-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;max-height:90px;overflow:auto}.pose-thumb{position:relative;height:82px;overflow:hidden;border-radius:5px;background:#eef0f4}.pose-thumb img{display:block;width:100%;height:100%;object-fit:cover}.pose-thumb span{position:absolute;left:3px;bottom:3px;padding:1px 4px;border-radius:4px;background:#1111119e;color:#fff;font-size:8px}.pose-thumb button{position:absolute;right:2px;top:2px;width:16px;height:16px;border-radius:50%;background:#1111119e;color:#fff}.pose-upload-meta{display:flex;align-items:center;justify-content:space-between;padding:0 2px;font-size:9px;color:#8993a0}.pose-upload-meta button{font-size:9px;color:#98a1b0}.pose-upload-meta button:hover{color:var(--orange)}.pose-status{margin:0;font-size:9px;color:#8993a0}.pose-status.ready{color:#2f9e5f}.pose-status.error{color:#d4483b}.pose-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.pose-notes label{display:flex;flex-direction:column;gap:3px;min-width:0}.pose-notes span{font-size:8px;color:#8993a0}.pose-notes input{height:28px;padding:0 7px;border:1px solid #e1e5eb;border-radius:5px;background:#fff;color:#333b47;font-size:10px}.pose-extra{min-height:58px;padding:7px 8px;border:1px solid #e1e5eb;border-radius:5px;background:#fff;color:#333b47;font-size:10px;resize:vertical}.pose-selects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.pose-selects label{display:flex;flex-direction:column;gap:3px;min-width:0}.pose-selects span{font-size:8px;color:#8993a0}.pose-selects select{min-width:0;height:30px;padding:0 4px;border:1px solid #e1e5eb;border-radius:5px;background:#fff;color:#333b47;font-size:10px}.pose-model-hint{margin:-6px 0 0;font-size:8px;color:#8993a0}.pose-footer{position:sticky;bottom:0;margin-top:auto;padding:8px 0 2px;background:#fff;box-shadow:0 -10px 14px #fffffff2}.pose-submit{flex:0 0 42px;margin-top:0;font-size:13px;font-weight:600}.pose-result{display:flex;flex-direction:column;gap:10px;height:100%;min-height:0}.pose-result-grid{flex:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8px;min-height:0}.pose-result-cell{position:relative;margin:0;min-height:0;overflow:hidden;border-radius:6px;background:#f0f2f4}.pose-result-cell img{display:block;width:100%;height:100%;object-fit:contain}.pose-result-download{position:absolute;right:8px;bottom:8px;width:28px;height:28px;border-radius:6px;background:#ffffffdb;color:#4b5563;box-shadow:0 1px 4px #11182729}.pose-result-download:hover{background:#fff;color:var(--orange)}.pose-result-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:9px;color:#8993a0}.pose-result-bar button{height:26px;padding:0 10px;border:1px solid #e5e7ec;border-radius:5px;background:#fff;color:#4b5563;font-size:10px}.pose-result-bar button:hover{border-color:#f5b091;color:var(--orange)}.pose-result-note{display:flex;align-items:center;justify-content:center;height:100%;font-size:12px;color:#97a0ae}.pose-result-fallback img{flex:1;min-height:0;width:100%;object-fit:contain;border-radius:6px;background:#f0f2f4}
