.nav-user-form { display: inline-flex; margin: 0; }
.nav-user-button { min-height: 34px; padding: 7px 9px; border: 0; color: #def3e5; background: transparent; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.nav-user-button:hover { color: #fff; text-decoration: underline; }
.account-shell { padding: 34px 0 72px; }
.account-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.account-head h1 { margin-bottom: 8px; font-size: clamp(30px, 4vw, 42px); }
.account-head p { margin: 0; color: var(--muted); line-height: 1.6; }
.account-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.account-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.account-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 20px; align-items: start; }
.account-progress-card { padding: 24px; }
.account-progress-card h2 { margin-bottom: 8px; font-size: 22px; }
.account-progress-card p { color: var(--muted); line-height: 1.6; }
.account-code { display: inline-block; margin: 7px 0; padding: 8px 11px; border-radius: 9px; color: #5c3c00; background: #fff1c4; border: 1px dashed #c79422; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 18px; font-weight: 900; letter-spacing: .08em; }
.account-note { margin-top: 16px; padding: 13px 14px; color: #57675d; background: #f5faf6; border: 1px solid #dcece0; border-radius: 12px; font-size: 13px; line-height: 1.6; }
.table-card .table-caption { margin: -7px 0 16px; color: #748078; font-size: 13px; line-height: 1.55; }
@media (max-width: 900px) {
  .account-grid { grid-template-columns: 1fr; }
  .account-summary { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .nav-links a:nth-child(3), .nav-links a:nth-child(4) { display: inline-flex; }
  .nav-links .nav-secondary { display: none !important; }
  .account-summary { grid-template-columns: 1fr; }
  .account-head { flex-direction: column; }
}
