:root{color-scheme:dark;--panel:#24272d;--stage:#1b1e24;--line:#383d46;--text:#e1e5eb;--muted:#919ba9;--accent:#79a9ec;--selected:#344961;--input:#1b1e24;--left:224px;--right:268px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:13px;color:var(--text);background:var(--stage)}
*{box-sizing:border-box}html,body{height:100%;margin:0;overflow:hidden}button,input{font:inherit}button{color:inherit;cursor:pointer;background:#30353d;border:1px solid #414751;border-radius:5px;padding:7px 9px;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;transition:background .12s,border-color .12s}button:hover:not(:disabled){background:#414955;border-color:#637186}button:active:not(:disabled){background:#4b5665}button:disabled{opacity:.42;cursor:default}button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:1px}button.active{background:#344a65;border-color:#5679a3;color:#d9e8ff}svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h2{font-size:11px;font-weight:650;letter-spacing:.075em;text-transform:uppercase;margin:0 0 13px;color:#b8c2ce}p{margin:0}input[type=text],input[type=number]{background:var(--input);border:1px solid #414751;border-radius:4px;color:var(--text);padding:7px;min-width:0;width:100%;outline:none;font-variant-numeric:tabular-nums}input[type=number]{appearance:textfield;-moz-appearance:textfield}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=range],input[type=checkbox]{accent-color:#7da9df}input[type=range]{width:100%;margin:5px 0 0}input[type=checkbox]{margin:0} [hidden]{display:none!important}
.workspace{height:100%;height:100dvh;display:grid;grid-template-columns:var(--left) minmax(0,1fr) var(--right);grid-template-rows:minmax(0,1fr);min-width:700px}.panel{background:var(--panel);min-height:0;display:flex;flex-direction:column;overflow:hidden;z-index:2}.left{border-right:1px solid #414650}.right{border-left:1px solid #414650;overflow-y:auto}.section{padding:16px 13px;border-bottom:1px solid var(--line)}.section-heading,.inspector-heading{display:flex;align-items:center;justify-content:space-between;gap:7px}.section-heading h2,.inspector-heading h2{margin:0}.counter{font-size:10px;color:#9daaba;background:#303741;border-radius:4px;padding:3px 6px;max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.primitives{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.primitives button{flex-direction:column;gap:6px;min-height:66px;padding:8px 3px;font-size:11px;color:#d7dce5}.primitives svg{width:28px;height:28px;color:#aab8ca}.scene-section{flex:1;min-height:120px;display:flex;flex-direction:column;gap:10px;overflow:hidden}.object-list{flex:1;overflow-y:auto;min-height:36px;margin:0 -5px}.empty-list{color:var(--muted);font-size:12px;padding:10px 6px}.object-item{display:flex;align-items:center;justify-content:space-between;border:1px solid transparent;border-radius:4px;padding:7px 4px;gap:2px}.object-item.selected{background:var(--selected);border-color:#4b6685}.object-item:hover{background:#303943}.object-item.selected:hover{background:var(--selected)}.object-select{flex:1;min-width:0;justify-content:flex-start;background:none;border:0;padding:0 2px;gap:7px}.object-select:hover:not(:disabled),.visibility:hover:not(:disabled){background:transparent;border-color:transparent}.object-select span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.object-select svg{color:#a7bad1;width:15px;height:15px}.object-item.is-hidden .object-select{opacity:.48}.visibility{background:none;border:0;padding:2px;color:#a2aebc}.visibility svg{width:15px;height:15px}.object-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.object-actions button{font-size:11px;padding:6px 3px;gap:4px}.object-actions svg{width:14px;height:14px}.danger:hover:not(:disabled){color:#ffc4c4;border-color:#a96e70}.file-section{border-bottom:0;display:flex;flex-direction:column;gap:8px}.primary{background:#426b9e;border-color:#658bb9;font-weight:650;color:white;min-height:36px}.primary:hover:not(:disabled){background:#547eb2}.subtle{background:transparent;border-color:transparent;color:#a8b3c1}.version{color:#788391;text-align:center;font-size:10px;margin-top:3px}.full{width:100%;margin-top:9px;font-size:11px}
.stage{position:relative;min-width:0;min-height:0;overflow:hidden;background:var(--stage)}.viewport{position:absolute;inset:0}.viewport canvas{display:block;width:100%;height:100%;touch-action:none;outline:none}.stage-toolbar{position:absolute;top:12px;left:12px;right:12px;display:flex;gap:7px;flex-wrap:wrap;pointer-events:none;align-items:flex-start}.tool-group{display:flex;border:1px solid #414751;border-radius:6px;overflow:hidden;background:#272b32;pointer-events:auto;box-shadow:0 3px 12px #0002}.tool-group button,.view-picker button{border:0;border-radius:0;padding:7px 9px;font-size:11px;background:transparent;color:#b8c4d2;gap:5px}.tool-group button+button,.view-picker button+button{border-left:1px solid #414751}.tool-group button.active,.view-picker button.active{background:#344a65;color:#e3edff}.tool-group svg{width:15px;height:15px}.view-picker{position:absolute;right:12px;top:58px;display:flex;border:1px solid #414751;border-radius:5px;overflow:hidden;background:#272b32;box-shadow:0 3px 12px #0002}.welcome{position:absolute;top:44%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none;text-align:center;color:#b1bfce;width:80%;text-shadow:0 2px 6px #15181d}.welcome-icon svg{width:45px;height:45px;color:#71849a;margin-bottom:4px}.welcome strong{font-size:17px;font-weight:550;color:#dce4ef}.welcome span{font-size:12px;color:#a2aebb}.loading{position:absolute;inset:0;background:#1b1e24ed;display:grid;place-items:center;z-index:10;padding:35px;text-align:center;color:#b8c6d9}.stage-footer{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;gap:12px;padding:9px 11px;background:#22262dea;border-top:1px solid #373d47;font-size:10px;color:#a0acba;pointer-events:none}.stage-footer #status{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stage-footer #stats{margin-left:auto;white-space:nowrap}.mouse-hints{white-space:nowrap;color:#83909f;margin:auto}
.inspector-heading{min-height:49px;flex-shrink:0}.no-selection{padding:44px 20px;text-align:center;color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:9px}.no-selection svg{width:32px;height:32px;color:#76879a}.no-selection strong{color:#bac5d2;font-size:12px}.no-selection p{font-size:12px;line-height:1.55}.field-label{display:block;font-size:11px;color:#b1bdcb;margin-bottom:7px}.vector{margin-bottom:13px}.vector:last-child{margin-bottom:0}.vector-heading{display:flex;justify-content:space-between;color:#c5cdd7;font-size:11px;margin-bottom:6px}.vector-heading small{color:#7d8b9b;font-size:10px}.vector-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.axis-field{position:relative;display:flex;align-items:center;min-width:0}.axis-field span{position:absolute;left:6px;font-size:10px;font-weight:700;pointer-events:none}.axis-field input{padding:6px 4px 6px 18px;font-size:11px}.axis-x{color:#e18484}.axis-y{color:#83bd92}.axis-z{color:#87a9ec}.material-row,.info-row{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;margin:10px 0;color:#b4bfcc}.color-wrap{display:flex;align-items:center;gap:7px;background:var(--input);padding:4px 6px;border:1px solid #414751;border-radius:4px;color:#c9d2de;font-size:11px}.color-wrap input{width:27px;height:23px;border:0;padding:0;background:none;cursor:pointer}.color-wrap input::-webkit-color-swatch-wrapper{padding:0}.color-wrap input::-webkit-color-swatch{border:0;border-radius:3px}.range-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:1px;font-size:12px;color:#b4bfcc;margin-top:13px}.range-row input{grid-column:1/-1}.range-row output{font-size:11px;font-variant-numeric:tabular-nums;color:#d6e0eb}.check-row{display:flex;align-items:center;gap:7px;margin-top:14px;font-size:12px;color:#aebac8}.info-row span:last-child{color:#d7e0eb;font-variant-numeric:tabular-nums}.geometry-section{border-bottom:0}
@media(max-width:1100px){:root{--left:190px;--right:238px}.mouse-hints{display:none}.tool-group button span{display:none}.view-picker{top:56px}}@media(max-width:850px){:root{--left:164px;--right:205px}.section{padding:12px 9px}.stage-toolbar{top:8px;left:8px;right:8px;gap:5px}.tool-group button{padding:7px}.view-picker{right:8px;top:80px}.primitives button{min-height:56px}.stage-footer{gap:4px;padding:7px}.stage-footer #stats{font-size:9px}.axis-field input{padding-left:15px}.axis-field span{left:4px}}
