/* Compact header: preserve logo, hide wordmark only. */
.topbar .brand > :not(.brand-mark){display:none!important}
.topbar .brand{flex:0 0 auto;gap:0}
.topbar .topbar-inner{gap:10px;max-width:1600px;padding-inline:12px}
.topbar .topnav{gap:2px;min-width:0;flex:1;justify-content:center;flex-wrap:wrap}
.topbar .topnav a.nav-item{min-width:0;padding-inline:8px;white-space:nowrap}
.topbar .account-tools{flex:0 0 auto;gap:6px}
.topbar .mlps-global-search{flex:0 1 210px;min-width:115px}
@media(max-width:1450px){.topbar .account-person > span:last-child:not(.account-mini-avatar){display:none}.topbar .topnav a.nav-item{padding-inline:6px}}
@media(max-width:1200px){.topbar .topnav a.nav-item span:not(.notify-badge){display:none}.topbar .topnav a.nav-item{min-width:40px}.topbar .mlps-dm-account-label{display:none}}
@media(max-width:800px){.topbar .topbar-inner{flex-wrap:wrap}.topbar .topnav{flex:1 0 100%;order:3;height:auto;min-height:44px}.topbar .mlps-global-search{flex:1 1 115px;min-width:0}.topbar .account-tools{margin-left:auto}.topbar .topnav a.nav-item{flex:1;min-width:32px}}
[data-save-feedback]{display:block;color:#a32f3a;padding-inline:8px}

/* Keep the whole header within the viewport. */
.topbar .topbar-inner{width:100%;box-sizing:border-box;flex-direction:row;align-items:center;min-width:0}
.topbar .topnav{height:auto;min-height:48px}
.topbar .topnav a.nav-item{min-height:44px;gap:5px}
@media(max-width:800px){.topbar .topnav{width:100%;order:3}.topbar .topbar-inner{gap:6px}.topbar .mlps-global-search{order:2;flex:0 0 100%}.topbar .topnav a.nav-item{padding-inline:4px}.topbar .topnav a.nav-item.is-active:after{bottom:0}}
