.member-dashboard-open .member-auth-shell { height:100dvh; min-height:0; overflow:clip; grid-template-rows:minmax(0,1fr) auto; padding-top:clamp(12px,2vh,24px); padding-bottom:16px; }
.member-dashboard-open .member-auth-topbar { display:none; }
.member-dashboard-open .member-auth-main { width:100%; height:100%; min-height:0; margin:0; padding:0 0 18px; display:block; }
.member-dashboard-open .member-auth-panel { height:100%; display:grid; grid-template-rows:52px minmax(0,1fr); gap:14px; }
.member-dashboard-open .member-auth-brand { width:145px; min-height:0; height:46px; margin:0; }
.member-dashboard-open .member-auth-card { width:100%; height:100%; max-width:none; min-height:0; padding:0; border:0; border-radius:0; box-shadow:none; background:none; overflow:hidden; }
.member-dashboard-open .member-auth-card::before { display:none; }
.member-workspace { display:grid; grid-template-columns:minmax(0,35fr) minmax(0,65fr); gap:clamp(14px,2vw,28px); height:100%; min-height:0; color:var(--text); container-type:inline-size; }
.member-sidebar,.member-detail { display:grid; grid-template-rows:minmax(0,40fr) minmax(0,60fr); min-width:0; min-height:0; gap:16px; }
.member-profile,.member-wallet,.member-detail { border:0; border-radius:0; background:transparent; }
.member-profile { padding:clamp(14px,1.6vw,26px); min-height:0; overflow:auto; }
.profile-heading { display:flex; align-items:center; gap:12px; }
.profile-avatar { display:grid; place-items:center; width:44px; height:44px; flex:none; border-radius:16px; background:#163f31; color:#d9f79b; font-size:24px; }
.profile-heading > div:nth-child(2) { min-width:0; }
.profile-heading span { color:#5e7c6c; font-size:11px; font-weight:750; letter-spacing:.12em; }
.profile-heading h1 { margin:3px 0 0; font-size:clamp(19px,2vw,29px); color:var(--text); overflow-wrap:anywhere; }
.profile-name-line { display:flex; align-items:baseline; flex-wrap:wrap; gap:5px 12px; }
.profile-name-line .profile-member-id { color:var(--apple); font-size:12px; font-weight:550; letter-spacing:.04em; white-space:nowrap; }
.profile-heading button { margin-left:auto; border:1px solid #b1cdb8; border-radius:10px; padding:6px 10px; background:transparent; color:#39664d; font-size:12px; cursor:pointer; white-space:nowrap; }
.member-profile dl { margin:22px 0 0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 24px; font-size:clamp(13px,1.1vw,16px); }
.member-profile dl > div { display:flex; flex-direction:column; gap:6px; min-width:0; }
.member-profile dt { display:flex; align-items:center; gap:6px; font-size:11px; }
.member-profile dt svg { width:14px; height:14px; opacity:.75; }
.member-profile .profile-field-email { grid-column:1/-1; }
.member-profile .profile-field-id dd { color:var(--apple); letter-spacing:.07em; }
.profile-avatar { width:50px; height:50px; background:transparent; border:1px solid #99cf5470; border-radius:50%; color:var(--apple); }
.profile-heading { padding-bottom:16px; border-bottom:1px solid rgba(167,233,202,.15); }
.member-profile dl { margin-top:16px; gap:14px 0; }
.member-profile .profile-field-phone { padding-right:18px; border-right:1px solid rgba(167,233,202,.15); }
.member-profile .profile-field-birthday { padding-left:18px; }
.member-profile .profile-field-email { padding-top:14px; border-top:1px solid rgba(167,233,202,.15); }
.member-sidebar,.member-detail { position:relative; }
.member-sidebar::after { content:""; position:absolute; top:0; bottom:0; right:calc(clamp(14px,2vw,28px) / -2); width:1px; background:rgba(167,233,202,.15); pointer-events:none; }
.member-wallet { border-top:1px solid rgba(167,233,202,.15); }
.member-ledger { border-top:1px solid rgba(167,233,202,.15); padding-top:18px; }
.member-profile dt { color:#648170; }
.member-profile dd { margin:0; overflow-wrap:anywhere; font-weight:550; }
.member-wallet { display:flex; flex-direction:column; min-height:0; overflow:hidden; padding:18px 12px 12px; }
.wallet-heading,.ledger-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0 8px 14px; }
.wallet-heading h2,.ledger-heading h2 { margin:0; font-size:18px; }
.wallet-heading > span,.ledger-heading > span { font-size:12px; color:#6a8274; white-space:nowrap; }
.wallet-list { min-height:0; overflow:auto; overscroll-behavior:contain; padding:2px 4px; display:flex; flex-direction:column; gap:10px; }
.theme-mint { --card-bg:#d6eddc; --card-ink:#1b5840; --card-pattern:#6fa77b; }
.theme-gold { --card-bg:#f3e7be; --card-ink:#73561d; --card-pattern:#c6a75b; }
.theme-blue { --card-bg:#dfe9f4; --card-ink:#325374; --card-pattern:#8baac7; }
.theme-rose { --card-bg:#f1dfda; --card-ink:#7b4940; --card-pattern:#bd8f7d; }
.theme-slate { --card-bg:#dfe6e1; --card-ink:#385548; --card-pattern:#849c90; }
.wallet-card { position:relative; isolation:isolate; overflow:hidden; flex:none; width:100%; min-height:82px; padding:16px; border:2px solid transparent; border-radius:16px; display:flex; align-items:center; gap:12px; text-align:left; color:var(--card-ink); background:var(--card-bg); cursor:pointer; }
.wallet-card::after { content:""; position:absolute; z-index:-1; right:-20px; top:-30px; width:130px; height:130px; border:22px solid var(--card-pattern); opacity:.18; border-radius:50%; }
.wallet-card.pattern-1::after { border-radius:22px; transform:rotate(35deg); }
.wallet-card.pattern-2::after { width:220px; border-radius:0; transform:rotate(-30deg); border-width:12px; }
.wallet-card[aria-pressed="true"] { border-color:#24815b; box-shadow:0 0 0 2px #fff inset; }
.wallet-card-brand { font-size:13px; font-weight:900; opacity:.7; }
.wallet-card-name { font-size:clamp(14px,1.3vw,18px); font-weight:750; overflow-wrap:anywhere; }
.wallet-card-points { margin-left:auto; display:flex; align-items:baseline; gap:4px; white-space:nowrap; }
.wallet-card-points strong { font-size:clamp(21px,2.2vw,30px); }
.wallet-card-points small { font-size:12px; }
.member-detail { padding:0 clamp(16px,2vw,30px) clamp(16px,2vw,30px); gap:24px; }
.member-card-summary { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:22px; min-height:0; align-items:stretch; }
.member-artwork { position:relative; width:100%; aspect-ratio:8/5; min-height:0; overflow:hidden; border-radius:16px; color:var(--card-ink); background:var(--card-bg); box-shadow:0 12px 30px #1d4e3012; }
.member-artwork img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; }
.default-member-card { position:relative; isolation:isolate; height:100%; display:flex; flex-direction:column; justify-content:space-between; padding:8%; overflow:hidden; }
.default-member-card::after { content:""; position:absolute; z-index:-1; right:-18%; top:-30%; width:85%; aspect-ratio:1; border:clamp(18px,3vw,50px) solid var(--card-pattern); border-radius:50%; opacity:.23; }
.pattern-1 .default-member-card::after { border-radius:16%; transform:rotate(35deg); }
.pattern-2 .default-member-card::after { width:110%; border-radius:0; transform:rotate(-30deg); border-width:18px; }
.default-member-card > span { font-size:clamp(10px,1vw,14px); font-weight:750; letter-spacing:.12em; }
.default-member-card small { display:block; margin-top:5px; font-size:.6em; font-weight:500; letter-spacing:.1em; }
.default-member-card strong { font-size:clamp(18px,2vw,30px); overflow-wrap:anywhere; }
.default-member-card .default-card-footer { font-size:10px; opacity:.65; }
.artwork-placeholder { width:100%; aspect-ratio:8/5; max-height:100%; overflow:auto; border-radius:16px; display:flex; flex-direction:column; justify-content:center; padding:24px; gap:12px; background:radial-gradient(circle at 100% 0%,#ffffff80,transparent 65%),var(--card-bg); }
.artwork-placeholder span { font-size:11px; letter-spacing:.16em; }
.artwork-placeholder strong { font-size:clamp(18px,2vw,28px); }
.artwork-placeholder small { font-size:12px; }
.member-card-copy { align-self:start; min-height:0; overflow:hidden; display:flex; flex-direction:column; }
.dashboard-eyebrow { font-size:12px; color:#648170; }
.member-card-copy h2 { flex:none; font-size:clamp(20px,2.2vw,32px); line-height:1.3; margin:0 0 12px; overflow-wrap:anywhere; }
.member-card-copy p { flex:1; min-height:0; overflow:hidden; font-size:clamp(13px,1.1vw,16px); line-height:1.8; color:#678071; white-space:pre-wrap; margin:0; overflow-wrap:anywhere; }
.card-points-total { display:flex; align-items:baseline; gap:8px; margin:0; white-space:nowrap; }
.card-points-total > span { font-size:12px; color:#648170; }
.card-points-total strong { font-size:clamp(20px,2vw,28px); color:#24815b; }
.card-points-total small { font-size:14px; }
.member-ledger { display:flex; flex-direction:column; min-height:0; }
.ledger-heading { padding:0 0 16px; }
.ledger-heading-meta { display:flex; align-items:baseline; gap:18px; }
.ledger-heading-meta > span { color:var(--muted); font-size:12px; white-space:nowrap; }
.ledger-column-head { display:grid; grid-template-columns:32% 26% 14% 14% 14%; flex:none; color:var(--muted); font-size:12px; }
.ledger-column-head span { padding:10px 6px; text-align:right; }
.ledger-column-head span:nth-child(-n+2) { text-align:left; }
.ledger-scroll { min-height:0; overflow:auto; overscroll-behavior:contain; overflow-clip-margin:0; scrollbar-gutter:stable; }
.member-ledger table { width:100%; table-layout:fixed; border-collapse:separate; border-spacing:0; font-size:clamp(12px,1.05vw,16px); white-space:nowrap; font-variant-numeric:tabular-nums; }
.member-ledger td:nth-child(1) { width:32%; }
.member-ledger td:nth-child(2) { width:26%; }
.member-ledger td:nth-child(n+3) { width:14%; }
.visually-hidden { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.member-ledger td { padding:14px 6px; text-align:right; }
.member-ledger :is(td,th):nth-child(-n+2) { text-align:left; }
.member-ledger td:last-child { font-weight:750; }
.points-credit { color:#1c8657; }
.points-debit { color:#b66a48; }
.ledger-status,.dashboard-message { padding:24px 12px; text-align:center; color:#718678; font-size:14px; line-height:1.8; }
.dashboard-message { align-self:center; }
.dashboard-message button,.ledger-status button { display:block; margin:12px auto 0; border:1px solid #aac6b2; color:#285b40; background:transparent; padding:8px 14px; border-radius:10px; cursor:pointer; }
.profile-heading span,.member-profile dt,.wallet-heading > span,.ledger-heading > span,.dashboard-eyebrow,.member-card-copy p,.card-points-total > span,.ledger-status,.dashboard-message { color:var(--muted); }
.profile-heading button,.dashboard-message button,.ledger-status button { color:var(--mint); border-color:var(--line); }
.card-points-total strong,.points-credit { color:var(--apple); }
.points-debit { color:#ffb69c; }
@media (max-height:650px) and (min-width:701px) {
 .member-dashboard-open .member-auth-panel { grid-template-rows:36px minmax(0,1fr); gap:8px; }
 .member-dashboard-open .member-auth-brand { height:32px; width:115px; }
 .member-sidebar,.member-detail { gap:12px; }
 .member-profile { padding:12px; }
 .profile-heading { padding-bottom:10px; }
 .member-profile dl { margin-top:10px; gap:9px 0; }
 .member-profile .profile-field-email { padding-top:9px; }
 .member-detail { padding:0 16px 16px; }
 .wallet-card { min-height:68px; padding:12px; }
}
/* Keep the existing mobile member view until its separate design pass. */
@media (max-width:700px) { .member-dashboard-open .member-workspace { grid-template-columns:1fr; overflow:auto; } .member-sidebar { min-height:650px; } .member-detail { min-height:600px; } }
