/* LFE 3.6: purpose-built navigation and compact live account summaries. */
body.lfe-redesign .lfe-account-shell{grid-template-columns:245px minmax(0,1fr)}
body.lfe-redesign .lfe-account-shell svg{width:21px;height:21px;flex:0 0 21px;display:block}
body.lfe-redesign .lfe-account-shell .lfe-account-avatar svg{width:22px;height:22px}
body.lfe-redesign .lfe-portal-nav{display:grid;gap:5px;padding:0;margin:0}
body.lfe-redesign .lfe-portal-nav a,body.lfe-redesign .lfe-portal-logout{display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:11px;text-decoration:none!important;color:#e4dbee!important;font-size:13px;font-weight:500;line-height:1.5;min-height:46px}
body.lfe-redesign .lfe-portal-nav a:before,body.lfe-redesign .lfe-portal-nav a:after,body.lfe-redesign .lfe-portal-logout:before,body.lfe-redesign .lfe-portal-logout:after{content:none!important}
body.lfe-redesign .lfe-portal-nav a:hover,body.lfe-redesign .lfe-portal-logout:hover{background:#ffffff14;color:#fff!important}
body.lfe-redesign .lfe-portal-nav a[aria-current=page]{background:#fff;color:#351667!important;font-weight:700}
body.lfe-redesign .lfe-portal-logout{margin-top:24px;border-top:1px solid #ffffff20;border-radius:0;padding-top:22px}
body.lfe-redesign .lfe-portal-mobile-nav{display:none}
body.lfe-redesign .lfe-account-shell .lfe-account-heading h2{font-size:clamp(26px,2.8vw,38px)}
body.lfe-redesign .lfe-account-main>.lfe-account-badges{margin:-8px 0 26px}
body.lfe-redesign .lfe-account-shell .lfe-account-card{min-height:240px;gap:0}
body.lfe-redesign .lfe-account-shell .lfe-account-card h3{font-size:19px;line-height:1.3}
body.lfe-redesign .lfe-account-shell .lfe-account-card p{font-size:14px;line-height:1.65;margin:0 0 18px}
body.lfe-redesign .lfe-portal-card-data{font-size:14px;line-height:1.6;margin:4px 0 23px;max-width:100%}
body.lfe-redesign .lfe-portal-card-data>b{display:block;color:#351667;font-weight:650;margin-bottom:7px}
body.lfe-redesign .lfe-account-shell .lfe-portal-card-data p{margin:8px 0;color:#716b7c}
body.lfe-redesign .lfe-portal-card-data small{font-size:12px;color:#7c5c8f}
body.lfe-redesign .lfe-portal-status{display:inline-block;border-radius:30px;padding:5px 10px;background:#eee8f5;color:#5b3d79;font-size:12px;line-height:1.5;font-weight:650}
body.lfe-redesign .lfe-account-shell .lfe-portal-link{display:inline-flex;align-items:center;gap:10px;color:#713c8a;font-weight:700;font-size:13px;text-decoration:none;line-height:1.6}
body.lfe-redesign .lfe-account-card>.lfe-portal-link{margin-top:auto}
body.lfe-redesign .lfe-portal-link svg{width:17px;height:17px;color:#f26c2c}
body.lfe-redesign .lfe-portal-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:12px}
body.lfe-redesign .lfe-account-shell .lfe-portal-panel-head h3{margin:0}
body.lfe-redesign .lfe-portal-actions{display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap}
body.lfe-redesign .lfe-account-shell .lfe-portal-section-title{font-size:21px;line-height:1.4;margin:28px 0 16px}
body.lfe-redesign .lfe-portal-facts{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(0,1fr);gap:12px 20px;margin:20px 0;font-size:14px;line-height:1.5}
body.lfe-redesign .lfe-portal-facts dt{color:#7a7285;font-weight:400}
body.lfe-redesign .lfe-portal-facts dd{margin:0;font-weight:600}
body.lfe-redesign .lfe-portal-access{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;padding:16px 0;border-bottom:1px solid #eee8f5;font-size:14px}
body.lfe-redesign .lfe-p-tabs{display:flex;flex-wrap:wrap;gap:6px;padding:6px;border:1px solid #e8e3ee;border-radius:12px;background:#fff;margin:0 0 24px}
body.lfe-redesign .lfe-p-tabs a{font-size:13px;line-height:1.5;text-decoration:none;padding:10px 15px;border-radius:8px;color:#716b7c;font-weight:600}
body.lfe-redesign .lfe-p-tabs a[aria-current=page]{background:#351667;color:white}
body.lfe-redesign .lfe-portal-note{padding:14px 18px;background:#fff3eb;border-radius:12px;color:#824828!important}
body.lfe-redesign .lfe-account-main .woocommerce-EditAccountForm{background:white;border:1px solid #e8e3ee;border-radius:16px;padding:24px}
body.lfe-redesign .lfe-account-shell .woocommerce-order-details h2,body.lfe-redesign .lfe-account-shell .woocommerce-customer-details h2{font-size:22px;line-height:1.3}
body.lfe-redesign .lfe-account-shell .woocommerce-MyAccount-content:after{display:none}
@media(max-width:960px){body.lfe-redesign .lfe-account-shell{display:block}body.lfe-redesign .lfe-portal-nav{display:none}body.lfe-redesign .lfe-portal-mobile-nav{display:block;color:#d1c5e3;font-size:12px}body.lfe-redesign .lfe-portal-mobile-nav>span{display:block;margin:0 0 6px}body.lfe-redesign .lfe-portal-logout{position:relative;margin:14px 0 0;padding:8px 0;border:0;font-size:12px;min-height:36px}body.lfe-redesign .lfe-account-brand{padding:0 0 16px}body.lfe-redesign .lfe-portal-facts{grid-template-columns:minmax(110px,.8fr) minmax(0,1fr)}}
@media(max-width:600px){body.lfe-redesign .lfe-account-shell .lfe-account-grid{grid-template-columns:minmax(0,1fr)}body.lfe-redesign .lfe-account-shell .lfe-account-card{min-height:220px}body.lfe-redesign .lfe-portal-facts{grid-template-columns:minmax(0,1fr);gap:4px}body.lfe-redesign .lfe-portal-facts dd{margin-bottom:12px}body.lfe-redesign .lfe-p-tabs a{padding:9px 10px;font-size:12px}}
body.lfe-redesign .lfe-account-shell .lfe-portal-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body.lfe-redesign .lfe-account-shell .woocommerce-EditAccountForm .form-row{margin:0 0 20px;padding:0;float:none;width:100%}
body.lfe-redesign .lfe-account-shell .woocommerce-EditAccountForm label{display:block;margin:0 0 7px;font-weight:600}
body.lfe-redesign .lfe-account-shell .woocommerce-EditAccountForm{margin-bottom:22px}
@media(max-width:600px){body.lfe-redesign .lfe-account-shell .lfe-portal-form-grid{grid-template-columns:minmax(0,1fr);gap:0}}
body.lfe-redesign .lfe-account-shell .lfe-account-card>h3,body.lfe-redesign .lfe-account-shell .lfe-account-card>p,body.lfe-redesign .lfe-account-shell .lfe-portal-card-data{width:100%}
body.lfe-redesign .lfe-account-shell .lfe-account-card>.lfe-portal-link{max-width:100%}
body.lfe-redesign .lfe-portal-mobile-nav>span{color:#d1c5e3}
/* Automatic focus makes notices readable without framing the entire message. */
body.lfe-redesign .lfe-account-main :is(.woocommerce-message,.woocommerce-info,.woocommerce-error)[tabindex="-1"]:focus{outline:none;outline-offset:0}

.lfe-portal-cancellation{margin-top:20px;padding-top:18px;border-top:1px solid #e7dfef;font-size:13px;line-height:1.6}
.lfe-portal-cancellation>p,.lfe-portal-cancellation-note{font-size:13px;line-height:1.6;color:#675773}
.lfe-portal-cancellation summary{cursor:pointer;color:#5b338f;font-weight:600}
.lfe-portal-cancellation form{display:grid;gap:15px;margin-top:16px;max-width:640px}
.lfe-portal-cancellation form label{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.6}
.lfe-portal-cancellation button{justify-self:start;padding:11px 17px;border:1px solid #63358e;border-radius:10px;background:#fff;color:#63358e;font:inherit;font-weight:600;cursor:pointer;white-space:normal}
.lfe-portal-cancellation button:hover{background:#f5effa}
