.investor-menu{position:relative;flex:none}
.topbar-investor{
  appearance:none;
  background:transparent;
  cursor:pointer;
  font-family:inherit;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:none;
  min-height:40px;
  border:1px solid var(--gold);
  border-radius:999px;
  transition:background .2s,border-color .2s,color .2s;
}
.topbar-investor{gap:12px;padding:0 17px;border-color:var(--gold);color:var(--gold);font-size:.75rem;font-weight:500;white-space:nowrap}
.topbar-investor-mobile-label{display:none}
.topbar-investor:hover,.investor-menu.is-open .topbar-investor{background:var(--gold);color:var(--navy-black)}
.investor-chevron{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.investor-menu.is-open .investor-chevron{transform:rotate(180deg)}
.investor-links{
  position:absolute;top:calc(100% + 12px);right:0;z-index:6;
  display:grid;gap:4px;width:min(320px,calc(100vw - 40px));padding:8px;
  border:1px solid rgba(253,218,114,.24);border-radius:16px;
  background:var(--navy-deep);color:var(--white);box-shadow:0 18px 48px rgba(0,20,29,.28);
}
.investor-links[hidden]{display:none}
.investor-option{display:flex;align-items:center;gap:14px;padding:14px 12px;border-radius:10px;transition:background .2s}
.investor-option:hover{background:rgba(255,255,255,.07)}
.investor-option:focus-visible{outline:2px solid var(--gold);outline-offset:-2px;background:rgba(255,255,255,.07)}
.investor-option-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid rgba(255,255,255,.18);border-radius:50%;color:var(--gold)}
.investor-option-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.investor-option-icon .investor-telegram-icon{width:18px;height:18px;fill:currentColor;stroke:none}
.investor-option-copy{display:grid;gap:3px;min-width:0;flex:1}
.investor-option-copy strong{font-size:.8rem;font-weight:500}
.investor-option-copy small{font-size:.66rem;color:rgba(255,255,255,.6)}
.investor-option-arrow{flex:none;color:var(--gold);font-size:1rem}
.is-stuck .topbar-investor{border-color:var(--teal-dark);color:var(--teal-dark)}
.is-stuck .topbar-investor:hover,.is-stuck .investor-menu.is-open .topbar-investor{background:var(--teal-dark);color:var(--white)}
.is-stuck .investor-links{background:var(--white);color:var(--navy);border-color:var(--line)}
.is-stuck .investor-option:hover,.is-stuck .investor-option:focus-visible{background:var(--paper)}
.is-stuck .investor-option:focus-visible{outline-color:var(--teal-dark)}
.is-stuck .investor-option-icon{border-color:var(--line);color:var(--teal-dark)}
.is-stuck .investor-option-copy small{color:var(--ink-soft)}
.is-stuck .investor-option-arrow{color:var(--teal-dark)}

/* Home-page guide: keep the download compact, underneath and aligned with the title. */
.topbar .investor-guide{border-top:1px solid rgba(255,255,255,.18);margin-top:4px;padding-top:4px}
.topbar .investor-guide-download{display:flex;align-items:center;min-height:32px;margin:-6px 12px 4px 64px;padding:2px 0;color:var(--gold);font-size:.66rem;text-decoration:underline;text-underline-offset:3px}
.topbar .investor-guide-download svg{display:none}
.topbar .investor-guide-download:hover{color:var(--white)}
.topbar .investor-guide-download:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.topbar.is-stuck .investor-guide{border-top-color:var(--line)}
.topbar.is-stuck .investor-guide-download{color:var(--teal-dark)}
.topbar.is-stuck .investor-guide-download:hover{color:var(--navy)}

/* Monitoring is a separate destination, not an item in the investor dropdown. */
.topbar-actions{display:flex;align-items:center;gap:14px;min-width:0}
.topbar-monitoring{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;min-height:44px;color:var(--gold);font-size:.75rem;font-weight:500;white-space:nowrap;transition:color .2s}
.topbar-monitoring svg{flex:none;width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.topbar-monitoring:hover{color:var(--white)}
.topbar-monitoring:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.is-stuck .topbar-monitoring{color:var(--teal-dark)}
.is-stuck .topbar-monitoring:hover{color:var(--navy)}
body.nav-open .topbar-monitoring{color:var(--gold)}
.topbar.has-monitoring-link .topbar-inner{width:min(100%,1640px)}
@media (min-width:1440px){
  .topbar.has-monitoring-link:not(.is-content-compact) .mainnav > a{white-space:nowrap}
}
/* Use the same accessible menu when translated controls no longer fit the desktop row. */
.topbar.is-content-compact .navtoggle{display:block;margin-left:auto}
.topbar.is-content-compact .mainnav{position:fixed;inset:var(--header-h) 0 0;z-index:2;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:16px;padding:36px var(--gutter);overflow-y:auto;overscroll-behavior:contain;background:var(--navy-black);transform:translateY(-101%);visibility:hidden;margin-left:0}
.topbar.is-content-compact .mainnav.is-open{transform:none;visibility:visible}
.topbar.is-content-compact .mainnav:not(.is-open){display:none}
.topbar.is-content-compact .mainnav a{max-width:100%;white-space:normal;overflow-wrap:anywhere;font-size:1.8rem;line-height:1.3;color:var(--white)}
.topbar.is-content-compact .topbar-tools{position:relative;z-index:3}
body.nav-open .topbar.is-content-compact{height:100svh;background:var(--navy-black);color:var(--white);backdrop-filter:none;-webkit-backdrop-filter:none}
body.nav-open .topbar.is-content-compact .language-menu{color:var(--white)}
body.nav-open .topbar.is-content-compact .topbar-investor{color:var(--gold);border-color:var(--gold)}
@media (min-width:761px) and (max-width:1200px){
  .topbar.has-monitoring-link .topbar-inner{gap:12px}
  .topbar.has-monitoring-link .topbar-investor{max-width:210px;white-space:normal;text-align:left;line-height:1.25}
  .topbar.has-monitoring-link .investor-chevron{flex:none}
  .topbar.has-monitoring-link .navtoggle{width:44px;min-width:44px;padding:0}
  .topbar.has-monitoring-link .navtoggle span{left:12px}
  .topbar.has-monitoring-link .navtoggle b{display:none}
}
@media (min-width:761px) and (max-width:1000px){
  .topbar.has-monitoring-link .topbar-inner{gap:8px}
  .topbar.has-monitoring-link .topbar-investor{max-width:180px}
  .topbar.has-monitoring-link .topbar-monitoring{max-width:120px;white-space:normal;line-height:1.25}
  .topbar.has-monitoring-link.has-site-search .site-search{flex:0 0 44px}
  .topbar.has-monitoring-link .site-search-trigger{display:flex}
  .topbar.has-monitoring-link .site-search-form{display:none}
  .topbar.has-monitoring-link .site-search.is-open .site-search-form{display:flex;position:absolute;top:calc(100% + 8px);left:var(--gutter);right:var(--gutter);height:52px;padding:0 14px;background:var(--paper);color:var(--navy);z-index:7}
  .topbar.has-monitoring-link .site-search-panel{top:calc(100% + 59px);left:var(--gutter);width:calc(100% - 2*var(--gutter));max-height:calc(100dvh - var(--header-h) - 80px)}
}
@media (max-width:760px){
  .topbar.has-monitoring-link .topbar-actions{grid-column:1 / -1;grid-row:2;position:relative;z-index:4;gap:12px;margin-inline:calc(-1*var(--gutter));padding-inline:var(--gutter);border-top:1px solid rgba(255,255,255,.14)}
  .topbar.has-monitoring-link.is-stuck .topbar-actions{border-top-color:var(--line)}
  .topbar.has-monitoring-link .investor-menu{display:flex;position:static;flex:1;min-width:0;margin:0;padding:0;border:0}
  .topbar.has-monitoring-link .topbar-investor{justify-content:flex-start;min-width:0;gap:8px;white-space:normal;text-align:left;line-height:1.25}
  .topbar.has-monitoring-link .investor-chevron{flex:none;margin:0}
  .topbar.has-monitoring-link .topbar-monitoring{max-width:46%;min-height:43px;padding-left:12px;border-left:1px solid rgba(255,255,255,.14);white-space:normal;line-height:1.25}
  .topbar.has-monitoring-link.is-stuck .topbar-monitoring{border-left-color:var(--line)}
  body.nav-open .topbar.has-monitoring-link .topbar-actions,
  body.nav-open .topbar.has-monitoring-link .topbar-monitoring{border-color:rgba(255,255,255,.14)}
}
