/* One navigation treatment for customer, admin and affiliate workspaces. */
.workspace-mobile-brand,.workspace-module-picker{display:none}
/* Portal tools share one flow; the header reserves space before catalog content. */
.portal-header-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;min-width:0;max-width:100%}
.portal-header-actions .account-menu{min-width:0;max-width:100%;justify-content:flex-end}
.portal-shell-authenticated .portal-header{height:auto;box-shadow:none}
.portal-shell-authenticated .portal-header-main{height:auto;min-height:70px;flex-wrap:wrap}
.npc-workspace-navigation .workspace-sidebar nav button,
.portal-shell-authenticated .portal-desktop-nav button{display:flex;align-items:center;justify-content:flex-start;gap:12px;position:relative;min-height:44px;padding:10px 12px;margin:0 0 6px;border:0;border-radius:4px;font-size:13px;text-align:left;color:#55544e}
.npc-workspace-navigation .workspace-sidebar nav button[aria-current=page],
.portal-shell-authenticated .portal-desktop-nav button[aria-pressed=true]{background:#090909;color:#fffef9;box-shadow:none}
.npc-workspace-navigation .workspace-sidebar nav button[aria-current=page]::after,
.portal-shell-authenticated .portal-desktop-nav button[aria-pressed=true]::after{content:"";position:absolute;right:10px;width:6px;height:6px;border-radius:50%;background:#ff4b23}
.npc-workspace-navigation .workspace-count{display:none}
.npc-workspace-navigation .d2-pilot-brand{height:82px;padding:20px 8px;display:flex;align-items:flex-start}
.npc-workspace-navigation .d2-pilot-brand .npc-logo-lockup img,
.portal-shell-authenticated .portal-header-main>.npc-brand .npc-logo-lockup img{width:100px}
.npc-workspace-navigation .workspace-sidebar nav button:focus-visible,
.portal-shell-authenticated .portal-desktop-nav button:focus-visible{outline:2px solid #b52b0e;outline-offset:2px}
@media(min-width:901px){
 .npc-workspace-navigation .workspace-sidebar{position:fixed;top:0;bottom:0;left:0;width:168px;padding:0 8px;background:#fffef9;border-right:1px solid #dedbd2;z-index:30}
 .npc-workspace-navigation .workspace-sidebar nav{display:grid;gap:5px}
 .npc-workspace-navigation .workspace-header{position:relative;top:auto;right:auto;left:auto;height:auto;min-height:64px;margin-left:168px;padding:10px 20px;border:0;background:transparent;backdrop-filter:none}
 .npc-workspace-navigation .workspace-header-actions{flex-wrap:wrap;justify-content:flex-end;min-width:0;max-width:100%}
 .npc-workspace-navigation .workspace-content{margin-left:168px}
}
@media(min-width:761px){
 .portal-shell-authenticated .portal-desktop-nav{position:fixed;top:0;bottom:0;left:0;height:auto;max-width:none;margin:0;padding:82px 8px 20px;width:168px;display:flex;flex-direction:column;gap:5px;background:#fffef9;border-right:1px solid #dedbd2;z-index:30}
 .portal-shell-authenticated .portal-header-main>.npc-brand{position:fixed;left:16px;top:20px;z-index:35}
 .portal-shell-authenticated .portal-header-main{max-width:none;margin-left:168px;justify-content:flex-end}
 .portal-shell-authenticated .portal-content{margin-left:168px}
}
@media(max-width:900px){
 .npc-workspace-navigation .workspace-header{position:relative;top:auto;right:auto;left:auto;height:auto;min-height:60px;padding:8px 16px;justify-content:space-between;background:#fffef9}
 .npc-workspace-navigation .workspace-mobile-brand{display:flex;align-items:center;min-width:0}
 .npc-workspace-navigation .workspace-mobile-brand img{width:76px}
 .npc-workspace-navigation .workspace-sidebar{position:relative;top:auto;width:100%;padding:4px 16px 12px;border-right:0;background:#fffef9}
 .npc-workspace-navigation .d2-pilot-brand{display:none}
 .npc-workspace-navigation .workspace-sidebar .workspace-primary-navigation{display:none}
 .npc-workspace-navigation .workspace-module-picker{display:flex;align-items:center;gap:12px;font-size:12px;color:#4f4e49}
 .npc-workspace-navigation .workspace-module-picker select{min-height:44px;flex:1;min-width:0;border:1px solid #8b887f;border-radius:8px;background:#fffef9;padding:8px 12px;font-size:14px;font-weight:650;color:#090909}
 .npc-workspace-navigation .workspace-sidebar nav button{flex-shrink:0;padding-right:24px}
 .npc-workspace-navigation .workspace-content{margin-left:0}
 .npc-workspace-navigation .workspace-back{display:none}
}
@media(max-width:760px){
 .portal-shell-authenticated .portal-header{height:auto;position:relative}
 .portal-shell-authenticated .portal-header-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;height:auto;min-height:70px;padding:10px 12px}
 .portal-shell-authenticated .portal-header-actions{display:contents}
 .portal-shell-authenticated .portal-header-actions>.locale-switcher{grid-column:2;grid-row:1}
 .portal-shell-authenticated .portal-header-actions>.account-menu{grid-column:1/-1;justify-content:flex-end}
 .portal-shell-authenticated .portal-header-actions :is(.account-menu-index,.account-menu-logout){padding-inline:8px}
 .portal-shell-authenticated .portal-desktop-nav{display:none}
 .portal-shell-authenticated .portal-header-main>.npc-brand,
 .portal-shell-authenticated .portal-header-main>div{position:static}
 .portal-shell-authenticated .portal-header-main>.npc-brand .npc-logo-lockup img{width:80px}
 .portal-shell-authenticated .portal-content{margin-left:0}
}
