.crm-shell header#header{position:sticky;top:0;z-index:40;background:var(--card,#fff);border-bottom:1px solid var(--rule,#dce1e8)}
.crm-shell .bar{max-width:680px;margin:0 auto;display:flex;align-items:center;gap:8px;padding:10px 16px 0;min-height:48px}
.crm-shell .brand{flex:1 1 auto;min-width:0;color:var(--ink,#1c3d6e);font-size:15px;font-weight:600;line-height:1.35;white-space:nowrap}
.crm-shell .environment-badge{display:inline-block;margin-left:7px;padding:1px 6px;border-radius:4px;background:#fbedE5;color:#b4460f;font-size:12px;font-weight:600;vertical-align:middle}
.crm-shell .identity{flex:0 1 auto;min-width:0;color:var(--sub,#646c78);font-size:12.5px;line-height:1.3;text-align:right}
.crm-shell .identity b,.crm-shell .identity span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.crm-shell .identity b{color:var(--text,#14161a);font-size:13px}
.crm-shell .manage{position:relative;flex:0 0 auto}
.crm-shell .manage summary{appearance:none;display:grid;place-items:center;width:36px;height:32px;border:1px solid var(--rule,#dce1e8);border-radius:6px;background:var(--card,#fff);color:var(--ink,#1c3d6e);font-size:21px;line-height:1;cursor:pointer;list-style:none}
.crm-shell .manage summary::-webkit-details-marker{display:none}
.crm-shell .manage-menu{position:absolute;right:0;top:38px;z-index:70;width:156px;padding:5px;background:var(--card,#fff);border:1px solid var(--rule,#dce1e8);border-radius:8px;box-shadow:0 8px 24px rgba(20,22,26,.12)}
.crm-shell .manage-menu button{display:block;width:100%;margin:0;padding:9px 10px;border:0;border-radius:5px;background:none;color:var(--text,#14161a);font:inherit;font-size:14px;line-height:1.4;text-align:left;cursor:pointer}
.crm-shell .manage-menu button:hover{background:var(--ink-soft,#e8eef7);color:var(--ink,#1c3d6e)}
.crm-shell nav#primaryNav{width:100%;max-width:680px;margin:0 auto;display:flex;gap:20px;padding:0 16px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;flex-wrap:nowrap;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.crm-shell nav#primaryNav::-webkit-scrollbar{display:none}
.crm-shell nav#primaryNav button{flex:0 0 auto;min-width:44px;appearance:none;background:none;border:0;border-bottom:2px solid transparent;color:var(--sub,#646c78);font:inherit;font-size:14.5px;padding:10px 4px;white-space:nowrap;cursor:pointer}
.crm-shell nav#primaryNav button[aria-selected=true]{color:var(--ink,#1c3d6e);font-weight:600;border-bottom-color:var(--ink,#1c3d6e)}
.crm-shell .nav-new-badge{display:inline-block;margin-left:4px;padding:0 4px;border-radius:3px;background:var(--warm-bg,#fbedE5);color:var(--warm,#b4460f);font-size:10px;line-height:1.4}
.crm-shell .nav-count-badge{display:inline-grid;place-items:center;min-width:17px;height:17px;margin-left:4px;padding:0 4px;border-radius:9px;background:#b4460f;color:#fff;font-size:11px;font-weight:700}
.crm-shell .hidden{display:none!important}
@media(max-width:520px){.crm-shell nav#primaryNav{gap:14px}.crm-shell .bar{padding-top:10px}}
@media(max-width:430px){.crm-shell nav#primaryNav{gap:12px}}
@media(max-width:420px){.crm-shell .brand{font-size:14px}.crm-shell .environment-badge{margin-left:4px;padding-inline:4px;font-size:11px}.crm-shell .identity{max-width:92px}}

.store-secondary{display:flex;gap:6px;justify-content:center;padding:6px 8px;background:#f5f2eb;border-bottom:1px solid #e0dbd0}.store-secondary a{flex:0 0 auto;text-decoration:none;color:#52655c;font-size:13px;padding:7px 12px;border-radius:5px;white-space:nowrap}.store-secondary a[aria-current=page]{background:#e5eadd;color:#304f47}
