/* Share's artifact reader owns the viewport; the library keeps the site shell. */
body:has(#artifact-workspace.aw-detail-open){overflow:hidden}
body:has(#artifact-workspace.aw-detail-open)>.nav,body:has(#artifact-workspace.aw-detail-open)>.foot{display:none!important}
.artifact-page:has(.aw-detail-open){position:fixed;inset:0;z-index:41;width:100%;max-width:none;margin:0;padding:0;background:var(--bg)}
#artifact-workspace.aw-detail-open{display:flex;flex-direction:column;width:100%;height:100dvh;min-height:0}
#artifact-workspace.aw-detail-open>.aw-topbar{flex-shrink:0;min-height:54px;padding:7px 12px;gap:10px;border:0;border-bottom:1px solid var(--aw-line);border-radius:0;position:relative;z-index:5}
#artifact-workspace.aw-detail-open>.aw-detail{flex:1;min-height:0;height:auto;width:100%;border:0;border-radius:0}
#artifact-workspace.aw-detail-open .aw-stage{height:auto;min-height:0}
#artifact-workspace .share-reader-brand{display:grid;place-items:center;width:28px;height:32px;flex-shrink:0;border:0;background:transparent}
.share-reader-brand img{display:block;width:24px;height:24px}
#artifact-workspace .aw-topbar .aw-preview-toolbar{padding:0;gap:6px;min-height:0;border:0;flex-wrap:nowrap;background:transparent;flex-shrink:0}
#artifact-workspace .aw-topbar .aw-preview-toolbar>.aw-filename{display:none}
#artifact-workspace .aw-topbar .aw-preview-tools{margin:0}
#artifact-workspace .aw-topbar .aw-preview-tools .share-original-expand{display:none}
#artifact-workspace .aw-topbar .aw-details-title .share-reader-meta{display:flex;align-items:center;gap:6px;min-width:0;color:var(--aw-muted);font-size:11px}
#artifact-workspace .share-reader-meta>.aw-sub{flex-shrink:0}
#artifact-workspace .share-reader-meta .aw-filename{font:inherit;min-width:0}
#artifact-workspace .share-files-toggle{white-space:nowrap;font-size:12px;background:transparent;border-color:transparent}
#artifact-workspace .share-files-toggle[aria-expanded=true]{background:var(--aw-selected);color:var(--aw-accent)}
.share-site-menu{flex-shrink:0;position:relative}
.share-site-menu>summary{list-style:none;display:grid;place-items:center;min-width:32px;min-height:32px;border-radius:6px;cursor:pointer;font-size:20px;letter-spacing:1px}
.share-site-menu>summary::-webkit-details-marker{display:none}
.share-site-menu>summary:hover,.share-site-menu[open]>summary{background:var(--aw-soft)}
body[data-inklura-public] .share-site-menu>.nav{position:absolute;inset:auto 0 auto auto;top:calc(100% + 10px);z-index:60;display:flex!important;flex-direction:column;align-items:stretch;justify-content:flex-start;flex-wrap:nowrap;width:min(320px,calc(100vw - 24px));height:auto;min-height:0;padding:16px;gap:14px;border:1px solid var(--aw-line);border-radius:10px;background:var(--aw-bg);box-shadow:0 12px 36px #0002;backdrop-filter:none}
body[data-inklura-public] .share-site-menu .nav>.spacer{display:none}
body[data-inklura-public] .share-site-menu .nav>.links{display:grid;grid-template-columns:1fr 1fr;gap:4px;width:100%;order:0;margin:0}
body[data-inklura-public] .share-site-menu .nav .links a.hide-sm{display:block!important;font-size:12px;padding:8px;text-align:left}
body[data-inklura-public] .share-site-menu .nav>.ik-hc{margin:0;width:100%;justify-content:space-between;flex-wrap:wrap;order:0}
body[data-inklura-public] .share-site-menu .nav .logo{width:auto;margin:0;justify-content:flex-start}
@media(max-width:1100px){
 #artifact-workspace .aw-topbar>.aw-actions>.aw-link{display:none}
}
@media(max-width:760px){
 #artifact-workspace.aw-detail-open>.aw-topbar{display:flex;flex-wrap:wrap;gap:5px 7px;min-height:48px;padding:6px 8px}
 #artifact-workspace .aw-topbar .aw-details-title{flex:1;min-width:80px}
 #artifact-workspace .aw-topbar .aw-details-title h1{font-size:12px}
 #artifact-workspace .aw-topbar .aw-details-title .share-reader-meta{font-size:10px}
 #artifact-workspace .aw-topbar>.aw-badge{display:none}
 #artifact-workspace .aw-topbar>.aw-deliverable-nav{order:0;margin:0;width:auto}
 #artifact-workspace .aw-topbar>.aw-actions{display:flex;margin:0;order:0}
 #artifact-workspace .aw-topbar>.aw-actions button{min-height:32px}
 #artifact-workspace .aw-topbar .aw-preview-toolbar{order:4;width:100%;justify-content:space-between;border-top:1px solid var(--aw-line);padding-top:5px}
 #artifact-workspace .aw-topbar .aw-preview-toolbar .share-files-toggle{min-height:32px}
 #artifact-workspace.aw-detail-open>.aw-detail{display:flex;flex-direction:column;position:relative;overflow:hidden}
 #artifact-workspace .aw-detail>.aw-stage{flex:1;min-height:0;width:100%}
 #artifact-workspace .aw-detail:not(.aw-expanded)>.aw-aside{position:absolute;inset:0 0 0 auto;width:min(340px,100%);border-left:1px solid var(--aw-line);background:var(--aw-bg);box-shadow:-8px 0 24px #0002;z-index:4}
 #artifact-workspace .aw-inspector-pane{max-height:none;flex:1;overflow:auto}
}
body[data-inklura-public] .share-site-menu .nav .links [data-share-revise]{grid-column:1 / -1}
