/* Keep the workbench sidebar and topbar mounted while business views change. */
body.workspace-embedded-active .content-shell{display:none}
body.workspace-embedded-active{height:100vh;height:100dvh;min-height:0;overflow:hidden}
body.workspace-embedded-active .main-area{height:100%;display:flex;flex-direction:column;overflow:hidden}
body.workspace-embedded-active .main-area>.topbar{flex:0 0 auto}
.workspace-frame-host{width:100%;height:auto;flex:1 1 auto;min-height:0;overflow:hidden}
.workspace-frame-host[hidden],.workspace-frame-host iframe:not(.workspace-frame-current){display:none}
.workspace-frame-host iframe{display:block;width:100%;height:100%;border:0;background:#fff}
.sidebar #nav a.active{background:#e9f3f9;color:#286596}
@media(max-width:760px){body.workspace-embedded-active{display:flex;flex-direction:column}body.workspace-embedded-active .sidebar{flex:0 0 auto}body.workspace-embedded-active .main-area{height:auto;min-height:0;flex:1 1 auto}}

html.embedded-workspace,html.embedded-workspace body{min-height:100%;background:#fff}
html.embedded-workspace .site-shell{display:block;min-height:100%}
html.embedded-workspace .workspace-sidebar,html.embedded-workspace .site-shell>.topbar{display:none!important}
html.embedded-workspace .main{display:block;width:100%;max-width:none;margin:0;padding:0 clamp(24px,3vw,55px) 80px}
@media(max-width:760px){html.embedded-workspace .main{padding:0 18px 55px}}
