@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;600;700&display=swap";:root{color:#292d42;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--purple:#6c63e7;--muted:#9296ab;background:#f7f8fc;font-family:Inter,Noto Sans SC,-apple-system,BlinkMacSystemFont,PingFang SC,sans-serif}.board-labels{pointer-events:none;position:absolute;inset:0}.board-label{pointer-events:auto;color:#7c8397;white-space:nowrap;background:#fff;border-radius:5px;justify-content:flex-start;gap:7px;padding:0 2px;font-size:11px;position:absolute;overflow:hidden}.board-label>span{text-overflow:ellipsis;overflow:hidden}.board-label>svg{flex-shrink:0}.board-label.layer-group{color:#8870bd}.board-label.variant{color:#539b8d}.board-label:hover{color:#7764bf;background:#f5f3fb}*{box-sizing:border-box}body{margin:0}button,textarea,input{font:inherit}button{cursor:pointer;color:inherit;background:0 0;border:0;justify-content:center;align-items:center;gap:7px;display:inline-flex}button:disabled{cursor:default;opacity:.42}button:focus-visible{outline-offset:3px;outline:3px solid #a99ff9}textarea:focus{outline:0}.app-shell{height:100dvh;min-height:600px;overflow:hidden}.app-header{z-index:15;background:#fffffff0;border-bottom:1px solid #e7e9f2;justify-content:space-between;align-items:center;height:76px;padding:0 29px;display:flex;position:relative}.brand{align-items:center;gap:12px;display:flex}.brand-mark{color:#fff;background:linear-gradient(145deg,#9385f5,#6359d6);border-radius:12px;place-items:center;width:39px;height:39px;display:grid;box-shadow:0 4px 12px #7765dc24}.brand-copy{align-items:baseline;gap:9px;line-height:1.15;display:flex}.brand-copy small{letter-spacing:.15px;color:#9b9eaf;font-size:10px;font-weight:400}.brand-links{border-left:1px solid #e9ebf1;align-items:center;gap:3px;margin-left:5px;padding-left:12px;display:flex}.brand-links a{color:#9699ad;border-radius:7px;place-items:center;width:30px;height:30px;text-decoration:none;transition:background .15s,color .15s;display:grid}.brand-links a:hover{color:#655bdd;background:#f0eff9}.brand-links a:focus-visible{outline-offset:3px;outline:3px solid #a99ff9}.brand strong{letter-spacing:-.6px;font-size:18px;font-weight:700}.header-actions{align-items:center;gap:18px;display:flex}.connection-label{color:#858ba0;align-items:center;gap:6px;font-size:11px;display:flex}.connection-label>span{background:#54b497;border-radius:50%;width:5px;height:5px}.connection-label.warning>span{background:#dd9a43}.history-buttons{border-left:1px solid #e9ebf1;gap:3px;padding-left:13px;display:flex}.icon-button{color:#85899d;border-radius:7px;flex-shrink:0;width:31px;height:31px}.icon-button:hover:not(:disabled){color:#655bdd;background:#f0eff9}.task-button{color:#747b90;border:1px solid #e7e8f1;border-radius:8px;height:34px;padding:0 11px;font-size:12px}.task-button.active,.task-button:hover{color:#7766c8;background:#f4f2fc;border-color:#dcd6f6}.task-count{color:#786bc9;background:#eee9fb;border-radius:4px;padding:1px 5px;font-size:10px}.failure-dot{background:#e79177;border-radius:50%;width:5px;height:5px}.canvas-workspace{background-color:#f7f8fc;background-image:radial-gradient(#dcdfea .8px,#0000 .8px);height:calc(100% - 76px);position:relative;overflow:hidden}.canvas-workspace>div:first-child{position:absolute;inset:0}.empty-state{text-align:center;pointer-events:none;width:580px;max-width:90vw;position:absolute;top:35%;left:50%;transform:translate(-50%,-50%)}.empty-illustration{width:188px;height:112px;margin:0 auto 32px;position:relative}.illustration-card{color:#a59bcf;background:#fff;border:1px solid #e2dff3;border-radius:10px;justify-content:center;align-items:center;display:flex;position:absolute;box-shadow:0 6px 17px #4c447109}.illustration-card.back{color:#beb5dd;background:#f1effa;width:83px;height:105px;top:7px;left:101px;transform:rotate(12deg)}.illustration-card.front{color:#9381db;flex-direction:column;gap:7px;width:126px;height:88px;top:8px;left:22px;transform:rotate(-8deg)}.illustration-card.front i{background:#e6e1f5;border-radius:3px;width:45px;height:3px}.illustration-card.front i:last-child{width:27px;margin-top:-3px}.illustration-mini{background:#e2f0eb;border:1px solid #d5e8de;border-radius:8px;width:45px;height:45px;position:absolute;top:58px;left:0;transform:rotate(-15deg);box-shadow:0 5px 15px #3c685609}.illustration-mini:after{content:"";background:#b7d6c5;border-radius:3px;width:20px;height:15px;margin:15px auto;display:block}.empty-state h1{letter-spacing:-.8px;color:#555772;margin:0 0 11px;font-size:26px;font-weight:600}.empty-state p{color:#9296aa;margin:0;font-size:13px;line-height:1.9}.flow-hints{color:#a0a1b3;justify-content:center;align-items:center;gap:17px;margin-top:24px;font-size:11px;display:flex}.flow-hints>span{align-items:center;gap:6px;display:flex}.hint-arrow{color:#b8bbca}.composer{z-index:9;background:#fff;border:1px solid #e6e5f0;border-radius:17px;width:min(690px,100% - 240px);padding:17px 17px 13px;position:absolute;bottom:49px;left:50%;transform:translate(-50%);box-shadow:0 8px 33px #4139710a,0 2px 8px #41397104}.composer-text{color:#a195d7;align-items:flex-start;gap:12px;padding:0 5px;display:flex}.composer-text>svg{flex-shrink:0;margin-top:3px}.composer textarea{resize:none;color:#41445b;background:0 0;border:0;width:100%;min-height:54px;max-height:132px;font-size:13px;line-height:1.8}.composer textarea::placeholder{color:#b0b3c3}.composer-bottom{align-items:center;gap:12px;margin-top:10px;display:flex}.composer-bottom>span{color:#b6b9c7;margin-left:auto;font-size:10px}.upload-button{color:#8b8ba2;border-radius:6px;padding:7px 8px;font-size:11px}.upload-button:hover{color:#7465bc;background:#f6f5fb}.generate-button{color:#fff;background:#7c71df;border-radius:8px;min-width:105px;padding:9px 13px;font-size:12px;font-weight:500;box-shadow:0 2px 4px #5f53c019}.generate-button:hover:not(:disabled){background:#6e62d3}.generate-button:disabled{opacity:1;color:#bbb4d4;box-shadow:none;background:#efedf7}.canvas-navigation{z-index:10;background:#fff;border:1px solid #e6e8f1;border-radius:9px;align-items:center;gap:2px;padding:4px;display:flex;position:absolute;bottom:30px;left:23px;box-shadow:0 3px 10px #394b6e04}.canvas-navigation .icon-button{width:28px;height:28px}.canvas-navigation>span{background:#e9ebf2;width:1px;height:18px;margin:0 5px}.zoom-value{color:#828699;width:44px;font-size:11px}.canvas-save-status{color:#adb0c0;pointer-events:none;align-items:center;gap:5px;font-size:10px;display:flex;position:absolute;top:18px;left:26px}.canvas-save-status>span{color:#b7bbc9;margin-left:9px}.floating-toolbar{z-index:8;white-space:nowrap;background:#fff;border:1px solid #e6e5f3;border-radius:10px;align-items:center;gap:4px;padding:5px;display:flex;position:absolute;box-shadow:0 8px 24px #39335e12}.floating-toolbar>button{color:#77768c;border-radius:6px;height:32px;padding:0 10px;font-size:11px}.floating-toolbar>button:hover{color:#7764bf;background:#f5f3fc}.floating-toolbar>button.toolbar-primary{color:#7862bf;background:#f0ecfc}.floating-toolbar>button.toolbar-primary:hover{background:#e8e1fa}.toolbar-divider{background:#edeaf4;width:1px;height:18px;margin:0 3px}.selection-progress{color:#7e6eb4;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:7;background:#fff9;border:1px solid #e6e1f3;border-radius:9px;align-items:center;gap:8px;padding:9px 14px;font-size:12px;display:flex;position:absolute;top:20px;left:50%;transform:translate(-50%)}.layer-inspector,.tasks-panel{z-index:11;background:#fff;border:1px solid #e4e5ef;border-radius:12px;width:270px;max-height:calc(100% - 230px);padding:13px 10px;position:absolute;top:18px;right:20px;overflow-y:auto;box-shadow:0 7px 28px #35385f0c}.inspector-heading{color:#64657d;justify-content:space-between;align-items:center;padding:0 4px;font-size:12px;font-weight:600;display:flex}.inspector-heading>span{align-items:center;gap:7px;display:flex}.inspector-heading .icon-button{width:24px;height:24px}.layer-inspector>p{color:#a3a5b6;margin:5px 5px 15px;font-size:10px}.inspector-layer{border:1px solid #0000;border-radius:7px;align-items:center;margin-top:2px;padding:5px;display:flex}.inspector-layer.selected{background:#f4f1fc;border-color:#e7e0f8}.layer-row{text-align:left;flex:1;justify-content:flex-start;gap:9px;min-width:0;padding:0}.layer-thumb{background-image:conic-gradient(#e8eaf2 25%,#fafbfe 0 50%,#e8eaf2 0 75%,#fafbfe 0);background-size:10px 10px;border:1px solid #e7e8ee;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.layer-thumb img{object-fit:contain;max-width:100%;max-height:100%}.layer-row>span:nth-child(2){flex-direction:column;flex:1;gap:4px;display:flex;overflow:hidden}.layer-row strong{color:#77748c;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:500;overflow:hidden}.layer-row small{color:#a6a4b4;font-size:9px}.layer-row>svg{color:#b9b4c9}.inspector-layer>.icon-button{color:#a7a3b6;width:25px;height:25px}.layer-details{color:#a7a3b5;border-top:1px solid #eeebf4;justify-content:space-between;margin-top:13px;padding:12px 6px 0;font-size:10px;display:flex}.tasks-panel{z-index:13;width:325px;max-height:calc(100% - 160px)}.task-row{border-bottom:1px solid #f0eef5;align-items:flex-start;gap:9px;padding:15px 4px;display:flex}.task-row:last-child{border-bottom:0}.task-state-icon{color:#a395d2;flex-shrink:0;margin-top:1px}.task-row.failed .task-state-icon{color:#d7917b}.task-row.succeeded .task-state-icon{color:#83b8a5}.task-description{flex-direction:column;flex:1;gap:7px;min-width:0;display:flex}.task-description strong{color:#727086;font-size:11px;font-weight:500}.task-description>span{color:#aaa5b5;overflow-wrap:anywhere;font-size:10px;line-height:1.7}.retry-button{color:#9775ba;background:#fbf9fe;border:1px solid #eee7f5;border-radius:5px;align-self:flex-start;padding:5px 7px;font-size:10px}.task-row>.icon-button{width:20px;height:20px}.no-tasks{color:#a2a0b1;padding:8px;font-size:11px;line-height:1.8}.drop-overlay{color:#8c7acc;z-index:20;pointer-events:none;background:#f5f1fde8;border:2px dashed #9a8edf;border-radius:17px;flex-direction:column;justify-content:center;align-items:center;gap:20px;display:flex;position:absolute;inset:16px}.drop-overlay strong{font-size:20px;font-weight:500}.drop-overlay span{color:#a49aba;font-size:12px}.hidden-input{display:none}.toast{color:#68a187;z-index:50;background:#fff;border:1px solid #dcebe2;border-radius:9px;align-items:center;gap:9px;max-width:min(600px,90vw);padding:9px 10px 9px 14px;font-size:11px;display:flex;position:fixed;top:89px;left:50%;transform:translate(-50%);box-shadow:0 7px 23px #334b4d11}.toast>span{overflow-wrap:anywhere;line-height:1.7}.toast>svg{flex-shrink:0}.toast.error{color:#bf8977;border-color:#f0dfd8}.toast .icon-button{width:23px;height:23px;color:inherit}.spin{animation:1.2s linear infinite spin}.boot-error{pointer-events:auto;color:#b79082;justify-content:center;align-items:center;gap:10px;margin-top:20px;font-size:11px;display:flex}.boot-error button{color:#af8777;background:#fff;border:1px solid #e6d8d1;border-radius:5px;padding:5px 9px}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=1000px){.composer{width:560px;max-width:calc(100% - 80px)}.canvas-save-status>span,.connection-label{display:none}}@media (width<=700px){.app-header{height:65px;padding:0 15px}.brand{gap:8px}.brand strong{font-size:15px}.brand-mark{width:32px;height:32px}.header-actions{gap:8px}.history-buttons{border:0;padding-left:0}.task-button{border:0;width:32px;padding:0;font-size:0}.task-count{font-size:10px}.canvas-workspace{height:calc(100% - 65px)}.composer{width:calc(100% - 30px);max-width:none;bottom:65px}.composer-bottom>span{display:none}.composer-bottom{justify-content:space-between}.canvas-navigation{bottom:18px;left:15px}.empty-state{top:33%}.empty-state h1{font-size:22px}.layer-inspector{width:240px;top:12px;right:12px}.selection-progress{max-width:80%;font-size:10px}.canvas-save-status{top:14px;left:16px}.floating-toolbar{max-width:95%;font-size:10px}.toast{top:75px}.tasks-panel{max-width:calc(100% - 24px);top:12px;right:12px}}.board-label{touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none}.board-label:active{cursor:grabbing}.layer-inspector{width:310px}.layer-row{flex:1;min-width:0}.inspector-layer>.icon-button{flex:0 0 25px}.floating-toolbar{flex-wrap:wrap;max-width:calc(100% - 32px)}.inspector-layer{gap:3px;position:relative}.inspector-layer.dragging{opacity:.45}.inspector-layer.drop-before:before,.inspector-layer.drop-after:after{content:"";pointer-events:none;background:#7769df;border-radius:2px;height:2px;position:absolute;left:0;right:0}.inspector-layer.drop-before:before{top:-2px}.inspector-layer.drop-after:after{bottom:-2px}.layer-drag-handle{color:#b5b6c8;cursor:grab;background:0 0;border:0;flex:0 0 16px;justify-content:center;align-items:center;width:16px;height:32px;padding:0;display:flex}.layer-drag-handle:active{cursor:grabbing}.layer-drag-handle:hover{color:#7769df}.layer-drag-handle:focus-visible{border-radius:4px;outline:2px solid #9a8edf}.layer-row img{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}@media (width<=700px){.layer-inspector{width:280px;max-width:calc(100% - 24px)}}.generation-placeholder{transform-origin:0 0;pointer-events:none;isolation:isolate;background:#fafaff;border-radius:15px;width:280px;height:220px;position:absolute;overflow:hidden;box-shadow:0 6px 24px #7669c50b}.generation-border{z-index:2;fill:none;stroke:#b5b7f7;stroke-width:1.4px;stroke-dasharray:7 7;width:100%;height:100%;position:absolute;inset:0}.generation-border rect{animation:16s linear infinite generation-dash}.generation-glow{background:radial-gradient(circle,#c5bbfa80,#0000 68%);border-radius:50%;width:230px;height:230px;animation:4s ease-in-out infinite generation-breathe;position:absolute;top:-115px;left:-70px}.generation-sheen{background:linear-gradient(90deg,#0000,#ded8fc55,#0000);width:110px;animation:5s ease-in-out infinite generation-sweep;position:absolute;inset:-35% auto -35% -120px;transform:rotate(24deg)}.generation-content{z-index:1;flex-direction:column;justify-content:center;align-items:flex-start;gap:12px;height:100%;padding:25px;display:flex;position:relative}.generation-icon{color:#8c7bdd;background:#f1edfe;border:1px solid #e7e0fc;border-radius:12px;place-items:center;width:40px;height:40px;animation:3s ease-in-out infinite generation-icon;display:grid}.generation-content strong{color:#665fc5;align-items:center;gap:9px;font-size:16px;font-weight:500;display:flex}.generation-content>span:last-child{color:#9394ae;font-size:12px}.generation-dots{gap:4px;padding-top:5px;display:inline-flex}.generation-dots i{background:#a298dd;border-radius:50%;width:3px;height:3px;animation:1.6s ease-in-out infinite generation-dot}.generation-dots i:nth-child(2){animation-delay:.2s}.generation-dots i:nth-child(3){animation-delay:.4s}@keyframes generation-dash{to{stroke-dashoffset:-56px}}@keyframes generation-breathe{0%,to{opacity:.45;transform:scale(.95)}50%{opacity:.9;transform:scale(1.12)}}@keyframes generation-sweep{0%,15%{opacity:0;transform:translate(0)rotate(24deg)}30%{opacity:1}75%,to{opacity:0;transform:translate(440px)rotate(24deg)}}@keyframes generation-icon{0%,to{opacity:.8;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}@keyframes generation-dot{0%,80%,to{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@media (prefers-reduced-motion:reduce){.generation-placeholder *{animation:none!important}.generation-sheen{display:none}}.layer-drag-handle,.layer-row{touch-action:none;-webkit-user-select:none;user-select:none}@media (width<=700px){.brand-links{gap:0;margin-left:0;padding-left:7px}.brand-links a{width:26px;height:28px}.brand-copy small{font-size:9px}}.comment-panel{z-index:30;background:#fff;border:1px solid #e4e5ef;border-radius:12px;flex-direction:column;gap:9px;width:312px;padding:14px 14px 12px;display:flex;position:absolute;top:18px;right:340px;box-shadow:0 9px 30px #35385f16}.comment-heading{color:#64657d;justify-content:space-between;align-items:center;font-size:12px;font-weight:600;display:flex}.comment-heading>span{align-items:center;gap:7px;display:flex}.comment-heading .icon-button{width:24px;height:24px}.comment-target{color:#8b8ea3;margin:0;font-size:11px}.comment-target strong{color:#6f63c8;font-weight:600}.comment-hint{color:#a3a5b6;margin:0;font-size:10px;line-height:1.7}.comment-panel textarea{color:#42455c;resize:vertical;background:#fbfbfe;border:1px solid #e6e5f0;border-radius:9px;min-height:88px;max-height:200px;padding:9px 10px;font-size:12px;line-height:1.75}.comment-panel textarea::placeholder{color:#b4b6c5}.comment-panel textarea:focus{border-color:#c6bdf2;outline:0;box-shadow:0 0 0 3px #efeaffa8}.comment-actions{align-items:center;gap:7px;display:flex}.comment-actions>span{color:#b6b9c7;margin-right:auto;font-size:9px}.comment-actions>button{border-radius:7px;height:30px;padding:0 11px;font-size:11px}.comment-cancel{color:#7b7d92;background:#fff;border:1px solid #e8e7f0}.comment-cancel:hover:not(:disabled){color:#6d5fbd;background:#f6f5fb}.comment-submit{color:#fff;background:#7c71df;font-weight:500}.comment-submit:hover:not(:disabled){background:#6e62d3}.comment-button{color:#a7a3b6}.comment-button:hover{color:#7764bf}@media (width<=700px){.comment-panel{width:auto;top:12px;left:12px;right:12px}}.composer-attachments{flex-wrap:wrap;gap:8px;padding:0 5px 10px;display:flex}.attachment{background:#fafbfe;border:1px solid #e6e5f0;border-radius:8px;width:56px;height:56px;position:relative;overflow:hidden}.attachment img{object-fit:cover;width:100%;height:100%;display:block}.attachment-remove{color:#7b7d92;background:#ffffffd9;border-radius:50%;width:16px;height:16px;padding:0;position:absolute;top:2px;right:2px;box-shadow:0 1px 3px #0000001a}.attachment-remove:hover{color:#c0605e;background:#fff}.composer.drop-target{border-color:#b3a7f4;box-shadow:0 0 0 3px #efeaffb8,0 8px 33px #4139710a}.composer-drop-hint{z-index:3;color:#7764bf;letter-spacing:.2px;pointer-events:none;background:#f8f5fff2;border-radius:16px;justify-content:center;align-items:center;font-size:12px;display:flex;position:absolute;inset:0}.brand-mark.brand-logo{background:#fff;padding:2px;overflow:hidden;box-shadow:0 3px 10px #7765dc26}.brand-mark.brand-logo img{object-fit:contain;width:100%;height:100%;display:block}.pick-toolbar{gap:6px;margin:0 4px 10px;display:flex}.pick-toolbar>button{color:#7b7d92;background:#fff;border:1px solid #e8e7f0;border-radius:6px;height:27px;padding:0 9px;font-size:11px}.pick-toolbar>button:hover{color:#6d5fbd;background:#f6f5fb}.pick-toolbar>button.active{color:#7764bf;background:#f0ecfc;border-color:#ddd5f6}.pick-toolbar>button.add-layer{color:#7764bf;background:#fbfaff;border-style:dashed;width:100%}.pick-hint{color:#a3a5b6;margin:-4px 4px 10px;font-size:10px;line-height:1.7}.pick-confirm{gap:6px;margin:0 4px 10px;display:flex}.pick-confirm>button{border-radius:7px;flex:1;height:30px;font-size:11px}.pick-confirm .pick-ok{color:#fff;background:#7c71df;font-weight:500}.pick-confirm .pick-ok:hover:not(:disabled){background:#6e62d3}.pick-confirm .pick-clear{color:#7b7d92;background:#fff;border:1px solid #e8e7f0}.pick-confirm .pick-clear:hover:not(:disabled){background:#f6f5fb}
