@import"https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&display=swap";:root{font-family:Arvo,Georgia,serif;color:#202124;background:#f7f7f5;font-synthesis:none;text-rendering:optimizeLegibility;line-height:1.45;--ink: #202124;--muted: #74777d;--line: #dedfdf;--line-strong: #c7c9ca;--surface: #ffffff;--canvas: #f7f7f5;--accent: #5368e8;--teal: #159a91;--coral: #df6e51;--green: #238760;--shadow: 0 10px 28px rgba(25, 28, 32, .08)}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}button,input,textarea,select{font:inherit;letter-spacing:0}button,select{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}.space-app{width:100%;height:100%;display:grid;grid-template-rows:50px minmax(0,1fr);background:var(--canvas)}.topbar{position:sticky;top:0;z-index:30;display:grid;grid-template-columns:minmax(210px,1fr) auto minmax(250px,1fr);align-items:center;gap:10px;min-height:50px;padding:0 10px;background:#fffffff5;border-bottom:1px solid #e7e7e5}.brand-mark,.topbar-center,.topbar-actions,.brand-mark>div,.connection-status,.save-state{display:flex;align-items:center}.brand-mark{min-width:0;gap:8px}.brand-mark>span{display:grid;place-items:center;width:28px;height:28px;color:#fff;background:#202124;border-radius:7px;font-size:14px;font-weight:800}.brand-mark>div{min-width:0;gap:10px}.brand-mark b{flex:none;font-size:12px}.brand-mark input{min-width:80px;max-width:180px;height:28px;padding:0 8px;color:#5f6267;background:transparent;border:1px solid transparent;border-radius:5px;font-size:12px}.brand-mark input:hover,.brand-mark input:focus{background:#f5f5f3;border-color:#dadbd9;outline:none}.topbar-center{justify-content:center;gap:8px}.connection-status,.save-state{gap:6px;color:#73767b;font-size:11px;white-space:nowrap}.connection-status i{width:7px;height:7px;background:#c86c55;border-radius:50%}.connection-status.connected i{background:var(--green)}.topbar-actions{justify-content:flex-end;gap:6px}.header-icon-button{position:relative;display:grid;place-items:center;width:32px;height:32px;padding:0;color:#55585c;background:#fff;border:1px solid #d9dad8;border-radius:6px}.header-icon-button:hover,.header-icon-button.active{color:#202124;background:#f3f3f1;border-color:#c9cac8}.header-icon-button small{position:absolute;top:-4px;right:-4px;min-width:16px;height:16px;padding:0 4px;color:#fff;background:#202124;border:2px solid #fff;border-radius:8px;font-size:8px;line-height:12px;text-align:center}.header-analyze{min-height:32px;padding:0 10px}.primary-action,.secondary-button,.run-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:0 13px;border-radius:6px;font-size:12px;font-weight:700}.primary-action{color:#fff;background:#202124;border:1px solid #202124}.primary-action:hover,.run-button.dark:hover{background:#080909}.secondary-button{color:#393b3f;background:#fff;border:1px solid #d9dad8}.secondary-button:hover{background:#f7f7f5;border-color:#c8c9c7}.secondary-button.compact{min-height:32px;padding:0 10px}.workspace-shell{position:relative;min-height:0;display:flex}.canvas{position:relative;min-width:0;flex:1;overflow:hidden;touch-action:none;background-color:#fbfbfa;background-image:radial-gradient(circle,#d7d9d7 1px,transparent 1.05px);background-size:28px 28px}.canvas.drop-active:after{position:absolute;top:12px;right:12px;bottom:12px;left:12px;z-index:25;display:grid;place-items:center;border:2px dashed #aaa0ef;border-radius:12px;color:#6257bd;background:#f8f7ffc7;content:"Drop node or media";font-size:12px;font-weight:700;pointer-events:none}.canvas[data-tool=hand]{cursor:grab}.canvas[data-tool=hand]:active{cursor:grabbing}.canvas[data-tool=connect]{cursor:crosshair}.canvas-world{position:absolute;top:0;left:0;width:5000px;height:1400px;transform-origin:0 0;will-change:transform}.edge-layer{position:absolute;top:0;right:0;bottom:0;left:0;overflow:visible;pointer-events:none}.edge-layer path{fill:none;stroke:#c9c2f5;stroke-width:2.25;stroke-linecap:round}.board-node{position:absolute;top:0;left:0;display:block;overflow:visible;background:#fffffff7;border:3px solid #e2e2e0;border-radius:18px;box-shadow:0 1px 2px #191b1e05;-webkit-user-select:none;user-select:none}.board-node:hover{border-color:#d8d8d6;box-shadow:0 3px 12px #191b1e0a}.board-node.selected{border-color:#c3baf6;box-shadow:0 0 0 3px #a799f41f}.canvas[data-tool=select] .board-node,.canvas[data-tool=select] .board-node .clean-node-placeholder{cursor:grab}.canvas[data-tool=select] .board-node:active,.canvas[data-tool=select] .board-node:active .clean-node-placeholder{cursor:grabbing}.canvas[data-tool=select] .board-node button,.canvas[data-tool=select] .board-node select,.canvas[data-tool=select] .board-node a{cursor:pointer}.canvas[data-tool=select] .board-node input,.canvas[data-tool=select] .board-node textarea{cursor:text}.node-header{position:absolute;top:-40px;left:5px;width:calc(100% - 10px);height:30px;display:flex;align-items:center;gap:7px;padding:0;border:0;cursor:grab}.node-header:active{cursor:grabbing}.node-header>b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#2f3231;font-size:14px;font-weight:650}.node-icon{display:grid;place-items:center;width:19px;height:19px;border-radius:0;color:#404342;background:transparent}.node-icon.teal,.node-icon.coral,.node-icon.violet,.node-icon.blue,.node-icon.green,.node-icon.amber{color:#404342;background:transparent}.node-status{margin-left:auto;padding:3px 6px;color:#76797c;background:#f3f3f1;border-radius:5px;font-size:8px;font-weight:700;text-transform:uppercase}.node-status.processing,.node-status.queued{color:#7b5a19;background:#fff4d7}.node-status.complete{color:#276849;background:#e7f4ed}.node-status.error{color:#a13e34;background:#fbe9e7}.node-status.stale{color:#885a13;background:#fff0cc}.node-more,.inspector-header>button,.media-clear,.inspector-toggle{display:grid;place-items:center;padding:0;color:#797c80;background:transparent;border:0}.node-more{width:24px;height:24px;margin-left:1px;opacity:0}.board-node:hover .node-more,.board-node.selected .node-more{opacity:1}.node-more:hover,.inspector-header>button:hover,.media-clear:hover{color:#202124;background:#f0f0ee;border-radius:5px}.node-port{position:absolute;top:calc(50% - 18px);z-index:3;display:grid;width:36px;height:36px;place-items:center;padding:0;color:#404342;background:#fff;border:2px solid #d5cdf9;border-radius:50%;box-shadow:0 1px 3px #1f202412}.node-port:after{display:none}.node-port.input{left:-19px}.node-port.output{right:-19px}.node-port:hover,.node-port.connect-ready,.node-port.connecting{border-color:var(--accent);box-shadow:0 0 0 4px #5368e81f}.node-port:hover:after,.node-port.connect-ready:after,.node-port.connecting:after{background:transparent}.node-body{min-height:0;padding:12px;overflow:hidden}.clean-node-body{position:relative;width:100%;height:100%;padding:8px;border-radius:15px}.clean-node-media{position:absolute;top:8px;right:8px;bottom:8px;left:8px;overflow:hidden;border-radius:12px;background:#f5f5f3}.clean-node-media img,.clean-node-media video{width:100%;height:100%;display:block;object-fit:contain}.clean-node-placeholder{position:absolute;top:8px;right:8px;bottom:8px;left:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:42px;color:#a0a3a1;text-align:center}.clean-node-placeholder b{color:#4c504e;font-size:14px;font-weight:600}.clean-node-placeholder span{max-width:330px;font-size:12px;line-height:1.5}.clean-node-upload{cursor:pointer}.clean-node-upload:hover{color:#6f7270;background:#fafaf8}.clean-node-upload input{display:none}.clean-node-meta{position:absolute;right:24px;bottom:20px;left:24px;z-index:2;overflow:hidden;color:#a4a7a5;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.clean-text-node{padding:0}.clean-text-node textarea{width:100%;height:100%;padding:30px 28px 54px;resize:none;color:#4a4d4c;background:transparent;border:0;outline:0;font-size:15px;line-height:1.55}.clean-text-node textarea::placeholder{color:#b0b3b1}.reference-body,.generator-body,.review-body{display:flex;flex-direction:column;gap:10px}.drop-zone{min-height:205px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#7c7f82;background:#fafaf8;border:1px dashed #cfd0cd;border-radius:6px;cursor:pointer}.drop-zone:hover{color:#35373a;background:#f7f7f4;border-color:#aeb0ad}.drop-zone strong{color:#35373a;font-size:12px}.drop-zone span{font-size:10px}.drop-zone input{display:none}.reference-preview{position:relative;min-height:205px;overflow:hidden;background:#efefed;border-radius:6px}.reference-preview img,.reference-preview video,.media-stage img,.media-stage video,.review-item img,.review-item video{width:100%;height:100%;display:block;object-fit:cover}.media-clear{position:absolute;top:7px;right:7px;width:26px;height:26px;color:#fff;background:#161718b8;border-radius:6px}.url-row{display:flex;align-items:center;gap:7px;padding:0 8px;color:#8b8e91;background:#f8f8f6;border:1px solid #e3e3e0;border-radius:5px}.url-row input{min-width:0;width:100%;height:32px;padding:0;background:transparent;border:0;outline:0;font-size:10px}.url-row input::placeholder{color:#a2a4a6}.node-note{margin:0;color:#898c8f;font-size:10px;line-height:1.45}.brief-body textarea{width:100%;min-height:150px;padding:12px;resize:none;color:#34363a;background:#fafaf8;border:1px solid #e2e2df;border-radius:6px;outline:none;font-size:12px;line-height:1.55}.brief-body textarea:focus{border-color:#8e9ae9;box-shadow:0 0 0 2px #5368e81a}.compact-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.compact-grid span{min-width:0;padding:8px;overflow:hidden;color:#777a7e;background:#f7f7f5;border-radius:5px;font-size:9px;line-height:1.35}.compact-grid b{display:block;margin-bottom:4px;color:#333538;font-size:9px;text-transform:uppercase}.blueprint-body{overflow:auto}.preset-chip{display:inline-flex;align-items:center;gap:6px;margin-bottom:10px;padding:6px 8px;color:#8e462f;background:#faece7;border-radius:5px;font-size:10px;font-weight:700}.blueprint-list{display:grid}.blueprint-list>div{min-width:0;display:grid;grid-template-columns:68px minmax(0,1fr);gap:10px;padding:8px 2px;border-bottom:1px solid #efefed}.blueprint-list b{color:#46484b;font-size:9px;text-transform:uppercase}.blueprint-list span{color:#797c80;font-size:10px;line-height:1.38}.media-stage{position:relative;min-height:290px;flex:1;overflow:hidden;background:#f2f2ef;border:1px solid #e1e1de;border-radius:6px}.video-stage{min-height:315px}.empty-media{width:100%;height:100%;min-height:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#a1a3a5;font-size:10px}.empty-media.small{min-height:150px}.media-loading{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#fff;background:#1a1c1fb3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);font-size:11px;font-weight:700}.spin{animation:spin .85s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.generator-summary{display:flex;align-items:center;gap:6px}.generator-summary span{padding:4px 6px;color:#6f7276;background:#f4f4f2;border-radius:4px;font-size:9px;text-transform:capitalize}.generator-summary span:first-child{color:#34363a;font-weight:700}.inline-error{margin:0;padding:7px 8px;color:#923d34;background:#fbe9e7;border-radius:5px;font-size:9px;line-height:1.4}.run-button{width:100%;min-height:38px;color:#4455bd;background:#eef0ff;border:1px solid #dce0ff}.run-button:hover{background:#e6e9ff}.run-button.dark{color:#fff;background:#202124;border-color:#202124}.review-grid{min-height:330px;display:grid;grid-template-rows:1fr 1fr;gap:8px}.review-item{position:relative;min-height:0;overflow:hidden;background:#f2f2ef;border:1px solid #e1e1de;border-radius:6px}.review-item>a{position:absolute;right:7px;bottom:7px;display:grid;place-items:center;width:28px;height:28px;color:#fff;background:#161718b8;border-radius:6px}.review-checks{display:flex;gap:6px}.review-checks span{display:inline-flex;align-items:center;gap:4px;padding:5px 6px;color:#8d9093;background:#f4f4f2;border-radius:4px;font-size:8px;font-weight:700}.review-checks span.done{color:#276849;background:#e7f4ed}.left-toolbar{position:absolute;top:50%;left:18px;z-index:20;display:flex;flex-direction:column;align-items:center;gap:4px;padding:9px 7px;background:#fffffff5;border:1px solid #e1e2df;border-radius:16px;box-shadow:0 8px 28px #1b1d1f14;transform:translateY(-50%)}.icon-button{display:grid;place-items:center;width:32px;height:32px;padding:0;color:#66696d;background:transparent;border:0;border-radius:9px}.icon-button:hover{color:#202124;background:#f2f2ef}.icon-button.active{color:#fff;background:#202124}.toolbar-divider{width:22px;height:1px;margin:3px 0;background:#e7e7e4}.add-wrap{position:relative}.add-menu{position:absolute;top:-6px;left:44px;width:176px;display:grid;gap:2px;padding:6px;background:#fff;border:1px solid #dedfdd;border-radius:7px;box-shadow:var(--shadow)}.add-menu button{display:flex;align-items:center;gap:8px;min-height:34px;padding:0 9px;color:#4c4f52;background:transparent;border:0;border-radius:5px;font-size:11px;text-align:left}.add-menu button:hover{background:#f4f4f2}.zoom-controls{position:absolute;right:14px;bottom:14px;z-index:15;display:flex;align-items:center;gap:2px;padding:4px;background:#fffffff5;border:1px solid #e1e2df;border-radius:12px;box-shadow:0 6px 18px #1b1d1f14}.zoom-controls .icon-button{width:30px;height:30px}.zoom-controls>span{min-width:40px;color:#777a7d;font-size:10px;text-align:center}.inspector-toggle{position:absolute;top:10px;right:10px;z-index:15;width:32px;height:32px;background:#fffffff5;border:1px solid #e1e2df;border-radius:10px;box-shadow:0 6px 18px #1b1d1f14}.inspector{position:absolute;top:0;right:0;bottom:0;z-index:25;width:280px;min-width:0;display:grid;grid-template-rows:50px minmax(0,1fr);background:#fff;border-left:1px solid #e1e2df;box-shadow:-8px 0 24px #191c2014}.inspector-header{display:grid;grid-template-columns:30px minmax(0,1fr) 28px;align-items:center;gap:8px;padding:0 12px;border-bottom:1px solid #ebebe8}.inspector-header>div{display:grid;place-items:center;width:30px;height:30px;color:#525559;background:#f2f2ef;border-radius:6px}.inspector-header>span{min-width:0}.inspector-header b,.inspector-header small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inspector-header b{color:#34363a;font-size:12px}.inspector-header small{margin-top:2px;color:#8c8f92;font-size:9px}.inspector-header>button{width:28px;height:28px}.inspector-content{min-height:0;overflow:auto;padding:12px}.field{display:grid;gap:6px;margin-bottom:13px}.field>span{color:#66696c;font-size:10px;font-weight:700}.field input:not([type=range]),.field textarea,.field select{width:100%;color:#36383b;background:#fafaf8;border:1px solid #dedfdd;border-radius:6px;outline:none;font-size:11px}.field input:not([type=range]),.field select{height:36px;padding:0 9px}.field textarea{min-height:70px;padding:9px;resize:vertical;line-height:1.45}.field input:focus,.field textarea:focus,.field select:focus{border-color:#8e9ae9;box-shadow:0 0 0 2px #5368e81a}.field textarea.compiled-prompt{min-height:200px;color:#64676b;background:#f5f5f2;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px}.field input[type=range]{width:100%;accent-color:#202124}.model-banner{display:flex;align-items:center;gap:10px;margin-bottom:16px;padding:10px;color:#45484b;background:#f4f4f1;border-radius:6px}.model-banner b,.model-banner span{display:block}.model-banner b{font-size:11px}.model-banner span{margin-top:2px;color:#85888b;font-size:9px}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding:9px 10px;background:#f7f7f5;border-radius:6px}.toggle-row>span{display:flex;align-items:center;gap:7px;color:#505357;font-size:10px;font-weight:600}.toggle-row input{accent-color:#202124}.inspector-copy{color:#73767a;font-size:11px;line-height:1.55}.inspector-copy b{color:#34363a;font-size:12px}.inspector-copy .secondary-button{margin-top:8px}.inspector-empty{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#999b9d;text-align:center}.inspector-empty p{max-width:160px;margin:0;font-size:11px;line-height:1.5}.analysis-body,.asset-body,.director-blueprint,.director-review{display:flex;flex-direction:column;gap:10px}.analysis-summary{display:grid;grid-template-columns:9px minmax(0,1fr);gap:9px;padding:10px;background:#f7f7f4;border:1px solid #e7e7e3;border-radius:6px}.analysis-summary p{margin:0;color:#505357;font-size:10px;line-height:1.5}.job-dot{width:8px;height:8px;margin-top:3px;background:#bbbdbf;border-radius:50%}.job-dot.processing{background:#ca8f2d;box-shadow:0 0 0 4px #fff2d7}.job-dot.complete{background:var(--green);box-shadow:0 0 0 4px #e7f4ed}.job-dot.error{background:#b94f43;box-shadow:0 0 0 4px #fbe9e7}.dimension-grid{min-height:0;display:grid;grid-template-columns:1fr 1fr;gap:6px;overflow:auto}.dimension-grid button{min-width:0;min-height:36px;display:flex;align-items:center;gap:7px;padding:0 8px;color:#55585b;background:#fff;border:1px solid #e3e3df;border-radius:5px;font-size:9px;text-align:left}.dimension-grid button:hover{border-color:#b8bde1;background:#f7f8ff}.dimension-grid button svg{flex:none;color:#5f70dc}.dimension-grid button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.understanding-strip{display:flex;flex-wrap:wrap;gap:5px}.understanding-strip span,.blueprint-meta span{padding:4px 6px;color:#606367;background:#f1f1ee;border-radius:4px;font-size:8px;text-transform:capitalize}.blueprint-meta{display:flex;gap:6px}.blueprint-meta span:first-child{color:#4e5fc2;background:#eef0ff;font-weight:700}.scene-list{min-height:0;display:grid;align-content:start;gap:7px;overflow:auto}.scene-list>button{min-width:0;min-height:72px;display:grid;grid-template-columns:30px minmax(0,1fr) auto 16px;align-items:center;gap:9px;padding:8px 9px;color:#46494c;background:#fafaf8;border:1px solid #e4e4e0;border-radius:6px;text-align:left}.scene-list>button:hover,.scene-list>button.active{background:#f5f6ff;border-color:#aeb7ea}.scene-list i{display:grid;place-items:center;width:28px;height:28px;color:#6a70a8;background:#eceefd;border-radius:5px;font-size:9px;font-style:normal;font-weight:800}.scene-list b,.scene-list small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scene-list b{font-size:10px}.scene-list small{margin-top:5px;color:#84878a;font-size:9px}.scene-list time{color:#777a7e;font-size:9px}.blueprint-add{flex:none}.model-pair{display:grid;grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);align-items:center;gap:8px;padding:10px;background:#f7f7f4;border:1px solid #e7e7e3;border-radius:6px}.model-pair>span{min-width:0;display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:2px 6px}.model-pair b,.model-pair small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-pair b{font-size:10px}.model-pair small{grid-column:2;color:#8b8d90;font-size:8px}.model-pair>svg{color:#a0a2a4}.asset-progress{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px}.asset-progress>div:first-child{display:grid}.asset-progress b{font-size:13px}.asset-progress span{color:#85888b;font-size:8px}.progress-track{height:5px;overflow:hidden;background:#e7e7e3;border-radius:3px}.progress-track i{height:100%;display:block;background:#5a6bd5}.asset-scene-grid{min-height:0;display:grid;grid-template-columns:1fr 1fr;align-content:start;gap:8px;overflow:auto}.asset-scene-grid>button{min-width:0;padding:0;overflow:hidden;color:#45484b;background:#fafaf8;border:1px solid #e2e2de;border-radius:6px;text-align:left}.asset-scene-grid>button:hover{border-color:#aeb7ea}.asset-scene-grid>button.stale{border-color:#d8a54c;box-shadow:inset 0 0 0 1px #f7e3b6}.asset-scene-grid>button>div{height:92px;display:grid;place-items:center;overflow:hidden;color:#9a9da0;background:#efefec}.asset-scene-grid img,.asset-scene-grid video,.review-rail img,.review-rail video,.review-stage img,.review-stage video{width:100%;height:100%;display:block;object-fit:cover}.asset-scene-grid>button>span{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:7px 8px}.asset-scene-grid b,.asset-scene-grid small{font-size:8px}.asset-scene-grid small{color:#85888b}.asset-actions,.inspector-action-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px}.asset-actions .run-button,.inspector-action-row .run-button,.inspector-action-row .secondary-button{min-width:0}.output-provenance{display:grid;gap:4px;padding:10px;color:#64676b;background:#f6f6f3;border:1px solid #e1e2df;border-radius:6px}.output-provenance>span{display:flex;align-items:center;gap:6px;color:#3d4044;font-size:11px}.output-provenance small{font-size:9px;line-height:1.35}.output-provenance.stale{color:#7a581b;background:#fff8e8;border-color:#e6c785}.mini-version-list{display:grid;gap:5px}.mini-version-list>button{display:grid;gap:3px;padding:8px;color:#505357;background:#fafaf8;border:1px solid #e4e4e0;border-radius:5px;text-align:left}.mini-version-list>button:hover{border-color:#aeb7ea}.mini-version-list span{display:flex;align-items:center;gap:6px;font-size:10px}.mini-version-list small{color:#85888b;font-size:8px}.centered{text-align:center}.review-rail{display:flex;gap:7px;overflow-x:auto}.review-rail>button{position:relative;width:72px;min-width:72px;height:58px;padding:0;overflow:hidden;color:#999b9e;background:#efefec;border:2px solid transparent;border-radius:5px}.review-rail>button.active{border-color:#5a6bd5}.review-rail>button>div{width:100%;height:100%;display:grid;place-items:center}.review-rail>button>span{position:absolute;right:3px;bottom:3px;display:grid;place-items:center;width:15px;height:15px;color:#fff;background:#141517b8;border-radius:3px;font-size:8px}.review-stage{min-height:0;flex:1;overflow:hidden;background:#ededeb;border:1px solid #dfdfdc;border-radius:6px}.feedback-box{display:grid;grid-template-columns:18px minmax(0,1fr);gap:7px;padding:8px;color:#777a7d;background:#fafaf8;border:1px solid #e1e1de;border-radius:6px}.feedback-box textarea{min-height:58px;padding:0;resize:none;color:#424448;background:transparent;border:0;outline:0;font-size:10px;line-height:1.45}.review-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.scene-inspector-heading{position:relative;display:grid;gap:4px;margin-bottom:16px;padding:10px;background:#f1f2fb;border-left:3px solid #5a6bd5;border-radius:0 5px 5px 0}.scene-inspector-heading button{position:absolute;top:6px;right:6px;width:26px;height:26px;display:grid;place-items:center;padding:0;color:#777a7e;background:transparent;border:0;border-radius:5px}.scene-inspector-heading button:hover{color:#a13e34;background:#fbe9e7}.scene-inspector-heading span{color:#7277a3;font-size:8px;font-weight:800;text-transform:uppercase}.scene-inspector-heading b{font-size:11px}.node-analysis .node-body,.node-blueprint .node-body,.node-assets .node-body,.node-review .node-body{overflow:hidden}.node-definition{margin:0;color:#777a7e;font-size:10px;line-height:1.45}.source-facts,.analysis-stats,.assembly-summary,.inspector-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.source-facts{grid-template-columns:minmax(0,1fr)}.source-facts span,.analysis-stats span,.assembly-summary span,.inspector-kpis span{min-width:0;display:grid;gap:2px;padding:7px;color:#85888b;background:#f5f5f2;border-radius:5px;font-size:8px}.source-facts b,.analysis-stats b,.assembly-summary b,.inspector-kpis b{overflow:hidden;color:#34363a;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.intent-body,.product-body,.assembly-body{display:flex;flex-direction:column;gap:10px}.node-field{min-width:0;display:grid;gap:5px}.node-field>span{color:#6d7074;font-size:8px;font-weight:700;text-transform:uppercase}.node-field input,.node-field textarea,.node-field select{width:100%;min-width:0;color:#35373a;background:#fafaf8;border:1px solid #e1e2df;border-radius:6px;outline:none;font-size:10px}.node-field input,.node-field select{height:32px;padding:0 8px}.node-field textarea{min-height:68px;padding:8px;resize:none;line-height:1.4}.node-field.compact textarea{min-height:52px}.node-field input:focus,.node-field textarea:focus,.node-field select:focus{border-color:#8e9ae9;box-shadow:0 0 0 2px #5368e81a}.intent-direct-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.product-reference-count{display:inline-flex;align-items:center;gap:5px;color:#7c7f83;font-size:8px}.app-recovery{width:100%;height:100%;display:grid;place-items:center;padding:24px;background:#f7f7f5}.app-recovery section{width:min(420px,100%);padding:20px;background:#fff;border:1px solid #dedfdf;border-radius:8px;box-shadow:var(--shadow)}.app-recovery b{font-size:14px}.app-recovery p{color:#74777d;font-size:11px;line-height:1.5}.app-recovery button{min-height:36px;padding:0 12px;color:#fff;background:#202124;border:0;border-radius:6px;font-weight:700}.intent-body textarea,.product-goal{width:100%;min-height:110px;padding:10px;resize:none;color:#35373a;background:#fafaf8;border:1px solid #e1e2df;border-radius:6px;outline:none;font-size:11px;line-height:1.5}.product-name{width:100%;height:34px;display:flex;align-items:center;gap:8px;padding:0 9px;color:#34363a;background:#fafaf8;border:1px solid #e1e2df;border-radius:6px;outline:none;font-size:11px;font-weight:700}.product-name span,.product-name b,.product-name small{min-width:0;display:block}.product-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-name small{margin-top:2px;color:#8c8f92;font-size:8px;font-weight:500}.product-assets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.product-assets label,.product-assets>div{position:relative;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;color:#8c8f92;background:#f3f3f0;border:1px solid #e0e1de;border-radius:6px;font-size:8px;text-align:center}.product-assets img{width:100%;height:100%;object-fit:cover}.product-assets>div>span{position:absolute;left:4px;bottom:4px;padding:3px 4px;color:#fff;background:#191b1eb8;border-radius:3px;text-transform:capitalize}.product-assets>div>button{position:absolute;top:4px;right:4px;width:22px;height:22px;display:grid;place-items:center;padding:0;color:#fff;background:#191b1eb8;border:0;border-radius:4px}.product-assets input{display:none}.inspector-explainer{margin-bottom:12px;padding:9px 10px;background:#f5f5f2;border-left:3px solid #85888d;border-radius:0 5px 5px 0}.inspector-explainer b{color:#34363a;font-size:11px}.inspector-explainer p,.inspector-note{margin:4px 0 0;color:#777a7e;font-size:9px;line-height:1.45}.inspector-kpis{margin-bottom:12px}.inspector-content details{margin-bottom:9px;background:#fafaf8;border:1px solid #e3e3df;border-radius:6px}.inspector-content summary{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 9px;color:#45484b;cursor:pointer;font-size:10px;font-weight:700;list-style:none}.inspector-content summary::-webkit-details-marker{display:none}.inspector-content details>p{margin:0;padding:0 9px 9px;color:#74777a;font-size:9px;line-height:1.5}.analysis-detail{display:grid;grid-template-columns:58px minmax(0,1fr);gap:8px;padding:7px 9px;border-top:1px solid #ebebe8}.analysis-detail b,.analysis-detail span{color:#777a7e;font-size:8px;line-height:1.4}.analysis-detail b{color:#45484b}.field>span small{margin-left:5px;color:#a0a2a4;font-size:8px;font-weight:500}.field textarea.tall{min-height:112px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}.field-pair .field{min-width:0}.secondary-button.full{width:100%}.cost-line{display:grid;grid-template-columns:16px minmax(0,1fr) auto auto;align-items:center;gap:6px;padding:7px 8px;color:#707377;background:#f4f4f1;border-radius:5px;font-size:9px}.cost-line b{color:#34363a}.cost-line small{color:#96999c;font-size:8px}.scene-list em{color:#9a6a1b;font-size:8px;font-style:normal;font-weight:700}.empty-state{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:16px;color:#989b9e;background:#f5f5f2;border:1px dashed #d8d9d6;border-radius:6px;text-align:center}.empty-state b,.empty-state span{max-width:220px;font-size:9px;line-height:1.4}.empty-state b{color:#55585b;font-size:10px}.assembly-track{min-height:48px;display:flex;align-items:stretch;gap:3px;padding:6px;overflow:hidden;background:#f2f2ef;border-radius:6px}.assembly-track>div{min-width:8px;display:grid;place-items:center;color:#9b9da0;background:#dfe0dd;border-radius:3px;font-size:7px}.assembly-track>div.ready{color:#246849;background:#cde8da}.assembly-track>div.stale{color:#7e5815;background:#f3dca8}.assembly-track p{margin:auto;color:#96999c;font-size:9px}.assembly-checks{display:flex;gap:6px}.assembly-checks span{display:inline-flex;align-items:center;gap:4px;padding:5px 7px;color:#8b8e91;background:#f4f4f1;border-radius:4px;font-size:8px;font-weight:700}.assembly-checks span.done{color:#276849;background:#e7f4ed}.history-button.active{color:#24316f;background:#eef0ff;border-color:#aeb7ea}.history-button small{min-width:18px;padding:2px 5px;color:#62656a;background:#eeeeeb;border-radius:4px;font-size:9px}.history-panel{position:fixed;z-index:45;top:50px;right:0;bottom:0;width:min(410px,92vw);display:grid;grid-template-rows:auto auto auto minmax(0,1fr);color:#292b2f;background:#fff;border-left:1px solid #dbdcda;box-shadow:-14px 0 32px #191c201c}.history-header,.history-toolbar,.history-entry-title,.history-meta,.history-actions{display:flex;align-items:center}.history-header{justify-content:space-between;min-height:60px;padding:0 16px;border-bottom:1px solid #e7e7e4}.history-header>div,.history-header span{display:flex;align-items:center}.history-header>div{gap:9px}.history-header span{align-items:flex-start;flex-direction:column;gap:2px}.history-header b{font-size:13px}.history-header small{color:#818489;font-size:9px}.history-header>button,.history-entry-title>button{display:grid;place-items:center;padding:0;color:#777a7e;background:transparent;border:0}.history-header>button{width:30px;height:30px}.history-toolbar{justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:1px solid #ededeb}.history-filters{display:flex;min-width:0;padding:2px;background:#f0f0ed;border-radius:6px}.history-filters button{min-width:0;padding:6px 8px;color:#777a7e;background:transparent;border:0;border-radius:4px;font-size:9px;font-weight:700}.history-filters button.active{color:#25272a;background:#fff;box-shadow:0 1px 3px #181a1d1f}.history-save{min-height:30px;padding:0 9px;white-space:nowrap}.history-error{margin:8px 12px 0;padding:8px 10px;color:#9a4035;background:#fcede9;border-radius:5px;font-size:9px}.history-list{min-height:0;display:grid;align-content:start;gap:8px;padding:12px;overflow-y:auto}.history-entry{display:grid;grid-template-columns:88px minmax(0,1fr);gap:10px;padding:8px;background:#fafaf8;border:1px solid #e1e2de;border-radius:7px}.history-preview{width:88px;height:88px;display:grid;place-items:center;padding:0;overflow:hidden;color:#72767b;background:#ecece8;border:0;border-radius:5px;cursor:pointer}.history-preview:disabled{cursor:default}.history-preview img,.history-preview video{width:100%;height:100%;display:block;object-fit:cover}.history-preview.kind-analysis{color:#b45640;background:#f8e9e4}.history-preview.kind-blueprint{color:#5966c7;background:#eceeff}.history-entry-main{min-width:0;display:grid;align-content:start;gap:5px}.history-entry-title{justify-content:space-between;gap:7px}.history-entry-title>span{min-width:0;display:grid;gap:2px}.history-entry-title small{color:#7b7e82;font-size:8px;font-weight:700;text-transform:uppercase}.history-entry-title b{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.history-entry-title>button{width:24px;height:24px}.history-entry p{margin:0;color:#676a6f;font-size:9px;line-height:1.35}.history-meta{flex-wrap:wrap;gap:4px 8px;color:#8a8d91;font-size:8px}.history-meta b{color:#3f684f}.history-actions{flex-wrap:wrap;gap:5px;padding-top:2px}.history-actions button,.history-actions a{display:inline-flex;align-items:center;gap:4px;min-height:25px;padding:0 7px;color:#45484c;background:#fff;border:1px solid #d9dad7;border-radius:4px;font-size:8px;font-weight:700;text-decoration:none}.history-actions button:hover,.history-actions a:hover{border-color:#aeb7ea}.node-example{display:grid;gap:5px;padding:10px;background:#f3f4ee;border-left:3px solid #8ea04e;border-radius:3px}.node-example span{color:#6c743f;font-size:8px;font-weight:800;text-transform:uppercase}.node-example p{margin:0;color:#53565a;font-size:9px;line-height:1.45}.history-viewer-backdrop{position:fixed;z-index:80;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#181a1d6b;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.history-viewer{width:min(980px,calc(100vw - 48px));height:min(720px,calc(100vh - 48px));display:grid;grid-template-rows:62px minmax(0,1fr);overflow:hidden;color:#292b2f;background:#fff;border:1px solid #d4d5d2;border-radius:8px;box-shadow:0 24px 70px #14171b3d}.history-viewer>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 18px;border-bottom:1px solid #e4e5e2}.history-viewer>header>div{min-width:0}.history-viewer>header span{display:block;color:#777b80;font-size:8px;font-weight:800;text-transform:uppercase}.history-viewer>header h2{margin:3px 0 0;overflow:hidden;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.history-viewer>header button{width:34px;height:34px;display:grid;flex:0 0 auto;place-items:center;padding:0;color:#6e7276;background:transparent;border:0}.history-viewer-body{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 310px}.history-viewer-stage{min-width:0;min-height:0;display:grid;place-items:center;overflow:auto;padding:20px;background:#f1f1ee}.history-viewer-stage>video,.history-viewer-stage>img{width:100%;height:100%;max-height:100%;display:block;object-fit:contain;background:#17191c;border-radius:5px}.history-viewer-details{min-height:0;display:grid;align-content:start;gap:14px;padding:18px;overflow-y:auto;border-left:1px solid #e1e2df}.history-viewer-facts{display:grid;gap:10px}.history-viewer-facts span,.history-viewer-scene{min-width:0;display:grid;gap:3px}.history-viewer-facts small,.history-viewer-scene small{color:#8a8d91;font-size:8px;font-weight:700;text-transform:uppercase}.history-viewer-facts b,.history-viewer-scene b{overflow-wrap:anywhere;font-size:10px}.history-viewer-details>p,.history-viewer-scene span,.history-viewer-details details p{margin:0;color:#666a6e;font-size:9px;line-height:1.5}.history-viewer-details details{border-top:1px solid #e6e7e4}.history-viewer-details summary{min-height:38px;display:flex;align-items:center;justify-content:space-between;color:#474a4e;font-size:9px;font-weight:800;cursor:pointer}.history-viewer-details details p{max-height:190px;padding:0 0 12px;overflow-y:auto}.history-viewer-actions{display:flex;flex-wrap:wrap;gap:7px}.history-viewer-actions a{min-height:31px;display:inline-flex;align-items:center;gap:6px;padding:0 9px;color:#3f4347;background:#f7f7f4;border:1px solid #d8d9d6;border-radius:4px;font-size:9px;font-weight:800;text-decoration:none}.history-analysis-output,.history-blueprint-output{width:min(680px,100%);display:grid;gap:14px}.history-analysis-output>div:first-child,.history-blueprint-output>div:first-child{display:flex;align-items:center;gap:10px}.history-analysis-output>div:first-child span,.history-blueprint-output>div:first-child span{display:grid;gap:2px}.history-analysis-output>div:first-child b,.history-blueprint-output>div:first-child b{font-size:13px}.history-analysis-output>div:first-child small,.history-blueprint-output>div:first-child small{color:#777b7f;font-size:9px}.history-analysis-output>p{margin:0;color:#55595d;font-size:11px;line-height:1.55}.history-analysis-output>div:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;overflow:hidden;background:#dfe0dc;border:1px solid #dfe0dc;border-radius:5px}.history-analysis-output section{min-width:0;display:grid;gap:4px;padding:9px;background:#fff}.history-analysis-output section b{color:#55595d;font-size:8px;text-transform:uppercase}.history-analysis-output section span{color:#6c7074;font-size:9px;line-height:1.35}.history-blueprint-output>div:last-child{display:grid;gap:7px}.history-blueprint-output section{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px;background:#fff;border:1px solid #dedfdb;border-radius:5px}.history-blueprint-output section i{color:#5c67bd;font-size:10px;font-style:normal;font-weight:800}.history-blueprint-output section span{min-width:0;display:grid;gap:3px}.history-blueprint-output section b{font-size:10px}.history-blueprint-output section small,.history-blueprint-output section em{color:#7d8185;font-size:8px;font-style:normal}.history-viewer-empty{display:grid;place-items:center;gap:7px;color:#8b8f93;text-align:center}.history-viewer-empty b{color:#55595d;font-size:11px}.history-viewer-empty span{font-size:9px}.history-empty{min-height:220px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:#96999d;text-align:center}.history-empty b{color:#55585c;font-size:11px}.history-empty span{max-width:230px;font-size:9px;line-height:1.4}.assembly-preview,.assembly-empty{width:100%;min-height:250px;flex:1;overflow:hidden;background:#ededeb;border-radius:6px;object-fit:cover}.billing-pill{min-height:30px;display:inline-flex;align-items:center;gap:6px;padding:0 9px;color:#85601c;background:#fff4da;border:1px solid #f0dfb9;border-radius:6px;font-size:9px}.billing-pill.connected{color:#276849;background:#eaf5ef;border-color:#cfe7da}.billing-pill.checking{color:#686b70;background:#f4f4f1;border-color:#dedfdd}.header-icon-button.history-button small{top:-4px;right:-4px;min-width:16px;height:16px;padding:0 4px;color:#fff;background:#202124;border:2px solid #fff;border-radius:8px;font-size:8px;line-height:12px}.billing-pill small{color:#85888b;font-size:8px}.session-cost{display:inline-flex;align-items:center;gap:5px;color:#6e7175;font-size:9px;white-space:nowrap}@media(max-width:900px){.topbar{grid-template-columns:minmax(0,1fr) auto}.topbar-center,.save-state,.secondary-button.compact{display:none}.secondary-button.compact.history-button{display:inline-flex}.inspector{position:absolute;right:0;bottom:0;width:min(88vw,340px);min-width:0;height:calc(100% - 1px);box-shadow:-10px 0 30px #191c201f}.history-viewer-body{grid-template-columns:minmax(0,1fr) 270px}}@media(max-width:560px){.space-app{grid-template-rows:50px minmax(0,1fr)}.topbar{padding:0 8px}.history-panel{top:50px;width:100vw}.history-viewer-backdrop{padding:0}.history-viewer{width:100vw;height:100vh;border:0;border-radius:0}.history-viewer-body{grid-template-columns:1fr;grid-template-rows:minmax(280px,55vh) minmax(0,1fr)}.history-viewer-stage{padding:10px}.history-viewer-details{border-top:1px solid #e1e2df;border-left:0}.history-analysis-output>div:last-child{grid-template-columns:1fr}.brand-mark>div{gap:4px}.brand-mark b{display:none}.brand-mark input{max-width:150px}.primary-action{width:38px;min-width:38px;padding:0;font-size:0}.primary-action svg{width:17px;height:17px}.left-toolbar{top:auto;bottom:12px;left:50%;flex-direction:row;transform:translate(-50%)}.toolbar-divider{width:1px;height:22px;margin:0 3px}.left-toolbar .icon-button:nth-of-type(n+6){display:none}.add-menu{top:auto;bottom:44px;left:0}.zoom-controls{right:8px;bottom:64px}}
