#gb-app-shell{position:sticky;top:0;z-index:2147483001;display:block;margin:0 0 8px;padding:7px 10px;background:#171b25!important;color:#f7f5f1!important;border-bottom:2px solid #e53436;font:18px/1.35 Arial,Helvetica,sans-serif}
#gb-app-shell *{box-sizing:border-box;font-family:Arial,Helvetica,sans-serif}
#gb-app-shell .gb-shell-line{display:flex;align-items:center;gap:8px 18px;flex-wrap:wrap}
#gb-app-shell a{color:#ffdf7a!important;font-weight:bold;text-decoration:none}
#gb-app-shell .gb-shell-home{font-size:22px;color:white!important}
#gb-app-shell .gb-shell-workspace{border:1px solid #626673;padding:2px 5px}
#gb-app-shell .gb-shell-location{display:flex;align-items:center;gap:8px 18px;flex-wrap:wrap;margin-top:4px}
#gb-app-shell .gb-shell-inherited{color:#c0c0ca;font-size:17px}
#gb-app-menu{position:relative;margin-left:auto}
#gb-app-menu summary{list-style:none;padding:6px 10px;cursor:pointer;background:#e52c33!important;border:1px solid white;color:white!important;font-weight:bold;white-space:nowrap}
#gb-app-menu summary::-webkit-details-marker{display:none}
#gb-app-menu nav{position:absolute;right:0;top:calc(100% + 4px);display:block;width:300px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 145px);overflow:auto;background:#1d212a!important;border:1px solid #626673;box-shadow:0 8px 20px #0008;padding:4px}
#gb-app-menu nav a{display:block;padding:8px 10px;font-size:18px!important;border-bottom:1px solid #444;color:#f7f5f1!important}
#gb-app-menu nav a:hover,#gb-app-menu nav a:focus{background:#343846!important}
#gb-app-menu .gb-menu-group{padding:7px 10px;background:#10131a;color:#ffdf7a;font-size:16px;font-weight:bold}
@media(max-width:650px){#gb-app-shell{font-size:17px;padding:6px}#gb-app-shell .gb-shell-line{gap:5px 10px}#gb-app-shell .gb-shell-location{gap:4px 8px}#gb-app-shell .gb-shell-inherited{display:none}#gb-app-menu{margin-left:0}}

#gb-app-shell .gb-role-form{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:0}
#gb-app-shell .gb-role-form label{display:inline;font-size:18px;font-weight:bold;margin:0}
#gb-app-shell .gb-role-form select,#gb-app-shell .gb-role-form button{font:700 18px/1.3 Arial,sans-serif!important;padding:5px 7px;min-height:36px;width:auto;max-width:100%;border:1px solid white}
@media(max-width:650px){#gb-app-shell{font-size:18px!important}#gb-app-shell .gb-role-form select,#gb-app-shell .gb-role-form button{font-size:20px!important}#gb-app-menu nav{max-height:calc(100dvh - 220px)}}

#gb-app-shell .gb-shell-band{font-size:20px!important;line-height:1.4;font-weight:600;margin-top:6px;overflow-wrap:anywhere}
@media(max-width:650px){#gb-app-shell .gb-shell-band{font-size:22px!important}}

#gb-app-shell .gb-shell-band:empty{display:none}

/* Preserve the line breaks entered in the shared band editor. */
#gb-app-shell .gb-shell-band{white-space:pre-line!important}

/* Shared gold brand and red framing. */
#gb-app-shell{border-top:2px solid #e53436!important;border-bottom:2px solid #e53436!important}
#gb-app-shell .gb-shell-home{display:inline-flex;align-items:center;gap:7px;flex:none;white-space:nowrap;color:gold!important;font-size:26px!important;font-weight:900;line-height:1.2}
#gb-app-shell .gb-brand-name{color:gold!important;font-size:inherit;font-weight:900}
#gb-app-shell .gb-brand-clapboard{font-size:30px;line-height:1.1}

/* Center shared identity, role, location and band wording; preserve logo/menu corners. */
#gb-app-shell{text-align:center}
#gb-app-shell .gb-shell-line{position:relative;justify-content:center;padding:0 115px 0 175px;min-height:42px}
#gb-app-shell .gb-shell-home{position:absolute;left:0;top:3px}
#gb-app-shell #gb-app-menu{position:absolute;right:0;top:0;margin:0;text-align:left}
#gb-app-shell .gb-role-form{justify-content:center}
#gb-app-shell .gb-shell-location{justify-content:center;text-align:center}
#gb-app-shell .gb-shell-band{text-align:center}
@media(max-width:850px){
 #gb-app-shell .gb-shell-line{padding:48px 0 0;min-height:42px;justify-content:center}
 #gb-app-shell .gb-shell-home{top:0;left:0}
 #gb-app-shell #gb-app-menu{top:0;right:0;margin:0}
 #gb-app-shell .gb-role-form{justify-content:center}
}
