/* Membership Suite. Styles are loaded only on WooCommerce My Account pages. */
.wms-portal{--wms-accent:#176b65;--wms-accent-soft:#eaf7f4;--wms-ink:#142b33;--wms-muted:#71828b;--wms-border:#e3eaed;--wms-white:#fff;color:var(--wms-ink);line-height:1.65;max-width:1180px;margin:0 auto 34px;direction:inherit}
.wms-portal *, .wms-portal *::before,.wms-portal *::after{box-sizing:border-box}
.wms-portal a{text-decoration:none!important;transition:color .2s ease,background .2s ease,transform .2s ease}
.wms-portal a:focus-visible{outline:3px solid var(--wms-accent);outline-offset:3px}
.wms-portal h2,.wms-portal h3,.wms-portal p{margin:0}
.wms-hero{position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(108deg,#123f43 0%,#176b65 72%,#21837b 100%);color:#fff;border-radius:20px;padding:27px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px;min-height:160px}
.wms-hero:after{position:absolute;content:"";width:280px;height:280px;border-radius:50%;background:rgba(255,255,255,.055);inset-inline-end:-70px;top:-115px;z-index:-1;box-shadow:0 0 0 52px rgba(255,255,255,.035),0 0 0 112px rgba(255,255,255,.018)}
.wms-hero h2{color:white;font-size:clamp(21px,2.2vw,29px);font-weight:800;line-height:1.45;margin:7px 0 9px}
.wms-hero p{color:#d1e5e3;font-size:13px;max-width:510px}
.wms-hero .wms-kicker{color:#b9e0db;font-weight:700;font-size:12px}
.wms-avatar-wrap{flex:0 0 auto;background:rgba(255,255,255,.15);padding:8px;border-radius:22px;border:1px solid rgba(255,255,255,.28)}
.wms-avatar-wrap img{display:block;border-radius:15px;max-width:64px;height:auto}
.wms-summary-grid{display:grid;grid-template-columns:minmax(0,1.58fr) minmax(0,1fr) minmax(0,1fr);gap:14px;margin-bottom:14px}
.wms-membership-card,.wms-stat-card{border:1px solid var(--wms-border);border-radius:17px;padding:19px;min-width:0;background:#fff;box-shadow:0 7px 25px rgba(34,70,76,.035)}
.wms-membership-card{background:linear-gradient(145deg,#eef9f6,#ffffff 70%);border-color:#d8ece5}
.wms-card-top{display:flex;align-items:center;gap:10px;color:var(--wms-accent);font-size:12px;font-weight:700}
.wms-round-icon{display:inline-flex;width:39px;height:39px;align-items:center;justify-content:center;border-radius:13px;background:#dbf0eb;color:var(--wms-accent);flex-shrink:0}
.wms-round-icon svg{width:21px;height:21px}
.wms-icon-neutral{background:#f2f6f8;color:#397784}
.wms-membership-card h3{font-size:19px;font-weight:800;color:#163c3d;line-height:1.5;margin:10px 0 3px}
.wms-membership-card p{color:#68827e;font-size:12px;min-height:21px}
.wms-membership-foot{border-top:1px solid #dcece7;padding-top:12px;margin-top:14px;display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.wms-membership-hint{font-size:11px;color:#60817c}
.wms-portal .wms-btn{display:inline-flex;font-size:12px;font-weight:700;border:1px solid #b7dcd3;border-radius:10px;padding:5px 11px;color:#12685f;background:white}
.wms-portal .wms-btn:hover{background:#e4f4f0;color:#10574f}
.wms-stat-card{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.wms-stat-number{font-size:30px;line-height:1.3;font-weight:800;color:#183941;margin-top:7px}
.wms-stat-card>span:not(.wms-round-icon){color:#72848b;font-size:12px}
.wms-stat-card>a{font-weight:700;font-size:12px;color:var(--wms-accent);margin-top:auto;padding-top:8px}
.wms-stat-card>a:hover,.wms-panel-head>a:hover{color:#0d3e3a}
.wms-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:0 0 24px}
.wms-portal .wms-action{display:flex;align-items:center;gap:10px;padding:13px 15px;border:1px solid var(--wms-border);background:#fff;border-radius:13px;color:#28424c;font-weight:700;font-size:12px}
.wms-portal .wms-action:hover{color:var(--wms-accent);border-color:#bfdcd4;background:#f5fbf9;transform:translateY(-2px)}
.wms-action-icon{color:var(--wms-accent);display:inline-flex;flex:0 0 auto}
.wms-action-icon svg{width:19px;height:19px}
.wms-action-arrow{margin-inline-start:auto;font-size:18px;color:#93a6ab}
.wms-sections{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(0,1fr);gap:16px;align-items:start}
.wms-panel{background:#fff;border:1px solid var(--wms-border);border-radius:18px;padding:19px 18px 10px;min-width:0}
.wms-panel-head{display:flex;gap:10px;justify-content:space-between;align-items:center;margin-bottom:15px}
.wms-panel-head h3{font-size:17px;color:var(--wms-ink);font-weight:800;margin:1px 0 0}
.wms-panel-eyebrow{font-size:11px;color:var(--wms-accent);font-weight:700}
.wms-panel-head>a{color:var(--wms-accent);font-size:11px;font-weight:700;white-space:nowrap}
.wms-order-row{display:flex;align-items:center;gap:9px;padding:12px 0;border-top:1px solid #eef2f3;min-width:0}
.wms-list-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;background:#f4f7f8;border-radius:10px;color:#5c8990}
.wms-list-icon svg{width:17px;height:17px}
.wms-order-meta{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.5}
.wms-order-meta strong,.wms-download-list strong{font-size:12px;font-weight:750;overflow-wrap:anywhere}
.wms-order-meta small,.wms-download-list small{font-size:10px;color:#86979b}
.wms-status{font-size:10px;border-radius:100px;padding:4px 8px;white-space:nowrap;background:#f2f5f6;color:#647b84}
.wms-order-good{background:#e7f6ef;color:#198152}
.wms-order-price{font-size:11px;font-weight:750;white-space:nowrap;color:#344f59}
.wms-order-price .woocommerce-Price-amount{font-weight:750}
.wms-open-link{display:flex;align-items:center;justify-content:center;color:var(--wms-accent);flex:0 0 23px}
.wms-open-link svg{width:17px;height:17px}
.wms-portal[dir="rtl"] .wms-open-link svg,.rtl .wms-portal .wms-open-link svg{transform:rotate(180deg)}
.wms-download-list{padding:0;margin:0;list-style:none}
.wms-download-list li{display:flex;align-items:center;gap:10px;padding:14px 0;border-top:1px solid #eef2f3;margin:0;list-style:none}
.wms-download-list li>div{display:flex;flex-direction:column;min-width:0;flex:1}
.wms-download-btn{border:1px solid #bedcd3;border-radius:9px;padding:5px 10px;font-size:11px;color:var(--wms-accent);font-weight:700;white-space:nowrap}
.wms-download-btn:hover{background:#eff8f4;color:#114d48}
.wms-empty{min-height:110px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#84959c;border-top:1px solid #eef2f3}
.wms-empty span{color:#a1b4b9}
.wms-empty p{font-size:12px;text-align:center}
/* Polish the existing WooCommerce navigation without taking ownership of its endpoints. */
body.wms-account-enabled .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:8px!important;background:#fff;border:1px solid #e5ecee;border-radius:16px;overflow:hidden}
body.wms-account-enabled .woocommerce-MyAccount-navigation li{list-style:none;margin:0}
body.wms-account-enabled .woocommerce-MyAccount-navigation li a{display:block;padding:11px 14px!important;border-radius:10px;color:#516c73;text-decoration:none;font-size:13px;font-weight:650}
body.wms-account-enabled .woocommerce-MyAccount-navigation li.is-active a,body.wms-account-enabled .woocommerce-MyAccount-navigation li a:hover{background:#e8f5f0;color:#176b65}
@media (max-width:1120px){.wms-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wms-membership-card{grid-column:1/-1}.wms-sections{grid-template-columns:minmax(0,1fr)}}
@media (max-width:650px){.wms-hero{padding:22px 17px;min-height:130px}.wms-avatar-wrap{padding:4px;border-radius:13px}.wms-avatar-wrap img{width:42px;height:42px;border-radius:10px}.wms-hero h2{font-size:19px}.wms-hero p{font-size:11px}.wms-summary-grid{gap:10px}.wms-membership-card,.wms-stat-card{padding:14px;border-radius:14px}.wms-stat-number{font-size:25px}.wms-actions{grid-template-columns:1fr;gap:8px}.wms-portal .wms-action{padding:10px 12px}.wms-panel{padding:16px 13px 6px}.wms-order-row{flex-wrap:wrap;gap:7px}.wms-order-price{margin-inline-start:auto}.wms-status{order:3}.wms-open-link{order:4}.wms-panel-head h3{font-size:16px}}
@media (prefers-reduced-motion:reduce){.wms-portal a{transition:none}}

/* Membership Suite 0.2: account-wide polish while leaving WooCommerce endpoint logic intact. */
body.wms-account-enabled .woocommerce-MyAccount-navigation,
body.wms-account-enabled .woocommerce-MyAccount-content{float:none!important;width:100%!important;max-width:100%!important;margin-inline:0!important;min-width:0}
body.wms-account-enabled .woocommerce-MyAccount-navigation{margin:0 0 16px}
body.wms-account-enabled .woocommerce-MyAccount-navigation ul{display:flex!important;flex-wrap:wrap;align-items:center;gap:4px;padding:8px!important;border:1px solid #e0e9eb!important;border-radius:16px!important;background:#fff!important;box-shadow:0 5px 24px rgba(16,64,71,.035);overflow:visible!important}
body.wms-account-enabled .woocommerce-MyAccount-navigation li a{border-radius:10px!important;white-space:nowrap!important;padding:10px 14px!important;font-size:12px!important}
body.wms-account-enabled .woocommerce-MyAccount-navigation li.is-active a{font-weight:800!important}
body.wms-account-enabled .woocommerce-MyAccount-content{border:1px solid #e9eff1;border-radius:20px;padding:clamp(12px,2.2vw,22px)!important;background:#fcfdfd;box-sizing:border-box}
body.wms-account-enabled .woocommerce-MyAccount-content:after{content:"";display:block;clear:both}
.wms-portal{--wms-ink:#19383f;--wms-muted:#73888b;--wms-bg:#f4f8fa;--wms-border:#dde9ea;max-width:none!important;margin-bottom:6px}
.wms-portal .wms-hero{background:linear-gradient(120deg,#122e43 0%,#175f67 52%,var(--wms-accent) 100%);min-height:165px;border-radius:22px;margin-bottom:16px;box-shadow:0 12px 35px rgba(21,82,94,.12)}
.wms-portal .wms-hero h2,.wms-portal .wms-hero p{color:#fff!important;text-shadow:none!important}
.wms-portal .wms-hero h2{font-size:clamp(20px,3.1vw,28px)!important;letter-spacing:-.2px;margin:6px 0 10px!important}
.wms-portal .wms-hero p{color:#e0f0f1!important;opacity:.95}
.wms-hero-side{display:flex;align-items:center;gap:10px;flex-direction:column;min-width:92px}
.wms-hero-label{font-size:10px;font-weight:700;color:#d6f5ec;background:rgba(255,255,255,.11);border-radius:100px;padding:5px 11px;white-space:nowrap}
.wms-summary-grid{grid-template-columns:minmax(0,1.52fr) minmax(0,1fr) minmax(0,1fr)}
.wms-summary-grid .wms-membership-card{position:relative;box-shadow:0 7px 30px rgba(27,81,79,.045);background:linear-gradient(155deg,#ebf8f4,#fff 73%);padding:21px;border-color:#d3e9e1}
.wms-summary-grid .wms-stat-card{box-shadow:0 7px 24px rgba(27,61,66,.035);padding:21px}
.wms-expiry-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:16px;margin-bottom:9px}
.wms-expiry-row>div{display:flex;gap:3px;flex-direction:column}
.wms-expiry-row>div>span{font-size:11px;color:#668581}
.wms-expiry-row>div>strong{font-size:14px;color:#123e41}
.wms-pill{display:inline-flex;align-items:center;gap:5px;border-radius:40px;padding:6px 11px;font-size:11px;font-weight:750;background:#e4f4ed;color:#17744c;white-space:nowrap}
.wms-pill:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.wms-pill.expired{color:#a95022;background:#fff0e5}
.wms-pill.none{color:#637785;background:#f0f3f5}
.wms-date-note{display:block;color:#7b9193;font-size:10px;line-height:1.8}
.wms-portal .wms-btn{font-size:11px;padding:8px 11px!important;min-height:34px;line-height:1.6}
.wms-portal .wms-btn-fill{background:var(--wms-accent)!important;color:#fff!important;border-color:var(--wms-accent)!important}
.wms-portal .wms-btn-fill:hover{background:#10514d!important}
.wms-actions{grid-template-columns:repeat(5,minmax(0,1fr));margin-top:13px;margin-bottom:22px;gap:10px}
.wms-portal .wms-action{font-size:11px;flex-direction:column;justify-content:center;align-items:center;min-height:91px;text-align:center;padding:12px 9px;gap:8px}
.wms-action-arrow{display:none}
.wms-action-icon{width:34px;height:34px;align-items:center;justify-content:center;border-radius:10px;background:#ecf7f4}
.wms-portal .wms-panel{box-shadow:0 5px 20px rgba(23,70,79,.02)}
.wms-order-price{white-space:normal;text-align:center;max-width:120px}
.wms-open-link{border:1px solid #d6e7e2;border-radius:9px;width:29px;height:29px;flex:0 0 29px}
.wms-subpage{background:transparent}
.wms-page-heading{margin:3px 0 22px}
.wms-page-heading h2{color:#18343c;font-size:clamp(21px,3vw,28px);font-weight:850;margin:7px 0}
.wms-page-heading p{font-size:13px;color:#637f84;line-height:1.85}
.wms-section-label{display:inline-block;background:#e4f4ed;color:#1a7066;padding:5px 10px;border-radius:100px;font-size:11px;font-weight:750}
.wms-detail-card{border:1px solid #d8e9e3;background:linear-gradient(125deg,#f0faf6,#fff);border-radius:21px;padding:clamp(20px,3vw,30px);box-shadow:0 10px 38px rgba(21,88,81,.04)}
.wms-detail-card h3{font-size:22px;margin:18px 0!important;color:#173d42}
.wms-detail-card p{color:#637f84;font-size:13px;line-height:1.9}
.wms-info-lines{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}
.wms-info-lines>div{border:1px solid #e2eeec;background:#fff;border-radius:12px;padding:13px;display:flex;flex-direction:column;gap:4px}
.wms-info-lines span{font-size:11px;color:#6a8488}
.wms-info-lines strong{font-size:15px;color:#1c4246}
.wms-caution{padding:12px 14px;border-radius:12px;background:#fff9ed;border:1px solid #f1e7d5;font-size:11px!important;color:#776343!important;margin:14px 0;line-height:2!important}
.wms-primary-button,.wms-portal a.wms-primary-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:11px 19px;background:var(--wms-accent);color:#fff!important;border-radius:11px;font-size:12px;font-weight:800;margin-top:8px}
.wms-primary-button:hover{filter:brightness(.89)}
.wms-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.wms-plan{border:1px solid #e1e9eb;border-radius:17px;background:#fff;padding:19px;min-width:0;display:flex;flex-direction:column;gap:10px;box-shadow:0 8px 32px rgba(21,70,80,.035)}
.wms-plan-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.wms-plan-cap{display:flex;width:39px;height:39px;align-items:center;justify-content:center;background:#edf7f4;color:var(--wms-accent);border-radius:11px;font-size:24px}
.wms-plan-tag{color:#4d8278;background:#f0f8f6;border-radius:50px;padding:5px 9px;font-weight:750;font-size:10px}
.wms-plan h3{color:#21383e;font-size:17px;font-weight:800;margin:0!important}
.wms-plan p{font-size:11px;color:#76888c;line-height:1.7;min-height:20px}
.wms-plan-price{color:#152e36;min-height:38px;margin:auto 0 8px;font-weight:850;font-size:18px}
.wms-price-placeholder{font-size:11px;color:#93a2a5;font-weight:550}
.wms-portal .wms-plan-button{display:flex;align-items:center;justify-content:center;gap:9px;padding:10px;border-radius:10px;background:#e8f5f0;color:var(--wms-accent);font-weight:800;font-size:12px}
.wms-portal a.wms-plan-button:hover{background:var(--wms-accent);color:#fff}
.wms-portal .wms-plan-disabled{opacity:.6;cursor:not-allowed;background:#f0f3f4;color:#748688}
.wms-signup{max-width:1080px!important;padding:10px 0 32px}
.wms-signin-help{text-align:center;margin:22px 0!important;color:#647e83}
.wms-signin-help a{font-weight:800;color:var(--wms-accent)}
body.wms-account-enabled .woocommerce-MyAccount-content .woocommerce-orders-table{width:100%;border:1px solid #e5edee;border-radius:14px;overflow:hidden;border-collapse:separate;border-spacing:0}
body.wms-account-enabled .woocommerce-MyAccount-content .woocommerce-orders-table th{background:#f3f8f7;color:#3b5d62}
body.wms-account-enabled .woocommerce-MyAccount-content .woocommerce-orders-table th,
body.wms-account-enabled .woocommerce-MyAccount-content .woocommerce-orders-table td{padding:12px 10px;font-size:12px}
body.wms-account-enabled .woocommerce-MyAccount-content input:not([type="checkbox"]):not([type="radio"]),
body.wms-account-enabled .woocommerce-MyAccount-content select{max-width:100%;border-radius:10px;border-color:#d3e0e3}
@media (max-width:1120px){.wms-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wms-membership-card{grid-column:1/-1}.wms-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.wms-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wms-sections{grid-template-columns:1fr}}
@media (max-width:650px){.wms-hero{padding:21px 16px!important}.wms-hero-side{min-width:44px}.wms-hero-label{display:none}.wms-hero h2{font-size:19px!important}.wms-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wms-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.wms-portal .wms-action{min-height:76px}.wms-plan-grid{grid-template-columns:1fr}.wms-info-lines{grid-template-columns:1fr}.wms-date-note{font-size:10px}.wms-expiry-row{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:768px){body.wms-account-enabled .woocommerce-MyAccount-content{padding:12px!important;border-radius:13px}body.wms-account-enabled .woocommerce-MyAccount-navigation ul{gap:2px!important;padding:5px!important}body.wms-account-enabled .woocommerce-MyAccount-navigation li a{font-size:11px!important;padding:9px 10px!important}}
.wms-signup-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0 0 22px}
.wms-signup-steps>div{display:flex;align-items:center;gap:7px;border:1px solid #e3ecee;border-radius:10px;background:#fff;padding:10px 9px;font-size:11px;color:#7c9192;font-weight:700}
.wms-signup-steps b{display:inline-flex;justify-content:center;align-items:center;width:25px;height:25px;border-radius:50%;background:#f1f5f6;color:#6f8589;flex-shrink:0}
.wms-signup-steps>.is-active{background:#ebf7f3;border-color:#cfe8de;color:#1a6e63}
.wms-signup-steps>.is-active b{background:#14776c;color:#fff}
.wms-preview-panel{display:grid;grid-template-columns:1fr 1.15fr;gap:16px;align-items:start;background:#fff;border:1px solid #e2ebed;border-radius:18px;padding:20px;margin:20px 0}
.wms-preview-panel h3{font-size:19px;margin:12px 0 6px;color:#1d3c44}
.wms-preview-panel p{font-size:12px;color:#71888a;line-height:1.9}
.wms-preview-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.wms-preview-fields>div{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:700;color:#4d6a70}
.wms-input-sample{border:1px solid #dce7e9;border-radius:9px;padding:11px 12px;min-height:42px;display:flex;align-items:center;background:#fafcfc;color:#a0b0b3;font-size:11px;font-weight:500}
.wms-preview-panel>.wms-caution{grid-column:1/-1;margin:0}
@media(max-width:780px){.wms-preview-panel{grid-template-columns:1fr}.wms-signup-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.wms-preview-fields{grid-template-columns:1fr}}

/* 0.2.1: stable sizing inside third-party themes; remove inline-size containment. */
body.wms-account-enabled .woocommerce-MyAccount-content,
body.wms-account-enabled .woocommerce-MyAccount-content > .wms-portal,
body.wms-account-enabled .woocommerce-MyAccount-content > .wms-portal.wms-subpage {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    inline-size: 100% !important;
    box-sizing: border-box !important;
}
body.wms-account-enabled .wms-portal,
.wms-portal.wms-signup {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    inline-size: 100% !important;
    container-type: normal !important;
    overflow-wrap: break-word;
    text-align: right;
    clear: both;
}
body.wms-account-enabled .wms-portal .wms-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    justify-content: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    inline-size: 100% !important;
    margin-inline: 0 !important;
    overflow: hidden;
}
body.wms-account-enabled .wms-hero-copy {
    display: block !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    text-align: right;
}
body.wms-account-enabled .wms-hero-side {width: auto !important; min-width: 68px !important;}
body.wms-account-enabled .wms-hero-copy > * {
    max-width: 100% !important;
    width: auto !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
}
body.wms-account-enabled .wms-summary-grid {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: stretch;
}
body.wms-account-enabled .wms-summary-grid > *,
body.wms-account-enabled .wms-sections > *,
body.wms-account-enabled .wms-plan-grid > * {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-inline: 0 !important;
    display: block;
}
body.wms-account-enabled .wms-summary-grid > .wms-stat-card {display: flex;}
body.wms-account-enabled .wms-summary-grid > .wms-membership-card {display: flex; flex-direction: column;}
body.wms-account-enabled .wms-membership-foot {margin-top: auto; padding-top: 14px;}
body.wms-account-enabled .wms-actions,
body.wms-account-enabled .wms-sections,
body.wms-account-enabled .wms-plan-grid,
body.wms-account-enabled .wms-info-lines {width: 100% !important; min-width: 0 !important;}
body.wms-account-enabled .woocommerce-MyAccount-navigation {
    float: none !important; width: 100% !important; max-width: 100% !important;
}
@media (max-width: 1199px) {
    body.wms-account-enabled .wms-summary-grid {grid-template-columns: repeat(2, minmax(0, 1fr)) !important;}
    body.wms-account-enabled .wms-summary-grid > .wms-membership-card {grid-column: 1 / -1;}
    body.wms-account-enabled .wms-sections {grid-template-columns: minmax(0, 1fr);}
}
@media (max-width: 700px) {
    body.wms-account-enabled .wms-hero {grid-template-columns: minmax(0,1fr) !important;}
    body.wms-account-enabled .wms-hero-side {display: none !important;}
    body.wms-account-enabled .wms-summary-grid {grid-template-columns: minmax(0,1fr) !important;}
    body.wms-account-enabled .wms-summary-grid > .wms-membership-card {grid-column: auto;}
    body.wms-account-enabled .wms-actions {grid-template-columns: repeat(2,minmax(0,1fr));}
    body.wms-account-enabled .wms-plan-grid {grid-template-columns: minmax(0,1fr);}
    body.wms-account-enabled .woocommerce-MyAccount-navigation ul {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        max-width: 100%;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }
    body.wms-account-enabled .woocommerce-MyAccount-navigation li {flex:0 0 auto;}
}

/* Theme font is inherited. This plugin never sets a font family. */
.wms-portal .wms-plan-price,
.wms-portal .wms-selection-price {
  direction: rtl;
  unicode-bidi: plaintext;
  white-space: normal;
  
  
}
.wms-portal .wms-plan.is-selected {border-color:var(--wms-accent);box-shadow:0 8px 32px rgba(21,97,89,.10)}
.wms-portal .wms-plan-button {min-height:44px;cursor:pointer;opacity:1!important;transition:background .2s ease,color .2s ease}
.wms-portal .wms-plan-button:focus-visible{outline:3px solid var(--wms-accent);outline-offset:3px}
.wms-portal .wms-plan.is-selected .wms-plan-button{background:var(--wms-accent);color:#fff!important}
.wms-portal .wms-selection-result{margin:18px 0 10px;padding:22px;border:1px solid #c9e4dc;background:#f1faf7;border-radius:17px;scroll-margin-top:100px}
.wms-portal .wms-selection-result h3{font-size:21px;color:#184e46;font-weight:800;margin:12px 0 4px!important}
.wms-portal .wms-selection-result p{font-size:13px;line-height:1.9;margin:8px 0!important;color:#375d58}
.wms-portal .wms-selection-result .wms-selection-price{font-size:20px;color:#174943;font-weight:800}

/* 0.4: progressive AJAX navigation. Scoped and accessible, fallback remains normal links. */
body.wms-account-enabled .woocommerce-MyAccount-content.wms-is-loading{opacity:.55;pointer-events:none;min-height:160px;transition:opacity .16s ease}
.wms-portal .wms-selection-container[aria-busy="true"]{opacity:.5;pointer-events:none}
.wms-portal .wms-inline-status{color:#a43e25;font-size:12px;margin-top:10px;min-height:18px}
.wms-portal button.wms-primary-button{font-size:13px;border:0;cursor:pointer;max-width:100%;white-space:normal;text-align:center}
.wms-portal button.wms-primary-button:disabled{opacity:.6;cursor:wait}
.wms-portal .wms-plan-button{touch-action:manipulation}
@media (prefers-reduced-motion:reduce){body.wms-account-enabled .woocommerce-MyAccount-content.wms-is-loading{transition:none}}

/* 0.5.2: Use the active theme's inherited font for EVERY text element.
 * Previous releases normalized spacing but allowed theme-specific label/p/button
 * selectors to choose an unrelated, sometimes monospace, font. This selector
 * removes that discrepancy without choosing or loading any font family.
 * Scoped to Membership Suite only; it does not change the website typography.
 */
.wms-portal.wms-portal.wms-portal,
.wms-portal.wms-portal.wms-portal * {
  font-family: inherit !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  font-variant: normal;
  text-transform: none;
}
.wms-portal :is(p, label, small, h1, h2, h3, h4, h5, h6, button),
.wms-portal :is(.wms-signup-note, .wms-inline-status, .wms-caution) {
  text-align: start !important;
  text-align-last: auto !important;
  text-justify: auto !important;
}
.wms-portal .wms-signup-form-grid input[type="password"] {
  direction: ltr;
  text-align: left !important;
}

.wms-signup-form{border:1px solid var(--wms-border);border-radius:17px;background:#fff;padding:22px;margin:18px 0;}
.wms-signup-form h3{margin:0 0 8px!important;color:var(--wms-ink)}
.wms-signup-form .wms-signup-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:16px 0;}
.wms-signup-form label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600;min-width:0;}
.wms-signup-form input{max-width:100%;width:100%;min-width:0;line-height:1.6;border:1px solid #cfdde2;border-radius:10px;background:#fff;padding:12px 13px;box-sizing:border-box;}
.wms-signup-form input:focus{outline:2px solid var(--wms-accent);outline-offset:2px;}
.wms-signup-form button{}
.wms-signup-form .wms-signup-note{font-size:12px;color:#556e72;margin:9px 0;}
.wms-signup-form .wms-inline-status{font-size:13px;white-space:normal;}
@media(max-width:640px){.wms-signup-form{padding:14px}.wms-signup-form .wms-signup-form-grid{grid-template-columns:minmax(0,1fr);}}



/* 0.5.5: stronger plan CTA visibility + price alignment across theme conflicts. */
.wms-portal .wms-selection-result { scroll-margin-top: 140px !important; }
.wms-portal .wms-plan-price,
.wms-portal .wms-selection-price {
  display: block !important;
  width: 100% !important;
  text-align: right !important;
  direction: rtl !important;
  unicode-bidi: isolate !important;
  margin-inline: 0 !important;
}
.rtl .wms-portal .wms-plan-price,
.rtl .wms-portal .wms-selection-price {
  text-align: right !important;
}
.wms-portal .wms-selection-price .woocommerce-Price-amount,
.wms-portal .wms-plan-price .woocommerce-Price-amount,
.wms-portal .wms-selection-price bdi,
.wms-portal .wms-plan-price bdi {
  direction: rtl !important;
  unicode-bidi: isolate !important;
}
.wms-portal .wms-plan p,
.wms-portal .wms-selection-result p { text-align: right !important; }


/* 0.6: read-only membership history with theme-native typography. */
.wms-portal .wms-history{margin:18px 0 8px;padding:18px;border:1px solid var(--wms-border);border-radius:16px;background:#fff}
.wms-portal .wms-history h3{margin:0 0 12px!important;font-size:18px;color:var(--wms-ink)}
.wms-portal .wms-history-list{display:grid;gap:8px}
.wms-portal .wms-history-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px;border:1px solid var(--wms-border);border-radius:12px;min-width:0}
.wms-portal .wms-history-row>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.wms-portal .wms-history-row strong{font-weight:750}
.wms-portal .wms-history-row small{font-size:12px;color:var(--wms-muted)}
.wms-portal .wms-history-row a{color:var(--wms-accent);font-weight:700;font-size:12px;flex-shrink:0}
@media (max-width:650px){.wms-portal .wms-history-row{align-items:flex-start;flex-direction:column}}


/* 0.9.1 — My Account editing UI. Inherit Avada's typeface; never load one. */
body.wms-account-enabled .wms-account-editor{max-width:960px!important;margin:0 auto 16px!important;min-width:0;direction:rtl;}
.wms-account-editor-head{display:flex;align-items:center;gap:17px;border:1px solid #cee5e0;border-radius:18px;background:linear-gradient(110deg,#edf9f4,#fbfefe);padding:21px 24px;margin:0 0 18px;}
.wms-account-editor-icon{width:49px;height:49px;flex:0 0 49px;display:grid;place-items:center;background:#daeee8;color:#176b65;border-radius:15px;}
.wms-account-editor-kicker{color:#287970;font-size:12px;font-weight:700;}
.wms-account-editor .wms-account-editor-head h2{margin:1px 0 4px!important;font-size:clamp(20px,2.2vw,27px);line-height:1.5;color:#163c42;}
.wms-account-editor .wms-account-editor-head p{font-size:13px;line-height:1.9;color:#55767a;}
.wms-account-editor-form{display:block;width:100%;} 
.wms-account-editor-section{padding:24px;background:#fff;border:1px solid #e1e9ea;border-radius:18px;margin:0 0 14px;box-shadow:0 5px 24px rgba(19,79,75,.025);}
.wms-account-editor .wms-account-editor-section h3{font-size:17px!important;line-height:1.6;margin:0 0 4px!important;color:#183f45;}
.wms-account-editor-section-help{font-size:12px!important;line-height:1.9!important;color:#638080!important;margin:0 0 20px!important;}
.wms-account-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.wms-account-editor-field{min-width:0;display:flex;flex-direction:column;gap:8px;}
.wms-account-editor-field-wide{grid-column:1/-1;}
.wms-account-editor .wms-account-editor-field label{font-size:13px;font-weight:700;color:#2d5058;line-height:1.6;margin:0!important;display:block;}
.wms-account-editor .wms-account-editor-field .required{color:#dc6648;}
body.wms-account-enabled .woocommerce-MyAccount-content .wms-account-editor-field input:not([type=checkbox]):not([type=radio]){display:block!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-height:47px!important;padding:10px 14px!important;background:#fff!important;border:1px solid #ccdadd!important;border-radius:11px!important;color:#173c44!important;box-shadow:none!important;font-family:inherit!important;letter-spacing:normal!important;word-spacing:normal!important;transition:border-color .17s ease,box-shadow .17s ease;}
body.wms-account-enabled .woocommerce-MyAccount-content .wms-account-editor-field input:focus{border-color:#208176!important;box-shadow:0 0 0 3px rgba(32,129,118,.10)!important;outline:0!important;}
.wms-account-editor-password{background:#fff;border:1px solid #dfe9e9;border-radius:17px;margin-bottom:16px;overflow:hidden;}
.wms-account-editor-password summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px;padding:19px 24px;color:#234e53;font-size:14px;font-weight:700;}
.wms-account-editor-password summary::-webkit-details-marker{display:none;}
.wms-account-editor-password summary small{font-weight:400;font-size:11px;color:#82989c;}
.wms-account-editor-chevron{font-size:23px;color:#6e9494;margin-inline-start:auto;transition:transform .2s;}
.wms-account-editor-password[open] .wms-account-editor-chevron{transform:rotate(180deg);}
.wms-account-editor-password fieldset{border:0!important;padding:4px 24px 20px!important;margin:0!important;min-width:0!important;}
.wms-account-editor-password .wms-account-editor-section-help{margin:15px 0 0!important;}
.wms-account-editor-footer{display:flex;justify-content:flex-start;align-items:center;gap:12px;padding:2px 0 14px;}
body.wms-account-enabled .woocommerce-MyAccount-content .wms-account-editor-save{background:#176b65!important;color:#fff!important;border:0!important;padding:12px 28px!important;min-height:45px!important;font-size:13px!important;font-weight:700!important;border-radius:11px!important;cursor:pointer!important;box-shadow:0 7px 19px rgba(23,107,101,.16)!important;float:none!important;font-family:inherit!important;letter-spacing:normal!important;}
body.wms-account-enabled .woocommerce-MyAccount-content .wms-account-editor-save:hover{background:#115852!important;color:#fff!important;}
.wms-account-editor :focus-visible{outline:2px solid #208176;outline-offset:2px;}
@media(max-width:700px){.wms-account-editor-head{padding:17px;gap:12px}.wms-account-editor-icon{width:40px;height:40px;flex-basis:40px}.wms-account-editor-section{padding:17px}.wms-account-editor-grid{grid-template-columns:minmax(0,1fr);gap:14px}.wms-account-editor-field-wide{grid-column:auto}.wms-account-editor-password summary{padding:17px}.wms-account-editor-password fieldset{padding:4px 17px 17px!important}}


/* 0.9.2: read-only identity and independent Digits verification tools. */
.wms-account-editor-contact{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px 22px;margin:0 0 16px;background:#f4faf8;border:1px solid #d4e8e1;border-radius:16px}
.wms-account-editor-contact-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.wms-account-editor-phone{font-size:18px;color:#193e41;direction:ltr;unicode-bidi:isolate;font-weight:800;letter-spacing:normal!important}
.wms-account-editor-contact p,.wms-account-editor-otp-reset p{margin:4px 0 0!important;font-size:12px!important;line-height:1.8;color:#607a7e!important}
.wms-account-editor .wms-account-editor-secondary,.wms-profile-security .wms-btn{display:inline-flex;align-items:center;justify-content:center;text-align:center!important;border:1px solid #b8d7ce;background:#fff;color:#176b65!important;font-weight:750;font-size:12px;border-radius:10px;padding:10px 14px;text-decoration:none!important;white-space:normal;flex-shrink:0}
.wms-account-editor .wms-account-editor-secondary:hover{background:#e4f4ef;color:#12554e!important}
.wms-account-editor-quiet{font-size:12px;color:#70898d}
.wms-account-editor-otp-reset{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;background:#f4faf8;border:1px solid #d4e8e1;border-radius:12px;padding:14px;margin-top:12px}
.wms-account-editor-otp-reset strong{color:#285257;font-size:13px}
.wms-profile-security .wms-detail-card{display:grid;gap:17px}
.wms-profile-security .wms-digits-mobile-wrapper{border:1px solid #dcebe5;border-radius:14px;padding:16px;background:#fff;max-width:100%;min-width:0}
.wms-profile-security .wms-digits-mobile-wrapper *{max-width:100%;box-sizing:border-box}
.wms-profile-security .wms-security-note{font-size:12px!important;line-height:1.9!important}
@media(max-width:700px){.wms-account-editor-contact{padding:16px}.wms-account-editor .wms-account-editor-secondary{width:100%;flex-basis:100%}.wms-account-editor-otp-reset{align-items:stretch}}


/* 0.9.4 — Consistent notices across account pages. No new font/icon assets. */
body.wms-account-enabled .woocommerce :is(.woocommerce-error,.woocommerce-info,.woocommerce-message),
body.wms-account-enabled .woocommerce-MyAccount-content :is(.woocommerce-error,.woocommerce-info,.woocommerce-message),
body.wms-account-enabled .wms-portal .wms-caution,
body.wms-account-enabled .wms-portal .wms-payment-notice {
  display: block !important;
  position: relative !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 12px 0 18px !important;
  padding: 15px 50px 15px 16px !important;
  border: 1px solid #f0dfbd !important;
  border-radius: 13px !important;
  background: #fffaf0 !important;
  color: #755722 !important;
  box-shadow: none !important;
  font: inherit !important;
  font-size: 13px !important;
  line-height: 1.95 !important;
  text-align: right !important;
  direction: rtl !important;
  letter-spacing: normal !important;
  list-style: none !important;
}
body.wms-account-enabled .woocommerce :is(.woocommerce-error,.woocommerce-error.woocommerce-notice),
body.wms-account-enabled .woocommerce-MyAccount-content .woocommerce-error {
  background: #fff4f4 !important;
  border-color: #f1cccc !important;
  color: #963e40 !important;
}
body.wms-account-enabled .woocommerce :is(.woocommerce-message,.woocommerce-notice--success),
body.wms-account-enabled .woocommerce-MyAccount-content .woocommerce-message {
  background: #eef9f5 !important;
  border-color: #cbe9dc !important;
  color: #226a55 !important;
}
body.wms-account-enabled .woocommerce .woocommerce-info,
body.wms-account-enabled .woocommerce-MyAccount-content .woocommerce-info {
  background: #f1f7ff !important;
  border-color: #cdddF1 !important;
  color: #375e88 !important;
}
body.wms-account-enabled .woocommerce :is(.woocommerce-error,.woocommerce-info,.woocommerce-message)::before,
body.wms-account-enabled .wms-portal :is(.wms-caution,.wms-payment-notice)::before {
  content: "!" !important;
  display: grid !important;
  place-items: center !important;
  position: absolute !important;
  right: 15px !important;
  left: auto !important;
  top: 15px !important;
  width: 22px !important;
  height: 22px !important;
  border: 1.5px solid currentColor !important;
  border-radius: 50% !important;
  color: inherit !important;
  background: transparent !important;
  font-family: inherit !important;
  font-style: normal !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1 !important;
}
body.wms-account-enabled .woocommerce .woocommerce-message::before,
body.wms-account-enabled .woocommerce-MyAccount-content .woocommerce-message::before {content: "✓" !important;}
body.wms-account-enabled .woocommerce :is(.woocommerce-error,.woocommerce-info,.woocommerce-message) > li {list-style: none !important; margin: 0 !important; padding: 0 !important; color: inherit !important;}
body.wms-account-enabled .woocommerce :is(.woocommerce-error,.woocommerce-info,.woocommerce-message) a {color: inherit !important; text-decoration: underline !important;}
body.wms-account-enabled .woocommerce .woocommerce-notices-wrapper:empty {display: none !important;}

/* Native WooCommerce visibility control may use an unavailable icon font.
 * The account editor has its own accessible SVG control, hide native duplicate. */
body.wms-account-enabled .wms-account-editor .show-password-input,
body.wms-account-enabled .wms-account-editor .show-password-input::before,
body.wms-account-enabled .wms-account-editor .show-password-input::after {display:none!important;}
.wms-account-editor .wms-password-control {position:relative;min-width:0;width:100%;}
body.wms-account-enabled .woocommerce-MyAccount-content .wms-account-editor .wms-password-control input {padding-left:53px!important;}
body.wms-account-enabled .wms-account-editor .wms-password-toggle {
  position: absolute !important;
  z-index: 5 !important;
  left: 9px !important;
  right: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 37px !important;
  height: 37px !important;
  display: grid !important;
  place-items: center !important;
  background: #f0f6f6 !important;
  border: 1px solid #deebea !important;
  border-radius: 9px !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #416f73 !important;
  cursor: pointer !important;
  line-height: 1 !important;
  box-shadow: none !important;
}
body.wms-account-enabled .wms-account-editor .wms-password-toggle:hover {background:#e4f1ed!important;color:#176b65!important;}
body.wms-account-enabled .wms-account-editor .wms-password-toggle:focus-visible {outline:2px solid #176b65!important;outline-offset:2px!important;}
.wms-account-editor .wms-password-toggle .wms-eye-hidden {display:none;}
.wms-account-editor .wms-password-toggle[data-wms-visible="1"] .wms-eye-visible {display:none;}
.wms-account-editor .wms-password-toggle[data-wms-visible="1"] .wms-eye-hidden {display:block;}

/* 0.9.11: active grade is informative, not a clickable purchase option. */
.wms-portal .wms-plan.is-current {border-color:#b9ddd2;background:#f6fbf8}
.wms-portal .wms-plan.is-current .wms-plan-tag{color:#186044;background:#deefe7}
.wms-portal .wms-plan .wms-plan-button--current,
.wms-portal .wms-plan.is-current .wms-plan-button--current{background:#dcefe7!important;color:#217051!important;opacity:1!important;cursor:default;pointer-events:none}
.wms-portal .wms-selection-result .wms-selection-current{color:#23604a;font-weight:700}


/* 0.9.17: Compact, TWO-column membership plan cards on phones.
 * Apply only inside WMS portals. No global layout, navigation, or checkout overrides.
 * This overrides the legacy single-column rule in both the public signup form
 * and WooCommerce My Account without changing tablet/desktop layouts.
 */
@media (max-width: 700px) {
  .wms-portal .wms-plan-grid,
  body.wms-account-enabled .wms-portal .wms-plan-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    align-items: stretch;
  }
  .wms-portal .wms-plan-grid > .wms-plan,
  body.wms-account-enabled .wms-portal .wms-plan-grid > .wms-plan {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    gap: 6px !important;
    padding: 11px 9px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }
  .wms-portal .wms-plan-top { gap: 3px !important; }
  .wms-portal .wms-plan-cap {
    width: 27px !important;
    height: 27px !important;
    flex: 0 0 27px;
    font-size: 17px !important;
    border-radius: 8px !important;
  }
  .wms-portal .wms-plan-tag {
    font-size: 9px !important;
    line-height: 1.25 !important;
    padding: 4px 6px !important;
    max-width: calc(100% - 30px);
    text-align: center !important;
    white-space: normal;
  }
  .wms-portal .wms-plan h3 {
    font-size: clamp(12px, 3.5vw, 14px) !important;
    line-height: 1.55 !important;
    overflow-wrap: anywhere;
  }
  .wms-portal .wms-plan p {
    font-size: 10px !important;
    line-height: 1.6 !important;
    min-height: 32px !important;
    margin: 0 !important;
  }
  .wms-portal .wms-plan-price {
    font-size: clamp(12px, 3.6vw, 15px) !important;
    line-height: 1.55 !important;
    min-height: 30px !important;
    margin: auto 0 4px !important;
    overflow-wrap: anywhere;
  }
  .wms-portal .wms-plan-price .woocommerce-Price-amount {font-size: inherit !important;}
  .wms-portal .wms-plan-button {
    min-height: 39px !important;
    padding: 8px 5px !important;
    gap: 4px !important;
    font-size: 10.5px !important;
    line-height: 1.5 !important;
    text-align: center !important;
    border-radius: 8px !important;
    white-space: normal;
    box-sizing: border-box !important;
  }
}
@media (max-width: 360px) {
  .wms-portal .wms-plan-grid {gap: 6px !important;}
  .wms-portal .wms-plan-grid > .wms-plan {padding: 9px 7px !important;}
  .wms-portal .wms-plan-tag {font-size: 8px !important;}
  .wms-portal .wms-plan-button {font-size: 10px !important;}
}

/* 0.9.18: native #summary anchor is only a fallback; JS positions the payment CTA lower. */
.wms-portal .wms-selection-result { scroll-margin-top: 38vh !important; }

