.account-main {
  padding: 2.5rem 0 4rem;
}

.auth-shell {
  width: min(100%, 440px);
  margin-top: 0.35rem;
}

.auth-method {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.35rem;
  margin-bottom: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 19, 31, 0.55);
}

.auth-method-btn {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--mist);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.auth-method-btn:hover {
  color: var(--foam);
}

.auth-method-btn.is-active {
  background: rgba(47, 191, 160, 0.18);
  color: var(--foam);
}

.auth-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(13, 33, 51, 0.55);
  padding: 1.35rem 1.3rem 1.5rem;
}

.auth-panel h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

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

.tiny {
  font-size: 0.82rem;
  margin-top: 0.75rem;
}

.tiny code {
  color: var(--signal);
}

.field {
  display: grid;
  gap: 0.35rem;
  margin: 0.9rem 0;
  font-size: 0.92rem;
}

.field input {
  min-height: 46px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(7, 19, 31, 0.65);
  color: var(--foam);
  padding: 0.55rem 0.8rem;
  font: inherit;
}

.field input:focus {
  outline: 1px solid rgba(47, 191, 160, 0.55);
}

.row-actions .btn:disabled,
.auth-panel .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.readonly-banner {
  margin: 0 0 1.1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(47, 191, 160, 0.28);
  border-radius: 12px;
  background: rgba(47, 191, 160, 0.08);
  color: var(--mist);
  font-size: 0.92rem;
  line-height: 1.55;
}

.hidden {
  display: none !important;
}

.dash-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 1.5rem;
}

.stat-row {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 1.75rem;
}

@media (min-width: 720px) {
  .stat-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  background: rgba(13, 33, 51, 0.45);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-top: 0.25rem;
}

.stat span {
  color: var(--mist);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dash-cols {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .dash-cols {
    grid-template-columns: 1fr 1fr;
  }
}

.dash-cols h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.data-list {
  border-top: 1px solid var(--line);
}

.data-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--mist);
  font-size: 0.92rem;
}

.data-item b {
  color: var(--foam);
  font-weight: 600;
}
