/* Only Coach + smartphone. No desktop or client selectors are restyled. */
@media(max-width:700px){
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach{--bg:#031820;--surface:#072a35;--raised:#0c3440;--line:#285e6c;--sub:#aac8d2;--txt:#f1faff;--teal:#00dcd4;--teal2:#00bab9;background:#031820!important;color:#f1faff!important;color-scheme:dark;font-family:Inter,Arial,sans-serif}
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach *{box-sizing:border-box}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.layout,.rp-coach-shell,.main){display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .main{padding:18px 12px calc(112px + env(safe-area-inset-bottom))!important;background:radial-gradient(ellipse at 100% 0,#07516144,transparent 330px),#031820!important;min-height:100dvh}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .sidebar{display:none!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .appbar.rp-coach-appbar{position:sticky;top:0;z-index:100;padding:10px 13px!important;min-height:69px;height:auto!important;gap:10px;max-width:100%;width:100%;background:#031c26f5!important;border-bottom:1px solid #255562;color:#f0faff}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .appbar .logo{font-size:17px;letter-spacing:-.6px;display:flex;align-items:center;gap:7px;white-space:nowrap}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .appbar .logo>b{color:#00e5db}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-mobile-mark{width:34px;height:38px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .appbar>.toolbar{margin-left:auto;gap:4px;flex-wrap:wrap;justify-content:flex-end;max-width:47%}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach #rp-sync-state{font-size:10px;line-height:1.3;white-space:normal;overflow-wrap:anywhere;width:100%;text-align:right;color:#b3d3dd}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .appbar [data-act=logout]{font-size:10px;min-height:28px;padding:3px 8px}
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(h1,h2,h3,h4,p,b,small,span){overflow-wrap:anywhere}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach h1{font-size:28px!important;letter-spacing:-.8px;color:#f4fcff!important;line-height:1.15!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach h2{font-size:22px!important;color:#f1faff!important;line-height:1.2}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach h3{font-size:18px;color:#f1faff!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.muted,.small,small){color:#abc7d1!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .eyebrow{color:#35e6dc!important;letter-spacing:.14em;font-size:9px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .desktop-head{display:block!important;margin-bottom:19px;padding:0 4px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .desktop-head p{font-size:12px;margin-top:8px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-member-desktop-head{display:none!important}
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.panel,.raised,.info){background:linear-gradient(125deg,#0a303d,#05222e)!important;color:#edf8fd!important;border:1px solid #255d6d!important;border-radius:19px!important;box-shadow:inset 0 1px #b5fff20a!important;padding:16px!important;max-width:100%;min-width:0}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.section,.panel){margin-bottom:15px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.toolbar,.row-small,.flex.between){flex-wrap:wrap!important;gap:9px;min-width:0}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .btn{min-height:44px!important;padding:10px 13px!important;font-size:12px!important;line-height:1.25;white-space:normal!important;border:1px solid #326c7a!important;border-radius:12px!important;background:#0b3443!important;color:#e4f6fd!important;touch-action:manipulation}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .btn.primary{background:linear-gradient(110deg,#00e0d2,#00bbc9)!important;color:#002731!important;border-color:#00d8d1!important;font-weight:800}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .btn.danger{color:#ffc0c7!important;background:#382734!important;border-color:#72515e!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .btn:disabled{opacity:.45}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach button:focus-visible,body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(input,textarea,select):focus-visible{outline:2px solid #00e2d7!important;outline-offset:2px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(input,textarea,select){font-size:16px!important;min-height:44px!important;width:100%;max-width:100%;min-width:0;background:#092b39!important;border:1px solid #356674!important;color:#f2faff!important;border-radius:10px!important;padding:9px!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(input[type=checkbox],input[type=radio]){width:22px!important;min-height:22px!important;height:22px;accent-color:#00dace}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach label{min-width:0;font-size:12px!important;color:#c2dce4!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.grid2,.grid3,.grid4,.formline,.rp-quick-grid,.rp-hybrid-nutrition,.rp-hybrid-nutrition-editor,.rp72-grid,.rp-tracking-layout){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;min-width:0}
/* Member rows become cards; real controls and their handlers remain in place. */
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.rp-member-table-wrap,.table-wrap,.rp81-table-wrap){overflow:visible!important;max-width:100%;min-width:0}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach table{display:block!important;min-width:0!important;width:100%!important;table-layout:auto;border-collapse:separate}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach thead{display:none!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach tbody{display:block!important;width:100%}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 14px;padding:14px;border:1px solid #286475!important;border-radius:17px;background:#082b38!important;min-width:0}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(td,th){display:flex!important;flex-direction:column;align-items:stretch!important;justify-content:flex-start;min-width:0!important;width:auto!important;padding:0!important;border:0!important;background:transparent!important;color:#e7f7fd!important;white-space:normal!important;font-size:13px!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach [data-mobile-label]:before{content:attr(data-mobile-label);display:block;color:#8fb6c5;font-size:9px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach td[colspan]{grid-column:1/-1}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-member-table tr[data-member-row]>td:first-child{grid-column:1/-1;display:flex!important;flex-direction:row;align-items:center!important;gap:12px;padding-bottom:12px!important;border-bottom:1px solid #245161!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-member-table tr[data-member-row]>td:first-child:before{display:none}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-member-table tr[data-member-row]>td:last-child{grid-column:1/-1}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-member-avatar{background:#07505a!important;color:#6bfff0!important;flex:0 0 42px;border:1px solid #258a93}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-member-table b{color:#f0faff!important;font-size:16px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-member-table td:first-child small{display:block;font-size:11px;word-break:break-word}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-member-actions{display:flex;flex-wrap:wrap;gap:8px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-member-actions>.btn.primary{flex:1}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-member-group-row{padding:8px 2px!important;border:0!important;background:transparent!important;margin:12px 0 7px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-member-group-row>td>div{display:flex;justify-content:space-between;gap:8px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-member-group-toggle{color:#bde0e8!important;background:transparent!important;font-size:13px;min-height:44px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.rp-list-toolbar,.rp-hybrid-section-head){display:flex!important;flex-direction:column;align-items:stretch!important;gap:12px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-member-search{width:100%!important;min-width:0!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-member-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;overflow:visible}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-member-filter{min-height:40px;border-radius:10px;background:#0d3543!important;color:#b6d6df!important;padding:7px!important;font-size:11px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-member-filter.is-active{border-color:#00dcd4!important;color:#43f0e3!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-member-menu-popover{right:0;left:auto;max-width:calc(100vw - 44px);background:#103542!important;color:#eafaff!important;z-index:90}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-member-menu-popover .btn{width:100%}
/* Member context and weeks preserve all status/activation actions. */
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.rp78-member-top,.rp-member-context,.rp-week-target-bar,.rp78-context-strip,.rp79-session-strip,.rp81-reference-navigation){display:flex!important;flex-direction:column;align-items:stretch!important;gap:12px;padding:14px!important;max-width:100%;background:#082a36!important;border-color:#2b6170!important;border-radius:17px!important;color:#eefaff!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp78-member-top h1{font-size:26px!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp78-avatar{background:#074853!important;color:#53f3e8!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.rp78-member-tabs,.rp-week-tabs,.rp-session-tabs){display:flex;flex-wrap:wrap;gap:7px;width:100%;overflow:visible!important;min-width:0}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.rp78-member-tabs,.rp-week-tabs,.rp-session-tabs) button{flex:1 1 auto;min-height:44px;white-space:normal}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.rp-program-month-head,.rp-program-month-tools,.rp-week-selected-actions){display:flex!important;flex-wrap:wrap;gap:9px;align-items:center!important;min-width:0}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-program-week-row{display:grid!important;grid-template-columns:26px minmax(0,1fr) 36px;gap:6px!important;padding:10px!important;border-color:#2e5f6d!important;background:#082c38!important;border-radius:14px!important;min-width:0}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-program-week-open{min-width:0;display:flex!important;flex-wrap:wrap;gap:6px;color:#f4fbff!important;background:transparent!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-program-week-copy{min-width:0;flex:1 1 120px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-program-week-code{font-size:9px;color:#6bc8cb!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-program-week-state{font-size:9px;padding:5px;border-radius:20px!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-program-week-grip{min-width:26px;width:26px!important;color:#89bcc8!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.rp-program-week-actions,.rp78-week-actions,.rp78-row-menu,.rp79-session-menu)>div{position:absolute;z-index:95;right:0;left:auto;max-width:calc(100vw - 40px);min-width:220px;background:#103542!important;border:1px solid #366d79;border-radius:14px;padding:10px;box-shadow:0 12px 40px #001019aa}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.rp-program-week-actions,.rp78-week-actions,.rp78-row-menu,.rp79-session-menu)>div .btn{width:100%;text-align:left}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-week-tab.active{border-color:#00ddd0!important;background:#07515a!important;color:#7ffff0!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-week-summary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
/* One tool at a time, full capability, no reduced data model. */
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-program-grid{display:block!important;grid-template-columns:none!important;width:100%!important;min-width:0!important;gap:0!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-program-grid>[class]{max-width:100%;width:100%!important;min-width:0!important;position:relative!important;top:auto!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-program-grid[data-mobile-pane=session]>.rp-quick-editor,body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-program-grid[data-mobile-pane=session]>.rp-performance-history,body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-program-grid[data-mobile-pane=editor]>.rp-program-session,body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-program-grid[data-mobile-pane=editor]>.rp-performance-history,body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-program-grid[data-mobile-pane=history]>.rp-program-session,body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-program-grid[data-mobile-pane=history]>.rp-quick-editor{display:none!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-mobile-worktabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:16px 0 12px;padding:5px;background:#00151e;border:1px solid #255663;border-radius:14px;position:sticky;top:80px;z-index:30}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-mobile-worktabs button{min-height:43px;border:0;background:transparent;color:#a4c5d2;font-size:11px;font-weight:750;border-radius:10px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-mobile-worktabs button.is-active{background:#06434d;color:#3ef0e2;box-shadow:inset 0 0 0 1px #158e92}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.rp78-composition-toggle,.rp81-panel-title+.rp78-composition-toggle){display:none!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-session-select{min-width:0!important;width:auto!important;color:#f2faff!important;background:transparent!important;display:flex!important;gap:10px;text-align:left}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-session-select>span:last-child{min-width:0}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-session-exercise{background:#0a2e3b!important;border:1px solid #2c6071!important;border-radius:14px!important;padding:12px!important;margin-bottom:10px;min-width:0;display:block!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-session-exercise.is-selected{border-color:#00d4ce!important;box-shadow:inset 3px 0 #00d4ce!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-session-exercise b{color:#f2faff!important;font-size:16px!important;line-height:1.25}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-session-row-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:10px;gap:6px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-session-index{background:#074957!important;color:#77ffef!important;min-width:34px;min-height:38px;border-radius:10px;display:grid;place-items:center}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-session-utility{display:flex!important;flex-wrap:wrap;gap:9px;background:#0c3540!important;border-color:#2b6974!important;color:#e6f7ff!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-session-utility>button{flex:1;min-width:130px;color:#f2faff!important;background:transparent!important;text-align:left}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp81-editor-table tr{padding:13px;gap:12px;border-color:#2a6878!important;background:#05202d!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp81-editor-table th{grid-column:1/-1;color:#58ecdf!important;font-weight:800}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp81-editor-table td:last-child{grid-column:1/-1}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp81-set-actions{display:flex;justify-content:flex-end;gap:7px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-editor-title{display:flex!important;flex-wrap:wrap;gap:10px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-editor-title h2{font-size:24px!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-mobile-savebar{position:sticky;bottom:calc(85px + env(safe-area-inset-bottom));display:grid;gap:7px;padding:12px;background:#062530f7;border:1px solid #2c6b77;border-radius:14px;z-index:25;margin-top:18px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-mobile-savebar span{font-size:11px;color:#b9d7df;line-height:1.4}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-mobile-savebar button{width:100%}
/* Nutrition, followup, private profile and library use the same controls. */
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.rp-hybrid-nutrition-side,.rp-hybrid-meal-library,.rp-hybrid-nutrition-editor){position:static!important;width:100%!important;max-width:100%!important;min-width:0!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.rp79-macro-grid,.rp-weekly-metrics,.rp-goal-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.rp79-macro-grid>div,.rp-weekly-metrics>div){background:#062633!important;border:1px solid #255968!important;border-radius:13px;color:#ebfaff!important;padding:12px!important;min-width:0}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.rp79-macro-grid b,.rp-weekly-metrics strong){color:#37e4d8!important;font-size:24px!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.rp-hybrid-list-row,.rp-hybrid-meal,.rp79-habit-row,.rp-weekly-session-head){background:#082b38!important;color:#e9f9ff!important;border-color:#2c6270!important;display:flex!important;flex-wrap:wrap;gap:10px;padding:12px!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.rp-hybrid-list-row button,.rp-hybrid-meal b,.rp79-habit-row b,.rp-weekly-session-head b){color:#f1fbff!important;background:transparent!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.rp72-profile,.rp72-grid,.rp72-private-grid,.rp-private-grid,.rp-weekly-controls){display:grid!important;grid-template-columns:minmax(0,1fr)!important;min-width:0}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .library-layout{display:block!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.lib-results,.library-grid){grid-template-columns:minmax(0,1fr)!important;max-width:100%}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .library-search{width:100%!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.rp78-details,.rp78-utility,.rp81-manual-reference,.rp-weekly-session){background:#082c38!important;color:#ecfaff!important;border-color:#2b6170!important;border-radius:13px!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach summary{min-height:44px;color:#d7f2f9!important;white-space:normal}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.rp72-profile-nav,.rp-follow-filters,.rp-nutrition-tabs){display:flex;flex-wrap:wrap;gap:7px;min-width:0}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.rp-weekly-exercise,.rp-weekly-utility,.rp-weekly-head){background:#072a37!important;border-color:#285f70!important;color:#eefaff!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.rp-weekly-title,.rp-weekly-exercise header){display:flex!important;flex-wrap:wrap;gap:10px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach canvas,body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach svg,body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach img{max-width:100%}
/* Thumb navigation and keyboard-aware editor sheets. */
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-mobile-nav{position:fixed;z-index:100;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:8px 8px calc(10px + env(safe-area-inset-bottom));background:#03232ef5;border:1px solid #2c6271;border-bottom:0;border-radius:20px 20px 0 0;box-shadow:0 -12px 28px #00131d66}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-mobile-navitem{min-height:53px;display:grid;justify-items:center;align-content:center;gap:5px;background:transparent;border:0;color:#94bbc9;border-radius:12px;font-size:10px;font-weight:700}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-mobile-navitem svg{width:23px;height:23px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-mobile-navitem.is-active{background:#07535a44;color:#26e9de}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-mobile-more{position:fixed;z-index:110;bottom:calc(86px + env(safe-area-inset-bottom));left:12px;right:12px;background:#0b3442;border:1px solid #367b85;border-radius:19px;padding:12px;box-shadow:0 0 0 100vmax #00111ba8;display:grid;gap:8px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-mobile-more button{min-height:48px;background:#103e4b;border:1px solid #2c6975;border-radius:12px;text-align:left;padding:12px;color:#e7fbff;font-size:15px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .modal-back{align-items:flex-end!important;justify-content:center!important;padding:0!important;z-index:200!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .modal{width:100%!important;max-width:100%!important;min-width:0!important;max-height:calc(var(--rp-mobile-height,100dvh) - 12px)!important;margin:0!important;border-radius:23px 23px 0 0!important;background:#06232f!important;color:#f2faff!important;padding:18px 14px calc(20px + env(safe-area-inset-bottom))!important;border:1px solid #2d6c77!important;overflow:auto;overscroll-behavior:contain}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .modal>.toolbar:last-child{position:sticky;bottom:0;padding:12px 0 0;background:#06232ff5;display:flex;gap:8px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .modal>.toolbar:last-child>.btn.primary{flex:1}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .toast{bottom:calc(100px + env(safe-area-inset-bottom));max-width:calc(100vw - 24px);left:12px;right:12px;transform:none;white-space:normal;background:#0b3a47;color:#e5fcff}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.rp78-composition,.rp78-table-wrap,.rp79-history-table-wrap,.rp81-table-wrap){width:100%!important;min-width:0!important;max-width:100%!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-program-session{overflow:visible!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .modal .formline{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .modal label{margin-bottom:6px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-text-link{color:#4ae7de!important}
}
@media(max-width:700px){
/* Preserve two comfortable fields per row despite the legacy table-card rules. */
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp81-editor-table tbody tr{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:12px!important;height:auto!important;min-height:0!important}
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp81-editor-table tbody td{display:flex!important;flex-direction:column!important;width:auto!important;grid-column:auto!important;min-height:0!important;height:auto!important}
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp81-editor-table tbody tr>th{grid-column:1/-1!important}
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp81-editor-table tbody tr>td:last-child{grid-column:auto!important;justify-content:flex-end!important}
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp81-editor-table input,body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp81-editor-table select{height:46px!important}
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp81-set-actions .btn{min-width:34px!important;padding:8px!important}
}
@media(max-width:700px){body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-mobile-savebar{position:fixed;left:12px;right:12px;bottom:calc(84px + env(safe-area-inset-bottom));margin:0;box-shadow:0 -8px 20px #00151f99}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-quick-editor{padding-bottom:130px!important}}
@media(max-width:700px){body.rp-coach-mode.rp-mobile-coach .rp-mobile-member-links{display:flex;gap:7px;margin:0 0 13px;flex-wrap:wrap}body.rp-coach-mode.rp-mobile-coach .rp-mobile-member-links button{min-height:42px;flex:1;border:1px solid #296674;border-radius:11px;background:#0a3442;color:#a5e5e5;font-size:11px;font-weight:750;padding:8px}}
@media(max-width:700px){body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.rp-coach-shell,.main){overflow:visible!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-quick-editor{scroll-margin-top:155px}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-performance-history{scroll-margin-top:155px}}
@media(max-width:700px){body.rp-coach-mode.rp-mobile-coach .toast{pointer-events:none}}
@media(max-width:700px){
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp78-quick-weeks{display:flex!important;flex-wrap:wrap!important;gap:9px!important;width:100%!important;min-width:0!important}
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp78-week-strip{width:100%!important;max-width:100%!important;display:flex!important;flex-wrap:wrap!important;overflow:visible!important}
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp78-week-strip .btn{flex:1 1 80px!important;min-width:0!important;white-space:normal!important}
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp78-top-actions{width:100%!important;max-width:100%!important;display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important}
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp78-sectionbar{display:block!important;max-width:100%!important;min-width:0!important}
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp-week-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;max-width:100%!important;overflow:visible!important}
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp78-work-modes{width:100%!important;max-width:100%!important;display:flex!important;flex-wrap:wrap!important;margin:10px 0!important}
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp78-work-modes>div{width:100%!important;flex-wrap:wrap!important;min-width:0!important;gap:7px!important}
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp78-work-modes>div .btn{flex:1 1 80px!important;min-width:0!important}
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.rp-program-week-actions,.rp78-week-actions,.rp78-row-menu,.rp79-session-menu)>div{position:fixed!important;left:12px!important;right:12px!important;bottom:calc(90px + env(safe-area-inset-bottom))!important;top:auto!important;width:auto!important;max-width:none!important;max-height:65vh;overflow:auto;z-index:120!important}
}
@media(max-width:700px){
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp78-week-strip .btn{display:flex!important;align-items:center;justify-content:center;gap:5px;flex:1 1 106px!important;overflow-wrap:anywhere!important}
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp78-week-strip .btn[aria-label]{flex:0 0 42px!important}
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp78-week-strip i{margin:0!important;flex:none}
body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach :is(.rp-program-week-actions,.rp78-week-actions,.rp78-row-menu,.rp79-session-menu,.rp78-details):not([open])>div{display:none!important}
}
@media(max-width:700px){body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp64-coach-back{align-items:flex-end!important;padding:0!important;z-index:240!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp64-coach-dialog{background:#072b38!important;color:#e8f8ff!important;border:1px solid #357581!important;border-radius:22px 22px 0 0!important;width:100%!important;max-width:100%!important;padding:22px 17px calc(22px + env(safe-area-inset-bottom))!important}body.rp-coach-mode.rp-mobile-coach.rp-mobile-coach.rp-mobile-coach .rp64-coach-dialog p{color:#bed5df!important;font-size:15px;line-height:1.5}}
