:root{color-scheme:light;--orange:#f15a24;--yellow:#ffcf32;--ink:#222;--muted:#737373;--line:#e9e9e9;--soft:#fff8e7}
*{box-sizing:border-box}
body{margin:0;background:#fffaf3;color:var(--ink);font-family:Inter,Arial,sans-serif;line-height:1.5}
.topbar{height:68px;padding:0 clamp(18px,5vw,64px);display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line)}
.brand{font-size:25px;font-weight:800;letter-spacing:-1.3px;text-decoration:none;color:#252525}.brand b{color:var(--orange)}
.back-link{color:#444;text-decoration:none;font-size:14px;font-weight:600}
.shell{width:min(100% - 32px,1040px);margin:40px auto 56px;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,440px);gap:clamp(28px,6vw,72px);align-items:center}
.intro{padding:12px 0}.eyebrow{font-size:12px;font-weight:800;letter-spacing:2px;color:#bd4a19}
h1{font-size:clamp(34px,5vw,54px);line-height:1.08;letter-spacing:-2px;margin:14px 0}
.intro>p{font-size:17px;color:#666;max-width:420px}
.benefit-row{display:grid;gap:12px;margin-top:28px}.benefit-row span{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:650}.benefit-row span:before{content:"✓";display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fff0d5;color:#b94b16;font-weight:900}
.panel{background:#fff;border:1px solid #eee;border-radius:22px;padding:clamp(20px,4vw,32px);box-shadow:0 16px 48px #5429000b}
.tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;background:#f5f5f5;border-radius:12px;margin-bottom:24px}
.tab{border:0;background:transparent;padding:11px 8px;border-radius:9px;font:inherit;font-size:14px;font-weight:700;color:#666;cursor:pointer}
.tab.active{background:#fff;color:var(--orange);box-shadow:0 1px 5px #0000000c}
h2{font-size:25px;letter-spacing:-.7px;margin:0 0 4px}.muted{color:var(--muted);font-size:14px;margin:0 0 22px}
form{display:grid;gap:9px}label{font-size:13px;font-weight:700;margin-top:7px}
input{width:100%;min-height:46px;border:1px solid #ddd;border-radius:10px;padding:12px 13px;font:inherit;font-size:15px;background:#fff}
input:focus{outline:3px solid #f15a2420;border-color:var(--orange)}
.primary{margin-top:12px;min-height:48px;border:0;border-radius:11px;background:var(--orange);color:#fff;font:inherit;font-weight:800;cursor:pointer}.primary:hover{background:#d94a19}
.form-foot{text-align:center;font-size:13px;color:#666;margin:20px 0 0}.text-button{border:0;background:none;color:#d94a19;font:inherit;font-weight:800;cursor:pointer;padding:0}
.fee-card{display:grid;gap:12px;background:var(--soft);border:1px solid #f4e2b3;border-radius:12px;padding:14px;margin:0 0 18px}
.fee-card div{display:grid;gap:2px}.fee-card span{font-size:12px;color:#725c2e}.fee-card strong{font-size:20px;color:#a94b12}
.fine-print,.security-note{font-size:12px;color:#777}.fine-print{margin:14px 0 0}.security-note{grid-column:1/-1;text-align:center;margin:0}
.notice{font-size:12px;color:#725c2e;background:#fff8e7;border:1px solid #f3e1ae;padding:10px 12px;border-radius:9px;margin:-8px 0 20px}
[hidden]{display:none!important}
@media(max-width:760px){.shell{grid-template-columns:1fr;max-width:480px;margin-top:26px;gap:22px}.intro{padding:0}.intro>p{font-size:15px}.benefit-row{grid-template-columns:1fr;gap:9px;margin-top:18px}.panel{border-radius:18px}.security-note{grid-column:auto}.topbar{height:60px}}


[hidden] { display: none !important; }
.member-dashboard, .payment-panel { margin-top: 1.25rem; padding: 1.25rem; border: 1px solid #ead8bc; border-radius: 16px; background: #fffdf8; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dashboard-heading h2 { margin: .3rem 0; }
.wallet-card { display: grid; gap: .4rem; margin: 1rem 0; padding: 1.1rem; border-radius: 12px; background: #fff0d6; }
.wallet-card strong { color: #9a4c00; font-size: 1.8rem; }
.wallet-card small, .fine-print { overflow-wrap: anywhere; }
.dashboard-action { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #ead8bc; }
.dashboard-action label { display: block; margin-bottom: .45rem; }
.dashboard-action input { width: 100%; box-sizing: border-box; margin-bottom: .8rem; }
.secondary { border: 1px solid #d5c3aa; border-radius: 9px; padding: .65rem .9rem; background: white; color: #4b3826; cursor: pointer; }
.payment-panel img { display: block; width: min(100%, 320px); max-height: 320px; object-fit: contain; margin: 1rem auto; }
.payment-panel pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.payment-panel a { display: inline-block; margin: .5rem 0 1rem; color: #914900; }
#check-payment-button { margin-top: .8rem; }
@media (max-width: 520px) {
  .member-dashboard, .payment-panel { padding: 1rem; }
  .dashboard-heading { align-items: flex-start; }
  .wallet-card strong { font-size: 1.55rem; }
}

.notice.error { color: #a61b1b; background: #fff0f0; border-color: #f3c2c2; }
button:disabled { opacity: .65; cursor: wait; }

.payment-panel canvas { display: block; width: min(100%, 320px); height: auto; margin: 1rem auto; }

#wallet-product, #wallet-order-fields input, #wallet-order-fields textarea {
  width: 100%; box-sizing: border-box; min-height: 46px; border: 1px solid #ddd;
  border-radius: 10px; padding: 12px 13px; font: inherit; font-size: 14px; background: #fff;
}
#wallet-product:focus, #wallet-order-fields input:focus, #wallet-order-fields textarea:focus {
  outline: 3px solid #f15a2420; border-color: var(--orange);
}
#wallet-order-fields { display: grid; gap: 8px; }
#wallet-order-fields textarea { resize: vertical; }
#wallet-order-result { overflow-wrap: anywhere; }


/* Member login refresh: warm DigitalEVO yellow/orange palette */
:root{--orange:#f5a900;--yellow:#ffd32a;--ink:#182033;--muted:#77849b;--line:#e5eaf2;--soft:#fff9e8}
body{background:#f5f5f3;color:#182033}
.topbar{background:linear-gradient(105deg,#ffd52b 0%,#ffbf19 65%,#ffa51b 100%);border:0;min-height:76px;box-shadow:0 4px 18px #8f650014}
.brand{color:#17191f}.brand b{color:#f15a24}
.back-link{color:#252525}
.shell{width:min(100% - 40px,1120px);grid-template-columns:minmax(0,.92fr) minmax(360px,1.08fr);gap:22px;align-items:start;margin:22px auto 44px}
.intro{background:linear-gradient(135deg,#fff9dc 0%,#fff 100%);border:1px solid #ffe08a;border-radius:22px;padding:30px;box-shadow:0 16px 45px #242b3509}
.eyebrow{color:#b97700;letter-spacing:1.4px}
h1{font-size:clamp(32px,4vw,46px);letter-spacing:-1.5px}
.intro>p{color:#5f6d80}
.benefit-row{gap:10px}
.benefit-row span{padding:13px 14px;border:1px solid #f2e3b9;border-radius:13px;background:#fffdf6}
.benefit-row span:before{background:#ffbd00;color:#fff;flex:0 0 24px}
.panel{border:1px solid #f1dfaa;border-radius:22px;padding:clamp(22px,3.5vw,34px);box-shadow:0 18px 52px #272b350c}
.tabs{background:#fff5d7}
.tab.active{color:#a96b00}
h2{font-size:27px;text-align:center}
#login-view>.muted,#register-view>.muted{text-align:center}
.login-brand{display:flex;justify-content:center;align-items:center;margin:0 auto 10px;width:min(100%,300px);min-height:66px}
.login-logo-word{display:flex;align-items:baseline;justify-content:center;gap:0;font-size:clamp(34px,5vw,46px);font-weight:850;letter-spacing:-2.5px;line-height:1.15;color:#17191f}
.login-logo-word strong{font-weight:900;color:#f15a24;letter-spacing:-1.5px}
.intro h1{font-size:clamp(27px,3.3vw,36px);line-height:1.18;letter-spacing:-1px;margin:14px 0}
.intro>p{font-size:15px;line-height:1.8}
.benefit-row span{align-items:flex-start;line-height:1.5}
.benefit-row span:before{margin-top:1px;}
#login-view #panel-title{margin-bottom:2px}
#login-form{gap:8px}
#login-form label:not(.remember-row){margin-top:7px}
input{background:#fff9e9;border-color:#ffe2a0;border-radius:12px;min-height:49px}
input:focus{outline:3px solid #ffbd0028;border-color:#f5b000}
.primary{background:linear-gradient(100deg,#f4a400,#ffc400);color:#241b00;box-shadow:0 8px 18px #d98e0024}
.primary:hover{background:linear-gradient(100deg,#e99a00,#f6b900)}
.remember-row{display:flex;align-items:center;gap:9px;margin:5px 0 2px!important;color:#6d788d;font-size:14px;font-weight:600;cursor:pointer}
.remember-row input{appearance:auto;width:18px;height:18px;min-height:18px;margin:0;accent-color:#efa500;border-radius:4px;flex:0 0 18px}
.form-foot{border-top:1px solid #e8eaf0;padding-top:18px}
.text-button{color:#d88d00}
.fee-card{background:#fff9e8;border-color:#f2dfad}
.fee-card strong{color:#ad7000}
.notice{background:#fff8df;border-color:#f5dfa0}
.member-dashboard,.payment-panel{border-color:#f0dda8;background:#fffdf6}
.wallet-card{background:#fff0c7}
.wallet-card strong{color:#a56b00}
.payment-panel a{color:#a76a00}
.security-note{color:#7b8493}




.member-dashboard, .payment-panel { margin-top: 1.25rem; padding: 1.25rem; border: 1px solid #ead8bc; border-radius: 16px; background: #fffdf8; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dashboard-heading h2 { margin: .3rem 0; }
.wallet-card { display: grid; gap: .4rem; margin: 1rem 0; padding: 1.1rem; border-radius: 12px; background: #fff0d6; }
.wallet-card strong { color: #9a4c00; font-size: 1.8rem; }
.wallet-card small, .fine-print { overflow-wrap: anywhere; }
.dashboard-action { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #ead8bc; }
.dashboard-action label { display: block; margin-bottom: .45rem; }
.dashboard-action input { width: 100%; box-sizing: border-box; margin-bottom: .8rem; }
.secondary { border: 1px solid #d5c3aa; border-radius: 9px; padding: .65rem .9rem; background: white; color: #4b3826; cursor: pointer; }
.payment-panel img { display: block; width: min(100%, 320px); max-height: 320px; object-fit: contain; margin: 1rem auto; }
.payment-panel pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.payment-panel a { display: inline-block; margin: .5rem 0 1rem; color: #914900; }
#check-payment-button { margin-top: .8rem; }
@media (max-width: 520px) {
  .member-dashboard, .payment-panel { padding: 1rem; }
  .dashboard-heading { align-items: flex-start; }
  .wallet-card strong { font-size: 1.55rem; }
}

.notice.error { color: #a61b1b; background: #fff0f0; border-color: #f3c2c2; }
button:disabled { opacity: .65; cursor: wait; }

.payment-panel canvas { display: block; width: min(100%, 320px); height: auto; margin: 1rem auto; }

#wallet-product, #wallet-order-fields input, #wallet-order-fields textarea {
  width: 100%; box-sizing: border-box; min-height: 46px; border: 1px solid #ddd;
  border-radius: 10px; padding: 12px 13px; font: inherit; font-size: 14px; background: #fff;
}
#wallet-product:focus, #wallet-order-fields input:focus, #wallet-order-fields textarea:focus {
  outline: 3px solid #f15a2420; border-color: var(--orange);
}
#wallet-order-fields { display: grid; gap: 8px; }
#wallet-order-fields textarea { resize: vertical; }
#wallet-order-result { overflow-wrap: anywhere; }




/* Unified DigitalEVO Member layout */
:root{--orange:#f5a900;--yellow:#ffd32a;--ink:#182033;--muted:#77849b;--line:#e5eaf2;--soft:#fff9e8}
body{background:#f5f5f3;color:var(--ink)}
.topbar{background:linear-gradient(105deg,#ffd52b 0%,#ffbf19 65%,#ffa51b 100%);border:0;min-height:76px;box-shadow:0 4px 18px #8f650014}
.brand{color:#17191f}.brand b{color:#f15a24}.back-link{color:#252525}
.shell{width:min(calc(100% - 40px),1200px);margin:28px auto 44px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:24px;align-items:start}
.intro{grid-column:1;grid-row:1;min-width:0;background:linear-gradient(135deg,#fff9dc 0%,#fff 100%);border:1px solid #ffe08a;border-radius:22px;padding:30px;box-shadow:0 16px 45px #242b3509}
.eyebrow{color:#b97700;letter-spacing:1.4px}
h1{font-size:clamp(27px,3.3vw,36px);line-height:1.18;letter-spacing:-1px;margin:14px 0}
.intro>p{font-size:15px;line-height:1.8;color:#5f6d80;max-width:100%}
.benefit-row{display:grid;gap:10px;margin-top:20px}
.benefit-row span{display:flex;align-items:flex-start;gap:10px;padding:13px 14px;border:1px solid #f2e3b9;border-radius:13px;background:#fffdf6;font-size:14px;font-weight:650;line-height:1.5}
.benefit-row span:before{content:"✓";display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;margin-top:1px;border-radius:50%;background:#ffbd00;color:#fff;font-weight:900}
.panel{grid-column:2;grid-row:1;min-width:0;background:#fff;border:1px solid #f1dfaa;border-radius:22px;padding:clamp(20px,3vw,30px);box-shadow:0 18px 52px #272b350c}
.tabs{background:#fff5d7}
.tab.active{color:#a96b00}
h2{font-size:25px;letter-spacing:-.7px;margin:0 0 4px}
#login-view>.muted,#register-view>.muted{text-align:center}
.login-brand{display:flex;justify-content:center;align-items:center;margin:0 auto 10px;width:min(100%,300px);min-height:66px}
.login-logo-word{display:flex;align-items:baseline;justify-content:center;gap:0;font-size:clamp(34px,5vw,46px);font-weight:850;letter-spacing:-2.5px;line-height:1.15;color:#17191f}
.login-logo-word strong{font-weight:900;color:#f15a24;letter-spacing:-1.5px}
#login-view #panel-title{margin-bottom:2px}
#login-form{gap:8px}
#login-form label:not(.remember-row){margin-top:7px}
input{background:#fff9e9;border-color:#ffe2a0;border-radius:12px;min-height:46px}
input:focus{outline:3px solid #ffbd0028;border-color:#f5b000}
.primary{background:linear-gradient(100deg,#f4a400,#ffc400);color:#241b00;box-shadow:0 8px 18px #d98e0024}
.primary:hover{background:linear-gradient(100deg,#e99a00,#f6b900)}
.remember-row{display:flex;align-items:center;gap:9px;margin:5px 0 2px!important;color:#6d788d;font-size:14px;font-weight:600;cursor:pointer}
.remember-row input{appearance:auto;width:18px;height:18px;min-height:18px;margin:0;accent-color:#efa500;border-radius:4px;flex:0 0 18px}
.form-foot{border-top:1px solid #e8eaf0;padding-top:18px}
.text-button{color:#d88d00}
.fee-card{background:#fff9e8;border-color:#f2dfad}.fee-card strong{color:#ad7000}
.notice{background:#fff8df;border-color:#f5dfa0}
.member-dashboard,.payment-panel{border-color:#f0dda8;background:#fffdf6}
.wallet-card{background:#fff0c7}.wallet-card strong{color:#a56b00}
.payment-panel a{color:#a76a00}
.security-note{color:#7b8493}
.member-product-catalog{grid-column:1;grid-row:1;min-width:0;background:#fff;border:1px solid #f1dfaa;border-radius:22px;padding:22px;box-shadow:0 18px 52px #272b350c}
.member-product-catalog h2{text-align:left;margin:0 0 6px}
.member-product-catalog>.muted{margin-bottom:18px}
.member-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.member-product-card{border:1px solid #ececec;border-radius:14px;background:#fff;overflow:hidden;display:flex;flex-direction:column;min-width:0}
.member-product-card img{display:block;width:100%;height:145px;object-fit:contain;background:#fffaf0;padding:8px}
.member-product-card .member-product-info{padding:12px;display:grid;gap:7px;flex:1}
.member-product-card h3{font-size:14px;line-height:1.35;margin:0;color:#20283a;overflow-wrap:anywhere}
.member-product-card .member-price{font-size:17px;font-weight:850;color:#a96b00}
.member-product-card .regular-price{font-size:12px;color:#8a8a8a;text-decoration:line-through}
.member-product-card button{border:0;border-radius:9px;background:#ffc21a;color:#28200a;font:inherit;font-size:13px;font-weight:800;padding:10px;cursor:pointer;margin-top:auto}
.member-product-card.is-selected{border:2px solid #f5a900;box-shadow:0 0 0 2px #f5a9001c}
#wallet-product{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important}
#member-intro[hidden],#member-product-catalog[hidden]{display:none!important}
.shell:has(#member-intro[hidden]):has(#member-product-catalog[hidden])>.panel{grid-column:1/-1;max-width:760px;width:100%;justify-self:center}
@media(max-width:760px){
 .topbar{height:60px;min-height:60px}
 .shell{width:min(calc(100% - 32px),560px);grid-template-columns:minmax(0,1fr);gap:16px;margin:20px auto 36px}
 #member-intro,#member-product-catalog,.shell>.panel{grid-column:1;grid-row:auto;width:100%;max-width:none;min-width:0}
 .intro{padding:22px}
 .panel{padding:18px;border-radius:18px}
 .member-product-catalog{padding:16px}
 .member-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .member-product-card img{height:120px}
 .login-brand{width:min(100%,240px);min-height:56px}
 .login-logo-word{font-size:38px}
 .intro h1{font-size:29px}
 .member-dashboard,.payment-panel{padding:1rem}
 .dashboard-heading{align-items:flex-start}
 .wallet-card strong{font-size:1.55rem}
 .security-note{grid-column:auto}
}
@media(max-width:380px){.member-product-grid{grid-template-columns:1fr}.member-product-card img{height:150px}}


/* Member catalog: stable category sections and ordered product cards */
#member-product-grid.member-product-grid {
  display: block;
  min-width: 0;
}
.member-product-group {
  display: block;
  min-width: 0;
  margin: 0 0 28px;
}
.member-product-group:last-child {
  margin-bottom: 0;
}
.member-product-group-title {
  display: block;
  margin: 0 0 14px;
  padding: 0 0 10px;
  border-bottom: 2px solid #f4c542;
  color: #242424;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 850;
}
.member-product-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.member-product-category-grid .member-product-card {
  width: 100%;
  min-width: 0;
  height: 100%;
}
.member-product-category-grid .member-product-card h4 {
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  color: #20283a;
  overflow-wrap: anywhere;
}
@media (max-width: 560px) {
  .member-product-catalog { padding: 14px; }
  .member-product-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .member-product-group { margin-bottom: 24px; }
  .member-product-group-title { font-size: 16px; }
  .member-product-card img { height: 112px; }
  .member-product-card .member-product-info { padding: 9px; gap: 6px; }
  .member-product-category-grid .member-product-card h4 { font-size: 12px; }
  .member-product-card .member-price { font-size: 15px; }
}


/* Membership benefits: green bullet dots */
#member-intro .benefit-row span{display:flex;align-items:flex-start;gap:10px;padding:0;border:0;border-radius:0;background:transparent;font-size:14px;font-weight:650;line-height:1.6}
#member-intro .benefit-row span:before{content:"";display:block;flex:0 0 9px;width:9px;height:9px;margin-top:7px;border-radius:50%;background:#22a447;color:transparent;box-shadow:0 0 0 3px #22a4471a}
#member-intro .benefit-row strong{margin-left:4px}

/* Member dashboard clarity and login state */
.wallet-card .wallet-title { display:block; font-size:1rem; font-weight:900; color:#182033; }
#member-phone-label { color:#182033; font-size:15px; font-weight:900; letter-spacing:.2px; overflow-wrap:anywhere; }
#member-phone-label:empty { display:none; }

/* Selected member package and deposit heading */
#wallet-product-label {
  display:block;
  color:#1769c2;
  font-weight:900;
  line-height:1.5;
  overflow-wrap:anywhere;
}
#wallet-price {
  color:#16803c;
  font-weight:900;
  font-size:15px;
}
#wallet-pay-button { font-weight:900; }
.deposit-section-title {
  margin:0 0 14px;
  text-align:left;
  font-size:18px;
  font-weight:900;
  color:#182033;
}


/* Membership comment quantity validation and contact navigation */
.topbar-links{display:flex;align-items:center;justify-content:flex-end;gap:clamp(14px,2.8vw,30px);flex-wrap:wrap}
.topbar-links a{white-space:nowrap}
.admin-contact-link{color:#242424;text-decoration:none;font-size:14px;font-weight:800;padding:8px 0}
.admin-contact-link:hover,.back-link:hover{text-decoration:underline;text-underline-offset:4px}
#member-phone-label{display:flex;align-items:center;gap:9px}
.whatsapp-mark{display:inline-flex;align-items:center;justify-content:center;flex:0 0 25px;width:25px;height:25px;border-radius:50%;background:#25D366;color:white;font-size:17px;line-height:1}
#member-comment-text{min-height:190px;resize:vertical;white-space:pre-wrap}
.comment-counter{display:block;margin-top:5px;font-size:13px;font-weight:800;color:#a66a00}
.comment-counter.is-valid{color:#16803c}
.comment-counter.is-invalid{color:#c62828}
@media(max-width:480px){.topbar-links{gap:12px}.topbar-links a{font-size:12px}.brand{font-size:22px}}


/* Auth page header spacing and interaction reliability */
.topbar{padding-left:clamp(24px,6vw,76px);padding-right:clamp(28px,7vw,84px);gap:18px}
.topbar-links{margin-right:4px;gap:clamp(16px,3vw,32px)}
.topbar-links a{display:inline-flex;align-items:center;min-height:40px;position:relative;z-index:1}
.tabs .tab,.text-button{position:relative;z-index:1;pointer-events:auto;touch-action:manipulation}
@media(max-width:760px){.topbar{padding-left:20px;padding-right:22px;gap:10px}}
@media(max-width:420px){.topbar{padding-left:14px;padding-right:16px}.brand{font-size:22px}.topbar-links{gap:10px}.topbar-links a{font-size:11px}}

/* Compact expandable member order history */
.member-history-widget{margin:8px 0 14px;border:1px solid #d9e2e8;border-radius:10px;overflow:hidden;max-width:100%}
.member-history-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:34px;padding:8px 11px;border:0;background:#16a34a;color:#fff;font-family:inherit;font-size:12px;line-height:1.2;font-weight:700;cursor:pointer;text-align:left}
.member-history-toggle span{font-size:16px;line-height:1}
.member-history-panel{padding:9px;background:#fff;border-top:1px solid #d1d5db}
.member-history-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px}
.member-history-heading button{border:1px solid #d1d5db;border-radius:6px;background:#fff;padding:4px 7px;font:inherit;font-size:10px;cursor:pointer}
.member-history-message{margin:6px 0;color:#64748b;font-size:10px;line-height:1.4}
.member-history-list{display:grid;gap:6px;max-height:300px;overflow:auto}
.member-history-item{border:1px solid #e2e8f0;border-radius:7px;padding:7px 8px;font-size:10px;min-width:0;overflow-wrap:anywhere}
.member-history-item-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.member-history-item-top strong{font-size:10px;line-height:1.4;font-weight:750;min-width:0}
.member-history-item p{margin:4px 0;color:#475569;font-size:10px;line-height:1.4;white-space:pre-wrap}
.member-history-item small{display:block;color:#64748b;font-size:9px;line-height:1.4}
.history-amount{font-size:10px;white-space:nowrap}
.history-amount.credit{color:#15803d}.history-amount.debit{color:#dc2626}
.member-history-empty{margin:5px 0;color:#64748b;font-size:10px}
