/* Auth and account */

.page-grid--account {
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  align-items: start;
}
.account-shell {
  display: grid;
  gap: 1rem;
}

.account-inline-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin-top: 0.45rem;
  color: rgba(87, 73, 56, 0.8);
  font-size: 0.92rem;
}

.account-inline-summary__item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(80, 68, 54, 0.08);
  line-height: 1.25;
}

.account-inline-summary__item strong {
  font-size: 0.93rem;
  color: rgba(50, 39, 26, 0.92);
}

.account-section-heading {
  margin: 0.4rem 0 0.9rem;
}

.account-section-heading h3 {
  margin: 0;
}

.account-summary-strip {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.account-summary-card {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(80, 68, 54, 0.08);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.72);
}

.account-section {
  display: grid;
  gap: 0.85rem;
}

.account-section h3,
.account-section p {
  margin: 0;
}

.account-section > summary {
  cursor: pointer;
  font-weight: 700;
}

.auth-mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.auth-mode-tabs--account {
  margin-bottom: 0.25rem;
}
.auth-mode-tab {
  border-color: rgba(80, 68, 54, 0.12);
  background: rgba(255, 255, 255, 0.74);
  color: var(--spot-muted);
  box-shadow: none;
  transition: 180ms ease;
}

.auth-mode-tab:hover {
  border-color: rgba(114, 86, 32, 0.24);
  background: rgba(255, 252, 245, 0.92);
  color: var(--spot-ink);
}

.auth-mode-tab--active,
.auth-mode-tab[aria-selected="true"],
.auth-mode-tab[aria-pressed="true"] {
  border-color: rgba(160, 110, 37, 0.34);
  background: linear-gradient(180deg, rgba(255, 248, 233, 0.98), rgba(247, 231, 202, 0.95));
  color: #4a3111;
  box-shadow: 0 12px 24px rgba(122, 84, 27, 0.14);
  font-weight: 700;
}

.helper-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.2rem;
}
