@import url("https://fonts.googleapis.com/css2?family=ADLaM+Display&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");
.neonn-global-header{box-sizing:border-box;width:100%;max-width:none!important;min-height:80px;margin:0!important;padding:0 28px!important;display:flex!important;align-items:center;gap:28px;background:#0b0f19!important;color:#f1f5f9;border-bottom:1px solid #263445;font-family:"Plus Jakarta Sans",sans-serif;font-size:12px;flex-wrap:wrap}
.neonn-global-header .brand{flex-shrink:0;font:24px "ADLaM Display",sans-serif!important;color:#00ff66!important;text-decoration:none;letter-spacing:-1px;white-space:nowrap}
.neonn-global-header .brand *{font:inherit!important;color:inherit!important;letter-spacing:inherit}
.neonn-global-header nav{display:flex;align-items:stretch;gap:24px;flex:1;min-width:0;align-self:stretch;margin:0}
.neonn-global-header nav a,.neonn-global-header nav button{display:inline-flex;align-items:center;justify-content:center;min-height:78px;padding:0 4px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#94a3b8;font:600 12px "Plus Jakarta Sans",sans-serif;text-decoration:none;white-space:nowrap;cursor:pointer}
.neonn-global-header nav .active,.neonn-global-header nav [aria-current="page"],.neonn-global-header nav [aria-pressed="true"]{color:#f1f5f9;border-bottom-color:#00ff66}
.neonn-global-header a:hover,.neonn-global-header button:hover{color:#00ff66}
.neonn-global-header .global-about,.neonn-global-header .about-link{color:#00ff66;text-decoration:none;font-size:12px;white-space:nowrap}
.neonn-global-header .account,.neonn-global-header .top-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0;font:12px "Plus Jakarta Sans",sans-serif}
.neonn-global-header .top-actions>a,.neonn-global-header .top-actions>button{font:12px "Plus Jakarta Sans",sans-serif;min-height:36px;padding:8px;color:#f1f5f9;background:transparent;border:1px solid #334155;border-radius:5px;text-decoration:none}
.neonn-global-header select{font:12px "Plus Jakarta Sans",sans-serif;color:#f1f5f9;background:#0b0f19;border:1px solid #334155;border-radius:5px;padding:8px}
.neonn-global-header :focus-visible{outline:2px solid #22d3ee;outline-offset:3px}
@media(max-width:1200px){.neonn-global-header{gap:16px;padding:12px 20px!important}.neonn-global-header nav{order:3;flex-basis:100%;overflow-x:auto;gap:22px}.neonn-global-header nav a,.neonn-global-header nav button{min-height:46px}.neonn-global-header .account,.neonn-global-header .top-actions{margin-left:auto}.neonn-global-header .global-about{margin-left:auto}}
@media(max-width:600px){.neonn-global-header{padding:12px 16px!important;gap:12px}.neonn-global-header .brand{font-size:22px!important}.neonn-global-header .account,.neonn-global-header .top-actions{gap:8px}.neonn-global-header .top-actions>a,.neonn-global-header .top-actions>button,.neonn-global-header select,.neonn-global-header .global-about{min-height:44px;display:inline-flex;align-items:center}.neonn-global-header .preview{display:none}.neonn-global-header nav{flex-wrap:nowrap!important;overflow-x:auto}.neonn-global-header nav>*{flex-shrink:0}}

.unified-global-row{display:flex;align-items:center;width:100%;gap:24px;flex-wrap:wrap}.unified-global-row a{font:600 12px "Plus Jakarta Sans",sans-serif;color:#94a3b8;text-decoration:none;min-height:44px;display:flex;align-items:center}.unified-global-row a:first-child{margin-right:auto;color:#00ff66;font-family:"ADLaM Display",sans-serif;font-size:24px;font-weight:400;letter-spacing:-1px}@media(max-width:600px){.unified-global-row{gap:14px}.unified-global-row a:first-child{font-size:20px}}

/* UX v3 (M11, M3): mobile hamburger and single-row tabs. */
.neonn-nav-toggle{display:none}
@media(max-width:600px){
.unified-global-row{flex-wrap:wrap;gap:0 14px}
.unified-global-row>.neonn-nav-toggle{display:inline-flex;flex-direction:column;justify-content:center;gap:4px;width:44px;height:44px;margin-left:auto;padding:0 11px;background:transparent;border:1px solid #334155;border-radius:6px;cursor:pointer}
.neonn-nav-toggle span{display:block;height:2px;background:#f1f5f9;border-radius:2px}
.neonn-global-header:not(.is-nav-open) .unified-global-row>:not(:first-child):not(.neonn-nav-toggle){display:none!important}
.neonn-global-header.is-nav-open .unified-global-row>:not(:first-child):not(.neonn-nav-toggle){display:flex!important;flex-basis:100%;border-top:1px solid #1e293b}
#analysis-tabs,.portfolio-context-row #analysis-tabs,.periods,#discovery-controls>.periods{flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:none;-webkit-overflow-scrolling:touch;max-width:100%}
#analysis-tabs::-webkit-scrollbar,.periods::-webkit-scrollbar{display:none}
#analysis-tabs>button,.periods>button{flex:0 0 auto!important}
.periods>button{min-width:40px!important;padding-left:6px!important;padding-right:6px!important}
}

/* UX v3 (N7): do not paint the static fallback header before the language is resolved. */
html:not(.neonn-header-ready) .neonn-global-header>*{visibility:hidden}
