/* Investor portal edition: warm champagne information on a restrained black shell.
   Keep statements, tables, and financial forms on high-contrast reading surfaces. */
.investor-site {
  --paper: #110f0d;
  --white: #f5ead8;
  --ink: #f4dfbd;
  --muted: #c6ae8c;
  --gold: #ca9859;
  --gold-light: #eed0a2;
  --line: #72583a;
  --dark: #18120e;
  --dark-rgb: 24, 18, 14;
  --content-surface: #f2e3cb;
  --content-sand: #e8cda5;
  --content-ink: #261b13;
  --content-muted: #65503a;
  --content-border: #c7a981;
  --content-gold: #80572b;
  background: #110f0d;
  color: var(--ink);
}
.investor-site ::selection { background: #c99a60; color: #110f0d; }
.investor-site :is(a,button,summary,input,select,textarea,[tabindex]):focus-visible {
  outline: 3px solid #e1af6c;
  outline-offset: 4px;
}
.investor-site .skip-link { background: #e8c994; color: #1d1711; }

/* Shared portal chrome and menus. */
.investor-site .portal-header,
.investor-site .portal-nav,
.investor-site .portal-footer { background: #181512; border-color: #715536; }
.investor-site .portal-header { box-shadow: inset 0 3px #a77742; }
.investor-site .portal-label,
.investor-site .portal-nav a,
.investor-site .portal-nav > .service-menu > summary,
.investor-site .portal-account-menu > summary,
.investor-site .portal-footer { color: #d4bd9d; }
.investor-site .portal-dot { background: #d6a363; }
.investor-site .portal-nav a:is(:hover,[aria-current]),
.investor-site .portal-nav > .service-menu > summary:is(:hover,.is-current),
.investor-site .portal-account-menu > summary:is(:hover,.is-current),
.investor-site .portal-footer a:hover { color: #ffe6be; }
.investor-site .portal-nav a[aria-current] { border-color: #d6a363; }
.investor-site .portal-signout { color: #f2dabb; border-color: #a57d51; }
.investor-site .portal-signout:hover,
.investor-site .portal-header .language-switch:hover { background: #d6a363; border-color: #d6a363; color: #18120e; }
.investor-site .portal-nav .service-mega,
.investor-site .portal-account-menu > div {
  --paper: #f2e3cb;
  --ink: #261b13;
  --muted: #66513d;
  --line: #c7a981;
  --gold: #80572b;
  background: #f2e3cb;
  color: #261b13;
  border-color: #b99360;
  box-shadow: 0 20px 55px #0008;
}
.investor-site .portal-nav .service-mega a,
.investor-site .portal-account-menu > div > a { color: #261b13; }
.investor-site .portal-nav .service-mega a:is(:hover,[aria-current]),
.investor-site .portal-account-menu > div > a:hover { background: #e4c69a; }
.investor-site .portal-footer { border-top-color: #715536; }

/* Dark editorial headings frame light, legible data cards. */
.investor-site .portal-main { background: #110f0d; }
.investor-site .portal-eyebrow { color: #d0a169; }
.investor-site .portal-description,
.investor-site .portal-data-note,
.investor-site .portal-account-stamp,
.investor-site .portal-welcome p:not(.portal-eyebrow) { color: #d2bc9e; }
.investor-site .portal-account-stamp bdi { color: #f4dfbd; }
.investor-site .portal-text-link:hover,
.investor-site .portal-filters a:is(:hover,[aria-current]) { color: #efc88f; }
.investor-site .portal-panel,
.investor-site .portal-stats,
.investor-site .holding-card,
.investor-site .portal-login,
.investor-site .full-empty,
.investor-site .portal-service-overview,
.investor-site .experience-hero--compact {
  --paper: #f2e3cb;
  --white: #fff4e2;
  --ink: #261b13;
  --muted: #65513e;
  --line: #c9ad85;
  --gold: #835a2d;
  color: #261b13;
  background: #f2e3cb;
  border-color: #bf9d6e;
}
.investor-site .portal-stats { background: linear-gradient(130deg,#ead1aa,#f4e7d2 70%); }
.investor-site .portal-stat { border-color: #c9ad85; }
.investor-site .portal-stat h2,
.investor-site .stat-note,
.investor-site .stat-index { color: #65513e; }
.investor-site .stat-value { color: #281a10; }
.investor-site .portal-panel .portal-eyebrow,
.investor-site .portal-login .portal-eyebrow,
.investor-site .experience-hero--compact .portal-eyebrow { color: #835a2d; }
.investor-site .portal-panel .portal-description,
.investor-site .portal-login .portal-description,
.investor-site .experience-hero--compact .portal-description { color: #65513e; }
.investor-site .portal-panel .portal-data-note { color: #65513e; }
.investor-site .portal-panel .portal-text-link:hover,
.investor-site .holding-card a:hover,
.investor-site .portal-login a:hover { color: #805321; }
.investor-site .profile-aside,
.investor-site .market-entry { background: #e7cca3; }
.investor-site .market-entry p:not(.portal-eyebrow) { color: #5a4530; }
.investor-site .chart-empty :is(h3,p) { background: #f2e3cb; }
.investor-site .full-empty :is(h1,h2,h3),
.investor-site .portal-empty :is(h2,h3) { color: #261b13; }
.investor-site .portal-empty > span { color: #916630; }
.investor-site .portal-panel .period-link { border-color: #a8865d; }
.investor-site .holding-image { background: #dfc59c; }
.investor-site .holding-image > span { background: #1d1712; color: #f4dfbd; }

/* Gold directs actions; semantic payment/error colors keep their meaning. */
.investor-site .portal-button {
  background: #a87338;
  border-color: #a87338;
  color: #100c09;
}
.investor-site .portal-button:hover { background: #765022; border-color: #765022; color: #fff9ed; }
.investor-site .portal-notice,
.investor-site .portal-messages {
  background: #f0ddbd;
  color: #2b2116;
  border-inline-start-color: #96652f;
}
.investor-site p.portal-data-note:not(:empty) {
  background: #e9cfaa;
  color: #312318;
  border-color: #b98d57;
  border-inline-start-color: #96652f;
  border-radius: 0;
}
.investor-site .portal-error-summary { background: #f6e1d7; color: #772f20; border-inline-start-color: #a6462e; }
.investor-site .payment-status { background: #e9d8b8; color: #574022; }
.investor-site .payment-status.paid { background: #dce8cf; color: #35552c; }
.investor-site .payment-status.overdue { background: #f2d9ce; color: #7a3528; }
.investor-site .payment-status.partial { background: #ebdba9; color: #5c4916; }
.investor-site .chart-key span::before,
.investor-site .allocation-track span { background: #987043; }
.investor-site .chart-bar { fill: #987043; }
.investor-site .chart-baseline { stroke: #a68c69; }
.investor-site :is(.chart-month,.chart-zero) { fill: #594838; }
.investor-site .allocation-track { background: #d7bf9c; }

/* Forms and legal notices remain opaque and readable within the dark page. */
.investor-site .portal-field :is(input,select),
.investor-site .portal-form textarea {
  background: #fff9ec;
  border: 1px solid #9c7950;
  color: #271a11;
}
.investor-site .portal-field :is(input,select,textarea):focus-visible,
.investor-site .portal-form textarea:focus-visible { outline-color: #79511f; }
.investor-site .portal-field input[aria-invalid=true] { border-color: #a6462e; }
.investor-site .portal-field label > span { color: #754b1d; }
.investor-site .portal-field-help { color: #594735; }
.investor-site .portal-field-errors { color: #8a3525; }
.investor-site .profile-aside .portal-caption { color: #594735; }
.investor-site .portal-service-overview .service-discovery-groups :is(h3,a,p,small) { color: #261b13; }
.investor-site .service-directory-item:is(:hover,:focus-within) { background: #d6ab711f; }
.investor-site .service-access { color: #d1b590; }
.investor-site .portal-service-overview .service-access { color: #60482e; }
.investor-site .experience-toolbar { color: #efd6b3; border-color: #715536; }
.investor-site .experience-wayfinder-label,
.investor-site .experience-toolbar [data-hero-links] a span { color: #d4b991; }
.investor-site .experience-actions button { color: #efd6b3; border-color: #a27b4d; }
.investor-site .experience-actions button:hover,
.investor-site .experience-toolbar [data-hero-links] a:is(:hover,:focus-visible) {
  background: #7e5a33;
  border-color: #c69860;
  color: #fff4dd;
}
.investor-site .login-help,
.investor-site .login-form-panel .form-note { color: #65513e; }
.investor-site .login-help a { color: #4d3216; }
.investor-site .login-scene { color: #fff5e2; background: #15110e; }
.investor-site .login-scene-caption .portal-eyebrow { color: #ebbc7b; }
.investor-site .login-scene-caption > span:last-child { color: #f2dec0; }

@media (max-width:700px) {
  .investor-site .portal-header { box-shadow: inset 0 2px #a77742; }
  .investor-site .portal-nav .service-mega { max-height: 65svh; }
}
@media (prefers-reduced-motion:reduce) {
  .investor-site .portal-button { transition: none; }
}
@media print {
  .investor-site,
  .investor-site .portal-main,
  .investor-site .portal-panel,
  .investor-site .portal-stats,
  .investor-site .holding-card,
  .investor-site .portal-login,
  .investor-site .full-empty { background: #fff !important; color: #000 !important; border-color: #777 !important; }
  .investor-site :is(h1,h2,h3,p,td,th,dt,dd,span) { color: #000 !important; }
}
