.account-page { min-height: 100vh; background: #f3f5f6; }
.account-header { position: sticky; z-index: 100; top: 0; height: 78px; background: var(--navy-950); color: white; box-shadow: 0 10px 28px rgba(7,28,45,.12); }
.account-header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.account-header-actions { display: flex; align-items: center; gap: 25px; }
.account-header-actions > a { color: rgba(255,255,255,.62); font-size: 11px; }
.account-header-actions > a:hover { color: var(--gold-400); }
.account-divider { width: 1px; height: 29px; background: rgba(255,255,255,.12); }
.profile-menu { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; color: white; text-align: left; }
.profile-initials { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(199,154,69,.55); border-radius: 50%; color: var(--gold-400); font-size: 10px; font-weight: 700; }
.profile-menu strong, .profile-menu small { display: block; }
.profile-menu strong { font-size: 10px; }.profile-menu small { margin-top: 2px; color: rgba(255,255,255,.45); font-size: 8px; }

.account-main { padding: 55px 0 80px; }
.account-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 35px; }
.account-title-row .eyebrow { margin-bottom: 14px; }
.account-title-row h1 { margin: 0 0 9px; color: var(--navy-800); font-size: 43px; letter-spacing: -1.4px; }
.account-title-row > div > p { margin: 0; color: var(--slate); font-size: 13px; }
.prototype-badge { display: flex; align-items: center; gap: 11px; max-width: 310px; padding: 13px 15px; border: 1px solid rgba(199,154,69,.28); background: #fff9ec; }
.prototype-badge > span { width: 23px; height: 23px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: rgba(199,154,69,.15); color: #926719; font-family: var(--display); }
.prototype-badge strong, .prototype-badge small { display: block; }.prototype-badge strong { margin-bottom: 3px; color: var(--navy-800); font-size: 10px; }.prototype-badge small { color: var(--slate); font-size: 8px; }

.account-layout { display: grid; grid-template-columns: 220px 1fr; align-items: start; gap: 28px; }
.account-sidebar { position: sticky; top: 105px; }
.account-nav { overflow: hidden; border: 1px solid var(--line); background: white; }
.account-nav button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 15px 17px; border: 0; border-left: 3px solid transparent; background: white; color: var(--slate); font-size: 11px; text-align: left; transition: background .2s, color .2s, border .2s; }
.account-nav button:hover { color: var(--navy-800); background: #f6f8f9; }
.account-nav button.active { border-left-color: var(--gold-500); background: var(--navy-800); color: white; }
.nav-icon { width: 18px; color: var(--gold-500); font-size: 14px; text-align: center; }
.sidebar-help { margin-top: 17px; padding: 19px; border: 1px solid var(--line); background: var(--porcelain); }
.sidebar-help > span { width: 25px; height: 25px; display: grid; place-items: center; margin-bottom: 13px; border: 1px solid rgba(199,154,69,.45); border-radius: 50%; color: #906317; font-family: var(--display); }
.sidebar-help strong { display: block; margin-bottom: 7px; color: var(--navy-800); font-size: 11px; }
.sidebar-help p { color: var(--slate); font-size: 9px; line-height: 1.55; }
.sidebar-help a, .back-to-site { color: var(--navy-700); font-size: 9px; font-weight: 700; }
.back-to-site { display: inline-block; margin: 18px 0 0 17px; }
.account-content { min-width: 0; }
.account-panel { display: none; }
.account-panel.active { display: block; animation: panel-in .28s ease; }
@keyframes panel-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.panel-heading { min-height: 87px; display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; margin-bottom: 20px; }
.panel-heading small { color: #9b6d1d; font-size: 8px; letter-spacing: 1.1px; }
.panel-heading h2 { margin: 7px 0 6px; font-family: var(--body); font-size: 28px; letter-spacing: -.7px; }
.panel-heading p { margin: 0; color: var(--slate); font-size: 11px; }
.account-status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid rgba(28,139,90,.24); background: #edf8f2; color: #176f49; font-size: 9px; font-weight: 700; }
.account-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.current-plan-card { grid-column: 1 / -1; padding: 27px; background: var(--navy-800); color: white; box-shadow: 0 22px 55px rgba(16,46,74,.16); }
.plan-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.plan-card-top small, .plan-card-top strong { display: block; }.plan-card-top small { margin-bottom: 6px; color: var(--gold-400); font-size: 7px; letter-spacing: 1px; }.plan-card-top strong { font-size: 22px; }
.plan-card-top > span { padding: 6px 9px; border: 1px solid rgba(199,154,69,.25); color: var(--gold-400); font-size: 8px; text-transform: uppercase; letter-spacing: .7px; }
.plan-price { display: flex; align-items: flex-end; margin: 25px 0 20px; }.plan-price small { align-self: flex-start; padding-top: 8px; }.plan-price strong { margin: 0 5px; font-size: 36px; }.plan-price span { padding-bottom: 6px; color: rgba(255,255,255,.5); font-size: 9px; }
.usage-row { display: flex; justify-content: space-between; margin-bottom: 8px; color: rgba(255,255,255,.55); font-size: 9px; }.usage-row strong { color: white; }
.usage-bar { height: 5px; overflow: hidden; background: rgba(255,255,255,.12); }.usage-bar span { display: block; width: 44%; height: 100%; background: var(--gold-500); }
.plan-card-actions { display: flex; align-items: center; gap: 19px; margin-top: 20px; }.plan-card-actions button { border: 0; padding: 9px 12px; background: var(--gold-500); color: var(--navy-950); font-size: 9px; font-weight: 700; }.plan-card-actions a { color: rgba(255,255,255,.67); font-size: 9px; }
.overview-card { min-height: 183px; padding: 21px; border: 1px solid var(--line); background: white; }
.overview-icon { width: 30px; height: 30px; display: grid; place-items: center; margin-bottom: 19px; border: 1px solid rgba(199,154,69,.4); color: #9b6d1d; }
.overview-card > small, .overview-card > strong { display: block; }.overview-card > small { margin-bottom: 7px; color: #9b6d1d; font-size: 7px; letter-spacing: .8px; }.overview-card > strong { color: var(--navy-800); font-size: 13px; }
.overview-card p { min-height: 30px; margin: 6px 0 13px; color: var(--slate); font-size: 9px; line-height: 1.5; }.overview-card button { border: 0; padding: 0; background: transparent; color: var(--navy-700); font-size: 9px; font-weight: 700; }
.account-notice { display: flex; align-items: flex-start; gap: 13px; margin-top: 16px; padding: 17px 20px; border: 1px solid rgba(199,154,69,.25); background: #fff9ec; }.account-notice > span { color: var(--gold-500); }.account-notice strong { display: block; margin-bottom: 4px; color: var(--navy-800); font-size: 10px; }.account-notice p { margin: 0; color: var(--slate); font-size: 9px; }

.subscription-card, .settings-card, .devices-card, .transactions-card { padding: 28px; border: 1px solid var(--line); background: white; }
.subscription-summary { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }.subscription-summary small { color: #9b6d1d; font-size: 7px; letter-spacing: 1px; }.subscription-summary h3 { margin: 7px 0 6px; color: var(--navy-800); font-size: 25px; }.subscription-summary p { margin: 0; color: var(--slate); font-size: 10px; }
.subscription-price { display: flex; align-items: flex-start; color: var(--navy-800); }.subscription-price span { padding-top: 7px; font-size: 10px; }.subscription-price strong { margin: 0 5px; font-size: 32px; }.subscription-price small { align-self: flex-end; padding-bottom: 6px; color: var(--slate); }
.subscription-dates { display: grid; grid-template-columns: repeat(3, 1fr); padding: 23px 0; border-bottom: 1px solid var(--line); }.subscription-dates > div { padding: 0 18px; border-right: 1px solid var(--line); }.subscription-dates > div:first-child { padding-left: 0; }.subscription-dates > div:last-child { border: 0; }.subscription-dates small, .subscription-dates strong { display: block; }.subscription-dates small { margin-bottom: 7px; color: var(--slate); font-size: 7px; }.subscription-dates strong { color: var(--navy-800); font-size: 11px; }
.renewal-control { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 25px 0 13px; }.renewal-control strong { color: var(--navy-800); font-size: 13px; }.renewal-control p { max-width: 570px; margin: 5px 0 0; color: var(--slate); font-size: 9px; line-height: 1.5; }
.switch { display: flex; align-items: center; gap: 8px; cursor: pointer; }.switch input { position: absolute; opacity: 0; pointer-events: none; }.switch > span { position: relative; width: 40px; height: 22px; border-radius: 20px; background: #cdd5da; transition: background .2s; }.switch > span::after { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; border-radius: 50%; background: white; box-shadow: 0 2px 5px rgba(0,0,0,.18); transition: transform .2s; }.switch input:checked + span { background: var(--green); }.switch input:checked + span::after { transform: translateX(18px); }.switch small { min-width: 49px; color: var(--green); font-size: 9px; font-weight: 700; }
.renewal-feedback { padding: 10px 12px; background: #edf8f2; color: #176f49; font-size: 9px; }.subscription-actions { display: flex; align-items: center; gap: 25px; margin-top: 25px; }.danger-link { border: 0; background: transparent; color: #a63c3c; font-size: 9px; font-weight: 700; }.cancellation-note { display: flex; gap: 11px; margin-top: 15px; padding: 15px 17px; border: 1px solid var(--line); color: var(--slate); font-size: 9px; }.cancellation-note span { color: #9b6d1d; font-family: var(--display); }.cancellation-note p { margin: 0; }

.payment-method-card { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; padding: 19px 22px; border: 1px solid var(--line); background: white; }.card-visual { width: 74px; height: 46px; display: grid; grid-template-columns: 1fr auto; align-content: center; padding: 8px; border-radius: 4px; background: var(--navy-800); color: white; }.card-visual span { grid-column: 1 / -1; color: var(--gold-400); font-size: 7px; }.card-visual strong { font-size: 10px; }.card-visual small { color: rgba(255,255,255,.6); font-size: 6px; }.payment-method-card > div:nth-child(2) { flex: 1; }.payment-method-card > div:nth-child(2) small, .payment-method-card > div:nth-child(2) strong { display: block; }.payment-method-card > div:nth-child(2) small { margin-bottom: 5px; color: #9b6d1d; font-size: 7px; }.payment-method-card > div:nth-child(2) strong { color: var(--navy-800); font-size: 11px; }.payment-method-card p { margin: 4px 0 0; color: var(--slate); font-size: 8px; }.verified-chip { padding: 6px 8px; background: #edf8f2; color: #176f49; font-size: 8px; }
.transactions-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }.transactions-head strong, .transactions-head small { display: block; }.transactions-head strong { color: var(--navy-800); font-size: 12px; }.transactions-head small { margin-top: 4px; color: var(--slate); font-size: 8px; }.transactions-head button { border: 0; background: transparent; color: var(--navy-700); font-size: 8px; font-weight: 700; }
.transaction-row { display: grid; grid-template-columns: 95px 1.3fr 90px 80px 75px 78px; align-items: center; gap: 10px; padding: 15px 8px; border-top: 1px solid var(--line); color: var(--slate); font-size: 8px; }.transaction-header { padding-top: 10px; color: #8b969f; font-size: 7px; text-transform: uppercase; letter-spacing: .5px; }.transaction-row strong { color: var(--navy-800); font-size: 9px; }.paid-status { color: var(--green); font-weight: 700; }.transaction-row button { border: 0; background: transparent; color: var(--navy-700); font-size: 8px; font-weight: 700; text-align: right; }

.settings-section-heading { padding-bottom: 20px; margin-bottom: 21px; border-bottom: 1px solid var(--line); }.settings-section-heading strong { color: var(--navy-800); font-size: 13px; }.settings-section-heading p { margin: 5px 0 0; color: var(--slate); font-size: 9px; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 18px; }.settings-card label { display: block; margin-bottom: 15px; color: var(--navy-800); font-size: 9px; font-weight: 700; }.settings-card input, .settings-card select { width: 100%; height: 43px; display: block; margin-top: 6px; border: 1px solid rgba(16,46,74,.18); padding: 0 12px; background: #fbfcfc; color: var(--slate); }.settings-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); }.settings-actions > span { color: var(--slate); font-size: 8px; }.settings-actions .button { min-height: 43px; }
.password-card { margin-bottom: 15px; }.password-card > label { max-width: calc(50% - 9px); }.password-checks { display: flex; flex-wrap: wrap; gap: 8px; margin: -2px 0 21px; }.password-checks span { padding: 7px 9px; background: #edf8f2; color: #176f49; font-size: 7px; }
.security-setting { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 15px; padding: 19px 22px; border: 1px solid var(--line); background: white; }.security-setting > div { display: flex; align-items: center; gap: 14px; }.security-setting-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(199,154,69,.4); color: #9b6d1d; }.security-setting strong { color: var(--navy-800); font-size: 11px; }.security-setting p { margin: 4px 0 0; color: var(--slate); font-size: 8px; }.security-setting button, .privacy-settings button { border: 1px solid rgba(16,46,74,.2); padding: 9px 11px; background: white; color: var(--navy-700); font-size: 8px; font-weight: 700; }
.device-row { display: flex; align-items: center; gap: 13px; }.device-icon { width: 34px; height: 34px; display: grid; place-items: center; background: var(--mist); color: var(--navy-700); }.device-row > div { flex: 1; }.device-row strong { color: var(--navy-800); font-size: 10px; }.device-row p { margin: 3px 0 0; color: var(--slate); font-size: 8px; }.current-device { padding: 6px 8px; background: #edf8f2; color: #176f49; font-size: 7px; }

.local-data-banner { display: flex; gap: 20px; padding: 25px; border: 1px solid rgba(199,154,69,.28); background: #fff9ec; }.privacy-large-icon { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(199,154,69,.4); color: #9b6d1d; font-size: 20px; }.local-data-banner small { color: #9b6d1d; font-size: 7px; letter-spacing: 1px; }.local-data-banner h3 { margin: 7px 0; color: var(--navy-800); font-size: 17px; }.local-data-banner p { margin: 0; color: var(--slate); font-size: 9px; line-height: 1.6; }
.privacy-settings { margin-top: 15px; border: 1px solid var(--line); background: white; }.privacy-settings article { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 19px 21px; border-bottom: 1px solid var(--line); }.privacy-settings article:last-child { border: 0; }.privacy-settings strong { color: var(--navy-800); font-size: 10px; }.privacy-settings p { margin: 4px 0 0; color: var(--slate); font-size: 8px; }
.delete-account { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 16px; padding: 20px 22px; border: 1px solid rgba(166,60,60,.2); background: #fff7f7; }.delete-account strong { color: #8f3030; font-size: 10px; }.delete-account p { margin: 4px 0 0; color: var(--slate); font-size: 8px; }.delete-account button { flex: 0 0 auto; border: 1px solid rgba(166,60,60,.35); padding: 9px 11px; background: white; color: #8f3030; font-size: 8px; font-weight: 700; }
.account-global-feedback { margin: 14px 0 0; color: var(--slate); font-size: 8px; text-align: right; }
.account-footer { padding: 22px 0; border-top: 1px solid var(--line); background: white; color: var(--slate); font-size: 8px; }.account-footer > div { display: flex; justify-content: space-between; }.account-footer div div { display: flex; gap: 18px; }.account-footer a:hover { color: var(--navy-800); }

@media (max-width: 980px) {
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .account-nav { display: flex; overflow-x: auto; }
  .account-nav button { flex: 0 0 auto; width: auto; border-left: 0; border-bottom: 3px solid transparent; white-space: nowrap; }
  .account-nav button.active { border-bottom-color: var(--gold-500); }
  .sidebar-help, .back-to-site { display: none; }
}

@media (max-width: 720px) {
  .account-header-actions > a, .account-divider, .profile-menu > span:not(.profile-initials) { display: none; }
  .account-main { padding-top: 35px; }
  .account-title-row { align-items: flex-start; flex-direction: column; }
  .prototype-badge { width: 100%; max-width: none; }
  .account-nav { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .account-nav button { width: 100%; justify-content: center; padding: 13px 8px; font-size: 9px; white-space: normal; text-align: center; }
  .account-nav button.active { border-bottom-color: var(--gold-500); }
  .overview-grid { grid-template-columns: 1fr; }
  .subscription-dates, .settings-grid { grid-template-columns: 1fr; }
  .subscription-dates > div { padding: 12px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .subscription-dates > div:last-child { border-bottom: 0; }
  .renewal-control, .subscription-summary, .payment-method-card, .settings-actions, .security-setting, .privacy-settings article, .delete-account { align-items: flex-start; flex-direction: column; }
  .password-card > label { max-width: none; }
  .transaction-table { overflow-x: auto; }
  .transaction-row { min-width: 720px; }
  .panel-heading { min-height: auto; flex-direction: column; }
}

@media (max-width: 480px) {
  .account-title-row h1 { font-size: 36px; }
  .account-nav button { flex-direction: column; gap: 5px; min-height: 60px; }
  .current-plan-card, .subscription-card, .settings-card, .devices-card, .transactions-card { padding: 21px; }
  .plan-card-actions, .subscription-actions { align-items: stretch; flex-direction: column; }
  .subscription-actions .button { width: 100%; }
  .local-data-banner { flex-direction: column; }
  .account-footer > div { align-items: flex-start; flex-direction: column; gap: 12px; }
}
