/* Compact account controls; audited GPIL/JBSADD headers opt in. */
@media (min-width: 1025px) {
 :root body [data-fleet-header-layout="compact"] .header.header .header-container { gap: 12px; box-sizing: border-box; }
 :root body [data-fleet-header-layout="compact"] .header.header .header-container > .main-nav { flex: 1 1 0; min-width: 0; }
 :root body [data-fleet-header-layout="compact"] .header.header .main-menu { display: flex; grid-template-columns: none; width: 100%; min-width: 0; justify-content: center; gap: 8px; }
 :root body [data-fleet-header-layout="compact"] .header.header .main-menu > li { flex: 0 0 auto; width: auto; min-width: max-content; }
 :root body [data-fleet-header-layout="compact"] .header.header .main-menu > li > a { width: auto; padding-inline: 8px; font-size: 16px; }
 :root body [data-fleet-header-layout="compact"] .header.header .header-container > .user-menu { flex: 0 0 auto; min-width: max-content; margin-right: 0; }
 :root body [data-fleet-header-layout="compact"] .header.header :is(.login-status,.user-info) { flex-shrink: 0; flex-wrap: nowrap; gap: 8px; margin-right: 0; }
 :root body [data-fleet-header-layout="compact"] .header.header .user-menu :is(.login-link-btn,.intranet-entry-btn,.admin-btn,.logout-btn) { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; white-space: nowrap; min-height: 40px; box-sizing: border-box; margin-inline: 0; }
 :root body [data-fleet-header-layout="compact"] .header.header .header-container > .menu-toggle { flex: 0 0 32px; width: 32px; min-width: 32px; height: 32px; box-sizing: border-box; margin-inline: 0; }
}
@media (min-width: 1025px) and (max-width: 1280px) {
 :root body [data-fleet-header-layout="compact"] .header.header .header-container > .main-nav { display: none; }
 :root body [data-fleet-header-layout="compact"] .header.header .header-container > .user-menu { margin-left: auto; }
}
@media (min-width: 1025px) and (max-width: 1600px) {
 :root body [data-fleet-header-layout="compact"] .header.header .header-container:has(.user-info) > .main-nav { display: none; }
 :root body [data-fleet-header-layout="compact"] .header.header .header-container:has(.user-info) > .user-menu { margin-left: auto; }
}
@media (max-width: 1024px) {
 :root body [data-fleet-header-layout="compact"] #menuOverlay .mobile-account a { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; white-space: nowrap; }
}
