*{box-sizing:border-box}.member-page main{width:min(1040px,100%);padding-bottom:90px}.member-back{display:inline-block;color:#17613c;text-decoration:none;font-weight:800;margin:12px 0}.member-hero{text-align:center;padding:18px 20px 25px}.member-hero img{max-width:145px;height:auto;margin:auto;display:block}.member-eyebrow{font-size:12px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#9d6255}.member-hero h1{font-size:clamp(30px,5vw,47px);margin:8px 0;color:#292e2c}.member-hero p{max-width:70ch;margin:8px auto;line-height:1.75;color:#625b55}.member-packs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:12px 0 25px}.member-pack{background:#fff;border:1px solid #ebddcf;padding:23px 25px;border-radius:24px;box-shadow:0 11px 24px #65431a0a}.member-pack h2{margin:0;font-size:19px}.member-pack strong{display:block;font-size:clamp(25px,4vw,40px);color:#1d784a;margin-top:13px}.member-pack p{font-weight:850;font-size:19px}.member-pack small{font-size:12px;color:#666;line-height:1.5}.member-card{background:#fff;border:1px solid #e9ddcf;border-radius:24px;padding:clamp(18px,4vw,32px);box-shadow:0 12px 32px #5d321210;margin-bottom:20px}.member-card>p{font-size:14px;line-height:1.7;color:#665b54}.member-card h2{margin:0 0 12px}.member-card h3{margin:24px 0 13px}.member-tabs,.member-buy-row{display:flex;flex-wrap:wrap;gap:10px;margin:17px 0 24px}.member-tabs button,.member-primary,.member-secondary{font:inherit;font-weight:800;padding:12px 17px;min-height:44px;border-radius:12px;cursor:pointer;border:1px solid #228353}.member-tabs button,.member-secondary{color:#1b7346;background:#fff}.member-tabs button[aria-pressed=true],.member-primary{background:#197447;color:#fff;-webkit-text-fill-color:#fff}.member-primary:disabled{opacity:.55;cursor:wait}.member-card form{display:grid;gap:15px;max-width:580px}.member-card form label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:800;color:#4e4946}.member-card form input,.member-card form select{min-height:48px;padding:10px 13px;border:1px solid #d6d0c7;border-radius:12px;font-size:16px;background:#fff;color:#302c2a;width:100%}.member-card form .member-primary{justify-self:start}.member-balances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.member-balances>div{background:#eef8ed;border:1px solid #c4dcbc;padding:20px;border-radius:18px}.member-balances span,.member-balances small{display:block;font-size:13px}.member-balances strong{display:block;font-size:44px;color:#197447;margin:7px 0}.member-heading{display:flex;align-items:start;justify-content:space-between;gap:14px}.member-heading p{color:#69615b}.member-card details{border:1px solid #e4d8cc;border-radius:14px;padding:14px;margin:14px 0}.member-card details summary{cursor:pointer;font-weight:900;color:#216c45}.member-card details form{margin-top:18px}.member-foot{text-align:center;font-size:14px;color:#635b55}.member-foot a{color:#1b7346;font-weight:850}#memberAuthMessage,#memberActionMessage{font-weight:800;color:#186b43;font-size:13px}#memberAuthMessage[data-error=true],#memberActionMessage[data-error=true]{color:#ac3831}#purchaseHistory p{border-bottom:1px solid #eee8e0;padding:10px 0;font-size:13px}@media(max-width:650px){.member-packs,.member-balances{grid-template-columns:1fr}.member-card{padding:17px}.member-heading{flex-direction:column}.member-tabs button{flex:1;font-size:12px}.member-buy-row{flex-direction:column}.member-buy-row button{width:100%}.member-card form .member-primary{width:100%}}

/* Keep selected actions legible against global brand styling on small screens. */
body.member-page.sj-ci--booking .member-card .member-tabs button[aria-pressed="true"],
body.member-page.sj-ci--booking .member-card .member-primary {
 color:#fff!important;-webkit-text-fill-color:#fff!important;
 background:#197447!important;
}

/* Login-first member portal: compact on iPhone and iPad. */
body.member-page main{width:min(710px,100%);padding:12px 14px 50px}
body.member-page .member-hero{padding:9px 12px 13px}
body.member-page .member-hero img{width:95px;max-width:95px;margin:0 auto 6px}
body.member-page .member-hero h1{font-size:clamp(26px,4vw,32px);line-height:1.2;margin:2px 0 4px}
body.member-page .member-hero p{font-size:13px;margin:2px auto;line-height:1.4}
body.member-page .member-card{padding:clamp(17px,3vw,25px);border-radius:19px;margin-bottom:13px}
body.member-page .member-card h2{font-size:22px;margin:0 0 12px}
body.member-page .member-card h3{font-size:17px;margin:18px 0 10px}
body.member-page .member-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:8px 0 17px}
body.member-page .member-tabs button{font-size:12px;line-height:1.3;padding:9px 7px;min-height:46px}
body.member-page .member-card form{gap:12px}
body.member-page .member-card form input{min-height:44px;padding:9px 12px}
body.member-page .member-card form .member-primary{min-height:46px}
body.member-page .member-balances{gap:10px}
body.member-page .member-balances>div{padding:15px;border-radius:13px}
body.member-page .member-balances strong{font-size:34px;margin:3px 0}
body.member-page .member-card details{padding:11px 13px;margin:9px 0}
body.member-page .member-card details summary{font-size:13px}
body.member-page #memberContact{font-size:12px;overflow-wrap:anywhere}
@media(max-width:650px){
 body.member-page main{padding:11px 12px 40px}
 body.member-page .member-balances{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.member-page .member-heading{gap:7px}
 body.member-page .member-hero img{width:82px}
 body.member-page .member-card{padding:15px}
 body.member-page .member-tabs button{font-size:11px}
 body.member-page .member-card form .member-primary{width:100%}
}

/* Country-code selector shared by member sign-in, setup and email recovery. */
body.member-page .member-card form .member-phone-row{
 display:grid;grid-template-columns:minmax(110px,130px) minmax(0,1fr);
 align-items:stretch;gap:9px;width:100%;min-width:0;
}
body.member-page .member-card form .member-phone-row :is(select,input){
 width:100%;min-width:0;min-height:46px;border-radius:12px;
 font-size:16px;background:#fff;color:#302c2a;
}
body.member-page .member-card form .member-phone-row select{
 padding:9px 7px;border:1px solid #d6d0c7;cursor:pointer;
}
@media(max-width:380px){
 body.member-page .member-card form .member-phone-row{grid-template-columns:108px minmax(0,1fr);gap:7px}
}

/* Current VIP scheme: show one large, clear remaining-visits balance. */
body.member-page .member-balances{grid-template-columns:minmax(0,1fr)}
body.member-page .member-balances>div{padding:21px 25px;border:2px solid #b7d2bf}
body.member-page .member-balances span{font-size:17px;font-weight:850}
body.member-page .member-balances strong{font-size:clamp(42px,7vw,57px)}
body.member-page .member-balances small{font-size:16px}
