/* StockStair membership pages: Pricing, checkout, My membership, "members only" lock. */
.ms-wrap{max-width:1180px;margin:0 auto;padding:28px 20px 48px;color:#1E3327;font-size:14px}
.ms-narrow{max-width:720px}
.ms-eyebrow{color:#238B43;font-size:11px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase}
.ms-hero{text-align:center;max-width:720px;margin:0 auto 26px}
.ms-hero h1{font-size:32px;line-height:1.2;color:#07351F;font-weight:900;margin:6px 0 8px}
.ms-hero p{color:#6E7F73;margin:0}
.ms-title{font-size:26px;color:#07351F;font-weight:900;margin:4px 0 14px}
.ms-card{background:#fff;border:1px solid #E3EAE3;border-radius:16px;box-shadow:0 6px 22px rgba(7,53,31,.07);padding:20px;margin-bottom:14px}
.ms-empty{text-align:center;color:#6E7F73;padding:40px}
.ms-small{font-size:12px;color:#6E7F73;margin:6px 0 0}
.ms-center{text-align:center;margin-top:20px}
.ms-note{border-radius:12px;padding:11px 14px;margin:12px 0;font-size:13.5px;text-align:left}
.ms-note.ok{background:#EAF6E8;color:#1d6b33}.ms-note.err{background:#FDECEC;color:#B42318}.ms-note.warn{background:#FFF4DB;color:#7a4f00}
.ms-note a{font-weight:800;color:inherit;text-decoration:underline}
.ms-h2{font-size:16px;font-weight:800;color:#07351F;margin:0 0 10px;display:flex;align-items:center;gap:8px}
.ms-h2.mt{margin-top:22px}
.err{color:#B42318}

/* plans */
.ms-plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,350px));justify-content:center;gap:18px;align-items:stretch}
.ms-plan{position:relative;background:#fff;border:1px solid #E3EAE3;border-radius:18px;padding:24px 22px;display:flex;flex-direction:column;box-shadow:0 6px 22px rgba(7,53,31,.07)}
.ms-plan.hot{border:2px solid #28A86B;box-shadow:0 12px 32px rgba(40,168,107,.18)}
.ms-badge{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:#28A86B;color:#fff;font-size:11px;font-weight:800;padding:3px 12px;border-radius:20px;white-space:nowrap}
.ms-plan h2{font-size:18px;font-weight:800;color:#07351F;margin:0}
.ms-price{display:flex;align-items:baseline;gap:6px;margin:10px 0 14px;flex-wrap:wrap}
.ms-price b{font-size:34px;font-weight:900;color:#07351F;line-height:1}
.ms-price span{color:#6E7F73;font-size:13px}.ms-price s{color:#a0aca4;font-size:14px}
.ms-plan ul{list-style:none;margin:0 0 18px;padding:0;display:grid;gap:8px;flex:1}
.ms-plan li{display:flex;gap:8px;align-items:flex-start;font-size:13.5px}
.ms-plan li i{color:#28A86B;font-size:17px;line-height:1.1}
.ms-buy{display:block;text-align:center;width:100%}
.ms-trial{display:block;width:100%;margin-top:8px;text-align:center;background:none;border:1px dashed #28A86B;color:#147B55;border-radius:10px;padding:9px;font-weight:800;font-size:13px;cursor:pointer;text-decoration:none}
.ms-trial:hover{background:#f2faf4}

/* checkout */
.ms-back{display:inline-flex;align-items:center;gap:5px;color:#147B55;font-weight:700;font-size:13px;margin-bottom:10px;text-decoration:none}
.ms-sum{display:flex;justify-content:space-between;align-items:center;gap:12px}
.ms-sum h1{font-size:22px;font-weight:900;color:#07351F;margin:2px 0 0}.ms-sum h1 span{font-size:14px;color:#6E7F73;font-weight:600}
.ms-sum-price{font-size:30px;font-weight:900;color:#07351F}
.ms-bk{background:#E2136E;color:#fff;font-size:11px;font-weight:900;padding:2px 8px;border-radius:6px}
.ms-bkbtn{width:100%;margin-top:10px;background:#E2136E;color:#fff;border:0;border-radius:11px;padding:13px;font-size:15px;font-weight:800;cursor:pointer}
.ms-bkbtn:hover{background:#c80f60}
.ms-steps{margin:4px 0 10px;padding-left:20px;display:grid;gap:6px;font-size:13.5px}
.ms-copy{cursor:pointer;background:#f2f7f2;border-radius:6px;padding:1px 7px;font-family:ui-monospace,monospace}
.ms-copy.done{background:#EAF6E8;color:#1d6b33}
.ms-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.ms-form label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;color:#3c4f43}
.ms-form input{height:44px;border:1px solid #E3EAE3;border-radius:10px;padding:0 12px;font-size:15px;outline:none;font-family:ui-monospace,monospace}
.ms-form input:focus{border-color:#28A86B;box-shadow:0 0 0 3px rgba(40,168,107,.15)}
.ms-form .ss-btn{grid-column:1/-1;justify-content:center}

/* my membership */
.ms-status{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.ms-status>div:nth-child(2){flex:1;min-width:180px;color:#6E7F73;font-size:13px}.ms-status b{color:#07351F;font-size:16px}
.ms-status-ic{width:48px;height:48px;border-radius:14px;background:#EAF6E8;color:#238B43;display:grid;place-items:center;font-size:24px}
.ms-status-ic.off{background:#eef1ef;color:#8a9a8f}
.ms-status.on{border-color:#bfe3c8}
.ms-tag{display:inline-block;background:#E6F1FB;color:#0C447C;font-size:10.5px;font-weight:800;padding:1px 8px;border-radius:10px;margin-left:4px;vertical-align:middle}
.ms-list{padding:6px 18px}
.ms-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-top:1px solid #eef2ee}
.ms-row:first-child{border-top:0}
.ms-pill{font-size:11px;font-weight:800;padding:2px 9px;border-radius:10px;background:#eef1ef;color:#5b6a60;white-space:nowrap}
.ms-pill.approved,.ms-pill.active{background:#EAF6E8;color:#207B38}
.ms-pill.pending,.ms-pill.upcoming{background:#FFF4DB;color:#8a5a00}
.ms-pill.rejected,.ms-pill.failed,.ms-pill.cancelled{background:#FDECEC;color:#B42318}

/* members-only lock */
.ms-lock{max-width:560px;margin:30px auto;text-align:center;background:#fff;border:1px solid #E3EAE3;border-radius:20px;padding:40px 24px;box-shadow:0 10px 30px rgba(7,53,31,.08)}
.ms-lock-ic{width:64px;height:64px;margin:0 auto 12px;border-radius:18px;background:#EAF6E8;color:#238B43;display:grid;place-items:center;font-size:32px}
.ms-lock h1{font-size:22px;font-weight:900;color:#07351F;margin:0 0 8px}
.ms-lock p{color:#6E7F73;margin:0 0 18px}
.ms-lock-cta{display:flex;flex-direction:column;align-items:center;gap:10px}
.ms-link{color:#147B55;font-weight:800;font-size:13.5px}

@media (max-width:640px){
  .ms-wrap{padding:18px 14px 36px}
  .ms-hero h1{font-size:24px}
  .ms-form{grid-template-columns:1fr}
  .ms-sum-price{font-size:24px}
}
