.wallet-page .wallet-title {
  font-size: var(--fs-hero);
  margin: 0 0 24px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.wallet-page .wallet-balance {
  text-align: center;
  padding: 32px 20px;
}
.wallet-page .cash-display {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}
.wallet-page .label {
  font-size: var(--fs-base);
  color: var(--muted);
  margin-top: 8px;
}
.wallet-page .progress-wrapper {
  margin-top: 28px;
}
.wallet-page .progress-bar {
  height: 16px;
  background: #eef2f6;
  border-radius: 8px;
  overflow: hidden;
}
.wallet-page .progress-fill {
  height: 100%;
  background: var(--brand);
  border-radius: 8px;
  width: 0%;
  transition: width 0.3s ease;
}
.wallet-page .progress-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}
.wallet-page .progress-meta .threshold {
  text-align: right;
  white-space: nowrap;
}
.wallet-page .ready {
  margin-top: 12px;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: var(--fs-base);
  text-align: right;
}
.wallet-page .invite-button {
  margin-top: 24px;
  min-height: var(--tap);
}
.wallet-page .invite-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.wallet-page .wallet-footer {
  text-align: center;
  margin-top: 24px;
}
.wallet-page .wallet-footer a {
  color: var(--brand-dark);
  font-size: var(--fs-base);
}
/* .sr-only moved to /_design-components.css (universal). */

/* Recent ledger history list. */
.wallet-history .row-title {
  font-size: var(--fs-lg);
  margin: 0 0 12px;
  color: var(--ink);
}
.ledger-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ledger-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f6;
  font-size: var(--fs-base);
}
.ledger-list li:last-child { border-bottom: 0; }
.ledger-list .reason {
  color: var(--ink);
  flex: 1;
}
.ledger-list .date {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}
.ledger-list .delta { font-weight: 800; white-space: nowrap; }
.ledger-list .delta.pos { color: var(--good); }
.ledger-list .delta.neg { color: var(--bad); }
.ledger-empty { color: var(--muted); justify-content: center; }

/* Trust score tile. */
.wallet-trust .row-title {
  font-size: var(--fs-lg);
  margin: 0 0 12px;
  color: var(--ink);
}
.trust-headline {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.trust-score-value {
  font-size: var(--fs-hero);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.trust-score-unit {
  font-size: var(--fs-base);
  color: var(--muted);
}
.trust-breakdown {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
.trust-breakdown li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f6;
  font-size: var(--fs-base);
}
.trust-breakdown li:last-child { border-bottom: 0; }
.trust-label { color: var(--ink); }
.trust-delta { color: var(--brand-dark); font-weight: 800; }
