/* Uses the established application palette and controls. */
.account-page{display:block;min-height:100vh;background:var(--bg);}
.account-main{max-width:760px;margin:0 auto;padding:48px 24px;}
.account-main>.brand{display:block;padding:0;margin:0 0 32px;}
.account-main:has(#auth-form){max-width:520px;}
.auth-panel{padding:28px;margin-bottom:20px;}
.auth-panel h1{font-size:28px;line-height:1.35;margin:10px 0 14px;letter-spacing:-.04em;}
.auth-panel h2{margin-top:0;}
.auth-panel label{display:block;margin:20px 0 8px;font-weight:600;}
.auth-panel input{width:100%;min-width:0;box-sizing:border-box;min-height:44px;border:1px solid var(--line);border-radius:6px;padding:9px 10px;background:var(--bg);color:var(--ink);}
.auth-panel form>.primary{margin-top:16px;min-height:44px;}
.auth-submit{width:100%;}
.password-field{display:flex;gap:8px;align-items:center;}
.password-field input{flex:1;min-width:0;}
.password-field button{min-width:52px;min-height:44px;}
.form-feedback{min-height:22px;margin:10px 0;}
[role=alert].form-feedback{color:var(--up);}
.account-footnote{color:var(--muted);font-size:12px;line-height:1.8;margin-top:26px;}
.member-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 20px;}
.member-bar>div{display:flex;gap:16px;align-items:center;}
.member-bar [role=alert]{margin:0;}
.member-bar button,.member-bar a{min-height:36px;display:inline-flex;align-items:center;}
.auth-panel details{padding:10px 0;}
.auth-panel summary{cursor:pointer;}
.invite-result{border-top:1px solid var(--line);margin-top:20px;padding-top:8px;}
.account-main small{display:block;overflow-wrap:anywhere;}
body[data-access=customer] #menu-advanced,body[data-access=customer] .admin-only,
body[data-access=customer] #backtest-view,body[data-access=customer] #saved-refresh,
body[data-access=customer] #saved-error-details{display:none!important;}
@media(max-width:600px){.account-main{padding:24px 16px;}.auth-panel{padding:20px;}.auth-panel h1{font-size:24px;}}

.auth-panel nav{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding-top:14px;}
.auth-panel nav a{display:inline-flex;min-height:36px;align-items:center;}
