.account-login-card {
  min-height: 390px;
  align-content: center;
  padding: clamp(24px, 4vw, 42px);
  color: var(--proto-vivid-ink);
  background: var(--proto-pink-soft);
}

.account-login-card > * { width: 100%; }

.account-login-card h2 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.08;
}

.account-login-card p { margin: 0 0 20px; line-height: 1.6; }

.account-login-fields { display: grid; gap: 9px; }

.account-login-fields label { font-size: 13px; font-weight: 900; }

.account-login-fields input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  color: #5a5260;
  background: rgba(255, 253, 248, 0.84);
  border: 2px solid var(--proto-line);
  border-radius: 10px;
  font: inherit;
}

.account-login-fields button { width: 100%; }

.account-login-card__or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  font-size: 12px;
  font-weight: 900;
}

.account-login-card__or::before,
.account-login-card__or::after {
  content: "";
  height: 2px;
  flex: 1;
  background: var(--proto-line);
}

.account-login-card .button { width: 100%; }

.account-login-note { display: block; margin-top: 12px; font-size: 12px; font-weight: 750; line-height: 1.5; }

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

.account-summary-card {
  min-width: 0;
  padding: 20px;
  background: var(--proto-surface);
  border: 2.5px solid var(--proto-line);
  border-radius: 18px;
  box-shadow: var(--proto-shadow-sm);
}

.account-summary-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--proto-muted);
  font-family: var(--proto-mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.account-summary-card strong { display: block; color: var(--proto-ink); font-size: 20px; line-height: 1.25; }
.account-summary-card small { display: block; margin-top: 9px; color: var(--proto-muted); font-weight: 750; line-height: 1.45; }

.account-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(18px, 3vw, 30px);
}

.account-feature-card,
.account-side-card {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 3px solid var(--proto-line);
  border-radius: var(--proto-radius);
  box-shadow: var(--proto-shadow-md);
}

.account-feature-card { background: var(--proto-yellow); }
.account-side-stack { display: grid; gap: 18px; }
.account-side-card { background: var(--proto-cyan); }
.account-side-card:nth-child(2) { background: var(--proto-lime); }

.account-card-label {
  width: fit-content;
  display: block;
  margin-bottom: 20px;
  padding: 5px 8px;
  color: #fff8fb;
  background: #17141b;
  border-radius: 6px;
  font-family: var(--proto-mono);
  font-size: 10px;
  font-weight: 900;
}

.account-feature-card h3,
.account-side-card h3 { margin: 0 0 10px; color: var(--proto-vivid-ink); font-size: clamp(24px, 3vw, 38px); line-height: 1.12; }
.account-feature-card p,
.account-side-card p { color: var(--proto-vivid-ink); line-height: 1.6; }

.account-progress {
  height: 14px;
  overflow: hidden;
  margin: 22px 0 8px;
  background: rgba(255, 253, 248, 0.76);
  border: 2px solid var(--proto-line);
  border-radius: 999px;
}

.account-progress span { width: 29%; height: 100%; display: block; background: var(--proto-purple); border-right: 2px solid var(--proto-line); }

.account-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-list a {
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  color: var(--proto-ink);
  background: var(--proto-surface);
  border: 2px solid var(--proto-line);
  border-radius: 14px;
  box-shadow: var(--proto-shadow-sm);
  text-decoration: none;
}

.account-list a:hover { background: var(--proto-yellow); }
.account-list strong { font-size: 17px; }
.account-list span { margin-top: 5px; color: var(--proto-muted); font-size: 13px; line-height: 1.4; }

.account-timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.account-timeline li { position: relative; padding: 0 0 24px 42px; }
.account-timeline li:not(:last-child)::before { content: ""; position: absolute; top: 19px; bottom: -1px; left: 15px; width: 3px; background: var(--proto-line); }
.account-timeline li::after { content: ""; position: absolute; top: 3px; left: 4px; width: 22px; height: 22px; background: var(--proto-yellow); border: 3px solid var(--proto-line); border-radius: 50%; }
.account-timeline strong { display: block; color: var(--proto-ink); }
.account-timeline span { display: block; margin-top: 5px; color: var(--proto-muted); line-height: 1.5; }

html[data-theme="dark"] .account-login-fields input { color: #4e4654; }

@media (max-width: 980px) {
  .account-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .account-summary-grid,
  .account-list { grid-template-columns: 1fr; }
}
