:root {
  color-scheme: dark;
  --bg: #07070b;
  --bg-soft: rgba(17, 17, 23, 0.82);
  --panel: rgba(18, 18, 25, 0.85);
  --panel-strong: rgba(24, 24, 32, 0.98);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f8f3ea;
  --muted: rgba(248, 243, 234, 0.68);
  --gold: #d5a73b;
  --gold-soft: rgba(213, 167, 59, 0.16);
  --burgundy: #8c1838;
  --burgundy-soft: rgba(140, 24, 56, 0.18);
  --emerald: #0fb58f;
  --amber: #e9b44f;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 24px;
  --radius-sm: 18px;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI Variable", "Helvetica Neue", sans-serif;
  line-height: 1.55;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(140, 24, 56, 0.28), transparent 30%),
    radial-gradient(circle at top right, rgba(213, 167, 59, 0.2), transparent 24%),
    linear-gradient(135deg, #050507 0%, #08080d 45%, #0d0d13 100%);
  color: var(--text);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

input {
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  line-height: 1.25;
}

select {
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  line-height: 1.25;
}

p {
  line-height: 1.65;
}

img {
  max-width: 100%;
}

.app-shell {
  --shell-padding: 20px;
  --shell-gap: 20px;
  --sidebar-width: 280px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: var(--shell-gap);
  min-height: 100vh;
  padding: var(--shell-padding);
}

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(28, 28, 35, 0.94), rgba(12, 12, 16, 0.94));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  animation: fadeUp 480ms ease both;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  position: sticky;
  top: 20px;
  height: calc(100vh - 40px);
  overflow-y: auto;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-lockup-button {
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  text-align: left;
  background: transparent;
}

.brand-lockup-button:hover {
  opacity: 0.96;
}

.brand-mark {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: #1a1202;
  font-weight: 900;
  letter-spacing: 0.16em;
  background: linear-gradient(135deg, #f7d981, #b67b0c 55%, #e2bc61);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.eyebrow {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--gold);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.55rem;
  line-height: 1.05;
  margin-bottom: 0;
}

h2 {
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
}

h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.subtle {
  color: var(--muted);
  margin-bottom: 0;
}

.side-nav {
  display: grid;
  gap: 10px;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 13px 14px;
  background: transparent;
  color: var(--muted);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.nav-item:hover,
.nav-item.active {
  color: var(--text);
  background: linear-gradient(90deg, rgba(213, 167, 59, 0.15), rgba(140, 24, 56, 0.12));
  border-color: rgba(213, 167, 59, 0.22);
  transform: translateX(4px);
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.promo-card {
  margin-top: auto;
  border-radius: 22px;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(213, 167, 59, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(34, 26, 12, 0.96), rgba(16, 14, 10, 0.96));
  border: 1px solid rgba(213, 167, 59, 0.15);
}

.promo-card h2 {
  font-size: 1.08rem;
  line-height: 1.35;
}

.promo-card ul {
  margin: 14px 0 18px;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.main-stage {
  display: grid;
  gap: 18px;
}

.section-page {
  position: fixed;
  top: var(--shell-padding);
  right: var(--shell-padding);
  bottom: var(--shell-padding);
  left: calc(var(--shell-padding) + var(--sidebar-width) + var(--shell-gap));
  display: grid;
  gap: 20px;
  align-content: start;
  padding: 20px;
  overflow: auto;
  z-index: 24;
}

.section-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.section-page .section-page-header {
  margin-bottom: 0;
}

.section-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.price-chip.compact {
  min-width: 180px;
}

.section-page-body {
  display: grid;
  gap: 16px;
}

.topbar {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
}

.search-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.search-chip input {
  width: 100%;
}

.price-chip {
  min-width: 210px;
  border-radius: 18px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(213, 167, 59, 0.14), rgba(140, 24, 56, 0.1));
  border: 1px solid rgba(213, 167, 59, 0.18);
}

.price-chip p,
.price-chip strong,
.price-chip span {
  display: block;
}

.price-chip p {
  color: var(--muted);
  margin-bottom: 6px;
}

.price-chip strong {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.positive {
  color: #70e1b5;
}

.negative {
  color: #ff7f9c;
}

.profile-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  flex-wrap: wrap;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #231300;
  background: linear-gradient(135deg, #f4d47a, #b57d12);
  overflow: hidden;
}

.avatar img,
.profile-picture-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.metric-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
}

.metric-card p,
.metric-card span {
  color: var(--muted);
}

.metric-card strong {
  display: block;
  font-size: 1.55rem;
  margin: 8px 0 6px;
}

.metric-tone {
  position: absolute;
  inset: auto 0 0;
  height: 3px;
}

.metric-tone.gold {
  background: linear-gradient(90deg, var(--gold), rgba(213, 167, 59, 0));
}

.metric-tone.burgundy {
  background: linear-gradient(90deg, var(--burgundy), rgba(140, 24, 56, 0));
}

.metric-tone.emerald {
  background: linear-gradient(90deg, var(--emerald), rgba(15, 181, 143, 0));
}

.metric-tone.amber {
  background: linear-gradient(90deg, var(--amber), rgba(233, 180, 79, 0));
}

.hero-grid,
.program-grid,
.secondary-grid,
.bottom-grid {
  display: grid;
  gap: 18px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.7fr);
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 18px;
  padding: 24px;
}

.hero-copy p:last-of-type {
  color: var(--muted);
  line-height: 1.7;
}

.cta-row,
.hero-badges,
.wallet-actions,
.quick-actions,
.currency-row,
.funding-switch,
.plan-tabs,
.progress-summary,
.panel-header,
.verification-header,
.limits-row,
.wallet-summary,
.activity-item,
.market-item,
.security-card {
  display: flex;
}

.cta-row,
.hero-badges,
.wallet-actions,
.quick-actions,
.currency-row {
  flex-wrap: wrap;
}

.cta-row,
.wallet-actions,
.hero-badges,
.plan-tabs,
.currency-row {
  gap: 12px;
}

.primary-button,
.ghost-button,
.mini-button,
.text-button,
.table-button,
.primary-button.secondary {
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 12px 16px;
  transition: transform 160ms ease, filter 160ms ease, background 160ms ease, border-color 160ms ease;
}

.primary-button,
.primary-button.secondary {
  color: #1a1202;
  font-weight: 800;
  background: linear-gradient(135deg, #f7da8a, #bb8616 60%, #d8b359);
  box-shadow: 0 18px 40px rgba(213, 167, 59, 0.25);
}

.primary-button.secondary {
  background: linear-gradient(135deg, #f6de99, #aa7010);
}

.ghost-button,
.mini-button,
.text-button,
.table-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}

.text-button {
  padding-inline: 0;
  background: transparent;
  border-color: transparent;
  color: var(--gold);
}

.profile-link {
  min-height: auto;
  padding: 0;
}

.primary-button:hover,
.ghost-button:hover,
.mini-button:hover,
.text-button:hover,
.table-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.hero-badges {
  margin-top: 20px;
}

.dashboard-section {
  scroll-margin-top: 20px;
}

.badge,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(213, 167, 59, 0.22);
  color: var(--gold);
  background: rgba(213, 167, 59, 0.08);
  font-size: 0.83rem;
}

.pill.muted {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 320px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 220, 126, 0.22), transparent 0 22%, transparent 28%),
    radial-gradient(circle at 70% 72%, rgba(140, 24, 56, 0.28), transparent 0 24%, transparent 31%),
    linear-gradient(180deg, rgba(18, 18, 25, 0.98), rgba(9, 9, 13, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: float 7s ease-in-out infinite;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 85%);
}

.gold-bars {
  position: absolute;
  left: 18px;
  bottom: 24px;
  display: grid;
  gap: 12px;
  z-index: 1;
}

.bar {
  display: block;
  border-radius: 18px;
  background: linear-gradient(135deg, #f7d881, #ab7710 52%, #f1cf6c);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.4), 0 30px 40px rgba(0, 0, 0, 0.45);
}

.bar.large {
  width: 180px;
  height: 74px;
  transform: skewX(-12deg) rotate(-10deg);
}

.bar.medium {
  width: 150px;
  height: 64px;
  transform: translateX(30px) skewX(-12deg) rotate(-10deg);
}

.bar.small {
  width: 120px;
  height: 54px;
  transform: translateX(56px) skewX(-12deg) rotate(-10deg);
}

.vault-orbit {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.vault-ring {
  position: absolute;
  width: 210px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(213, 167, 59, 0.18);
  box-shadow: 0 0 80px rgba(213, 167, 59, 0.12);
}

.vault-ring::after {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(140, 24, 56, 0.3);
}

.vault-core {
  position: relative;
  z-index: 1;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #1b1303;
  font-weight: 900;
  letter-spacing: 0.14em;
  background: radial-gradient(circle at 30% 30%, #fff3c7, #cda13b 52%, #8e5f0f 100%);
  box-shadow: 0 20px 50px rgba(213, 167, 59, 0.3);
  animation: pulse 4s ease-in-out infinite;
}

.verification-card,
.wallet-panel,
.market-panel,
.security-panel,
.listings-panel,
.transactions-panel,
.savings-panel {
  padding: 20px;
}

.verification-header,
.panel-header,
.wallet-summary,
.activity-item,
.market-item,
.security-card {
  align-items: flex-start;
}

.panel-header,
.verification-header,
.limits-row,
.wallet-summary,
.market-item,
.security-card {
  justify-content: space-between;
}

.panel-header {
  gap: 12px;
  margin-bottom: 16px;
}

.verification-header {
  gap: 14px;
  margin-bottom: 14px;
}

.shield {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--gold);
  background: rgba(213, 167, 59, 0.1);
  border: 1px solid rgba(213, 167, 59, 0.18);
  font-size: 1.2rem;
  font-weight: 900;
}

.verification-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.verification-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check {
  color: #4ee29c;
}

.full-width {
  width: 100%;
}

.program-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
}

.investment-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.75fr);
  align-items: start;
}

.investment-modal-body {
  display: grid;
  gap: 16px;
}

.investment-step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.investment-step-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.investment-step-card p {
  color: var(--muted);
}

.investment-status-card,
.investment-ledger-list,
.investment-roi-list {
  margin-bottom: 0;
}

.investment-panel,
.investment-side-panel {
  align-self: start;
}

.plan-tabs {
  margin-bottom: 18px;
}

.plan-tab {
  flex: 1 1 180px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  text-align: left;
  display: grid;
  gap: 6px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.plan-tab.active {
  background: linear-gradient(135deg, rgba(213, 167, 59, 0.15), rgba(140, 24, 56, 0.14));
  color: var(--text);
  border-color: rgba(213, 167, 59, 0.22);
}

.plan-tab strong {
  color: inherit;
}

.plan-tab:hover {
  transform: translateY(-2px);
}

.plan-details {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  margin-bottom: 18px;
}

.plan-details p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.vault-progress {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.progress-heading,
.progress-summary {
  justify-content: space-between;
  align-items: center;
}

.progress-track {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #f4ce6f, var(--burgundy));
  box-shadow: 0 0 20px rgba(213, 167, 59, 0.35);
}

.quick-actions {
  gap: 14px;
}

.action-tile {
  min-width: 120px;
  flex: 1 1 140px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border-radius: 18px;
  padding: 14px;
  text-align: left;
  color: var(--text);
  display: grid;
  gap: 6px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.action-tile:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(213, 167, 59, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.action-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #f8e4b0;
  background: linear-gradient(135deg, rgba(213, 167, 59, 0.18), rgba(140, 24, 56, 0.18));
}

.wallet-summary {
  gap: 16px;
  margin-bottom: 16px;
}

.wallet-summary strong {
  display: block;
  font-size: 1.8rem;
  margin: 6px 0;
}

.wallet-art {
  min-width: 130px;
  min-height: 120px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: #1c1303;
  font-weight: 900;
  letter-spacing: 0.2em;
  background: linear-gradient(135deg, #f6dea2, #b57d10 48%, #e8c15f);
}

.currency-chip {
  min-width: 148px;
  flex: 1 1 148px;
  border-radius: 18px;
  padding: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 4px;
}

.currency-chip span,
.currency-chip strong,
.activity-copy p,
.market-item span,
.market-item p,
.security-card p,
.limits-card p,
.footer-note p,
.table-head,
.table-row,
.subtle {
  color: var(--muted);
}

.currency-chip.burgundy {
  border-color: rgba(140, 24, 56, 0.26);
}

.currency-chip.gold {
  border-color: rgba(213, 167, 59, 0.24);
}

.currency-chip.teal {
  border-color: rgba(15, 181, 143, 0.24);
}

.currency-chip.emerald {
  border-color: rgba(15, 181, 143, 0.24);
}

.funding-switch {
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.segmented {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.segmented button {
  border: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
}

.segmented button.active {
  color: #1b1202;
  background: linear-gradient(135deg, #f7da8a, #bc8717);
}

.table-shell {
  display: grid;
  gap: 8px;
}

.table-head,
.table-row {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.75fr 0.9fr 0.95fr 0.7fr 0.95fr 0.9fr;
  gap: 10px;
  align-items: center;
}

.table-head {
  padding: 0 4px 10px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.table-row {
  padding: 12px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.table-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(213, 167, 59, 0.18);
}

.table-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-button {
  padding: 9px 12px;
  justify-self: start;
}

.empty-state {
  margin: 8px 0 0;
  padding: 14px;
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

.market-list {
  display: grid;
  gap: 12px;
}
.investment-summary-grid,
.investment-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.investment-details-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.investment-summary-grid div,
.investment-details-grid div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.investment-summary-grid span,
.investment-details-grid span,
.calendar-row span {
  color: var(--muted);
  font-size: 0.84rem;
}
.investment-summary-grid strong,
.investment-details-grid strong,
.calendar-row strong {
  font-size: 1.02rem;
}
.portfolio-timeline {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.timeline-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.timeline-step.paid {
  border-color: rgba(75, 181, 114, 0.24);
}
.timeline-step.due {
  border-color: rgba(213, 167, 59, 0.28);
}
.timeline-dot {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4d27a, #be8c14);
  box-shadow: 0 0 0 4px rgba(213, 167, 59, 0.12);
}
.timeline-step div {
  display: grid;
  gap: 3px;
}
.calendar-grid {
  display: grid;
  gap: 10px;
}
.calendar-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.8fr 1.2fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.calendar-head {
  background: rgba(255, 255, 255, 0.05);
}
.investment-calendar-grid {
  margin-top: 4px;
}
.investment-ledger-list .activity-item {
  align-items: center;
}

.investment-step-grid,
.investment-details-grid,
.investment-summary-grid,
.calendar-grid,
.profile-form,
.auth-form-grid {
  align-content: start;
}

.market-item {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.market-item strong {
  display: block;
  margin-top: 6px;
}

.security-card {
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.verification-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.verification-grid label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.verification-upload-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.verification-upload-grid input[type='file'] {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.verification-status-cards {
  margin-top: 10px;
}

.security-card > div {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.security-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.security-card input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.limits-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.limits-row {
  gap: 16px;
  margin-bottom: 8px;
}

.activity-list {
  display: grid;
  gap: 10px;
}

.activity-item {
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.activity-badge {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: #241302;
  background: linear-gradient(135deg, #f7d981, #b57d10);
}

.activity-badge[data-type='Sell Gold'] {
  background: linear-gradient(135deg, #f3c85d, #8c1838);
  color: #fff7e8;
}

.activity-copy {
  flex: 1;
}

.activity-copy strong,
.activity-meta strong {
  display: block;
}

.activity-meta {
  text-align: right;
}

.footer-note {
  padding: 2px 8px 8px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(4, 4, 7, 0.86);
  backdrop-filter: blur(18px);
  animation: backdropFade 220ms ease both;
}

.modal-panel {
  width: min(1120px, 100%);
  max-height: min(90vh, 900px);
  border-radius: 24px;
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(22, 22, 30, 0.98), rgba(10, 10, 14, 0.98));
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.modal-body {
  display: grid;
  gap: 16px;
}

.modal-stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.modal-list {
  max-height: 420px;
}

.wallet-modal-body,
.support-modal-body,
.dashboard-modal-body {
  gap: 18px;
}

.modal-actions {
  width: 100%;
}

.modal-tabs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
}

.profile-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.profile-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.profile-picture-field {
  grid-column: 1 / -1;
}

.profile-picture-preview {
  width: 112px;
  height: 112px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.profile-picture-preview span {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}

.profile-form input,
.chat-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.payment-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(4, 4, 7, 0.84);
  backdrop-filter: blur(12px);
}

.payment-panel {
  width: min(560px, 100%);
  padding: 20px;
  border-radius: 22px;
  display: grid;
  gap: 14px;
}

.payment-methods {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.method-tab {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  border-radius: 12px;
  padding: 10px 12px;
}

.method-tab.active {
  color: var(--text);
  border-color: rgba(213, 167, 59, 0.26);
  background: linear-gradient(135deg, rgba(213, 167, 59, 0.15), rgba(140, 24, 56, 0.12));
}

.payment-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.payment-form {
  display: grid;
  gap: 12px;
}

.payment-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.payment-form input,
.payment-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.payment-inline-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.payment-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.92rem;
}

.payment-note.warning {
  color: #f8ddb1;
  border-color: rgba(233, 180, 79, 0.28);
  background: rgba(233, 180, 79, 0.1);
}

.payment-note.error {
  color: #ffd3da;
  border-color: rgba(255, 127, 156, 0.35);
  background: rgba(255, 127, 156, 0.12);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.profile-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.auth-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.auth-mode-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.auth-mode-tabs button {
  min-height: 42px;
  padding: 0 14px;
  color: var(--muted);
  background: transparent;
}

.auth-mode-tabs button.active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(213, 167, 59, 0.15), rgba(140, 24, 56, 0.13));
}

.auth-form-grid {
  margin-bottom: 0;
}

.google-auth-stack {
  display: grid;
  gap: 10px;
}

.google-button-host {
  min-height: 40px;
}

.compact-header {
  margin-bottom: 12px;
}

.account-center {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.account-list {
  display: grid;
  gap: 10px;
}

.account-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-align: left;
}

.account-card span,
.account-card small {
  display: block;
  color: var(--muted);
}

.account-card.active {
  border-color: rgba(213, 167, 59, 0.28);
  background: linear-gradient(135deg, rgba(213, 167, 59, 0.12), rgba(140, 24, 56, 0.12));
}

.create-account-card {
  display: grid;
  gap: 14px;
}

.chat-panel {
  display: grid;
  gap: 14px;
}

.chat-window {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}

.chat-message {
  display: grid;
  gap: 6px;
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
}

.chat-message p {
  margin-bottom: 0;
  line-height: 1.55;
}

.chat-message span {
  font-size: 0.78rem;
  color: var(--muted);
}

.chat-message.user {
  margin-left: auto;
  background: linear-gradient(135deg, rgba(140, 24, 56, 0.2), rgba(213, 167, 59, 0.08));
}

.chat-message.assistant {
  background: rgba(255, 255, 255, 0.03);
}

.chat-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.prompt-chip {
  border: 1px solid rgba(213, 167, 59, 0.16);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--gold);
  background: rgba(213, 167, 59, 0.08);
}

.chat-form {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-note p {
  line-height: 1.6;
  margin-bottom: 0;
}

.toast {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  left: 50%;
  z-index: 90;
  transform: translateX(-50%);
  padding: 12px 16px;
  border-radius: 999px;
  color: #1c1303;
  background: linear-gradient(135deg, #f7da8a, #b57d10);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  animation: toastIn 220ms ease both;
}

.assistant-dock {
  position: fixed;
  left: 16px;
  right: auto;
  top: auto;
  bottom: 16px;
  z-index: 58;
  width: min(350px, calc(100vw - 32px));
}

.assistant-dock .assistant-panel.expanded {
  width: min(460px, calc(100vw - 32px));
}

.assistant-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  border: 0;
  padding: 0 16px;
  border-radius: 999px;
  color: #2b1f11;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #f6da93, #bf8717);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
}

.assistant-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #108f56;
}

.assistant-panel {
  margin-top: 8px;
  border-radius: 18px;
  border: 2px solid rgba(213, 167, 59, 0.22);
  background: #f6ece0;
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.assistant-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(43, 31, 17, 0.16);
}

.assistant-panel-header h3 {
  margin: 0;
  color: #2b1f11;
  font-size: 0.98rem;
}

.assistant-panel-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.assistant-panel-actions-inline {
  justify-content: flex-end;
  padding: 0 2px;
}

.assistant-clear,
.assistant-close {
  border: 2px solid rgba(43, 31, 17, 0.24);
  background: #fff7ef;
  color: #2b1f11;
  font-weight: 700;
}

.assistant-size-toggle {
  border: 2px solid rgba(43, 31, 17, 0.24);
  background: #fff7ef;
  color: #2b1f11;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 14px;
}

.assistant-clear {
  border-radius: 999px;
  padding: 8px 14px;
}

.assistant-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
}

.assistant-body {
  display: grid;
  gap: 10px;
  padding: 10px;
  background: #f6ece0;
}

.assistant-chat-window {
  max-height: 160px;
  overflow: auto;
}

.assistant-chat-window.expanded {
  max-height: 230px;
}

.assistant-chat-window .chat-message {
  max-width: 100%;
  border-radius: 24px;
  border: 2px solid rgba(43, 31, 17, 0.15);
  background: #f9f2e8;
}

.assistant-chat-window .chat-message p,
.assistant-chat-window .chat-message span {
  color: #2b1f11;
}

.assistant-chat-window .chat-message.user {
  background: #f1dfc4;
  margin-left: auto;
}

.assistant-chat-window .chat-message.assistant {
  margin-right: auto;
}

.assistant-panel .prompt-chip {
  border: 2px solid rgba(43, 31, 17, 0.18);
  color: #2b1f11;
  background: #fff7ef;
}

.assistant-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.assistant-chat-form input {
  min-height: 48px;
  border-radius: 16px;
  border: 3px solid #b68512;
  background: #fff;
  color: #2b1f11;
  font-size: 0.94rem;
}

.assistant-chat-form .primary-button {
  min-height: 48px;
  min-width: 88px;
  color: #fff;
  border-radius: 16px;
  background: #2b1f11;
  box-shadow: none;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes backdropFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 760px) {
  .modal-backdrop {
    padding: 10px;
  }

  .assistant-dock {
    left: 12px;
    right: auto;
    top: auto;
    bottom: 12px;
    width: min(320px, calc(100vw - 24px));
  }

  .assistant-pill {
    width: 100%;
    justify-content: flex-start;
    font-size: 1rem;
  }

  .assistant-panel {
    margin-top: 12px;
  }

  .assistant-dock .assistant-panel.expanded {
    width: 100%;
  }

  .modal-panel {
    width: 100%;
    max-height: 92vh;
    border-radius: 18px;
    padding: 14px;
  }

  .assistant-chat-form {
    grid-template-columns: 1fr;
  }

  .payment-inline-fields {
    grid-template-columns: 1fr;
  }

  .assistant-chat-form .primary-button {
    width: 100%;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes backdropFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1100px) {
  .app-shell {
    --shell-gap: 16px;
    --sidebar-width: 0px;
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    top: 0;
    height: auto;
    padding: 18px;
  }

  .section-page {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    overflow: visible;
    min-width: 0;
  }

  .main-stage,
  .section-page,
  .topbar,
  .hero-grid,
  .program-grid,
  .investment-grid,
  .secondary-grid,
  .bottom-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .section-page-header {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .table-shell {
    overflow-x: auto;
  }

  .table-head,
  .table-row {
    min-width: 920px;
  }
}

@media (min-width: 1101px) and (max-width: 1280px) {
  .app-shell {
    --shell-gap: 16px;
    --sidebar-width: 150px;
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .sidebar {
    position: sticky;
    top: 16px;
    z-index: 30;
    height: auto;
    padding: 16px;
    flex-direction: column;
    gap: 14px;
  }

  .brand-lockup {
    flex: 0 0 auto;
  }

  .side-nav {
    display: grid;
    gap: 10px;
  }

  .nav-item {
    min-width: 0;
  }

  .promo-card {
    display: block;
  }

  .main-stage {
    min-width: 0;
  }

  .topbar,
  .hero-card,
  .program-grid,
  .secondary-grid,
  .bottom-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .investment-grid,
  .program-grid,
  .hero-grid,
  .secondary-grid,
  .bottom-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .table-head,
  .table-row {
    grid-template-columns: 1.35fr 0.9fr 0.8fr 0.8fr 0.9fr 0.7fr 0.95fr 0.9fr;
    min-width: 920px;
  }

  .table-shell {
    overflow-x: auto;
  }
}

@media (max-width: 760px) {
  .app-shell {
    --shell-padding: 14px;
    --shell-gap: 14px;
    --sidebar-width: 150px;
    padding: 14px;
    gap: 14px;
  }

  .stats-grid,
  .hero-card,
  .program-grid,
  .investment-grid,
  .secondary-grid,
  .bottom-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .investment-step-grid,
  .investment-details-grid,
  .investment-summary-grid,
  .calendar-row,
  .profile-form,
  .verification-grid,
  .verification-upload-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    grid-template-columns: 1fr;
  }

  .section-page-header {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
  }

  .section-topbar-actions {
    width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .price-chip.compact {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .wallet-summary,
  .funding-switch,
  .panel-header,
  .verification-header,
  .activity-item,
  .market-item {
    flex-direction: column;
    padding: 11px 12px;
    font-size: 0.95rem;
  }

  .wallet-art {
    width: 100%;
    min-height: 100px;
  }

  .segmented {
    width: 100%;
  }

  .segmented button {
    flex: 1;
  }

  .currency-chip,
  .action-tile,
  .plan-tab {
    min-width: 0;
  }

  .profile-form {
    grid-template-columns: 1fr;
  }

  .chat-form {
    flex-direction: column;
    align-items: stretch;
  }

  .activity-meta {
    text-align: left;
  }

  .modal-panel {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    padding: 18px;
  }

  .modal-header {
    flex-direction: column;
  }

  .modal-stats-grid,
  .modal-tabs {
    grid-template-columns: 1fr;
  }

  .table-head,
  .table-row {
    min-width: 0;
    grid-template-columns: 1fr;
  }
}

.nav-item {
  justify-content: flex-start;
  gap: 10px;
  font-size: 0.88rem;
}

.nav-item .nav-dot {
  margin-left: auto;
}

.nav-icon {
  width: 18px;
  text-align: center;
  color: rgba(213, 167, 59, 0.95);
}

.reference-dashboard {
  display: grid;
  gap: 14px;
}

.reference-topbar {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.1fr 1.9fr 1fr;
}

.ref-price-card,
.ref-program-banner,
.ref-user-wallet,
.ref-stat-card,
.ref-overview-card,
.ref-table-card,
.ref-portfolio-card,
.ref-timeline-card,
.ref-maturity-card,
.ref-docs-card,
.ref-manager-card {
  border-radius: 12px;
  padding: 14px;
  border: 1px solid rgba(214, 172, 64, 0.18);
  background: linear-gradient(180deg, rgba(18, 20, 27, 0.98), rgba(13, 15, 21, 0.98));
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
}

.ref-price-card p,
.ref-wallet-box p,
.ref-stat-card p,
.ref-overview-grid p,
.ref-doc-list p,
.ref-timeline-item p,
.ref-portfolio-list p {
  margin: 0;
  color: #9fa7ba;
}

.ref-price-card strong {
  display: block;
  margin-top: 5px;
  margin-bottom: 4px;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.ref-price-card small {
  display: block;
  margin-top: 5px;
  color: #858da0;
}

.ref-program-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(115deg, rgba(26, 21, 10, 0.95), rgba(13, 18, 28, 0.99));
}

.ref-program-banner h3 {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.42;
  color: #ebeef6;
}

.ref-banner-coin {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #1f1402;
  font-size: 1.3rem;
  background: radial-gradient(circle at 30% 25%, #f8e091, #bf8918 68%);
}

.ref-user-wallet {
  display: grid;
  gap: 12px;
}

.compact-profile-chip {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.02);
  padding: 8px;
}

.ref-wallet-box {
  display: grid;
  gap: 4px;
  border-radius: 10px;
  padding: 10px;
  background: rgba(213, 167, 59, 0.08);
}

.ref-wallet-box strong {
  font-size: 1.35rem;
}

.reference-stat-row {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ref-stat-card strong {
  display: block;
  margin-top: 4px;
  font-size: 1.45rem;
}

.ref-stat-card span {
  display: block;
  margin-top: 4px;
  color: #9ea7bc;
  font-size: 0.83rem;
}

.reference-main-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.65fr 1.3fr 1fr;
}

.reference-left-column,
.reference-middle-column,
.reference-right-column {
  display: grid;
  gap: 12px;
  align-content: start;
}

.reference-main-grid h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: #e8edfa;
}

.ref-overview-grid {
  display: grid;
  gap: 8px;
}

.ref-overview-grid strong,
.ref-portfolio-list strong,
.ref-doc-list span {
  float: right;
  color: #f0f4ff;
  font-weight: 650;
}

.ref-table-head,
.ref-table-row {
  display: grid;
  grid-template-columns: 0.5fr 1fr 1fr 0.8fr 1.25fr;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
}

.ref-table-head {
  padding: 0 0 8px;
  color: #9da6bb;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ref-table-row {
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ref-portfolio-body {
  display: grid;
  gap: 16px;
  grid-template-columns: 124px minmax(0, 1fr);
}

.ref-ring {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--gold) var(--ring-progress), rgba(255, 255, 255, 0.12) 0%);
}

.ref-ring span {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f5f7ff;
  background: #0e1119;
}

.ref-portfolio-list {
  display: grid;
  gap: 7px;
}

.ref-timeline-list {
  display: grid;
  gap: 10px;
}

.ref-timeline-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.ref-timeline-item span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.74rem;
  color: #d2d8e7;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.ref-timeline-item.complete span {
  color: #001807;
  border-color: transparent;
  background: #6ddc80;
}

.ref-timeline-item strong {
  color: #eaf0ff;
}

.ref-maturity-card {
  display: grid;
  gap: 10px;
}

.ref-doc-list {
  display: grid;
  gap: 8px;
}

.ref-manager-card strong {
  display: block;
  color: #f1f5ff;
  margin-bottom: 2px;
}

.ref-manager-card p {
  margin: 0;
  color: #9ea8bf;
}

@media (max-width: 1280px) {
  .reference-topbar {
    grid-template-columns: 1fr;
  }

  .reference-stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reference-main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .reference-stat-row {
    grid-template-columns: 1fr;
  }

  .ref-portfolio-body {
    grid-template-columns: 1fr;
  }

  .ref-ring {
    margin-inline: auto;
  }

  .ref-table-head,
  .ref-table-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.support-center-page {
  gap: 14px;
}

.support-center-hero {
  display: grid;
  gap: 14px;
  background:
    radial-gradient(circle at top right, rgba(213, 167, 59, 0.2), transparent 36%),
    linear-gradient(120deg, rgba(26, 21, 10, 0.72), rgba(16, 18, 25, 0.96));
}

.support-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.support-center-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.02fr 1.38fr;
}

.support-profile-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.support-manager-avatar {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #1b1204;
  font-weight: 800;
  background: linear-gradient(135deg, #f6da93, #bf8717);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}

.support-contact-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.support-contact-list > div {
  display: grid;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
}

.support-contact-list span {
  color: var(--muted);
  font-size: 0.83rem;
}

.support-contact-list strong {
  color: var(--text);
}

.support-actions-row {
  margin-top: 14px;
}

.support-topic-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-topic {
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 140ms ease, transform 140ms ease, background 140ms ease;
}

.support-topic:hover {
  border-color: rgba(213, 167, 59, 0.32);
  background: linear-gradient(135deg, rgba(213, 167, 59, 0.1), rgba(140, 24, 56, 0.1));
  transform: translateY(-1px);
}

.support-topic strong {
  display: block;
  margin-bottom: 4px;
}

.support-topic p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.support-faq {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.support-faq h4 {
  margin: 0;
}

.support-faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
}

.support-faq summary {
  cursor: pointer;
  color: #f0f3fb;
  font-weight: 600;
}

.support-faq details p {
  margin: 8px 0 0;
  color: var(--muted);
}

.support-cta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

@media (max-width: 1100px) {
  .support-center-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .support-topic-grid {
    grid-template-columns: 1fr;
  }

  .support-cta-bar {
    flex-direction: column;
    align-items: stretch;
  }
}

.verification-center-page {
  gap: 14px;
}

.verification-hero-card {
  display: grid;
  gap: 14px;
  background:
    radial-gradient(circle at top right, rgba(15, 181, 143, 0.16), transparent 32%),
    radial-gradient(circle at bottom left, rgba(213, 167, 59, 0.14), transparent 36%),
    linear-gradient(120deg, rgba(14, 20, 30, 0.98), rgba(18, 18, 26, 0.96));
}

.verification-progress-row {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 12px;
  align-items: center;
}

.verification-progress-meter {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.verification-progress-circle {
  width: 110px;
  height: 110px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--gold) var(--verification-progress), rgba(255, 255, 255, 0.12) 0%);
}

.verification-progress-circle span {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  background: #0d1018;
}

.verification-progress-meter p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.verification-step-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.verification-step-tile {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.verification-step-tile.complete {
  border-color: rgba(15, 181, 143, 0.44);
  background: linear-gradient(135deg, rgba(15, 181, 143, 0.16), rgba(15, 181, 143, 0.05));
}

.verification-step-tile strong {
  display: block;
}

.verification-step-tile p {
  margin: 4px 0 0;
  color: var(--muted);
}

.verification-layout-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.35fr 1fr;
}

.verification-main-stack,
.verification-side-stack {
  display: grid;
  gap: 14px;
  align-content: start;
}

@media (max-width: 1200px) {
  .verification-progress-row {
    grid-template-columns: 1fr;
  }

  .verification-layout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .verification-step-grid {
    grid-template-columns: 1fr;
  }
}

.reports-page {
  gap: 14px;
}

.reports-hero-card {
  display: grid;
  gap: 12px;
  background:
    radial-gradient(circle at top right, rgba(213, 167, 59, 0.16), transparent 32%),
    radial-gradient(circle at bottom left, rgba(140, 24, 56, 0.14), transparent 32%),
    linear-gradient(125deg, rgba(16, 17, 24, 0.98), rgba(20, 20, 28, 0.96));
}

.reports-kpi-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.reports-kpi-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.02);
}

.reports-kpi-card p,
.reports-kpi-card span {
  margin: 0;
  color: var(--muted);
}

.reports-kpi-card strong {
  display: block;
  margin: 4px 0;
  font-size: 1.3rem;
}

.reports-main-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.2fr 1fr;
}

.reports-statement-list {
  display: grid;
  gap: 10px;
}

.reports-statement-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.reports-statement-item strong {
  display: block;
}

.reports-compliance-card .verification-status-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1200px) {
  .reports-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reports-main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .reports-kpi-grid {
    grid-template-columns: 1fr;
  }

  .reports-statement-item {
    flex-direction: column;
    align-items: stretch;
  }
}
