/* Within Manager, the host owns navigation, actions, theme and viewport. */
:root.studio-embedded { --primary:#2f66ea; --primary-hover:#2657d1; --primary-soft:#e8eefc; --primary-line:#b2c5f7; --bg:#e9edf3; --panel:#fff; --panel-muted:#eef1f6; --text:#14171d; --text-2:#3c4453; --muted:#5b6373; --line:#d7dde6; --line-strong:#b9c1d1; }
:root.studio-embedded .studio { grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(0,1fr); background:var(--bg); }
:root.studio-embedded .rail,
:root.studio-embedded .top,
:root.studio-embedded .workspace-heading,
:root.studio-embedded .studio-footer { display:none!important; }
:root.studio-embedded .main,
:root.studio-embedded .inv { grid-area:1/1/2/2; margin:0; border:0; border-radius:0; min-height:0; }
:root.studio-embedded .side { left:0; top:0; bottom:0; width:292px; border:0; border-right:1px solid var(--line); border-radius:0; box-shadow:none; }
:root.studio-embedded .side-head { padding:16px 14px 10px; gap:12px; }
:root.studio-embedded .side-head>.search { margin-right:24px; }
:root.studio-embedded .explorer-title { top:15px; right:9px; }
:root.studio-embedded .side .object-row { padding:12px 9px; }
:root.studio-embedded .object-row b { font-size:12px; }
:root.studio-embedded .object-row small { font-size:11px; }
:root.studio-embedded .explorer-tabs button { font-size:11px; }
:root.studio-embedded .explorer-filters button { font-size:10px; }
:root.studio-embedded .side-foot { display:none; }
:root.studio-embedded .unplaced-link { font-size:11px; padding:10px; }
:root.studio-embedded .tree { padding:0 8px 10px; }
:root.studio-embedded .map-search { top:16px; left:308px; transform:none; width:400px; max-width:calc(100% - 444px); }
:root.studio-embedded .map-layers { top:16px; right:16px; }
:root.studio-embedded .insp { top:68px; right:16px; bottom:16px; border-radius:10px; }
:root.studio-embedded .map-bottom { left:308px; bottom:16px; }
:root.studio-embedded .maplibregl-ctrl-bottom-left { left:308px; bottom:66px; }
:root.studio-embedded .main.has-selection .map-search { left:16px; }
:root.studio-embedded .main.list-collapsed .map-search { left:16px; max-width:calc(100% - 155px); }
:root.studio-embedded .main.list-collapsed #studioExpand { top:68px; left:16px; }
:root.studio-embedded .main.list-collapsed .map-bottom { left:16px; }
:root.studio-embedded .main.list-collapsed .maplibregl-ctrl-bottom-left { left:16px; }
:root.studio-embedded .btn.primary { background:var(--primary); color:var(--btn-primary-text,#fff); }
:root.studio-embedded .bv-zone.roof { background:linear-gradient(var(--primary-soft),var(--panel)); }
:root.studio-embedded .bv-rack { background:var(--panel-muted); border-color:var(--line-strong); }
:root.studio-embedded .bv-rack-h,:root.studio-embedded .bv-unit { background:var(--panel-elevated); border-color:var(--line); color:var(--text); }
:root.studio-embedded .inv { padding:20px 24px; }
:root.studio-embedded .inv-head h1 { display:none; }
:root.studio-embedded .inv-head { gap:12px; }
:root.studio-embedded:not(.studio-solo) #invAdd { display:none; }
@media(min-width:981px) {
  :root.studio-embedded .main.has-selection:not(.list-collapsed) .map-search { left:308px; max-width:calc(100% - 690px); }
}
@media(max-width:650px) {
  :root.studio-embedded .side { top:64px; bottom:0; width:min(292px,calc(100% - 56px)); border-top:1px solid var(--line); border-radius:0 10px 0 0; box-shadow:var(--shadow-md); }
  :root.studio-embedded .map-search,:root.studio-embedded .main.has-selection .map-search { left:12px; top:12px; width:calc(100% - 80px); max-width:none; }
  :root.studio-embedded .map-layers { top:12px; right:12px; }
  :root.studio-embedded .main.list-collapsed .map-search { left:12px; max-width:none; }
  :root.studio-embedded .main.list-collapsed #studioExpand { left:12px; top:64px; }
  :root.studio-embedded .insp { top:104px; bottom:8px; left:8px; right:8px; width:auto; }
  :root.studio-embedded .map-bottom { left:auto; right:48px; bottom:12px; }
  :root.studio-embedded .maplibregl-ctrl-bottom-left { left:12px; bottom:52px; }
  :root.studio-embedded .inv { padding:16px 12px; }
}
