/* /assets/bte-public-coach.css */

:root{
  --bte-black:#111111;
  --bte-ink:#151719;
  --bte-muted:#667085;
  --bte-blue:#1769e0;
  --bte-blue-2:#0f5dcc;
  --bte-light:#f2f2f2;
  --bte-soft:#f8f8f8;
  --bte-white:#ffffff;
  --bte-line:#d9dee6;
  --bte-radius:24px;
  --bte-shadow:0 12px 34px rgba(17,24,39,.08);
  --bte-max:1240px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--bte-ink);
  background:var(--bte-white);
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit}
.wrap{width:min(var(--bte-max),calc(100% - 48px));margin-inline:auto}
.skipLink{
  position:fixed;left:12px;top:-80px;z-index:9999;background:#fff;color:#111;
  padding:10px 14px;border-radius:10px
}
.skipLink:focus{top:12px}

/* Coach-family integrated header */
.bteHeader{
  position:sticky;top:0;z-index:1000;background:rgba(17,17,17,.97);
  border-bottom:1px solid rgba(255,255,255,.10);backdrop-filter:blur(16px)
}
.bteHeaderRow{min-height:72px;display:flex;align-items:center;gap:22px}
.bteBrand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;min-width:max-content}
.bteMark{font-size:31px;line-height:1;color:var(--bte-blue);font-weight:800;transform:translateY(-1px)}
.bteBrandText{display:grid;line-height:1.05;letter-spacing:.08em}
.bteBrandText strong{font-size:14px}
.bteBrandText small{font-size:9px;color:#aab4c2;margin-top:5px;letter-spacing:.16em}
.bteNav{margin-left:auto;display:flex;align-items:center;gap:3px}
.bteNav a,.bteDropBtn{
  color:#e9edf2;text-decoration:none;border:0;background:transparent;
  font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:700;
  padding:10px 11px;border-radius:999px
}
.bteNav a:hover,.bteNav a:focus-visible,.bteDropBtn:hover,.bteNav a.active{
  color:#fff;background:rgba(255,255,255,.09)
}
.bteCoachCta{
  margin-left:10px!important;border:1px solid rgba(255,255,255,.42)!important;padding:10px 15px!important
}
.bteCoachCta:hover{background:#fff!important;color:#111!important}
.bteMenu{display:none;margin-left:auto;background:transparent;color:#fff;border:1px solid #49515b;border-radius:12px;padding:9px 12px;font-size:12px;font-weight:800;letter-spacing:.08em}
.bteDrop{position:relative}
.bteDropPanel{
  display:none;position:absolute;top:44px;left:0;min-width:210px;padding:8px;
  background:#17191c;border:1px solid #31363d;border-radius:14px;box-shadow:var(--bte-shadow)
}
.bteDrop:hover .bteDropPanel,.bteDrop:focus-within .bteDropPanel,.bteDrop.open .bteDropPanel{display:grid}
.bteDropPanel a{border-radius:10px}

/* Hero */
.hero{
  min-height:690px;position:relative;color:#fff;display:grid;align-items:center;
  overflow:hidden;background:#05080c
}
.hero::before{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(0,0,0,.85) 0%,rgba(0,0,0,.64) 36%,rgba(0,0,0,.16) 68%,rgba(0,0,0,.28) 100%),
    url("/assets/hero.webp") center/cover no-repeat;
}
.hero::after{
  content:"";position:absolute;inset:auto 0 0;height:140px;
  background:linear-gradient(transparent,rgba(5,8,12,.50))
}
.heroInner{position:relative;z-index:1;padding:95px 0 110px;max-width:760px}
.kicker{
  font-size:12px;line-height:1.3;letter-spacing:.22em;text-transform:uppercase;
  color:var(--bte-blue);font-weight:850
}
.hero .kicker{color:#64a9ff}
.hero h1{font-size:clamp(54px,7vw,96px);line-height:.92;margin:18px 0 15px;letter-spacing:-.055em;font-weight:850}
.hero h1 span{display:block;color:#f3f4f6;font-size:.43em;line-height:1.12;letter-spacing:.015em;margin-top:12px}
.heroLead{max-width:680px;font-size:19px;line-height:1.65;color:#d2d7dd;margin:0 0 30px}
.actions{display:flex;gap:12px;flex-wrap:wrap}
.btn{
  min-height:50px;display:inline-flex;align-items:center;justify-content:center;gap:9px;
  text-decoration:none;padding:0 21px;border-radius:999px;font-size:12px;letter-spacing:.08em;
  font-weight:850;text-transform:uppercase;border:1px solid transparent;transition:.2s ease
}
.btnPrimary{background:#fff;color:#111}
.btnPrimary:hover{background:var(--bte-blue);color:#fff}
.btnOutline{border-color:rgba(255,255,255,.55);color:#fff}
.btnOutline:hover{background:#fff;color:#111}

/* Shared Coach-family sections */
.section{padding:82px 0}
.sectionSoft{background:var(--bte-soft)}
.sectionLight{background:var(--bte-light)}
.sectionDark{background:var(--bte-black);color:#fff}
.sectionHead{display:flex;justify-content:space-between;gap:36px;align-items:end;margin-bottom:36px}
.sectionHead>div:first-child{max-width:730px}
.sectionHead h2,.section h2{font-size:clamp(34px,4.4vw,58px);letter-spacing:-.045em;line-height:1.02;margin:10px 0 0;font-weight:820}
.sectionHead p{max-width:470px;color:#697383;line-height:1.65;margin:0}
.sectionDark .sectionHead p{color:#b7bec8}
.inline{font-weight:800;color:var(--bte-blue);text-decoration:none}
.inline:hover{text-decoration:underline}

.statGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.card{
  border:1px solid var(--bte-line);background:#fff;border-radius:var(--bte-radius);
  box-shadow:0 2px 0 rgba(17,24,39,.02);padding:27px
}
.statCard{min-height:170px;display:flex;flex-direction:column;justify-content:space-between}
.statLabel{font-size:11px;font-weight:850;letter-spacing:.13em;text-transform:uppercase;color:#687385}
.statValue{font-size:45px;letter-spacing:-.055em;font-weight:850;line-height:1;margin-top:16px}
.statValue small{font-size:18px;letter-spacing:0;margin-left:4px}
.statNote{font-size:12px;color:#7b8490;text-transform:uppercase;letter-spacing:.08em;margin-top:10px}

.projectGrid{display:grid;grid-template-columns:1.25fr .75fr;gap:20px}
.featureCard{padding:34px;min-height:310px}
.featureCard h3{font-size:30px;letter-spacing:-.035em;margin:9px 0 13px}
.featureCard p{color:#667085;line-height:1.65;max-width:650px}
.evidenceGrid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:26px}
.evidenceMetric{padding:18px 0;border-top:1px solid #e3e7ec}
.evidenceMetric b{font-size:29px;letter-spacing:-.035em}
.evidenceMetric span{display:block;color:#7b8490;font-size:11px;letter-spacing:.08em;text-transform:uppercase;margin-top:4px}
.weatherCard{
  padding:34px;background:#111;color:#fff;border:1px solid #24282e;border-radius:var(--bte-radius);
  box-shadow:var(--bte-shadow)
}
.weatherCard .kicker{color:#64a9ff}
.weatherCard h3{font-size:30px;margin:10px 0 20px}
.spot{display:flex;justify-content:space-between;gap:15px;padding:18px 0;border-top:1px solid #30353b}
.spot b{font-size:18px}
.spot span{color:#aeb6c1;font-size:12px;letter-spacing:.06em;text-transform:uppercase}
.weatherCard p{color:#c1c7cf;line-height:1.6}

.flowGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.flowCard{position:relative;min-height:265px;padding:31px}
.flowNo{font-size:13px;color:var(--bte-blue);font-weight:850;letter-spacing:.13em}
.flowCard h3{font-size:27px;letter-spacing:-.035em;margin:23px 0 12px}
.flowCard p{color:#687385;line-height:1.6}
.flowCard ul{padding-left:17px;color:#687385;line-height:1.7}
.flowArrow{position:absolute;right:26px;bottom:24px;font-size:27px;color:#a7b0bc}

.progressPanel{
  display:grid;grid-template-columns:1fr .9fr;gap:44px;align-items:center;
  border-radius:var(--bte-radius);background:#fff;border:1px solid var(--bte-line);padding:42px
}
.progressPanel h3{font-size:37px;letter-spacing:-.04em;margin:10px 0 18px}
.targetLine{height:12px;background:#e7ebef;border-radius:999px;overflow:hidden;margin:26px 0 12px}
.targetLine span{display:block;height:100%;width:83%;background:var(--bte-blue);border-radius:inherit}
.targetMeta{display:flex;justify-content:space-between;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.quote{font-size:26px;line-height:1.45;letter-spacing:-.025em;color:#26303c;margin:0}

.valuesGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.valueCard{min-height:260px;padding:31px}
.valueCard h3{font-size:27px;letter-spacing:-.03em;margin:20px 0 10px}
.valueCard p{color:#687385;line-height:1.65}
.valueIcon{width:42px;height:42px;border-radius:14px;background:#eaf2ff;color:var(--bte-blue);display:grid;place-items:center;font-weight:900}

.coachPromo{
  display:grid;grid-template-columns:1.1fr .9fr;gap:44px;align-items:center;
  padding:48px;border:1px solid #31363b;border-radius:var(--bte-radius);background:#17191c
}
.coachPromo h2{margin:10px 0 16px}
.coachPromo p{color:#b9c0c9;line-height:1.7}
.coachSteps{display:grid;gap:10px}
.coachStep{padding:18px 20px;border:1px solid #31363b;border-radius:16px;background:#111}
.coachStep b{display:block;color:#fff;margin-bottom:4px}
.coachStep span{font-size:13px;color:#aab2bd}

.exploreGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.exploreCard{text-decoration:none;min-height:235px;display:flex;flex-direction:column;justify-content:space-between;transition:.2s ease}
.exploreCard:hover{transform:translateY(-3px);box-shadow:var(--bte-shadow);border-color:#bfc7d2}
.exploreCard h3{font-size:27px;letter-spacing:-.03em;margin:12px 0}
.exploreCard p{color:#687385;line-height:1.55}
.exploreCard strong{color:var(--bte-blue);font-size:12px;letter-spacing:.08em;text-transform:uppercase}

.footer{background:#111;color:#fff;padding:56px 0 28px}
.footerGrid{display:grid;grid-template-columns:1.5fr repeat(3,.65fr);gap:34px}
.footerBrand h3{font-size:26px;margin:0 0 12px}
.footerBrand p{color:#9fa7b1;max-width:390px;line-height:1.6}
.footer h4{font-size:11px;text-transform:uppercase;letter-spacing:.13em;color:#c7cdd5;margin:4px 0 15px}
.footer a{display:block;text-decoration:none;color:#9fa7b1;margin:9px 0;font-size:13px}
.footer a:hover{color:#fff}
.release{border-top:1px solid #2a2e33;margin-top:40px;padding-top:22px;color:#747d88;font-size:10px;letter-spacing:.11em;text-transform:uppercase}

/* Dynamic states */
.loading{color:#7b8490}
[data-home-session] .value{font-weight:850}
.statusPill{
  display:inline-flex;padding:7px 10px;border-radius:999px;background:#eef4ff;color:#145cba;
  font-size:10px;font-weight:850;letter-spacing:.09em;text-transform:uppercase
}

/* Mobile */
@media (max-width:1000px){
  .bteMenu{display:inline-flex}
  .bteNav{
    display:none;position:absolute;top:72px;left:0;right:0;margin:0;background:#111;
    padding:14px 24px 22px;border-top:1px solid #2d3238;flex-direction:column;align-items:stretch
  }
  .bteNav.open{display:flex}
  .bteNav a,.bteDropBtn{text-align:left;width:100%}
  .bteCoachCta{margin-left:0!important;margin-top:6px}
  .bteDropPanel{position:static;box-shadow:none;margin:4px 0;background:#15171a}
  .statGrid{grid-template-columns:repeat(2,1fr)}
  .projectGrid,.progressPanel,.coachPromo{grid-template-columns:1fr}
}
@media (max-width:760px){
  .wrap{width:min(100% - 30px,var(--bte-max))}
  .bteHeaderRow{min-height:66px}
  .bteBrandText strong{font-size:12px}.bteBrandText small{font-size:8px}
  .hero{min-height:650px}
  .hero::before{background:
    linear-gradient(90deg,rgba(0,0,0,.86) 0%,rgba(0,0,0,.62) 65%,rgba(0,0,0,.22) 100%),
    url("/assets/hero.webp") 63% center/cover no-repeat}
  .heroInner{padding:78px 0 90px}
  .heroLead{font-size:17px}
  .section{padding:58px 0}
  .sectionHead{display:block}.sectionHead p{margin-top:18px}
  .statGrid,.flowGrid,.valuesGrid,.exploreGrid,.evidenceGrid{grid-template-columns:1fr}
  .statCard{min-height:145px}
  .featureCard,.weatherCard,.flowCard,.valueCard,.progressPanel,.coachPromo{padding:25px}
  .footerGrid{grid-template-columns:1fr 1fr}
  .footerBrand{grid-column:1/-1}
}
@media (max-width:480px){
  .wrap{width:min(100% - 24px,var(--bte-max))}
  .hero h1{font-size:49px}
  .actions{display:grid}
  .btn{width:100%}
  .statGrid{grid-template-columns:1fr 1fr;gap:10px}
  .statCard{padding:20px;min-height:132px}
  .statValue{font-size:35px}
  .footerGrid{grid-template-columns:1fr}
  .footerBrand{grid-column:auto}
}
@media (prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;transition:none!important}
}


/* V3.2.13 unified footer alias */
.bteFooter{background:#111;color:#fff;padding:56px 0 28px}
.bteFooterGrid{display:grid;grid-template-columns:1.5fr repeat(3,.65fr);gap:34px}
.bteFooterBrand h3{font-size:26px;margin:0 0 12px}.bteFooterBrand p{color:#9fa7b1;max-width:390px;line-height:1.6}
.bteFooter h4{font-size:11px;text-transform:uppercase;letter-spacing:.13em;color:#c7cdd5;margin:4px 0 15px}.bteFooter a{display:block;text-decoration:none;color:#9fa7b1;margin:9px 0;font-size:13px}.bteFooter a:hover{color:#fff}
.bteRelease{border-top:1px solid #2a2e33;margin-top:40px;padding-top:22px;color:#747d88;font-size:10px;letter-spacing:.11em;text-transform:uppercase}
@media(max-width:760px){.bteFooterGrid{grid-template-columns:1fr 1fr}.bteFooterBrand{grid-column:1/-1}}
@media(max-width:480px){.bteFooterGrid{grid-template-columns:1fr}.bteFooterBrand{grid-column:auto}}
/* V3.2.13 canonical header logo */
.bteBrandLogo{display:block;width:auto;height:42px;max-width:290px;object-fit:contain}
@media(max-width:760px){.bteBrandLogo{height:34px;max-width:220px}}


/* V3.2.13 — parent-link dropdown refinement */
.bteDropHead{display:flex;align-items:center}
.bteDropHead>.bteDropLink{padding-right:6px}
.bteDropHead>.bteDropBtn{padding:10px 8px 10px 3px;min-width:30px;cursor:pointer;text-align:center}
@media(max-width:1000px){
  .bteDropHead{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;width:100%}
  .bteDropHead>.bteDropLink{width:auto;padding-right:8px}
  .bteDropHead>.bteDropBtn{width:44px;min-width:44px;padding:10px 8px;text-align:center}
}


/* V3.2.13 nav2 — easier desktop dropdown acquisition */
@media(min-width:1001px){
  .bteDropHead{min-height:42px}
  .bteDropHead>.bteDropLink{padding:11px 7px 11px 11px}
  .bteDropHead>.bteDropBtn{min-width:38px;min-height:40px;padding:10px 11px 10px 7px;display:inline-flex;align-items:center;justify-content:center}
  .bteDropPanel{top:100%;margin-top:-2px;min-width:230px;z-index:1200;padding:10px 8px 8px}
  .bteDropPanel a{padding:11px 12px;min-height:40px;display:flex;align-items:center}
}

/* V3.4.0 RYOW stripped public architecture */
.ryowHero .heroInner{max-width:760px}.ryowHero h1{font-size:clamp(62px,8vw,112px);line-height:.84}.ryowHero .heroLead{max-width:650px;font-size:20px}.ryowSmallStat{font-size:clamp(24px,3vw,40px)!important;letter-spacing:.02em}.ryowGatewayGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.ryowGatewayCard{position:relative;min-height:430px;display:flex;flex-direction:column;justify-content:flex-end;padding:30px;border:1px solid #30343a;border-radius:20px;text-decoration:none;color:#fff;overflow:hidden;background:#14171b;isolation:isolate}.ryowGatewayCard::before{content:"";position:absolute;inset:0;z-index:-2;background-size:cover;background-position:center;transition:transform .35s ease;opacity:.68}.ryowGatewayCard::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(8,9,11,.08),rgba(8,9,11,.92) 72%)}.ryowGatewayCard:hover::before{transform:scale(1.035)}.ryowGatewayCard--rider::before{background-image:url('/assets/images/bio-rider-v3.webp')}.ryowGatewayCard--journey::before{background-image:url('/assets/images/home-carousel/03-blue-cag.webp')}.ryowGatewayCard--coach::before{background-image:url('/assets/images/barassie-rider-pov.jpg')}.ryowGatewayNo{position:absolute;top:22px;right:24px;font-size:12px;letter-spacing:.18em;color:#a9b1ba}.ryowGatewayCard h3{font-size:clamp(28px,3vw,42px);line-height:.95;margin:10px 0 14px}.ryowGatewayCard p{color:#d2d7dd;line-height:1.6;max-width:36ch}.ryowGatewayCard strong{margin-top:22px;color:#64a9ff;letter-spacing:.05em}.ryowManifestoGrid{display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:start}.ryowManifesto h2{font-size:clamp(38px,5vw,70px);line-height:.94;margin:16px 0}.ryowManifesto h2 span{color:#64a9ff}.ryowManifestoGrid>div:last-child{font-size:19px;line-height:1.8;color:#d2d7dd}.ryowManifestoGrid>div:last-child p{margin-top:0;margin-bottom:22px}@media(max-width:900px){.ryowGatewayGrid{grid-template-columns:1fr}.ryowGatewayCard{min-height:360px}.ryowManifestoGrid{grid-template-columns:1fr;gap:26px}}@media(max-width:600px){.ryowHero h1{font-size:54px}.ryowGatewayCard{min-height:330px;padding:24px}}

/* V3.4.2 Guides restore */
body.ryowBrandHome .exploreGrid{grid-template-columns:repeat(4,1fr)}
@media(max-width:1100px){body.ryowBrandHome .exploreGrid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){body.ryowBrandHome .exploreGrid{grid-template-columns:1fr}}

/* /assets/css/bte-universal-nav.css */
/* Beyond The Edge V3.0 — canonical universal navigation */
:root{
  --bte-nav-bg:rgba(5,9,13,.94);
  --bte-nav-surface:#0d141c;
  --bte-nav-surface-hover:#141f2a;
  --bte-nav-line:rgba(255,255,255,.11);
  --bte-nav-text:#f5f8fb;
  --bte-nav-muted:#a9b6c2;
  --bte-nav-accent:#19aef0;
}
.bteHeader[data-bte-universal-nav="true"]{
  position:sticky!important;top:0!important;z-index:5000!important;
  background:var(--bte-nav-bg)!important;
  border-bottom:1px solid var(--bte-nav-line)!important;
  box-shadow:0 10px 34px rgba(0,0,0,.18)!important;
  backdrop-filter:blur(18px) saturate(125%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(125%)!important;
}
.bteHeader[data-bte-universal-nav="true"] .wrap.bteHeaderRow{
  box-sizing:border-box!important;width:min(1280px,calc(100% - 48px))!important;max-width:1280px!important;
  margin:0 auto!important;padding:0!important;min-height:84px!important;
  display:flex!important;align-items:center!important;gap:26px!important;
}
.bteHeader[data-bte-universal-nav="true"] .bteBrand{
  display:flex!important;align-items:center!important;flex:0 0 auto!important;
  text-decoration:none!important;padding:0!important;margin:0!important;line-height:0!important;
}
.bteHeader[data-bte-universal-nav="true"] .bteBrandLogo{
  display:block!important;width:238px!important;height:auto!important;max-width:238px!important;
  object-fit:contain!important;object-position:left center!important;
}
.bteHeader[data-bte-universal-nav="true"] .bteNav{
  margin-left:auto!important;display:flex!important;align-items:center!important;gap:3px!important;position:relative!important;
}
.bteHeader[data-bte-universal-nav="true"] .bteNavItem,
.bteHeader[data-bte-universal-nav="true"] .bteDropBtn{
  box-sizing:border-box!important;position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:7px!important;min-height:44px!important;padding:0 13px!important;border:1px solid transparent!important;border-radius:10px!important;
  background:transparent!important;color:var(--bte-nav-muted)!important;text-decoration:none!important;
  font:800 11.5px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  letter-spacing:.09em!important;text-transform:uppercase!important;white-space:nowrap!important;cursor:pointer!important;
  transition:background .16s ease,color .16s ease,border-color .16s ease!important;
}
.bteHeader[data-bte-universal-nav="true"] .bteNavItem:hover,
.bteHeader[data-bte-universal-nav="true"] .bteNavItem:focus-visible,
.bteHeader[data-bte-universal-nav="true"] .bteDropBtn:hover,
.bteHeader[data-bte-universal-nav="true"] .bteDropBtn:focus-visible{
  background:rgba(255,255,255,.055)!important;color:var(--bte-nav-text)!important;border-color:rgba(255,255,255,.08)!important;
  outline:2px solid transparent!important;box-shadow:0 0 0 3px rgba(25,174,240,.18)!important;
}
.bteHeader[data-bte-universal-nav="true"] .bteNavItem.active,
.bteHeader[data-bte-universal-nav="true"] .bteDropBtn.active{
  background:rgba(25,174,240,.10)!important;color:#fff!important;border-color:rgba(25,174,240,.30)!important;
}
.bteHeader[data-bte-universal-nav="true"] .bteNavItem.active::after,
.bteHeader[data-bte-universal-nav="true"] .bteDropBtn.active::after{
  content:""!important;position:absolute!important;left:14px!important;right:14px!important;bottom:-1px!important;height:2px!important;
  border-radius:2px!important;background:var(--bte-nav-accent)!important;
}
.bteHeader[data-bte-universal-nav="true"] .bteDrop{position:relative!important;display:block!important}
.bteHeader[data-bte-universal-nav="true"] .bteDropBtn span{font-size:.7em!important;opacity:.72!important;transform:translateY(-1px)!important}
.bteHeader[data-bte-universal-nav="true"] .bteDropPanel{
  display:none!important;position:absolute!important;top:calc(100% + 10px)!important;left:0!important;min-width:230px!important;
  padding:8px!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:14px!important;
  background:rgba(10,16,23,.985)!important;box-shadow:0 24px 60px rgba(0,0,0,.42)!important;z-index:5100!important;
}
.bteHeader[data-bte-universal-nav="true"] .bteDropPanelRight{left:auto!important;right:0!important}
.bteHeader[data-bte-universal-nav="true"] .bteDrop.open>.bteDropPanel,
.bteHeader[data-bte-universal-nav="true"] .bteDrop:hover>.bteDropPanel,
.bteHeader[data-bte-universal-nav="true"] .bteDrop:focus-within>.bteDropPanel{display:block!important}
.bteHeader[data-bte-universal-nav="true"] .bteDropPanel a{
  display:flex!important;align-items:center!important;min-height:42px!important;padding:9px 11px!important;border-radius:9px!important;
  color:#c8d2db!important;background:transparent!important;text-decoration:none!important;
  font:700 12.5px/1.25 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:.01em!important;text-transform:none!important;
}
.bteHeader[data-bte-universal-nav="true"] .bteDropPanel a:hover,
.bteHeader[data-bte-universal-nav="true"] .bteDropPanel a:focus-visible,
.bteHeader[data-bte-universal-nav="true"] .bteDropPanel a.active{
  background:var(--bte-nav-surface-hover)!important;color:#fff!important;outline:none!important;
}
.bteHeader[data-bte-universal-nav="true"] .bteDropPanel a.active{box-shadow:inset 2px 0 0 var(--bte-nav-accent)!important}
.bteHeader[data-bte-universal-nav="true"] .bteMenu{
  display:none!important;margin-left:auto!important;min-width:48px!important;min-height:44px!important;padding:0 13px!important;
  border:1px solid rgba(255,255,255,.16)!important;border-radius:10px!important;background:rgba(255,255,255,.035)!important;color:#fff!important;
  font:800 11px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:.12em!important;cursor:pointer!important;
}
.bteHeader[data-bte-universal-nav="true"] .bteMenu:focus-visible{outline:0!important;box-shadow:0 0 0 3px rgba(25,174,240,.24)!important}
@media(max-width:1120px){
 .bteHeader[data-bte-universal-nav="true"] .wrap.bteHeaderRow{width:min(100% - 32px,1280px)!important;min-height:74px!important;gap:14px!important}
 .bteHeader[data-bte-universal-nav="true"] .bteBrandLogo{width:215px!important;max-width:215px!important}
 .bteHeader[data-bte-universal-nav="true"] .bteMenu{display:inline-flex!important;align-items:center!important;justify-content:center!important}
 .bteHeader[data-bte-universal-nav="true"] .bteNav{
   display:none!important;position:absolute!important;top:74px!important;left:0!important;right:0!important;margin:0!important;padding:12px 16px 18px!important;
   background:#070b10!important;border-top:1px solid rgba(255,255,255,.09)!important;flex-direction:column!important;align-items:stretch!important;gap:3px!important;
   box-shadow:0 22px 44px rgba(0,0,0,.36)!important;
 }
 .bteHeader[data-bte-universal-nav="true"] .bteNav.open{display:flex!important}
 .bteHeader[data-bte-universal-nav="true"] .bteNavItem,.bteHeader[data-bte-universal-nav="true"] .bteDropBtn{justify-content:flex-start!important;width:100%!important;padding:0 12px!important}
 .bteHeader[data-bte-universal-nav="true"] .bteNavItem.active::after,.bteHeader[data-bte-universal-nav="true"] .bteDropBtn.active::after{left:0!important;right:auto!important;top:10px!important;bottom:10px!important;width:2px!important;height:auto!important}
 .bteHeader[data-bte-universal-nav="true"] .bteDropPanel,.bteHeader[data-bte-universal-nav="true"] .bteDropPanelRight{
   position:static!important;display:none!important;min-width:0!important;margin:3px 0 8px 12px!important;padding:5px!important;border-radius:10px!important;box-shadow:none!important;background:#0d141c!important;
 }
 .bteHeader[data-bte-universal-nav="true"] .bteDrop.open>.bteDropPanel{display:block!important}
 .bteHeader[data-bte-universal-nav="true"] .bteDrop:hover>.bteDropPanel{display:none!important}
 .bteHeader[data-bte-universal-nav="true"] .bteDrop.open:hover>.bteDropPanel{display:block!important}
}
@media(max-width:560px){
 .bteHeader[data-bte-universal-nav="true"] .wrap.bteHeaderRow{width:calc(100% - 24px)!important;min-height:66px!important}
 .bteHeader[data-bte-universal-nav="true"] .bteBrandLogo{width:182px!important;max-width:182px!important}
 .bteHeader[data-bte-universal-nav="true"] .bteNav{top:66px!important;padding-left:12px!important;padding-right:12px!important}
}


/* R28.2 · approved brand mark + nav polish */
:root{--bte-nav-bg:#000c1c;}
.bteHeader[data-bte-universal-nav="true"]{background:#000c1c!important;}
.bteHeader[data-bte-universal-nav="true"] .wrap.bteHeaderRow{min-height:88px!important;}
.bteHeader[data-bte-universal-nav="true"] .bteBrandLogo{width:272px!important;max-width:272px!important;height:81px!important;object-fit:cover!important;object-position:center!important;}
@media(max-width:1120px){.bteHeader[data-bte-universal-nav="true"] .wrap.bteHeaderRow{min-height:80px!important}.bteHeader[data-bte-universal-nav="true"] .bteBrandLogo{width:238px!important;max-width:238px!important;height:71px!important}.bteHeader[data-bte-universal-nav="true"] .bteNav{top:80px!important}}
@media(max-width:560px){.bteHeader[data-bte-universal-nav="true"] .wrap.bteHeaderRow{min-height:70px!important}.bteHeader[data-bte-universal-nav="true"] .bteBrandLogo{width:202px!important;max-width:202px!important;height:60px!important}.bteHeader[data-bte-universal-nav="true"] .bteNav{top:70px!important}}

/* /assets/css/bte-production-system.css */
/* Beyond The Edge V3.0 — canonical production shell */
:root{
  --bte-shell:#05090d;
  --bte-shell-2:#08111a;
  --bte-footer:#07121b;
  --bte-footer-line:#20313f;
  --bte-footer-text:#edf4f8;
  --bte-footer-muted:#9fb0bd;
  --bte-accent:#19aef0;
  --bte-focus:0 0 0 3px rgba(25,174,240,.28);
}
::selection{background:rgba(25,174,240,.28);color:inherit}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid transparent!important;box-shadow:var(--bte-focus)!important}
.page-hero{color:#fff}
.page-hero h1,.page-hero h2,.page-hero .eyebrow,.page-hero .page-hero__intro{color:#fff!important;opacity:1!important}
.page-hero .page-hero__intro{color:#d7e3ea!important}
.bteFooter.bteFooter--production{
  display:block!important;margin:0!important;padding:0!important;background:linear-gradient(180deg,#08131d 0%,#061019 100%)!important;
  color:var(--bte-footer-text)!important;border-top:1px solid var(--bte-footer-line)!important;font-family:inherit!important;
}
.bteFooter--production .wrap{width:min(1280px,calc(100% - 48px))!important;max-width:1280px!important;margin-left:auto!important;margin-right:auto!important}
.bteFooter--production .bteFooterGrid--production{
  display:grid!important;grid-template-columns:minmax(320px,1.45fr) minmax(170px,.5fr) minmax(170px,.5fr)!important;
  gap:clamp(32px,6vw,82px)!important;align-items:start!important;padding-top:48px!important;padding-bottom:38px!important;
}
.bteFooter--production .bteFooterBrand--production{display:block!important;min-width:0!important}
.bteFooter--production .bteFooterLogoLink{display:inline-block!important;line-height:0!important;text-decoration:none!important;background:transparent!important}
.bteFooter--production .bteFooterLogo{
  display:block!important;width:min(100%,350px)!important;height:auto!important;max-height:108px!important;object-fit:contain!important;object-position:left center!important;background:transparent!important;
}
.bteFooter--production .bteFooterBrand p{
  margin:16px 0 0!important;max-width:560px!important;color:#c4d0d9!important;font-size:1rem!important;line-height:1.65!important;opacity:1!important;
}
.bteFooter--production .bteFooterCol{display:grid!important;gap:8px!important;align-content:start!important}
.bteFooter--production h4{
  margin:0 0 10px!important;color:#fff!important;font-size:.71rem!important;line-height:1.2!important;font-weight:900!important;letter-spacing:.15em!important;text-transform:uppercase!important;
}
.bteFooter--production a{
  color:var(--bte-footer-muted)!important;text-decoration:none!important;font-size:.93rem!important;line-height:1.35!important;opacity:1!important;padding:3px 0!important;
}
.bteFooter--production a:hover{color:#fff!important;text-decoration:none!important}
.bteFooter--production .bteRelease--production{
  border-top:1px solid var(--bte-footer-line)!important;padding-top:18px!important;padding-bottom:22px!important;color:#6f8798!important;
  font-size:.66rem!important;font-weight:800!important;letter-spacing:.13em!important;text-transform:uppercase!important;
}
@media(max-width:820px){
 .bteFooter--production .wrap{width:min(100% - 36px,1280px)!important}
 .bteFooter--production .bteFooterGrid--production{grid-template-columns:1fr 1fr!important;gap:28px!important;padding-top:40px!important}
 .bteFooter--production .bteFooterBrand--production{grid-column:1/-1!important}
 .bteFooter--production .bteFooterLogo{width:min(100%,320px)!important}
}
@media(max-width:560px){
 .bteFooter--production .wrap{width:calc(100% - 28px)!important}
 .bteFooter--production .bteFooterGrid--production{grid-template-columns:1fr!important;padding-top:34px!important;padding-bottom:30px!important}
 .bteFooter--production .bteFooterBrand--production{grid-column:auto!important}
 .bteFooter--production .bteFooterLogo{width:min(100%,285px)!important}
 .bteFooter--production .bteFooterBrand p{font-size:.96rem!important}
 .bteFooter--production .bteRelease--production{font-size:.62rem!important;line-height:1.55!important}
}


/* R28.2 · canonical brand mark / footer background match */
.bteFooter.bteFooter--production{background:#010c18!important;}
.bteFooter--production .bteFooterLogo{width:min(100%,390px)!important;max-height:145px!important;object-fit:contain!important;object-position:left center!important;}
.bteFooter--production .bteFooterBrand p{color:#cbd7e2!important;}
.bteFooter--production a{color:#aebdca!important;}
@media(max-width:820px){.bteFooter--production .bteFooterLogo{width:min(100%,355px)!important}}
@media(max-width:560px){.bteFooter--production .bteFooterLogo{width:min(100%,310px)!important}}


/* R30 INFORMATION ARCHITECTURE */
.bteHubHandoff{max-width:1180px;margin:18px auto 0;padding:13px 16px;border:1px solid rgba(95,190,224,.22);border-radius:14px;background:rgba(5,24,35,.86);display:flex;gap:16px;align-items:center;justify-content:space-between;color:#c9d7e0;font-size:.88rem}
.bteHubHandoff span{color:#54c8e8;font-size:.68rem;font-weight:900;letter-spacing:.13em;white-space:nowrap}.bteHubHandoff strong{color:#f4f8fb;font-weight:750}.bteHubHandoff a{color:#8edff3;font-weight:850;text-decoration:none;white-space:nowrap}.bteHubHandoff a:hover{text-decoration:underline}
@media(max-width:760px){.bteHubHandoff{margin:12px 14px 0;align-items:flex-start;flex-direction:column;gap:7px}.bteHubHandoff a{white-space:normal}}

/* /ride/assets/css/bte-progression.css */
/* Big Air Coach WS13.189 | compiled styles for progression.html | preserve source cascade order */

/* source boundary */
/* BTE Coach · Architecture Port · Iteration 04 / Task 56
   This stylesheet extends the Service template. It does not replace its design system. */
:root{--bte-green:#35b56f;--bte-green-dark:#21814d;--bte-ink:#17202a;--bte-muted:#6f7983;--bte-soft:#f4f6f5;--bte-line:#e5e9e7}


.bte-eyebrow{font-size:.78rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.78)}

.bte-section-kicker{color:var(--bte-green-dark);font-weight:700;letter-spacing:.14em;text-transform:uppercase;font-size:.75rem}.bte-section-title{font-size:clamp(2rem,4vw,3.4rem);letter-spacing:-.04em;color:var(--bte-ink);font-weight:700}.bte-section-copy{color:var(--bte-muted);font-size:1.05rem;line-height:1.75}

.bte-focus-block .bte-section-kicker{color:#72d79d}

.bte-path-card{height:100%;border:0;border-radius:20px;background:#fff}.bte-path-card .card-body{padding:2rem}.bte-path-card h4{font-weight:700;color:var(--bte-ink)}.bte-path-card p{color:var(--bte-muted)}
#today-loading{min-height:1.3rem;color:var(--bte-muted);font-size:.8rem}
@media(max-width:767px){}

/* source boundary */
.bte-progress-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#ddd}.bte-progress-kpi{background:#fff;padding:1.35rem}.bte-progress-kpi span,.bte-progress-detail-grid span{display:block;font-size:.68rem;letter-spacing:.1em;color:#777}.bte-progress-kpi strong{font-size:1.6rem}.bte-progress-chart-shell{background:#fff;border:1px solid #e4e4e4;border-radius:12px;padding:1rem}.bte-progress-chart{width:100%;height:auto}.bte-progress-detail{background:#fff;border:1px solid #e4e4e4;border-radius:12px;padding:1.4rem}.bte-progress-detail-head{display:flex;justify-content:space-between;gap:1rem}.bte-progress-detail-head span{color:#777}.bte-progress-mode{font-size:.72rem!important;font-weight:800;letter-spacing:.08em;color:#68a836!important}.bte-progress-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin:1.2rem 0}.bte-progress-detail-grid strong{font-size:1.2rem}@media(max-width:767px){.bte-progress-kpis{grid-template-columns:repeat(2,1fr)}}
/* V0.32 WS8 — progression story first */
.bte-progress-story{background:#fff;border:1px solid #dfe6ef;border-left:6px solid #1565ff;border-radius:14px;padding:1.4rem 1.6rem}.bte-progress-story h2{margin:.3rem 0 .5rem;color:#17202a}.bte-progress-story p{margin:0;color:#68737e;font-size:1.03rem;line-height:1.65}

/* V0.32.0 WS10.29 — saved ride management */
.bte-saved-rides-copy{max-width:760px;color:#68737e}@media(max-width:767px){}


/* WS10.30 — full-session + tracked metric dashboard */
.bte-metric-switcher{display:flex;flex-wrap:wrap;gap:.65rem}
.bte-metric-switch{appearance:none;border:1px solid #cfd7df;background:#fff;color:#17202a;border-radius:999px;padding:.72rem 1rem;font-weight:800;font-size:.76rem;letter-spacing:.06em;transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease}
.bte-metric-switch:hover,.bte-metric-switch:focus-visible{border-color:#1565ff;color:#1565ff;outline:none;transform:translateY(-1px)}
.bte-metric-switch.is-active{background:#1565ff;border-color:#1565ff;color:#fff}
.bte-dashboard-panel{height:100%;background:#fff;border:1px solid #dfe6ef;border-radius:14px;padding:1.25rem}
.bte-dashboard-panel h3{margin:.25rem 0 .35rem}.bte-dashboard-panel p{min-height:3.4rem;color:#68737e}
.bte-all-jumps-wrap{max-height:620px;overflow:auto;border:1px solid #dfe6ef;border-radius:12px;background:#fff}
.bte-all-jumps-wrap table{margin-bottom:0}.bte-all-jumps-wrap thead th{position:sticky;top:0;background:#f7f9fb;z-index:1;white-space:nowrap}
.bte-all-jumps-wrap td,.bte-all-jumps-wrap th{white-space:nowrap}
@media(max-width:767px){.bte-metric-switch{flex:1 1 calc(50% - .65rem);text-align:center}.bte-dashboard-panel p{min-height:0}.bte-all-jumps-wrap{max-height:520px}}

/* WS10.31 — session-first progression hierarchy + graph readability */
#saved-rides{scroll-margin-top:92px}
#progress-session-review{scroll-margin-top:92px}







.bte-progress-detail{box-shadow:0 12px 34px rgba(17,24,39,.06)}
.bte-progress-detail-head h3{font-size:2rem;margin:.2rem 0 0;color:#17202a}
.bte-progress-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.bte-progress-summary-grid>div{background:#f7f9fb;border:1px solid #e2e8f0;border-radius:10px;padding:.85rem 1rem;min-width:0}
.bte-progress-summary-grid strong{display:block;margin-top:.22rem;word-break:break-word;color:#17202a}
.bte-session-coach-read{margin-top:1.25rem;border-left:5px solid #1565ff;background:#f7faff;border-radius:0 10px 10px 0;padding:1rem 1.15rem}
.bte-session-coach-read span{display:block;font-size:.7rem;font-weight:900;letter-spacing:.09em;color:#1565ff}
.bte-session-coach-read p{margin:.35rem 0 0;color:#344054;font-size:1rem;line-height:1.6}

.bte-jump-table th,.bte-jump-table td{font-size:.9rem;color:#25313c}
.bte-jump-table thead th{font-weight:900;color:#17202a}
.bte-metric-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-top:1.2rem}
.bte-metric-summary>div{background:#fff;border:1px solid #dfe6ef;border-radius:12px;padding:1rem}
.bte-metric-summary span{display:block;font-size:.67rem;font-weight:800;letter-spacing:.07em;color:#667085}
.bte-metric-summary strong{display:block;margin-top:.25rem;font-size:1.35rem;color:#17202a}
.bte-dashboard-panel{padding:1.5rem}
.bte-dashboard-panel h3{font-size:1.45rem;color:#17202a}
.bte-dashboard-panel p{min-height:0;max-width:900px;font-size:.98rem;line-height:1.55}
.bte-progress-chart-shell{padding:1rem 1rem .25rem;overflow-x:auto;background:#fff;border-color:#ccd5df}
.bte-progress-chart{display:block;min-width:700px}
.bte-progress-chart text{font-family:Arial,Helvetica,sans-serif}
@media(max-width:991px){.bte-progress-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bte-metric-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.bte-progress-summary-grid{grid-template-columns:1fr 1fr}.bte-progress-detail-head{align-items:flex-start;flex-direction:column}.bte-progress-chart-shell{margin-left:-.25rem;margin-right:-.25rem;padding:.75rem .4rem .15rem}.bte-progress-chart{min-width:760px}}
@media(max-width:480px){.bte-progress-summary-grid,.bte-metric-summary{grid-template-columns:1fr}.bte-metric-switch{flex:1 1 100%}}
.bte-quality-rejected{color:#9b1c1c;font-weight:700}.bte-quality-rejected b{display:inline-block;margin-left:.25rem;padding:.12rem .35rem;border-radius:999px;background:#fde8e8;font-size:.62rem;letter-spacing:.07em}.has-quality-issue{background:#fff8f8!important}.bte-quality-note{display:block;margin-top:.55rem;color:#9b1c1c}

/* WS10.66a — footer containment fix.
   Keep the complete dynamic Progress/Sessions dashboard in normal document flow
   so the footer can never render before late-populated history charts. */
#progress-main{
  display:flow-root;
  width:100%;
  position:relative;
  clear:both;
}
#progress-main > .bloc{
  float:none!important;
  clear:both;
  position:relative;
}
#progress-dashboard{
  display:flex;
  height:auto!important;
  min-height:0;
}
#progress-dashboard > .container{
  height:auto!important;
  min-height:0;
}
#progress-dashboard .bte-dashboard-panel{
  height:auto!important;
  min-height:0;
}
#progress-dashboard .bte-progress-chart-shell,
#progress-dashboard .bte-progress-chart{
  position:relative;
}
#footer{
  clear:both!important;
  position:relative!important;
  float:none!important;
  width:100%;
}

/* WS10.66g — cumulative-first Sessions hierarchy */
#cumulative-overview,#individual-session{scroll-margin-top:92px}
#cumulative-overview .bte-dashboard-panel{margin-top:1.5rem}
.bte-session-jumps-details{background:#fff;border:1px solid #dfe6ef;border-radius:14px;padding:1.1rem 1.25rem}
.bte-session-jumps-details summary{cursor:pointer;display:flex;justify-content:space-between;gap:1rem;align-items:center;color:#17202a;letter-spacing:.04em}
.bte-session-jumps-details summary span{font-size:.75rem;color:#1565ff;font-weight:900}
.bte-session-jumps-details[open] summary{padding-bottom:.75rem;border-bottom:1px solid #e4e9ef}


@media(max-width:767px){.bte-session-jumps-details summary{align-items:flex-start;flex-direction:column}.bte-progress-kpis{gap:.5rem;background:transparent}.bte-progress-kpi{border:1px solid #dfe6ef;border-radius:10px}}

/* WS10.66o — session-first Review and compact selected-session management */
.bte-session-action-select{width:auto;min-width:180px;max-width:240px;font-weight:800;font-size:.78rem;letter-spacing:.04em}
@media(max-width:575px){.bte-session-action-select{width:100%;max-width:none}}


/* WS10.66x — progression PB emphasis */
.bte-metric-summary>div.is-session-best{
  border-color:#18a66a;
  background:#f0fbf6;
  box-shadow:inset 0 0 0 1px rgba(24,166,106,.08);
}
.bte-metric-summary>div.is-session-best span,
.bte-metric-summary>div.is-session-best strong{
  color:#118057;
}
.bte-metric-summary>div.is-session-best small{
  display:inline-block;
  margin-top:.28rem;
  padding:.2rem .45rem;
  border-radius:999px;
  background:#18a66a;
  color:#fff;
  font-size:.62rem;
  font-weight:900;
  letter-spacing:.08em;
}


/* WS10.95 — cumulative KPI layout repair */
.bte-progress-kpis{grid-template-columns:repeat(4,minmax(0,1fr));background:#dce2e8;border:1px solid #dce2e8}
.bte-pb-source-note{grid-column:auto;background:transparent!important;padding:0!important;color:#667085;font-size:.82rem}
@media(max-width:767px){.bte-progress-kpis{grid-template-columns:repeat(2,minmax(0,1fr));background:transparent;border:0}.bte-pb-source-note{grid-column:auto}}

/* WS11.07 — calm cumulative chart + contextual session actions */
.bte-session-action-select{max-width:265px;font-weight:800;letter-spacing:.04em;border:1px solid #cbd5df;border-radius:12px;background-color:#fff;color:#17202a}
.bte-progress-chart-shell{padding:1.1rem 1.15rem 1rem;overflow:hidden}
.bte-progress-chart{min-height:390px;display:block}
.bte-chart-key-horizontal text{font-size:12px;font-weight:800;fill:#475467;letter-spacing:.015em}
@media(max-width:767px){.bte-session-action-select{max-width:100%;width:100%}.bte-progress-chart-shell{overflow-x:auto}.bte-progress-chart{min-width:760px}}


/* WS11.34A · graph experience upgrade */
.bte-fixed-axis{position:sticky;left:0;top:0;width:76px;height:0;margin-bottom:0;z-index:6;pointer-events:none;color:#667085;background:linear-gradient(90deg,#fff 0,#fff 82%,rgba(255,255,255,.88) 92%,rgba(255,255,255,0) 100%)}
.bte-fixed-axis[style*="height"]{margin-bottom:-390px}
.bte-fixed-axis b{position:absolute;top:8px;left:6px;font-size:.68rem;font-weight:950;letter-spacing:.08em;color:#17202a;white-space:nowrap}
.bte-fixed-axis span{position:absolute;left:4px;width:58px;transform:translateY(-50%);text-align:right;padding-right:8px;font-size:.75rem;font-weight:850;color:#667085;white-space:nowrap}
.bte-chart-overview{margin-top:10px;border:1px solid #dce3ea;border-radius:10px;background:#f8fafc;padding:7px 10px 9px}.bte-chart-overview[hidden]{display:none!important}


.bte-chart-empty{padding:4rem 1rem;text-align:center;color:#667085;font-weight:700}
.bte-progress-chart-shell,.bte-summary-chart-shell{scrollbar-color:#a9b8c8 #eef2f6;scrollbar-width:thin}.bte-progress-chart-shell::-webkit-scrollbar,.bte-summary-chart-shell::-webkit-scrollbar{height:10px}.bte-progress-chart-shell::-webkit-scrollbar-track,.bte-summary-chart-shell::-webkit-scrollbar-track{background:#eef2f6;border-radius:10px}.bte-progress-chart-shell::-webkit-scrollbar-thumb,.bte-summary-chart-shell::-webkit-scrollbar-thumb{background:#a9b8c8;border-radius:10px}
@media(max-width:767px){.bte-fixed-axis{width:68px}.bte-fixed-axis span{width:52px;font-size:.7rem}}


/* WS11.35A · graph navigation simplification */
.bte-chart-overview{margin-top:10px;border:0;background:transparent;padding:0}










.bte-progress-chart-shell.is-fit-full,.bte-summary-chart-shell.is-fit-full{overflow-x:hidden}

@media(max-width:767px){
 
 
 
 
}

/* WS11.36 · readable progression charts */
.bte-progress-chart-shell{min-height:0!important;overflow-x:auto;overflow-y:hidden}
.bte-progress-chart{height:440px!important;max-height:440px;display:block}
.bte-progress-chart-shell.is-fit-full .bte-progress-chart{min-width:100%!important}

/* WS12.0 · Session attempt visual */
.bte-progress-chart-shell{background:#fff;border:1px solid #dce3ea;border-radius:16px;padding:10px 10px 0;min-height:0!important;overflow-x:auto;overflow-y:hidden}
.bte-progress-chart{height:470px!important;max-height:470px;display:block}
.bte-chart-overview{display:none!important}

/* WS12.2 · Clickable Selected Session Metrics */
.bte-session-metric-chart{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:16px}
.bte-session-metric-tile{
 appearance:none;border:1px solid #d8e0e8;border-radius:14px;background:#fff;min-height:126px;
 padding:13px 14px;text-align:left;display:flex;flex-direction:column;gap:4px;cursor:pointer;
 transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease,background .16s ease
}
.bte-session-metric-tile:hover{border-color:#8eb7ff;box-shadow:0 7px 20px rgba(21,101,255,.10);transform:translateY(-1px)}
.bte-session-metric-tile:focus-visible{outline:3px solid rgba(21,101,255,.24);outline-offset:2px}
.bte-session-metric-tile.is-active{border:2px solid #1565ff;background:#f3f7ff;box-shadow:0 8px 22px rgba(21,101,255,.13)}
.bte-session-metric-tile>span{font-size:.68rem;line-height:1.15;font-weight:950;letter-spacing:.08em;color:#667085;text-transform:uppercase}
.bte-session-metric-tile>strong{font-size:1.35rem;line-height:1.15;font-weight:950;color:#17202a;margin-top:3px}
.bte-session-metric-tile>small{font-size:.58rem;line-height:1.2;font-weight:900;letter-spacing:.055em;color:#7b8794}
.bte-session-metric-tile.is-active>small{color:#0f58e8}
.bte-session-metric-tile>em{margin-top:auto;font-style:normal;font-size:.66rem;line-height:1.3;color:#7b8794}
@media(max-width:1199px){.bte-session-metric-chart{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.bte-session-metric-chart{grid-template-columns:repeat(2,minmax(0,1fr))}.bte-session-metric-tile{min-height:116px}}


/* WS12.5 · Performance Colour System
   Purpose: add energy and hierarchy without turning BTE Coach into a multicolour dashboard.
   Blue = primary/action/data, cyan = evidence/info, green = favourable, amber = caution,
   red = regression/risk, violet = coaching/learning. */
:root{
  --bte-blue:#1565ff;
  --bte-blue-soft:#edf4ff;
  --bte-cyan:#1aa7d8;
  --bte-cyan-soft:#eaf9fd;
  --bte-green:#16875a;
  --bte-green-soft:#eaf8f1;
  --bte-amber:#c78a13;
  --bte-amber-soft:#fff6df;
  --bte-red:#bc3b3b;
  --bte-red-soft:#fff0f0;
  --bte-violet:#7557d8;
  --bte-violet-soft:#f2efff;
  --bte-ink:#17202a;
  --bte-slate:#667085;
}
.bte-section-kicker,.bte-card-kicker{color:var(--bte-blue)!important}
.bte-dashboard-panel,.bte-chart-support-card,.bte-compare-panel,.bte-expert-profile-panel,.bte-cumulative-coach-panel{
  box-shadow:0 8px 26px rgba(23,32,42,.045);
}
.bte-dashboard-panel:nth-of-type(3n/**/+1),.bte-chart-support-card:nth-of-type(3n/**/+1){border-top:4px solid var(--bte-blue)}
.bte-dashboard-panel:nth-of-type(3n/**/+2),.bte-chart-support-card:nth-of-type(3n/**/+2){border-top:4px solid var(--bte-cyan)}
.bte-dashboard-panel:nth-of-type(3n),.bte-chart-support-card:nth-of-type(3n){border-top:4px solid var(--bte-violet)}
.bte-metric-switch.is-active,.bte-history-mode-btn.is-active,.bte-history-range-btn.is-active{
  background:var(--bte-blue)!important;color:#fff!important;border-color:var(--bte-blue)!important;
}
.bte-session-metric-tile[data-progress-session-metric="height"].is-active,
.bte-session-metric-tile[data-progress-session-metric="airtime"].is-active{background:var(--bte-blue-soft)!important;border-color:var(--bte-blue)!important}
.bte-session-metric-tile[data-progress-session-metric="landing"].is-active{background:var(--bte-green-soft)!important;border-color:var(--bte-green)!important}
.bte-session-metric-tile[data-progress-session-metric="edge"].is-active,
.bte-session-metric-tile[data-progress-session-metric="pop"].is-active,
.bte-session-metric-tile[data-progress-session-metric="popVelocity"].is-active{background:var(--bte-violet-soft)!important;border-color:var(--bte-violet)!important}
.bte-session-metric-tile[data-progress-session-metric="landing"].is-active>small{color:var(--bte-green)!important}
.bte-session-metric-tile[data-progress-session-metric="edge"].is-active>small,
.bte-session-metric-tile[data-progress-session-metric="pop"].is-active>small,
.bte-session-metric-tile[data-progress-session-metric="popVelocity"].is-active>small{color:var(--bte-violet)!important}















/* source boundary */
/* BTE Coach architecture port — responsive/accessibility layer */
:root{--bte-focus:#0b6efd}
html{scroll-behavior:smooth}
body{overflow-x:hidden}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--bte-focus)!important;outline-offset:3px!important}
.btn,.nav-link,button,input[type=button],input[type=submit],input[type=file]::file-selector-button{min-height:44px}
.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}
img,svg,canvas{max-width:100%;height:auto}
input,select,textarea{max-width:100%}
@media(max-width:991.98px){
 .navbar-nav .nav-link{padding:.75rem .65rem}
 
 .container,.container-lg,.container-md,.container-sm{padding-left:18px;padding-right:18px}
}
@media(max-width:767.98px){
 h1,.display-1,.display-2,.display-3,.display-4{font-size:clamp(2rem,10vw,3.25rem)!important;line-height:1.02!important}
 h2{font-size:clamp(1.6rem,7vw,2.25rem)!important}
 .row>[class*="col-"]{min-width:0}
 
 .btn{white-space:normal}
 .table{font-size:.9rem}
 .table th,.table td{padding:.55rem .45rem}
}
@media(max-width:479.98px){
 body{font-size:16px}
 .container,.container-lg,.container-md,.container-sm{padding-left:14px;padding-right:14px}
 .btn{width:100%}
 .btn+.btn{margin-top:.5rem}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
 .parallax-bg{background-attachment:scroll!important}
}

/* source boundary */
/* BTE Coach V0.31.2 — brand, primary navigation and SETUP on one black header row */
.bte-integrated-header{padding:0!important;background:#111!important;display:block;border-bottom:1px solid rgba(255,255,255,.10)}
.bte-integrated-header>.container{width:100%}

.bte-header-brand{display:inline-flex;align-items:center;gap:16px;flex:0 0 auto;color:#fff!important;text-decoration:none!important;letter-spacing:.08em}




.bte-header-nav{flex:1 1 auto;min-width:0;min-height:70px;border-top:0!important;padding:0!important;margin:0 0 0 20px!important}
.bte-primary-nav{justify-content:center;min-width:0}







.bte-integrated-header .dropdown-menu{margin-top:0;border-radius:0 0 8px 8px;border-top:0}


/* Keep the single-row desktop composition usable on narrower laptops. */
@media (min-width:768px) and (max-width:1199px){
  
  
  .bte-header-brand{gap:10px}
  
  
  .bte-header-nav{margin-left:4px!important}
  
  
  
}

/* Mobile keeps brand + SETUP on the first black line; MENU expands directly below, still inside the black masthead. */
@media (max-width:767px){
  
  .bte-header-brand{grid-column:1;grid-row:1;gap:9px;min-width:0}
  
  
  
  
  .bte-header-nav{grid-column:1/-1;grid-row:2;width:100%;min-height:0;margin:0!important;padding:4px 0 0!important}
  .bte-header-nav .navbar-toggler{display:flex;align-items:center;min-height:44px}
  .bte-primary-nav{width:100%}
  
  
  
  
  .bte-integrated-header .dropdown-menu{position:static!important;transform:none!important;width:100%;border-radius:6px;margin:0 0 6px}
}


/* BTE Coach V0.32.0 WS10.16 — rebalance masthead for longer BEFORE/AFTER labels. */
@media (min-width:1200px){
  
  .bte-header-nav{margin-left:8px!important}
  
  
  
}
@media (min-width:1200px) and (max-width:1399px){
  .bte-header-brand{gap:10px}
  
  
  
  
  
}

/* source boundary */
/* BTE Coach V0.32 rider-journey handoff */




/* source boundary */
/* BTE Coach V0.32 — semantic colour system */
:root{--bte-blue:#1565ff;--bte-blue-dark:#0d47c7;--bte-green:#2f9e59;--bte-amber:#b7791f;--bte-red:#b23a3a;--bte-ink:#17202a;--bte-muted:#6f7983;--bte-soft:#f4f7fb;--bte-line:#e2e8f0}
.bte-section-kicker,.bte-card-kicker{color:var(--bte-blue-dark)!important}.service-button,.btn-d:not(.btn-outline-danger),.bte-setup-button:hover,.bte-setup-button:focus{background:var(--bte-blue)!important;border-color:var(--bte-blue)!important;color:#fff!important}.service-button:hover,.service-button:focus,.btn-d:not(.btn-outline-danger):hover,.btn-d:not(.btn-outline-danger):focus{background:var(--bte-blue-dark)!important;border-color:var(--bte-blue-dark)!important;color:#fff!important}.bte-pill.is-good,.text-success{color:#18743d!important}.bte-pill.is-good{background:#eaf7ef!important}.text-warning{color:#8a5a13!important}.text-danger{color:#a22f2f!important}.bte-chart-head span,.bte-best-window span{color:var(--bte-blue-dark)!important}.bte-best-window-inner{border-left-color:var(--bte-blue)!important}.bte-hourly-detail summary::marker{color:var(--bte-blue)!important}.bte-progress-mode{color:var(--bte-blue)!important}.bte-next-card .bte-panel-label{color:#8eb8ff!important}.bte-next-card:after{border-color:rgba(21,101,255,.13)!important}
@media(max-width:767px){}

/* V0.32 review refinement: keep TODAY decisional and derived values non-editable. */
.bte-readonly-field{background:#f5f7fa;color:#263238;border-style:dashed;font-weight:700;display:flex;align-items:center;min-height:46px}

/* V0.32.0 WS10.2 — equal hero CTA geometry */


@media(max-width:991px){
  
  
}
@media(max-width:767px){
  
  
}

/* V0.32.0 WS10.4 — unified hero CTA interaction */




@media(max-width:991px){
  
  
}
@media(max-width:767px){
  
  
}
@media(prefers-reduced-motion:reduce){
  
  
}

/* WS11.07 accessibility: readable accents on dark cards */
.bte-next-card .bte-section-kicker,.bte-next-card .bte-panel-label{color:#a9c9ff!important}

/* source boundary */
/* BTE Coach V0.32 Workstream 10 — responsive product refinement */
@media (max-width:1199.98px){
  .bte-weather-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bte-hourly-strip{grid-auto-columns:minmax(104px,120px)}
  .bte-progress-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:991.98px){
  .bte-best-window-inner{align-items:flex-start;flex-direction:column}
  .bte-best-badges{justify-content:flex-start}
  .bte-source-row{grid-template-columns:1fr}
  .bte-source-row details{grid-column:1}
  .bte-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767.98px){
  
  .bte-hourly-strip{grid-auto-columns:112px;margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}
  .bte-weather-card,.bte-wind-chart,.bte-best-window-inner,.bte-rideability-explain,.bte-rider-card,.bte-data-card,.bte-technique-evidence,.bte-progress-chart-shell,.bte-progress-detail,.bte-progress-story{border-radius:12px}
  .bte-weather-head{flex-direction:column;align-items:flex-start}
  .bte-weather-head>strong{align-self:flex-start}
  .bte-chart-head{gap:.35rem}
  .bte-wind-chart svg{min-width:640px}
  .bte-wind-chart{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .bte-progress-chart-shell{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .bte-progress-chart{min-width:680px}
  .bte-progress-detail-head{flex-direction:column}
  .bte-quiver-row{grid-template-columns:1fr 1fr}
  .bte-source-row button{width:100%}
}
@media (max-width:575.98px){
  .bte-weather-grid,.bte-result-grid,.bte-progress-kpis,.bte-progress-detail-grid{grid-template-columns:1fr 1fr}
  .bte-best-window strong{font-size:1.25rem}
  .bte-hour-card{min-height:142px}
  .bte-quiver-row{grid-template-columns:1fr}
  .bte-quiver-row button{grid-column:1}
  .bte-data-card .btn,.bte-rider-card .btn,.bte-technique-evidence .btn{width:100%}
}
@media (max-width:390px){
  
  
  
  .bte-weather-grid,.bte-result-grid,.bte-progress-kpis,.bte-progress-detail-grid{grid-template-columns:1fr}
}

/* source boundary */
/* BTE Coach V0.32.0 WS10.33 — compact site-wide spacing and hierarchy system */
:root{
  --bte-space-1:8px;
  --bte-space-2:12px;
  --bte-space-3:16px;
  --bte-space-4:24px;
  --bte-space-5:32px;
  --bte-space-6:40px;
  --bte-space-7:48px;
  --bte-space-8:64px;
  --bte-space-9:80px;
  --bte-page-gutter:24px;
  --bte-card-pad:20px;
  --bte-section-y:44px;
}

/* Keep the legacy Blocs shell, but give product pages one predictable rhythm. */
.page-container > .bloc:not(#header):not(#footer):not(.b-divider) > .container.bloc-lg{
  padding-top:var(--bte-section-y)!important;
  padding-bottom:var(--bte-section-y)!important;
}
.page-container > .bloc:not(#header):not(#footer):not(.b-divider){
  padding-left:var(--bte-page-gutter)!important;
  padding-right:var(--bte-page-gutter)!important;
}

/* Hero content is deliberately separated from the first working section. */
.page-container > .bloc.b-parallax > .container.bloc-lg,
.bte-today-hero > .container.bloc-lg,
.bte-ride-hero > .container.bloc-lg{
  padding-top:52px!important;
  padding-bottom:52px!important;
}
.page-container > .bloc.b-parallax + .bloc,
.bte-today-hero + .bloc,
.bte-ride-hero + .bloc{
  border-top:1px solid rgba(23,32,42,.08);
}

/* Make adjacent working sections read as deliberate stages, especially when colours match. */
.page-container > .bloc.l-bloc + .bloc.l-bloc,
.page-container > .bloc.bgc-2724 + .bloc.bgc-2724,
.page-container > .bloc.bgc-773 + .bloc.bgc-773{
  border-top:1px solid rgba(23,32,42,.10);
}

/* Common heading rhythm. */
.bte-section-kicker,
.bte-card-kicker,
.bte-panel-label,
.bte-analysis-kicker{
  margin-bottom:var(--bte-space-2)!important;
}
.bte-section-title{
  margin-top:0!important;
  margin-bottom:var(--bte-space-3)!important;
}
.bte-section-copy{
  margin-bottom:var(--bte-space-3)!important;
  max-width:68ch;
}

/* Product cards and working panels share one internal padding model. */
.bte-form-card,
.bte-weather-card,
.bte-wind-chart,
.bte-best-window-inner,
.bte-rideability-explain,
.bte-rider-card,
.bte-data-card,
.bte-technique-evidence,
.bte-progress-chart-shell,
.bte-progress-detail,
.bte-progress-story,
.bte-analysis-card,
.bte-dashboard-panel,
.bte-evidence-card,
.bte-method-card,
.bte-result-card,
.bte-why-card,
.bte-next-card,
.bte-lxp-shell,
.bte-source-detail,
.bte-hourly-detail,
.bte-baseline-summary,
.bte-metric-summary,
.bte-workbook-summary{
  padding:var(--bte-card-pad)!important;
}
.bte-stat-card .card-body,
.bte-path-card .card-body,
.card.border-0 > .card-body{
  padding:var(--bte-card-pad)!important;
}

/* Related content is compact; unrelated blocks get breathing room. */
.bte-card-grid,
.bte-stat-grid,
.bte-weather-grid,
.bte-result-grid,
.bte-progress-grid,
.bte-progress-kpis,
.bte-progress-detail-grid,
.bte-progress-summary-grid,
.bte-output-grid,
.bte-evidence-grid,
.bte-quality-grid,
.bte-metric-grid{
  gap:var(--bte-space-3)!important;
}


/* Forms: enough separation to scan without making inputs feel detached. */
.bte-form-card .row.g-3{
  --bs-gutter-x:var(--bte-space-3);
  --bs-gutter-y:var(--bte-space-3);
}
.bte-form-card label{
  margin-bottom:var(--bte-space-1)!important;
}
.bte-form-card .form-control,
.bte-form-card .form-select{
  min-height:48px;
}

/* Button groups and step navigation should read as one control family. */
.bte-hero-actions,
.bte-step-nav,
.bte-metric-tabs,
.bte-dashboard-tabs,
.bte-source-row{
  gap:var(--bte-space-3)!important;
}

/* Tables/scrolling data get a visible break from the section intro. */
.bte-table-wrap,
.table-responsive,
.bte-jump-table-wrap{
  margin-top:var(--bte-space-3);
}

/* Footer is intentionally denser than working content, but not cramped. */
#footer > .container.bloc-md{
  padding-top:32px!important;
  padding-bottom:32px!important;
}
#footer .row{
  row-gap:var(--bte-space-4);
}
#footer h3{
  margin-bottom:var(--bte-space-3);
}
#footer p{
  margin-bottom:var(--bte-space-2);
}

@media (max-width:991.98px){
  :root{
    --bte-page-gutter:20px;
    --bte-card-pad:18px;
    --bte-section-y:38px;
  }
  .page-container > .bloc.b-parallax > .container.bloc-lg,
  .bte-today-hero > .container.bloc-lg,
  .bte-ride-hero > .container.bloc-lg{
    padding-top:46px!important;
    padding-bottom:46px!important;
  }
}

@media (max-width:767.98px){
  :root{
    --bte-page-gutter:16px;
    --bte-card-pad:16px;
    --bte-section-y:30px;
  }
  .page-container > .bloc:not(#header):not(#footer):not(.b-divider){
    padding-left:var(--bte-page-gutter)!important;
    padding-right:var(--bte-page-gutter)!important;
  }
  .page-container > .bloc.b-parallax > .container.bloc-lg,
  .bte-today-hero > .container.bloc-lg,
  .bte-ride-hero > .container.bloc-lg{
    padding-top:38px!important;
    padding-bottom:38px!important;
  }
  .bte-card-grid,
  .bte-stat-grid,
  .bte-weather-grid,
  .bte-result-grid,
  .bte-progress-grid,
  .bte-progress-kpis,
  .bte-progress-detail-grid,
  .bte-progress-summary-grid,
  .bte-output-grid,
  .bte-evidence-grid,
  .bte-quality-grid,
  .bte-metric-grid{
    gap:var(--bte-space-3)!important;
  }
  .bte-section-copy{margin-bottom:var(--bte-space-3)!important}
}

@media (max-width:390px){
  :root{
    --bte-page-gutter:14px;
    --bte-card-pad:15px;
    --bte-section-y:26px;
  }
}

/* BTE Coach V0.32.0 WS10.34 — dense working-page rhythm.
   Progression is a long dashboard: related blocks should sit together,
   not inherit presentation-scale vertical whitespace. */
#progress-main > .bloc > .container.bloc-lg,
#progress-main > .bloc > .container.bloc-md{
  padding-top:24px!important;
  padding-bottom:24px!important;
}
#progress-overview > .container{
  padding-bottom:12px!important;
}
#progress-overview + .bloc > .container{
  padding-top:12px!important;
  padding-bottom:20px!important;
}
#progress-overview + .bloc .bte-progress-story{
  margin-top:0!important;
  margin-bottom:0!important;
}
#progress-main > .bloc + .bloc{
  margin-top:0!important;
}

@media (max-width:767.98px){
  #progress-main > .bloc > .container.bloc-lg,
  #progress-main > .bloc > .container.bloc-md{
    padding-top:18px!important;
    padding-bottom:18px!important;
  }
  #progress-overview > .container{padding-bottom:8px!important}
  #progress-overview + .bloc > .container{
    padding-top:8px!important;
    padding-bottom:16px!important;
  }
}

/* source boundary */
.bte-plan-complete{background:#edf8ff;border:1px solid #b9dff8;border-radius:12px;padding:18px}.bte-plan-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.bte-plan-saved{font-weight:700;color:#176b45}.bte-plan-loaded{background:#edf8ff;border:1px solid #b9dff8;border-radius:10px;padding:12px 14px;margin-bottom:18px;color:#173f59}.bte-plan-loaded strong{display:block;color:#0d6fab}.bte-plan-loaded small{display:block;margin-top:2px}@media(max-width:991px){}@media(max-width:575px){}

/* source boundary */
/* BTE Coach WS10.44 clean-base consolidation */
.bte-workflow-note{border-left:4px solid #1478ff;background:rgba(20,120,255,.07);padding:14px 16px;border-radius:10px;display:flex;flex-direction:column;gap:4px}
.bte-workflow-note strong{font-weight:800}.bte-workflow-note span{font-size:.93rem;line-height:1.45}.bte-workflow-note a{font-weight:700}
.bte-import-card{padding:22px}.bte-import-status{margin:0}.bte-import-status.ok{color:#126c3a;font-weight:700}.bte-import-status.error{color:#a32626;font-weight:700}
.bte-import-summary{display:flex;justify-content:space-between;gap:16px;align-items:end;padding:12px 0}.bte-import-summary span{font-size:.9rem;opacity:.72}
.bte-import-table-wrap{overflow:auto;max-height:420px;border:1px solid rgba(0,0,0,.1);border-radius:10px}.bte-import-table{margin:0;font-size:.9rem}.bte-import-table td,.bte-import-table th{white-space:nowrap}.bte-import-table tr.is-add td:first-child strong{color:#126c3a}.bte-import-table tr.is-update td:first-child strong{color:#0a63b7}.bte-import-table tr.is-check td:first-child strong,.bte-import-table tr.is-skip td:first-child strong{color:#a35b00}
.bte-import-done{background:rgba(22,126,70,.08);border:1px solid rgba(22,126,70,.22);padding:16px;border-radius:12px;display:flex;flex-direction:column;gap:5px}
.bte-manual-woo{border:1px solid rgba(0,0,0,.12);border-radius:12px;padding:0 16px 16px}.bte-manual-woo summary{cursor:pointer;font-weight:800;letter-spacing:.025em;padding:16px 0}.bte-manual-woo[open] summary{border-bottom:1px solid rgba(0,0,0,.08);margin-bottom:10px}
.bte-advanced-numbering{border-top:1px solid rgba(0,0,0,.1);padding-top:12px}.bte-advanced-numbering summary{cursor:pointer;font-weight:700}
#analysis-source-guidance .bte-workflow-note{background:rgba(255,255,255,.78)}
@media(max-width:767px){.bte-import-card{padding:16px}.bte-import-summary{align-items:flex-start;flex-direction:column;gap:4px}.bte-manual-woo{padding-left:12px;padding-right:12px}}

/* WS10.46 acceptance fixes */


.bte-destructive-actions summary{cursor:pointer;display:flex;flex-direction:column;gap:4px}.bte-destructive-actions summary span{font-size:.9rem;font-weight:400;color:#667085}.bte-import-warning{padding:12px 14px;border-radius:10px;background:#fff7e6;border:1px solid #f2d39a;color:#7a4b00}@media(max-width:767px){}

.bte-import-advanced{border-top:1px solid #e3e8ed;padding-top:10px}.bte-import-advanced summary{cursor:pointer;font-weight:700;color:#667085}

@media(max-width:767px){}

/* source boundary */

/* BTE Coach V1.0-RC1 — production polish and accessibility */
:root{--bte-v1-blue:#1f67ff;--bte-v1-green:#16863f;--bte-v1-ink:#172019;--bte-v1-muted:#5f6b76;--bte-v1-border:#dce3e8;--bte-v1-soft:#f6f8f9}
:focus-visible{outline:3px solid rgba(31,103,255,.42)!important;outline-offset:3px}
button,.btn,.form-control,.form-select{min-height:44px}
small{line-height:1.45}
.bte-planner-source-proof small,.bte-source-proof small{color:#52606d!important}
#plan-forecast-btn{border:2px solid #172019!important;background:#fff!important;color:#172019!important;font-weight:800;letter-spacing:.04em;transition:background .16s ease,color .16s ease,border-color .16s ease,opacity .16s ease}
#plan-forecast-btn:hover,#plan-forecast-btn:focus-visible{background:#172019!important;color:#fff!important}
#plan-forecast-btn.is-loading{background:#e9eef3!important;border-color:#9aa8b5!important;color:#344252!important;opacity:1!important;cursor:progress}
#plan-forecast-btn.is-loaded{background:var(--bte-v1-green)!important;border-color:var(--bte-v1-green)!important;color:#fff!important}
#plan-forecast-btn:disabled{opacity:1!important}
.bte-planner-source-proof{border-left:4px solid var(--bte-v1-blue)!important;padding:.8rem 1rem!important}
.bte-planner-source-proof span{color:var(--bte-v1-blue)!important}
.bte-v1-result-heading{margin:.35rem 0 0;font-size:clamp(1.2rem,2vw,1.6rem);color:var(--bte-v1-muted)}
.bte-output-grid.bte-v1-prediction-results{grid-template-columns:1.05fr 1.6fr 1.05fr;gap:12px;background:transparent}
.bte-v1-prediction-results .bte-output{border:1px solid var(--bte-v1-border);border-radius:16px;padding:1.2rem;background:#fff}
.bte-v1-prediction-results .bte-output.primary{grid-column:2;grid-row:1 / span 2;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:1.8rem 2rem;border:2px solid rgba(22,134,63,.35);background:linear-gradient(145deg,#f7fff9,#fff)}
.bte-v1-prediction-results .bte-output.primary span{color:#24723c;font-weight:800}
.bte-v1-prediction-results .bte-output.primary strong{font-size:clamp(3.2rem,8vw,5.4rem);line-height:1;color:var(--bte-v1-green);letter-spacing:-.05em;margin:.35rem 0}
.bte-v1-prediction-results .bte-output.primary small{font-size:.92rem;color:#52606d}
.bte-v1-prediction-results .bte-output strong{display:block;margin:.3rem 0;font-size:1.45rem}
.bte-v1-prediction-results .bte-output:nth-child(1){grid-column:1;grid-row:1}
.bte-v1-prediction-results .bte-output:nth-child(3){grid-column:3;grid-row:1}
.bte-v1-prediction-results .bte-output:nth-child(4){grid-column:3;grid-row:2}
.bte-v1-prediction-results:after{content:"Use the expected best as the target. The range is the realistic window; stretch is exceptional.";grid-column:1;grid-row:2;align-self:stretch;display:flex;align-items:center;border:1px dashed #cbd5dc;border-radius:16px;padding:1rem 1.15rem;color:#56636d;font-size:.88rem;background:#f9fafb}





.bte-source-proof b{display:block;margin-bottom:3px}
.bte-source-proof small{display:block}
.bte-table-wrap,table{max-width:100%}
canvas,svg,img{max-width:100%}
@media(max-width:767.98px){
  .bte-output-grid.bte-v1-prediction-results{grid-template-columns:1fr 1fr}
  .bte-v1-prediction-results .bte-output.primary{grid-column:1/-1;grid-row:1;padding:1.45rem 1.5rem}
  .bte-v1-prediction-results .bte-output:nth-child(1){grid-column:1;grid-row:2}
  .bte-v1-prediction-results .bte-output:nth-child(3){grid-column:2;grid-row:2}
  .bte-v1-prediction-results .bte-output:nth-child(4){grid-column:1;grid-row:3}
  .bte-v1-prediction-results:after{grid-column:2;grid-row:3}
  .bte-planner-form{padding:1rem!important}
  .bte-planner-group{border-radius:12px}
}
@media(max-width:480px){
  .bte-output-grid.bte-v1-prediction-results{grid-template-columns:1fr}
  .bte-v1-prediction-results .bte-output.primary,.bte-v1-prediction-results .bte-output:nth-child(1),.bte-v1-prediction-results .bte-output:nth-child(3),.bte-v1-prediction-results .bte-output:nth-child(4),.bte-v1-prediction-results:after{grid-column:1;grid-row:auto}
  .bte-v1-prediction-results .bte-output.primary strong{font-size:3.5rem}
}

/* WS11.18 context-aware Coach evidence */





@media(max-width:991px){}
@media(max-width:575px){}

/* source boundary */

/* BTE Coach WS10.66 — simplified Predict -> Ride -> Compare -> Progress journey */
.bte-add-choice{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0}.bte-add-choice a,.bte-add-choice button{display:block;padding:24px;border-radius:18px;border:1px solid #d0d5dd;background:#fff;color:#101822;text-decoration:none;text-align:left}.bte-add-choice strong{display:block;font-size:1.25rem}.bte-add-choice span{display:block;margin-top:6px;color:#667085}.bte-primary-nav .dropdown{display:none!important}
@media(max-width:767px){.bte-home-grid,.bte-add-choice{grid-template-columns:1fr}}

/* WS10.66d — exact five-step rider journey */

.bte-build-version{margin:10px 0 0;opacity:.62;font-size:.78rem;letter-spacing:.04em;}
@media (max-width:991px){}
@media (max-width:575px){}


/* WS10.67 — homepage card vertical alignment */


/* source boundary */
/* WS10.66j — one journey, consistent button geometry */
.bte-integrated-nav.bte-journey-nav{align-items:center;gap:.38rem}
.bte-integrated-nav.bte-journey-nav .nav-item{flex:0 0 auto}
.bte-integrated-nav.bte-journey-nav .nav-link{
  display:flex;align-items:center;justify-content:center;
  width:116px;min-width:116px;height:44px;min-height:44px;
  white-space:nowrap;border-radius:999px;padding:0 .55rem!important;
  font-size:.82rem;font-weight:800;line-height:1;letter-spacing:.015em;text-align:center;
  border:1px solid transparent;
  transition:background .15s ease,border-color .15s ease,color .15s ease
}
.bte-integrated-nav.bte-journey-nav .nav-link>span{font-weight:900}
.bte-integrated-nav.bte-journey-nav .nav-link.is-complete{color:#d9ecff!important;background:rgba(21,101,255,.14);border-color:rgba(111,170,255,.28)}
.bte-integrated-nav.bte-journey-nav .nav-link.is-current{color:#fff!important;background:#1565ff;border-color:#4a8cff;box-shadow:0 0 0 2px rgba(21,101,255,.16)}

/* Review is local navigation, so it is deliberately smaller than the five-stage journey. */










@media(max-width:1199px){
  .bte-integrated-nav.bte-journey-nav{gap:.24rem}
  .bte-integrated-nav.bte-journey-nav .nav-link{width:104px;min-width:104px;font-size:.76rem}
}
@media(max-width:991px){
  .bte-integrated-nav.bte-journey-nav{gap:.18rem}
  .bte-integrated-nav.bte-journey-nav .nav-link{width:96px;min-width:96px;height:42px;min-height:42px;font-size:.72rem}
}
@media(max-width:767px){
  .bte-integrated-nav.bte-journey-nav{align-items:stretch;padding:.6rem 0;gap:.4rem}
  .bte-integrated-nav.bte-journey-nav .nav-item{width:100%}
  .bte-integrated-nav.bte-journey-nav .nav-link{width:100%;min-width:100%;height:44px;min-height:44px;border-radius:10px;font-size:.82rem}
  
  
  
}

/* source boundary */

/* BTE Coach V1.0-RC1 · WS10.66r — unified hero system */
.bte-unified-hero{
  position:relative;
  min-height:510px;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.bte-unified-hero>.parallax{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  background-size:cover!important;
  background-repeat:no-repeat!important;
}
.bte-unified-hero>.parallax::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(4,10,14,.70),rgba(4,10,14,.28));
}
.bte-unified-hero .container{
  position:relative;
  z-index:2;
  padding-top:4rem;
  padding-bottom:4rem;
}
.bte-unified-hero .row{
  justify-content:center;
}
.bte-unified-hero [class*="col-"]{
  text-align:center!important;
}
.bte-unified-hero .bte-eyebrow{
  margin:0 0 1.15rem!important;
  color:rgba(255,255,255,.78)!important;
  font-size:.78rem!important;
  line-height:1.3!important;
  font-weight:800!important;
  letter-spacing:.18em!important;
  text-transform:uppercase!important;
}
.bte-unified-hero h1{
  margin:0 auto 1.25rem!important;
  max-width:1200px;
  color:#fff!important;
  font-size:clamp(3.6rem,6.6vw,6.35rem)!important;
  line-height:.92!important;
  letter-spacing:-.055em!important;
  font-weight:750!important;
}
.bte-unified-hero h3,
.bte-unified-hero .bte-unified-support{
  margin:0 auto!important;
  max-width:850px;
  color:rgba(255,255,255,.88)!important;
  font-size:clamp(1.15rem,1.75vw,1.65rem)!important;
  line-height:1.5!important;
  font-weight:300!important;
}
.bte-unified-hero .bte-hero-stage{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  margin-top:2.2rem;
  padding:.62rem 1.15rem;
  border:1px solid rgba(255,255,255,.52);
  border-radius:999px;
  background:rgba(0,0,0,.16);
  color:#fff;
  font-size:.72rem;
  line-height:1;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.bte-unified-hero .bte-home-hero-actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:.75rem;
  margin-top:2.1rem;
}
.bte-unified-hero .bte-home-hero-actions a{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.65rem 1.1rem;
  border-radius:999px;
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.08em;
  text-decoration:none;
}
.bte-unified-hero .bte-home-hero-actions .primary{
  background:#1565ff;
  color:#fff;
  border:1px solid #1565ff;
}
.bte-unified-hero .bte-home-hero-actions .secondary{
  background:rgba(0,0,0,.16);
  color:#fff;
  border:1px solid rgba(255,255,255,.55);
}

/* Dedicated image per page */















@media(max-width:767px){
  .bte-unified-hero{min-height:440px}
  .bte-unified-hero .container{padding-top:3rem;padding-bottom:3rem}
  .bte-unified-hero h1{font-size:clamp(3rem,14vw,4.25rem)!important}
  .bte-unified-hero h3,
  .bte-unified-hero .bte-unified-support{font-size:1.08rem!important;line-height:1.5!important}
}

/* WS10.66s — true page-centred hero content */
.bte-unified-hero .container{
  width:100%!important;
  max-width:1320px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.bte-unified-hero .row{
  display:flex!important;
  justify-content:center!important;
  margin-left:0!important;
  margin-right:0!important;
}
.bte-unified-hero .row > [class*="col-"]{
  flex:0 1 1040px!important;
  width:100%!important;
  max-width:1040px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:24px!important;
  padding-right:24px!important;
  text-align:center!important;
}
.bte-unified-hero .row > [class*="offset-"]{
  margin-left:auto!important;
}
.bte-unified-hero .bte-eyebrow,
.bte-unified-hero h1,
.bte-unified-hero h3,
.bte-unified-hero .bte-unified-support{
  text-align:center!important;
}
@media(max-width:767px){
  .bte-unified-hero .row > [class*="col-"]{
    padding-left:18px!important;
    padding-right:18px!important;
  }
}


/* WS10.66u — visual QA alignment lock
   One physical hero geometry on every page; legacy Bootstrap offsets are no longer used. */
.bte-unified-hero{
  box-sizing:border-box!important;
  width:100%!important;
  height:520px!important;
  min-height:520px!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:stretch!important;
  justify-content:center!important;
  position:relative!important;
  overflow:hidden!important;
}
.bte-unified-hero>.parallax{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
}
.bte-unified-hero>.bte-hero-container{
  position:relative!important;
  z-index:2!important;
  width:100%!important;
  max-width:1440px!important;
  height:100%!important;
  margin:0 auto!important;
  padding:0 32px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.bte-unified-hero .bte-hero-row{
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.bte-unified-hero .bte-hero-inner{
  box-sizing:border-box!important;
  width:min(1040px,100%)!important;
  max-width:1040px!important;
  min-width:0!important;
  margin:0 auto!important;
  padding:0 24px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}
.bte-unified-hero .bte-eyebrow{
  width:100%!important;
  margin:0 0 18px!important;
}
.bte-unified-hero h1{
  width:100%!important;
  max-width:1040px!important;
  margin:0 0 20px!important;
}
.bte-unified-hero h3,
.bte-unified-hero .bte-unified-support{
  width:100%!important;
  max-width:850px!important;
  margin:0 auto!important;
}
.bte-unified-hero .bte-hero-stage{
  margin:34px 0 0!important;
}
.bte-unified-hero .bte-home-hero-actions{
  margin:34px 0 0!important;
}

/* Image framing is intentionally page-specific; the hero geometry is not. */















@media(max-width:767px){
  .bte-unified-hero{
    height:440px!important;
    min-height:440px!important;
  }
  .bte-unified-hero>.bte-hero-container{
    padding:0 16px!important;
  }
  .bte-unified-hero .bte-hero-inner{
    padding:0 6px!important;
  }
  .bte-unified-hero .bte-eyebrow{
    margin-bottom:14px!important;
  }
  .bte-unified-hero h1{
    margin-bottom:16px!important;
  }
  .bte-unified-hero .bte-hero-stage,
  .bte-unified-hero .bte-home-hero-actions{
    margin-top:26px!important;
  }
}


/* WS10.66y — page-specific hero corrections */




/* WS10.66z — explicit hero fixes for Add / Review / Coach */




/* source boundary */

/* BTE Coach WS10.68 — clean hero deployment override.
   This file is deliberately loaded LAST on every page. */

.bte-unified-hero{
  background:#111!important;
}
.bte-unified-hero::before{
  display:none!important;
  content:none!important;
}
.bte-unified-hero.bloc-bg-texture::before,
.bte-unified-hero.texture-darken::before,
.bte-unified-hero.texture-darken-strong::before{
  display:none!important;
  content:none!important;
  background:none!important;
}
.bte-unified-hero>.parallax{
  opacity:1!important;
  filter:none!important;
  mix-blend-mode:normal!important;
  background-blend-mode:normal!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  background-position:center center!important;
}
.bte-unified-hero>.parallax::before{
  display:none!important;
  content:none!important;
}
.bte-unified-hero>.parallax::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  opacity:1!important;
  background:rgba(5,10,14,.18)!important;
  pointer-events:none!important;
}

/* Explicit unique journey assets. */

/* Brightness balance: Review was previously over-darkened. */







/* WS10.69 — direct JPEG hero mode */




/* source boundary */

/* WS10.71 — native image hero rendering.
   No parallax, no CSS background-image, no WebP dependency. */
.bte-unified-hero{
  position:relative!important;
  overflow:hidden!important;
  isolation:isolate!important;
}
.bte-unified-hero>.bte-hero-native-img{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center center!important;
  opacity:1!important;
  visibility:visible!important;
  filter:none!important;
  transform:none!important;
}
.bte-unified-hero>.bte-hero-native-overlay{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:rgba(4,10,14,.16)!important;
  pointer-events:none!important;
}
.bte-unified-hero>.bte-hero-container{
  position:relative!important;
  z-index:2!important;
}




/* Suppress every old hero image/overlay path on native-image pages. */
.bte-unified-hero>.parallax{display:none!important}
.bte-unified-hero>.parallax::before,
.bte-unified-hero>.parallax::after{display:none!important;content:none!important}
.bte-unified-hero::before{display:none!important;content:none!important}


/* WS10.72 — BTE RYOW carousel hero tuning */








/* WS10.74 — Add uses a pre-cropped RYOW photo, so standard centering applies. */


/* WS10.75 — stronger BTE RYOW Add hero */


/* WS10.80 — attached image for Add hero */



/* WS13.12 — Coach Summary rider-POV hero */


@media(max-width:767px){
  
  
}

/* source boundary */
/* WS10.84 consolidation: common next-action and visual rhythm */
.bte-consolidation-next{padding:42px 24px 52px;background:#f4f6f8;border-top:1px solid #e2e7ec}
.bte-consolidation-next>.container{max-width:1320px;margin:0 auto}
.bte-consolidation-next-card{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:28px 30px;border-radius:20px;background:#14202d;color:#fff}
.bte-consolidation-next-card span{display:block;margin-bottom:7px;color:#94b7ff;font-size:.72rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.bte-consolidation-next-card h2{margin:0;color:#fff;font-size:clamp(1.35rem,2.3vw,2rem);line-height:1.2;letter-spacing:-.025em}
.bte-consolidation-next-card a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;border-radius:999px;background:#1762e8;color:#fff;text-decoration:none;white-space:nowrap;font-size:.75rem;font-weight:900;letter-spacing:.07em}
.bte-consolidation-next-card a:hover{color:#fff;filter:brightness(1.08)}
/* Make hidden legacy Ride-only WOO panels inert for layout and accessibility. */
.ride-page .bte-page-hidden{display:none!important}
@media(max-width:767px){.bte-consolidation-next{padding:30px 16px 38px}.bte-consolidation-next-card{flex-direction:column;align-items:flex-start;padding:24px}.bte-consolidation-next-card a{width:100%}}

/* source boundary */

/* BTE Coach WS10.85 — stabilization, no new features */

/* One journey-nav visual language */
.bte-journey-nav a{
  min-height:50px!important;
  padding:0 20px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  white-space:nowrap!important;
  font-weight:850!important;
}
.bte-journey-nav a.is-current,
.bte-journey-nav a.active{
  background:#1f6df2!important;
  border:1px solid #5898ff!important;
  color:#fff!important;
  box-shadow:0 0 0 2px rgba(88,152,255,.15)!important;
}
.bte-journey-nav a.is-complete{
  background:#142139!important;
  border:1px solid #29466f!important;
  color:#eef5ff!important;
}
.bte-journey-nav a.is-complete::before{
  content:"✓";
  margin-right:3px;
  font-weight:950;
}
.bte-journey-nav a[href*="rider-setup"]{
  min-width:118px!important;
  background:transparent!important;
  border:1px solid rgba(255,255,255,.38)!important;
  color:#fff!important;
}

/* One hero geometry */
.bte-native-hero,
.bte-home-hero{
  height:620px!important;
  min-height:620px!important;
  display:flex!important;
  align-items:center!important;
  overflow:hidden!important;
}
.bte-native-hero .bte-hero-container,
.bte-home-hero .container{
  width:100%!important;
  max-width:1320px!important;
  margin:0 auto!important;
  padding-left:24px!important;
  padding-right:24px!important;
}
.bte-native-hero h1,
.bte-home-hero h1{
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  font-size:clamp(4.25rem,7.2vw,7.5rem)!important;
  line-height:.93!important;
  letter-spacing:-.055em!important;
  text-align:center!important;
}
.bte-native-hero h3,
.bte-native-hero p,
.bte-home-hero h3,
.bte-home-hero p{
  max-width:980px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  font-size:clamp(1.3rem,1.9vw,1.95rem)!important;
  line-height:1.35!important;
  text-align:center!important;
}


/* Setup is allowed a slightly smaller headline so the composition stays balanced */


/* Consistent handoff from hero into page content */
.bte-native-hero + .bloc>.container,
.bte-home-hero + .bloc>.container{
  padding-top:42px!important;
}


/* Responsive stabilization */
@media(max-width:1100px){
  .bte-journey-nav a{padding:0 15px!important;min-height:46px!important}
  .bte-native-hero,.bte-home-hero{height:560px!important;min-height:560px!important}
}
@media(max-width:767.98px){
  .bte-native-hero,.bte-home-hero{height:500px!important;min-height:500px!important}
  .bte-native-hero .bte-hero-container,.bte-home-hero .container{padding-left:18px!important;padding-right:18px!important}
  .bte-native-hero h1,.bte-home-hero h1{font-size:clamp(2.8rem,12vw,4.8rem)!important}
  .bte-native-hero h3,.bte-native-hero p,.bte-home-hero h3,.bte-home-hero p{font-size:1.08rem!important}
  
}

/* WS10.86 — lifetime PB semantics */
.bte-pb-source-note{
  grid-column:1/-1;
  margin-top:-4px;
  color:#667085;
  font-size:.76rem;
  line-height:1.4;
}

/* source boundary */

/* BTE Coach WS10.87 — one hero text system across all pages */

/* Center and constrain the text block identically everywhere */
.bte-unified-hero .bte-hero-inner{
  width:100%!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding:0 24px!important;
  text-align:center!important;
  box-sizing:border-box!important;
}

/* Eyebrow */
.bte-unified-hero .bte-eyebrow{
  display:block!important;
  width:100%!important;
  max-width:900px!important;
  margin:0 auto 16px!important;
  padding:0!important;
  font-size:.82rem!important;
  line-height:1.2!important;
  font-weight:900!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
  text-align:center!important;
}

/* Hero title */
.bte-unified-hero .bte-hero-inner>h1{
  display:block!important;
  width:100%!important;
  max-width:1180px!important;
  margin:0 auto 20px!important;
  padding:0!important;
  font-size:clamp(3.9rem,5.5vw,6.2rem)!important;
  line-height:.95!important;
  font-weight:850!important;
  letter-spacing:-.05em!important;
  text-align:center!important;
  text-wrap:balance!important;
}

/* Hero support line */
.bte-unified-hero .bte-hero-inner>h3,
.bte-unified-hero .bte-hero-inner>.bte-unified-support{
  display:block!important;
  width:100%!important;
  max-width:980px!important;
  margin:0 auto!important;
  padding:0!important;
  font-size:clamp(1.18rem,1.45vw,1.48rem)!important;
  line-height:1.42!important;
  font-weight:500!important;
  letter-spacing:-.01em!important;
  text-align:center!important;
  text-wrap:balance!important;
}

/* Neutralise legacy page-specific margin/position classes inside heroes */
.bte-unified-hero .bte-hero-inner>.mg-md,
.bte-unified-hero .bte-hero-inner>.mg-lg{
  margin-left:auto!important;
  margin-right:auto!important;
}
.bte-unified-hero .bte-eyebrow,
.bte-unified-hero .bte-hero-inner>h1,
.bte-unified-hero .bte-hero-inner>h3{
  position:static!important;
  float:none!important;
  transform:none!important;
}

/* Home actions sit below exactly the same text rhythm */
.bte-unified-hero .bte-home-hero-actions{
  margin-top:26px!important;
}

/* Hero labels were inconsistent between support pages; remove them everywhere */
.bte-unified-hero .bte-hero-stage{
  display:none!important;
}

/* Responsive text scale is shared by every page */
@media(max-width:991.98px){
  .bte-unified-hero .bte-hero-inner>h1{
    font-size:clamp(3.35rem,8vw,5.35rem)!important;
  }
}
@media(max-width:767.98px){
  .bte-unified-hero .bte-hero-inner{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  .bte-unified-hero .bte-eyebrow{
    margin-bottom:13px!important;
    font-size:.72rem!important;
    letter-spacing:.12em!important;
  }
  .bte-unified-hero .bte-hero-inner>h1{
    max-width:100%!important;
    margin-bottom:16px!important;
    font-size:clamp(2.75rem,11.5vw,4.4rem)!important;
    line-height:.97!important;
    letter-spacing:-.045em!important;
  }
  .bte-unified-hero .bte-hero-inner>h3,
  .bte-unified-hero .bte-hero-inner>.bte-unified-support{
    max-width:94%!important;
    font-size:1.05rem!important;
    line-height:1.42!important;
  }
}

/* source boundary */
/* BTE Coach WS10.99 — single-line desktop/laptop navigation */
@media (min-width: 992px){
  
  .bte-header-brand{
    flex:0 1 auto!important;
    min-width:0!important;
    gap:clamp(7px,.8vw,12px)!important;
  }
  
  
  
  
  .bte-header-nav{
    flex:1 1 0!important;
    min-width:0!important;
    margin:0!important;
  }
  .bte-primary-nav{
    display:flex!important;
    flex-basis:auto!important;
    min-width:0!important;
    justify-content:center!important;
  }
  .bte-integrated-nav.bte-journey-nav{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:0!important;
    gap:clamp(3px,.45vw,7px)!important;
    padding:0!important;
  }
  .bte-integrated-nav.bte-journey-nav .nav-item{
    display:flex!important;
    flex:0 1 auto!important;
    min-width:0!important;
  }
  .bte-integrated-nav.bte-journey-nav .nav-link,
  .bte-journey-nav a{
    width:auto!important;
    min-width:0!important;
    min-height:44px!important;
    height:44px!important;
    padding:0 clamp(9px,1vw,16px)!important;
    font-size:clamp(.66rem,.8vw,.79rem)!important;
    letter-spacing:.012em!important;
    white-space:nowrap!important;
  }
  
}

/* Between tablet and laptop widths, use one clean collapsible navigation instead of wrapping. */
@media (min-width:768px) and (max-width:991.98px){
  
  .bte-header-brand{grid-column:1!important;grid-row:1!important;min-width:0!important}
  
  .bte-header-nav{grid-column:1/-1!important;grid-row:2!important;width:100%!important;min-height:0!important;margin:0!important;padding:4px 0 0!important}
  .bte-header-nav .navbar-toggler{display:flex!important;align-items:center!important;min-height:44px!important}
  .bte-primary-nav.collapse:not(.show){display:none!important}
  .bte-primary-nav.collapse.show{display:block!important;width:100%!important}
  .bte-integrated-nav.bte-journey-nav{display:block!important;padding:6px 0 10px!important}
  .bte-integrated-nav.bte-journey-nav .nav-item{display:block!important;width:100%!important}
  .bte-integrated-nav.bte-journey-nav .nav-link,
  .bte-journey-nav a{width:100%!important;min-width:100%!important;min-height:44px!important;height:44px!important;border-radius:10px!important;font-size:.82rem!important}
}


/* WS11.02 — compact owner/account menu keeps primary journey on one line */


















@media (min-width:992px){
  
  
}
@media (max-width:991.98px){
  
  
}
@media (max-width:767.98px){
  
  
  
  
  
}

/* WS11.07 — desktop rollover menu */
@media (hover:hover) and (pointer:fine){}


/* source boundary */
/* BTE Coach WS11.33 — Product Consistency & UX Polish */
:root{
  --bte-ink:#17202a; --bte-body:#344054; --bte-muted:#667085; --bte-line:#dce3ea;
  --bte-surface:#ffffff; --bte-soft:#f7f9fc; --bte-dark:#0b1118; --bte-dark-2:#101822;
  --bte-blue:#1769ff; --bte-blue-hover:#0f53d5; --bte-blue-soft:#eef5ff;
  --bte-success:#17803d; --bte-warning:#b66a00; --bte-danger:#b42318;
  --bte-radius:14px; --bte-radius-sm:10px; --bte-shadow:0 12px 36px rgba(16,24,40,.08);
}
html{scroll-behavior:smooth}
body{color:var(--bte-body);background:var(--bte-surface);font-family:"Poppins-Regular",Arial,sans-serif}
h1,h2,h3,h4,h5,h6{color:var(--bte-ink)}
p{color:var(--bte-body)}
.bgc-4906,.service-navigation-header,.bte-integrated-header,footer.bgc-4906{background:var(--bte-dark)!important}
.bte-integrated-header{border-bottom:1px solid rgba(255,255,255,.10)}
.bte-brand-logo-img{display:block;width:clamp(190px,18vw,310px);height:auto;max-height:72px;object-fit:contain}
.bte-footer-logo-img{display:block;width:min(100%,330px);height:auto;object-fit:contain;margin-bottom:14px}
.bte-header-brand,.bte-footer-brand{display:flex;align-items:center}

/* One button language across the rider experience */
.service-button,.service-white-button,.bte-secondary-action,.bte-planner-calculate,
.btn-outline-dark,.btn-outline-primary,.bte-tack-option,.bte-history-toggle,.bte-history-range-btn,
.bte-metric-switch,.bte-see-toggle,.bte-lxp-secondary,.bte-login-submit,
.bte-login-secondary button,.bte-recovery-actions button,#save-rider,#add-kite,#add-board{
  min-height:46px;display:inline-flex;align-items:center;justify-content:center;text-align:center;
  padding:11px 20px;border-radius:12px!important;font-family:"Poppins-SemiBold",Arial,sans-serif;
  font-size:13px;line-height:1.2;letter-spacing:.025em;text-decoration:none;vertical-align:middle;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.service-button,.bte-planner-calculate,.bte-login-submit{
  color:#fff!important;background:var(--bte-blue)!important;border:1px solid var(--bte-blue)!important;
  box-shadow:0 6px 16px rgba(23,105,255,.18)
}
.service-button:hover,.bte-planner-calculate:hover,.bte-login-submit:hover{
  color:#fff!important;background:var(--bte-blue-hover)!important;border-color:var(--bte-blue-hover)!important;
  transform:translateY(-1px);box-shadow:0 8px 20px rgba(23,105,255,.24)
}
.btn-outline-dark,.btn-outline-primary,.bte-secondary-action,.bte-tack-option,.bte-history-toggle,
.bte-history-range-btn,.bte-metric-switch,.bte-see-toggle,.bte-lxp-secondary,.service-white-button{
  color:var(--bte-ink)!important;background:#fff!important;border:1px solid #c4d0da!important;box-shadow:none!important
}
.btn-outline-dark:hover,.btn-outline-primary:hover,.bte-secondary-action:hover,.bte-tack-option:hover,
.bte-history-toggle:hover,.bte-history-range-btn:hover,.bte-metric-switch:hover,.bte-see-toggle:hover,
.bte-lxp-secondary:hover,.service-white-button:hover{
  color:var(--bte-blue-hover)!important;background:var(--bte-blue-soft)!important;border-color:#9ebeff!important
}
.bte-tack-option.active,.bte-history-toggle.is-active,.bte-history-range-btn.is-active,.bte-metric-switch.is-active{
  color:#fff!important;background:var(--bte-blue)!important;border-color:var(--bte-blue)!important
}
.btn-danger{min-height:46px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px!important;font-family:"Poppins-SemiBold";font-size:13px;background:var(--bte-danger)!important;border-color:var(--bte-danger)!important}
button:disabled,.btn.disabled{opacity:.55;cursor:not-allowed;transform:none!important;box-shadow:none!important}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(23,105,255,.25)!important;outline-offset:2px}

/* Navigation is navigation, not another button family */




/* Consistent surfaces, fields and hierarchy */
.card,.bte-card,.bte-panel,.bte-summary-card,.bte-review-card,.bte-predictor-card{border-radius:var(--bte-radius)!important;border-color:var(--bte-line)!important;box-shadow:none}
input,select,textarea,.form-control,.form-select{border-radius:10px!important;border:1px solid #c4d0da!important;color:var(--bte-ink)!important;background:#fff!important;min-height:44px}
input:focus,select:focus,textarea:focus,.form-control:focus,.form-select:focus{border-color:var(--bte-blue)!important;box-shadow:0 0 0 3px rgba(23,105,255,.12)!important}
.bte-section-kicker{color:var(--bte-blue)!important;font-family:"Poppins-SemiBold";letter-spacing:.08em}
.bte-build-version{color:rgba(255,255,255,.58)!important;font-size:12px}
footer p,footer a{color:rgba(255,255,255,.72)!important}footer a:hover{color:#fff!important}

/* Safety-first product cue: visible, calm and non-alarmist */
.bte-safety-strip{display:flex;gap:14px;align-items:flex-start;padding:16px 18px;margin:0 0 26px;border-radius:14px;background:#fff8e8;border:1px solid #f0d59a;color:#6d4b00}
.bte-safety-strip strong{display:block;color:#5a3d00;font-family:"Poppins-SemiBold";margin-bottom:2px}
.bte-safety-strip p{margin:0;color:#6d4b00;font-size:14px;line-height:1.55}
.bte-safety-strip .bte-safety-mark{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:0 0 28px;background:#f8d888;color:#5a3d00;font-family:"Poppins-Bold"}

/* Auth pages should feel part of the same product */
.bte-login-page{background:var(--bte-dark)!important;color:#fff}
.bte-login-card{border-radius:22px!important;border:1px solid rgba(255,255,255,.14)!important;background:rgba(11,17,24,.94)!important;box-shadow:0 22px 70px rgba(0,0,0,.32)!important}
.bte-login-card h1{color:#fff!important}.bte-login-card p,.bte-login-note{color:#b9c4d2!important}
.bte-login-secondary button,.bte-recovery-actions button{background:transparent!important;color:#c9d5e3!important;border:1px solid rgba(255,255,255,.18)!important}
.bte-login-secondary button:hover,.bte-recovery-actions button:hover{background:rgba(255,255,255,.07)!important;color:#fff!important}
.bte-login-field input{background:#10202e!important;color:#fff!important;border-color:#405468!important}

@media(max-width:767px){
  .service-button,.service-white-button,.bte-secondary-action,.bte-planner-calculate,.btn-outline-dark,.btn-outline-primary{width:100%;margin-left:0!important;margin-right:0!important}
  .bte-brand-logo-img{width:210px;max-height:58px}.bte-footer-logo-img{width:250px}
  .bte-safety-strip{padding:14px}
}

/* source boundary */

/* BTE Coach WS13.0 — Automated Rider Journey */
:root{
 --bte-green:#16875a;--bte-green-soft:#eaf8f1;
 --bte-amber:#c78a13;--bte-amber-soft:#fff6df;
 --bte-red:#bc3b3b;--bte-red-soft:#fff0f0;
 --bte-blue:#1565ff;--bte-blue-soft:#edf4ff;
 --bte-violet:#7557d8;--bte-violet-soft:#f2efff;
 --bte-ink:#17202a;--bte-muted:#667085;
}







html[data-bte-view-mode="basic"] .bte-advanced-only{display:none!important}
html[data-bte-view-mode="advanced"] .bte-basic-only{display:none!important}

.bte-detail-cover{border:1px solid #dde4eb;border-radius:14px;background:#fff;margin-top:12px;overflow:hidden}
.bte-detail-cover>summary{list-style:none;cursor:pointer;min-height:52px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.76rem;font-weight:900;color:#17202a}
.bte-detail-cover>summary::-webkit-details-marker{display:none}
.bte-detail-cover>summary:after{content:"+";width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#edf4ff;color:#1565ff;font-size:1.1rem}
.bte-detail-cover[open]>summary:after{content:"−"}
.bte-detail-cover>.bte-detail-cover-body{padding:0 15px 15px}

.bte-signal-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:14px 0}
.bte-signal{position:relative;overflow:hidden;border:1px solid #dce3ea;border-radius:14px;background:#fff;padding:12px 13px 12px 17px;min-height:108px;display:flex;flex-direction:column;gap:4px}
.bte-signal:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:#7b8794}
.bte-signal.is-green{background:linear-gradient(135deg,#fff,var(--bte-green-soft))}.bte-signal.is-green:before{background:var(--bte-green)}
.bte-signal.is-amber{background:linear-gradient(135deg,#fff,var(--bte-amber-soft))}.bte-signal.is-amber:before{background:var(--bte-amber)}
.bte-signal.is-red{background:linear-gradient(135deg,#fff,var(--bte-red-soft))}.bte-signal.is-red:before{background:var(--bte-red)}
.bte-signal.is-blue{background:linear-gradient(135deg,#fff,var(--bte-blue-soft))}.bte-signal.is-blue:before{background:var(--bte-blue)}
.bte-signal.is-violet{background:linear-gradient(135deg,#fff,var(--bte-violet-soft))}.bte-signal.is-violet:before{background:var(--bte-violet)}
.bte-signal-head{display:flex;align-items:center;gap:7px}
.bte-signal-dot{width:11px;height:11px;border-radius:50%;background:#7b8794;box-shadow:0 0 0 4px rgba(123,135,148,.11)}
.is-green .bte-signal-dot{background:var(--bte-green);box-shadow:0 0 0 4px rgba(22,135,90,.12)}
.is-amber .bte-signal-dot{background:var(--bte-amber);box-shadow:0 0 0 4px rgba(199,138,19,.12)}
.is-red .bte-signal-dot{background:var(--bte-red);box-shadow:0 0 0 4px rgba(188,59,59,.12)}
.is-blue .bte-signal-dot{background:var(--bte-blue);box-shadow:0 0 0 4px rgba(21,101,255,.12)}
.is-violet .bte-signal-dot{background:var(--bte-violet);box-shadow:0 0 0 4px rgba(117,87,216,.12)}
.bte-signal span{font-size:.61rem;font-weight:950;letter-spacing:.08em;color:#667085}
.bte-signal strong{font-size:1rem;line-height:1.15;color:#17202a}.bte-signal small{margin-top:auto;font-size:.68rem;line-height:1.35;color:#667085}

.bte-lookback{margin:14px 0 8px}
.bte-lookback-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.bte-lookback-head span{font-size:.65rem;font-weight:950;letter-spacing:.08em;color:#667085}
.bte-lookback-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.bte-lookback-card{border:1px solid #dce3ea;background:#fff;border-radius:12px;padding:10px 11px;text-align:left;min-height:80px;cursor:pointer}
.bte-lookback-card:hover{border-color:#8eb7ff;background:#f8fbff}.bte-lookback-card.is-active{border:2px solid #1565ff;background:#edf4ff}
.bte-lookback-card span{display:block;font-size:.62rem;font-weight:900;letter-spacing:.06em;color:#667085}
.bte-lookback-card strong{display:block;font-size:.93rem;color:#17202a;margin:2px 0}.bte-lookback-card small{display:block;font-size:.67rem;color:#7b8794}
.bte-clean-actions{display:flex;justify-content:flex-end;gap:8px;align-items:center}.bte-clean-actions .btn{min-height:40px}

@media(max-width:991px){.bte-signal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bte-lookback-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:575px){.bte-signal-grid,.bte-lookback-list{grid-template-columns:1fr}}

.bte-advanced-label{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border-radius:999px;background:#f2efff;color:#7557d8;font-size:.58rem;font-weight:950;letter-spacing:.08em;margin:10px 0}

/* WS13.0A · Profile-owned Coach Experience */


.bte-experience-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.bte-experience-option{position:relative;display:block;cursor:pointer;margin:0}
.bte-experience-option input{position:absolute;opacity:0;pointer-events:none}
.bte-experience-option-body{display:flex;flex-direction:column;gap:5px;min-height:142px;padding:18px;border:2px solid #dce3ea;border-radius:16px;background:#fff;transition:border-color .15s ease,background .15s ease,transform .15s ease}
.bte-experience-option-body>strong{font-size:.68rem;letter-spacing:.1em;color:#667085}
.bte-experience-option-body>b{font-size:1.05rem;color:#17202a}
.bte-experience-option-body>small{font-size:.76rem;line-height:1.45;color:#667085}
.bte-experience-option input:checked + .bte-experience-option-body{border-color:#1565ff;background:linear-gradient(135deg,#edf4ff,#f7f4ff);box-shadow:0 8px 24px rgba(21,101,255,.08)}
.bte-experience-option input:checked + .bte-experience-option-body>strong{color:#1565ff}
.bte-experience-option input:focus-visible + .bte-experience-option-body{outline:3px solid rgba(21,101,255,.2);outline-offset:2px}

@media(max-width:767px){.bte-experience-options{grid-template-columns:1fr}}

/* WS13.2 · three-stage automated journey */


@media(max-width:767px){}

/* WS13.2 · Progress quick-read legend and clean look-back actions */
.bte-signal-key{display:flex;flex-wrap:wrap;gap:8px 16px;margin:8px 0 12px;color:#667085;font-size:.67rem;font-weight:800}
.bte-signal-key span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.bte-signal-key i{width:9px;height:9px;border-radius:50%;background:#7b8794;box-shadow:0 0 0 3px rgba(123,135,148,.10)}
.bte-signal-key .is-green i{background:#16875a}.bte-signal-key .is-amber i{background:#c78a13}
.bte-signal-key .is-red i{background:#bc3b3b}.bte-signal-key .is-blue i{background:#1565ff}.bte-signal-key .is-violet i{background:#7557d8}
.bte-lookback-actions{justify-content:flex-end!important;align-items:center!important;margin-top:8px}
.bte-delete-link{color:#a53c3c!important;text-decoration:none!important;font-weight:800!important;font-size:.72rem!important}
.bte-delete-link:hover{color:#7f2222!important;text-decoration:underline!important}
.bte-lookback-card span{min-height:16px}
@media(max-width:991px){.bte-lookback-list{overflow-x:auto;display:flex!important;scroll-snap-type:x proximity;padding-bottom:6px}.bte-lookback-card{min-width:220px;scroll-snap-align:start}}

/* source boundary */

/* BTE Coach WS13.0B — Stage Navigation
   PLAN → SESSION → PROGRESS
   Completed stages point forward with a sideways triangle rather than a tick. */

@media (min-width: 768px){
  .bte-integrated-header .bte-primary-nav{justify-content:center!important}

  .bte-integrated-nav.bte-journey-nav{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:clamp(14px,1.65vw,28px)!important;
    width:auto!important;
    padding:0!important;
  }

  .bte-integrated-nav.bte-journey-nav .nav-item{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    flex:0 0 auto!important;
    min-width:0!important;
  }

  .bte-integrated-nav.bte-journey-nav .nav-link,
  .bte-integrated-nav.bte-journey-nav .service-navigation-link{
    position:relative!important;
    width:auto!important;
    min-width:132px!important;
    height:44px!important;
    min-height:44px!important;
    padding:0 22px!important;
    border-radius:999px!important;
    border:1px solid rgba(255,255,255,.18)!important;
    background:rgba(255,255,255,.035)!important;
    color:rgba(255,255,255,.72)!important;
    font-size:.78rem!important;
    font-weight:900!important;
    letter-spacing:.045em!important;
    line-height:1!important;
    white-space:nowrap!important;
    text-align:center!important;
    overflow:visible!important;
  }

  .bte-integrated-nav.bte-journey-nav .nav-link.is-complete{
    color:#d8e9ff!important;
    background:rgba(21,101,255,.11)!important;
    border-color:rgba(111,170,255,.24)!important;
  }

  /* Kill the old check mark from legacy CSS. */
  .bte-integrated-nav.bte-journey-nav .nav-link.is-complete::before{
    content:none!important;
    display:none!important;
  }

  /* Forward progression marker. */
  .bte-integrated-nav.bte-journey-nav .nav-link.is-complete::after{
    content:""!important;
    position:absolute!important;
    right:calc(-1 * clamp(11px,.95vw,16px))!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:0!important;
    height:0!important;
    border-top:6px solid transparent!important;
    border-bottom:6px solid transparent!important;
    border-left:9px solid #6faaff!important;
    opacity:.95!important;
    pointer-events:none!important;
  }

  .bte-integrated-nav.bte-journey-nav .nav-link.is-current{
    color:#fff!important;
    background:#1565ff!important;
    border-color:#4a8cff!important;
    box-shadow:0 0 0 2px rgba(21,101,255,.14),0 7px 18px rgba(21,101,255,.18)!important;
  }

  .bte-integrated-nav.bte-journey-nav .nav-link:not(.is-current):not(.is-complete){
    color:rgba(255,255,255,.58)!important;
  }

  .bte-integrated-nav.bte-journey-nav .nav-link:hover,
  .bte-integrated-nav.bte-journey-nav .nav-link:focus-visible{
    color:#fff!important;
    border-color:rgba(255,255,255,.42)!important;
    background:rgba(255,255,255,.085)!important;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px){
  .bte-integrated-nav.bte-journey-nav{gap:16px!important}
  .bte-integrated-nav.bte-journey-nav .nav-link,
  .bte-integrated-nav.bte-journey-nav .service-navigation-link{
    min-width:118px!important;
    padding-left:17px!important;
    padding-right:17px!important;
    font-size:.74rem!important;
  }
}

@media (max-width: 991.98px){
  .bte-integrated-nav.bte-journey-nav{gap:7px!important}
  .bte-integrated-nav.bte-journey-nav .nav-link,
  .bte-integrated-nav.bte-journey-nav .service-navigation-link{
    position:relative!important;
    width:100%!important;
    min-width:100%!important;
    min-height:46px!important;
    height:46px!important;
    padding:0 42px 0 14px!important;
    border-radius:11px!important;
    border:1px solid rgba(255,255,255,.13)!important;
    text-align:left!important;
    justify-content:flex-start!important;
  }
  .bte-integrated-nav.bte-journey-nav .nav-link.is-complete::before{
    content:none!important;
    display:none!important;
  }
  .bte-integrated-nav.bte-journey-nav .nav-link.is-complete::after{
    content:""!important;
    position:absolute!important;
    right:16px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:0!important;
    height:0!important;
    border-top:6px solid transparent!important;
    border-bottom:6px solid transparent!important;
    border-left:9px solid #6faaff!important;
  }
}

/* WS13.0C · Coach Summary uses original RYOW photography */



/* source boundary */

/* BTE Coach WS13.2 — connected rider journey navigation
   A compact progress rail replaces three disconnected oversized pills. */
:root{
  --bte-nav-blue:#1e6cff;
  --bte-nav-cyan:#65c9ff;
  --bte-nav-ink:#0b141d;
  --bte-nav-border:rgba(255,255,255,.16);
  --bte-nav-muted:rgba(255,255,255,.56);
}
@media(min-width:992px){
  
  .bte-header-brand{grid-column:1!important;justify-self:start!important;min-width:0!important}
  .bte-header-nav{grid-column:2!important;margin:0!important;min-width:0!important}
  .bte-primary-nav{justify-content:center!important}
  
  .bte-integrated-nav.bte-journey-nav{
    display:flex!important;flex-wrap:nowrap!important;align-items:center!important;
    justify-content:center!important;gap:0!important;padding:0!important;margin:0!important;
  }
  .bte-integrated-nav.bte-journey-nav .nav-item{
    position:relative!important;display:flex!important;align-items:center!important;flex:0 0 auto!important;
  }
  .bte-integrated-nav.bte-journey-nav .nav-item:not(:last-child)::after{
    content:""!important;width:clamp(34px,3.2vw,62px)!important;height:1px!important;
    background:linear-gradient(90deg,rgba(101,201,255,.78),rgba(255,255,255,.16))!important;
    margin:0 10px!important;
  }
  .bte-integrated-nav.bte-journey-nav .nav-link{
    width:auto!important;min-width:0!important;height:46px!important;min-height:46px!important;
    padding:4px 10px 4px 5px!important;border:0!important;border-radius:999px!important;
    background:transparent!important;color:var(--bte-nav-muted)!important;
    display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;
    box-shadow:none!important;font-size:.73rem!important;font-weight:900!important;letter-spacing:.075em!important;
    transition:background .18s ease,color .18s ease,transform .18s ease!important;
  }
  
  .bte-stage-label{white-space:nowrap}
  .bte-journey-nav .nav-link.is-current{
    background:rgba(30,108,255,.13)!important;color:#fff!important;
  }
  .bte-journey-nav .nav-link.is-current .bte-stage-index{
    background:var(--bte-nav-blue);border-color:#5e9aff;color:#fff;
    box-shadow:0 0 0 4px rgba(30,108,255,.12);
  }
  .bte-journey-nav .nav-link.is-complete{color:#d6ebff!important}
  .bte-journey-nav .nav-link.is-complete .bte-stage-index{
    background:#153c63;border-color:#3979b4;color:#9bdcff;
  }
  .bte-journey-nav .nav-link.is-complete::before{content:none!important;display:none!important}
  .bte-journey-nav .nav-link.is-complete::after{
    content:""!important;position:absolute!important;right:-5px!important;top:50%!important;
    transform:translate(50%,-50%)!important;width:0!important;height:0!important;
    border-top:5px solid transparent!important;border-bottom:5px solid transparent!important;
    border-left:7px solid var(--bte-nav-cyan)!important;opacity:.95!important;
  }
  .bte-journey-nav .nav-link:hover,.bte-journey-nav .nav-link:focus-visible{
    background:rgba(255,255,255,.065)!important;color:#fff!important;transform:translateY(-1px);
  }
  
}
@media(min-width:768px) and (max-width:991.98px){
  .bte-integrated-nav.bte-journey-nav .nav-link{
    min-height:46px!important;height:46px!important;border-radius:11px!important;
  }
  
}
@media(max-width:767.98px){
  .bte-integrated-nav.bte-journey-nav .nav-link{
    display:flex!important;align-items:center!important;gap:10px!important;
  }
  
  .bte-journey-nav .nav-link.is-current .bte-stage-index{background:#1e6cff;color:#fff}
  .bte-journey-nav .nav-link.is-complete .bte-stage-index{background:#153c63;color:#9bdcff}
  .bte-journey-nav .nav-link.is-complete::before{content:none!important;display:none!important}
  .bte-journey-nav .nav-link.is-complete::after{
    content:""!important;position:absolute!important;right:16px!important;top:50%!important;
    transform:translateY(-50%)!important;width:0!important;height:0!important;
    border-top:5px solid transparent!important;border-bottom:5px solid transparent!important;
    border-left:7px solid #65c9ff!important;
  }
}


/* WS13.4 — Active Rider profile switcher: visible affordance, click-only disclosure */













@media(max-width:767.98px){
 
 
}

/* WS13.5 — compact rider affordance. The closed state behaves like a normal account switcher,
   while profile context moves into the disclosed panel. */
@media(min-width:768px){
  
  
  
  
  
  
}

/* source boundary */
/* Big Air Coach WS13.6 — ambient conditions rail.
   Weather is part of PLAN, not a secondary utility.
   Rail is mounted immediately beneath the hero rather than beneath the top navigation. */
.bte-weather-rail{position:relative;z-index:1080;background:#071f31;border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(101,201,255,.18);color:#fff}
.bte-weather-rail-inner{width:min(1440px,100%);margin:0 auto;min-height:48px;padding:5px clamp(16px,2.7vw,42px);display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:clamp(12px,2vw,28px)}
.bte-weather-spot{min-width:0;display:flex;align-items:center;gap:10px;color:#fff!important;text-decoration:none!important;padding:7px 9px;border-radius:10px;transition:background .16s ease,transform .16s ease}
.bte-weather-spot:hover,.bte-weather-spot:focus-visible{background:rgba(101,201,255,.08);transform:translateY(-1px);outline:none}
.bte-weather-spot:last-child{justify-content:flex-end;text-align:right}
.bte-weather-state{width:8px;height:8px;border-radius:50%;flex:0 0 8px;background:#8191a1;box-shadow:0 0 0 3px rgba(129,145,161,.12)}
.bte-weather-spot.is-good .bte-weather-state{background:#43d17c;box-shadow:0 0 0 3px rgba(67,209,124,.12)}
.bte-weather-spot.is-watch .bte-weather-state{background:#f2ae43;box-shadow:0 0 0 3px rgba(242,174,67,.12)}
.bte-weather-spot.is-risk .bte-weather-state{background:#f05c63;box-shadow:0 0 0 3px rgba(240,92,99,.12)}
.bte-weather-spot.is-info .bte-weather-state{background:#65c9ff;box-shadow:0 0 0 3px rgba(101,201,255,.12)}
.bte-weather-copy{min-width:0;display:flex;align-items:baseline;gap:8px;white-space:nowrap;overflow:hidden}
.bte-weather-name{font-size:.68rem;font-weight:950;letter-spacing:.09em;color:#dfeeff}
.bte-weather-mode{font-size:.56rem;font-weight:950;letter-spacing:.09em;color:#65c9ff}
.bte-weather-reading{font-size:.73rem;font-weight:850;overflow:hidden;text-overflow:ellipsis;color:#fff}
.bte-weather-geometry{font-size:.61rem;font-weight:850;color:#b8d1e4}
.bte-weather-best{display:flex;align-items:center;gap:8px;padding:5px 12px;border-left:1px solid rgba(255,255,255,.12);border-right:1px solid rgba(255,255,255,.12);white-space:nowrap}
.bte-weather-best span{font-size:.53rem;letter-spacing:.11em;font-weight:950;color:#65c9ff}
.bte-weather-best strong{font-size:.66rem;letter-spacing:.03em;color:#fff}
.bte-weather-refresh{font-size:.54rem;color:#7f9bae;margin-left:3px}
@media(max-width:900px){
 .bte-weather-rail-inner{grid-template-columns:1fr 1fr;gap:4px 8px;padding:5px 10px}.bte-weather-best{grid-column:1/-1;grid-row:2;justify-content:center;border:0;border-top:1px solid rgba(255,255,255,.08);padding:5px 8px}.bte-weather-spot{padding:6px 7px}.bte-weather-copy{display:grid;grid-template-columns:auto auto;gap:1px 6px}.bte-weather-reading{grid-column:1/-1;font-size:.69rem}.bte-weather-geometry{display:none}
}
@media(max-width:560px){
 .bte-weather-rail-inner{display:block;padding:4px 8px}.bte-weather-spot,.bte-weather-spot:last-child{justify-content:flex-start;text-align:left;min-height:36px}.bte-weather-spot+.bte-weather-spot{border-top:1px solid rgba(255,255,255,.06)}.bte-weather-best{display:none}.bte-weather-copy{display:flex;gap:6px;width:100%}.bte-weather-name{min-width:86px}.bte-weather-mode{display:none}.bte-weather-reading{margin-left:auto;text-align:right;max-width:57%}
}
@media(prefers-reduced-motion:reduce){.bte-weather-spot{transition:none}}

/* WS13.6 — weather is elevated through content, not a second navigation tier. */
.bte-weather-best{color:#fff!important;text-decoration:none!important;border-radius:8px;transition:background .16s ease,border-color .16s ease,transform .16s ease}
.bte-weather-best:hover,.bte-weather-best:focus-visible{background:rgba(101,201,255,.08);border-color:rgba(101,201,255,.34);outline:none;transform:translateY(-1px)}
.bte-build-version{color:#65c9ff!important;opacity:1!important;font-weight:800!important}


/* WS13.34 — responsive weather rail: keep Best Window visible on phones. */
@media(max-width:575.98px){
 .bte-weather-rail-inner{display:grid!important;grid-template-columns:1fr!important;gap:0!important;padding:3px 8px!important}
 .bte-weather-spot,.bte-weather-spot:last-child{grid-column:1!important;justify-content:flex-start!important;text-align:left!important;min-height:34px!important}
 .bte-weather-best{display:flex!important;grid-column:1!important;grid-row:auto!important;justify-content:space-between!important;gap:8px!important;border:0!important;border-top:1px solid rgba(255,255,255,.07)!important;padding:7px!important;min-height:34px!important;overflow:hidden!important}
 .bte-weather-best strong{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:.62rem!important}
 .bte-weather-best .bte-weather-refresh{flex:0 0 auto!important}
}

/* source boundary */
/* WS13.23 navigation clarity: direct destinations, no conceptual stage numbering */
.bte-integrated-nav.bte-journey-nav{display:flex;align-items:center;gap:4px;flex-wrap:nowrap}


.bte-simple-nav-link[aria-current=page],.bte-simple-nav-link.bte-nav-active{background:#1389d4!important;color:#fff!important}

.bte-lookback-actions{display:flex!important;gap:.7rem!important;align-items:center!important;flex-wrap:wrap!important;margin-top:1rem!important}
#progress-basic-coach,#progress-basic-edit{min-width:150px}
@media(max-width:991.98px){}
@media(max-width:767.98px){.bte-integrated-nav.bte-journey-nav{display:block!important}.bte-lookback-actions .btn{width:100%;margin:0!important}}


/* WS13.34 — navigation lock: three destinations, no stage-number chrome. */
.bte-integrated-nav.bte-journey-nav .bte-stage-index{display:none!important}
@media(min-width:768px){
 .bte-integrated-nav.bte-journey-nav{gap:clamp(18px,2.6vw,42px)!important}
 .bte-integrated-nav.bte-journey-nav .nav-link,
 .bte-integrated-nav.bte-journey-nav .service-navigation-link{
   min-width:auto!important;height:auto!important;min-height:42px!important;padding:12px 4px!important;
   border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
   color:rgba(255,255,255,.72)!important;font-size:.79rem!important;letter-spacing:.055em!important;
 }
 .bte-integrated-nav.bte-journey-nav .nav-link::before,
 .bte-integrated-nav.bte-journey-nav .nav-link::after{content:none!important;display:none!important}
 .bte-integrated-nav.bte-journey-nav .nav-link.is-current{background:transparent!important;border-bottom:2px solid #45bdf8!important;color:#fff!important;box-shadow:none!important}
 .bte-integrated-nav.bte-journey-nav .nav-link.is-complete{background:transparent!important;border:0!important;color:rgba(255,255,255,.82)!important}
 .bte-integrated-nav.bte-journey-nav .nav-link:hover,.bte-integrated-nav.bte-journey-nav .nav-link:focus-visible{background:transparent!important;color:#fff!important;border-bottom:2px solid rgba(69,189,248,.55)!important}
}
@media(max-width:767.98px){
 .bte-integrated-nav.bte-journey-nav .nav-link::before,.bte-integrated-nav.bte-journey-nav .nav-link::after{content:none!important;display:none!important}
 .bte-integrated-nav.bte-journey-nav .nav-link,.bte-integrated-nav.bte-journey-nav .service-navigation-link{padding:.82rem 1rem!important}
}

/* source boundary */
/* WS13.35 · Evidence hierarchy restoration */
#progress-basic-coach{transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .12s ease}
#progress-basic-coach:hover,#progress-basic-coach:focus-visible{background:#2f7cff!important;border-color:#2f7cff!important;color:#fff!important}
#progress-basic-coach:active{background:#0f4fd8!important;border-color:#0f4fd8!important;color:#fff!important;transform:translateY(1px)}
.bte-core-evidence{display:block!important}

.bte-technique-metrics-stage .bte-metric-switcher{display:flex;gap:8px;flex-wrap:wrap}
.bte-technique-metrics-stage .bte-metric-switch{border:1px solid #cfd8e3;background:#fff;color:#243447;border-radius:999px;padding:8px 13px;font-weight:850;font-size:.78rem;letter-spacing:.03em;transition:.16s ease}
.bte-technique-metrics-stage .bte-metric-switch:hover{border-color:#1565ff;color:#1565ff}
.bte-technique-metrics-stage .bte-metric-switch.is-active{background:#1565ff;border-color:#1565ff;color:#fff}





@media(max-width:700px){.bte-technique-metrics-stage .bte-metric-switch{padding:7px 10px;font-size:.7rem}}

/* source boundary */

@media(max-width:900px){}@media(max-width:560px){}

/* source boundary */

/* WS13.49 · Progressive flow QA */
.bte-utility-details{border:1px solid rgba(0,99,190,.18);border-radius:18px;background:rgba(0,120,210,.055);padding:0;overflow:hidden}
.bte-utility-details>summary{cursor:pointer;padding:18px 22px;font-weight:800;letter-spacing:.02em;list-style:none}
.bte-utility-details>summary::-webkit-details-marker{display:none}.bte-utility-details>summary:after{content:"+";float:right;font-size:1.3rem}.bte-utility-details[open]>summary:after{content:"−"}
.bte-utility-details>.bte-utility-body{padding:0 22px 22px}
.bte-plan-overrides{margin-top:14px}.bte-plan-overrides>summary{cursor:pointer;font-weight:700;color:#165d91}






.bte-journey-nav .nav-link.is-current{background:rgba(255,255,255,.12);border-radius:999px}.bte-journey-nav .nav-link.is-complete .bte-stage-index{opacity:.65}

@media(max-width:767px){.bte-utility-details>summary{padding:16px}.bte-utility-details>.bte-utility-body{padding:0 16px 16px}}

/* source boundary */
/* WS13.50 — Setup removed from recurring rider journey */
.bte-settings-link{display:inline-flex;align-items:center;gap:.35rem;margin-left:.7rem;padding:.48rem .72rem;border:1px solid rgba(255,255,255,.28);border-radius:999px;color:#fff!important;text-decoration:none;font-size:.72rem;font-weight:800;letter-spacing:.06em;white-space:nowrap;opacity:.82}
.bte-settings-link:hover,.bte-settings-link:focus{opacity:1;border-color:rgba(255,255,255,.55);color:#fff!important}
.bte-settings-link span{font-size:.68rem}
.bte-setup-once-note{max-width:980px;margin:18px auto 0;padding:14px 18px;border-radius:14px;background:rgba(27,114,190,.08);border:1px solid rgba(27,114,190,.18);font-size:.95rem}
.bte-setup-once-note a{font-weight:800;text-decoration:none}
@media(max-width:767px){.bte-settings-link{margin-left:.35rem;padding:.42rem .58rem}.bte-settings-link span{display:none}}

/* source boundary */
/* WS13.51 — first-use Setup cue, post-setup profile control */
.bte-settings-link{width:auto;min-width:0;justify-content:center;padding:.42rem .62rem;margin-left:.55rem;transition:box-shadow .4s ease,border-color .4s ease,background .4s ease,opacity .3s ease}
.bte-settings-link.bte-setup-required{background:rgba(34,139,230,.18);border-color:rgba(87,184,255,.72);opacity:1;animation:bteSetupPulse 2.8s ease-in-out infinite}
@keyframes bteSetupPulse{0%,100%{box-shadow:0 0 0 0 rgba(52,152,219,0)}50%{box-shadow:0 0 0 7px rgba(52,152,219,.16)}}
@media (prefers-reduced-motion:reduce){.bte-settings-link.bte-setup-required{animation:none;box-shadow:0 0 0 3px rgba(52,152,219,.18)}}
.bte-profile-control{position:relative;margin-left:.55rem;display:inline-flex;align-items:center}
.bte-profile-trigger{width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.06);color:#fff;display:inline-grid;place-items:center;font-size:1rem;line-height:1;cursor:pointer;padding:0;opacity:.88}
.bte-profile-trigger:hover,.bte-profile-trigger:focus{opacity:1;border-color:rgba(255,255,255,.58);outline:none}
.bte-profile-menu{position:absolute;right:0;top:calc(100% + 9px);z-index:1100;width:218px;padding:8px;background:#0e1c2b;border:1px solid rgba(255,255,255,.17);border-radius:12px;box-shadow:0 14px 34px rgba(0,0,0,.32);display:none}
.bte-profile-control.is-open .bte-profile-menu{display:block}
.bte-profile-menu a{display:block;padding:9px 10px;border-radius:8px;color:#fff!important;text-decoration:none;font-size:.78rem;font-weight:700;letter-spacing:.02em}
.bte-profile-menu a:hover,.bte-profile-menu a:focus{background:rgba(64,156,229,.17)}
.bte-profile-menu small{display:block;color:rgba(255,255,255,.58);padding:4px 10px 7px;font-size:.66rem;text-transform:uppercase;letter-spacing:.07em}
.bte-setup-once-note.bte-setup-complete{display:none!important}
@media(max-width:767px){.bte-profile-control{margin-left:.3rem}.bte-profile-menu{right:0;width:205px}}

/* source boundary */

/* WS13.59 — Best-in-class rider journey: recommendation first, evidence second. */
:root{--bte-ink:#101828;--bte-muted:#667085;--bte-blue:#1677c8;--bte-soft:#f5f9fc;--bte-good:#138a5b;--bte-focus:#6b4eff}

#ride-plan .container,#ride-evidence .container,#ride-result-section .container,#ride-why-section .container,#ride-next-section .container{max-width:1120px}
#ride-plan .bte-form-card{border:1px solid #dfe7ef;border-radius:22px;box-shadow:0 10px 34px rgba(16,24,40,.06);padding:28px;background:#fff}
#ride-plan-loaded{border-radius:16px;padding:16px 18px;background:#eef8ff;border:1px solid #b9def7;margin-bottom:18px}
#ride-evidence{background:#f6f9fc!important}
#ride-evidence .bte-evidence-card,.bte-file-next{border-radius:20px!important;box-shadow:none!important}
#ride-result-section{padding-top:70px!important;padding-bottom:38px!important}

#ride-result-section .bte-result-metric{background:#fff;border:1px solid #dbe5ed;border-radius:18px;padding:18px}
#ride-result-section .bte-result-metric span{display:block;color:var(--bte-muted);font-size:.75rem;font-weight:800;letter-spacing:.08em}
#ride-result-section .bte-result-metric strong{display:block;color:var(--bte-ink);font-size:1.8rem;margin-top:5px}
#ride-why-list{display:grid;gap:14px}
.bte-coach-read-block{background:#fff;border:1px solid #dfe7ef;border-left:5px solid var(--bte-blue);border-radius:16px;padding:18px 20px}
.bte-coach-read-block.is-good{border-left-color:var(--bte-good)}.bte-coach-read-block.is-focus{border-left-color:var(--bte-focus)}
.bte-coach-read-block span{display:block;font-size:.72rem;font-weight:900;letter-spacing:.08em;color:var(--bte-muted);margin-bottom:6px}
.bte-coach-read-block strong{display:block;font-size:1.05rem;color:var(--bte-ink)}.bte-coach-read-block small{display:block;margin-top:7px;color:var(--bte-muted)}
#ride-next-section .bte-next-card,#ride-next-section .bte-consolidation-next-card{border-radius:22px}
#progress-main #cumulative-overview{order:-1;background:#f7fafc}
#cumulative-overview .bte-progress-kpis{margin-top:24px}
#progress-session-review{border-top:1px solid #e3e9ef}
#progress-session-review .bte-dashboard-panel.bte-advanced-only,.bte-session-jumps-details.bte-advanced-only{opacity:.97}
#progress-story{background:#fff;border:1px solid #dfe7ef;border-radius:20px;padding:24px!important;box-shadow:0 8px 28px rgba(16,24,40,.05)}
#progress-story a{display:none!important}
#plan-why-section,#plan-factors-section{background:#f7fafc;border-radius:20px}
#plan-recommendation-section{border:2px solid #b9def7;border-radius:22px;background:#f5fbff;padding:24px;margin-top:26px}
body[data-legacy-analysis="true"] .bte-integrated-header:after{content:"LEGACY DEEP ANALYSIS · NORMAL RIDER JOURNEY IS PLAN → SESSION → PROGRESS";display:block;text-align:center;background:#fff3cd;color:#664d03;padding:8px;font-size:.72rem;font-weight:800;letter-spacing:.05em}
@media(max-width:767px){#ride-plan .bte-form-card{padding:18px}.bte-coach-read-block{padding:16px}}

/* source boundary */
/* WS13.66 · Visual + rider-journey QA
   One job: make the approved Plan → Session → Progress loop read clearly on first glance. */
:root{
  --bte61-ink:#102a3d;--bte61-muted:#61717f;--bte61-line:#d9e5ee;
  --bte61-soft:#f6fafe;--bte61-blue:#1677c8;--bte61-blue-soft:#eaf5ff;
  --bte61-shadow:0 10px 32px rgba(16,42,61,.065);
}

/* Global interaction quality */
body[data-page="setup"] button,body[data-page="setup"] a.btn,
body[data-page="plan"] button,body[data-page="plan"] a.btn,
body[data-page="ride"] button,body[data-page="ride"] a.btn,
body[data-page="progress"] button,body[data-page="progress"] a.btn{min-height:44px}
:where(button,a,input,select,summary):focus-visible{outline:3px solid rgba(22,119,200,.28)!important;outline-offset:3px!important}
.bte-integrated-header{position:relative;z-index:30}

/* Native progressive disclosure: simple first, evidence on demand. */
.bte-evidence-disclosure{border:1px solid var(--bte61-line);border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 6px 22px rgba(16,42,61,.035)}
.bte-evidence-disclosure>summary{list-style:none;cursor:pointer;padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--bte61-ink);font-weight:900;letter-spacing:.04em}
.bte-evidence-disclosure>summary::-webkit-details-marker{display:none}
.bte-evidence-disclosure>summary span{font-size:.82rem}
.bte-evidence-disclosure>summary small{font-size:.82rem;font-weight:550;letter-spacing:0;color:var(--bte61-muted);text-align:right;max-width:560px}
.bte-evidence-disclosure>summary:after{content:"+";flex:0 0 auto;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--bte61-blue-soft);color:var(--bte61-blue);font-size:1.2rem}
.bte-evidence-disclosure[open]>summary{border-bottom:1px solid var(--bte61-line);background:var(--bte61-soft)}
.bte-evidence-disclosure[open]>summary:after{content:"−"}

/* PLAN — recommendation is the destination; evidence is secondary. */
body[data-page="plan"] #prediction-journey-note .container{max-width:1120px}
body[data-page="plan"] #prediction-journey-note{padding-top:10px!important;padding-bottom:12px!important}
body[data-page="plan"] #plan-output{max-width:1180px;margin:0 auto}
body[data-page="plan"] #plan-recommendation-section{margin:30px auto 18px!important;box-shadow:var(--bte61-shadow)}
body[data-page="plan"] #plan-evidence-details{max-width:1120px;margin-left:auto!important;margin-right:auto!important}
body[data-page="plan"] #plan-evidence-details #plan-why-section,
body[data-page="plan"] #plan-evidence-details #plan-factors-section{border-radius:0!important;margin:0!important;border:0!important;box-shadow:none!important}
body[data-page="plan"] #plan-evidence-details #plan-factors-section{border-top:1px solid var(--bte61-line)!important}
body[data-page="plan"] #plan-save-section{margin-top:22px}
body[data-page="plan"] .bte-planner-answer{font-size:1.05rem;line-height:1.55}

/* SESSION — make the full WOO file feel like the obvious path. */
body[data-page="ride"] #ride-plan .bte-form-card{max-width:1050px;margin-inline:auto}
body[data-page="ride"] #ride-evidence .container{max-width:1050px}
body[data-page="ride"] #ride-file-input{border:2px dashed #9ec9e8!important;background:#f8fcff!important;padding:24px!important}
body[data-page="ride"] #ride-file-input:focus-within{border-color:var(--bte61-blue)!important;box-shadow:0 0 0 .25rem rgba(22,119,200,.09)!important}
body[data-page="ride"] #ride-manual-entry{border:1px solid var(--bte61-line);border-radius:15px;background:#fff;overflow:hidden}
body[data-page="ride"] #ride-manual-entry>summary{padding:15px 18px;color:var(--bte61-muted);font-weight:800;cursor:pointer}
body[data-page="ride"] #ride-manual-entry[open]>summary{background:var(--bte61-soft);color:var(--bte61-ink);border-bottom:1px solid var(--bte61-line)}
body[data-page="ride"] #ride-result-section .bte-result-metric{box-shadow:0 5px 18px rgba(16,42,61,.045)}
body[data-page="ride"] #ride-next-section{padding-top:28px!important}

/* PROGRESS — story first; charts only when requested in Basic. */
body[data-page="progress"] #cumulative-overview>.container{max-width:1120px}
body[data-page="progress"] .bte-progress-kpis{gap:12px}
body[data-page="progress"] .bte-progress-kpi{border:1px solid var(--bte61-line);box-shadow:0 5px 18px rgba(16,42,61,.04);border-radius:16px}
body[data-page="progress"] #progress-story{border-left:5px solid var(--bte61-blue)!important}
body[data-page="progress"] #progress-trend-evidence>.bte-dashboard-panel{margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body[data-page="progress"] #progress-session-review{padding-top:14px}
body[data-page="progress"] #progress-session-review>.container{max-width:1120px}
html[data-bte-view-mode="basic"] body[data-page="progress"] #progress-trend-evidence:not([open]){margin-bottom:8px!important}

/* SETUP — calmer onboarding, less form-like. */
body[data-page="setup"] .bte-onboarding-shell{max-width:1020px}
body[data-page="setup"] .bte-onboarding-progress{position:sticky;top:0;z-index:15;background:rgba(247,251,255,.96);backdrop-filter:blur(8px);padding-top:10px}
body[data-page="setup"] .bte-onboarding-card{box-shadow:0 8px 26px rgba(16,42,61,.045)}
body[data-page="setup"] .bte-onboarding-heading p{max-width:700px;margin-inline:auto}
body[data-page="setup"] .bte-onboarding-actions{padding-top:4px}

@media(max-width:767px){
 .bte-evidence-disclosure>summary{display:grid;grid-template-columns:1fr auto;padding:16px;gap:4px 12px}
 .bte-evidence-disclosure>summary small{grid-column:1/2;text-align:left;max-width:none}
 .bte-evidence-disclosure>summary:after{grid-row:1/3;grid-column:2}
 body[data-page="setup"] .bte-onboarding-progress{top:0;padding-top:6px}
 body[data-page="plan"] #plan-recommendation-section{margin-inline:12px!important}
 body[data-page="ride"] #ride-file-input{padding:18px!important}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* source boundary */

/* WS13.77 9+ recovery: restore coaching evidence without changing primary navigation. */
.bte-progress-coach-grid .bte-dashboard-panel{margin:0}.bte-jump-coach{font-size:.72rem;font-weight:850;letter-spacing:.03em;white-space:nowrap}.bte-session-analytics{border-top:1px solid rgba(23,32,42,.14);padding-top:22px}.bte-mini-chart-shell{overflow-x:auto;background:#f7f9fc;border-radius:16px;padding:12px}.bte-mini-chart-shell svg{width:100%;min-width:720px;height:260px}.bte-evidence-disclosure>summary{font-weight:850}.bte-core-evidence{display:block!important}.bte-session-metric-chart{display:grid!important}.bte-progress-evidence[open]>.bte-dashboard-panel{display:block!important}
@media(max-width:768px){.bte-jump-coach{white-space:normal}.bte-mini-chart-shell svg{min-width:600px}}

/* source boundary */
/* WS13.78 · Coach restoration only. No navigation/weather restructuring. */



.bte-coach-route-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.25rem}
.bte-coach-route-actions .btn{min-width:190px}
@media(max-width:767px){.bte-coach-route-actions .btn{width:100%;min-width:0}}

/* source boundary */
/* WS13.80 regression recovery: keep the 3-step rider journey primary while making Coach tools discoverable. */

@media (min-width:768px) and (max-width:1099.98px){
  
  
}
@media (max-width:767.98px){
  
  
  
}

/* source boundary */

/* WS13.90 — rider journey refinement only. No navigation redesign. */



.bte-planner-submit{display:flex!important;justify-content:flex-end!important;align-items:flex-end;gap:14px;flex-wrap:wrap;text-align:right}
.bte-planner-submit .bte-planner-calc-status{max-width:560px}
.bte-plan-actions{display:flex!important;justify-content:flex-end!important;align-items:center;gap:14px;flex-wrap:wrap}
.bte-plan-primary-next,.bte-coach-plan-next{min-width:220px}




/* Coach is the current-ride decision page; cumulative/history analytics live on Progress. */
body[data-page="coach-summary"] .bte-cumulative-coach-panel,
body[data-page="coach-summary"] #coach-all-jumps,
body[data-page="coach-summary"] .bte-expert-profile-panel,
body[data-page="coach-summary"] .bte-compare-panel{display:none!important}

@media(max-width:767px){.bte-planner-submit,.bte-plan-actions,.bte-branch-return .container{justify-content:stretch!important;text-align:left}.bte-plan-primary-next,.bte-coach-plan-next{width:100%}}

/* source boundary */
/* WS13.92 — approved workflow + visual consistency only */
.bte-integrated-header .bte-header-toprow{min-height:84px;align-items:center}
.bte-integrated-header .bte-header-brand,.bte-integrated-header .bte-brand-logo-img{transform:none!important;transition:none!important}
.bte-integrated-header .bte-integrated-nav .nav-link{transform:none!important;transition:color .16s ease,opacity .16s ease,text-decoration-color .16s ease!important}
.bte-integrated-header .bte-integrated-nav .nav-link:hover,.bte-integrated-header .bte-integrated-nav .nav-link:focus{transform:none!important}
.bte-integrated-header .bte-stage-index,.bte-integrated-header .bte-stage-label{transform:none!important;position:static!important}
.bte-unified-hero{min-height:360px!important;height:360px!important;overflow:hidden}
.bte-unified-hero .bte-hero-container,.bte-unified-hero .bte-hero-row{height:100%;min-height:360px!important}
.bte-unified-hero .bte-hero-inner{max-width:720px}
.bte-unified-hero h1{margin-bottom:.45rem!important}
.bte-unified-hero h3{max-width:650px!important;margin-bottom:0!important}
.bte-ride-time-picker{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:.5rem;align-items:center}
.bte-ride-time-picker .form-select{min-width:0}













@media(max-width:991.98px){}
@media(max-width:767.98px){.bte-integrated-header .bte-header-toprow{min-height:72px}.bte-unified-hero,.bte-unified-hero .bte-hero-container,.bte-unified-hero .bte-hero-row{height:300px!important;min-height:300px!important}}

/* source boundary */
/* WS13.94 — controlled layout lock. No architecture, dependency or brand changes. */
@media (min-width: 992px){
  .service-navigation-header .container{width:100%!important;max-width:1200px!important;margin:0 auto!important;padding-left:24px!important;padding-right:24px!important}
  
  .service-navigation-header .bte-header-brand{flex:0 0 240px!important;width:240px!important;min-width:240px!important;max-width:240px!important;margin:0!important;padding:0!important;position:static!important;transform:none!important}
  .service-navigation-header .bte-brand-logo-img{display:block!important;width:240px!important;max-width:240px!important;height:64px!important;max-height:64px!important;object-fit:contain!important;object-position:left center!important;margin:0!important;padding:0!important;position:static!important;transform:none!important;transition:none!important}
  .service-navigation-header .bte-header-nav{flex:1 1 auto!important;min-width:0!important;margin:0!important;padding:0!important}
  .service-navigation-header .bte-primary-nav{justify-content:flex-end!important}
  
  
  
}
body[data-page="plan"] .bte-unified-hero,
body[data-page="ride"] .bte-unified-hero,
body[data-page="coach-summary"] .bte-unified-hero{height:360px!important;min-height:360px!important;display:flex!important;align-items:center!important}
body[data-page="plan"] .bte-unified-hero .bte-hero-container,
body[data-page="ride"] .bte-unified-hero .bte-hero-container,
body[data-page="coach-summary"] .bte-unified-hero .bte-hero-container{width:100%!important;max-width:1200px!important;height:100%!important;margin:0 auto!important;padding:0 24px!important;display:flex!important;align-items:center!important;justify-content:center!important}
body[data-page="plan"] .bte-unified-hero .bte-hero-row,
body[data-page="ride"] .bte-unified-hero .bte-hero-row,
body[data-page="coach-summary"] .bte-unified-hero .bte-hero-row{width:100%!important;height:100%!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
body[data-page="plan"] .bte-unified-hero .bte-hero-inner,
body[data-page="ride"] .bte-unified-hero .bte-hero-inner,
body[data-page="coach-summary"] .bte-unified-hero .bte-hero-inner{width:100%!important;max-width:900px!important;margin:0 auto!important;padding:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;transform:none!important;position:static!important}
body[data-page="plan"] .bte-unified-hero .bte-eyebrow,
body[data-page="ride"] .bte-unified-hero .bte-eyebrow,
body[data-page="coach-summary"] .bte-unified-hero .bte-eyebrow,
body[data-page="plan"] .bte-unified-hero h1,
body[data-page="ride"] .bte-unified-hero h1,
body[data-page="coach-summary"] .bte-unified-hero h1,
body[data-page="plan"] .bte-unified-hero h3,
body[data-page="ride"] .bte-unified-hero h3,
body[data-page="coach-summary"] .bte-unified-hero h3{width:100%!important;max-width:900px!important;margin-left:auto!important;margin-right:auto!important;text-align:center!important;transform:none!important;position:static!important;left:auto!important;right:auto!important}


.bte-cumulative-coaching-head{max-width:900px}
@media (max-width: 991.98px){
  .service-navigation-header .bte-header-brand,.service-navigation-header .bte-brand-logo-img{transform:none!important;transition:none!important}
}
@media (max-width: 767.98px){
  body[data-page="plan"] .bte-unified-hero,
  body[data-page="ride"] .bte-unified-hero,
  body[data-page="coach-summary"] .bte-unified-hero{height:300px!important;min-height:300px!important}
  body[data-page="plan"] .bte-unified-hero .bte-hero-container,
  body[data-page="ride"] .bte-unified-hero .bte-hero-container,
  body[data-page="coach-summary"] .bte-unified-hero .bte-hero-container{padding:0 18px!important}
}

/* source boundary */
/* WS13.95 — page viewing QA polish only.
   Scope: spacing, typography, responsive readability and stable hero/header geometry.
   No application logic, navigation architecture or backend behaviour is changed. */
:root{--bte-gutter-desktop:24px;--bte-gutter-mobile:18px;--bte-reading-width:760px}
html{scroll-padding-top:96px}
body{line-height:1.55;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
.page-container>.bloc>.container,.page-container>section>.container{padding-left:var(--bte-gutter-desktop);padding-right:var(--bte-gutter-desktop)}
.service-navigation-header>.container{padding-left:var(--bte-gutter-desktop)!important;padding-right:var(--bte-gutter-desktop)!important}
.bloc-lg{padding-top:56px!important;padding-bottom:56px!important}.bloc-md{padding-top:36px!important;padding-bottom:36px!important}.bloc-sm{padding-top:22px!important;padding-bottom:22px!important}
h1,h2,h3{overflow-wrap:anywhere}h2{line-height:1.18;margin-bottom:14px}h3{line-height:1.24}p{line-height:1.58}
.bte-section-kicker{margin-bottom:8px}.bte-section-title{margin-bottom:14px!important}.bte-section-copy,.bte-form-note{line-height:1.55}
.bte-unified-hero{height:340px!important;min-height:340px!important;display:flex!important;align-items:center!important;position:relative!important;overflow:hidden!important}
.bte-unified-hero .bte-hero-container{width:100%!important;max-width:1200px!important;height:100%!important;margin:0 auto!important;padding:0 var(--bte-gutter-desktop)!important;display:flex!important;align-items:center!important;justify-content:center!important}
.bte-unified-hero .bte-hero-row{width:100%!important;height:100%!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
.bte-unified-hero .bte-hero-inner{width:100%!important;max-width:860px!important;margin:0 auto!important;padding:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;position:static!important;inset:auto!important;transform:none!important}
.bte-unified-hero .bte-eyebrow,.bte-unified-hero h1,.bte-unified-hero h3{width:100%!important;margin-left:auto!important;margin-right:auto!important;text-align:center!important;position:static!important;inset:auto!important;transform:none!important}
.bte-unified-hero .bte-eyebrow{margin-bottom:10px!important}.bte-unified-hero h1{margin-top:0!important;margin-bottom:8px!important;line-height:1.06!important}.bte-unified-hero h3{max-width:720px!important;margin-top:0!important;margin-bottom:0!important;line-height:1.34!important}
.bte-unified-hero .bte-hero-native-img{width:100%!important;height:100%!important;object-fit:cover!important}
.bte-data-card,.bte-method-card,.bte-support-box,.bte-onboarding-card,.lab-card,.bte-evidence-card,.bte-result-card,.bte-next-card{padding:24px}
form label{margin-bottom:6px}.form-control,.form-select{min-height:44px}textarea.form-control{min-height:96px}.bte-time-picker{align-items:center;gap:8px}.bte-time-separator{flex:0 0 auto}
.btn,.service-button,.service-white-button{min-height:44px;transform:none!important}.btn:hover,.btn:focus,.service-button:hover,.service-button:focus,.service-white-button:hover,.service-white-button:focus{transform:none!important}
.bte-consolidation-next-card{gap:24px}.bte-consolidation-next-card>div{min-width:0}.bte-support-box p,.bte-method-card p,.bte-workflow-note,.bte-form-note{max-width:var(--bte-reading-width)}.table-responsive{margin-top:16px}
footer .container{padding-top:32px!important;padding-bottom:32px!important}footer p{margin-bottom:8px}footer p:last-child{margin-bottom:0}
@media(max-width:991.98px){.bloc-lg{padding-top:44px!important;padding-bottom:44px!important}.bloc-md{padding-top:30px!important;padding-bottom:30px!important}.bte-unified-hero{height:300px!important;min-height:300px!important}.bte-data-card,.bte-method-card,.bte-support-box,.bte-onboarding-card,.lab-card,.bte-evidence-card,.bte-result-card,.bte-next-card{padding:20px}}
@media(max-width:767.98px){.page-container>.bloc>.container,.page-container>section>.container,.service-navigation-header>.container{padding-left:var(--bte-gutter-mobile)!important;padding-right:var(--bte-gutter-mobile)!important}.bloc-lg{padding-top:36px!important;padding-bottom:36px!important}.bloc-md{padding-top:26px!important;padding-bottom:26px!important}.bloc-sm{padding-top:18px!important;padding-bottom:18px!important}.bte-unified-hero{height:260px!important;min-height:260px!important}.bte-unified-hero .bte-hero-container{padding:0 var(--bte-gutter-mobile)!important}.bte-unified-hero .bte-hero-inner{max-width:100%!important}.bte-unified-hero h1{font-size:clamp(2rem,10vw,3rem)!important}.bte-unified-hero h3{font-size:1rem!important;max-width:34rem!important}.bte-data-card,.bte-method-card,.bte-support-box,.bte-onboarding-card,.lab-card,.bte-evidence-card,.bte-result-card,.bte-next-card{padding:18px}.bte-consolidation-next-card{align-items:flex-start!important;gap:18px!important}.bte-consolidation-next-card a{width:100%;text-align:center}}

/* source boundary */
/* WS13.96 — approved visual/UX corrections only. */

/* Header remains fixed; logo is larger without hover movement. */
@media (min-width: 992px){
  
  .service-navigation-header .bte-header-brand{flex:0 0 300px!important;width:300px!important;min-width:300px!important;max-width:300px!important}
  .service-navigation-header .bte-brand-logo-img{width:300px!important;max-width:300px!important;height:72px!important;max-height:72px!important;object-fit:contain!important;object-position:left center!important;transform:none!important;transition:none!important}
}

/* PLAN and RIDE hero photos must show the full source image inside the fixed hero frame. */
body[data-page="plan"] .bte-unified-hero .bte-hero-native-img,
body[data-page="ride"] .bte-unified-hero .bte-hero-native-img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:#071321!important;
  transform:none!important;
}

/* Homepage activity cards are neutral until hovered/focused. */
body[data-page="home"] .bte-home-state-card,
body[data-page="home"] .bte-home-state-card.is-active{
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
}
body[data-page="home"] .bte-home-state-card:hover,
body[data-page="home"] .bte-home-state-card:focus-visible,
body[data-page="home"] .bte-home-state-card.is-active:hover,
body[data-page="home"] .bte-home-state-card.is-active:focus-visible{
  background:rgba(87,197,255,.08)!important;
  box-shadow:inset 0 3px 0 #57c5ff!important;
}

/* Coach references the exact current ride before any coaching statement. */


/* Admin operational entry points. */
.bte-admin-console-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:22px}
.bte-admin-console-card{display:flex;min-height:170px;padding:22px;border:1px solid #d9e0e6;border-radius:16px;background:#fff;color:#101822!important;text-decoration:none;flex-direction:column;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.bte-admin-console-card span{font-size:.68rem;font-weight:900;letter-spacing:.12em;color:#1677c8}
.bte-admin-console-card strong{margin-top:14px;font-size:1.12rem}
.bte-admin-console-card small{margin-top:8px;color:#667085;line-height:1.45}
.bte-admin-console-card:hover,.bte-admin-console-card:focus-visible{border-color:#168dff;background:#f8fcff;box-shadow:0 10px 24px rgba(16,24,34,.08)}
@media(max-width:991.98px){.bte-admin-console-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-navigation-header .bte-brand-logo-img{max-width:260px!important}}
@media(max-width:575.98px){.bte-admin-console-grid{grid-template-columns:1fr}.service-navigation-header .bte-brand-logo-img{max-width:220px!important}}

/* source boundary */
/* WS13.97 — controlled hero-height correction only.
   Scope: increase the shared hero frame vertically without changing image assets,
   framing mode, text alignment, navigation, page structure or application logic. */
.bte-unified-hero{
  height:440px!important;
  min-height:440px!important;
}
@media(max-width:991.98px){
  .bte-unified-hero{
    height:380px!important;
    min-height:380px!important;
  }
}
@media(max-width:767.98px){
  .bte-unified-hero{
    height:320px!important;
    min-height:320px!important;
  }
}

/* source boundary */
/* WS13.98 — scoped navigation logo size correction only. */

.service-navigation-header .bte-header-brand{
  flex:0 0 360px!important;
  width:360px!important;
  min-width:360px!important;
  max-width:360px!important;
}
.service-navigation-header .bte-brand-logo-img{
  display:block!important;
  width:360px!important;
  max-width:360px!important;
  height:auto!important;
  max-height:120px!important;
  object-fit:contain!important;
  object-position:left center!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  transition:none!important;
}
@media(max-width:991.98px){
  
  .service-navigation-header .bte-header-brand{flex-basis:285px!important;width:285px!important;min-width:285px!important;max-width:285px!important}
  .service-navigation-header .bte-brand-logo-img{width:285px!important;max-width:285px!important;max-height:95px!important}
}
@media(max-width:767.98px){
  
  .service-navigation-header .bte-header-brand{flex-basis:225px!important;width:225px!important;min-width:225px!important;max-width:225px!important}
  .service-navigation-header .bte-brand-logo-img{width:225px!important;max-width:225px!important;max-height:75px!important}
}
@media(max-width:420px){
  .service-navigation-header .bte-header-brand{flex-basis:195px!important;width:195px!important;min-width:195px!important;max-width:195px!important}
  .service-navigation-header .bte-brand-logo-img{width:195px!important;max-width:195px!important;max-height:65px!important}
}

/* source boundary */
/* WS13.99 — scoped hero height + Ride image centring correction only. */
.bte-unified-hero{
  height:520px!important;
  min-height:520px!important;
}

/* Preserve the full-image treatment and lock the image to the exact centre of the frame. */
body[data-page="plan"] .bte-unified-hero>.bte-hero-native-img,
body[data-page="ride"] .bte-unified-hero>.bte-hero-native-img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  margin:auto!important;
  object-fit:contain!important;
  object-position:50% 50%!important;
  transform:none!important;
}

/* Ride receives an explicit centring lock so no older page-specific object-position can win. */


@media(max-width:991.98px){
  .bte-unified-hero{height:460px!important;min-height:460px!important}
}
@media(max-width:767.98px){
  .bte-unified-hero{height:380px!important;min-height:380px!important}
}

/* source boundary */
/* WS13.100 — Navigation logo size refinement only. */
.service-navigation-header .bte-header-brand{
  flex:0 0 340px!important;
  width:340px!important;
  min-width:340px!important;
  max-width:340px!important;
}
.service-navigation-header .bte-brand-logo-img{
  width:340px!important;
  max-width:340px!important;
  height:auto!important;
}
@media (max-width:1199px){
  .service-navigation-header .bte-header-brand{flex-basis:270px!important;width:270px!important;min-width:270px!important;max-width:270px!important}
  .service-navigation-header .bte-brand-logo-img{width:270px!important;max-width:270px!important}
}
@media (max-width:767px){
  .service-navigation-header .bte-header-brand{flex-basis:215px!important;width:215px!important;min-width:215px!important;max-width:215px!important}
  .service-navigation-header .bte-brand-logo-img{width:215px!important;max-width:215px!important}
}
@media (max-width:420px){
  .service-navigation-header .bte-header-brand{flex-basis:185px!important;width:185px!important;min-width:185px!important;max-width:185px!important}
  .service-navigation-header .bte-brand-logo-img{width:185px!important;max-width:185px!important}
}

/* source boundary */
/* WS13.101 — authoritative visual geometry contract.
   Scope: header/logo geometry + hero frame geometry only.
   Loaded last so legacy/page-specific sizing cannot override these values. */

:root{
  --bte-header-logo-width:255px;
  --bte-header-row-height:104px;
  --bte-hero-height:600px;
}

/* ---------- HEADER / LOGO: one size on every page ---------- */
body .service-navigation-header{
  min-height:var(--bte-header-row-height)!important;
}
body .service-navigation-header > .container,
body .service-navigation-header > .container-fluid{
  min-height:var(--bte-header-row-height)!important;
}

body .service-navigation-header .bte-header-brand{
  flex:0 0 var(--bte-header-logo-width)!important;
  width:var(--bte-header-logo-width)!important;
  min-width:var(--bte-header-logo-width)!important;
  max-width:var(--bte-header-logo-width)!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  transform:none!important;
}
body .service-navigation-header .bte-brand-logo-img{
  display:block!important;
  width:var(--bte-header-logo-width)!important;
  min-width:var(--bte-header-logo-width)!important;
  max-width:var(--bte-header-logo-width)!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:left center!important;
  transform:none!important;
  transition:none!important;
}

/* ---------- HERO: one frame height on every image-hero page ---------- */
body .bte-unified-hero,
body[data-page="home"] .bte-home-hero-ws1327{
  height:var(--bte-hero-height)!important;
  min-height:var(--bte-hero-height)!important;
  max-height:var(--bte-hero-height)!important;
  overflow:hidden!important;
}

body .bte-unified-hero > .bte-hero-native-img,
body[data-page="home"] .bte-home-hero-ws1327 > .bte-home-hero-photo{
  height:100%!important;
  min-height:100%!important;
  max-height:100%!important;
}

/* Keep Plan/Ride's previously approved full-image fit inside the common frame. */
body[data-page="plan"] .bte-unified-hero > .bte-hero-native-img,
body[data-page="ride"] .bte-unified-hero > .bte-hero-native-img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  margin:auto!important;
  object-fit:contain!important;
  object-position:50% 50%!important;
  transform:none!important;
}

/* Explicit Ride centring lock. */


@media (max-width:1199.98px){
  :root{
    --bte-header-logo-width:220px;
    --bte-header-row-height:94px;
    --bte-hero-height:520px;
  }
}

@media (max-width:767.98px){
  :root{
    --bte-header-logo-width:180px;
    --bte-header-row-height:84px;
    --bte-hero-height:430px;
  }
}

@media (max-width:420px){
  :root{
    --bte-header-logo-width:160px;
    --bte-header-row-height:78px;
    --bte-hero-height:390px;
  }
}

/* source boundary */
/* WS13.104 — authoritative site-wide hero sizing contract.
   Scope only: image-hero frame and image sizing/positioning.
   This file must load last so legacy/page-specific hero rules cannot override it. */
:root{
  --bte-site-hero-height:640px;
}

/* Every image hero uses exactly the same frame geometry. */
body .bte-unified-hero,
body[data-page="home"] .bte-home-hero-ws1327{
  position:relative!important;
  width:100%!important;
  height:var(--bte-site-hero-height)!important;
  min-height:var(--bte-site-hero-height)!important;
  max-height:var(--bte-site-hero-height)!important;
  overflow:hidden!important;
}

/* Every hero image fills the same frame, including Ride and Home. */
body .bte-unified-hero > .bte-hero-native-img,
body[data-page="home"] .bte-home-hero-ws1327 > .bte-home-hero-photo{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  min-width:100%!important;
  max-width:none!important;
  height:100%!important;
  min-height:100%!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  object-fit:cover!important;
  object-position:50% 50%!important;
  transform:none!important;
}

@media (max-width:1199.98px){
  :root{--bte-site-hero-height:540px;}
}

@media (max-width:767.98px){
  :root{--bte-site-hero-height:440px;}
}

@media (max-width:420px){
  :root{--bte-site-hero-height:400px;}
}

/* source boundary */
/* WS13.106 — authoritative hero geometry repair.
   Scope: hero frame/image/text geometry only.
   All image heroes use one physical contract; Ride has no page-specific geometry. */
:root{
  --bte-hero-h-desktop:640px;
  --bte-hero-h-tablet:540px;
  --bte-hero-h-mobile:440px;
  --bte-hero-h-small:400px;
  --bte-hero-h:var(--bte-hero-h-desktop);
}

/* One frame size for every standard image hero. */
html body .bte-unified-hero,
html body[data-page="ride"] #ride-hero,
html body[data-page="home"] .bte-home-hero-ws1327{
  position:relative!important;
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;
  height:var(--bte-hero-h)!important;
  min-height:var(--bte-hero-h)!important;
  max-height:var(--bte-hero-h)!important;
  padding-top:0!important;
  padding-bottom:0!important;
  overflow:hidden!important;
}

/* One image-fill rule. No Ride exception. */
html body .bte-unified-hero > .bte-hero-native-img,
html body[data-page="ride"] #ride-hero > .bte-hero-native-img,
html body[data-page="home"] .bte-home-hero-ws1327 > .bte-home-hero-photo{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  min-height:100%!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  object-fit:cover!important;
  object-position:50% 50%!important;
  transform:none!important;
}

/* Same content geometry inside every unified hero. */
html body .bte-unified-hero > .bte-hero-container{
  position:relative!important;
  z-index:2!important;
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  max-height:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
html body .bte-unified-hero .bte-hero-row{
  width:100%!important;
  height:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
}
html body .bte-unified-hero .bte-hero-inner{
  margin:0 auto!important;
  transform:none!important;
  text-align:center!important;
}

@media (max-width:1199.98px){
  :root{--bte-hero-h:var(--bte-hero-h-tablet);}
}
@media (max-width:767.98px){
  :root{--bte-hero-h:var(--bte-hero-h-mobile);}
}
@media (max-width:420px){
  :root{--bte-hero-h:var(--bte-hero-h-small);}
}

/* WS13.144 — progressive PLAN → RIDE → COACH navigation.
   Premium, low-noise journey states. Fixed geometry; no animation or layout shift. */
.bte-header-nav .bte-integrated-nav.bte-journey-nav{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:0!important;
  flex-wrap:nowrap!important;
  margin:0!important;
  padding:0!important;
}
.bte-header-nav .bte-journey-nav .nav-item{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:0!important;
}
.bte-header-nav .bte-journey-nav .nav-item:not(:last-child)::after{
  content:""!important;
  display:block!important;
  width:56px!important;
  height:1px!important;
  margin:0 18px!important;
  background:rgba(111,166,199,.30)!important;
  border:0!important;
  transform:none!important;
}
.bte-header-nav .bte-journey-nav .nav-item:has(.nav-link.is-complete)::after{
  background:linear-gradient(90deg,#2d9fe8 0%,rgba(45,159,232,.42) 100%)!important;
}
.bte-header-nav .bte-journey-nav .nav-link,
.bte-header-nav .bte-journey-nav .service-navigation-link{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  height:54px!important;
  min-height:54px!important;
  margin:0!important;
  padding:0 4px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:rgba(255,255,255,.58)!important;
  text-decoration:none!important;
  line-height:1!important;
  transform:none!important;
  transition:color .16s ease,border-color .16s ease!important;
}
.bte-header-nav .bte-journey-nav .bte-stage-index{display:none!important}
.bte-header-nav .bte-journey-nav .bte-stage-label{
  display:block!important;
  color:inherit!important;
  font-size:.92rem!important;
  font-weight:850!important;
  line-height:1!important;
  letter-spacing:.12em!important;
  white-space:nowrap!important;
}
.bte-header-nav .bte-journey-nav .nav-link.is-current{
  color:#fff!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.bte-header-nav .bte-journey-nav .nav-link.is-current::after{
  content:""!important;
  position:absolute!important;
  left:4px!important;
  right:4px!important;
  bottom:3px!important;
  display:block!important;
  height:2px!important;
  border-radius:999px!important;
  background:#47baf5!important;
}
.bte-header-nav .bte-journey-nav .nav-link.is-complete{
  color:rgba(218,240,255,.82)!important;
  background:transparent!important;
  border:0!important;
}
.bte-header-nav .bte-journey-nav .nav-link.is-complete .bte-stage-label::before{
  content:"✓"!important;
  margin-right:7px!important;
  color:#47baf5!important;
  font-size:.72rem!important;
  vertical-align:.08em!important;
}
.bte-header-nav .bte-journey-nav .nav-link:hover,
.bte-header-nav .bte-journey-nav .nav-link:focus-visible{
  color:#fff!important;
  background:transparent!important;
  transform:none!important;
}
.bte-header-nav .bte-journey-nav .nav-link:focus-visible{
  outline:2px solid rgba(71,186,245,.9)!important;
  outline-offset:6px!important;
}
@media (max-width:1199.98px){
  .bte-header-nav .bte-journey-nav .nav-item:not(:last-child)::after{width:38px!important;margin:0 12px!important}
  .bte-header-nav .bte-journey-nav .bte-stage-label{font-size:.84rem!important}
}
@media (max-width:767.98px){
  .bte-header-nav .bte-integrated-nav.bte-journey-nav{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    width:100%!important;
    gap:8px!important;
    padding:8px 0 10px!important;
  }
  .bte-header-nav .bte-journey-nav .nav-item{display:block!important;width:100%!important}
  .bte-header-nav .bte-journey-nav .nav-item::after{display:none!important}
  .bte-header-nav .bte-journey-nav .nav-link,
  .bte-header-nav .bte-journey-nav .service-navigation-link{
    width:100%!important;
    min-width:0!important;
    height:42px!important;
    min-height:42px!important;
    padding:0 4px!important;
  }
  .bte-header-nav .bte-journey-nav .bte-stage-label{font-size:.76rem!important;letter-spacing:.09em!important}
  .bte-header-nav .bte-journey-nav .nav-link.is-current::after{left:18%!important;right:18%!important;bottom:1px!important}
}


/* WS13.144 — restrained three-stage rider journey navigation */
.bte-header-nav .bte-integrated-nav.bte-journey-nav{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:0!important;
  margin:0!important;
  padding:0!important;
  min-height:54px!important;
}
.bte-header-nav .bte-journey-nav .nav-item{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
.bte-header-nav .bte-journey-nav .nav-item:not(:last-child)::after{
  content:""!important;
  display:block!important;
  width:58px!important;
  height:1px!important;
  margin:0 18px!important;
  background:rgba(184,214,236,.32)!important;
  border:0!important;
  transform:none!important;
}
.bte-header-nav .bte-journey-nav .nav-item:has(.nav-link.is-complete)::after{
  background:rgba(71,186,245,.78)!important;
}
.bte-header-nav .bte-journey-nav .nav-link,
.bte-header-nav .bte-journey-nav .service-navigation-link{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:72px!important;
  height:54px!important;
  min-height:54px!important;
  margin:0!important;
  padding:0 6px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
  color:rgba(213,228,240,.58)!important;
  text-decoration:none!important;
  transition:none!important;
}
.bte-header-nav .bte-journey-nav .bte-stage-index{display:none!important}
.bte-header-nav .bte-journey-nav .bte-stage-label{
  display:block!important;
  margin:0!important;
  padding:0!important;
  color:inherit!important;
  font-size:.88rem!important;
  font-weight:800!important;
  line-height:1!important;
  letter-spacing:.14em!important;
  white-space:nowrap!important;
}
.bte-header-nav .bte-journey-nav .nav-link.is-complete{
  color:rgba(207,229,244,.76)!important;
}
.bte-header-nav .bte-journey-nav .nav-link.is-complete .bte-stage-label::before{
  content:""!important;
  display:inline-block!important;
  width:5px!important;
  height:5px!important;
  margin:0 8px 2px 0!important;
  border-radius:50%!important;
  background:#47baf5!important;
  vertical-align:middle!important;
}
.bte-header-nav .bte-journey-nav .nav-link.is-current{
  color:#fff!important;
  background:transparent!important;
}
.bte-header-nav .bte-journey-nav .nav-link.is-current::after{
  content:""!important;
  position:absolute!important;
  left:6px!important;
  right:6px!important;
  bottom:7px!important;
  width:auto!important;
  height:2px!important;
  margin:0!important;
  border:0!important;
  border-radius:2px!important;
  background:#47baf5!important;
  box-shadow:none!important;
  transform:none!important;
}
.bte-header-nav .bte-journey-nav .nav-link:hover,
.bte-header-nav .bte-journey-nav .nav-link:focus-visible{
  color:#fff!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
}
.bte-header-nav .bte-journey-nav .nav-link:focus-visible{
  outline:2px solid rgba(71,186,245,.85)!important;
  outline-offset:3px!important;
}
@media (max-width:1199.98px){
  .bte-header-nav .bte-journey-nav .nav-item:not(:last-child)::after{width:40px!important;margin:0 12px!important}
  .bte-header-nav .bte-journey-nav .bte-stage-label{font-size:.82rem!important;letter-spacing:.11em!important}
  .bte-header-nav .bte-journey-nav .nav-link,
  .bte-header-nav .bte-journey-nav .service-navigation-link{min-width:64px!important}
}
@media (max-width:767.98px){
  .bte-header-nav .bte-integrated-nav.bte-journey-nav{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    width:100%!important;
    min-height:48px!important;
    gap:0!important;
    padding:4px 0 6px!important;
  }
  .bte-header-nav .bte-journey-nav .nav-item{
    display:block!important;
    width:100%!important;
  }
  .bte-header-nav .bte-journey-nav .nav-item:not(:last-child)::after{
    content:""!important;
    position:absolute!important;
    top:50%!important;
    right:-1px!important;
    width:1px!important;
    height:18px!important;
    margin:-9px 0 0!important;
    background:rgba(184,214,236,.22)!important;
  }
  .bte-header-nav .bte-journey-nav .nav-link,
  .bte-header-nav .bte-journey-nav .service-navigation-link{
    width:100%!important;
    min-width:0!important;
    height:44px!important;
    min-height:44px!important;
    padding:0 4px!important;
  }
  .bte-header-nav .bte-journey-nav .bte-stage-label{
    font-size:.75rem!important;
    letter-spacing:.10em!important;
  }
  .bte-header-nav .bte-journey-nav .nav-link.is-current::after{
    left:24%!important;
    right:24%!important;
    bottom:3px!important;
  }
  .bte-header-nav .bte-journey-nav .nav-link.is-complete .bte-stage-label::before{
    width:4px!important;height:4px!important;margin-right:6px!important
  }
}

/* WS13.144 UX HARDENING — canonical bundle, no new stylesheet layer */
:root{--bte-space-1:8px;--bte-space-2:16px;--bte-space-3:24px;--bte-space-4:36px;--bte-space-5:52px;--bte-radius:12px}
body{font-synthesis-weight:none;text-rendering:optimizeLegibility}
.bte-section-kicker,.bte-panel-label{letter-spacing:.12em;font-weight:850}
.service-button,.service-white-button,.btn{border-radius:8px;transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease!important}
.service-button:focus-visible,.service-white-button:focus-visible,.btn:focus-visible,a:focus-visible{outline:3px solid rgba(69,189,248,.42);outline-offset:3px}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* WS13.144 final release hardening — supporting page rhythm */
body[data-page="review"] .bte-section-kicker{margin-bottom:8px}
body[data-page="review"] h2{line-height:1.08;letter-spacing:-.025em}
body[data-page="review"] .service-button{min-height:48px;font-weight:850}
body[data-page="review"] details>summary{line-height:1.35}


/* WS13.144 — canonical uniform hero geometry contract */
html body .bte-unified-hero{height:420px!important;min-height:420px!important;max-height:420px!important;position:relative!important;overflow:hidden!important;display:flex!important;align-items:center!important}
html body .bte-unified-hero>.bte-hero-native-img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:50% 50%!important;margin:0!important;transform:none!important}
html body .bte-unified-hero>.bte-hero-container,html body .bte-unified-hero .bte-hero-row{height:100%!important;min-height:420px!important;display:flex!important;align-items:center!important;justify-content:center!important}
html body .bte-unified-hero .bte-hero-inner{position:static!important;transform:none!important;text-align:center!important;margin-left:auto!important;margin-right:auto!important}
@media(max-width:991.98px){html body .bte-unified-hero{height:360px!important;min-height:360px!important;max-height:360px!important}html body .bte-unified-hero>.bte-hero-container,html body .bte-unified-hero .bte-hero-row{min-height:360px!important}}
@media(max-width:767.98px){html body .bte-unified-hero{height:310px!important;min-height:310px!important;max-height:310px!important}html body .bte-unified-hero>.bte-hero-container,html body .bte-unified-hero .bte-hero-row{min-height:310px!important}}
@media(max-width:575.98px){html body .bte-unified-hero{height:280px!important;min-height:280px!important;max-height:280px!important}html body .bte-unified-hero>.bte-hero-container,html body .bte-unified-hero .bte-hero-row{min-height:280px!important}}

/* WS13.168 · Progress back-to-top recovery control */
.bte-progress-back-to-top{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:1100;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  min-width:132px;
  min-height:48px;
  padding:.7rem 1rem;
  border:1px solid rgba(20,33,51,.18);
  border-radius:999px;
  background:#111b29;
  color:#fff;
  font-family:"Poppins-SemiBold",sans-serif;
  font-size:.78rem;
  letter-spacing:.04em;
  text-transform:uppercase;
  box-shadow:0 12px 30px rgba(16,28,44,.20);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(8px);
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.bte-progress-back-to-top.is-visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0);
}
.bte-progress-back-to-top:hover,
.bte-progress-back-to-top:focus-visible{
  background:#0f6fec;
  color:#fff;
}
.bte-progress-back-to-top:focus-visible{
  outline:3px solid rgba(15,111,236,.30)!important;
  outline-offset:3px;
}
.bte-progress-back-to-top svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:767px){
  .bte-progress-back-to-top{right:16px;bottom:16px;min-width:48px;width:48px;padding:0;font-size:0}
  .bte-progress-back-to-top svg{width:18px;height:18px}
}
@media(prefers-reduced-motion:reduce){.bte-progress-back-to-top{transition:none}}


/* WS13.151 · Progress chart redesign */
.bte-history-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.bte-history-head>div:first-child{min-width:min(100%,520px);flex:1 1 520px}
.bte-height-chart-controls{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-left:auto}
.bte-height-chart-controls[hidden]{display:none!important}
.bte-chart-view-toggle{display:inline-flex;border:1px solid #cfd8e3;border-radius:999px;padding:3px;background:#f6f8fb}
.bte-chart-view-toggle button{border:0;background:transparent;border-radius:999px;padding:.55rem .9rem;font-size:.72rem;font-weight:900;letter-spacing:.06em;color:#667085}
.bte-chart-view-toggle button.is-active{background:#17202a;color:#fff;box-shadow:0 1px 2px rgba(16,24,40,.15)}
.bte-height-chart-controls label{display:flex;align-items:center;gap:.45rem;font-size:.72rem;font-weight:900;letter-spacing:.06em;color:#475467;margin:0}
.bte-height-chart-controls select{border:1px solid #cfd8e3;border-radius:999px;background:#fff;padding:.52rem 2rem .52rem .75rem;font-weight:850;color:#17202a}
@media(max-width:767px){.bte-height-chart-controls{width:100%;margin-left:0}.bte-chart-view-toggle{flex:1}.bte-chart-view-toggle button{flex:1}.bte-height-chart-controls label{width:100%;justify-content:space-between}.bte-height-chart-controls select{min-width:120px}}


/* WS13.152 · Single-session height chart refinement */
#progress-session-chart .bte-chart-key text{font-size:10px;font-weight:800;fill:#667085;letter-spacing:.03em}
@media(max-width:767px){#progress-session-chart{min-width:760px!important}}


/* WS13.168 — Beyond The Edge Progression port into Historical Records. */
.bte-historical-archive{background:#f5f8fb}.bte-historical-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.bte-historical-intro>div:first-child{max-width:800px}.bte-historical-intro h2{margin:.15rem 0 .7rem}.bte-historical-intro p{margin:0;color:#52606c;line-height:1.65}.bte-historical-badge{flex:0 0 auto;border:1px solid #b9c7d4;background:#fff;border-radius:999px;padding:8px 12px;font-size:.72rem;font-weight:900;letter-spacing:.09em;color:#43576a}.bte-historical-badge.is-live{background:#e8f7ef;border-color:#8fd5ae;color:#0a6b39}.bte-historical-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:26px}.bte-historical-kpis article,.bte-historical-position-grid article{background:#fff;border:1px solid #dfe6ec;border-radius:18px;padding:20px;box-shadow:0 7px 24px rgba(16,42,61,.045)}.bte-historical-kpis span,.bte-historical-position-grid span,.bte-recovery-sequence span,.bte-comparison-cards>article>span{display:block;font-size:.7rem;font-weight:900;letter-spacing:.1em;color:#6b7e8f}.bte-historical-kpis strong{display:block;font-size:2rem;line-height:1.05;color:#142332;margin:.45rem 0}.bte-historical-kpis small{display:block;color:#647585}.bte-historical-chart-panel{background:#0d141b;color:#fff;border-radius:22px;padding:24px;overflow:hidden}.bte-historical-chart-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.bte-historical-chart-head h3{margin:.35rem 0;color:#fff}.bte-historical-chart-head p{margin:0;color:#b7c3cd;max-width:720px}.bte-historical-chart-key{display:flex;gap:12px;flex-wrap:wrap;font-size:.7rem;font-weight:800;color:#c8d3dd}.bte-historical-chart-key span{display:flex;align-items:center;gap:6px}.bte-historical-chart-key i{width:12px;height:4px;border-radius:4px;background:#70b7e6}.bte-historical-chart-key i.is-trend{background:#f3a43b}.bte-historical-chart-key i.is-pb{background:#51c985}.bte-historical-chart-wrap{overflow-x:auto;margin-top:18px}.bte-historical-chart-wrap svg{width:100%;min-width:780px;height:auto;display:block}.bte-historical-position-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.bte-historical-position-grid strong{display:block;font-size:1.55rem;margin:.35rem 0;color:#17293a}.bte-historical-position-grid p{margin:0;color:#617282}.bte-historical-position-grid article.is-active{border-color:#9cc9e7;background:#eef8ff}.bte-recovery-arc{background:#fff}.bte-recovery-sequence{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.bte-recovery-sequence article{position:relative;border-top:4px solid #1b7fbd;background:#f7f9fb;border-radius:0 0 16px 16px;padding:20px 16px}.bte-recovery-sequence article:before{content:"";position:absolute;top:-9px;left:16px;width:14px;height:14px;border-radius:50%;background:#1b7fbd;border:3px solid #fff}.bte-recovery-sequence strong{display:block;font-size:1.2rem;margin:.45rem 0;color:#17293a}.bte-recovery-sequence p{margin:0;color:#617282;font-size:.9rem;line-height:1.5}.bte-current-record{background:#f5f8fb}.bte-comparison-archive{background:#fff}.bte-comparison-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.bte-comparison-cards article{border:1px solid #dfe6ec;border-radius:18px;padding:22px;background:#fff}.bte-comparison-cards h3{margin:.4rem 0}.bte-comparison-cards p{color:#617282}.bte-comparison-cards a{font-size:.78rem;font-weight:900;letter-spacing:.05em;text-decoration:none}.bte-comparison-cards article.is-coach{background:#0d141b;color:#fff;border-color:#0d141b}.bte-comparison-cards article.is-coach h3{color:#fff}.bte-comparison-cards article.is-coach p{color:#c5d0d9}.bte-comparison-cards article.is-coach a{color:#70c7ff}@media(max-width:991.98px){.bte-historical-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.bte-recovery-sequence{grid-template-columns:1fr 1fr}.bte-comparison-cards{grid-template-columns:1fr}.bte-historical-chart-head{display:block}.bte-historical-chart-key{margin-top:14px}}@media(max-width:575.98px){.bte-historical-intro{display:block}.bte-historical-badge{display:inline-block;margin-top:14px}.bte-historical-kpis,.bte-historical-position-grid,.bte-recovery-sequence{grid-template-columns:1fr}.bte-historical-chart-panel{padding:16px}.bte-historical-kpis strong{font-size:1.7rem}}

/* WS13.168 — progression evidence alignment */
.bte-history-evidence-status{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.bte-history-evidence-status span{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.035);padding:10px 12px;border-radius:10px;color:#9eb0bf;font-size:.78rem;line-height:1.25}.bte-history-evidence-status b{display:block;color:#fff;font-size:1rem;margin-bottom:2px}.bte-history-source-note{margin:10px 0 0;color:#8fa0af;font-size:.78rem;line-height:1.45}@media(max-width:760px){.bte-history-evidence-status{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* WS13.203 · per-session closed coaching loop */
.bte-session-coach-summary{margin-top:16px;border:1px solid rgba(23,32,42,.12);border-radius:16px;padding:18px 20px;background:#fff;display:grid;gap:12px}
.bte-session-coach-summary>span{font-size:12px;font-weight:900;letter-spacing:.12em;color:#1565ff}
.bte-session-coach-summary strong{display:block;font-size:12px;letter-spacing:.08em;margin-bottom:4px}
.bte-session-coach-summary p{margin:0;color:#344054}
.bte-session-coach-summary>a{font-weight:900;text-decoration:none}

/* WS13.227 clean wind graph restore */
.bte-session-wind-chart,.bte-wind-corr-chart{display:block;min-height:320px;margin-top:18px}.bte-session-wind-chart svg,.bte-wind-corr-chart svg{width:100%;height:auto}.bte-session-wind-empty,.bte-wind-corr-empty{min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;color:#667085}.bte-session-wind-empty strong,.bte-wind-corr-empty strong{color:#10233f}.bte-timeline-read{margin-top:12px;color:#40546d}

/* WS13.240 · clearer height progress curve */
.bte-progress-curve-read{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-top:14px;border:1px solid #dce3ea;border-radius:14px;overflow:hidden;background:#dce3ea}.bte-progress-curve-read[hidden]{display:none!important}.bte-progress-curve-read>div{background:#f8fafc;padding:14px 16px}.bte-progress-curve-read span,.bte-progress-curve-read small{display:block}.bte-progress-curve-read span{font-size:.66rem;font-weight:900;letter-spacing:.09em;color:#667085}.bte-progress-curve-read strong{display:block;margin-top:2px;font-size:1.35rem;color:#17202a}.bte-progress-curve-read small{margin-top:2px;color:#667085;font-size:.74rem}.bte-progress-curve-read>p{grid-column:1/-1;margin:0;background:#fff;padding:11px 16px;color:#475467;border-top:1px solid #dce3ea}.bte-progress-curve-read>p strong{display:inline;font-size:inherit;color:#17202a}@media(max-width:767px){.bte-progress-curve-read{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* WS13.244 · Dynamic Performance Journey infographic */
.bte-progress-chart-shell.is-infographic{padding:14px 14px 4px;background:linear-gradient(180deg,#fff 0%,#fbfcfe 100%);overflow-x:auto}
.bte-progress-chart-shell.is-infographic .bte-fixed-axis{display:none!important}
.bte-progress-chart-shell.is-infographic .bte-progress-chart{min-width:860px!important;width:100%!important;height:auto!important}
.bte-infographic-ride-control select{min-width:210px;max-width:300px}
.bte-progress-curve-read .bte-journey-context{color:#667085}
#progress-history-chart [data-bte-journey-session-id]{cursor:pointer;outline:none}
#progress-history-chart [data-bte-journey-session-id]:focus-visible circle{stroke:#7a5ce6;stroke-width:5px}
@media(max-width:767px){.bte-infographic-ride-control{width:100%;justify-content:space-between}.bte-infographic-ride-control select{min-width:0;max-width:70%;width:70%}.bte-progress-chart-shell.is-infographic{margin-left:-.25rem;margin-right:-.25rem;padding:.55rem .35rem .1rem}.bte-progress-chart-shell.is-infographic .bte-progress-chart{min-width:860px!important}}


/* V1.2.4 / WS13.298 — Progress story redesign
   Scope: progression hero + envelope chart emphasis + stronger journey controls. */
.bte-history-head{align-items:flex-start;gap:1.25rem}
.bte-history-head>div:first-child{min-width:min(100%,560px);flex:1 1 560px}
.bte-height-chart-controls{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;flex:1 1 420px;margin-left:0}
.bte-progress-curve-read.bte-progress-hero-read{display:block;margin:0 0 18px;border:1px solid #dce6f1;border-radius:24px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);box-shadow:0 18px 42px rgba(15,23,42,.06);overflow:hidden}
.bte-progress-curve-read.bte-progress-hero-read[hidden]{display:none!important}
.bte-progress-hero-card{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(320px,.88fr);gap:18px;padding:18px}
.bte-progress-hero-main{display:flex;flex-direction:column;gap:18px;min-width:0}
.bte-hero-mast{display:grid;grid-template-columns:minmax(220px,340px) 1px minmax(0,1fr);gap:22px;align-items:center;padding:14px 18px;border-radius:22px;background:
  radial-gradient(circle at 82% 18%, rgba(69,189,248,.16) 0, rgba(69,189,248,.05) 18%, rgba(69,189,248,0) 36%),
  linear-gradient(135deg,#ffffff 0%,#f6fbff 62%,#eef7ff 100%);
  border:1px solid #e3edf7;min-height:184px}
.bte-hero-number-block{display:flex;flex-direction:column;gap:10px}
.bte-hero-label{display:block;font-size:.8rem;font-weight:900;letter-spacing:.12em;color:#64748b;text-transform:uppercase}
.bte-hero-big-number{font-size:5.3rem;line-height:.92;font-weight:950;letter-spacing:-.05em;color:#0f2a66;white-space:nowrap}
.bte-hero-big-number small{font-size:.56em;font-weight:900;color:#0f2a66}
.bte-hero-divider{width:1px;align-self:stretch;background:linear-gradient(180deg,rgba(148,163,184,.1),rgba(148,163,184,.75),rgba(148,163,184,.1))}
.bte-hero-story{display:flex;flex-direction:column;gap:10px;min-width:0}
.bte-hero-headline{display:flex;align-items:center;gap:10px;font-size:1.05rem;font-weight:900;color:#0b5bd3}
.bte-hero-headline i{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:999px;background:#e8f2ff;color:#0b5bd3;font-style:normal;font-size:1rem}
.bte-hero-story h3{margin:0;font-size:2rem;line-height:1.08;color:#163259}
.bte-hero-story p{margin:0;max-width:54ch;font-size:1.1rem;line-height:1.5;color:#17325c}
.bte-hero-story small{display:block;font-size:.84rem;color:#64748b;font-weight:700}
.bte-hero-chip-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.bte-hero-chip{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:18px;background:#fff;border:1px solid #deebf6;box-shadow:0 8px 18px rgba(15,23,42,.03)}
.bte-hero-chip-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border-radius:999px;background:#eef4fb;font-size:1.25rem;font-weight:900}
.bte-hero-chip.is-green .bte-hero-chip-icon{background:#dff6ec;color:#12935a}
.bte-hero-chip.is-blue .bte-hero-chip-icon{background:#eaf3ff;color:#0b5bd3}
.bte-hero-chip.is-amber .bte-hero-chip-icon{background:#fff0df;color:#d97706}
.bte-hero-chip-copy span{display:block;font-size:1.02rem;font-weight:950;line-height:1.1;color:#102a56}
.bte-hero-chip-copy small{display:block;margin-top:4px;font-size:.88rem;color:#567}
.bte-progress-hero-side{display:flex;flex-direction:column;gap:14px}
.bte-hero-side-card{padding:18px 18px 16px;border-radius:20px;background:#fbfdff;border:1px solid #deebf6;box-shadow:0 10px 24px rgba(15,23,42,.03)}
.bte-hero-card-kicker{display:block;margin-bottom:8px;font-size:.8rem;font-weight:900;letter-spacing:.14em;color:#64748b;text-transform:uppercase}
.bte-hero-side-card h3{margin:0;font-size:2.15rem;line-height:1.05;color:#0f213f}
.bte-hero-side-date{margin:8px 0 0;font-size:1rem;font-weight:800;color:#48607f}
.bte-hero-side-metrics{display:grid;gap:0;margin-top:14px}
.bte-hero-side-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:10px 0;border-top:1px solid #e4ebf4}
.bte-hero-side-row:first-child{border-top:1px solid #e4ebf4}
.bte-hero-side-row span{font-size:1rem;color:#506784}
.bte-hero-side-row strong{font-size:1.08rem;font-weight:950;color:#102a56;text-align:right}
.bte-hero-side-row strong.is-green{color:#12935a}
.bte-hero-side-row strong.is-amber{color:#d97706}
.bte-why-list{display:grid;gap:0}
.bte-why-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:8px 0;border-top:1px solid #e4ebf4}
.bte-why-row:first-child{border-top:0;padding-top:0}
.bte-why-row span{font-size:1rem;color:#506784}
.bte-why-row strong{font-size:1.02rem;font-weight:900;color:#163259;text-align:right}
.bte-insight-box{padding:14px 16px;border-radius:16px;background:linear-gradient(180deg,#eef6ff 0%,#f6fbff 100%);border:1px solid #d7e8ff;color:#18406f}
.bte-insight-box p{margin:0;font-size:1.02rem;line-height:1.52;color:#18406f}
.bte-progress-chart-shell.is-infographic{padding:18px 18px 10px;background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);border:1px solid #dce6f1;border-radius:24px;box-shadow:0 18px 42px rgba(15,23,42,.05);overflow-x:auto}
.bte-progress-chart-shell.is-infographic .bte-progress-chart{min-width:1040px!important;width:100%!important;height:auto!important}
@media(max-width:1199px){
  .bte-progress-hero-card{grid-template-columns:1fr}
  .bte-progress-hero-side{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
}
@media(max-width:991.98px){
  .bte-height-chart-controls{justify-content:flex-start;flex:1 1 100%}
  .bte-hero-mast{grid-template-columns:1fr;min-height:auto}
  .bte-hero-divider{display:none}
  .bte-hero-big-number{font-size:4.3rem}
  .bte-hero-chip-grid{grid-template-columns:1fr}
  .bte-progress-hero-side{grid-template-columns:1fr}
}
@media(max-width:767.98px){
  .bte-progress-curve-read.bte-progress-hero-read{border-radius:18px}
  .bte-progress-hero-card{padding:12px}
  .bte-hero-mast{padding:14px}
  .bte-hero-big-number{font-size:3.5rem}
  .bte-hero-story h3{font-size:1.45rem}
  .bte-hero-story p{font-size:.98rem}
  .bte-hero-chip{padding:12px 14px}
  .bte-hero-side-card h3{font-size:1.7rem}
}


/* V1.2.8 — Progress visual density refinement */
.bte-progress-chart-shell.is-infographic{background:linear-gradient(180deg,#fdfefe 0%,#f6faff 100%)}
.bte-progress-chart-shell.is-infographic .bte-progress-chart{display:block;min-height:520px}
.bte-progress-hero-card{background:linear-gradient(135deg,#ffffff 0%,#fbfdff 60%,#f3f9ff 100%)}
.bte-hero-side-card{min-height:0}


/* V1.2.9 — Progress context cleanup + no-empty-space policy */
.bte-progress-hero-side{align-self:start!important;height:auto!important}
.bte-hero-side-card{height:auto!important;min-height:0!important}
.bte-context-card{padding-bottom:14px}
.bte-why-row{grid-template-columns:minmax(110px,.8fr) minmax(0,1.2fr)!important;align-items:start!important}
.bte-why-row span{white-space:nowrap}
.bte-why-row strong{text-align:right;overflow-wrap:anywhere;word-break:normal}
.bte-limiter-block{margin-top:12px;padding:14px 15px;border-radius:14px;background:#eef6ff;border:1px solid #d6e8ff}
.bte-limiter-block span,.bte-limiter-card span{display:block;font-size:.68rem;font-weight:950;letter-spacing:.11em;color:#64748b}
.bte-limiter-block strong,.bte-limiter-card strong{display:block;margin-top:5px;font-size:1.08rem;line-height:1.25;color:#14355f}
.bte-limiter-card{padding:16px 18px;border-radius:18px;background:#eef6ff;border:1px solid #d6e8ff}
.bte-progress-chart-shell.is-infographic{padding-bottom:16px}
@media(max-width:1199px){.bte-progress-hero-side{display:flex!important;flex-direction:column!important}}

/* /ride/assets/css/bte-session-suite-ux99.css */
/* BTE V3.0 — Sessions workspace design system
   Shared presentation for Plan, Progress, Session Explorer and Fusion.
   Existing data hooks and page logic remain unchanged. */
:root{
  --sx-ink:#071722;
  --sx-ink-2:#10283a;
  --sx-copy:#4f6476;
  --sx-muted:#7b8d9c;
  --sx-line:#dbe5ec;
  --sx-soft:#f4f7f9;
  --sx-white:#fff;
  --sx-blue:#168fe7;
  --sx-cyan:#20c8e8;
  --sx-green:#1ca56a;
  --sx-amber:#b77819;
  --sx-red:#bd4650;
  --sx-shadow:0 18px 50px rgba(11,31,48,.07);
  --sx-radius:22px;
  --sx-max:1180px;
}
html{scroll-behavior:smooth}
body.bte-session-page{margin:0;background:var(--sx-soft);color:var(--sx-ink);overflow-x:hidden;-webkit-font-smoothing:antialiased}
body.bte-session-page *{box-sizing:border-box}
body.bte-session-page main{min-width:0}
body.bte-session-page img,body.bte-session-page svg,body.bte-session-page canvas{max-width:100%;height:auto}
body.bte-session-page .wrap,body.bte-session-page .container{width:min(var(--sx-max),calc(100% - 48px));max-width:var(--sx-max);margin-inline:auto;padding-left:0;padding-right:0}
body.bte-session-page .page-container{background:var(--sx-soft)}
body.bte-session-page .bloc{background:transparent!important}
body.bte-session-page .bloc-lg{padding:32px 0}
body.bte-session-page .bloc-md{padding:24px 0}
body.bte-session-page .bloc-sm{padding:18px 0}
body.bte-session-page .mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}
body.bte-session-page .d-flex{display:flex!important}.align-items-end{align-items:flex-end!important}.gap-2{gap:.5rem!important}.flex-wrap{flex-wrap:wrap!important}.w-100{width:100%!important}
body.bte-session-page .row{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;margin:0}
body.bte-session-page .col-12{grid-column:1/-1}.col-md-2{grid-column:span 2}.col-md-3{grid-column:span 3}.col-md-4{grid-column:span 4}.col-md-5{grid-column:span 5}.col-md-6{grid-column:span 6}.col-md-7{grid-column:span 7}.col-md-8{grid-column:span 8}

/* Unified workspace switcher */
.bte-session-workspace{background:#fff;border-top:1px solid #e5edf2;border-bottom:1px solid #dce6ed;position:relative;z-index:9}
.bte-session-workspace .wrap{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))}
.bte-session-workspace a{position:relative;min-width:0;padding:17px 20px 18px;border-right:1px solid #e5edf2;text-decoration:none;color:var(--sx-ink);background:#fff;transition:background .18s ease,color .18s ease}
.bte-session-workspace a:last-child{border-right:0}.bte-session-workspace a:hover{background:#f7fafc}
.bte-session-workspace a.is-current{background:linear-gradient(180deg,#f4fbff,#fff)}
.bte-session-workspace a.is-current:after{content:"";position:absolute;left:18px;right:18px;bottom:-1px;height:3px;border-radius:3px 3px 0 0;background:var(--sx-blue)}
.bte-session-workspace span{display:block;color:var(--sx-blue);font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.bte-session-workspace strong{display:block;margin-top:4px;font-size:15px;line-height:1.25;letter-spacing:-.01em}
.bte-session-workspace small{display:block;margin-top:3px;color:#7b8996;font-size:11px;line-height:1.32}

/* Common page introduction */
body.bte-session-page .bte-page-intro{width:min(var(--sx-max),calc(100% - 48px));margin:0 auto;padding:48px 0 26px;position:relative}
body.bte-session-page .bte-section-kicker,body.bte-session-page .kicker,body.bte-session-page .bte-explorer-kicker{color:var(--sx-blue)!important;font-size:11px!important;font-weight:900!important;letter-spacing:.14em!important;text-transform:uppercase!important}
body.bte-session-page .bte-page-title{max-width:850px;margin:9px 0 12px;color:var(--sx-ink)!important;font-size:clamp(2.65rem,5.4vw,5rem)!important;line-height:.96!important;letter-spacing:-.055em!important;font-weight:800!important}
body.bte-session-page .bte-page-deck{max-width:770px;margin:0;color:var(--sx-copy)!important;font-size:1.08rem!important;line-height:1.62!important}
body.bte-session-page h2{color:var(--sx-ink);letter-spacing:-.035em;line-height:1.05}
body.bte-session-page h3{color:var(--sx-ink);letter-spacing:-.02em}
body.bte-session-page p{line-height:1.58}

/* Controls */
body.bte-session-page label{display:block;color:#53697b;font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
body.bte-session-page .form-control,body.bte-session-page .form-select,body.bte-session-page select,body.bte-session-page input[type="date"],body.bte-session-page input[type="number"],body.bte-session-page input[type="text"]{width:100%;min-height:48px;margin-top:7px;padding:10px 12px;border:1px solid #cfdce5;border-radius:11px;background:#fff;color:var(--sx-ink);font:inherit;box-shadow:none;outline:none}
body.bte-session-page .form-control:focus,body.bte-session-page .form-select:focus,body.bte-session-page select:focus,body.bte-session-page input:focus{border-color:#5cb8f0;box-shadow:0 0 0 3px rgba(22,143,231,.12)}
body.bte-session-page .btn,body.bte-session-page button{font:inherit}
body.bte-session-page .btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 16px;border:1px solid #cbd9e3;border-radius:11px;background:#fff;color:var(--sx-ink);font-size:12px;font-weight:900;letter-spacing:.04em;text-decoration:none;cursor:pointer}
body.bte-session-page .btn:hover{border-color:#93b6ce;background:#f6fafc}
body.bte-session-page .btn-d,body.bte-session-page .service-button,body.bte-session-page .bte-planner-calculate{background:var(--sx-ink)!important;border-color:var(--sx-ink)!important;color:#fff!important}
body.bte-session-page a:focus-visible,body.bte-session-page button:focus-visible,body.bte-session-page input:focus-visible,body.bte-session-page select:focus-visible,body.bte-session-page summary:focus-visible{outline:3px solid #66caf5!important;outline-offset:3px!important}

/* Shared card language */
body.bte-session-page .bte-planner-group,body.bte-session-page .bte-dashboard-panel,body.bte-session-page .bte-explorer-panel,body.bte-session-page .bte-fusion-panel,body.bte-session-page .bte-fusion-kpis article,body.bte-session-page .bte-fusion-diagnosis-main,body.bte-session-page .bte-fusion-prescription{border:1px solid var(--sx-line)!important;border-radius:var(--sx-radius)!important;background:#fff!important;box-shadow:var(--sx-shadow)!important}
body.bte-session-page details{border-radius:14px}
body.bte-session-page summary{cursor:pointer}

/* PLAN — reduce form noise and make the output feel like a decision. */
body.bte-plan-page .bte-planner-form{padding:0!important;border:0!important;background:transparent!important;border-radius:0!important}
body.bte-plan-page .bte-planner-groups{gap:18px!important}
body.bte-plan-page .bte-planner-group{padding:26px!important}
body.bte-plan-page .bte-planner-group h2{margin:7px 0 20px!important;font-size:1.55rem!important}
body.bte-plan-page .bte-plan-compact-context{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:13px 15px;border:1px solid #e2eaf0;border-radius:14px;background:#f7fafc}
body.bte-plan-page .bte-plan-compact-copy span{display:block;color:#8393a0;font-size:9px;font-weight:900;letter-spacing:.12em}body.bte-plan-page .bte-plan-compact-copy strong{display:block;margin-top:3px;color:#1a3244}
body.bte-plan-page .bte-plan-context-card{display:grid!important;grid-template-columns:1fr auto!important;gap:4px 18px!important;padding:16px 18px!important;border:1px solid #d5e5f0!important;border-radius:14px!important;background:#f5fbff!important;text-decoration:none!important;color:var(--sx-ink)!important}
body.bte-plan-page .bte-plan-context-card span{color:var(--sx-blue)!important;font-size:10px!important;font-weight:900!important;letter-spacing:.11em!important}body.bte-plan-page .bte-plan-context-card strong{font-size:16px!important}body.bte-plan-page .bte-plan-context-card small{grid-column:1;color:#718392!important}body.bte-plan-page .bte-plan-context-card b{grid-column:2;grid-row:1/4;align-self:center;color:var(--sx-blue)!important;font-size:11px!important}
body.bte-plan-page .bte-plan-condition-overrides,body.bte-plan-page .bte-plan-setup-overrides{margin-top:16px!important;border:1px solid #e0e8ee!important;background:#fbfcfd!important;padding:0!important;overflow:hidden}
body.bte-plan-page .bte-plan-condition-overrides summary,body.bte-plan-page .bte-plan-setup-overrides summary{padding:13px 15px;color:#607486;font-size:12px;font-weight:850}
body.bte-plan-page .bte-plan-condition-overrides[open],body.bte-plan-page .bte-plan-setup-overrides[open]{padding-bottom:15px!important}body.bte-plan-page .bte-plan-condition-overrides[open]>.row,body.bte-plan-page .bte-plan-setup-overrides[open]>.row{padding:0 15px}
body.bte-plan-page .bte-auto-choice{padding:15px 16px!important;border:1px solid #dbe6ec!important;border-radius:14px!important;background:#f8fbfc!important}
body.bte-plan-page .bte-tack-option{min-height:48px!important;border-radius:11px!important;border-color:#cad9e3!important}.bte-plan-page .bte-tack-option.active{background:var(--sx-ink)!important;border-color:var(--sx-ink)!important}
body.bte-plan-page .bte-baseline-summary{gap:10px!important}.bte-plan-page .bte-baseline-summary>div{padding:15px!important;border-color:#e0e8ee!important;border-radius:14px!important;background:#f8fafb!important}
body.bte-plan-page .bte-planner-submit{margin-top:4px!important;padding-top:20px!important}.bte-plan-page .bte-planner-calculate{min-height:52px!important;padding-inline:22px!important;border-radius:12px!important}
body.bte-plan-page #plan-output{width:min(var(--sx-max),calc(100% - 48px));margin:0 auto 28px}
body.bte-plan-page .bte-planner-answer{border:0!important;border-radius:24px!important;background:linear-gradient(145deg,#071722,#0d2a3d)!important;color:#fff!important;padding:30px!important;box-shadow:0 22px 60px rgba(7,23,34,.17)!important}
body.bte-plan-page .bte-v1-result-heading{color:#fff!important;font-size:clamp(1.6rem,3vw,2.5rem)!important}
body.bte-plan-page .bte-output-grid{border-radius:18px!important;overflow:hidden!important;background:#dce6ed!important}.bte-plan-page .bte-output{padding:18px!important}.bte-plan-page .bte-output strong{color:var(--sx-ink)!important;font-size:1.7rem!important}
body.bte-plan-page .bte-quality-grid{gap:10px!important}.bte-plan-page .bte-quality-grid>div{border-color:#dce6ed!important;border-radius:14px!important}
body.bte-plan-page .bte-factor-columns{gap:14px!important}.bte-plan-page .bte-factor-card{border-color:#dce6ed!important;border-radius:18px!important;box-shadow:0 10px 28px rgba(15,35,58,.04)}
body.bte-plan-page .bte-recommendation-card{border-left:4px solid var(--sx-blue)!important;border-radius:0 18px 18px 0!important;box-shadow:var(--sx-shadow)}
body.bte-plan-page .bte-plan-complete,body.bte-plan-page .bte-plan-saved-state{border-radius:18px!important}

/* PROGRESS — current state first, detail second. */
body.bte-progress-page #active-2026-record{padding:0!important;margin:10px 0 0}
body.bte-progress-page #active-2026-record>.container{padding:26px!important;border-radius:24px;background:linear-gradient(145deg,#071722,#0d2b40)!important;color:#fff;box-shadow:0 24px 65px rgba(7,23,34,.18)}
body.bte-progress-page #active-2026-record .bte-section-kicker{color:#69d9f5!important}
body.bte-progress-page #active-2026-record h2{color:#fff!important;margin:7px 0 7px!important;font-size:clamp(1.7rem,3vw,2.5rem)!important}
body.bte-progress-page #active-2026-record p{color:#a8bdcb!important}
body.bte-progress-page .bte-historical-intro{display:grid!important;grid-template-columns:1fr auto!important;gap:20px!important;align-items:start!important}
body.bte-progress-page .bte-historical-badge{padding:7px 10px!important;border-radius:999px!important;background:rgba(105,217,245,.11)!important;border:1px solid rgba(105,217,245,.25)!important;color:#69d9f5!important;font-size:10px!important;font-weight:900!important;letter-spacing:.09em!important}
body.bte-progress-page .bte-historical-kpis,body.bte-progress-page .bte-progress-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;background:transparent!important}
body.bte-progress-page .bte-historical-kpis article{min-width:0;padding:16px!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:15px!important;background:rgba(255,255,255,.055)!important}
body.bte-progress-page .bte-historical-kpis span{color:#7f9aad!important}.bte-progress-page .bte-historical-kpis strong{display:block!important;margin-top:5px!important;color:#fff!important;font-size:1.75rem!important}.bte-progress-page .bte-historical-kpis small{display:block!important;margin-top:4px!important;color:#8fa7b8!important}
body.bte-progress-page #cumulative-overview>.container{padding-top:32px!important}
body.bte-progress-page .bte-progress-kpis{margin:18px 0!important;overflow:hidden!important;border:1px solid var(--sx-line)!important;border-radius:20px!important;gap:0!important;background:#fff!important;box-shadow:var(--sx-shadow)!important}
body.bte-progress-page .bte-progress-kpi{padding:19px 20px!important;border-right:1px solid var(--sx-line)!important}.bte-progress-page .bte-progress-kpi:last-child{border-right:0!important}.bte-progress-page .bte-progress-kpi span{color:#7c8c9a!important;font-size:10px!important;letter-spacing:.11em!important}.bte-progress-page .bte-progress-kpi strong{display:block!important;margin-top:4px!important;color:var(--sx-ink)!important;font-size:1.8rem!important}
body.bte-progress-page .bte-signal-key{display:none!important}
body.bte-progress-page .bte-signal-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
body.bte-progress-page .bte-signal-grid>*{border:1px solid var(--sx-line)!important;border-radius:17px!important;background:#fff!important;box-shadow:0 10px 28px rgba(15,35,58,.04)!important}
body.bte-progress-page .bte-detail-cover{margin-top:12px!important;border:1px solid #dce6ed!important;background:#fff!important;overflow:hidden!important}.bte-progress-page .bte-detail-cover>summary{padding:13px 16px!important;color:#607486!important;font-size:11px!important;font-weight:900!important;letter-spacing:.06em!important}.bte-progress-page .bte-detail-cover-body{padding:0 16px 16px!important}
body.bte-progress-page .bte-dashboard-panel{padding:22px!important;margin-top:18px!important}
body.bte-progress-page .bte-metric-switcher{display:flex!important;gap:7px!important;overflow-x:auto!important;padding-bottom:5px!important;scrollbar-width:thin}.bte-progress-page .bte-metric-switch{flex:0 0 auto!important;border-radius:999px!important;padding:8px 11px!important;border:1px solid #d2dfe7!important;background:#fff!important;color:#52697b!important;font-size:10px!important;font-weight:900!important}.bte-progress-page .bte-metric-switch.is-active{background:var(--sx-ink)!important;border-color:var(--sx-ink)!important;color:#fff!important}
body.bte-progress-page .bte-progress-chart-shell{border:1px solid #e1e9ef!important;border-radius:17px!important;background:#fbfcfd!important;padding:12px!important;overflow-x:auto!important}
body.bte-progress-page .bte-metric-summary{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}.bte-progress-page .bte-metric-summary>div{padding:13px!important;border:1px solid #e0e8ee!important;border-radius:13px!important;background:#f7fafc!important}
body.bte-progress-page #progress-summary-handoff,body.bte-progress-page #progress-session-review{margin-top:18px!important}
body.bte-progress-page #historical-archive,body.bte-progress-page #recovery-arc,body.bte-progress-page #rider-comparison{margin-top:0!important;border-top:1px solid #e0e8ee!important;background:#eef3f6!important}
body.bte-progress-page #historical-archive>.container,body.bte-progress-page #recovery-arc>.container,body.bte-progress-page #rider-comparison>.container{padding-top:34px!important;padding-bottom:34px!important}
body.bte-progress-page .table-responsive{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}

/* EXPLORER — one focused comparison workspace. */
body.bte-explorer-page{background:var(--sx-soft)!important;color:var(--sx-ink)!important}
body.bte-explorer-page .bte-explorer{width:min(var(--sx-max),calc(100% - 48px))!important;max-width:var(--sx-max)!important;margin:0 auto!important;padding:48px 0 54px!important}
body.bte-explorer-page .bte-explorer-head{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(330px,.55fr)!important;gap:34px!important;align-items:end!important;margin:0 0 20px!important;padding:0!important;border:0!important;background:transparent!important}
body.bte-explorer-page .bte-explorer-head h1{max-width:720px;margin:8px 0 11px!important;color:var(--sx-ink)!important;font-size:clamp(2.65rem,5.3vw,4.8rem)!important;line-height:.96!important;letter-spacing:-.055em!important}
body.bte-explorer-page .bte-explorer-head p{max-width:720px;margin:0!important;color:var(--sx-copy)!important;font-size:1.06rem!important}
body.bte-explorer-page .bte-explorer-controls{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;padding:16px!important;border:1px solid var(--sx-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--sx-shadow)!important}
body.bte-explorer-page .bte-explorer-controls label{color:#6d8090!important}
body.bte-explorer-page .bte-explorer-controls select{margin-top:6px!important;border-radius:10px!important;background:#f8fafb!important;color:var(--sx-ink)!important}
body.bte-explorer-page .bte-explorer-grid{display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(315px,.7fr)!important;gap:16px!important;margin:0!important}
body.bte-explorer-page .bte-explorer-panel{padding:20px!important;min-width:0!important;color:var(--sx-ink)!important}
body.bte-explorer-page .bte-radar-wrap{background:linear-gradient(180deg,#fbfdfe,#f6f9fb)!important;border:1px solid #e2eaf0!important;border-radius:18px!important;padding:12px!important}
body.bte-explorer-page .bte-radar{display:block!important;margin:auto!important}
body.bte-explorer-page .bte-session-strip{gap:8px!important;margin-top:13px!important;padding-top:13px!important;border-top:1px solid #e4ebf0!important}
body.bte-explorer-page .bte-session-dot{height:auto!important;min-height:92px!important;padding:12px 8px!important;border:1px solid #dbe5ec!important;border-radius:13px!important;background:#f8fafb!important;color:var(--sx-ink)!important;box-shadow:none!important}.bte-explorer-page .bte-session-dot:hover{background:#f0f8fd!important;border-color:#a8d4ee!important}.bte-explorer-page .bte-session-dot.is-active{background:#eef9ff!important;border-color:#55b7ec!important;box-shadow:0 0 0 2px rgba(22,143,231,.08)!important}.bte-explorer-page .bte-session-dot strong{color:var(--sx-ink)!important}.bte-explorer-page .bte-session-dot span{color:#768a9a!important}
body.bte-explorer-page .bte-explorer-coverage{padding:12px 13px!important;border-radius:12px!important;background:#f4f8fa!important;color:#5e7281!important;border:1px solid #e2e9ee!important}
body.bte-explorer-page .bte-explorer-metrics{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-top:12px!important}.bte-explorer-page .bte-explorer-metrics>*{border:1px solid #e0e8ee!important;border-radius:13px!important;background:#f9fbfc!important;padding:12px!important;color:var(--sx-ink)!important}
body.bte-explorer-page .bte-explorer-read{margin-top:12px!important;padding:15px!important;border-radius:14px!important;background:linear-gradient(145deg,#071722,#0e2d43)!important;color:#dfeaf2!important;border:0!important}.bte-explorer-page .bte-explorer-read strong{color:#fff!important}
body.bte-explorer-page .bte-history-list{margin-top:18px!important;display:grid!important;gap:10px!important}.bte-explorer-page .bte-history-list>*{border:1px solid var(--sx-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 24px rgba(15,35,58,.035)!important}
body.bte-explorer-page .bte-explorer-archive{margin-top:18px!important;padding:18px 20px!important;border:1px solid #dce5eb!important;border-radius:17px!important;background:#edf3f6!important;color:var(--sx-ink)!important}.bte-explorer-page .bte-explorer-archive a{color:var(--sx-blue)!important}

/* FUSION — same workspace system, stronger diagnosis emphasis. */
body.bte-fusion-page{background:var(--sx-soft)!important}
body.bte-fusion-page .bte-fusion-hero{padding:48px 0 42px!important;background:linear-gradient(145deg,#071722,#0d2d42)!important}
body.bte-fusion-page .bte-fusion-hero-grid{gap:30px!important}.bte-fusion-page .bte-fusion-hero h1{max-width:820px!important;margin:9px 0 14px!important;font-size:clamp(2.7rem,5.3vw,4.9rem)!important;letter-spacing:-.055em!important}.bte-fusion-page .bte-fusion-hero p{color:#a9bfce!important;line-height:1.55!important}
body.bte-fusion-page .bte-fusion-status-card{border:1px solid rgba(104,217,246,.2)!important;border-radius:20px!important;background:rgba(255,255,255,.055)!important;padding:22px!important}.bte-fusion-page .bte-fusion-status-card strong{font-size:2.25rem!important;letter-spacing:-.04em!important}
body.bte-fusion-page .bte-fusion-primary,body.bte-fusion-page .bte-fusion-secondary{border-radius:11px!important;min-height:44px!important;align-items:center!important}.bte-fusion-page .bte-fusion-primary{background:#6adbf6!important;color:#06202d!important}.bte-fusion-page .bte-fusion-secondary{border-color:#526b7c!important}
body.bte-fusion-page .bte-fusion-section{padding:38px 0!important;background:transparent!important}.bte-fusion-page .bte-fusion-section-alt{background:#eaf0f4!important;border-top:1px solid #dde6ec!important;border-bottom:1px solid #dde6ec!important}
body.bte-fusion-page .bte-fusion-section-head{margin-bottom:18px!important}.bte-fusion-page .bte-fusion-section-head h2{font-size:clamp(1.85rem,3.4vw,2.85rem)!important}.bte-fusion-page .bte-fusion-section-head p{color:var(--sx-copy)!important}
body.bte-fusion-page .bte-fusion-kpis{gap:10px!important}.bte-fusion-page .bte-fusion-kpis article{padding:18px!important}.bte-fusion-page .bte-fusion-kpis strong{font-size:1.85rem!important;color:var(--sx-ink)!important}.bte-fusion-page .bte-fusion-kpis small{color:#758795!important}
body.bte-fusion-page .bte-fusion-panel{padding:22px!important}.bte-fusion-page .bte-fusion-chart{min-height:230px!important}
body.bte-fusion-page .bte-fusion-diagnosis-grid{gap:14px!important}.bte-fusion-page .bte-fusion-diagnosis-main,body.bte-fusion-page .bte-fusion-prescription{padding:24px!important}.bte-fusion-page .bte-fusion-prescription{background:linear-gradient(155deg,#081925,#0d3047)!important;color:#fff!important;border-color:#173e57!important}.bte-fusion-page .bte-fusion-prescription h3{color:#fff!important}.bte-fusion-page .bte-fusion-prescription p{color:#a7bdcc!important}.bte-fusion-page .bte-fusion-success{background:rgba(105,217,245,.08)!important;border:1px solid rgba(105,217,245,.18)!important}.bte-fusion-page .bte-fusion-prescription button{width:100%!important;min-height:46px!important;border-radius:11px!important;background:#6adbf6!important;color:#06202d!important}
body.bte-fusion-page .bte-fusion-levers{gap:10px!important}.bte-fusion-page .bte-fusion-lever{border-color:var(--sx-line)!important;border-radius:16px!important;padding:17px!important;box-shadow:0 8px 24px rgba(15,35,58,.035)!important}.bte-fusion-page .bte-fusion-lever b{color:var(--sx-blue)!important}
body.bte-fusion-page .bte-fusion-finger-track{background:#e3eaef!important}.bte-fusion-page .bte-fusion-finger-track i{background:linear-gradient(90deg,var(--sx-blue),var(--sx-cyan))!important}
body.bte-fusion-page .bte-fusion-loop>div{border-color:var(--sx-line)!important;border-radius:16px!important;box-shadow:0 8px 24px rgba(15,35,58,.03)!important}.bte-fusion-page .bte-fusion-loop>div span{background:var(--sx-ink)!important}.bte-fusion-page .bte-fusion-trust{border:1px solid #dae4e9!important;background:#edf3f6!important;border-radius:13px!important}

@media(max-width:980px){
 body.bte-session-page .col-md-2,body.bte-session-page .col-md-3,body.bte-session-page .col-md-4{grid-column:span 6}.col-md-5,.col-md-6,.col-md-7,.col-md-8{grid-column:1/-1}
 body.bte-progress-page .bte-signal-grid{grid-template-columns:1fr 1fr!important}
 body.bte-explorer-page .bte-explorer-head{grid-template-columns:1fr!important}.bte-explorer-page .bte-explorer-controls{max-width:620px!important}.bte-explorer-page .bte-explorer-grid{grid-template-columns:1fr!important}
}
@media(max-width:820px){
 .bte-session-workspace .wrap{grid-template-columns:repeat(2,minmax(0,1fr))!important}.bte-session-workspace a:nth-child(2){border-right:0}.bte-session-workspace a:nth-child(-n+2){border-bottom:1px solid #e5edf2}
 body.bte-session-page .wrap,body.bte-session-page .container,body.bte-session-page .bte-page-intro,body.bte-plan-page #plan-output,body.bte-explorer-page .bte-explorer{width:min(100% - 32px,var(--sx-max))!important}
 body.bte-progress-page .bte-historical-kpis,body.bte-progress-page .bte-progress-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.bte-progress-page .bte-progress-kpi:nth-child(2){border-right:0!important}.bte-progress-page .bte-progress-kpi:nth-child(-n+2){border-bottom:1px solid var(--sx-line)!important}
 body.bte-progress-page .bte-metric-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.bte-fusion-page .bte-fusion-hero-grid,body.bte-fusion-page .bte-fusion-diagnosis-grid,body.bte-fusion-page .bte-fusion-two{grid-template-columns:1fr!important}
}
@media(max-width:620px){
 body.bte-session-page .wrap,body.bte-session-page .container,body.bte-session-page .bte-page-intro,body.bte-plan-page #plan-output,body.bte-explorer-page .bte-explorer{width:min(100% - 24px,var(--sx-max))!important}
 .bte-session-workspace .wrap{width:100%!important;grid-template-columns:1fr!important}.bte-session-workspace a{border-right:0!important;border-bottom:1px solid #e5edf2!important;padding:12px 15px!important}.bte-session-workspace a:last-child{border-bottom:0!important}.bte-session-workspace a small{display:none}.bte-session-workspace a.is-current:after{left:0;right:auto;top:0;bottom:0;width:3px;height:auto}
 body.bte-session-page .bte-page-intro{padding-top:34px!important}.bte-session-page .bte-page-title{font-size:clamp(2.35rem,12vw,3.45rem)!important}.bte-session-page .bte-page-deck{font-size:1rem!important}
 body.bte-session-page .row{grid-template-columns:1fr!important}.bte-session-page [class*="col-"]{grid-column:1!important}
 body.bte-plan-page .bte-planner-group{padding:18px!important}.bte-plan-page .bte-plan-compact-context{display:block!important}.bte-plan-page .bte-plan-context-card{grid-template-columns:1fr!important}.bte-plan-page .bte-plan-context-card b{grid-column:1!important;grid-row:auto!important;margin-top:7px}.bte-plan-page .bte-factor-columns{grid-template-columns:1fr!important}.bte-plan-page .bte-output-grid,.bte-plan-page .bte-quality-grid,.bte-plan-page .bte-baseline-summary{grid-template-columns:1fr 1fr!important}
 body.bte-progress-page .bte-historical-intro{grid-template-columns:1fr!important}.bte-progress-page .bte-historical-badge{justify-self:start}.bte-progress-page .bte-signal-grid{grid-template-columns:1fr!important}
 body.bte-explorer-page .bte-explorer{padding-top:34px!important}.bte-explorer-page .bte-explorer-head h1{font-size:clamp(2.35rem,12vw,3.4rem)!important}.bte-explorer-page .bte-explorer-controls{grid-template-columns:1fr!important}.bte-explorer-page .bte-explorer-panel{padding:14px!important}.bte-explorer-page .bte-session-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}.bte-explorer-page .bte-session-dot{min-height:82px!important}.bte-explorer-page .bte-explorer-metrics{grid-template-columns:1fr!important}
 body.bte-fusion-page .bte-fusion-hero{padding:34px 0 30px!important}.bte-fusion-page .bte-fusion-hero h1{font-size:clamp(2.35rem,12vw,3.45rem)!important}.bte-fusion-page .bte-fusion-kpis{grid-template-columns:1fr 1fr!important}.bte-fusion-page .bte-fusion-diagnosis-evidence{grid-template-columns:1fr!important}.bte-fusion-page .bte-fusion-finger-row{grid-template-columns:1fr!important}.bte-fusion-page .bte-fusion-finger-row small{text-align:left!important}.bte-fusion-page .bte-fusion-loop{grid-template-columns:1fr!important}.bte-fusion-page .bte-fusion-loop>i{display:none!important}
}
@media(max-width:430px){
 body.bte-plan-page .bte-output-grid,body.bte-plan-page .bte-quality-grid,body.bte-plan-page .bte-baseline-summary,body.bte-progress-page .bte-historical-kpis,body.bte-progress-page .bte-progress-kpis,body.bte-progress-page .bte-metric-summary,body.bte-fusion-page .bte-fusion-kpis{grid-template-columns:1fr!important}
 body.bte-progress-page .bte-progress-kpi{border-right:0!important;border-bottom:1px solid var(--sx-line)!important}.bte-progress-page .bte-progress-kpi:last-child{border-bottom:0!important}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* UX99.5 regression hardening */
body.bte-plan-page .bte-plan-condition-overrides,body.bte-plan-page .bte-plan-setup-overrides{display:block!important;width:100%!important;max-width:none!important}
body.bte-plan-page .bte-plan-condition-overrides>summary,body.bte-plan-page .bte-plan-setup-overrides>summary{display:block!important;width:100%!important;max-width:none!important}
body.bte-explorer-page .bte-explorer-controls,body.bte-explorer-page .bte-explorer-controls label,body.bte-explorer-page .bte-explorer-controls select{min-width:0!important;max-width:100%!important}
@media(max-width:980px){body.bte-explorer-page .bte-explorer-head{grid-template-columns:1fr!important}body.bte-explorer-page .bte-explorer-grid{grid-template-columns:1fr!important}}
@media(max-width:620px){
 .bte-session-workspace{overflow:hidden}
 .bte-session-workspace .wrap{display:flex!important;width:100%!important;max-width:none!important;overflow-x:auto!important;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 .bte-session-workspace .wrap::-webkit-scrollbar{display:none}
 .bte-session-workspace a{flex:0 0 154px;min-width:154px;padding:11px 13px 12px!important;border-right:1px solid #e5edf2!important;border-bottom:0!important;scroll-snap-align:start}
 .bte-session-workspace a:last-child{border-right:0!important}.bte-session-workspace a small{display:none!important}.bte-session-workspace a.is-current:after{left:12px;right:12px;top:auto;bottom:0;width:auto;height:3px}
 body.bte-explorer-page .bte-explorer-controls{grid-template-columns:1fr!important;width:100%!important}
 body.bte-explorer-page .bte-explorer-grid{grid-template-columns:1fr!important;width:100%!important}
 body.bte-explorer-page .bte-explorer-panel{width:100%!important;min-width:0!important}
 body.bte-explorer-page .bte-radar-wrap{width:100%!important;min-width:0!important;overflow:hidden!important}
}
body.bte-plan-page .bte-plan-condition-overrides,body.bte-plan-page .bte-plan-setup-overrides{grid-column:1/-1!important}

/* /ride/assets/css/bte-worldclass-r22.css */
/* BTE R22 · World-Class Visual Intelligence
   Additive presentation layer. Semantic colour = data role, not rider score.
*/
:root{
  --r22-bg:#070b14;--r22-bg2:#0a1020;--r22-panel:#0d1628;--r22-panel2:#111d33;
  --r22-line:rgba(157,183,216,.16);--r22-line-hi:rgba(157,183,216,.28);
  --r22-text:#f4f7fb;--r22-muted:#9eacc2;--r22-faint:#6f7e96;
  --r22-condition:#52c7ff;--r22-opportunity:#23d4c5;--r22-execution:#ffb454;
  --r22-outcome:#88f69a;--r22-derived:#b58cff;--r22-risk:#ff727f;--r22-white:#f8fbff;
  --r22-shadow:0 24px 80px rgba(0,0,0,.32);--r22-soft-shadow:0 12px 34px rgba(0,0,0,.18);
  --r22-radius:22px;--r22-radius-sm:14px;
}

/* ---------- Shared premium surfaces ---------- */
body[data-page="fusion"],body[data-page="performance-report"]{
  background:
    radial-gradient(circle at 16% -8%,rgba(82,199,255,.10),transparent 28rem),
    radial-gradient(circle at 88% 8%,rgba(181,140,255,.08),transparent 26rem),
    var(--r22-bg)!important;color:var(--r22-text)!important;
}
body[data-page="fusion"] main,body[data-page="performance-report"] main{background:transparent!important}
body[data-page="fusion"] ::selection,body[data-page="performance-report"] ::selection{background:rgba(35,212,197,.28);color:#fff}

.r22-kicker,.r22-label{font-size:.66rem;font-weight:900;letter-spacing:.145em;text-transform:uppercase;color:var(--r22-condition)}
.r22-derived-label{color:var(--r22-derived)}
.r22-muted{color:var(--r22-muted)}
.r22-evidence-pill{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border:1px solid var(--r22-line);border-radius:999px;background:rgba(255,255,255,.035);color:var(--r22-muted);font-size:.62rem;font-weight:850;letter-spacing:.06em;text-transform:uppercase}
.r22-evidence-pill:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 12px currentColor}
.r22-evidence-pill.is-measured{color:var(--r22-condition)}.r22-evidence-pill.is-derived{color:var(--r22-derived)}.r22-evidence-pill.is-modelled{color:var(--r22-opportunity)}

/* ---------- Fusion: full premium shell ---------- */
body[data-page="fusion"] .fusion-hero{
  background:
    radial-gradient(circle at 74% 22%,rgba(35,212,197,.18),transparent 25rem),
    radial-gradient(circle at 92% -5%,rgba(82,199,255,.12),transparent 20rem),
    linear-gradient(145deg,#070b14 0%,#0b1525 52%,#08111e 100%)!important;
  border-bottom:1px solid var(--r22-line);padding:78px 0 62px!important;
}
body[data-page="fusion"] .fusion-hero h1{font-size:clamp(3rem,6vw,6.2rem)!important;line-height:.91!important;letter-spacing:-.06em!important;text-wrap:balance}
body[data-page="fusion"] .fusion-hero h1 span{background:linear-gradient(90deg,var(--r22-condition),var(--r22-opportunity));-webkit-background-clip:text;background-clip:text;color:transparent!important}
body[data-page="fusion"] .fusion-hero p{color:#bac6d7!important;font-size:1.06rem;line-height:1.68}
body[data-page="fusion"] .fusion-target-card{background:linear-gradient(160deg,rgba(17,29,51,.88),rgba(9,17,31,.72))!important;border:1px solid var(--r22-line-hi)!important;box-shadow:var(--r22-shadow)!important;backdrop-filter:blur(18px)}
body[data-page="fusion"] .ring-track{stroke:rgba(255,255,255,.08)!important}.ring-value{stroke:var(--r22-opportunity)!important;filter:drop-shadow(0 0 7px rgba(35,212,197,.45))}
body[data-page="fusion"] .fusion-dashboard,body[data-page="fusion"] .fusion-analysis,body[data-page="fusion"] .fusion-context{background:transparent!important;color:var(--r22-text)!important}
body[data-page="fusion"] .fusion-dashboard{padding:54px 0!important}
body[data-page="fusion"] .fusion-kpi-grid article,body[data-page="fusion"] .fusion-panel{
  background:linear-gradient(165deg,rgba(17,29,51,.92),rgba(11,20,36,.94))!important;
  border:1px solid var(--r22-line)!important;box-shadow:var(--r22-soft-shadow)!important;color:var(--r22-text)!important;
}
body[data-page="fusion"] .fusion-kpi-grid article{position:relative;overflow:hidden;border-radius:18px!important;padding:19px 18px!important}
body[data-page="fusion"] .fusion-kpi-grid article:before{content:"";position:absolute;inset:0 auto 0 0;width:2px;background:linear-gradient(var(--r22-condition),transparent 78%);opacity:.9}
body[data-page="fusion"] .fusion-kpi-grid span,body[data-page="fusion"] .fusion-kpi-grid small,body[data-page="fusion"] .fusion-panel-head p,body[data-page="fusion"] .fusion-panel-head small,body[data-page="fusion"] .fusion-section-title p{color:var(--r22-muted)!important}
body[data-page="fusion"] .fusion-kpi-grid strong,body[data-page="fusion"] .fusion-panel h2,body[data-page="fusion"] .fusion-panel h3,body[data-page="fusion"] .fusion-section-title h2{color:var(--r22-text)!important}
body[data-page="fusion"] .fusion-panel{border-radius:var(--r22-radius)!important;padding:24px!important}
body[data-page="fusion"] .fusion-main-chart-panel{background:linear-gradient(160deg,rgba(15,27,48,.98),rgba(8,15,27,.98))!important}
body[data-page="fusion"] .fusion-range button{background:rgba(255,255,255,.035)!important;border-color:var(--r22-line)!important;color:var(--r22-muted)!important}
body[data-page="fusion"] .fusion-range button.is-active{background:linear-gradient(135deg,var(--r22-condition),var(--r22-opportunity))!important;color:#03111b!important;border-color:transparent!important;box-shadow:0 8px 20px rgba(35,212,197,.18)}
body[data-page="fusion"] .fusion-grid-line{stroke:rgba(158,172,194,.12)!important}.fusion-grid-label{fill:#8e9cb0!important}.fusion-target-line{stroke:var(--r22-risk)!important}.fusion-best-path{stroke:var(--r22-white)!important;filter:drop-shadow(0 0 4px rgba(255,255,255,.25))}.fusion-top5-path{stroke:var(--r22-condition)!important}.fusion-roll-path{stroke:var(--r22-opportunity)!important}.fusion-expected-path{stroke:var(--r22-execution)!important}.fusion-chart-dot{fill:#0c1728!important;stroke:var(--r22-white)!important}.fusion-chart-dot.is-selected,.fusion-chart-pb{fill:var(--r22-opportunity)!important;stroke:#fff!important;filter:drop-shadow(0 0 7px rgba(35,212,197,.55))}
body[data-page="fusion"] .fusion-chart-legend{color:var(--r22-muted)!important}.legend-best{background:var(--r22-white)!important}.legend-top5{background:var(--r22-condition)!important}.legend-roll{background:var(--r22-opportunity)!important}.legend-expected{background:repeating-linear-gradient(90deg,var(--r22-execution) 0 5px,transparent 5px 9px)!important}.legend-target{background:repeating-linear-gradient(90deg,var(--r22-risk) 0 6px,transparent 6px 10px)!important}
body[data-page="fusion"] .fusion-selected-session{background:rgba(82,199,255,.065)!important;border:1px solid rgba(82,199,255,.16)!important;border-left:3px solid var(--r22-condition)!important;color:var(--r22-text)!important}.fusion-selected-session span{color:var(--r22-muted)!important}
body[data-page="fusion"] .fusion-season-strip-wrap{border-color:var(--r22-line)!important}.fusion-season-strip button{background:#34435b!important}.fusion-season-strip button.is-high{background:var(--r22-outcome)!important}.fusion-season-strip button.is-pb{background:var(--r22-condition)!important;box-shadow:0 0 9px rgba(82,199,255,.38)}
body[data-page="fusion"] .fusion-flight-lab{background:linear-gradient(180deg,#080d17 0%,#0b1220 100%)!important;border-block:1px solid var(--r22-line);color:var(--r22-text)!important}
body[data-page="fusion"] .flight-lab-shell{border-color:var(--r22-line-hi)!important;background:linear-gradient(160deg,rgba(17,29,51,.95),rgba(8,15,27,.98))!important;box-shadow:var(--r22-shadow)!important}
body[data-page="fusion"] .flight-stage-panel,body[data-page="fusion"] .flight-readout,body[data-page="fusion"] .flight-metric-card,body[data-page="fusion"] .flight-coach-read{background:rgba(6,12,22,.6)!important;border-color:var(--r22-line)!important;color:var(--r22-text)!important}
body[data-page="fusion"] .flight-metrics-title p,body[data-page="fusion"] .flight-lab-trust,body[data-page="fusion"] .flight-fingerprint-meta,body[data-page="fusion"] .flight-context span{color:var(--r22-muted)!important}
body[data-page="fusion"] .fusion-coach{background:linear-gradient(180deg,rgba(12,20,35,.98),rgba(8,14,25,.98))!important;border-block:1px solid var(--r22-line)}
body[data-page="fusion"] .fusion-coach-card{background:linear-gradient(165deg,rgba(17,29,51,.96),rgba(10,18,32,.98))!important;border:1px solid var(--r22-line)!important;color:var(--r22-text)!important;box-shadow:var(--r22-soft-shadow)!important}.fusion-coach-card p{color:var(--r22-muted)!important}.fusion-coach-card-dark{background:linear-gradient(145deg,#111c31,#08111f)!important}.fusion-coach-card-action{border-color:rgba(35,212,197,.32)!important}.fusion-success{background:rgba(35,212,197,.08)!important;color:var(--r22-text)!important}.fusion-coach-card button{background:linear-gradient(135deg,var(--r22-condition),var(--r22-opportunity))!important}
body[data-page="fusion"] .radar-grid,body[data-page="fusion"] .radar-axis{stroke:rgba(158,172,194,.16)!important}.radar-strong{fill:rgba(82,199,255,.10)!important;stroke:var(--r22-condition)!important}.radar-latest{fill:rgba(35,212,197,.12)!important;stroke:var(--r22-opportunity)!important}.radar-label{fill:#d9e3f1!important}.radar-value{fill:#8e9cb0!important}.fusion-finger-track,.fusion-lever-meter{background:#18253a!important}.fusion-finger-track i{background:linear-gradient(90deg,var(--r22-condition),var(--r22-opportunity))!important}.fusion-finger-row span,.fusion-lever strong{color:var(--r22-text)!important}.fusion-finger-row small,.fusion-lever span{color:var(--r22-muted)!important}
body[data-page="fusion"] .fusion-context{border-top:1px solid var(--r22-line)}

/* ---------- R22 Physics Command Centre ---------- */
.r22-physics-command{margin:0 0 22px;padding:26px;border:1px solid var(--r22-line-hi);border-radius:26px;background:linear-gradient(145deg,rgba(15,28,50,.98),rgba(7,14,26,.98));box-shadow:var(--r22-shadow);position:relative;overflow:hidden}
.r22-physics-command:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-240px;top:-280px;background:radial-gradient(circle,rgba(35,212,197,.20),transparent 68%);pointer-events:none}
.r22-command-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:20px;position:relative}.r22-command-head h2{margin:5px 0 6px!important;color:var(--r22-text)!important;font-size:clamp(1.75rem,3vw,2.7rem)!important;letter-spacing:-.04em}.r22-command-head p{margin:0;color:var(--r22-muted);max-width:760px}.r22-command-status{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.r22-physics-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;position:relative}.r22-physics-card{position:relative;min-height:156px;padding:16px;border:1px solid var(--r22-line);border-radius:17px;background:linear-gradient(165deg,rgba(255,255,255,.045),rgba(255,255,255,.015));overflow:hidden}.r22-physics-card:after{content:"";position:absolute;inset:auto 0 0 0;height:2px;background:var(--r22-accent,var(--r22-condition));opacity:.9}.r22-physics-card[data-role="conditions"]{--r22-accent:var(--r22-condition)}.r22-physics-card[data-role="opportunity"]{--r22-accent:var(--r22-opportunity)}.r22-physics-card[data-role="execution"]{--r22-accent:var(--r22-execution)}.r22-physics-card[data-role="outcome"]{--r22-accent:var(--r22-outcome)}.r22-physics-card[data-role="derived"]{--r22-accent:var(--r22-derived)}
.r22-physics-card .r22-label{color:var(--r22-accent)}.r22-physics-card strong{display:block;margin-top:19px;color:var(--r22-text);font-size:clamp(1.75rem,2.9vw,2.7rem);letter-spacing:-.045em;line-height:1}.r22-physics-card small{display:block;margin-top:8px;color:var(--r22-muted);line-height:1.4;font-size:.72rem}.r22-mini-bar{height:4px;background:rgba(255,255,255,.07);border-radius:99px;margin-top:15px;overflow:hidden}.r22-mini-bar i{display:block;height:100%;width:var(--w,0%);background:var(--r22-accent);box-shadow:0 0 12px var(--r22-accent);border-radius:inherit}
.r22-flow{display:grid;grid-template-columns:repeat(6,1fr);gap:0;margin-top:18px;border:1px solid var(--r22-line);border-radius:17px;overflow:hidden;background:rgba(255,255,255,.018)}.r22-flow-step{position:relative;padding:14px 14px 16px;min-height:96px;border-right:1px solid var(--r22-line)}.r22-flow-step:last-child{border-right:0}.r22-flow-step:after{content:"›";position:absolute;right:-8px;top:34px;z-index:2;color:#60708a;background:#0c1627;width:15px;height:23px;text-align:center}.r22-flow-step:last-child:after{display:none}.r22-flow-step span{display:block;font-size:.58rem;font-weight:900;letter-spacing:.12em;color:var(--r22-faint)}.r22-flow-step strong{display:block;margin-top:7px;color:var(--r22-text);font-size:.94rem}.r22-flow-step small{display:block;margin-top:4px;color:var(--r22-muted);font-size:.66rem;line-height:1.32}.r22-flow-step.is-condition strong{color:var(--r22-condition)}.r22-flow-step.is-opportunity strong{color:var(--r22-opportunity)}.r22-flow-step.is-execution strong{color:var(--r22-execution)}.r22-flow-step.is-outcome strong{color:var(--r22-outcome)}
.r22-opportunity-strip{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;margin-top:18px;padding:17px 18px;border:1px solid var(--r22-line);border-radius:17px;background:rgba(255,255,255,.025)}.r22-opportunity-track{position:relative;height:12px;border-radius:99px;background:#162238;overflow:visible}.r22-opportunity-fill{position:absolute;inset:0 auto 0 0;width:var(--opp,0%);border-radius:inherit;background:linear-gradient(90deg,var(--r22-opportunity),var(--r22-condition));opacity:.45}.r22-actual-marker,.r22-opportunity-marker{position:absolute;top:50%;width:3px;height:30px;border-radius:3px;transform:translate(-50%,-50%)}.r22-actual-marker{left:var(--actual,0%);background:var(--r22-outcome);box-shadow:0 0 12px rgba(136,246,154,.6)}.r22-opportunity-marker{left:var(--opp,0%);background:var(--r22-opportunity);box-shadow:0 0 12px rgba(35,212,197,.55)}.r22-opportunity-legend{display:flex;gap:14px;margin-top:9px;color:var(--r22-muted);font-size:.67rem}.r22-opportunity-legend b{color:var(--r22-text)}.r22-execution-badge{text-align:right}.r22-execution-badge span{display:block;color:var(--r22-muted);font-size:.6rem;font-weight:900;letter-spacing:.11em}.r22-execution-badge strong{display:block;margin-top:3px;font-size:1.55rem;color:var(--r22-execution)}.r22-execution-badge strong.is-positive{color:var(--r22-outcome)}.r22-execution-badge small{color:var(--r22-muted)}

/* ---------- Explainers ---------- */
.r22-explainers{margin-top:15px;border:1px solid var(--r22-line);border-radius:16px;background:rgba(255,255,255,.018);overflow:hidden}.r22-explainers>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;cursor:pointer;color:var(--r22-text);font-weight:850}.r22-explainers>summary::-webkit-details-marker{display:none}.r22-explainers>summary:after{content:"+";display:grid;place-items:center;width:28px;height:28px;border-radius:50%;border:1px solid var(--r22-line);color:var(--r22-condition)}.r22-explainers[open]>summary:after{content:"−"}.r22-explainer-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;background:var(--r22-line);border-top:1px solid var(--r22-line)}.r22-explainer-grid article{background:#0c1627;padding:15px}.r22-explainer-grid strong{display:block;color:var(--r22-text);font-size:.8rem}.r22-explainer-grid span{display:block;color:var(--r22-muted);font-size:.69rem;line-height:1.48;margin-top:6px}.r22-explainer-grid em{font-style:normal;color:var(--r22-derived);font-size:.58rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}

/* ---------- Performance Report premium conversion ---------- */
body[data-page="performance-report"] .page-container{background:transparent!important}
body[data-page="performance-report"] .bte-page-intro,body[data-page="performance-report"] .container.bloc-lg{width:min(1280px,calc(100% - 40px))!important}
body[data-page="performance-report"] .bte-page-title{color:var(--r22-text)!important;font-size:clamp(2.5rem,5vw,5rem)!important;letter-spacing:-.055em!important}.bte-page-deck{color:var(--r22-muted)!important}
body[data-page="performance-report"] .bte-report-stage-nav{background:rgba(8,15,27,.90)!important;border-color:var(--r22-line)!important;backdrop-filter:blur(14px);box-shadow:0 14px 34px rgba(0,0,0,.2)!important}.bte-report-stage-nav a{color:var(--r22-muted)!important}.bte-report-stage-nav a:hover{background:rgba(82,199,255,.06)!important;color:var(--r22-text)!important}.bte-report-stage-nav span{color:var(--r22-condition)!important}
body[data-page="performance-report"] .bte-report-outcome,body[data-page="performance-report"] .bte-overall-coach,body[data-page="performance-report"] .bte-report-evidence,body[data-page="performance-report"] .bte-report-gotcha,body[data-page="performance-report"] .bte-wind-correlation,body[data-page="performance-report"] .bte-session-timeline,body[data-page="performance-report"] .bte-radar-card,body[data-page="performance-report"] .bte-summary-card,body[data-page="performance-report"] .bte-prune-disclosure{
  background:linear-gradient(165deg,rgba(17,29,51,.95),rgba(9,17,30,.98))!important;border:1px solid var(--r22-line)!important;color:var(--r22-text)!important;box-shadow:var(--r22-soft-shadow)!important;
}
body[data-page="performance-report"] .bte-report-outcome,body[data-page="performance-report"] .bte-overall-coach,body[data-page="performance-report"] .bte-report-evidence{border-radius:24px!important}
body[data-page="performance-report"] h2,body[data-page="performance-report"] h3,body[data-page="performance-report"] strong{color:var(--r22-text)}
body[data-page="performance-report"] p,body[data-page="performance-report"] small,body[data-page="performance-report"] .bte-card-note{color:var(--r22-muted)!important}
body[data-page="performance-report"] .bte-section-kicker,body[data-page="performance-report"] .bte-card-kicker{color:var(--r22-condition)!important}
body[data-page="performance-report"] .bte-report-context-strip{background:rgba(255,255,255,.025)!important;border-color:var(--r22-line)!important}.bte-envelope-picker label{color:var(--r22-faint)!important}.bte-envelope-picker select,.bte-graph-session-picker select{background:#0c1729!important;color:var(--r22-text)!important;border-color:var(--r22-line-hi)!important}
body[data-page="performance-report"] .bte-outcome-metric,body[data-page="performance-report"] .bte-outcome-read,body[data-page="performance-report"] .bte-height-benchmark,body[data-page="performance-report"] .bte-overall-coach-grid article,body[data-page="performance-report"] .bte-wind-corr-stat{background:rgba(255,255,255,.028)!important;border-color:var(--r22-line)!important;color:var(--r22-text)!important}
body[data-page="performance-report"] .bte-outcome-metric.is-primary{border-top:2px solid var(--r22-outcome)!important}.bte-outcome-metric.is-opportunity{border-top:2px solid var(--r22-opportunity)!important}.bte-outcome-metric.is-goal{border-top:2px solid var(--r22-derived)!important}
body[data-page="performance-report"] .bte-outcome-metric strong{font-size:clamp(2.35rem,4.4vw,4rem)!important}.bte-outcome-metric span,.bte-height-benchmark span,.bte-overall-coach-grid article>span,.bte-wind-corr-stat span{color:var(--r22-faint)!important}
body[data-page="performance-report"] .bte-overall-coach-grid .is-action{border-color:rgba(35,212,197,.3)!important;background:rgba(35,212,197,.055)!important}.bte-overall-coach-grid .is-limiter{border-color:rgba(255,180,84,.24)!important}.bte-overall-coach-grid .is-worked{border-color:rgba(136,246,154,.20)!important}.bte-coach-confidence-badge{background:rgba(181,140,255,.07)!important;border-color:rgba(181,140,255,.20)!important}.bte-coach-confidence-badge strong{color:var(--r22-derived)!important}
body[data-page="performance-report"] .bte-next-loop{background:linear-gradient(90deg,rgba(35,212,197,.11),rgba(82,199,255,.045))!important;border-color:rgba(35,212,197,.20)!important}.bte-gotcha-label{color:var(--r22-execution)!important}.bte-report-gotcha{border-left:3px solid var(--r22-execution)!important}
body[data-page="performance-report"] .bte-wind-correlation,body[data-page="performance-report"] .bte-session-timeline{border-radius:20px!important}.bte-wind-corr-chart,.bte-timeline-chart,.bte-radar-wrap{background:#091322!important;border-color:var(--r22-line)!important;border-radius:16px!important}.bte-wind-corr-chart svg,.bte-timeline-chart svg,.bte-radar-wrap svg{filter:drop-shadow(0 12px 24px rgba(0,0,0,.2))}
body[data-page="performance-report"] .bte-prune-disclosure>summary{background:#0c1728!important;color:var(--r22-text)!important}.bte-prune-disclosure>summary small{color:var(--r22-muted)!important}.bte-prune-disclosure>summary:after{background:rgba(82,199,255,.08)!important;color:var(--r22-condition)!important}.bte-prune-deep-dive>section{background:#0c1627!important;border-color:var(--r22-line)!important;color:var(--r22-text)!important}
body[data-page="performance-report"] .bte-report-final-actions{background:linear-gradient(135deg,#101d33,#07111f)!important;border:1px solid var(--r22-line)!important;box-shadow:var(--r22-soft-shadow)}

/* Physics hero inside Performance Report */
.r22-performance-physics{margin:18px 0 22px;padding:22px;border:1px solid var(--r22-line-hi);border-radius:22px;background:linear-gradient(145deg,rgba(13,26,47,.98),rgba(7,14,26,.98));box-shadow:var(--r22-soft-shadow)}
.r22-performance-physics .r22-command-head{margin-bottom:16px}.r22-performance-physics .r22-physics-grid{grid-template-columns:repeat(5,1fr)}
.r22-physics-coach{margin-top:16px;display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start;padding:17px;border:1px solid rgba(181,140,255,.22);border-radius:16px;background:linear-gradient(90deg,rgba(181,140,255,.07),rgba(82,199,255,.035))}.r22-physics-coach .r22-iq{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,var(--r22-derived),var(--r22-condition));color:#06101c;font-weight:950;box-shadow:0 8px 18px rgba(181,140,255,.16)}.r22-physics-coach span{display:block;color:var(--r22-derived);font-size:.62rem;font-weight:900;letter-spacing:.12em}.r22-physics-coach strong{display:block;margin-top:4px;color:var(--r22-text);font-size:1.02rem}.r22-physics-coach p{margin:5px 0 0!important;color:var(--r22-muted)!important;font-size:.79rem;line-height:1.5}

/* ---------- Progress / Plan / Explorer shared visual uplift ---------- */
body.bte-plan-page,body.bte-progress-page,body.bte-history-page{background:linear-gradient(180deg,#f7f9fc 0%,#eef3f8 100%)}
body.bte-plan-page .bte-page-intro,body.bte-progress-page .bte-page-intro{padding-top:42px}
body.bte-plan-page .bte-page-title,body.bte-progress-page .bte-page-title,body.bte-history-page .bte-explorer-head h1{letter-spacing:-.045em;text-wrap:balance}
body.bte-plan-page .bte-planner-group,body.bte-history-page .bte-explorer-panel{border-radius:20px!important;box-shadow:0 18px 48px rgba(18,42,68,.08)!important;border-color:#d9e3ee!important}
body.bte-plan-page .bte-auto-choice{border-radius:16px!important;background:linear-gradient(135deg,#0d1b30,#112741)!important;color:#fff!important;box-shadow:0 12px 26px rgba(12,34,56,.16)}
body.bte-plan-page .bte-auto-choice strong,body.bte-plan-page .bte-auto-choice small{color:#fff!important}
body.bte-history-page .bte-explorer-head{background:linear-gradient(145deg,#0b1424,#11243b)!important;color:#fff!important;box-shadow:0 20px 50px rgba(10,28,48,.16)}
body.bte-history-page .bte-explorer-head p{color:#b9c7d8!important}.bte-history-page .bte-explorer-kicker{color:#52c7ff!important}

/* ---------- Responsive ---------- */
@media(max-width:1100px){.r22-physics-grid{grid-template-columns:repeat(3,1fr)}.r22-physics-grid .r22-physics-card:nth-child(4),.r22-physics-grid .r22-physics-card:nth-child(5){grid-column:span 1}.r22-flow{grid-template-columns:repeat(3,1fr)}.r22-flow-step:nth-child(3){border-right:0}.r22-flow-step:nth-child(-n+3){border-bottom:1px solid var(--r22-line)}.r22-explainer-grid{grid-template-columns:repeat(3,1fr)}.r22-performance-physics .r22-physics-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.r22-physics-command,.r22-performance-physics{padding:17px;border-radius:19px}.r22-command-head{display:block}.r22-command-status{justify-content:flex-start;margin-top:12px}.r22-physics-grid,.r22-performance-physics .r22-physics-grid{grid-template-columns:1fr 1fr}.r22-physics-card{min-height:138px}.r22-flow{grid-template-columns:1fr 1fr}.r22-flow-step:nth-child(n){border-right:1px solid var(--r22-line);border-bottom:1px solid var(--r22-line)}.r22-flow-step:nth-child(even){border-right:0}.r22-flow-step:nth-last-child(-n+2){border-bottom:0}.r22-opportunity-strip{grid-template-columns:1fr}.r22-execution-badge{text-align:left}.r22-explainer-grid{grid-template-columns:1fr}.r22-physics-coach{grid-template-columns:1fr}.r22-physics-coach .r22-iq{width:34px;height:34px}.fusion-kpi-grid{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:480px){.r22-physics-grid,.r22-performance-physics .r22-physics-grid{grid-template-columns:1fr}.r22-flow{grid-template-columns:1fr}.r22-flow-step:nth-child(n){border-right:0;border-bottom:1px solid var(--r22-line)}.r22-flow-step:last-child{border-bottom:0}.r22-flow-step:after{display:none}}

/* R22 premium physics relationship plot */
.r22-relationship-lab{margin-top:18px;padding:18px;border:1px solid var(--r22-line);border-radius:18px;background:linear-gradient(160deg,rgba(6,13,24,.72),rgba(14,25,43,.58))}
.r22-relationship-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.r22-relationship-head h3{margin:4px 0 4px!important;color:var(--r22-text)!important;font-size:1.3rem!important}.r22-relationship-head p{margin:0!important;color:var(--r22-muted)!important;font-size:.74rem!important}.r22-rel-stats{display:flex;gap:10px}.r22-rel-stats>div{min-width:116px;padding:10px 12px;border:1px solid var(--r22-line);border-radius:12px;background:rgba(255,255,255,.025)}.r22-rel-stats span{display:block;color:var(--r22-faint);font-size:.54rem;font-weight:900;letter-spacing:.1em}.r22-rel-stats strong{display:block;margin-top:4px;color:var(--r22-text);font-size:1.02rem}.r22-relationship-chart{min-height:310px;margin-top:13px;border:1px solid var(--r22-line);border-radius:15px;background:radial-gradient(circle at 75% 15%,rgba(35,212,197,.055),transparent 42%),#081220;overflow:hidden}.r22-relationship-chart svg{display:block;width:100%;height:auto}.r22-rel-grid{stroke:rgba(158,172,194,.11);stroke-width:1}.r22-rel-axis{fill:#7f8fa7;font-size:11px}.r22-rel-title{fill:#dce7f5;font-size:11px;font-weight:850;letter-spacing:.04em}.r22-rel-trend{stroke:var(--r22-opportunity);stroke-width:2.5;stroke-linecap:round;filter:drop-shadow(0 0 5px rgba(35,212,197,.3))}.r22-rel-point{fill:rgba(82,199,255,.74);stroke:#dff6ff;stroke-width:1;transition:.18s}.r22-rel-point.is-high{fill:var(--r22-outcome);stroke:#ecfff0;stroke-width:1.5;filter:drop-shadow(0 0 5px rgba(136,246,154,.35))}.r22-rel-sweet{fill:rgba(35,212,197,.07);stroke:rgba(35,212,197,.28);stroke-dasharray:5 5}.r22-relationship-read{margin-top:10px;padding:10px 12px;border-left:2px solid var(--r22-derived);background:rgba(181,140,255,.045);color:var(--r22-muted);font-size:.72rem;line-height:1.48}.r22-relationship-read strong{color:var(--r22-text)}
@media(max-width:700px){.r22-relationship-head{display:block}.r22-rel-stats{margin-top:12px}.r22-rel-stats>div{min-width:0;flex:1}.r22-relationship-chart{overflow-x:auto}.r22-relationship-chart svg{min-width:700px}}


/* ---------- R22.2 Session Explorer hero consolidation ----------
   Supersedes legacy FIX5 + UX99 hero rules loaded earlier in the cascade.
   Keeps Explorer data/radar logic unchanged; resolves dark-on-dark heading and detached controls. */
body.bte-history-page.bte-explorer-page .bte-explorer-head{
  display:grid!important;
  grid-template-columns:minmax(0,1.45fr) minmax(360px,.55fr)!important;
  gap:34px!important;
  align-items:end!important;
  margin:0 0 22px!important;
  padding:30px 30px 28px!important;
  border:1px solid rgba(82,199,255,.16)!important;
  border-radius:24px!important;
  background:
    radial-gradient(circle at 8% 12%,rgba(82,199,255,.12),transparent 28%),
    radial-gradient(circle at 74% 120%,rgba(35,212,197,.08),transparent 34%),
    linear-gradient(145deg,#091422 0%,#0d1d32 58%,#11253e 100%)!important;
  box-shadow:0 22px 54px rgba(10,28,48,.18)!important;
  overflow:hidden!important;
}
body.bte-history-page.bte-explorer-page .bte-explorer-head>div:first-child{
  min-width:0!important;
  max-width:900px!important;
}
body.bte-history-page.bte-explorer-page .bte-explorer-head h1{
  margin:8px 0 12px!important;
  max-width:900px!important;
  color:#f4f8ff!important;
  -webkit-text-fill-color:#f4f8ff!important;
  background:none!important;
  font-size:clamp(2.65rem,4.35vw,4.15rem)!important;
  line-height:.93!important;
  letter-spacing:-.055em!important;
  text-wrap:balance!important;
  text-shadow:0 8px 28px rgba(0,0,0,.18)!important;
}
body.bte-history-page.bte-explorer-page .bte-explorer-head p{
  margin:0!important;
  max-width:820px!important;
  color:#bccadd!important;
  -webkit-text-fill-color:#bccadd!important;
  font-size:1.05rem!important;
  line-height:1.56!important;
}
body.bte-history-page.bte-explorer-page .bte-explorer-kicker{
  color:#52c7ff!important;
  -webkit-text-fill-color:#52c7ff!important;
  font-size:.72rem!important;
  font-weight:950!important;
  letter-spacing:.18em!important;
}
body.bte-history-page.bte-explorer-page .bte-explorer-controls{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
  align-self:end!important;
  min-width:0!important;
  padding:15px!important;
  border:1px solid rgba(158,172,194,.22)!important;
  border-radius:18px!important;
  background:rgba(5,13,24,.68)!important;
  box-shadow:0 14px 32px rgba(0,0,0,.18)!important;
  backdrop-filter:blur(12px)!important;
}
body.bte-history-page.bte-explorer-page .bte-explorer-controls label{
  min-width:0!important;
  color:#91a5bc!important;
  -webkit-text-fill-color:#91a5bc!important;
  font-size:.68rem!important;
  font-weight:900!important;
  letter-spacing:.1em!important;
}
body.bte-history-page.bte-explorer-page .bte-explorer-controls select{
  width:100%!important;
  min-width:0!important;
  margin-top:6px!important;
  padding:10px 36px 10px 12px!important;
  border:1px solid rgba(82,199,255,.34)!important;
  border-radius:10px!important;
  background:#f8fbff!important;
  color:#0a1b2e!important;
  -webkit-text-fill-color:#0a1b2e!important;
  font-weight:850!important;
  box-shadow:none!important;
}
body.bte-history-page.bte-explorer-page .bte-explorer-controls select:focus{
  outline:3px solid rgba(82,199,255,.2)!important;
  outline-offset:1px!important;
  border-color:#52c7ff!important;
}
@media(max-width:980px){
  body.bte-history-page.bte-explorer-page .bte-explorer-head{
    grid-template-columns:1fr!important;
    padding:26px!important;
  }
  body.bte-history-page.bte-explorer-page .bte-explorer-controls{max-width:720px!important;width:100%!important}
}
@media(max-width:620px){
  body.bte-history-page.bte-explorer-page .bte-explorer-head{padding:22px 18px!important;border-radius:20px!important}
  body.bte-history-page.bte-explorer-page .bte-explorer-head h1{font-size:clamp(2.35rem,12vw,3.25rem)!important}
  body.bte-history-page.bte-explorer-page .bte-explorer-head p{font-size:.98rem!important}
  body.bte-history-page.bte-explorer-page .bte-explorer-controls{grid-template-columns:1fr!important;padding:12px!important}
}


/* R28.2 · Fusion visual QA / dark-panel contrast normalization */
body[data-page="fusion"]{--r22-muted:#bdc9da;--r22-faint:#91a3ba;}
body[data-page="fusion"] .fusion-section-title p,body[data-page="fusion"] .fusion-panel-head p,body[data-page="fusion"] .fusion-panel-head small{color:#bdc9da!important;opacity:1!important;}
body[data-page="fusion"] .fusion-analysis-grid{align-items:start!important;}
body[data-page="fusion"] .fusion-radar-panel,body[data-page="fusion"] .fusion-relationship-panel{align-self:start!important;height:auto!important;min-height:0!important;}
body[data-page="fusion"] .fusion-radar{min-height:250px!important;}
body[data-page="fusion"] .fusion-finger-row small{color:#aebed0!important;opacity:1!important;}
body[data-page="fusion"] .fusion-lever-top span,body[data-page="fusion"] .fusion-lever small,body[data-page="fusion"] .fusion-lever small em{color:#aebed0!important;opacity:1!important;}
body[data-page="fusion"] .fusion-lever small strong{color:#eef5ff!important;}
body[data-page="fusion"] .fusion-list-row small,body[data-page="fusion"] .fusion-empty{color:#aebed0!important;opacity:1!important;}
body[data-page="fusion"] .fusion-list-row{border-color:rgba(157,183,216,.20)!important;}
body[data-page="fusion"] .fusion-top-session{background:linear-gradient(165deg,rgba(19,33,55,.98),rgba(11,20,35,.98))!important;border:1px solid rgba(157,183,216,.22)!important;color:#f4f7fb!important;box-shadow:none!important;}
body[data-page="fusion"] .fusion-top-session>span{color:#91a6bd!important;opacity:1!important;}
body[data-page="fusion"] .fusion-top-session strong{color:#f7fbff!important;opacity:1!important;}
body[data-page="fusion"] .fusion-top-session small{color:#aebed0!important;opacity:1!important;}
body[data-page="fusion"] .fusion-context-grid .fusion-panel{min-height:0!important;height:auto!important;align-self:start!important;}
body[data-page="fusion"] .fusion-context-grid{align-items:start!important;}
body[data-page="fusion"] .fusion-context-grid .fusion-panel h3{margin-bottom:14px!important;}

/* /assets/css/bte-r31-best-class.css */
/* Beyond The Edge R31 · Best-of-Class visual system */
:root{
  --r31-midnight:#06111c;
  --r31-midnight-2:#091827;
  --r31-ink:#0a1724;
  --r31-surface:#0f2030;
  --r31-surface-2:#13293b;
  --r31-paper:#f4f7fb;
  --r31-paper-2:#edf3f8;
  --r31-white:#f8fbff;
  --r31-text:#0a1a28;
  --r31-muted:#617386;
  --r31-muted-dark:#adc0cf;
  --r31-line:#d9e5ee;
  --r31-line-dark:rgba(155,195,222,.18);
  --r31-cyan:#26d9ff;
  --r31-cobalt:#176bff;
  --r31-violet:#8c62ff;
  --r31-lime:#a9ef49;
  --r31-amber:#ffb44f;
  --r31-coral:#ff6f67;
  --r31-edge:linear-gradient(90deg,var(--r31-cyan) 0%,var(--r31-cobalt) 52%,var(--r31-violet) 100%);
  --r31-edge-soft:linear-gradient(90deg,rgba(38,217,255,.16),rgba(23,107,255,.10),rgba(140,98,255,.12));
  --r31-shadow:0 18px 48px rgba(10,31,48,.10);
  --r31-shadow-dark:0 22px 58px rgba(0,0,0,.28);
  --r31-radius:20px;
  --r31-radius-sm:14px;
}
html{scroll-behavior:smooth}
body{font-feature-settings:"kern" 1,"liga" 1;text-rendering:optimizeLegibility}
::selection{background:rgba(38,217,255,.26);color:inherit}

/* Signature navigation */
.bteHeader[data-bte-universal-nav="true"]{
  background:rgba(3,13,23,.96)!important;
  border-bottom:1px solid rgba(38,217,255,.12)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.22)!important;
}
.bteHeader[data-bte-universal-nav="true"]::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:var(--r31-edge);opacity:.8;pointer-events:none;
}
.bteHeader[data-bte-universal-nav="true"] .bteNavItem.active,
.bteHeader[data-bte-universal-nav="true"] .bteDropBtn.active{
  background:linear-gradient(135deg,rgba(38,217,255,.13),rgba(23,107,255,.11),rgba(140,98,255,.10))!important;
  border-color:rgba(38,217,255,.24)!important;color:#fff!important;
}
.bteHeader[data-bte-universal-nav="true"] .bteNavItem.active::after,
.bteHeader[data-bte-universal-nav="true"] .bteDropBtn.active::after{background:var(--r31-edge)!important;height:3px!important}
.bteHeader[data-bte-universal-nav="true"] .bteDropPanel{border-color:rgba(38,217,255,.13)!important;background:rgba(5,18,29,.985)!important}
.bteHeader[data-bte-universal-nav="true"] .bteDropPanel a.active{box-shadow:inset 3px 0 0 var(--r31-cyan)!important}

/* Universal typography hierarchy */
.bte-section-kicker,.bte-card-kicker,.kicker,.jp-kicker,.fusion-kicker,.bteSeasonKicker,.bte-explorer-kicker,
.bteGuideGroup>span,.bteGuideSection .eyebrow,.page-hero .eyebrow{
  color:var(--r31-cobalt)!important;font-weight:900!important;letter-spacing:.15em!important;text-transform:uppercase!important;
}
body.jp-page .jp-kicker,body.jp-page .jp-card-head span,body.jp-page .jp-result-top>span,
body.jp-page .jp-chart-head span,body.jp-page .jp-coach-card>span,body.jp-page .jp-method-head>span,
.bteSeasonKicker,.fusion-kicker{color:var(--r31-cyan)!important}

/* Deep legacy pages now defer to the new hubs: remove the old four-step rail */
body.bte-plan-page .bte-session-workspace,
body.bte-progress-page .bte-session-workspace,
body.bte-explorer-page .bte-session-workspace,
body[data-page="performance-report"] .bte-session-workspace{display:none!important}

/* Hub handoff = compact orientation, not a giant banner */
.bteHubHandoff{
  max-width:1180px!important;margin:24px auto 26px!important;padding:14px 18px!important;
  border:1px solid rgba(38,217,255,.20)!important;border-radius:16px!important;
  background:linear-gradient(115deg,rgba(7,25,38,.98),rgba(8,31,48,.96) 60%,rgba(18,35,58,.96))!important;
  box-shadow:0 12px 28px rgba(5,18,30,.12)!important;position:relative;overflow:hidden;
}
.bteHubHandoff::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--r31-edge)}
.bteHubHandoff span{color:var(--r31-cyan)!important}.bteHubHandoff strong{color:#f6fbff!important}.bteHubHandoff a{color:#b7efff!important}

/* Fix vertical rhythm on PLAN and other legacy deep views */
body.bte-plan-page #bte-next-brief-slot{margin:0 auto 0!important;padding:0 24px!important}
body.bte-plan-page .bte-next-brief{margin:0 auto 38px!important;max-width:1640px!important;padding:24px 28px!important;border-radius:20px!important}
body.bte-plan-page .page-container{margin-top:0!important}
body.bte-plan-page .bte-page-intro{padding-top:26px!important;padding-bottom:14px!important}
body.bte-plan-page .bte-page-title{margin-top:8px!important;margin-bottom:12px!important}
body.bte-plan-page .bloc-lg{padding-top:26px!important}

/* Coach panel signature */
.bte-next-brief{
  background:radial-gradient(circle at 0 0,rgba(38,217,255,.12),transparent 34%),linear-gradient(140deg,#091b2a 0%,#0a2636 58%,#0b1727 100%)!important;
  border:1px solid rgba(38,217,255,.24)!important;box-shadow:var(--r31-shadow-dark)!important;color:#fff!important;
}
.bte-next-brief::after{content:"";display:block;height:3px;border-radius:999px;background:var(--r31-edge);margin-top:18px;opacity:.9}
.bte-next-brief h2{font-size:clamp(1.35rem,2vw,1.85rem)!important;color:#fff!important}
.bte-next-brief p{color:#cbd8e3!important;font-size:1rem!important}
.bte-next-brief-grid div{background:rgba(255,255,255,.055)!important;border:1px solid rgba(255,255,255,.075)!important;border-radius:13px!important}
.bte-next-brief-grid span{color:var(--r31-cyan)!important}.bte-next-brief-grid strong{color:#f8fbff!important}

/* Light public surfaces */
body.bte-public-page,body.bte-session-page{background:linear-gradient(180deg,#f7f9fc 0%,#f2f6fa 100%)!important;color:var(--r31-text)}
body.bte-public-page main,body.bte-session-page main{background:transparent}
body.bte-public-page .page-hero:not(.page-hero--media){background:linear-gradient(145deg,#071826 0%,#0b2840 58%,#0c1830 100%)!important}
body.bte-public-page .page-hero:not(.page-hero--media)::after{content:"";position:absolute;inset:auto 0 0;height:4px;background:var(--r31-edge);opacity:.9}
.page-hero h1,.bte-page-title{letter-spacing:-.045em!important}

/* Light cards: crisp, useful, not pastel */
body.bte-public-page :is(.status-card,.media-panel,.metric-card,.manifesto-block,.grid>article,.card),
body.bte-session-page :is(.bte-data-card,.bte-method-card,.bte-support-box,.bte-onboarding-card,.lab-card,.bte-evidence-card,.bte-result-card,.bte-next-card){
  border-color:rgba(22,65,96,.12)!important;box-shadow:0 10px 28px rgba(18,46,67,.065)!important;
}
body.bte-public-page :is(.media-panel,.status-card),body.bte-session-page :is(.bte-data-card,.bte-method-card,.bte-support-box){border-radius:18px!important}

/* Dark workspaces use the same identity */
body.jp-page,body.bte-season-page,.fusion-page{--jp-cyan:var(--r31-cyan);--jp-violet:var(--r31-violet);--jp-lime:var(--r31-lime);--jp-amber:var(--r31-amber)}
body.jp-page .jp-hero,body.bte-season-page .bteSeasonHero{
  background:radial-gradient(circle at 82% 8%,rgba(140,98,255,.12),transparent 28%),radial-gradient(circle at 14% 0,rgba(38,217,255,.10),transparent 30%),linear-gradient(180deg,#06111c,#081722)!important;
}
body.jp-page .jp-model-card,.bteSeasonRole{border-color:rgba(38,217,255,.24)!important;background:linear-gradient(135deg,rgba(38,217,255,.075),rgba(23,107,255,.045),rgba(140,98,255,.065))!important}

/* Big Air Lab tabs = memorable signature control */
.bte-lab-tabs,.bteSeasonTabs{
  border:1px solid rgba(38,217,255,.16)!important;background:#081624!important;padding:6px!important;border-radius:16px!important;box-shadow:0 14px 34px rgba(0,0,0,.15)!important;
}
.bte-lab-tab,.bteSeasonTabs button{position:relative!important;overflow:hidden!important;color:#9fb3c2!important;border-radius:11px!important;transition:.18s ease!important}
.bte-lab-tab:hover,.bteSeasonTabs button:hover{color:#fff!important;background:rgba(255,255,255,.045)!important}
.bte-lab-tab.is-active,.bte-lab-tab[aria-selected="true"],.bteSeasonTabs button.is-active,.bteSeasonTabs button[aria-selected="true"]{
  color:#fff!important;background:linear-gradient(135deg,rgba(38,217,255,.18),rgba(23,107,255,.16),rgba(140,98,255,.14))!important;
  box-shadow:inset 0 0 0 1px rgba(38,217,255,.22)!important;
}
.bte-lab-tab.is-active::after,.bte-lab-tab[aria-selected="true"]::after,.bteSeasonTabs button.is-active::after,.bteSeasonTabs button[aria-selected="true"]::after{
  content:"";position:absolute;left:14px;right:14px;bottom:0;height:3px;background:var(--r31-edge);border-radius:999px;
}

/* Big Air Lab cards */
body.jp-page :is(.jp-input-card,.jp-result-card,.jp-chart-card,.jp-delta-card,.jp-coach-card,.bte-lab-embed-panel){
  border-color:rgba(117,175,212,.17)!important;border-radius:20px!important;box-shadow:0 16px 40px rgba(0,0,0,.16)!important;
}
body.jp-page .jp-result-card{background:radial-gradient(circle at 85% 0,rgba(38,217,255,.13),transparent 30%),linear-gradient(160deg,#0d2131,#0a1723 65%,#0c1423)!important}
body.jp-page .jp-goal-fill{background:var(--r31-edge)!important}
body.jp-page .jp-goal-track i{background:var(--r31-violet)!important}

/* Season Intelligence */
.bteSeasonSnapshot article,.bteSeasonJobs a,.bteSeasonHandoff,.bteSeasonPanelHead{
  border-color:rgba(92,155,195,.18)!important;box-shadow:0 12px 30px rgba(0,0,0,.10)!important;
}
.bteSeasonJobs a{transition:transform .18s ease,border-color .18s ease,background .18s ease!important}
.bteSeasonJobs a:hover{transform:translateY(-2px);border-color:rgba(38,217,255,.34)!important;background:linear-gradient(145deg,rgba(38,217,255,.055),rgba(140,98,255,.035))!important}
.bteSeasonJobs a>span{color:var(--r31-cyan)!important}

/* Semantic performance colours */
.text-success,.is-good,.status-good{color:#398c18!important}
body.jp-page .text-success,body.bte-season-page .text-success,.fusion-page .text-success{color:var(--r31-lime)!important}
.text-warning,.is-warning{color:#a45d00!important}.text-danger,.is-danger{color:#b63f39!important}
body.jp-page .text-warning,body.bte-season-page .text-warning{color:var(--r31-amber)!important}
body.jp-page .text-danger,body.bte-season-page .text-danger{color:var(--r31-coral)!important}

/* Buttons and calls to action */
.btnPrimary,.service-button,.btn-d:not(.btn-outline-danger),.bte-button-primary,.jp-primary-action{
  background:linear-gradient(135deg,var(--r31-cobalt),#0e8fff)!important;border-color:transparent!important;color:#fff!important;box-shadow:0 8px 22px rgba(23,107,255,.22)!important;
}
.btnPrimary:hover,.service-button:hover,.btn-d:not(.btn-outline-danger):hover,.bte-button-primary:hover,.jp-primary-action:hover{filter:brightness(1.06);transform:translateY(-1px)}

/* Signature metric bars */
progress::-webkit-progress-value{background:var(--r31-edge)}
progress::-moz-progress-bar{background:var(--r31-edge)}

/* Footer */
.bteFooter.bteFooter--production{background:linear-gradient(180deg,#06111c,#030b12)!important;border-top-color:rgba(38,217,255,.13)!important;position:relative}
.bteFooter.bteFooter--production::before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:var(--r31-edge);opacity:.78}
.bteFooter--production h4{color:var(--r31-cyan)!important}
.bteFooter--production a:hover{color:var(--r31-cyan)!important}

/* Home identity */
body.ryowBrandHome .ryowHero h1 span,body.ryowBrandHome .ryowManifesto h2 span{background:var(--r31-edge);-webkit-background-clip:text;background-clip:text;color:transparent!important}
body.ryowBrandHome .ryowLatestStatus::before{background:var(--r31-cyan)!important;box-shadow:0 0 0 5px rgba(38,217,255,.10)!important}
body.ryowBrandHome .ryowLatestPanel{background:radial-gradient(circle at 90% 0,rgba(140,98,255,.11),transparent 24%),linear-gradient(145deg,#07131d,#0a2030 62%,#0d1930)!important}
body.ryowBrandHome .ryowGatewayCard strong{color:#b9f1ff!important}

/* Public card accent details */
body.bte-public-page .template-stack>section>h2::after,
body.bte-public-page .template-stack>h2::after{content:"";display:block;width:68px;height:4px;margin-top:14px;border-radius:999px;background:var(--r31-edge)}

/* Better dark-panel text contrast site-wide */
:is(.fusion-page,.jp-page,.bte-season-page,.bte-next-brief,.bteFooter--production) :is(p,small,.muted,.caption,.meta){opacity:1}
:is(.fusion-page,.jp-page,.bte-season-page) :is(p,.muted,.caption){color:var(--r31-muted-dark)}

/* Desktop polish */
@media(min-width:961px){
  .bteHubHandoff{width:min(1180px,calc(100% - 72px))!important}
  body.bte-plan-page .bte-page-intro{max-width:1640px!important;margin-left:auto!important;margin-right:auto!important;padding-left:36px!important;padding-right:36px!important}
}

@media(max-width:760px){
  .bteHubHandoff{margin:14px 14px 22px!important;padding:14px 16px!important}
  body.bte-plan-page #bte-next-brief-slot{padding:0 14px!important}
  body.bte-plan-page .bte-next-brief{margin-bottom:28px!important;padding:20px 18px!important}
  .bte-next-brief::after{margin-top:14px}
  .bte-lab-tabs,.bteSeasonTabs{overflow-x:auto;max-width:100%;scrollbar-width:none}
  .bte-lab-tabs::-webkit-scrollbar,.bteSeasonTabs::-webkit-scrollbar{display:none}
}

/* R31 deep-route simplification */
body[data-page="review"] .bte-session-workspace,
body[data-page="performance-report"] .bte-session-workspace{display:none!important}
body[data-page="review"] .bteHubHandoff,
body[data-page="performance-report"] .bteHubHandoff{margin-top:24px!important}

/* /assets/css/bte-r31-1-typography.css */
/* Beyond The Edge R31.1 · Typography & CSS Stabilisation
   Loaded last on all public pages. Text hierarchy is colour-driven, never opacity-driven. */
:root{
  --bte-text-light-primary:#0b1d2b;
  --bte-text-light-secondary:#4f6678;
  --bte-text-light-muted:#5c7080;
  --bte-text-dark-primary:#f5f9ff;
  --bte-text-dark-secondary:#c2d0dd;
  --bte-text-dark-muted:#9eb2c5;
  --bte-text-accent:#26d9ff;
  --bte-label-min:12px;
  --bte-meta-min:13px;
  --bte-body-min:15px;
}

/* Baseline readability. Preserve display typography; stabilise reading text. */
html{font-size:16px}
body{font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
main :where(p,li,dd,dt,blockquote){line-height:1.55}
main :where(small){font-size:var(--bte-meta-min)!important;line-height:1.42!important;opacity:1!important}
main :where(label,legend){font-size:var(--bte-meta-min)!important;line-height:1.35!important;opacity:1!important}

/* Semantic text classes: hierarchy comes from explicit colour, not alpha. */
main :where(.muted,.caption,.meta,.helper,.supporting-copy,.supporting,.subcopy,.secondary-copy,
  [class$="-meta"],[class$="-caption"],[class$="-helper"],[class$="-source"],[class$="-trust"],[class$="-foot"],
  [class*="-meta "],[class*="-caption "],[class*="-helper "],[class*="-source "],[class*="-trust "],[class*="-foot "]){
  opacity:1!important;font-size:var(--bte-meta-min)!important;line-height:1.45!important;
}
main :where(.kicker,.eyebrow,[class$="-kicker"],[class$="-eyebrow"],[class*="-kicker "],[class*="-eyebrow "]){
  opacity:1!important;font-size:var(--bte-label-min)!important;line-height:1.25!important;
}

/* Light-surface text contract. */
body.bte-public-page main,body.bte-session-page main,body.bte-utility-page main,
body[data-page="review"] main,.bte-session-command,.bte-command-result,.bte-command-outcome,
.bte-review-kpi,.bte-command-context,.bte-review-sessions,.bte-review-tools{
  --bte-surface-primary:var(--bte-text-light-primary);
  --bte-surface-secondary:var(--bte-text-light-secondary);
  --bte-surface-muted:var(--bte-text-light-muted);
}
body.bte-public-page main :where(p,.muted,.caption,.meta,small),
body.bte-session-page main :where(p,.muted,.caption,.meta,small),
body.bte-utility-page main :where(p,.muted,.caption,.meta,small){color:var(--bte-surface-secondary);opacity:1}

/* Dark-surface text contract. */
:is(body.jp-page,body.bte-season-page,body[data-page="fusion"],body[data-page="performance-report"]) main,
:is(.bte-next-brief,.bte-review-hero,.bte-command-score,.bte-command-coach,.bte-intelligence,.bteFooter--production,.page-hero:not(.page-hero--media)){
  --bte-surface-primary:var(--bte-text-dark-primary);
  --bte-surface-secondary:var(--bte-text-dark-secondary);
  --bte-surface-muted:var(--bte-text-dark-muted);
}
:is(body.jp-page,body.bte-season-page,body[data-page="fusion"],body[data-page="performance-report"]) main :where(p,small,.muted,.caption,.meta),
:is(.bte-next-brief,.bte-review-hero,.bte-command-score,.bte-command-coach,.bte-intelligence,.bteFooter--production,.page-hero:not(.page-hero--media)) :where(p,small,.muted,.caption,.meta){
  color:var(--bte-surface-secondary)!important;opacity:1!important;
}

/* Never dim informative UI copy. Disabled controls/decorative graphics keep their own opacity. */
main :where(.bte-build-version,.bte-cal-metric>span,.bte-cal-metric small,.bte-calibration-grid span,
  .bte-journey-nav .nav-link.is-complete .bte-stage-index){opacity:1!important}

/* ---------- Big Air Lab / Jump Predictor ---------- */
body.jp-page :where(.jp-kicker,.jp-card-head span,.jp-result-top>span,.jp-chart-head span,.jp-coach-card>span,.jp-method-head>span,
  .jp-model-card>span,.jp-confidence,.jp-output-grid span,.jp-replay-kpis span,.jp-benchmark-grid span,
  .jp-best-fingerprint>div:first-child span,.jp-best-metrics span){font-size:12px!important;opacity:1!important;color:#a9bfd0!important}
body.jp-page :where(.jp-trust-line span,.jp-tabs button,.jp-link-button,.jp-goal-labels,.jp-why summary,.jp-chart-legend,
  .jp-delta-row>span){font-size:12px!important;opacity:1!important;color:#adbfcd!important}
body.jp-page :where(.jp-form-grid label,.jp-replay-head label,.jp-range-row small,.jp-check,.jp-output-grid small,
  .jp-replay-kpis small,.jp-delta-card>.jp-card-head small,.jp-replay-trust,.jp-benchmark-grid small){font-size:13px!important;opacity:1!important;color:#9fb3c4!important}
body.jp-page :where(.jp-context-strip span){font-size:12px!important;color:#94aabd!important;opacity:1!important}
body.jp-page :where(.jp-context-strip strong){font-size:13px!important;color:#e7f0f7!important}
body.jp-page .jp-why div{font-size:14px!important;color:#bfd0dc!important}
body.jp-page .jp-model-warning{font-size:13px!important;color:#a1b5c5!important}
body.jp-page .jp-chart-read{font-size:14px!important;color:#c0d0dc!important}
body.jp-page .jp-method-grid strong{font-size:13px!important;color:#edf5fb!important}
body.jp-page .jp-method-grid p{font-size:14px!important;color:#acbfce!important}
body.jp-page .jp-best-fingerprint>div:first-child strong{font-size:13px!important;color:#dbe6ee!important}
body.jp-page .jp-best-metrics small,body.jp-page .jp-delta-row strong small{font-size:12px!important;color:#9eb2c4!important;opacity:1!important}

/* ---------- Fusion / Season Intelligence deep intelligence ---------- */
body[data-page="fusion"] :where(.fusion-kicker,.fusion-eyebrow,.fusion-coach-card>span,.ring-copy span,.fusion-status-line span,
  .fusion-kpi-grid span,.fusion-strip-label span,.fusion-top-session>span,.fusion-lever-top span){font-size:12px!important;opacity:1!important;color:#a8bdd0!important}
body[data-page="fusion"] :where(.ring-copy small,.fusion-target-card>p,.fusion-kpi-grid small,.fusion-panel-head p,.fusion-panel-head small,
  .fusion-section-title p,.fusion-selected-session span,.fusion-strip-label small,.fusion-finger-row small,.fusion-lever small,
  .fusion-list-row small,.fusion-empty,.fusion-top-session small,.fusion-trust){font-size:13px!important;opacity:1!important;color:#b8c8d8!important;line-height:1.45!important}
body[data-page="fusion"] .fusion-chart-legend{font-size:13px!important;color:#b8c8d8!important}
body[data-page="fusion"] .fusion-grid-label{font-size:12px!important;fill:#a8bdd0!important}
body[data-page="fusion"] .radar-label{font-size:12px!important;fill:#e0e9f3!important}
body[data-page="fusion"] .radar-value{font-size:11px!important;fill:#a8bdd0!important}
body[data-page="fusion"] .fusion-finger-row>span{font-size:13px!important;color:#eef5ff!important}
body[data-page="fusion"] .fusion-lever-top strong{font-size:14px!important;color:#eef5ff!important}
body[data-page="fusion"] .fusion-arrow{font-size:11px!important;color:#a8bdd0!important}
body[data-page="fusion"] .fusion-relationship-note strong,body[data-page="fusion"] .fusion-relationship-note span{font-size:13px!important}
body[data-page="fusion"] .fusion-relationship-note{background:rgba(255,255,255,.045)!important;border-left-color:#7da1b9!important}
body[data-page="fusion"] .fusion-top-session{
  background:linear-gradient(165deg,rgba(19,33,55,.98),rgba(11,20,35,.98))!important;
  border-color:rgba(157,183,216,.24)!important;color:#f5f9ff!important;
}
body[data-page="fusion"] .fusion-top-session strong{color:#f8fbff!important}
body[data-page="fusion"] .fusion-context-grid .fusion-panel{height:auto!important;min-height:0!important;align-self:start!important}
body[data-page="fusion"] .fusion-context-grid{align-items:start!important}

/* ---------- Review ---------- */
body[data-page="review"] :where(.bte-review-primary,.bte-review-secondary,.bte-review-owner a){font-size:12px!important}
body[data-page="review"] :where(.bte-review-hero-target span,.bte-command-score span,.bte-command-prediction span,.bte-command-next span,
  .bte-command-context span,.bte-review-kpi span,.bte-review-session-id,.bte-review-session-best span,
  .bte-review-session-metrics span,.bte-review-session-focus span,.bte-command-delta span,.bte-review-report-hub>span,
  .bte-session-workspace span,.bte-intel-target-head>span,.bte-intel-signal-top>span){font-size:12px!important;opacity:1!important}
body[data-page="review"] :where(.bte-review-hero-target small,.bte-review-kpi small,.bte-command-context small,.bte-command-next small,
  .bte-review-report-hub a small,.bte-session-workspace small,.bte-intel-signal-top small,.bte-intel-target-foot span){font-size:13px!important;opacity:1!important}
body[data-page="review"] .bte-review-report-hub a span{font-size:12px!important}
body[data-page="review"] .bte-review-report-hub>span{color:#9fb5c8!important}
body[data-page="review"] .bte-review-report-hub a small{color:#a9bdcd!important}
body[data-page="review"] .bte-command-score span,body[data-page="review"] .bte-command-coach :where(p,small),body[data-page="review"] .bte-intelligence :where(p,small){color:#b8cad9!important}

/* ---------- Performance Report / Jump Mechanics ---------- */
body[data-page="performance-report"] :where(.r22-rel-stats span,.r22-execution-badge span,.r241-story-answer>span,.r241-story-coach>span,.r241-story-stats span,
  .bte-report-final-copy span,.bte-sector-summary span,.bte-target-card-head span,.bte-wind-corr-stat span,.bte-coach-confidence-badge span,.bte-height-benchmark span){
  font-size:12px!important;opacity:1!important;color:#a8bdd0!important;
}
body[data-page="performance-report"] :where(.r23-metric-row em,.r25-compare-label strong,.r26-context-strip span,.r26-stage-tag small,
  .r26-phase-metric span,.r26-flight-metric span,.r26-phase-metric small,.r26-flight-metric small,.r26-foot-badge,.r26-phase-note,
  .r26-gauge-label,.r26-gauge small,.r26-evidence-caption,.r27-evidence-strip,.r27-evidence-strip strong,.r27-band-card .r25-compare-label strong,
  .r27-band-meta,.r27-band-meta strong,.r27-band-meta em){font-size:12px!important;opacity:1!important}
body[data-page="performance-report"] .r25-compare-foot{font-size:11px!important;color:#9db2c5!important}
body[data-page="performance-report"] .r26-context-strip span,body[data-page="performance-report"] .r27-band-meta{color:#9eb6cb!important}
body[data-page="performance-report"] .r26-context-strip small{font-size:12px!important;color:#aec1d2!important;opacity:1!important}
body[data-page="performance-report"] .r26-stage-tag small,body[data-page="performance-report"] .r26-phase-note span{color:#c7d5e2!important}
body[data-page="performance-report"] .r26-phase-metric small,body[data-page="performance-report"] .r26-flight-metric small{color:#b3c4d4!important}
body[data-page="performance-report"] .r26-evidence-caption,body[data-page="performance-report"] .r27-evidence-strip{color:#a9bdd0!important}
body[data-page="performance-report"] .r27-band-meta strong{color:#d7e5f1!important}
body[data-page="performance-report"] .r27-band-meta em{color:#f5f9ff!important}

/* ---------- PLAN / Rider Setup / Weather / Utility pages ---------- */
:where(.bte-plan-page,.bte-progress-page,.bte-utility-page) :where(.bte-weather-best span,.bte-weather-refresh,.bte-weather-mode,
  .bte-weather-geometry,.bte-advanced-label,.bte-signal span,.bte-lookback-card span,.bte-cal-metric>span,.bte-calibration-grid span){
  font-size:12px!important;opacity:1!important;
}
:where(.bte-plan-page,.bte-progress-page,.bte-utility-page) :where(.bte-weather-best small,.bte-cal-metric small,.bte-lookback-card small){
  font-size:13px!important;opacity:1!important;color:#5c7080!important;
}
.bte-build-version{opacity:1!important;color:#8ea3b5!important;font-size:12px!important}

/* ---------- Public charts / recovery / session evidence ---------- */
body.bte-public-page main :where(.histogram__label,.mini-chart__bar span,.coach-progression__ride small,.coach-progression__legend,
  .hardware-track em,.recovery-chart__top-readout span,.recovery-chart__top-readout strong,.recovery-chart__top-readout b,
  .recovery-live-chart__hardware-title span,.recovery-live-chart__legend,.recovery-live-chart__range-label span,
  .recovery-live-chart__metrics span,.latest-distribution__flag,.latest-distribution__label,.big-air-read__item span,
  .detail-fact span,.metric-live__source,.public-session-chart .public-wind-delta,.public-session-row-core span small,
  .session-evidence-visual__badge){font-size:11px!important;opacity:1!important}

/* Footer and navigation metadata remain compact but readable. */
.bteFooter--production :where(small,.bteRelease--production){font-size:12px!important;opacity:1!important;color:#a9bdcd!important}
.bteHeader[data-bte-universal-nav="true"] :where(.bteNavItem,.bteDropBtn,.bteDropPanel a){opacity:1!important}

/* Hover/focus must never remove readable text. */
a:hover,a:focus-visible,button:hover,button:focus-visible{text-decoration-thickness:auto}
main :where(a,button,[role="button"]):focus-visible{outline:3px solid rgba(38,217,255,.55)!important;outline-offset:3px!important}

/* Mobile: keep labels readable; allow layout to reflow instead of shrinking type. */
@media(max-width:760px){
  main :where(small,label,legend){font-size:13px!important}
  .bte-lab-tab,.bteSeasonTabs button,body.jp-page .jp-tabs button{font-size:12px!important;white-space:nowrap}
  body[data-page="performance-report"] .r26-context-strip{grid-template-columns:1fr 1fr!important}
  body[data-page="performance-report"] .r26-context-strip>div{min-width:0}
}

/* R31.1 coverage extension: catch legacy naming variants without shrinking larger copy. */
main{--bte-surface-primary:var(--bte-text-light-primary);--bte-surface-secondary:var(--bte-text-light-secondary);--bte-surface-muted:var(--bte-text-light-muted)}
main :where(.muted,.caption,.meta,.helper,[class$="-meta"],[class*="-meta "],[class$="-caption"],[class*="-caption "],
  [class$="-helper"],[class*="-helper "],[class$="-source"],[class*="-source "],[class$="-trust"],[class*="-trust "],[class$="-foot"],[class*="-foot "]){
  color:var(--bte-surface-secondary)!important;
}
main :where([class$="-label"],[class*="-label "],[class$="__label"],[class*="__label "],
  [class$="-legend"],[class*="-legend "],[class$="__legend"],[class*="__legend "],
  [class$="-badge"],[class*="-badge "],[class$="__badge"],[class*="__badge "]){
  font-size:12px!important;line-height:1.3!important;opacity:1!important;
}

/* Legacy flow/weather/calibration micro-copy. */
main :where(.bte-flow-copy strong,.bte-flow-copy small,.bte-flow-node,.flight-metric-head b,.flight-schematic-label,
  .bte-weather-best strong,.bte-weather-best span,.bte-weather-refresh,.bte-weather-mode,.bte-weather-geometry,
  .bte-advanced-label,.bte-signal span,.rose-ring-label){font-size:12px!important;opacity:1!important}
main .rose-onshore text{font-size:11px!important;opacity:1!important}

/* Header brand fallback text is only used when the image treatment is unavailable. */
.bteBrandText small{font-size:11px!important;opacity:1!important;color:#a9bdcd!important}

/* Explicit light-surface muted colours meet normal-text contrast targets. */
body.bte-public-page main :where(small,.section-intro,.media-panel__body span,.related-link__copy,.data-table td),
body.bte-utility-page main :where(small,.muted,.caption,.meta),
body.bte-session-page main :where(.muted,.caption,.meta){color:var(--bte-text-light-muted)!important;opacity:1!important}
body.bte-public-page .page-hero :where(p,small,.eyebrow,.page-hero__intro){color:var(--bte-text-dark-secondary)!important;opacity:1!important}

/* Review mixes light and dark surfaces: set each explicitly. */
body[data-page="review"] :where(.bte-review-kpi small,.bte-command-context small,.bte-session-workspace small){color:var(--bte-text-light-muted)!important}
body[data-page="review"] :where(.bte-review-hero-target small,.bte-command-next small,.bte-review-report-hub a small,.bte-intel-signal-top small,.bte-intel-target-foot span){color:var(--bte-text-dark-muted)!important}

/* Utility/weather/calibration supporting copy stays readable on light cards. */
:where(.bte-plan-page,.bte-progress-page,.bte-utility-page) :where(.bte-weather-best span,.bte-weather-refresh,.bte-weather-mode,
  .bte-weather-geometry,.bte-advanced-label,.bte-signal span,.bte-lookback-card span,.bte-cal-metric>span,.bte-calibration-grid span,
  .bte-weather-best small,.bte-cal-metric small,.bte-lookback-card small){color:var(--bte-text-light-muted)!important}


/* R31.1 final text-hardening pass: close remaining legacy micro-copy gaps. */
main :where(p,li,dd,dt,blockquote,figcaption,small,label,legend,th,td,
  .muted,.caption,.meta,.helper,.supporting-copy,.supporting,.subcopy,.secondary-copy){
  opacity:1!important;
}
main svg text{opacity:1!important}

/* Common informative micro-copy families inherit the R31.1 floors. */
main :where([class*="metric"] small,[class*="metric"]>span,[class*="signal"] small,[class*="signal"]>span,
  [class*="context"] small,[class*="context"]>span,[class*="status"] small,[class*="status"]>span,
  [class*="source"] small,[class*="trust"] small,[class*="benchmark"] small,[class*="fingerprint"] small){
  font-size:var(--bte-label-min)!important;opacity:1!important;line-height:1.35!important;
}

/* Pages with historically hard-coded micro labels. */
body[data-page="history"] :where(.bte-explorer-kicker,.bte-explorer-metric span,.bte-session-dot span){font-size:12px!important;opacity:1!important}
body[data-page="history"] .bte-explorer-controls label{font-size:13px!important;opacity:1!important}
body[data-page="history"] :where(.bte-radar text,.bte-radar-na){font-size:11px!important;opacity:1!important}
.termChain .chainList li span,.termFilters button,.termCard>span{font-size:12px!important;opacity:1!important}
.rider-report .report-stat span{font-size:12px!important;opacity:1!important}

/* Preserve semantic disabled state while preventing accidental dimming of readable copy. */
main :where([aria-disabled="true"],button:disabled,input:disabled,select:disabled,textarea:disabled){opacity:.62!important}

/* /assets/css/bte-v4-text-contract.css */
/* BTE V4.0 compatibility shim.
   The previous global colour overrides caused cross-surface regressions.
   Final typography/contrast is now owned by bte-v4-site-stability.css. */
:root{--v4-ink:#10283a;--v4-ink-2:#53697a;--v4-night:#07131e;--v4-night-text:#f8fbff;--v4-night-copy:#c4d2de;--v4-cyan:#168cff}
body.bte-public-page main :is(p,li,dd,dt,blockquote,figcaption,small,label,legend,th,td,.eyebrow,.kicker,.section-intro,.muted,.caption,.meta){opacity:1!important}

/* /assets/css/bte-v4-site-stability.css */
/* BTE V4.0 — final public-site CSS stability layer
   Purpose: typography floors, surface-aware contrast, responsive media, no text-opacity hierarchy. */
:root{
  --bte-ink:#10283a;--bte-copy:#53697a;--bte-muted:#6b7e8e;
  --bte-night:#07131e;--bte-night-copy:#c4d2de;--bte-white:#f8fbff;--bte-accent:#168cff;
}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-synthesis:none}
main :is(p,li,dd,dt,blockquote,figcaption){line-height:1.55}
main :is(.eyebrow,.kicker,.meta,.caption,.section-intro,label,legend){opacity:1!important}
main small{opacity:1!important}
/* Readability floors for ordinary UI copy. Chart labels are excluded and handled by chart CSS. */
main :is(.eyebrow,.kicker,.meta,.caption,.metric-tile__label,.metric-tile__note,.bte-build-version){font-size:max(12px,.75rem)!important}
main :is(.section-intro,.form-note,.session-status){font-size:max(13px,.8125rem)!important}
/* Standard dark heroes */
.page-hero,.home-hero,.v4Hero{color:var(--bte-white)!important}
.page-hero :is(h1,h2,h3,h4,h5,h6,strong,b),.home-hero :is(h1,h2,h3,h4,h5,h6,strong,b),.v4Hero :is(h1,h2,h3,h4,h5,h6,strong,b){color:var(--bte-white)!important}
.page-hero :is(p,li,small,.page-hero__intro,.meta,.caption),.home-hero :is(p,li,small,.meta,.caption),.v4Hero :is(p,li,small,.meta,.caption){color:var(--bte-night-copy)!important;opacity:1!important}
.page-hero :is(.eyebrow,.kicker),.home-hero :is(.eyebrow,.kicker),.v4Hero :is(.eyebrow,.kicker){color:#62d8ff!important}
/* Explicit dark components — never allow a global light rule to recolour these. */
:is(.status-card,.status-legend__item,.forecast-item,.accuracy-card,.observed-webcam,.v4NowPrimary,.v4HeroMetric,.v4Dna,.v4DarkPanel,.v4CoachLead,.v4MissionWide,.v4StoryCard,.dark-card,.card--dark,.card--action,.bte-next-brief){color:var(--bte-white)!important}
:is(.status-card,.status-legend__item,.forecast-item,.accuracy-card,.observed-webcam,.v4NowPrimary,.v4HeroMetric,.v4Dna,.v4DarkPanel,.v4CoachLead,.v4MissionWide,.v4StoryCard,.dark-card,.card--dark,.card--action,.bte-next-brief) :is(h1,h2,h3,h4,h5,h6,strong,b){color:var(--bte-white)!important}
:is(.status-card,.status-legend__item,.forecast-item,.accuracy-card,.observed-webcam,.v4NowPrimary,.v4HeroMetric,.v4Dna,.v4DarkPanel,.v4CoachLead,.v4MissionWide,.v4StoryCard,.dark-card,.card--dark,.card--action,.bte-next-brief) :is(p,li,small,.muted,.caption,.meta){color:var(--bte-night-copy)!important;opacity:1!important}
/* Explicit light cards */
:is(.metric-tile,.content-card,.detail-fact,.related-link,.v4MetricCard,.v4WhyItem,.v4Target,.v4SetupCard,.v4StoryCard.light){color:var(--bte-ink)!important}
:is(.metric-tile,.content-card,.detail-fact,.related-link,.v4MetricCard,.v4WhyItem,.v4Target,.v4SetupCard,.v4StoryCard.light) :is(h1,h2,h3,h4,h5,h6,strong,b){color:var(--bte-ink)!important}
:is(.metric-tile,.content-card,.detail-fact,.related-link,.v4MetricCard,.v4WhyItem,.v4Target,.v4SetupCard,.v4StoryCard.light) :is(p,li,small,.muted,.caption,.meta){color:var(--bte-copy)!important;opacity:1!important}
/* V4 homepage live evidence: preserve the full graph rather than cropping it into a strip. */
.v4NowPrimary{padding:22px 22px 20px!important;overflow:hidden}
.v4LiveImg{display:block!important;width:100%!important;height:auto!important;min-height:150px!important;max-height:250px!important;object-fit:contain!important;object-position:center!important;margin-top:16px!important;border-radius:12px!important;background:#e7e9ec!important;opacity:1!important}
.v4NowPrimary small{font-size:13px!important;line-height:1.45!important}
/* Homepage metadata floors */
.v4Trend span,.v4Delta span,.v4Dna span,.v4Target span,.v4SetupCard span,.v4GapGrid span,.v4HistoryCard span{font-size:12px!important}
.v4Dna small,.v4NowMetric small{font-size:13px!important}
/* Images/graphs should scale, not clip. */
main img{max-width:100%}
main :is(svg,canvas){max-width:100%}
/* Footer/nav compact but legible */
.bteBrandText small{font-size:11px!important;opacity:1!important}
.bteRelease,.bteRelease--production{font-size:12px!important;opacity:1!important}
/* Buttons/links keep legible foregrounds */
.page-hero .btn--primary{color:#07131e!important}
.page-hero .btn--secondary{color:var(--bte-white)!important}
@media(max-width:760px){
  .v4LiveImg{min-height:130px!important;max-height:220px!important}
  .page-hero--media h1{font-size:clamp(2.65rem,13vw,4rem)!important;line-height:.94!important}
}

/* /assets/css/bte-v4-fullsite-contract-r2.css */
/* BTE V4.0 — Full-site surface/text contract R2
   Final, cache-busted cascade layer. Loaded last on every public visual page.
   Fixes legacy R31.1 light-text assumptions leaking into dark cards and vice versa. */
:root{
  --v4r2-light-bg:#f4f7fb;
  --v4r2-light-bg-alt:#edf3f8;
  --v4r2-light-card:#ffffff;
  --v4r2-light-primary:#0b1d2b;
  --v4r2-light-secondary:#4f6678;
  --v4r2-light-muted:#5c7080;
  --v4r2-dark-bg:#07131e;
  --v4r2-dark-card:#111c28;
  --v4r2-dark-card-2:#0d151f;
  --v4r2-dark-primary:#f7fbff;
  --v4r2-dark-secondary:#c7d5e1;
  --v4r2-dark-muted:#9fb4c5;
  --v4r2-accent:#26d9ff;
}

/* Never use alpha as a readability mechanism for real copy. */
main :where(p,li,dd,dt,blockquote,figcaption,small,label,legend,th,td,.eyebrow,.kicker,.section-intro,.muted,.caption,.meta,.helper){opacity:1!important}

/* PUBLIC LIGHT PAGE SECTIONS ------------------------------------------------ */
body.bte-public-page{background:linear-gradient(180deg,var(--v4r2-light-bg),#f1f5f9)!important;color:var(--v4r2-light-primary)!important}
body.bte-public-page main>section:not(.page-hero):not(.section--alt):not(.v4Dark):not(.v4DarkPanel){color:var(--v4r2-light-primary)!important}
body.bte-public-page main>section:not(.page-hero):not(.section--alt):not(.v4Dark):not(.v4DarkPanel)>.wrap>.section-header :where(h1,h2,h3){color:var(--v4r2-light-primary)!important}
body.bte-public-page main>section:not(.page-hero):not(.section--alt):not(.v4Dark):not(.v4DarkPanel)>.wrap>.section-header :where(.section-intro,p,li,small,.muted,.caption,.meta){color:var(--v4r2-light-secondary)!important}
body.bte-public-page main>section:not(.page-hero):not(.section--alt)>.wrap>.section-header :where(.eyebrow,.kicker){color:#126ca8!important}

/* Transparent editorial blocks on light sections. */
body.bte-public-page :where(.manifesto-block,.bio-project-statement,.bio-rider-context){color:var(--v4r2-light-primary)!important}
body.bte-public-page :where(.manifesto-block,.bio-project-statement,.bio-rider-context) :where(p,li,small){color:var(--v4r2-light-secondary)!important}
body.bte-public-page .manifesto-block__closing{color:#176bff!important}

/* DARK ALTERNATING SECTIONS ------------------------------------------------- */
body.bte-public-page main>section.section--alt{background:var(--v4r2-dark-bg)!important;color:var(--v4r2-dark-primary)!important}
body.bte-public-page main>section.section--alt>.wrap>.section-header :where(h2,h3){color:var(--v4r2-dark-primary)!important}
body.bte-public-page main>section.section--alt>.wrap>.section-header :where(.section-intro,p,small){color:var(--v4r2-dark-secondary)!important}
body.bte-public-page main>section.section--alt>.wrap>.section-header :where(.eyebrow,.kicker){color:#68dcff!important}

/* GENERIC DARK COMPONENTS --------------------------------------------------
   These components are defined by the legacy design system with dark
   --color-surface / --color-surface-raised backgrounds. Their text must never
   inherit the light-page R31.1 paragraph colour. */
html body.bte-public-page main :is(
  .card,.metric-tile,.fact-strip,.related-link,.media-panel,.status-card,
  .forecast-item,.form-panel,.result-band__item,.gallery-card,.session-primary-result,
  .session-row,.detail-fact,.explorer-item,.explorer-detail,.observed-webcam,
  .observed-panel,.big-air-read__item,.accuracy-card,.comparison-meter,
  .dark-card,.card--dark,.card--action,.card--evidence,.card--warning,
  .bte-next-brief,.v4NowPrimary,.v4HeroMetric,.v4Dna,.v4DarkPanel,.v4CoachLead,
  .v4MissionWide,.v4StoryCard:not(.light)
){
  color:var(--v4r2-dark-primary)!important;
}
html body.bte-public-page main :is(
  .card,.metric-tile,.fact-strip,.related-link,.media-panel,.status-card,
  .forecast-item,.form-panel,.result-band__item,.gallery-card,.session-primary-result,
  .session-row,.detail-fact,.explorer-item,.explorer-detail,.observed-webcam,
  .observed-panel,.big-air-read__item,.accuracy-card,.comparison-meter,
  .dark-card,.card--dark,.card--action,.card--evidence,.card--warning,
  .bte-next-brief,.v4NowPrimary,.v4HeroMetric,.v4Dna,.v4DarkPanel,.v4CoachLead,
  .v4MissionWide,.v4StoryCard:not(.light)
) :where(h1,h2,h3,h4,h5,h6,strong,b,.fact-strip__value,.metric-tile__value,.related-link__title){
  color:var(--v4r2-dark-primary)!important;
}
html body.bte-public-page main :is(
  .card,.metric-tile,.fact-strip,.related-link,.media-panel,.status-card,
  .forecast-item,.form-panel,.result-band__item,.gallery-card,.session-primary-result,
  .session-row,.detail-fact,.explorer-item,.explorer-detail,.observed-webcam,
  .observed-panel,.big-air-read__item,.accuracy-card,.comparison-meter,
  .dark-card,.card--dark,.card--action,.card--evidence,.card--warning,
  .bte-next-brief,.v4NowPrimary,.v4HeroMetric,.v4Dna,.v4DarkPanel,.v4CoachLead,
  .v4MissionWide,.v4StoryCard:not(.light)
) :where(p,li,small,.muted,.caption,.meta,.helper,.card__meta,.metric-tile__label,.metric-tile__note,.fact-strip__label,.related-link__copy){
  color:var(--v4r2-dark-secondary)!important;opacity:1!important;
}
html body.bte-public-page main :is(
  .card,.metric-tile,.fact-strip,.related-link,.media-panel,.status-card,
  .forecast-item,.form-panel,.result-band__item,.gallery-card,.session-primary-result,
  .session-row,.detail-fact,.explorer-item,.explorer-detail,.observed-webcam,
  .observed-panel,.big-air-read__item,.accuracy-card,.comparison-meter
) :where(.eyebrow,.kicker,.related-link__type){color:#68dcff!important}

/* Explicit light components introduced by Fusion/V4. */
html body main :is(.content-card,.v4MetricCard,.v4WhyItem,.v4Target,.v4SetupCard,.v4StoryCard.light){color:var(--v4r2-light-primary)!important}
html body main :is(.content-card,.v4MetricCard,.v4WhyItem,.v4Target,.v4SetupCard,.v4StoryCard.light) :where(h1,h2,h3,h4,h5,h6,strong,b){color:var(--v4r2-light-primary)!important}
html body main :is(.content-card,.v4MetricCard,.v4WhyItem,.v4Target,.v4SetupCard,.v4StoryCard.light) :where(p,li,small,.muted,.caption,.meta){color:var(--v4r2-light-secondary)!important}

/* HEROES ------------------------------------------------------------------- */
html body main :is(.page-hero,.home-hero,.v4Hero){color:var(--v4r2-dark-primary)!important}
html body main :is(.page-hero,.home-hero,.v4Hero) :where(h1,h2,h3,h4,h5,h6,strong,b){color:var(--v4r2-dark-primary)!important}
html body main :is(.page-hero,.home-hero,.v4Hero) :where(p,li,small,.page-hero__intro,.meta,.caption){color:var(--v4r2-dark-secondary)!important}
html body main :is(.page-hero,.home-hero,.v4Hero) :where(.eyebrow,.kicker){color:#68dcff!important}

/* Weather status colours remain semantic, but explanatory text is readable. */
body.weather-page main :is(.status-card,.status-legend__item,.forecast-item,.accuracy-card,.observed-webcam,.big-air-read__item) :where(p,small,.forecast-item__meta){color:var(--v4r2-dark-secondary)!important}

/* Session/utility light workspaces: fix R31 light backgrounds without touching
   deliberately dark report/lab workspaces. */
body:is(.bte-session-page,.bte-utility-page):not(.bte-history-page) main :where(.section-header h2,.bte-page-title){color:var(--v4r2-light-primary)!important}
body:is(.bte-session-page,.bte-utility-page):not(.bte-history-page) main :where(.section-intro,.form-note){color:var(--v4r2-light-secondary)!important}

/* Form contrast. */
html body main :where(input,select,textarea){color:inherit}
html body.bte-public-page main :is(.form-panel,.card,.dark-card,.card--dark) :where(input,select,textarea){color:var(--v4r2-dark-primary)!important;background:#09131d!important;border-color:#42576a!important}
html body.bte-public-page main :is(.form-panel,.card,.dark-card,.card--dark) :where(label,legend){color:var(--v4r2-dark-secondary)!important}

/* Typography floors — preserve larger sizes. */
main :where(.eyebrow,.kicker,[class$="__label"],[class$="-label"]){font-size:max(12px,.75rem)!important;line-height:1.3!important}
main :where(.section-intro,.form-note,.session-status,small){font-size:max(13px,.8125rem)!important}
main :where(p,li,dd,dt){line-height:1.58}

/* BeachStats/Fusion live evidence: never crop the graph. */
.v4NowPrimary{overflow:visible!important}
.v4LiveImg{display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;margin-top:18px!important;border-radius:12px!important;background:#e7e9ec!important;opacity:1!important}

/* Buttons and links on dark surfaces. */
html body.bte-public-page main :is(.page-hero,.section--alt,.card,.dark-card,.card--dark,.bte-next-brief) a:not(.btn--primary){color:#7de4ff!important}
html body main .btn--primary{color:#07131e!important}

/* Disabled UI may dim; ordinary information may not. */
main :where([aria-disabled="true"],button:disabled,input:disabled,select:disabled,textarea:disabled){opacity:.62!important}

@media(max-width:760px){
  body.bte-public-page main>section.section--alt{background:var(--v4r2-dark-bg)!important}
  .v4LiveImg{width:100%!important;height:auto!important;max-height:none!important}
}

/* /assets/css/bte-v4-colour-system.css */
/* BTE V4.0 — COLOUR + CONTRAST SYSTEM
   Purpose: richer visual hierarchy without sacrificing readability.
   Loaded last on all public pages. */
:root{
  --bte-navy-950:#06121e;
  --bte-navy-900:#0a1927;
  --bte-navy-850:#0f2232;
  --bte-navy-800:#142b3d;
  --bte-ink:#0b1d2b;
  --bte-copy:#405b70;
  --bte-paper:#f5f8fb;
  --bte-paper-blue:#edf6fb;
  --bte-line:#d7e3ec;
  --bte-white:#f8fbff;
  --bte-muted:#c2d2de;
  --bte-cyan:#27c5f3;
  --bte-blue:#2688ff;
  --bte-green:#2ed67c;
  --bte-green-soft:#bdf3d3;
  --bte-amber:#ffb84d;
  --bte-amber-soft:#ffe3a8;
  --bte-coral:#ff665f;
  --bte-purple:#9b7bff;
}

/* ---------- PAGE RHYTHM ---------- */
body.bte-public-page{
  background:var(--bte-paper)!important;
  color:var(--bte-ink)!important;
}
body.bte-public-page main>section:not(.page-hero):not(.home-hero):not(.v4Hero):not(.section--alt){
  background:linear-gradient(180deg,#f8fbfd 0%,#f3f8fb 100%)!important;
  color:var(--bte-ink)!important;
}
body.bte-public-page main>section.section--alt{
  background:
    radial-gradient(circle at 8% 8%,rgba(39,197,243,.10),transparent 30%),
    radial-gradient(circle at 92% 92%,rgba(46,214,124,.07),transparent 30%),
    var(--bte-navy-950)!important;
  color:var(--bte-white)!important;
}

/* ---------- HEADINGS / LABELS ---------- */
body.bte-public-page main>section:not(.section--alt):not(.page-hero):not(.home-hero):not(.v4Hero)>.wrap>.section-header :is(h1,h2,h3){
  color:var(--bte-ink)!important;
}
body.bte-public-page main>section:not(.section--alt):not(.page-hero):not(.home-hero):not(.v4Hero)>.wrap>.section-header :is(p,li,.section-intro){
  color:var(--bte-copy)!important;
  opacity:1!important;
}
body.bte-public-page main>section:not(.section--alt):not(.page-hero):not(.home-hero):not(.v4Hero)>.wrap>.section-header :is(.eyebrow,.kicker){
  color:#39708e!important;
  opacity:1!important;
}
body.bte-public-page main .section--alt h1,
body.bte-public-page main .section--alt h2,
body.bte-public-page main .section--alt h3{
  color:var(--bte-white)!important;
}
body.bte-public-page main .section--alt p,
body.bte-public-page main .section--alt li,
body.bte-public-page main .section--alt .section-intro{
  color:var(--bte-muted)!important;
  opacity:1!important;
}
body.bte-public-page main .section--alt .eyebrow,
body.bte-public-page main .section--alt .kicker{
  color:#87dff8!important;
}
body.bte-public-page .brand-accent{color:var(--bte-cyan)!important}

/* ---------- HERO ---------- */
body.bte-public-page main .page-hero,
body.bte-public-page main .home-hero,
body.bte-public-page main .v4Hero{
  background:
    radial-gradient(circle at 14% 18%,rgba(39,197,243,.18),transparent 28%),
    radial-gradient(circle at 85% 75%,rgba(38,136,255,.12),transparent 32%),
    var(--bte-navy-950)!important;
  color:var(--bte-white)!important;
}
body.bte-public-page main .page-hero h1,
body.bte-public-page main .page-hero h2,
body.bte-public-page main .home-hero h1,
body.bte-public-page main .v4Hero h1{color:var(--bte-white)!important}
body.bte-public-page main .page-hero p,
body.bte-public-page main .page-hero__intro,
body.bte-public-page main .home-hero p,
body.bte-public-page main .v4Hero p{color:#d5e3ed!important;opacity:1!important}
body.bte-public-page main .page-hero .eyebrow,
body.bte-public-page main .home-hero .eyebrow,
body.bte-public-page main .v4Hero .eyebrow{color:#7ee2ff!important}

/* ---------- CORE DARK CARDS ---------- */
body.bte-public-page main .card,
body.bte-public-page main .metric-tile,
body.bte-public-page main .fact-strip,
body.bte-public-page main .related-link,
body.bte-public-page main .media-panel,
body.bte-public-page main .status-card,
body.bte-public-page main .forecast-item,
body.bte-public-page main .form-panel,
body.bte-public-page main .result-band__item,
body.bte-public-page main .gallery-card,
body.bte-public-page main .session-primary-result,
body.bte-public-page main .session-row,
body.bte-public-page main .detail-fact,
body.bte-public-page main .explorer-item,
body.bte-public-page main .explorer-detail,
body.bte-public-page main .observed-webcam,
body.bte-public-page main .observed-panel,
body.bte-public-page main .big-air-read__item,
body.bte-public-page main .accuracy-card,
body.bte-public-page main .comparison-meter,
body.bte-public-page main .dark-card,
body.bte-public-page main .card--dark,
body.bte-public-page main .bte-next-brief{
  background:linear-gradient(145deg,var(--bte-navy-900),#132635)!important;
  border:1px solid rgba(126,226,255,.16)!important;
  color:var(--bte-white)!important;
  box-shadow:0 16px 36px rgba(7,23,36,.10)!important;
}
body.bte-public-page main .card h1,
body.bte-public-page main .card h2,
body.bte-public-page main .card h3,
body.bte-public-page main .card h4,
body.bte-public-page main .metric-tile h1,
body.bte-public-page main .metric-tile h2,
body.bte-public-page main .metric-tile h3,
body.bte-public-page main .related-link__title,
body.bte-public-page main .dark-card h1,
body.bte-public-page main .dark-card h2,
body.bte-public-page main .dark-card h3,
body.bte-public-page main .card--dark h1,
body.bte-public-page main .card--dark h2,
body.bte-public-page main .card--dark h3,
body.bte-public-page main .card strong,
body.bte-public-page main .metric-tile strong,
body.bte-public-page main .metric-tile__value{
  color:var(--bte-white)!important;
  opacity:1!important;
}
body.bte-public-page main .card p,
body.bte-public-page main .card li,
body.bte-public-page main .card small,
body.bte-public-page main .metric-tile p,
body.bte-public-page main .metric-tile small,
body.bte-public-page main .metric-tile__label,
body.bte-public-page main .metric-tile__note,
body.bte-public-page main .related-link p,
body.bte-public-page main .related-link small,
body.bte-public-page main .related-link__copy,
body.bte-public-page main .media-panel p,
body.bte-public-page main .status-card p,
body.bte-public-page main .forecast-item p,
body.bte-public-page main .form-panel p,
body.bte-public-page main .session-row small,
body.bte-public-page main .detail-fact p,
body.bte-public-page main .observed-webcam p,
body.bte-public-page main .observed-panel p,
body.bte-public-page main .big-air-read__item p,
body.bte-public-page main .accuracy-card p,
body.bte-public-page main .accuracy-card small,
body.bte-public-page main .dark-card p,
body.bte-public-page main .card--dark p{
  color:var(--bte-muted)!important;
  opacity:1!important;
}
body.bte-public-page main .card .eyebrow,
body.bte-public-page main .card .kicker,
body.bte-public-page main .metric-tile .eyebrow,
body.bte-public-page main .related-link__type{
  color:#8adff6!important;
  opacity:1!important;
}

/* ---------- SEMANTIC CARD COLOUR ---------- */
body.bte-public-page main .card--action{
  border-color:rgba(46,214,124,.52)!important;
  box-shadow:inset 0 3px 0 var(--bte-green),0 16px 36px rgba(7,23,36,.10)!important;
}
body.bte-public-page main .card--action .eyebrow,
body.bte-public-page main .card--action .kicker{color:#82efb2!important}
body.bte-public-page main .card--warning{
  border-color:rgba(255,184,77,.55)!important;
  box-shadow:inset 0 3px 0 var(--bte-amber),0 16px 36px rgba(7,23,36,.10)!important;
}
body.bte-public-page main .card--warning .eyebrow,
body.bte-public-page main .card--warning .kicker{color:#ffd17e!important}
body.bte-public-page main .card--evidence{
  border-color:rgba(39,197,243,.34)!important;
  box-shadow:inset 0 3px 0 var(--bte-cyan),0 16px 36px rgba(7,23,36,.10)!important;
}

/* add rhythm to plain card grids without changing meaning */
body.bte-public-page main .grid>.card:nth-child(3n+1):not(.card--action):not(.card--warning){box-shadow:inset 0 3px 0 var(--bte-cyan),0 16px 36px rgba(7,23,36,.10)!important}
body.bte-public-page main .grid>.card:nth-child(3n+2):not(.card--action):not(.card--warning){box-shadow:inset 0 3px 0 var(--bte-green),0 16px 36px rgba(7,23,36,.10)!important}
body.bte-public-page main .grid>.card:nth-child(3n+3):not(.card--action):not(.card--warning){box-shadow:inset 0 3px 0 var(--bte-amber),0 16px 36px rgba(7,23,36,.10)!important}

/* ---------- METRICS ---------- */
body.bte-public-page main .metric-tile{position:relative;overflow:hidden}
body.bte-public-page main .metric-tile::before{
  content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--bte-cyan);opacity:.9
}
body.bte-public-page main .metric-tile:nth-child(4n+2)::before{background:var(--bte-green)}
body.bte-public-page main .metric-tile:nth-child(4n+3)::before{background:var(--bte-blue)}
body.bte-public-page main .metric-tile:nth-child(4n+4)::before{background:var(--bte-amber)}
body.bte-public-page main .metric-tile--target{
  border-color:rgba(255,184,77,.5)!important;
  background:linear-gradient(145deg,#172536,#2b2417)!important;
}
body.bte-public-page main .metric-tile--target::before{background:var(--bte-amber)!important}
body.bte-public-page main .metric-tile--target .brand-accent{color:#ffd06f!important}

/* ---------- LIGHT CARD EXCEPTIONS ---------- */
body.bte-public-page main .content-card,
body.bte-public-page main .v4MetricCard,
body.bte-public-page main .v4WhyItem,
body.bte-public-page main .v4Target,
body.bte-public-page main .v4SetupCard,
body.bte-public-page main .v4StoryCard.light{
  background:#fff!important;
  border:1px solid var(--bte-line)!important;
  border-top:4px solid var(--bte-cyan)!important;
  color:var(--bte-ink)!important;
  box-shadow:0 14px 32px rgba(18,55,80,.08)!important;
}
body.bte-public-page main .content-card h1,
body.bte-public-page main .content-card h2,
body.bte-public-page main .content-card h3,
body.bte-public-page main .v4MetricCard h3,
body.bte-public-page main .v4WhyItem h3,
body.bte-public-page main .v4Target h3,
body.bte-public-page main .v4SetupCard h3,
body.bte-public-page main .v4StoryCard.light h3{color:var(--bte-ink)!important}
body.bte-public-page main .content-card p,
body.bte-public-page main .v4MetricCard p,
body.bte-public-page main .v4WhyItem p,
body.bte-public-page main .v4Target p,
body.bte-public-page main .v4SetupCard p,
body.bte-public-page main .v4StoryCard.light p{color:var(--bte-copy)!important;opacity:1!important}

/* ---------- BUTTONS ---------- */
body.bte-public-page .btn--primary,
body.bte-public-page .button--primary,
body.bte-public-page button.primary{
  background:linear-gradient(135deg,var(--bte-blue),var(--bte-cyan))!important;
  border-color:transparent!important;
  color:#06121e!important;
  box-shadow:0 10px 24px rgba(39,197,243,.18)!important;
}
body.bte-public-page .btn--secondary,
body.bte-public-page .button--secondary{
  border-color:rgba(39,197,243,.55)!important;
  color:#bcefff!important;
  background:rgba(39,197,243,.08)!important;
}

/* ---------- STATUS / WEATHER LANGUAGE ---------- */
body.bte-public-page .is-success,
body.bte-public-page .status-good,
body.bte-public-page [data-status="good"]{color:var(--bte-green)!important}
body.bte-public-page .is-warning,
body.bte-public-page .status-warning,
body.bte-public-page [data-status="warning"]{color:var(--bte-amber)!important}
body.bte-public-page .is-danger,
body.bte-public-page .status-danger,
body.bte-public-page [data-status="danger"]{color:var(--bte-coral)!important}

/* ---------- LINKS ---------- */
body.bte-public-page main a:not(.btn):not(.button):not(.bteNavItem){text-decoration-color:rgba(39,197,243,.45)}
body.bte-public-page main a:not(.btn):not(.button):not(.bteNavItem):hover{color:#0879b7;text-decoration-color:#0879b7}
body.bte-public-page main .section--alt a:not(.btn):not(.button){color:#9ae6fa}

/* ---------- NAV / FOOTER ---------- */
body.bte-public-page .bteHeader[data-bte-universal-nav="true"]{border-bottom:1px solid rgba(39,197,243,.26)!important}
body.bte-public-page .bteHeader[data-bte-universal-nav="true"] .bteNavItem.active,
body.bte-public-page .bteHeader[data-bte-universal-nav="true"] .bteNavItem[aria-current="page"]{color:#8be7ff!important}
body.bte-public-page .bteFooter{border-top:2px solid rgba(39,197,243,.40)!important}

/* readable text must never be visually faded */
body.bte-public-page main p,
body.bte-public-page main li,
body.bte-public-page main small,
body.bte-public-page main .eyebrow,
body.bte-public-page main .section-intro{opacity:1!important}

@media(max-width:700px){
  body.bte-public-page main .card,
  body.bte-public-page main .metric-tile{box-shadow:inset 0 3px 0 var(--bte-cyan),0 10px 24px rgba(7,23,36,.08)!important}
}

/* /assets/css/bte-v4-final-contract.css */
/* BTE_V4.0 FINAL PUBLIC CONTRACT — 2026-09-29
   Single last-loaded authority for header background and public text contrast.
   This file intentionally uses narrow, explicit ownership selectors so legacy
   R31/V4 rules cannot reverse readable foreground/background pairings. */
:root{
  --bte-final-nav:#000c1c;
  --bte-final-dark:#07131e;
  --bte-final-card:#0a1927;
  --bte-final-text:#f8fbff;
  --bte-final-muted:#c7d5e1;
  --bte-final-cyan:#7ee2ff;
  --bte-final-ink:#0b1d2b;
  --bte-final-copy:#405b70;
}

/* HEADER: match the baked-in edge colour of bte-r28-2-logo-header.png. */
html body .bteHeader[data-bte-universal-nav="true"]{
  background:var(--bte-final-nav)!important;
  background-color:var(--bte-final-nav)!important;
}
html body .bteHeader[data-bte-universal-nav="true"] .wrap.bteHeaderRow,
html body .bteHeader[data-bte-universal-nav="true"] .bteBrand{
  background:transparent!important;
}
html body .bteHeader[data-bte-universal-nav="true"] .bteBrandLogo{
  background:var(--bte-final-nav)!important;
}
@media(max-width:1120px){
  html body .bteHeader[data-bte-universal-nav="true"] .bteNav{
    background:var(--bte-final-nav)!important;
  }
}

/* LIGHT SECTION OWNERSHIP: only section headers/editorial copy are styled here. */
html body.bte-public-page main>section:not(.page-hero):not(.home-hero):not(.v4Hero):not(.section--alt){
  color:var(--bte-final-ink)!important;
}
html body.bte-public-page main>section:not(.page-hero):not(.home-hero):not(.v4Hero):not(.section--alt)>.wrap>.section-header :is(h1,h2,h3,h4){
  color:var(--bte-final-ink)!important;
}
html body.bte-public-page main>section:not(.page-hero):not(.home-hero):not(.v4Hero):not(.section--alt)>.wrap>.section-header :is(p,li,small,.section-intro){
  color:var(--bte-final-copy)!important;opacity:1!important;
}
html body.bte-public-page main>section:not(.page-hero):not(.home-hero):not(.v4Hero):not(.section--alt)>.wrap>.section-header :is(.eyebrow,.kicker){
  color:#39708e!important;opacity:1!important;
}
html body.bte-public-page main :is(.manifesto-block,.bio-project-statement,.bio-rider-context){
  color:var(--bte-final-ink)!important;
}
html body.bte-public-page main :is(.manifesto-block,.bio-project-statement,.bio-rider-context) :is(p,li,small){
  color:var(--bte-final-copy)!important;opacity:1!important;
}

/* HERO OWNERSHIP. */
html body.bte-public-page main :is(.page-hero,.home-hero,.v4Hero){
  color:var(--bte-final-text)!important;
}
html body.bte-public-page main :is(.page-hero,.home-hero,.v4Hero) :is(h1,h2,h3,h4,strong){
  color:var(--bte-final-text)!important;
}
html body.bte-public-page main :is(.page-hero,.home-hero,.v4Hero) :is(p,li,small,.page-hero__intro){
  color:var(--bte-final-muted)!important;opacity:1!important;
}
html body.bte-public-page main :is(.page-hero,.home-hero,.v4Hero) :is(.eyebrow,.kicker){
  color:var(--bte-final-cyan)!important;opacity:1!important;
}

/* DARK ALTERNATING SECTION HEADERS. */
html body.bte-public-page main>section.section--alt{
  color:var(--bte-final-text)!important;
}
html body.bte-public-page main>section.section--alt>.wrap>.section-header :is(h1,h2,h3,h4){
  color:var(--bte-final-text)!important;
}
html body.bte-public-page main>section.section--alt>.wrap>.section-header :is(p,li,small,.section-intro){
  color:var(--bte-final-muted)!important;opacity:1!important;
}
html body.bte-public-page main>section.section--alt>.wrap>.section-header :is(.eyebrow,.kicker){
  color:var(--bte-final-cyan)!important;opacity:1!important;
}

/* DARK COMPONENT OWNERSHIP — applies regardless of containing section. */
html body.bte-public-page main :is(
 .card,.metric-tile,.fact-strip,.related-link,.media-panel,.status-card,.forecast-item,
 .form-panel,.result-band__item,.gallery-card,.session-primary-result,.session-row,
 .detail-fact,.explorer-item,.explorer-detail,.observed-webcam,.observed-panel,
 .big-air-read__item,.accuracy-card,.comparison-meter,.dark-card,.card--dark,
 .card--action,.card--evidence,.card--warning,.bte-next-brief,.v4NowPrimary,
 .v4HeroMetric,.v4Dna,.v4DarkPanel,.v4CoachLead,.v4MissionWide,
 .v4StoryCard:not(.light)
){color:var(--bte-final-text)!important;}
html body.bte-public-page main :is(
 .card,.metric-tile,.fact-strip,.related-link,.media-panel,.status-card,.forecast-item,
 .form-panel,.result-band__item,.gallery-card,.session-primary-result,.session-row,
 .detail-fact,.explorer-item,.explorer-detail,.observed-webcam,.observed-panel,
 .big-air-read__item,.accuracy-card,.comparison-meter,.dark-card,.card--dark,
 .card--action,.card--evidence,.card--warning,.bte-next-brief,.v4NowPrimary,
 .v4HeroMetric,.v4Dna,.v4DarkPanel,.v4CoachLead,.v4MissionWide,
 .v4StoryCard:not(.light)
) :is(h1,h2,h3,h4,h5,h6,strong,b,.fact-strip__value,.metric-tile__value,.related-link__title){
  color:var(--bte-final-text)!important;opacity:1!important;
}
html body.bte-public-page main :is(
 .card,.metric-tile,.fact-strip,.related-link,.media-panel,.status-card,.forecast-item,
 .form-panel,.result-band__item,.gallery-card,.session-primary-result,.session-row,
 .detail-fact,.explorer-item,.explorer-detail,.observed-webcam,.observed-panel,
 .big-air-read__item,.accuracy-card,.comparison-meter,.dark-card,.card--dark,
 .card--action,.card--evidence,.card--warning,.bte-next-brief,.v4NowPrimary,
 .v4HeroMetric,.v4Dna,.v4DarkPanel,.v4CoachLead,.v4MissionWide,
 .v4StoryCard:not(.light)
) :is(p,li,small,.muted,.caption,.meta,.helper,.card__meta,.metric-tile__label,.metric-tile__note,.fact-strip__label,.related-link__copy){
  color:var(--bte-final-muted)!important;opacity:1!important;
}
html body.bte-public-page main :is(
 .card,.metric-tile,.fact-strip,.related-link,.media-panel,.status-card,.forecast-item,
 .form-panel,.result-band__item,.gallery-card,.session-primary-result,.session-row,
 .detail-fact,.explorer-item,.explorer-detail,.observed-webcam,.observed-panel,
 .big-air-read__item,.accuracy-card,.comparison-meter,.dark-card,.card--dark,
 .card--action,.card--evidence,.card--warning,.bte-next-brief
) :is(.eyebrow,.kicker,.related-link__type){
  color:var(--bte-final-cyan)!important;opacity:1!important;
}

/* BIO HARD LOCK — exact sections previously reported as unreadable. */
html body.bte-public-page main .grid.grid--3>.card :is(h2,h3,h4,strong){
  color:var(--bte-final-text)!important;
}
html body.bte-public-page main .grid.grid--3>.card :is(p,li,small){
  color:var(--bte-final-muted)!important;opacity:1!important;
}
html body.bte-public-page main .grid.grid--3>.card :is(.eyebrow,.kicker){
  color:var(--bte-final-cyan)!important;opacity:1!important;
}
html body.bte-public-page main .grid.grid--3>.card.card--action :is(.eyebrow,.kicker){
  color:#82efb2!important;
}

/* Explicit light components must stay dark-on-light. */
html body.bte-public-page main :is(.content-card,.v4MetricCard,.v4WhyItem,.v4Target,.v4SetupCard,.v4StoryCard.light){
  color:var(--bte-final-ink)!important;
}
html body.bte-public-page main :is(.content-card,.v4MetricCard,.v4WhyItem,.v4Target,.v4SetupCard,.v4StoryCard.light) :is(h1,h2,h3,h4,strong){
  color:var(--bte-final-ink)!important;
}
html body.bte-public-page main :is(.content-card,.v4MetricCard,.v4WhyItem,.v4Target,.v4SetupCard,.v4StoryCard.light) :is(p,li,small,.muted,.caption,.meta){
  color:var(--bte-final-copy)!important;opacity:1!important;
}

/* Ordinary readable copy is never faded. */
html body.bte-public-page main :is(p,li,small,.eyebrow,.kicker,.section-intro){opacity:1!important;}


/* BIO PAGE — compact portrait hero; remove dead lower gutter. */
html body.bio-page main>.page-hero.page-hero--portrait{
  padding-top:clamp(38px,4.2vw,60px)!important;
  padding-bottom:0!important;
}
html body.bio-page main>.page-hero.page-hero--portrait .page-hero__inner{
  align-items:center!important;
  min-height:0!important;
}
html body.bio-page main>.page-hero.page-hero--portrait .page-hero__media{
  align-self:end!important;
  margin-bottom:0!important;
  max-width:430px!important;
  border-bottom-left-radius:0!important;
  border-bottom-right-radius:0!important;
}
@media(max-width:900px){
  html body.bio-page main>.page-hero.page-hero--portrait{
    padding-block:40px!important;
  }
  html body.bio-page main>.page-hero.page-hero--portrait .page-hero__media{
    align-self:auto!important;
    max-width:min(100%,430px)!important;
    border-radius:var(--radius-lg)!important;
  }
}

/* BTE_V4.0 · universal three-beach weather ticker */
.bteWeatherTicker{position:relative;z-index:950;background:#071b2c;border-bottom:1px solid rgba(101,201,255,.22);color:#fff;box-shadow:0 10px 32px rgba(0,0,0,.14)}
.bteTickerInner{width:min(1560px,100%);margin:0 auto;min-height:62px;padding:7px clamp(16px,2.4vw,36px);display:grid;grid-template-columns:auto repeat(3,minmax(190px,1fr)) minmax(230px,1.15fr);align-items:stretch;gap:8px}
.bteTickerLead,.bteTickerSpot,.bteTickerBest,.bteTickerUnavailable{min-width:0;border-radius:12px}
.bteTickerLead{display:flex;flex-direction:column;justify-content:center;padding:8px 12px 8px 0}.bteTickerLead>span{font-size:.66rem;font-weight:950;letter-spacing:.14em;color:#65c9ff}.bteTickerLead small{font-size:.58rem;line-height:1.25;color:#91a9b8;white-space:nowrap}
.bteTickerSpot{display:flex;align-items:center;gap:9px;padding:8px 10px;color:#fff!important;text-decoration:none!important;border:1px solid rgba(255,255,255,.055);background:rgba(255,255,255,.025)}
.bteTickerSpot:hover,.bteTickerSpot:focus-visible,.bteTickerBest:hover,.bteTickerBest:focus-visible{background:rgba(101,201,255,.075);border-color:rgba(101,201,255,.24);outline:none}
.bteTickerDot{width:8px;height:8px;border-radius:50%;flex:0 0 auto;background:#8fa4b8;box-shadow:0 0 0 3px rgba(143,164,184,.12)}
.bteTickerSpot.is-hopeful .bteTickerDot{background:#2ed67c}.bteTickerSpot.is-happy .bteTickerDot{background:#2495ff}.bteTickerSpot.is-excited .bteTickerDot{background:#ffb014}.bteTickerSpot.is-ecstatic .bteTickerDot{background:#ff4c13}.bteTickerSpot.is-risk .bteTickerDot{background:#ff6b6b}
.bteTickerCopy{display:block;min-width:0;width:100%}.bteTickerTop{display:flex;align-items:center;gap:7px;min-width:0}.bteTickerTop b{font-size:.67rem;letter-spacing:.09em;white-space:nowrap}.bteTickerTop em{font-style:normal;font-size:.53rem;font-weight:850;letter-spacing:.07em;color:#7dd3fc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bteTickerReading,.bteTickerStatus{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bteTickerReading{font-size:.67rem;font-weight:760;margin-top:2px}.bteTickerStatus{font-size:.56rem;color:#9ec5d8;letter-spacing:.05em;margin-top:1px}
.bteTickerBest{display:flex;flex-direction:column;justify-content:center;padding:8px 12px;border:1px solid rgba(255,255,255,.07);color:#fff!important;text-decoration:none!important;background:rgba(255,255,255,.02)}.bteTickerBest span{font-size:.53rem;font-weight:950;letter-spacing:.12em;color:#65c9ff}.bteTickerBest strong{font-size:.66rem;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bteTickerUnavailable{grid-column:1/-1;padding:10px 0;display:flex;align-items:center;gap:12px}.bteTickerUnavailable b{font-size:.68rem;letter-spacing:.12em;color:#65c9ff}.bteTickerUnavailable span{font-size:.7rem;color:#b8c8d2}
@media(max-width:1180px){.bteTickerInner{grid-template-columns:repeat(3,minmax(0,1fr));min-height:0}.bteTickerLead,.bteTickerBest{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;padding:5px 8px}.bteTickerBest{order:9}.bteTickerBest strong{max-width:72%}}
@media(max-width:720px){.bteTickerInner{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding:6px 10px;gap:7px}.bteTickerLead{display:none}.bteTickerSpot{flex:0 0 min(82vw,300px);scroll-snap-align:start;min-height:52px}.bteTickerBest{flex:0 0 min(82vw,300px);display:flex;align-items:flex-start;justify-content:center}.bteTickerBest strong{max-width:100%}.bteTickerInner::-webkit-scrollbar{height:3px}}
@media(prefers-reduced-motion:reduce){.bteTickerInner{scroll-behavior:auto}}

/* Weather location selector */
.weather-location-switch{padding:18px 0!important;background:#0a1621;border-bottom:1px solid rgba(151,181,203,.12)}
.weather-location-switch__inner{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.weather-location-switch__inner>span{font-size:.62rem;font-weight:950;letter-spacing:.14em;color:#7dd3fc;margin-right:4px}.weather-location-switch__inner a{display:inline-flex;align-items:center;min-height:38px;padding:8px 13px;border:1px solid rgba(157,188,209,.18);border-radius:999px;color:#c8d6df!important;text-decoration:none!important;font-size:.72rem;font-weight:850;background:#0e1c28}.weather-location-switch__inner a:hover,.weather-location-switch__inner a:focus-visible,.weather-location-switch__inner a.is-active{border-color:#63c9ff;background:rgba(36,149,255,.12);color:#fff!important}.weather-location-switch__inner small{margin-left:auto;color:#8fa6b5;font-size:.68rem}.weather-location-switch__inner small b{color:#dce8ef}
@media(max-width:700px){.weather-location-switch__inner small{width:100%;margin:4px 0 0}.weather-location-switch__inner a{flex:1 1 auto;justify-content:center}}

/* /assets/css/bte-v4-best-in-class.css */
/* BTE_V4.0 BEST IN CLASS HARDENING — 2026-09-30
   Final authority for visual consistency, readable copy, embed mode and responsive polish. */
:root{
  --bic-nav:#000c1c;--bic-ink:#0b1d2b;--bic-copy:#405b70;--bic-paper:#f7f9fb;
  --bic-dark:#07131e;--bic-card:#0a1927;--bic-white:#f8fbff;--bic-muted:#c7d5e1;
  --bic-accent:#7ee2ff;--bic-border:rgba(11,29,43,.13);--bic-radius:18px;
  --bic-shadow:0 18px 45px rgba(4,18,30,.10);
}
html{scroll-behavior:smooth}
body{font-synthesis:none;text-rendering:optimizeLegibility}
/* Exact logo-edge match: PNG corner is RGB 0,12,28 = #000c1c. */
.bteHeader[data-bte-universal-nav="true"],.bteHeader[data-bte-universal-nav="true"] .bteHeaderRow{background:#000c1c!important}
.bteHeader[data-bte-universal-nav="true"] .bteBrandLogo{display:block;background:#000c1c!important}
.bteHeader[data-bte-universal-nav="true"] .bteNavItem{color:#e9f1f7!important}
.bteHeader[data-bte-universal-nav="true"] .bteNavItem:hover,.bteHeader[data-bte-universal-nav="true"] .bteNavItem.active{color:#fff!important}
/* Global readability floor. */
main p,main li{line-height:1.65}
main p,main li,main small,main .muted,main .meta,main .caption,main .helper{opacity:1!important}
main small,main .meta,main .caption{font-size:max(13px,.8125rem)}
main .eyebrow,main .kicker,main label,main .badge{font-size:max(12px,.75rem)}
/* Consistent component finish. */
main :is(.card,.content-card,.metric-tile,.status-card,.forecast-item,.v4MetricCard,.v4WhyItem,.v4Target,.v4SetupCard){border-radius:var(--bic-radius);box-shadow:none}
main :is(.card,.content-card,.metric-tile,.status-card,.forecast-item):hover{transform:none}
button,a,.btn,input,select,textarea{transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease}
input,select,textarea{font:inherit}
/* BIO: tighter editorial rhythm and no dead hero gutter. */
body.bio-page main>.page-hero.page-hero--portrait{padding-top:clamp(28px,3vw,46px)!important;padding-bottom:0!important;margin-bottom:0!important}
body.bio-page main>.page-hero.page-hero--portrait .page-hero__inner{min-height:0!important;gap:clamp(24px,4vw,56px)!important;align-items:center!important}
body.bio-page main>.page-hero.page-hero--portrait .page-hero__media{align-self:end!important;margin:0!important;max-width:420px!important}
body.bio-page main>.page-hero+section{padding-top:clamp(42px,5vw,72px)!important}
body.bio-page main>section{padding-block:clamp(52px,6vw,84px)!important}
body.bio-page main>section .template-stack{gap:clamp(24px,3vw,40px)!important}
body.bio-page main .section-header{margin-bottom:clamp(20px,2.5vw,34px)!important}
body.bio-page main .grid{gap:clamp(16px,2vw,24px)!important}
/* Season Intelligence is a workspace, not a frame around another website. */
.bteSeasonPanel iframe{display:block;width:100%;border:0;background:transparent;min-height:860px;border-radius:16px;overflow:hidden}
body.bte-embed-mode>.skipLink,body.bte-embed-mode>.bteHeader,body.bte-embed-mode>.bte-session-workspace,body.bte-embed-mode>.bteFooter,body.bte-embed-mode>.bteHubHandoff{display:none!important}
body.bte-embed-mode{background:transparent!important}
body.bte-embed-mode main{padding-top:0!important;margin-top:0!important;max-width:none!important}
body.bte-embed-mode .fusion-hero{padding-top:28px!important}
body.bte-embed-mode .bte-progress-back-to-top{display:none!important}
/* Graph/chart presentation polish without changing data. */
main :is(canvas,svg){max-width:100%}
main :is(.chart-card,.chart-panel,.graph-card,.fusion-chart,.bte-chart){border-radius:16px;overflow:hidden}
main :is(.chart-card,.chart-panel,.graph-card,.fusion-chart,.bte-chart) :is(.legend,.chart-legend){font-size:13px!important;opacity:1!important}
/* Mobile resilience. */
@media(max-width:900px){
  .bteHeader[data-bte-universal-nav="true"] .bteNav{background:#000c1c!important}
  body.bio-page main>.page-hero.page-hero--portrait{padding:34px 0!important}
  body.bio-page main>.page-hero.page-hero--portrait .page-hero__media{align-self:auto!important;max-width:min(100%,420px)!important;border-radius:var(--radius-lg,18px)!important}
  .bteSeasonPanel iframe{min-height:980px}
}
@media(max-width:640px){
  main p,main li{font-size:15px}
  .bteSeasonPanel iframe{min-height:1120px;border-radius:12px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* /assets/css/bte-adaptive-ux.css */
/* Beyond The Edge — Adaptive UX layer
   One canonical codebase, three deliberate presentation modes.
   Desktop >=1200 | Tablet 768-1199 | Mobile <768 */
:root{
  --bte-adaptive-gutter:clamp(14px,3vw,32px);
  --bte-touch:44px;
}
html{-webkit-text-size-adjust:100%}
body{min-width:320px}
img,video,iframe,canvas,svg{max-width:100%}
main{min-width:0}
main :where(.row,.grid,[class*="Grid"],[class*="-grid"]){min-width:0}
main :where(.card,article,section,div){min-width:0}
.table-responsive,main table{max-width:100%}

/* DESKTOP — analytical, spacious, persistent context */
@media (min-width:1200px){
  .wrap,.container{max-width:1280px}
  body:not(.bte-embed-mode) main{--bte-content-density:desktop}
  .bte-page-intro{padding-top:clamp(64px,6vw,96px)!important}
  .bte-report-stage-nav{position:sticky;top:88px;z-index:40;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
  .bte-report-grid{grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr)!important}
  .bte-overall-coach-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .bte-outcome-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .bte-target-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .bte-wind-corr-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .r23-release-body{grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr)!important}
  .r23-release-rail{position:sticky;top:154px;align-self:start}
  .ryowGatewayGrid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .statGrid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .flowGrid,.valuesGrid,.exploreGrid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* TABLET — two-column, touch-first, reduced density */
@media (min-width:768px) and (max-width:1199px){
  :root{--bte-touch:48px}
  .wrap,.container{width:min(100% - 40px,1100px)!important}
  .section{padding-block:clamp(56px,7vw,76px)}
  .hero{min-height:580px}
  .heroInner{padding-block:76px 88px;max-width:680px}
  .hero h1{font-size:clamp(54px,8vw,76px)}
  .sectionHead{align-items:start;flex-direction:column;gap:14px}
  .statGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .projectGrid,.progressPanel,.coachPromo{grid-template-columns:1fr 1fr;gap:24px}
  .flowGrid,.valuesGrid,.exploreGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ryowGatewayGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ryowGatewayCard:last-child:nth-child(odd){grid-column:1/-1}
  .footerGrid{grid-template-columns:1fr 1fr}

  /* report/workspace */
  .bte-report-stage-nav{overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;white-space:nowrap}
  .bte-report-stage-nav>*{flex:0 0 auto}
  .bte-report-grid,.bte-overall-coach-grid,.bte-outcome-grid,.bte-target-grid,.bte-wind-corr-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .r23-release-body{grid-template-columns:1fr!important}
  .r23-release-rail{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .r23-release-rail>*:last-child:nth-child(odd){grid-column:1/-1}
  .bte-report-context-strip{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .bte-envelope-controls{display:grid!important;grid-template-columns:1fr 1fr;gap:12px}
  .bte-target-badge{grid-column:1/-1}
  .bteSeasonPanel iframe{min-height:1050px}
  button,.btn,a.service-button,input,select,textarea{min-height:var(--bte-touch)}
}

/* MOBILE — app-like, answer first, single-column */
@media (max-width:767px){
  :root{--bte-touch:50px}
  body{overflow-x:hidden}
  .wrap,.container{width:calc(100% - 28px)!important;max-width:none!important}
  .bloc{padding-inline:14px!important}
  .bloc-lg,.bloc-xl{padding-block:38px!important}
  .section{padding:48px 0}
  .sectionHead{display:block;margin-bottom:24px}
  .sectionHead>div:first-child{max-width:none}
  .sectionHead p{margin-top:14px;max-width:none}
  .sectionHead h2,.section h2{font-size:clamp(31px,10vw,43px);line-height:1.02}

  /* navigation and ticker */
  .bteHeader[data-bte-universal-nav="true"]{position:sticky!important;top:0!important}
  .bteHeader[data-bte-universal-nav="true"] .wrap.bteHeaderRow{width:calc(100% - 20px)!important}
  .bteHeader[data-bte-universal-nav="true"] .bteMenu{min-width:52px!important;min-height:48px!important}
  .bteWeatherTicker{font-size:11px!important}
  .bteWeatherTicker [data-bte-ticker-detail="secondary"],.bteWeatherTicker .bteTickerSecondary{display:none!important}

  /* home/public experience */
  .hero{min-height:520px}
  .hero::before{background:linear-gradient(180deg,rgba(0,0,0,.36) 0%,rgba(0,0,0,.72) 54%,rgba(0,0,0,.92) 100%),url("/assets/hero.webp") center/cover no-repeat}
  .heroInner{padding:70px 0 58px;max-width:none}
  .hero h1,.ryowHero h1{font-size:clamp(47px,15vw,66px)!important;line-height:.88!important;letter-spacing:-.055em}
  .hero h1 span{font-size:.46em;margin-top:10px}
  .heroLead,.ryowHero .heroLead{font-size:16px!important;line-height:1.58}
  .actions{display:grid;grid-template-columns:1fr;gap:10px}
  .actions .btn{width:100%;min-height:52px}
  .statGrid,.projectGrid,.flowGrid,.progressPanel,.valuesGrid,.coachPromo,.exploreGrid,.ryowGatewayGrid,.ryowManifestoGrid,.evidenceGrid{grid-template-columns:1fr!important}
  .statCard{min-height:135px;padding:22px}
  .statValue{font-size:39px}
  .featureCard,.weatherCard,.flowCard,.valueCard,.coachPromo,.progressPanel{padding:22px!important}
  .ryowGatewayCard{min-height:330px!important;padding:22px!important}
  .quote{font-size:22px}
  .footerGrid{grid-template-columns:1fr!important}

  /* page intros */
  body.bte-utility-page .bte-page-intro,.bte-page-intro{width:calc(100% - 28px)!important;padding:38px 0 22px!important}
  body.bte-utility-page .bte-page-title,.bte-page-title{font-size:clamp(2.35rem,12vw,3.7rem)!important;line-height:.94!important;max-width:100%!important;text-wrap:balance}
  .bte-page-deck{font-size:1rem!important;line-height:1.55!important}

  /* Performance Report: outcome -> diagnosis -> action -> evidence */
  .bte-report-ux99{padding-inline:0!important}
  .bte-report-stage-nav{display:flex!important;position:sticky;top:70px;z-index:60;overflow-x:auto;gap:6px!important;padding:8px!important;margin-inline:-14px!important;border-radius:0!important;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;white-space:nowrap;background:rgba(6,18,30,.96)!important;backdrop-filter:blur(12px)}
  .bte-report-stage-nav a{flex:0 0 auto!important;min-height:42px;padding-inline:13px!important;scroll-snap-align:start}
  .bte-report-stage-nav a span{display:none!important}
  .bte-report-section-head{display:block!important}
  .bte-report-section-head p{margin-top:10px!important}
  .bte-report-context-strip,.bte-envelope-controls,.bte-outcome-grid,.bte-overall-coach-grid,.bte-report-grid,.bte-target-grid,.bte-wind-corr-grid,.bte-path-grid,.r23-release-body,.r23-release-rail,.r23-target-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
  .bte-envelope-picker,.bte-target-badge{width:100%!important}
  .bte-outcome-metric,.bte-overall-coach-grid article,.bte-target-card,.bte-wind-corr-stat,.r23-rail-card,.r23-target-card{padding:18px!important}
  .bte-outcome-metric strong{font-size:clamp(28px,10vw,42px)!important}
  .bte-outcome-read{padding:20px!important}
  .bte-overall-coach-head{display:block!important}
  .bte-coach-confidence-badge{margin-top:12px!important;width:100%!important}
  .r23-release-head,.r23-release-controls,.r23-control-meta{display:block!important}
  .r23-release-controls>*{width:100%!important;margin-top:10px!important}
  .r23-geometry-panel{min-height:0!important}
  .bte-height-benchmarks{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .bte-height-benchmark{padding:14px!important}
  .bte-height-benchmark strong{font-size:22px!important}
  .bte-prune-disclosure>summary{min-height:52px;display:flex;align-items:center}

  /* charts/tables become swipeable rather than crushed */
  .table-responsive,main :where(.chart-card,.chart-panel,.graph-card,.fusion-chart,.bte-chart,.bte-radar-wrap){overflow-x:auto!important;-webkit-overflow-scrolling:touch}
  main table{min-width:640px}
  main :where(canvas,svg){max-height:420px}

  /* forms: thumb-friendly */
  button,.btn,.service-button,input,select,textarea,summary{min-height:var(--bte-touch)}
  input,select,textarea{font-size:16px!important}
  .form-select{width:100%!important}
  label{display:block;margin-bottom:6px}
  .row>[class*="col-"]{width:100%!important;max-width:100%!important;flex:0 0 100%!important}

  /* Season/Fusion embedded workspace */
  .bteSeasonPanel{margin-inline:-6px}
  .bteSeasonPanel iframe{min-height:1280px!important;border-radius:10px!important}
  .fusion-hero{padding-top:24px!important}

  /* Footer simplifies to clean stacked navigation */
  .bteFooter--production .bteFooterGrid--production{grid-template-columns:1fr!important;gap:22px!important}
  .bteFooter--production .bteFooterCol{border-top:1px solid rgba(255,255,255,.08);padding-top:18px}
  .bteFooter--production a{min-height:42px;display:flex!important;align-items:center}
}

/* SMALL MOBILE — prevent ornamental scale overwhelming content */
@media (max-width:479px){
  .wrap,.container{width:calc(100% - 22px)!important}
  .hero h1,.ryowHero h1{font-size:clamp(43px,14.5vw,57px)!important}
  .heroInner{padding-top:56px}
  .card,.featureCard,.weatherCard,.flowCard,.valueCard{border-radius:14px!important}
  .bte-height-benchmarks{grid-template-columns:1fr!important}
  .bteHeader[data-bte-universal-nav="true"] .bteBrandLogo{width:180px!important;max-width:180px!important;height:auto!important}
}

/* Accessibility: adaptive layout must not require motion. */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}

/* /assets/css/bte-focus-release.css */
/* BTE V4.1 FOCUS — reduction release */
:root{--focus-ink:#081522;--focus-blue:#087dc1;--focus-line:#d6e0e7;--focus-soft:#f4f7f9}
/* Five destinations only. Supporting content belongs in-page/footer, not primary nav. */
.bteNav{gap:clamp(12px,2vw,28px)!important}.bteNavItem{font-weight:850!important;letter-spacing:.025em!important}
/* Reduce repeated coaching on the detailed report. Overall coaching summary is authoritative. */
body[data-page="performance-report"] .r23-coach-card,
body[data-page="performance-report"] .r22-physics-coach,
body[data-page="performance-report"] #key-limiter{display:none!important}
#overall-coaching-summary .is-worked,#overall-coaching-summary .is-learning{display:none!important}
#overall-coaching-summary .bte-overall-coach-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
/* Progress: answer first, evidence on demand. */
.bte-progress-page #cumulative-overview{padding-top:32px!important}
.bte-progress-page .bte-progress-story{border:2px solid var(--focus-ink)!important}
.bte-progress-page details.bte-progress-evidence{margin-top:28px!important}
/* Ride: one session story + library. */
.bte-session-page #sessions{border-top:1px solid var(--focus-line)}
/* Homepage: more negative space now that duplicate dashboard sections are gone. */
.v4Home .v4Section{padding-block:clamp(58px,7vw,108px)!important}
.v4Home .v4HeroLead{max-width:720px!important}
/* Secondary project links should not compete with primary jobs. */
.bteFooter a{opacity:.86}.bteFooter a:hover{opacity:1}
@media(max-width:767px){
  #overall-coaching-summary .bte-overall-coach-grid{grid-template-columns:1fr!important}
  .bteNav{gap:0!important}
}
/* Lab is technical; coaching belongs to Ride, next-session decision belongs to Weather. */
.bte-lab-tabs [data-lab-tab="plan"],.bte-lab-tabs [data-lab-tab="review"]{display:none!important}
#bte-lab-plan,#bte-lab-review{display:none!important}
/* Keep owner diagnostics out of the public mental model. */
.bte-report-stage-nav a[href="#overall-coaching-summary"] strong::after{content:" · COACH";font-size:.72em;opacity:.62}

/* BTE V4.1.1 · Performance Report focus repair
   One authoritative coach voice; remove legacy competing intelligence layers. */
body[data-page="performance-report"] #r22-performance-physics,
body[data-page="performance-report"] .r23-coach-card,
body[data-page="performance-report"] .bte-long-term-disclosure {
  display:none !important;
}
body[data-page="performance-report"] .bte-report-status strong{display:inline-block;margin-bottom:.35rem}
body[data-page="performance-report"] .bte-report-status span{opacity:.82}

/* /assets/css/bte-journey-v42.css */
/* BTE V4.2 — Journey-first navigation and Plan → Ride → Review */
.bteHeader .bteNav{gap:2px;align-items:center}
.bteHeader .bteNavItem{white-space:nowrap}
.bteNavMore{position:relative;margin:0;padding:0}
.bteNavMore>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:.4rem}
.bteNavMore>summary::-webkit-details-marker{display:none}
.bteNavMore>summary::after{content:"⌄";font-size:.8em;opacity:.75}
.bteNavMore[open]>summary,.bteNavMore.is-active>summary{color:#fff!important;background:rgba(255,255,255,.1)}
.bteNavMorePanel{position:absolute;right:0;top:calc(100% + 10px);z-index:1200;min-width:310px;padding:10px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:#07111e;box-shadow:0 18px 55px rgba(0,0,0,.34)}
.bteNavMorePanel a{display:grid!important;gap:2px;padding:11px 12px!important;border-radius:11px!important;text-decoration:none!important}
.bteNavMorePanel a:hover,.bteNavMorePanel a.active{background:rgba(255,255,255,.08)!important}
.bteNavMorePanel strong{font-size:12px;letter-spacing:.07em;text-transform:uppercase;color:#fff}
.bteNavMorePanel small{font-size:11px;line-height:1.35;color:#aebccb;text-transform:none;letter-spacing:0;font-weight:500}

.bteJourneyRail{background:#07111e;border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.09)}
.bteJourneyRailInner{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;padding-top:8px;padding-bottom:8px}
.bteJourneyRail a{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;padding:12px 16px;border-radius:12px;color:#aab9c7;text-decoration:none!important;transition:.16s ease}
.bteJourneyRail a span{grid-row:1/3;align-self:center;display:grid;place-items:center;width:30px;height:30px;border:1px solid rgba(255,255,255,.15);border-radius:999px;font-size:11px;font-weight:800}
.bteJourneyRail a strong{font-size:12px;letter-spacing:.12em;color:#e8f2f8}
.bteJourneyRail a small{font-size:11px;color:#8ea1b0}
.bteJourneyRail a:hover{background:rgba(255,255,255,.05)}
.bteJourneyRail a.is-current{background:linear-gradient(135deg,rgba(0,180,255,.17),rgba(255,255,255,.04));box-shadow:inset 0 0 0 1px rgba(79,210,255,.24)}
.bteJourneyRail a.is-current span{border-color:#55d8ff;background:#55d8ff;color:#04111a}
.bteJourneyRail a.is-current strong{color:#fff}

.bteHomeLoop{padding:34px 0 44px;background:#07111e;color:#fff;border-top:1px solid rgba(255,255,255,.06)}
.bteLoopHead{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:20px}
.bteLoopHead span,.bteWeatherPlanHandoff>div>span{font-size:11px;letter-spacing:.18em;font-weight:800;color:#7fdfff}
.bteLoopHead h2{margin:.3rem 0 0;font-size:clamp(28px,4vw,48px);line-height:.95}
.bteLoopHead p{max-width:520px;margin:0;color:#aebdca}
.bteLoopGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.bteLoopGrid a{display:block;padding:24px;border:1px solid rgba(255,255,255,.1);border-radius:18px;background:rgba(255,255,255,.035);color:#fff;text-decoration:none!important}
.bteLoopGrid a:hover{transform:translateY(-2px);border-color:rgba(87,215,255,.35);background:rgba(87,215,255,.07)}
.bteLoopGrid span{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#57d7ff;color:#04111a;font-size:11px;font-weight:900}
.bteLoopGrid strong{display:block;margin:18px 0 8px;font-size:22px;letter-spacing:.08em}
.bteLoopGrid p{margin:0;color:#afbeca;line-height:1.55}

.bteWeatherPlanHandoff{padding:42px 0;background:#07111e;color:#fff}
.bteWeatherPlanHandoff h2{margin:.35rem 0 .7rem;color:#fff}
.bteWeatherPlanHandoff p{max-width:700px;color:#afbeca}
.bteWeatherPlanHandoff a{display:inline-block;margin-top:8px;padding:12px 18px;border-radius:999px;background:#57d7ff;color:#04111a!important;font-weight:900;text-decoration:none!important}

@media (max-width:1199px){
 .bteHeader .bteNav{gap:0}
 .bteHeader .bteNav>.bteNavItem,.bteNavMore>summary{padding-left:8px!important;padding-right:8px!important}
}
@media (max-width:1000px){
 .bteNavMore{width:100%}
 .bteNavMore>summary{width:100%;justify-content:space-between;padding:10px 11px!important}
 .bteNavMorePanel{position:static;min-width:0;margin:4px 0 0;box-shadow:none;border-radius:12px;background:rgba(255,255,255,.035)}
 .bteJourneyRailInner{padding-left:10px;padding-right:10px}
}
@media (max-width:767px){
 .bteJourneyRailInner{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:6px;padding:8px 12px}
 .bteJourneyRail a{min-width:78%;scroll-snap-align:center;padding:11px 13px}
 .bteLoopHead{display:block}
 .bteLoopHead p{margin-top:10px}
 .bteLoopGrid{grid-template-columns:1fr}
 .bteHomeLoop{padding:26px 0 32px}
}

/* /assets/css/bte-v49-stabilisation.css */
/* BTE V4.9 STABILISATION CONTRACT · 2026-09-30
   One final ownership layer for typography, colour, spacing and the key rider journey.
*/
:root{
  --bte49-ink:#0b1d2b;--bte49-muted:#53697b;--bte49-bg:#f4f7fb;--bte49-card:#fff;
  --bte49-line:#d9e4ec;--bte49-navy:#071521;--bte49-panel:#0d2030;--bte49-cyan:#36d7ff;
  --bte49-blue:#178fe8;--bte49-radius:18px;--bte49-shadow:0 12px 34px rgba(8,34,52,.075);
}
html{scroll-behavior:smooth}
body.bte-public-page{background:var(--bte49-bg)!important;color:var(--bte49-ink)!important;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;font-size:16px!important;line-height:1.55!important}
body.bte-public-page main{overflow-x:clip}
body.bte-public-page :where(h1,h2,h3,h4,p,small,strong,span,label,button,a){font-family:inherit}
body.bte-public-page :where(h1,h2,h3,h4){text-wrap:balance}
body.bte-public-page :where(p,.bte-page-deck,.section-intro){text-wrap:pretty}
body.bte-public-page .bte-page-title{font-size:clamp(2.35rem,5.3vw,5rem)!important;line-height:.98!important;letter-spacing:-.055em!important;color:var(--bte49-ink)!important;-webkit-text-fill-color:currentColor!important;background:none!important;background-clip:border-box!important;-webkit-background-clip:border-box!important}
body.bte-public-page .bte-page-deck{font-size:clamp(1rem,1.35vw,1.2rem)!important;line-height:1.55!important;color:var(--bte49-muted)!important;max-width:820px!important}
body.bte-public-page .bte-section-kicker,body.bte-public-page .bte-card-kicker{font-size:.72rem!important;line-height:1.2!important;letter-spacing:.14em!important;font-weight:900!important;text-transform:uppercase!important;color:#1478b6!important;-webkit-text-fill-color:currentColor!important}
body.bte-public-page :where(h2){font-size:clamp(1.65rem,2.4vw,2.45rem)!important;line-height:1.08!important;letter-spacing:-.035em!important}
body.bte-public-page :where(h3){font-size:clamp(1.12rem,1.7vw,1.5rem)!important;line-height:1.18!important;letter-spacing:-.018em!important}

/* Default light surface ownership. This deliberately overrides the old global dark-card leak. */
body.bte-public-page main :where(.card,.bte-dashboard-panel,.bte-output,.bte-progress-kpi,.bte-context-item,.bte-data-card,.bte-factor-card,.bte-radar-card,.bte-summary-card,.bte-plan-context-card,.bte-planner-group,.bte-baseline-summary,.termCard):not(.card--dark):not(.dark-card):not(.is-dark){background:var(--bte49-card)!important;color:var(--bte49-ink)!important;border-color:var(--bte49-line)!important}
body.bte-public-page main :where(.card,.bte-dashboard-panel,.bte-output,.bte-progress-kpi,.bte-context-item,.bte-data-card,.bte-factor-card,.bte-radar-card,.bte-summary-card,.bte-plan-context-card,.bte-planner-group,.bte-baseline-summary,.termCard):not(.card--dark):not(.dark-card):not(.is-dark) :where(h1,h2,h3,h4,strong){color:var(--bte49-ink)!important;-webkit-text-fill-color:currentColor!important}
body.bte-public-page main :where(.card,.bte-dashboard-panel,.bte-output,.bte-progress-kpi,.bte-context-item,.bte-data-card,.bte-factor-card,.bte-radar-card,.bte-summary-card,.bte-plan-context-card,.bte-planner-group,.bte-baseline-summary,.termCard):not(.card--dark):not(.dark-card):not(.is-dark) :where(p,small,li){color:var(--bte49-muted)!important;opacity:1!important}

/* Explicit dark surfaces. */
body.bte-public-page :where(.bte-overall-coach,.bte-historical-chart-panel,.bte-progress-story,.bte-next-brief,.page-hero,.section--alt,.bteFooter,.bteFooter--production){background-color:var(--bte49-navy)!important;color:#f7fbff!important}
body.bte-public-page :where(.bte-overall-coach,.bte-historical-chart-panel,.bte-progress-story,.bte-next-brief,.page-hero,.section--alt,.bteFooter,.bteFooter--production) :where(h1,h2,h3,h4,strong){color:#f7fbff!important;-webkit-text-fill-color:currentColor!important}
body.bte-public-page :where(.bte-overall-coach,.bte-historical-chart-panel,.bte-progress-story,.bte-next-brief,.page-hero,.section--alt,.bteFooter,.bteFooter--production) :where(p,small,li){color:#c4d3df!important;opacity:1!important}

/* PLAN: one compact intro then controls. */
body.bte-plan-page .bte-page-intro{max-width:1100px!important;margin:0 auto!important;padding:22px 24px 16px!important;text-align:center!important}
body.bte-plan-page .bte-page-intro .bte-page-title{font-size:clamp(2.25rem,4.4vw,4.2rem)!important;margin:.15rem 0 .45rem!important}
body.bte-plan-page .bte-page-intro .bte-page-deck{margin:0 auto!important;max-width:760px!important}
body.bte-plan-page main>.bloc:first-of-type,body.bte-plan-page .bte-page-intro+.bloc{margin-top:0!important;padding-top:0!important}
body.bte-plan-page .bloc>.container.bloc-lg{padding-top:10px!important}
body.bte-plan-page .bte-planner-form{max-width:1120px!important;margin:0 auto!important}
body.bte-plan-page .bte-planner-groups{gap:16px!important}
body.bte-plan-page .bte-planner-group{padding:20px!important;border:1px solid var(--bte49-line)!important;border-radius:var(--bte49-radius)!important;box-shadow:var(--bte49-shadow)!important}
body.bte-plan-page .bte-plan-compact-context{margin:12px 0 16px!important;padding:13px 16px!important;min-height:0!important;border-radius:12px!important}
body.bte-plan-page .bte-plan-focus-inline{min-width:0!important;max-width:58%!important;text-align:right!important}
body.bte-plan-page .bte-plan-baseline-compact{padding-bottom:16px!important}
body.bte-plan-page .bte-planner-submit{margin-top:16px!important}
body.bte-plan-page .bte-planner-group .row{margin-top:0!important}

/* RIDE: never allow text-fill inheritance to hide the hero. */
body[data-page="review"] .bte-page-title,body.bte-session-page[data-page="review"] .bte-page-title,
body[data-page="ride"] .bte-page-title{color:var(--bte49-ink)!important;-webkit-text-fill-color:var(--bte49-ink)!important;background:none!important;background-image:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;text-shadow:none!important}

/* REVIEW: repair the crushed Coach grid shown in the live screenshot. */
body[data-page="performance-report"] .bte-overall-coach{border-radius:22px!important;padding:24px!important;overflow:hidden!important}
body[data-page="performance-report"] .bte-overall-coach-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important;width:100%!important}
body[data-page="performance-report"] .bte-overall-coach-grid>article{grid-column:auto!important;grid-row:auto!important;min-width:0!important;width:auto!important;max-width:none!important;padding:18px!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:14px!important;background:rgba(255,255,255,.055)!important;overflow-wrap:anywhere!important;word-break:normal!important;white-space:normal!important}
body[data-page="performance-report"] .bte-overall-coach-grid>article>span{display:block!important;margin-bottom:8px!important;font-size:.7rem!important;line-height:1.25!important;letter-spacing:.12em!important;color:#70dfff!important}
body[data-page="performance-report"] .bte-overall-coach-grid>article>strong{display:block!important;font-size:1rem!important;line-height:1.5!important;font-weight:750!important;color:#f7fbff!important;-webkit-text-fill-color:#f7fbff!important;white-space:normal!important}
body[data-page="performance-report"] .bte-overall-coach-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:20px!important;align-items:start!important}
body[data-page="performance-report"] .bte-report-grid{grid-template-columns:minmax(0,1fr)!important}
body[data-page="performance-report"] .bte-radar-card{max-width:100%!important;overflow:hidden!important}
body[data-page="performance-report"] .bte-radar-wrap{min-width:0!important;width:100%!important;overflow:auto!important}

/* PROGRESS / RECOVERY ARC. */
body.bte-progress-page .bte-recovery-arc{background:#fff!important;color:var(--bte49-ink)!important;border-top:1px solid var(--bte49-line)!important}
body.bte-progress-page .bte-recovery-arc>.container{padding-top:34px!important;padding-bottom:40px!important}
body.bte-progress-page .bte-recovery-arc h2{color:var(--bte49-ink)!important;-webkit-text-fill-color:var(--bte49-ink)!important;font-size:clamp(1.8rem,2.8vw,2.7rem)!important;margin:.25rem 0 .55rem!important}
body.bte-progress-page .bte-recovery-arc p{color:var(--bte49-muted)!important}
body.bte-progress-page .bte-recovery-sequence{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}
body.bte-progress-page .bte-recovery-sequence article{min-width:0!important;background:#f8fafc!important;color:var(--bte49-ink)!important;border-radius:0 0 14px 14px!important;padding:18px 15px!important}
body.bte-progress-page .bte-recovery-sequence article strong{font-size:1.12rem!important;line-height:1.25!important;color:var(--bte49-ink)!important;-webkit-text-fill-color:currentColor!important}
body.bte-progress-page .bte-recovery-sequence article p{font-size:.9rem!important;line-height:1.5!important;color:var(--bte49-muted)!important}
body.bte-progress-page .bte-history-spider-cta{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin-top:18px!important;padding:16px 18px!important;border:1px solid #b9d9ec!important;border-radius:14px!important;background:#eef8ff!important}
body.bte-progress-page .bte-history-spider-cta strong{color:var(--bte49-ink)!important}
body.bte-progress-page .bte-history-spider-cta p{margin:4px 0 0!important;color:var(--bte49-muted)!important}

/* Restored spider-gram / session explorer. */
body.bte-history-page{background:var(--bte49-bg)!important;color:var(--bte49-ink)!important}
body.bte-history-page .bte-explorer{max-width:1180px!important;padding:34px 22px 72px!important}
body.bte-history-page .bte-explorer-grid{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr)!important;gap:18px!important}
body.bte-history-page .bte-explorer-panel{background:#fff!important;color:var(--bte49-ink)!important;border:1px solid var(--bte49-line)!important;box-shadow:var(--bte49-shadow)!important}
body.bte-history-page .bte-radar-wrap{background:#071521!important;border:1px solid #1d465f!important;border-radius:16px!important;min-height:500px!important;padding:16px!important;overflow:auto!important}
body.bte-history-page .bte-radar{width:min(100%,620px)!important;min-width:520px!important;height:auto!important}
body.bte-history-page .bte-radar text{fill:#dcecf7!important;font-size:11px!important;font-weight:800!important}
body.bte-history-page .bte-radar-grid{stroke:#27485e!important;fill:none!important}
body.bte-history-page .bte-radar-axis{stroke:#385f78!important}
body.bte-history-page .bte-radar-reference{fill:rgba(255,255,255,.025)!important;stroke:#8ba4b6!important}
body.bte-history-page .bte-radar-selected{fill:rgba(54,215,255,.16)!important;stroke:#36d7ff!important}
body.bte-history-page .bte-radar-node{fill:#36d7ff!important;stroke:#fff!important}
body.bte-history-page .bte-explorer-metric{background:#f7f9fb!important;color:var(--bte49-ink)!important;border:1px solid var(--bte49-line)!important}
body.bte-history-page .bte-explorer-metric strong{color:var(--bte49-ink)!important;-webkit-text-fill-color:currentColor!important}
body.bte-history-page .bte-explorer-read,body.bte-history-page .bte-radar-coverage{background:#f7f9fb!important;color:var(--bte49-muted)!important;border:1px solid var(--bte49-line)!important}

/* KITE SPEAK */
body[data-page="terminology"] .termCard{border-radius:14px!important;box-shadow:0 8px 22px rgba(8,34,52,.045)!important}

/* Consistent controls */
body.bte-public-page :where(input,select,textarea){color:var(--bte49-ink)!important;background:#fff!important;border-color:#cbd9e4!important}
body.bte-public-page :where(input,select,textarea):focus{border-color:#249edc!important;box-shadow:0 0 0 3px rgba(36,158,220,.15)!important}
body.bte-public-page .btn{font-weight:800!important;letter-spacing:.035em!important}

@media(max-width:1024px){
  body[data-page="performance-report"] .bte-overall-coach-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.bte-progress-page .bte-recovery-sequence{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.bte-plan-page .bte-plan-focus-inline{max-width:none!important;text-align:left!important}
}
@media(max-width:700px){
  body.bte-public-page .bte-page-title{font-size:clamp(2.1rem,12vw,3.4rem)!important}
  body[data-page="performance-report"] .bte-overall-coach-grid{grid-template-columns:1fr!important}
  body[data-page="performance-report"] .bte-overall-coach-head{grid-template-columns:1fr!important}
  body.bte-progress-page .bte-recovery-sequence{grid-template-columns:1fr!important}
  body.bte-history-page .bte-explorer-grid{grid-template-columns:1fr!important}
  body.bte-history-page .bte-radar{min-width:480px!important}
  body.bte-progress-page .bte-history-spider-cta{align-items:flex-start!important;flex-direction:column!important}
}

/* V4.9.1 key-page hero contrast: Ride and Review are dark hero surfaces. */
body[data-page="ride"] .bte-page-intro,
body[data-page="performance-report"] .bte-page-intro{color:#f7fbff!important}
body[data-page="ride"] .bte-page-intro .bte-page-title,
body[data-page="performance-report"] .bte-page-intro .bte-page-title{color:#f7fbff!important;-webkit-text-fill-color:#f7fbff!important;background:none!important;background-image:none!important}
body[data-page="ride"] .bte-page-intro .bte-page-deck,
body[data-page="performance-report"] .bte-page-intro .bte-page-deck{color:#c4d3df!important}
body[data-page="ride"] .bte-page-intro .bte-section-kicker,
body[data-page="performance-report"] .bte-page-intro .bte-section-kicker{color:#36d7ff!important}

/* V4.9.2 Ride hero contrast: the Ride page uses bte-review-hero, not bte-page-intro. */
body[data-page="ride"] .bte-review-hero,
body[data-page="ride"] .bte-review-hero-grid{color:#f7fbff!important}
body[data-page="ride"] .bte-review-hero h1{color:#f7fbff!important;-webkit-text-fill-color:#f7fbff!important;background:none!important;background-image:none!important;text-shadow:none!important}
body[data-page="ride"] .bte-review-hero p{color:#c4d3df!important;opacity:1!important}
body[data-page="ride"] .bte-review-hero .kicker{color:#36d7ff!important;-webkit-text-fill-color:#36d7ff!important}

/* V4.9.3 Coach cards: stable two-column rhythm; no inherited legacy spans. */
body[data-page="performance-report"] .bte-overall-coach-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body[data-page="performance-report"] .bte-overall-coach-grid>article{grid-column:auto!important;width:100%!important;min-width:0!important}
@media(max-width:700px){body[data-page="performance-report"] .bte-overall-coach-grid{grid-template-columns:1fr!important}}

/* V4.10 workflow continuity: Ride hero actions stay on one row on desktop. */
body[data-page="ride"] .bte-review-hero-actions{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important}
body[data-page="ride"] .bte-review-owner{display:contents}
body[data-page="ride"] .bte-review-owner[hidden]{display:none!important}
body[data-page="ride"] .bte-review-owner a{margin-top:0!important}
@media (max-width:767px){body[data-page="ride"] .bte-review-hero-actions{align-items:stretch!important}body[data-page="ride"] .bte-review-hero-actions>a,body[data-page="ride"] .bte-review-owner a{width:100%!important}}

