/* Member experience: scoped overrides, leaving family-tree tools untouched. */
.member-refresh [data-member-panel][hidden],.member-auth-refresh [hidden],.member-unified-auth [hidden]{display:none!important}
.member-refresh{--member-ink:#233b32;--member-green:#275e48;--member-muted:#65756e;--member-line:#dce5dd;background:#f3f5f0}
.member-refresh .workspace-nav{gap:6px}.member-refresh .workspace-nav>button{min-height:46px;text-align:left;border-radius:10px}.member-more{border-top:1px solid #dce5dd;margin-top:12px;padding-top:10px}.member-more summary{padding:12px;cursor:pointer;color:#65756e;font-size:14px}.member-more>div{display:grid;gap:5px}.member-more button{font:inherit;cursor:pointer;padding:10px 12px;border:0;border-radius:8px;text-align:left;background:transparent;color:#526459}.member-more button.is-active{background:#e2ebe3;color:#234e3c}.member-refresh #accountCard{padding:28px;border:1px solid var(--member-line);border-radius:20px;box-shadow:0 8px 24px #1c3d2606}.member-refresh .profile-panel-head{align-items:center;border:0;margin-bottom:16px}.member-refresh .profile-panel-head h2{font-size:30px;letter-spacing:-.5px}.member-refresh .profile-panel-head p{color:var(--member-muted)}.member-refresh .profile-completeness{font-size:12px;background:#f4f6f1;border-radius:12px;padding:12px}.member-refresh .profile-completeness strong{font-size:22px}.member-refresh .profile-identity-strip{border:1px solid var(--member-line);background:#fafbf8;border-radius:14px;padding:18px;margin-bottom:20px}.member-refresh .account-stats{margin-left:auto}.member-refresh .account-stats span{min-width:65px;color:#65756e}.member-section-nav{display:flex;gap:6px;border-bottom:1px solid var(--member-line);margin:0 0 24px;padding:0 0 10px}.member-section-nav button{font:inherit;background:transparent;border:0;border-radius:9px;padding:11px 18px;color:#65756e;cursor:pointer}.member-section-nav button[aria-current]{background:#e8f0e6;color:#214e36;font-weight:700}.member-next-step{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:24px;padding:30px;border-radius:16px;background:#edf2e8;border:1px solid #d8e1cd}.member-eyebrow{font-size:12px;letter-spacing:2px;color:#607459;font-weight:700}.member-next-step h3{font-size:27px;line-height:1.45;margin:9px 0 12px;color:#234532}.member-next-step p{font-size:15px;line-height:1.85;color:#526455;max-width:540px;margin-bottom:22px}.member-next-step .button.primary{background:#28533d;color:#fff;border-color:#28533d;min-height:46px;gap:20px}.member-family-art{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#56714e}.member-family-art span,.member-family-art strong{border:1px solid #bacbb0;border-radius:24px;background:#fafcf7;padding:9px 24px}.member-family-art strong{background:#345b40;color:#fff;font-weight:500}.member-family-art i{height:14px;border-left:1px solid #bacbb0}.member-family-art small{font-size:11px;margin-top:12px}.member-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.member-quick-grid button{display:flex;align-items:flex-start;flex-direction:column;text-align:left;border:1px solid #dce5dd;border-radius:14px;background:#fff;padding:20px;cursor:pointer;font:inherit;gap:10px;color:#233b32;transition:border-color .15s,background .15s}.member-quick-grid button:hover{background:#f9fbf6;border-color:#819d7a}.member-step-number{font-size:12px;letter-spacing:2px;color:#69815d}.member-quick-grid strong{font-size:17px}.member-quick-grid small{font-size:13px;line-height:1.7;color:#69766c}.member-action-label{font-size:13px;color:#376047;margin-top:auto;padding-top:8px}.member-benefits{border:1px solid #dce5dd;border-radius:12px;padding:0 16px;margin-top:20px}.member-benefits summary{font-weight:600;padding:17px 0;cursor:pointer}.member-help{font-size:13px;color:#65756e;line-height:1.8;padding-bottom:16px}.member-help a{color:#285b40;text-decoration:underline}.member-soft-tip{font-size:13px;color:#65756e;margin:20px 0 0}.member-soft-tip button{font:inherit;border:0;background:none;color:#285b40;cursor:pointer;padding:6px}.member-form-intro{line-height:1.8;color:#65756e;background:#f5f7f1;padding:14px 18px;border-radius:10px}.member-form-details{border:1px solid #dce5dd!important;border-radius:12px;overflow:hidden}.member-form-details summary{font-size:16px;font-weight:700;cursor:pointer;padding:18px}.member-form-details summary small{display:block;font-weight:400;font-size:13px;color:#65756e;margin:8px 0 0}.member-form-details>.field-grid{padding:0 18px 20px}.member-refresh .profile-save-bar{position:sticky;bottom:12px;z-index:3;border:1px solid #dce5dd;box-shadow:0 5px 20px #26462e12;border-radius:12px;background:#fff;padding:14px 18px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.member-save-hint{color:#65756e;font-size:13px;margin-right:auto}.member-refresh .profile-save-bar .form-status:empty{display:none}.member-refresh input,.member-refresh select,.member-refresh textarea{font-size:16px}.member-refresh button:focus-visible,.member-refresh a:focus-visible,.member-refresh summary:focus-visible{outline:3px solid #91ad75;outline-offset:3px}
/* Authentication: the account form comes first on small screens. */
.member-auth-refresh,.member-unified-auth{background:#f3f5ef;color:#243b30}.member-auth-refresh .login-main{max-width:1080px;margin:30px auto;padding:20px}.member-auth-refresh .login-experience{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;border:0;background:transparent;box-shadow:none}.member-auth-refresh .login-miniapp-panel{background:transparent;padding:28px 0;box-shadow:none;border:0}.member-auth-refresh .login-miniapp-panel h1{font-size:38px;line-height:1.5;text-align:left;color:#254834;margin:16px 0}.member-auth-intro{font-size:16px;line-height:1.9;color:#647163;max-width:420px}.member-auth-steps{padding:0;list-style:none;counter-reset:steps;display:grid;gap:15px;margin:26px 0;font-size:15px}.member-auth-steps li{display:flex;align-items:center;gap:12px;counter-increment:steps}.member-auth-steps li:before{content:counter(steps,decimal-leading-zero);width:32px;height:32px;display:grid;place-items:center;background:#e2ebdc;border-radius:50%;color:#345734;font-size:12px}.member-wechat{margin-top:28px;border-top:1px solid #d3ddcb;padding-top:18px;text-align:left}.member-wechat summary{cursor:pointer;font-size:14px}.member-wechat p{font-size:13px;line-height:1.8;color:#647163}.member-auth-refresh .miniapp-code-frame{max-width:180px;margin:15px auto}.member-auth-refresh .miniapp-code-frame img{width:100%;height:auto}.member-auth-refresh .login-only-card,.member-auth-refresh .password-reset-card{padding:32px;border-radius:20px;border:1px solid #dce3d5;background:#fff;box-shadow:0 12px 40px #23462d09}.member-auth-refresh .auth-tabs,.member-unified-auth .segmented{background:#f1f4ed;border-radius:10px;padding:4px}.member-auth-refresh .auth-tabs button,.member-unified-auth .segmented button{min-height:44px;border-radius:8px}.member-auth-refresh input,.member-unified-auth input{min-height:48px;font-size:16px;border-color:#d4ddd0;border-radius:9px}.member-auth-refresh label,.member-unified-auth .form-stack label{gap:8px}.member-auth-refresh .login-card-head h2{font-size:25px}.member-auth-refresh .login-card-head p,.member-auth-refresh .auth-hint{font-size:13px;line-height:1.8;color:#657261}.member-auth-refresh .button.primary,.member-unified-auth .btn.primary{min-height:48px;background:#2c593f;color:#fff;border-color:#2c593f;border-radius:9px}.member-password-control{font:inherit;font-size:13px;color:#3e6546;background:none;border:0;cursor:pointer;display:block;margin:8px 0 0 auto;padding:6px 0;min-height:32px}.member-unified-auth .auth{min-height:100vh;grid-template-columns:1fr 1fr}.member-unified-auth .auth-image{background:#e9efe1;background-image:none;padding:60px;color:#284733}.member-unified-auth .auth-image:before,.member-unified-auth .auth-image:after{display:none}.member-unified-auth .auth-image h1{font-size:42px;line-height:1.5;max-width:500px}.member-unified-auth .auth-image>div{position:relative;max-width:500px}.member-unified-auth .auth-main{background:#f7f8f4;padding:36px}.member-unified-auth .auth-inner{max-width:430px;width:100%;background:#fff;padding:32px;border:1px solid #dce3d5;border-radius:20px;box-shadow:0 12px 40px #23462d09}.member-unified-auth .auth-inner>p{font-size:14px;line-height:1.8;color:#647163}.member-unified-auth .auth-promo{margin:24px 0 10px;background:#f7f8f2;padding:14px;font-size:13px;border:1px solid #e2e7d9}.member-unified-auth .auth-promo summary{cursor:pointer;font-weight:600}.member-unified-auth .auth-promo strong,.member-unified-auth .auth-promo span,.member-unified-auth .auth-promo small{display:block;margin-top:8px}.member-unified-auth .auth-text-action{font-size:13px}.member-auth-refresh .form-status,.member-unified-auth .form-message{line-height:1.6;overflow-wrap:anywhere}
@media(max-width:900px){.member-refresh #accountCard{padding:20px}.member-next-step{grid-template-columns:1fr 120px;padding:22px}.member-quick-grid{grid-template-columns:1fr}.member-quick-grid button{display:grid;grid-template-columns:30px 1fr}.member-quick-grid small,.member-action-label{grid-column:2}.member-quick-grid strong{font-size:16px}.member-unified-auth .auth-image{padding:32px}.member-unified-auth .auth-image h1{font-size:32px}.member-auth-refresh .login-experience{gap:24px}}
@media(max-width:640px){.member-auth-refresh .login-main{margin:0 auto;padding:16px}.member-auth-refresh .login-experience{display:flex;flex-direction:column;gap:8px}.member-auth-refresh .login-account-stack{order:-1;width:100%}.member-auth-refresh .login-only-card,.member-auth-refresh .password-reset-card{padding:24px 20px}.member-auth-refresh .login-miniapp-panel{padding:24px 12px;width:100%}.member-auth-refresh .login-miniapp-panel h1{font-size:28px}.member-auth-refresh .login-topbar{padding:16px}.member-unified-auth .auth{display:flex;flex-direction:column}.member-unified-auth .auth-main{order:-1;padding:20px 16px}.member-unified-auth .auth-inner{padding:24px 20px;box-sizing:border-box}.member-unified-auth .auth-image{padding:28px 24px}.member-unified-auth .auth-image h1{font-size:28px}.member-unified-auth .auth-image img{width:40px;height:40px}.member-refresh #accountCard{padding:16px;border-radius:14px}.member-refresh .profile-panel-head h2{font-size:25px}.member-refresh .profile-completeness{padding:8px;font-size:10px;flex-shrink:0}.member-refresh .profile-completeness strong{font-size:18px}.member-refresh .profile-identity-strip{padding:14px;gap:12px;flex-wrap:wrap}.member-refresh .account-stats{width:100%;margin:0;justify-content:space-between}.member-section-nav{gap:0;margin-bottom:18px}.member-section-nav button{padding:10px 12px;font-size:14px;flex:1;white-space:nowrap}.member-next-step{grid-template-columns:1fr;padding:22px 18px;gap:0}.member-family-art{display:none}.member-next-step h3{font-size:23px}.member-next-step .button{width:100%;justify-content:space-between}.member-next-step p{font-size:14px;margin-bottom:18px}.member-refresh .profile-save-bar{bottom:8px;padding:12px}.member-refresh .profile-save-bar .button{min-height:44px}.member-refresh .workspace-nav{display:flex;flex-wrap:wrap;overflow:visible!important;gap:4px}.member-refresh .workspace-nav>button{flex:1 1 22%;min-width:0;padding:10px 5px;text-align:center;font-size:13px}.member-more{width:100%;margin:0;padding:0;border:0}.member-more summary{padding:9px 8px;font-size:12px}.member-more>div{display:grid;grid-template-columns:repeat(3,1fr);padding:4px}.member-more button{font-size:12px;text-align:center}.member-refresh .profile-form-section .field-grid{grid-template-columns:1fr}.member-refresh .profile-form-section .span-2{grid-column:auto}.member-refresh .profile-panel-head p{font-size:13px}.member-refresh .workspace-sidebar .workspace-family{display:none}}
.member-refresh #accountCard .profile-identity-strip{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px;margin:0 0 16px}.member-refresh #accountCard .profile-initial{width:52px;height:52px;font-size:22px}.member-refresh #accountCard .profile-identity-strip h3{font-size:21px;margin:0 0 5px}.member-refresh #accountCard .profile-identity-strip p{margin:0;font-size:13px}.member-refresh #profileSyncState{display:none}.member-refresh #accountCard .account-stats{display:flex;gap:12px;margin:0}.member-refresh #accountCard .account-stats span{padding:0;border:0;background:none;min-width:60px;font-size:12px;text-align:center}.member-refresh #accountCard .account-stats strong{font-size:23px;line-height:1.3}.member-refresh #accountCard .profile-panel-head{padding-bottom:12px;margin-bottom:14px}.member-refresh #accountCard .member-next-step .button.primary{background:#28533d!important;border-color:#28533d!important;color:#fff}.member-refresh .workspace-nav>button.is-active{background:#e4edda;color:#1c4933;border-left-color:#a9bd8d}.member-refresh .member-more summary{color:#d0ddca}.member-refresh .member-more button{color:#e4ebe0}.member-refresh .member-more button.is-active{color:#21442f}.member-refresh .profile-completeness{display:none}.member-refresh #accountCard[data-member-current="details"] .profile-completeness{display:block}
@media(max-width:640px){.member-refresh #accountCard .profile-identity-strip{grid-template-columns:44px minmax(0,1fr);gap:10px}.member-refresh #accountCard .profile-initial{width:44px;height:44px}.member-refresh #accountCard .account-stats{grid-column:1/-1;width:100%;justify-content:space-around;padding-top:10px;border-top:1px solid #e0e6dd}.member-refresh #accountCard .account-stats span{display:flex;gap:5px;align-items:center}.member-refresh #accountCard .account-stats strong{font-size:18px}.member-refresh #accountCard .profile-panel-head p{margin:5px 0 0}.member-refresh #accountCard .profile-panel-head h2{margin:4px 0;font-size:24px}.member-refresh .member-more summary{color:#516449}.member-refresh .member-more button{color:#34523b}}
.member-unified-auth .auth-image{display:flex;align-items:center}.member-unified-auth .auth-image>div{inset:auto;color:#284733}.member-unified-auth .auth-image h1{color:#284733}.member-unified-auth .auth-image p{color:#5b7259;font-weight:500}.member-unified-auth .auth-image .member-auth-steps{color:#34513b}.member-unified-auth .auth-promo{display:block}.member-unified-auth .segmented{height:auto}.member-unified-auth .form-message:empty{display:none}
@media(max-width:640px){.member-unified-auth .auth-image{min-height:0}.member-unified-auth .auth-main{min-height:0}}
body.member-refresh .workspace-nav>button,body.member-refresh .workspace-nav .member-more button{display:block;grid-template-columns:none;white-space:nowrap;width:100%;letter-spacing:0}body.member-refresh .workspace-nav>button.is-active{background:#e4edda!important;color:#1c4933!important;border-left-color:#a9bd8d}body.member-refresh .workspace-nav>button{padding:14px 16px}.member-refresh .member-more summary{font-weight:600}
@media(max-width:640px){body.member-refresh .workspace-nav>button{width:auto;padding:12px 4px}body.member-refresh .workspace-nav .member-more button{white-space:normal;padding:10px 5px}}
