:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f6f7fb;
  color: #171923;
  --muted: #7d8496;
  --soft-muted: #a0a6b5;
  --line: #e7e9f0;
  --surface: #ffffff;
  --surface-soft: #fafbfe;
  --accent: #6d5dfc;
  --accent-dark: #5748e6;
  --accent-soft: #efedff;
  --shadow: 0 18px 50px rgba(33, 37, 60, 0.07);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: #f6f7fb; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 82% -10%, rgba(223, 220, 255, 0.7) 0, rgba(246, 247, 251, 0) 29rem), #f6f7fb;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 26px 30px;
}
.brand { align-items: center; color: #242633; display: inline-flex; font-size: 0.98rem; font-weight: 760; gap: 10px; letter-spacing: -0.035em; }
.brand-mark { background: linear-gradient(145deg, #9288ff, #6554ed); border-radius: 8px; box-shadow: 0 5px 12px rgba(109, 93, 252, 0.22); display: inline-block; height: 24px; position: relative; transform: rotate(-8deg); width: 24px; }
.brand-mark::after { border: 1.5px solid rgba(255, 255, 255, 0.78); border-radius: 999px; content: ""; height: 8px; left: 7px; position: absolute; top: 7px; width: 8px; }
.brand-accent { color: var(--accent); }
.header-note { align-items: center; color: var(--muted); display: inline-flex; font-size: 0.75rem; gap: 7px; }
.status-dot { background: #64c49a; border-radius: 999px; box-shadow: 0 0 0 4px rgba(100, 196, 154, 0.13); display: inline-block; height: 6px; width: 6px; }

.page-shell { margin: 0 auto; max-width: 1040px; padding: 76px 30px 88px; }
.hero { margin-bottom: 66px; max-width: 680px; }
.eyebrow { color: var(--accent); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.18em; margin: 0 0 16px; }
h1, h2, p { margin-top: 0; }
h1 { color: #171923; font-size: clamp(2.65rem, 7vw, 5.2rem); letter-spacing: -0.075em; line-height: 0.99; margin-bottom: 24px; }
h1 em { color: var(--accent); font-style: normal; }
h2 { color: #232633; font-size: 1.48rem; letter-spacing: -0.045em; line-height: 1.15; margin-bottom: 7px; }
.hero-copy { color: var(--muted); font-size: 0.97rem; line-height: 1.8; margin-bottom: 0; max-width: 590px; }

.panel { background: var(--surface); border: 1px solid rgba(225, 227, 236, 0.9); border-radius: 22px; box-shadow: var(--shadow); padding: 30px 32px; }
.section-heading { align-items: flex-start; display: flex; gap: 24px; justify-content: space-between; margin-bottom: 27px; }
.section-heading .eyebrow { margin-bottom: 13px; }

.user-list { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.user-card { align-items: center; background: var(--surface-soft); border: 1px solid #eef0f5; border-radius: 15px; color: inherit; cursor: pointer; display: flex; gap: 12px; justify-content: space-between; min-height: 92px; padding: 17px; text-align: left; transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; width: 100%; }
.user-card:hover { background: #fff; border-color: #dcd8ff; box-shadow: 0 10px 24px rgba(76, 68, 170, 0.08); transform: translateY(-2px); }
.user-main { align-items: center; display: flex; gap: 12px; min-width: 0; }
.user-avatar { align-items: center; background: var(--accent-soft); border-radius: 12px; color: var(--accent-dark); display: inline-flex; flex: 0 0 auto; font-size: 0.84rem; font-weight: 800; height: 38px; justify-content: center; width: 38px; }
.user-card strong { display: block; font-size: 0.9rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-return { align-items: flex-end; display: flex; flex: 0 0 auto; flex-direction: column; gap: 5px; margin-left: auto; }
.user-return-label { color: var(--muted); font-size: 0.68rem; }
.user-return-value { color: #238c68; display: inline-block; font-size: 0.82rem; font-variant-numeric: tabular-nums; font-weight: 800; min-width: 7ch; text-align: right; }
.user-return-value.is-negative { color: #d85c6f; }
.user-return-value.is-placeholder { color: var(--soft-muted); }
.user-card .arrow { color: var(--accent); font-size: 1.15rem; line-height: 1; margin-left: 12px; }
.status { color: var(--muted); font-size: 0.84rem; line-height: 1.6; margin: 18px 0 0; }

.detail-heading { margin: 54px 0 30px; }
.detail-heading h1 { font-size: clamp(2.65rem, 7vw, 4.6rem); margin-bottom: 15px; }
.rolling-return { align-items: baseline; display: flex; gap: 11px; margin-top: 24px; }
.return-kicker { color: var(--muted); font-size: 0.77rem; }
.rolling-return strong { color: #238c68; display: inline-block; font-size: 1.42rem; font-variant-numeric: tabular-nums; letter-spacing: -0.04em; min-width: 7ch; text-align: right; }
.rolling-return.is-placeholder strong { color: var(--soft-muted); }
.rolling-return.is-negative strong { color: #d85c6f; }
.return-note { color: var(--soft-muted); font-size: 0.7rem; }
.back-button { background: transparent; border: 0; color: var(--muted); cursor: pointer; font-size: 0.8rem; padding: 5px 0; transition: color 160ms ease; }
.back-button span { color: var(--accent); font-size: 1.05rem; margin-right: 4px; }
.back-button:hover { color: var(--accent-dark); }
.panel-caption { align-items: center; border-bottom: 1px solid #f0f1f5; color: var(--soft-muted); display: flex; font-size: 0.76rem; gap: 9px; padding-bottom: 19px; }
.caption-icon { color: var(--accent); font-size: 1.1rem; line-height: 1; }
.asset-list { display: grid; }
.asset-row { border-bottom: 1px solid #f0f1f5; display: grid; gap: 12px; padding: 23px 0; }
.asset-row:last-child { border-bottom: 0; padding-bottom: 4px; }
.asset-meta { align-items: baseline; display: flex; gap: 16px; justify-content: space-between; }
.asset-label { align-items: center; display: flex; gap: 13px; min-width: 0; }
.asset-index { color: #b0b5c1; font-size: 0.69rem; font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
.asset-name { color: #252835; font-size: 0.92rem; font-weight: 700; }
.asset-code { color: var(--muted); font-size: 0.76rem; margin-left: 9px; }
.asset-type { color: var(--soft-muted); font-size: 0.72rem; }
.asset-percentage { color: var(--accent-dark); font-size: 0.9rem; font-variant-numeric: tabular-nums; font-weight: 800; white-space: nowrap; }
.bar-track { background: #f0effc; border-radius: 99px; height: 9px; overflow: hidden; }
.bar-fill { background: linear-gradient(90deg, #8376ff, #b0a8ff); border-radius: inherit; height: 100%; min-width: 3px; transition: width 400ms ease; }

.site-footer { align-items: center; color: var(--soft-muted); display: flex; font-size: 0.72rem; gap: 8px; justify-content: center; padding: 0 30px 28px; }
.site-footer span:first-child { color: #7d8291; font-weight: 700; }
[hidden] { display: none !important; }

@media (max-width: 760px) {
  .page-shell { padding-top: 58px; }
  .user-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .site-header { padding: 22px 19px; }
  .header-note { font-size: 0.7rem; }
  .page-shell { padding: 48px 18px 64px; }
  .hero { margin-bottom: 48px; }
  h1 { font-size: clamp(2.7rem, 14vw, 4.2rem); }
  .panel { border-radius: 18px; padding: 23px 18px; }
  .section-heading { align-items: flex-start; margin-bottom: 21px; }
  .user-list { grid-template-columns: 1fr; }
  .detail-heading { margin-top: 42px; }
  .asset-meta { align-items: flex-start; }
  .asset-code { display: block; margin-left: 0; margin-top: 3px; }
  .site-footer { padding-left: 18px; padding-right: 18px; }
}
