/* The installed desktop window shares the existing header photograph. */
.app-window-titlebar{display:none}
@media(display-mode:window-controls-overlay){
 html{--app-window-height:env(titlebar-area-height,32px)}
 .app-window-titlebar{display:flex;align-items:center;gap:8px;position:fixed;top:env(titlebar-area-y,0px);left:env(titlebar-area-x,0px);width:env(titlebar-area-width,100%);height:var(--app-window-height);padding:0 10px;z-index:65;overflow:hidden;white-space:nowrap;user-select:none;cursor:default;-webkit-app-region:drag;app-region:drag;background:#00131f;color:#d4e8f8;font:400 12px/18px 'Segoe UI',sans-serif;border:0;box-shadow:none}
 .app-window-titlebar>img{display:block;flex:none;width:17px;height:17px;object-fit:contain;pointer-events:none}
 .app-window-titlebar>span{min-width:0;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
 /* Transparent content reveals the same single, fixed body photograph. */
 html body.app-ready.shell-refined>.app-window-titlebar{background:linear-gradient(90deg,transparent calc(100% - 90px),#00131f)}
 html body.app-ready.shell-refined>.topbar{top:var(--app-window-height)}
 html body.app-ready.shell-refined>.sidebar{top:var(--app-window-height);height:calc(100dvh - var(--app-window-height))}
 html body.app-ready.shell-refined>#app{padding-top:calc(60px + var(--app-window-height))}
 html body.app-ready.shell-refined>#notificationPanel{top:calc(46px + var(--app-window-height));max-height:calc(100dvh - 61px - var(--app-window-height))}
 html body.app-ready.shell-refined:has(>.sidebar.open)>.shell-nav-backdrop{top:var(--app-window-height)}
 body>#splash{top:var(--app-window-height)}
 body .auth-page{padding-top:calc(28px + var(--app-window-height))}
 @media(max-width:900px){html body.app-ready.shell-refined>#app{padding-top:calc(62px + var(--app-window-height))}}
}
