/* /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-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-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-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}}

