/* Canvas workspace: compact rail, persistent tree, optional side panels. */
body{min-width:760px}.app-shell{height:100vh;overflow:hidden}.project-rail{width:190px;flex-basis:190px;min-width:155px;max-width:300px;resize:horizontal;overflow:auto}.editor-layout{flex-direction:column;min-height:0;height:calc(100vh - 57px)}.editor-nav{flex-direction:row;overflow-x:auto;overflow-y:hidden;width:100%;flex:0 0 42px;min-height:42px;display:flex;align-items:center;gap:4px;padding:4px 12px;border-right:0;border-bottom:1px solid #2c3437;background:#151a1d}.nav-project,.nav-bottom{display:none}.nav-item{flex:0 0 auto;height:30px;width:auto;display:flex;gap:5px;align-items:center;margin:0;padding:7px 10px;font-size:10px;border-radius:5px}.nav-icon{font-size:12px}.nav-item kbd{display:none}.nav-count{margin-left:4px}.editor-main{flex:1;min-height:0;min-width:0;overflow:hidden}.view-panel{height:100%;overflow:auto;padding:20px}.view-panel.graph-panel{padding:0;overflow:hidden}.topbar{height:57px;min-height:57px}.graph-studio{height:100%;display:flex;flex-direction:column;min-height:0;overflow:hidden;background:#101518}.graph-toolbar{height:44px;flex:0 0 44px;display:flex;align-items:center;gap:5px;padding:6px 12px;border-bottom:1px solid #2b3337;background:#171d21;overflow-x:auto;white-space:nowrap}.graph-toolbar strong{font-size:12px;margin-right:4px}.graph-count{color:#788b94;font-size:10px;margin-right:6px}.graph-toolbar button,.graph-bottom button{border:1px solid #344147;border-radius:5px;background:#20282d;color:#b9c9d1;padding:6px 8px;font-size:10px}.graph-toolbar button.active{border-color:#71894f;color:#d7ecb5}.graph-toolbar .primary-button{background:#c8f36a;color:#172017;border-color:#c8f36a}.graph-toolbar button:disabled{opacity:.4}.toolbar-gap{flex:1}.graph-layout{display:flex;flex:1;min-height:0;min-width:0}.graph-stage{position:relative;flex:1;min-width:250px;min-height:0;overflow:hidden}.graph-viewport{position:absolute;inset:0 0 35px;overflow:hidden;background-color:#101619;background-image:radial-gradient(#334148 1px,transparent 1px);background-size:22px 22px;cursor:grab;touch-action:none;outline:0}.graph-viewport.is-dragging{cursor:grabbing}.graph-world{position:absolute;left:0;top:0;transform-origin:0 0;will-change:transform}.graph-edges{position:absolute;inset:0;overflow:visible;pointer-events:none}.graph-edges>path{fill:none;stroke:#536c60;stroke-width:2.5}.graph-edges>path.edge-done{stroke:#7dad87}.graph-edges>path.edge-running{stroke:#ffd06a;stroke-dasharray:10 8;animation:edge-flow .8s linear infinite}@keyframes edge-flow{to{stroke-dashoffset:-36}}.graph-node{position:absolute;width:210px;height:160px;border:1px solid #43515a;border-radius:11px;background:linear-gradient(145deg,#232d32,#1a2228);box-shadow:0 8px 22px #0005;padding:12px 14px;cursor:pointer;user-select:none;color:#e1e9ed;overflow:visible;transition:border-color .15s,box-shadow .15s}.graph-node:hover{border-color:#94aebe}.graph-node.is-focused{border-color:#c8f36a;box-shadow:0 0 0 2px #c8f36a44,0 8px 25px #0006}.graph-node.is-selected{background:linear-gradient(145deg,#34432a,#263129)}.graph-node.status-running{border-color:#f7bd5c;box-shadow:0 0 24px #eeb75430}.graph-node.status-failed{border-color:#d67575}.graph-node.status-complete{border-color:#6d9e78}.graph-node-heading{display:flex;align-items:center;gap:6px;color:#9fb3c0;font:9px 'Segoe UI',sans-serif;text-transform:uppercase;letter-spacing:.09em}.graph-node-heading input{margin-left:auto;accent-color:#c8f36a}.graph-node-icon{color:#bfe57d;font-size:15px}.graph-node h3{margin:12px 0 7px;font:600 13px 'Segoe UI',sans-serif;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.graph-node p{font-size:10px;color:#9cacb6;line-height:1.45;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.graph-node footer{position:absolute;left:14px;right:14px;bottom:12px;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#8fa799}.graph-status{display:flex;align-items:center;gap:5px;text-transform:capitalize}.graph-status i{width:5px;height:5px;border-radius:50%;background:#71838d}.status-running .graph-status i{background:#f7bd5c;animation:node-pulse .8s alternate infinite}.status-complete .graph-status i{background:#97d9a8}.status-failed .graph-status i{background:#e47777}@keyframes node-pulse{to{opacity:.3}}.graph-node .node-port{position:absolute;top:74px;width:12px;height:12px;padding:0;border:2px solid #8aa690;border-radius:50%;background:#111a17;z-index:3;cursor:crosshair}.node-port.input{left:-7px}.node-port.output{right:-7px}.node-port:hover,.node-port.connecting{background:#c8f36a;border-color:#e5f7bc}.kind-source{border-color:#7873bb;background:linear-gradient(140deg,#2d2b47,#1d222d)}.kind-script .graph-node-icon{color:#bcabfa}.kind-frame .graph-node-icon{color:#85c8f8}.graph-thumb{position:absolute;right:10px;bottom:30px;width:50px;height:30px;object-fit:cover;border-radius:4px}.graph-bottom{position:absolute;bottom:0;left:0;right:0;height:35px;display:flex;align-items:center;gap:8px;padding:4px 10px;border-top:1px solid #29363c;background:#172126;color:#748994;font-size:9px}.graph-bottom>span{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.graph-zoom{display:flex;align-items:center;gap:5px}.graph-zoom span{min-width:32px;text-align:center}.graph-bottom button{padding:3px 6px}.graph-minimap{position:absolute;right:14px;bottom:49px;width:145px;height:83px;background:#111a20dd;border:1px solid #36474f;border-radius:6px;pointer-events:none;opacity:.85}.graph-start-hint{position:absolute;left:50%;top:70%;transform:translateX(-50%);color:#768c99;font-size:12px;line-height:1.7;text-align:center;pointer-events:none;white-space:nowrap}.director-dock{width:280px;min-width:230px;max-width:420px;resize:horizontal;overflow:hidden;border-right:1px solid #344148;background:#151c20;display:flex;flex-direction:column}.director-dock header,.node-inspector header{height:43px;flex:0 0 43px;padding:10px 14px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #303e44;font-size:11px}.director-dock header button,.node-inspector header button{border:0;background:none;color:#8c9ca5;font-size:17px}.director-messages{flex:1;min-height:0;overflow:auto;padding:14px}.director-message{border:1px solid #303e44;background:#1c272d;border-radius:8px;padding:9px 10px;margin-bottom:10px}.director-message.user{background:#25311f;border-color:#425436;margin-left:13px}.director-message small{font-size:8px;color:#b8d392;letter-spacing:.1em}.director-message p{white-space:pre-wrap;font-size:11px;line-height:1.6;margin:5px 0 0;color:#c0cbd1}.director-welcome h3{font-size:16px}.director-welcome p{font-size:11px;line-height:1.7;color:#859ba7}.director-compose{padding:12px;border-top:1px solid #303e44}.director-compose .field-area{min-height:95px;font-size:11px}.director-compose button{width:100%;margin:8px 0}.director-compose small{display:block;color:#72858e;font-size:9px;text-align:center}.node-inspector{width:315px;min-width:245px;max-width:460px;resize:horizontal;overflow:hidden;background:#171f24;border-left:1px solid #36434b;display:flex;flex-direction:column}.inspector-body{flex:1;min-height:0;overflow:auto;padding:14px}.inspector-body label{display:block;margin:12px 0 5px;color:#97aeb9;font-size:10px}.inspector-body p{font-size:11px;color:#8fa4af;line-height:1.6}.inspector-body h3{font-size:15px;margin:0 0 8px}.inspector-body input,.inspector-body textarea{font-size:11px}.inspector-body .short{min-height:58px}.inspector-body .node-prompt{min-height:160px}.inspector-body .node-output{min-height:150px}.inspector-body>button{margin-top:10px;width:100%}.inspector-body pre{white-space:pre-wrap;font-size:10px;line-height:1.7;color:#97b17f}.inspector-kicker{font-size:10px;color:#90ae78;text-transform:uppercase}.inspector-actions{display:flex;align-items:center;gap:7px;margin-top:10px;flex-wrap:wrap}.inspector-actions .check-control{margin:0}.inspector-actions button{font-size:10px;padding:6px 9px}.dependency-list{border:1px solid #34434b;border-radius:5px;font-size:10px;color:#b0c0c9;padding:5px 8px}.dependency-list div{display:flex;justify-content:space-between;align-items:center;padding:3px 0}.dependency-list button{background:none;border:0;color:#cf9b9b}.graph-help{font-size:9px!important}.inspector-frame{width:100%;border-radius:5px}.page-heading h1{font-size:25px}.welcome-screen h1{font-size:44px}@media(max-width:1100px){.project-rail{width:165px;flex-basis:165px}.graph-count{display:none}.node-inspector{width:270px}.director-dock{width:240px}.graph-toolbar{gap:3px;padding:5px 7px}.graph-toolbar button{font-size:9px;padding:5px}.nav-item{padding:6px 8px}.top-actions .save-state{display:none}}@media(max-width:900px){.node-inspector{position:absolute;right:0;top:44px;bottom:0;z-index:5;box-shadow:-10px 0 35px #0009}.graph-studio{position:relative}.director-dock{width:230px}.top-actions #accountButton{display:none}.project-title-inline{width:190px}}

