/* One shared bar: logo, location and actions. Scoped away from collaborator UI. */
body.workspace-system #shell>main{padding-top:56px}
body.workspace-system #shell>main>header{position:fixed;inset:0 0 auto 0;height:56px;min-height:56px;box-sizing:border-box;display:flex;flex-flow:row nowrap;align-items:center;gap:12px;padding:6px 16px;z-index:13}
body.workspace-system #shell>.sidebar{padding-top:64px;box-sizing:border-box}
body.workspace-system #shell>.sidebar>.brand{display:none}
body.workspace-system #shell>main>header .heading-stack{display:flex;flex:0 0 204px;align-items:center;min-width:0}
body.workspace-system #shell>main>header .header-logo{display:block;width:204px;height:auto;max-height:38px;object-fit:contain;margin:0}
body.workspace-system #shell>main>header:has(.workspace-context) #pageTitle{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body.workspace-system #shell>main>header .workspace-context{display:flex;flex:1;min-width:0;gap:6px;border:0;padding:0;background:transparent;overflow:hidden}
body.workspace-system #shell>main>header .workspace-context nav{flex-wrap:nowrap;min-width:0;overflow:hidden;white-space:nowrap}
body.workspace-system #shell>main>header .workspace-context [aria-current=page]{overflow:hidden;text-overflow:ellipsis}
body.workspace-system #shell>main>header .workspace-back{flex:none;min-width:32px;min-height:36px;padding:5px}
body.workspace-system #shell>main>header .headerActions{display:flex;flex-flow:row nowrap;align-items:center;flex:none;width:auto;gap:6px;max-width:none}
body.workspace-system #shell>main>header #role{display:none}
body.workspace-system #shell>main>header :is(.gj-whatsapp-shortcut,#releaseBell,#accountMenu>summary,.gj-connection-retry){height:38px;min-height:38px;box-sizing:border-box}
body.workspace-system #shell>main>header .gj-connection-control{display:flex;align-items:center;gap:5px}
body.workspace-system #shell>main>header .gj-connection{max-width:150px;font-size:10px}
body.workspace-system #shell #releasePanel{position:fixed;top:60px;right:12px}
body.workspace-system #shell .sidebar #gjInstallApp{width:100%;justify-content:flex-start;background:transparent!important;color:inherit!important;font:inherit!important;padding:8px 12px!important}
body.workspace-system #shell #gjInstallNavigationHost{font-size:12px}
@media(max-width:1100px){body.workspace-system #shell>main>header .heading-stack{flex-basis:170px}body.workspace-system #shell>main>header .header-logo{width:170px}body.workspace-system #shell>main>header .gj-connection{font-size:0;max-width:8px;gap:0}body.workspace-system #shell>main>header .workspace-context nav>:not([aria-current=page]){display:none}}
@media(max-width:800px){body.workspace-system #shell>main>header{gap:6px;padding:6px 8px}body.workspace-system #shell>main>header .heading-stack{display:none}body.workspace-system #shell>main>header #menuBtn{display:inline-flex;flex:none;width:38px;height:40px;min-height:40px}body.workspace-system #shell>main>header .headerActions{gap:4px}body.workspace-system #shell>main>header .gj-whatsapp-shortcut-label,body.workspace-system #shell>main>header .account-label-desktop{display:none}body.workspace-system #shell>main>header .account-label-mobile{display:inline}body.workspace-system #shell>main>header .gj-whatsapp-shortcut{width:38px;padding:0}body.workspace-system #shell>main>header #accountMenu>summary{padding:6px}body.workspace-system #shell>main>header .workspace-context nav{font-size:12px}body.workspace-system #shell>main>header .workspace-back{min-width:28px;padding:3px}body.workspace-system #shell>.sidebar>.brand{display:flex}body.workspace-system #shell>.sidebar{padding-top:64px}body.workspace-system #shell>main>header #myWorkAlert{display:none}}
body.workspace-system #accountMenu .account-panel :is(#headerPush,#rhOvertimeButton,#myWorkAlert){display:flex!important;position:static;min-width:0;max-width:100%;width:100%;height:auto;min-height:42px;white-space:normal;justify-content:flex-start;gap:8px}
body.workspace-system #accountMenu .account-panel :is(#headerPush,#rhOvertimeButton)::after{content:attr(aria-label);font-size:12px}
body.workspace-system #accountMenu .account-panel #headerPush .header-action-label{display:none}
@media(max-width:380px){body.workspace-system #shell>main>header .account-label-mobile{display:none}body.workspace-system #shell>main>header .gj-connection-control{display:none}}
@media print{body.workspace-system #shell>main{padding-top:0}body.workspace-system #shell>main>header{display:none!important}}

/* The toolbar and its back action remain on the same row at mobile widths. */
@media screen and (max-width:800px){
 html body.workspace-system #shell>main{padding-top:56px;margin-top:0}
 html body.workspace-system #shell>main>header{position:fixed;top:0;left:0;right:0;display:flex;flex-flow:row nowrap;height:56px;min-height:56px;padding:6px 8px;gap:6px;margin:0}
 html body.workspace-system #shell>main>header .heading-stack{display:none}
 html body.workspace-system #shell>main>header .workspace-context{position:static;flex:1 1 0;min-width:0;min-height:0;height:44px;margin:0;padding:0;align-items:center;overflow:hidden}
 html body.workspace-system #shell>main>header .workspace-back{position:static;flex:0 0 36px;width:36px;height:44px;min-height:44px;margin:0;transform:none}
 html body.workspace-system #shell>main>header .headerActions{flex:0 0 auto;width:auto;min-width:0;flex-flow:row nowrap;margin:0;gap:4px}
 html body.workspace-system #shell>main>header #menuBtn{margin:0;flex:0 0 38px}
 html body.workspace-system #shell>main>header #myWorkAlert{display:none!important}
}

@media screen and (max-width:800px) {
  html body.workspace-system #shell>main>header {
    align-items:center;
    min-height:56px;
    height:56px;
    padding-block:4px;
  }
  html body.workspace-system #shell>main>header :is(#menuBtn,.gj-whatsapp-shortcut,#releaseBell,#accountMenu>summary) {
    height:44px;
    min-height:44px;
    margin-block:0;
    align-self:center;
  }
}
@media screen and (max-width:800px) {
  html body.workspace-system #shell>main>header {
    box-sizing:border-box!important;
    height:calc(56px + env(safe-area-inset-top,0px))!important;
    min-height:calc(56px + env(safe-area-inset-top,0px))!important;
    padding:calc(6px + env(safe-area-inset-top,0px)) max(10px,env(safe-area-inset-right)) 6px max(10px,env(safe-area-inset-left))!important;
    align-items:center!important;
  }
  html body.workspace-system #shell>main {padding-top:calc(56px + env(safe-area-inset-top,0px))!important;}
  html body.workspace-system #shell>main>header .headerActions {
    display:flex!important;align-items:center!important;height:44px!important;margin:0 0 0 auto!important;padding:0!important;
  }
  html body.workspace-system #shell>main>header :is(#menuBtn,.gj-whatsapp-shortcut,#releaseBell,#accountMenu>summary){
    display:inline-flex; align-items:center;justify-content:center;box-sizing:border-box;
    height:44px!important;min-height:44px!important;margin:0!important;top:auto!important;transform:none!important;
  }
  html body.workspace-system #shell>main>header #accountMenu {align-self:center;margin:0;}
}
