:root{--background:#f5f7f8;--panel:#fff;--panel-soft:#eaf5ff;--ink:#161a1f;--muted:#68727d;--line:#dce3e7;--green:#008fff;--green-dark:#005faa;--blue:#008fff;--coral:#d8614b;--amber:#b77918;--violet:#7257a8;--shadow:0 18px 50px #1f2b361a}*{box-sizing:border-box}html{background:var(--background);min-width:320px}body{background:var(--background);min-height:100vh;color:var(--ink);margin:0;font-family:Arial,Helvetica,sans-serif;overflow-x:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}input,select,textarea{border:1px solid var(--line);width:100%;color:var(--ink);background:#fff;border-radius:8px;outline:none;padding:11px 12px}input[type=date],input[type=time],select,.student-calendar-day,.projected-calendar-day,.repeat-period-day,.calendar-workout-chip,.calendar-metric-chip{cursor:pointer}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;color:#59636c;background:#f0f3f5}textarea{resize:vertical;min-height:92px}input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #008fff29}.auth-screen{background:linear-gradient(90deg, #2f62c914, transparent 42%), linear-gradient(180deg, #008fff17, transparent 44%), var(--background);place-items:center;min-height:100vh;padding:32px;display:grid}.auth-panel{grid-template-columns:minmax(0,1.08fr) minmax(360px,.72fr);align-items:stretch;gap:28px;width:min(1120px,100%);display:grid}.auth-copy,.auth-card,.surface,.stat-card,.student-list,.student-profile,.message-list,.chat-panel{border:1px solid var(--line);box-shadow:var(--shadow);background:#ffffffeb;border-radius:8px}.auth-copy{flex-direction:column;justify-content:center;min-height:620px;padding:clamp(28px,5vw,56px);display:flex}.auth-copy h1{max-width:620px;margin:48px 0 14px;font-size:clamp(2rem,6vw,4.8rem);line-height:.96}.auth-copy p{max-width:640px;color:var(--muted);margin:0;font-size:1.06rem;line-height:1.65}.auth-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:34px;display:grid}.auth-feature-grid span{border:1px solid var(--line);color:#334049;background:#f8faf9;border-radius:8px;align-items:center;gap:10px;min-height:48px;padding:12px;font-weight:700;display:flex}.auth-feature-grid svg{color:var(--green);flex:none}.auth-card{align-self:center;gap:16px;padding:26px;display:grid}.auth-role-selector{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.auth-role-selector button{border:1px solid var(--line);color:#40505b;text-align:left;background:#fbfcfc;border-radius:8px;align-items:center;gap:10px;min-height:76px;padding:12px;display:flex}.auth-role-selector button:hover,.auth-role-selector button.selected{color:var(--green-dark);background:#eaf5ff;border-color:#9bcfff}.auth-role-selector button>svg{flex:none}.auth-role-selector strong,.auth-role-selector small{display:block}.auth-role-selector small{color:var(--muted);margin-top:3px;font-size:.74rem}.auth-card label,.form-stack label,.compact-form label{gap:7px;display:grid}.auth-card label span,.form-stack label span,.field-label{color:#41505b;font-size:.83rem;font-weight:800}.form-note{color:var(--muted);margin:0;font-size:.86rem;line-height:1.5}.auth-error,.form-error{color:#a83f2c;background:#fff4f1;border:1px solid #efb8ad;border-radius:8px;margin:0;padding:10px 12px;font-size:.84rem;font-weight:700}.app-loading-screen{background:var(--background);min-height:100vh;color:var(--ink);text-align:center;place-content:center;justify-items:center;gap:14px;padding:24px;display:grid}.app-shell{grid-template-columns:280px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--line);background:#fbfcfc;flex-direction:column;gap:28px;height:100vh;min-height:0;padding:22px 18px;display:flex;position:sticky;top:0;overflow-y:auto}.sidebar-profile{flex:none;align-items:center;gap:12px;min-width:0;display:flex}.sidebar-profile-avatar{width:42px;height:42px;box-shadow:0 0 0 1px var(--line);border:2px solid #fff;flex:0 0 42px}.sidebar-profile div{min-width:0}.sidebar-profile p,.sidebar-profile span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.sidebar-profile p{margin:0;font-weight:900}.sidebar-profile span{color:var(--muted);margin-top:2px;font-size:.82rem}.brand-lockup{align-items:center;gap:12px;display:flex}.brand-mark{background:var(--ink);color:#fff;border-radius:8px;place-items:center;width:42px;height:42px;font-size:.88rem;font-weight:900;display:grid}.brand-lockup p{margin:0;font-weight:900}.brand-lockup span{color:var(--muted);margin-top:2px;font-size:.82rem;display:block}.auth-brand .brand-mark{background:var(--green)}.nav-list{gap:6px;display:grid}.nav-item,.student-row,.message-list button{color:#40505b;background:0 0;border:0}.nav-item{text-align:left;border-radius:8px;align-items:center;gap:12px;width:100%;min-height:46px;padding:0 12px;font-weight:800;display:flex}.nav-item:hover,.nav-item.is-active{color:var(--green-dark);background:#eaf5ff}.sidebar-card{color:var(--green-dark);background:#eaf5ff;border:1px solid #c8def1;border-radius:8px;gap:4px;margin-top:auto;padding:14px;display:grid}.sidebar-card p,.sidebar-card span{margin:0}.sidebar-card p{font-weight:900}.sidebar-card span{color:#50675e;font-size:.84rem}.sidebar-app-brand{min-height:38px;color:var(--ink);align-items:center;gap:10px;display:flex}.sidebar-app-mark{background:var(--ink);color:#fff;border-radius:7px;flex:0 0 30px;place-items:center;width:30px;height:30px;font-size:.78rem;font-weight:900;display:grid}.sidebar-app-brand strong{font-size:.94rem}.sidebar-session-controls{gap:8px;display:grid}.sidebar-save-state{color:var(--muted);align-items:center;gap:7px;font-size:.76rem;font-weight:700;display:flex}.sidebar-save-state>span{background:var(--blue);border-radius:50%;flex:0 0 7px;width:7px;height:7px}.sidebar-save-state.is-error{color:var(--coral)}.sidebar-save-state.is-error>span{background:var(--coral)}.sidebar-session-controls button{border:1px solid var(--line);color:#40505b;background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:38px;font-weight:800;display:flex}.sidebar-session-controls button:hover{color:var(--green-dark);border-color:#9bcfff}.mobile-panel-header,.mobile-bottom-nav,.mobile-nav-backdrop{display:none}.mobile-panel-header{border-bottom:1px solid var(--line);background:#fffffff5;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px}.mobile-panel-profile,.mobile-panel-actions,.mobile-flow-brand{align-items:center;min-width:0;display:flex}.mobile-panel-profile{gap:10px}.mobile-panel-profile>div{min-width:0}.mobile-panel-profile>div strong,.mobile-panel-profile>div span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.mobile-panel-profile>div strong{font-size:.9rem}.mobile-panel-profile>div span{color:var(--muted);margin-top:2px;font-size:.72rem;font-weight:800}.mobile-panel-avatar{flex:0 0 38px;width:38px;height:38px}.mobile-panel-actions{flex:none;gap:8px}.mobile-flow-brand{gap:6px;font-size:.82rem;font-weight:900}.mobile-flow-brand>span{background:var(--ink);color:#fff;border-radius:7px;place-items:center;width:28px;height:28px;font-size:.72rem;display:grid}.mobile-menu-button{width:38px;height:38px;min-height:38px}.mobile-bottom-nav{z-index:18;border-top:1px solid var(--line);padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:#fffffffa;align-items:stretch;gap:2px;position:fixed;inset:auto 0 0;box-shadow:0 -10px 30px #1f2b3614}.mobile-bottom-nav button{min-width:0;min-height:56px;color:var(--muted);background:0 0;border:0;border-radius:8px;flex:1 1 0;align-content:center;place-items:center;gap:3px;padding:4px 2px;display:grid}.mobile-bottom-nav button.is-active{color:var(--green-dark);background:#eaf5ff}.mobile-bottom-nav button span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.64rem;font-weight:900;overflow:hidden}.mobile-nav-backdrop{z-index:30;background:#161a1f75;align-items:flex-end;position:fixed;inset:0}.mobile-nav-sheet{width:100%;max-height:min(82dvh,700px);padding:16px 14px calc(18px + env(safe-area-inset-bottom));background:#fff;border-radius:8px 8px 0 0;overflow-y:auto;box-shadow:0 -24px 70px #161a1f3d}.mobile-nav-sheet-head,.mobile-nav-session{justify-content:space-between;align-items:center;gap:12px;display:flex}.mobile-nav-sheet-head strong,.mobile-nav-sheet-head span{display:block}.mobile-nav-sheet-head strong{font-size:1.1rem}.mobile-nav-sheet-head span{color:var(--muted);margin-top:3px;font-size:.78rem;font-weight:800}.mobile-nav-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0;display:grid}.mobile-nav-grid button{border:1px solid var(--line);color:#40505b;text-align:left;background:#fbfcfc;border-radius:8px;align-items:center;gap:10px;min-height:54px;padding:10px 12px;font-weight:900;display:flex}.mobile-nav-grid button.is-active{color:var(--green-dark);background:#eaf5ff;border-color:#b8dcff}.mobile-nav-grid button svg{flex:none}.mobile-nav-session{border-top:1px solid var(--line);padding-top:14px}.mobile-nav-session>span{min-width:0;color:var(--muted);align-items:center;gap:7px;font-size:.76rem;font-weight:800;display:flex}.mobile-nav-session>span.is-error{color:var(--coral)}.mobile-nav-session i{background:var(--blue);border-radius:50%;flex:0 0 7px;width:7px;height:7px}.mobile-nav-session>span.is-error i{background:var(--coral)}.empty-workspace-state{min-height:300px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:32px;display:flex}.empty-workspace-state h3,.empty-workspace-state p{margin:0}.empty-workspace-state h3{color:var(--ink)}.empty-workspace-state p{max-width:420px;line-height:1.55}.workspace{min-width:0;padding:18px clamp(16px,3vw,34px) 34px}.topbar{justify-content:space-between;align-items:center;gap:14px;min-height:68px;margin-bottom:18px;display:flex}.search-box{border:1px solid var(--line);background:#fff;border-radius:8px;flex:1;align-items:center;gap:10px;min-width:260px;max-width:560px;padding:0 12px;display:flex}.search-box svg{color:var(--muted);flex:none}.search-box input{height:44px;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.topbar-actions,.heading-actions,.drawer-actions{align-items:center;gap:10px;display:flex}.student-topbar-context span,.student-topbar-context strong,.student-account-chip strong,.student-account-chip small{display:block}.student-topbar-context span{color:var(--muted);text-transform:uppercase;font-size:.78rem;font-weight:900}.student-topbar-context strong{margin-top:4px;font-size:1.05rem}.student-account-chip{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:center;gap:10px;padding:7px 10px;display:flex}.student-account-chip small{color:var(--muted);margin-top:2px;font-size:.76rem}.admin-workspace-label{border:1px solid var(--line);color:#40505b;background:#fff;border-radius:8px;align-items:center;gap:8px;min-height:40px;padding:0 12px;font-size:.82rem;font-weight:900;display:inline-flex}.primary-action,.secondary-action,.icon-button,.section-title button,.filter-pill,.profile-tabs button,.segmented-control button{border-radius:8px;min-height:40px}.primary-action,.secondary-action{border:1px solid #0000;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-weight:900;display:inline-flex}.primary-action{background:var(--green);color:#fff}.primary-action:hover{background:var(--green-dark)}.primary-action.compact{min-height:42px}.secondary-action{border-color:var(--line);color:var(--ink);background:#fff}.secondary-action:hover,.icon-button:hover{background:#f8faf9;border-color:#b7c4c9}.icon-button{border:1px solid var(--line);color:#334049;background:#fff;place-items:center;width:42px;height:42px;display:inline-grid}.icon-button.subtle{width:36px;height:36px;box-shadow:none}.segmented-control{border:1px solid var(--line);background:#f2f6f4;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;display:grid}.segmented-control.small{width:220px}.segmented-control button{color:var(--muted);background:0 0;border:0;font-weight:900}.segmented-control button.selected{color:var(--green-dark);background:#fff;box-shadow:0 3px 10px #1f2b3614}.page-grid{grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:18px;display:grid}.today-page,.student-panel-page{grid-template-columns:1fr;gap:18px;display:grid}.student-session-banner{border-left:5px solid var(--green);grid-template-columns:minmax(130px,.35fr) minmax(200px,.75fr) minmax(390px,1fr);align-items:center;gap:18px;display:grid}.student-daily-workout-section{min-width:0}.student-daily-workout-summary{border-bottom:1px solid var(--line);grid-template-columns:minmax(130px,.35fr) minmax(200px,.75fr) minmax(390px,1fr);align-items:center;gap:18px;min-width:0;margin:-2px 0 18px;padding:0 0 16px;display:grid}.student-attendance-entry{justify-content:flex-end;min-width:0;display:flex}.student-session-time,.student-session-name{gap:4px;display:grid}.student-session-time svg{color:var(--green)}.student-session-time span,.student-session-name span,.student-session-name small{color:var(--muted);font-size:.8rem;font-weight:800}.student-session-time strong{font-size:1.35rem}.student-session-name strong{font-size:1.15rem}.student-attendance-button{border:1px solid var(--green);background:var(--green);color:#fff;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 14px;font-weight:900;display:inline-flex}.student-attendance-button.is-recorded{color:var(--green-dark);background:#eaf5ff;border-color:#9bcfff}.student-metric-section-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.student-metric-section-head .section-title{margin-bottom:4px}.student-metric-section-head p{color:var(--muted);margin:0}.student-today-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.student-today-metric{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;grid-template-columns:minmax(160px,1fr) minmax(150px,.7fr);align-items:center;gap:12px;padding:12px;display:grid}.student-today-metric strong,.student-today-metric small{display:block}.student-today-metric small{color:var(--muted);margin-top:4px}.student-metric-input{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid;overflow:hidden}.student-metric-input input{min-width:0;height:40px;box-shadow:none;border:0;border-radius:0}.student-metric-input b{color:var(--muted);padding-right:10px;font-size:.8rem}.student-save-notice{color:var(--green-dark);align-items:center;gap:7px;margin:12px 0 0;font-weight:900;display:flex}.student-progress-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.student-progress-metrics article{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;padding:12px}.student-progress-metrics span,.student-progress-metrics strong,.student-progress-metrics small{display:block}.student-progress-metrics span,.student-progress-metrics small{color:var(--muted)}.student-progress-metrics strong{margin:7px 0 4px;font-size:1.1rem}.student-progress-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:14px;display:grid}.student-progress-panel{min-width:0}.student-progress-scroll-list{overscroll-behavior:contain;scrollbar-gutter:stable;gap:8px;max-height:262px;padding-right:4px;display:grid;overflow-y:auto}.student-progress-list-row{border:1px solid var(--line);width:100%;min-width:0;height:82px;color:var(--ink);text-align:left;background:#fbfcfc;border-radius:8px;align-items:center;gap:9px;padding:10px;display:grid;overflow:hidden}.student-progress-list-row.workout{grid-template-columns:5px minmax(0,1fr) auto}.student-progress-list-row.interactive{cursor:pointer;grid-template-rows:auto auto;grid-template-columns:auto minmax(0,1fr) auto;transition:border-color .18s,background .18s}.student-progress-list-row.interactive:hover{background:#eef7ff;border-color:#b8dcff}.student-progress-list-row strong,.student-progress-list-row span,.student-progress-list-row small{min-width:0}.student-progress-list-row>div>strong,.student-progress-list-row>div>span,.student-progress-list-row.interactive>span>strong,.student-progress-list-row.interactive>span>small,.student-progress-attendance small{display:block}.student-progress-list-row>div>strong,.student-progress-list-row.interactive>span>strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.student-progress-list-row>div>span,.student-progress-list-row.interactive>span>small,.student-progress-attendance small{color:var(--muted);margin-top:5px;font-size:.73rem;font-weight:800}.student-progress-color{border-radius:999px;width:5px;height:46px}.student-progress-attendance{color:var(--blue);text-align:right;font-size:1rem}.student-progress-row-icon{width:34px;height:34px;color:var(--blue);background:#e8f4ff;border-radius:8px;grid-row:1/3;place-items:center;display:grid}.student-progress-row-value{text-align:left;grid-area:2/2;align-items:baseline;gap:5px;max-width:none;display:flex}.student-progress-row-value strong{font-size:.82rem}.student-progress-list-row.interactive>svg{grid-area:1/3/3}.student-move-history-modal{width:min(900px,100%)}.student-move-history-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px;display:grid}.student-move-history-summary article{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;padding:12px}.student-move-history-summary span,.student-move-history-summary strong{display:block}.student-move-history-summary span{color:var(--muted);font-size:.78rem;font-weight:800}.student-move-history-summary strong{margin-top:6px;font-size:1.08rem}.student-move-history-panel{border-top:1px solid var(--line);padding-top:14px}.student-move-history-list{overscroll-behavior:contain;gap:8px;max-height:350px;padding-right:4px;display:grid;overflow-y:auto}.student-move-history-row{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;grid-template-columns:minmax(190px,1fr) repeat(3,minmax(100px,.5fr));align-items:center;gap:10px;padding:11px;display:grid}.student-move-history-row>div strong,.student-move-history-row>div span,.student-move-history-row>span small,.student-move-history-row>span strong{display:block}.student-move-history-row>div span,.student-move-history-row>span small{color:var(--muted);margin-top:4px;font-size:.75rem;font-weight:800}.student-move-history-row>span strong{margin-top:4px;font-size:.84rem}.student-workout-library,.student-coach-list{gap:10px;display:grid}.student-workout-library article{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;grid-template-columns:6px minmax(220px,1fr) minmax(140px,.55fr) minmax(110px,.35fr);align-items:center;gap:12px;padding:12px;display:grid}.student-workout-library i,.student-tuition-row>i{border-radius:999px;width:6px;height:42px}.student-workout-library strong,.student-workout-library span,.student-workout-library small{display:block}.student-workout-library span,.student-workout-library small{color:var(--muted);margin-top:3px}.student-coach-row{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;grid-template-columns:auto minmax(220px,1fr) auto auto;align-items:center;gap:12px;padding:12px;display:grid}.student-coach-row strong,.student-coach-row small{display:block}.student-coach-row small{color:var(--muted);margin-top:4px}.student-tuition-row{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;grid-template-columns:6px minmax(220px,1fr) minmax(150px,.5fr) minmax(150px,.55fr);align-items:center;gap:12px;padding:12px;display:grid}.student-tuition-row strong,.student-tuition-row small{display:block}.student-tuition-row small{color:var(--muted);margin-top:4px}.student-chat-panel{min-height:520px}.student-settings-form{grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;gap:12px;display:grid}.student-settings-form label{gap:6px;display:grid}.student-settings-form label span{color:var(--muted);font-size:.78rem;font-weight:900}.student-settings-stack{gap:14px;display:grid}.coach-settings-modal{width:min(900px,100%)}.coach-settings-section{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;padding:14px}.student-settings-section{gap:16px;display:grid}.student-settings-section-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:13px;display:flex}.student-settings-section-head h3,.student-settings-section-head p{margin:0}.student-settings-section-head>svg{color:var(--green-dark)}.student-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.student-settings-grid label{gap:6px;display:grid}.student-settings-grid label>span{color:var(--muted);font-size:.78rem;font-weight:900}.settings-goal-field{grid-column:1/-1}.profile-photo-editor{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;padding:12px;display:grid}.profile-photo-editor strong,.profile-photo-editor span{display:block}.profile-photo-editor span{color:var(--muted);margin-top:4px;font-size:.8rem}.profile-photo-preview{width:72px;height:72px;font-size:1rem}.profile-photo-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.profile-photo-actions label{cursor:pointer}.profile-photo-picker input{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.student-settings-savebar{border-top:1px solid var(--line);justify-content:flex-end;align-items:center;gap:12px;padding-top:14px;display:flex}.student-settings-savebar>span{color:var(--green-dark);align-items:center;gap:6px;font-size:.84rem;font-weight:900;display:inline-flex}.new-student-photo-upload{min-height:82px;color:var(--green-dark);cursor:pointer;background:#f8fafb;border:1px dashed #aab8be;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;padding:12px;gap:10px!important;display:grid!important}.new-student-photo-upload strong,.new-student-photo-upload small{display:block}.add-coach-photo-field{grid-column:1/-1}.profile-crop-backdrop{z-index:90;background:#0c1218ad;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.profile-crop-modal{border:1px solid var(--line);background:var(--panel);border-radius:8px;justify-items:stretch;gap:18px;width:min(420px,100%);padding:18px;display:grid;box-shadow:0 26px 80px #0c121852}.profile-crop-viewport{cursor:grab;touch-action:none;background:#d9e0e4;border-radius:8px;justify-self:center;width:240px;height:240px;position:relative;overflow:hidden}.profile-crop-viewport.is-dragging{cursor:grabbing}.profile-crop-viewport img{-webkit-user-select:none;user-select:none;pointer-events:none;max-width:none;display:block;position:absolute;transform:translate(-50%,-50%)}.profile-crop-mask{pointer-events:none;border:2px solid #fff;border-radius:50%;position:absolute;inset:0;box-shadow:0 0 0 120px #0c12188c}.profile-crop-zoom{color:var(--muted);grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;font-size:.82rem;font-weight:900;display:grid}.profile-crop-zoom input{accent-color:var(--blue);padding:0}.new-student-photo-upload small{color:var(--muted);margin-top:4px;font-weight:700}.full-span{grid-column:1/-1}.page-heading{justify-content:space-between;align-items:flex-end;gap:16px;padding:8px 0 6px;display:flex}.page-heading h2,.profile-head h2,.drawer-head h2{margin:0;font-size:clamp(1.9rem,4vw,3rem);line-height:1}.page-heading span,.profile-head span{color:var(--muted);margin-top:8px;display:block}.date-page-picker{align-items:stretch;gap:8px;display:flex}.date-page-picker label{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:8px;grid-template-columns:auto minmax(150px,1fr);align-items:center;gap:2px 9px;min-width:210px;padding:7px 10px;display:grid}.date-page-picker label>svg{color:var(--green-dark);grid-row:1/3}.page-heading .date-page-picker label>span{color:var(--muted);margin:0;font-size:.7rem;font-weight:900;line-height:1}.date-page-picker input{min-height:23px;box-shadow:none;cursor:pointer;border:0;border-radius:0;padding:0}.date-page-picker input:focus{box-shadow:none}.eyebrow{color:var(--green-dark);text-transform:uppercase;margin:0 0 8px;font-size:.75rem;font-weight:900}.stats-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.stat-card{align-content:space-between;min-height:134px;padding:16px;display:grid}.stat-card svg{color:var(--green)}.stat-card span,.stat-card small{color:var(--muted)}.stat-card strong{font-size:2rem;line-height:1}.surface{padding:18px}.large-surface{min-height:340px}.section-title{justify-content:space-between;align-items:center;gap:12px;min-height:38px;margin-bottom:16px;display:flex}.section-title div{align-items:center;gap:9px;display:flex}.section-title svg{color:var(--green)}.section-title h3{margin:0;font-size:1rem}.section-title button{color:var(--green-dark);background:0 0;border:0;padding:0 4px;font-size:.84rem;font-weight:900}.workout-agenda,.attention-list,.exercise-list,.form-stack,.compact-form{gap:12px;display:grid}.agenda-item,.attention-item,.exercise-row,.builder-preview{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;align-items:center;gap:12px;padding:12px;display:flex}.agenda-item h3,.agenda-item p,.attention-item strong,.attention-item span,.workout-head h3,.workout-head p{margin:0}.agenda-item>div:nth-child(2){flex:1;min-width:0}.agenda-item p,.attention-item span,.workout-head p{color:var(--muted);margin-top:3px;font-size:.88rem}.time-chip{width:62px;min-height:42px;color:var(--blue);background:#eaf1ff;border-radius:8px;place-items:center;font-weight:900;display:grid}.status-badge{color:#34434e;white-space:nowrap;background:#f7fafb;border:1px solid #cbd5dc;border-radius:999px;justify-content:center;align-items:center;width:fit-content;padding:5px 9px;font-size:.74rem;font-weight:900;display:inline-flex}.status-badge.active,.status-badge.completed,.status-badge.admin,.status-badge.online,.status-badge.attended,.status-badge.logged,.status-badge.paid,.status-badge.already-attended{color:var(--green-dark);background:#eaf5ff;border-color:#b8dcff}.status-badge.needs-check-in,.status-badge.in-progress,.status-badge.coach,.status-badge.makeup,.status-badge.needs-actuals,.status-badge.yet-to-come,.status-badge.will-attend{color:var(--amber);background:#fff5df;border-color:#f0d7a9}.status-badge.paused,.status-badge.inactive,.status-badge.not-started,.status-badge.not-attended,.status-badge.not-paid,.status-badge.missed{color:var(--coral);background:#fff0ed;border-color:#efc3bc}.attention-item svg{color:var(--coral);flex:none}.photo-strip{grid-template-columns:repeat(4,minmax(120px,1fr)) minmax(250px,.9fr);align-items:stretch;gap:14px;display:grid}.progress-photo{border:1px solid var(--line);background:#f8fafb;border-radius:8px;grid-template-rows:1fr auto;min-height:190px;margin:0;display:grid;overflow:hidden}.progress-photo div{background:linear-gradient(135deg, #fff3, transparent 40%), var(--photo-color,#dce7e2);min-height:140px}.photo-1{--photo-color:#dfe9ef}.photo-2{--photo-color:#dcebdd}.photo-3{--photo-color:#efe5da}.photo-4{--photo-color:#e5e0ef}.progress-photo figcaption{color:var(--muted);padding:10px 12px;font-size:.84rem;font-weight:800}.student-photos-section{gap:16px;display:grid}.student-photo-section-head,.photo-angle-detail-head{justify-content:space-between;align-items:center;gap:14px;display:flex}.student-photo-section-head h3,.student-photo-section-head p,.student-photo-section-head span,.photo-angle-detail-head h3,.photo-angle-detail-head p,.photo-angle-detail-head span{margin:0;display:block}.student-photo-section-head h3,.photo-angle-detail-head h3{margin-top:3px}.student-photo-section-head span,.photo-angle-detail-head span{color:var(--muted);margin-top:5px;font-size:.84rem;font-weight:800}.photo-angle-detail-head>div{flex:1;min-width:0}.photo-angle-grid,.photo-history-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.photo-angle-card{border:1px solid var(--line);min-height:104px;color:var(--ink);text-align:left;cursor:pointer;background:#fbfcfc;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:15px;display:grid}.photo-angle-card:hover{background:#eef7ff;border-color:#9bcfff}.photo-angle-card strong,.photo-angle-card small{display:block}.photo-angle-card small{color:var(--muted);margin-top:5px}.photo-angle-icon{width:44px;height:44px;color:var(--green-dark);background:#eaf5ff;border-radius:8px;place-items:center;display:grid}.photo-history-card{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;min-width:0;overflow:hidden}.photo-history-preview{aspect-ratio:4/3;border-bottom:1px solid var(--line);color:#2376ad;background:#eaf5ff;place-items:center;display:grid;overflow:hidden}.photo-history-preview img{object-fit:cover;width:100%;height:100%;display:block}.photo-history-card>div:last-child{padding:11px 12px}.photo-history-card strong,.photo-history-card span{display:block}.photo-history-card span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:.82rem;overflow:hidden}.empty-photo-history{min-height:150px;color:var(--muted);text-align:center;background:#fbfcfc;border:1px dashed #cbd5dc;border-radius:8px;grid-column:1/-1;align-content:center;place-items:center;gap:8px;display:grid}.photo-angle-modal,.progress-photo-modal{width:min(560px,100%)}.photo-upload-field{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;gap:8px;padding:12px;display:grid}.photo-upload-field>span{color:#40505b;align-items:center;gap:7px;font-weight:900;display:flex}.photo-upload-field small{color:var(--muted)}.metric-panel{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;padding:16px}.metric-panel h3{margin:0 0 12px}.metric-row{border-top:1px solid var(--line);min-height:38px;color:var(--muted);justify-content:space-between;align-items:center;display:flex}.metric-row strong{color:var(--ink)}.students-layout{grid-template-columns:360px minmax(0,1fr);gap:18px;min-width:0;display:grid}.students-layout>*,.student-profile{min-width:0}.students-heading,.messages-heading{grid-column:1/-1}.student-list,.message-list{box-shadow:none;padding:14px}.filter-row{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.filter-pill{border:1px solid var(--line);color:#3e4d58;background:#fff;padding:0 10px;font-size:.82rem;font-weight:900}.filter-pill.is-active{color:var(--green-dark);background:#eaf5ff;border-color:#9bcfff}.admin-coaches-page{gap:18px;min-width:0;display:grid}.admin-coaches-layout{grid-template-columns:360px minmax(0,1fr);gap:18px;min-width:0;display:grid}.admin-coach-list,.admin-coach-detail{min-width:0;padding:16px}.admin-coach-list-scroll,.admin-coach-student-list,.admin-coach-workout-list{gap:8px;display:grid}.admin-coach-list-scroll{max-height:calc(100vh - 240px);overflow-y:auto}.admin-coach-row,.admin-coach-student-list button{width:100%;min-width:0;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:8px;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px;display:grid}.admin-coach-row:hover,.admin-coach-row.selected,.admin-coach-student-list button:hover{background:#eaf5ff}.admin-coach-row>span,.admin-coach-student-list button>span{min-width:0}.admin-coach-row strong,.admin-coach-row small,.admin-coach-student-list strong,.admin-coach-student-list small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.admin-coach-row small,.admin-coach-student-list small{color:var(--muted);margin-top:3px;font-size:.78rem}.admin-coach-head h2{margin-bottom:4px}.admin-coach-head .profile-identity>div>span{color:var(--muted);font-size:.84rem}.admin-coach-tabs{margin-bottom:14px}.admin-coach-workout-row{border-top:1px solid var(--line);grid-template-columns:5px minmax(180px,1.2fr) minmax(220px,1fr) 100px;align-items:center;gap:14px;min-width:0;padding:14px 0;display:grid}.admin-coach-workout-row:first-child{border-top:0}.admin-coach-workout-row>span:not(.workout-color-bar),.admin-coach-workout-row strong,.admin-coach-workout-row small{min-width:0;display:block}.admin-coach-workout-row small{color:var(--muted);margin-bottom:3px;font-size:.76rem}.workout-color-bar{border-radius:3px;width:5px;height:38px}.add-coach-modal{width:min(760px,100vw - 32px)}.add-coach-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.add-coach-form-grid label{gap:7px;display:grid}.add-coach-form-grid label>span{color:#41505b;font-size:.83rem;font-weight:800}.student-row,.message-list button{text-align:left;border-radius:8px;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:94px;padding:10px;display:grid}.student-row-main{min-width:0}.student-row:hover,.student-row.selected,.message-list button:hover,.message-list button.selected{background:#eaf5ff}.avatar{background:var(--ink);color:#fff;border-radius:50%;flex:none;place-items:center;width:44px;height:44px;font-size:.82rem;font-weight:900;display:grid;overflow:hidden}.avatar img{object-fit:cover;width:100%;height:100%;display:block}.profile-identity{align-items:center;gap:12px;min-width:0;display:flex}.profile-head .profile-avatar{color:#fff;width:62px;height:62px;margin-top:0;font-size:1rem;display:grid}.student-row strong,.message-list strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.student-row small,.message-list small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;display:block;overflow:hidden}.student-profile{padding:18px}.profile-head,.workout-head,.chat-header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.profile-tabs{gap:8px;margin:20px 0;padding-bottom:2px;display:flex;overflow-x:auto}.profile-tabs button{border:1px solid var(--line);color:var(--muted);background:#fff;flex:none;padding:0 12px;font-weight:900}.profile-tabs button.selected{color:var(--green-dark);background:#eaf5ff;border-color:#b8dcff}.profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.student-tab-stack{gap:14px;display:grid}.profile-section{box-shadow:none}.profile-section h3,.profile-section p{margin:0}.profile-section p{color:var(--muted);margin-top:8px;line-height:1.5}.profile-section.wide{grid-column:1/-1}.placeholder-profile-tab{min-height:240px}.placeholder-profile-tab p{max-width:560px}.calendar-filter-panel{grid-template-columns:minmax(160px,.6fr) minmax(160px,.6fr) minmax(320px,1fr);align-items:end;gap:10px;margin-bottom:12px;display:grid}.calendar-filter-panel label{gap:6px;display:grid}.calendar-filter-panel label span{color:var(--muted);font-size:.78rem;font-weight:900}.calendar-data-filters{flex-wrap:wrap;gap:8px;display:flex}.calendar-data-filters button,.muscle-filter-row button{border:1px solid var(--line);color:#40505b;background:#fff;border-radius:8px;align-items:center;gap:7px;min-height:40px;padding:0 10px;font-weight:900;display:inline-flex}.calendar-data-filters button.selected,.muscle-filter-row button.selected{color:var(--green-dark);background:#eaf5ff;border-color:#b8dcff}.workout-color-legend{color:var(--muted);flex-wrap:wrap;gap:8px 14px;margin-bottom:12px;font-size:.82rem;font-weight:800;display:flex}.workout-color-legend span{align-items:center;gap:7px;display:inline-flex}.workout-color-legend i{border-radius:999px;width:10px;height:10px;display:inline-block}.student-calendar-grid{grid-template-columns:repeat(6,minmax(136px,1fr));gap:10px;display:grid}.student-calendar-day{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;grid-template-rows:auto 1fr;gap:10px;min-height:170px;padding:10px;transition:border-color .2s,box-shadow .2s,transform .2s;display:grid}.student-calendar-day:hover{border-color:#b8dcff;transform:translateY(-1px);box-shadow:0 10px 24px #008fff1a}.student-calendar-date{justify-content:space-between;gap:10px;display:flex}.student-calendar-date strong,.student-calendar-date span{display:block}.student-calendar-date span{color:var(--muted);font-size:.78rem;font-weight:800}.calendar-event-stack,.calendar-training-event{align-content:start;gap:6px;display:grid}.calendar-workout-chip,.calendar-metric-chip{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:center;gap:6px;min-height:28px;padding:4px 7px;font-size:.75rem;font-weight:900;line-height:1.2;display:inline-flex}.calendar-metric-chip{color:#40505b}.calendar-attendance-toggle,.calendar-habit-toggle{color:#51606b;background:#fff;border:1px solid #c7d5de;border-radius:7px;justify-content:center;align-items:center;gap:5px;min-height:28px;padding:4px 7px;font-size:.72rem;font-weight:900;display:inline-flex}.calendar-attendance-toggle{width:100%}.calendar-attendance-toggle.is-complete,.calendar-habit-toggle.is-complete{color:#287755;background:#eaf7f0;border-color:#9bcfb6}.calendar-habit-event{border:1px solid var(--line);border-left:3px solid var(--blue);background:#fff;border-radius:8px;grid-template-columns:minmax(0,1fr);gap:7px;min-width:0;padding:7px;display:grid}.calendar-habit-name{align-items:center;gap:7px;min-width:0;display:flex}.calendar-habit-name .habit-sticker{width:26px;height:26px}.calendar-habit-name>span:last-child,.calendar-habit-name strong,.calendar-habit-name small{min-width:0;display:block}.calendar-habit-name strong{text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;overflow:hidden}.calendar-habit-name small{color:var(--muted);margin-top:2px;font-size:.67rem;font-weight:800}.calendar-habit-toggle{width:100%}.attendance-subtabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px;display:grid}.attendance-subtabs button{border:1px solid var(--line);color:#40505b;text-align:left;background:#fbfcfc;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;min-height:58px;padding:10px 12px;font-weight:900;display:flex}.attendance-subtabs button.selected{color:var(--green-dark);background:#eaf5ff;border-color:#b8dcff}.attendance-subtabs strong{min-width:28px;min-height:28px;color:inherit;background:#fff;border-radius:999px;place-items:center;font-size:.8rem;display:grid}.attendance-session-list{gap:10px;display:grid}.attendance-session-row{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;grid-template-columns:minmax(150px,.75fr) minmax(200px,1fr) minmax(320px,auto);align-items:center;gap:12px;padding:12px;display:grid}.attendance-session-date strong,.attendance-session-date span,.attendance-session-workout strong,.attendance-session-workout span{display:block}.attendance-session-date span,.attendance-session-workout span{color:var(--muted);margin-top:4px;font-size:.84rem}.attendance-session-workout{grid-template-columns:5px minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.attendance-session-workout i{border-radius:999px;width:5px;height:44px;display:block}.empty-attendance-list{color:var(--muted);background:#fbfcfc;border:1px dashed #cbd5dc;border-radius:8px;padding:18px;font-weight:800}.assigned-workout-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.assigned-workout-card{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;padding:14px 14px 14px 18px;position:relative;overflow:hidden}.assigned-workout-color{width:5px;position:absolute;inset:0 auto 0 0}.assigned-workout-card h3,.assigned-workout-card p,.assigned-workout-card dl{margin:0}.assigned-workout-card p{color:var(--muted);margin-top:5px}.assigned-workout-card dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px;display:grid}.assigned-workout-card dt{color:var(--muted);font-size:.74rem;font-weight:900}.assigned-workout-card dd{margin:4px 0 0;font-weight:900}.compact-card-action{margin-top:14px}.assigned-workout-list{gap:12px;display:grid}.assigned-workout-list-item{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;overflow:hidden}.assigned-workout-list-item.is-open{border-color:#b8dcff;box-shadow:0 12px 30px #008fff14}.assigned-workout-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px;display:grid}.assigned-workout-row .compact-card-action{white-space:nowrap;margin-top:0}.student-assigned-workout-row{grid-template-columns:minmax(0,1fr)}.student-assigned-workout-row .assigned-workout-list-button{grid-template-columns:8px minmax(190px,1fr) repeat(2,minmax(110px,.45fr)) auto}.assigned-workout-list-button{width:100%;min-height:72px;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;grid-template-columns:8px minmax(190px,1fr) repeat(3,minmax(100px,.45fr)) auto;align-items:center;gap:12px;padding:10px;display:grid}.assigned-workout-list-button:hover{background:#eef7ff}.assigned-workout-list-item.is-open .assigned-workout-list-button>svg{transform:rotate(90deg)}.assigned-workout-color-dot{border-radius:999px;width:8px;height:44px}.assigned-workout-summary strong,.assigned-workout-summary small,.assigned-workout-dates strong,.assigned-workout-dates small{display:block}.assigned-workout-summary small,.assigned-workout-dates small{color:var(--muted);margin-top:4px;font-size:.78rem;font-weight:900}.assigned-workout-dates strong{margin-top:4px;font-size:.88rem}.workout-session-list{border-top:1px solid var(--line);gap:10px;padding:12px;display:grid}.workout-session-row{border:1px solid var(--line);background:#fff;border-radius:8px;overflow:hidden}.workout-session-row.is-open{border-color:#b8dcff}.workout-session-main{grid-template-columns:minmax(230px,1fr) minmax(320px,auto);align-items:center;gap:12px;padding:12px;display:grid}.workout-session-toggle{min-height:48px;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px;display:grid}.workout-session-toggle:hover{background:#eef7ff}.workout-session-row.is-open .workout-session-toggle>svg{transform:rotate(90deg)}.workout-session-toggle strong,.workout-session-toggle small{display:block}.workout-session-toggle small{color:var(--muted);margin-top:4px;font-size:.84rem}.workout-session-detail{border-top:1px solid var(--line);padding:12px}.workout-session-detail .workout-log-day{background:#fbfcfc}.tuition-report-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.tuition-report-card{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;padding:14px}.tuition-report-card span,.tuition-report-card strong,.tuition-report-card small{display:block}.tuition-report-card span{color:var(--muted);font-size:.78rem;font-weight:900}.tuition-report-card strong{color:var(--ink);margin-top:8px;font-size:1.1rem}.tuition-report-card small{color:var(--muted);margin-top:5px}.monthly-payment-panel{gap:10px;margin-top:16px;display:grid}.monthly-payment-list{gap:8px;display:grid}.monthly-payment-row{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:minmax(130px,1fr) minmax(160px,.8fr) minmax(130px,.7fr);align-items:center;gap:12px;padding:10px 12px;display:grid}.monthly-payment-row span,.monthly-payment-row strong,.monthly-payment-row small{min-width:0}.monthly-payment-row span,.monthly-payment-row small{color:var(--muted);font-size:.84rem;font-weight:900}.tuition-workout-list{gap:10px;display:grid}.tuition-workout-row{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;grid-template-columns:minmax(220px,1fr) minmax(150px,.5fr) minmax(190px,.75fr) auto;align-items:center;gap:14px;padding:12px;display:grid}.tuition-workout-main{grid-template-columns:8px minmax(0,1fr);align-items:center;gap:12px;display:grid}.tuition-workout-main strong,.tuition-workout-main small,.tuition-workout-money strong,.tuition-workout-money small,.tuition-payment-state span,.tuition-payment-state small{display:block}.tuition-workout-main small,.tuition-workout-money small,.tuition-payment-state span,.tuition-payment-state small{color:var(--muted);margin-top:4px;font-size:.82rem}.tuition-workout-money strong{margin-top:4px}.tuition-payment-state{gap:5px;display:grid}.coach-tuition-section{gap:14px;display:grid}.tuition-date-filter{grid-template-columns:repeat(2,minmax(150px,1fr)) auto;align-items:end;gap:10px;display:grid}.tuition-date-filter label{gap:5px;display:grid}.tuition-date-filter label>span{color:var(--muted);font-size:.72rem;font-weight:900}.tuition-range-status{border:1px solid var(--line);min-height:42px;color:var(--muted);background:#fbfcfc;border-radius:8px;align-items:center;gap:8px;padding:6px 8px 6px 11px;font-size:.8rem;font-weight:900;display:flex}.tuition-range-status .icon-button{width:30px;min-height:30px}.coach-tuition-section-head{justify-content:space-between;align-items:center;gap:16px;display:flex}.coach-tuition-section-head .section-title{margin-bottom:0}.tuition-filter-tabs{border:1px solid var(--line);background:#f3f6f7;border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-width:min(420px,100%);padding:4px;display:grid}.tuition-filter-tabs button{min-height:40px;color:var(--muted);background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:7px;font-weight:900;display:flex}.tuition-filter-tabs button.selected{color:var(--green-dark);background:#fff;box-shadow:0 1px 4px #0c12181a}.tuition-filter-tabs button strong{background:#eaf5ff;border-radius:999px;place-items:center;min-width:23px;padding:3px 6px;font-size:.75rem;display:grid}.coach-tuition-list{gap:10px;display:grid}.coach-tuition-row{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;grid-template-columns:minmax(190px,.8fr) minmax(220px,1fr) minmax(150px,.55fr) minmax(200px,.8fr) auto;align-items:center;gap:14px;padding:12px;display:grid}.coach-tuition-student{align-items:center;gap:10px;min-width:0;display:flex}.coach-tuition-student .avatar{flex:none;width:38px;height:38px}.coach-tuition-student strong,.coach-tuition-student small{display:block}.coach-tuition-student small{color:var(--muted);margin-top:4px}.payment-modal{border:1px solid var(--line);background:var(--panel);border-radius:8px;gap:14px;width:min(620px,100%);max-height:min(720px,100vh - 44px);padding:18px;display:grid;overflow:auto;box-shadow:0 26px 80px #0c121847}.payment-form{grid-template-columns:minmax(180px,.8fr) minmax(220px,1fr);gap:12px;display:grid}.payment-form label{gap:6px;display:grid}.payment-form label span{color:var(--muted);font-size:.78rem;font-weight:900}.receipt-preview{min-height:48px;color:var(--muted);background:#f8fafb;border:1px dashed #aab8be;border-radius:8px;align-items:center;gap:10px;padding:10px 12px;font-weight:900;display:flex}.receipt-preview span{overflow-wrap:anywhere;flex:1;min-width:0}.add-workout-launch{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.add-workout-launch .section-title{margin-bottom:8px}.add-workout-launch p{color:var(--muted);margin:0}.assignment-edit-modal,.workout-assignment-modal,.session-editor-modal{border:1px solid var(--line);background:var(--panel);border-radius:8px;gap:14px;width:min(980px,100%);max-height:min(820px,100vh - 44px);padding:18px;display:grid;overflow:auto;box-shadow:0 26px 80px #0c121847}.session-editor-modal{width:min(1100px,100%)}.assignment-edit-modal{width:min(720px,100%)}.workout-builder{gap:14px;display:grid}.workout-builder-mode{justify-self:start}.existing-workout-picker,.new-workout-builder,.assignment-builder-panel{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;gap:12px;padding:12px;display:grid}.existing-workout-picker label,.builder-settings-grid label,.assignment-settings-grid label{gap:6px;display:grid}.existing-workout-picker label span,.builder-settings-grid label span,.assignment-settings-grid label span{color:var(--muted);font-size:.78rem;font-weight:900}.builder-settings-grid,.assignment-settings-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.builder-total-strip,.assignment-fit-message{min-height:44px;color:var(--muted);background:#fff;border:1px solid #dfe8ee;border-radius:8px;align-items:center;gap:9px;padding:10px 12px;display:flex}.builder-total-strip strong{color:var(--ink)}.assignment-fit-message.is-valid{color:var(--green-dark);background:#eaf5ff;border-color:#b8dcff}.assignment-fit-message.is-invalid{color:var(--coral);background:#fff0ed;border-color:#efc3bc}.action-disabled-reason{width:fit-content;color:var(--coral);background:#fff0ed;border:1px solid #efc3bc;border-radius:8px;padding:8px 10px;font-size:.82rem;font-weight:900}.repeat-schedule-panel,.projected-calendar-panel{border:1px solid var(--line);background:#fff;border-radius:8px;gap:12px;padding:12px;display:grid}.repeat-placement-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.repeat-placement-grid label{gap:6px;display:grid}.repeat-placement-grid label span{color:var(--muted);font-size:.78rem;font-weight:900}.repeat-period-grid,.projected-calendar-grid{grid-template-columns:repeat(auto-fill,minmax(82px,1fr));gap:8px;display:grid}.repeat-period-day,.projected-calendar-day{background:#fbfcfc;border:1px solid #dfe8ee;border-radius:8px;align-content:start;gap:5px;min-height:72px;padding:8px;display:grid}.repeat-period-day strong,.projected-calendar-day strong{color:#40505b;font-size:.78rem}.repeat-period-day span,.projected-calendar-day span{width:fit-content;min-height:22px;color:var(--green-dark);background:#eaf5ff;border:1px solid #b8dcff;border-radius:999px;align-items:center;padding:2px 7px;font-size:.72rem;font-weight:900;display:inline-flex}.assignment-settings-grid-compact{grid-template-columns:repeat(3,minmax(0,1fr))}.modal-action-row{justify-content:flex-end;align-items:center;gap:10px;display:flex}.danger-action{min-height:42px;color:var(--coral);background:#fff0ed;border:1px solid #efc3bc;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-weight:900;display:inline-flex}.session-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.session-card-grid button{border:1px solid var(--line);color:#40505b;text-align:left;background:#fff;border-radius:8px;align-content:center;justify-items:start;gap:4px;min-height:94px;padding:12px;font-weight:900;display:grid}.session-card-grid button:hover,.session-card-grid button.selected{color:var(--green-dark);background:#eaf5ff;border-color:#b8dcff}.session-card-grid span,.session-card-grid small{color:var(--muted)}.session-card-grid small{font-size:.76rem}.session-editor-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.session-editor-head h3,.session-editor-head p{margin:0}.session-editor-head p{color:var(--muted);margin-top:4px}.selected-move-summary{background:#f4faff;border:1px solid #b8dcff;border-radius:8px;align-items:center;gap:10px;min-width:0;padding:8px 10px;display:flex}.selected-move-summary-label{color:var(--green-dark);flex:none;align-items:center;gap:6px;font-size:.8rem;font-weight:900;display:inline-flex}.selected-move-chip-list{scrollbar-width:thin;gap:7px;min-width:0;padding-bottom:2px;display:flex;overflow-x:auto}.selected-move-chip-list button{max-width:230px;min-height:34px;color:var(--green-dark);background:#fff;border:1px solid #b8dcff;border-radius:8px;flex:none;align-items:center;gap:6px;padding:5px 8px;font-size:.78rem;font-weight:900;display:inline-flex}.selected-move-chip-list button:hover{border-color:var(--green);background:#eaf5ff}.selected-move-chip-list button strong{background:#eaf5ff;border-radius:6px;flex:none;place-items:center;width:21px;height:21px;font-size:.7rem;display:grid}.selected-move-chip-list button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.move-directory-picker{border:1px solid var(--line);background:#fff;border-radius:8px;gap:10px;padding:10px;display:grid}.compact-search{min-height:42px}.muscle-filter-row{flex-wrap:wrap;gap:8px;display:flex}.move-choice-grid{overscroll-behavior:contain;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:min(300px,34vh);padding-right:4px;display:grid;overflow-y:auto}.move-choice-grid button{border:1px solid var(--line);min-height:58px;color:var(--ink);text-align:left;background:#fbfcfc;border-radius:8px;justify-items:start;padding:9px;display:grid}.move-choice-grid button:hover{background:#f4faff;border-color:#9bcfff}.move-choice-grid button.selected{border-color:var(--green);box-shadow:inset 4px 0 0 var(--green);background:#eaf5ff}.move-choice-title{width:100%;min-width:0;color:var(--ink);justify-content:space-between;align-items:center;gap:8px;display:flex}.move-choice-title strong{overflow-wrap:anywhere;min-width:0}.move-choice-grid .move-choice-selected{min-height:24px;color:var(--green-dark);background:#fff;border-radius:6px;flex:none;align-items:center;gap:4px;padding:3px 7px;font-size:.7rem;font-weight:900;display:inline-flex}.move-choice-meta{color:var(--muted);margin-top:3px;font-size:.78rem;font-weight:800}.session-move-list{gap:8px;display:grid}.session-move-row{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:minmax(150px,1.1fr) repeat(5,minmax(92px,.7fr)) 42px;align-items:center;gap:8px;padding:10px;display:grid}.session-move-row input,.session-move-row select{min-height:38px;padding:8px 9px}.session-move-field{gap:5px;min-width:0;display:grid}.session-move-field>span{min-height:24px;color:var(--muted);align-items:flex-end;font-size:.69rem;font-weight:900;display:flex}.session-move-name,.exercise-move-name,.move-sequence{align-items:center;gap:7px;min-width:0;display:flex}.session-move-name strong,.exercise-move-name strong,.move-sequence strong{overflow-wrap:anywhere;min-width:0}.move-drag-handle{color:#7a8790;cursor:grab;-webkit-user-select:none;user-select:none;border-radius:6px;flex:none;place-items:center;width:26px;height:30px;display:grid}.move-drag-handle:hover{color:var(--green-dark);background:#eaf5ff}.move-drag-handle:active{cursor:grabbing}.move-order-number{width:25px;height:25px;color:var(--green-dark);background:#eaf5ff;border:1px solid #c8def1;border-radius:6px;flex:none;place-items:center;font-size:.74rem;font-weight:900;display:grid}.session-move-row.is-reorderable,.exercise-row.is-reorderable,.performance-row.is-reorderable{transition:border-color .12s,background .12s,opacity .12s}.session-move-row.is-dragging,.exercise-row.is-dragging,.performance-row.is-dragging{opacity:.45}.session-move-row.is-drop-target,.exercise-row.is-drop-target,.performance-row.is-drop-target{box-shadow:inset 0 2px 0 var(--green);background:#eef7ff;border-color:#86c5ff}.remove-move-button{width:40px;height:40px;color:var(--coral);background:#fff0ed;border:1px solid #efc3bc;border-radius:8px;place-items:center;padding:0;display:grid}.metric-bar{background:#e7edf0;border-radius:999px;height:9px;margin-top:16px;overflow:hidden}.metric-bar span{border-radius:inherit;background:var(--green);height:100%;display:block}.plan-session-progress{gap:12px;margin-top:18px;display:grid}.plan-progress-copy{align-items:baseline;gap:8px;display:flex}.plan-progress-copy strong{color:var(--green-dark);font-size:1.1rem}.plan-progress-copy span{color:var(--muted);font-size:.86rem;font-weight:800}.session-dot-line{grid-template-columns:repeat(auto-fit,minmax(14px,1fr));align-items:center;gap:8px;max-width:520px;display:grid;position:relative}.session-dot-line:before{content:"";background:#d8e3ea;height:2px;position:absolute;top:50%;left:7px;right:7px;transform:translateY(-50%)}.session-dot{z-index:1;background:#fff;border:2px solid #c5d0d8;border-radius:999px;width:14px;height:14px;display:inline-block;position:relative}.session-dot.attended{border-color:var(--green);background:var(--green)}.session-dot.missed{border-color:var(--coral);background:#fff;box-shadow:inset 0 0 0 3px #fff0ed}.session-dot.upcoming{background:#fff;border-color:#c5d0d8}.session-legend{color:var(--muted);flex-wrap:wrap;gap:10px 14px;font-size:.78rem;font-weight:800;display:flex}.session-legend span{align-items:center;gap:6px;display:inline-flex}.session-legend .session-dot{width:10px;height:10px}.plan-progress-empty{color:var(--muted);background:#fbfcfc;border:1px dashed #cbd5dc;border-radius:8px;margin-top:18px;padding:14px;font-weight:800}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.metric-section-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.metric-head-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.metric-accordion-list{gap:10px;display:grid}.metric-accordion-item{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;position:relative;overflow:hidden}.metric-accordion-item.is-open{border-color:#b8dcff;box-shadow:0 12px 28px #008fff1a}.metric-accordion-summary{width:100%;min-height:82px;color:var(--ink);text-align:left;background:0 0;border:0;grid-template-columns:minmax(0,1fr) 24px;align-items:center;gap:10px;padding:12px 56px 12px 14px;display:grid}.metric-accordion-summary span,.metric-accordion-summary strong,.metric-accordion-summary small{display:block}.metric-accordion-summary span,.metric-accordion-summary small{color:var(--muted);font-size:.82rem}.metric-accordion-summary strong{margin-top:5px;font-size:1rem}.metric-accordion-summary small{margin-top:5px;font-weight:800}.metric-accordion-item.is-open .metric-accordion-summary svg{transform:rotate(90deg)}.delete-metric-button{width:34px;height:34px;color:var(--coral);background:#fff0ed;border:1px solid #efc3bc;border-radius:8px;place-items:center;padding:0;display:grid;position:absolute;top:18px;right:14px}.metric-accordion-body{border-top:1px solid var(--line);gap:12px;padding:12px;display:grid}.metric-tile{border:1px solid var(--line);min-height:72px;color:var(--ink);text-align:left;background:#fbfcfc;border-radius:8px;padding:12px;transition:border-color .2s,box-shadow .2s,transform .2s}.metric-tile span,.metric-tile strong,.metric-tile small{display:block}.metric-tile span{color:var(--muted);font-size:.82rem}.metric-tile strong{margin-top:7px}.metric-tile small{color:var(--muted);margin-top:6px;font-size:.78rem;font-weight:800}.metric-tile:hover,.metric-tile:focus-visible{border-color:#b8dcff;transform:translateY(-1px);box-shadow:0 12px 28px #008fff1f}.modal-backdrop{z-index:40;background:#0c12186b;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.metric-modal{border:1px solid var(--line);background:var(--panel);border-radius:8px;gap:14px;width:min(920px,100%);max-height:min(780px,100vh - 44px);padding:18px;display:grid;overflow:auto;box-shadow:0 26px 80px #0c121847}.metric-modal-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:14px;padding-bottom:14px;display:flex}.metric-modal-head h2,.metric-modal-head p{margin:0}.metric-modal-head span{color:var(--muted);margin-top:6px;font-size:.9rem;display:block}.metric-entry-form{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;grid-template-columns:minmax(150px,.7fr) minmax(160px,.7fr) minmax(160px,.7fr) minmax(120px,.5fr) auto;align-items:end;gap:10px;padding:12px;display:grid}.add-existing-metric-form{grid-template-columns:minmax(220px,1fr) auto}.metric-create-form{gap:12px;display:grid}.metric-create-form>label,.new-unit-grid label{gap:6px;display:grid}.metric-create-form>label span,.new-unit-grid label span{color:var(--muted);font-size:.78rem;font-weight:900}.metric-unit-picker,.new-unit-panel{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;padding:12px}.metric-unit-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.metric-unit-grid label{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:center;gap:8px;min-height:54px;padding:9px;display:flex}.metric-unit-grid input{flex:none;width:16px;height:16px}.metric-unit-grid span,.metric-unit-grid strong{display:block}.metric-unit-grid span{min-width:0;color:var(--muted);font-size:.78rem}.metric-unit-grid strong{color:var(--ink);font-size:.9rem}.new-unit-grid{grid-template-columns:minmax(180px,1fr) minmax(140px,.7fr) auto;align-items:end;gap:10px;display:grid}.metric-entry-form label,.metric-history-row label{gap:6px;display:grid}.metric-entry-form label span,.metric-history-row label span{color:var(--muted);font-size:.78rem;font-weight:900}.metric-trend-panel,.metric-history-panel{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;padding:14px}.metric-history-title{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.metric-history-title h3{margin:0;font-size:1rem}.metric-history-title span{color:var(--muted);font-size:.82rem;font-weight:800}.trend-chart{background:#fff;border:1px solid #dfe8ee;border-radius:8px;width:100%;height:190px;display:block}.trend-grid-line{stroke:#e4edf2;stroke-width:1px}.trend-line{fill:none;stroke:var(--green);stroke-linecap:round;stroke-linejoin:round;stroke-width:4px}.trend-point{fill:#fff;stroke:var(--green-dark);stroke-width:3px}.trend-range{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-top:10px;font-size:.82rem;font-weight:800;display:flex}.trend-empty{min-height:120px;color:var(--muted);text-align:center;background:#fff;border:1px dashed #cbd5dc;border-radius:8px;place-items:center;font-weight:800;display:grid}.metric-history-list{gap:8px;display:grid}.metric-history-row{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:minmax(150px,.72fr) minmax(160px,.7fr) minmax(120px,.5fr);gap:10px;padding:10px;display:grid}.attendance-table{gap:10px;display:grid}.attendance-row{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;grid-template-columns:minmax(170px,1fr) minmax(140px,.75fr) minmax(320px,auto);align-items:center;gap:12px;padding:12px;display:grid}.attendance-meta-copy strong,.attendance-meta-copy span,.attendance-workout strong,.attendance-workout span{display:block}.attendance-meta-copy>span,.attendance-workout span{color:var(--muted);margin-top:4px;font-size:.84rem}.attendance-class-name{color:var(--green-dark);margin-top:4px;font-size:.76rem;font-weight:900;display:block}.attendance-meta{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-width:0;display:grid}.attendance-workout .status-badge{margin-top:8px}.attendance-controls{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.attendance-controls button{border:1px solid var(--line);color:#40505b;white-space:nowrap;background:#fff;border-radius:8px;min-height:34px;padding:0 7px;font-size:.74rem;font-weight:900}.attendance-controls button.attended.selected{color:var(--green-dark);background:#eaf5ff;border-color:#b8dcff}.attendance-controls button.missed.selected{color:var(--coral);background:#fff0ed;border-color:#efc3bc}.attendance-controls button.makeup.selected{color:var(--amber);background:#fff5df;border-color:#f0d7a9}.makeup-field{gap:6px;display:grid}.makeup-field span{color:var(--muted);font-size:.78rem;font-weight:900}.makeup-field input{min-height:34px;padding:7px 8px}.makeup-field.is-disabled{opacity:.58}.workout-log-list{gap:14px;display:grid}.history-scroll-region{overscroll-behavior:contain;scrollbar-gutter:stable;max-height:580px;padding-right:6px;overflow-y:auto}.history-scroll-region:focus-visible{outline-offset:3px;outline:2px solid #008fff}.history-load-status{color:var(--muted);text-align:center;background:#f8fafb;border:1px dashed #cbd5dc;border-radius:8px;padding:10px 12px;font-size:.82rem;font-weight:900}.workout-log-day{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;overflow:hidden}.workout-log-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:12px;padding:12px;display:flex}.workout-log-toggle{width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0}.workout-log-toggle[aria-expanded=true]{border-bottom:1px solid var(--line);background:#f1f8ff}.workout-log-toggle:hover{background:#f1f8ff}.workout-log-chevron{color:var(--muted);flex:none;transition:transform .18s}.workout-log-chevron.is-open{transform:rotate(90deg)}.workout-log-collapse.is-open{animation:.18s ease-out workout-log-slide-open}@keyframes workout-log-slide-open{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.workout-log-head-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.workout-log-head-actions .compact-card-action{margin:0}.workout-log-head strong,.workout-log-head span{display:block}.workout-log-head span{color:var(--muted);margin-top:4px;font-size:.84rem}.performance-table{display:grid}.performance-head,.performance-row{grid-template-columns:minmax(150px,1fr) minmax(270px,1.25fr) minmax(360px,1.6fr) minmax(120px,.55fr);align-items:center;gap:12px;padding:12px;display:grid}.performance-head{color:var(--muted);text-transform:uppercase;font-size:.78rem;font-weight:900}.performance-row{border-top:1px solid var(--line)}.performance-move-cell{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.performance-move-cell strong{overflow-wrap:anywhere;min-width:0}.remove-session-move{width:32px;height:32px;min-height:32px;color:var(--coral);border-color:#efc3bc;flex:none}.remove-session-move:hover{background:#fff0ed;border-color:#e4a79d}.empty-session-moves{border-top:1px solid var(--line);color:var(--muted);text-align:center;margin:0;padding:22px 12px;font-weight:800}.session-move-modal{width:min(640px,100%)}.field-label-stack,.session-move-fields label{gap:6px;display:grid}.field-label-stack>span,.session-move-fields label>span{color:var(--muted);font-size:.78rem;font-weight:900}.selected-move-summary{color:var(--green-dark);background:#eaf5ff;border:1px solid #c8def1;border-radius:8px;align-items:center;gap:10px;padding:11px 12px;display:flex}.selected-move-summary span,.selected-move-summary strong,.selected-move-summary small{display:block}.selected-move-summary small{color:var(--muted);margin-top:3px}.session-move-fields{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.form-error{color:var(--coral);background:#fff0ed;border:1px solid #efc3bc;border-radius:8px;margin:0;padding:9px 11px;font-size:.84rem;font-weight:900}.planned-stack{color:var(--muted);grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;font-size:.86rem;display:grid}.performance-values span,.performance-values small,.performance-values strong{display:block}.performance-values small{color:var(--muted);font-size:.68rem;font-weight:900}.performance-values strong{color:var(--ink);margin-top:3px;font-size:.84rem}.actual-fields{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.actual-fields label{gap:5px;min-width:0;display:grid}.actual-fields label>span{color:var(--muted);white-space:nowrap;font-size:.72rem;font-weight:900}.actual-fields input{width:100%;min-height:40px;padding:9px 10px}.as-planned{color:#40505b;align-items:center;gap:8px;min-height:40px;font-size:.86rem;font-weight:900;display:flex}.as-planned input{flex:none;width:18px;height:18px}.today-workout-list{gap:12px;display:grid}.today-workout-card{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;overflow:hidden}.today-workout-card.is-open{border-color:#b8dcff;box-shadow:0 14px 34px #008fff1f}.today-workout-summary{width:100%;min-height:76px;color:var(--ink);text-align:left;background:0 0;border:0;grid-template-columns:70px minmax(0,1fr) auto minmax(150px,auto) 28px;align-items:center;gap:12px;padding:14px;display:grid}.today-workout-summary:disabled{cursor:default;opacity:1}.today-workout-card.is-clickable .today-workout-summary:hover{background:#f1f8ff}.today-workout-summary strong,.today-workout-summary small{display:block}.today-workout-summary small{color:var(--muted);margin-top:4px}.today-workout-student{align-items:center;gap:10px;min-width:0;display:flex}.today-workout-student>span:last-child{min-width:0}.today-workout-summary>svg{color:var(--muted);justify-self:end}.workout-log-hint{color:var(--green-dark);white-space:nowrap;font-size:.84rem;font-weight:900}.today-workout-summary:disabled .workout-log-hint{color:var(--muted)}.today-workout-detail{border-top:1px solid var(--line);background:#fff;padding:14px}.daily-photo-panel{border-top:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;display:grid}.compact-upload{min-height:86px}.coach-calendar-page{align-content:start}.coach-calendar-tabs{flex:none}.calendar-section-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:18px;padding-bottom:16px;display:flex}.calendar-section-head>div:first-child{align-items:flex-start;gap:10px;min-width:0;display:flex}.calendar-section-head h3,.calendar-section-head p{margin:0}.calendar-section-head p{color:var(--muted);margin-top:5px;font-size:.88rem}.calendar-section-icon{width:36px;height:36px;color:var(--green-dark);background:#eaf5ff;border:1px solid #b8dcff;border-radius:8px;flex:none;place-items:center;display:grid}.coach-week-summary,.calendar-range-summary{border-bottom:1px solid var(--line);color:var(--muted);flex-wrap:wrap;align-items:center;gap:10px 20px;padding:12px 0;font-size:.84rem;font-weight:800;display:flex}.coach-week-summary span,.calendar-range-summary span{align-items:baseline;gap:5px;display:inline-flex}.coach-week-summary strong,.calendar-range-summary strong{color:var(--ink);font-size:1rem}.coach-week-grid{grid-template-columns:repeat(7,minmax(170px,1fr));gap:10px;padding-top:14px;display:grid;overflow-x:auto}.coach-week-day{border:1px solid var(--line);background:#f8fafb;border-radius:8px;min-height:230px;padding:10px}.coach-week-day>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;min-height:36px;padding-bottom:9px;display:flex}.coach-week-day>header>span{color:#40505b;text-transform:uppercase;font-size:.8rem;font-weight:900}.week-add-button{background:0 0;border-color:#0000;width:30px;height:30px;min-height:30px}.coach-week-slot-list{gap:8px;padding-top:10px;display:grid}.coach-week-slot,.empty-week-slot{border:1px solid var(--line);width:100%;min-width:0;color:var(--ink);text-align:left;background:#fff;border-radius:8px;padding:10px}.coach-week-slot{grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;transition:border-color .2s,box-shadow .2s;display:grid}.coach-week-slot:hover{border-color:#b8dcff;box-shadow:0 8px 20px #008fff1a}.coach-week-slot .week-slot-time,.coach-week-slot .week-class-name,.coach-week-slot .week-class-count,.coach-week-slot small{grid-column:1;min-width:0;display:block}.week-slot-time{color:var(--green-dark);font-size:.78rem;font-weight:900}.coach-week-slot .week-class-name{font-size:.88rem}.week-class-count{color:#40505b;font-size:.78rem;font-weight:900}.coach-week-slot small{color:var(--muted);text-overflow:ellipsis;font-size:.72rem;line-height:1.4;overflow:hidden}.coach-week-slot>svg{color:var(--muted);grid-area:1/2/span 4;align-self:center}.empty-week-slot{min-height:70px;color:var(--muted);text-align:center;background:0 0;border-style:dashed;justify-content:center;align-items:center;gap:6px;font-size:.78rem;font-weight:900;display:flex}.calendar-range-head{align-items:flex-end}.calendar-range-controls{grid-template-columns:repeat(2,minmax(150px,1fr));gap:10px;display:grid}.calendar-range-controls label,.weekly-slot-fields label{gap:6px;display:grid}.calendar-range-controls label>span,.weekly-slot-fields label>span{color:var(--muted);font-size:.76rem;font-weight:900}.calendar-range-controls input{min-height:40px;padding-block:8px}.coach-calendar-day-list{gap:10px;max-height:650px;padding:14px 4px 2px 0;display:grid;overflow-y:auto}.coach-calendar-day{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;grid-template-columns:minmax(190px,.42fr) minmax(0,1fr);gap:14px;padding:12px;display:grid}.coach-calendar-day-head{border-right:1px solid var(--line);align-content:start;gap:12px;min-width:0;padding-right:14px;display:grid}.calendar-date-block span,.calendar-date-block strong{display:block}.calendar-date-block span{color:var(--green-dark);text-transform:uppercase;font-size:.76rem;font-weight:900}.calendar-date-block strong{margin-top:4px;font-size:.94rem}.calendar-day-count{width:fit-content;color:var(--green-dark);background:#eaf5ff;border:1px solid #b8dcff;border-radius:999px;padding:4px 8px;font-size:.72rem;font-weight:900}.calendar-time-list{gap:8px;min-width:0;display:grid}.calendar-time-accordion{border:1px solid var(--line);background:#fff;border-radius:8px;overflow:hidden}.calendar-time-accordion.is-open{border-color:#b8dcff;box-shadow:0 8px 22px #008fff14}.calendar-time-summary{width:100%;min-height:58px;color:var(--ink);text-align:left;background:#fff;border:0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;display:grid}.calendar-time-summary:hover{background:#f7fbff}.calendar-time-chip{color:var(--green-dark);white-space:nowrap;background:#eaf5ff;border:1px solid #b8dcff;border-radius:8px;align-items:center;gap:6px;padding:7px 9px;font-size:.78rem;font-weight:900;display:inline-flex}.calendar-time-count strong,.calendar-time-count small{display:block}.calendar-time-count strong{font-size:.88rem}.calendar-time-count small{color:var(--muted);margin-top:3px;font-size:.74rem}.calendar-time-summary>svg{color:var(--muted);transition:transform .2s}.calendar-time-accordion.is-open .calendar-time-summary>svg{transform:rotate(90deg)}.calendar-student-list{border-top:1px solid var(--line);background:#fbfcfc;padding:4px 12px}.calendar-student-row{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;padding:10px 0;display:grid}.calendar-student-row+.calendar-student-row{border-top:1px solid var(--line)}.calendar-student-row strong,.calendar-student-row small{display:block}.calendar-student-row small{color:var(--muted);margin-top:3px;font-size:.74rem;line-height:1.4}.weekly-slot-modal{width:min(720px,100%)}.weekly-slot-form{gap:14px;display:grid}.weekly-slot-fields{grid-template-columns:minmax(150px,.8fr) repeat(2,minmax(140px,1fr));gap:10px;display:grid}.weekly-class-name-field{grid-column:1/-1}.weekly-student-picker{border:1px solid var(--line);border-radius:8px;margin:0;padding:12px}.weekly-student-picker legend{color:var(--muted);padding:0 6px;font-size:.78rem;font-weight:900}.weekly-student-picker>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.weekly-student-picker label{border:1px solid var(--line);cursor:pointer;background:#fbfcfc;border-radius:8px;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:9px;min-width:0;min-height:62px;padding:9px;display:grid}.weekly-student-picker label:has(input:checked){background:#eaf5ff;border-color:#b8dcff}.weekly-student-picker input{width:17px;height:17px;margin:0}.weekly-student-picker .avatar{width:34px;height:34px;font-size:.68rem}.weekly-student-picker strong,.weekly-student-picker small{display:block}.weekly-student-picker small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:.72rem;overflow:hidden}.weekly-slot-actions .danger-action{margin-right:auto}.table-like{gap:0;display:grid;overflow-x:auto}.table-head,.table-row{grid-template-columns:1.4fr 1fr 1fr .8fr 1.1fr;align-items:center;gap:12px;min-width:820px;padding:12px;display:grid}.table-head{color:var(--muted);text-transform:uppercase;font-size:.78rem;font-weight:900}.table-row{border-top:1px solid var(--line)}.table-row strong,.table-row small{display:block}.table-row small{color:var(--muted);margin-top:4px}.move-directory-table .table-head,.move-directory-table .table-row{grid-template-columns:1.35fr 1fr .85fr 1.35fr auto;min-width:780px}.move-row-actions{justify-content:flex-end;gap:8px;display:flex}.move-row-actions .secondary-action{min-height:36px;padding-inline:10px;font-size:.8rem}.move-row-actions .danger-action{flex:0 0 36px;width:36px;min-height:36px;padding:0}.move-basic-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.video-cell{color:var(--blue);align-items:center;gap:8px;font-weight:800;display:inline-flex}.video-preview{min-height:220px;color:var(--muted);text-align:center;background:#f8fafb;border:1px dashed #aab8be;border-radius:8px;place-items:center;gap:10px;padding:20px;display:grid}.video-preview svg{color:var(--blue)}.workout-category-grid,.workout-library-grid{gap:12px;display:grid}.workout-category-section-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.workout-category-section-head .section-title{flex:1;margin-bottom:0}.workout-category-modal{width:min(520px,100%)}.workout-category-color-field{margin-top:14px}.workout-category-color-control{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;align-items:center;gap:12px;min-height:44px;padding:6px 10px;display:flex}.workout-category-color-control input[type=color]{cursor:pointer;background:0 0;border:0;width:42px;height:30px;padding:0}.workout-category-color-control strong{color:var(--muted);font-size:.82rem}.workout-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.workout-category-grid button{border:1px solid var(--line);min-height:92px;color:var(--ink);text-align:left;background:#fbfcfc;border-radius:8px;align-content:center;justify-items:start;gap:6px;padding:14px;transition:border-color .2s,box-shadow .2s,transform .2s;display:grid}.workout-category-grid button:hover,.workout-category-grid button.selected{border-color:#b8dcff;transform:translateY(-1px);box-shadow:0 12px 28px #008fff1f}.workout-category-grid i{border-radius:999px;width:28px;height:5px;display:block}.workout-category-grid strong{font-size:.96rem}.workout-category-grid span{color:var(--muted);font-size:.8rem;font-weight:800}.workout-library-grid{grid-template-columns:minmax(0,1fr)}.empty-workout-category{color:var(--muted);background:#fbfcfc;border:1px dashed #cbd5dc;border-radius:8px;grid-column:1/-1;padding:18px;font-weight:800}.compact-form input,.compact-form textarea{min-width:0}.workout-template{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;align-content:start;gap:14px;min-height:0;padding:14px;display:grid}.exercise-row{color:#40505b;grid-template-columns:minmax(160px,1.2fr) repeat(4,minmax(72px,.7fr));display:grid}.exercise-row strong{color:var(--ink)}.exercise-stat{gap:4px;min-width:0;display:grid}.exercise-stat small{color:var(--muted);text-transform:uppercase;font-size:.68rem;font-weight:900}.exercise-stat strong{overflow-wrap:anywhere;font-size:.86rem}.exercise-row.muted-row{color:var(--muted);border-style:dashed}.assignment-row{grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:center;gap:12px;display:grid}.messages-layout{grid-template-columns:340px minmax(0,1fr);gap:18px;display:grid}.message-list{align-content:start;gap:6px;display:grid}.message-list button{grid-template-columns:44px minmax(0,1fr)}.chat-panel{grid-template-rows:auto 1fr auto;min-height:660px;padding:18px;display:grid}.chat-header{border-bottom:1px solid var(--line);padding-bottom:14px}.chat-header h3,.chat-header p{margin:0}.chat-header p{color:var(--muted);margin-top:4px}.chat-thread{flex-direction:column;justify-content:end;gap:12px;padding:20px 0;display:flex}.chat-thread p{border-radius:8px;max-width:72%;margin:0;padding:12px 14px;line-height:1.5}.student-message{background:#edf1f3;align-self:flex-start}.coach-message{color:var(--green-dark);background:#eaf5ff;align-self:flex-end}.chat-input{grid-template-columns:minmax(0,1fr) auto;gap:10px;display:grid}.drawer-backdrop{z-index:20;background:#161a1f61;justify-content:flex-end;display:flex;position:fixed;inset:0}.student-drawer{background:#fff;grid-template-rows:auto auto 1fr auto;width:min(760px,100%);height:100%;display:grid;box-shadow:-16px 0 50px #161a1f29}.drawer-head,.drawer-actions{border-bottom:1px solid var(--line);padding:18px}.drawer-actions{border-top:1px solid var(--line);border-bottom:0;justify-content:flex-end}.stepper{border-bottom:1px solid var(--line);gap:8px;padding:14px 18px;display:flex;overflow-x:auto}.stepper button{border:1px solid var(--line);min-height:42px;color:var(--muted);background:#fff;border-radius:8px;flex:none;align-items:center;gap:8px;padding:0 12px;font-size:.84rem;font-weight:900;display:flex}.stepper span{background:#eef3f5;border-radius:999px;place-items:center;width:22px;height:22px;font-size:.78rem;display:grid}.stepper button.selected,.stepper button.done{color:var(--green-dark);background:#eaf5ff;border-color:#b8dcff}.drawer-body{min-height:0;padding:22px 18px;overflow-y:auto}.two-column,.checkbox-grid,.upload-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.checkbox-grid label{border:1px solid var(--line);border-radius:8px;align-items:center;gap:10px;min-height:54px;padding:12px;font-weight:800;display:flex}.checkbox-grid input{flex:none;width:18px;height:18px}.upload-slot{min-height:142px;color:var(--muted);background:#f8fafb;border:1px dashed #aab8be;border-radius:8px;place-items:center;gap:8px;font-weight:900;display:grid}.builder-preview{justify-content:space-between}.builder-preview strong,.builder-preview span{display:block}.builder-preview span{color:var(--muted);margin-top:4px}.muscle-group-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.muscle-group-grid>button{border:1px solid var(--line);min-height:110px;color:var(--ink);text-align:left;cursor:pointer;background:#fbfcfc;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px;display:grid}.muscle-group-grid>button:hover{background:#eef7ff;border-color:#9bcfff}.muscle-group-icon{width:44px;height:44px;color:var(--green-dark);background:#eaf5ff;border-radius:8px;place-items:center;display:grid}.muscle-group-grid strong,.muscle-group-grid small{display:block}.muscle-group-grid small{color:var(--muted);margin-top:5px}.move-group-detail{gap:14px;display:grid}.move-group-detail-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.move-media-summary{align-items:center;gap:6px;min-width:0;display:flex}.add-move-modal{width:min(760px,100%)}.add-muscle-group-modal{width:min(520px,100%)}.muscle-group-selector{border:1px solid var(--line);border-radius:8px;margin:0;padding:12px}.muscle-group-selector legend{color:var(--muted);padding:0 6px;font-size:.78rem;font-weight:900}.muscle-group-selector>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.muscle-group-selector label{border:1px solid var(--line);cursor:pointer;background:#fbfcfc;border-radius:8px;align-items:center;gap:8px;padding:10px;font-weight:800;display:flex}.muscle-group-selector input{flex:none;width:18px;height:18px}.move-media-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.move-media-fields label{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;gap:7px;padding:12px;display:grid}.move-media-fields label>span{color:#40505b;align-items:center;gap:7px;font-weight:900;display:flex}.move-media-fields small{color:var(--muted)}.habit-page,.habit-schedule-section,.habit-library-section{min-width:0}.habit-schedule-section{border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow);border-radius:8px;gap:16px;padding:18px;display:grid}.habit-section-head{justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.habit-section-head h3,.habit-section-head p{margin:0}.habit-section-head h3{font-size:1.35rem}.student-habit-section-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.student-habit-section-heading .section-title{flex:1;margin-bottom:0}.student-habit-section-heading>span{color:var(--muted);font-size:.82rem;font-weight:800}.habit-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.habit-card{border:1px solid var(--line);border-left:4px solid var(--blue);background:#fff;border-radius:8px;align-content:start;gap:14px;min-width:0;padding:16px;transition:border-color .2s,box-shadow .2s;display:grid}.habit-card.is-complete{background:#f6fbf8;border-color:#a9d8c0 #a9d8c0 #a9d8c0 #2d8a63}.habit-card-head,.habit-card-identity,.habit-link-row,.habit-card-actions,.habit-library-actions{align-items:center;display:flex}.habit-card-head{justify-content:space-between;gap:12px}.habit-card-identity{gap:10px;min-width:0}.habit-card-identity>span,.habit-library-name,.habit-library-schedule,.habit-library-links{min-width:0}.habit-card-identity strong,.habit-card-identity small,.habit-library-row strong,.habit-library-row small{display:block}.habit-card-identity strong{overflow-wrap:anywhere;font-size:1.04rem}.habit-card-identity small,.habit-library-row small{color:var(--muted);margin-top:3px;line-height:1.35}.habit-sticker{border:1px solid var(--line);background:#f7fafb;border-radius:50%;flex:none;place-items:center;width:42px;height:42px;display:grid}.habit-card-meta{gap:7px;display:grid}.habit-card-meta span{color:#4b5963;align-items:center;gap:7px;min-width:0;font-size:.82rem;font-weight:800;display:flex}.habit-card-meta svg{color:var(--blue);flex:none}.habit-link-row{flex-wrap:wrap;gap:7px}.habit-link-chip{color:#31566f;background:#f1f8fe;border:1px solid #cfe6fa;border-radius:8px;align-items:center;gap:6px;max-width:100%;padding:7px 9px;font-size:.76rem;font-weight:900;display:inline-flex}.habit-link-chip svg{flex:none}.habit-metric-entry{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;padding-top:12px;display:grid}.habit-metric-entry>label{color:#41505b;gap:6px;min-width:0;font-size:.8rem;font-weight:900;display:grid}.habit-measurement-notice{color:#267654;align-items:center;gap:6px;margin:-4px 0 0;font-size:.78rem;font-weight:800;display:flex}.habit-card-actions{flex-wrap:wrap;gap:8px;margin-top:auto}.habit-empty-state{grid-column:1/-1;min-height:220px}.habit-library-section{gap:4px;display:grid}.habit-library-list{display:grid}.habit-library-row{border-top:1px solid var(--line);grid-template-columns:auto minmax(140px,1.1fr) minmax(180px,1.2fr) minmax(160px,1fr) auto;align-items:center;gap:14px;min-width:0;padding:13px 0;display:grid}.habit-library-row:first-child{border-top:0}.habit-library-row .habit-sticker{width:36px;height:36px}.habit-library-name strong,.habit-library-schedule strong{overflow-wrap:anywhere}.habit-library-schedule strong{font-size:.84rem}.habit-library-links{justify-items:start;gap:4px;display:grid}.habit-library-links small{overflow-wrap:anywhere}.habit-library-actions{gap:6px}.danger-icon-button{color:#a83f2c}.danger-icon-button:hover{background:#fff4f1;border-color:#efb8ad}.habit-modal{width:min(880px,100%)}.habit-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.habit-form-grid>label{align-content:start;gap:7px;min-width:0;display:grid}.habit-form-grid>label>span,.habit-sticker-field legend,.habit-repeat-field legend{color:#41505b;font-size:.8rem;font-weight:900}.habit-form-full{grid-column:1/-1}.habit-sticker-field,.habit-repeat-field{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;min-width:0;margin:0;padding:12px}.habit-sticker-field legend,.habit-repeat-field legend{padding:0 5px}.habit-sticker-picker{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;display:grid}.habit-sticker-picker button{border:1px solid var(--line);color:#4b5963;background:#fff;border-radius:8px;place-items:center;gap:5px;min-width:0;min-height:62px;padding:8px 5px;font-size:.73rem;font-weight:900;display:grid}.habit-sticker-picker button.selected,.habit-day-picker button.selected,.habit-month-day-grid button.selected{color:var(--green-dark);background:#eaf5ff;border-color:#8ac8f7;box-shadow:inset 0 0 0 1px #8ac8f7}.habit-day-picker,.habit-month-day-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;display:grid}.habit-day-picker button,.habit-month-day-grid button{border:1px solid var(--line);color:#4b5963;background:#fff;border-radius:8px;min-width:0;min-height:38px;padding:5px;font-size:.76rem;font-weight:900}.habit-section-head>div>span{color:var(--muted);margin-top:5px;font-size:.82rem;font-weight:800;display:block}.habit-category-groups,.habit-today-list{gap:10px;display:grid}.habit-category-group{gap:8px;display:grid}.habit-category-group>header{border-bottom:1px solid var(--line);align-items:center;gap:8px;padding:4px 2px 8px;display:flex}.habit-category-group>header .habit-sticker{width:30px;height:30px}.habit-category-group>header>span:last-child{min-width:25px;min-height:25px;color:var(--muted);background:#eef2f4;border-radius:50%;place-items:center;margin-left:auto;font-size:.75rem;font-weight:900;display:grid}.habit-today-row{border:1px solid var(--line);background:#fff;border-left:4px solid #b8dcff;border-radius:8px;grid-template-columns:minmax(190px,1fr) minmax(120px,auto) minmax(130px,auto) auto;align-items:center;gap:12px;min-width:0;padding:11px 12px;display:grid}.habit-today-row.is-complete{background:#f6fbf8;border-color:#a9d8c0 #a9d8c0 #a9d8c0 #2d8a63}.habit-today-main,.habit-today-main strong,.habit-today-main small,.habit-today-main span{min-width:0}.habit-today-main strong,.habit-today-main small,.habit-today-main span{display:block}.habit-today-main strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.habit-today-main small,.habit-today-main span{color:var(--muted);margin-top:4px;font-size:.76rem;font-weight:800}.habit-today-links{flex-wrap:wrap;gap:5px;display:flex}.habit-today-links button,.habit-today-links span{color:#31566f;background:#f1f8fe;border:1px solid #cfe6fa;border-radius:8px;align-items:center;gap:5px;min-height:30px;padding:5px 7px;font-size:.72rem;font-weight:900;display:inline-flex}.habit-row-metric-entry{grid-template-columns:minmax(90px,120px) auto;align-items:center;gap:5px;display:grid}.habit-row-metric-entry .student-metric-input input{height:34px}.habit-completion-button{min-height:36px;color:var(--blue);white-space:nowrap;background:#eaf5ff;border:1px solid #b8dcff;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:.76rem;font-weight:900;display:inline-flex}.habit-completion-button.is-complete{color:#267654;background:#eaf7f0;border-color:#a9d8c0}.habit-today-row .habit-measurement-notice{grid-column:1/-1;margin:0}.habit-library-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}.habit-library-open{min-width:0;color:inherit;text-align:left;background:0 0;border:0;border-radius:8px;grid-template-columns:auto minmax(140px,1.1fr) minmax(180px,1.2fr) minmax(160px,1fr) auto;align-items:center;gap:14px;padding:7px 8px;display:grid}.habit-library-open:hover{background:#eef7ff}.habit-library-open .habit-sticker{width:36px;height:36px}.habit-category-select-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.habit-category-creator{background:#f5faff;border:1px solid #b8dcff;border-radius:8px;gap:12px;min-width:0;margin:0;padding:12px;display:grid}.habit-category-creator legend,.habit-category-creator-label,.habit-category-creator label>span{color:#41505b;font-size:.8rem;font-weight:900}.habit-category-creator label{gap:7px;display:grid}.habit-category-creator-label{margin-bottom:7px;display:block}.habit-category-creator>.secondary-action{justify-self:end}.habit-cycle-preview{color:var(--blue);font-size:.75rem;font-weight:900}.habit-report-modal{width:min(820px,100%)}.habit-report-title-row{align-items:center;gap:10px;min-width:0;display:flex}.habit-report-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px;display:grid}.habit-report-summary article{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;padding:12px}.habit-report-summary span,.habit-report-summary strong{display:block}.habit-report-summary span{color:var(--muted);font-size:.76rem;font-weight:800}.habit-report-summary strong{margin-top:5px;font-size:1.12rem}.habit-report-calendar{border-top:1px solid var(--line);padding-top:14px}.habit-report-calendar>header{text-align:center;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;margin-bottom:12px;display:grid}.habit-calendar-weekdays,.habit-calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.habit-calendar-weekdays{margin-bottom:6px}.habit-calendar-weekdays span{color:var(--muted);text-align:center;font-size:.7rem;font-weight:900}.habit-calendar-day,.habit-calendar-empty{aspect-ratio:1;min-width:0}.habit-calendar-day{color:var(--muted);background:#f6f8f9;border:1px solid #0000;border-radius:8px;place-items:center;gap:1px;padding:4px;font-size:.75rem;font-weight:900;display:grid}button.habit-calendar-day.is-scheduled{color:var(--blue);background:#eaf5ff;border-color:#b8dcff}button.habit-calendar-day.is-scheduled svg{opacity:.25}button.habit-calendar-day.is-complete{color:#267654;background:#eaf7f0;border-color:#8bc8aa}button.habit-calendar-day.is-complete svg{opacity:1}.calendar-date-input-wrap,.flow-date-picker-container,.flow-calendar-input{width:100%;min-width:0}.calendar-date-input-wrap{display:block;position:relative}.flow-date-picker-container{display:block!important}.flow-calendar-input{cursor:pointer;padding-right:34px}.calendar-date-clear{z-index:2;color:#59636c;background:#eef2f4;border:0;border-radius:50%;place-items:center;width:25px;height:25px;padding:0;display:grid;position:absolute;top:50%;right:7px;transform:translateY(-50%)}.rmdp-container{width:100%}.rmdp-wrapper,.rmdp-container .rmdp-wrapper{z-index:70}.rmdp-day.rmdp-selected span:not(.highlight),.rmdp-day.rmdp-today span{background-color:var(--blue)!important}.calendar-preference-control{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;grid-template-columns:minmax(0,1fr) minmax(240px,.7fr);align-items:center;gap:16px;padding:14px;display:grid}.calendar-preference-control>div:first-child{align-items:center;gap:10px;display:flex}.calendar-preference-control>div:first-child svg{color:var(--blue);flex:none}.calendar-preference-control strong,.calendar-preference-control small{display:block}.calendar-preference-control small{color:var(--muted);margin-top:4px}.panel-preferences-modal{width:min(680px,100%)}.student-calendar-preferences{gap:4px;display:grid}.makeup-field{flex:0 132px;align-content:end;justify-self:end;width:132px;min-width:0;max-width:132px}.makeup-field>span{align-items:center;gap:5px;min-height:15px;font-size:.68rem;display:flex}.makeup-field>span svg{color:var(--blue);flex:none}.makeup-field input{width:100%;min-width:0;min-height:34px}.student-attendance-entry{justify-content:flex-end;display:flex}.attendance-row{grid-template-columns:minmax(170px,1fr) minmax(140px,.75fr) minmax(320px,auto)}.attendance-session-row{grid-template-columns:minmax(150px,.75fr) minmax(200px,1fr) minmax(320px,auto)}.attendance-action-row{scrollbar-width:none;justify-content:flex-end;align-items:flex-end;gap:5px;min-width:0;padding-bottom:1px;display:flex;overflow-x:auto}.attendance-action-row::-webkit-scrollbar{display:none}.attendance-action-row .attendance-controls{flex:none;gap:5px}.history-scroll-region.overview-history-scroll{max-height:310px}.workout-log-list.history-scroll-region.overview-history-scroll{max-height:220px}.student-coach-card{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;gap:14px;padding:16px;display:grid}.student-coach-card-head{grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;display:grid}.student-coach-card-head>span strong,.student-coach-card-head>span small{display:block}.student-coach-card-head>span small{color:var(--muted);margin-top:4px}.student-coach-info-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.student-coach-info-grid>span{border:1px solid var(--line);background:#fff;border-radius:8px;min-width:0;padding:10px}.student-coach-info-grid small,.student-coach-info-grid strong{overflow-wrap:anywhere;display:block}.student-coach-info-grid small{color:var(--muted);text-transform:uppercase;margin-bottom:5px;font-size:.72rem;font-weight:900}.student-coach-workouts{border-top:1px solid var(--line);gap:8px;padding-top:12px;display:grid}.student-coach-workouts-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.student-coach-workouts-head>span{min-width:28px;min-height:28px;color:var(--green-dark);background:#eaf5ff;border-radius:50%;place-items:center;font-size:.78rem;font-weight:900;display:grid}.student-coach-workouts>article{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:5px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;display:grid}.student-coach-workouts>article>i{border-radius:999px;width:5px;height:40px}.student-coach-workouts>article strong,.student-coach-workouts>article small{display:block}.student-coach-workouts>article small{color:var(--muted);margin-top:3px}.coach-messages-page,.real-messages-layout{min-width:0}.coach-messages-page .messages-heading{grid-column:1/-1}.real-messages-layout{grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:14px;display:grid}.student-panel-page>.real-messages-layout,.coach-messages-page>.real-messages-layout{grid-column:1/-1}.real-messages-layout .message-list,.real-messages-layout .chat-panel{box-shadow:var(--shadow)}.real-messages-layout .message-list{border:1px solid var(--line);background:#fff;border-radius:8px;max-height:680px;padding:8px;overflow-y:auto}.real-messages-layout .message-list button{color:var(--ink);text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;display:grid;position:relative}.real-messages-layout .message-list button.selected{background:#eaf5ff;border-color:#b8dcff}.real-messages-layout .message-list strong,.real-messages-layout .message-list small{display:block}.real-messages-layout .message-list small{max-width:100%;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;overflow:hidden}.message-unread-count{background:var(--blue);color:#fff;border-radius:50%;place-items:center;min-width:24px;min-height:24px;font-size:.72rem;display:grid}.real-messages-layout .chat-panel{height:min(680px,100dvh - 190px);min-height:520px}.real-chat-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.real-chat-header .icon-button.is-active{color:var(--green-dark);background:#eaf5ff;border-color:#8ac8f7}.real-chat-thread{overscroll-behavior:contain;justify-content:flex-start;min-height:0;padding-right:5px;overflow-y:auto}.message-bubble{border-radius:8px;gap:7px;max-width:min(76%,620px);padding:10px 12px;display:grid}.message-bubble.is-own{color:#174867;background:#eaf5ff;align-self:flex-end}.message-bubble.is-incoming{background:#edf1f3;align-self:flex-start}.message-bubble>p{max-width:none;color:inherit;white-space:pre-wrap;background:0 0;border-radius:0;margin:0;padding:0}.message-bubble time{color:#68727d;justify-self:end;font-size:.68rem;font-weight:800}.message-attachment{min-width:180px;color:inherit;background:#ffffffbf;border:1px solid #31566f33;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;text-decoration:none;display:grid}.message-attachment img{object-fit:cover;border-radius:6px;grid-column:1/-1;width:72px;height:54px}.message-attachment span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-empty-state{min-height:180px;color:var(--muted);text-align:center;place-content:center;justify-items:center;gap:7px;display:grid}.full-chat-empty-state{height:100%}.chat-composer{border-top:1px solid var(--line);gap:8px;padding-top:12px;display:grid}.chat-attachment-draft{border:1px solid var(--line);color:#4b5963;background:#f8fafb;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 9px;font-size:.8rem;font-weight:800;display:grid}.chat-error{padding:8px 10px}.chat-composer .chat-input{grid-template-columns:auto minmax(0,1fr) auto;align-items:end;position:relative}.chat-input-tools{gap:5px;display:flex}.chat-composer textarea{resize:vertical;min-height:44px;max-height:120px}.emoji-picker{z-index:5;border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:8px;grid-template-columns:repeat(4,38px);gap:5px;padding:8px;display:grid;position:absolute;bottom:calc(100% + 8px);left:0}.emoji-picker button{background:#f5f7f8;border:0;border-radius:8px;width:38px;height:38px;font-size:1.15rem}.visually-hidden{clip:rect(0 0 0 0)!important;white-space:nowrap!important;clip-path:inset(50%)!important;width:1px!important;height:1px!important;position:absolute!important;overflow:hidden!important}@media (width<=1120px){.habit-card-grid{grid-template-columns:minmax(0,1fr)}.habit-library-row{grid-template-columns:minmax(0,1fr) auto;gap:10px}.habit-library-open{grid-template-columns:auto minmax(120px,1fr) minmax(170px,1.2fr) minmax(140px,1fr) auto;gap:10px}.app-shell{grid-template-columns:96px minmax(0,1fr)}.sidebar{align-items:center;padding-inline:12px}.brand-lockup div:not(.brand-mark),.sidebar-profile div,.sidebar-app-brand strong,.sidebar-session-controls button span,.sidebar-save-state,.nav-item span,.sidebar-card p,.sidebar-card span{display:none}.nav-item{justify-content:center;padding:0}.sidebar-card{padding:12px}.photo-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-panel{grid-column:1/-1}.stats-row,.student-today-metric-grid,.student-progress-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.student-calendar-grid{grid-template-columns:repeat(3,minmax(136px,1fr))}.builder-settings-grid,.assignment-settings-grid,.repeat-placement-grid,.workout-category-grid,.metric-unit-grid,.attendance-subtabs{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-session-row{grid-template-columns:minmax(145px,.7fr) minmax(190px,.9fr) minmax(310px,auto)}.session-card-grid,.muscle-group-grid,.coach-tuition-reports,.photo-angle-grid,.photo-history-grid,.coach-tuition-row{grid-template-columns:repeat(2,minmax(0,1fr))}.page-grid,.admin-coaches-layout,.students-layout,.messages-layout{grid-template-columns:minmax(0,1fr)}.admin-coach-list-scroll{max-height:none}.student-list,.message-list{order:2}}@media (width>=761px) and (width<=1599px){.students-layout{grid-template-columns:minmax(0,1fr)}.student-list{order:0;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));align-content:start;gap:8px;max-height:290px;display:grid;overflow-y:auto}.student-list .filter-row{grid-column:1/-1;margin-bottom:4px}.student-list .student-row{min-height:82px}.student-profile{order:1}.profile-tabs{overscroll-behavior-x:contain;scrollbar-width:thin;max-width:100%}}@media (width<=760px){body{overflow-x:hidden}.auth-screen{align-items:start;padding:12px}.auth-panel{grid-template-columns:1fr;gap:12px}.auth-copy{min-height:auto;padding:20px}.auth-copy h1{margin:24px 0 10px;font-size:2.35rem;line-height:1}.auth-copy p{font-size:.94rem;line-height:1.5}.auth-feature-grid{display:none}.auth-card{order:-1;padding:18px}.habit-section-head{flex-direction:column;align-items:stretch}.habit-section-head .date-page-picker{width:100%}.habit-schedule-section,.habit-card{padding:14px}.habit-card-head{align-items:flex-start}.habit-metric-entry{grid-template-columns:minmax(0,1fr)}.habit-card-actions>button{flex:150px}.habit-library-row{grid-template-columns:minmax(0,1fr) auto;gap:10px}.habit-library-open{grid-template-columns:auto minmax(0,1fr) auto}.habit-library-open .habit-library-schedule,.habit-library-open .habit-library-links{grid-column:2/-1}.habit-library-actions{grid-area:1/3}.habit-modal{padding:14px}.habit-today-row{grid-template-columns:minmax(0,1fr) auto}.habit-today-main,.habit-today-links,.habit-row-metric-entry,.habit-today-row .habit-measurement-notice{grid-column:1/-1}.habit-completion-button{grid-area:1/2}.habit-category-select-row{grid-template-columns:minmax(0,1fr)}.habit-category-select-row .secondary-action,.habit-category-creator>.secondary-action{justify-self:stretch;width:100%}.habit-form-grid{grid-template-columns:minmax(0,1fr)}.habit-form-full{grid-column:1}.habit-sticker-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.habit-day-picker,.habit-month-day-grid{gap:5px}.habit-day-picker button,.habit-month-day-grid button{min-height:36px;padding-inline:2px;font-size:.7rem}.auth-feature-grid,.auth-role-selector,.add-coach-form-grid,.admin-coach-workout-row,.checkbox-grid,.upload-grid,.two-column,.metric-grid,.metric-entry-form,.metric-history-row,.metric-unit-grid,.new-unit-grid,.calendar-filter-panel,.calendar-range-controls,.student-calendar-grid,.attendance-subtabs,.assigned-workout-grid,.assigned-workout-row,.assigned-workout-list-button,.workout-session-main,.student-session-banner,.student-daily-workout-summary,.student-attendance-entry,.student-today-metric-grid,.student-today-metric,.student-progress-metrics,.student-workout-library article,.student-coach-row,.student-tuition-row,.student-settings-form,.student-settings-grid,.profile-photo-editor,.tuition-report-grid,.monthly-payment-row,.tuition-workout-row,.coach-tuition-row,.tuition-date-filter,.payment-form,.builder-settings-grid,.assignment-settings-grid,.repeat-placement-grid,.repeat-period-grid,.projected-calendar-grid,.workout-category-grid,.workout-library-grid,.session-card-grid,.move-choice-grid,.muscle-group-grid,.muscle-group-selector>div,.move-media-fields,.move-basic-fields,.photo-angle-grid,.photo-history-grid,.weekly-slot-fields,.weekly-student-picker>div,.coach-calendar-day,.session-move-row,.session-move-fields,.assignment-row,.attendance-session-row,.attendance-row,.performance-head,.performance-row{grid-template-columns:1fr}.student-daily-workout-summary{gap:12px}.student-daily-workout-summary .student-attendance-entry{justify-content:stretch}.student-habit-section-heading{flex-direction:column;align-items:flex-start;gap:2px}.attendance-controls,.actual-fields,.daily-photo-panel{grid-template-columns:1fr}.modal-backdrop{align-items:flex-end;padding:0}.modal-backdrop>*{border-radius:8px 8px 0 0;width:100%;max-width:none;max-height:92dvh}.metric-modal,.workout-assignment-modal,.assignment-edit-modal,.session-editor-modal{max-height:calc(100vh - 20px);padding:14px}.metric-modal-head,.workout-log-head,.metric-section-head,.workout-category-section-head,.trend-range,.student-metric-section-head,.add-workout-launch,.session-editor-head,.move-group-detail-head,.student-photo-section-head,.photo-angle-detail-head,.student-settings-section-head,.coach-tuition-section-head,.calendar-section-head,.modal-action-row{flex-direction:column;align-items:flex-start}.metric-modal-head{flex-direction:row;align-items:flex-start}.metric-modal-head>div{flex:1;min-width:0}.workout-log-head-actions{justify-content:space-between;width:100%}.modal-action-row,.modal-action-row button,.workout-category-section-head .secondary-action,.coach-calendar-tabs,.calendar-range-controls{width:100%}.coach-calendar-tabs button{flex:1}.coach-calendar-day-head{border-right:0;border-bottom:1px solid var(--line);padding-bottom:12px;padding-right:0}.calendar-time-summary{grid-template-columns:minmax(0,1fr) auto}.calendar-time-chip{grid-column:1/-1;width:fit-content}.settings-goal-field{grid-column:auto}.student-settings-savebar{flex-direction:column;align-items:stretch}.student-settings-savebar .primary-action,.student-photo-section-head button,.photo-angle-detail-head button{width:100%}.tuition-filter-tabs{width:100%;min-width:0}.app-shell{display:block}.sidebar{display:none}.mobile-panel-header{z-index:16;display:flex;position:sticky;top:0}.mobile-bottom-nav,.mobile-nav-backdrop{display:flex}.workspace{padding:10px 12px calc(88px + env(safe-area-inset-bottom))}.page-heading,.profile-head,.admin-coach-head,.heading-actions{flex-direction:column;align-items:stretch}.topbar{gap:8px;min-height:48px;margin-bottom:10px}.topbar-actions,.heading-actions{flex:none}.admin-coach-head>button{width:100%}.admin-workspace-label{display:none}.date-page-picker{width:100%}.date-page-picker label{flex:1;min-width:0}.student-account-chip,.student-attendance-button,.student-metric-section-head .primary-action{width:100%}.topbar-actions .primary-action,.heading-actions .primary-action,.heading-actions .secondary-action{flex:1}.search-box{width:100%;min-width:0;max-width:none}.profile-grid,.student-progress-grid,.student-move-history-summary{grid-template-columns:1fr}.student-move-history-row{grid-template-columns:repeat(3,minmax(0,1fr))}.student-move-history-row>div{border-bottom:1px solid var(--line);grid-column:1/-1;padding-bottom:9px}.stats-row,.tuition-report-grid,.student-progress-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-card{min-height:112px;padding:13px}.stat-card strong{font-size:1.55rem}.page-heading h2,.profile-head h2,.drawer-head h2{font-size:1.75rem}.page-heading span,.profile-head span{line-height:1.45}.surface,.student-profile,.admin-coach-list,.admin-coach-detail{padding:14px}.students-layout,.admin-coaches-layout,.messages-layout,.student-panel-page,.today-page{gap:12px}.student-list,.message-list{order:0}.student-profile,.chat-panel{order:1}.profile-tabs{z-index:8;scrollbar-width:none;background:#fff;margin:14px -14px;padding:8px 14px;position:sticky;top:59px}.profile-tabs::-webkit-scrollbar{display:none}.section-title{min-height:34px;margin-bottom:12px}.attendance-controls{grid-template-columns:repeat(3,minmax(0,1fr))}.actual-fields,.planned-stack,.student-calendar-grid,.projected-calendar-grid,.repeat-period-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.performance-head{display:none}.performance-row{gap:14px;padding:14px 0}.performance-row:first-of-type{border-top:0}.performance-move-cell{border-bottom:1px solid var(--line);padding-bottom:10px}.student-row,.message-list button{min-height:82px}.student-assigned-workout-row .assigned-workout-list-button{grid-template-columns:6px repeat(2,minmax(0,1fr)) auto;gap:9px 10px}.student-assigned-workout-row .assigned-workout-color-dot{grid-row:1/3}.student-assigned-workout-row .assigned-workout-summary{grid-column:2/4}.student-assigned-workout-row .assigned-workout-dates:nth-child(3){grid-column:2}.student-assigned-workout-row .assigned-workout-dates:nth-child(4){grid-column:3}.student-assigned-workout-row .assigned-workout-list-button>svg{grid-area:1/4/3}.student-drawer{width:100%}.drawer-head,.drawer-actions{padding:14px}.drawer-actions>*{flex:1}.history-scroll-region{max-height:65dvh;padding-right:4px;overflow-y:auto}.chat-panel,.student-chat-panel{min-height:64dvh}.agenda-item{flex-wrap:wrap;grid-template-columns:1fr}.photo-strip{grid-template-columns:1fr}.exercise-row{grid-template-columns:1fr 1fr}.exercise-move-name{grid-column:1/-1}.move-directory-table{overflow:visible}.move-directory-table .table-head{display:none}.move-directory-table .table-row{border:1px solid var(--line);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;margin-top:10px;padding:12px}.move-directory-table .table-row>span{min-width:0}.move-name-cell,.move-media-cell,.move-row-actions{grid-column:1/-1}.move-muscle-cell:before,.move-equipment-cell:before,.move-media-cell:before{color:var(--muted);text-transform:uppercase;margin-bottom:4px;font-size:.68rem;font-weight:900;display:block}.move-muscle-cell:before{content:"Muscle groups"}.move-equipment-cell:before{content:"Equipment"}.move-media-cell:before{content:"Instruction media";flex-basis:100%}.move-row-actions .secondary-action{width:100%}.today-workout-summary{grid-template-columns:62px minmax(0,1fr);gap:8px 10px;padding:12px 10px}.today-workout-summary .status-badge,.workout-log-hint,.today-workout-summary>svg{grid-column:2;justify-self:start}.chat-thread p{max-width:92%}.chat-input{grid-template-columns:1fr}.calendar-preference-control,.student-coach-info-grid,.real-messages-layout{grid-template-columns:minmax(0,1fr)}.makeup-field{flex-basis:124px;justify-self:end;width:124px;max-width:124px}.student-coach-card{padding:12px}.student-coach-card-head{grid-template-columns:auto minmax(0,1fr) auto}.student-coach-card-head>.secondary-action{grid-column:1/-1;width:100%}.student-coach-workouts>article{grid-template-columns:5px minmax(0,1fr)}.student-coach-workouts>article .status-badge{grid-column:2}.real-messages-layout .message-list{max-height:190px}.real-messages-layout .chat-panel{height:68dvh;min-height:540px}.chat-composer .chat-input{grid-template-columns:auto minmax(0,1fr) auto}.message-bubble{max-width:88%}}@media (width<=390px){.mobile-flow-brand{font-size:0}.mobile-flow-brand>span{font-size:.72rem}.mobile-nav-grid,.stats-row,.tuition-report-grid,.student-progress-metrics{grid-template-columns:1fr}.attendance-controls{gap:4px}.attendance-controls button{padding-inline:4px;font-size:.73rem}.attendance-action-row,.attendance-action-row .attendance-controls{gap:3px}.attendance-action-row .makeup-field{flex-basis:112px;width:112px;max-width:112px}.date-page-picker{grid-template-columns:minmax(0,1fr) auto;display:grid}.date-page-picker label{grid-template-columns:auto minmax(0,1fr);min-width:0}}
