:root{--member-accent:var(--appearance-accent,#13846b);--member-soft:var(--appearance-soft,#e1f3ec);--member-border:var(--appearance-border,#bdd5cb)}body.member-standalone-document{margin:0;background:#f4f6f5;font:14px Arial,"Microsoft YaHei",sans-serif;color:#26352f}.member-standalone-document *{box-sizing:border-box}.member-top-nav{display:flex;gap:5px;flex-wrap:wrap}.member-top-nav button{border:0;border-radius:7px;background:transparent;padding:12px 14px;font:inherit;color:inherit;cursor:pointer}.member-top-nav button:hover,.member-top-nav button.active{background:var(--member-soft);color:var(--member-accent);font-weight:700}.member-standalone-document .brand{min-width:160px}.member-standalone-document .brand .brand-mark{display:grid;place-items:center;background:var(--member-accent);color:white;border-radius:10px;font-size:23px;width:42px;height:42px}.member-standalone-document .brand small{display:block;font-size:11px;font-weight:400;margin-top:3px}.member-standalone-document .topbar-actions{margin-left:auto;gap:9px;display:flex;align-items:center;flex-wrap:wrap}.member-standalone-document #music-player{display:none!important}
html[data-standalone-module="membership"] body.member-standalone-document .topbar{display:flex!important;flex-wrap:wrap;align-items:center;gap:16px;padding:14px 20px;position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--member-border)}html[data-standalone-module="membership"] body.member-standalone-document .sidebar{display:block!important}html[data-standalone-module="membership"] body.member-standalone-document .app-layout{display:grid!important;grid-template-columns:205px minmax(0,1fr) 220px;gap:17px;padding:18px;align-items:start}html[data-standalone-module="membership"] body.member-standalone-document .content-area{padding:18px;min-width:0;max-width:none;width:auto;background:#fff;border:1px solid var(--member-border);border-radius:10px}html[data-standalone-module="membership"] body.member-standalone-document .member-page-layout{display:block!important}html[data-standalone-module="membership"] body.member-standalone-document .member-directory{position:static;max-height:none;width:100%;padding:0;border:0;background:none;border-radius:0}.member-standalone-document .member-shell-sidebar{position:sticky;top:110px;max-height:calc(100dvh - 130px);overflow:auto;width:auto;min-width:0;border:1px solid var(--member-border);border-radius:10px;background:#fff;padding:14px 10px}.member-sidebar-title{font-size:16px;font-weight:700;padding:7px 9px 15px;border-bottom:1px solid var(--member-border);margin-bottom:10px}.member-standalone-document .member-directory details{margin:5px 0;border:0}.member-standalone-document .member-directory summary{padding:11px 9px;font-weight:700;color:var(--member-accent);cursor:pointer}.member-standalone-document .member-directory button{display:block;width:100%;text-align:left;padding:9px 10px;border:0;border-radius:6px;background:transparent;color:#42574d;font:inherit;line-height:1.45;cursor:pointer}.member-standalone-document .member-directory button:hover{background:var(--member-soft);color:var(--member-accent)}.member-standalone-document .member-kpi-grid{display:none}.member-standalone-document .member-summary-panel{display:grid;gap:16px}.member-summary-panel>section{background:white;border:1px solid var(--member-border);border-radius:10px;padding:17px}.member-summary-panel h2{font-size:16px;margin:0 0 14px}.member-summary-panel #member-summary-values>div{padding:12px 0;display:grid;gap:7px;border-bottom:1px solid #edf2ef}.member-summary-panel #member-summary-values span,.member-summary-hint{font-size:12px;color:#708178;line-height:1.7}.member-summary-panel strong{color:var(--member-accent);font-size:17px;overflow-wrap:anywhere}
.member-standalone-document .page-head{align-items:flex-start;gap:15px;flex-wrap:wrap}.member-standalone-document .page-head h1{font-size:25px;margin-top:4px}.member-standalone-document .page-actions{display:flex;flex-wrap:wrap;gap:7px;max-width:100%}.member-standalone-document .page-actions .button{padding:9px 11px;font-size:12px}.member-standalone-document .member-directory-table{max-height:calc(100dvh - 380px);min-height:220px;overflow:auto;border:1px solid #e1e8e4;border-radius:8px}.member-standalone-document .member-directory-table table{border-collapse:collapse;min-width:1700px;font-size:13px}.member-standalone-document .member-directory-table th{position:sticky;top:0;background:var(--member-soft);color:var(--member-accent);z-index:2}.member-standalone-document .member-directory-table th,.member-standalone-document .member-directory-table td{padding:11px;border-bottom:1px solid #edf2ef;white-space:nowrap}.member-standalone-document .member-row-actions{min-width:220px}.member-standalone-document .member-actions-grid{display:flex;flex-wrap:wrap;gap:5px;max-width:250px}.member-standalone-document .member-row-action{font-size:12px;padding:7px 8px}.member-standalone-document .member-row-action .member-action-icon{color:var(--member-accent)}.member-standalone-document .toolbar{display:flex;gap:10px;flex-wrap:wrap}.member-standalone-document .search-input{max-width:100%;min-width:130px}.member-standalone-document .member-directory-pages{justify-content:flex-end;font-size:12px;margin-top:15px}.member-standalone-document .button.primary{background:var(--member-accent);border-color:var(--member-accent)}.member-standalone-document input:focus,.member-standalone-document select:focus{outline:2px solid var(--member-border)}.member-standalone-document .dialog{max-height:calc(100dvh - 24px);max-width:calc(100vw - 24px);display:flex;flex-direction:column}.member-standalone-document .dialog-head{flex-shrink:0;background:var(--member-soft);position:sticky;top:0;z-index:1}.member-standalone-document .dialog-body{overflow:auto;min-height:0}.member-standalone-document .dialog .form-actions{position:sticky;bottom:0;background:white;padding:13px 0;margin-bottom:0}.member-standalone-document .login-screen{background:#f4f6f5!important}.member-standalone-document .login-panel{border-color:var(--member-border);box-shadow:0 15px 40px #223c2910}.member-standalone-document .login-panel .brand-mark{background:var(--member-soft);color:var(--member-accent)}
@media(max-width:1180px){html[data-standalone-module="membership"] body.member-standalone-document .app-layout{grid-template-columns:185px minmax(0,1fr) 180px;gap:12px;padding:12px}.member-top-nav{order:3;width:100%;justify-content:center}.member-standalone-document .member-shell-sidebar{top:135px;max-height:calc(100dvh - 151px)}.member-summary-panel>section{padding:12px}}@media(max-width:950px){html[data-standalone-module="membership"] body.member-standalone-document .app-layout{grid-template-columns:185px minmax(0,1fr)}.member-standalone-document .member-summary-panel{grid-column:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){html[data-standalone-module="membership"] body.member-standalone-document .topbar{padding:10px;gap:8px}.member-standalone-document .brand{min-width:125px}.member-top-nav{justify-content:flex-start;flex-wrap:nowrap!important;overflow:auto}.member-top-nav button{padding:9px;white-space:nowrap;font-size:12px}.member-standalone-document .topbar-actions{font-size:11px;gap:5px}.member-standalone-document .topbar-actions #user-label,.member-standalone-document #store-label{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html[data-standalone-module="membership"] body.member-standalone-document .app-layout{display:block!important;padding:9px}.member-standalone-document .member-shell-sidebar{position:static;max-height:220px;margin-bottom:12px}.member-standalone-document .member-directory{max-height:150px!important;overflow:auto}.member-sidebar-title{padding:4px 7px 9px;margin-bottom:5px}.member-standalone-document .member-directory details{display:inline-block;vertical-align:top;min-width:140px;margin-right:10px}.member-standalone-document .content-area{margin-bottom:12px}.member-standalone-document .page-head h1{font-size:21px}.member-standalone-document .member-summary-panel{display:grid;grid-template-columns:1fr;gap:10px}.member-standalone-document .dialog{width:calc(100vw - 16px)}.member-standalone-document .member-directory-table{max-height:55dvh}.member-standalone-document .toolbar .search-input{flex:1}.member-standalone-document .dialog-head{padding:12px}}
.member-standalone-document .modal-root{z-index:2000;padding:8px}.member-standalone-document .dialog{overflow:hidden}.member-standalone-document .dialog-body{flex:1 1 auto}.member-standalone-document .dialog-head{flex:0 0 auto}
@media(max-width:700px){html[data-feedback-surface="backend"] body.member-standalone-document .pos-effects-controls{position:static;max-width:calc(100vw - 20px);width:max-content;margin:10px 10px 14px auto;display:flex;justify-content:flex-end}}
html[data-standalone-module="membership"] body.member-standalone-document .topbar{height:auto!important;min-height:64px}.member-standalone-document .member-actions-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:220px;max-width:220px}.member-standalone-document .member-actions-grid .member-row-action{min-height:36px;padding:6px 7px;font-size:11px}.member-standalone-document #member-table .member-row-actions{min-width:235px;width:235px;max-width:235px}

/* A single working area; account totals keep their existing page/store labels. */
html[data-standalone-module="membership"] body.member-standalone-document .app-layout{grid-template-columns:180px minmax(0,1fr)!important;grid-template-areas:"navigation metrics" "navigation content";gap:16px;max-width:1680px;margin:auto}
.member-standalone-document .member-shell-sidebar{grid-area:navigation}.member-standalone-document #content-area{grid-area:content;padding:22px!important;border-radius:16px!important}.member-standalone-document .member-summary-panel{grid-area:metrics;display:block!important}.member-summary-panel>section+section{display:none}.member-summary-panel>section{padding:14px 20px;border-radius:14px}.member-summary-panel h2{font-size:13px;color:var(--muted,#708178);margin-bottom:10px}.member-summary-panel #member-summary-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.member-summary-panel #member-summary-values>div{padding:2px 0;border:0;gap:5px}.member-summary-panel strong{font-size:21px}
.member-standalone-document .page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.member-standalone-document .page-head .eyebrow{display:none}.member-standalone-document .page-head h1{font-size:26px;margin:0 0 8px}.member-standalone-document .page-head p{margin:0;color:#708178}.member-standalone-document .page-actions{align-items:center;gap:10px}.member-actions-more110{position:relative}.member-actions-more110>summary{cursor:pointer;border:1px solid var(--member-border);padding:10px 14px;border-radius:8px;list-style:none;background:var(--member-soft);color:var(--member-accent);font-weight:700}.member-actions-more110>div{position:absolute;right:0;top:calc(100% + 8px);z-index:10;width:min(480px,calc(100vw - 50px));display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:16px;border:1px solid var(--member-border);border-radius:12px;background:var(--appearance-surface,#fff);box-shadow:0 14px 35px #153a2820}.member-actions-more110:not([open])>div{display:none}.member-actions-more110 a{text-decoration:none}.member-actions-more110 .button{text-align:center;justify-content:center}
.member-standalone-document #content-area>.toolbar:not(.member-directory-pages){display:grid;grid-template-columns:auto minmax(180px,1fr) minmax(110px,150px) minmax(110px,150px);align-items:center;padding:14px;background:var(--member-soft);border-radius:12px;margin-bottom:18px}.member-standalone-document #member-search{width:100%;min-width:0}.member-standalone-document .member-directory-compact110{max-height:none;min-height:200px;overflow:visible}.member-standalone-document .member-directory-compact110 table{width:100%;min-width:0;font-size:13px}.member-directory-compact110 td:first-child strong,.member-directory-compact110 td:first-child small{display:block}.member-directory-compact110 td:first-child small{margin-top:6px;font-size:11px;color:#708178}.member-directory-compact110 .member-quick-actions110{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.member-directory-compact110 .member-row-action{padding:7px 9px;border-radius:8px;font-size:12px}.member-row-more110>summary{cursor:pointer;color:var(--member-accent);font-weight:700;font-size:12px;padding:8px 4px}.member-row-more110>div{display:grid;gap:7px;padding:9px;background:var(--member-soft);border-radius:9px}.member-row-more110>div p{margin:3px 0;line-height:1.7;font-size:12px;white-space:normal;overflow-wrap:anywhere}.member-row-more110:not([open])>div{display:none}
@media(max-width:1180px){.member-standalone-document .member-directory-compact110 table,.member-standalone-document .member-directory-compact110 tbody{display:block}.member-standalone-document .member-directory-compact110 thead{display:none}.member-standalone-document .member-directory-compact110 tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px;border-bottom:1px solid var(--member-border)}.member-standalone-document .member-directory-compact110 td{display:block;border:0!important;padding:0!important;white-space:normal!important;min-width:0}.member-directory-compact110 td:before{content:attr(data-label);display:block;font-size:11px;color:#708178;margin-bottom:6px}.member-directory-compact110 td:first-child{grid-column:1/-1}.member-directory-compact110 td:first-child:before,.member-directory-compact110 td:last-child:before{display:none}.member-directory-compact110 td:last-child{grid-column:1/-1}.member-standalone-document #content-area>.toolbar:not(.member-directory-pages){grid-template-columns:repeat(2,minmax(0,1fr))}.member-standalone-document #member-search{grid-column:2}.member-directory-compact110 .member-quick-actions110{align-items:start}.member-directory-compact110 .member-row-more110[open]{flex:1 1 100%}}
@media(max-width:760px){html[data-standalone-module="membership"] body.member-standalone-document .app-layout{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"metrics" "content" "navigation";padding:10px}.member-standalone-document .member-shell-sidebar{position:static;max-height:300px}.member-summary-panel #member-summary-values{gap:8px}.member-summary-panel strong{font-size:16px}.member-summary-panel>section{padding:12px}.member-standalone-document #content-area{padding:14px!important}.member-standalone-document .member-directory-compact110 tr{grid-template-columns:repeat(2,minmax(0,1fr))}.member-standalone-document .topbar{position:static!important}}
.member-standalone-document .member-directory-compact110 .member-row-action{display:inline-flex;flex-direction:row;align-items:center;gap:6px;font-size:13px}.member-directory-compact110 td:first-child>strong{font-size:15px}
