
/* style.css */
:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#342b42;background:#faf7fd;font-synthesis:none;--purple:#803cc0;--accent:#a54169;--line:#eadcf2;--muted:#74677d;font-size:16px}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 0 0,#f0e6fa,transparent 60%),#fbf8fe;padding-bottom:125px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:var(--purple)}h1,h2,h3,p{margin:0}h1{font-size:clamp(30px,4vw,48px);letter-spacing:-.045em;line-height:1.1}h2{font-size:clamp(24px,2.3vw,30px);letter-spacing:-.04em;line-height:1.2}h3{font-size:20px;letter-spacing:-.025em}p{line-height:1.65}small{font-size:14px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #9752c3;outline-offset:3px}button{border:0}[hidden]{display:none!important}.skip{position:absolute;top:-80px}.skip:focus{top:0;background:#fff;z-index:200;padding:16px}.top,main{width:min(1280px,92%);margin:auto}.top{padding:25px 0;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;flex-shrink:0}.brand img{width:58px;height:58px;border-radius:16px}.brand strong{display:block;font-size:24px;letter-spacing:-.055em;background:linear-gradient(120deg,#783aca,#d449b4);background-clip:text;color:transparent}.brand b{font:26px Georgia,serif;color:var(--accent)}.top #header-actions{display:flex;gap:12px;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;border:1px solid var(--line);padding:12px 20px;border-radius:15px;background:#fff;color:#79508c;font-weight:750;text-decoration:none;line-height:1.4;white-space:normal;text-align:center}.btn.primary{background:linear-gradient(120deg,#793ccc,#ad43b6 60%,#cc4cab);color:#fff;border-color:transparent;box-shadow:0 6px 18px #873bb81c}.btn.white{background:#fff;color:var(--accent);border:0}.btn.ghost{background:#ffffff15;color:#fff;border-color:#ffffff70}.btn.small{padding:9px 14px;min-height:44px;font-size:14px}.btn.danger{color:#a73550}.icon{width:24px;height:24px;flex:none}.icon-button{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#f3eafa;color:#854caf}.eyebrow{font-size:12px;font-weight:850;letter-spacing:.16em;text-transform:uppercase;color:#b148b4;display:block;margin-bottom:12px}.section-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;margin:24px 0}.section-head p,.muted{color:var(--muted)}.hero{padding:36px;border-radius:30px;background:linear-gradient(120deg,#bd582a,#b33e72 65%,#9a286f);color:white;position:relative;overflow:hidden;min-width:0}.hero:after{content:'';position:absolute;width:420px;height:420px;border:1px solid #ffffff15;border-radius:50%;right:-180px;top:-100px;pointer-events:none;box-shadow:0 0 0 60px #ffffff06,0 0 0 120px #ffffff06}.hero>*{position:relative;z-index:1}.hero .eyebrow{color:#ffe3e9}.hero h1{margin-bottom:20px}.hero p{max-width:52ch;color:#fff0f5}.hero .actions{margin-top:24px}.hero-split{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px}.today-block{margin-top:32px;background:#ffffff14;border:1px solid #ffffff40;border-radius:22px;padding:24px;display:grid;gap:14px}.today-block h2{font-size:30px}.today-block .chips{color:#fff}.today-block .chip{background:#ffffff17;color:#fff}.card{background:#fffffff2;border:1px solid var(--line);border-radius:28px;padding:28px;box-shadow:0 14px 36px #68417c08;min-width:0;margin-bottom:22px}.card>p{color:var(--muted);margin-top:10px}.tile{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:17px;color:#9458c5;background:#f1e7fb}.tile.teal{background:#e6f6ed;color:#309677}.tile.orange{background:#fff0df;color:#d48930}.tile.pink{background:#fbe6f2;color:#ce4a94}.tile.blue{background:#e7effb;color:#7297bf}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.metric{display:flex;gap:15px;align-items:center;min-width:0;padding:22px;background:#ffffffcc;border:1px solid var(--line);border-radius:24px}.metric span:not(.tile){color:var(--muted);font-size:14px}.metric strong{display:block;font-size:29px;margin-top:4px;letter-spacing:-.04em;overflow-wrap:anywhere}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.chips{display:flex;gap:8px;flex-wrap:wrap}.chip{display:inline-block;border-radius:10px;padding:7px 10px;background:#f4edf8;color:#755587;font-size:14px}.week-mini{display:grid;gap:12px;margin-top:22px}.day-row{display:flex;align-items:center;gap:16px;padding:16px;border:1px solid var(--line);border-radius:18px;color:inherit;background:#fff;text-align:left;width:100%;min-width:0}.day-row>div{min-width:0}.day-row span:not(.tile){display:block;font-size:14px;color:var(--muted);margin-top:5px}.day-row.current{border-color:#55a58e;background:#effaf5}.day-row.done{border-color:#d9eade}.row{padding:20px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.row>div{min-width:0}.row p{color:var(--muted)}.empty{padding:36px 20px;text-align:center;border:1px dashed #e2d1ed;border-radius:22px;background:#fcf9ff}.empty h3{margin-bottom:10px}.empty p{color:var(--muted)}label{display:grid;gap:10px;font-weight:650;font-size:16px;min-width:0;color:#675376}input,select,textarea{min-width:0;width:100%;max-width:100%;border:1px solid #ddcfe8;border-radius:13px;background:#fff;color:#342b42;padding:13px 14px;min-height:50px;font-size:16px}input[type=date]{display:block;min-width:0;-webkit-min-logical-width:0}textarea{min-height:110px;resize:vertical}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:24px 0}.fields .full{grid-column:1/-1}.fields>*,fieldset{min-width:0}fieldset{border:0;margin:0;padding:0}legend{font-weight:750;margin-bottom:16px}.options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.choice{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--line);border-radius:16px;min-height:58px;background:#fff;font-weight:550}.choice:has(input:checked){border-color:#a867c7;background:#f7f0fb}.choice input{width:20px;min-height:20px;flex:none;accent-color:#8a43bc}.help{font-size:15px;line-height:1.6;color:var(--muted);margin:12px 0}.onboarding{max-width:800px;margin:0 auto}.stepper{display:flex;gap:8px;margin:22px 0}.stepper span{height:5px;flex:1;background:#eee3f4;border-radius:4px}.stepper .filled{background:#9c4ac1}.onboarding .actions{justify-content:space-between}.password{display:flex;gap:8px;align-items:center;min-width:0}.password input{flex:1;width:0;min-width:0}.auth-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:30px}.auth-card{padding:36px}.auth-card form{display:grid;gap:20px;margin:24px 0}.auth-intro{min-height:520px;display:flex;flex-direction:column;justify-content:center}.auth-intro h1{max-width:12ch;font-size:clamp(36px,5vw,58px)}.auth-intro .brand-symbol{width:86px;height:86px;object-fit:contain;background:#fff;border-radius:24px;margin-bottom:30px}.auth-links{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.text-btn{background:none;color:#803cb4;font-weight:650;padding:8px 0;text-decoration:underline}.notice{padding:20px;border-radius:18px;background:#f6effa;border:1px solid var(--line);font-size:16px;line-height:1.65;margin:20px 0}.notice.warning{background:#fff7e9;border-color:#eddbbe;color:#735a32}.error{color:#a73550;line-height:1.5}#nav{position:fixed;left:50%;transform:translateX(-50%);bottom:max(12px,env(safe-area-inset-bottom));display:flex;gap:6px;width:min(980px,94%);padding:12px;background:#fffffff7;border:1px solid var(--line);border-radius:26px;box-shadow:0 12px 38px #64388312;z-index:20;backdrop-filter:blur(15px)}#nav:empty{display:none}#nav button{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;gap:7px;padding:0 4px 6px;background:none;color:#8c7f99;font-size:13px;font-weight:700}#nav .tile{width:42px;height:40px;border-radius:14px}#nav .active{color:#813bc0}#nav .active .tile{background:linear-gradient(120deg,#793ccc,#ad43b6 53%,#e461a9);color:#fff}.session-list{display:grid;gap:14px;margin-top:20px}.exercise{border:1px solid var(--line);border-radius:22px;padding:22px;min-width:0;background:linear-gradient(145deg,#fff,#fcf8ff)}.exercise summary{display:flex;align-items:center;gap:16px;cursor:pointer;list-style:none}.exercise summary::-webkit-details-marker{display:none}.exercise summary>div{flex:1;min-width:0}.exercise h3{margin-bottom:10px}.exercise .instructions{padding-top:20px;margin-top:20px;border-top:1px solid var(--line)}.instructions li{line-height:1.7;margin:12px 0}.phase{margin:30px 0 12px;font-size:18px;color:#8558a1}.week-tabs{display:flex;gap:10px;overflow:auto;padding:5px 2px 15px;margin-top:20px}.week-tabs button{flex:1;min-width:90px;border:1px solid var(--line);border-radius:17px;padding:14px;background:white;color:#735180}.week-tabs .selected{background:#823eb9;color:#fff}.week-tabs strong,.week-tabs small{display:block}.week-tabs small{margin-top:7px}.workout{max-width:840px;margin:auto}.workout h1{margin-top:16px}.workout .card{padding:32px}.workout-quantities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:26px 0}.quantity{padding:20px;background:#f6effa;border-radius:20px;text-align:center}.quantity strong{display:block;font-size:32px;color:#79508c}.quantity span{display:block;margin-top:7px;color:var(--muted)}.sets{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.sets button{border:1px solid #d9c4e9;background:#fff;color:#7c489c;border-radius:16px;padding:16px;min-width:90px;min-height:58px;font-weight:750}.sets .done{background:#e9f6ef;border-color:#74b899;color:#226e51}.timer{padding:24px;text-align:center;background:#fff1f5;border-radius:22px;margin:22px 0}.timer strong{display:block;font-size:48px;color:var(--accent);font-variant-numeric:tabular-nums}.workout-progress{height:8px;background:#ede1f4;border-radius:8px;margin:20px 0;overflow:hidden}.workout-progress span{height:100%;display:block;background:linear-gradient(120deg,#793ccc,#cf4fb1)}.chart{width:100%;height:190px;overflow:visible;margin:22px 0}.chart-label{font-size:12px;fill:#74677d}.history-row{border-top:1px solid var(--line);padding:18px 0;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.bar-chart{display:flex;gap:12px;align-items:end;height:180px;padding-top:20px}.bar-col{display:flex;flex-direction:column;align-items:center;justify-content:end;gap:8px;flex:1;height:100%;font-size:13px}.bar-col i{display:block;width:70%;min-height:4px;background:linear-gradient(#a468c6,#d8bee8);border-radius:8px}.price{font-size:44px;font-weight:800;letter-spacing:-.045em;margin:16px 0}.price small{font-size:16px;font-weight:500}.price-detail{display:flex;justify-content:space-between;gap:25px;padding:15px 0;border-bottom:1px solid var(--line)}dialog{width:min(800px,94vw);max-height:90dvh;overflow:auto;border:1px solid var(--line);border-radius:26px;padding:28px;color:#342b42;box-shadow:0 20px 80px #35233c40}dialog::backdrop{background:#221b386b;backdrop-filter:blur(4px)}.dialog-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.video{aspect-ratio:16/9;width:100%;border:0;border-radius:18px;background:#111}.admin-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.admin-tabs button{padding:12px 16px;border-radius:14px;background:#f2e8f8;color:#79508c}.admin-tabs .selected{background:#823bbb;color:#fff}.admin-table{display:grid;gap:12px}.admin-item{padding:20px;border:1px solid var(--line);border-radius:20px;display:flex;gap:20px;justify-content:space-between;align-items:center;flex-wrap:wrap;min-width:0}.admin-item>div{min-width:0;overflow-wrap:anywhere}.loading{text-align:center;padding:60px}#toast{position:fixed;left:50%;bottom:115px;transform:translateX(-50%);background:#34283f;color:white;padding:16px 22px;border-radius:16px;max-width:92vw;z-index:1000;display:none}#toast.visible{display:block}.legal{max-width:750px;margin:25px auto}.legal h2{margin-top:28px}.legal p{margin:16px 0}.footer-links{display:flex;gap:18px;justify-content:center;margin:30px 0;color:var(--muted);font-size:14px}.checkline{display:flex;align-items:flex-start;gap:12px;font-size:15px;font-weight:500;line-height:1.6}.checkline input{width:22px;min-height:22px;flex:none}.day-status{color:#238464!important}
@media(max-width:1024px){.hero-split{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}.hero{padding:28px}.metrics{gap:14px}.metric{padding:18px}.auth-layout{grid-template-columns:1fr 1fr}.auth-card{padding:28px}.workout-quantities{gap:12px}.fields{gap:24px}}
@media(max-width:768px){.top,main{width:92%}.hero-split,.auth-layout,.grid{grid-template-columns:1fr}.auth-intro{min-height:auto;padding:30px}.auth-intro h1{max-width:100%;font-size:34px}.auth-intro .brand-symbol{display:none}.hero h1{font-size:34px}.hero{border-radius:25px}.hero-split>.card{margin-bottom:0}.metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.metric{flex-direction:column;align-items:flex-start;padding:16px}.metric strong{font-size:26px}.card{padding:24px}.brand strong{font-size:21px}.brand b{font-size:24px}.brand img{width:50px;height:50px}.top #header-actions .btn{padding:10px 14px}.fields{grid-template-columns:1fr}.options{grid-template-columns:repeat(2,minmax(0,1fr))}#nav{padding:11px 5px;gap:0}#nav button{font-size:12px;padding:0 1px 6px}.day-row{padding:16px}.workout .card{padding:24px}.quantity{padding:17px 8px}.quantity strong{font-size:29px}.workout .actions .btn{flex:1}.week-tabs button{min-width:85px}.admin-item{align-items:flex-start}.auth-links{gap:8px}}
@media(max-width:430px){.top{padding:20px 0}.brand img{width:42px;height:42px}.brand strong{font-size:19px}.brand b{font-size:22px}.top #header-actions .btn{font-size:14px;min-height:44px;padding:8px 11px}.metrics{grid-template-columns:1fr}.metric{flex-direction:row;align-items:center;padding:18px}.metric strong{font-size:28px}.options{grid-template-columns:1fr}.card,.hero,.auth-card{padding:22px;border-radius:24px}.today-block{padding:20px}.today-block h2{font-size:26px}.exercise{padding:18px}.exercise summary{align-items:flex-start;gap:12px}.exercise summary>.tile{width:36px;height:36px;border-radius:12px}.exercise h3{font-size:19px}.actions .btn{flex:1 1 100%}.dialog-title h2{font-size:23px}dialog{padding:22px}.workout-quantities{grid-template-columns:1fr}.quantity{display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;padding:16px 20px}.quantity span{margin:0}.quantity strong{font-size:30px}#nav .tile{width:36px;height:35px;border-radius:12px}#nav button{font-size:11px}#nav .icon{width:22px;height:22px}.section-head .btn{width:100%}.price{font-size:38px}.fields{gap:24px}.chip{font-size:14px}.sets button{flex:1}.top{gap:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Bernard Health product cover: shared family composition, Gym House palette. */
.top.product-cover{position:relative;isolation:isolate;display:block;overflow:hidden;height:350px;margin:24px auto 30px;padding:0;border:1px solid var(--line);border-radius:30px;background:linear-gradient(115deg,#ee823b,#da4899);box-shadow:0 16px 42px #56306714}
.cover-art{position:absolute;inset:0;background:linear-gradient(115deg,#ee823b,#da4899);pointer-events:none}
.cover-art:before{content:'';position:absolute;inset:0;background:url('assets/technology-connections-v1.png') center/cover;mix-blend-mode:luminosity;opacity:.48}
.cover-photo{position:absolute;inset:0 0 0 39%;background:url('assets/gym-house-cover-v1.webp') center top/cover no-repeat;mask-image:linear-gradient(90deg,transparent,#000 30%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 30%);pointer-events:none}
.cover-watermark{position:absolute;left:3%;top:43%;font:clamp(38px,5vw,68px)/1 Georgia,serif;color:#fff;opacity:.2;letter-spacing:-.05em;pointer-events:none}
.cover-content{position:relative;z-index:1;width:52%;height:100%;padding:26px 28px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:20px}
.product-cover .brand{max-width:100%;padding:14px 18px;border-radius:22px;background:#fffffff0;border:1px solid #ffffffa8;box-shadow:0 8px 28px #4c273a12;flex-shrink:1}
.product-cover .brand b{font-size:30px;color:#ae436e}.cover-bottom{display:grid;gap:12px;max-width:100%}.cover-caption{display:grid;gap:7px;padding:13px 16px;border-radius:15px;background:#fff7f4f0;color:#694355}.cover-caption>span{font-size:10px;font-weight:850;letter-spacing:.13em}.cover-caption strong{font-size:14px;line-height:1.5}.top #header-actions{flex-wrap:wrap}.top #header-actions:empty{display:none}
.auth-intro{min-height:440px;background:linear-gradient(145deg,#b75529,#b63878);justify-content:center}.auth-intro .brand-symbol{display:none}.auth-intro h1{font-size:clamp(34px,4vw,48px)}
/* On smaller screens the photo and controls occupy separate rows. */
@media(max-width:959px){
 .top.product-cover{display:flex;flex-direction:column;gap:0;height:auto;min-height:0;width:92%;margin:18px auto 26px;border-radius:26px}
 .cover-photo{position:relative;inset:auto;width:100%;height:clamp(240px,55vw,380px);flex:none;background-position:right center;mask-image:linear-gradient(#000 72%,transparent);-webkit-mask-image:linear-gradient(#000 72%,transparent)}
 .cover-content{width:100%;height:auto;min-height:0;margin:0;padding:22px;gap:18px;background:transparent}
 .cover-watermark{display:none}.cover-bottom{width:100%;gap:18px}.cover-caption{padding:13px 16px;background:#fff7f4f0;border-radius:15px}.cover-caption strong{font-size:15px;line-height:1.6}.cover-caption>span{font-size:11px}
 .product-cover .brand{background:#fff;box-shadow:none;padding:12px 16px}.product-cover .brand img{width:46px;height:46px}.product-cover .brand strong{font-size:24px}.product-cover .brand b{font-size:28px}
 .top #header-actions{display:flex;flex-wrap:wrap;gap:12px;width:100%;padding-top:0;border-top:0}
 .top #header-actions .btn{flex:1 1 120px;min-height:48px;font-size:15px;padding:12px 16px}
 .top #header-actions .chip{flex:1 1 100%;background:#f0e2f4;line-height:1.5}
}
@media(max-width:480px){.top.product-cover{margin-top:14px}.cover-content{padding:18px}.product-cover .brand{gap:10px;padding:12px}.product-cover .brand strong{font-size:22px}.product-cover .brand b{font-size:27px}.product-cover .brand img{width:42px;height:42px}}

body[data-view="workout"] .product-cover{display:none}
body[data-view="workout"] main{padding-top:24px}

.price small{letter-spacing:normal;margin-left:6px}

/* Shared Bernard Health sign-in composition; scoped to signed-out screens. */
body[data-auth="true"]{padding-bottom:0}
body[data-auth="true"]>.product-cover{display:none}
body[data-auth="true"] main{width:min(1440px,94%);margin:36px auto}
.auth-layout{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);gap:0;overflow:hidden;border:1px solid var(--line);border-radius:32px;background:#fff;box-shadow:0 18px 54px #6234780c}
.auth-visual{position:relative;isolation:isolate;min-width:0;min-height:780px;background:#b03b86 url('assets/gym-house-cover-v1.webp') 100% top/auto 78% no-repeat;display:flex;align-items:flex-end;padding:42px;color:#fff}
.auth-visual:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 27%,#c6479260 44%,#b33d88 70%,#a83580 100%)}
.auth-visual-copy{max-width:540px}
.auth-kicker{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.13em;border:1px solid #ffffff80;border-radius:12px;padding:12px 15px;margin-bottom:24px;background:#ffffff12}
.auth-visual h1{font-size:clamp(32px,3.5vw,48px);line-height:1.16;margin-bottom:22px;letter-spacing:-.04em}
.auth-visual p{font-size:18px;line-height:1.7;color:#fff7fb;max-width:45ch}
.auth-card{min-width:0;padding:40px}
.auth-card .auth-brand{margin-bottom:32px;gap:15px;max-width:100%;flex-shrink:1}
.auth-brand img{width:64px;height:64px;border-radius:16px}
.auth-brand strong{font-size:28px}
.auth-brand b{font-size:34px;line-height:1.2}
.auth-trial{position:relative;overflow:hidden;border-radius:24px;padding:26px 22px;margin-bottom:30px;background:linear-gradient(120deg,#803ac4,#c44ca4);color:white;text-align:center}
.auth-trial .eyebrow{color:#fff;font-size:11px;margin-bottom:16px}
.auth-trial h2{font-size:clamp(26px,2.6vw,36px);line-height:1.5}
.auth-trial p{font-size:16px;font-weight:750;line-height:1.6;color:#675772;background:#fff6fb;border-radius:13px;padding:12px;margin-top:18px;overflow-wrap:anywhere}
.auth-form-heading p{color:var(--muted);line-height:1.7;margin-top:16px}
.auth-card form{gap:20px;margin:24px 0}
.auth-card .error:empty{display:none}
.auth-card .password .icon-button{flex:none}
.auth-card .footer-links{margin:26px 0 0}
@media(max-width:1024px){.auth-card{padding:30px}.auth-visual{padding:32px;min-height:740px}.auth-brand strong{font-size:25px}.auth-brand b{font-size:30px}.auth-brand img{width:56px;height:56px}.auth-trial{padding:24px 18px}.auth-trial p{font-size:16px}}
@media(max-width:800px){body[data-auth="true"] main{width:94%;margin:20px auto}.auth-layout{grid-template-columns:1fr;border-radius:26px}.auth-visual{display:none}.auth-card{padding:32px;max-width:640px;width:100%;margin:auto}.auth-card .auth-brand{margin-bottom:26px}.auth-trial{margin-bottom:26px}.auth-trial h2{font-size:30px}}
@media(max-width:430px){body[data-auth="true"] main{width:94%;margin:12px auto}.auth-layout{border-radius:23px}.auth-card{padding:24px 20px}.auth-card .auth-brand{gap:10px}.auth-brand img{width:48px;height:48px}.auth-brand strong{font-size:23px}.auth-brand b{font-size:28px}.auth-trial{padding:22px 14px;border-radius:20px}.auth-trial h2{font-size:28px}.auth-trial p{padding:12px 10px}.auth-links{gap:12px}.auth-links .text-btn{min-height:44px;text-align:left}}

.adaptation-guide{margin-bottom:28px}.effort-table{border:1px solid var(--line);border-radius:18px;overflow:hidden;margin:20px 0}.effort-table>[role=row]{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,3fr);gap:20px;padding:18px;border-top:1px solid var(--line);align-items:start}.effort-table>[role=row]:first-child{border-top:0;background:#f5edf9}.effort-table [role=rowheader]{color:#90449c}.effort-table p{font-size:16px;line-height:1.65}.rest-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.rest-guide p{padding:18px;background:#f7eff9;border-radius:16px;font-size:16px}.rest-guide strong{display:block;color:#8b4299;font-size:22px;margin-bottom:8px}.guide-sources{padding:16px;border:1px solid var(--line);border-radius:16px;margin:20px 0}.guide-sources summary{cursor:pointer;font-weight:700}.guide-sources p{margin-top:12px}.guide-sources a{display:block;margin-top:12px;overflow-wrap:anywhere}@media(max-width:600px){.effort-head{display:none!important}.effort-table>[role=row]{grid-template-columns:1fr;gap:8px}.rest-guide{grid-template-columns:1fr}.workout-quantities .quantity strong{font-size:24px;white-space:nowrap}}

/* Pending workout calibration, grouped by day on every screen. */
.adjustment-day{border:1px solid var(--line,#e9ddf4);border-radius:18px;margin:14px 0;overflow:hidden}.adjustment-day summary{padding:18px;font-weight:700;cursor:pointer;line-height:1.5}.adjustment-day .notice{margin:0 14px 14px}.adjustment-list + .actions .btn{white-space:normal;min-height:48px}

.cardio-stages{display:grid;gap:12px;margin-top:14px;min-width:0}.cardio-stages>div{padding:12px 16px;border-left:3px solid #bd3b91;background:#fbf5fc;border-radius:10px}.cardio-stages strong{font-size:1rem}.cardio-stages p{margin:6px 0 0;font-size:1rem;line-height:1.5;overflow-wrap:anywhere}

/* remember-user.css */
form label.bh-remember-user{display:flex!important;align-items:center;gap:12px;min-height:44px;margin:8px 0 16px;padding:4px 0;font:inherit;font-size:15px;line-height:1.5;font-weight:500;color:inherit;text-align:left;cursor:pointer;grid-column:1/-1}
form label.bh-remember-user>input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;flex:0 0 20px;width:20px!important;height:20px!important;min-height:20px!important;max-width:20px;padding:0!important;margin:0!important;accent-color:#943bb7}
form label.bh-remember-user>span{min-width:0;overflow-wrap:break-word}

/* product-access-theme.css */
/* Product identity is limited to signed-out access and registration. */
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]){--access-color:#d740a0;--access-dark:#a52b66;--access-tint:#fff2f8;--access-light:#ffcbdf;--access-gradient:linear-gradient(125deg,#d96925,#bd287e);--access-line:color-mix(in srgb,#d740a0 32%,white)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]):has(.auth-layout),#authGate:has(.bh-entry){background:radial-gradient(ellipse at 0 0,var(--access-light),transparent 55%),var(--access-tint)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) :is(.auth-layout,.bh-entry){border-color:var(--access-line);box-shadow:0 22px 64px color-mix(in srgb,var(--access-color) 12%,transparent)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card{background:linear-gradient(145deg,#fff,var(--access-tint));border-color:var(--access-line)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .bh-entry :is(.auth-story,.auth-intro,.senior-auth-story){background:linear-gradient(135deg,var(--access-dark),var(--access-color))}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(.professional-trial-promo,[class$="-trial-offer"],.auth-trial){background:var(--access-gradient);border-color:var(--access-line);color:#fff;box-shadow:0 10px 28px color-mix(in srgb,var(--access-color) 20%,transparent)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(.professional-trial-promo,[class$="-trial-offer"],.auth-trial) :is(h2,h2 span,h2 strong,strong,b,.eyebrow),:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(.professional-trial-promo,[class$="-trial-offer"],.auth-trial)>span{color:inherit}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(.professional-trial-promo,[class$="-trial-offer"],.auth-trial) :is(.subscription-price,p){background:#ffffffed;color:var(--access-dark)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(.bh-brand span,.bh-brand h1,.auth-brand b),#authView .bh-entry #welcomeTitle{color:var(--access-dark)!important}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(input:not([type="checkbox"]):not([type="radio"]),select){background:#fff;border-color:var(--access-line)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(input[type="checkbox"],input[type="radio"]){accent-color:var(--access-dark)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(.btn.primary,.auth-primary,.primary){background:linear-gradient(125deg,var(--access-dark),color-mix(in srgb,var(--access-dark) 75%,var(--access-color)));color:white;border-color:transparent;box-shadow:0 7px 20px color-mix(in srgb,var(--access-color) 18%,transparent)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(.auth-links button,.auth-secondary,.text-btn){background:var(--access-tint);color:var(--access-dark);border-color:var(--access-line)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(a,.bh-eye,.password .icon-button,.eyebrow,.trial-promo-cta){color:var(--access-dark)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(button,input,select,a):focus-visible{outline-color:var(--access-dark)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card .bh-eye[aria-pressed="true"]{background:var(--access-light)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(.bh-brand strong,.auth-brand strong){background:linear-gradient(125deg,#793ac2,#ce529f);background-clip:text;-webkit-background-clip:text;color:transparent}

/* Visible product photo in sign-in and registration on every screen size. */
body[data-auth="true"] main{width:min(1180px,calc(100% - 48px));margin:32px auto}
body[data-auth="true"] .auth-layout{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);border-radius:28px}
body[data-auth="true"] .auth-visual{display:block;padding:0;min-height:0;background:linear-gradient(145deg,#bc582b,#b33e83 70%);overflow:hidden}
body[data-auth="true"] .auth-visual:before{display:none}
body[data-auth="true"] .auth-photo{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:75% center;-webkit-mask-image:linear-gradient(#000 0%,#000 76%,transparent 100%);mask-image:linear-gradient(#000 0%,#000 76%,transparent 100%)}
body[data-auth="true"] .auth-visual-copy{max-width:none;padding:12px 36px 36px}
body[data-auth="true"] .auth-kicker{font-size:10px;line-height:1.5;padding:7px 11px;margin:0 0 22px;border-radius:10px;border-color:#ffffff45}
body[data-auth="true"] .auth-visual h1{font-size:clamp(30px,3.2vw,42px);line-height:1.12;margin:0 0 16px}
body[data-auth="true"] .auth-visual p{font-size:15px;line-height:1.65}
body[data-auth="true"] .auth-card{padding:36px;max-width:none}
body[data-auth="true"] .auth-card .auth-brand{margin-bottom:28px}
body[data-auth="true"] .auth-trial{padding:24px;border-radius:20px;margin-bottom:28px}
#main .auth-card .auth-trial .eyebrow{color:#fff;font-size:10px}
body[data-auth="true"] .auth-trial h2{font-size:30px;line-height:1.25}
body[data-auth="true"] .auth-trial p{font-size:17px;line-height:1.4;padding:7px 13px;border-radius:10px}
@media(max-width:800px){
 body[data-auth="true"] main{width:calc(100% - 32px);max-width:600px;margin:16px auto}
 body[data-auth="true"] .auth-layout{grid-template-columns:1fr;border-radius:24px}
 body[data-auth="true"] .auth-photo{aspect-ratio:16/9;object-position:75% 40%}
 body[data-auth="true"] .auth-visual-copy{padding:8px 24px 28px}
 body[data-auth="true"] .auth-visual h1{font-size:32px}
 body[data-auth="true"] .auth-visual p{font-size:14px}
 body[data-auth="true"] .auth-card{padding:28px 24px}
 body[data-auth="true"] .auth-trial{padding:23px 18px}
}
@media(max-width:390px){body[data-auth="true"] .auth-visual-copy{padding:8px 20px 24px}body[data-auth="true"] .auth-visual h1{font-size:29px}body[data-auth="true"] .auth-card{padding:24px 20px}body[data-auth="true"] .auth-brand strong{font-size:22px}body[data-auth="true"] .auth-brand b{font-size:27px}body[data-auth="true"] .auth-trial h2{font-size:27px}}
