.investor-controls { display:flex; align-items:center; gap:9px }
.investor-icon {
  appearance:none; box-sizing:border-box; display:grid; place-items:center; width:42px; height:42px;
  border:0; border-radius:50%; padding:0; color:#11372c; background:#fff; cursor:pointer;
}
.investor-icon svg { width:22px; height:22px }
.investor-bell { background:#0c382e; color:#fff }
.investor-menu,.investor-panel {
  box-sizing:border-box; border:0; padding:0; font-family:inherit; box-shadow:0 12px 44px #081c1850;
}
.investor-menu { position:fixed; inset:12px 12px auto auto; margin:0; width:min(410px,calc(100% - 24px)); max-height:calc(100dvh - 24px); background:#08362c; color:white; border-radius:23px; overflow:hidden }
.investor-menu[open] { display:flex; flex-direction:column }
.investor-menu::backdrop,.investor-panel::backdrop { background:#0a211b50 }
.investor-menu-head { display:flex; align-items:center; justify-content:space-between; padding:14px 15px 13px 18px; flex-shrink:0 }
.investor-menu-head img { display:block; width:119px; max-height:38px; object-fit:contain }
.investor-menu-scroll { overflow:auto; overscroll-behavior:contain; flex:1 1 auto }
.investor-menu-group { border-bottom:1px solid #ffffff23; padding-block:4px }
.investor-menu-group:last-child { border:0 }
.investor-menu-group :is(a,button) {
  display:block; box-sizing:border-box; width:100%; padding:12px 20px; color:#fff; background:transparent;
  border:0; text-decoration:none; border-radius:0; text-align:left; font-weight:500;
  font-family:inherit; font-size:15px; line-height:1.35; cursor:pointer;
}
.investor-menu-group :is(a,button):hover,.investor-menu-group :is(a,button):focus-visible { background:#ffffff16 }
.investor-menu-group .investor-home-link { font-weight:650 }
.investor-menu-group form { margin:0 }
.investor-panel { width:min(480px,calc(100% - 24px)); max-width:none; border-radius:20px; background:#fff; color:#1c382e; padding:27px; }
.investor-panel-close { position:absolute; inset:10px 10px auto auto; background:#f1f3f0 }
.investor-panel h2 { margin:0 40px 10px 0; font-size:1.35rem; line-height:1.2 }
.investor-panel p { margin:0 0 .2rem; line-height:1.45; color:#42574f }
.investor-panel-link { display:inline-block; margin-top:14px; color:#27523e }
body:has(.investor-menu[open],.investor-panel[open]) { overflow:hidden }
.topbar[data-investor-header] .nav-actions .mobile-bell,
.topbar[data-investor-header] .nav-actions .account { display:none }

@media(max-width:920px) {
  .topbar[data-investor-header] > .nav-toggle { display:none }
  .topbar[data-investor-header] .nav-actions .login { display:none }
  .topbar[data-investor-header] .nav-actions { grid-column:2 / 4 }
}
@media(max-width:600px) {
  .investor-menu { inset:5px 5px auto auto; width:calc(100% - 10px); max-width:none; max-height:calc(100dvh - 10px) }
  .investor-menu-scroll { padding-bottom:env(safe-area-inset-bottom,0px) }
  .investor-menu-group :is(a,button) { padding-block:13px }
}

@keyframes investor-drawer-enter {
  from { opacity:0; translate:22px 0 }
  to { opacity:1; translate:0 0 }
}
@keyframes investor-panel-enter {
  from { opacity:0; translate:0 14px }
  to { opacity:1; translate:0 0 }
}
@keyframes investor-backdrop-enter { from { opacity:0 } to { opacity:1 } }
@media(prefers-reduced-motion:no-preference) {
  .investor-menu[open] { animation:investor-drawer-enter .34s cubic-bezier(.2,.65,.25,1) both }
  .investor-panel[open] { animation:investor-panel-enter .28s cubic-bezier(.2,.65,.25,1) both }
  .investor-menu[open]::backdrop,.investor-panel[open]::backdrop { animation:investor-backdrop-enter .25s ease-out both }
}

.investor-menu { background:#09352b }
.investor-menu-head { padding:11px 9px 15px 12px }
.investor-menu-head img { object-position:left; width:112px }
.investor-menu-group { padding-block:0 }
.investor-menu-group :is(a,button) { font-weight:400 }
.investor-menu-group .investor-home-link { font-weight:400 }
.investor-menu-group a[href$="/investments"] { font-weight:600 }
.investor-close-label { display:none }
.investor-warning,.investor-info {
  display:flex; gap:12px; align-items:flex-start; padding:15px 18px;
  border-radius:24px; font-size:.875rem;
}
.investor-panel .investor-warning { background:#fbf1df; color:#493a22; margin-top:56px }
.investor-warning>span:first-child { color:#a66b26; font-size:1.1rem; line-height:1.1 }
.investor-panel .investor-info { background:#e3ebe7; color:#103d31 }
@media(max-width:650px) {
  .topbar[data-investor-header] .investor-bell { background:#01362e; color:#fff }
  .homepage:has(.topbar[data-investor-header]) .hero-actions i { display:none }
  .investor-menu-group :is(a,button) { padding:14px 24px; min-height:48px }
  .investor-menu-head { padding-bottom:20px }
  .investor-panel[data-panel="auto"] {
    inset:0; width:100%; height:100%; max-height:none; margin:0; padding:27px 23px; border-radius:0;
    color:#111711; background:#fff;
  }
  .investor-panel[data-panel="auto"] h2 { font-size:1.0625rem; font-weight:700; margin-bottom:32px }
  .investor-panel[data-panel="auto"] p:not(.investor-warning) { color:inherit; font-size:.9375rem }
  .investor-panel[data-panel="auto"] .investor-panel-close { inset:14px 15px auto auto; background:transparent }
  .investor-panel[data-panel="notifications"] {
    inset:68px 28px auto 7px; margin:0; padding:32px 26px 26px;
    width:auto; min-height:194px; background:#53564b9c; color:#fff;
    border-radius:27px; backdrop-filter:blur(22px) saturate(.7); box-shadow:none;
  }
  .investor-panel[data-panel="notifications"]::backdrop { background:transparent }
  .investor-panel[data-panel="notifications"] h2 { font:400 1.35rem Sequel Head,Arial,sans-serif; color:#fff }
  .investor-panel[data-panel="notifications"] p { margin-top:55px; text-align:center; font-size:.8125rem; color:#ffffffa6 }
  .investor-panel[data-panel="notifications"] .investor-panel-close {
    display:flex; gap:5px; justify-content:center; width:auto; inset:22px 23px auto auto;
    background:transparent; color:#fff; font:400 .72rem Sequel,Arial,sans-serif; text-transform:uppercase;
  }
  .investor-panel[data-panel="notifications"] .investor-panel-close svg { width:14px; height:14px }
  .investor-panel[data-panel="notifications"] .investor-close-label { display:inline }
}
.investor-chat { display:none }
@media(max-width:650px) {
  .investor-chat {
    display:grid; position:fixed; right:8px; bottom:max(14px,env(safe-area-inset-bottom)); z-index:15;
    width:56px; height:56px; color:white; background:#054a3d; box-shadow:0 2px 11px #061b1850;
  }
  .homepage>.investor-chat { bottom:max(86px,calc(env(safe-area-inset-bottom) + 64px)) }
  .investor-chat svg { width:28px; height:28px }
}
