.account-body { background: #f6f8f7; }

.account-auth { display: grid; min-height: 100vh; grid-template-columns: minmax(420px, .9fr) minmax(460px, 1.1fr); background: white; }
.account-login-panel { display: flex; padding: 38px clamp(34px, 6vw, 90px); flex-direction: column; justify-content: space-between; }
.account-login-panel .login-form { margin: auto 0; }
.account-login-panel .login-form h1 { margin-bottom: 10px; font-size: 36px; }
.account-auth-art { display: flex; padding: clamp(48px, 8vw, 120px); flex-direction: column; justify-content: center; color: white; background: #143d3a; }
.account-auth-art .eyebrow { color: #91d3c7; }
.account-auth-art h2 { max-width: 640px; margin-bottom: 42px; font-size: clamp(40px, 5vw, 68px); line-height: 1.05; }
.auth-art-mark { display: grid; width: 66px; height: 66px; margin-bottom: 34px; border: 1px solid #65a79c; border-radius: 8px; place-items: center; color: #9ad6cc; background: #1d514c; }
.auth-art-mark svg { width: 34px; height: 34px; }
.auth-stat-row { display: flex; max-width: 560px; gap: 10px; }
.auth-stat-row span { flex: 1; padding: 18px; border: 1px solid #4f7c75; border-radius: 7px; color: #c9ded9; }
.auth-stat-row strong { display: block; margin-bottom: 5px; color: white; font-size: 27px; }

.account-header { position: sticky; top: 0; z-index: 20; display: grid; min-height: 72px; padding: 0 clamp(18px, 4vw, 60px); grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr); align-items: center; gap: 30px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); backdrop-filter: blur(12px); }
.account-header nav { display: flex; gap: 4px; }
.account-header nav a { display: inline-flex; min-height: 38px; padding: 0 12px; align-items: center; gap: 7px; border-radius: 6px; color: #42534f; text-decoration: none; font-weight: 700; }
.account-header nav a:hover { background: var(--surface-soft); }
.account-header nav svg { width: 16px; }
.account-user { display: flex; min-width: 0; justify-content: flex-end; align-items: center; gap: 5px; }
.account-user > span { display: grid; min-width: 0; margin-right: 7px; text-align: right; }
.account-user strong, .account-user small { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-user strong { font-size: 12px; }
.account-user small { margin-top: 2px; color: var(--muted); font-size: 10px; }

.account-content { max-width: 1280px; margin: 0 auto; padding: 34px clamp(16px, 4vw, 48px) 70px; }
.subscription-band { display: grid; min-height: 240px; margin-bottom: 38px; padding: clamp(24px, 4vw, 48px); grid-template-columns: minmax(0, 1.4fr) minmax(250px, .6fr); align-items: center; gap: 38px; overflow: hidden; border-radius: 8px; color: white; background: #143d3a; }
.subscription-copy .eyebrow { color: #90d0c5; }
.subscription-copy h1 { margin-bottom: 13px; font-size: clamp(31px, 4vw, 50px); }
.subscription-copy p { max-width: 620px; margin-bottom: 0; color: #d3e3df; font-size: 16px; line-height: 1.55; }
.subscription-price { justify-self: end; padding-left: 38px; border-left: 1px solid #4f7c75; }
.subscription-price strong { display: block; font-size: 45px; line-height: 1; }
.subscription-price span { display: block; margin-top: 8px; color: #c7dbd6; }
.subscription-meta { display: flex; margin-top: 20px; gap: 9px; }
.subscription-meta .badge { background: #d8ebe6; }

.usage-section, .plans-section, .requests-section { margin-top: 42px; }
.account-section-heading { display: flex; margin-bottom: 18px; align-items: end; justify-content: space-between; gap: 24px; }
.account-section-heading h2 { font-size: 23px; }
.account-usage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.account-usage { padding: 22px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.account-usage-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.account-usage-icon { display: grid; width: 38px; height: 38px; border-radius: 7px; place-items: center; color: var(--usage-color, var(--brand)); background: var(--usage-soft, var(--brand-soft)); }
.account-usage-icon svg { width: 19px; }
.account-usage-count { font-size: 25px; }
.account-usage h3 { margin: 22px 0 7px; font-size: 14px; }
.account-usage p { margin-bottom: 16px; color: var(--muted); font-size: 11px; }
.account-usage .usage-track { height: 9px; }
.account-usage .usage-fill.is-near { background: var(--gold); }
.account-usage .usage-fill.is-over { background: var(--danger); }

.customer-plan-grid { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 14px; }
.customer-plan { position: relative; display: flex; min-height: 400px; padding: 24px; flex-direction: column; border: 1px solid var(--line); border-top: 4px solid var(--plan-color, var(--brand)); border-radius: 7px; background: white; }
.customer-plan.is-current { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.current-marker { position: absolute; top: 15px; right: 15px; }
.customer-plan h3 { font-size: 20px; }
.customer-plan-price { margin: 17px 0 14px; font-size: 31px; font-weight: 800; }
.customer-plan-price small { color: var(--muted); font-size: 11px; font-weight: 600; }
.customer-plan-description { min-height: 64px; color: var(--muted); line-height: 1.5; }
.plan-capacities { display: grid; margin: 14px 0 24px; padding: 0; gap: 11px; list-style: none; }
.plan-capacities li { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }
.plan-capacities svg { width: 16px; color: var(--brand); }
.customer-plan .primary-button, .customer-plan .secondary-button { width: 100%; min-height: 42px; margin-top: auto; }

.request-list { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: white; }
.request-row { display: grid; min-height: 72px; padding: 14px 18px; grid-template-columns: minmax(160px, 1.3fr) minmax(130px, .7fr) minmax(130px, .7fr) auto; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); }
.request-row:last-child { border-bottom: 0; }
.request-row strong, .request-row small { display: block; }
.request-row small { margin-top: 4px; color: var(--muted); }
.request-note { color: var(--muted); font-size: 11px; }
.request-empty { padding: 45px 20px; color: var(--muted); text-align: center; }
.request-empty svg { width: 25px; margin-bottom: 10px; }

.account-footer { display: flex; min-height: 74px; padding: 0 clamp(18px, 4vw, 60px); align-items: center; gap: 24px; border-top: 1px solid var(--line); color: var(--muted); background: white; }
.account-footer span { margin-right: auto; color: var(--ink); font-weight: 800; }
.account-footer a { font-size: 12px; }

@media (max-width: 1080px) {
  .customer-plan-grid { grid-template-columns: repeat(2, minmax(250px, 1fr)); }
}

@media (max-width: 850px) {
  .account-auth { grid-template-columns: 1fr; }
  .account-auth-art { display: none; }
  .account-login-panel { min-height: 100vh; padding: 25px; }
  .account-login-panel .login-form { margin: auto; }
  .account-header { grid-template-columns: 1fr auto; padding: 0 14px; }
  .account-header nav { display: none; }
  .account-user > span { display: none; }
  .subscription-band { grid-template-columns: 1fr; }
  .subscription-price { justify-self: start; padding: 20px 0 0; border-top: 1px solid #4f7c75; border-left: 0; }
}

@media (max-width: 650px) {
  .account-content { padding-top: 18px; }
  .subscription-band { min-height: 0; margin-bottom: 28px; padding: 25px 20px; gap: 12px; }
  .subscription-copy h1 { font-size: 30px; }
  .subscription-copy p { font-size: 14px; }
  .subscription-price strong { font-size: 35px; }
  .account-section-heading { align-items: stretch; flex-direction: column; gap: 10px; }
  .account-usage-grid, .customer-plan-grid { grid-template-columns: 1fr; }
  .customer-plan { min-height: 0; }
  .request-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .request-row > :nth-child(2), .request-row > :nth-child(3) { display: none; }
  .account-footer { flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
  .account-footer span { flex: 1 0 100%; }
}
