*{box-sizing:border-box}
body{margin:0;background:#eef3f7;color:#203246;font-family:Arial,Helvetica,sans-serif}
.member-header{
  min-height:66px;background:#102d48;color:#fff;display:flex;align-items:center;justify-content:space-between;
  padding:12px max(18px,calc((100vw - 1280px)/2));gap:18px
}
.member-brand{color:#fff;text-decoration:none;font-weight:900;font-size:1.05rem}
.member-brand span,.auth-brand span{font-size:.7em;font-weight:500;opacity:.76}
.member-header nav{display:flex;align-items:center;gap:14px}
.member-header nav a{color:#fff;text-decoration:none;font-weight:700;font-size:.9rem}
.member-header .member-join{background:#fff;color:#173b5e;padding:8px 11px;border-radius:7px}
.access-strip{
  max-width:760px;margin:22px auto 0;padding:13px 16px;border-radius:9px;background:#eaf3fa;color:#294b69;
  display:flex;justify-content:center;gap:9px;flex-wrap:wrap
}
.setup-warning{max-width:900px;margin:20px auto;padding:13px 16px;background:#fff0db;border:1px solid #dda34f;border-radius:8px}
.locked-card{position:relative}
.locked-card:after{
  content:"LOCKED";position:absolute;right:16px;top:16px;font-size:.65rem;font-weight:900;letter-spacing:.08em;
  background:#3d4c5a;color:#fff;border-radius:999px;padding:5px 8px
}
.auth-body{min-height:100vh;display:grid;place-items:center;padding:24px}
.auth-card{
  width:min(100%,520px);background:#fff;border:1px solid #d4dfe8;border-radius:14px;padding:32px;
  box-shadow:0 12px 32px rgba(0,0,0,.08)
}
.auth-brand{color:#173b5e;text-decoration:none;font-weight:900}
.auth-card h1{font-size:2rem;margin:22px 0 8px}
.auth-card p{line-height:1.55;color:#607080}
.auth-card form{display:grid;gap:14px;margin-top:22px}
.auth-card label{display:grid;gap:6px;font-weight:800;font-size:.88rem}
.auth-card input{padding:12px;border:1px solid #adbbc8;border-radius:7px;font-size:1rem}
.auth-card button,.member-button,.checkout-button{
  border:0;border-radius:8px;background:#173b5e;color:#fff;text-decoration:none;padding:12px 16px;
  font-weight:900;cursor:pointer;display:inline-block;text-align:center
}
.form-error{background:#fdeaea;color:#8d2525;border:1px solid #e3aaaa;border-radius:7px;padding:10px 12px;margin-top:14px}
.auth-foot{font-size:.9rem}
.account-shell,.unlock-shell{max-width:1100px;margin:0 auto;padding:30px 20px}
.account-hero{margin-bottom:20px}
.account-hero h1{margin:.2rem 0}
.eyebrow{font-size:.72rem;letter-spacing:.1em;font-weight:900;color:#65798d}
.standards-badge{display:inline-flex;flex-direction:column;gap:3px;align-items:flex-start;margin:14px 0 4px;padding:9px 15px;border:1px solid #5fa777;border-left:4px solid #2f8a55;border-radius:7px;background:linear-gradient(180deg,rgba(46,138,85,.18),rgba(46,138,85,.06));box-shadow:0 1px 2px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.06);text-decoration:none;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease}
.standards-badge:hover,.standards-badge:focus-visible{transform:translateY(-2px);border-color:#8ee0a9;box-shadow:0 8px 20px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.08);outline:none}
.standards-badge-title{color:#8ee0a9;font-size:.74rem;font-weight:900;letter-spacing:.12em}
.standards-badge-list{color:#dfeaf2;font-size:.78rem;font-weight:700;letter-spacing:.03em}
.standards-badge-cta{color:#bfe6cd;font-size:.62rem;font-weight:700;letter-spacing:.04em;margin-top:1px}
.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.account-panel,.unlock-card{
  background:#fff;border:1px solid #d4dfe8;border-radius:14px;padding:24px;box-shadow:0 7px 22px rgba(0,0,0,.05)
}
.access-badge{display:inline-block;padding:7px 10px;border-radius:999px;font-weight:900;font-size:.76rem;margin-bottom:10px}
.access-badge.paid{background:#e5f6ea;color:#23663a}
.access-badge.free{background:#e8eef4;color:#3f5870}
.progress-row{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid #e6ebef}
.progress-row a{font-weight:800;color:#245f91}
.locked-text{color:#8a959e;font-weight:800}
.small-note{font-size:.8rem;color:#778590;line-height:1.45;margin-top:18px}
.unlock-shell{max-width:760px}
.unlock-card{text-align:center;padding:34px}
.full-pill{display:inline-block;font-size:.72rem;font-weight:900;letter-spacing:.09em;background:#e8eef4;color:#3c5871;padding:6px 9px;border-radius:999px}
.unlock-card h1{font-size:2.3rem;margin:.45em 0 .2em}
.unlock-lede{font-size:1.08rem;color:#607080;line-height:1.55}
.price{font-size:3.5rem;font-weight:900;margin:22px 0;color:#173b5e}
.price span{font-size:.28em;font-weight:700;color:#6c7c8b}
.unlock-features{max-width:500px;margin:0 auto 24px;text-align:left;line-height:1.6}
.checkout-button{font-size:1rem;min-width:240px}
.stripe-note{font-size:.78rem;color:#7c8994;margin-top:14px}
@media(max-width:760px){
  .member-header{align-items:flex-start;flex-direction:column}
  .account-grid{grid-template-columns:1fr}
}

.roadmap-card{
  border-style:dashed;
  position:relative;
}
.roadmap-card.developing{
  background:linear-gradient(180deg,#fff,#f7fbff);
  border-color:#8eb5d8;
}
.roadmap-card.future{
  background:#f8fafb;
  border-color:#c6d0d8;
}
.roadmap-card .status-pill{
  margin-top:14px;
}
.roadmap-status{
  color:#6e7f8e;
  font-weight:800;
  font-size:.8rem;
}


/* v5.20 saved level-completion seal */
.progress-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.passed-seal.compact{
  position:static;width:auto;height:auto;border-radius:999px;transform:none;
  display:inline-flex;flex-direction:row;align-items:center;gap:4px;padding:5px 8px;
  background:#e8f6ec;color:#176b35;border:2px double #2c8a4b;
  font-size:.68rem;font-weight:900;letter-spacing:.04em;line-height:1;box-shadow:none
}
.passed-seal.compact .seal-check{font-size:.85rem}
@media(max-width:620px){.progress-row{align-items:flex-start}.progress-actions{justify-content:flex-end}}

/* v5.23 passed status remains visible while Open remains available for replay */
.progress-actions a{white-space:nowrap}
.passed-seal.compact{
  background:linear-gradient(180deg,#fff4bf 0%,#f1d774 46%,#d7a83a 100%);
  color:#6a4608;
  border:1px solid #b48020;
  font-weight:900;
}


/* ============================================================
   v5.31 My Training redesign
   ============================================================ */
.training-account-page{
  min-height:100vh;
  background:
    radial-gradient(circle at 88% 0%,rgba(54,126,188,.10),transparent 28rem),
    #eef3f7;
}
.account-shell-modern{
  max-width:1240px;
  padding:40px 28px 72px;
}
.account-hero-modern{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:30px;
  min-height:240px;
  margin-bottom:20px;
  padding:42px 46px;
  border-radius:22px;
  color:#fff;
  background:
    radial-gradient(circle at 88% 20%,rgba(57,145,217,.32),transparent 24rem),
    linear-gradient(115deg,#071f35 0%,#0b3153 100%);
  box-shadow:0 18px 42px rgba(20,45,70,.14);
}
.account-hero-modern::after{
  content:"";
  position:absolute;
  inset:auto -70px -120px auto;
  width:360px;
  height:360px;
  border:1px solid rgba(111,190,255,.18);
  border-radius:50%;
  box-shadow:0 0 0 46px rgba(111,190,255,.035),0 0 0 92px rgba(111,190,255,.025);
}
.account-hero-modern > *{position:relative;z-index:1}
.account-hero-modern .eyebrow{color:#87c3f5;margin:0 0 10px}
.account-hero-modern h1{
  margin:0;
  max-width:760px;
  color:#fff;
  font-size:clamp(2.2rem,4vw,4rem);
  line-height:1;
  letter-spacing:-.035em;
}
.account-email{
  margin:14px 0 0;
  color:#c4d5e4;
  font-size:1rem;
}
.account-summary{
  display:flex;
  gap:12px;
  flex:0 0 auto;
}
.summary-stat{
  min-width:118px;
  padding:18px 20px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:16px;
  background:rgba(255,255,255,.07);
  backdrop-filter:blur(4px);
}
.summary-stat strong{
  display:block;
  color:#fff;
  font-size:1.55rem;
  line-height:1;
}
.summary-stat span{
  display:block;
  margin-top:6px;
  color:#bcd0e0;
  font-size:.78rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.owner-access-modern{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 20px !important;
  padding:14px 18px !important;
  color:#23435d;
  background:#eff8ff;
  border:1px solid #a9cce8 !important;
  box-shadow:0 8px 20px rgba(24,55,83,.06);
}
.owner-access-modern .owner-check{
  display:grid;
  place-items:center;
  flex:0 0 34px;
  width:34px;
  height:34px;
  border-radius:50%;
  color:#fff;
  background:#1e73b8;
}
.owner-access-modern div{display:flex;flex-direction:column;gap:2px}
.owner-access-modern span:last-child{font-size:.88rem;font-weight:500;color:#61778a}

.account-grid-modern{
  grid-template-columns:minmax(280px,.72fr) minmax(0,1.8fr);
  align-items:start;
  gap:20px;
}
.account-grid-modern .account-panel{
  border:1px solid #d3dee8;
  border-radius:18px;
  box-shadow:0 12px 32px rgba(24,48,72,.07);
}
.access-panel{
  position:sticky;
  top:18px;
}
.panel-kicker{
  margin:0 0 6px;
  color:#668097;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.12em;
}
.account-panel h2{
  margin:0 0 16px;
  color:#173b5e;
  font-size:1.45rem;
}
.account-panel p{
  color:#617485;
  line-height:1.6;
}
.access-panel .member-button{
  width:100%;
  margin-top:8px;
  background:linear-gradient(180deg,#2d82c9,#1f6fab);
}
.panel-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:6px;
}
.back-training-link{
  color:#23699f;
  font-size:.84rem;
  font-weight:800;
  text-decoration:none;
}
.progress-list{
  border-top:1px solid #e4ebf0;
}
.progress-row{
  align-items:center;
  gap:16px;
  min-height:64px;
  padding:12px 0;
}
.progress-name{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  color:#20384e;
  font-weight:800;
}
.level-number{
  display:grid;
  place-items:center;
  flex:0 0 34px;
  width:34px;
  height:34px;
  border-radius:10px;
  color:#65baff;
  background:#0f3252;
  font-size:.86rem;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);
}
.progress-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:7px 11px;
  border-radius:8px;
  color:#fff;
  background:#245f91;
  text-decoration:none;
  font-size:.82rem;
}
.future-row{
  opacity:.72;
}
.roadmap-status{
  white-space:nowrap;
  padding:6px 9px;
  border-radius:999px;
  background:#edf2f6;
}
.training-panel .small-note{
  padding-top:4px;
  border-top:0;
}

@media(max-width:800px){
  .account-shell-modern{padding:20px 14px 54px}
  .account-hero-modern{
    min-height:0;
    align-items:flex-start;
    flex-direction:column;
    padding:30px 22px;
    border-radius:18px;
  }
  .account-hero-modern h1{font-size:clamp(2rem,9vw,3.1rem)}
  .account-summary{
    width:100%;
  }
  .summary-stat{
    flex:1 1 0;
    min-width:0;
  }
  .account-grid-modern{
    grid-template-columns:1fr;
  }
  .access-panel{position:static}
}

@media(max-width:620px){
  .training-account-page .member-header{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
    padding:16px 20px;
  }
  .training-account-page .member-header nav{
    width:100%;
    justify-content:flex-start;
  }
  .account-hero-modern{
    margin-bottom:14px;
  }
  .owner-access-modern{align-items:flex-start}
  .account-grid-modern{gap:14px}
  .account-grid-modern .account-panel{padding:20px 17px}
  .panel-heading{align-items:flex-start;flex-direction:column;gap:5px}
  .progress-row{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
    min-height:0;
    padding:14px 0;
  }
  .progress-actions{
    width:100%;
    justify-content:flex-start;
    padding-left:46px;
  }
  .roadmap-status{
    margin-left:46px;
  }
}

/* ============================================================
   Sequential gating + save/resume card states (2026-09-16)
   ============================================================ */
.level-card{position:relative}
/* Sequential prerequisite lock (distinct from the payment .locked-card) */
.level-card.is-prereq-locked .level-image,
.level-card.is-prereq-locked h2,
.level-card.is-prereq-locked p{filter:grayscale(1);opacity:.55}
.level-card.is-prereq-locked{background:#f4f6f8}
.prereq-lock{position:absolute;top:12px;right:12px;z-index:3;display:inline-flex;align-items:center;gap:6px;
  background:#5c6b7a;color:#fff;font-size:.72rem;font-weight:800;letter-spacing:.03em;padding:5px 10px;border-radius:999px;
  box-shadow:0 2px 6px rgba(20,32,45,.25)}
.prereq-lock svg{width:13px;height:13px}
/* Continue... (saved progress) */
.continue-pill{position:absolute;top:12px;left:12px;z-index:3;display:inline-flex;align-items:center;gap:6px;
  background:#e08a1e;color:#fff;font-size:.72rem;font-weight:800;letter-spacing:.03em;padding:5px 10px;border-radius:999px;
  box-shadow:0 2px 6px rgba(180,110,10,.35)}
.continue-pill .dot{width:7px;height:7px;border-radius:50%;background:#fff;animation:ctpulse 1.4s ease-in-out infinite}
@keyframes ctpulse{0%,100%{opacity:.35}50%{opacity:1}}
.primary-btn.continue-btn{background:#e08a1e}
.primary-btn.continue-btn:hover{background:#c9781a}
/* Locked CTA (non-clickable) */
.level-cta-locked{display:inline-flex;align-items:center;gap:8px;justify-content:center;width:100%;box-sizing:border-box;
  padding:12px 16px;border-radius:10px;background:#e6eaee;color:#6a7783;font-weight:700;cursor:not-allowed;border:1px dashed #c2ced9}
.level-cta-locked svg{width:15px;height:15px}

/* ============================================================
   Full Access pricing callout — shows the one-time price on the
   homepage before signing up (2026-09-21). Self-contained so it
   renders correctly regardless of style.css.
   ============================================================ */
.access-pricing{
  max-width:1240px;
  margin:6px auto 30px;
  padding:26px 32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  flex-wrap:wrap;
  color:#fff;
  border-radius:20px;
  background:
    radial-gradient(circle at 90% 10%,rgba(57,145,217,.34),transparent 22rem),
    linear-gradient(118deg,#071f35 0%,#0e3557 100%);
  box-shadow:0 18px 42px rgba(20,45,70,.18);
}
.access-pricing-info{flex:1 1 460px;min-width:260px}
.access-pricing-eyebrow{
  margin:0 0 8px;color:#87c3f5;font-size:.72rem;font-weight:900;
  letter-spacing:.12em;text-transform:uppercase;
}
.access-pricing-headline{margin:0 0 8px;color:#fff;font-size:1.5rem;font-weight:900;line-height:1.2}
.access-pricing-sub{margin:0 0 10px;color:#c4d5e4;font-size:.98rem;line-height:1.55}
.access-pricing-free{margin:0;color:#9ed69e;font-size:.88rem;font-weight:800}
.access-pricing-buy{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.access-pricing-amount{color:#fff;font-size:3.1rem;font-weight:900;line-height:1;letter-spacing:-.02em}
.access-pricing-amount span{display:block;margin-top:6px;color:#9db8cd;font-size:.84rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase}
.access-pricing .primary-btn{min-width:236px;background:#ffffff;color:#0e3557}
.access-pricing .primary-btn:hover,.access-pricing .primary-btn:focus{background:#e6eef6;color:#0b2b45}
.access-pricing-login{color:#bcd6ea;font-size:.84rem;font-weight:700;text-decoration:none}
.access-pricing-login:hover{text-decoration:underline}
@media(max-width:720px){
  .access-pricing{padding:22px 20px;gap:18px;flex-direction:column;align-items:stretch;text-align:center}
  .access-pricing-info{flex-basis:auto}
  .access-pricing-buy{width:100%}
  .access-pricing-amount{font-size:2.7rem}
  .access-pricing .primary-btn{width:100%}
}

/* ============================================================
   Sign-up price banner — shown WHILE signing up on register.php.
   Paste the matching block from the deploy notes into register.php.
   ============================================================ */
.signup-price{
  display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;
  margin:0 0 22px;padding:16px 18px;border-radius:12px;
  background:linear-gradient(118deg,#071f35 0%,#0e3557 100%);color:#fff;
  box-shadow:0 10px 26px rgba(20,45,70,.16);
}
.signup-price-label{display:flex;flex-direction:column;gap:2px;text-align:left}
.signup-price-label strong{font-size:.95rem;font-weight:900}
.signup-price-label span{color:#bcd6ea;font-size:.82rem;font-weight:700}
.signup-price-amount{color:#fff;font-size:1.9rem;font-weight:900;line-height:1;white-space:nowrap}
.signup-price-amount small{display:block;color:#9db8cd;font-size:.62em;font-weight:700;letter-spacing:.03em;text-transform:uppercase;margin-top:3px}
@media(max-width:480px){.signup-price{justify-content:center;text-align:center}.signup-price-label{text-align:center;align-items:center}}

/* Footer design credit (2026-09-21) — sits below .site-footer-inner on the
   dark footer (#06192b); colors match the footer link palette in style.css. */
.site-footer-credit{
  width:min(1180px,calc(100% - 36px));
  margin:0 auto;
  padding:15px 0 22px;
  border-top:1px solid rgba(255,255,255,.08);
  color:#7c93a6;
  font-size:.82rem;
}
.site-footer-credit a{color:#b8c9d8;text-decoration:none;font-weight:700}
.site-footer-credit a:hover,.site-footer-credit a:focus{color:#fff;text-decoration:underline}

/* FREE flag on the free level cards (Levels 1–2), 2026-09-21 */
.free-flag{margin:2px 0 12px;color:#1f8a4c;font-size:.92rem;font-weight:800}
.free-flag strong{font-weight:900;letter-spacing:.02em}

/* Introductory-sale flag shown with the price (callout, sign-up, unlock) */
.sale-flag{
  display:inline-block;
  padding:5px 11px;
  border-radius:999px;
  background:linear-gradient(180deg,#ffd44d,#f2ad12);
  color:#5b3d00;
  font-size:.66rem;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
  box-shadow:0 3px 10px rgba(214,150,10,.4);
  white-space:nowrap;
}
.hero-sale{color:#ffcf52;font-weight:900}
.signup-price-sale{flex-basis:100%;margin-bottom:2px}

/* Free levels (1–2): centered and enlarged to span the full banner width below,
   so the two big free cards draw the eye before the paid banner. */
.level-grid-free{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:20px}
@media(max-width:760px){.level-grid-free{grid-template-columns:1fr}}