@media(max-width:1024px){
#content.athlete-mobile{padding:12px 12px 36px;max-width:100%;overflow-x:clip}
.athlete-mobile [hidden]{display:none!important}
body:has(.athlete-mobile) .topbar{min-height:56px;padding:8px 12px;gap:8px}
body:has(.athlete-mobile) .topbar .eyebrow,body:has(.athlete-mobile) #weekInput,body:has(.athlete-mobile) .week-control{display:none}
body:has(.athlete-mobile) #pageTitle{font-size:15px;line-height:1.2}
.athlete-mobile .athlete-hero{padding:20px 16px;margin:0 0 16px;border-radius:22px;align-items:center;gap:12px;background:radial-gradient(ellipse at top right,#356455,transparent 70%),#143f35;box-shadow:0 10px 24px #163e3515}
.athlete-mobile .portal-avatar{width:56px;height:56px;border-radius:50%;border:2px solid #d3b08a;background:#c69d72;font-size:20px}
.athlete-mobile .athlete-hero h2{font-size:21px;line-height:1.2;overflow-wrap:anywhere;letter-spacing:-.4px}
.athlete-mobile .athlete-hero>div:nth-child(2){flex:1;min-width:0}.athlete-mobile .athlete-hero .eyebrow{font-size:9px;letter-spacing:1.4px}.athlete-mobile .athlete-hero>div>p:last-child{font-size:11px;line-height:1.5;margin-top:6px}
.mobile-portal-nav{display:flex;padding:5px;border-radius:14px;background:#e9e9e1;gap:5px;margin-bottom:18px}.mobile-portal-nav button{flex:1;min-width:0;min-height:44px;padding:8px 5px;border:0;border-radius:10px;background:transparent;color:#567065;font-size:13px;font-weight:750;display:flex;align-items:center;justify-content:center;gap:5px}.mobile-portal-nav button[aria-pressed=true]{background:#fffdf8;color:#173f35;box-shadow:0 2px 8px #143f3514}.mobile-portal-nav button span{background:#b68555;color:white;border-radius:20px;padding:2px 6px;font-size:10px}
.mobile-portal-panel{display:grid;gap:14px}.athlete-mobile .portal-layout{display:block;margin:0}.athlete-mobile .portal-plan-card{padding:0;border:0;background:transparent;box-shadow:none}.athlete-mobile .portal-plan-head{padding:0 3px;flex-wrap:wrap;gap:6px}.athlete-mobile .portal-plan-head>div{flex:1;min-width:0}.athlete-mobile .portal-plan-head h2{font-size:25px;line-height:1.2;letter-spacing:-.5px}.athlete-mobile .portal-plan-head>div>p:not(.eyebrow){display:none}.athlete-mobile .portal-plan-head .eyebrow{font-size:9px;letter-spacing:1.4px}.athlete-mobile .week-badge,.athlete-mobile .portal-plan-head>.summary-pill{font-size:10px;padding:6px 9px;border-radius:8px;max-width:100%;white-space:normal}.athlete-mobile .portal-plan-head>.summary-pill{flex-basis:100%;background:none;padding:0;color:#778578}
.athlete-mobile .portal-workout-tabs{display:flex;gap:7px;margin:16px 0 8px}.athlete-mobile .portal-workout-tabs button{flex:1;min-height:52px;min-width:0;padding:8px 4px;font-size:11px;border-radius:12px;white-space:normal;line-height:1.5;background:#fffdf8}.athlete-mobile .portal-workout-tabs button.active{background:#214d40;color:#f1d4b1;box-shadow:0 4px 10px #214d401b}
.mobile-workout-meta{font-size:11px;color:#748275;margin:0 3px 14px}.mobile-coach-instructions{border:1px solid #dddbcc;border-radius:12px;background:#faf6ed;padding:12px 14px;margin-bottom:12px}.mobile-coach-instructions summary{font-size:13px;font-weight:700;color:#795b3c;cursor:pointer;min-height:22px}.mobile-coach-instructions .organized-individual-notes{padding:8px 0 0!important;margin:0;border:0;background:transparent;box-shadow:none}.mobile-coach-instructions p{font-size:13px!important;line-height:1.6!important;white-space:pre-line}
.athlete-mobile .undated-workout-actions{margin:0 0 16px;padding:0;border:0;background:none;display:flex;flex-direction:column;gap:8px}.athlete-mobile .workflow-execution{margin:0;padding:10px 12px;background:#ecf1e9;border:0;border-radius:10px}.athlete-mobile .workflow-execution b{font-size:12px}.athlete-mobile .workflow-execution small{font-size:11px}.athlete-mobile .mobile-report-help{font-size:11px;color:#778578;margin:0!important;order:3;text-align:center}.athlete-mobile .mobile-record-action{width:100%;min-height:49px;font-size:15px;border-radius:13px;box-shadow:0 5px 12px #183f3520}.athlete-mobile .undated-workout-actions [data-free-status]:empty{display:none}
.athlete-mobile .portal-workout-list{gap:12px}.athlete-mobile .portal-exercise,.athlete-mobile .portal-exercise.with-exercise-photo{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;padding:16px;border:1px solid #e2e5dc;border-radius:17px;background:#fffefb;box-shadow:0 3px 12px #193d3406}.athlete-mobile .exercise-number{width:27px;height:27px;background:#edf1e8;color:#6e826d;border-radius:50%;font-size:12px}.athlete-mobile .exercise-main strong{font-size:16px;line-height:1.4;margin-top:3px;overflow-wrap:anywhere}.athlete-mobile .exercise-main small{font-size:9px;letter-spacing:.8px}.athlete-mobile .exercise-main p{font-size:12px;line-height:1.5;margin:6px 0 0;overflow-wrap:anywhere}.athlete-mobile .prescription{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));padding:12px 0 0;border-top:1px solid #eef0e8;margin-top:3px;gap:8px}.athlete-mobile .prescription span{font-size:9px;line-height:1.4;letter-spacing:.25px}.athlete-mobile .prescription b{font-size:15px;line-height:1.4;overflow-wrap:anywhere;margin-bottom:4px}.athlete-mobile .mobile-watch{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:1px solid #d9c9b4;background:#faf4e9;border-radius:10px;color:#80623f;font-size:12px;text-decoration:none}.mobile-watch:before{content:'';width:0;height:0;border-block:4px solid transparent;border-inline-start:6px solid currentColor}.athlete-mobile .no-video{grid-column:1/-1;font-size:10px}.athlete-mobile .portal-help{border-radius:14px;padding:14px;font-size:13px}.athlete-mobile .portal-help p{font-size:12px;line-height:1.6}
.athlete-mobile .portal-side-card,.athlete-mobile .athlete-today,.athlete-mobile .athlete-week-overview{border-radius:17px;padding:16px;margin:0}.athlete-mobile .questionnaire-callout{padding:22px 18px}.athlete-mobile .questionnaire-callout h3{font-size:21px}.athlete-mobile .questionnaire-callout p{font-size:14px;line-height:1.6}.athlete-mobile .questionnaire-callout button{min-height:48px;font-size:15px}.mobile-plan-summary{border:1px solid #e2e5dc;border-radius:14px;padding:14px;background:#fffdf8}.mobile-plan-summary summary{font-size:13px;color:#526c5b}.athlete-mobile .portal-kpis{grid-template-columns:repeat(3,minmax(0,1fr));margin:14px 0 0}.athlete-mobile .portal-kpis article{padding:9px;box-shadow:none}.athlete-mobile .portal-kpis strong{font-size:22px}.athlete-mobile .portal-kpis small{font-size:9px;overflow-wrap:anywhere}
.athlete-mobile button:focus-visible,.athlete-mobile a:focus-visible,.athlete-mobile summary:focus-visible{outline:3px solid #bd986a;outline-offset:3px}.athlete-mobile input,.athlete-mobile textarea,.athlete-mobile select{font-size:16px}.athlete-mobile .portal-preview{margin:4px 0 0;width:100%}
}

@media(max-width:1024px){.mobile-portal-nav button[aria-pressed=false]:hover{background:#dfe7dd;color:#214d40}.athlete-mobile .portal-workout-tabs button strong{font-size:12px}.athlete-mobile .portal-workout-tabs button small{font-size:10px}.athlete-mobile .athlete-today h2,.athlete-mobile .athlete-week-overview h2{font-size:19px}.athlete-mobile .athlete-today-exercises label{padding:12px;gap:8px}.athlete-mobile .athlete-today-exercises b{font-size:14px}.athlete-mobile .athlete-today-exercises input:not([type=checkbox]){min-height:44px;font-size:16px}.athlete-mobile .athlete-today-actions button{min-height:46px;font-size:13px}}

/* Constrain grid children so only the seven-day strip scrolls, never the page. */
@media(max-width:1024px){
.mobile-portal-panel{grid-template-columns:minmax(0,1fr);min-width:0;max-width:100%}
.mobile-portal-panel>*{min-width:0;max-width:100%;overflow-wrap:anywhere}
.athlete-mobile .athlete-week-overview .section-head{flex-wrap:wrap;gap:8px}
.athlete-mobile .athlete-week-overview .section-head>div{min-width:0}
.athlete-mobile .athlete-week-strip{width:100%;min-width:0;max-width:100%;grid-template-columns:repeat(7,minmax(136px,1fr));overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#a98a63 #eeeade;padding-bottom:12px;-webkit-overflow-scrolling:touch}
.athlete-mobile .athlete-week-strip>section{min-width:0;scroll-snap-align:start;overflow-wrap:anywhere}
.athlete-mobile .athlete-week-strip button{text-align:start;white-space:normal}
.mobile-schedule-hint{font-size:11px;color:#68796e;margin:0 0 10px}
.athlete-mobile .athlete-today input,.athlete-mobile .athlete-today textarea,.athlete-mobile .athlete-today select{min-width:0;max-width:100%;width:100%}
.athlete-mobile .athlete-today input[type=checkbox]{width:20px}
.athlete-mobile .portal-side-card .section-head{flex-wrap:wrap}
}

.athlete-week-overview .section-head{flex-wrap:wrap;gap:8px}.athlete-week-overview .section-head>span{font-size:12px;color:#6b756f;white-space:nowrap}.portal-workout-tabs{flex-wrap:wrap}.athlete-mobile .portal-workout-tabs button{flex:1 1 85px}
