
        /* Ensure all navigator buttons are in a SINGLE ROW - no wrapping */
        .header-center {
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            align-items: center !important;
            justify-content: center !important; /* Centered and aligned with search bar */
            gap: 12px !important;
            width: auto !important;
            min-width: 0 !important;
            max-width: none !important;
            overflow: visible !important;
            z-index: 10001 !important;
            position: relative !important;
            isolation: auto !important; /* Don't create new stacking context */
        }
        /* Override any responsive CSS that might cause wrapping */
        @media (max-width: 1200px) {
            .header-center {
                flex-wrap: nowrap !important;
            }
            .header-center .nav-item {
                display: inline-flex !important;
                flex-wrap: nowrap !important;
            }
        }
        .header-center .nav-item {
            display: inline-flex !important;
            flex-wrap: nowrap !important;
            align-items: center !important;
            justify-content: center !important;
            height: auto !important;
            margin: 0 !important;
            padding: 0 !important;
            flex-shrink: 0 !important;
            flex-grow: 0 !important;
            vertical-align: middle !important;
            visibility: visible !important;
            opacity: 1 !important;
            white-space: nowrap !important;
            position: relative !important; /* Ensure nav-item can contain absolute positioned dropdown */
        }
        
        /* Ensure dropdowns are visible on hover and above everything */
        /* Exclude Impact and Regions from the position:fixed rule to avoid misalignment */
        .header-center .nav-item:not(.impact-dropdown-container):not(.regions-dropdown-container):hover .nav-item-grid {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
            pointer-events: auto !important;
            z-index: 999999 !important;
            position: fixed !important; /* Fixed to escape containers for Profile/Guest */
        }
        
        /* Force dropdown to appear above all other elements */
        .header-center .nav-item:last-child {
            z-index: 999999 !important;
            position: relative !important;
        }
        /* Navigation Icon-Text Pairing Logic */
        @media (min-width: 981px) {
            .nav-text { display: inline !important; font-size: 13px !important; font-weight: 600 !important; letter-spacing: 0.02em !important; }
            #navigator-container {
                width: 100% !important;
                justify-content: space-evenly !important;
                gap: 0 !important;
            }
            #navigator-container > .nav-item:has(.nav-btn) {
                flex: 1 1 0 !important;
                justify-content: center !important;
                margin: 0 !important;
            }
            #navigator-container .nav-btn > i:not(.fa-caret-down),
            .header-center .nav-btn > i:not(.fa-caret-down) {
                display: inline-flex !important;
                visibility: visible !important;
                opacity: 1 !important;
                width: auto !important;
                height: auto !important;
                overflow: visible !important;
                font-size: 13px !important;
                margin: 0 !important;
                flex-shrink: 0 !important;
            }
            #navigator-container .nav-btn > i.fa-caret-down,
            .header-center .nav-btn > i.fa-caret-down {
                display: inline-flex !important;
                font-size: 9px !important;
                margin-left: 2px !important;
                opacity: 0.7 !important;
            }
        }
        @media (max-width: 980px) {
            .nav-text { display: block !important; font-size: 10px !important; line-height: 1.15 !important; white-space: nowrap !important; }
            .at-nav-community-hub .nav-text { font-size: 9px !important; }
            .header-center .nav-item {
                flex-direction: column !important;
                align-items: stretch !important;
            }
            .header-center .nav-btn {
                flex-direction: column !important;
                align-items: center !important;
                justify-content: center !important;
                gap: 3px !important;
                font-size: 10px !important;
                min-width: 48px !important;
                padding: 4px 8px !important;
                white-space: nowrap !important;
            }
            .header-center .nav-btn i:not(.fa-caret-down) {
                display: block !important;
                order: 0 !important;
                margin: 0 0 2px 0 !important;
                font-size: 12px !important;
            }
            .header-center .nav-btn .nav-text {
                order: 1 !important;
                display: block !important;
                text-align: center !important;
            }
            .header-center .nav-btn .fa-caret-down {
                display: none !important;
            }
            .at-nav-community-hub > div {
                position: fixed !important;
                z-index: 2147483647 !important;
                max-width: calc(100vw - 16px) !important;
            }
        }
        .at-nav-community-hub .nav-text { font-size: 11px !important; }
        #headerHamburgerRow2, #mobileToolsBtnContainer, #mobileToolsBtn { 
            display: none !important; 
            visibility: hidden !important; 
            opacity: 0 !important;
            pointer-events: none !important;
        }
        @media (min-width: 981px) {
        .header-center .nav-btn {
            display: inline-flex !important;
            flex-direction: row !important;
            align-items: center !important;
            justify-content: center !important;
            vertical-align: middle !important;
            line-height: 1 !important;
            height: auto !important;
            padding: 0 4px !important;
            margin: 0 !important;
            gap: 6px !important;
            visibility: visible !important;
            opacity: 1 !important;
            color: #1e293b !important;
            text-decoration: none !important;
            font-size: 13px !important;
            font-weight: 600 !important;
            letter-spacing: 0.02em !important;
            white-space: nowrap !important;
            transition: color 0.2s ease !important;
        }
        .at-nav-community-hub .nav-text { font-size: 12px !important; }
        .header-center .nav-btn:hover {
            color: #2563eb !important;
        }
        }
        
         /* Ensure navigation stays on a single horizontal line */
         .header-center {
             flex-wrap: nowrap !important;
             overflow-x: visible !important; /* do not trap wheel scroll on desktop */
             scrollbar-width: none !important;
             -ms-overflow-style: none !important;
             background: transparent !important;
             border: none !important;
         }
         .header-center::-webkit-scrollbar {
             display: none !important;
             width: 0 !important;
             height: 0 !important;
         }
         .header-center .nav-item,
         .header-center .nav-btn {
             flex: 0 0 auto !important;
             white-space: nowrap !important;
             background: transparent !important;
             border: none !important;
             box-shadow: none !important;
         }
         
         /* Additional fixes to keep navigation on a single row */
         .header-second-row .header-center {
             width: 100% !important;
             flex-shrink: 0 !important;
         }
         
         .header-second-row {
             scrollbar-width: none !important;
             -ms-overflow-style: none !important;
         }
         .header-second-row::-webkit-scrollbar {
             display: none !important;
         }
 
         /* Remove unwanted pseudo-elements and borders */
         #navigator-container > *::before,
         #navigator-container > *::after {
             content: none !important;
             display: none !important;
         }
         #smartphoneLauncherWrapper {
             border: none !important;
             outline: none !important;
             background: transparent !important;
             box-shadow: none !important;
             margin: 0 !important;
             padding: 0 !important;
         }
         #sidebarToggleBtn {
             border: none !important;
             outline: none !important;
             background: transparent !important;
             box-shadow: none !important;
             padding: 0 !important;
             /* Allow margin-left to be set separately */
         }
         
         /* Remove gap between smartphone icon and hamburger menu */
         #navigator-container {
             gap: 12px !important;
             margin-left: 0px !important; /* Reset offset to center the menu */
         }
         /* Smartphone wrapper stays, but header hamburger is removed (sidebar is opened from LEFT UFO hamburger) */
         #smartphoneLauncherWrapper { margin-right: 0 !important; padding-right: 0 !important; }
         
         /* Hide the "close phone" button when smartphone launcher is in header navigation */
         #navigator-container #homeBtnContainer,
         #navigator-container #homeBtn,
         #smartphoneLauncherWrapper #homeBtnContainer,
         #smartphoneLauncherWrapper #homeBtn {
             display: none !important;
             visibility: hidden !important;
             opacity: 0 !important;
             height: 0 !important;
             width: 0 !important;
             overflow: hidden !important;
             margin: 0 !important;
             padding: 0 !important;
         }
         
         /* Ensure smartphone icon button is properly sized and doesn't cause overflow */
         #smartphoneLauncherWrapper {
             overflow: visible !important;
             overflow-x: visible !important;
             overflow-y: visible !important;
             height: auto !important;
             min-height: auto !important;
             max-height: none !important;
         }
         
         /* Remove scrollbars from navigator container */
         #navigator-container {
             overflow: visible !important;
             overflow-x: visible !important;
             overflow-y: visible !important;
         }
         
         /* Hide scrollbars if they appear */
         #navigator-container::-webkit-scrollbar {
             display: none !important;
             width: 0 !important;
             height: 0 !important;
         }
         #navigator-container {
             -ms-overflow-style: none !important;
             scrollbar-width: none !important;
         }
         /* App launcher button removed from header */
         
        /* MOBILE HEADER RESTRUCTURE */
        @media (max-width: 980px) {
            .header-second-row {
                justify-content: center !important;
                padding: 0 30px 0 30px !important;
            }

            #navigator-container {
                margin: 0 auto !important;
                flex-grow: 1 !important;
                justify-content: center !important;
                position: relative !important;
                padding: 0 !important;
                width: 100% !important;
                gap: 0 !important;
            }

            #headerSecondRow .header-center {
                width: 100% !important;
                height: auto !important;
                min-height: 0 !important;
                max-height: none !important;
                justify-content: center !important;
            }
        }

          /* FORCE HOVER FOR IMPACT & REGIONS DROPDOWNS */
          .impact-dropdown-container:hover .impact-dropdown,
          .regions-dropdown-container:hover .regions-dropdown {
              visibility: visible !important;
              opacity: 1 !important;
              transform: translateY(0) !important;
              display: flex !important;
              z-index: 9999999 !important;
              pointer-events: auto !important;
              position: absolute !important;
          }
          .impact-dropdown { top: 100% !important; }
          .regions-dropdown { top: 100% !important; }
        