/* Account pages share the main site's base, brand and navigation styles. */
.account-page{color-scheme:light}
.account-shell{max-width:1240px;margin:auto;padding:36px 28px 44px}
.account-shell.narrow{max-width:520px;padding-top:48px}
.account-shell h1{font-size:32px;line-height:1.35;letter-spacing:-.8px;margin:7px 0 10px}
.account-shell h2{font-size:18px;line-height:1.4;margin:0 0 18px}
.account-shell p{margin:10px 0;line-height:1.8}
.account-shell .muted,.account-shell .foot{color:var(--muted)}
.account-shell .heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.account-shell .panel{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:26px;min-width:0}
.account-shell .panel.accent{border-top:3px solid var(--brand-accent)}
.account-shell .spaced{margin:24px 0}
.account-shell label{display:grid;gap:8px;color:var(--ink);font-size:13px;font-weight:550}
.account-shell input{width:100%;min-width:0;padding:11px 13px;border:1px solid #ccd7df;border-radius:5px;background:#fafcfd;color:var(--ink);font-size:14px;line-height:1.6}
.account-shell input::placeholder{color:#7a8b99}
.account-shell input:focus{outline:2px solid #a8cbd0;outline-offset:2px}
.account-shell input[type=checkbox]{width:auto;accent-color:var(--navy);margin:0 7px 0 0}
.account-shell button,.account-shell .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 16px;border:1px solid #dce3e9;border-radius:5px;background:#eef2f5;color:#344c5f;font-weight:650;font-size:13px;line-height:1.6;cursor:pointer}
.account-shell button:hover,.account-shell .button:hover{background:#e5ebf0}
.account-shell .primary{background:var(--navy);border-color:var(--navy);color:#fff;min-height:44px}
.account-shell .primary:hover{background:#283f51;border-color:#283f51}
.account-shell .subtle{background:transparent}
.account-shell .small{font-size:12px;padding:6px 12px;min-height:34px}
.account-shell .stack{display:grid;gap:18px}
.account-shell .stack .primary{margin-top:4px}
.account-shell .auth-links{display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-top:20px;color:#536d80;font-size:13px}
.account-shell .auth-links a:hover,.account-shell .foot a:hover{color:#d63f49}
.account-shell .notice{border:1px solid #cbdfe5;background:#eaf4f6;color:#285b6a;padding:12px 16px;border-radius:6px;font-size:13px;white-space:pre-line}
.account-shell .notice.error{border-color:#f0ccd2;background:#fff0f1;color:#9c3343}
.account-shell .notice.success{border-color:#b8dfd3;background:#eef8f3;color:#186b55}
.account-shell .grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:20px;margin-bottom:22px}
.account-shell .actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.account-shell .member-tier{display:flex;align-items:center;justify-content:space-between;gap:14px}
.account-shell .member-tier h2{font-size:24px;margin:0}
.account-shell .tag{display:inline-block;font-size:12px;line-height:1.5;padding:4px 9px;white-space:nowrap;color:#18745c;background:#eef8f3;border:1px solid #c5e3d7;border-radius:4px}
.account-shell .tag.off{color:var(--muted);background:#f3f5f7;border-color:var(--line)}
.account-shell .expiry{display:block;font-size:27px;line-height:1.4;font-weight:650;font-variant-numeric:tabular-nums;margin:24px 0 5px;overflow-wrap:anywhere}
.account-shell .table-wrap{overflow:auto}
.account-shell table{border-collapse:collapse;width:100%;font-size:13px;white-space:nowrap;text-align:left;font-variant-numeric:tabular-nums}
.account-shell th{background:#f8fafb;color:var(--muted);font-weight:550}
.account-shell th,.account-shell td{padding:13px 14px;border-bottom:1px solid var(--line)}
.account-shell tbody tr:last-child td{border-bottom:0}
.account-shell .empty{text-align:center;padding:28px 12px;color:var(--muted)}
.account-shell summary{cursor:pointer;font-weight:650}
.account-shell .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.account-shell .recovery-key{display:block;overflow-wrap:anywhere;white-space:normal;background:#f3f6f8;border:1px solid var(--line);border-radius:5px;padding:16px;margin:16px 0;color:var(--ink);font:14px/1.8 ui-monospace,Consolas,monospace;letter-spacing:.5px}
.account-shell .foot{border-top:1px solid var(--line);padding-top:18px;margin-top:30px;font-size:11px}
@media(max-width:700px){
 .account-shell,.account-shell.narrow{padding:26px 16px 32px}
 .account-shell h1{font-size:28px}
 .account-shell .panel{padding:20px 18px}
 .account-shell .grid,.account-shell .form-grid{grid-template-columns:1fr}
 .account-shell .heading{align-items:flex-start;gap:12px;flex-wrap:wrap}
 .account-shell .member-tier h2{font-size:23px}
 .account-shell .expiry{font-size:22px}
 .account-shell .spaced{margin:20px 0}
}
