.account-page { padding-bottom: 48px; }
.account-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.account-profile-card, .account-loyalty-card { min-width: 0; padding: 30px; border: 1px solid var(--border); border-radius: 24px; background: var(--background); }
.account-card-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.account-card-heading h2 { margin: 0; font-family: var(--display); font-size: 24px; line-height: 1.3; letter-spacing: -.7px; }
.account-card-icon { display: inline-flex; flex: 0 0 42px; align-items: center; justify-content: center; height: 42px; border-radius: 14px; color: var(--ink); background: linear-gradient(135deg, color-mix(in srgb, var(--cyan) 25%, var(--background)), color-mix(in srgb, var(--lime) 35%, var(--background))); }
.account-profile-form .field > label { font-size: 12px; }
.account-profile-form .field input { font-size: 14px; background: var(--background); color: var(--ink); }
.account-profile-form .field-error { font-size: 12px; }
.account-profile-identity { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.account-avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 70px; height: 70px; border-radius: 23px; background: linear-gradient(135deg, color-mix(in srgb, var(--cyan) 25%, var(--background)), color-mix(in srgb, var(--lime) 35%, var(--background))); color: var(--ink); font-family: var(--display); font-size: 24px; font-weight: 700; }
.account-profile-identity > div { min-width: 0; }
.account-profile-identity .eyebrow { margin-bottom: 8px; font-size: 10px; }
.account-profile-identity h2 { margin: 0; font-family: var(--display); font-size: 28px; line-height: 1.3; letter-spacing: -.8px; overflow-wrap: anywhere; }
.account-profile-identity p { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.account-profile-identity p .icon { flex-shrink: 0; width: 16px; height: 16px; }
.account-browser-note { margin: 0 0 20px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.account-plan-balance { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 27px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.account-plan-balance strong { color: var(--ink); font-size: 24px; font-variant-numeric: tabular-nums; }
.account-loyalty-card { background: linear-gradient(145deg, color-mix(in srgb, var(--cyan) 10%, var(--background)), color-mix(in srgb, var(--lime) 17%, var(--background))); }
.account-points { display: flex; align-items: baseline; flex-wrap: wrap; gap: 11px; }
.account-points > strong { font-family: var(--display); font-size: 48px; line-height: 1.15; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.account-points > span { color: var(--muted); font-size: 13px; }
.account-pending { margin: 9px 0 25px; color: var(--muted); font-size: 12px; }
.account-progress-label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 600; }
.account-reward-progress { display: block; width: 100%; height: 9px; accent-color: var(--focus); border: 0; border-radius: 999px; overflow: hidden; background: var(--border); }
.account-reward-progress::-webkit-progress-bar { background: var(--border); border-radius: 999px; }
.account-reward-progress::-webkit-progress-value { background: var(--focus); border-radius: 999px; }
.account-reward-progress::-moz-progress-bar { background: var(--focus); border-radius: 999px; }
.account-points-rule { margin: 13px 0 23px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.account-reward-reason { min-height: 19px; margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.account-demo-note { margin: 18px 0 0; color: var(--muted); font-size: 11px; }
.account-vouchers { margin-top: 24px; padding-top: 21px; border-top: 1px solid var(--border); }
.account-vouchers h3 { margin: 0 0 12px; font-size: 15px; }
.account-vouchers ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.account-vouchers li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--background); }
.account-vouchers code { min-width: 0; color: var(--ink); font-size: 12px; overflow-wrap: anywhere; }
.account-vouchers strong { flex-shrink: 0; font-size: 13px; font-variant-numeric: tabular-nums; }
.account-plans { margin-top: 54px; }
.account-plans-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; margin-bottom: 23px; }
.account-plans-heading h2 { margin: 0; font-family: var(--display); font-size: 31px; letter-spacing: -.9px; }
.account-plans-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.account-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.account-plan { display: flex; flex-direction: column; min-width: 0; padding: 27px; border: 1px solid var(--border); border-radius: 24px; background: var(--background); }
.account-plan-active { border-color: var(--focus); box-shadow: inset 0 0 0 1px var(--focus); }
.account-plan-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 28px; }
.account-plan-title h3 { margin: 0; font-family: var(--display); font-size: 21px; line-height: 1.3; letter-spacing: -.5px; }
.account-active-badge, .account-admin-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 11px; font-weight: 600; }
.account-active-badge .icon { width: 14px; height: 14px; }
.account-plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 25px 0; }
.account-plan-price strong { font-family: var(--display); font-size: 32px; line-height: 1.2; letter-spacing: -1px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.account-plan-price span { color: var(--muted); font-size: 12px; }
.account-plan ul { display: grid; gap: 13px; margin: 0 0 27px; padding: 0; list-style: none; }
.account-plan li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.6; }
.account-plan li .icon { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; color: var(--focus); }
.account-plan > .btn { width: 100%; margin-top: auto; }
.account-promotion-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.account-access { display: flex; align-items: center; justify-content: flex-end; gap: 13px; margin-top: 35px; padding-top: 24px; border-top: 1px solid var(--border); }
.account-access .btn { min-height: 38px; font-size: 12px; }
.account-access .text-link { font-size: 12px; }
.account-page .btn:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.account-page .account-plan-active .btn:disabled { opacity: 1; color: var(--muted); background: var(--surface); }
@media (max-width: 900px) {
  .account-overview { grid-template-columns: minmax(0, 1fr); }
  .account-plan-grid { gap: 14px; }
  .account-plan { padding: 22px 18px; }
}
@media (max-width: 650px) {
  .account-profile-card, .account-loyalty-card { padding: 24px; }
  .account-plan-grid { grid-template-columns: minmax(0, 1fr); }
  .account-plan { padding: 25px; }
  .account-plans-heading { flex-direction: column; gap: 9px; }
  .account-profile-form .field input { font-size: 16px; }
  .account-avatar { flex-basis: 58px; height: 58px; border-radius: 19px; font-size: 21px; }
  .account-profile-identity { gap: 14px; }
  .account-profile-identity h2 { font-size: 25px; }
}
@media (forced-colors: active) {
  .account-plan-active { outline: 2px solid Highlight; box-shadow: none; }
  .account-reward-progress { accent-color: Highlight; }
}
