:root{--canvas-background:#171717;--canvas-dots:radial-gradient(#ffffff0d 1px, transparent 1px);--diagnostic-error:#de6262;--diagnostic-warning:#d7974b;color:#d6d6d6;font-synthesis:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#151515;font-family:Inter,-apple-system,BlinkMacSystemFont,Apple SD Gothic Neo,Noto Sans KR,sans-serif;font-size:13px}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:7px 9px;display:inline-flex}button:hover{color:#fff;background:#ffffff0c}button:disabled{opacity:.28;cursor:default}button.active,.segmented .active{color:#fff;background:#464646}button.primary{color:#151515;background:#dedede;padding:8px 18px}button.primary:hover{background:#fff}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}input:not([type=range]):not([type=checkbox]),textarea,select{color:#e2e2e2;background:#1c1c1c;border:1px solid #444;border-radius:5px;outline:none;min-width:0;padding:8px}input:focus,textarea:focus,select:focus{border-color:#929292!important}input[type=range]{accent-color:#ddd;width:110px;min-width:60px;height:20px}input[type=checkbox]{accent-color:#ddd}textarea{resize:vertical;line-height:1.7}input[type=number]{width:70px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;margin:0;line-height:1.7}label{align-items:center;gap:9px;display:flex}small{color:#858585;font-size:11px}h3{margin:0 0 20px;font-size:16px;font-weight:500}p{line-height:1.7}hr{border:0;border-top:1px solid #414141}details>summary{cursor:pointer;color:#aaa;padding:9px 0}details[open]>summary{color:#ddd}.app{flex-direction:column;height:100%;display:flex;position:relative}.topbar{z-index:10;flex:none;grid-template-columns:minmax(0,1fr) minmax(80px,180px) minmax(0,1fr);align-items:center;gap:12px;height:48px;min-height:48px;padding:8px 12px;display:grid;position:relative}.canvas-main-tools{align-items:center;gap:12px;min-width:0;display:flex}.brand{letter-spacing:-.8px;padding:4px 0;font-size:20px;font-weight:650}.aha-home{flex:none;place-items:center;width:32px;height:32px;display:grid}.aha-home .aha-mark{width:28px;height:28px}.project-name{color:#979797;text-align:center;text-overflow:ellipsis;white-space:nowrap;border:1px solid #0000;border-radius:4px;width:100%;min-width:0;max-width:100%;height:28px;padding:4px 8px;font-size:12px;line-height:18px;overflow:hidden}.topbar input.project-name{background:0 0;padding:4px 8px;font-size:12px}.toolbar{flex:none;align-items:center;gap:2px;min-width:0;display:flex}.toolbar button,.project-tools button{flex:none;width:32px;height:32px;padding:6px;position:relative}.toolbar small{font-size:9px;position:absolute;top:-2px;right:-2px}.topbar :is(button,a):hover{color:#fff;background:0 0}:is(.topbar button:focus-visible,.topbar a:focus-visible){outline-offset:2px;outline:1px solid #bbb}.divider{background:#454545;flex-shrink:0;width:1px;height:18px;margin:0 4px}.save-state{color:#717171;white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:11px;overflow:hidden}.canvas-status-tools{justify-content:flex-end;justify-self:stretch;align-items:center;gap:10px;min-width:0;display:flex}.project-tools{flex:none;align-items:center;gap:2px;display:flex}.settings-home{flex-direction:column;align-items:stretch;gap:8px;padding:16px;display:flex}.settings-home button{justify-content:flex-start;gap:12px}*{scrollbar-width:thin;scrollbar-color:#606060 transparent}@supports selector(::-webkit-scrollbar){*{scrollbar-width:auto;scrollbar-color:auto}}::-webkit-scrollbar{width:3px;height:3px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#606060;border-radius:5px}::-webkit-scrollbar-corner{background:0 0}.add-menu,.canvas-menu{z-index:40;background:#292929;border:1px solid #484848;border-radius:9px;flex-direction:column;align-items:stretch;min-width:150px;padding:6px;display:flex;position:absolute;box-shadow:0 12px 32px #0006}.add-menu{top:62px;left:230px}.add-menu button,.canvas-menu button{justify-content:flex-start;padding:8px 12px}.graph-canvas{--component-meta-font-size:11px;touch-action:none;-webkit-user-select:none;user-select:none;background-color:var(--canvas-background);background-image:var(--canvas-dots);background-size:22px 22px;position:absolute;inset:0;overflow:clip}.graph-world{transform-origin:0 0;width:0;height:0;position:absolute;top:0;left:0}.wires{pointer-events:none;width:1px;height:1px;position:absolute;top:0;left:0;overflow:visible}.wire{fill:none;stroke:#707070;stroke-width:1.7px;pointer-events:none}.wire.selected{stroke:#f1f1f1;stroke-width:2.8px}.wire.pending{stroke:#bbb;stroke-dasharray:5 4}.wire.pending.connection-preview{stroke:#fff}.graph-canvas.panning,.graph-canvas.panning *{cursor:grabbing!important}.wire-hit{fill:none;stroke:#0000;stroke-width:18px;pointer-events:stroke;cursor:pointer}.node{--component-corner-radius:9px;border:var(--component-border) solid #4a4a4a;border-radius:var(--component-corner-radius);background:#272727;flex-direction:column;display:flex;position:absolute;box-shadow:0 6px 16px #0003}.node.selected{border-color:#d6d6d6;outline:1px solid #d6d6d6}.node>header{cursor:grab;border-bottom:1px solid #ffffff09;align-items:center;gap:8px;height:37px;min-height:37px;padding:0 12px;display:flex}.node>header strong{color:#b9b9b9;white-space:nowrap;text-overflow:ellipsis;font-size:11px;font-weight:400;overflow:hidden}.component-type-icon{color:#aaa;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.node-body{border-radius:0 0 8px 8px;flex:1;min-height:0;position:relative;overflow:visible}.node-image .node-body img,.node-composite .node-body img{object-fit:contain;background:#202020;width:100%;height:100%;display:block}.input-port,.output-port{z-index:5;cursor:crosshair;width:var(--port-hit-size);height:var(--port-hit-size);justify-content:center;align-items:center;display:flex;position:absolute}.input-port i,.output-port i{width:var(--port-idle-size);height:var(--port-idle-size);background:#292929;border:2px solid #999;border-radius:50%;flex-shrink:0;margin:0;transition:width .1s,height .1s,background-color .1s}.input-port.expanded i,.output-port.expanded i{width:var(--port-size);height:var(--port-size)}.input-port:hover i,.output-port:hover i{background:#ddd;border-color:#eee}.input-port.connection-preview i,.output-port.connection-preview i{background:#fff;border-color:#fff}.input-port small,.output-port small{white-space:nowrap;color:#aaa;pointer-events:none;background:#1b1b1bcc;border-radius:3px;margin:0;padding:3px 5px;font-size:10px;line-height:1.4;display:none;position:absolute;top:50%;transform:translateY(-50%)}.input-port small{right:calc(var(--port-hit-size) + 2px)}.output-port small{left:calc(var(--port-hit-size) + 2px)}.node:is(:hover,.selected)>:is(.input-port,.output-port)>small{display:block}.resize-handle{bottom:calc(var(--component-border) * -1);right:calc(var(--component-border) * -1);width:28px;height:28px;transform:translate(50%, 50%) scale(calc(1 / var(--canvas-zoom,1)));transform-origin:50%;cursor:nwse-resize;z-index:6;display:none;position:absolute}.resize-handle:after{content:"";width:calc(var(--component-corner-radius,0px) * var(--canvas-zoom,1) + 10px);height:calc(var(--component-corner-radius,0px) * var(--canvas-zoom,1) + 10px);border-radius:0 0 calc(var(--component-corner-radius,0px) * var(--canvas-zoom,1) + 4px) 0;border-bottom:2px solid #aaa;border-right:2px solid #aaa;transition:border-width .12s,border-color .12s;position:absolute;bottom:10px;right:10px}.resize-handle:hover:after{border-width:3px;border-color:#ddd}.graph-canvas:not(.multi-selection) :is(.node,.scribble):is(:hover,.selected)>.resize-handle{display:block}.text-excerpt{white-space:pre-wrap;overflow-wrap:anywhere;color:#ccc;height:100%;padding:17px 20px;font-size:12px;line-height:1.65;overflow:hidden}.empty-image{color:#777;width:100%;height:100%}.empty-composite{place-items:center;display:grid}.ai-mode{justify-content:space-between;padding:18px 18px 10px;display:flex}.ai-mode span{color:#888;font-size:11px}.ai-actions{flex-direction:column;flex:none;gap:5px;display:flex}.active-run-count{text-align:center;color:#aaa;font-size:10px}.generation-buttons{gap:4px;width:100%;display:flex}.generation-buttons>button,.result-actions>button{background:#414141;flex:1;width:100%;min-width:0;height:30px;min-height:30px;padding:0}.generation-buttons>button:hover,.result-actions>button:hover{background:#4b4b4b}.result-actions{background:#292929;flex:none;margin-top:auto;padding:7px 10px;display:flex}.connection-markers{fill:#949494;pointer-events:none}.connection-markers.selected{fill:#eee}.connection-markers.blocked{fill:#cf9b6e}.connection-markers.running path{opacity:.18;animation:1.4s linear infinite result-flow}@keyframes result-flow{0%,70%,to{opacity:.18}30%{opacity:.9}}.wireless-port{width:var(--port-idle-size);height:var(--port-idle-size);fill:none;stroke:currentColor;stroke-width:1.8px;color:#aaa;pointer-events:none}.expanded .wireless-port{width:var(--port-size);height:var(--port-size)}.wireless-port.input{transform:scaleX(-1)}.input-port:hover .wireless-port,.output-port:hover .wireless-port,.connection-preview .wireless-port{color:#fff}.node>header>.component-detail-button{padding:2px 6px;font-size:18px}.component-detail-button{flex-shrink:0;margin-left:auto}.result-content{-webkit-user-select:none;user-select:none;flex:none;min-width:0;padding:0}.response-item{margin-bottom:8px;position:relative}.response-item>img{cursor:copy;border-radius:4px;width:100%;height:auto;display:block}.item-actions{color:#888;justify-content:flex-end;align-items:center;gap:1px;height:24px;display:flex}.item-actions button{padding:3px}.item-actions a{padding:3px;display:flex}.extract-handle{cursor:grab;padding:3px;display:flex}.response-text{white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:none;user-select:none;padding:6px;font-size:11px;line-height:1.7}.result-empty{color:#737373;text-align:center;padding:35px 15px;font-size:12px}.marquee{pointer-events:none;background:#ffffff0a;border:1px solid #999;position:absolute}.component-token-usage{color:#929292;font-size:var(--component-meta-font-size);white-space:nowrap;position:absolute;top:calc(100% + 5px);right:0}.canvas-view-controls{flex-direction:column;gap:2px;padding:4px;display:flex;position:absolute;bottom:16px;left:8px}.canvas-view-controls button{place-items:center;width:32px;height:32px;display:grid}.floating-layer{z-index:50;position:fixed;inset:0}.floating-backdrop{cursor:default;border:0;border-radius:0;width:100%;height:100%;position:absolute;inset:0;background:0 0!important}.floating{z-index:50;resize:both;background:#252525;border:1px solid #555;border-radius:12px;flex-direction:column;width:500px;min-width:min(360px,100vw - 48px);max-width:calc(100vw - 48px);height:650px;min-height:min(300px,100vh - 48px);max-height:calc(100vh - 48px);display:flex;position:fixed;overflow:hidden;box-shadow:0 20px 90px #000a}.floating.wide{width:min(1400px,100vw - 48px);height:min(900px,100vh - 48px)}.floating:focus-within{z-index:60}.floating .floating{z-index:80}.floating-head{cursor:move;-webkit-user-select:none;user-select:none;border-bottom:1px solid #414141;justify-content:space-between;align-items:center;min-height:48px;padding:0 14px 0 20px;display:flex}.floating-head strong{font-size:14px;font-weight:500}.floating-head-actions{cursor:default;align-items:center;margin-left:auto;margin-right:12px;display:flex}.floating-body{flex-direction:column;flex:1;min-height:0;display:flex;overflow:auto}.node-name-editor{flex-shrink:0;margin:0;color:#aaa!important;background:0 0!important;border:none!important;border-bottom:1px solid #373737!important;border-radius:0!important;padding:12px 20px!important;font-size:12px!important}.node-name-row{border-bottom:1px solid #373737;flex-shrink:0;align-items:center;display:flex}.node-name-row .node-name-editor{flex:1;width:0;min-width:0;border-bottom:none!important}.node-name-actions{flex-shrink:0;align-items:center;margin-right:20px;display:flex}.panel-content{flex-direction:column;gap:18px;padding:22px;display:flex}.panel-content>label input:not([type=checkbox]){flex:1}.button-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.button-row button{background:#373737}.button-row input{flex:1;width:130px}.project-list{flex-direction:column;gap:3px;display:flex}.project-list button{justify-content:space-between;padding:13px 9px}.connection-line{color:#aaa;justify-content:space-between;gap:12px;display:flex}.connection-line>strong{color:#ddd}.usage-window{margin:4px 0 10px}.usage-window>div{justify-content:space-between;margin:6px 0;display:flex}.usage-window progress{accent-color:#bbb;width:100%;height:4px;margin:10px 0;display:block}.usage-window progress::-webkit-progress-bar{background:#444}.usage-window progress::-webkit-progress-value{background:#c5c5c5}.queue-list{padding:16px}.queue-list>div{border-bottom:1px solid #383838;align-items:center;gap:12px;padding:8px 0;display:flex}.queue-list>div>button:first-child{flex:1;justify-content:space-between}.queue-list>div>span{color:#999;max-width:45%;font-size:11px}.library-entry{align-items:center;gap:8px;display:flex}.library-entry>span{flex:1}.info-content{color:#aaa;max-width:820px;margin:0 auto;padding:30px 36px;line-height:1.8}.info-content h3{color:#e0e0e0}.info-content dt{color:#ddd;margin-top:18px;font-weight:500}.info-content dd{margin:4px 0 0}.image-viewer{flex-direction:column;flex:1;gap:12px;min-height:0;padding:16px;display:flex;overflow:auto}.image-viewer-preview{touch-action:none;flex:1 0 160px;min-height:160px;position:relative;overflow:hidden}.image-viewer-preview.panning{cursor:grabbing}.image-viewer-preview>img{transform-origin:0 0;pointer-events:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0}.image-viewer-controls{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);opacity:0;pointer-events:none;background:#202020a8;border-radius:8px;flex-direction:column;gap:2px;padding:4px;transition:opacity .15s;display:flex;position:absolute;bottom:12px;right:12px}.image-viewer-preview:hover .image-viewer-controls,.region-stage:hover .image-viewer-controls,.image-viewer-controls:focus-within{opacity:1;pointer-events:auto}.image-viewer-controls button{background:0 0;width:30px;height:30px;padding:6px}.image-viewer .image-settings{flex:none;grid-template-columns:minmax(0,1fr);width:100%;min-width:0;padding:0}.text-editor{flex-direction:column;flex:1;min-height:0;padding:16px 20px;display:flex}.text-inputs{max-height:35%;overflow:auto}.text-inputs>div{color:#aaa;border-bottom:1px solid #444;padding:8px}.text-inputs>div>span{margin-right:10px}.text-inputs pre{color:#8d8d8d;max-height:100px;margin-top:8px;font-size:12px;overflow:auto}.text-main{resize:none;flex:1;min-height:180px;margin-top:10px}.reference-editor{flex-direction:column;flex:1;min-height:0;display:flex}.reference-settings{align-items:center;gap:8px;padding:12px;display:flex}.reference-settings>input:first-child{width:150px}.reference-settings>input:nth-child(3){flex:1}.reference-settings details{position:relative}.reference-settings details label{z-index:10;white-space:nowrap;background:#303030;border:1px solid #555;padding:12px;position:absolute;top:30px;right:0}.linked-description{padding:0 14px}.linked-description pre{color:#999;max-height:80px;font-size:12px;overflow:auto}.region-editor{outline:none;flex-direction:column;flex:1;min-height:300px;display:flex}.region-workspace{flex:1;min-width:0;min-height:150px;display:flex}.floating-body:has(>.annotation-editor){overflow:hidden}.annotation-editor{min-height:0}.region-workspace.annotated{min-height:0;display:grid;overflow:hidden}.region-workspace.annotated>.region-stage{min-height:0}.annotation-divider{cursor:row-resize;touch-action:none;background:#353535;outline:none;position:relative}.annotation-divider:after{content:"";background:#777;border-radius:2px;width:38px;height:2px;display:block;position:absolute;top:3px;left:calc(50% - 19px)}:is(.annotation-divider:hover,.annotation-divider:focus-visible){background:#505050}.annotation-comments{overscroll-behavior:contain;scrollbar-gutter:stable;min-width:0;min-height:0;overflow:auto}.annotation-row-color{background:var(--swatch);border:1px solid #ffffff65;border-radius:50%;width:22px;height:22px;display:inline-block}.editor-toolbar{border-bottom:1px solid #363636;flex-wrap:wrap;flex-shrink:0;align-items:center;gap:4px;padding:8px 12px;display:flex}.region-tools>button,.region-actions button{flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;padding:7px;display:inline-flex}.region-actions{align-items:center;gap:4px;margin-left:auto;display:flex}.selection-toggle{background:#191919;border:1px solid #505050;border-radius:999px;gap:2px;padding:2px;display:flex}.selection-toggle button{background:0 0;border-radius:999px;width:34px;height:30px}.selection-toggle button.active{background:#505050}.segmented{background:#1c1c1c;border-radius:6px;margin-right:8px;padding:3px;display:flex}.segmented button{font-size:12px}.swatch{color:#101010;opacity:.65;border:2px solid #0000;border-radius:50%;width:26px;height:26px;padding:0;font-size:11px;background:var(--swatch)!important}.swatch.active{opacity:1;border-color:#fff;box-shadow:0 0 0 2px #222}.region-stage{touch-action:none;cursor:crosshair;-webkit-user-select:none;user-select:none;background:#1a1a1a;outline:none;flex:1;min-height:150px;position:relative;overflow:hidden}.region-image{transform-origin:0 0;pointer-events:none;position:absolute}.region-image>img{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.region-overlay{opacity:1}.region-overlay.mask-overlay,.drawing-preview .drawing-overlay.mask-overlay{opacity:.65}.mask-preview-legend{white-space:nowrap;align-items:center;gap:6px;font-size:12px;display:inline-flex}.mask-preview-legend input[type=color]{cursor:pointer;background:0 0;border:none;border-radius:3px;width:20px;height:20px;min-height:0;padding:0}.mask-preview-legend input[type=color]::-webkit-color-swatch-wrapper{padding:0}.mask-preview-legend input[type=color]::-webkit-color-swatch{border:1px solid #ffffff40;border-radius:3px}.region-vertices{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.inline-error{color:#ddd;background:#383838;border:1px solid #666;border-radius:5px;margin:10px 14px;padding:8px 12px;font-size:12px}.composite-editor{flex-direction:column;flex:1;min-height:0;display:flex}.composite-main{flex:1;min-height:0;display:flex}.layers-panel{border-right:1px solid #3f3f3f;flex-shrink:0;width:210px;padding:8px;overflow:auto}.layer-row{cursor:pointer;border-radius:5px;align-items:center;gap:7px;padding:6px;font-size:11px;display:flex}.layer-row.active{background:#454545}.layer-row img{object-fit:contain;width:36px;height:29px}.layer-row>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.layer-row button{padding:4px}.layer-order{border-bottom:1px solid #444;justify-content:flex-end;padding:5px 0;display:flex}.layer-controls{flex-direction:column;gap:10px;padding:16px 6px;font-size:11px;display:flex}.layer-controls label{flex-wrap:wrap;justify-content:space-between}.layer-controls input[type=range]{width:100%;margin-top:2px}.composite-stage{touch-action:none;background:#191919;flex:1;justify-content:center;align-items:center;min-width:0;display:flex;position:relative;overflow:hidden}.composite-board{background:repeating-conic-gradient(#333 0% 25%,#292929 0% 50%) 50%/16px 16px;flex-shrink:0;position:relative}.composite-board>img{pointer-events:none;width:100%;height:100%}.layer-bounds{cursor:move;transform-origin:50%;border:1px solid #c4c4c4;position:absolute}.layer-bounds>span{cursor:nwse-resize;background:#ddd;border:1px solid #222;width:10px;height:10px;position:absolute;bottom:-5px;right:-5px}.crop-bounds{pointer-events:none;background:#ffffff0a;border:1px dashed #fff;position:absolute}.ai-editor{flex:1;padding:8px 20px;overflow:auto}.ai-editor .editor-toolbar{padding-left:0}.settings-grid{flex-wrap:wrap;gap:16px;padding:10px 0;display:flex}.input-preview-head{justify-content:space-between;align-items:center;margin:20px 0 8px;display:flex}.input-preview-head strong{font-size:12px;font-weight:500}.transmission-images{gap:12px;max-height:240px;display:flex;overflow:auto}.transmission-images figure{flex-shrink:0;width:160px;margin:0}.transmission-images img{object-fit:contain;background:#191919;width:100%;height:180px}.transmission-images figcaption{color:#888;margin-top:6px;font-size:10px}.transmission-text{margin:16px 0;font-size:12px}.transmission-text pre{border-top:1px solid #3c3c3c;padding:12px 0}.run-details{padding:20px;overflow:auto}.run-details pre{font-size:12px}.record-items>img{max-width:100%;max-height:500px;margin:12px auto;display:block}.record-items pre{margin-bottom:20px}.empty-panel{color:#888;flex:1;justify-content:center;align-items:center;min-height:160px;display:flex}.loading{justify-content:center;align-items:center;gap:25px;height:100%;display:flex}.loading strong{letter-spacing:-1px;font-size:30px}.loading span{color:#888}@media (max-width:800px){.floating,.floating.wide{min-width:min(300px,100vw - 24px);max-width:calc(100vw - 24px);min-height:min(300px,100vh - 24px);max-height:calc(100vh - 24px)}.reference-settings{flex-wrap:wrap}.layers-panel{width:170px}.info-content{padding:22px}}.node-referenceStack>.output-port i{border-radius:0 50% 50% 0;scale:1.2}.node.unsupported{border-color:var(--diagnostic-warning)}.node.disconnect-target{border-color:#dd6868}.wire.disconnecting{stroke:#e46b6b;stroke-width:3px}.node-degradation{background:#242424;border:1px solid #725331;border-radius:5px;grid-template-columns:minmax(0,1fr);gap:4px;width:calc(100% + 4px);padding:3px;display:grid;position:absolute;top:calc(100% + 5px);left:-2px}.node-degradation>div{align-items:center;gap:4px;display:flex}.node-degradation small{text-overflow:ellipsis;max-width:70px;overflow:hidden}.node-degradation button{padding:3px 8px;font-size:11px}.node-degradation select{max-width:130px;padding:3px;font-size:11px}.output-summary{flex-direction:column;gap:12px;padding:28px 20px;display:flex}.output-summary strong{font-size:19px;font-weight:500}.output-summary span,.ai-model-summary,.request-summary{color:#999;font-size:11px}.ai-model-summary{text-overflow:ellipsis;white-space:nowrap;margin:3px 12px;overflow:hidden}.output-toggles{gap:16px;padding-left:12px;display:flex}.output-toggles label,.check-label{align-items:center;gap:6px;display:flex}.ai-editor>.settings-grid{padding:16px 0}.ai-editor .settings-grid label{min-width:0}.degradation-row{border-bottom:1px solid #333;justify-content:space-between;align-items:center;padding:8px 0;display:flex}.live-input-preview{border-top:1px solid #444;margin-top:20px;padding-top:12px}.input-preview{min-width:0}.request-summary{overflow-wrap:anywhere;padding:10px 0}.transmission-images .mask-preview{background:repeating-conic-gradient(#555 0% 25%,#333 0% 50%) 50%/16px 16px}.approximation-list{color:#cbab83;flex-wrap:wrap;gap:10px;padding:5px 0 12px;display:flex}.request-json{white-space:pre-wrap;overflow-wrap:anywhere;max-height:360px;font-size:11px;overflow:auto}.output-editor details{margin:20px 0}.wire.pending.invalid{stroke:#db923c}.node.invalid-component{border-color:var(--diagnostic-error)}.node.selected.unsupported{border-color:var(--diagnostic-warning);outline-color:var(--diagnostic-warning)}.node.selected.invalid-component{border-color:var(--diagnostic-error);outline-color:var(--diagnostic-error)}:is(.node-image,.node-transform,.node-solid) .node-body>img{object-fit:contain;flex:none;width:100%;height:auto;display:block}:is(.node-image,.node-transform,.node-solid) .node-body{flex-direction:column;display:flex}.node .image-settings{flex:none;gap:7px;padding:10px;display:grid}.image-settings{gap:8px;padding:12px;display:grid}.image-settings input,.image-settings select{width:100%;min-width:0;padding:6px;font-size:12px}.image-settings label{color:#aaa;align-items:center;gap:8px;font-size:11px;display:flex}.image-name{align-items:center;gap:4px;display:flex}.image-name span{color:#999;font-size:11px}.image-name input{flex:1}.token-text{flex-direction:column;gap:9px;height:100%;min-height:160px;padding:9px;display:flex}.slot-buttons{flex:none;grid-template-columns:repeat(9,1fr);gap:3px;display:grid}.slot-buttons button{border:1px solid #444;border-radius:4px;min-width:0;min-height:24px;padding:3px 0;font-size:11px}.token-editor{white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;cursor:text;background:#232323;border-radius:4px;outline:none;flex:1;min-height:115px;padding:6px;font-size:13px;line-height:1.75}.token-editor[data-empty=true]:before{content:attr(data-placeholder);color:#777;pointer-events:none}.node-text .token-editor[contenteditable=false]{cursor:grab;-webkit-user-select:none;user-select:none}.image-token{vertical-align:-.18em;white-space:nowrap;height:1.35em;user-select:inherit;background:#393939;border:1px solid #777;border-radius:4px;margin:0 .15em;padding:0 .25em;font-family:inherit;font-size:1em;line-height:calc(1.35em - 2px);display:inline-block}.image-token.unresolved{color:var(--diagnostic-error);border-style:dashed;border-color:var(--diagnostic-error)}.image-token.resolved{color:#eee;border-color:#999}.token-preview{white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;font-size:12px;line-height:1.8}.assembly-editor{flex-direction:column;flex:none;gap:12px;padding:10px;display:flex}.node-intrinsic>.node-body{flex:none;overflow:clip}.floating-body:has(>.assembly-editor){scrollbar-gutter:stable}.assembly-grid{flex-direction:column;gap:6px;display:flex;container-type:inline-size}.assembly-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.assembly-slot{touch-action:none;-webkit-user-select:none;user-select:none;background:#222;border:1px solid #444;border-radius:4px;place-items:center;min-width:0;height:calc(27.7778cqw - 3.33333px);display:grid;position:relative;overflow:hidden}.assembly-grid.dragging .assembly-slot{transition:height .12s}.assembly-slot.occupied{cursor:grab}.assembly-slot img{object-fit:contain;pointer-events:none;width:100%;height:100%}.assembly-slot small{color:#ddd;background:#202020df;border-radius:3px;padding:1px 4px;font-size:10px;position:absolute;top:3px;right:3px}.assembly-row.collapsed .assembly-slot{height:24px}.assembly-row.collapsed .assembly-slot small{background:0 0;padding:0;font-size:11px;position:static}.assembly-slot.drag-origin{border-color:#fff;box-shadow:inset 0 0 0 1px #fff}.assembly-slot.drag-destination:after{content:"";pointer-events:none;background:#ffffff32;position:absolute;inset:0}.assembly-drag-ghost{z-index:10000;pointer-events:none;background:#222;border:1px solid #ccc;border-radius:5px;position:fixed;overflow:hidden;box-shadow:0 3px 12px #0008}.assembly-drag-ghost img{object-fit:contain;opacity:.6;width:100%;height:100%}.assembly-drag-ghost strong{color:#fff;text-shadow:0 1px 5px #000;background:#0002;place-items:center;font-size:26px;display:grid;position:absolute;inset:0}.assembly-drag-indicator{white-space:nowrap;align-items:center;gap:5px;margin-left:auto;display:inline-flex}.assembly-drag-indicator b{color:#fff;background:#333;border:1px solid #888;border-radius:4px;place-items:center;width:21px;height:21px;font-size:11px;display:grid}.floating-title-actions{margin-left:auto;display:flex}.slot-empty{color:#555}.node .ai-editor{gap:10px;padding:10px}.node .settings-grid{grid-template-columns:1fr;gap:8px}.node .settings-grid label{gap:4px;font-size:11px}.node .settings-grid input,.node .settings-grid select{width:100%;min-width:0;padding:5px;font-size:12px}.node .editor-toolbar{flex-wrap:wrap;gap:6px;padding:0}.node .output-toggles{gap:6px;font-size:11px}.node .ai-actions{background:#292929;flex:none;padding:24px 10px 10px}.node .output-editor{padding:10px}.node details{font-size:12px}.node summary{cursor:pointer;padding:5px 0}.node .input-preview{font-size:11px}.input-count{color:#aaa;margin:8px 0;font-size:12px}.annotation-rows{flex:none;gap:5px;padding:7px 12px;display:grid}.annotation-row{grid-template-columns:18px 32px minmax(0,1fr) 24px;align-items:flex-start;gap:8px;display:grid}.annotation-row.common .token-text{grid-column:1/-1}.annotation-layer-handle{color:#888;cursor:grab;touch-action:none;background:0 0;border:0;justify-content:center;align-items:center;width:18px;height:36px;padding:0;display:flex}.annotation-layer-handle:active{cursor:grabbing}.annotation-layer-arrows{flex-direction:column;gap:2px;display:flex}.annotation-layer-arrows button{justify-content:center;align-items:center;width:24px;height:17px;min-height:0;padding:0;display:flex}.annotation-row.layer-drag-source{outline-offset:2px;border-radius:3px;outline:1px solid #888}.annotation-row.layer-drag-target{background:#ffffff18;border-radius:3px;box-shadow:0 0 0 2px #ffffff35}.auto-textarea{--text-border-width:1px;--text-min-height:32px;flex:1;min-width:0;font-size:12px;line-height:1.5;display:grid}.auto-textarea>textarea,.auto-textarea:after{box-sizing:border-box;width:100%;min-width:0;min-height:var(--text-min-height);font:inherit;border-width:var(--text-border-width);white-space:pre-wrap;overflow-wrap:anywhere;grid-area:1/1;padding:6px}.auto-textarea:after{content:attr(data-replicated-value) " ";visibility:hidden;pointer-events:none;border-style:solid;border-color:#0000}.auto-textarea>textarea{resize:none;height:100%;overflow:hidden}.annotation-clear{position:relative}.annotation-clear-menu{z-index:20;background:#292929;border:1px solid #555;border-radius:6px;gap:2px;min-width:168px;padding:4px;display:grid;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 5px 16px #0005}.annotation-clear-menu button{white-space:nowrap;justify-content:flex-start;align-items:center;gap:9px;width:100%;padding:7px 10px;display:flex}.annotation-clear-swatch{border-radius:50%;width:14px;height:14px;box-shadow:inset 0 0 0 1px #ffffff30}.annotation-clear-menu .annotation-clear-all{border-top:1px solid #484848;border-radius:0 0 3px 3px}.confirm-backdrop{z-index:12000;background:#0007;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.confirm-dialog{background:#252525;border:1px solid #505050;border-radius:10px;width:min(360px,100vw - 32px);padding:20px;box-shadow:0 15px 60px #0008}.confirm-dialog p{margin:0 0 20px;font-size:14px;font-weight:600;line-height:1.5}.confirm-dialog .button-row{justify-content:flex-end}.node [data-interactive]{cursor:default}.inline-error.warning{color:#e2aa62}.node .settings-grid{grid-template-columns:1fr;display:grid}.node .settings-grid label{white-space:nowrap;grid-template-columns:65px minmax(0,1fr);align-items:center;display:grid}.node .settings-grid .check-label{display:flex}.node .settings-grid input[type=checkbox]{width:auto}.node .ai-editor .settings-grid label{white-space:normal;flex-direction:column;align-items:stretch;display:flex}.node .ai-editor .settings-grid .check-label{flex-direction:row;align-items:center}.drawing-preview{flex:1;width:100%;min-height:0;position:relative;overflow:hidden}.node .drawing-preview img{object-fit:contain;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.drawing-preview .drawing-overlay{opacity:1}.select-control{text-align:left;background:#202020;border:1px solid #424242;border-radius:5px;justify-content:space-between;width:100%;min-width:0;min-height:30px;padding:6px 8px;font-size:12px}.select-control>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-control>svg{flex:none}.select-control.icon-only{justify-content:center;width:28px;padding:5px}.select-control:focus-visible{outline-offset:1px;outline:1px solid #aaa}.select-menu{z-index:10000;background:#252525;border:1px solid #555;border-radius:6px;padding:4px;overflow-y:auto;box-shadow:0 8px 24px #0008}.select-menu>button{text-align:left;white-space:normal;overflow-wrap:anywhere;justify-content:flex-start;width:100%;min-height:32px;font-size:12px;display:flex}.select-menu>button.highlighted{background:#414141}.select-menu>button[aria-selected=true]{color:#fff}.node-degradation>div,.node-degradation .segmented{gap:0;width:100%;margin:0;padding:0}.node-degradation .segmented>button{flex:1 1 0;min-width:0;min-height:25px}.node-degradation .select-control{min-height:25px;padding:3px 6px;font-size:11px}.ai-editor .editor-toolbar{border:0;flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}.ai-editor .full-width-toggle,.node .ai-editor .output-toggles{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;width:100%;margin:0;padding:2px;display:grid}.ai-editor .full-width-toggle>button{min-height:30px;padding:5px}.ai-editor>.settings-grid{grid-template-columns:1fr;gap:10px;padding:12px 0;display:grid}.ai-editor .settings-grid label{flex-direction:column;align-items:stretch;gap:5px;display:flex}.ai-editor .settings-grid .check-label{flex-direction:row;align-items:center}.node-ai .node-body{flex-direction:column;display:flex}.node-ai .ai-editor-canvas{flex:none;min-height:0;overflow:visible}.image-setting-row{grid-template-columns:32px minmax(0,1fr);align-items:center;gap:8px;display:grid}.image-setting-row>span{color:#aaa;font-size:11px}.role-setting-row.canvas{grid-template-columns:minmax(0,1fr)}.image-settings .image-name{gap:5px;min-width:0}.image-role{min-width:0}.image-role.custom{background:#202020;border:1px solid #424242;border-radius:5px;align-items:flex-start;display:flex}.image-role.custom .auto-textarea{--text-border-width:0px;--text-min-height:30px;line-height:18px}.image-role.custom textarea{background:0 0;border:0}.image-role.custom .select-control{background:0 0;border:0;flex:none}.image-detail-controls{align-items:center;min-width:0;display:flex}.image-detail-controls>.select-control{flex:1;min-width:0}.image-file-actions{flex:none;gap:4px;margin-left:12px;display:flex}.image-file-actions button,.image-file-actions a{width:28px;height:28px;color:inherit;border-radius:5px;justify-content:center;align-items:center;padding:0;display:flex}.image-file-actions a:hover{background:#3a3a3a}.output-editor{--output-columns:32px 16px minmax(0, 1fr) 34px;flex-direction:column;gap:12px;display:flex}.output-presets{background:#1c1c1c;border-radius:6px;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;padding:2px;display:grid}.output-presets>button{min-width:0;min-height:29px;padding:6px 1px;font-size:11px}.output-bento{grid-template-columns:var(--output-columns);grid-template-rows:repeat(3,34px);align-items:stretch;gap:6px;display:grid}.bento-label{color:#aaa;align-self:center;font-size:11px}.ratio-label{grid-area:1/1/2/3}.ratio-inputs{grid-area:1/3;grid-template-columns:minmax(0,1fr) 9px minmax(0,1fr);align-items:center;gap:2px;display:grid}.ratio-inputs>span{text-align:center;color:#999}.output-bento input{width:100%;min-width:0;height:28px;padding:6px;font-size:12px}.ratio-inputs input{text-align:center;-webkit-appearance:textfield;appearance:textfield}.output-bento input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}.ratio-swap{grid-area:1/4}.pixel-row{display:contents}.pixel-width>.bento-label{grid-area:2/1}.pixel-width>.ratio-anchor{grid-area:2/2}.pixel-width>.pixel-input{grid-area:2/3}.pixel-height>.bento-label{grid-area:3/1}.pixel-height>.ratio-anchor{grid-area:3/2}.pixel-height>.pixel-input{grid-area:3/3}.pixel-input{min-width:0;position:relative}.pixel-input input{padding-right:27px}.pixel-input>span{color:#888;pointer-events:none;font-size:10px;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.ratio-anchor{border-radius:50%;padding:0}.ratio-anchor i{background:#272727;border:1px solid #777;border-radius:50%;width:10px;height:10px}.ratio-anchor.active i{background:#fff;border-color:#fff}.ratio-anchor.active{background:0 0}.ratio-link{grid-area:2/4/4/5}.ratio-swap,.ratio-link{background:#202020;border:1px solid #424242;padding:0}.ratio-link.active{color:#fff;background:#454545}.output-options{grid-template-columns:var(--output-columns);grid-auto-rows:34px;align-items:stretch;gap:6px;display:grid}.output-option-title{color:#aaa;grid-column:1/3;align-self:center;font-size:11px}.output-options>.select-control,.output-compression{grid-column:3/5;width:100%;min-width:0;font-size:12px}.output-compression{padding:6px}.node :is(.image-settings,.ai-editor,.output-editor,.assembly-editor,.token-text,label){cursor:grab}.node :is(input,textarea,[contenteditable=true],[data-text-select]){cursor:text}.output-editor input:disabled,.output-editor button:disabled{opacity:.35;cursor:default}.output-editor .inline-error{margin:0}@media (prefers-reduced-motion:reduce){.connection-markers.running path{opacity:.5;animation:none}.assembly-grid.dragging .assembly-slot{transition:none}}.component-img-count{color:#aaa;font-size:var(--component-meta-font-size);pointer-events:none;white-space:nowrap;position:absolute;top:-23px;right:0}.ai-drop-zones{z-index:8;pointer-events:none;border-radius:inherit;grid-template-rows:1fr 1fr 2fr;display:grid;position:absolute;inset:0;overflow:hidden}.ai-drop-zones>div{color:#fff;background:#ffffff17;outline:1px dashed #aaa;justify-content:center;align-items:center;font-size:14px;display:flex}.ai-drop-zones>div.occupied{color:#d4a66b;background:#46332377}.wire.replacing,.wire.error.replacing{stroke:#e3bc54;stroke-width:3px}.connection-markers.replacing,.connection-markers.error.replacing{fill:#e3bc54}.connection-markers.disconnecting,.connection-markers.error.disconnecting{fill:#e46b6b}.wire.blocked{stroke:#d7974b}.ai-image-group{border:1px solid #484848;border-radius:6px;margin:8px 0;padding:8px}.ai-image-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px;display:grid}.ai-image-grid figure{min-width:0;margin:0}.ai-image-grid figcaption{overflow-wrap:anywhere;color:#aaa;margin:4px 0;font-size:11px}.ai-thumbnail{width:100%;height:100px;padding:0;position:relative;overflow:hidden}.ai-thumbnail>img,.ai-thumbnail .drawing-preview{object-fit:contain;width:100%;height:100%}.ai-thumbnail:disabled{opacity:1}.base-image .ai-thumbnail{outline:2px solid #fff}.ai-thumbnail b{color:#fff;background:#222b;font-size:11px;position:absolute;top:3px;left:3px}.annotation-bubbles{gap:6px;display:flex;position:absolute;top:calc(100% + 7px);left:0}.annotation-bubble{text-align:center;color:#222;cursor:help;border-radius:50%;place-items:center;width:21px;height:21px;display:inline-grid}.result-tool-records{padding:6px;font-size:11px}.result-tool-records pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto}.image-settings .role-setting-row{grid-column:1/-1}.color-token{background:var(--token-color);border:1px solid #ffffff80;border-radius:3px;width:1.35em;padding:0}.color-token.unresolved{opacity:.4;outline-offset:1px;border-style:dashed;outline:1px dashed #aaa}.annotation-row .token-text{min-width:0;height:auto;min-height:0;padding:0}.annotation-row .token-editor{border:1px solid #404040;min-height:36px;max-height:none}.annotation-row .token-editor:focus{border-color:#888}.annotation-row.draft .token-editor{color:#999;background:#242424}.annotation-row.draft .annotation-color-choice:not([aria-pressed=true]) .annotation-row-color{opacity:.35;border-style:dashed}.annotation-row.warning .token-editor{border-color:#c38b45}.annotation-row .inline-error{grid-column:3/-1;margin:0}.annotation-row.common .inline-error{grid-column:1/-1}.annotation-bubble{position:relative}.annotation-bubble-tooltip{color:#eee;white-space:pre-wrap;text-align:left;z-index:12;pointer-events:none;background:#272727;border:1px solid #555;border-radius:7px;min-width:160px;max-width:280px;padding:9px 11px;font:12px/1.5 sans-serif;display:none;position:absolute;top:calc(100% + 8px);left:0;box-shadow:0 5px 16px #0006}.annotation-bubble:hover .annotation-bubble-tooltip{display:block}.region-tools>button{width:30px;height:30px;padding:6px}.region-tools .tool-slider{margin-left:6px}.polygon-mode{margin-left:4px}.polygon-mode button{width:28px;height:26px;padding:3px;font-size:11px}.wand-options{align-items:center;gap:8px;display:flex}.wand-options>label{white-space:nowrap;align-items:center;gap:4px;font-size:11px;display:flex}.annotation-color-input{opacity:0;pointer-events:none;border:0;width:1px;height:1px;padding:0;position:absolute}.annotation-color-choice{background:0 0;border:0;justify-content:center;align-items:center;width:32px;height:36px;padding:4px;display:flex}.annotation-color-choice:hover{background:#393939}.annotation-color-choice[aria-pressed=true] .annotation-row-color{outline-offset:3px;outline:2px solid #eee}.annotation-color-choice .annotation-row-color{flex-shrink:0}.ai-port-relation{pointer-events:none;z-index:1;fill:none;stroke:#777;stroke-width:1.5px;opacity:.35;position:absolute;overflow:visible}.ai-port-relation.connected{opacity:1}.create-drawing-assembly{z-index:5;color:#aaa;background:#292929;border:0;border-radius:50%;width:26px;height:26px;padding:4px;position:absolute}.create-drawing-assembly:hover{color:#fff;background:#444}.ai-image-uses{overflow-wrap:anywhere;color:#999;flex-direction:column;gap:3px;margin-bottom:6px;font-size:11px;display:flex}.empty-input-role{color:#888;margin:6px 0 0;font-size:12px}.ai-drop-zones.assembly-only{grid-template-rows:1fr}.node>header .image-name{flex:1;min-width:0}.node>header .image-name input{width:100%;min-width:0}.node>header .image-file-actions{flex-shrink:0;gap:0;margin-left:3px}.node>header .image-file-actions :is(button,a){padding:4px}.canvas-name{background:0 0;border-color:#0000;flex:1;width:0;min-width:0;padding:4px;font-size:11px}.node>header .component-type-icon{position:static}.graph-canvas:not(.interacting) .node:is(:hover,.selected)>header .component-type-icon:after{content:attr(aria-label);white-space:nowrap;color:#aaa;font-size:var(--component-meta-font-size);pointer-events:none;z-index:30;position:absolute;bottom:calc(100% + 5px);left:0}.canvas-group{cursor:grab;background:#aaa08a0b;border:1px solid #7775;border-radius:14px;position:absolute}.canvas-group.selected{background:#aaa08a15;border-color:#b9b5a4}.scribble{--component-border:1px;border:var(--component-border) solid transparent;cursor:grab;width:max-content;min-width:48px;min-height:32px;position:absolute}.scribble.selected{border-color:#aaa7}.scribble-content{min-width:48px;min-height:32px;line-height:1.4;display:grid;position:relative}.scribble-content>pre,.scribble-content>textarea{font:inherit;line-height:inherit;color:inherit;white-space:pre;overflow-wrap:normal;word-break:normal;border:none;border-radius:0;grid-area:1/1;margin:0;padding:3px 5px}.scribble-content>pre{visibility:hidden;pointer-events:none}.scribble-content>textarea{resize:none;background:0 0;outline:none;width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.scribble-toolbar{transform:scale(calc(1 / var(--canvas-zoom,1)));transform-origin:0 100%;z-index:5;background:#292929;border:1px solid #555;border-radius:6px;align-items:center;gap:6px;padding:4px;display:flex;position:absolute;bottom:calc(100% + 7px);left:0}.scribble-toolbar input[type=number]{width:60px}.scribble-toolbar input[type=color]{width:27px;height:27px;padding:2px}.canvas-menu{z-index:160;max-height:none;position:fixed;overflow:visible}.canvas-menu-columns{align-items:flex-start;gap:6px;display:flex}.canvas-menu[data-direction=left] .canvas-menu-columns{flex-direction:row-reverse}.canvas-menu-column{flex-direction:column;width:154px;display:flex}.canvas-menu-actions{border-right:1px solid #484848;padding-right:6px}.canvas-menu[data-direction=left] .canvas-menu-actions{border-left:1px solid #484848;border-right:0;padding-left:6px;padding-right:0}.canvas-menu-column button{height:var(--menu-row-height,32px);white-space:nowrap;flex-shrink:0;min-height:0;padding:0 10px}.canvas-menu>[role=alert]{overflow-wrap:anywhere;width:0;min-width:100%;margin:0 0 6px}.floating-head{flex-shrink:0}.floating-save-actions{flex:none;margin-right:4px;display:flex}.floating-save-actions:empty{display:none}.floating-save{justify-content:center;width:30px;height:30px;padding:5px}.token-floating-tools{z-index:75;background:#303030;border:1px solid #626262;border-radius:6px;gap:3px;padding:3px;display:flex;position:fixed;box-shadow:0 3px 10px #0005}.token-floating-tools button{justify-content:center;align-items:center;width:26px;height:26px;min-height:0;padding:3px;display:flex}.token-floating-tools .color-token{margin:0}.token-editor [data-token-boundary]{font:inherit;line-height:inherit}.annotation-wide .annotation-divider{cursor:col-resize}.annotation-wide .annotation-divider:after{width:2px;height:38px;top:calc(50% - 19px);left:3px}.annotation-rows{padding-top:8px}.annotation-row.common{border-top:1px solid #3c3c3c;margin-top:8px;padding-top:10px}.editor-stage-status{color:#c5c5c5;pointer-events:none;z-index:2;background:#202020a0;border-radius:4px;padding:3px 6px;font-size:11px;position:absolute;top:8px;left:10px}.node-issues{top:calc(-1 * (var(--component-border) + 20px));z-index:35;width:24px;height:16px;color:var(--diagnostic-warning);position:absolute;left:50%;transform:translate(-50%)}.node-issues.error{color:var(--diagnostic-error)}.node-issues .node-issues-trigger{width:24px;height:16px;color:inherit;box-shadow:none;background:0 0;border:none;outline:none;padding:0 4px;display:block}.node-issues-trigger:focus-visible svg{stroke:currentColor;stroke-width:1px}.node-issues-trigger svg{fill:currentColor;transform-box:view-box;transform-origin:50%;width:16px;height:16px;transition:transform .32s ease-in-out;display:block}.node-issues-popover{z-index:600;transform-origin:0 100%;padding-bottom:4px;position:fixed}.node-issues-panel{overscroll-behavior:contain;border:var(--component-border) solid var(--diagnostic-warning);font:inherit;-webkit-user-select:text;user-select:text;cursor:text;overflow-wrap:anywhere;background:#282828;border-radius:7px;padding:9px 11px;line-height:1.7;animation:.12s ease-out issues-open;overflow:auto;box-shadow:0 4px 14px #0005}.node-issues-panel p{white-space:pre-wrap;margin:0}.node-issues-panel p+p{margin-top:7px}.node-issues-panel .error{color:var(--diagnostic-error)}.node-issues-panel .warning{color:var(--diagnostic-warning)}.node-issues-panel.error{border-color:var(--diagnostic-error)}.wire.error,.wire.error.selected{stroke:var(--diagnostic-error)}.wire.error.selected{stroke-width:3px}.connection-markers.error{fill:var(--diagnostic-error)}.assembly-edit-grid{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.assembly-detail{container-type:inline-size}.assembly-slot.invalid-slot{border-color:var(--diagnostic-error);background:#622e2e45}.assembly-slot.invalid-slot small{color:var(--diagnostic-error);background:#502828}@container (width>=1100px){.assembly-detail>.assembly-edit-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}@keyframes issues-open{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.node-issues-panel{animation:none}.node-issues-trigger svg{transition:none}}.node :is(.request-json,.transmission-text,.linked-description pre){max-height:none;overflow:visible}.node .token-text{height:auto}.node .transmission-images{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;display:grid;overflow:visible}.node .transmission-images figure{width:auto;min-width:0}.node .transmission-images figcaption{overflow-wrap:anywhere}.node-composite .node-body>img{height:auto}.result-block{border-top:1px solid #ffffff10;min-width:0}.result-block-bar{background:#ffffff03;align-items:center;min-height:24px;display:flex}.result-block-toggle{border-radius:0;flex:1;justify-content:flex-start;min-width:0;min-height:24px;padding:3px 8px;font-size:11px}.result-block-bar .item-actions{flex:none;padding-right:5px}.result-block .response-text{padding:8px 10px}.result-images{padding:0 8px}.result-images .response-item{margin-bottom:8px}.result-notice-body{overflow-wrap:anywhere;padding:8px 10px;font-size:11px}.result-notice-body p{white-space:pre-wrap;margin:0}.result-notice-body .error{color:var(--diagnostic-error)}.result-notice-body .warning{color:var(--diagnostic-warning)}.result-content [data-result-extract]{cursor:grab}.result-extraction-preview{z-index:11000;pointer-events:none;opacity:.9;background:#272727;border:1px solid #aaa;border-radius:6px;width:140px;max-height:116px;position:fixed;overflow:hidden;box-shadow:0 4px 14px #0006}.result-extraction-preview>header{align-items:center;gap:6px;height:24px;padding:4px 7px;font-size:10px;display:flex}.result-extraction-preview>header svg{width:13px;height:13px}.result-extraction-preview>img{object-fit:contain;width:100%;max-height:90px;display:block}.result-extraction-preview>div{white-space:pre-wrap;overflow-wrap:anywhere;max-height:84px;padding:5px 7px;font-size:10px;overflow:hidden}.node-stack .node-body{overflow:visible}.node-ai .node-body>.auto-textarea{flex:none;margin:8px 10px 0}.request-parent{color:#aaa;padding:8px 10px;display:block}.app>.conversation-workspace{width:100%;height:100%}.topbar{grid-template-columns:minmax(0,1fr) clamp(30px,12cqw,100px) minmax(0,1fr);gap:4px;padding:4px 12px}.canvas-main-tools{gap:8px;min-width:0}.project-tools{gap:0}.toolbar button,.project-tools button{width:28px;height:32px;padding:5px}.workspace-main .topbar{padding-right:12px}.conversation-workspace:not(.chat-open) .canvas-status-tools{padding-right:40px}.notice-center{color:#d6d6d6;flex:1;align-items:center;gap:5px;min-width:0;display:flex}.notice-center strong{white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600;overflow:hidden}.notice-center.warning{color:#d6a260}.notice-center.error{color:#de6262}.notice-triangle{fill:currentColor;flex:none;width:12px;height:12px}.notice-info{flex:none;width:24px;height:24px;padding:0;position:relative;color:inherit!important;background:0 0!important}.notice-info svg{fill:none;stroke:currentColor;stroke-width:1px;width:20px;height:20px;position:absolute;inset:2px;transform:rotate(-90deg)}.notice-info circle{stroke-dasharray:1;stroke-dashoffset:0;animation:5s linear forwards notice-countdown}.notice-info span{font-size:12px;line-height:24px}.notice-detail{overflow-wrap:anywhere;padding:12px 20px;font-size:13px}.notice-detail dt{margin:12px 0 4px;font-weight:600}.notice-detail dd{white-space:pre-wrap;margin:0}@keyframes notice-countdown{to{stroke-dashoffset:-1px}}.ai-drop-zones{z-index:15;pointer-events:auto;border-radius:inherit;background:#111e;display:flex;position:absolute;inset:0}.ai-drop-zones>div{color:#eee;background:0 0;border-right:1px solid #777;flex:1;place-items:center;min-width:0;display:grid}.ai-drop-zones>div:hover{background:#ffffff18}.result-port{pointer-events:none;place-items:center;display:grid}.result-port i{background:#c4c4c4;border-radius:50%;width:12px;height:12px;display:block}.node[data-execution-locked] .canvas-name{cursor:not-allowed}.generator-settings{display:contents}.node [inert]{cursor:default}.node,.scribble{isolation:isolate}.node-issues-popover{position:absolute}.ai-drop-zones{flex-direction:column}.ai-drop-zones>div{border-bottom:1px solid #777;border-right:0}.ai-drop-zones>div:last-child{border-bottom:0}.settings-home>hr{width:100%}.site-entry{background-color:var(--canvas-background);background-image:var(--canvas-dots);color:#d6d6d6;background-size:22px 22px;flex-direction:column;justify-content:center;align-items:center;gap:24px;padding:32px;display:flex;position:fixed;inset:0;overflow-y:auto}.site-workspace{height:100%}.site-overlay{z-index:10000}.site-resume{-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);background-color:#171717cc}.site-back{color:#868686;letter-spacing:.04em;align-items:center;gap:7px;font-size:13px;display:inline-flex;position:absolute;top:24px;left:28px}.service-home{gap:96px}.aha-logo{flex-shrink:0;width:180px;height:180px}.site-back:hover{color:#d6d6d6;text-decoration:none}.service-grid{flex-wrap:wrap;justify-content:center;gap:40px;display:flex}.service-link{letter-spacing:-.5px;flex-direction:column;align-items:center;gap:6px;font-size:16px;display:flex}.service-icon{place-items:center;width:100px;height:64px;transition:transform .16s;display:grid}.service-link:hover{color:#eee;text-decoration:none}.service-link:hover .service-icon{transform:translateY(-2px)}.service-link:focus-visible{outline-offset:10px;border-radius:24px;outline:1px solid #aaa}.site-identity{flex-direction:column;align-items:center;gap:14px;margin-bottom:10px;display:flex}.site-brand{letter-spacing:-1.3px;font-size:32px;font-weight:550}.site-entry form{flex-direction:column;gap:20px;width:min(304px,100%);display:flex}.site-password{background:#222;border:1px solid #484848;border-radius:9px;gap:0;padding:3px;display:flex}.site-password:focus-within{border-color:#999}.site-password input[type=password]{width:100%;font:inherit;background:0 0;border:0;padding:12px}.site-password button{flex-shrink:0;width:40px;height:40px;padding:0}.site-start-actions{gap:12px;display:flex}.site-start-actions button{background:#242424;border:1px solid #414141;border-radius:9px;gap:10px;padding:14px 20px}.site-start-actions button:hover{background:#2c2c2c;border-color:#858585}.site-hint{color:#858585;margin:0;font-size:12px}.site-entry [role=alert]{color:var(--diagnostic-error);overflow-wrap:anywhere;max-width:480px;margin:0;font-size:12px}.site-install{z-index:10001;position:fixed;top:24px;right:28px}.pwa-install{position:relative}.pwa-install>button{color:#d6d6d6;gap:7px}.pwa-install-help{z-index:1;background:#242424;border:1px solid #484848;border-radius:9px;width:min(300px,100vw - 48px);padding:12px 16px;font-size:12px;line-height:1.6;position:absolute;top:100%;right:0}.info-content .pwa-install-help{left:0;right:auto}.pwa-install-help p{margin:6px 0}.site-import-error{z-index:10001;border:1px solid var(--diagnostic-error);max-width:calc(100vw - 64px);color:var(--diagnostic-error);background:#242424;border-radius:9px;padding:12px 16px;font-size:13px;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}@media (max-width:400px){.site-start-actions{flex-direction:column;width:min(304px,100%)}.site-start-actions button{justify-content:center}.site-back{top:20px;left:20px}}@media (prefers-reduced-motion:reduce){.service-icon{transition:none}}.site-entry .site-reset-action{color:#999;background:0 0;border:0;align-self:center;margin-top:16px;padding:4px;font-size:12px}.site-entry .site-reset-action:hover{color:#ddd}
