:root {
  --sidebar-w: 248px;
  --font: "Sora", "Segoe UI", sans-serif;
  --font-sans: "Sora", "Segoe UI", sans-serif;
  --paper: #f4f6f9;
  --sheet: #ffffff;
  --ink: #0b1f33;
  --quiet: #5c6b7a;
  --mist: #7a8896;
  --rule: rgba(11, 31, 51, 0.1);
  --brass: #0b1f33;
  --line: rgba(11, 31, 51, 0.1);
  --sara-line: rgba(11, 31, 51, 0.1);
  --sara-gold: #0b1f33;
  --bg-deep: #f4f6f9;
  --text-primary: #0b1f33;
  --text-readable: #3a4a5c;
  --text-muted: #5c6b7a;
  --accent-gold: #0b1f33;
  --border-subtle: rgba(11, 31, 51, 0.09);
  --adm-bg: #f4f6f9;
  --adm-sidebar: #ffffff;
  --adm-card: #ffffff;
  --adm-border: rgba(11, 31, 51, 0.1);
  --adm-gold: #0b1f33;
  --adm-text: #0b1f33;
  --adm-muted: #5c6b7a;
  --adm-radius: 12px;
  --adm-scroll-track: #eef2f6;
  --adm-scroll-thumb: #c5ced8;
  --adm-scroll-thumb-hover: #a8b4c0;
  --mb-bg: #f4f6f9;
  --mb-sidebar: #ffffff;
  --mb-card: #ffffff;
  --mb-border: rgba(11, 31, 51, 0.1);
  --mb-gold: #0b1f33;
  --mb-text: #0b1f33;
  --mb-muted: #5c6b7a;
  --mb-radius: 12px;
  --mb-scroll-track: #eef2f6;
  --mb-scroll-thumb: #c5ced8;
  --mb-scroll-thumb-hover: #a8b4c0;
}

html { color-scheme: light; }

html, body, button, input, select, textarea, summary {
  font-family: "Sora", "Segoe UI", sans-serif;
}

body,
body.admin-dash-body,
body.member-dashboard {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  --bs-body-color: #3a4a5c;
  --bs-body-bg: #f4f6f9;
  --bs-emphasis-color: #0b1f33;
  --bs-heading-color: #0b1f33;
  --bs-secondary-color: #5c6b7a;
  --bs-secondary-bg: #ffffff;
  --bs-border-color: rgba(11, 31, 51, 0.1);
  --bs-link-color: #0d6e6c;
  --bs-link-hover-color: #0b1f33;
}

body:not(.admin-dash-body):not(.member-dashboard) {
  background-image:
    radial-gradient(ellipse 90% 55% at 8% -10%, rgba(13, 110, 108, 0.07), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(11, 31, 51, 0.05), transparent 50%),
    linear-gradient(180deg, #f7f9fc 0%, #f4f6f9 45%, #eef2f6 100%);
}

body.admin-dash-body,
body.member-dashboard {
  background-image: none;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.02em;
}

p, .lead { color: var(--text-readable); }

a { color: var(--ink); }
a:hover { color: var(--ink); }

.form-control, .form-select, .btn, label, p, li, td, th,
.nav-desktop a, .mobile-link {
  font-family: inherit;
  font-size: 14px;
}

.nav-chevron,
.tech-banner { display: none !important; }

.nav-ico,
.page-ico {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  object-fit: contain;
}

.page-ico {
  width: 28px;
  height: 28px;
  padding: 5px;
  box-sizing: border-box;
  border: 1px solid var(--rule);
  background: var(--sheet);
}

body.admin-dash-body .sidebar,
body.member-dashboard .sidebar {
  background: var(--sheet);
  border-right: 1px solid var(--rule);
  color: var(--ink);
  padding-top: 0;
}

body.admin-dash-body .sidebar-brand,
body.member-dashboard .sidebar-brand {
  min-height: 64px;
  margin: 0;
  padding: 0 1.15rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--ink);
}

body.member-dashboard .sidebar-brand a,
body.admin-dash-body .sidebar-brand a {
  color: inherit;
  text-decoration: none;
}

.sidebar-brand .mark { display: none; }

body.admin-dash-body .topbar,
body.member-dashboard .topbar {
  background: var(--sheet);
  backdrop-filter: none;
  border-bottom: 1px solid var(--rule);
  min-height: 64px;
  padding: 0.65rem 1.35rem;
}

.topbar-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1 1 auto;
}

.topbar-title > div {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  flex-wrap: nowrap;
}

.topbar-kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--quiet);
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}

.topbar-heading {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  padding-left: 0.7rem;
  border-left: 1px solid var(--rule);
}

.topbar h1 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  line-height: 1.2;
  padding: 0.2rem 0 0.2rem 0.9rem;
  border-left: 1px solid var(--rule);
  background: transparent;
}

.topbar-user span {
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--quiet);
}

.topbar-user strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.nav-tree {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.55rem 0.35rem 0;
}

.nav-main {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.7rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
  list-style: none;
}

.nav-main::-webkit-details-marker,
.nav-main::marker { display: none; content: ""; }

.nav-main span { flex: 1; }

.nav-main::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.4;
  margin-top: -3px;
}

.nav-group[open] > .nav-main::after,
.nav-group.is-open > .nav-main::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.nav-main:hover { background: #f3efe6; color: var(--ink); }

a.nav-main { text-decoration: none; }

a.nav-main::after { content: none; }

a.nav-main.is-active {
  background: #f3efe6;
  color: var(--ink);
  box-shadow: inset 2px 0 0 var(--ink);
}

.nav-sub {
  display: none;
  margin: 0 0 0.35rem 0.85rem;
  padding: 0.05rem 0 0.2rem 0.7rem;
  border-left: 1px solid var(--rule);
}

.nav-group.is-open > .nav-sub,
.nav-group[open] > .nav-sub {
  display: flex !important;
  flex-direction: column;
  gap: 0;
}

.nav-sublink {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.45rem;
  border-radius: 0;
  color: var(--quiet);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

.nav-sublink:hover { color: var(--ink); background: transparent; }

.nav-sublink.is-active {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 2px 0 0 var(--ink);
}

.sidebar-footer {
  padding: 0.7rem 0.85rem 0.5rem;
  border-top: 1px solid var(--rule);
}

.sidebar-footer .btn,
.sidebar-footer a.btn,
.sidebar-footer .btn-gold {
  width: 100%;
  background: transparent !important;
  color: var(--ink) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  letter-spacing: 0;
  text-transform: none;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-align: left;
  justify-content: flex-start;
  padding-left: 0.7rem;
}

body.admin-dash-body .content,
body.member-dashboard .content {
  padding: 1.5rem 1.6rem 2.4rem;
  background: var(--paper);
}

.sara-card,
.glass-card {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 1.45rem 1.4rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px rgba(11, 31, 51, 0.04);
  backdrop-filter: none;
  color: var(--ink);
}

.glass-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 110, 108, 0.22);
  box-shadow: 0 10px 30px rgba(11, 31, 51, 0.06);
}

.glass-card.legal-copy:hover {
  transform: none;
}

.sara-card h2,
.sara-card h3,
.glass-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.sara-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--rule);
  background: #ffffff;
}

.sara-card-head h2,
.sara-card-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.inv-profile-head { align-items: flex-start; }

.inv-mail-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.28rem;
  margin-left: auto;
  max-width: min(100%, 320px);
  text-align: right;
}

.inv-mail-status > span:not(.inv-mail-badge) {
  color: var(--quiet);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inv-mail-status strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  word-break: break-word;
}

.inv-mail-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.1rem;
  padding: 0.18rem 0.58rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.inv-mail-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.inv-mail-badge--ok { background: #dcfce7; color: #166534; }
.inv-mail-badge--bad { background: #fee2e2; color: #991b1b; }

@media (max-width: 720px) {
  .inv-profile-head { flex-wrap: wrap; }
}

.sara-card-body {
  padding: 1.05rem 1.15rem 1.15rem;
}

.sara-card-body--flush { padding: 0; }

.sara-card-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.75rem 1.15rem;
  border-top: 1px solid var(--rule);
  background: #f4f6f9;
}

.sara-card-foot .sara-note { margin-right: auto; margin-top: 0; }

.sara-card-foot .btn.btn-sm {
  padding: 0.28rem 0.7rem;
  font-size: 13px;
  line-height: 1.25;
  border-radius: 999px;
}

body.admin-dash-body .sara-card,
body.member-dashboard .sara-card {
  padding: 0;
  overflow: hidden;
}

body.admin-dash-body .sara-card-body label,
body.member-dashboard .sara-card-body label {
  display: block;
  margin: 0 0 0.32rem;
  color: var(--quiet);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

body.admin-dash-body .sara-card-body .form-control,
body.admin-dash-body .sara-card-body .form-select,
body.member-dashboard .sara-card-body .form-control,
body.member-dashboard .sara-card-body .form-select,
body.admin-dash-body .sara-card-body textarea,
body.member-dashboard .sara-card-body textarea {
  width: 100%;
  margin-bottom: 0;
}

body.admin-dash-body .sara-card--chart .sara-chart-box,
body.member-dashboard .sara-card--chart .sara-chart-box {
  margin: 0.35rem 1rem 1rem;
}

.sara-card-body .row { --bs-gutter-y: 0.85rem; }

body.member-dashboard .sara-card-body .sara-inline-check,
body.admin-dash-body .sara-card-body .sara-inline-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 38px;
}

body.member-dashboard .sara-card-body .sara-inline-check input,
body.admin-dash-body .sara-card-body .sara-inline-check input {
  margin: 0;
  flex-shrink: 0;
}

body.member-dashboard .sara-card-body .sara-inline-check label,
body.admin-dash-body .sara-card-body .sara-inline-check label {
  display: inline;
  margin: 0;
  cursor: pointer;
  line-height: 1.4;
}

.sara-card-body .sara-table-wrap { margin-top: 0.85rem; }

.sara-card-body--flush .sara-table-wrap { margin-top: 0; }

.sara-card-head p,
.sara-note,
.legal-copy {
  margin: 0.15rem 0 0;
  color: var(--quiet);
  font-size: 14px;
}

.legal-copy p { margin-bottom: 0.75rem; color: var(--text-readable); }

.sara-card label,
.auth-wrap label,
label {
  display: block;
  color: var(--quiet);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 0.3rem;
}

.form-control,
.form-select,
textarea.form-control {
  background: var(--sheet);
  color: var(--ink);
  border: 1px solid rgba(11, 31, 51, 0.16);
  border-radius: 10px;
  min-height: 42px;
  font-size: 14px;
  box-shadow: none;
}

.form-control:focus,
.form-select:focus {
  border-color: #0d6e6c;
  box-shadow: 0 0 0 3px rgba(13, 110, 108, 0.15);
  background: var(--sheet);
  color: var(--ink);
}

.btn-gold {
  background: #0b1f33 !important;
  color: #f8fafc !important;
  border: 1px solid #0b1f33 !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 24px rgba(11, 31, 51, 0.18) !important;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.65rem 1.3rem;
}

.btn-gold:hover { background: #16324d !important; color: #f8fafc !important; }

.btn-outline-light {
  border-radius: 999px !important;
  border: 1px solid rgba(11, 31, 51, 0.16) !important;
  color: #0b1f33 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.sara-alert {
  display: block;
  background: #f8ece8;
  color: #6d2e26;
  border: 1px solid #e4c8c2;
  border-radius: 2px;
  padding: 0.7rem 0.85rem;
  margin-bottom: 0.85rem;
  font-size: 14px;
}

.sara-alert-ok {
  background: #eef3ea;
  color: #2c4332;
  border-color: #c9d6c4;
}

.sara-toast {
  position: fixed;
  top: 4.75rem;
  right: 1.15rem;
  z-index: 4000;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: min(380px, calc(100vw - 2.2rem));
  margin: 0;
  padding: 0.85rem 0.95rem 1rem;
  background: #fffdf8;
  color: #1c1915;
  border: 1px solid #e4dcd0;
  border-left: 3px solid #8a3d32;
  border-radius: 2px;
  box-shadow: 0 18px 40px rgba(28, 25, 21, 0.12);
  overflow: hidden;
  animation: saraToastLife 10.4s linear forwards;
}

.sara-toast.sara-alert-ok {
  background: #fffdf8;
  color: #1c1915;
  border-color: #e4dcd0;
  border-left-color: #3d5c45;
}

.sara-toast-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1px solid #e4dcd0;
  background: #f6f3ec url("media/icons/triangle-alert.svg") center / 16px 16px no-repeat;
}

.sara-toast.sara-alert-ok .sara-toast-mark {
  background-image: url("media/icons/badge-check.svg");
}

.sara-toast-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  padding-top: 0.05rem;
}

.sara-toast-copy strong {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: #1c1915;
}

.sara-toast-copy span {
  font-size: 14px;
  line-height: 1.45;
  color: #3a342c;
}

.sara-toast::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: #8a3d32;
  transform-origin: left center;
  animation: saraToastBar 10s linear forwards;
}

.sara-toast.sara-alert-ok::after { background: #3d5c45; }

@keyframes saraToastLife {
  0% { opacity: 0; transform: translateY(-8px); }
  3% { opacity: 1; transform: translateY(0); }
  96% { opacity: 1; transform: translateY(0); visibility: visible; }
  100% { opacity: 0; visibility: hidden; transform: translateY(-6px); }
}

@keyframes saraToastBar {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

.sara-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 1.25rem;
  background: transparent;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.sara-kpi {
  position: relative;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--rule);
  border-radius: 0;
  padding: 0.9rem 1rem 0.85rem;
  min-height: 84px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sara-kpi:last-child { border-right: 0; }
.sara-kpi::before { display: none; }

.sara-kpi span {
  display: block;
  color: var(--quiet);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.sara-kpi strong {
  display: block;
  margin-top: 0.28rem;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  line-height: 1.15;
}

.sara-charts {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.82fr);
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
}

.sara-charts > .sara-card { margin-bottom: 0; }

.inv-news {
  display: flex;
  align-items: stretch;
  margin-bottom: 1rem;
  background: var(--sheet);
  border: 1px solid var(--rule);
  overflow: hidden;
}

.inv-news-tag {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 0.9rem;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.inv-news-window {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.inv-news-track {
  display: flex;
  width: max-content;
  animation: inv-news-rtl linear infinite;
}

.inv-news-window:hover .inv-news-track,
.inv-news-window:focus-within .inv-news-track {
  animation-play-state: paused;
}

.inv-news-slide {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 2.25rem 0.55rem 1rem;
  color: var(--ink);
  white-space: nowrap;
}

.inv-news-slide strong {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.inv-news-slide span {
  flex: 0 0 auto;
  color: var(--text-readable);
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
}

.inv-news-slide span::before {
  content: "—";
  margin-right: 0.55rem;
  color: var(--quiet);
}

@keyframes inv-news-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.inv-bulletin {
  padding: 1.05rem 1.2rem 1.15rem;
  border-bottom: 1px solid var(--rule);
}

.inv-bulletin:last-child { border-bottom: 0; }

.inv-bulletin header time {
  display: block;
  color: var(--quiet);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.inv-bulletin h3 {
  margin: 0.2rem 0 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.inv-bulletin-body {
  margin-top: 0.55rem;
  color: var(--text-readable);
  font-size: 14px;
  line-height: 1.55;
}

.inv-bulletin-body > :first-child { margin-top: 0; }
.inv-bulletin-body > :last-child { margin-bottom: 0; }
.inv-bulletin-body p { margin: 0.45rem 0; }

.inv-news-empty {
  margin: 0;
  padding: 1.15rem 1.2rem;
  color: var(--quiet);
}

.inv-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  margin-bottom: 1rem;
  background: var(--sheet);
  border: 1px solid var(--rule);
}

.inv-hero-main {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.35rem 1.2rem;
}

.inv-kicker {
  margin: 0;
  color: var(--quiet);
  font-size: 13px;
}

.inv-hero-total {
  display: block;
  margin: 0.2rem 0 0.45rem;
  color: var(--ink);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.inv-alloc {
  container-type: inline-size;
  min-width: 0;
  margin-top: 1.05rem;
  padding: 0.85rem 0.95rem 0.7rem;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--rule);
  border-radius: 14px;
}

.inv-alloc .inv-kicker { margin-bottom: 0.55rem; }

.inv-alloc-body {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.inv-alloc-plot {
  position: relative;
  width: 148px;
  height: 148px;
  flex: 0 0 148px;
}

.inv-alloc-center {
  position: absolute;
  inset: 24%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.inv-alloc-center span {
  color: var(--quiet);
  font-size: 11px;
  line-height: 1.2;
}

.inv-alloc-center strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.inv-alloc-key {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
}

.inv-alloc-key li {
  display: grid;
  grid-template-columns: 8px auto auto;
  justify-content: start;
  column-gap: 0.4rem;
  align-items: center;
  padding: 0 0.75rem;
  border-left: 1px solid var(--rule);
}

.inv-alloc-key li:first-child { border-left: 0; padding-left: 0; }

@container (max-width: 720px) {
  .inv-alloc-key { grid-template-columns: 1fr; }
  .inv-alloc-key li {
    border-left: 0;
    border-bottom: 1px solid var(--rule);
    padding: 0.38rem 0;
  }
  .inv-alloc-key li:first-child { padding-left: 0; }
  .inv-alloc-key li:last-child { border-bottom: 0; }
}

.inv-alloc-key i {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  grid-row: 1 / span 2;
}

.inv-alloc-key span,
.inv-alloc-key em {
  color: var(--quiet);
  font-size: 12px;
  font-style: normal;
}

.inv-alloc-key em { font-variant-numeric: tabular-nums; }

.inv-alloc-key strong {
  grid-column: 2 / span 2;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.inv-hero-main p {
  margin: 0;
  max-width: 58ch;
  color: var(--text-readable);
}

.inv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.inv-hero-stats {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--rule);
}

.inv-wallets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--rule);
}

.inv-wallets .inv-stat { border-bottom: 0; }

.inv-wallets .inv-stat + .inv-stat { border-left: 1px solid var(--rule); }

.inv-stat {
  flex: 1;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--rule);
}

.inv-stat:last-child { border-bottom: 0; }

.inv-stat span {
  display: block;
  color: var(--quiet);
  font-size: 12px;
}

.inv-stat strong {
  display: block;
  margin-top: 0.12rem;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.inv-stat em {
  display: block;
  margin-top: 0.12rem;
  color: var(--mist);
  font-style: normal;
  font-size: 12px;
}

.sara-wallet-balance {
  margin: 0 0 1rem;
  padding: 0.95rem 1.15rem;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--gold, #c9a227);
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.12), transparent 70%);
  border-radius: 0.35rem;
}

.sara-wallet-balance span {
  display: block;
  color: var(--quiet);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sara-wallet-balance strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.sara-wallet-balance em {
  display: block;
  margin-top: 0.35rem;
  color: var(--mist);
  font-style: normal;
  font-size: 12px;
  line-height: 1.45;
}

.inv-snap-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
}

.inv-snap-note {
  margin: 0;
  color: var(--quiet);
  font-size: 13px;
}

.inv-snap-note:empty { display: none; }

.inv-cover {
  height: 220px;
  margin: 0 0 1rem;
  overflow: hidden;
  background: #e8eef6;
  border: 1px solid var(--rule);
}

.inv-cover > img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}

.inv-cover--identity {
  position: relative;
  height: 280px;
  background: #1c1915;
}

.inv-cover--identity > .inv-cover-photo {
  height: 280px;
}

.inv-cover-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(28, 25, 21, 0.82) 0%, rgba(28, 25, 21, 0.46) 34%, rgba(28, 25, 21, 0.08) 62%),
    linear-gradient(180deg, rgba(28, 25, 21, 0) 42%, rgba(28, 25, 21, 0.62) 100%);
  pointer-events: none;
}

.inv-cover-id {
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 1.15rem;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.inv-cover-shot {
  flex: 0 0 auto;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(160deg, #fffdf8 0%, #cfc6b8 55%, #fffdf8 100%);
  box-shadow: 0 12px 28px rgba(28, 25, 21, 0.38);
}

.inv-cover-shot img {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: #1c1915;
  border: 3px solid #fffdf8;
}

.inv-cover-shot img.inv-profile-default {
  object-fit: contain;
  padding: 16px;
  box-sizing: border-box;
}

.inv-cover-name {
  min-width: 0;
}

.inv-cover-name span {
  display: block;
  color: rgba(255, 253, 248, 0.78);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.inv-cover-name strong {
  display: block;
  margin-top: 0.18rem;
  color: #fffdf8;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-shadow: 0 2px 18px rgba(28, 25, 21, 0.45);
  overflow-wrap: anywhere;
}

.inv-cover--empty {
  display: grid;
  place-items: center;
  color: #64748b;
  font-size: 13px;
}

.inv-profile {
  --cover-h: 220px;
  position: relative;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  margin-bottom: 1rem;
  overflow: hidden;
  background: var(--sheet);
  border: 1px solid var(--rule);
}

.inv-profile-cover {
  grid-column: 1 / -1;
  height: var(--cover-h);
  overflow: hidden;
  background: #0f172a;
}

.inv-profile-cover img {
  display: block;
  width: 100%;
  height: var(--cover-h);
  object-fit: cover;
  object-position: center;
}

.inv-profile-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  margin-top: calc(var(--cover-h) / -2);
  position: relative;
  z-index: 1;
  background: var(--sheet);
}

.inv-profile-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem;
  border-right: 1px solid var(--rule);
  background: #f8fafc;
}

.inv-profile-panel .inv-profile-shot {
  align-items: flex-start;
  background: transparent;
}

.inv-profile-panel .inv-profile-shot img,
.inv-profile-panel .inv-profile-shot .inv-profile-fallback {
  border: 4px solid #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.inv-profile-shot img,
.inv-profile-fallback {
  width: 112px;
  height: 112px;
  border-radius: 50%;
}

.inv-profile-shot img {
  display: block;
  object-fit: cover;
  background: #e8eef6;
  border: 1px solid var(--rule);
}

.inv-profile-shot img.inv-profile-default {
  object-fit: contain;
  padding: 18px;
  background: #0b1220;
  border-color: rgba(255, 255, 255, 0.35);
}

.inv-profile-panel .inv-profile-shot img.inv-profile-default {
  border-color: #fff;
}

.inv-profile-fallback {
  display: grid;
  place-items: center;
  background: #e8eef6;
  color: #1e3a8a;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.inv-profile-body { padding: 1.05rem 1.2rem 1rem; }

.inv-profile-body h2 {
  margin: 0.15rem 0 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.inv-profile-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.inv-profile-facts > div > span {
  display: block;
  color: var(--quiet);
  font-size: 12px;
}

.inv-profile-facts strong {
  display: block;
  margin-top: 0.12rem;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}

.inv-profile-facts .inv-status {
  display: inline-block;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 12px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0;
}

.inv-profile-facts .inv-status--ok { background: #dcfce7; color: #166534; }
.inv-profile-facts .inv-status--bad { background: #fee2e2; color: #991b1b; }

.inv-profile-edit {
  margin: 0.85rem 0 0;
  font-size: 13px;
}

.inv-profile-upload {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.95rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--rule);
}

.inv-profile-upload label {
  flex: 0 0 110px;
  margin: 0;
  color: var(--quiet);
  font-size: 13px;
  font-weight: 500;
}

.inv-profile-upload p {
  flex: 1 1 100%;
  margin: 0;
  color: var(--quiet);
  font-size: 12px;
}

.inv-file {
  flex: 1 1 220px;
  min-width: 0;
  max-width: 100%;
  color: var(--text-readable);
  font-size: 13px;
}

.inv-alerts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.inv-alert {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.4rem 0.85rem;
  background: #f8ece8;
  color: #6d2e26;
  border: 1px solid #e4c8c2;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}

.inv-alert:hover { color: #6d2e26; background: #f4e4de; }

.inv-lead {
  margin: 0 0 0.35rem;
  color: var(--text-readable);
}

.inv-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--rule);
}

.inv-row span { color: var(--quiet); }

.inv-row strong {
  color: var(--ink);
  font-weight: 500;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.inv-mix {
  display: flex;
  height: 8px;
  margin-top: 1rem;
  background: #efeae0;
}

.inv-mix i { display: block; height: 100%; }
.inv-mix i:nth-child(1) { background: #1c1915; }
.inv-mix i:nth-child(2) { background: #8a6244; }
.inv-mix i:nth-child(3) { background: #5f6d58; }

.inv-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0.45rem 0 0;
  color: var(--quiet);
  font-size: 12px;
}

.inv-key span { display: inline-flex; align-items: center; gap: 0.35rem; }
.inv-key i { width: 8px; height: 8px; background: #1c1915; }
.inv-key span:nth-child(2) i { background: #8a6244; }
.inv-key span:nth-child(3) i { background: #5f6d58; }

.inv-boards {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.85fr);
  gap: 1rem;
  align-items: start;
}

.inv-boards > .sara-card { margin-bottom: 0; }

.sara-card-head > a.btn.btn-sm {
  flex: 0 0 auto;
  align-self: center;
  padding: 0.28rem 0.65rem;
  border: 1px solid #1c1915;
  border-radius: 2px;
  background: #fffdf8;
  color: #1c1915;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

.sara-card-head > a.btn.btn-sm:hover {
  background: #1c1915;
  color: #f6f3ec;
}

.inv-empty {
  margin: 0;
  padding: 1.05rem 1.15rem;
  color: var(--quiet);
}

.inv-table th:first-child,
.inv-table td:first-child { padding-left: 1.15rem; }

.inv-table th:last-child,
.inv-table td:last-child { padding-right: 1.15rem; }

.inv-holdings { display: grid; gap: 1rem; }

.inv-holding {
  background: var(--sheet);
  border: 1px solid var(--rule);
}

.inv-holding-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--rule);
}

.inv-holding-head h3 {
  margin: 0.1rem 0 0;
  font-size: 16px;
  font-weight: 500;
}

.inv-holding-rate { text-align: right; }

.inv-holding-rate span,
.inv-holding-rate em {
  display: block;
  color: var(--quiet);
  font-size: 12px;
  font-style: normal;
}

.inv-holding-rate strong {
  display: block;
  margin: 0.08rem 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.inv-holding-nums {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.inv-holding-nums div {
  padding: 0.85rem 1.15rem;
  border-right: 1px solid var(--rule);
}

.inv-holding-nums div:last-child { border-right: 0; }

.inv-holding-nums span,
.inv-holding-body .inv-row span { color: var(--quiet); font-size: 12px; }

.inv-holding-nums strong {
  display: block;
  margin-top: 0.15rem;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.inv-holding-nums em {
  display: block;
  margin-top: 0.12rem;
  color: var(--mist);
  font-size: 12px;
  font-style: normal;
}

.inv-holding-body { padding: 0.2rem 1.15rem 1rem; }

.inv-holding-note {
  margin: 0.8rem 0 0;
  color: var(--text-readable);
}

.inv-holding-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.85rem;
}

.inv-holding-links a {
  color: var(--ink);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sara-card--chart {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  background: var(--sheet);
}

.sara-chart-box { position: relative; height: 260px; flex: 1; }

.sara-toolbar {
  display: grid;
  grid-template-columns: 1.15fr 1.3fr 0.85fr 0.85fr 0.7fr auto;
  gap: 0.75rem;
  align-items: end;
  margin-bottom: 0.95rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--rule);
}

.sara-actions { display: flex; gap: 0.45rem; align-items: center; }

.sara-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
  color: var(--quiet);
  font-size: 13px;
}

.sara-table-wrap { width: 100%; overflow-x: auto; }

.sara-grid {
  width: 100%;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  background: transparent;
}

.sara-grid th {
  color: var(--quiet);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: none;
  background: transparent;
  white-space: nowrap;
}

.sara-grid td,
.sara-grid th {
  padding: 0.65rem 0.7rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: middle;
  text-align: left;
}

.sara-grid tr:hover td { background: rgba(28, 25, 21, 0.03); }

.sara-grid tr:not(.sara-pager) .btn.btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.2rem 0.2rem 0;
  padding: 0.22rem 0.55rem;
  border: 1px solid #1c1915;
  border-radius: 2px;
  background: #fffdf8;
  color: #1c1915;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
}

.sara-grid tr:not(.sara-pager) .btn.btn-sm:hover {
  background: #1c1915;
  color: #f6f3ec;
}

.sara-grid tr.sara-pager:hover td,
.sara-grid tr.sara-pager td {
  background: transparent;
  border-bottom: 0;
  padding-top: 0.9rem;
  text-align: right;
}

.sara-grid tr.sara-pager a,
.sara-grid tr.sara-pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  margin-left: 4px;
  padding: 0 0.4rem;
  border-radius: 2px;
  border: 1px solid var(--rule);
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
  background: var(--sheet);
}

.sara-grid tr.sara-pager span {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  font-weight: 500;
}

.sara-pager-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 0.9rem;
}

.sara-pager-bar .sara-page-meta {
  margin-right: auto;
  color: var(--quiet);
  font-size: 13px;
}

.sara-pager-bar a.btn.btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  margin: 0;
  padding: 0 0.55rem;
  border-radius: 2px;
  border: 1px solid var(--rule);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  background: var(--sheet);
  box-shadow: none;
}

.sara-pager-bar a.btn.btn-sm.is-current {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.sara-pager-bar a.btn.btn-sm[disabled]:not(.is-current) {
  opacity: 0.4;
  pointer-events: none;
}

.modal-content.sara-modal {
  background: #fffdf8;
  color: #1c1915;
  border: 1px solid #e4dcd0;
  border-radius: 2px;
  box-shadow: 0 16px 40px rgba(28, 25, 21, 0.12);
  --bs-modal-bg: #fffdf8;
  --bs-modal-color: #1c1915;
}

.sara-modal .modal-header,
.sara-modal .modal-footer { border-color: #e4dcd0; }

.sara-modal .modal-title,
.sara-modal h5 { color: #1c1915; font-size: 18px; }

.sara-modal .modal-body,
.sara-modal .legal-copy { color: #3a342c; }

.auth-wrap { max-width: 440px; margin: 2.5rem auto; }

/* Public marketing chrome is owned by frontend/css/theme.css */
.site-header,
.site-footer,
.folio-open,
.folio-hero,
.folio-block,
.folio-steps,
.folio-notes,
.desk-plans,
.desk-plan,
.page-figure,
.auth-stage,
.auth-layout,
.auth-card {
  /* intentional: keep theme.css as source of truth for public site */
}

.brand,
.brand-name {
  letter-spacing: -0.03em;
  text-transform: none;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  display: inline-grid !important;
  place-items: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(145deg, #0b1f33, #16324d);
  flex-shrink: 0;
}

.brand-mark img {
  width: 20px;
  height: 20px;
  display: block;
  filter: brightness(0) invert(1);
}

.nav-desktop a,
.mobile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-desktop a img,
.mobile-link img {
  width: 14px;
  height: 14px;
  display: block;
  opacity: 0.7;
}

.section-title {
  color: var(--ink);
  font-family: "Fraunces", "Times New Roman", serif;
  font-weight: 500;
}

.feature-icon,
.mark-ico {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: #e4f3f2;
  color: #0d6e6c;
  margin-bottom: 1rem;
  font-size: 15px;
  display: grid;
  place-items: center;
}

.feature-icon img,
.mark-ico img,
.plan-ico {
  width: 18px;
  height: 18px;
  display: block;
}

.plan-ico {
  margin-bottom: 0.85rem;
  padding: 0.55rem;
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  background: #e4f3f2;
  border-radius: 12px;
}

.folio-split {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
}

.folio-split h2 { margin: 0; }

.folio-split article {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--rule);
}

.folio-split article:first-child { padding-top: 0; }

.plan-range { color: var(--quiet); margin: 0 0 0.35rem; font-size: 14px; }
.plan-rate {
  color: #0d6e6c;
  font-family: "Fraunces", "Times New Roman", serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.03em;
  margin: 0 0 0.55rem;
  font-variant-numeric: tabular-nums;
}
.plan-note { color: var(--mist); font-size: 13px; margin: 0; }

.plan-posted {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  max-width: none;
}

.plan-posted li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.32rem 0;
  border-top: 1px solid var(--rule);
  color: var(--quiet);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.plan-posted strong { color: var(--ink); font-weight: 600; }

.sara-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.sara-proof .sara-card { margin-bottom: 0; }

.sara-kpis--proof {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 0.85rem;
  border-top: 0;
}

.sara-kpis--proof .sara-kpi { min-height: 72px; padding-left: 0; }
.sara-kpis--proof .sara-kpi:nth-child(3) { border-right: 0; }
.sara-kpis--proof .sara-kpi strong { font-size: 16px; }

.sara-book { list-style: none; margin: 0 0 0.85rem; padding: 0; }

.sara-book li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--rule);
}

.sara-book li:first-child { border-top: 0; padding-top: 0; }

.sara-book strong {
  display: block;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.sara-book span {
  display: block;
  margin-top: 0.15rem;
  color: var(--quiet);
  font-size: 13px;
}

.sara-chart-box .sara-empty {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0 0.25rem;
}

.sara-plan-brief {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
}

.sara-plan-brief h3 { margin: 0 0 0.35rem; font-size: 16px; font-weight: 500; }
.sara-plan-brief p { margin: 0 0 0.45rem; }

@media (max-width: 1200px) {
  .sara-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sara-kpi:nth-child(3) { border-right: 0; }
  .sara-toolbar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .sara-charts,
  .sara-proof,
  .inv-boards,
  .inv-hero,
  .inv-profile { grid-template-columns: 1fr; }
  .inv-profile { --cover-h: 160px; }
  .inv-profile-panel { grid-template-columns: 1fr; }
  .inv-cover,
  .inv-cover > img { height: 150px; }
  .inv-cover--identity,
  .inv-cover--identity > .inv-cover-photo { height: 220px; }
  .inv-cover-shot img { width: 76px; height: 76px; }
  .inv-cover-name strong { font-size: 22px; }
  .inv-cover-id { left: 1rem; right: 1rem; bottom: 0.9rem; gap: 0.75rem; }
  .inv-profile-shot { border-right: 0; border-bottom: 1px solid var(--rule); }
  .inv-profile-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inv-hero-stats { border-left: 0; border-top: 1px solid var(--rule); }
  .inv-holding-head { flex-direction: column; }
  .inv-holding-rate { text-align: left; }
  .inv-holding-nums { grid-template-columns: 1fr 1fr; }
  .inv-holding-nums div:nth-child(2n) { border-right: 0; }
  .inv-holding-nums div:nth-child(-n + 2) { border-bottom: 1px solid var(--rule); }
  .folio-split { grid-template-columns: 1fr; gap: 0.8rem; }
}

@media (max-width: 700px) {
  .sara-kpis,
  .sara-kpis--proof,
  .inv-holding-nums,
  .sara-toolbar,
  .desk-panel-foot { grid-template-columns: 1fr; }
  .sara-kpi,
  .sara-kpi:nth-child(3) { border-right: 1px solid var(--rule); }
  .inv-holding-nums div { border-right: 0; border-bottom: 1px solid var(--rule); }
  .inv-holding-nums div:last-child { border-bottom: 0; }
  .sara-card-foot { flex-direction: column; align-items: stretch; }
  .sara-card-foot .btn { width: 100%; }
  .sara-card-body .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
  .sara-toolbar { grid-template-columns: 1fr; }
  .topbar-user { display: none; }
  body.member-dashboard .topbar-user { display: flex; }
  body.member-dashboard .topbar-user-copy { display: none; }
  .sara-actions { flex-wrap: wrap; }
  .rpt-head { flex-direction: column; align-items: stretch; }
  .rpt-export,
  .rpt-filters { grid-template-columns: 1fr; }
  .rpt-actions { flex-direction: column; }
  .rpt-actions .btn,
  .rpt-export .btn { width: 100%; }
}

.rpt {
  background: var(--sheet);
  border: 1px solid var(--rule);
  margin-bottom: 1rem;
}

.rpt-head {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem 1.75rem;
  align-items: flex-end;
  padding: 1.15rem 1.25rem 1.05rem;
  border-bottom: 1px solid var(--rule);
}

.rpt-kicker {
  margin: 0 0 0.2rem;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.rpt-head h2 {
  margin: 0 0 0.28rem;
  font-size: 22px;
  font-weight: 500;
}

.rpt-head p { margin: 0; color: var(--quiet); max-width: 54ch; }

.rpt-export {
  display: grid;
  grid-template-columns: minmax(128px, 150px) minmax(168px, 210px) auto;
  gap: 0.55rem;
  align-items: end;
  flex-shrink: 0;
}

.rpt-export label,
.rpt-field label,
.rpt-label {
  display: block;
  margin: 0 0 0.28rem;
  font-size: 12px;
  color: var(--quiet);
}

.rpt-export .btn { white-space: nowrap; }

.rpt-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
  padding: 0.95rem 1.25rem 1rem;
  background: #faf7f1;
  border-bottom: 1px solid var(--rule);
  align-items: end;
}

.rpt-picks-wrap { grid-column: 1 / -1; }

.rpt-picks {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.rpt-picks input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.rpt-picks label {
  display: inline-block;
  margin: 0;
  padding: 0.38rem 0.72rem;
  border: 1px solid var(--rule);
  background: var(--sheet);
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
}

.rpt-picks input:checked + label {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.rpt-picks input:focus + label { outline: 2px solid rgba(28, 25, 21, 0.25); outline-offset: 1px; }

.rpt-actions { display: flex; gap: 0.45rem; align-items: center; }

.rpt .btn.btn-sm {
  padding: 0.28rem 0.7rem;
  font-size: 13px;
  line-height: 1.25;
  border-radius: 2px;
}

.rpt-cols { grid-column: 1 / -1; margin: 0; }

.rpt-cols summary.btn {
  display: inline-flex;
  align-items: center;
  width: auto;
  margin: 0;
  padding: 0.28rem 0.7rem;
  border: 1px solid #1c1915;
  border-radius: 2px;
  background: #fffdf8;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  list-style: none;
  cursor: pointer;
}

.rpt-cols summary.btn::-webkit-details-marker { display: none; }

.rpt-cols summary.btn:hover {
  background: #1c1915;
  color: #f6f3ec;
}

.rpt-col-list {
  display: block;
  margin-top: 0.45rem;
  line-height: 1.9;
}

.rpt-col-list label {
  display: inline;
  margin: 0 0.95rem 0 0;
  font-size: 13px;
  color: var(--ink);
}

.rpt-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  border-bottom: 1px solid var(--rule);
}

.rpt-kpi {
  padding: 0.8rem 1.15rem 0.85rem;
  border-right: 1px solid var(--rule);
}

.rpt-kpi:last-child { border-right: 0; }

.rpt-kpi span {
  display: block;
  color: var(--quiet);
  font-size: 12px;
}

.rpt-kpi strong {
  display: block;
  margin-top: 0.12rem;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.rpt-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem 0.15rem;
  color: var(--quiet);
  font-size: 13px;
}

.rpt .sara-table-wrap { padding: 0.15rem 0.35rem 0.1rem; }

.rpt .sara-grid th { background: #faf7f1; }

.rpt .sara-grid td.rpt-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.rpt-foot {
  margin: 0;
  padding: 0.35rem 1.25rem 0.95rem;
  color: var(--mist);
  font-size: 13px;
}

@media (max-width: 980px) {
  .rpt-head { flex-direction: column; align-items: stretch; }
  .rpt-export { grid-template-columns: 1fr 1fr; }
  .rpt-export .btn { grid-column: 1 / -1; }
}

.brand-logo {
  width: auto !important;
  max-width: min(280px, 58vw);
  object-fit: contain;
  object-position: left center;
  display: block;
}

body.admin-dash-body .sidebar-brand,
body.member-dashboard .sidebar-brand {
  min-height: 76px;
}

body.admin-dash-body .sidebar-brand .brand-logo,
body.member-dashboard .sidebar-brand .brand-logo {
  height: 44px !important;
  max-width: 196px;
}

.brand-preview {
  display: flex;
  align-items: center;
  min-height: 84px;
  margin-bottom: 0.35rem;
  padding: 0.65rem 0.75rem;
  background: #fff;
  border: 1px solid var(--rule);
}

.brand-preview img {
  height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.brand-preview--icon img {
  width: 48px;
  height: 48px;
}

.auth-body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
}

.auth-body form#form1 {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.auth-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(12px);
}

.auth-top a {
  font-size: 14px;
  color: #0d6e6c;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.auth-top a:hover {
  color: #0b1f33;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-foot {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
  padding: 0.95rem 1.5rem 1.15rem;
  border-top: 1px solid var(--rule);
  color: var(--quiet);
  font-size: 13px;
}

.kyc-empty { margin: 0; color: var(--quiet); }

.kyc-submission + .kyc-submission {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--rule);
}

.kyc-submission-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
  margin-bottom: 0.75rem;
  color: var(--quiet);
  font-size: 13px;
}

.kyc-submission-head strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.kyc-status {
  padding: 0.05rem 0.4rem;
  border: 1px solid var(--rule);
  color: var(--ink);
  font-size: 12px;
}

.kyc-note {
  flex-basis: 100%;
  margin: 0.1rem 0 0;
  color: var(--text-readable);
}

.kyc-files {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.kyc-file {
  margin: 0;
  border: 1px solid var(--rule);
  background: var(--sheet);
}

.kyc-file a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  overflow: hidden;
  background: #faf7f1;
  text-decoration: none;
}

.kyc-file img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.kyc-file-pdf {
  color: var(--ink);
  font-size: 18px;
  letter-spacing: 0.08em;
}

.kyc-file figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  padding: 0.55rem 0.7rem 0.65rem;
  color: var(--quiet);
  font-size: 13px;
}

.kyc-file figcaption span:first-child {
  color: var(--ink);
  font-weight: 500;
}

.sara-busy {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(28, 25, 21, 0.46);
  cursor: wait;
}

.sara-busy.is-on { display: flex; }

.sara-busy-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  min-width: 168px;
  padding: 1.25rem 1.5rem 1.15rem;
  background: #fffdf8;
  border: 1px solid #e4dcd0;
  box-shadow: 0 12px 40px rgba(28, 25, 21, 0.16);
  color: #1c1915;
  text-align: center;
}

.sara-busy-card p {
  margin: 0;
  color: #1c1915;
  font-size: 14px;
}

.sara-busy-spin {
  width: 28px;
  height: 28px;
  border: 2px solid #e4dcd0;
  border-top-color: #1c1915;
  border-radius: 50%;
  animation: sara-busy-spin 0.7s linear infinite;
}

@keyframes sara-busy-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .sara-busy-spin { animation: none; }
  .inv-news-track { animation: none; flex-direction: column; width: auto; }
  .inv-news-slide { flex: none; width: auto; max-width: none; }
  .inv-news-slide--clone { display: none; }
  .inv-news-window { overflow: auto; max-height: 12rem; }
}

/* Investment platform — admin and investor only. IBM Plex Sans is unchanged. */
body.admin-dash-body,
body.member-dashboard {
  --paper: #f3f6fb;
  --sheet: #ffffff;
  --ink: #0f172a;
  --quiet: #64748b;
  --mist: #94a3b8;
  --rule: #e6edf5;
  --line: #e6edf5;
  --sara-line: #e6edf5;
  --brass: #2563eb;
  --sara-gold: #2563eb;
  --text-primary: #0f172a;
  --text-readable: #334155;
  --text-muted: #64748b;
  --accent-gold: #2563eb;
  --border-subtle: #e6edf5;
  --adm-bg: #f3f6fb;
  --adm-sidebar: #ffffff;
  --adm-card: #ffffff;
  --adm-border: #e6edf5;
  --adm-gold: #2563eb;
  --adm-text: #0f172a;
  --adm-muted: #64748b;
  --adm-radius: 16px;
  --mb-bg: #f3f6fb;
  --mb-sidebar: #ffffff;
  --mb-card: #ffffff;
  --mb-border: #e6edf5;
  --mb-gold: #2563eb;
  --mb-text: #0f172a;
  --mb-muted: #64748b;
  --mb-radius: 16px;
  --adm-scroll-track: #f3f6fb;
  --adm-scroll-thumb: #c5d0de;
  --adm-scroll-thumb-hover: #94a3b8;
  --mb-scroll-track: #f3f6fb;
  --mb-scroll-thumb: #c5d0de;
  --mb-scroll-thumb-hover: #94a3b8;
  color: #0f172a;
  background: #f3f6fb;
  background-image: none;
  scrollbar-color: #c5d0de #f3f6fb;
  --bs-body-color: #1e293b;
  --bs-body-bg: #f3f6fb;
  --bs-emphasis-color: #0f172a;
  --bs-heading-color: #0f172a;
  --bs-secondary-color: #64748b;
  --bs-secondary-bg: #ffffff;
  --bs-border-color: #e6edf5;
  --bs-link-color: #2563eb;
  --bs-link-hover-color: #1d4ed8;
}

body.admin-dash-body *::-webkit-scrollbar-track,
body.member-dashboard *::-webkit-scrollbar-track {
  background: #f3f6fb;
}

body.admin-dash-body *::-webkit-scrollbar-thumb,
body.member-dashboard *::-webkit-scrollbar-thumb,
body.admin-dash-body *::-webkit-scrollbar-thumb:hover,
body.member-dashboard *::-webkit-scrollbar-thumb:hover {
  background: #c5d0de;
  border: 2px solid #f3f6fb;
}

body.admin-dash-body h1,
body.admin-dash-body h2,
body.admin-dash-body h3,
body.member-dashboard h1,
body.member-dashboard h2,
body.member-dashboard h3 {
  color: #0f172a;
  font-weight: 600;
}

body.admin-dash-body a,
body.member-dashboard a {
  color: #2563eb;
}

body.admin-dash-body a:hover,
body.member-dashboard a:hover {
  color: #1d4ed8;
}

body.admin-dash-body .sidebar,
body.member-dashboard .sidebar {
  background: #ffffff;
  border-right: 1px solid #e6edf5;
  box-shadow: 8px 0 24px rgba(15, 23, 42, 0.03);
}

body.admin-dash-body .sidebar-brand,
body.member-dashboard .sidebar-brand {
  border-bottom: 1px solid #e6edf5;
}

body.admin-dash-body .sidebar-brand a,
body.member-dashboard .sidebar-brand a {
  color: #0f172a;
}

body.admin-dash-body .nav-main,
body.member-dashboard .nav-main {
  border-radius: 10px;
  color: #334155;
  font-weight: 500;
}

body.admin-dash-body .nav-main:hover,
body.member-dashboard .nav-main:hover,
body.admin-dash-body .nav-group.is-open > .nav-main,
body.admin-dash-body .nav-group[open] > .nav-main,
body.member-dashboard .nav-group.is-open > .nav-main,
body.member-dashboard .nav-group[open] > .nav-main,
body.admin-dash-body a.nav-main.is-active,
body.member-dashboard a.nav-main.is-active {
  background: #f4f7fb;
  color: #0f172a;
}

body.admin-dash-body .nav-sub,
body.member-dashboard .nav-sub {
  margin-left: 1.15rem;
  border-left: 1px solid #e6edf5;
}

body.admin-dash-body .nav-sublink,
body.member-dashboard .nav-sublink {
  border-radius: 8px;
  color: #64748b;
}

body.admin-dash-body .nav-sublink:hover,
body.member-dashboard .nav-sublink:hover {
  color: #0f172a;
  background: #f8fafc;
}

body.admin-dash-body .nav-sublink.is-active,
body.member-dashboard .nav-sublink.is-active {
  background: #eef4ff;
  color: #1d4ed8;
  box-shadow: none;
  font-weight: 600;
}

body.admin-dash-body .sidebar-footer,
body.member-dashboard .sidebar-footer {
  border-top: 1px solid #e6edf5;
}

body.admin-dash-body .sidebar-footer .btn,
body.admin-dash-body .sidebar-footer a.btn,
body.admin-dash-body .sidebar-footer .btn-gold,
body.member-dashboard .sidebar-footer .btn,
body.member-dashboard .sidebar-footer a.btn,
body.member-dashboard .sidebar-footer .btn-gold {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #dbe3ee !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  text-align: center;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 0.55rem 0.8rem;
}

body.admin-dash-body .sidebar-footer .btn:hover,
body.admin-dash-body .sidebar-footer .btn-gold:hover,
body.member-dashboard .sidebar-footer .btn:hover,
body.member-dashboard .sidebar-footer .btn-gold:hover {
  background: #eef4ff !important;
  color: #1d4ed8 !important;
  border-color: #bfdbfe !important;
}

body.admin-dash-body .topbar,
body.member-dashboard .topbar {
  background: #ffffff;
  border-bottom: 1px solid #e6edf5;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

body.admin-dash-body .topbar-kicker,
body.member-dashboard .topbar-kicker {
  color: #64748b;
  font-weight: 500;
}

body.admin-dash-body .topbar-heading,
body.member-dashboard .topbar-heading {
  border-left-color: #e6edf5;
}

body.admin-dash-body .topbar h1,
body.member-dashboard .topbar h1 {
  font-weight: 600;
  color: #0f172a;
}

body.admin-dash-body .page-ico,
body.member-dashboard .page-ico {
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 0;
  border-radius: 12px;
  background: #eef4ff;
}

body.admin-dash-body .btn-icon,
body.member-dashboard .btn-icon {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: #eef4ff;
  color: #2563eb;
}

body.admin-dash-body .btn-icon:hover,
body.member-dashboard .btn-icon:hover {
  background: #dbeafe;
  color: #1d4ed8;
}

body.admin-dash-body .topbar-user,
body.member-dashboard .topbar-user {
  gap: 0.65rem;
  padding: 0.28rem 0.85rem 0.28rem 0.35rem;
  border: 1px solid #e6edf5;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.admin-dash-body .topbar-user::before,
body.member-dashboard .topbar-user::before {
  content: "\f007";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eef4ff;
  color: #2563eb;
  font-size: 14px;
}

body.member-dashboard .topbar-user::before {
  content: none;
  display: none;
}

body.member-dashboard .topbar-photo {
  display: block;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: #1c1915;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #e6edf5;
}

body.member-dashboard .topbar-photo img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
}

body.member-dashboard .topbar-photo img.inv-profile-default {
  object-fit: contain;
  padding: 6px;
  box-sizing: border-box;
  background: #1c1915;
}

body.admin-dash-body .topbar-user span,
body.member-dashboard .topbar-user span {
  color: #94a3b8;
}

body.admin-dash-body .topbar-user strong,
body.member-dashboard .topbar-user strong {
  color: #0f172a;
  font-weight: 600;
}

body.member-dashboard .topbar-title {
  flex: 0 0 auto;
  min-width: max-content;
}

body.member-dashboard .topbar-user {
  flex: 0 0 auto;
}

body.member-dashboard .rate-ticker {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 1.15rem;
  height: 36px;
  overflow: hidden;
}

body.member-dashboard .rate-ticker__live {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 26px;
  padding: 0 0.55rem 0 0.45rem;
  border-radius: 999px;
  background: #ecfdf3;
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.member-dashboard .rate-ticker__live--err {
  background: #fef2f2;
  color: #b91c1c;
}

body.member-dashboard .rate-ticker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45);
  animation: rate-ticker-pulse 1.8s ease-out infinite;
}

body.member-dashboard .rate-ticker__live--err .rate-ticker__dot {
  background: #dc2626;
  animation: none;
  box-shadow: none;
}

@keyframes rate-ticker-pulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45); }
  100% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); }
}

body.member-dashboard .rate-ticker__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 22px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 22px), transparent);
}

body.member-dashboard .rate-ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: rate-ticker-marquee 48s linear infinite;
}

body.member-dashboard .rate-ticker__track:hover {
  animation-play-state: paused;
}

body.member-dashboard .rate-ticker__track--static {
  animation: none;
  width: 100%;
}

@keyframes rate-ticker-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

body.member-dashboard .rate-ticker__set {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

body.member-dashboard .rate-ticker__group {
  margin: 0 0.15rem 0 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
}

body.member-dashboard .rate-ticker__item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.38rem;
  padding: 0 0.7rem;
  white-space: nowrap;
  font-size: 13px;
  color: #334155;
  line-height: 1;
}

body.member-dashboard .rate-ticker__item--muted {
  color: #94a3b8;
  font-size: 12px;
}

body.member-dashboard .rate-ticker__sym {
  font-weight: 700;
  color: #0f172a;
}

body.member-dashboard .rate-ticker__price {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

body.member-dashboard .rate-ticker__pct {
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

body.member-dashboard .rate-ticker__pct--up { color: #16a34a; }
body.member-dashboard .rate-ticker__pct--down { color: #dc2626; }
body.member-dashboard .rate-ticker__pct--na { color: #94a3b8; font-weight: 600; }

body.member-dashboard .rate-ticker__sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #cbd5e1;
  flex: 0 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  body.member-dashboard .rate-ticker__dot { animation: none; }
  body.member-dashboard .rate-ticker__track { animation: none; }
  body.member-dashboard .rate-ticker__viewport {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

@media (max-width: 991px) {
  body.member-dashboard .topbar { flex-wrap: wrap; }
  body.member-dashboard .topbar-title {
    flex: 1 1 auto;
    min-width: 0;
  }
  body.member-dashboard .rate-ticker {
    order: 3;
    flex: 1 0 100%;
    width: auto;
    margin: 0.4rem 0 0;
  }
}

body.admin-dash-body .content,
body.member-dashboard .content {
  background: #f3f6fb;
}

body.admin-dash-body .sara-card,
body.member-dashboard .sara-card,
body.admin-dash-body .glass-card,
body.member-dashboard .glass-card,
body.admin-dash-body .inv-hero,
body.member-dashboard .inv-hero,
body.admin-dash-body .inv-holding,
body.member-dashboard .inv-holding,
body.admin-dash-body .rpt,
body.member-dashboard .rpt,
body.admin-dash-body .table-panel,
body.member-dashboard .table-panel,
body.admin-dash-body .stat-card,
body.member-dashboard .stat-card,
body.admin-dash-body .chart-box,
body.member-dashboard .chart-box {
  background: #ffffff;
  border: 1px solid #e8eef6;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

body.admin-dash-body .sara-card-head,
body.member-dashboard .sara-card-head,
body.admin-dash-body .inv-holding-head,
body.member-dashboard .inv-holding-head {
  background: #ffffff;
  border-bottom: 1px solid #eef2f7;
}

body.admin-dash-body .sara-card-head h2,
body.admin-dash-body .sara-card-head h3,
body.member-dashboard .sara-card-head h2,
body.member-dashboard .sara-card-head h3 {
  font-weight: 600;
}

body.admin-dash-body .sara-card-head p,
body.member-dashboard .sara-card-head p,
body.admin-dash-body .sara-note,
body.member-dashboard .sara-note {
  color: #64748b;
}

body.admin-dash-body .sara-card-foot,
body.member-dashboard .sara-card-foot {
  background: #f8fafc;
  border-top: 1px solid #eef2f7;
}

body.admin-dash-body .sara-kpis,
body.member-dashboard .sara-kpis,
body.admin-dash-body .sara-kpis--proof,
body.member-dashboard .sara-kpis--proof {
  gap: 0.85rem;
  border: 0;
  background: transparent;
}

body.admin-dash-body .sara-kpi,
body.member-dashboard .sara-kpi {
  background: #ffffff;
  border: 1px solid #e8eef6;
  border-top: 3px solid #2563eb;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  padding: 0.95rem 1.05rem 0.9rem;
}

body.admin-dash-body .sara-kpi:nth-child(2),
body.member-dashboard .sara-kpi:nth-child(2) { border-top-color: #16a34a; }
body.admin-dash-body .sara-kpi:nth-child(3),
body.member-dashboard .sara-kpi:nth-child(3) { border-top-color: #0ea5e9; }
body.admin-dash-body .sara-kpi:nth-child(4),
body.member-dashboard .sara-kpi:nth-child(4) { border-top-color: #f59e0b; }
body.admin-dash-body .sara-kpi:nth-child(5),
body.member-dashboard .sara-kpi:nth-child(5) { border-top-color: #6366f1; }

body.admin-dash-body .sara-kpi:last-child,
body.member-dashboard .sara-kpi:last-child,
body.admin-dash-body .sara-kpis--proof .sara-kpi:nth-child(3),
body.member-dashboard .sara-kpis--proof .sara-kpi:nth-child(3) {
  border-right: 1px solid #e8eef6;
}

body.admin-dash-body .sara-kpi span,
body.member-dashboard .sara-kpi span {
  color: #64748b;
  font-weight: 500;
}

body.admin-dash-body .sara-kpi strong,
body.member-dashboard .sara-kpi strong {
  color: #0f172a;
  font-weight: 600;
}

body.admin-dash-body .inv-hero-stats,
body.member-dashboard .inv-hero-stats {
  background: #f8fafc;
  border-left: 1px solid #eef2f7;
}

body.admin-dash-body .inv-stat,
body.member-dashboard .inv-stat {
  border-bottom: 1px solid #eef2f7;
}

body.admin-dash-body .inv-wallets,
body.member-dashboard .inv-wallets {
  border-bottom-color: #eef2f7;
}

body.admin-dash-body .inv-wallets .inv-stat,
body.member-dashboard .inv-wallets .inv-stat {
  border-bottom: 0;
}

body.admin-dash-body .inv-wallets .inv-stat + .inv-stat,
body.member-dashboard .inv-wallets .inv-stat + .inv-stat {
  border-left: 1px solid #eef2f7;
}

@media (max-width: 700px) {
  .inv-alloc-body { flex-direction: column; align-items: stretch; }
  .inv-alloc-plot { margin: 0 auto; }
  .inv-wallets { grid-template-columns: 1fr; }
  .inv-wallets .inv-stat + .inv-stat,
  body.admin-dash-body .inv-wallets .inv-stat + .inv-stat,
  body.member-dashboard .inv-wallets .inv-stat + .inv-stat {
    border-left: 0;
    border-top: 1px solid #eef2f7;
  }
}

body.admin-dash-body .inv-alloc,
body.member-dashboard .inv-alloc {
  background: #f8fafc;
  border-color: #e8eef6;
}

body.admin-dash-body .inv-alloc-key li,
body.member-dashboard .inv-alloc-key li {
  border-bottom-color: #e8eef6;
}

body.admin-dash-body .inv-alloc-center strong,
body.member-dashboard .inv-alloc-center strong,
body.admin-dash-body .inv-alloc-key strong,
body.member-dashboard .inv-alloc-key strong,
body.admin-dash-body .inv-hero-total,
body.member-dashboard .inv-hero-total,
body.admin-dash-body .inv-stat strong,
body.member-dashboard .inv-stat strong,
body.admin-dash-body .inv-holding-rate strong,
body.member-dashboard .inv-holding-rate strong,
body.admin-dash-body .inv-holding-nums strong,
body.member-dashboard .inv-holding-nums strong {
  color: #0f172a;
  font-weight: 600;
}

body.admin-dash-body .inv-mix,
body.member-dashboard .inv-mix {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: #e8eef6;
}

body.admin-dash-body .inv-mix i:nth-child(1),
body.member-dashboard .inv-mix i:nth-child(1),
body.admin-dash-body .inv-key i,
body.member-dashboard .inv-key i { background: #2563eb; }

body.admin-dash-body .inv-mix i:nth-child(2),
body.member-dashboard .inv-mix i:nth-child(2),
body.admin-dash-body .inv-key span:nth-child(2) i,
body.member-dashboard .inv-key span:nth-child(2) i { background: #16a34a; }

body.admin-dash-body .inv-mix i:nth-child(3),
body.member-dashboard .inv-mix i:nth-child(3),
body.admin-dash-body .inv-key span:nth-child(3) i,
body.member-dashboard .inv-key span:nth-child(3) i { background: #94a3b8; }

body.admin-dash-body .inv-alert,
body.member-dashboard .inv-alert {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

body.admin-dash-body .sara-alert,
body.member-dashboard .sara-alert {
  border-radius: 12px;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

body.admin-dash-body .inv-alert:hover,
body.member-dashboard .inv-alert:hover {
  background: #fee2e2;
  color: #7f1d1d;
}

body.admin-dash-body .sara-alert-ok,
body.member-dashboard .sara-alert-ok {
  background: #ecfdf3;
  color: #166534;
  border-color: #bbf7d0;
}

body.admin-dash-body label,
body.member-dashboard label,
body.admin-dash-body .form-label,
body.member-dashboard .form-label,
body.admin-dash-body .sara-card label,
body.member-dashboard .sara-card label {
  color: #475569;
  font-size: 13px;
  font-weight: 500;
}

body.admin-dash-body .form-control,
body.admin-dash-body .form-select,
body.admin-dash-body .form-input,
body.admin-dash-body textarea,
body.admin-dash-body textarea.form-control,
body.member-dashboard .form-control,
body.member-dashboard .form-select,
body.member-dashboard .form-input,
body.member-dashboard textarea,
body.member-dashboard textarea.form-control {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  min-height: 40px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

body.admin-dash-body .form-control::placeholder,
body.member-dashboard .form-control::placeholder,
body.admin-dash-body textarea::placeholder,
body.member-dashboard textarea::placeholder {
  color: #94a3b8;
}

body.admin-dash-body .form-control:focus,
body.admin-dash-body .form-select:focus,
body.admin-dash-body .form-input:focus,
body.admin-dash-body textarea:focus,
body.member-dashboard .form-control:focus,
body.member-dashboard .form-select:focus,
body.member-dashboard .form-input:focus,
body.member-dashboard textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
  background: #ffffff;
  color: #0f172a;
  outline: none;
}

body.admin-dash-body .form-control:disabled,
body.admin-dash-body .form-select:disabled,
body.member-dashboard .form-control:disabled,
body.member-dashboard .form-select:disabled {
  background: #f8fafc;
  color: #64748b;
}

body.admin-dash-body input[type="checkbox"],
body.admin-dash-body input[type="radio"],
body.member-dashboard input[type="checkbox"],
body.member-dashboard input[type="radio"] {
  accent-color: #2563eb;
}

body.admin-dash-body input[type="checkbox"],
body.member-dashboard input[type="checkbox"] {
  vertical-align: middle;
  width: 1rem;
  height: 1rem;
  min-height: 0;
  margin: 0 0.4rem 0 0;
  flex: 0 0 auto;
}

body.admin-dash-body input[type="checkbox"] + label,
body.member-dashboard input[type="checkbox"] + label {
  display: inline;
  margin: 0 1rem 0 0;
  vertical-align: middle;
  cursor: pointer;
}

body.admin-dash-body label:has(> input[type="checkbox"]),
body.member-dashboard label:has(> input[type="checkbox"]) {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.4rem;
  width: auto;
  max-width: 100%;
  margin: 0 0 0.4rem;
  cursor: pointer;
}

body.admin-dash-body .btn,
body.member-dashboard .btn {
  border-radius: 10px;
  font-weight: 600;
}

body.admin-dash-body .btn-gold,
body.member-dashboard .btn-gold {
  background: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #0f172a !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-weight: 600;
}

body.admin-dash-body .btn-gold:hover,
body.member-dashboard .btn-gold:hover {
  background: #1e293b !important;
  border-color: #1e293b !important;
  color: #ffffff !important;
}

body.admin-dash-body .btn-outline-light,
body.member-dashboard .btn-outline-light,
body.admin-dash-body .btn.btn-sm:not(.btn-gold),
body.member-dashboard .btn.btn-sm:not(.btn-gold),
body.admin-dash-body .sara-card-head > a.btn.btn-sm,
body.member-dashboard .sara-card-head > a.btn.btn-sm,
body.admin-dash-body .sara-grid tr:not(.sara-pager) .btn.btn-sm,
body.member-dashboard .sara-grid tr:not(.sara-pager) .btn.btn-sm,
body.admin-dash-body .rpt-cols summary.btn,
body.member-dashboard .rpt-cols summary.btn {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #dbe3ee !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

body.admin-dash-body .btn-outline-light:hover,
body.member-dashboard .btn-outline-light:hover,
body.admin-dash-body .btn.btn-sm:not(.btn-gold):hover,
body.member-dashboard .btn.btn-sm:not(.btn-gold):hover,
body.admin-dash-body .sara-card-head > a.btn.btn-sm:hover,
body.member-dashboard .sara-card-head > a.btn.btn-sm:hover,
body.admin-dash-body .sara-grid tr:not(.sara-pager) .btn.btn-sm:hover,
body.member-dashboard .sara-grid tr:not(.sara-pager) .btn.btn-sm:hover,
body.admin-dash-body .rpt-cols summary.btn:hover,
body.member-dashboard .rpt-cols summary.btn:hover {
  background: #eef4ff !important;
  color: #1d4ed8 !important;
  border-color: #bfdbfe !important;
}

body.admin-dash-body .btn.btn-sm.btn-gold,
body.member-dashboard .btn.btn-sm.btn-gold {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
}

body.admin-dash-body .btn.btn-sm.btn-gold:hover,
body.member-dashboard .btn.btn-sm.btn-gold:hover {
  background: #1e293b !important;
  color: #ffffff !important;
  border-color: #1e293b !important;
}

body.admin-dash-body .sara-grid,
body.member-dashboard .sara-grid,
body.admin-dash-body .data-table,
body.member-dashboard .data-table,
body.admin-dash-body .inv-table,
body.member-dashboard .inv-table {
  color: #0f172a;
}

body.admin-dash-body .sara-grid th,
body.member-dashboard .sara-grid th,
body.admin-dash-body .data-table th,
body.member-dashboard .data-table th,
body.admin-dash-body .rpt .sara-grid th,
body.member-dashboard .rpt .sara-grid th {
  background: #f8fafc;
  color: #64748b;
  font-weight: 600;
  font-size: 12px;
}

body.admin-dash-body .sara-grid td,
body.admin-dash-body .sara-grid th,
body.member-dashboard .sara-grid td,
body.member-dashboard .sara-grid th,
body.admin-dash-body .data-table td,
body.admin-dash-body .data-table th,
body.member-dashboard .data-table td,
body.member-dashboard .data-table th {
  border-bottom: 1px solid #eef2f7;
  border-color: #eef2f7;
}

body.admin-dash-body .sara-grid tr:hover td,
body.member-dashboard .sara-grid tr:hover td,
body.admin-dash-body .data-table tr:hover td,
body.member-dashboard .data-table tr:hover td {
  background: rgba(37, 99, 235, 0.04);
}

body.admin-dash-body .sara-grid tr.sara-pager a,
body.admin-dash-body .sara-grid tr.sara-pager span,
body.member-dashboard .sara-grid tr.sara-pager a,
body.member-dashboard .sara-grid tr.sara-pager span,
body.admin-dash-body .sara-pager-bar a.btn.btn-sm,
body.member-dashboard .sara-pager-bar a.btn.btn-sm {
  border-radius: 8px;
  border: 1px solid #dbe3ee;
  background: #ffffff;
  color: #0f172a;
}

body.admin-dash-body .sara-grid tr.sara-pager span,
body.member-dashboard .sara-grid tr.sara-pager span,
body.admin-dash-body .sara-pager-bar a.btn.btn-sm.is-current,
body.member-dashboard .sara-pager-bar a.btn.btn-sm.is-current {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
}

body.admin-dash-body .badge,
body.member-dashboard .badge,
body.admin-dash-body .kyc-status,
body.member-dashboard .kyc-status {
  border-radius: 999px;
  font-weight: 600;
}

body.admin-dash-body .badge-success,
body.member-dashboard .badge-success {
  background: #ecfdf3;
  color: #15803d;
}

body.admin-dash-body .badge-warn,
body.member-dashboard .badge-warn {
  background: #fff7ed;
  color: #c2410c;
}

body.admin-dash-body .badge-danger,
body.member-dashboard .badge-danger {
  background: #fef2f2;
  color: #b91c1c;
}

body.admin-dash-body .rpt-head,
body.member-dashboard .rpt-head {
  border-bottom: 1px solid #eef2f7;
}

body.admin-dash-body .rpt-kicker,
body.member-dashboard .rpt-kicker {
  color: #2563eb;
  letter-spacing: 0.08em;
  font-weight: 600;
}

body.admin-dash-body .rpt-head h2,
body.member-dashboard .rpt-head h2 {
  font-weight: 600;
  color: #0f172a;
}

body.admin-dash-body .rpt-filters,
body.member-dashboard .rpt-filters {
  background: #f8fafc;
  border-bottom: 1px solid #eef2f7;
}

body.admin-dash-body .rpt-picks label,
body.member-dashboard .rpt-picks label {
  border-radius: 999px;
  border: 1px solid #dbe3ee;
  background: #ffffff;
  color: #334155;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
}

body.admin-dash-body .rpt-picks input:checked + label,
body.member-dashboard .rpt-picks input:checked + label {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

body.admin-dash-body .rpt-picks input:focus + label,
body.member-dashboard .rpt-picks input:focus + label {
  outline: 2px solid rgba(37, 99, 235, 0.35);
}

body.admin-dash-body .rpt-kpis,
body.member-dashboard .rpt-kpis {
  border-bottom: 1px solid #eef2f7;
  background: #ffffff;
}

body.admin-dash-body .rpt-kpi,
body.member-dashboard .rpt-kpi {
  border-right: 1px solid #eef2f7;
}

body.admin-dash-body .rpt-kpi strong,
body.member-dashboard .rpt-kpi strong {
  color: #0f172a;
  font-weight: 600;
}

body.admin-dash-body .rpt .sara-table-wrap,
body.member-dashboard .rpt .sara-table-wrap {
  padding: 0 0.35rem 0.35rem;
}

body.admin-dash-body .modal-content.sara-modal,
body.member-dashboard .modal-content.sara-modal {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e6edf5;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
  --bs-modal-bg: #ffffff;
  --bs-modal-color: #0f172a;
}

body.admin-dash-body .sara-modal .modal-header,
body.admin-dash-body .sara-modal .modal-footer,
body.member-dashboard .sara-modal .modal-header,
body.member-dashboard .sara-modal .modal-footer {
  border-color: #eef2f7;
}

body.admin-dash-body .sara-modal .modal-title,
body.admin-dash-body .sara-modal h5,
body.member-dashboard .sara-modal .modal-title,
body.member-dashboard .sara-modal h5 {
  color: #0f172a;
  font-weight: 600;
}

body.admin-dash-body .dropdown-menu,
body.member-dashboard .dropdown-menu {
  border: 1px solid #e6edf5;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

body.admin-dash-body .sara-toast,
body.member-dashboard .sara-toast {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e6edf5;
  border-left: 3px solid #dc2626;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

body.admin-dash-body .sara-toast.sara-alert-ok,
body.member-dashboard .sara-toast.sara-alert-ok {
  background: #ffffff;
  border-left-color: #16a34a;
}

body.admin-dash-body .sara-toast-mark,
body.member-dashboard .sara-toast-mark {
  border: 0;
  border-radius: 10px;
  background-color: #fef2f2;
}

body.admin-dash-body .sara-toast.sara-alert-ok .sara-toast-mark,
body.member-dashboard .sara-toast.sara-alert-ok .sara-toast-mark {
  background-color: #ecfdf3;
}

body.admin-dash-body .sara-toast-copy strong,
body.member-dashboard .sara-toast-copy strong {
  color: #0f172a;
}

body.admin-dash-body .sara-toast-copy span,
body.member-dashboard .sara-toast-copy span,
body.admin-dash-body .sara-modal .modal-body,
body.member-dashboard .sara-modal .modal-body {
  color: #334155;
}

body.admin-dash-body .sara-toast::after,
body.member-dashboard .sara-toast::after { background: #dc2626; }

body.admin-dash-body .sara-toast.sara-alert-ok::after,
body.member-dashboard .sara-toast.sara-alert-ok::after { background: #16a34a; }

body.admin-dash-body .kyc-file,
body.member-dashboard .kyc-file {
  border: 1px solid #e6edf5;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

body.admin-dash-body .kyc-file a,
body.member-dashboard .kyc-file a {
  background: #f8fafc;
}

body.admin-dash-body .sara-busy,
body.member-dashboard .sara-busy {
  background: rgba(15, 23, 42, 0.4);
}

body.admin-dash-body .sara-busy-card,
body.member-dashboard .sara-busy-card {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e6edf5;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}

body.admin-dash-body .sara-busy-card p,
body.member-dashboard .sara-busy-card p {
  color: #0f172a;
}

body.admin-dash-body .sara-busy-spin,
body.member-dashboard .sara-busy-spin {
  border-color: #e6edf5;
  border-top-color: #2563eb;
}

body.admin-dash-body .sidebar-footer .btn.btn-sm.btn-gold,
body.admin-dash-body .sidebar-footer a.btn.btn-sm.btn-gold,
body.member-dashboard .sidebar-footer .btn.btn-sm.btn-gold,
body.member-dashboard .sidebar-footer a.btn.btn-sm.btn-gold {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #dbe3ee !important;
}

body.admin-dash-body .sidebar-footer .btn.btn-sm.btn-gold:hover,
body.admin-dash-body .sidebar-footer a.btn.btn-sm.btn-gold:hover,
body.member-dashboard .sidebar-footer .btn.btn-sm.btn-gold:hover,
body.member-dashboard .sidebar-footer a.btn.btn-sm.btn-gold:hover {
  background: #eef4ff !important;
  color: #1d4ed8 !important;
  border-color: #bfdbfe !important;
}

body.member-dashboard .inv-fund-hero {
  margin-bottom: 1rem;
  background: #ffffff;
  border: 1px solid #e8eef6;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

body.member-dashboard .inv-fund-top {
  display: block;
}

body.member-dashboard .inv-fund-main {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem 1.45rem 1.25rem;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(37, 99, 235, 0.16), transparent 58%),
    linear-gradient(180deg, #f5f9ff 0%, #ffffff 72%);
}

body.member-dashboard .inv-fund-mark {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #2563eb;
  color: #ffffff;
  font-size: 20px;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.28);
}

body.member-dashboard .inv-fund-main .inv-kicker {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.member-dashboard .inv-fund-total {
  display: block;
  margin: 0.2rem 0 0.4rem;
  color: #0f172a;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

body.member-dashboard .inv-fund-main p {
  margin: 0;
  max-width: 46ch;
  color: #64748b;
  font-size: 13px;
}

body.member-dashboard .inv-fund-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #f8fafc;
  border-top: 1px solid #eef2f7;
}

body.member-dashboard .inv-fund-metrics > div {
  padding: 0.9rem 1.1rem 0.85rem;
  border-right: 1px solid #eef2f7;
}

body.member-dashboard .inv-fund-metrics > div:last-child { border-right: 0; }

body.member-dashboard .inv-fund-metrics > div:nth-child(1) { box-shadow: inset 0 3px 0 #2563eb; }
body.member-dashboard .inv-fund-metrics > div:nth-child(2) { box-shadow: inset 0 3px 0 #f59e0b; }
body.member-dashboard .inv-fund-metrics > div:nth-child(3) { box-shadow: inset 0 3px 0 #0ea5e9; }

body.member-dashboard .inv-fund-metrics span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

body.member-dashboard .inv-fund-metrics strong {
  display: block;
  margin-top: 0.12rem;
  color: #0f172a;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

body.member-dashboard .inv-fund-metrics em {
  display: block;
  margin-top: 0.12rem;
  color: #94a3b8;
  font-style: normal;
  font-size: 12px;
  line-height: 1.4;
}

body.member-dashboard .inv-fund-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #eef2f7;
  background: #ffffff;
}

body.member-dashboard .inv-fund-flow li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1.1rem;
  border-right: 1px solid #eef2f7;
}

body.member-dashboard .inv-fund-flow li:last-child { border-right: 0; }

body.member-dashboard .inv-fund-flow span {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
}

body.member-dashboard .inv-fund-flow strong {
  display: block;
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
}

body.member-dashboard .inv-fund-flow em {
  display: block;
  color: #64748b;
  font-style: normal;
  font-size: 12px;
}

body.member-dashboard .inv-fund-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}

body.member-dashboard .inv-fund-grid > .sara-card {
  display: flex;
  flex-direction: column;
  height: auto;
  margin-bottom: 0;
}

body.member-dashboard .inv-fund-grid .sara-card-body { flex: 1 1 auto; }

body.member-dashboard .inv-fund-grid .sara-card-foot { margin-top: auto; }

body.member-dashboard .inv-fund-head {
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.85rem;
}

body.member-dashboard .inv-fund-ico {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eef4ff;
  color: #2563eb;
  font-size: 16px;
}

body.member-dashboard .inv-fund-card--invest .inv-fund-ico {
  background: #ecfdf3;
  color: #15803d;
}

body.member-dashboard .inv-fund-fields {
  display: grid;
  gap: 0.85rem;
}

body.member-dashboard .inv-fund-amount {
  display: flex;
  align-items: stretch;
}

body.member-dashboard .inv-fund-ccy {
  display: flex;
  align-items: center;
  padding: 0 0.8rem;
  border: 1px solid #dbe3ee;
  border-right: 0;
  border-radius: 10px 0 0 10px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

body.member-dashboard .inv-fund-amount .form-control {
  border-radius: 0 10px 10px 0;
}

body.member-dashboard .inv-fund-amount:focus-within .inv-fund-ccy {
  border-color: #2563eb;
  background: #f5f9ff;
  color: #1d4ed8;
}

body.member-dashboard .inv-fund-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.95rem 0 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid #e8eef6;
  border-radius: 12px;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
}

body.member-dashboard .inv-fund-hint i {
  margin-top: 0.15rem;
  color: #2563eb;
}

body.member-dashboard .inv-fund-spend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.95rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #d1fae5;
  border-radius: 12px;
  background: linear-gradient(90deg, #ecfdf3, #f8fafc 70%);
}

body.member-dashboard .inv-fund-spend span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.member-dashboard .inv-fund-spend strong {
  color: #0f172a;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

body.member-dashboard .inv-fund-compound {
  margin-top: 0.85rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #e8eef6;
  border-radius: 12px;
  background: #f8fafc;
}

body.member-dashboard .inv-fund-compound input {
  margin: 0 0.4rem 0 0;
  accent-color: #15803d;
}

body.member-dashboard .sara-card-body .inv-fund-compound label {
  display: inline;
  margin: 0;
  color: #0f172a;
  font-weight: 600;
  cursor: pointer;
}

body.member-dashboard .inv-fund-compound p {
  margin: 0.3rem 0 0 1.35rem;
  color: #64748b;
  font-size: 12px;
}

body.member-dashboard .inv-plan {
  margin-top: 0.95rem;
  padding: 0.95rem;
  border: 1px solid #e8eef6;
  border-radius: 14px;
  background: #f8fafc;
}

body.member-dashboard .inv-plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

body.member-dashboard .inv-plan-head h3 {
  margin: 0;
  color: #0f172a;
  font-size: 16px;
  font-weight: 600;
}

body.member-dashboard .inv-plan-head .plan-rate {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
  font-weight: 600;
  text-align: right;
}

body.member-dashboard .inv-plan-head em {
  display: block;
  margin-top: 0.1rem;
  color: #94a3b8;
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  text-align: right;
}

body.member-dashboard .inv-plan-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 0.5rem;
  margin: 0;
}

body.member-dashboard .inv-plan-facts > div {
  padding: 0.55rem 0.65rem;
  border: 1px solid #e8eef6;
  border-radius: 10px;
  background: #ffffff;
}

body.member-dashboard .inv-plan-facts dt {
  margin: 0;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.member-dashboard .inv-plan-facts dd {
  margin: 0.15rem 0 0;
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
}

body.member-dashboard .inv-plan-terms {
  margin: 0.75rem 0 0;
  color: #475569;
  font-size: 13px;
}

body.member-dashboard .inv-plan .plan-note {
  max-width: none;
  margin-top: 0.65rem;
}

body.member-dashboard .inv-plan .plan-posted { margin-top: 0.55rem; }

@media (max-width: 991px) {
  body.member-dashboard .inv-fund-top,
  body.member-dashboard .inv-fund-grid,
  body.member-dashboard .inv-fund-flow {
    grid-template-columns: 1fr;
  }

  body.member-dashboard .inv-fund-metrics {
    grid-template-columns: 1fr;
    border-top: 1px solid #eef2f7;
  }

  body.member-dashboard .inv-fund-metrics > div {
    border-right: 0;
    border-bottom: 1px solid #eef2f7;
  }

  body.member-dashboard .inv-fund-metrics > div:nth-child(1) { box-shadow: inset 3px 0 0 #2563eb; }
  body.member-dashboard .inv-fund-metrics > div:nth-child(2) { box-shadow: inset 3px 0 0 #f59e0b; }
  body.member-dashboard .inv-fund-metrics > div:nth-child(3) { box-shadow: inset 3px 0 0 #0ea5e9; }

  body.member-dashboard .inv-fund-metrics > div:last-child { border-bottom: 0; }

  body.member-dashboard .inv-fund-flow li {
    border-right: 0;
    border-bottom: 1px solid #eef2f7;
  }

  body.member-dashboard .inv-fund-flow li:last-child { border-bottom: 0; }
}

@media (max-width: 700px) {
  body.member-dashboard .inv-fund-total { font-size: 28px; }
  body.member-dashboard .inv-plan-facts { grid-template-columns: 1fr 1fr; }
  body.member-dashboard .inv-plan-facts > div:last-child { grid-column: 1 / -1; }
  body.member-dashboard .inv-fund-spend { align-items: flex-start; flex-direction: column; gap: 0.2rem; }
}

body.member-dashboard .inv-profile.inv-profile--stage {
  --cover-h: 214px;
  display: block;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e8eef6;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

body.member-dashboard .inv-profile--stage .inv-profile-cover {
  position: relative;
  height: var(--cover-h);
  background: #0f172a;
}

body.member-dashboard .inv-profile--stage .inv-profile-cover img {
  height: 100%;
  transform: scale(1.02);
}

body.member-dashboard .inv-profile--stage .inv-profile-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.34) 0%, rgba(15, 23, 42, 0) 32%),
    linear-gradient(180deg, rgba(15, 23, 42, 0) 62%, rgba(15, 23, 42, 0.28) 100%);
  pointer-events: none;
}

body.member-dashboard .inv-profile--stage a.inv-profile-edit {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(10px);
}

body.member-dashboard .inv-profile--stage a.inv-profile-edit:hover {
  background: #ffffff;
  color: #1d4ed8;
}

body.member-dashboard .inv-profile--stage a.inv-profile-edit:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

body.member-dashboard .inv-profile--stage .inv-profile-panel {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  grid-template-areas: "shot id" "facts facts";
  column-gap: 1.15rem;
  align-items: start;
  margin-top: 0;
  padding: 0 1.25rem 1.2rem;
  background: #ffffff;
}

body.member-dashboard .inv-profile--stage .inv-profile-body {
  display: contents;
}

body.member-dashboard .inv-profile--stage .inv-profile-shot {
  grid-area: shot;
  align-self: start;
  justify-content: flex-start;
  margin-top: -62px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.member-dashboard .inv-profile--stage .inv-profile-shot img,
body.member-dashboard .inv-profile--stage .inv-profile-shot .inv-profile-fallback {
  box-sizing: border-box;
  width: 124px;
  height: 124px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.28),
    0 16px 32px rgba(15, 23, 42, 0.24);
}

body.member-dashboard .inv-profile--stage .inv-profile-id {
  grid-area: id;
  min-width: 0;
  padding-top: 0.85rem;
}

body.member-dashboard .inv-profile--stage .inv-kicker {
  margin: 0;
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.member-dashboard .inv-profile--stage .inv-profile-titleline h2 {
  margin: 0.12rem 0 0;
  color: #0f172a;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

body.member-dashboard .inv-profile--stage .inv-profile-facts {
  grid-area: facts;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0.85rem 0 0;
}

body.member-dashboard .inv-profile--stage .inv-profile-facts > div {
  min-width: 0;
  padding: 0.78rem 0.9rem 0.82rem;
  border: 1px solid #e8eef6;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 72%);
}

body.member-dashboard .inv-profile--stage .inv-profile-facts > div > span {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.member-dashboard .inv-profile--stage .inv-profile-facts strong {
  margin-top: 0.32rem;
  color: #0f172a;
  font-size: 15px;
  font-weight: 600;
}

body.member-dashboard .inv-profile--stage .inv-profile-fact--amount {
  border-color: #dbe7fb;
  background: linear-gradient(180deg, #f3f7ff 0%, #ffffff 72%);
}

body.member-dashboard .inv-profile--stage .inv-profile-fact--amount strong {
  color: #1d4ed8;
  font-size: 17px;
  font-weight: 700;
}

body.member-dashboard .inv-profile--stage .inv-profile-facts .inv-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0;
  padding: 0.22rem 0.62rem 0.22rem 0.5rem;
  font-size: 12px;
  font-weight: 700;
}

body.member-dashboard .inv-profile--stage .inv-profile-facts .inv-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent);
}

@media (max-width: 991px) {
  body.member-dashboard .inv-profile.inv-profile--stage { --cover-h: 176px; }

  body.member-dashboard .inv-profile--stage .inv-profile-panel {
    grid-template-columns: 104px minmax(0, 1fr);
    padding: 0 1rem 1rem;
  }

  body.member-dashboard .inv-profile--stage .inv-profile-shot { margin-top: -48px; }

  body.member-dashboard .inv-profile--stage .inv-profile-shot img,
  body.member-dashboard .inv-profile--stage .inv-profile-shot .inv-profile-fallback {
    width: 96px;
    height: 96px;
  }

  body.member-dashboard .inv-profile--stage .inv-profile-titleline h2 { font-size: 22px; }

  body.member-dashboard .inv-profile--stage .inv-profile-facts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body.member-dashboard .inv-profile--stage .inv-profile-panel {
    grid-template-columns: 96px minmax(0, 1fr);
    padding: 0 0.9rem 0.95rem;
  }

  body.member-dashboard .inv-profile--stage .inv-profile-shot { margin-top: -42px; }

  body.member-dashboard .inv-profile--stage .inv-profile-id { padding-top: 0.7rem; }

  body.member-dashboard .inv-profile--stage .inv-profile-facts { grid-template-columns: 1fr; }

  body.member-dashboard .inv-profile--stage a.inv-profile-edit {
    padding: 0.45rem 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.member-dashboard .inv-profile--stage a.inv-profile-edit { transition: none; }
}

.ticket-thread {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 480px;
  min-height: 240px;
  overflow: auto;
  padding: 0.85rem 0.75rem;
  margin-bottom: 0.85rem;
  background: #efeae2;
  border: 0;
  border-radius: 8px;
}

.ticket-bubble {
  display: flex;
  flex-direction: column;
  width: fit-content;
  max-width: min(78%, 28rem);
  padding: 0.35rem 0.5rem 0.2rem 0.65rem;
  border: 0;
  border-radius: 8px 8px 8px 2px;
  background: #fff;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}

.ticket-bubble--mine {
  align-self: flex-end;
  background: #d9fdd3;
  border-radius: 8px 8px 2px 8px;
}

.ticket-bubble--internal {
  background: #fff4e5;
  box-shadow: none;
  outline: 1px dashed #e0c39a;
}

.ticket-bubble strong {
  font-size: 12px;
  font-weight: 600;
  color: #0b6b5c;
  margin-bottom: 0.1rem;
}

.ticket-bubble p {
  margin: 0;
  color: #111b21;
  line-height: 1.35;
}

.ticket-bubble time {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  align-self: flex-end;
  margin-top: 0.1rem;
  font-size: 11px;
  color: #667781;
}

.ticket-empty {
  margin: 0;
  color: #667781;
}

.wa-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: center;
  color: #0b6b5c;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.wa-live i,
.wa-list-live {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: wa-pulse 1.6s ease-out infinite;
}

.wa-list-live {
  display: inline-block;
  margin-right: 0.4rem;
  vertical-align: middle;
}

.wa-live[hidden],
.wa-list-live[hidden],
.wa-error[hidden] { display: none !important; }

.wa-tools { margin-bottom: 0.75rem; }

.wa-compose {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}

.wa-compose .wa-input {
  min-height: 44px;
  border-radius: 22px;
  padding: 0.55rem 0.95rem;
  resize: vertical;
  background: #fff;
}

.wa-send {
  flex: 0 0 auto;
  border-radius: 22px !important;
  min-height: 44px;
}

.wa-error {
  margin: 0.45rem 0 0;
  color: #8a2a22;
  font-size: 13px;
}

@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .wa-live i,
  .wa-list-live { animation: none; }
}

.wa-ticks {
  display: inline-flex;
  align-items: center;
  color: #8696a0;
  font-size: 13px;
  line-height: 1;
}

.wa-ticks i + i { margin-left: -8px; }

.wa-ticks--read { color: #53bdeb; }

.wa-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin: 0 0 0.7rem;
  color: #667781;
  font-size: 12px;
}

.wa-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.wa-dock {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1030;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  width: min(380px, calc(100vw - 1.4rem));
  pointer-events: none;
}

.wa-dock-tab,
.wa-dock-panel { pointer-events: auto; }

.wa-dock-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-end;
  border: 0;
  border-radius: 999px;
  background: #0b6b5c;
  color: #fff;
  padding: 0.72rem 1rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(11, 107, 92, 0.35);
}

.wa-dock-tab em {
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-style: normal;
  font-size: 11px;
  line-height: 1.25rem;
  text-align: center;
}

.wa-dock-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: min(540px, calc(100vh - 6.5rem));
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}

.wa-dock-panel[hidden],
.wa-dock-pick[hidden],
.wa-dock-compose[hidden],
.wa-dock-note[hidden],
.wa-dock .wa-error[hidden],
.wa-dock-tab em[hidden] { display: none !important; }

.wa-dock-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 0.85rem 0.55rem;
  background: #0b6b5c;
  color: #fff;
}

.wa-dock-head strong {
  display: block;
  color: #fff;
  font-size: 14px;
}

.wa-dock-head p {
  margin: 0.15rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
}

.wa-dock-x {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0 0.15rem;
}

.wa-dock .wa-legend {
  margin: 0;
  padding: 0.45rem 0.75rem 0;
}

.wa-dock-pick {
  display: block;
  padding: 0.4rem 0.75rem 0;
  color: #667781;
  font-size: 12px;
}

.wa-dock-pick select { margin-top: 0.2rem; }

.wa-dock-thread.ticket-thread {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  margin: 0.45rem 0.7rem 0;
}

.wa-dock .wa-error { padding: 0.35rem 0.75rem 0; }

.wa-dock-note {
  margin: 0.45rem 0.75rem 0;
}

.wa-dock-compose {
  padding: 0.55rem 0.7rem 0.35rem;
}

.wa-dock-full {
  display: block;
  text-align: center;
  font-size: 12px;
  padding: 0.35rem 0.75rem 0.7rem;
}

@media (max-width: 640px) {
  .wa-dock {
    right: 0.7rem;
    bottom: 0.7rem;
    width: min(380px, calc(100vw - 1rem));
  }
}

.inv-holdings { margin-bottom: 1rem; }

.inv-hero-stats > .inv-alloc { margin: 0.85rem; }

.trd-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.trd-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.trd-flow li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  min-width: 0;
  padding: 0.55rem 0.6rem;
  border: 1px solid var(--rule);
  background: rgba(15, 23, 42, 0.03);
}

.trd-flow li.is-on {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.35);
}

.trd-flow li > span {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #0f172a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.trd-flow strong,
.trd-flow em {
  display: block;
  font-style: normal;
}

.trd-flow strong { font-size: 13px; font-weight: 600; color: var(--ink); }
.trd-flow em { margin-top: 0.1rem; color: var(--quiet); font-size: 12px; line-height: 1.3; }

.trd-meter {
  height: 8px;
  margin-top: 0.85rem;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.trd-meter i {
  display: block;
  height: 100%;
  background: #2563eb;
}

.trd-note {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  background: var(--sheet);
  border: 1px solid var(--rule);
  color: var(--ink);
  font-size: 14px;
}

.inv-hero-stats .trd-key { grid-template-columns: 1fr; }
.inv-hero-stats .trd-key li {
  border-left: 0;
  border-bottom: 1px solid var(--rule);
  padding: 0.38rem 0;
}
.inv-hero-stats .trd-key li:last-child { border-bottom: 0; }

.trd-pl-up { color: #16a34a; }
.trd-pl-down { color: #b91c1c; }

@media (max-width: 900px) {
  .trd-flow { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .trd-flow { grid-template-columns: 1fr; }
}
