/* Only the iframe host; card, upload and batch styles belong to the shared library. */
.shared-library-shell{width:100%;height:calc(100dvh - 130px);min-height:520px;background:var(--dz-page,var(--page));border:0;overflow:hidden}
.shared-library-frame{display:block;width:100%;height:100%;border:0;background:transparent}
#shared-library-workspace{padding:28px 32px 20px;min-height:calc(100vh - 128px)}
#shared-library-workspace[hidden],#workspace[hidden]{display:none!important}
@media(max-width:800px){#shared-library-workspace{padding:20px 18px}}
@media(max-width:600px){.shared-library-shell{height:calc(100dvh - 180px);min-height:420px}}

@media(min-width:1181px) and (min-height:700px){
 body:has(#shared-library-workspace:not([hidden])){height:100dvh;overflow:hidden}
 .shell:has(#shared-library-workspace:not([hidden])){height:100dvh;display:flex;flex-direction:column;min-height:0}
 .shell:has(#shared-library-workspace:not([hidden]))>.topbar{flex:none}
 #shared-library-workspace{flex:1;min-height:0;display:flex;overflow:hidden;padding-top:16px;padding-bottom:12px}
 #shared-library-host{flex:1;min-width:0;min-height:0}
 #shared-library-host .shared-library-shell{height:100%;min-height:0}
 .shell:has(#shared-library-workspace:not([hidden]))>footer{flex:none;margin-top:0;padding-top:6px;padding-bottom:6px}
}
