@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap";.prism{width:100%;height:100%;position:relative;overflow:hidden}.prism-canvas{width:100%;height:100%;display:block;position:absolute;inset:0}.api-provider-list{--api-card-gap:8px;gap:var(--api-card-gap);margin-top:var(--api-card-gap);display:grid}.api-settings-panel .api-provider-sortable .api-provider-fold,.api-settings-panel .api-provider-add>.api-key-row{margin-top:0}.api-provider-list .api-provider-fold>summary{cursor:grab;-webkit-user-select:none;user-select:none}.api-provider-list .api-provider-fold>summary:active{cursor:grabbing}.api-provider-list .api-provider-reorder-icon{color:var(--duwu-muted);flex-shrink:0}.api-provider-sortable[data-dragging]{opacity:.55}.api-provider-sortable,.api-provider-add{position:relative}.api-provider-sortable[data-drop-before]:before,.api-provider-add[data-drop-before]:before{content:"";inset:calc(var(--api-card-gap) / -2 - 1px) 0 auto;background:var(--duwu-blue);pointer-events:none;border-radius:1px;height:2px;position:absolute}.sling-button{--sl-size:56px;--sl-svg:90px;--sl-pad:#f5f5f5;--sl-icon:#18181b;--sl-accent:#f5f5f5;--sl-well:#27272a;--sl-band:#52525b;--sl-stroke:3px;--sl-dot:8px;--sl-ease-out:cubic-bezier(.23, 1, .32, 1);width:var(--sl-size);height:var(--sl-size);display:inline-block;position:relative}.sling-button__fx{width:var(--sl-svg);height:var(--sl-svg);margin:calc(var(--sl-svg) / -2) 0 0 calc(var(--sl-svg) / -2);pointer-events:none;shape-rendering:geometricprecision;position:absolute;top:50%;left:50%;overflow:visible}.sling-button__well{fill:var(--sl-well);transition:fill .2s}.sling-button[data-sent] .sling-button__well{fill:var(--sl-accent)}.sling-button__band{fill:none;stroke:var(--sl-band);stroke-width:calc(var(--sl-stroke) * .7);stroke-linecap:round;transition:stroke-width .16s var(--sl-ease-out)}.sling-button[data-armed] .sling-button__band{stroke-width:calc(var(--sl-stroke) * 1.05)}.sling-button__band--hot{stroke:var(--sl-accent)}.sling-button__arc{fill:none;stroke:var(--sl-accent);stroke-width:var(--sl-stroke);stroke-linecap:butt;transition:stroke-width .16s var(--sl-ease-out)}.sling-button[data-armed] .sling-button__arc{stroke-width:calc(var(--sl-stroke) * 1.5)}.sling-button__move{position:absolute;inset:0}.sling-button__pad{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:50%;outline:none;width:100%;height:100%;margin:0;padding:0;display:block;position:relative}.sling-button__pad:after{content:"";border-radius:50%;position:absolute;inset:-6px}.sling-button__pad[data-held]{cursor:grabbing}.sling-button__pad[aria-disabled=true]{cursor:not-allowed;opacity:.5}.sling-button__face{background:var(--sl-pad);width:100%;height:100%;color:var(--sl-icon);transition:transform .16s var(--sl-ease-out);border-radius:50%;justify-content:center;align-items:center;display:flex}.sling-button__pad[data-held] .sling-button__face{transform:scale(.97)}.sling-button__pad[data-armed] .sling-button__face{transform:scale(1.04)}@media (hover:hover) and (pointer:fine){.sling-button__pad:not([data-held]):not([aria-disabled=true]):hover .sling-button__face{transform:scale(1.02)}}.sling-button__icon{will-change:transform;display:inline-flex}.sling-button__dot{width:var(--sl-dot);height:var(--sl-dot);margin:calc(var(--sl-dot) / -2) 0 0 calc(var(--sl-dot) / -2);background:var(--sl-accent);opacity:0;pointer-events:none;border-radius:50%;position:absolute;top:50%;left:50%}.sling-button__sr{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){.sling-button__face{transition:none;transform:none!important}}.annotation-editor{border:1px solid var(--duwu-border);background:var(--duwu-surface);width:min(960px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--duwu-text);border-radius:16px;margin:auto;padding:0;font-family:inherit;font-size:14px;line-height:1.4;box-shadow:0 24px 80px #0009}.annotation-editor[open]{flex-direction:column;display:flex}.annotation-editor::backdrop{background:#080a10c2}.dark .annotation-editor{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.annotation-header{border-bottom:1px solid var(--duwu-border);justify-content:space-between;align-items:center;padding:12px 18px;display:flex}.annotation-header h2{margin:0;font-size:16px}.annotation-editor button{color:inherit;font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:6px;padding:7px 10px;display:inline-flex}.annotation-editor button:hover:not(:disabled){background:var(--duwu-surface-raised)}.annotation-editor button:disabled{opacity:.5;cursor:default}.annotation-editor button[aria-pressed=true]{background:#346aff24;border-color:#7395ff80}.annotation-tools{border:0;border-bottom:1px solid var(--duwu-border);flex-wrap:wrap;align-items:center;gap:6px;min-inline-size:0;margin:0;padding:8px 16px;display:flex}.annotation-tools label{align-items:center;gap:6px;margin-left:4px;display:flex}.annotation-tools input[type=color]{cursor:pointer;background:0 0;border:0;width:28px;height:26px;padding:0}.annotation-tools input[type=range]{width:90px;accent-color:var(--duwu-blue)}.annotation-tools output{min-width:22px;color:var(--duwu-muted);font-variant-numeric:tabular-nums}.annotation-divider{background:var(--duwu-border);width:1px;height:22px;margin:0 4px}.annotation-stage{background:var(--duwu-surface-raised);flex:auto;justify-content:safe center;align-items:safe center;min-height:100px;padding:16px;display:flex;overflow:auto}.annotation-image-wrap{border-radius:6px;flex:0 auto;min-width:0;position:relative;overflow:hidden}.annotation-image-wrap img{-webkit-user-select:none;user-select:none;max-width:100%;max-height:min(56dvh,100dvh - 240px);display:block}.annotation-image-wrap canvas{touch-action:none;cursor:crosshair;width:100%;height:100%;position:absolute;inset:0}.annotation-bottom{gap:10px;padding:14px 16px;display:grid}.annotation-bottom textarea,.annotation-settings select{border:1px solid var(--duwu-border);background:var(--duwu-surface-raised);min-width:0;color:inherit;font:inherit;border-radius:8px;padding:9px 11px}.annotation-bottom textarea{resize:vertical;width:100%;min-height:66px}.annotation-settings{flex-wrap:wrap;gap:8px;display:flex}.annotation-settings select{max-width:45%}.annotation-editor .annotation-apply{background:var(--duwu-blue);color:#fff;margin-inline-start:auto;padding:9px 15px}.annotation-editor .annotation-apply:hover:not(:disabled){background:#2859df}.annotation-status,.annotation-error{margin:0;font-size:12px}.annotation-status{color:var(--duwu-muted)}.annotation-error{color:#b32628}.dark .annotation-error{color:#ff9d92}@media (width<=560px){.annotation-settings select{flex:40%;max-width:none}}:root{color:#242522;font-synthesis:none;text-rendering:optimizelegibility;background:#f6f5f1;font-family:DM Sans,Noto Sans SC,sans-serif}*{box-sizing:border-box}body{min-width:780px;min-height:600px;margin:0}.app-shell{background:#f7f6f2;height:100vh;overflow:hidden}.topbar{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:5;background:#fbfaf7ed;border-bottom:1px solid #e9e7e0;justify-content:space-between;align-items:center;height:68px;padding:0 30px;display:flex;position:absolute;top:0;left:0;right:0}.brand,.brand>span,.top-actions,.brand-icon,.local-status,.billing,.primary,.node-title,.node-head,.node-bottom,.generate-button,.zoom-controls,.zoom-controls button,.canvas-hint,.welcome-kicker,.bottom-bar,.tip,.save-state,.help-button{align-items:center;display:flex}.brand{letter-spacing:-.6px;gap:10px;font-size:18px;font-weight:700}.brand-icon{color:#fff;background:#252622;border-radius:9px;justify-content:center;width:30px;height:30px}.brand-dot{color:#8273da}.brand-tag{color:#93928a;letter-spacing:1.2px;border-left:1px solid #dddcd6;margin-left:4px;padding-left:12px;font-size:9px;font-weight:600}.local-status{color:#77776f;gap:7px;font-size:12px}.local-status i,.save-state i{background:#6fac83;border-radius:50%;width:7px;height:7px}.billing{color:#494a44;gap:7px;font-size:12px;font-weight:600;text-decoration:none}.billing:hover{color:#7567c9}.primary{color:#fff;cursor:pointer;background:#292a26;border:0;border-radius:9px;gap:7px;padding:10px 14px;font:600 12px inherit}.zoom-controls{z-index:3;background:#fff;border:1px solid #ebe9e2;border-radius:11px;gap:6px;padding:5px;position:absolute;bottom:79px;left:26px;box-shadow:0 4px 18px #302f2710}.zoom-controls button,.icon-button{color:#77776f;cursor:pointer;background:0 0;border:0;justify-content:center}.zoom-controls button{border-radius:7px;width:27px;height:27px}.zoom-controls button:hover,.icon-button:hover{background:#f1f0eb}.zoom-controls span{text-align:center;color:#5e5e57;min-width:38px;font-size:11px}.zoom-controls i{border-left:1px solid #e9e7e0;height:18px;margin:0 4px}.canvas-hint{color:#aaa9a2;pointer-events:none;z-index:1;gap:7px;font-size:11px;position:absolute;top:88px;left:50%;transform:translate(-50%)}.canvas{touch-action:none;background-color:#f7f6f2;background-image:radial-gradient(#deddd6 .8px,#0000 .8px);background-position:0 0;background-size:20px 20px;position:absolute;inset:68px 0 55px;overflow:hidden}.canvas.drag-over{background-color:#f0eef9}.edge-layer{transform-origin:0 0;pointer-events:none;z-index:1;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.edge-layer path{fill:none;stroke:#a995e0;stroke-width:2px;vector-effect:non-scaling-stroke}.edge-layer .temp-wire{stroke-dasharray:5 5}.canvas-world{z-index:2}.drop-hint{z-index:5;color:#7567c9;pointer-events:none;background:#ffffffa8;border:2px dashed #9d8cdd;border-radius:18px;place-items:center;font-size:16px;display:grid;position:absolute;inset:20px}.canvas-world{transform-origin:0 0;position:absolute;inset:0}.node{touch-action:none;-webkit-user-select:none;user-select:none;background:#fff;border:1px solid #e8e7e1;border-radius:13px;width:330px;position:absolute;box-shadow:0 8px 28px #36352c0c,0 1px 3px #36352c08}.prompt-node{width:330px}.node-head{border-bottom:1px solid #f0efeb;justify-content:space-between;padding:13px 14px}.node-title{gap:8px;font-size:12px;font-weight:600}.node-icon{border-radius:8px;place-items:center;width:26px;height:26px;display:grid}.purple{color:#8273d1;background:#f0edfb}.green{color:#69977b;background:#eaf4ee}.model-pill{letter-spacing:.6px;color:#99988f;background:#f5f4f0;border-radius:4px;padding:4px 6px;font-size:8px}.icon-button{color:#96958d;border-radius:6px;place-items:center;width:26px;height:26px;display:grid}.prompt-label{color:#828179;margin:15px 16px 7px;font-size:10px;font-weight:600;display:block}.prompt-node textarea{resize:none;color:#44443f;background:0 0;border:0;outline:0;width:calc(100% - 32px);height:102px;margin:0 16px;font:12px/1.7 DM Sans,Noto Sans SC,sans-serif;display:block}.prompt-node textarea::placeholder{color:#b3b2ab}.prompt-footer{color:#aaa99f;justify-content:space-between;margin:4px 16px 13px;font-size:9px;display:flex}.generate-button{color:#fff;cursor:pointer;background:#7164c4;border:0;border-radius:8px;justify-content:center;gap:8px;width:calc(100% - 30px);height:39px;margin:0 15px 13px;font:600 11px DM Sans,Noto Sans SC,sans-serif;box-shadow:0 3px 8px #7164c42a}.generate-button:hover:not(:disabled){background:#6255b5}.generate-button:disabled{opacity:.58;cursor:not-allowed}.generate-button svg:last-child{margin-left:auto;margin-right:10px}.node-bottom{color:#a09f96;border-top:1px solid #f0efeb;justify-content:space-between;height:34px;padding:0 14px;font-size:9px}.node-bottom>span:first-child{align-items:center;gap:6px;display:flex}.output-dot,.input-dot{background:#9c8de1;border-radius:50%;width:6px;height:6px}.input-dot{background:#7bb38e}.node-bottom [data-port]{cursor:crosshair}.node-handle{background:#a995e0;border:2px solid #fff;border-radius:50%;width:9px;height:9px;position:absolute;top:50%;right:-5px;box-shadow:0 0 0 1px #ddd5f4}.error-message{color:#be6257;background:#fff3f0;border-radius:7px;margin:0 15px 10px;padding:9px 10px;font-size:10px;line-height:1.55}.image-node{width:330px}.image-actions{gap:2px;display:flex}.generated-image{object-fit:contain;background:#f2f1ed;border-radius:7px;width:calc(100% - 24px);max-height:360px;margin:12px;display:block}.image-prompt{color:#77766e;max-height:48px;margin:0 14px 12px;font-size:10px;line-height:1.6;overflow:hidden}.welcome-card{text-align:center;pointer-events:none;opacity:.88;width:390px;transition:opacity .2s,visibility .2s;position:absolute;top:48%;left:50%;transform:translate(-50%,-50%)}.welcome-card.dismissed{opacity:0;visibility:hidden;pointer-events:none}.welcome-kicker{color:#9c8fd4;letter-spacing:1.5px;justify-content:center;gap:6px;font-size:9px;font-weight:700}.welcome-card h1{letter-spacing:-1.7px;color:#42423d;margin:16px 0 10px;font-size:39px;font-weight:600;line-height:1.25}.welcome-card h1 span{color:#8175c5}.welcome-card p{color:#96958e;width:290px;margin:0 auto;font-size:11px;line-height:1.9}.welcome-card button{pointer-events:auto;color:#6a695f;cursor:pointer;background:#ffffffb5;border:1px solid #e6e3dc;border-radius:8px;margin-top:20px;padding:9px 14px;font:600 10px inherit}.welcome-card button span{color:#8175c5;margin-left:8px}.bottom-bar{color:#98978f;z-index:4;background:#fbfaf7ed;border-top:1px solid #e9e7e0;justify-content:space-between;height:55px;padding:0 26px;font-size:10px;position:absolute;bottom:0;left:0;right:0}.tip,.save-state,.help-button{gap:7px}.tip b{color:#d1cfc8;font-weight:400}.save-state i{width:6px;height:6px}.help-button{color:#898880;cursor:pointer;background:0 0;border:0;font:10px inherit}.toast{z-index:8;color:#fff;background:#282923;border-radius:8px;padding:11px 16px;font-size:11px;position:absolute;bottom:72px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #0002}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=900px){.welcome-card{left:65%}.topbar{padding:0 18px}.top-actions{gap:12px}}.import-button{cursor:pointer;background:0 0;border:0;font:600 12px inherit}.import-button:hover{color:#7567c9}.prompt-node .node-handle{z-index:4;cursor:crosshair;right:-6px}.image-node .input-handle{z-index:4;cursor:crosshair;left:-6px;right:auto}.port-label{color:#b1a9ca;pointer-events:none;font-size:8px;position:absolute;right:12px}.create-menu{z-index:20;background:#fff;border:1px solid #e8e7e1;border-radius:10px;gap:3px;min-width:170px;padding:6px;display:grid;position:fixed;transform:translate(8px,8px);box-shadow:0 10px 32px #25241e20}.create-menu button{text-align:left;color:#494a44;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:10px 12px;font:12px DM Sans,Noto Sans SC,sans-serif}.create-menu button:hover{color:#7567c9;background:#f4f2fb}.text-node{width:300px}.text-content{resize:both;color:#44443f;background:0 0;border:0;outline:0;width:calc(100% - 28px);min-height:130px;margin:14px;font:13px/1.7 DM Sans,Noto Sans SC,sans-serif;display:block}.text-content::placeholder{color:#b3b2ab}.amber{color:#b38a42;background:#fbf2df}.text-node .input-handle{z-index:4;cursor:crosshair;top:50%;left:-6px;right:auto}.text-node .node-handle:not(.input-handle){z-index:4;cursor:crosshair;right:-6px}.canvas{cursor:default}.canvas.panning{cursor:grabbing}.canvas-world .node{cursor:grab}.canvas-world .node:active{cursor:grabbing}.group-output-handle:hover{transform:translateY(-50%)scale(1.25)}.selection-marquee{z-index:10;pointer-events:none;background:#8173d125;border:1px solid #7567c9;border-radius:2px;position:absolute}.group-output-handle{z-index:8;cursor:crosshair;background:#8273d1;border:2px solid #fff;border-radius:50%;width:17px;height:17px;padding:0;position:absolute;box-shadow:0 0 0 1px #d7cef3}.group-output-handle:after{content:"+";color:#fff;text-align:center;font:600 12px/14px DM Sans,Noto Sans SC,sans-serif;position:absolute;inset:-2px 0 0}.generator-inputs{background:#faf9f7;border:1px solid #eeece6;border-radius:8px;margin:0 15px 12px;padding:9px}.generator-inputs-heading{color:#85847c;justify-content:space-between;align-items:center;margin-bottom:7px;font-size:9px;display:flex}.generator-inputs-heading span:last-child{color:#aaa99f}.reference-strip{flex-wrap:wrap;gap:6px;display:flex}.reference-thumb{background:#f1f0eb;border:1px solid #e5e3dc;border-radius:6px;width:48px;height:48px;position:relative;overflow:hidden}.reference-thumb img{object-fit:cover;width:100%;height:100%}.reference-loading,.reference-empty{color:#aaa99f;justify-content:center;align-items:center;display:flex}.reference-loading{height:100%}.reference-empty{gap:6px;min-height:28px;font-size:9px}.reference-remove{color:#fff;cursor:pointer;opacity:0;background:#242522a8;border:0;border-radius:50%;place-items:center;width:15px;height:15px;padding:0;display:grid;position:absolute;top:2px;right:2px}.reference-thumb:hover .reference-remove{opacity:1}.reference-text-list{flex-direction:column;gap:4px;margin-top:7px;display:flex}.reference-text-list span{color:#77766e;white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:5px;font-size:9px;display:flex;overflow:hidden}.generator-inputs+.prompt-footer{margin-top:2px}.node-bottom{font-size:8px}.text-node .text-content{-webkit-user-select:text;user-select:text}.bottom-bar kbd{color:#66665e;background:#fff;border:1px solid #dedcd5;border-radius:4px;padding:2px 5px;font:10px DM Sans,Noto Sans SC,sans-serif}.image-node-loading,.image-node-error{color:#8273d1;text-align:center;background:linear-gradient(145deg,#faf9ff,#f5f3fc);border:1px dashed #ded9f2;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:220px;margin:12px;display:flex}.image-node-loading strong{font-size:12px;font-weight:600}.image-node-loading span{color:#9993b5;font-size:10px}.image-node-error{color:#bd6458;text-align:left;background:#fff7f5;border-color:#f0d6d0;flex-direction:row;justify-content:flex-start;align-items:flex-start;min-height:76px;padding:14px;font-size:10px;line-height:1.6}.brand-logo{object-fit:cover;background:#171717;border-radius:10px;width:42px;height:42px}.brand{gap:9px}.brand>span:first-of-type{letter-spacing:0;font-size:16px}.generation-options-wrap{margin:0 15px 8px;position:relative}.generation-options-trigger{color:#77766e;cursor:pointer;background:#faf9f7;border:1px solid #eeece6;border-radius:6px;align-items:center;gap:5px;max-width:100%;padding:5px 7px;font:9px DM Sans,Noto Sans SC,sans-serif;display:flex}.generation-options-trigger:hover{color:#7567c9;border-color:#c9c1e8}.generation-options-popover{z-index:30;background:#fff;border:1px solid #e8e7e1;border-radius:12px;width:330px;max-height:min(640px,75vh);padding:15px;position:absolute;bottom:calc(100% + 9px);left:0;overflow:auto;box-shadow:0 12px 36px #29281f25}.settings-close{color:#8c8b83;cursor:pointer;background:0 0;border:0;border-radius:5px;width:24px;height:24px;position:absolute;top:10px;right:10px}.option-group{margin:0 0 14px}.option-group:last-child{margin-bottom:0}.option-group strong{color:#4d4d47;margin-bottom:7px;font-size:11px;display:block}.option-group>div{flex-wrap:wrap;gap:5px;display:flex}.option-group>div button{color:#77766e;cursor:pointer;background:#fff;border:1px solid #e8e7e1;border-radius:6px;min-height:27px;padding:4px 8px;font:10px DM Sans,Noto Sans SC,sans-serif}.option-group>div button.selected{color:#6556bb;background:#f2effc;border-color:#8375d0}.option-group>div button:hover{border-color:#b9afe5}.option-group>div button:disabled{opacity:.4;cursor:not-allowed}.image-preview-overlay{z-index:50;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#10110fd9;place-items:center;padding:48px;display:grid;position:fixed;inset:0}.image-preview-overlay>img{object-fit:contain;max-width:min(92vw,1800px);max-height:90vh;box-shadow:0 18px 60px #0007}.image-preview-close{color:#fff;cursor:pointer;background:#171717ad;border:1px solid #fff5;border-radius:50%;place-items:center;width:42px;height:42px;display:grid;position:absolute;top:20px;right:24px}.create-menu button:disabled{opacity:.4;cursor:not-allowed}.prompt-node,.text-node,.image-node{box-sizing:border-box;flex-direction:column;display:flex;position:absolute}.prompt-node textarea{resize:none;flex:102px;height:auto;min-height:100px}.prompt-node>.node-head,.prompt-node>.prompt-label,.prompt-node>.generator-inputs,.prompt-node>.prompt-footer,.prompt-node>.generation-options-wrap,.prompt-node>.generate-button,.prompt-node>.error-message,.prompt-node>.node-bottom{flex-shrink:0}.text-node .text-content{resize:none;flex:auto;min-height:90px}.node-resize-handle{z-index:9;cursor:nwse-resize;touch-action:none;width:18px;height:18px;position:absolute;bottom:2px;right:2px}.node-resize-handle:before,.node-resize-handle:after{content:"";transform-origin:100%;background:#aaa8a0;width:7px;height:1px;position:absolute;bottom:4px;right:4px;transform:rotate(-45deg)}.node-resize-handle:after{width:5px;bottom:7px;right:3px}.image-dimensions{color:#9a998f;white-space:nowrap;margin-left:3px;font-size:9px;font-weight:500}.image-cost-info{color:#7062bd;background:#f5f4f9;border-radius:6px;align-items:center;min-height:24px;margin:0 12px 8px;padding:4px 7px;font-size:9px;line-height:1.4;display:flex}.image-node .node-cost-info{margin-top:auto}.image-node .generated-image{object-fit:contain;width:calc(100% - 24px);max-height:360px}.image-preview-overlay{align-content:center;overflow:auto}.image-preview-toolbar{z-index:2;color:#fff;background:#171717d9;border:1px solid #ffffff35;border-radius:8px;align-items:center;gap:12px;padding:7px 10px;font-size:12px;display:flex;position:fixed;top:16px;left:50%;transform:translate(-50%)}.image-preview-toolbar>button:not(.image-preview-close){color:#fff;cursor:pointer;background:#333;border:1px solid #fff4;border-radius:6px;padding:6px 10px}.image-preview-toolbar .image-preview-close{background:0 0;border:0;flex:0 0 28px;width:28px;height:28px;position:static}.image-preview-overlay.actual-size{text-align:center;padding:70px 24px 24px;display:block}.image-preview-overlay.actual-size>img{max-width:none;max-height:none;box-shadow:none}.bottom-actions{align-items:center;gap:16px;display:flex}.theme-toggle{color:#77766e;cursor:pointer;background:0 0;border:1px solid #e5e3dc;border-radius:7px;align-items:center;gap:7px;padding:6px 9px;font:10px DM Sans,Noto Sans SC,sans-serif;display:flex}.theme-toggle:hover{background:#f1f0eb}.theme-switch{background:#c9c8c1;border-radius:99px;align-items:center;width:27px;height:15px;padding:2px;transition:background .15s;display:inline-flex}.theme-switch i{background:#fff;border-radius:50%;width:11px;height:11px;transition:transform .15s}.theme-switch.active{background:#796bc8}.theme-switch.active i{transform:translate(12px)}.image-size-warning{color:#9a6a25;background:#fff5e7;border-radius:6px;margin:0 12px 8px;padding:6px 8px;font-size:9px;line-height:1.5}.app-shell.dark .image-size-warning{color:#f0c77f;background:#3a3021}.app-shell.dark{color:#e8e8e5;background:#111210}.app-shell.dark .topbar,.app-shell.dark .bottom-bar{color:#b6b6af;background:#191a18f2;border-color:#30312e}.app-shell.dark .brand-tag{color:#96968f;border-color:#393a36}.app-shell.dark .local-status,.app-shell.dark .billing,.app-shell.dark .help-button,.app-shell.dark .theme-toggle{color:#cecec8}.app-shell.dark .theme-toggle{border-color:#3e3f3a}.app-shell.dark .theme-toggle:hover{background:#292a27}.app-shell.dark .canvas{background-color:#141513;background-image:radial-gradient(#363733 .8px,#0000 .8px)}.app-shell.dark .node{color:#e7e7e1;background:#20211f;border-color:#383935;box-shadow:0 8px 28px #0005}.app-shell.dark .node-head,.app-shell.dark .node-bottom{border-color:#373833}.app-shell.dark .node-title,.app-shell.dark .prompt-node textarea,.app-shell.dark .text-content{color:#e4e4de}.app-shell.dark .prompt-label,.app-shell.dark .prompt-footer,.app-shell.dark .node-bottom,.app-shell.dark .image-prompt{color:#aaa9a1}.app-shell.dark .model-pill,.app-shell.dark .generation-options-trigger,.app-shell.dark .generator-inputs,.app-shell.dark .reference-thumb,.app-shell.dark .image-cost-info{color:#bbb9b0;background:#292a27;border-color:#3b3c37}.app-shell.dark .reference-empty{color:#aaa9a1}.app-shell.dark .reference-text-list span{color:#c1c0b9}.app-shell.dark .generation-options-popover,.app-shell.dark .create-menu{color:#e6e6e0;background:#252623;border-color:#41423d}.app-shell.dark .option-group strong,.app-shell.dark .create-menu button{color:#e0e0d9}.app-shell.dark .option-group>div button{color:#cecec7;background:#2b2c29;border-color:#464742}.app-shell.dark .option-group>div button.selected{color:#ddd7ff;background:#3b355d;border-color:#8c7ddd}.app-shell.dark .selection-marquee{background:#8273d145}.app-shell.dark .zoom-controls{background:#222320;border-color:#3b3c37}.app-shell.dark .zoom-controls span{color:#deded7}.app-shell.dark .zoom-controls button{color:#c7c7c0}.app-shell.dark .zoom-controls i{border-color:#41423d}.app-shell.dark .canvas-hint,.app-shell.dark .welcome-card p{color:#aaa9a1}.app-shell.dark .welcome-card h1{color:#e8e8e2}.app-shell.dark .welcome-card button{color:#d7d7d0;background:#242522;border-color:#42433e}.app-shell.dark .image-node-loading{background:#292633;border-color:#49435e}.app-shell.dark .image-node-error{background:#382724;border-color:#63413b}.app-shell.dark .image-node-error span{color:#ffc0b4}.app-shell.dark .bottom-bar kbd{color:#deded7;background:#2a2b28;border-color:#44453f}.app-shell.dark .node-resize-handle:before,.app-shell.dark .node-resize-handle:after{background:#aaa9a1}.app-shell.dark .drop-hint{background:#20211ee8}.api-provider-control{color:#85847c;align-items:center;gap:8px;margin:0 0 8px;font-size:9px;display:flex}.api-provider-control select{color:#625f58;background:#faf9f7;border:1px solid #eeece6;border-radius:6px;max-width:100%;padding:5px 7px;font:9px DM Sans,Noto Sans SC,sans-serif}.provider-notice{color:#96652c;background:#fff9f0;border:1px solid #f2d8bd;border-radius:6px;margin:0 0 8px;padding:7px 8px;font-size:9px;line-height:1.5}.app-shell.dark .api-provider-control{color:#bbb9b0}.app-shell.dark .api-provider-control select{color:#deded7;background:#292a27;border-color:#3b3c37}.app-shell.dark .provider-notice{color:#ebc48b;background:#342d22;border-color:#58472c}.provider-hint{color:#85847c;background:#f4f3ef;border-radius:6px;margin:0 0 8px;padding:6px 8px;font-size:9px;line-height:1.5}.settings-provider-hint{margin:0 0 14px}.app-shell.dark .provider-hint{color:#bbb9b0;background:#292a27}.edge-interactive .edge-hit{stroke:#0000;stroke-width:18px;pointer-events:stroke}.edge-cut{pointer-events:auto;opacity:0;overflow:visible}.edge-interactive:hover .edge-cut{opacity:1}.edge-cut button{color:#7567c9;cursor:pointer;background:#fff;border:1px solid #b8abe4;border-radius:50%;place-items:center;width:28px;height:28px;display:grid}.canvas{--canvas-dot:#deddd6}.app-shell.dark .canvas{--canvas-dot:#363733}.node-group-background{pointer-events:none;background:#a995e01c;border:1px solid #9c8de1;border-radius:18px;position:absolute}.create-menu button{align-items:center;gap:9px;display:flex}.create-menu button svg{color:#8273d1;flex:none}.generated-image{cursor:grab}.generated-image:active{cursor:grabbing}.node-group-background{pointer-events:auto;cursor:grab;background:#7a70a729;border:1px solid #beb9d4;border-radius:12px}.node-group-background:active{cursor:grabbing}.node-group-background>span{color:#827d92;white-space:nowrap;font-size:12px;position:absolute;top:-22px;left:0}.app-shell.dark .node-group-background{background:#ebebf51c;border-color:#6d6977}.app-shell.dark .node-group-background>span{color:#aaa7b0}.image-preview-overlay:not(.actual-size)>img{place-self:center;width:auto;height:auto}.image-node-clean{box-shadow:none;background:0 0;border-color:#0000}.image-node-clean>.node-head,.image-node-clean>.node-bottom{display:none}.image-node-clean .generated-image{border-radius:8px;width:100%;max-height:none;margin:0}.image-node-clean .node-resize-handle{bottom:2px;right:2px}.image-context-toolbar{white-space:nowrap;gap:2px;min-width:0;padding:4px;display:flex}.image-context-toolbar button{padding:7px 9px}.group-name-input{color:#444;background:#fff;border:1px solid #a995e0;border-radius:4px;outline:none;width:150px;padding:3px 5px;font:12px inherit;position:absolute;top:-26px;left:0}.node-group-background>span{cursor:text;pointer-events:auto}.app-shell.dark .node.image-node-clean{box-shadow:none;background:0 0;border-color:#0000}.image-size-label{color:#8d8d86;white-space:nowrap;pointer-events:none;font-size:10px;line-height:16px;position:absolute;top:-22px;left:0}.app-shell.dark .image-size-label{color:#aaa9a1}.image-context-toolbar button:disabled svg{opacity:.45}.image-context-toolbar{transform-origin:bottom;transform:translate(-50%,calc(-100% - 12px))scale(.7)}.multi-selection-frame{pointer-events:none;background:#9488d41b;border:1px dashed #9387cf;border-radius:12px;position:absolute}.app-shell.dark .multi-selection-frame{background:#e2dcff14;border-color:#aaa1d7}.multi-selection-toolbar{z-index:15;white-space:nowrap;background:#fff;border:1px solid #e3e1db;border-radius:10px;gap:3px;padding:5px;display:flex;position:absolute;transform:translate(-50%,calc(-100% - 10px));box-shadow:0 6px 25px #0002}.multi-selection-toolbar button{color:#55534f;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:6px;padding:7px 10px;font:12px DM Sans,Noto Sans SC,sans-serif;display:flex}.multi-selection-toolbar button:hover{color:#7164c4;background:#f2effb}.app-shell.dark .multi-selection-toolbar{background:#252623;border-color:#464742}.app-shell.dark .multi-selection-toolbar button{color:#eee}.app-shell.dark .multi-selection-toolbar button:hover{background:#38353f}.alignment-guide{z-index:12;pointer-events:none;position:absolute}.alignment-guide.vertical{border-left:1px dashed #8c7be0;top:0;bottom:0}.alignment-guide.horizontal{border-top:1px dashed #8c7be0;left:0;right:0}.edge-layer .edge-glow{stroke:#eee5ff;stroke-width:3px;stroke-linecap:round;stroke-dasharray:5 95;filter:drop-shadow(0 0 4px #b999ff);pointer-events:none;animation:6s linear infinite edge-flow}@keyframes edge-flow{to{stroke-dashoffset:-100px}}@media (prefers-reduced-motion:reduce){.edge-layer .edge-glow{opacity:.55;animation:none}}.generation-options-popover,.prompt-node textarea,.text-node textarea,.image-preview-overlay{overscroll-behavior:contain}.pending-wire-end text{fill:#8273d1;font:18px sans-serif}.app-shell.dark .pending-wire-end circle{fill:#252623}.reference-thumb{cursor:grab;touch-action:auto}.reference-thumb:active{cursor:grabbing}.reference-number{color:#fff;pointer-events:none;background:#29272bd9;border-radius:50%;place-items:center;min-width:16px;height:16px;padding:0 3px;font:10px DM Sans,sans-serif;display:grid;position:absolute;top:3px;left:3px}.reference-preview .image-preview-close{z-index:2}.canvas{inset:0}.topbar,.app-shell.dark .topbar{-webkit-backdrop-filter:none;backdrop-filter:none;pointer-events:none;background:0 0;border:0;height:50px;padding:0 20px}.topbar .brand,.topbar .top-actions{pointer-events:auto}.brand-logo{border-radius:8px;width:30px;height:30px}.brand>span:first-of-type{font-size:14px}.top-actions{gap:14px}.top-actions .local-status,.top-actions .billing{font-size:10px}.top-actions .primary{padding:7px 10px;font-size:10px}.zoom-controls{bottom:18px}.bottom-bar,.app-shell.dark .bottom-bar{-webkit-backdrop-filter:none;backdrop-filter:none;pointer-events:none;background:0 0;border:0;justify-content:flex-end;gap:18px;height:auto;padding:0 20px;bottom:18px}.bottom-bar .save-state,.bottom-bar .bottom-actions{pointer-events:auto}.save-state{font-size:9px}.theme-toggle{padding:5px 7px;font-size:9px}.shortcuts-wrap{position:relative}.help-button{background:#ffffffb8;border-radius:7px;padding:7px}.app-shell.dark .help-button{background:#252623c7}.shortcuts-popover{color:#5d5c55;background:#fff;border:1px solid #e8e7e1;border-radius:10px;width:260px;padding:14px;font-size:11px;position:absolute;bottom:calc(100% + 10px);right:0;box-shadow:0 10px 30px #0002}.shortcuts-popover strong{color:#333;align-items:center;gap:7px;margin-bottom:10px;display:flex}.shortcuts-popover>div{justify-content:space-between;align-items:center;gap:5px;padding:5px 0;display:flex}.shortcuts-popover>div span{margin-right:auto}.app-shell.dark .shortcuts-popover{color:#ddd;background:#252623;border-color:#41423d}.app-shell.dark .shortcuts-popover strong{color:#eee}.reference-thumb{touch-action:none}.reference-thumb.reference-dragging{opacity:.55;outline-offset:2px;outline:2px solid #8273d1}.reference-number{background:#0000004d;min-width:12px;height:12px;padding:0 2px;font-size:8px}.app-shell{--duwu-blue:#346aff;--duwu-blue-soft:#e8eeff;--duwu-text:#202125;--duwu-muted:#737779;--duwu-border:#d7d9de;--duwu-surface:#fff;--duwu-surface-raised:#f5f6f8;color:var(--duwu-text);background:#f3f4f6}.app-shell.dark{--duwu-text:#f7f8fb;--duwu-muted:#b0b3bd;--duwu-border:#4a4d56;--duwu-surface:#292b31;--duwu-surface-raised:#363941;color:var(--duwu-text);background:#1c1d21}.app-shell .canvas{--canvas-dot:#c8cbd2;background-color:#f3f4f6}.app-shell.dark .canvas{--canvas-dot:#484b54;background-color:#1c1d21}.app-shell .brand{color:var(--duwu-text);letter-spacing:0;gap:9px}.app-shell .brand-logo{border:1px solid #ffffff1c;border-radius:9px;box-shadow:0 2px 8px #0003}.app-shell .brand>span:first-of-type{font-size:15px;font-weight:700}.app-shell .top-actions{gap:8px}.app-shell .top-actions .billing,.app-shell .top-actions .local-status{color:var(--duwu-muted);font-size:10px}.app-shell .top-actions .billing{border:1px solid #0000;border-radius:8px;padding:7px 9px}.app-shell .top-actions .billing:hover{background:var(--duwu-surface);border-color:var(--duwu-border);color:var(--duwu-blue)}.app-shell .primary{color:#fff;background:#346aff;border:1px solid #5a86ff;border-radius:9px;padding:8px 11px;font-weight:600;box-shadow:0 4px 14px #346aff30}.app-shell .primary:hover{background:#2759e4}.app-shell .local-status i,.app-shell .save-state i{background:#4cdb9a}.app-shell .canvas-hint{color:var(--duwu-muted)}.app-shell .node:not(.image-node-clean){background:var(--duwu-surface);color:var(--duwu-text);border:1px solid var(--duwu-border);border-radius:12px;box-shadow:0 12px 32px #10132216,0 2px 5px #1013220d}.app-shell.dark .node:not(.image-node-clean){box-shadow:0 12px 32px #0004,0 2px 5px #0003}.app-shell .node-head,.app-shell .node-bottom{border-color:var(--duwu-border)}.app-shell .node-title{color:var(--duwu-text);font-weight:650}.app-shell .node-bottom,.app-shell .prompt-label,.app-shell .prompt-footer,.app-shell .image-size-label{color:var(--duwu-muted)}.app-shell .prompt-node textarea,.app-shell .text-content{color:var(--duwu-text)}.app-shell .prompt-node textarea::placeholder,.app-shell .text-content::placeholder{color:var(--duwu-muted);opacity:.75}.app-shell .model-pill{background:var(--duwu-surface-raised);color:var(--duwu-muted);font-weight:700}.app-shell .purple{color:#346aff;background:#346aff24}.app-shell.dark .purple{color:#8baaff;background:#346aff2b}.app-shell .green,.app-shell .amber{color:#346aff;background:#346aff18}.app-shell .generate-button{color:#fff;background:#346aff;box-shadow:0 4px 12px #346aff30}.app-shell .generate-button:hover:not(:disabled){background:#2859e5}.app-shell .icon-button{color:var(--duwu-muted)}.app-shell .icon-button:hover{background:var(--duwu-surface-raised);color:var(--duwu-blue)}.app-shell .generator-inputs,.app-shell .generation-options-trigger,.app-shell .api-provider-control select,.app-shell .provider-hint,.app-shell .reference-thumb{background:var(--duwu-surface-raised);border-color:var(--duwu-border);color:var(--duwu-muted)}.app-shell .generation-options-popover,.app-shell .create-menu,.app-shell .multi-selection-toolbar,.app-shell .shortcuts-popover,.app-shell .zoom-controls{background:var(--duwu-surface);color:var(--duwu-text);border:1px solid var(--duwu-border);box-shadow:0 12px 32px #10132222}.app-shell .option-group strong,.app-shell .shortcuts-popover strong{color:var(--duwu-text)}.app-shell .option-group>div button{background:var(--duwu-surface);border-color:var(--duwu-border);color:var(--duwu-text)}.app-shell .option-group>div button.selected{border-color:var(--duwu-blue);color:#346aff;background:#346aff22}.app-shell.dark .option-group>div button.selected{color:#b6c8ff;border-color:var(--duwu-blue);background:#346aff30}.app-shell .option-group>div button:hover:not(:disabled){border-color:var(--duwu-blue)}.app-shell .option-group>div button:focus-visible{outline:2px solid var(--duwu-blue);outline-offset:2px}.app-shell .create-menu button,.app-shell .multi-selection-toolbar button{color:var(--duwu-text)}.app-shell .create-menu button:hover,.app-shell .multi-selection-toolbar button:hover{color:#346aff;background:#346aff1c}.app-shell .create-menu button svg{color:#346aff}.app-shell .zoom-controls button,.app-shell .zoom-controls span,.app-shell .help-button,.app-shell .theme-toggle,.app-shell .shortcuts-popover{color:var(--duwu-muted)}.app-shell .zoom-controls button:hover,.app-shell .theme-toggle:hover,.app-shell .help-button:hover{color:#346aff;background:#346aff20}.app-shell .theme-toggle{border-color:var(--duwu-border);background:var(--duwu-surface)}.app-shell .help-button{background:var(--duwu-surface);border:1px solid var(--duwu-border)}.app-shell .theme-switch.active,.app-shell .output-dot,.app-shell .group-output-handle{background:#346aff}.app-shell .edge-layer path{stroke:#7195f4}.app-shell .edge-layer .edge-glow{stroke:#dceaff;filter:drop-shadow(0 0 4px #346aff)}.app-shell .edge-layer .edge-hit{stroke:#0000}.app-shell .edge-layer marker path{stroke:none}.app-shell .edge-cut button{color:#346aff;background:var(--duwu-surface);border-color:#7195f4}.app-shell .selection-marquee,.app-shell .multi-selection-frame{background:#346aff18;border-color:#346aff}.app-shell .node-group-background{background:#346aff12;border-color:#346aff70}.app-shell .node-group-background>span{color:var(--duwu-muted)}.app-shell .alignment-guide.vertical,.app-shell .alignment-guide.horizontal{border-color:#346aff}.app-shell .reference-dragging{outline-color:#346aff}.app-shell .image-cost-info{color:#346aff;background:#346aff14}.app-shell.dark .image-cost-info{color:#a3baff}.app-shell .welcome-card h1{color:var(--duwu-text)}.app-shell .welcome-card h1 span,.app-shell .welcome-kicker{color:#346aff}.app-shell .welcome-card p{color:var(--duwu-muted)}.app-shell.dark .image-node-clean{background:0 0}.app-shell.dark .shortcuts-popover kbd{color:#eef0f6;background:#34363b;border-color:#50535a}.reference-strip{align-items:flex-start;position:relative}.reference-thumb.reference-dragging{opacity:0;pointer-events:none;outline:none;position:absolute}.reference-insertion-slot{pointer-events:none;background:#346aff1f;border:1px dashed #346aff;border-radius:6px;flex:0 0 48px;width:48px;height:48px;position:relative}.reference-insertion-slot:after{content:"";background:#57b7ff;border-radius:2px;width:2px;position:absolute;top:-4px;bottom:-4px;left:50%;transform:translate(-50%);box-shadow:0 0 8px #346aff99}.reference-drag-ghost{z-index:100;object-fit:cover;pointer-events:none;border:2px solid #346aff;border-radius:6px;position:fixed;transform:translate(-50%,-50%);box-shadow:0 8px 24px #0006}.floating-output-handle{z-index:18;transform-origin:0;background:var(--duwu-surface);color:#9a9ca5;cursor:crosshair;touch-action:none;border:2px solid #898b94;border-radius:50%;place-items:center;width:30px;height:30px;padding:0;display:grid;position:absolute;box-shadow:0 2px 10px #0003}.floating-output-handle:before{content:"";width:16px;height:42px;position:absolute;top:-8px;left:-14px}.floating-output-handle:hover,.floating-output-handle:focus-visible{color:#fff;background:#346aff;border-color:#a5bdff;outline:none;box-shadow:0 0 0 4px #346aff33,0 2px 12px #346aff80}.image-node-placeholder{border:1px dashed var(--duwu-border);min-height:180px;color:var(--duwu-muted);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:10px;margin:12px;font-size:11px;display:flex}.create-menu,.create-menu button,.multi-selection-toolbar,.multi-selection-toolbar button{-webkit-user-select:none;user-select:none}.floating-output-handle{width:18px;height:18px;transition:opacity .18s,background-color .16s,border-color .16s,box-shadow .16s}.floating-output-handle:before{width:16px;height:38px;top:-10px;left:-14px}.floating-output-handle.is-dragging{opacity:0;pointer-events:none}.reference-insertion-slot:after{display:none}.reference-strip{touch-action:none}.floating-output-handle:after{content:"";border-radius:50%;position:absolute;inset:-9px}.floating-output-handle:hover,.floating-output-handle:focus-visible{scale:1.3}.floating-output-handle{transition:opacity .18s,scale .16s,background-color .16s,border-color .16s,box-shadow .16s}.startup-message{z-index:40;pointer-events:none;-webkit-user-select:none;user-select:none;text-align:center;color:#284ebe;width:max-content;max-width:calc(100vw - 48px);font-size:clamp(16px,1.5vw,22px);font-weight:650;line-height:1.5;position:fixed;top:clamp(88px,13.5vh,150px);left:50%;transform:translate(-50%,-50%)}.app-shell.dark .startup-message{color:#edf3ff}.startup-copy{animation:7s linear forwards startup-brighten;display:block}.startup-particles{pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}@keyframes startup-brighten{0%{opacity:0;text-shadow:none}27%,28.57%{opacity:1;text-shadow:0 0 10px #5d90ff,0 0 28px #346affb3}31%,to{opacity:0;text-shadow:none}}@media (prefers-reduced-motion:reduce){.startup-copy{animation:7s forwards startup-fade}@keyframes startup-fade{0%{opacity:0}30%,75%{opacity:1}to{opacity:0}}}.projects-backdrop{z-index:100;background:#0008;justify-content:flex-end;align-items:flex-start;padding:70px 24px 24px;display:flex;position:fixed;inset:0}.projects-panel{color:#222;background:#fff;border:1px solid #d9dbe1;border-radius:16px;width:min(380px,100%);max-height:70vh;padding:20px;overflow:auto;box-shadow:0 16px 48px #0004}.dark .projects-panel{color:#eee;background:#202126;border-color:#41434d}.projects-heading{justify-content:space-between;align-items:flex-start;display:flex}.projects-heading h2{margin:0;font-size:18px}.projects-heading p{opacity:.6;margin:7px 0 16px;font-size:12px}.projects-heading button{color:inherit;cursor:pointer;background:0 0;border:0;font-size:25px}.projects-list{gap:8px;display:grid}.projects-list button{text-align:left;color:inherit;cursor:pointer;background:0 0;border:1px solid #dedfe5;border-radius:10px;justify-content:space-between;align-items:center;padding:13px;display:flex}.dark .projects-list button{border-color:#41434d}.projects-list button:hover{background:#5279ff16;border-color:#5279ff}.projects-list strong,.projects-list small{display:block}.projects-list small{opacity:.6;margin-top:5px}.projects-list em{color:#6388ff;font-size:12px;font-style:normal}.app-shell .generate-button.generate-cooldown:disabled{cursor:wait;animation:3s linear forwards generate-recover}@keyframes generate-recover{0%{opacity:.58}to{opacity:1}}@media (prefers-reduced-motion:reduce){.app-shell .generate-button.generate-cooldown:disabled{opacity:.75;animation:none}}.canvas.zoom-selecting,.canvas.zoom-selecting *{cursor:crosshair!important}.image-cost-label{color:var(--duwu-muted);white-space:nowrap;pointer-events:none;font-size:10px;line-height:16px;position:absolute;top:-22px;right:0}.current-project-name{border:0;border-left:1px solid var(--duwu-border);color:var(--duwu-muted);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;max-width:180px;margin-left:4px;padding:2px 0 2px 12px;font-size:12px;overflow:hidden}.current-project-name:hover{color:var(--duwu-text)}.projects-panel{border-radius:12px;width:min(228px,100%);padding:12px}.projects-heading h2{font-size:15px}.projects-heading p{margin:5px 0 10px;font-size:10px}.projects-list{gap:6px}.project-row{border:1px solid #dedfe5;border-radius:8px;align-items:center;min-width:0;display:flex}.dark .project-row{border-color:#41434d}.project-row:hover{background:#5279ff16;border-color:#5279ff}.projects-list .project-open{background:0 0;border:0;flex:1;min-width:0;padding:9px;font-size:11px}.project-open strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-open small{font-size:9px}.projects-list .project-actions{gap:2px;padding-right:5px;display:flex}.projects-list .project-actions button{color:inherit;cursor:pointer;background:0 0;border:0;padding:5px;font-size:14px}.projects-list .project-actions button:hover{color:#6388ff}.api-settings-trigger{cursor:pointer;font:inherit;background:0 0;border:0}.api-settings-trigger:hover{color:var(--duwu-text)}.api-settings-panel{border:1px solid var(--duwu-border);background:var(--duwu-surface);width:min(390px,100%);color:var(--duwu-text);border-radius:15px;padding:20px;box-shadow:0 16px 48px #0005}.api-key-row{border:1px solid var(--duwu-border);border-radius:10px;margin-top:10px;padding:12px}.api-key-heading{justify-content:space-between;gap:8px;font-size:12px;display:flex}.api-key-heading span{color:var(--duwu-muted);font-size:10px}.api-key-row input{box-sizing:border-box;border:1px solid var(--duwu-border);width:100%;color:var(--duwu-text);background:0 0;border-radius:7px;outline:none;margin-top:10px;padding:9px}.api-key-row input:focus{border-color:#5279ff}.api-key-actions{gap:8px;margin-top:9px;display:flex}.api-key-actions button{border:1px solid var(--duwu-border);color:var(--duwu-text);cursor:pointer;background:0 0;border-radius:7px;padding:6px 10px}.api-key-actions button:first-child{color:#fff;background:#346aff;border-color:#346aff}.api-key-hint,.api-key-message{color:var(--duwu-muted);font-size:11px;line-height:1.6}.api-key-message{color:#7395ff}.model-controls{border-top:1px solid var(--duwu-border);margin-top:14px;padding-top:12px}.model-controls select{border:1px solid var(--duwu-border);background:var(--duwu-surface);width:100%;color:var(--duwu-text);border-radius:7px;margin-top:9px;padding:8px}.api-settings-panel{max-height:calc(100vh - 100px);overflow:auto}.model-status{color:var(--duwu-muted);overflow-wrap:anywhere;margin:8px 0 0;font-size:11px;line-height:1.5}.api-settings-panel{scrollbar-width:thin;border-radius:10px;width:min(195px,100vw - 32px);max-height:min(50vh,640px);padding:10px}.api-settings-panel .projects-heading h2{font-size:13px}.api-settings-panel .projects-heading p{margin:4px 0 8px;font-size:9px;line-height:1.4}.api-settings-panel .projects-heading button{font-size:20px;line-height:1}.api-settings-panel .api-key-heading{flex-wrap:wrap;align-items:flex-start;gap:3px;font-size:10px}.api-settings-panel .api-key-heading span{overflow-wrap:anywhere;font-size:9px}.api-settings-panel .api-key-row input,.api-settings-panel .model-controls select{margin-top:6px;padding:6px;font-size:10px}.api-settings-panel .api-key-actions{flex-wrap:wrap;gap:4px;margin-top:6px}.api-settings-panel .api-key-actions button{padding:5px 7px;font-size:10px}.api-settings-panel .model-status,.api-settings-panel .api-key-hint,.api-settings-panel .api-key-message{font-size:9px;line-height:1.45}.api-settings-panel .model-status{margin-top:5px}.api-settings-panel{border-radius:14px;width:min(330px,100vw - 32px);max-height:min(78vh,850px);padding:16px}.api-settings-panel .projects-heading h2{align-items:center;gap:7px;font-size:15px;display:flex}.api-settings-panel .projects-heading h2 svg{color:#7293ff}.api-settings-panel .projects-heading p{margin:6px 0 11px;font-size:10px}.api-settings-panel .api-key-row{border-radius:9px;margin-top:8px;padding:11px}.api-settings-panel .api-key-heading{align-items:center;font-size:12px}.api-settings-panel .api-key-heading strong{align-items:center;gap:5px;display:flex}.api-settings-panel .api-key-heading span{font-size:10px}.api-settings-panel .api-key-row input,.api-settings-panel .model-controls select{padding:8px;font-size:11px}.api-settings-panel .api-key-actions button{justify-content:center;align-items:center;gap:5px;padding:7px 9px;font-size:11px;display:inline-flex}.api-settings-panel .model-status,.api-settings-panel .api-key-hint,.api-settings-panel .api-key-message{font-size:10px}.api-settings-panel .model-controls{margin-top:11px;padding-top:10px}.floating-output-handle.grouped-node-handle{width:9px;height:9px}.floating-output-handle.grouped-node-handle svg{width:7px;height:7px}.crop-overlay{z-index:200;background:#000b;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.crop-dialog{background:var(--duwu-surface);color:var(--duwu-text);border:1px solid var(--duwu-border);border-radius:14px;max-width:90vw;max-height:90vh;padding:16px}.crop-heading,.crop-actions{align-items:center;gap:12px;display:flex}.crop-heading span{color:var(--duwu-muted);flex:1;font-size:12px}.crop-heading button,.crop-actions button{border:1px solid var(--duwu-border);color:inherit;cursor:pointer;background:0 0;border-radius:7px;padding:7px 12px}.crop-image-wrap{touch-action:none;cursor:crosshair;margin:14px auto;line-height:0;display:table;position:relative}.crop-image-wrap img{-webkit-user-select:none;user-select:none;max-width:75vw;max-height:65vh;display:block}.crop-rect{pointer-events:none;background:#346aff22;border:2px solid #7395ff;position:absolute;box-shadow:0 0 0 9999px #0006}.crop-image-wrap{overflow:hidden}.crop-actions{justify-content:flex-end}.crop-actions button:last-child{color:#fff;background:#346aff}.crop-actions button:disabled{opacity:.5}.image-tool-notice{z-index:150;background:var(--duwu-surface);border:1px solid var(--duwu-border);color:var(--duwu-text);cursor:pointer;border-radius:8px;padding:10px 15px;font-size:12px;position:fixed;bottom:70px;left:50%;transform:translate(-50%)}.floating-output-handle.grouped-node-handle{border-width:1px;justify-content:center;align-items:center;line-height:0;display:flex}.floating-output-handle.grouped-node-handle svg{stroke-width:2px;flex:none;width:6px;height:6px;margin:0;display:block}.app-shell .canvas-world .node.image-node-clean,.app-shell .canvas-world .node.image-node-clean .generated-image{border-radius:8px}.app-shell .canvas-world .node.image-node-png .generated-image{background:#8080801a}.pending-wire-end circle{fill:var(--duwu-surface);stroke:#346aff;stroke-width:2px;vector-effect:non-scaling-stroke}.pending-wire-end path{fill:none;stroke:#346aff;stroke-width:2px;stroke-linecap:round;vector-effect:non-scaling-stroke}.floating-output-handle.is-returning{opacity:0;pointer-events:none;transition:left .22s,opacity .22s,scale .16s}.canvas-world:has(.generation-options-popover,.model-picker-menu,.theme-select-popover,.agent-mention-menu)>.floating-output-handle{visibility:hidden;pointer-events:none}.edge-light{pointer-events:none;filter:drop-shadow(0 0 4px #346aff)}@media (prefers-reduced-motion:reduce){.edge-light{display:none}}.app-shell .edge-layer .edge-glow-tail,.app-shell .edge-layer .edge-glow-core{fill:none;pointer-events:none;stroke-linecap:round;stroke-dasharray:5 95;animation:6s linear infinite edge-flow}.app-shell .edge-layer .edge-glow-tail{stroke:#9cbaff;stroke-width:7px;opacity:.55;filter:blur(3px)drop-shadow(0 0 4px #346aff)}.app-shell .edge-layer .edge-glow-core{stroke:#e6f1ff;stroke-width:2px;filter:blur(.7px)}@media (prefers-reduced-motion:reduce){.edge-glow-tail,.edge-glow-core{opacity:0!important;animation:none!important}}.app-shell .edge-layer .edge-light-segment{fill:none;pointer-events:none;stroke:#e8f2ff;stroke-width:3px;stroke-linecap:round;stroke-dasharray:.8 99.2;filter:none;animation:6s linear infinite edge-flow}@media (prefers-reduced-motion:reduce){.edge-light-segment{display:none}}.app-shell .option-group>div button.related{color:var(--duwu-text);background:#346aff1c;border-color:#7395ff80}.app-shell.dark .option-group>div button.related{color:#c9d6ff;background:#346aff26;border-color:#7395ff80}.text-node>.node-head{cursor:grab;touch-action:none;min-height:46px}.text-node>.node-head:active{cursor:grabbing}.text-node>.node-bottom{cursor:grab;touch-action:none;min-height:40px}.text-node>.node-resize-handle{z-index:12;touch-action:none;width:34px;height:34px;bottom:-5px;right:-5px}.text-node>.node-resize-handle:before{width:10px;bottom:9px;right:9px}.text-node>.node-resize-handle:after{width:7px;bottom:13px;right:8px}.text-node>.node-resize-handle:hover:before,.text-node>.node-resize-handle:hover:after{background:#7295ff;height:2px}.canvas-world{--canvas-node-outline-width:1.5px}.app-shell .canvas-world .node{transition:transform .14s ease-out}.canvas-world .node:before{content:"";inset:calc(0px - var(--node-border-width,1px));pointer-events:none;border-radius:inherit;box-shadow:0 0 0 var(--canvas-node-outline-width) var(--canvas-node-outline-color,transparent);transition:box-shadow .18s;position:absolute}.canvas-world .node:hover{--canvas-node-outline-color:#6e91ff80}.canvas-world .node.selected{--canvas-node-outline-color:var(--duwu-blue)}.crop-rect{pointer-events:none}.crop-handle{pointer-events:auto;touch-action:none;position:absolute}.crop-handle-n,.crop-handle-s{cursor:ns-resize;height:14px;left:8px;right:8px}.crop-handle-n{top:-7px}.crop-handle-s{bottom:-7px}.crop-handle-e,.crop-handle-w{cursor:ew-resize;width:14px;top:8px;bottom:8px}.crop-handle-e{right:-7px}.crop-handle-w{left:-7px}.crop-handle-ne,.crop-handle-nw,.crop-handle-se,.crop-handle-sw{z-index:1;width:20px;height:20px}.crop-handle-ne{cursor:nesw-resize;top:-7px;right:-7px}.crop-handle-nw{cursor:nwse-resize;top:-7px;left:-7px}.crop-handle-se{cursor:nwse-resize;bottom:-7px;right:-7px}.crop-handle-sw{cursor:nesw-resize;bottom:-7px;left:-7px}.inline-crop{z-index:20;touch-action:none;cursor:crosshair;position:absolute;overflow:visible}.inline-crop .crop-rect{box-shadow:0 0 0 9999px #0008}.inline-crop-actions{white-space:nowrap;cursor:default;gap:6px;display:flex;position:absolute;top:calc(100% + 10px);right:0}.inline-crop-actions button{color:#fff;cursor:pointer;background:#22242c;border:1px solid #66718b;border-radius:7px;padding:8px 10px;font-size:11px}.inline-crop-actions button:last-child{background:#346aff;border-color:#346aff}.inline-crop-actions button:disabled{opacity:.5;cursor:wait}.crop-move{pointer-events:auto;cursor:move;touch-action:none;position:absolute;inset:9px}.inline-crop-presets{white-space:nowrap;cursor:default;gap:5px;display:flex;position:absolute;bottom:calc(100% + 8px);left:0}.inline-crop-presets button{color:#fff;cursor:pointer;background:#22242c;border:1px solid #66718b;border-radius:6px;padding:6px 8px;font-size:11px}.inline-crop-presets button.active{background:#346aff;border-color:#89a4ff}.inline-crop-window{pointer-events:none;position:absolute;inset:0;overflow:hidden}.canvas-view-controls{z-index:8;-webkit-user-select:none;user-select:none;gap:8px;display:flex;position:absolute;bottom:18px;left:190px}.canvas-map-control{position:relative}.canvas-map-toggle,.canvas-control-button{border:1px solid var(--duwu-border);background:var(--duwu-surface);width:36px;height:36px;color:var(--duwu-text);cursor:pointer;border-radius:9px;place-items:center;padding:0;display:grid;box-shadow:0 4px 18px #0002}.canvas-map-toggle:hover,.canvas-map-toggle.active,.canvas-control-button[aria-pressed=true]{color:#7b9cff;border-color:#668bff}.canvas-map-panel{border:1px solid var(--duwu-border);background:var(--duwu-surface);border-radius:12px;width:242px;height:157px;padding:10px;position:absolute;bottom:calc(100% + 9px);left:0;box-shadow:0 12px 32px #0005}.canvas-map-panel svg{cursor:crosshair;touch-action:none;background:#12141a40;border-radius:5px;width:220px;height:135px;display:block;overflow:hidden}.canvas-map-panel .map-node{fill:#8d929f;opacity:.72}.canvas-map-panel .map-prompt{fill:#7892d6}.canvas-map-panel .map-text{fill:#afb7c9}.canvas-map-panel .map-viewport{fill:#7295ff16;stroke:#a8beff;stroke-width:1.5px;pointer-events:none}.agent-launch{z-index:9;color:#fff;cursor:pointer;background:#283f80;border:1px solid #6688e7;border-radius:9px;padding:8px 12px;font-size:12px;position:absolute;top:62px;right:26px;box-shadow:0 6px 20px #0003}.agent-panel{z-index:30;border:1px solid var(--duwu-border);background:var(--duwu-surface);width:min(390px,100vw - 32px);color:var(--duwu-text);border-radius:16px;flex-direction:column;display:flex;position:absolute;top:105px;bottom:65px;right:16px;overflow:hidden;box-shadow:0 14px 48px #0007}.agent-header{border-bottom:1px solid var(--duwu-border);align-items:center;gap:10px;padding:16px;display:flex}.agent-header>div{gap:3px;display:grid}.agent-header small{color:var(--duwu-muted);font-size:10px}.agent-header>button{color:inherit;cursor:pointer;background:0 0;border:0;margin-left:auto}.agent-symbol{color:#7198ff;background:#346aff28;border-radius:10px;place-items:center;width:34px;height:34px;display:grid}.agent-conversation{overscroll-behavior:contain;flex:1;padding:16px;overflow:auto}.agent-welcome{text-align:center;height:100%;color:var(--duwu-muted);flex-direction:column;justify-content:center;align-items:center;gap:12px;font-size:12px;line-height:1.7;display:flex}.agent-welcome strong{color:var(--duwu-text);font-size:16px}.agent-welcome p{max-width:270px;margin:0}.agent-message{flex-direction:column;align-items:flex-start;gap:6px;margin:0 0 14px;font-size:12px;line-height:1.7;display:flex}.agent-message>div{white-space:pre-wrap;overflow-wrap:anywhere;background:#80808019;border-radius:12px;max-width:100%;padding:10px 12px}.agent-message.user{align-items:flex-end}.agent-message.user>div{color:#fff;background:#346aff}.agent-message button{color:#7fa3ff;cursor:pointer;background:0 0;border:1px solid #6688e7;border-radius:7px;align-items:center;gap:4px;padding:6px;display:flex}.agent-composer{border-top:1px solid var(--duwu-border);padding:12px}.agent-composer textarea{resize:vertical;border:1px solid var(--duwu-border);width:100%;height:80px;color:inherit;font:inherit;background:0 0;border-radius:10px;padding:10px;font-size:12px}.agent-composer>div:last-child{justify-content:space-between;align-items:center;margin-top:8px;display:flex}.agent-composer span{color:var(--duwu-muted);font-size:10px}.agent-composer button{color:#fff;cursor:pointer;background:#346aff;border:0;border-radius:8px;place-items:center;width:32px;height:32px;display:grid}.agent-composer button:disabled{opacity:.45}.agent-error{color:#e38176;padding-bottom:8px;font-size:11px}.api-provider-control input,.agent-model input{border:1px solid var(--duwu-border);min-width:0;color:inherit;font:inherit;background:0 0;border-radius:6px;flex:1;padding:6px}.agent-model{color:var(--duwu-muted);align-items:center;gap:8px;padding:10px 16px;font-size:11px;display:flex}.model-load-error{color:#e38176;margin:0 16px 8px;display:block}.agent-model-picker{border-bottom:1px solid var(--duwu-border);color:var(--duwu-muted);padding:10px 16px;font-size:11px}.agent-model-row{align-items:center;gap:7px;display:flex}.agent-model-row label{white-space:nowrap}.agent-model-row select,.agent-model-picker>input{border:1px solid var(--duwu-border);background:var(--duwu-surface);min-width:0;color:var(--duwu-text);font:inherit;border-radius:6px;padding:7px}.agent-model-row select{flex:1}.agent-model-row button{border:1px solid var(--duwu-border);width:31px;height:31px;color:var(--duwu-text);cursor:pointer;background:0 0;border-radius:6px;place-items:center;display:grid}.agent-model-row button:disabled{opacity:.5}.agent-model-picker>input{width:100%;margin-top:7px}.agent-model-picker small{color:var(--duwu-muted);margin-top:6px;line-height:1.4;display:block}.model-directory-hint{color:var(--duwu-muted);margin:8px 0;font-size:10px;line-height:1.5}.model-directory-group{border:1px solid var(--duwu-border);border-radius:8px;margin-top:7px}.model-directory-group summary{cursor:pointer;color:var(--duwu-text);padding:9px 10px;font-size:11px}.model-directory-group summary span{float:right;color:var(--duwu-muted)}.model-directory-group ul{margin:0;padding:0 12px 8px;list-style:none}.model-directory-group li{color:var(--duwu-muted);overflow-wrap:anywhere;padding:5px 0;font-size:10px}.model-directory-group p{color:var(--duwu-muted);padding:0 12px;font-size:10px}.app-shell .prompt-node-composer{overflow:visible}.app-shell .prompt-node-composer>.node-head{order:0}.app-shell .prompt-node-composer>.generator-inputs{order:1;margin:14px 15px 4px;padding:10px}.app-shell .prompt-node-composer>.prompt-label{order:2;margin-top:12px}.app-shell .prompt-node-composer>textarea{order:3;min-height:110px}.app-shell .prompt-node-composer>.prompt-footer{order:4}.app-shell .prompt-node-composer>.api-provider-control,.app-shell .prompt-node-composer>.model-load-error{order:5}.app-shell .prompt-node-composer>.generation-options-wrap{order:6}.app-shell .prompt-node-composer>.generate-button{order:7}.app-shell .prompt-node-composer>.error-message{order:8}.app-shell .prompt-node-composer>.node-bottom{order:9}.image-model-control>.model-picker{flex:1;min-width:0;display:flex;position:relative}.model-picker>input{width:100%;padding-right:30px}.model-picker-toggle{width:27px;height:calc(100% - 2px);color:var(--duwu-muted);cursor:pointer;background:0 0;border:0;border-radius:5px;place-items:center;display:grid;position:absolute;top:1px;right:1px}.model-picker-toggle:hover,.model-picker-toggle[aria-expanded=true]{color:var(--duwu-blue);background:#346aff18}.model-picker-menu{overscroll-behavior:contain;z-index:40;border:1px solid var(--duwu-border);background:var(--duwu-surface);border-radius:8px;flex-direction:column;max-height:min(240px,40vh);padding:4px;display:flex;position:absolute;top:calc(100% + 5px);left:0;right:0;overflow:auto;box-shadow:0 10px 28px #10132230}.model-picker-menu>button{width:100%;color:var(--duwu-text);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border:0;border-radius:5px;padding:7px 8px;font:10px DM Sans,Noto Sans SC,sans-serif}.model-picker-menu>button:hover,.model-picker-menu>button:focus-visible{background:var(--duwu-blue-soft);color:var(--duwu-blue);outline:0}.model-picker-menu>button.selected{color:var(--duwu-blue);font-weight:700}.app-shell.dark .model-picker-menu>button:hover,.app-shell.dark .model-picker-menu>button:focus-visible{color:#b6c8ff;background:#346aff30}.app-shell.dark .model-picker-menu>button.selected{color:#b6c8ff}.model-picker-empty{color:var(--duwu-muted);padding:9px 8px;font-size:10px;line-height:1.5}.canvas-view-controls{left:220px}.canvas-map-toggle,.canvas-control-button{width:40px;height:40px}.app-shell .agent-launch,.app-shell .help-button{border:1px solid var(--duwu-border);background:var(--duwu-surface);height:31px;color:var(--duwu-muted);box-shadow:none;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:7px 9px;font:600 10px DM Sans,Noto Sans SC,sans-serif;display:flex}.app-shell .agent-launch:hover,.app-shell .help-button:hover{color:var(--duwu-blue);background:#346aff20}.app-shell .top-actions .primary,.app-shell .agent-launch,.app-shell .help-button{box-sizing:border-box;white-space:nowrap;border-radius:8px;justify-content:center;width:104px;height:32px;min-height:32px;padding:6px 8px}.app-shell .agent-launch{right:20px}.current-project-name{align-items:center;gap:5px;display:inline-flex}.project-switcher-backdrop{justify-content:flex-start;padding:58px 20px 24px}.project-switcher-header{justify-content:flex-end;height:20px;margin-bottom:4px;display:flex}.project-switcher-header button{width:24px;height:24px;color:var(--duwu-muted);cursor:pointer;background:0 0;border:0;border-radius:6px;font-size:20px;line-height:1}.project-switcher-header button:hover{background:var(--duwu-surface-raised);color:var(--duwu-text)}.project-drag-handle{cursor:grab;touch-action:none;flex:0 0 26px;justify-content:center;color:var(--duwu-muted)!important;background:0 0!important;border:0!important;padding:4px!important}.project-drag-handle:active{cursor:grabbing}.project-drag-handle:disabled{cursor:wait}.project-row.active{color:#fff;background:#346aff;border-color:#346aff}.project-row.active:hover{background:#346aff;border-color:#346aff}.project-row.active .project-open,.project-row.active .project-open:hover{color:#fff;background:0 0}.project-row.active .project-open small{color:#fff;opacity:.78}.project-row.active .project-actions button{color:#fff}.project-row.active .project-actions button:hover{color:#fff;background:#ffffff20}.project-row.dragging{opacity:.48}.project-row.drag-over{outline-offset:1px;outline:2px solid #346aff}.canvas-auth-screen{background:radial-gradient(circle at 18% 12%,#2592d624,#0000 34%),linear-gradient(125deg,#eef5fc,#f1f8f4);place-items:center;min-height:100vh;padding:24px;display:grid}.canvas-auth-card,.canvas-login-card{background:#fff;border:1px solid #e1eaf0;border-radius:19px;flex-direction:column;align-items:stretch;gap:15px;width:min(100%,390px);padding:30px;display:flex;box-shadow:0 20px 60px #224b6824}.canvas-auth-card{color:#587283;align-items:center}.canvas-auth-card img,.canvas-login-card>img{object-fit:contain;background:#f2f8fc;border-radius:15px;width:54px;height:54px}.canvas-login-card h1{color:#263c50;margin:0;font-size:22px}.canvas-login-card p{color:#8595a4;margin:-9px 0 3px;font-size:13px}.canvas-login-card label{color:#66798a;gap:7px;font-size:12px;font-weight:600;display:grid}.canvas-login-card input{color:#26394b;background:#fbfdff;border:1px solid #dce6ec;border-radius:9px;outline:none;width:100%;min-height:42px;padding:0 12px;font-size:14px}.canvas-login-card input:focus{border-color:#1686d0;box-shadow:0 0 0 3px #1686d01f}.canvas-login-card>button{color:#fff;cursor:pointer;background:linear-gradient(110deg,#087bd2,#21aaa9);border:0;border-radius:9px;min-height:43px;font-size:14px;font-weight:700}.canvas-login-card>button:disabled{opacity:.6;cursor:wait}.canvas-login-card>small{color:#97a5b1;text-align:center;font-size:11px}.canvas-login-error{color:#aa4845;background:#fff6f5;border:1px solid #f1d3d2;border-radius:8px;padding:10px 12px;font-size:12px}.online-points,.logout-button{white-space:nowrap;align-items:center;gap:7px;display:inline-flex}.logout-button{cursor:pointer}.api-provider-fold>summary{cursor:pointer;gap:12px;list-style:none}.api-provider-fold>summary::-webkit-details-marker{display:none}.api-provider-fold>summary:before{content:"▸";color:var(--duwu-muted)}.api-provider-fold[open]>summary:before{content:"▾"}.api-provider-fold>summary strong{margin-right:auto}.api-provider-fold[open]>summary{margin-bottom:12px}.add-api-button{border:1px dashed var(--duwu-border);width:100%;color:var(--duwu-text);cursor:pointer;background:0 0;border-radius:10px;padding:12px}.add-api-button:hover{color:#7b9cff;border-color:#668bff}.api-provider-card{position:relative}.api-provider-card .api-provider-fold>summary{flex-wrap:nowrap;min-height:24px;padding-right:56px}.api-provider-card .api-provider-fold>summary strong{overflow-wrap:anywhere;min-width:0}.api-provider-card .api-provider-fold>summary span{flex-shrink:0}.api-provider-card-actions{gap:2px;display:flex;position:absolute;top:11px;right:11px}.api-provider-card-actions button{width:24px;height:24px;color:var(--duwu-muted);cursor:pointer;background:0 0;border:0;border-radius:5px;place-items:center;padding:0;display:grid}.api-provider-rename:hover:not(:disabled),.api-provider-rename[aria-expanded=true]{color:#7395ff;background:#7395ff1c}.api-provider-remove:hover:not(:disabled){color:#e26767;background:#e267671c}.api-provider-card-actions button:disabled{opacity:.35;cursor:default}.api-provider-name-editor label{color:var(--duwu-muted);font-size:11px;display:block}.api-settings-trigger{min-width:0;max-width:min(32vw,360px)}.api-settings-trigger i{flex-shrink:0}.api-settings-trigger span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.api-provider-fields{gap:8px;display:grid}.api-provider-fields label{color:var(--duwu-muted);font-size:11px;display:block}.api-provider-fields input{margin-top:4px}.api-provider-fields input[readonly]{cursor:text}.canvas-world .node:is(.prompt-node,.image-node){transform-origin:0}.app-shell .canvas.is-connecting .node[data-connection-target]{--canvas-node-outline-color:#6d8ad0;transform:perspective(1100px) rotateX(var(--connection-tilt-x)) rotateY(var(--connection-tilt-y));cursor:crosshair;box-shadow:0 0 16px #346aff38}.app-shell .canvas.is-connecting .node[data-connection-target]:after{content:"";inset:calc(0px - var(--canvas-node-outline-width) - var(--node-border-width,1px));z-index:10;padding:var(--canvas-node-outline-width);border-radius:inherit;pointer-events:none;background:radial-gradient(circle 100px at var(--connection-light-x) var(--connection-light-y), #eff5ff, #9fb9ff 30%, transparent 100%);position:absolute;-webkit-mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);-webkit-mask-position:0 0,0 0;mask-position:0 0,0 0;-webkit-mask-size:auto,auto;mask-size:auto,auto;-webkit-mask-repeat:repeat,repeat;mask-repeat:repeat,repeat;-webkit-mask-clip:content-box,border-box;mask-clip:content-box,border-box;-webkit-mask-origin:content-box,border-box;mask-origin:content-box,border-box;-webkit-mask-composite:xor;mask-composite:exclude;-webkit-mask-source-type:auto,auto;mask-mode:match-source,match-source}.app-shell .edge-layer .temp-wire.is-over-target{stroke:#93b0ff}@media (prefers-reduced-motion:reduce){.app-shell .canvas.is-connecting .node[data-connection-target]{transform:none}}.app-shell .edge-interactive.selected>path:first-child{stroke:#346aff;stroke-opacity:.5;stroke-width:4px}.app-shell .prompt-node-composer{display:block;overflow:visible}.prompt-preview{height:100%;color:var(--duwu-muted);cursor:grab;flex-direction:column;justify-content:center;align-items:center;gap:9px;font-size:11px;display:flex}.prompt-preview-icon{background:var(--duwu-surface-raised);color:#7395ff;border-radius:14px;place-items:center;width:52px;height:52px;display:grid}.prompt-preview-delete{position:absolute;top:8px;right:8px}.prompt-preview-status{color:#87a2ff;font-size:10px}.prompt-preview-status.error{color:#e27b6f}.prompt-composer-panel[hidden]{display:none}.prompt-composer-panel{border:1px solid var(--duwu-border);background:var(--duwu-surface);cursor:default;z-index:25;border-radius:12px;flex-direction:column;width:max(100%,350px);padding:14px 0 4px;display:flex;position:absolute;top:calc(100% + 12px);left:50%;transform:translate(-50%);box-shadow:0 12px 32px #10132255}.canvas-world>.prompt-node-composer:has(>.prompt-composer-panel:not([hidden])){z-index:16}.prompt-composer-panel>.generator-inputs{order:0;margin:0 15px 8px;padding:10px}.prompt-composer-panel>.prompt-label{order:1;margin-top:8px}.prompt-composer-panel>textarea{flex:none;order:2;height:85px;min-height:85px}.prompt-composer-panel>.prompt-footer{order:3}.prompt-composer-panel>.api-provider-control,.prompt-composer-panel>.model-load-error{order:4}.prompt-composer-panel>.generation-options-wrap{order:5}.prompt-composer-panel>.generate-button{order:6}.toolbar-home{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:9px;padding:0;display:flex}.home-page{color:#f2f5fc;background:#111419;height:100vh;font-family:DM Sans,Noto Sans SC,sans-serif;overflow:auto}.home-header{justify-content:space-between;align-items:center;max-width:1440px;height:78px;margin:auto;padding:0 48px;display:flex}.home-brand{align-items:center;gap:12px;font-size:17px;font-weight:700;display:flex}.home-brand img{border-radius:10px;width:39px;height:39px}.home-brand span{gap:2px;display:grid}.home-brand small{color:#8792a5;font-size:10px;font-weight:500}.home-header-action{color:#e5edfb;cursor:pointer;background:#1b212b;border:1px solid #354052;border-radius:9px;align-items:center;gap:7px;padding:10px 15px;display:flex}.home-content{max-width:1440px;margin:auto;padding:26px 48px 90px}.home-intro{background:radial-gradient(circle at 76% 32%,#253d72 0,#0000 38%),linear-gradient(125deg,#1b2535,#151b25 65%,#192439);border:1px solid #303c52;border-radius:20px;justify-content:space-between;align-items:center;min-height:310px;padding:48px 7%;display:flex;position:relative;overflow:hidden}.home-intro-copy{z-index:1;position:relative}.home-eyebrow{color:#83a8ff;letter-spacing:.15em;font-size:10px;font-weight:700}.home-intro h1{letter-spacing:-.04em;margin:18px 0 12px;font-size:clamp(26px,3vw,40px)}.home-intro p{color:#a7b4ca;font-size:13px;line-height:1.7}.home-intro-copy button{color:#fff;cursor:pointer;background:#346aff;border:0;border-radius:9px;align-items:center;gap:24px;margin-top:24px;padding:12px 16px;font-size:13px;font-weight:650;display:inline-flex}.home-intro-copy button:hover{background:#5280ff}.home-art{flex:0 0 37%;height:200px;position:relative}.home-art-card{color:#b5cafa;background:#263a5e;border:1px solid #7192d1;border-radius:16px;place-items:center;width:120px;height:100px;display:grid;position:absolute;transform:rotate(-8deg);box-shadow:0 18px 50px #07101f88}.home-art-card.one{top:64px;left:9%}.home-art-card.two{background:#304e88;top:23px;right:14%;transform:rotate(9deg)}.home-art-link{background:#85a5fa;height:2px;position:absolute;top:106px;left:30%;right:31%;transform:rotate(-12deg)}.home-art-dot{background:#346aff;border-radius:50%;width:16px;height:16px;position:absolute;bottom:18px;right:6%;box-shadow:0 0 32px #638bff}.home-section-heading{justify-content:space-between;align-items:end;margin-bottom:22px;display:flex}.home-section-heading h2{margin:0;font-size:20px}.home-section-heading p{color:#8995a9;margin:8px 0 0;font-size:12px}.home-section-heading>span{color:#8995a9;font-size:12px}.home-project-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;display:grid}.home-project-card{text-align:left;color:#eef2fb;cursor:pointer;background:#191e26;border:1px solid #29323f;border-radius:13px;align-items:center;gap:14px;padding:16px;display:flex}.home-project-card:hover{background:#202a3a;border-color:#5d80d2}.home-project-icon{color:#93b0fa;background:#253550;border-radius:10px;flex:none;place-items:center;width:52px;height:52px;display:grid}.home-project-details{flex:1;gap:8px;min-width:0;display:grid}.home-project-details strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.home-project-details small{color:#8995a9;font-size:11px}.home-project-arrow{color:#8397bd}.home-empty{color:#8995a9;border:1px dashed #354052;border-radius:12px;padding:32px;font-size:13px}.home-error{color:#ef968c;font-size:12px}@media (width<=850px){.home-header{padding:0 24px}.home-content{padding:18px 24px 60px}.home-art{flex-basis:30%}.home-art-card{width:80px;height:75px}.home-intro{padding:36px}.home-intro h1{font-size:27px}}.home-grid-trigger{cursor:pointer;text-align:left;isolation:isolate;background:#111621;width:100%;height:310px;padding:0;display:block}.home-grid-trigger:focus-visible{outline-offset:4px;outline:3px solid #94b0ff}.home-grid-trigger:disabled{cursor:wait;opacity:.65}.home-motion-grid{pointer-events:none;flex-direction:column;justify-content:center;gap:12px;display:flex;position:absolute;inset:-58% -12%;transform:rotate(-10deg)scale(1.12)}.home-motion-row{transform:translateX(var(--grid-offset,0px));flex:0 0 22%;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;transition:transform .65s cubic-bezier(.2,.7,.2,1);display:grid}.home-motion-row:nth-child(2n){transform:translateX(calc(var(--grid-offset,0px) * -1))}.home-motion-tile{filter:brightness(.76);background-image:url(/home-grid.png);background-repeat:no-repeat;background-size:400% 400%;border-radius:8px;min-width:0;transition:filter .3s;display:block}.home-grid-trigger:hover .home-motion-tile{filter:brightness(.95)}@media (prefers-reduced-motion:reduce){.home-motion-row,.home-motion-tile{transition:none}.home-motion-row,.home-motion-row:nth-child(2n){transform:none}}.home-page{position:relative}.home-header{z-index:2;position:absolute;top:0;left:0;right:0}.home-grid-trigger{border:0;border-radius:0;height:clamp(360px,48vw,560px);min-height:0}.home-grid-trigger:after{content:"";pointer-events:none;background:linear-gradient(#11141961 0%,#0000 35%,#11141914 60%,#111419 100%);position:absolute;inset:0}.home-grid-trigger:focus-visible{outline-offset:-5px}.home-content{padding-top:0;position:relative}.home-projects{margin-top:0}.home-folders{margin:4px 0 44px}.home-folder-add{color:#e5edfb;cursor:pointer;background:#1b212b;border:1px solid #354052;border-radius:8px;align-items:center;gap:6px;padding:8px 12px;display:flex}.home-folder-list{align-items:center;gap:14px;padding:10px 4px 18px;display:flex;overflow-x:auto}.home-all-folders{color:#c8d2e4;cursor:pointer;background:#1b212b;border:1px solid #354052;border-radius:9px;flex:none;padding:11px 16px}.home-all-folders.active,.home-folder-item.active{outline-offset:3px;border-radius:12px;outline:2px solid #6f96ff}.home-folder-item{flex:none}.home-project-card{flex-direction:column;align-items:stretch;padding:0;display:flex;overflow:hidden}.home-project-open{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:14px;width:100%;padding:12px;display:flex}.home-project-icon{width:100px;height:70px;overflow:hidden}.home-project-placeholder{place-items:center;width:100%;height:100%;display:grid}.home-canvas-preview{background:#181c25;width:100%;height:100%;display:block}.home-project-card select{color:#c8d2e4;background:#202936;border:1px solid #354052;border-radius:6px;margin:0 12px 10px;padding:5px 8px;font-size:11px}.home-folder-list{align-items:center;gap:28px;padding:16px 12px 24px}.home-folder-item.active{outline:none}.home-folder-item.active .gf-root{filter:drop-shadow(0 0 8px #527dff80)}.home-folder-item .gf-root{transition:filter .25s}.prompt-result-image{object-fit:contain;border-radius:10px;width:100%;height:100%;display:block}.prompt-preview:has(.prompt-result-image){position:relative;overflow:hidden}.prompt-preview:has(.prompt-result-image) .prompt-preview-status{color:#fff;background:#111c;border-radius:6px;padding:5px 8px;position:absolute;bottom:8px}.app-shell .canvas-world .node:is(.image-node-clean,.prompt-node-has-image){--node-border-width:0px;border:0}.app-shell .canvas-world .node.prompt-node-has-image{border-radius:10px}.image-node-clean>.generated-image{flex:none;height:100%}.image-node-clean>.image-size-warning{width:100%;margin:0;position:absolute;top:calc(100% + 8px);left:0}.text-node>.node-head{z-index:4;border:0;justify-content:flex-end;min-height:0;padding:0;position:absolute;top:2px;right:2px}.text-node .text-content{margin-top:14px;padding:3px 28px 3px 0;line-height:1.6}.canvas-world :is(.text-content,.prompt-composer-panel>textarea):read-only{cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none}.canvas-world :is(.text-content,.prompt-composer-panel>textarea):read-only:active{cursor:grabbing}.canvas-world :is(.text-content,.prompt-composer-panel>textarea):not(:read-only){cursor:text;-webkit-user-select:text;user-select:text}.app-shell .prompt-composer-panel>textarea{flex:none;min-height:78px;padding:3px 0;line-height:1.6;overflow-y:auto}.composer-resize-handle{cursor:nwse-resize;touch-action:none;z-index:2;width:18px;height:18px;position:absolute;bottom:1px;right:1px}.composer-resize-handle:before,.composer-resize-handle:after{content:"";background:var(--duwu-muted);transform-origin:100%;width:9px;height:1px;position:absolute;bottom:4px;right:4px;transform:rotate(-45deg)}.composer-resize-handle:after{width:5px;bottom:8px;right:4px}.composer-resize-handle:hover:before,.composer-resize-handle:hover:after{background:var(--duwu-blue);height:2px}.text-node>.node-head .icon-button{visibility:hidden}.text-node.selected>.node-head .icon-button,.text-node:hover>.node-head .icon-button{visibility:visible}.image-node:not(.image-node-clean)>.image-node-placeholder,.image-node:not(.image-node-clean)>.image-node-loading{flex:1}.multi-selection-frame{z-index:1;pointer-events:auto;cursor:grab}.multi-selection-frame:active{cursor:grabbing}.canvas-world:has(.multi-selection-frame) .node.selected{z-index:2}.canvas-view-controls{border:1px solid var(--duwu-border);background:var(--duwu-surface);color:var(--duwu-text);border-radius:11px;align-items:center;gap:3px;padding:5px;bottom:18px;left:20px;box-shadow:0 6px 24px #0003}.canvas-view-controls .canvas-map-toggle,.canvas-view-controls .canvas-control-button{width:34px;height:34px;box-shadow:none;color:var(--duwu-muted);background:0 0;border:0;border-radius:7px}.canvas-view-controls .canvas-map-toggle:hover,.canvas-view-controls .canvas-map-toggle.active,.canvas-view-controls .canvas-control-button:hover,.canvas-view-controls .canvas-control-button[aria-pressed=true]{color:#7395ff;background:#346aff20}.canvas-control-divider{background:var(--duwu-border);width:1px;height:22px;margin:0 4px}.canvas-zoom-slider{align-items:center;width:104px;height:34px;padding:0 2px;display:flex;position:relative}.canvas-zoom-slider input[type=range]{appearance:none;cursor:pointer;background:linear-gradient(to right,#7395ff 0 var(--zoom-progress),var(--duwu-border) var(--zoom-progress) 100%);touch-action:none;border-radius:4px;width:100%;height:4px;margin:0}.canvas-zoom-slider input[type=range]::-webkit-slider-thumb{appearance:none;border:2px solid var(--duwu-surface);cursor:grab;background:#7395ff;border-radius:50%;width:14px;height:14px;box-shadow:0 0 0 1px #7395ff}.canvas-zoom-slider input[type=range]::-moz-range-thumb{border:2px solid var(--duwu-surface);cursor:grab;background:#7395ff;border-radius:50%;width:10px;height:10px;box-shadow:0 0 0 1px #7395ff}.canvas-zoom-slider input[type=range]:active::-webkit-slider-thumb{cursor:grabbing}.canvas-zoom-slider input[type=range]:focus-visible{outline-offset:5px;outline:2px solid #7395ff}.canvas-zoom-tooltip{border:1px solid var(--duwu-border);background:var(--duwu-surface);color:var(--duwu-text);white-space:nowrap;pointer-events:none;opacity:0;border-radius:6px;padding:4px 7px;font-size:10px;line-height:1.2;transition:opacity .15s;position:absolute;bottom:calc(100% + 5px);transform:translate(-50%)}.canvas-zoom-slider.active .canvas-zoom-tooltip,.canvas-zoom-slider:hover .canvas-zoom-tooltip{opacity:1}.api-settings-trigger svg{flex-shrink:0}.model-directory-header{align-items:center;gap:7px;min-width:0;display:flex}.model-directory-header strong{white-space:nowrap;flex:none;align-items:center;gap:5px;font-size:12px;display:inline-flex}.model-directory-count{min-width:0;color:var(--duwu-muted);text-align:right;margin-left:auto;font-size:10px;line-height:1.4}.model-refresh-button{border:1px solid var(--duwu-border);background:var(--duwu-surface-raised);color:var(--duwu-text);font:inherit;cursor:pointer;border-radius:6px;flex:none;justify-content:center;align-items:center;gap:4px;margin-left:auto;padding:5px 7px;font-size:10px;display:inline-flex}.model-directory-count+.model-refresh-button{margin-left:0}.model-refresh-button:hover:not(:disabled){color:#7395ff;border-color:#7395ff}.model-refresh-button:disabled{opacity:.5;cursor:default}.api-settings-panel .api-provider-card>.api-provider-fold,.canvas-view-controls,.app-shell .prompt-composer-panel .generator-inputs,.app-shell .prompt-composer-panel .model-picker>input,.app-shell .prompt-composer-panel .api-provider-control select,.app-shell .prompt-composer-panel .generation-options-trigger{background:var(--duwu-surface-raised);border:0}.app-shell .prompt-composer-panel .model-picker>input:focus-visible,.app-shell .prompt-composer-panel .api-provider-control select:focus-visible,.app-shell .prompt-composer-panel .generation-options-trigger:focus-visible{outline-offset:2px;outline:2px solid #7395ff}.prompt-composer-panel{padding:14px 15px 12px}.prompt-composer-panel>.generator-inputs{order:0;margin:0 0 10px}.prompt-composer-panel>textarea{order:1;width:100%;margin:0;padding:0}.prompt-composer-panel>.prompt-footer{order:2;margin:4px 0 12px}.prompt-composer-panel>.prompt-model-row{order:3;align-items:center;gap:10px;width:100%;min-width:0;margin-bottom:8px;display:flex}.prompt-model-row .api-provider-control{flex:1 1 0;min-width:0;margin:0}.prompt-model-row .api-provider-control>label,.prompt-model-row .api-provider-control>span{white-space:nowrap;flex:none}.prompt-model-row .prompt-provider-control select{width:100%;min-width:0}.prompt-composer-panel>.model-load-error{order:4;margin:0 0 8px}.prompt-composer-panel>.generation-options-wrap{order:5;margin:0 0 8px}.prompt-composer-panel>.generate-button{order:6;width:100%;margin:0}.prompt-composer-panel>.error-message{order:7;margin:8px 0 0}.app-shell .prompt-composer-panel>.prompt-model-row{background:var(--duwu-surface-raised);border-radius:6px;gap:0;width:100%}.prompt-model-row .prompt-provider-control{border-left:1px solid var(--duwu-border);flex:1 1 0}.prompt-model-row .model-picker,.prompt-model-row .prompt-provider-control{align-items:center;min-width:0;display:flex;position:relative}.prompt-model-row .prompt-control-icon{z-index:1;width:16px;height:16px;color:var(--duwu-muted);pointer-events:none;justify-content:center;align-items:center;display:flex;position:absolute;top:50%;left:8px;transform:translateY(-50%)}.model-brand-icon{background:currentColor;width:15px;height:15px;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.app-shell .prompt-composer-panel .prompt-model-row .model-picker>input,.app-shell .prompt-composer-panel .prompt-model-row .prompt-provider-control select{height:31px;color:var(--duwu-text);background:0 0;border:0;padding-left:29px}.prompt-model-row .model-picker>input{text-overflow:ellipsis}.prompt-model-row .prompt-provider-control select{text-overflow:ellipsis;cursor:pointer}.app-shell .prompt-composer-panel{border:0;border-radius:15px;width:max(100%,470px);padding:14px 15px 12px}.app-shell .prompt-composer-panel>.generator-inputs{background:0 0;min-height:0;margin:0 0 10px;padding:0}.prompt-composer-panel .reference-empty{background:var(--duwu-surface-raised);border-radius:7px;align-items:center;gap:6px;min-height:32px;padding:0 9px;display:inline-flex}.prompt-composer-panel>textarea{height:78px;min-height:78px}.prompt-composer-panel>.prompt-footer{opacity:.65;justify-content:flex-end;margin:0 0 6px}.prompt-composer-panel>.model-load-error,.prompt-composer-panel>.composer-provider-notice{order:3;margin:0 0 8px}.prompt-composer-toolbar{order:4;align-items:center;gap:7px;min-width:0;display:flex}.app-shell .prompt-composer-toolbar .prompt-model-row{background:var(--duwu-surface-raised);border-radius:7px;flex:auto;align-items:center;gap:0;min-width:0;margin:0;display:flex}.prompt-composer-toolbar .generation-options-wrap{flex:none;margin:0}.app-shell .prompt-composer-toolbar .generation-options-trigger{white-space:nowrap;gap:4px;height:32px;padding:0 7px}.prompt-composer-toolbar .generation-options-trigger span{white-space:nowrap}.app-shell .prompt-composer-toolbar .generate-button{width:32px;height:32px;box-shadow:none;border-radius:50%;flex:0 0 32px;margin:0;padding:0}.prompt-composer-toolbar .generate-button svg:last-child{margin:0}.app-shell .prompt-composer-toolbar .prompt-model-row{flex:0 50%;max-width:50%}.prompt-model-row .image-model-control{flex:3 1 0}.prompt-model-row .prompt-provider-control{flex:2 1 0}.prompt-composer-toolbar .generation-options-wrap{margin-left:auto}.prompt-model-row .prompt-provider-control{border-left:0}.prompt-model-row .prompt-provider-control:before{content:"";background:var(--duwu-border);pointer-events:none;border-radius:999px;width:1px;height:70%;position:absolute;top:15%;left:0}.prompt-model-row .prompt-provider-control select{appearance:none;padding-right:30px}.prompt-model-row .provider-picker-chevron{width:27px;height:calc(100% - 2px);color:var(--duwu-muted);pointer-events:none;place-items:center;display:grid;position:absolute;top:1px;right:1px}.image-metadata{color:var(--duwu-muted);pointer-events:none;justify-content:space-between;align-items:center;gap:10px;font-size:10px;line-height:16px;display:flex;position:absolute;top:-22px;left:0;right:0}.image-metadata-size,.image-metadata-cost{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.image-metadata-size,.image-metadata-duration{align-items:center;gap:4px;display:inline-flex}.image-metadata-duration svg{flex:none}.image-metadata-cost{text-align:right}.prompt-preview{border-radius:inherit;position:relative;overflow:hidden}.generation-loader{z-index:3;border-radius:inherit;color:#d0d4df;text-align:center;cursor:grab;background:#1c1d22;flex-direction:column;justify-content:center;align-items:center;gap:5px;display:flex;position:absolute;inset:0;overflow:hidden}.generation-particles{object-fit:contain;touch-action:auto;width:min(100%,300px);height:auto;max-height:70%;display:block}.home-project-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,136px),1fr));gap:14px}.home-project-card{background:#292a2e;border:1px solid #393b40;border-radius:12px;padding:0;display:block;position:relative;overflow:hidden}.home-project-open{aspect-ratio:16/9;width:100%;padding:0;display:block;position:relative;overflow:hidden}.home-project-icon{color:#aaaeb7;background:#303135;border-radius:0;width:100%;height:100%;position:absolute;inset:0}.home-project-open:after{content:"";pointer-events:none;background:linear-gradient(#0000,#101114db);position:absolute;inset:35% 0 0}.home-canvas-preview{background:#25272b}.home-empty-canvas-icon{background:currentColor;width:24px;height:24px;display:block;-webkit-mask:url(/empty-canvas-icon.svg) 50%/contain no-repeat;mask:url(/empty-canvas-icon.svg) 50%/contain no-repeat}.home-project-details{z-index:1;pointer-events:none;justify-content:space-between;align-items:flex-end;gap:7px;display:flex;position:absolute;bottom:9px;left:10px;right:10px}.home-project-name,.home-project-name-input{color:#f6f6f8;text-align:left;pointer-events:auto;background:0 0;border:0;min-width:0;max-width:100%;padding:0;font:600 11px/1.35 DM Sans,Noto Sans SC,sans-serif}.home-project-name{text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}.home-project-name-input{outline-offset:2px;-webkit-user-select:text;user-select:text;border-radius:2px;outline:1px solid #7395ff;width:100%}.home-project-details small{color:#b8bbc4;flex:none;font-size:9px}.home-project-open:focus-visible{outline-offset:-3px;outline:2px solid #7395ff}.home-project-delete{z-index:2;color:#e1e4eb;opacity:0;pointer-events:none;cursor:pointer;background:0 0;border:0;place-items:center;width:28px;height:28px;padding:0;transition:opacity .16s,color .16s;display:grid;position:absolute;top:8px;right:8px}.home-project-card:hover .home-project-delete,.home-project-card:focus-within .home-project-delete,.home-project-delete:focus-visible{opacity:1;pointer-events:auto}.home-project-delete:hover{color:#ff8d98}.home-project-delete:focus-visible{outline-offset:1px;outline:2px solid #a7bbff}@media (hover:none){.home-project-delete{opacity:1;pointer-events:auto}}.home-page .home-folder-list{flex-wrap:wrap;gap:20px;padding:8px 4px 20px;overflow:visible}.home-page .home-section-heading h2{color:#8995a9;font-size:12px;font-weight:400}.home-page .home-folder-item{transform-origin:50%;transition:transform .24s cubic-bezier(.2,.8,.2,1);position:relative;transform:scale(1)}.home-page .home-folder-item.drag-over{z-index:10;transform:scale(1.12)}.home-page .home-folder-item:has(.gf-menu[data-open]){z-index:20}.home-page .home-folder-item .gf-root{--gf-lift:-6px}.home-page .home-folder-item .gf-back{background:linear-gradient(#b7b9c1 0%,#a3a6af 100%)}.home-page .home-folder-item .gf-back-sheen{opacity:.32}.home-page .home-folder-item .gf-root:is(:hover,:focus-within){--gf-lift:-34px}.home-page .home-folder-item .gf-root[data-open]{--gf-lift:-96px}.home-page .home-folder-item .gf-label{gap:3px;max-width:230px}.home-page .home-folder-item .gf-title{font-size:32px;font-weight:600}.home-page .home-folder-item .gf-meta{font-size:24px}.home-page .home-folder-item .gf-root .gf-key--more{width:90px;height:90px;box-shadow:none;-webkit-backdrop-filter:none;color:#2d3037;background:0 0;bottom:5px;right:8px}.home-page .home-folder-item .gf-key--more .gf-glyph--more{width:50px;height:20px}.home-page .home-folder-item .gf-root .gf-menu{transform-origin:0 100%;bottom:88px;left:0;right:auto;transform:translateY(6px)scale(3.76)}.home-page .home-folder-item .gf-root .gf-menu[data-open]{transform:scale(3.9683)}@media (prefers-reduced-motion:reduce){.home-page .home-folder-item{transition:none}}.home-page .home-grid-trigger{cursor:default;background:radial-gradient(at 50% 38%,#1c2332 0%,#111419 67%);height:clamp(180px,24vw,280px)}.home-page .home-prism{z-index:0;pointer-events:none;position:absolute;inset:0}.home-particle-hero{z-index:1;pointer-events:auto;width:100%;height:100%;display:block;position:absolute;inset:0}.home-page .home-grid-trigger:after{display:none}.home-page .home-header{pointer-events:none}.home-page .home-folder-heading{justify-content:flex-start;align-items:center;gap:7px;margin-bottom:0}.home-page .home-folder-add{color:#8995a9;background:0 0;border:0;place-items:center;width:25px;height:25px;padding:0;display:grid}.home-page .home-folder-add:hover{color:#cbd7f5}.home-page .home-folder-add:focus-visible{outline-offset:2px;border-radius:4px;outline:2px solid #7395ff}.home-page .home-folders{margin-bottom:18px}.home-page .home-folder-list{padding:0 4px 4px}.home-create-open{color:#b7c4e3;background:#292a2e;place-items:center;display:grid}.home-create-open:after{display:none}.home-create-icon{color:#9297a3;opacity:1;transition:color .18s,filter .18s}.home-create-open:not(:disabled):hover .home-create-icon,.home-create-open:focus-visible .home-create-icon{color:#7fa3ff;filter:drop-shadow(0 0 6px #346aff80)}.home-project-expand{color:#8995a9;font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:3px 0;font-size:12px;display:inline-flex}.home-project-expand:hover{color:#dbe5f8}.home-project-expand:focus-visible{outline-offset:4px;border-radius:2px;outline:2px solid #7395ff}.home-learning{margin:48px 0 20px}.home-learning .home-section-heading{margin-bottom:16px}.home-learning-banner{cursor:pointer;background:#20232b;border:1px solid #393b40;border-radius:12px;width:min(100%,380px);padding:0;transition:border-color .2s,transform .2s;display:block;overflow:hidden}.home-learning-banner:hover{border-color:#89a8ff;transform:translateY(-3px)}.home-learning-banner:focus-visible,.learning-back:focus-visible,.learning-shop-actions a:focus-visible,.learning-shop-actions button:focus-visible{outline-offset:4px;outline:2px solid #9cb4ff}.home-learning-banner img{width:100%;height:auto;display:block}.learning-page{color:#f4f5f8;background:#101218;min-height:100vh}.learning-header{z-index:20;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);color:#989fac;background:#101218e6;border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;height:64px;padding:0 max(24px,50vw - 540px);font-size:13px;display:flex;position:sticky;top:0}.learning-back{color:#e9edf7;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:8px 0;font-size:13px;display:inline-flex}.learning-back:hover{color:#b8f13d}.learning-content{width:min(100%,1080px);margin:0 auto;padding-bottom:96px}.learning-images img{width:100%;height:auto;display:block}.learning-shop{color:#f5f6f5;background:#1b1e23;grid-template-columns:minmax(0,1.4fr) minmax(200px,.6fr);gap:36px;padding:clamp(28px,6vw,68px);display:grid;position:relative;overflow:hidden}.learning-shop:before{content:"";filter:blur(140px);opacity:.16;pointer-events:none;background:#bdf02b;border-radius:50%;width:340px;height:340px;position:absolute;top:-190px;right:15%}.learning-shop-main,.learning-shop-mark{position:relative}.learning-shop-eyebrow{color:#bef02b;letter-spacing:.18em;align-items:center;gap:14px;font-size:11px;font-weight:700;display:inline-flex}.learning-shop-eyebrow span{font-size:18px}.learning-shop h1{letter-spacing:-.04em;margin:26px 0 16px;font-size:clamp(30px,5vw,54px);line-height:1.15}.learning-shop h1 em{color:#c8f42d;font-style:normal}.learning-shop p{color:#abb0b9;margin:0;font-size:14px;line-height:1.8}.learning-shop-actions{flex-wrap:wrap;gap:10px;margin-top:30px;display:flex}.learning-shop-actions a,.learning-shop-actions button{color:#f4f5f8;min-height:44px;font:inherit;cursor:pointer;background:0 0;border:1px solid #555a61;border-radius:9px;justify-content:center;align-items:center;gap:9px;padding:0 18px;font-size:13px;text-decoration:none;display:inline-flex}.learning-shop-actions a{color:#171a13;background:#c8f42d;border-color:#c8f42d;font-weight:700}.learning-shop-actions a:hover{background:#d9ff65}.learning-shop-actions button:hover{background:#2a2e34;border-color:#aab0ba}.learning-shop .learning-copy-error{color:#ffaaa4;margin-top:10px;font-size:12px}.learning-shop-mark{color:#d3f266;background:linear-gradient(145deg,#c5f42d26,#c5f42d06);border:1px solid #575e4f;border-radius:16px;flex-direction:column;align-self:stretch;min-height:205px;padding:20px 22px;display:flex}.learning-shop-mark>span{letter-spacing:.08em;font-size:12px}.learning-shop-mark>svg{position:absolute;top:20px;right:20px}.learning-shop-mark strong{letter-spacing:.03em;margin:auto 0;font-size:clamp(23px,3vw,35px);line-height:1.12}.learning-shop-mark small{letter-spacing:.12em;opacity:.7;font-size:9px}@media (width<=600px){.learning-header{height:56px;padding:0 18px}.learning-shop{grid-template-columns:1fr;gap:26px}.learning-shop-mark{min-height:140px}.learning-shop-mark strong br{display:none}.learning-shop-mark strong{margin:22px 0}}@media (prefers-reduced-motion:reduce){.home-learning-banner{transition:none}}body:has(.learning-page){min-width:0}.canvas-dot-ripple{z-index:0;pointer-events:none;width:100%;height:100%;display:block;position:absolute;inset:0}.canvas-view-controls{transform-origin:0 100%;transform:scale(.75)}.canvas-view-controls .canvas-map-panel{transform-origin:0 100%;transform:scale(1.33333)}.app-shell .agent-launch{background:var(--duwu-surface-raised);border:0}.app-shell .agent-launch .agent-launch-label{color:#0000;background:linear-gradient(100deg,#ff8fa9 0%,#ffc97c 22%,#d9ef8c 42%,#7fded9 62%,#8caaff 80%,#d499f1 100%);-webkit-background-clip:text;background-clip:text}.app-shell .agent-launch:hover{background:var(--duwu-surface-raised);filter:brightness(1.15)}.agent-panel{border:0}.agent-header{border:0;justify-content:flex-end;padding:10px 12px 0}.agent-header>button{width:30px;height:30px;color:var(--duwu-muted);border-radius:7px;place-items:center;padding:0;display:grid}.agent-header>button:hover{background:var(--duwu-surface-raised);color:var(--duwu-text)}.agent-model-picker{border:0;gap:8px;padding:4px 16px 14px;display:grid}.agent-model-row select,.agent-model-row button{background:var(--duwu-surface-raised);border:0}.agent-model-row select:focus-visible,.agent-model-row button:focus-visible,.agent-composer textarea:focus-visible,.agent-header button:focus-visible{outline-offset:2px;outline:2px solid #7395ff}.agent-model-row button:hover:not(:disabled){color:#8ba8ff}.agent-model-picker small{margin-top:0}.agent-conversation{padding-top:10px}.agent-message.assistant>div{background:var(--duwu-surface-raised)}.agent-message button{background:var(--duwu-surface-raised);border:0}.agent-composer{border:0}.agent-composer textarea{background:var(--duwu-surface-raised);border:0}.agent-composer>div:last-child{justify-content:flex-end}.agent-generation-toggle{background:var(--duwu-surface-raised);width:100%;color:var(--duwu-text);font:inherit;text-align:left;cursor:pointer;border:0;border-radius:6px;align-items:center;gap:6px;padding:7px 9px;display:flex}.agent-generation-toggle span{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--duwu-muted);margin-left:auto;overflow:hidden}.agent-generation-settings{gap:8px;display:grid}.agent-message>.agent-message-actions{white-space:normal;background:0 0;flex-wrap:wrap;gap:6px;max-width:100%;padding:0;display:flex}.agent-message-actions button:first-child{color:#fff;background:#346aff}.agent-message-images,.agent-selected-images{flex-wrap:wrap;gap:6px;display:flex}.agent-message-images{margin-bottom:8px}.agent-message-images img,.agent-selected-images img,.agent-image-grid img{object-fit:cover;border-radius:6px;width:52px;height:52px;display:block}.agent-selected-images{margin-bottom:8px}.agent-selected-images>div{position:relative}.agent-selected-images>div>button{color:#fff;background:#20232a;border-radius:50%;width:18px;height:18px;position:absolute;top:-4px;right:-4px}.agent-image-picker{background:var(--duwu-surface-raised);border-radius:8px;margin-bottom:8px;padding:10px}.agent-image-picker-title{color:var(--duwu-text);justify-content:space-between;font-size:11px;display:flex}.agent-image-picker-title span,.agent-image-picker p{color:var(--duwu-muted);font-size:10px}.agent-image-picker p{margin:10px 0 0}.agent-image-grid{grid-template-columns:repeat(auto-fill,minmax(52px,1fr));gap:6px;max-height:150px;margin-top:8px;display:grid;overflow:auto}.agent-image-grid button{background:0 0;border:2px solid #0000;border-radius:7px;width:52px;height:52px;padding:0;position:relative;overflow:hidden}.agent-image-grid button[aria-pressed=true]{border-color:#7395ff}.agent-image-grid button span{color:#fff;background:#346aff;border-radius:50%;place-items:center;width:16px;height:16px;font-size:10px;display:grid;position:absolute;top:1px;right:1px}.agent-image-missing{background:var(--duwu-surface-raised);width:52px;height:52px;color:var(--duwu-muted);border-radius:6px;place-items:center;font-size:9px;display:grid}.agent-composer>div.agent-composer-actions:last-child{justify-content:space-between}.agent-composer .agent-add-image{background:var(--duwu-surface-raised);color:var(--duwu-muted)}.agent-composer .agent-add-image:hover,.agent-composer .agent-add-image[aria-expanded=true]{color:#8ba8ff}.agent-generation-notice{color:#91b5ff;margin-bottom:8px;font-size:10px}.agent-sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.agent-model-picker{z-index:2;padding:10px 10px 6px;display:block;position:relative}.agent-model-toolbar{background:var(--duwu-surface-raised);border-radius:8px;align-items:center;gap:2px;min-width:0;padding:3px;display:flex}.agent-model-toolbar .agent-model-row{gap:0;min-width:0}.agent-compact-provider{flex:80px}.agent-compact-model{border-left:1px solid var(--duwu-border);flex:1.2 105px}.agent-model-toolbar .agent-model-row select{width:100%;min-width:0;height:28px;color:var(--duwu-text);text-overflow:ellipsis;cursor:pointer;background:0 0;border:0;padding:0 17px 0 7px;font-size:10px}.agent-model-toolbar .agent-model-refresh,.agent-model-toolbar .agent-close{width:27px;height:28px;color:var(--duwu-muted);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:0 0 27px;place-items:center;padding:0;display:grid}.agent-model-toolbar .agent-model-refresh:disabled{opacity:.45;cursor:default}.agent-model-toolbar .agent-generation-toggle{border-left:1px solid var(--duwu-border);width:auto;min-width:48px;height:28px;color:var(--duwu-muted);background:0 0;border-radius:0;flex:0 92px;gap:4px;padding:0 6px;font-size:10px}.agent-model-toolbar .agent-generation-toggle svg{flex:none}.agent-model-toolbar .agent-generation-toggle span{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.agent-model-toolbar .agent-close{border-left:1px solid var(--duwu-border);border-radius:0 5px 5px 0}.agent-model-toolbar button:hover:not(:disabled),.agent-model-toolbar button[aria-expanded=true]{color:#8ba8ff;background:#346aff20}.agent-model-toolbar button:focus-visible{outline-offset:-2px;outline:2px solid #7395ff}.agent-model-picker .agent-model-status{color:var(--duwu-muted);margin:5px 4px 0;line-height:1.35;display:block}.agent-generation-settings{z-index:4;background:var(--duwu-surface);border-radius:9px;gap:8px;padding:10px;position:absolute;top:calc(100% - 2px);left:10px;right:10px;box-shadow:0 8px 24px #0006}.agent-conversation{min-height:0;padding:8px 12px}.agent-composer{flex:none;padding:8px 10px 10px;position:relative}.agent-composer>.agent-composer-box:last-child{align-items:stretch;justify-content:initial;background:var(--duwu-surface-raised);border-radius:10px;flex-direction:column;gap:0;margin:0;padding:6px;display:flex;position:relative}.agent-composer-box:focus-within{outline:1px solid #7395ff}.agent-composer .agent-composer-box textarea{resize:vertical;background:0 0;border:0;outline:0;width:100%;height:54px;min-height:42px;max-height:150px;padding:6px;display:block}.agent-composer .agent-composer-box textarea:focus-visible{outline:0}.agent-composer .agent-composer-actions{justify-content:space-between;align-items:center;margin:0;display:flex}.agent-composer .agent-add-image{background:0 0}.agent-composer .agent-composer-actions button{width:28px;height:28px}.agent-composer .agent-selected-images{margin:1px 0 5px;padding:0 2px}.agent-composer .agent-image-picker{z-index:5;background:var(--duwu-surface);margin:0;position:absolute;bottom:calc(100% + 6px);left:0;right:0;box-shadow:0 8px 24px #0007}.agent-panel{top:12px;bottom:16px}.agent-panel[hidden]{display:none}.agent-panel-heading{flex:none;justify-content:space-between;align-items:center;padding:10px 12px 5px 15px;font-size:11px;font-weight:700;display:flex}.agent-panel-heading .agent-heading-title>span{color:#0000;background:linear-gradient(100deg,#ff8fa9 0%,#ffc97c 22%,#d9ef8c 42%,#7fded9 62%,#8caaff 80%,#d499f1 100%);-webkit-background-clip:text;background-clip:text}.agent-panel-heading .agent-collapse{width:28px;height:28px;color:var(--duwu-muted);cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;padding:0;display:grid}.agent-panel-heading .agent-collapse:hover{background:var(--duwu-surface-raised);color:var(--duwu-text)}.agent-panel-heading .agent-collapse:focus-visible{outline-offset:2px;outline:2px solid #7395ff}.agent-conversation{scrollbar-width:thin;scrollbar-color:#59606d transparent;min-height:0;padding:8px 12px;font-size:11px}.agent-conversation::-webkit-scrollbar{width:6px}.agent-conversation::-webkit-scrollbar-track{background:0 0}.agent-conversation::-webkit-scrollbar-thumb{background:#59606d;border-radius:6px}.agent-message{font-size:11px;line-height:1.65}.agent-model-picker{flex:none;padding:2px 10px 10px}.agent-model-toolbar .agent-compact-model{border-left:1px solid var(--duwu-border)}.agent-model-toolbar .agent-generation-toggle{flex:0 100px}.agent-model-picker .agent-generation-settings{top:auto;bottom:calc(100% + 8px)}.agent-model-setting-label{white-space:nowrap;flex:none}.agent-custom-model{flex:1;min-width:0;position:relative}.agent-model-row .agent-custom-model>.agent-model-trigger,.agent-model-toolbar .agent-compact-model .agent-model-trigger{width:100%;min-width:0;height:28px;color:var(--duwu-text);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:5px;padding:0 6px;font-size:10px;display:flex}.agent-generation-settings .agent-custom-model>.agent-model-trigger{background:var(--duwu-surface-raised)}.agent-model-trigger>span:not(.model-brand-icon){text-align:left;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.agent-model-trigger>.model-brand-icon,.agent-model-trigger>svg{color:var(--duwu-muted);flex:none}.agent-model-trigger:focus-visible{outline-offset:-2px;outline:2px solid #7395ff}.agent-model-popover{z-index:8;background:var(--duwu-surface);border-radius:9px;width:min(300px,100vw - 65px);padding:7px;position:absolute;bottom:calc(100% + 7px);left:0;box-shadow:0 8px 30px #0009}.agent-generation-settings .agent-model-popover{left:auto;right:0}.agent-model-search{background:var(--duwu-surface-raised);color:var(--duwu-muted);border-radius:6px;align-items:center;gap:6px;padding:0 8px;display:flex}.agent-model-search input{width:100%;min-width:0;height:30px;color:var(--duwu-text);font:inherit;background:0 0;border:0;outline:0;padding:0;font-size:11px}.agent-model-options{scrollbar-width:thin;scrollbar-color:#59606d transparent;max-height:min(260px,35vh);padding-top:5px;overflow:auto}.agent-model-group-label,.agent-model-empty{color:var(--duwu-muted);padding:6px 7px;font-size:10px}.agent-model-row .agent-model-options button{width:100%;height:auto;min-height:29px;color:var(--duwu-text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:5px;align-items:center;gap:8px;padding:6px 7px;font-size:11px;display:flex}.agent-model-options button>.model-brand-icon,.agent-model-options button>svg{color:var(--duwu-muted);flex:none}.agent-model-options button span:not(.model-brand-icon){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.agent-model-row .agent-model-options button:hover,.agent-model-row .agent-model-options button:focus-visible,.agent-model-row .agent-model-options button[aria-selected=true]{color:#9bb3ff;background:#346aff20;outline:0}.agent-composer{padding:6px 10px 4px}.agent-composer .agent-composer-box textarea{resize:none;height:54px;min-height:42px;max-height:min(320px,46vh);font-size:11px;line-height:1.55;overflow-y:auto}.agent-composer-resize{z-index:6;cursor:ns-resize;touch-action:none;height:12px;position:absolute;top:-6px;left:0;right:0}.agent-composer-resize:after{content:"";opacity:0;background:#8792a5;border-radius:3px;width:32px;height:3px;transition:opacity .15s;position:absolute;top:4px;left:50%;transform:translate(-50%)}.agent-composer-resize:hover:after,.agent-composer-resize:focus-visible:after,.agent-composer-resize:active:after{opacity:.9}.agent-composer-resize:focus-visible{outline:0}.agent-panel{top:16px}.agent-error-context{color:var(--duwu-muted);overflow-wrap:anywhere;margin-bottom:3px;font-size:10px;display:block}textarea,[contenteditable=true]{--text-scroll-thumb:#9da4b0;scrollbar-width:thin;scrollbar-color:var(--text-scroll-thumb) transparent}.app-shell.dark textarea,.app-shell.dark [contenteditable=true]{--text-scroll-thumb:#59606d}textarea::-webkit-scrollbar{width:6px;height:6px}[contenteditable=true]::-webkit-scrollbar{width:6px;height:6px}textarea::-webkit-scrollbar-track{background:0 0}[contenteditable=true]::-webkit-scrollbar-track{background:0 0}textarea::-webkit-scrollbar-thumb{background:var(--text-scroll-thumb);border-radius:6px}[contenteditable=true]::-webkit-scrollbar-thumb{background:var(--text-scroll-thumb);border-radius:6px}textarea::-webkit-scrollbar-corner{background:0 0}[contenteditable=true]::-webkit-scrollbar-corner{background:0 0}.app-shell .agent-launch{--edge-proximity:0;--cursor-angle:45deg;--edge-sensitivity:30;--color-sensitivity:50;--glow-padding:24px;--cone-spread:25;--agent-border-radius:8px;isolation:isolate;border-radius:var(--agent-border-radius);background:var(--duwu-surface-raised);filter:none;border:0;overflow:visible}.app-shell .agent-launch:before,.app-shell .agent-launch:after,.app-shell .agent-launch .agent-edge-light{content:"";border-radius:inherit;pointer-events:none;transition:opacity .25s ease-out;position:absolute;inset:0}.app-shell .agent-launch:before{z-index:-1;background:linear-gradient(var(--duwu-surface-raised) 0 100%) padding-box, radial-gradient(at 80% 55%, #c084fc 0px, transparent 50%) border-box, radial-gradient(at 69% 34%, #f472b6 0px, transparent 50%) border-box, radial-gradient(at 8% 6%, #38bdf8 0px, transparent 50%) border-box, radial-gradient(at 41% 38%, #c084fc 0px, transparent 50%) border-box, radial-gradient(at 86% 85%, #f472b6 0px, transparent 50%) border-box, radial-gradient(at 82% 18%, #38bdf8 0px, transparent 50%) border-box, radial-gradient(at 51% 4%, #f472b6 0px, transparent 50%) border-box, linear-gradient(#c084fc 0 100%) border-box;opacity:clamp(0, (var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)), 1);-webkit-mask-image:conic-gradient(from var(--cursor-angle) at center, black 25%, transparent 40%, transparent 60%, black 75%);mask-image:conic-gradient(from var(--cursor-angle) at center, black 25%, transparent 40%, transparent 60%, black 75%);border:1px solid #0000}.app-shell .agent-launch:after{z-index:-1;-webkit-mask-image:linear-gradient(#000,#000), radial-gradient(ellipse at 50% 50%,#000 40%,transparent 65%), radial-gradient(ellipse at 66% 66%,#000 5%,transparent 40%), radial-gradient(ellipse at 33% 33%,#000 5%,transparent 40%), radial-gradient(ellipse at 66% 33%,#000 5%,transparent 40%), radial-gradient(ellipse at 33% 66%,#000 5%,transparent 40%), conic-gradient(from var(--cursor-angle),transparent 5%,#000 15%,#000 85%,transparent 95%);mask-image:linear-gradient(#000,#000), radial-gradient(ellipse at 50% 50%,#000 40%,transparent 65%), radial-gradient(ellipse at 66% 66%,#000 5%,transparent 40%), radial-gradient(ellipse at 33% 33%,#000 5%,transparent 40%), radial-gradient(ellipse at 66% 33%,#000 5%,transparent 40%), radial-gradient(ellipse at 33% 66%,#000 5%,transparent 40%), conic-gradient(from var(--cursor-angle),transparent 5%,#000 15%,#000 85%,transparent 95%);opacity:clamp(0, .5 * (var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)), .5);mix-blend-mode:soft-light;background:radial-gradient(at 80% 55%,#c084fc,#0000 50%),radial-gradient(at 69% 34%,#f472b6,#0000 50%),radial-gradient(at 8% 6%,#38bdf8,#0000 50%),#c084fc;border:1px solid #0000;-webkit-mask-composite:source-out,source-over,source-over,source-over,source-over,source-over;mask-composite:subtract,add,add,add,add,add}.app-shell .agent-launch .agent-edge-light{inset:calc(var(--glow-padding) * -1);z-index:1;border-radius:calc(var(--agent-border-radius) + var(--glow-padding));-webkit-mask-image:conic-gradient(from var(--cursor-angle), #000 2.5%, transparent 10%, transparent 90%, #000 97.5%);mask-image:conic-gradient(from var(--cursor-angle), #000 2.5%, transparent 10%, transparent 90%, #000 97.5%);opacity:clamp(0, (var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)), 1);mix-blend-mode:plus-lighter}.app-shell .agent-launch .agent-edge-light:before{content:"";inset:var(--glow-padding);border-radius:var(--agent-border-radius);position:absolute;box-shadow:inset 0 0 0 1px #f5daa3,inset 0 0 3px #f5daa380,inset 0 0 15px #f5daa34d,0 0 3px #f5daa380,0 0 15px #f5daa34d,0 0 25px 2px #f5daa333}.app-shell .agent-launch:not(:hover):before,.app-shell .agent-launch:not(:hover):after,.app-shell .agent-launch:not(:hover) .agent-edge-light{opacity:0;transition:opacity .75s ease-in-out}.app-shell .agent-launch:focus-visible,.app-shell .theme-toggle:focus-visible,.app-shell .help-button:focus-visible{outline-offset:3px;outline:2px solid #7898ff}.app-shell .theme-toggle,.app-shell .help-button{width:auto;min-width:0;height:30px;min-height:30px;box-shadow:none;background:0 0;border:0;padding:3px}.app-shell .theme-toggle:hover,.app-shell .help-button:hover{color:var(--duwu-blue);background:0 0}.app-shell .theme-switch{background:#777b84;width:38px;height:22px;padding:2px;position:relative}.app-shell .theme-switch.active{background:#7895ee}.app-shell .theme-switch i{color:#626875;background:#fff;place-items:center;width:18px;height:18px;display:grid}.app-shell .theme-switch.active i{color:#4965b4;transform:translate(16px)}.app-shell .help-button{width:30px}.canvas-controls{border-left:1px solid var(--duwu-border);align-items:center;gap:7px;margin-left:4px;padding-left:12px;display:flex}.canvas-controls .current-project-name{border:0;margin:0;padding:5px 0}.canvas-create{color:var(--duwu-muted);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:4px;padding:6px 8px;font:600 10px DM Sans,Noto Sans SC,sans-serif;display:inline-flex}.canvas-create:hover{color:var(--duwu-text);background:var(--duwu-surface-raised)}.canvas-create:focus-visible{outline-offset:2px;outline:2px solid #7898ff}.app-shell .topbar,.app-shell.dark .topbar{padding-left:12px}.app-shell .canvas-controls{background:var(--duwu-surface-raised);border:0;border-radius:999px;gap:2px;margin-left:0;padding:2px}.app-shell .canvas-controls .canvas-pill{isolation:isolate;min-height:26px;color:var(--duwu-muted);cursor:pointer;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;margin:0;padding:0 10px;font:600 10px DM Sans,Noto Sans SC,sans-serif;transition:color .3s;display:inline-flex;position:relative;overflow:hidden}.app-shell .canvas-controls .current-project-name{max-width:180px}.canvas-pill:before{content:"";z-index:-1;aspect-ratio:1;background:var(--duwu-text);border-radius:50%;width:230%;transition:transform .45s cubic-bezier(.22,1,.36,1);position:absolute;top:100%;left:50%;transform:translate(-50%,-50%)scale(0)}.canvas-pill-label{min-width:0;display:block;position:relative;overflow:hidden}.canvas-pill-face{white-space:nowrap;justify-content:center;align-items:center;gap:5px;transition:transform .45s cubic-bezier(.22,1,.36,1);display:flex}.canvas-pill-face svg{flex:none}.canvas-pill-name{text-overflow:ellipsis;overflow:hidden}.canvas-pill-face-alt{position:absolute;inset:0;transform:translateY(150%)}.app-shell .canvas-controls .canvas-pill:is(:hover,:focus-visible){color:var(--duwu-surface);background:0 0}.canvas-pill:is(:hover,:focus-visible):before{transform:translate(-50%,-50%)scale(1)}.canvas-pill:is(:hover,:focus-visible) .canvas-pill-face:not(.canvas-pill-face-alt){transform:translateY(-150%)}.canvas-pill:is(:hover,:focus-visible) .canvas-pill-face-alt{transform:translateY(0)}.app-shell .canvas-controls .canvas-pill:focus-visible{outline-offset:2px;outline:2px solid #7898ff}@media (prefers-reduced-motion:reduce){.canvas-pill:before,.canvas-pill-face{transition:none}}.app-shell .top-actions{padding-right:116px}.app-shell .agent-launch{top:9px;right:20px}.app-shell :is(.theme-toggle,.help-button),.app-shell.dark :is(.theme-toggle,.help-button),.app-shell :is(.theme-toggle,.help-button):hover,.app-shell.dark :is(.theme-toggle,.help-button):hover{box-shadow:none;background:0 0;border:0;position:relative}.bottom-actions [data-tooltip]:after{content:attr(data-tooltip);z-index:20;background:var(--duwu-surface);color:var(--duwu-text);white-space:nowrap;pointer-events:none;opacity:0;visibility:hidden;border-radius:6px;padding:6px 8px;font:500 10px DM Sans,Noto Sans SC,sans-serif;transition:opacity .15s,visibility .15s;position:absolute;bottom:calc(100% + 8px);right:0;box-shadow:0 4px 16px #0004}.bottom-actions [data-tooltip]:is(:hover,:focus-visible):after{opacity:1;visibility:visible}.bottom-actions .help-button[aria-expanded=true]:after{opacity:0;visibility:hidden}.brand-metallic{flex:none;position:relative;overflow:hidden}.brand-metallic-fallback{object-fit:contain;opacity:.34;pointer-events:none;width:100%;height:100%;position:absolute}.home-brand{flex-direction:column;align-items:flex-start;gap:1px;display:flex}.home-brand .brand-metallic-fallback{border-radius:0;width:100%;height:100%}.home-brand small{color:#8792a5;margin-left:1px;font-size:10px;font-weight:500}.app-shell:not(.dark) .brand-metallic-fallback{filter:brightness(.35)}.image-history-dialog{border:1px solid var(--duwu-border);background:var(--duwu-surface);width:min(840px,90vw);max-height:90vh;color:var(--duwu-text);border-radius:16px;padding:18px;overflow:auto;box-shadow:0 20px 70px #0008}.image-history-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#090b10bd}.image-history-dialog header,.image-history-dialog header>div,.history-caption{justify-content:space-between;align-items:center;gap:12px;display:flex}.image-history-dialog header strong{font-size:16px}.image-history-dialog header span,.history-caption{color:var(--duwu-muted);font-size:12px}.image-history-dialog header button{color:var(--duwu-muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}.history-main{background:#12141a;border-radius:10px;place-items:center;height:min(55vh,520px);margin-top:15px;display:grid;overflow:hidden}.history-main img{object-fit:contain;max-width:100%;max-height:100%}.history-caption{padding:10px 0}.history-caption a{color:var(--duwu-text);align-items:center;gap:5px;text-decoration:none;display:flex}.history-caption a:hover{color:#7d9dff}.history-thumbnails{gap:8px;display:flex;overflow:auto}.history-thumbnails button{border:1px solid var(--duwu-border);cursor:pointer;background:0 0;border-radius:7px;flex:none;width:72px;height:55px;padding:2px}.history-thumbnails button[aria-pressed=true]{border:2px solid #7091ff}.history-thumbnails img{object-fit:cover;border-radius:4px;width:100%;height:100%}.node.has-image-history{isolation:isolate}.node.has-image-history:after{content:"";z-index:-1;pointer-events:none;opacity:0;background:#30323a;border:1px solid #ffffff45;border-radius:10px;transition:transform .24s,opacity .24s;position:absolute;inset:3px 0 0;transform:translate(0)rotate(0)}.node.has-image-history:hover:after,.node.has-image-history:focus-within:after{opacity:.9;transform:translate(12px,8px)rotate(3deg)}.image-history-badge{z-index:12;color:#fff;cursor:pointer;opacity:0;background:#181b20b8;border:1px solid #ffffff60;border-radius:8px;align-items:center;gap:6px;padding:5px 8px;font-family:inherit;font-size:12px;font-weight:600;line-height:1;transition:opacity .2s;display:flex;position:absolute;top:9px;right:9px}.node:hover .image-history-badge,.image-history-badge:focus-visible{opacity:1}.image-history-badge:hover{background:#252b39e8}.image-history-dialog{width:min(1040px,94vw);position:relative;overflow:hidden}.history-carousel{perspective:900px;touch-action:pan-y;cursor:grab;-webkit-user-select:none;user-select:none;height:min(52vh,440px);min-height:250px;margin:18px -18px 0;position:relative;overflow:hidden}.history-carousel:active{cursor:grabbing}.history-carousel-card{width:max-content;max-width:45%;height:auto;transform:translate(-50%,-50%) translateX(calc(var(--offset) * 72%)) translateZ(calc(var(--distance) * -130px)) rotateY(calc(var(--offset) * -27deg));filter:brightness(calc(1 - var(--distance) * .18));cursor:zoom-in;background:0 0;border:0;border-radius:12px;padding:0;transition:transform .45s cubic-bezier(.2,.75,.25,1),filter .45s;position:absolute;top:50%;left:50%;overflow:hidden;box-shadow:0 16px 45px #0008}.history-carousel-card img{object-fit:contain;pointer-events:none;width:auto;max-width:min(40vw,380px);height:auto;max-height:min(40vh,343px);display:block}.history-carousel-card>span{color:#fff;background:#111b;border-radius:6px;padding:4px 7px;font-size:11px;position:absolute;top:10px;left:10px}.history-controls{color:var(--duwu-muted);justify-content:center;align-items:center;gap:18px;font-size:12px;display:flex}.history-controls button{background:var(--duwu-surface-raised);width:30px;height:30px;color:var(--duwu-text);cursor:pointer;border:0;border-radius:50%;place-items:center;display:grid}.history-caption{justify-content:center;padding:9px 0 2px}.history-context-menu{z-index:30;border:1px solid var(--duwu-border);background:var(--duwu-surface-raised);border-radius:9px;min-width:158px;padding:5px;position:absolute;box-shadow:0 8px 25px #0006}.history-context-menu a,.history-context-menu button{width:100%;color:var(--duwu-text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:9px;padding:9px;font-family:inherit;font-size:12px;line-height:1.3;text-decoration:none;display:flex}.history-context-menu :is(a,button):hover{background:#7291ff25}.history-context-menu button:disabled{opacity:.45;cursor:default}.history-zoom{z-index:20;background:#090b10f5;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);place-items:center;padding:45px;display:grid;position:absolute;inset:0}.history-zoom img{object-fit:contain;width:100%;min-width:0;max-width:100%;height:100%;min-height:0;max-height:100%;display:block}.history-zoom button{color:#fff;cursor:pointer;background:0 0;border:0;position:absolute;top:15px;right:15px}@media (prefers-reduced-motion:reduce){.history-carousel-card,.node.has-image-history:after{transition:none}}.image-history-dialog.is-zoomed{width:max-content;max-width:92vw;max-height:90vh;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;overflow:visible}.image-history-dialog.is-zoomed>:not(.history-zoom){display:none}.image-history-dialog.is-zoomed .history-zoom{background:0 0;padding:0;line-height:0;display:block;position:relative;inset:auto}.image-history-dialog.is-zoomed .history-zoom img{object-fit:contain;width:auto;min-width:0;max-width:92vw;height:auto;min-height:0;max-height:90vh}.image-history-dialog.is-zoomed .history-zoom button{z-index:2;color:#fff;background:#101218aa;border-radius:50%;place-items:center;width:32px;height:32px;display:grid;top:10px;right:10px}.brand-image-wrap{flex:none;position:relative;overflow:hidden}.brand-image-wrap .brand-image{object-fit:contain;background:0 0;border:0;border-radius:0;width:100%;height:100%;display:block}.home-brand .home-metallic-logo{width:147px;height:38.5px}.toolbar-home .toolbar-metallic-logo{width:120.4px;height:30.1px}.app-shell:not(.dark) .toolbar-home .brand-image-wrap{background:#24262d;border-radius:6px}.canvas-auth-card img,.canvas-login-card>img{object-fit:contain;background:#24262d;border-radius:7px;width:140px;height:auto;max-height:45.5px}.brand-image-wrap:after{content:"";pointer-events:none;mix-blend-mode:screen;opacity:.4;background:linear-gradient(110deg,#0000 32%,#b9dfff 45%,#fff 50%,#d6c1ff 55%,#0000 68%) 0 0/250% 100%;animation:6s linear infinite brand-image-shine;position:absolute;inset:0;-webkit-mask:url(/design-duwu-brand-v2.png) 50%/contain no-repeat;mask:url(/design-duwu-brand-v2.png) 50%/contain no-repeat}@keyframes brand-image-shine{0%{background-position:160% 0}to{background-position:-90% 0}}@media (prefers-reduced-motion:reduce){.brand-image-wrap:after{opacity:0;animation:none}}.home-brand .brand-image{object-position:left center;transform:translate(-4.36px)}.home-brand .brand-image-wrap:after{transform:translate(-4.36px);-webkit-mask-position:0;mask-position:0}.brand-image-wrap .brand-image-light,.app-shell:not(.dark) .brand-image-wrap .brand-image-dark{display:none}.app-shell:not(.dark) .brand-image-wrap .brand-image-light{display:block}.app-shell:not(.dark) .toolbar-home .brand-image-wrap,.canvas-auth-card img,.canvas-login-card>img{background:0 0}.agent-toast{animation:.35s 2s forwards agent-toast-fade}@keyframes agent-toast-fade{to{opacity:0;transform:translate(-50%,8px)}}.agent-conversation{--agent-fade-top:0px;--agent-fade-bottom:0px;-webkit-mask-image:linear-gradient(to bottom,transparent,black var(--agent-fade-top),black calc(100% - var(--agent-fade-bottom)),transparent);mask-image:linear-gradient(to bottom,transparent,black var(--agent-fade-top),black calc(100% - var(--agent-fade-bottom)),transparent)}.agent-conversation[data-fade-top=true]{--agent-fade-top:24px}.agent-conversation[data-fade-bottom=true]{--agent-fade-bottom:24px}.agent-conversation-content{min-height:100%;display:flow-root}.agent-message>.agent-message-actions{background:var(--duwu-surface-raised);border-radius:999px;align-items:center;gap:3px;padding:3px;display:flex}.agent-message-actions .agent-action-pill{isolation:isolate;min-height:30px;color:var(--duwu-text);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;padding:6px 11px;transition:color .25s;display:inline-flex;position:relative;overflow:hidden}.agent-message-actions .agent-action-pill:before{content:"";z-index:-1;aspect-ratio:1;background:#dce6ff;border-radius:50%;width:220%;transition:transform .45s cubic-bezier(.22,1,.36,1);position:absolute;top:100%;left:50%;transform:translate(-50%,-50%)scale(0)}.agent-message-actions .agent-action-pill.is-primary{color:#fff;background:#346aff}.agent-message-actions .agent-action-pill[aria-pressed=true]{color:#87a7ff;box-shadow:inset 0 0 0 1px #7497ff70}.agent-message-actions .agent-action-pill[aria-pressed=false]{color:var(--duwu-muted)}.agent-message-actions .agent-action-pill:hover,.agent-message-actions .agent-action-pill:focus-visible{color:#172238}.agent-message-actions .agent-action-pill:hover:before,.agent-message-actions .agent-action-pill:focus-visible:before{transform:translate(-50%,-50%)scale(1)}.agent-message-actions .agent-pill-face{align-items:center;gap:5px;transition:transform .36s cubic-bezier(.22,1,.36,1);display:inline-flex}.agent-message-actions .agent-pill-face-alt{color:#172238;justify-content:center;position:absolute;inset:0;transform:translateY(150%)}.agent-message-actions .agent-action-pill:hover .agent-pill-face:not(.agent-pill-face-alt),.agent-message-actions .agent-action-pill:focus-visible .agent-pill-face:not(.agent-pill-face-alt){transform:translateY(-150%)}.agent-message-actions .agent-action-pill:hover .agent-pill-face-alt,.agent-message-actions .agent-action-pill:focus-visible .agent-pill-face-alt{transform:translateY(0)}.agent-message-actions .agent-action-pill:focus-visible{outline-offset:2px;outline:2px solid #80a0ff}@media (prefers-reduced-motion:reduce){.agent-toast{animation:none}.agent-message-actions .agent-action-pill:before,.agent-message-actions .agent-pill-face{transition:none}}.agent-panel .agent-conversation{padding:7px 10px;font-size:10px}.agent-panel .agent-message{gap:5px;margin-bottom:11px;font-size:10px;line-height:1.6}.agent-panel .agent-message>div:not(.agent-message-actions){border-radius:10px;padding:8px 10px}.agent-panel .agent-message-images{margin-bottom:6px}.agent-panel .agent-message-images img{width:44px;height:44px}.agent-panel .agent-selected-images.reference-strip{align-items:flex-start;gap:6px}.agent-panel .agent-selected-images .reference-thumb{flex:0 0 48px;width:48px;height:48px}.agent-panel .agent-selected-images .reference-thumb img{object-fit:cover;width:100%;height:100%}.agent-panel .agent-selected-images .reference-thumb .reference-remove{color:#fff;opacity:0;background:#242522a8;border:0;border-radius:50%;width:15px;height:15px;padding:0;position:absolute;top:2px;right:2px}.agent-panel .agent-selected-images .reference-thumb:hover .reference-remove,.agent-panel .agent-selected-images .reference-thumb:focus-within .reference-remove{opacity:1}.agent-panel .agent-selected-images .reference-thumb:focus-visible{outline-offset:2px;outline:2px solid #7395ff}.agent-panel .agent-message>.agent-message-actions{gap:2px;padding:2px}.agent-panel .agent-message-actions .agent-action-pill{min-height:26px;padding:5px 9px;font-size:10px}.agent-panel .agent-message-actions .agent-action-pill svg{width:12px;height:12px}.agent-panel .agent-composer .agent-composer-box textarea{height:46px;font-size:10px}.agent-input-wrap{min-width:0;position:relative}.agent-composer .agent-text-input{width:100%;height:46px;min-height:42px;max-height:min(320px,46vh);color:var(--duwu-text);white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;cursor:text;outline:0;padding:6px;font:10px/1.55 DM Sans,Noto Sans SC,sans-serif;overflow-y:auto}.prompt-composer-panel>.prompt-input-wrap{order:1;width:100%;min-width:0}.prompt-composer-panel .agent-text-input{width:100%;height:78px;min-height:78px;color:var(--duwu-text);white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;cursor:text;outline:0;padding:3px 0;font:12px/1.6 DM Sans,Noto Sans SC,sans-serif;overflow-y:auto}.prompt-composer-panel .agent-text-input[data-canvas-draggable=true]{-webkit-user-select:none;user-select:none;cursor:grab;touch-action:none}.prompt-composer-panel .agent-text-input[data-canvas-draggable=true]:active{cursor:grabbing}.agent-text-input{position:relative}.agent-text-input:empty:before{content:attr(data-placeholder);color:var(--duwu-muted);opacity:.75;pointer-events:none;position:absolute;top:6px;left:6px}.agent-text-input:has(>br:only-child):before{content:attr(data-placeholder);color:var(--duwu-muted);opacity:.75;pointer-events:none;position:absolute;top:6px;left:6px}.prompt-composer-panel .agent-text-input:empty:before{top:3px;left:0}.prompt-composer-panel .agent-text-input:has(>br:only-child):before{top:3px;left:0}.agent-image-mention{vertical-align:middle;color:#a9bfff;white-space:nowrap;-webkit-user-select:all;user-select:all;background:#547cff35;border-radius:5px;align-items:center;gap:3px;margin:0 1px;padding:1px 4px 1px 2px;display:inline-flex}.app-shell:not(.dark) .agent-image-mention{color:#244ba9;background:#dbe5ff}.agent-image-mention img{object-fit:cover;border-radius:3px;width:16px;height:16px;display:block}.agent-image-mention.is-missing{color:#ffaaa2;background:#e45a4b30}.agent-mention-menu{z-index:10;background:var(--duwu-surface);border-radius:9px;min-width:150px;max-height:190px;padding:5px;position:absolute;bottom:calc(100% + 6px);left:0;overflow:auto;box-shadow:0 8px 24px #0008}.agent-composer .agent-mention-menu button,.prompt-composer-panel .agent-mention-menu button{width:100%;height:auto;min-height:34px;color:var(--duwu-text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:flex-start;align-items:center;gap:8px;padding:5px 7px;font:11px DM Sans,Noto Sans SC,sans-serif;display:flex}.agent-composer .agent-mention-menu button[aria-selected=true],.agent-composer .agent-mention-menu button:hover,.prompt-composer-panel .agent-mention-menu button[aria-selected=true],.prompt-composer-panel .agent-mention-menu button:hover{background:var(--duwu-surface-raised)}.agent-mention-menu button img{object-fit:cover;border-radius:4px;width:26px;height:26px}.agent-mention-empty{color:var(--duwu-muted);padding:8px;font-size:10px}.agent-composer .agent-image-picker.agent-attachment-menu{border:1px solid var(--duwu-border);flex-direction:column;gap:2px;width:170px;padding:5px;display:flex;left:0;right:auto}.agent-composer .agent-attachment-menu button{width:100%;height:auto;min-height:32px;color:var(--duwu-text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:flex-start;align-items:center;gap:8px;padding:7px 9px;font:500 11px DM Sans,Noto Sans SC,sans-serif;display:flex}.agent-composer .agent-attachment-menu button:hover,.agent-composer .agent-attachment-menu button:focus-visible{background:var(--duwu-surface-raised);outline:0}.agent-composer .agent-attachment-menu button:disabled{opacity:.5;cursor:default}.agent-attachment-menu small,.agent-attachment-status{color:var(--duwu-muted);padding:5px 9px;font-size:10px}.agent-panel-dragging:after{content:"松开以添加图片";z-index:50;color:#fff;pointer-events:none;background:#1c2440e8;border:2px dashed #7395ff;border-radius:12px;place-items:center;font-size:13px;font-weight:600;display:grid;position:absolute;inset:8px}.canvas.agent-picking :is(.generated-image,.prompt-preview){cursor:copy}.agent-canvas-pick-hint{z-index:40;transform-origin:top;background:var(--duwu-surface);max-width:calc(100% - 32px);color:var(--duwu-text);border:0;border-radius:9px;padding:6px 10px;font-size:14.3px;position:absolute;top:62px;left:50%;transform:translate(-50%)scale(.7);box-shadow:0 8px 24px #0006}.agent-model-toolbar .agent-compact-model,.agent-model-toolbar .agent-generation-toggle{border-left:0;position:relative}.agent-model-toolbar .agent-compact-model:before,.agent-model-toolbar .agent-generation-toggle:before{content:"";background:var(--duwu-border);pointer-events:none;width:1px;height:70%;position:absolute;top:15%;left:0}.agent-model-toolbar .agent-model-trigger>.model-brand-icon,.agent-model-toolbar .agent-model-trigger>svg,.agent-model-toolbar .agent-model-refresh,.agent-model-toolbar .agent-generation-toggle>svg{color:var(--duwu-text)}.agent-model-toolbar .agent-model-trigger:hover>.model-brand-icon,.agent-model-toolbar .agent-model-trigger:hover>svg,.agent-model-toolbar .agent-model-refresh:hover:not(:disabled),.agent-model-toolbar .agent-generation-toggle:hover>svg,.agent-model-toolbar .agent-generation-toggle[aria-expanded=true]>svg{color:#8ba8ff}body:has(.app-shell){min-width:0;min-height:0;overflow:hidden}.theme-select{flex:1;min-width:0;position:relative}.app-shell .theme-select .theme-select-trigger{background:var(--duwu-surface-raised);width:100%;min-width:0;height:32px;color:var(--duwu-text);font:inherit;text-align:left;cursor:pointer;border:0;border-radius:7px;justify-content:space-between;align-items:center;gap:8px;padding:0 9px;font-size:11px;display:flex}.app-shell .theme-select-trigger span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.app-shell .theme-select-trigger svg{color:var(--duwu-muted);flex:none}.app-shell .theme-select-trigger:focus-visible{outline-offset:-2px;outline:2px solid #7395ff}.app-shell .theme-select-trigger:disabled{opacity:.5;cursor:not-allowed}.theme-select-popover{z-index:90;border:1px solid var(--duwu-border);background:var(--duwu-surface);width:max(100%,180px);max-width:min(320px,100vw - 32px);color:var(--duwu-text);border-radius:10px;padding:7px;position:absolute;bottom:calc(100% + 6px);left:0;box-shadow:0 8px 30px #0008}.theme-select-search{background:var(--duwu-surface-raised);color:var(--duwu-muted);border-radius:7px;align-items:center;gap:7px;margin-bottom:5px;padding:0 8px;display:flex}.theme-select-search input{width:100%;min-width:0;height:31px;color:var(--duwu-text);font:inherit;background:0 0;border:0;outline:0;padding:0;font-size:11px}.theme-select-options{scrollbar-width:thin;scrollbar-color:#59606d transparent;max-height:min(260px,35vh);overflow:auto}.app-shell .theme-select .theme-select-options button{width:100%;height:auto;min-height:30px;color:var(--duwu-text);font:inherit;text-align:left;white-space:normal;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:7px 9px;font-size:11px;display:flex}.theme-select-options button span{overflow-wrap:anywhere}.theme-select-options button svg{flex:none}.app-shell .theme-select .theme-select-options button[aria-selected=true],.app-shell .theme-select .theme-select-options button:hover:not(:disabled),.app-shell .theme-select .theme-select-options button:focus-visible{color:#8baaff;background:#346aff24;outline:0}.app-shell:not(.dark) .theme-select .theme-select-options button[aria-selected=true],.app-shell:not(.dark) .theme-select .theme-select-options button:hover:not(:disabled),.app-shell:not(.dark) .theme-select .theme-select-options button:focus-visible{color:#2859df}.app-shell .theme-select .theme-select-options button:disabled{opacity:.4;cursor:not-allowed}.theme-select-empty{color:var(--duwu-muted);padding:8px;font-size:11px}.agent-model-toolbar .agent-compact-provider .theme-select-trigger{background:0 0;height:28px;font-size:10px}.agent-generation-settings .theme-select-trigger{height:32px}.prompt-model-row .prompt-provider-control .theme-select-trigger{background:0 0;height:31px;padding-left:29px;font-size:10px}.prompt-model-row .prompt-provider-control .theme-select-popover{min-width:220px}.annotation-settings .theme-select{flex:0 220px;max-width:45%}.annotation-editor .annotation-settings .theme-select-trigger{border:1px solid var(--duwu-border);height:37px;padding:0 11px;font-size:14px}.annotation-editor .theme-select-options button{font-size:13px}@media (width<=560px){.annotation-settings .theme-select{flex:40%;max-width:none}}.app-shell :is(.agent-model-popover,.model-picker-menu,.generation-options-popover,.agent-generation-settings,.agent-image-picker,.create-menu,.shortcuts-popover,.history-context-menu,.canvas-map-panel){background:var(--duwu-surface);color:var(--duwu-text);border-radius:10px;box-shadow:0 8px 30px #0007}.home-page .gf-root .gf-menu{-webkit-backdrop-filter:none;background:#202125;box-shadow:0 8px 30px #0009}.home-page .gf-root .gf-menu-item{color:#f7f8fb}.home-page .gf-root .gf-menu-item:hover,.home-page .gf-root .gf-menu-item:focus-visible{color:#b6c8ff;background:#346aff30}.home-page .gf-root .gf-menu-item--danger{color:#ff8f85}.app-confirm-dialog{--duwu-text:#202125;--duwu-muted:#737779;--duwu-border:#d7d9de;--duwu-surface:#fff;--duwu-surface-raised:#f5f6f8;border:1px solid var(--duwu-border);background:var(--duwu-surface);width:min(360px,100vw - 32px);color:var(--duwu-text);border-radius:12px;padding:20px;font:13px/1.55 DM Sans,Noto Sans SC,sans-serif;box-shadow:0 16px 48px #0008}.app-confirm-dialog.dark{--duwu-text:#f7f8fb;--duwu-muted:#b0b3bd;--duwu-border:#4a4d56;--duwu-surface:#292b31;--duwu-surface-raised:#363941;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.app-confirm-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#090b10a8}.app-confirm-dialog h2{margin:0 0 12px;font-size:15px;font-weight:650}.app-confirm-dialog p{color:var(--duwu-muted);white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 18px}.app-confirm-dialog input{background:var(--duwu-surface-raised);width:100%;height:36px;color:var(--duwu-text);font:inherit;border:1px solid #0000;border-radius:7px;outline:none;margin:0 0 16px;padding:0 10px}.app-confirm-dialog input:focus{border-color:#7395ff}.app-confirm-actions{justify-content:flex-end;gap:8px;display:flex}.app-confirm-actions button{background:var(--duwu-surface-raised);min-width:64px;color:var(--duwu-text);font:inherit;cursor:pointer;border:0;border-radius:7px;padding:8px 12px}.app-confirm-actions button.primary{color:#fff;background:#346aff;display:block}.app-confirm-actions button.danger{color:#fff;background:#d44747}.app-confirm-actions button:focus-visible{outline-offset:2px;outline:2px solid #7395ff}.annotation-color-control{align-items:center;gap:6px;margin-left:4px;display:flex}.theme-color-picker{position:relative}.annotation-editor .theme-color-trigger{border:0;width:30px;height:28px;padding:2px}.theme-color-trigger>span{border:1px solid #fff5;border-radius:4px;width:24px;height:22px;display:block}.theme-color-popover{z-index:100;border:1px solid var(--duwu-border);background:var(--duwu-surface);width:186px;color:var(--duwu-text);border-radius:10px;padding:10px;position:absolute;top:calc(100% + 7px);left:0;box-shadow:0 8px 30px #0008}.theme-color-title{color:var(--duwu-muted);margin-bottom:8px;font-size:11px;display:block}.theme-color-swatches{grid-template-columns:repeat(6,1fr);gap:4px;display:grid}.annotation-editor .theme-color-swatches button{border:1px solid #0000;border-radius:5px;width:24px;height:24px;padding:2px}.annotation-editor .theme-color-swatches button[aria-pressed=true]{background:0 0;border-color:#7395ff}.theme-color-swatches button span{border:1px solid #fff3;border-radius:4px;width:18px;height:18px}.annotation-tools .theme-color-hex{background:var(--duwu-surface-raised);color:var(--duwu-muted);border-radius:6px;align-items:center;gap:8px;margin:9px 0 0;padding:0 8px;font-size:10px;display:flex}.theme-color-hex input{width:100%;min-width:0;height:29px;color:var(--duwu-text);font:inherit;background:0 0;border:0;outline:0;padding:0;font-size:11px}.canvas-view-controls [data-tooltip]{position:relative}.canvas-view-controls [data-tooltip]:after{content:attr(data-tooltip);z-index:20;background:var(--duwu-surface);color:var(--duwu-text);white-space:nowrap;pointer-events:none;opacity:0;visibility:hidden;border-radius:6px;padding:6px 8px;font:500 10px DM Sans,Noto Sans SC,sans-serif;transition:opacity .15s,visibility .15s;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);box-shadow:0 4px 16px #0004}.canvas-view-controls [data-tooltip]:is(:hover,:focus-visible):after{opacity:1;visibility:visible}.app-shell .bottom-actions .shortcuts-wrap{order:0}.app-shell .bottom-actions .theme-toggle{order:1}.app-shell .bottom-actions{gap:5px}.app-shell .bottom-actions .theme-toggle{height:34px}.app-shell .theme-switch,.app-shell .theme-switch.active{background:var(--duwu-surface);width:44.85px;height:27.3px;padding:3.9px}.app-shell .theme-switch i{width:19.5px;height:19.5px}.app-shell .theme-switch i svg{width:13.65px;height:13.65px}.app-shell .theme-switch.active i{transform:translate(17.55px)}.app-shell .help-button svg{width:19.5px;height:19.5px}.image-regenerate{z-index:13;color:#fff;cursor:pointer;opacity:0;visibility:hidden;background:#181b20c9;border:1px solid #ffffff40;border-radius:8px;place-items:center;width:30px;height:30px;padding:0;transition:opacity .15s,visibility .15s,background .15s;display:grid;position:absolute;top:9px;right:9px}.node:hover .image-regenerate,.image-regenerate:focus-visible{opacity:1;visibility:visible}.image-regenerate:hover{background:#346aff}.node:has(.image-regenerate) .image-history-badge{left:9px;right:auto}.node.image-history-loading .image-history-badge{opacity:1;left:9px;right:auto}.create-menu .image-menu-delete{border-top:1px solid var(--duwu-border);border-radius:0 0 6px 6px;margin-top:4px}.home-project-card{--chroma-x:-9999px;--chroma-y:-9999px;--chroma-power:0;--chroma-accent:#7395ff;isolation:isolate;border:0;border-radius:12px;transition:filter .25s;box-shadow:0 4px 10px -4px #000b,inset 0 0 0 1px #ffffff12,inset 0 1px #ffffff1f}.home-project-card:hover{filter:brightness(1.12)}.home-project-card:before{content:"";z-index:3;border-radius:inherit;pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 0 0 1px #ffffff12,inset 0 1px #ffffff1f}.home-project-card:after{content:"";z-index:3;border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 0 1px var(--chroma-accent),inset 0 0 16px -8px var(--chroma-accent);opacity:var(--chroma-power);-webkit-mask-image:radial-gradient(circle 182px at var(--chroma-x) var(--chroma-y),#000 40%,transparent 100%);-webkit-mask-image:radial-gradient(circle 182px at var(--chroma-x) var(--chroma-y),#000 40%,transparent 100%);mask-image:radial-gradient(circle 182px at var(--chroma-x) var(--chroma-y),#000 40%,transparent 100%);position:absolute;inset:0}.home-project-chroma-mono{pointer-events:none;-webkit-backdrop-filter:grayscale()brightness(.88);-webkit-mask-image:radial-gradient(circle 182px at var(--chroma-x) var(--chroma-y),rgba(0,0,0,calc(1 - var(--chroma-power))) 40%,#000 100%);-webkit-mask-image:radial-gradient(circle 182px at var(--chroma-x) var(--chroma-y),rgba(0,0,0,calc(1 - var(--chroma-power))) 40%,#000 100%);mask-image:radial-gradient(circle 182px at var(--chroma-x) var(--chroma-y),rgba(0,0,0,calc(1 - var(--chroma-power))) 40%,#000 100%);position:absolute;inset:0}@media (hover:none){.home-project-chroma-mono{display:none}}.home-project-heading{align-items:center;gap:10px;display:flex}.home-delete-mode-toggle{color:#8995a9;cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;width:28px;height:28px;padding:0;display:grid}.home-delete-mode-toggle:hover,.home-delete-mode-toggle.active{color:#ff8994;background:#ff62621c}.home-delete-mode-toggle:focus-visible{outline-offset:2px;outline:2px solid #7395ff}.home-delete-hint{color:#e6e9f0;background:#292d36;border-radius:8px;align-items:center;gap:12px;width:max-content;max-width:100%;margin:-10px 0 16px;padding:9px 11px;font-size:11px;line-height:1.5;display:flex;position:relative;box-shadow:0 6px 20px #0005}.home-delete-hint button{color:#fff;font:inherit;cursor:pointer;background:#da515c;border:0;border-radius:6px;flex:none;padding:6px 9px}.home-delete-hint button:hover{background:#eb626c}.home-project-grid{position:relative}.home-project-grid.is-delete-mode{-webkit-user-select:none;user-select:none}.home-project-grid.is-delete-mode .home-project-card[data-project-id]{cursor:pointer}.home-project-grid.is-delete-mode .home-project-delete{opacity:1;pointer-events:auto;color:#fff;background:#15171bd9;border-radius:7px}.home-project-grid.is-delete-mode .home-project-delete:hover{color:#ff8994}.home-project-grid.is-delete-mode .home-project-card.delete-selected:before{box-shadow:inset 0 0 0 2px #7395ff,inset 0 0 16px #346aff50}.home-project-grid.is-delete-mode .home-project-card.delete-selected .home-project-delete{color:#fff;background:#346aff}.home-delete-selection-box{z-index:10;pointer-events:none;background:#346aff33;border:1px solid #7395ff;position:absolute}.app-shell .prompt-composer-toolbar .sling-button.generate-button{width:25.6px;height:25.6px;min-height:25.6px;box-shadow:none;background:0 0;border:0;flex:0 0 25.6px;margin:0;padding:0;display:inline-block;overflow:visible}.agent-composer .agent-composer-actions .sling-button{flex:none;width:25.6px;height:25.6px;overflow:visible}.app-shell .prompt-composer-toolbar .sling-button__pad,.agent-composer .agent-composer-actions .sling-button__pad{width:100%;height:100%;box-shadow:none;background:0 0;border:0;border-radius:50%;padding:0}.app-shell .prompt-composer-toolbar .sling-button__pad:focus-visible,.agent-composer .agent-composer-actions .sling-button__pad:focus-visible{outline-offset:4px;outline:2px solid #a8bcff}.agent-composer .sling-button__face,.agent-composer .sling-button__icon{color:var(--sl-icon)}.sling-button__pad:disabled{cursor:not-allowed;opacity:.5}.app-shell .sling-button__well,.app-shell .sling-button[data-sent] .sling-button__well{fill:#0000}.app-shell .sling-button__arc{display:none}.app-shell .sling-button[data-held] .sling-button__well{stroke:var(--sl-accent);stroke-width:var(--sl-stroke)}.agent-composer .agent-composer-actions .agent-stop{color:#fff;cursor:pointer;background:#346aff;border:0;border-radius:50%;width:25.6px;height:25.6px;padding:0}.agent-composer .agent-composer-actions .agent-stop:hover{background:#4f7fff}.agent-composer .agent-composer-actions .agent-stop:focus-visible{outline-offset:3px;outline:2px solid #a8bcff}.agent-stopped{color:var(--duwu-muted);margin:0 0 14px;font-size:11px}.agent-message .agent-plan-card{background:var(--duwu-surface-raised);width:100%;color:var(--duwu-text);white-space:normal;border:1px solid #7395ff55;border-radius:10px;flex-direction:column;gap:9px;margin-top:2px;padding:12px;font-size:11px;line-height:1.5;display:flex}.agent-plan-card>strong{font-size:12px}.agent-plan-card>p{color:var(--duwu-text);overflow-wrap:anywhere;margin:0}.agent-plan-references{flex-wrap:wrap;gap:6px;display:flex}.agent-plan-reference{background:#11151c50;border-radius:7px;align-items:center;gap:7px;min-width:0;max-width:100%;padding:5px;display:flex}.agent-plan-reference img,.agent-plan-reference .agent-image-missing{object-fit:cover;border-radius:5px;flex:none;width:34px;height:34px}.agent-plan-reference span{gap:1px;min-width:0;display:grid}.agent-plan-reference b{font-size:10px}.agent-plan-reference small{color:var(--duwu-muted);overflow-wrap:anywhere;font-size:10px}.agent-plan-details{color:var(--duwu-muted);overflow-wrap:anywhere;flex-wrap:wrap;gap:5px 12px;font-size:10px;display:flex}.agent-plan-card details{background:#10121835;border-radius:6px;padding:8px}.agent-plan-card summary{color:var(--duwu-muted);cursor:pointer}.agent-plan-card details p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0}.agent-message .agent-plan-confirm{color:#fff;cursor:pointer;background:#346aff;border:0;border-radius:7px;align-self:flex-start;padding:7px 12px;font:600 11px DM Sans,Noto Sans SC,sans-serif}.agent-message .agent-plan-confirm:hover:not(:disabled){background:#4b7bff}.agent-message .agent-plan-confirm:disabled{color:#b2b9c9;cursor:default;background:#3a465a}.agent-plan-card>small{color:var(--duwu-muted);font-size:10px}.agent-message .agent-plan-invalid{color:#f0a69d;background:0 0;font-size:10px}.agent-plan-buttons{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.agent-message .agent-plan-create{color:var(--duwu-text);cursor:pointer;background:0 0;border:1px solid #7395ff77;border-radius:7px;padding:7px 12px;font:600 11px DM Sans,Noto Sans SC,sans-serif}.agent-message .agent-plan-create:hover:not(:disabled){background:#346aff20}.agent-message .agent-plan-create:disabled{color:var(--duwu-muted);border-color:var(--duwu-border);cursor:default}.agent-heading-actions{align-items:center;gap:6px;display:flex}.agent-chat-tools{background:var(--duwu-surface-raised);border-radius:999px;align-items:center;gap:2px;padding:3px;display:flex}.agent-chat-tools button,.agent-current-chat button,.agent-history-edit{color:var(--duwu-muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}.agent-chat-tools button{border-radius:50%;width:25px;height:25px;padding:0}.agent-chat-tools button:hover,.agent-chat-tools button[aria-expanded=true],.agent-history-edit:hover,.agent-current-chat button:hover{color:#80a2ff;background:#346aff24}.agent-chat-tools button:disabled{opacity:.4;cursor:default}.agent-current-chat{min-width:0;color:var(--duwu-muted);align-items:center;gap:5px;padding:3px 15px 7px;font-size:11px;display:flex}.agent-current-chat span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.agent-current-chat button,.agent-history-edit{border-radius:6px;flex:none;width:23px;height:23px;padding:0}.agent-current-chat input,.agent-history-item input{background:var(--duwu-surface);min-width:0;color:var(--duwu-text);font:inherit;border:1px solid #7395ff;border-radius:5px;outline:0;padding:4px 6px}.agent-history{z-index:40;border:1px solid var(--duwu-border);background:var(--duwu-surface);border-radius:12px;width:min(245px,100% - 24px);padding:8px;position:absolute;top:45px;right:46px;box-shadow:0 12px 30px #0006}.agent-history-heading{color:var(--duwu-muted);padding:5px 7px 8px;font-size:11px;font-weight:600}.agent-history-list{max-height:260px;overflow:auto}.agent-history-item{border-radius:7px;align-items:center;gap:4px;padding:3px;display:flex}.agent-history-item:hover,.agent-history-item.is-active{background:var(--duwu-surface-raised)}.agent-history-name{min-width:0;color:var(--duwu-text);font:inherit;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:1;padding:7px 5px;font-size:11px;overflow:hidden}.agent-history-item input{flex:1;font-size:11px}.agent-chat-tools button:focus-visible,.agent-history button:focus-visible,.agent-current-chat button:focus-visible{outline-offset:1px;outline:2px solid #7395ff}.agent-heading-title{flex:1;align-items:center;gap:10px;min-width:0;display:flex}.agent-heading-title>span,.agent-heading-actions{flex:none}.agent-current-chat{flex:1;gap:3px;padding:0;font-size:10px;font-weight:400}.agent-current-chat input{width:100%;max-width:130px}.agent-current-chat button{width:20px;height:20px}.agent-chat-tools{padding:0 3px}.agent-chat-tools button{width:25px;height:23px}.agent-history-delete{width:23px;height:23px;color:var(--duwu-muted);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;place-items:center;padding:0;display:grid}.agent-history-delete:hover{color:#f17b75;background:#e35d5d25}.agent-history-delete:focus-visible{outline-offset:1px;outline:2px solid #7395ff}.home-community{pointer-events:auto;position:relative}.home-community-trigger{color:#8995a9;white-space:nowrap;cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;padding:8px 0;font:600 11px DM Sans,Noto Sans SC,sans-serif;transition:color .18s;display:flex}.home-community-trigger svg{color:inherit;flex:none}.home-community-trigger:hover,.home-community-trigger[aria-expanded=true]{color:#cbd7f5}.home-community-trigger:focus-visible,.home-community-id button:focus-visible{outline-offset:2px;outline:2px solid #7395ff}.home-community-popover{z-index:10;color:#f2f5fc;background:#24272e;border:1px solid #ffffff1b;border-radius:12px;width:min(260px,100vw - 48px);padding:16px;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 14px 40px #0008}.home-community-popover h2{margin:0;font-size:14px}.home-community-popover p{color:#adb2bf;margin:6px 0 10px;font-size:11px;line-height:1.5}.home-community-popover img{background:#fff;border-radius:7px;width:100%;height:auto;display:block}.home-community-id{color:#adb2bf;justify-content:space-between;align-items:center;gap:8px;margin-top:12px;font-size:11px;display:flex}.home-community-id strong{color:#f2f5fc;-webkit-user-select:all;user-select:all;font-weight:600}.home-community-id button{color:#91adff;font:inherit;cursor:pointer;background:#346aff24;border:0;border-radius:6px;flex:none;align-items:center;gap:4px;padding:5px 7px;display:flex}.home-community-id button:hover{background:#346aff42}.home-community-popover .home-community-note{margin:9px 0 0}.home-community-note strong{color:#f2f5fc}.home-community-popover .home-community-error{color:#f3958e;margin:6px 0 0}.canvas-world{pointer-events:none}.canvas-world>.node{pointer-events:auto}.canvas-groups{z-index:0;transform-origin:0 0;pointer-events:none;position:absolute;inset:0}.canvas-groups>.node-group-background,.canvas-world>.floating-output-handle:not(.is-dragging):not(.is-returning){pointer-events:auto}.edge-cut{pointer-events:none}.edge-interactive:hover .edge-cut{pointer-events:auto}.home-account-actions{pointer-events:auto;align-items:center;gap:10px;font-family:inherit;font-size:12px;font-weight:400;display:flex;position:relative}.home-account-actions .home-community-trigger{color:#a5b0c2;font-family:inherit;font-size:12px;font-weight:400}.home-account-actions .home-header-icon{color:#a5b0c2;cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;width:29px;height:29px;padding:0;transition:color .16s,background-color .16s;display:grid;position:relative}.home-account-actions .home-header-icon:hover,.home-account-actions .home-header-icon[aria-expanded=true]{color:#eef3ff;background:#ffffff10}.home-account-actions .home-header-icon:focus-visible{outline-offset:2px;outline:2px solid #7395ff}.home-account-actions .home-header-icon[data-tooltip]:not([aria-expanded=true]):is(:hover,:focus-visible):after{content:attr(data-tooltip);z-index:20;color:#fff;white-space:nowrap;pointer-events:none;background:#303743;border-radius:5px;padding:5px 8px;font-family:inherit;font-size:11px;font-weight:400;line-height:1.3;position:absolute;top:calc(100% + 7px);left:50%;transform:translate(-50%);box-shadow:0 4px 12px #0006}.home-account-button{cursor:pointer;white-space:nowrap;border:0;font-family:inherit;font-weight:400}.home-account-actions .home-account-button{color:#fff;background:#346aff;border-radius:6px;padding:6px 11px;font-size:11px;line-height:1.3}.home-account-actions .home-account-button:hover{background:#4b7cff}.home-balance-wrap{position:relative}.home-balance-popover{z-index:12;white-space:nowrap;color:#aeb8c9;background:#24272e;border:1px solid #ffffff1b;border-radius:9px;align-items:center;gap:9px;padding:12px 14px;font-size:12px;display:flex;position:absolute;top:calc(100% + 12px);right:-42px;box-shadow:0 12px 30px #0008}.home-balance-popover strong{color:#fff;font-weight:500}.home-balance-popover button{color:#91adff;cursor:pointer;background:0 0;border:0}.home-login-guide{z-index:11;color:#202734;background:radial-gradient(at 68% 0,#e1f7ff,#0000 58%),#fff;border-radius:14px;width:240px;padding:19px 18px 16px;font-family:inherit;font-size:12px;font-weight:400;position:absolute;top:calc(100% + 16px);right:0;box-shadow:0 18px 48px #0007}.home-login-guide:before{content:"";background:#fff;width:12px;height:12px;position:absolute;top:-6px;right:17px;transform:rotate(45deg)}.home-login-guide h2{margin:0;font-size:16px;font-weight:500;line-height:1.4}.home-login-guide h2 span{color:#378ef5}.home-login-guide p{color:#8993a3;margin:5px 0 14px;font-size:11px}.home-login-guide ul{color:#5e6878;margin:0 0 16px;padding-left:17px;line-height:2}.home-login-guide-close{color:#929baa;cursor:pointer;background:0 0;border:0;place-items:center;padding:3px;display:grid;position:absolute;top:11px;right:11px}.home-login-guide-action{color:#fff;cursor:pointer;background:#258fe9;border:0;border-radius:7px;width:100%;padding:9px;font-family:inherit;font-size:12px;font-weight:400}.home-login-guide-action:hover{background:#147fd9}.canvas-login-overlay{z-index:1000;background:#000000ad;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.canvas-login-card{border-radius:14px;gap:12px;width:min(100%,340px);padding:24px;font-family:inherit;position:relative}.canvas-login-card>.canvas-login-close{color:#697987;background:0 0;min-height:0;padding:2px 8px;font-size:24px;font-weight:400;position:absolute;top:12px;right:15px}.canvas-login-card>.canvas-login-close:hover{color:#263c50}.canvas-login-card label{font-weight:400}.canvas-login-card input{min-height:38px;font-size:13px}.canvas-login-card>button[type=submit]{background:linear-gradient(110deg,#346aff,#6591ff);min-height:38px;font-size:13px;font-weight:500}.canvas-login-card>button[type=submit]:hover:not(:disabled){background:linear-gradient(110deg,#285bf0,#4e7ef5)}.canvas-login-contact{align-items:center;gap:14px;padding:2px 28px 4px 0;display:flex}.canvas-login-qr{background:#fff url(/wechat-contact-qr.jpg) 50% 60%/127% no-repeat;border:1px solid #e6edf1;border-radius:8px;flex:none;width:116px;height:116px;position:relative}.canvas-login-qr img{object-fit:cover;border-radius:4px;width:22px;height:22px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.canvas-login-card .canvas-login-contact p{color:#586d7e;margin:0;font-size:13px;font-weight:400;line-height:1.75}.canvas-login-card .canvas-login-contact p span{color:#346aff}@media (width<=700px){.home-header{padding:0 14px}.home-account-actions{gap:4px}.home-account-actions .home-community-trigger{font-size:11px}.home-account-actions .home-header-icon{width:27px;height:27px}.home-login-guide{width:min(240px,100vw - 28px);right:0}}.canvas-account-button{border:1px solid var(--duwu-border);background:var(--duwu-surface);height:29px;color:var(--duwu-muted);cursor:pointer;border-radius:7px;justify-content:center;align-items:center;gap:5px;font-family:inherit;font-size:11px;font-weight:500;display:inline-flex}.canvas-account-wrap{position:relative}.canvas-account-menu{z-index:30;border:1px solid var(--duwu-border);background:var(--duwu-surface-raised);min-width:130px;color:var(--duwu-muted);border-radius:9px;padding:6px;font-size:11px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 10px 30px #0005}.canvas-account-menu span{text-overflow:ellipsis;padding:7px 8px;display:block;overflow:hidden}.canvas-account-menu button{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:7px;padding:8px;display:flex}.canvas-account-menu button:hover{color:var(--duwu-text);background:#ffffff12}.points-history-overlay{z-index:1000;background:#0009;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.points-history{border:1px solid var(--duwu-border);background:var(--duwu-surface-raised);width:min(520px,100%);max-height:min(650px,80vh);color:var(--duwu-text);border-radius:14px;flex-direction:column;display:flex;box-shadow:0 20px 70px #0008}.points-history header{border-bottom:1px solid var(--duwu-border);justify-content:space-between;align-items:flex-start;padding:20px 22px;display:flex}.points-history h2{margin:0;font-size:16px;font-weight:600}.points-history header p{color:var(--duwu-muted);margin:7px 0 0;font-size:12px}.points-history header p strong{color:var(--duwu-text)}.points-history header button{color:var(--duwu-muted);cursor:pointer;background:0 0;border:0}.points-history-list{padding:0 22px 16px;overflow:auto}.points-history-list article{border-bottom:1px solid var(--duwu-border);justify-content:space-between;gap:20px;padding:15px 0;font-size:12px;display:flex}.points-history-list article div{flex-direction:column;gap:5px;display:flex}.points-history-list article strong{font-weight:500}.points-history-list article span,.points-history-list time,.points-history-list small{color:var(--duwu-muted);font-size:11px}.points-history-amount{text-align:right}.points-history-message{text-align:center;color:var(--duwu-muted);padding:25px;font-size:12px}.points-history-more,.points-history-message button{border:1px solid var(--duwu-border);color:var(--duwu-text);cursor:pointer;background:0 0;border-radius:6px;margin:14px auto 0;padding:7px 12px;display:block}.app-shell .topbar .brand{gap:7px}.canvas-pill-nav{-webkit-backdrop-filter:blur(20px)saturate(1.6);backdrop-filter:blur(20px)saturate(1.6);background:#1d2636b8;border-radius:999px;align-items:center;gap:3px;height:36px;padding:3px;display:flex;box-shadow:0 22px 44px -20px #000c,0 6px 16px -8px #0008,inset 0 0 0 1px #ffffff14,inset 0 1px #ffffff12}.canvas-nav-item{isolation:isolate;color:#f4f4f5;white-space:nowrap;cursor:pointer;background:linear-gradient(#36465e,#253248);border:0;border-radius:999px;justify-content:center;align-items:center;height:30px;padding:0 12px;font-family:inherit;font-size:11px;font-weight:500;display:inline-flex;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff12,inset 0 1px #ffffff1f,0 4px 10px -4px #000b}.canvas-nav-name{text-overflow:ellipsis;max-width:125px;overflow:hidden}.canvas-nav-fill{z-index:-1;aspect-ratio:1;background:linear-gradient(#fff,#ebebf0);border-radius:50%;width:230%;transition:transform .36s cubic-bezier(.4,0,.2,1);position:absolute;top:100%;left:50%;transform:translate(-50%,-50%)scale(0)}.canvas-nav-face{justify-content:center;align-items:center;gap:5px;transition:transform .36s cubic-bezier(.22,1,.36,1);display:inline-flex}.canvas-nav-face-alt{color:#121016;position:absolute;inset:0;transform:translateY(150%)}.canvas-nav-item:is(:hover,:focus-visible) .canvas-nav-fill{transition-duration:.55s;transform:translate(-50%,-50%)scale(1)}.canvas-nav-item:is(:hover,:focus-visible) .canvas-nav-face:not(.canvas-nav-face-alt){transition-duration:.5s;transform:translateY(-150%)}.canvas-nav-item:is(:hover,:focus-visible) .canvas-nav-face-alt{transition-duration:.5s;transform:translateY(0)}.canvas-nav-item:focus-visible{outline-offset:2px;outline:2px solid #7898ff}.app-shell .canvas-account-button{color:#f4f4f5;background:#1d2636b8;border:1px solid #ffffff20;border-radius:50%;width:36px;min-width:36px;height:36px;padding:0;font-weight:500}.app-shell:not(.dark) .canvas-pill-nav,.app-shell:not(.dark) .canvas-account-button{color:#18181b;background:#f0f0f3d9}.app-shell:not(.dark) .canvas-nav-item{color:#18181b;background:linear-gradient(#fff,#f6f6f8)}.app-shell:not(.dark) .canvas-nav-fill{background:linear-gradient(#2c2c31,#18181b)}.app-shell:not(.dark) .canvas-nav-face-alt{color:#fff}.canvas-nav-item[aria-expanded=true]:after{content:"";background:currentColor;border-radius:50%;width:4px;height:4px;position:absolute;bottom:3px;left:50%;transform:translate(-50%)}@media (prefers-reduced-motion:reduce){.canvas-nav-fill,.canvas-nav-face{transition:none}}.project-switcher-backdrop{background:0 0;padding:0}.project-switcher-backdrop .projects-panel{color:#f5f5f5;transform-origin:100% 0;background:#27272a;border:1px solid #ffffff1c;border-radius:10px;width:min(248px,100vw - 24px);max-height:min(70vh,500px);padding:8px;animation:.18s cubic-bezier(.23,1,.32,1) project-menu-pop;position:fixed;box-shadow:0 8px 24px #0006}@keyframes project-menu-pop{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.project-switcher-backdrop .projects-list{gap:1px;position:relative}.project-glide-highlight{z-index:0;pointer-events:none;background:#3f3f46;border-radius:6px;transition:transform .22s cubic-bezier(.23,1,.32,1),height .22s cubic-bezier(.23,1,.32,1),opacity .15s;position:absolute;top:0;left:0;right:0}.project-switcher-backdrop .project-row{z-index:1;color:#f5f5f5;background:0 0;border:0;border-radius:6px;min-height:48px;position:relative}.project-switcher-backdrop .project-row.active,.project-switcher-backdrop .project-row.active:hover{color:#f5f5f5;background:#ffffff0c}.project-switcher-backdrop .project-row:hover{background:0 0;border:0}.project-switcher-backdrop .project-row.active .project-open,.project-switcher-backdrop .project-row.active .project-open:hover{color:#f5f5f5}.project-switcher-backdrop .projects-list .project-open,.project-switcher-backdrop .projects-list .project-open:hover{background:0 0!important;border:0!important}.project-switcher-backdrop .project-open small{color:#b4b4bd;opacity:1}.project-switcher-backdrop .project-row.active .project-open strong:after{content:" •";color:#7395ff}.project-switcher-backdrop .project-actions button{color:#b4b4bd}.project-switcher-backdrop .project-actions button:hover{color:#fff;background:#ffffff16}.project-switcher-backdrop .project-drag-handle{touch-action:none;-webkit-user-select:none;user-select:none}.project-switcher-backdrop .project-row.drag-over{outline-offset:-1px;outline:1px solid #7395ff}.project-switcher-backdrop .project-row.dragging{opacity:.45}@media (prefers-reduced-motion:reduce){.project-switcher-backdrop .projects-panel{animation:none}.project-glide-highlight{transition:none}}.points-history-overlay{background:0 0;padding:0;display:block}.points-history-overlay .points-history{color:#f5f5f5;transform-origin:100% 0;background:#27272a;border:1px solid #ffffff1c;border-radius:10px;width:min(340px,100vw - 24px);max-height:min(70vh,500px);padding:8px;animation:.18s cubic-bezier(.23,1,.32,1) project-menu-pop;position:fixed;box-shadow:0 8px 24px #0006}.points-history header{border-bottom:1px solid #ffffff12;padding:8px 8px 12px}.points-history h2{font-size:13px;font-weight:500}.points-history header p{color:#b4b4bd;margin-top:5px;font-size:11px}.points-history header button{color:#b4b4bd}.points-history-list{padding:4px 0 0;position:relative;overflow:auto}.points-history-glide{z-index:0;pointer-events:none;background:#3f3f46;border-radius:6px;transition:transform .22s cubic-bezier(.23,1,.32,1),height .22s cubic-bezier(.23,1,.32,1),opacity .15s;position:absolute;top:0;left:0;right:0}.points-history-list article{z-index:1;color:#f5f5f5;border:0;border-radius:6px;gap:12px;margin:0;padding:10px 8px;position:relative}.points-history-list article span,.points-history-list time,.points-history-list small,.points-history-message{color:#b4b4bd}.points-history-more,.points-history-message button{color:#f5f5f5;border-color:#ffffff25}@media (prefers-reduced-motion:reduce){.points-history-overlay .points-history{animation:none}.points-history-glide{transition:none}}.app-shell.dark{--canvas-glass:#ffffff13;--canvas-glass-border:#ffffff24;--duwu-surface:var(--canvas-glass);--duwu-surface-raised:var(--canvas-glass);--duwu-border:var(--canvas-glass-border)}.app-shell.dark :is(.canvas-pill-nav,.canvas-account-button,.agent-launch,.canvas-view-controls,.theme-switch,.agent-panel,.prompt-composer-panel,.generation-options-popover,.model-picker-menu,.agent-model-popover,.agent-generation-settings,.agent-image-picker,.create-menu,.multi-selection-toolbar,.shortcuts-popover,.canvas-map-panel,.canvas-account-menu),.app-shell.dark .canvas-world .node:not(.image-node-clean){background:var(--canvas-glass);border-color:var(--canvas-glass-border);-webkit-backdrop-filter:blur(16px)saturate(120%);backdrop-filter:blur(16px)saturate(120%)}.app-shell.dark .canvas-nav-item{background:var(--canvas-glass);box-shadow:inset 0 0 0 1px var(--canvas-glass-border),inset 0 1px 0 #ffffff0d}.app-shell.dark .canvas-nav-item:is(:hover,:focus-visible),.app-shell.dark .canvas-account-button:hover,.app-shell.dark .agent-launch:hover{background:var(--canvas-glass)}.app-shell.dark .project-switcher-backdrop .projects-panel,.app-shell.dark .points-history-overlay .points-history{background:var(--canvas-glass);border-color:var(--canvas-glass-border);-webkit-backdrop-filter:blur(16px)saturate(120%);backdrop-filter:blur(16px)saturate(120%)}.app-shell.dark .canvas-world .node.prompt-node-composer:has(>.prompt-composer-panel:not([hidden])){-webkit-backdrop-filter:none;backdrop-filter:none}.app-shell.dark .prompt-node-composer>.prompt-composer-panel:not([hidden]){-webkit-backdrop-filter:blur(24px)saturate(120%);backdrop-filter:blur(24px)saturate(120%);background:#ffffff13}.app-shell.dark .canvas-pill-nav,.app-shell.dark .canvas-account-button{-webkit-backdrop-filter:blur(24px)saturate(120%);backdrop-filter:blur(24px)saturate(120%)}html,*,:before,:after{scrollbar-color:#7d8490 transparent;scrollbar-width:thin}::-webkit-scrollbar{background:0 0;width:6px;height:6px}::-webkit-scrollbar-track{box-shadow:none!important;background:0 0!important;border:0!important}::-webkit-scrollbar-track-piece{box-shadow:none!important;background:0 0!important;border:0!important}::-webkit-scrollbar-corner{box-shadow:none!important;background:0 0!important;border:0!important}::-webkit-scrollbar-thumb{background:#7d8490;border:0;border-radius:999px}.app-shell.dark{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.app-shell.dark .prompt-node-composer>.prompt-composer-panel:not([hidden]){isolation:isolate;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0}.app-shell.dark .prompt-node-composer>.prompt-composer-panel:not([hidden]):before{content:"";z-index:-1;border-radius:inherit;-webkit-backdrop-filter:blur(24px)saturate(120%);backdrop-filter:blur(24px)saturate(120%);pointer-events:none;background:#ffffff13;position:absolute;inset:0}.app-shell.dark :is(.prompt-composer-panel .model-picker-menu,.prompt-composer-panel .generation-options-popover,.image-context-toolbar){-webkit-backdrop-filter:blur(24px)saturate(120%);backdrop-filter:blur(24px)saturate(120%);background:#ffffff13;border-color:#ffffff24}.app-shell:not(.dark) .canvas-pill-nav{background:#e4e8efeb;box-shadow:0 4px 14px #38465c24,inset 0 0 0 1px #8491a44d}.app-shell:not(.dark) .canvas-nav-item{box-shadow:inset 0 0 0 1px #73819870,0 2px 5px #38465c1c}.app-shell:not(.dark) .canvas-account-button{color:#1d2735;background:#f5f7fa;border:1px solid #8997aa;box-shadow:0 2px 8px #38465c1c}.app-shell:not(.dark) .canvas-account-button:hover{background:#e8eef8}.app-shell:not(.dark) .agent-launch{background:#e6ebf3;box-shadow:inset 0 0 0 1px #8997aa99,0 2px 8px #38465c1c}.app-shell:not(.dark) .agent-launch .agent-launch-label{color:#0000;background:linear-gradient(100deg,#c84464,#b56c00,#157b6b,#346aff,#8150b5);-webkit-background-clip:text;background-clip:text}.app-shell .canvas-pill-nav{isolation:isolate;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;position:relative}.app-shell .canvas-pill-nav:before{content:"";z-index:-1;border-radius:inherit;pointer-events:none;-webkit-backdrop-filter:blur(24px)saturate(120%);backdrop-filter:blur(24px)saturate(120%);background:#e4e8efb8;position:absolute;inset:0}.app-shell.dark .canvas-pill-nav:before{background:#ffffff13}.app-shell .canvas-pill-nav .canvas-nav-item,.app-shell.dark .canvas-pill-nav .canvas-nav-item{box-shadow:none;background:#ffffff1a;border:0}.app-shell:not(.dark) .canvas-pill-nav .canvas-nav-item{background:#ffffff94}.app-shell .canvas-pill-nav .canvas-nav-item:is(:hover,:focus-visible){box-shadow:none}.app-shell .canvas-pill-nav .canvas-nav-item:focus-visible{outline-offset:-2px;outline:2px solid #7898ff}.app-shell.dark .canvas-account-button:is(:hover,:focus-visible,[aria-expanded=true]){color:#fff;background:#ffffff2e;border-color:#ffffff52}.app-shell.dark .canvas-account-menu{-webkit-backdrop-filter:blur(24px)saturate(120%);backdrop-filter:blur(24px)saturate(120%);background:#ffffff13;border:1px solid #ffffff24}@property --agent-loop-angle{syntax:"<angle>";inherits:false;initial-value:0deg}@keyframes agent-border-cycle{0%{--agent-loop-angle:0deg;filter:hue-rotate()}to{--agent-loop-angle:360deg;filter:hue-rotate(360deg)}}.app-shell .agent-launch .agent-edge-light,.app-shell .agent-launch:not(:hover) .agent-edge-light{opacity:.8;-webkit-mask-image:conic-gradient(from var(--agent-loop-angle),#000 2.5%,transparent 13%,transparent 87%,#000 97.5%);mask-image:conic-gradient(from var(--agent-loop-angle),#000 2.5%,transparent 13%,transparent 87%,#000 97.5%);animation:6s linear infinite agent-border-cycle}@media (prefers-reduced-motion:reduce){.app-shell .agent-launch .agent-edge-light{animation:none}}.app-shell .canvas-account-floating{z-index:100;min-width:130px;position:fixed}.app-shell.dark .canvas-account-floating{-webkit-backdrop-filter:blur(24px)saturate(120%);backdrop-filter:blur(24px)saturate(120%);background:#ffffff13;border-color:#ffffff24}.canvas-pill-glass-layer{z-index:4;pointer-events:none;background:0 0;border-radius:999px;position:fixed}.app-shell.dark .canvas-pill-glass-layer{-webkit-backdrop-filter:blur(24px)saturate(120%);backdrop-filter:blur(24px)saturate(120%);background:#ffffff13}.app-shell.dark .canvas-pill-nav:before{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0}.canvas-account-glass-layer{z-index:4;pointer-events:none;background:0 0;border-radius:50%;position:fixed}.app-shell.dark .canvas-account-glass-layer{-webkit-backdrop-filter:blur(24px)saturate(120%);backdrop-filter:blur(24px)saturate(120%);background:#ffffff13}.app-shell.dark .canvas-account-button{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0}.app-shell.dark .canvas-account-button:is(:hover,:focus-visible,[aria-expanded=true]){background:#ffffff1f}.home-account-actions{gap:4px}.home-user-wrap{position:relative}.home-user-trigger{color:#fff;cursor:pointer;background:#346aff;border:0;border-radius:50%;place-items:center;width:30px;height:30px;padding:0;transition:background-color .16s;display:grid}.home-user-trigger:hover,.home-user-trigger[aria-expanded=true]{background:#4b7cff}.home-user-trigger:focus-visible{outline-offset:2px;outline:2px solid #9db6ff}.home-user-menu{z-index:25;color:#f3f5fa;-webkit-backdrop-filter:blur(20px);background:#1e222be0;border:1px solid #ffffff26;border-radius:10px;min-width:156px;padding:12px;position:absolute;top:calc(100% + 9px);right:0;box-shadow:0 12px 32px #0006}.home-user-menu-label{color:#a5b0c2;font-size:11px}.home-user-menu-name{overflow-wrap:anywhere;margin:4px 0 10px;font-size:13px}.home-user-menu button{color:#d1d9e8;width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:7px;padding:7px 8px;display:flex}.home-user-menu button:hover{color:#fff;background:#ffffff14}.home-user-menu button:focus-visible{outline-offset:1px;outline:2px solid #7395ff}.home-project-heading{gap:7px}.home-delete-mode-toggle{width:25px;height:25px}.home-page .home-learning-heading{color:#8995a9;justify-content:flex-start;gap:7px}.app-shell.dark .agent-panel,.app-shell.dark .agent-generation-settings{isolation:isolate;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0}.app-shell.dark .agent-panel:before,.app-shell.dark .agent-generation-settings:before{content:"";z-index:-1;border-radius:inherit;-webkit-backdrop-filter:blur(24px)saturate(120%);backdrop-filter:blur(24px)saturate(120%);pointer-events:none;background:#ffffff13;position:absolute;inset:0}.app-shell.dark .agent-model-popover{-webkit-backdrop-filter:blur(24px)saturate(120%);backdrop-filter:blur(24px)saturate(120%);background:#ffffff13}.app-shell .topbar .top-actions{zoom:.7}.app-shell .agent-launch{zoom:.7;top:19.7143px;right:28.5714px}.home-page .home-account-actions{gap:10px}.home-page .home-account-actions .home-header-icon{width:21px;height:29px}.home-page .home-user-trigger{width:21px;height:21px}.home-page .home-user-trigger svg{width:11.9px;height:11.9px}.prompt-composer-toolbar .agent-stop{color:#fff;cursor:pointer;background:#346aff;border:0;border-radius:50%;flex:none;place-items:center;width:25.6px;height:25.6px;padding:0;display:grid}.prompt-composer-toolbar .agent-stop:hover{background:#4f7fff}.prompt-composer-toolbar .agent-stop:focus-visible{outline-offset:3px;outline:2px solid #a8bcff}.agent-panel .agent-message.user>.agent-user-message-tools{opacity:0;background:0 0;gap:2px;padding:0;transition:opacity .15s;display:flex}.agent-panel .agent-message.user:hover>.agent-user-message-tools,.agent-panel .agent-message.user:focus-within>.agent-user-message-tools{opacity:1}.agent-panel .agent-message.user>.agent-user-message-tools button{width:25px;height:25px;color:var(--duwu-muted);background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.agent-panel .agent-message.user>.agent-user-message-tools button:hover,.agent-panel .agent-message.user>.agent-user-message-tools button:focus-visible{background:var(--duwu-surface-raised);color:var(--duwu-text)}.agent-panel .agent-message.user>.agent-user-message-tools button:disabled{opacity:.4;cursor:not-allowed}.agent-panel .agent-message.user>.agent-message-editor{background:var(--duwu-surface-raised);width:min(100%,340px);color:var(--duwu-text)}.agent-message-editor textarea{resize:vertical;width:100%;min-height:72px;color:inherit;font:inherit;background:0 0;border:0;outline:0;line-height:1.6;display:block}.agent-message-editor .agent-message-editor-actions{justify-content:flex-end;gap:6px;margin-top:8px;display:flex}.agent-message-editor .agent-message-editor-actions button{background:var(--duwu-surface-raised);color:var(--duwu-text);font:inherit;padding:5px 9px}.agent-message-editor .agent-message-editor-actions button:last-child{color:#fff;background:#346aff}.agent-message-editor .agent-message-editor-actions button:disabled{opacity:.45;cursor:not-allowed}.app-shell.dark :is(.agent-history,.agent-mention-menu,.theme-select-popover,.theme-color-popover,.history-context-menu,.api-settings-panel){-webkit-backdrop-filter:blur(24px)saturate(120%);backdrop-filter:blur(24px)saturate(120%);background:#ffffff13;border-color:#ffffff24}.app-shell.dark .canvas-view-controls,.app-shell.dark .image-history-dialog:not(.is-zoomed),.app-shell.dark .annotation-editor{isolation:isolate;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0}.app-shell.dark .canvas-view-controls:before,.app-shell.dark .image-history-dialog:not(.is-zoomed):before,.app-shell.dark .annotation-editor:before{content:"";z-index:-1;border-radius:inherit;-webkit-backdrop-filter:blur(24px)saturate(120%);backdrop-filter:blur(24px)saturate(120%);pointer-events:none;background:#ffffff13;position:absolute;inset:0}body:has(.app-shell.dark) .app-confirm-dialog.dark{-webkit-backdrop-filter:blur(24px)saturate(120%);backdrop-filter:blur(24px)saturate(120%);background:#ffffff13;border-color:#ffffff24}.prompt-composer-panel>.image-price-estimate{width:100%;color:var(--duwu-text-muted,#8b93a4);order:7;margin:8px 0 0;font-size:11px;line-height:1.4}.prompt-composer-panel>.error-message{order:8}
