.account-page { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0 100px; }
.account-head { padding-bottom: 44px; border-bottom: 1px solid var(--ink-900); }
.account-head h1 { margin: 14px 0 10px; font-family: var(--font-serif); font-size: clamp(2.5rem, 5vw, 4.8rem); font-weight: 500; letter-spacing: -.05em; }
.account-head p, .account-muted { color: var(--ink-500); line-height: 1.7; }
.account-loading { display: flex; min-height: 380px; align-items: center; justify-content: center; flex-direction: column; gap: 14px; color: var(--ink-500); }
.account-loading[hidden] { display: none; }
.account-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 72px; padding-top: 48px; }
.account-layout[hidden] { display: none; }
.account-summary { align-self: start; position: sticky; top: 100px; }
.account-avatar { display: grid; width: 76px; height: 76px; border: 1px solid var(--ink-900); overflow: hidden; place-items: center; font-family: var(--font-serif); font-size: 1.8rem; }
.account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-summary h2 { margin: 22px 0 8px; font-family: var(--font-serif); font-size: 1.65rem; font-weight: 500; }
.account-summary > p { color: var(--ink-400); font-size: .82rem; }
.account-summary dl { margin-top: 34px; border-top: 1px solid var(--line); }
.account-summary dl div { display: flex; padding: 14px 0; border-bottom: 1px solid var(--line); justify-content: space-between; gap: 16px; }
.account-summary dt { color: var(--ink-400); font-size: .78rem; }
.account-summary dd { color: var(--ink-700); font-size: .82rem; text-align: right; }
.account-membership-link { display: block; margin-top: 14px; color: var(--ink-700); font-size: .78rem; text-decoration: none; }
.account-membership-link:hover { color: var(--ink-900); text-decoration: underline; text-underline-offset: 4px; }
.account-role-actions { display: grid; gap: 10px; margin-top: 24px; }
.account-role-actions .gj-btn { justify-content: center; text-align: center; }
.account-panels { min-width: 0; }
.account-panel { padding: 0 0 52px; margin-bottom: 52px; border-bottom: 1px solid var(--line); }
.account-panel__head { display: flex; margin-bottom: 28px; justify-content: space-between; align-items: end; gap: 24px; }
.account-panel h2 { margin-top: 8px; font-family: var(--font-serif); font-size: 1.7rem; font-weight: 500; }
.account-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.account-form label > span { display: block; margin-bottom: 8px; color: var(--ink-500); font-size: .8rem; }
.account-avatar-field { grid-column: 1 / -1; }
.account-avatar-field small { display: block; margin-top: 7px; color: var(--ink-400); font-size: .72rem; }
.account-form .gj-input:disabled { background: var(--paper-2); color: var(--ink-400); }
.account-form__actions { display: flex; grid-column: 1 / -1; padding-top: 6px; align-items: center; justify-content: flex-end; gap: 18px; }
.account-message { color: var(--ink-500); font-size: .82rem; }
.account-message.is-error { color: var(--gj-danger); }
.account-products { border-top: 1px solid var(--line); }
.account-product { display: grid; grid-template-columns: 1fr auto; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; gap: 20px; color: inherit; text-decoration: none; }
.account-product h3 { margin-bottom: 6px; font-family: var(--font-serif); font-size: 1.05rem; font-weight: 500; }
.account-product p { color: var(--ink-400); font-size: .76rem; }
.account-product span { color: var(--ink-500); }
.account-session { display: flex; padding-bottom: 0; border-bottom: 0; justify-content: space-between; align-items: end; gap: 28px; }
.account-session p { margin-top: 10px; color: var(--ink-500); line-height: 1.65; }
@media (max-width: 820px) { .account-layout { grid-template-columns: 1fr; gap: 52px; } .account-summary { position: static; } .account-form { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .account-page { width: min(100% - 28px, 1180px); padding: 44px 0 72px; } .account-head { padding-bottom: 34px; } .account-layout { padding-top: 34px; } .account-panel { margin-bottom: 42px; padding-bottom: 42px; } .account-panel__head, .account-session { align-items: flex-start; flex-direction: column; } .account-form__actions { align-items: stretch; flex-direction: column; } .account-form__actions .gj-btn, .account-session .gj-btn { width: 100%; justify-content: center; } }
