:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#263341;background:#f1f4f7;font-size:13px;font-synthesis:none;--accent:#087e91;--line:#dce2e8;--muted:#6e7a88;--panel:#fff;--soft:#f6f8fa}*{box-sizing:border-box}body{margin:0;height:100dvh;display:flex;flex-direction:column;overflow:hidden}button,select,input{font:inherit}button{border:1px solid var(--line);background:#fff;border-radius:6px;padding:7px 10px;color:inherit;cursor:pointer;line-height:1.35;transition:background .12s,border-color .12s}button:hover{background:#edf5f6;border-color:#a9c8cd}button:disabled{opacity:.4;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #14a4b9;outline-offset:2px}button.active,button[aria-pressed=true]{background:#e3f2f4;color:#006f81;border-color:#9ecbd2}button.primary{color:#fff;background:var(--accent);border-color:var(--accent);font-weight:600}button.primary:hover{background:#066978}button.danger-quiet{color:#a43d45}select,input[type=number],input[type=text]{border:1px solid var(--line);border-radius:5px;background:#fff;padding:7px 8px;min-width:0;color:inherit;width:100%}select{cursor:pointer}input[type=color]{height:32px;width:100%;padding:2px;border:1px solid var(--line);border-radius:5px;background:#fff;cursor:pointer}input[type=checkbox]{accent-color:var(--accent)}label{display:flex;flex-direction:column;gap:6px;color:#546273;font-size:12px}h2,h3,p{margin:0}h2{font-size:15px;font-weight:650}h3{font-size:12px;font-weight:650;color:#465565}.app-header{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid var(--line);background:#fff;gap:16px;flex-shrink:0}.brand{display:flex;gap:10px;align-items:center;white-space:nowrap}.brand strong{font-size:16px;letter-spacing:-.4px}.brand small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.brand-mark{width:35px;height:35px;display:grid;place-items:center;border:1px solid #8cbac2;color:#087e91;border-radius:9px;font-weight:700;font-size:13px;background:#edf7f8}.document-title{font-size:12px;color:var(--muted);text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-actions{display:flex;align-items:center;gap:6px}.separator{width:1px;height:20px;background:var(--line);margin:0 5px}.workspace{display:grid;grid-template-columns:230px minmax(0,1fr) 268px;flex:1;min-height:0;overflow:hidden}.panel{background:var(--panel);min-width:0;overflow-y:auto;scrollbar-width:thin}.left-panel{border-right:1px solid var(--line)}.right-panel{border-left:1px solid var(--line);padding-bottom:16px}.tabs{display:flex;padding:12px 10px 0;gap:3px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.tabs button{border:0;border-radius:5px 5px 0 0;padding:9px;color:var(--muted);font-size:12px}.tabs button[aria-selected=true]{color:var(--accent);border-bottom:2px solid var(--accent);background:#edf6f7}.tab-content{padding:16px 12px}.tab-content[hidden]{display:none}.panel-heading{margin:0 2px 16px}.panel-heading p{font-size:11px;line-height:1.6;color:var(--muted);margin-top:7px}.catalog{display:grid;grid-template-columns:1fr 1fr;gap:8px}.catalog-card{display:flex;flex-direction:column;align-items:center;justify-content:space-between;height:108px;background:#fafbfc;padding:10px 5px;position:relative}.catalog-card svg{width:63px;height:53px;stroke:#5d6d79;fill:#e4e8e7;stroke-width:1.4;stroke-linejoin:round}.catalog-card .catalog-label{font-size:11px}.catalog-card .add-plus{position:absolute;right:7px;top:5px;color:#8c9ba6;font-size:15px}.source-note{font-size:10px;color:#8a949e;line-height:1.6;margin:18px 2px 0}.scene-list{display:flex;flex-direction:column;gap:3px}.scene-list button{border:1px solid transparent;text-align:left;display:flex;align-items:center;gap:8px;padding:8px;font-size:12px;background:transparent}.scene-list button:hover{background:#f1f6f8}.scene-list button.selected{background:#e9f5f6;border-color:#aed2d7;color:#006e7d}.entity-dot{width:8px;height:8px;border-radius:2px;flex-shrink:0;border:1px solid #0001}.entity-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.group-label{font-size:10px;font-weight:650;letter-spacing:.7px;text-transform:uppercase;color:#95a0aa;padding:14px 8px 6px}.compact{margin-top:12px}.compact button{font-size:11px}.editor{display:flex;flex-direction:column;min-height:0;min-width:0;background:#e9edf0;position:relative}.view-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 10px;background:#fafbfc;border-bottom:1px solid var(--line);min-height:49px;flex-wrap:wrap}.toolbar-group{display:flex;gap:3px;align-items:center}.toolbar-group button{font-size:11px;padding:6px 8px;white-space:nowrap}.toolbar-group select{font-size:11px;width:112px;padding:6px}.mode-group{gap:0}.mode-group button{border-radius:0}.mode-group button:first-child{border-radius:5px 0 0 5px}.mode-group button:last-child{border-radius:0 5px 5px 0;margin-left:-1px}#viewport{position:relative;flex:1;min-height:100px;overflow:hidden;outline:none}#viewport canvas{display:block}#viewport .loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:10px;z-index:5;pointer-events:none;background:#edf1f4;color:#687a88}.spinner{width:18px;height:18px;border:2px solid #c6d7dc;border-top-color:#0b8b9d;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.viewport-help{display:flex;justify-content:space-between;gap:12px;padding:7px 12px;color:#7b8792;font-size:10px;background:#f8fafb;border-top:1px solid var(--line)}.viewport-help label{font-size:10px;flex-direction:row;align-items:center;gap:4px;white-space:nowrap}.inspector-heading{padding:17px 15px 12px;border-bottom:1px solid #eef1f4;display:flex;justify-content:space-between;gap:8px}.inspector-heading h2{margin-top:5px;font-size:14px;overflow-wrap:anywhere}.eyebrow{font-size:9px;color:#8a98a4;font-weight:700;letter-spacing:1.3px}#inspector{padding:15px}.empty-inspector{padding:9px 0 12px;font-size:12px;line-height:1.8;color:var(--muted)}.field-section{padding-top:18px;margin-top:16px;border-top:1px solid #edf0f3;display:flex;flex-direction:column;gap:13px}.field-section h3{margin-bottom:0}.field-section:first-child{margin-top:0;padding-top:0;border-top:0}.field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.field-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.field-grid label{font-size:10px}.field-grid input{padding:7px 5px;font-size:12px}.field-stack{display:flex;flex-direction:column;gap:13px}.field-section .hint,.hint{font-size:11px;line-height:1.65;color:#7b8793}.hint.small{font-size:10px}.button-pair{display:flex;gap:6px}.button-pair button{flex:1;font-size:11px;padding:7px 5px}.button-stack{display:flex;flex-direction:column;gap:6px}.button-stack button{text-align:left;font-size:11px}.selection-actions{display:flex;gap:6px;margin:0 15px 18px}.selection-actions button{flex:1;font-size:11px}.global-settings{margin:0 15px}.status-bar{height:31px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fff;border-top:1px solid var(--line);padding:0 13px;color:#7f8c97;font-size:10px;flex-shrink:0}.status-bar #status{flex:1;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.version-link{font-size:12px;color:#4b5965;border:0;padding:4px 0;text-decoration:underline;text-underline-offset:3px;background:transparent;white-space:nowrap}.mobile-only{display:none}#toast{position:fixed;left:50%;bottom:47px;transform:translate(-50%) translateY(10px);background:#263744;color:#fff;border-radius:8px;padding:12px 18px;box-shadow:0 6px 20px #132c3f26;z-index:200;opacity:0;pointer-events:none;transition:.15s;max-width:min(600px,90vw);font-size:12px}#toast.visible{opacity:1;transform:translate(-50%) translateY(0)}dialog{border:1px solid #d5dde3;border-radius:11px;padding:0;box-shadow:0 30px 100px #172b4b44;color:inherit;background:#fff}dialog::backdrop{background:#13233780;backdrop-filter:blur(3px)}.render-dialog{width:min(1220px,96vw);height:min(820px,94dvh);max-width:none;max-height:none}.dialog-heading{height:68px;display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid var(--line)}.dialog-heading h2{margin-top:4px;font-size:17px}.dialog-heading>button{border:0;font-size:24px;padding:0 8px;background:transparent;color:#8995a0}.render-body{display:grid;grid-template-columns:254px minmax(0,1fr);height:calc(100% - 68px)}.render-settings{display:flex;flex-direction:column;gap:15px;padding:20px;overflow:auto;border-right:1px solid var(--line)}.render-settings>button{width:100%}.render-settings progress{width:100%;height:6px;accent-color:var(--accent)}.check-label{flex-direction:row;align-items:center}.render-preview{background:repeating-conic-gradient(#e9edf0 0 25%,#f5f7f9 0 50%) 0/24px 24px;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;padding:16px;position:relative;overflow:hidden}.render-preview #render-empty{text-align:center;color:#91a0ae;position:absolute;padding:30px}.render-preview #render-empty h3{color:#768795;margin:10px 0}.empty-symbol{font-size:55px;font-weight:200;opacity:.5}.render-preview p{font-size:12px;line-height:1.7}.render-preview canvas,.render-preview img{display:block;width:auto!important;height:auto!important;max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 6px 25px #23394d22}.render-preview img[hidden]{display:none}#render-canvas-host{width:100%;height:100%;display:flex;align-items:center;justify-content:center}#render-canvas-host:empty{display:none}.history-dialog{width:min(650px,94vw);max-height:85dvh}#history-content{padding:22px;line-height:1.75;color:#62717e}.history-entry{margin-bottom:20px;padding-bottom:17px;border-bottom:1px solid #eee}.history-entry h3{font-size:13px;color:#344755;margin-bottom:8px}.history-entry ul{padding-left:20px;margin:0}.error-box{margin:20px;padding:20px;background:#fff3f1;border:1px solid #e4b3aa;border-radius:8px;color:#7f3b34;line-height:1.7;max-width:650px;position:absolute;z-index:20}.view-panel{position:absolute;touch-action:none}.view-label{position:absolute;top:9px;left:10px;font-size:11px;color:#768591;background:#fafcfbd9;border:1px solid #e2e7e8;border-radius:5px;padding:5px 8px;z-index:2}.view-expand{position:absolute;right:8px;top:8px;padding:3px 7px;opacity:.8;font-size:12px}.view-panel:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}@media(max-width:1250px){.workspace{grid-template-columns:206px minmax(0,1fr) 248px}.view-toolbar{padding:7px;gap:5px}.toolbar-group button{font-size:10px;padding:6px}.toolbar-group select{width:98px}.document-title{display:none}.catalog-card{height:103px}.tabs{padding-left:7px;padding-right:7px}.tabs button{font-size:11px;padding:9px 7px}}@media(max-width:960px){.workspace{grid-template-columns:190px minmax(0,1fr) 228px}.app-header{padding:0 10px;gap:8px}.brand small{display:none}.header-actions{gap:4px}.header-actions button{font-size:11px;padding:7px}.catalog{gap:5px}.catalog-card .catalog-label{font-size:10px}.view-toolbar{justify-content:flex-start}.viewport-help>span{display:none}.viewport-help{justify-content:flex-end}.tabs button{padding:9px 5px}.inspector-heading,#inspector{padding-left:11px;padding-right:11px}.global-settings{margin:0 11px}}@media(max-width:760px){.workspace{display:block;position:relative}.editor{height:100%}.left-panel,.right-panel{position:absolute;top:0;bottom:0;width:260px;z-index:30;box-shadow:0 10px 30px #19334a33;display:none}.left-panel{left:0}.right-panel{right:0}.show-left .left-panel,.show-right .right-panel{display:block}.mobile-only{display:inline-block}.app-header{height:57px}.brand-mark{width:29px;height:29px}.brand strong{font-size:13px}.brand{gap:6px}.header-actions{gap:3px}.header-actions .separator{display:none}.header-actions button{font-size:10px;padding:6px}.header-actions #undo,.header-actions #redo{display:none}.view-toolbar{min-height:73px;justify-content:space-between}.toolbar-group select{width:105px}.viewport-help{font-size:9px}.status-bar{font-size:9px;padding:0 8px;gap:5px}.status-bar #status{max-width:40vw}.render-body{grid-template-columns:1fr;grid-template-rows:275px minmax(0,1fr)}.render-settings{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:12px;border-right:0;border-bottom:1px solid var(--line)}.render-settings>p:first-child{grid-column:1/-1}.render-settings .small{display:none}.render-settings>progress{grid-column:1/-1}.render-preview{padding:9px}.dialog-heading{height:60px;padding:12px}.render-body{height:calc(100% - 60px)}}
/*# sourceMappingURL=app.css.map */
