.page-account #main { max-width: 66rem; }
.account-shell { margin-block: clamp(1.25rem,5vw,4.75rem); color: var(--editorial-ink); }
.account-heading { padding: clamp(1rem,4vw,3rem); border: 1px solid #46516d; border-radius: 20px; color: #f8f5eb;
  background: radial-gradient(ellipse at 92% 10%, #334d82, transparent 65%), radial-gradient(circle, #9baed844 1px, transparent 1.5px) 0 0/20px 20px, #141d32; }
.account-heading h1 { margin: 0; color: inherit; font: 400 clamp(2.8rem,7vw,6.1rem)/.96 var(--editorial-heading); }
.account-heading p { max-width: 58ch; margin-bottom: 0; color: #e8ecf8; }
.account-door, .account-details { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 1rem; margin-block: 1rem; }
.account-door > div, .account-details > section, .account-security { padding: clamp(1rem,3vw,1.45rem);
  border: 1px solid var(--editorial-line); border-radius: 12px; background: var(--editorial-card); }
.account-shell :is(h2,h3) { font: 400 clamp(1.62rem,4vw,2.65rem)/1.05 var(--editorial-heading); margin: 0 0 .5rem; }
.account-shell p { max-width: 70ch; }
.account-door form, .account-door label { display: grid; gap: .36rem; align-items: start; }
.account-door input, .account-shell button { min-height: 46px; border: 1px solid var(--editorial-line); border-radius: 8px;
  font: 700 .9rem/1.25 var(--body); padding: .5rem .75rem; color: var(--editorial-ink); background: var(--editorial-paper); }
.account-shell button { cursor: pointer; }
.account-shell button.account-primary { background: #263eb7; color: #fff; border-color: #263eb7; }
.account-shell :is(button,a,input):focus-visible { outline: 2px solid var(--editorial-cobalt); outline-offset: 3px; }
.account-identity { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: .55rem; margin-block: 1.35rem .6rem; }
.account-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .5rem; margin: 0; }
.account-metrics > div { padding: .7rem; background: var(--editorial-wash); border: 1px solid var(--editorial-line); border-radius: .6rem; }
.account-metrics dt { font-size: .75rem; color: var(--editorial-soft); font-weight: 780; }
.account-metrics dd { margin: 0; color: var(--editorial-ink); font: 400 clamp(1.4rem,4vw,2.65rem)/1.08 var(--editorial-heading); }
.account-status { color: var(--editorial-cobalt); min-height: 1.5rem; }
@media(max-width: 660px) {
  .account-door, .account-details { grid-template-columns: minmax(0, 1fr); }
  .account-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
