.account-page { width: 100%; min-width: 0; }
.account-section-label { margin: 0 0 5px; color: var(--muted); font-size: var(--text-meta); font-weight: 700; letter-spacing: var(--tracking-label); text-transform: uppercase; }
.account-profile-head { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 17px; margin-bottom: var(--panel-gap); padding: 22px 24px; border: 1px solid var(--line); border-top: 3px solid var(--blue); background: rgba(251, 249, 243, .68); }
.account-profile-mark { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font: italic 22px/1 var(--serif); }
.account-profile-head h2 { margin: 0; font: 400 30px/1.05 var(--serif); letter-spacing: -.02em; }
.account-profile-head p:last-child { margin: 5px 0 0; color: var(--muted); font-size: var(--text-control); }
.account-profile-head .button { min-height: 34px; padding-inline: 14px; border-radius: 2px; font-size: var(--text-control); }
.account-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(270px, .8fr); gap: var(--panel-gap); align-items: stretch; }
.account-panel { min-width: 0; border: 1px solid var(--line); background: rgba(251, 249, 243, .5); }
.account-panel > header { min-height: 68px; position: relative; padding: 14px 15px 12px; border-bottom: 1px solid var(--line); }
.account-panel h3 { margin: 0; font: 400 20px/1.15 var(--serif); }
.account-panel > header p { margin: 4px 0 0; color: var(--muted); font-size: var(--text-meta); }
.account-panel > header > span { position: absolute; top: 17px; right: 15px; min-width: 22px; height: 22px; display: grid; place-items: center; padding: 0 7px; border-radius: 999px; background: rgba(24, 79, 209, .08); color: var(--blue); font-size: var(--text-meta); font-weight: 700; }
.account-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.account-facts div { min-width: 0; padding: 17px 15px; border-bottom: 1px solid var(--line); }
.account-facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.account-facts dt { color: var(--muted); font-size: var(--text-meta); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.account-facts dd { margin: 4px 0 0; overflow: hidden; color: var(--ink); font-size: var(--text-body); text-overflow: ellipsis; white-space: nowrap; }
.account-panel-note { margin: 0; padding: 14px 15px; color: var(--muted); background: rgba(222, 216, 200, .2); font: italic var(--text-control)/1.5 var(--serif); }
.account-team-list { margin: 0; padding: 0; list-style: none; }
.account-team-list li { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 15px; border-top: 1px solid var(--line); font-size: var(--text-body); }
.account-team-list li:first-child { border-top: 0; }
.account-team-list small { color: var(--green); font-size: var(--text-meta); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.account-empty { margin: 0; padding: 25px 15px; color: var(--muted); font: italic var(--text-body)/1.4 var(--serif); }

@media (max-width: 700px) {
  .account-grid { grid-template-columns: 1fr; }
  .account-profile-head { grid-template-columns: 45px minmax(0, 1fr); padding: 16px; }
  .account-profile-mark { width: 45px; height: 45px; font-size: 18px; }
  .account-profile-head .button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 560px) {
  .account-facts { grid-template-columns: 1fr; }
  .account-facts div:nth-child(odd) { border-right: 0; }
}
