:root{font-family:"Segoe UI",-apple-system,BlinkMacSystemFont,Arial,sans-serif;color:#1f2a37;background:#f5f6f8;font-size:16px;--blue:#1f4e79;--muted:#7a8396;--border:#e3e6ec;--select:#dbe6f3}*{box-sizing:border-box}body{margin:0;height:100dvh;overflow:hidden}button,input,select{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:2px solid #377cbb;outline-offset:3px}button svg,[data-icon] svg{display:block;width:19px;height:19px;flex-shrink:0}[hidden]{display:none!important}.header{height:76px;display:flex;align-items:center;border-bottom:1px solid var(--border);background:white;padding:0 24px;gap:24px}.brand{display:flex;align-items:center;gap:10px;color:var(--blue);text-decoration:none;min-width:260px}.brand>span{font-size:24px;font-weight:650;line-height:1.15;letter-spacing:-.8px}.brand-light{font-weight:350}.brand small{display:block;letter-spacing:1.5px;font-size:9px;margin-top:5px;font-weight:500;color:var(--muted)}.project-heading{display:flex;align-items:center;gap:12px}.eyebrow{font-size:11px;letter-spacing:1.5px;color:var(--muted);font-weight:600}.project-heading strong{font-size:17px;font-weight:600}.badge{font-size:12px;background:#edf3f8;color:var(--blue);border:1px solid #dbe6f3;border-radius:20px;padding:5px 10px}.header-actions{margin-left:auto;display:flex;gap:10px}.button{border:1px solid var(--border);border-radius:7px;background:#fff;color:#394759;min-height:38px;padding:8px 13px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:500;white-space:nowrap}.button:hover{background:#eef1f6;border-color:#cbd3dd}.primary{background:var(--blue);color:white;border-color:var(--blue)}.primary:hover{background:#163a5c;border-color:#163a5c}.small{min-height:32px;padding:6px 9px;font-size:13px}.small svg{width:16px;height:16px}.icon-button{height:34px;width:34px;border:0;display:inline-flex;justify-content:center;align-items:center;background:transparent;border-radius:6px;color:#7a8396;flex-shrink:0}.icon-button:hover{color:var(--blue);background:#eef1f6}.text-button{background:none;border:0;color:var(--blue);font-size:12px;padding:4px 0;line-height:1.5}.text-button:hover{text-decoration:underline}.workspace{display:grid;grid-template-columns:292px minmax(0,1fr) 270px;height:calc(100dvh - 108px)}.sidebar,.inspector{background:#fff;min-height:0;display:flex;flex-direction:column;z-index:4}.sidebar{border-right:1px solid var(--border)}.inspector{border-left:1px solid var(--border);overflow-y:auto}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:16px 19px 12px;flex-shrink:0}.panel-heading h1,.panel-heading h2{font-size:14px;font-weight:600;margin:0}.project-summary{margin:3px 14px 14px;border:1px solid var(--border);border-radius:9px;display:flex;align-items:center;padding:12px 10px;gap:10px}.summary-icon{background:#eef3f8;color:var(--blue);padding:9px;border-radius:7px}.project-summary strong{font-size:14px;font-weight:600;display:block}.project-summary small{font-size:12px;color:var(--muted);display:block;margin-top:4px}.file-tag{font-size:9px;color:#9099a9;margin-left:auto;border:1px solid var(--border);padding:3px 4px;border-radius:3px}.search{display:flex;align-items:center;gap:7px;margin:0 14px 12px;padding:8px 10px;background:#f8f9fb;border:1px solid var(--border);border-radius:6px;color:#8a94a4}.search svg{width:16px;height:16px}.search input{width:100%;min-width:0;border:0;outline:none;background:none;font-size:12px;color:#354155}.search input::placeholder{color:#9099a9}.search kbd{font:11px inherit;border:1px solid var(--border);border-radius:3px;padding:0 4px}.tree-tools{display:flex;justify-content:space-between;align-items:center;padding:2px 17px 10px;color:var(--muted);font-size:11px}.tree{overflow:auto;flex:1;padding:0 8px 15px;scrollbar-width:thin;scrollbar-color:#d6dce4 transparent}.tree-row{display:flex;align-items:center;height:33px;border-radius:5px;gap:5px;padding-right:6px;color:#546173;user-select:none;cursor:pointer}.tree-row:hover{background:#f4f6f9}.tree-row.selected{background:#e6eef7;color:var(--blue)}.tree-row.is-hidden .tree-name{opacity:.4}.tree-row .tree-name{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;line-height:32px}.tree-row.group-row .tree-name{font-weight:550}.tree-row svg{width:15px;height:15px}.tree-row .tree-icon{color:#8592a3;padding:0 3px}.tree-row.group-row .tree-icon{color:#5d7a96}.tree-arrow{background:none;border:none;width:19px;height:25px;padding:0;display:flex;align-items:center;justify-content:center;color:#8c96a4;flex-shrink:0}.tree-arrow svg{width:12px}.tree-arrow.open svg{transform:rotate(90deg)}.tree-check{appearance:none;margin:0 4px 0 1px;width:13px;height:13px;border:1px solid #cdd4de;border-radius:3px;cursor:pointer;flex-shrink:0;background:white}.tree-check:checked{background:var(--blue);border-color:var(--blue);box-shadow:inset 0 0 0 2px white}.tree-check:indeterminate{background:#b0c4d8;box-shadow:inset 0 0 0 2px white}.tree-count{font-size:10px;color:#9ca4af;padding:0 4px}.sidebar-footer{border-top:1px solid var(--border);padding:13px 16px;display:flex;gap:7px;font-size:10px;line-height:1.4;color:#8b94a1}.sidebar-footer svg{width:13px;height:13px}.stage{position:relative;min-width:0;min-height:0;overflow:hidden;background:#f5f6f8}.toolbar{position:absolute;top:0;left:0;right:0;z-index:6;height:64px;display:flex;align-items:center;padding:0 18px;gap:8px;background:#fffffff5;border-bottom:1px solid var(--border)}.segmented{display:flex;background:#f0f2f5;padding:3px;border-radius:7px;gap:2px}.segmented button{display:flex;align-items:center;gap:7px;border:0;background:transparent;border-radius:5px;padding:8px 10px;font-size:12px;color:#7b8493}.segmented button.active{background:white;color:var(--blue);box-shadow:0 1px 4px #253c5320}.segmented svg{height:16px;width:16px}.toolbar-divider{height:24px;width:1px;background:var(--border);margin:0 3px}.tool-button{display:flex;align-items:center;gap:7px;border:0;background:transparent;padding:8px 7px;border-radius:5px;font-size:12px;color:#818b9a;white-space:nowrap}.tool-button svg{height:17px;width:17px}.tool-button[aria-pressed=true]{background:#e5edf6;color:var(--blue)}.toolbar>.icon-button:last-child{margin-left:auto}#viewport{position:absolute;inset:64px 0 0;outline:none}#viewport canvas{display:block;width:100%;height:100%;touch-action:none}#labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}.scene-label{position:absolute;top:0;left:0;border:1px solid #d2dce7;background:#fffffff0;color:#3a5877;box-shadow:0 2px 5px #203a5310;border-radius:5px;padding:5px 8px;white-space:nowrap;font-size:11px;max-width:180px;text-overflow:ellipsis;overflow:hidden}.scene-heading{position:absolute;top:87px;left:26px;pointer-events:none;display:flex;flex-direction:column;gap:7px;max-width:60%}.scene-heading>strong{font-size:20px;font-weight:550;letter-spacing:-.4px;color:#3a4859;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scene-heading>span:last-of-type{font-size:12px;color:#929ba9}.scene-heading button{pointer-events:auto;margin-top:5px;align-self:flex-start}.view-controls{position:absolute;right:18px;top:84px;display:flex;align-items:center;gap:6px}.view-controls>.icon-button{background:white;border:1px solid var(--border)}#views{display:flex;padding:3px;border:1px solid var(--border);background:#fff;border-radius:7px;box-shadow:0 2px 6px #203a5305}#views button{border:0;border-radius:4px;background:transparent;color:#8a94a2;font-size:11px;padding:6px 8px}#views button.active{background:#edf2f7;color:var(--blue);font-weight:600}.navigation-hint{position:absolute;left:23px;bottom:23px;color:#a1a9b4;display:flex;align-items:center;gap:8px;font-size:10px;pointer-events:none}.navigation-hint svg{width:15px;height:15px}.hint-separator{margin:0 10px}.explode-panel{position:absolute;bottom:53px;left:50%;transform:translateX(-50%);width:min(430px,calc(100% - 46px));background:#fffffff5;border:1px solid #dfe5ed;border-radius:11px;box-shadow:0 5px 22px #1d375b09;padding:12px 18px 15px}.explode-top{display:flex;align-items:center;gap:9px;height:25px;color:var(--blue)}.explode-top>strong{font-size:12px;font-weight:600;color:#3c4d60}.explode-top>span svg{width:17px;height:17px}.explode-top output{margin-left:auto;background:#eef3f9;font-size:11px;min-width:37px;text-align:center;border-radius:5px;padding:4px 6px}.explode-top .icon-button{height:24px;width:24px}.explode-top .icon-button svg{width:14px;height:14px}.explode-slider{display:flex;align-items:center;gap:12px;margin-top:12px}.explode-slider span{font-size:10px;color:#97a0ae}input[type=range]{appearance:none;display:block;min-width:0;width:100%;height:4px;background:#e4e9f0;border-radius:8px;accent-color:var(--blue);cursor:pointer}input[type=range]::-webkit-slider-thumb{appearance:none;width:13px;height:13px;border-radius:50%;background:var(--blue);border:3px solid white;box-shadow:0 0 0 1px #aec0d4}input[type=range]::-moz-range-thumb{width:9px;height:9px;border:2px solid white;background:var(--blue);border-radius:50%;box-shadow:0 0 0 1px #aec0d4}.floating-opacity{position:absolute;left:25px;top:154px;width:200px;background:white;border:1px solid var(--border);border-radius:7px;padding:12px;font-size:11px;color:#738297}.floating-opacity label{display:flex;justify-content:space-between;margin-bottom:12px}.popover{position:absolute;right:15px;top:56px;z-index:10;background:white;border:1px solid var(--border);border-radius:8px;box-shadow:0 8px 24px #203a5320;padding:17px;width:250px}.popover h3{font-size:14px;margin:0 0 15px}.popover label{display:flex;align-items:center;gap:8px;font-size:13px;margin:12px 0;color:#69778a}.popover .button{width:100%;margin-top:10px}.popover p{font-size:11px;color:#7a8396}.empty-inspector{padding:50px 24px 25px;text-align:center;color:#8390a1}.empty-graphic{width:70px;height:70px;display:flex;align-items:center;justify-content:center;margin:0 auto 22px;border:1px solid #e1e8ef;border-radius:19px;background:linear-gradient(145deg,#f7f9fc,#eff3f8)}.empty-graphic svg{width:37px;height:37px;color:#8fa6bd;stroke-width:1.1}.empty-inspector>strong{font-size:14px;font-weight:550;color:#5b6c80}.empty-inspector p{font-size:12px;line-height:1.8;margin:9px 0 30px}.tip{display:flex;text-align:left;gap:10px;padding:13px 10px;border:1px solid #e7ecf2;border-radius:7px;font-size:11px;line-height:1.7;background:#fafbfc}.tip svg{width:16px;color:#8c9bb0}.project-actions{padding:18px 16px;border-top:1px solid var(--border);margin-top:auto;display:flex;align-items:center;flex-direction:column;gap:9px}.project-actions .button{width:100%;font-size:12px}.project-actions .button svg{width:15px;height:15px}.selection-heading{padding:12px 20px 18px}.selection-heading h2{font-size:19px;line-height:1.4;word-break:break-word;font-weight:600;margin:9px 0}.selection-heading>span:last-child{font-size:11px;color:#8c97a6}.selection-actions{padding:0 17px 20px;display:flex;flex-direction:column;gap:8px}.selection-actions>div{display:flex;gap:7px}.selection-actions>div>button{flex:1}.selection-actions>.button{font-size:12px}.properties{padding:14px 20px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);font-size:12px}.property-row{display:flex;justify-content:space-between;gap:14px;line-height:1.7;padding:4px 0}.property-row>span{color:#939cab}.property-row>strong{font-weight:500;text-align:right;color:#516174;max-width:145px;overflow-wrap:anywhere}.inspector-section{padding:17px 20px;border-bottom:1px solid var(--border)}.inspector-section h3{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;margin:0 0 15px}.range-label{display:flex;justify-content:space-between;font-size:11px;color:#8a96a6;margin-bottom:15px}.inspector-section>.text-button{font-size:10px;margin-top:11px}.checkbox-label{font-size:11px;display:flex;align-items:center;gap:7px;margin-top:15px;color:#7a889b}input[type=checkbox]{accent-color:var(--blue)}.count-tag{padding:2px 6px;font-size:10px;background:#edf2f7;color:#8192a5;border-radius:4px}.operation-row{padding:9px 0;border-bottom:1px solid #edf0f4;display:flex;gap:9px;font-size:11px;color:#697b90}.operation-row strong{display:block;font-size:11px;color:#53677e;font-weight:550;line-height:1.5}.operation-row small{display:block;font-size:10px;margin-top:3px;color:#939dab}.operation-row svg{width:14px;height:14px;margin-top:2px;color:#829cb7}.no-operations{font-size:11px;color:#919bab;line-height:1.7}.statusbar{height:32px;background:#fff;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 18px;font-size:10px;color:#929ba8;gap:15px;white-space:nowrap;overflow:hidden}.statusbar>div{display:flex;align-items:center;gap:9px;min-width:0}.statusbar>div:first-child>span:last-child{overflow:hidden;text-overflow:ellipsis}.ready-dot{width:5px;height:5px;border-radius:50%;background:#9eacbd;flex-shrink:0}.ready-dot.ready{background:#5d9b7a}.status-divider{height:10px;width:1px;background:var(--border);margin:0 5px}.statusbar .text-button{font-size:10px;margin-left:10px}.loading{position:absolute;inset:64px 0 0;background:#f5f6f8cf;backdrop-filter:blur(4px);z-index:12;display:flex;align-items:center;justify-content:center}.loading-card{display:flex;align-items:center;flex-direction:column;gap:15px;padding:30px;background:#ffffffed;border:1px solid var(--border);border-radius:12px;max-width:90%;box-shadow:0 10px 50px #284d7110;text-align:center}.loading-card strong{font-size:15px;font-weight:550}.loading-card>span{font-size:12px;color:#8895a6;max-width:280px;line-height:1.7}.spinner{width:28px;height:28px;border:2px solid #e3ebf3;border-top-color:var(--blue);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.drop-overlay{position:absolute;inset:73px 10px 10px;z-index:30;border:2px dashed #6c92b6;border-radius:12px;background:#eff5fcf5;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;color:var(--blue)}.drop-overlay>span:first-child svg{width:42px;height:42px}.drop-overlay>span:last-child{font-size:13px}.toast{position:fixed;bottom:150px;left:50%;transform:translateX(-50%);z-index:50;background:#20374d;color:#fff;border:1px solid #41586f;border-radius:8px;padding:13px 20px;max-width:min(570px,90vw);font-size:13px;line-height:1.7;box-shadow:0 5px 20px #20374d20}.hud{position:fixed;pointer-events:none;z-index:40;max-width:280px;background:#fff;color:#435b75;border:1px solid #dbe4ef;border-radius:7px;box-shadow:0 5px 20px #20374d15;padding:10px 13px;font-size:12px;line-height:1.7;white-space:pre-line}.context-menu{position:fixed;z-index:50;background:white;border:1px solid var(--border);border-radius:7px;padding:5px;box-shadow:0 6px 25px #20374d20;min-width:175px}.context-menu button{display:block;width:100%;background:none;border:0;border-radius:4px;font-size:13px;color:#5a6d82;text-align:left;padding:9px 12px}.context-menu button:hover{background:#edf3fa;color:var(--blue)}dialog{border:1px solid var(--border);border-radius:12px;width:min(460px,90vw);padding:25px;color:#3f536a}dialog::backdrop{background:#1f344c55}dialog h2{font-size:18px}dialog p{font-size:14px;line-height:1.7;overflow-wrap:anywhere}dialog .button{margin-top:10px}.mobile-only{display:none}.workspace.inspector-closed{grid-template-columns:292px minmax(0,1fr)}.workspace.inspector-closed .inspector{display:none}@media(min-width:1700px){.workspace{grid-template-columns:310px minmax(0,1fr) 290px}.brand{min-width:278px}.toolbar{padding:0 24px;gap:12px}.segmented button{padding:9px 15px;font-size:13px}.tool-button{font-size:13px;padding:8px 12px}.tree-row{height:35px}.tree-row .tree-name{font-size:13px}.sidebar-footer{font-size:11px}.search input{font-size:13px}}@media(max-width:1240px){.workspace{grid-template-columns:255px minmax(0,1fr) 245px}.brand{min-width:225px}.toolbar{padding:0 10px;gap:4px}.tool-button>span:last-child{display:none}.toolbar-divider{margin:0 1px}.segmented button{padding:8px;font-size:11px;gap:5px}.scene-heading{left:20px}.view-controls{right:12px;top:87px}#views button{padding:6px;font-size:10px}.navigation-hint{font-size:9px;left:17px}.hint-separator{margin:0 5px}.workspace.inspector-closed{grid-template-columns:255px minmax(0,1fr)}}@media(max-width:1020px){.workspace{grid-template-columns:245px minmax(0,1fr)}.inspector{display:none}.inspector.open{display:flex;position:absolute;right:0;top:76px;bottom:32px;width:270px;box-shadow:-8px 0 30px #20374d15}.brand{min-width:215px}.badge{display:none}.scene-heading{top:85px}.navigation-hint{bottom:18px}.explode-panel{bottom:45px}.workspace.inspector-closed{grid-template-columns:245px minmax(0,1fr)}}@media(max-width:720px){.header{height:64px;padding:0 13px;gap:12px}.brand{min-width:0;gap:7px}.brand img{height:29px;width:29px}.brand>span{font-size:20px}.brand small{font-size:7px;letter-spacing:1px}.project-heading{margin-left:5px}.project-heading .eyebrow{display:none}.project-heading strong{font-size:14px;max-width:80px;overflow:hidden;text-overflow:ellipsis}.header-actions{gap:6px}.header-actions .button{font-size:12px;padding:7px 9px;min-height:34px}.header-actions .button svg{width:15px;height:15px}.desktop-label{display:none}.workspace,.workspace.inspector-closed{display:block;height:calc(100dvh - 96px)}.stage{height:100%;width:100%}.sidebar{display:none;position:absolute;left:0;top:64px;bottom:32px;width:min(310px,85vw);z-index:20;box-shadow:8px 0 30px #20374d20}.sidebar.open{display:flex}.inspector.open{top:64px;z-index:21;width:min(290px,85vw)}.mobile-only{display:inline-flex}.desktop-only{display:none}.toolbar{height:57px;padding:0 8px;gap:3px}.segmented button{padding:8px 7px;gap:4px;font-size:10px}.segmented button svg{width:14px;height:14px}.tool-button{padding:7px 5px}.toolbar-divider{display:none}.toolbar>.icon-button{width:29px}.toolbar>.icon-button:last-child{margin-left:auto}.toolbar .icon-button svg{width:17px}#viewport{top:57px}.scene-heading{top:81px;left:17px;gap:5px}.scene-heading>strong{font-size:17px}.scene-heading>.eyebrow{font-size:9px}.scene-heading>span:last-of-type{font-size:11px}.view-controls{right:12px;top:81px;align-items:flex-end;flex-direction:column;gap:7px}#views{flex-direction:column}#views button{padding:7px 10px}.navigation-hint{display:none}.explode-panel{bottom:22px;width:calc(100% - 30px);padding:12px 15px}.statusbar{padding:0 12px;font-size:9px}.statusbar #modelStats,.statusbar .status-divider{display:none}.statusbar>div:first-child{flex:1}.floating-opacity{left:17px;top:145px;width:175px}.loading{top:57px}.popover{top:51px}.statusbar .text-button{font-size:10px}.toast{bottom:160px}.scene-label{font-size:10px;padding:4px 6px}.project-summary{margin-top:3px}}@media(prefers-reduced-motion:reduce){.spinner{animation-duration:2s}}
