[hidden] { display: none !important; }

.account-page {
  width: min(900px, calc(100% - 32px));
  margin: 48px auto 88px;
}
.account-heading h1 { margin: 0 0 22px; font-size: clamp(30px, 4vw, 40px); letter-spacing: -.04em; line-height: 1.15; }
.account-message {
  max-width: 900px;
  margin: 0 0 18px;
  padding: 12px 16px;
  color: #1849a9;
  background: #eef4ff;
  border: 1px solid #d1e0ff;
  border-radius: 12px;
  font-size: 14px;
}
.account-message:empty { display: none; }
.account-card {
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(16, 24, 40, .055);
  padding: 26px 30px;
}
.account-card h2 { margin: 0; font-size: 20px; letter-spacing: -.025em; line-height: 1.35; }
.account-card h3 { margin: 0 0 8px; font-size: 15px; line-height: 1.4; }
.account-card button { font: inherit; cursor: pointer; }
.account-card button:disabled { opacity: .55; cursor: not-allowed; }
.account-card .btn { font-weight: 750; }
.account-auth { max-width: 480px; margin: 0 auto; padding: 30px 34px; }
.account-auth .google-button { width: 100%; min-height: 46px; }
.account-auth .google-button[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.auth-divider { display: flex; align-items: center; gap: 16px; color: #667085; font-size: 13px; margin: 22px 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: #e4e7ec; }
.auth-form { display: grid; gap: 9px; margin-top: 18px; }
.auth-form label { font-size: 13px; font-weight: 700; color: #344054; }
.auth-form input {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: #172033;
  font: inherit;
  border: 1px solid #cfd5df;
  border-radius: 10px;
  background: #fff;
}
.auth-form input:focus-visible, .account-card button:focus-visible { outline: 3px solid rgba(37, 99, 235, .22); outline-offset: 2px; }
.account-auth .auth-form .btn { width: 100%; margin-top: 10px; min-height: 44px; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px; color: #667085; font-size: 13px; }
.text-button { padding: 0; border: 0; background: none; color: #1d4ed8; font-weight: 700 !important; }
.text-button:hover { text-decoration: underline; }
.back-button { margin-top: 18px; font-size: 14px !important; }
.member-layout { display: grid; gap: 18px; }
.profile-card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.profile-identity { display: flex; align-items: center; min-width: 0; gap: 14px; }
.account-avatar { width: 52px; height: 52px; object-fit: cover; border-radius: 50%; background: #eef4ff; }
.profile-copy { min-width: 0; }
.profile-copy h2, .profile-copy p { overflow-wrap: anywhere; }
.profile-copy p { margin: 3px 0 0; font-size: 14px; color: #667085; }
.plan-badge { color: #175cd3; background: #eff6ff; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 750; white-space: nowrap; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.section-heading .btn { white-space: nowrap; }
.sync-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sync-item { min-width: 0; background: #f8fafc; border: 1px solid #e4e7ec; border-radius: 12px; padding: 17px 18px; }
.sync-item p { margin: 0; overflow-wrap: anywhere; }
.sync-status { min-height: 2.8em; font-size: 14px; color: #475467; }
.sync-time { padding-top: 12px; border-top: 1px solid #e4e7ec; color: #667085; font-size: 12px; line-height: 1.6; }
.sync-time strong { display: block; color: #344054; font-size: 13px; font-weight: 650; }
.security-card .section-heading { margin-bottom: 6px; }
.security-form { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; align-items: end; gap: 12px; }
.password-field { min-width: 0; }
.password-field label { display: block; margin-bottom: 7px; }
.security-form .btn { min-height: 44px; white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 720px) {
  .account-page { margin-top: 32px; }
  .account-card { padding: 22px; }
  .sync-grid, .security-form { grid-template-columns: 1fr; }
  .sync-status { min-height: 0; margin-bottom: 12px !important; }
  .security-form .btn { width: 100%; }
}
@media (max-width: 480px) {
  .account-page { width: min(900px, calc(100% - 24px)); margin-top: 24px; }
  .account-auth { padding: 24px 20px; }
  .section-heading { align-items: flex-start; }
  .sync-card .section-heading { flex-wrap: wrap; }
  .sync-card .section-heading .btn { width: 100%; }
}
