/* A single app header and context controls placed inside the canvas. */
.topbar{grid-template-columns:minmax(170px,1fr) auto minmax(190px,1fr);height:64px;gap:16px}.stage-tabs{height:40px;align-self:center;background:#f2f3ef;padding:3px;border:1px solid #e1e4dc;border-radius:5px;gap:2px;position:static;transform:none}.stage-tab{height:32px;border-radius:3px;padding:0 16px;color:#70776a;font-size:12px;display:flex;gap:7px;align-items:center;justify-content:center}.stage-tab>span{display:inline;color:#88937e;font-size:16px;font-weight:400}.stage-tab.active{background:white;color:#293e22;box-shadow:0 1px 4px #293e2212}.stage-tab.active>span{color:#335bff}.stage-tab.active:after{display:none}.top-actions>.btn.primary{height:35px;font-size:11px;padding-inline:12px}.top-actions .icon-btn{width:26px;font-size:18px}.brand-copy>strong{font-size:11px;color:#8b9285}.brand-mark{border:0!important}.top-actions{gap:5px}.canvas-status #baseModeBadge,.canvas-status #modeBadge,.canvas-status #baseWallBadge,.canvas-status span:not(.warning){display:none}.canvas-status .warning{background:#fff8e8!important;color:#89703b!important;border-color:#e5d9bb;max-width:240px;font-size:10px}.tour-topbar{top:auto!important;bottom:24px!important;left:50%!important;right:auto!important;transform:translateX(-50%);width:max-content;max-width:calc(100% - 40px);padding:7px;gap:7px;background:#fffffff5;border:1px solid #d5dbce;border-radius:6px;box-shadow:0 8px 28px #36452b16;flex-wrap:nowrap;display:flex;align-items:center;z-index:40}.tour-topbar>div:first-child{display:flex!important;min-width:0}.tour-topbar .segmented{background:#eff1eb;border:0;border-radius:3px;padding:2px;gap:1px}.tour-topbar .segmented button{font-size:12px;padding:10px 14px;height:36px;border-radius:3px;white-space:nowrap;color:#79816f}.tour-topbar .segmented button.active{background:#33492b;color:white;box-shadow:none}.tour-topbar .btn{font-size:11px;min-height:36px;height:36px;padding:9px 12px;background:#fff;border:1px solid #d8decf;border-radius:3px;white-space:nowrap}.tour-topbar #wallDisplayBtn[aria-pressed=true]{background:#eef3e6;border-color:#82996a;color:#3b552d}.tour-topbar #resetCameraBtn{display:block!important;font-size:20px;padding:0;width:35px}.tour-more{position:relative}.tour-more summary{list-style:none;cursor:pointer;font-size:22px;width:34px;height:36px;display:grid;place-items:center;color:#5a6b4b}.tour-more summary::-webkit-details-marker{display:none}.tour-more>div{position:absolute;right:0;bottom:50px;background:white;border:1px solid #dbe1d4;padding:7px;border-radius:4px;box-shadow:0 7px 25px #36452b14;min-width:190px}.tour-more>div .btn{width:100%;border:0;text-align:left;justify-content:flex-start;margin-bottom:3px}.tour-help{top:20px;left:20px;bottom:auto;max-width:none!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}.tour-help strong{display:none}.tour-help span{font-size:10px;color:#89917f}.tour-object-card{top:20px}.tour-minimap{bottom:99px!important}.tour-drive-pad{bottom:110px!important}.inventory-shell{max-width:1250px;padding:35px 30px;margin-inline:auto}.inventory-head{margin-bottom:15px;display:flex;justify-content:space-between}.inventory-head h1{font-size:31px;font-weight:500;letter-spacing:-1px}.inventory-progress{gap:6px;font-size:12px}.inventory-progress strong{font-size:14px}.inventory-toolbar{padding-top:8px}.inventory-grid{grid-template-columns:repeat(auto-fill,minmax(205px,1fr))}.object-studio-controls .studio-note:empty{display:none}.object-workspace-tabs{margin-bottom:24px}.inventory-shell .button{font:inherit;display:inline-flex;align-items:center;justify-content:center;padding:12px 16px;min-height:40px;border:1px solid #dbe1d3;border-radius:4px;text-decoration:none;cursor:pointer;background:#fff;color:#33402b}.inventory-shell .button.dark{background:#2c3d25;color:#fff;border-color:#2c3d25}.inventory-shell .generation-button{background:#e3e7f5;color:#707caa;border-color:#e3e7f5;cursor:not-allowed}.inventory-shell button{font-family:inherit}.inventory-shell [hidden]{display:none!important}.inventory-shell textarea{font-family:inherit}.object-workspace-tabs button:focus-visible{outline:2px solid #335bff}.inspector-head .eyebrow{display:none}.stage-host{margin:0}.workspace-menu .btn{font-size:12px!important}.hint:empty{display:none}.tour-topbar button:focus-visible,.tour-more summary:focus-visible{outline:2px solid #335bff;outline-offset:2px}
@media(min-width:851px) and (max-width:1180px){.app-shell{grid-template-rows:64px 1fr}.topbar{grid-template-rows:none;grid-template-columns:190px auto 180px;padding:0 13px;gap:9px}.stage-tabs{grid-column:auto;grid-row:auto}.stage-tab{padding-inline:9px;font-size:11px}.stage-tab>span{display:none}.top-actions{grid-row:auto;grid-column:auto}.top-actions .icon-btn{display:none}.brand{grid-row:auto;grid-column:auto}}
@media(max-width:850px){.app-shell{grid-template-rows:60px 1fr}.topbar{display:flex;height:60px;padding:0 12px}.stage-tabs{position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;transform:none!important;display:grid;grid-template-columns:repeat(4,1fr)!important;height:auto;padding:7px 7px calc(7px + env(safe-area-inset-bottom));border-radius:0;border:0;border-top:1px solid #dfe4d9;background:#fff;z-index:100;width:100%;box-sizing:border-box}.stage-tab{height:43px;flex-direction:column;gap:2px;padding:2px 5px;font-size:10px}.stage-tab>span{font-size:18px;line-height:20px}.stage-tab.active{background:#edf2e6;box-shadow:none}.stage-host{margin-bottom:58px}.tour-topbar{bottom:15px!important;max-width:calc(100% - 16px);padding:5px;gap:5px;flex-wrap:wrap;justify-content:center;left:50%!important;width:calc(100% - 22px)}.tour-topbar .segmented{flex:1;display:flex;margin:0!important;min-width:0}.tour-topbar .segmented button{font-size:10px;padding:7px 10px;height:33px;flex:1}.tour-topbar .btn{font-size:10px;padding:7px 10px;height:31px;min-height:31px}.tour-topbar #wallDisplayBtn{margin-left:auto}.tour-topbar #resetCameraBtn{height:31px;min-height:31px}.tour-more summary{height:31px;width:30px}.tour-help{top:15px;left:15px;right:15px;text-align:center}.tour-help span{font-size:9px}.tour-drive-pad{bottom:130px!important;left:8px!important}.tour-minimap{bottom:118px!important;width:115px!important;right:10px!important}.tour-object-card{top:42px}.inventory-shell{padding:25px 17px}.inventory-head h1{font-size:27px}.inventory-progress{font-size:10px}.object-workspace-tabs{gap:0;margin-top:18px}.object-workspace-tabs button{font-size:11px;padding:11px 10px}.inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-toolbar{margin-top:0}.inventory-shell .ai-composer{grid-template-columns:1fr}.top-actions.mobile-open{top:60px}.canvas-status{top:12px}.base-canvas-wrap .toolrail{top:20px}.save-state{bottom:70px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

.inspector-empty-action{text-align:center;padding:8px 0 24px}.inspector-empty-action>span{font-size:45px;line-height:1.5;color:#b2bdab}.inspector-empty-action p{font-size:12px;color:#7a8571;margin:0 0 17px}.inspector-empty-action .btn{font-size:11px;min-height:36px;height:36px;padding-inline:15px;background:#f5f7f1;border-color:#dce3d3}.inspector-body>.section-title:first-child{margin-top:0;padding-top:0;border-top:0}.tour-topbar .tour-more[open] summary{background:#eef2e7;border-radius:3px}
@media(max-width:850px){.tour-topbar #cameraMode.segmented{flex:1 0 100%;width:100%;max-width:100%;overflow:visible;box-sizing:border-box}.tour-topbar #wallDisplayBtn{margin-left:0}.tour-topbar .segmented button{padding-inline:12px}.tour-topbar{row-gap:6px}.tour-help{max-height:25px;overflow:hidden}.inventory-shell .composer-prompt textarea,.inventory-shell .composer-dimensions input{font-size:16px}}

/* Room-specific shortcuts and plain-text workspace navigation. */
.stage-tab{gap:0;flex-direction:row}
#stage-plan .toolrail{gap:4px;padding:10px 7px;overflow-y:auto;scrollbar-width:thin}
#stage-plan .toolrail>.tool{flex-shrink:0;min-height:49px}
.quick-objects{border-top:1px solid var(--line);margin-top:8px;padding-top:14px}
.quick-objects h2{font-size:9px;font-weight:500;color:var(--muted);text-align:center;margin:0 0 9px}
#quickObjectList{display:grid;gap:5px}
.quick-object{border:1px solid transparent;border-radius:4px;background:transparent;padding:4px 1px 6px;color:var(--text);cursor:pointer;min-width:0;width:100%;font:inherit}
.quick-object:hover,.quick-object:focus-visible{background:#f3f5ef;border-color:#dce1d6}
.quick-object-preview{display:block;height:52px;pointer-events:none}
.quick-object-preview svg{display:block;width:100%;height:100%}
.quick-object-name{display:block;font-size:9px;font-weight:400;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 2px}
.quick-objects-empty{font-size:9px;line-height:1.5;color:var(--muted);text-align:center;margin:0}
@media(min-width:851px){#stage-plan.active{grid-template-columns:94px minmax(0,1fr) 310px}}
@media(max-width:850px){.stage-tab{font-size:11px}#stage-plan .toolrail{width:64px;padding:5px 3px}#stage-plan .toolrail>.tool{min-height:42px}.quick-objects{padding-top:9px}.quick-object-preview{height:40px}.quick-object-name{font-size:8px}.quick-objects h2{font-size:8px}}
