/* App extension to the identical shared shell: scene and narrative stay local. */
.he-editor>header{min-height:0;height:56px;padding:0 18px;color:var(--he-ink);border:0}.he-editor header .brand{width:126px}.he-editor header .delivery-logo{height:52px}.he-editor header button{color:var(--he-ink);background:transparent;border-color:#263e3333}.he-editor header #save{display:inline-block}.he-editor .project-name{color:var(--he-ink)}
.he-editor .studio-nav{gap:6px}.he-editor .studio-nav button,.he-editor .mobile-nav button{border:0;background:transparent;color:var(--he-ink);padding:8px 2px;font-size:18px}.he-editor .studio-nav span,.he-editor .mobile-nav span{display:block;font-size:9px;margin-top:4px}.he-editor .selected{background:#3558471c!important}
.he-editor #library,.he-editor #inspector{transform:none;transition:none;display:block;border:0;line-height:1.5}.he-editor #library label,.he-editor #inspector label{color:#53685c}.he-editor #library input,.he-editor #library select,.he-editor #inspector input,.he-editor #inspector select,.he-editor #inspector textarea{background:white;color:#263e33;border:1px solid #d8e0d5;width:100%}.he-editor aside button{color:#263e33;background:#edf1e8;border:1px solid #d8e0d5}.he-editor aside .hint{color:#627467}.he-editor aside details{border-color:#d8e0d5}.he-editor aside summary{color:#355847}.he-editor aside h1{font-size:29px}.he-editor aside #closeEditor,.panel-close{position:absolute;right:10px;top:8px;font-size:22px;border:0!important;z-index:1}.he-editor aside .room-size input,.he-editor aside input[type=range]{height:28px;padding:0;accent-color:#355847}.he-editor aside input[type=checkbox]{width:auto}.he-editor aside .templates button.chosen{background:#dae4d2}.he-editor aside .templates{margin-top:16px}.he-editor aside .tabs,.he-editor aside .editor-footer{display:none!important}
.he-editor #library[data-tool=objects] [data-panel=world]>:not(details){display:none}.he-editor #library[data-tool=room] details{display:none}.he-editor #library[data-tool=room] [data-panel=world]>.two{display:none}.he-editor #library [data-panel][hidden],.he-editor #inspector [hidden]{display:none!important}
.he-editor .workspace{display:block;min-height:0}.he-editor #viewport{background:#24322e}.he-editor #scene{width:100%;height:100%;left:0;top:0}.he-editor .workspace-top{position:absolute;z-index:2;top:0;left:0;right:0;pointer-events:none;padding:20px}.he-editor .caption{left:28px;bottom:95px;z-index:2}.he-editor .bottom-bar{position:absolute;bottom:0;left:0;right:0;height:64px;z-index:3}.he-editor #envelope{display:none}.he-editor .actions #openEditor{display:none}
@media(max-width:880px){.he-editor .project-name{display:none}.he-editor header .brand{width:110px}.he-editor header .actions{gap:5px}.he-editor header .actions button{font-size:10px;padding:7px}.he-editor .caption{bottom:82px!important;left:20px!important}.he-editor .caption h2{font-size:23px}.he-editor #library,.he-editor #inspector{top:auto;transform:none;height:auto}.he-editor .workspace-top{font-size:8px;padding:12px}.he-editor .bottom-bar{height:58px;padding:8px}.he-editor .bottom-bar button{font-size:11px;padding:9px}.he-editor .progress{display:none}}
.he-editor #viewport #stageWrap{position:absolute;inset:0;width:100%;height:100%;min-height:0;transform:none;margin:0}
#shared-parts,#shared-controls{padding:20px 4px}#shared-parts h2,#shared-controls h2{font:500 24px Georgia;margin:12px 0 20px}.window-add-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.filters{display:flex;overflow-x:auto;gap:6px;margin:14px 0}.filters button{white-space:nowrap;padding:7px 10px}.filters button.active,.scene-object-list button.active{background:#35594c;color:white}.catalog{display:grid;grid-template-columns:1fr 1fr;gap:10px}.catalog-card{position:relative;display:flex;flex-direction:column;align-items:center;text-align:left;padding:8px!important;background:#f7f3e9;border:1px solid #d7d4c6;border-radius:12px;min-height:130px}.catalog-card svg{width:100%;height:90px}.catalog-card span{font-size:12px;align-self:start}.catalog-card .plus{position:absolute;right:8px;top:7px;color:#35594c}.range-label output{float:right;color:#567160}.scene-object-list{display:grid;gap:5px;margin-top:20px}.object-actions{display:flex;gap:8px;margin-top:16px}#shared-controls label{display:block;margin:14px 0}#shared-controls input[type=range]{width:100%}#shared-controls input[type=color]{display:block;width:100%;height:32px}.placement-toolbar{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);display:flex;gap:4px;z-index:5;padding:5px;background:#f1eddfed;border-radius:14px}.placement-toolbar button{padding:8px 12px;border-radius:9px}.placement-toolbar .active{background:#35594c;color:white}#shared-parts[hidden],#shared-controls[hidden]{display:none!important}#library:has(#shared-parts:not([hidden])) .tabs,#library:has(#shared-parts:not([hidden])) .editor-footer{display:none}@media(max-width:880px){.placement-toolbar{bottom:5px}#shared-parts,#shared-controls{padding:12px 2px}.catalog-card{min-height:112px}.catalog-card svg{height:75px}}
.scene-editing .caption,.scene-editing .bottom-bar{display:none!important}.scene-editing .workspace-top{pointer-events:none}.he-editor.scene-editing[data-he-open-panel=inspector] #viewport{right:316px;width:auto}.he-editor.scene-editing[data-he-open-panel=library] #viewport{left:316px;width:auto}@media(max-width:880px){.he-editor.scene-editing[data-he-open-panel=inspector] #viewport,.he-editor.scene-editing[data-he-open-panel=library] #viewport{left:0;right:0;top:0;bottom:49%;width:auto;height:auto}.scene-editing #library,.scene-editing #inspector{max-height:46vh!important}.scene-editing .workspace-top{display:none}}
