/* The coach has a reserved seat, never an overlay over the workout. */
.has-companion .main-wrap{margin-right:326px}
.has-companion .sidebar{width:204px}
.has-companion .main-wrap{margin-left:204px}
.has-companion .topbar{position:sticky;top:0;z-index:20;background:#fffefaed;backdrop-filter:blur(12px);padding:0 25px}
.has-companion main{padding:26px 25px 10px}
.has-companion .date-label,.has-companion .topbar .avatar{display:none}
.has-companion .top-right{gap:10px}
.top-workout{font-size:13px;padding:9px 13px;min-height:38px}
.has-companion .page-heading{flex-wrap:wrap;align-items:flex-start;gap:16px}
.has-companion .page-heading h1{font-size:28px}
.has-companion .subtitle{max-width:650px}
.has-companion .hero-grid{grid-template-columns:minmax(0,1fr) 264px;gap:18px}
.today-launch,.room-intro{background:#eaf1de;border:1px solid #d5e2bf;border-radius:18px;padding:26px;display:flex;flex-direction:column;justify-content:center;min-width:0}
.launch-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:22px}
.launch-top .eyebrow{margin:0;color:#5b7647;font-size:11px}
.today-launch h2,.room-intro h2{font-size:32px;letter-spacing:-1px;line-height:1.15;margin-bottom:14px}
.today-launch p,.room-intro p{font-size:16px;line-height:1.7;color:#667d54}
.launch-meta{display:flex;align-items:center;gap:8px;color:#587044;font-size:14px;margin:23px 0}
.launch-meta>span{display:flex;align-items:center;gap:7px;margin-left:8px}
.launch-workout{align-self:flex-start;background:#355436!important;border-color:#355436!important;color:white!important;font-size:16px;padding:14px 23px;min-height:50px}
.launch-workout:hover{background:#274329!important}
.launch-caption{font-size:12px;margin-top:18px;color:#80906d}
.room-intro{background:#eef1e5;padding:28px;gap:14px}
.room-intro .eyebrow{margin-bottom:0}.room-intro h2{font-size:28px;margin-bottom:0}.room-intro-icon{color:#8da767}
.room-intro .btn{align-self:flex-start;margin-top:8px}
.has-companion .daily-stack{display:flex;flex-direction:column}
.has-companion .goal-card{display:none}
.has-companion .week-grid{gap:7px}
.has-companion .day-card{padding:11px 8px}
.has-companion .day-card strong{font-size:12px}
.has-companion .day-card small{font-size:11px}
.has-companion .day-name{font-size:13px}
.has-companion .day-name i{font-size:8px}
.has-companion .workout-card{scroll-margin-top:99px}
.has-companion .workout-card .section-head{flex-wrap:wrap}
.has-companion .exercise-row{grid-template-columns:23px minmax(0,1fr) 90px 135px;gap:12px}
.has-companion .exercise-header{grid-template-columns:1fr 90px 135px}
.has-companion .exercise-info small{font-size:12px}
.has-companion .meal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.has-companion .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.has-companion .bedroom-grid{grid-template-columns:1fr}
.has-companion .welcome-grid{grid-template-columns:1fr;margin-top:0}
.has-companion .welcome-stage{display:none}
.has-companion .welcome-card{padding:36px;min-height:490px;background:linear-gradient(135deg,#fffefa,#eff4e7)}
.has-companion .welcome-card h2{font-size:42px}
.has-companion .intro-bottom{flex-wrap:wrap;justify-content:flex-start;padding:25px 8px;gap:20px}
.has-companion #toast{left:calc(50% - 60px);max-width:600px}
#companion{position:fixed;top:18px;bottom:18px;right:18px;width:290px;z-index:25;border:1px solid #dce4ce;border-radius:22px;background:#fffefa;box-shadow:0 7px 30px #4a60370b;padding:18px;display:flex;flex-direction:column;gap:14px;--look-x:0px;--look-y:0px}
.companion-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}
.coach-name{font-size:25px;font-weight:750;letter-spacing:-.8px}
.coach-name>span{display:block;font-size:9px;letter-spacing:1.8px;font-weight:600;color:#91a176}
.coach-presence{font-size:11px;color:#6d8752;display:flex;gap:5px;align-items:center}
.coach-presence:before{content:"";width:5px;height:5px;background:#7f9d53;border-radius:50%}
.coach-bubble{border:1px solid #dce6c9;background:#f1f6e8;border-radius:14px;padding:15px;position:relative;flex-shrink:0;z-index:2}
.coach-bubble:after{content:"";position:absolute;bottom:-9px;left:calc(50% - 9px);height:16px;width:16px;border-bottom:1px solid #dce6c9;border-right:1px solid #dce6c9;background:#f1f6e8;transform:rotate(45deg)}
.coach-mood{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#6a844c;font-weight:700;display:block;margin-bottom:7px}
.coach-bubble p{font-size:14px;line-height:1.6;color:#415734;min-height:66px}
.companion-scene{position:relative;isolation:isolate;border-radius:16px;overflow:hidden;min-height:150px;flex:1;background:linear-gradient(#e5edda,#d4dfbc)}
.companion-room{position:absolute;inset:0;opacity:.64;z-index:-1}
.companion-room .room-art{width:190%;height:100%;left:-46%;transform:none!important}
.bear-touch{position:absolute;inset:0 0 14px;border:0;background:transparent;padding:10px 20px 0;touch-action:manipulation}
.bear-touch:hover{background:#e1ebcb33}
.bear-touch:focus-visible{outline-offset:-5px;border-radius:15px}
.companion-bear{height:100%;width:100%;overflow:visible;max-height:360px;filter:drop-shadow(0 5px 2px #49613808)}
.touch-hint{position:absolute;bottom:9px;left:0;right:0;text-align:center;color:#718759;font-size:11px;pointer-events:none}



.companion-session{border-top:1px solid #e2e9d7;padding-top:15px}
.companion-session-label{display:flex;justify-content:space-between;gap:8px;font-size:11px;margin-bottom:12px;align-items:center}
.companion-session-label b{font-weight:600;color:#587345}.companion-session-label>span{font-size:10px;color:#8da476}
.companion-cta{width:100%;font-size:14px}
.companion-rest{font-size:12px;color:#819b68;margin:9px 0 12px}
.companion-footnote{text-align:center;font-size:10px;color:#9aa88c}
@media(max-height:800px) and (min-width:901px){#companion{gap:10px;padding:15px;top:12px;bottom:12px}.companion-heading .coach-name{font-size:22px}.coach-bubble{padding:12px}.coach-bubble p{font-size:13px;min-height:60px}.companion-session{padding-top:10px}.companion-footnote{display:none}.companion-session-label{margin-bottom:8px}.companion-rest{font-size:11px}.companion-scene{min-height:135px}}
@media(max-width:1250px){.has-companion .sidebar{width:176px}.has-companion .main-wrap{margin-left:176px;margin-right:296px}#companion{width:268px;right:14px}.has-companion main{padding:23px 20px}.has-companion .topbar{padding:0 20px}.has-companion .hero-grid{grid-template-columns:1fr}.has-companion .daily-stack{display:block}.has-companion .daily-card{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:17px}.has-companion .daily-card>.section-head,.has-companion .daily-card>.muted,.has-companion .daily-note{display:none}.has-companion .daily-item{flex-wrap:wrap;gap:7px}.has-companion .daily-item .mini-status{display:none}.has-companion .daily-item b{font-size:12px}.has-companion .daily-item small{font-size:11px}.has-companion .daily-item>.metric-icon{width:30px;height:30px}.has-companion .food-callout{display:none}.has-companion .topbar .streak{display:none}.has-companion .page-heading h1{font-size:25px}.today-launch{padding:24px}.has-companion .week-grid{grid-template-columns:repeat(7,minmax(85px,1fr));overflow:auto;padding-bottom:8px}.has-companion .exercise-row{grid-template-columns:20px minmax(0,1fr) 75px 120px;gap:8px}.has-companion .exercise-header{grid-template-columns:1fr 75px 120px}.has-companion .set-button{width:24px;height:28px}.has-companion .set-buttons{flex-wrap:wrap;gap:4px}.has-companion .workout-card{padding:18px}}
@media(min-width:901px) and (max-width:1100px){.has-companion .sidebar{width:76px;padding:24px 10px}.has-companion .brand{font-size:0;padding:0 8px}.has-companion .brand>span:not(.brand-mark),.has-companion .sidebar-label,.has-companion .nav-item>span:nth-child(2),.has-companion .nav-item i,.has-companion .side-bottom,.has-companion .sidebar-pal{display:none}.has-companion nav{margin-top:45px}.has-companion .nav-item{justify-content:center;padding:16px 10px}.has-companion .main-wrap{margin-left:76px}}
@media(max-width:900px){.has-companion .main-wrap{margin-right:0;padding-bottom:242px}.has-companion .topbar{z-index:20}.has-companion main{padding-bottom:15px}.has-companion .hero-grid{grid-template-columns:1fr}.has-companion .app-footer{display:none}#companion{top:auto;bottom:12px;right:12px;left:188px;width:auto;height:210px;padding:12px;display:grid;grid-template-columns:125px minmax(0,1fr);grid-template-rows:1fr 38px 40px;gap:7px 12px;border-radius:17px;box-shadow:0 -5px 30px #40542b18}.companion-heading,.companion-footnote{display:none}.companion-scene{grid-column:1;grid-row:1/4;min-height:0;border-radius:12px}.bear-touch{padding:5px 0 0;bottom:16px}.touch-hint{font-size:9px}.coach-bubble{grid-column:2;grid-row:1;padding:9px 12px;min-height:0;overflow:auto}.coach-bubble:after{display:none}.coach-bubble p{font-size:12px;line-height:1.4;min-height:0}.coach-mood{font-size:8px;margin-bottom:4px}.companion-session{grid-column:2;grid-row:3;border:0;padding:0}.companion-session-label,.companion-session .progress-line,.companion-rest{display:none}.companion-cta{min-height:38px;font-size:12px;padding:7px}.has-companion #toast{left:50%;bottom:235px;width:calc(100vw - 40px)}.has-companion .exercise-prescription{font-size:12px}.has-companion .exercise-info small{font-size:11px}}
@media(max-width:720px){.has-companion .sidebar{width:100%;padding:10px 15px}.has-companion .main-wrap{margin-left:0;padding-bottom:232px}.has-companion .topbar{top:67px;height:60px}.has-companion .breadcrumb{font-size:11px}.has-companion .topbar .top-workout{font-size:12px;padding:8px 10px}.has-companion main{padding:20px 16px}.has-companion .workout-card{scroll-margin-top:145px}.has-companion .daily-card{display:none}.has-companion .hero-grid{gap:0;margin-bottom:18px}.has-companion .exercise-row{grid-template-columns:18px minmax(0,1fr) 100px}.has-companion .exercise-info b{font-size:14px}.has-companion .exercise-prescription{display:none}.has-companion .page-heading h1{font-size:26px}.has-companion .page-heading{margin-bottom:20px}.has-companion .welcome-card{padding:26px}.has-companion .welcome-card h2{font-size:34px}.has-companion .meal-card h3{font-size:14px}.today-launch{padding:22px}.today-launch h2{font-size:30px}.launch-top{margin-bottom:18px}.launch-caption{font-size:12px}#companion{left:10px;right:10px;bottom:10px;height:205px;grid-template-columns:105px minmax(0,1fr);gap:6px 8px;padding:10px}.coach-bubble{padding:8px 10px}.has-companion .intro-bottom{font-size:13px}.has-companion .session-actions{flex-wrap:wrap}.has-companion .workout-bottom{gap:12px;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){#companion *{animation:none!important;transition:none!important}.pupil{transform:none!important}}
.session-active{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid #d3e5b8;background:#eef5e2;border-radius:9px;color:#628244;font-size:13px;font-weight:600}

/* Each hit region is attached to the animated joint it belongs to. */
.bear-touch{padding:10px 0 0;display:flex;align-items:center;justify-content:center;cursor:default}
.bear-touch:hover{background:transparent}
.companion-bear.rig-svg{max-height:425px;overflow:visible;flex:1;user-select:none;-webkit-user-select:none}
.rig-svg .hit-shape{fill:transparent;stroke:transparent;stroke-width:2;pointer-events:all}
.pal-hit{cursor:pointer;touch-action:manipulation;outline:none}
.pal-hit:focus-visible .hit-shape{stroke:#f2ffc5;stroke-dasharray:3 3;fill:#efffb20a}
.pal-hit:hover .hit-shape{fill:#fff7d207}
.companion-room{pointer-events:none}
.touch-hint{bottom:11px;font-size:11px}
@media(max-width:900px){
 #companion{grid-template-rows:1fr 40px}
 .companion-scene{grid-row:1/3}
 .companion-session{grid-row:2}
 .bear-touch{padding:0;bottom:22px}
 .touch-hint{font-size:9px;line-height:1.3;bottom:5px;padding:0 3px}
 .coach-bubble p{font-size:13px;line-height:1.5}
}

/* Reserve real space for illustrations; the old number column was only 23px. */
.has-companion .exercise-row{grid-template-columns:72px minmax(0,1fr) 90px 135px;gap:14px;align-items:center;padding:18px 0}
.has-companion .exercise-thumbnail{width:68px;height:76px;align-self:start;grid-column:1;grid-row:auto}
.has-companion .exercise-info{min-width:0;grid-column:2;grid-row:auto}
.has-companion .exercise-info b{display:block;overflow-wrap:anywhere}
.has-companion .exercise-prescription{grid-column:3;grid-row:auto}
.has-companion .exercise-row .set-buttons{grid-column:4;grid-row:auto}
.has-companion .movement-link{display:inline-flex;position:static;align-items:center;gap:7px;max-width:100%;margin-top:9px;padding:8px 10px;border:1px solid #d5dfca;border-radius:8px;background:#f2f6e9;line-height:1.35;white-space:normal}
.has-companion .movement-link svg{width:14px;height:14px;flex:0 0 14px}
.movement-controls{position:static;display:flex;gap:8px;padding:12px;background:#f0f3e8;border:1px solid #dce5ce;border-radius:12px;margin:12px 0;isolation:isolate}
.movement-controls .btn{position:static;min-height:42px;flex:1;justify-content:center;white-space:nowrap}
.movement-stage{overflow:hidden}.movement-stage .exercise-illustration{max-width:100%;max-height:100%}
@media(max-width:1250px){.has-companion .exercise-row{grid-template-columns:64px minmax(0,1fr) 74px;gap:12px}.has-companion .exercise-thumbnail{width:60px;height:70px;grid-row:1/3}.has-companion .exercise-info{grid-row:1/3}.has-companion .exercise-prescription{grid-column:3;grid-row:1}.has-companion .exercise-row .set-buttons{grid-column:3;grid-row:2}.has-companion .movement-link{font-size:12px}}
@media(max-width:720px){.has-companion .exercise-row{grid-template-columns:58px minmax(0,1fr);gap:8px 12px}.has-companion .exercise-thumbnail{width:56px;height:66px;grid-row:1}.has-companion .exercise-info{grid-column:2;grid-row:1}.has-companion .exercise-prescription{display:block;grid-column:1;grid-row:2;font-size:12px;text-align:center}.has-companion .exercise-prescription small{display:none}.has-companion .exercise-row .set-buttons{grid-column:2;grid-row:2;justify-content:flex-start}.has-companion .set-button{width:32px;height:32px}.movement-controls{padding:9px;gap:6px}.movement-controls .btn{font-size:12px;padding:8px}.has-companion .movement-link{margin-top:8px}}
