/* Only the new Windows shell issues this lease; ordinary web/Android stay unchanged. */
.desktop-presentation-owned #workspaceActions :is(#singleWorkspaceLink,#multiWorkspaceLink){display:none}
html.desktop-presentation-owned:has(body.controller-page),
html.desktop-presentation-owned:has(body.workspace-page){height:100%;overflow:hidden}
.desktop-presentation-owned body:is(.controller-page,.workspace-page){height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.desktop-presentation-owned body:is(.controller-page,.workspace-page)>main{flex:1;display:flex;flex-direction:column;min-height:0;min-width:0;overflow:hidden}
.desktop-presentation-owned #connectionSettings{flex:0 1 auto;min-height:0;max-height:30%;overflow:auto}
.desktop-presentation-owned main>.screen-panel{flex:1;display:flex;flex-direction:column;min-height:0}
.desktop-presentation-owned .screen-panel>.screen-toolbar{flex:none;max-height:35%;overflow:auto}
.desktop-presentation-owned .screen-panel>.screen-stage{flex:1;height:auto;min-height:0}
.desktop-presentation-owned .screen-panel>.screen-footer{flex:none;max-height:25%;overflow:auto}
.desktop-presentation-owned .workspace-page #workspaceBody{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}
.desktop-presentation-owned .workspace-page #workspaceSetup{flex:none;min-height:0;overflow:visible}
.desktop-presentation-owned .workspace-page #workspaceDisplay{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}
.desktop-presentation-owned :is(#workspaceActions,#workspaceNotice,#sessionTabs){flex:none}
.desktop-presentation-owned #sessionPanels{flex:1;display:flex;flex-direction:column;min-height:0;overflow:auto}
.desktop-presentation-owned #sessionPanels.is-grid{display:grid;grid-auto-rows:minmax(260px,1fr);align-content:start}
.desktop-presentation-owned .session-pane{flex:1;display:flex;flex-direction:column;min-height:0}
.desktop-presentation-owned .pane-header{flex:none}
.desktop-presentation-owned .pane-body{flex:1;height:auto!important;min-height:0}
.desktop-presentation-owned #workspaceEmpty{flex:1;min-height:0;overflow:auto;padding:16px;justify-content:safe center}
.desktop-workspace-clean .session-pane.is-active{position:fixed;inset:0;z-index:10000;border:0;border-radius:0}
.desktop-workspace-clean .session-pane.is-active>.pane-header{display:none}
.desktop-workspace-clean :is(#workspaceSetup,#workspaceActions,#workspaceNotice,#sessionTabs){visibility:hidden}
/* The native popup overlays WebView2 without resizing the remote image. */
.desktop-presentation-owned .desktop-clean>.screen-toolbar{top:var(--desktop-native-toolbar,0px)}
.desktop-presentation-owned #mediaDetails:not([open]) .media-summary-extra,
.desktop-presentation-owned #mediaDetails:not([open]) #transportStatus{display:none}
.desktop-presentation-owned #transportCompact{display:inline}
.desktop-presentation-owned #mediaDetails[open] #transportCompact{display:none}
#transportCompact{display:none}
/* Embedded workspace controls inherit only layout and overlay offset. */
html.desktop-presentation-embedded,.desktop-presentation-embedded body,.desktop-presentation-embedded main{height:100%;min-height:0;overflow:hidden}
.desktop-presentation-embedded main{display:flex;flex-direction:column}
.desktop-presentation-embedded .screen-panel{height:100%;min-height:0}
.desktop-presentation-embedded .screen-panel>.screen-stage{flex:1;height:auto;min-height:0}
.desktop-presentation-embedded #mediaDetails:not([open]) :is(.media-summary-extra,#transportStatus){display:none}
.desktop-presentation-embedded #transportCompact{display:inline}
.desktop-presentation-embedded #mediaDetails[open] #transportCompact{display:none}
.desktop-presentation-embedded .desktop-clean>.screen-toolbar{top:var(--desktop-native-toolbar,0px)}
