/* A single shared surface for identity, account controls and page navigation. */
#portalApp .shell>header.portal-shell-header{display:block;position:relative;inset:auto;width:auto;height:auto;min-height:0;max-width:1484px;margin:26px 38px 0;padding:22px 24px 17px;border:1px solid #d0dff4;border-radius:16px;background:linear-gradient(110deg,#f8fbff,#f0f5ff);box-shadow:0 5px 20px #143f7b06;z-index:2}
.portal-shell-top{display:flex;align-items:center;justify-content:space-between;gap:24px;min-width:0}
.portal-shell-identity{display:flex;align-items:center;gap:16px;min-width:0;flex:1}
.portal-shell-symbol{width:52px;height:52px;flex:0 0 52px;border:1px solid #c9daf5;border-radius:12px;background:#f7faff;display:grid;place-items:center;color:#003769}
.portal-shell-symbol svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.portal-shell-copy{min-width:0}
.portal-shell-header .breadcrumbs{font-size:20px;line-height:1.4;font-weight:700;color:#003769}
.portal-shell-header .breadcrumbs #clientContext{display:block;padding:0;color:#003769;font-weight:700}
.portal-shell-header .breadcrumbs>span:not(#clientContext),.portal-shell-header .breadcrumbs>#crumb{display:none}
#portalShellContext{font-size:13px;line-height:1.7;color:#526c91;margin-top:4px;overflow-wrap:anywhere}
.portal-shell-header .header-actions{flex-shrink:0;flex-wrap:nowrap}
.portal-shell-header .header-actions>.prototype{display:none!important}
.portal-shell-header .header-actions>#profileBtn.logged-user{max-width:285px}
.portal-shell-header .header-actions>#profileBtn .logged-user-name{max-width:220px}
#portalApp .shell>.demo-banner{display:none}
.portal-shell-bottom .workspace-return-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;border:0;margin:19px 0 0;padding:0;min-height:36px}
.portal-shell-bottom .workspace-return-bar>nav{display:flex;align-items:center;gap:9px;flex-wrap:wrap;min-width:0}
.portal-shell-bottom .workspace-return-bar>nav a{font-size:12px;line-height:1.7;color:#2454c4;background:transparent}
.portal-shell-bottom .workspace-return-bar>nav>b{font-size:12px;line-height:1.7;color:#003769;font-weight:700}
.portal-shell-bottom .workspace-return-bar>nav>span{font-size:11px;color:#8ba0bc}
.portal-shell-bottom .workspace-return-bar>.button{font-size:12px;min-height:36px;display:flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:9px;background:#ffffffb0;color:#174678}
#portalApp .shell>main{padding-top:24px}
@media(min-width:1812px) and (max-width:1899px){#portalApp .shell>header.portal-shell-header{margin-left:auto;margin-right:auto}}
@media(min-width:1900px){#portalApp .shell>header.portal-shell-header{max-width:1664px;margin-left:48px;margin-right:48px}}
@media(min-width:2006px){#portalApp .shell>header.portal-shell-header{margin-left:auto;margin-right:auto}}
@media(max-width:1400px){.portal-shell-top{align-items:flex-start;flex-wrap:wrap;gap:18px}.portal-shell-identity{flex:1 1 320px}.portal-shell-header .header-actions{flex:0 1 auto}.portal-shell-header .breadcrumbs{font-size:18px}.portal-shell-symbol{width:46px;height:46px;flex-basis:46px}}
@media(max-width:1150px){#portalApp .shell>header.portal-shell-header{margin:24px 25px 0;padding:20px}.portal-shell-identity{flex-basis:100%}.portal-shell-header .header-actions{margin-left:auto}.portal-shell-bottom .workspace-return-bar{margin-top:16px}}
@media(max-width:700px){.portal-shell-header .header-actions{width:100%;margin-left:0}.portal-shell-header .header-actions>#profileBtn.logged-user{max-width:none;flex:1;min-width:0}.portal-shell-header .header-actions>#profileBtn .logged-user-name{max-width:none}.portal-shell-identity{flex-basis:0;gap:11px}.portal-shell-top{gap:15px}.portal-shell-symbol{width:40px;height:40px;flex-basis:40px}.portal-shell-symbol svg{width:25px;height:25px}.portal-shell-header .breadcrumbs{font-size:18px}#portalShellContext{font-size:12px}.portal-shell-bottom .workspace-return-bar{align-items:flex-start;flex-direction:column;gap:13px}.portal-shell-bottom .workspace-return-bar>.button{align-self:flex-end;font-size:11px}.portal-shell-header .mobile-menu{flex:0 0 35px;width:35px;min-width:35px}}
@media(max-width:640px){#portalApp .shell>header.portal-shell-header{margin:18px 19px 0;padding:17px 15px 15px;border-radius:13px}.portal-shell-header .header-actions{gap:7px}.portal-shell-header .header-actions>#switchWorkspace{padding-left:9px;padding-right:9px}.portal-shell-header .header-actions>#logoutPreview{padding-left:9px;padding-right:9px}.portal-shell-header .header-actions>#profileBtn.logged-user{gap:6px;padding-left:7px;padding-right:7px}.portal-shell-header .logged-user-avatar{width:24px;height:24px;flex-shrink:0}.portal-shell-header .logged-user-name{font-size:9px;line-height:12px}.portal-shell-header .logged-user-role{font-size:8px}.portal-shell-bottom .workspace-return-bar>nav a,.portal-shell-bottom .workspace-return-bar>nav>b{font-size:11px}.portal-shell-bottom .workspace-return-bar>nav{gap:7px}}
/* Outside project pages use the same header, with the established wider shell. */
.workspace-outside #portalApp .shell>header.portal-shell-header{max-width:1220px;margin:26px 40px 0}
@media(min-width:1300px){.workspace-outside #portalApp .shell>header.portal-shell-header{margin-left:auto;margin-right:auto}}
@media(max-width:700px){.workspace-outside #portalApp .shell>header.portal-shell-header{margin:18px 19px 0}}
