:root{color-scheme:light;--bg:#f5f6f4;--surface:#ffffff;--surface-strong:#f0f4f1;--text:#1f2722;--muted:#667068;--line:#dfe5df;--orange:#f26b2d;--green:#2f8f6b;--blue:#3564a6;--red:#b95050;--shadow:0 18px 45px rgba(31,39,34,0.08)}:root[data-theme=dark]{color-scheme:dark;--bg:#111713;--surface:#1a221d;--surface-strong:#243027;--text:#eef5ef;--muted:#aebcaf;--line:#334137;--orange:#ff7a3d;--green:#5dbf96;--blue:#82a7e8;--red:#e07878;--shadow:0 18px 45px rgba(0,0,0,0.28)}*{box-sizing:border-box}body,html{min-height:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif}:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea{color-scheme:dark}button,input,select{font:inherit}button{cursor:pointer}.shell{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:22px 0 36px}.center-shell{min-height:100vh;display:grid;place-items:center}.loading-mark{width:72px;height:72px;border-radius:8px;display:grid;place-items:center;color:var(--orange);background:var(--surface);box-shadow:var(--shadow)}.brand-row,.metric-head,.profile-frame-content,.profile-stats,.profile-stats div,.profile-user-button,.section-title,.success-toast{display:flex;align-items:center}.brand-row{gap:10px;font-weight:800;font-size:1.05rem}.brand-mark{width:58px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:5px;background:var(--orange);box-shadow:inset 0 -10px 18px rgba(128,34,8,.18)}.brand-bars{display:grid;gap:4px}.brand-bars span{display:block;width:20px;height:5px;border-radius:999px;background:#ffffff}.brand-bars span:nth-child(2){width:18px}.brand-bars span:nth-child(3){width:15px}.brand-bars-accent span{width:17px;background:#b7371e}.brand-bars-accent span:nth-child(2){width:14px}.brand-bars-accent span:nth-child(3){width:10px}.brand-name{display:inline-flex;align-items:baseline;gap:4px;text-transform:uppercase;font-style:italic;letter-spacing:0}.brand-name span:first-child{color:currentColor}.brand-name span:last-child{color:var(--orange)}.icon-button{width:42px;height:42px;border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;color:var(--text);background:var(--surface)}.ghost-action,.primary-action{min-height:38px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 13px;font-weight:800;white-space:nowrap}.primary-action{border:0;color:#ffffff;background:var(--orange)}.primary-action:disabled{opacity:.7}.ghost-action{border:1px solid var(--line);color:var(--text);background:var(--surface)}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr)}.login-visual{min-height:100vh;padding:32px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(135deg,rgba(31,39,34,.88),rgba(31,39,34,.52)),url(https://images.unsplash.com/photo-1517836357463-d25dfeac3438?auto=format&fit=crop&w=1800&q=80);background-size:cover;background-position:50%;color:#ffffff}.login-brand{display:grid;gap:3px;justify-items:start;align-self:flex-start;text-align:left}.login-brand .brand-row{display:grid;justify-items:start;gap:10px;font-size:1.75rem}.login-brand .brand-name{line-height:1}.login-brand .brand-name span:first-child{color:#ffffff}.login-brand .brand-mark{width:101px;height:70px;gap:9px}.login-brand .brand-bars{gap:7px}.login-brand .brand-bars span{width:35px;height:9px}.login-brand .brand-bars span:nth-child(2){width:31px}.login-brand .brand-bars span:nth-child(3){width:26px}.login-brand .brand-bars-accent span{width:30px}.login-brand .brand-bars-accent span:nth-child(2){width:25px}.login-brand .brand-bars-accent span:nth-child(3){width:18px}.login-brand .brand-tagline{color:rgba(255,255,255,.78);text-align:left}.login-copy{width:min(560px,100%);padding-bottom:9vh}.eyebrow{margin:0 0 10px;color:var(--orange);font-weight:800;text-transform:uppercase;font-size:.75rem;letter-spacing:0}.login-copy h1{font-size:clamp(2.5rem,6vw,5.8rem)}.login-copy h1,.profile-band h1{margin:0;line-height:1;letter-spacing:0}.profile-band h1{font-size:clamp(2rem,4vw,3.6rem)}.login-copy p:last-child{margin:18px 0 0;max-width:540px;color:rgba(255,255,255,.82);font-size:1.08rem;line-height:1.6}.login-panel{min-height:100vh;display:grid;place-items:center;padding:28px;background:var(--surface)}.login-form{width:min(420px,100%);display:grid;gap:18px}.login-form h2{margin:0 0 6px;font-size:2rem}.login-form p{margin:0;color:var(--muted)}.login-form label{display:grid;gap:8px;color:var(--muted);font-size:.92rem;font-weight:700}.login-form input{width:100%;min-height:48px;border:1px solid var(--line);border-radius:8px;padding:0 14px;color:var(--text);background:var(--surface-strong)}.login-form button{min-height:50px;border:0;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:9px;color:#ffffff;background:var(--orange);font-weight:800}.login-form button:disabled{opacity:.72}.login-form .signup-link{min-height:44px;border:1px solid var(--line);color:var(--text);background:var(--surface-strong)}.login-form .signup-link:hover{color:#ffffff;background:var(--blue)}.form-error{padding:12px;border-radius:8px;color:#7b2020;background:#ffe8e3}.success-toast{position:fixed;left:50%;bottom:22px;z-index:80;transform:translateX(-50%);gap:9px;width:min(440px,calc(100% - 28px));min-height:46px;justify-content:center;padding:12px 16px;border-radius:8px;border:1px solid rgba(47,143,107,.24);color:#14583d;background:rgba(226,242,235,.82);box-shadow:0 18px 45px rgba(31,39,34,.16);backdrop-filter:blur(10px);font-weight:800;animation:toast-in .18s ease-out}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%)}}.profile-band{display:grid;gap:0;padding:24px 30px;border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.profile-frame-content{justify-content:space-between;gap:20px;align-items:flex-start}.profile-identity{min-width:0;display:flex;align-items:flex-start;gap:18px}.profile-photo{width:108px;height:108px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;overflow:hidden;color:var(--orange);background:var(--surface-strong)}.profile-side{display:grid;gap:3px;justify-items:end;align-self:flex-start;text-align:right}.profile-side .brand-row{display:grid;justify-items:end;gap:10px;font-size:1.75rem}.profile-side .brand-name{line-height:1}.profile-side .brand-mark{width:101px;height:70px;gap:9px}.profile-side .brand-bars{gap:7px}.profile-side .brand-bars span{width:35px;height:9px}.profile-side .brand-bars span:nth-child(2){width:31px}.profile-side .brand-bars span:nth-child(3){width:26px}.profile-side .brand-bars-accent span{width:30px}.profile-side .brand-bars-accent span:nth-child(2){width:25px}.profile-side .brand-bars-accent span:nth-child(3){width:18px}.brand-tagline{margin:0;color:var(--muted);font-size:.64rem;font-weight:800;letter-spacing:.12em;text-align:right;text-transform:uppercase}.profile-photo svg{width:48px;height:48px}.photo-preview img,.profile-photo img{width:100%;height:100%;display:block;object-fit:cover}.profile-band p{margin:10px 0 0;color:var(--muted)}.profile-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.profile-meta span+span{padding-left:9px;border-left:1px solid var(--line)}.linked-personal{margin:5px 0 0;color:var(--text);font-size:inherit;font-weight:800}.personal-key-button{min-height:28px;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:8px;padding:0 9px;color:var(--text);background:var(--surface-strong);font:inherit;font-weight:800}.profile-identity .personal-key-button{width:fit-content;border:0;padding:0;color:var(--text);background:transparent}.profile-identity .personal-key-button:hover{color:var(--orange);border-color:transparent;background:transparent}.personal-key-button:hover{color:#ffffff;border-color:var(--blue);background:var(--blue)}.profile-stats{align-self:flex-end;gap:10px;flex-wrap:wrap;justify-content:flex-end}.profile-stats div{border-radius:8px}.profile-stats div,.profile-user-button{gap:8px;min-height:38px;padding:0 12px;color:var(--text);background:var(--surface-strong);font-weight:700}.profile-user-button{border:0;border-radius:8px}.profile-user-button:hover{color:#ffffff;background:var(--blue)}.form-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end;margin-top:18px}.modal-backdrop{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:22px;background:rgba(18,24,20,.52)}.video-modal-backdrop{z-index:90}.photo-modal-backdrop{z-index:140}.measurement-modal,.measurement-sheet-modal,.profile-modal,.signup-modal,.workout-modal{width:min(860px,100%);max-height:min(760px,calc(100vh - 44px));overflow:auto;padding:20px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 28px 70px rgba(18,24,20,.24)}.measurement-sheet-modal{width:min(1060px,100%)}.profile-modal{width:min(760px,100%)}.signup-modal{width:min(560px,100%)}.photo-modal{width:min(960px,calc(100vw - 28px));max-height:min(900px,calc(100dvh - 28px));overflow:auto;padding:20px;background:var(--surface);box-shadow:0 28px 70px rgba(18,24,20,.24)}.photo-modal,.photo-modal-frame{border:1px solid var(--line);border-radius:8px}.photo-modal-frame{max-height:calc(100dvh - 150px);display:grid;place-items:center;overflow:auto;background:var(--surface-strong)}.photo-modal-frame img{max-width:100%;max-height:calc(100dvh - 152px);display:block;object-fit:contain}.modal-title{align-items:flex-start;position:sticky;top:-20px;z-index:1;margin:-20px -20px 16px;padding:18px 20px 14px;border-bottom:1px solid var(--line);background:var(--surface)}.modal-title div:first-child{display:grid;gap:6px}.form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.form-grid label{display:grid;gap:7px;color:var(--muted);font-size:.86rem;font-weight:800}.form-grid input,.form-grid select,.form-grid textarea,.profile-form-grid input,.profile-form-grid select{width:100%;border:1px solid var(--line);border-radius:8px;color:var(--text);background:var(--surface-strong);font-weight:700}.form-grid input,.form-grid select,.profile-form-grid input,.profile-form-grid select{min-height:42px;padding:0 11px}.form-grid input:disabled,.form-grid select:disabled{color:var(--muted);background:#edf1ef;cursor:not-allowed}.form-grid textarea{min-height:92px;resize:vertical;padding:10px 11px;font:inherit;line-height:1.45}.profile-form-grid input:disabled,.profile-form-grid select:disabled{color:var(--muted);background:#edf1ef;cursor:not-allowed}.profile-editor{grid-template-columns:150px minmax(0,1fr)}.exercise-editor,.profile-editor{display:grid;gap:18px;align-items:start}.exercise-editor{grid-template-columns:minmax(0,1fr)}.photo-editor{display:grid;gap:12px;justify-items:center}.photo-preview{width:132px;height:132px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;overflow:hidden;color:var(--orange);background:var(--surface-strong)}.exercise-photo-field{display:grid;gap:8px;color:var(--muted);font-size:.86rem;font-weight:800}.exercise-photo-slots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.exercise-photo-editor{width:100%;min-width:0;justify-items:stretch;gap:8px}.exercise-photo-preview{width:100%;height:112px;border-radius:8px}.exercise-photo-editor input{width:170px;min-height:36px;border:1px solid var(--line);border-radius:8px;padding:0 9px;color:var(--text);background:var(--surface-strong);font-size:.8rem;font-weight:700}.exercise-file-action{width:100%;min-height:38px;border:1px solid var(--orange);border-radius:8px;padding:0 10px;background:var(--orange);font-weight:800;cursor:pointer;white-space:nowrap;box-shadow:0 6px 14px rgba(248,96,40,.16)}.exercise-file-action,.form-grid .exercise-file-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;color:#ffffff;font-size:.84rem;line-height:1}.exercise-file-action:hover{background:#e95624}.exercise-file-action input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.file-action{min-height:38px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 13px;color:#ffffff;background:var(--orange);font-weight:800;cursor:pointer}.file-action input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.profile-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.exercise-form-grid label,.profile-form-grid label{display:grid;gap:7px;color:var(--muted);font-size:.86rem;font-weight:800}.profile-form-grid .inline-check{display:inline-flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start}.exercise-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.exercise-form-grid input,.exercise-form-grid select,.exercise-form-grid textarea{width:100%;border:1px solid var(--line);border-radius:8px;color:var(--text);background:var(--surface-strong);font-weight:700}.exercise-form-grid input,.exercise-form-grid select{min-height:42px;padding:0 11px}.exercise-form-grid textarea{min-height:118px;resize:vertical;padding:10px 11px;font:inherit;line-height:1.45}.exercise-wide-field{grid-column:1/-1}.exercise-focus-field{display:grid;gap:8px;color:var(--muted);font-size:.86rem;font-weight:800}.focus-tag-picker{display:flex;flex-wrap:wrap;gap:8px}.focus-check{min-height:34px;border:1px solid var(--line);border-radius:8px;display:inline-flex;flex-direction:row;align-items:center;gap:8px;padding:0 11px;color:var(--text);background:var(--surface-strong);font-weight:800;cursor:pointer}.exercise-form-grid .focus-check{display:inline-flex;grid-auto-flow:column;justify-content:flex-start}.focus-check input{flex:0 0 16px;width:16px;height:16px;min-height:16px;margin:0;accent-color:var(--orange)}.focus-check.selected{border-color:var(--orange);background:#fff0e8}.wide-field{grid-column:1/-1}.half-field{grid-column:span 2}.password-panel{margin-top:18px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface-strong)}.password-panel>div:first-child{display:flex;align-items:center;gap:8px;margin-bottom:12px;color:var(--text);font-weight:800}.notes-field{grid-column:span 2}.series-builder{grid-column:1/-1;display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-strong)}.series-builder-title,.series-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.series-builder-title{justify-content:space-between;font-weight:800}.series-builder-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.inline-check{min-height:36px;align-items:center;color:var(--text);font-weight:800;line-height:1;white-space:nowrap;cursor:pointer}.form-grid .inline-check,.inline-check{display:inline-flex;flex-direction:row;justify-content:flex-start;gap:8px}.form-grid .inline-check{grid-auto-flow:column}.inline-check input{flex:0 0 16px;width:16px;height:16px;min-height:16px;margin:0;padding:0;accent-color:var(--orange)}.series-row>span{min-width:76px;color:var(--text);font-weight:800}.series-equal-row label,.series-row label{min-width:150px;flex:1 1 150px}.series-equal-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.dashboard-tabs{justify-content:space-between;margin:16px 0}.dashboard-tab-group,.dashboard-tabs,.dashboard-user-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.dashboard-user-actions{margin-left:auto;justify-content:flex-end}.dashboard-tabs .mobile-menu-toggle{display:none}.dashboard-tabs button{min-height:42px;border:1px solid var(--line);border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 16px;color:var(--text);background:var(--surface);box-shadow:var(--shadow);font-weight:800}.dashboard-tab-group button.active,.dashboard-tab-group button:hover{color:#ffffff;border-color:var(--orange);background:var(--orange)}.icon-only-button{width:52px;min-width:52px;padding:0}.theme-toggle-button{min-width:52px}.theme-toggle-button svg{width:20px;height:20px;stroke-width:2.4}.icon-only-button span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}:root[data-theme=dark] .modal-backdrop{background:rgba(5,8,6,.72)}:root[data-theme=dark] .form-grid input:disabled,:root[data-theme=dark] .form-grid select:disabled,:root[data-theme=dark] .profile-form-grid input:disabled,:root[data-theme=dark] .profile-form-grid select:disabled{background:#1c261f}:root[data-theme=dark] .table-action{background:#253653}:root[data-theme=dark] .table-action.danger{background:#4a2525}:root[data-theme=dark] tbody tr:hover{background:#241f1b}:root[data-theme=dark] .selected-row{background:#352318}:root[data-theme=dark] .focus-check.selected{background:rgba(255,122,61,.18)}:root[data-theme=dark] .success-toast{color:#d8fff0;border-color:rgba(93,191,150,.36);background:rgba(28,78,58,.82)}.assessment-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 16px}.assessment-actions div{min-height:38px;border-radius:8px;display:inline-flex;align-items:center;gap:8px;padding:0 12px;color:var(--text);background:var(--surface-strong);font-weight:700}.agenda-filter-group{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.agenda-filter-group button{min-height:34px;border:1px solid var(--line);border-radius:8px;padding:0 11px;color:var(--text);background:var(--surface-strong);font-weight:800}.agenda-filter-group button.active,.agenda-filter-group button:hover{color:#ffffff;border-color:var(--orange);background:var(--orange)}.exit-prompt-backdrop{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:16px;background:rgba(18,24,20,.52)}.exit-prompt{width:min(420px,100%);display:grid;gap:12px;padding:18px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:var(--surface);box-shadow:0 28px 70px rgba(18,24,20,.24)}.exit-prompt h2{margin:0;font-size:1.2rem}.exit-prompt p{margin:0;color:var(--muted);line-height:1.45}.exit-prompt div{display:grid;grid-template-columns:1fr 1fr;gap:9px}.exit-prompt .ghost-action,.exit-prompt .primary-action{width:100%}.metric-grid{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,3.1fr);gap:14px;margin:0 0 16px}.detail-panel,.metric-card,.table-panel,.workout-panel{border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.metric-card{height:190px;min-height:190px;padding:18px;display:grid;grid-template-rows:auto auto auto minmax(0,1fr);gap:12px;overflow:hidden}.metric-card-wide{grid-column:auto;grid-template-columns:minmax(170px,.72fr) minmax(0,3fr);grid-template-rows:1fr;align-items:stretch;gap:18px}.metric-head{justify-content:space-between;gap:10px;color:var(--muted);font-size:.9rem;font-weight:800}.metric-head span{display:inline-flex;align-items:center;gap:7px;min-width:0}.metric-head select,.metric-wide-summary select{min-height:34px;max-width:190px;border:1px solid var(--line);border-radius:8px;padding:0 10px;color:var(--text);background:var(--surface-strong);font-weight:800}.metric-card strong{font-size:2rem;letter-spacing:0}.metric-wide-summary{display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:12px;align-content:start;min-width:0;min-height:0}.metric-wide-summary select{align-self:end;width:100%}.metric-wide-chart{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px;overflow:hidden}.delta{padding:5px 7px;border-radius:8px;white-space:nowrap;font-size:.82rem}.delta.up{color:var(--blue);background:#e8eef8}.delta.down{color:var(--green);background:#e2f2eb}.sparkline{width:100%;height:100%;min-height:58px;color:var(--orange);overflow:visible}.metric-wide-chart .sparkline,.metric-wide-chart .sparkline-empty{min-height:0}.sparkline-empty{min-height:58px}.sparkline-grid{fill:none;stroke:currentColor;stroke-width:.6;opacity:.14;vector-effect:non-scaling-stroke}.sparkline-area{fill:currentColor;opacity:.12}.sparkline-line{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.content-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.75fr);gap:16px}.detail-panel,.table-panel,.workout-panel{min-width:0;padding:18px}.workout-panel{margin-top:16px}.section-title{justify-content:space-between;gap:14px;margin-bottom:16px}.section-title h2{margin:0;font-size:1.2rem}.section-title h2 span{margin-left:8px;color:var(--muted);font-size:.86rem;font-weight:800}.section-title span{color:var(--muted);font-size:.92rem;font-weight:700}.compact-action{min-height:34px;border:0;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 12px;color:#ffffff;background:var(--orange);font-weight:800}.compact-action:disabled{color:#7b8580;background:#dfe5e2;cursor:not-allowed}.exercise-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.exercise-toolbar select{min-height:34px;min-width:118px;border:1px solid var(--line);border-radius:8px;padding:0 10px;color:var(--text);background:var(--surface-strong);font-weight:800}.auxiliary-form{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:10px;align-items:end;margin-bottom:16px}.auxiliary-form label{display:grid;gap:7px;color:var(--muted);font-size:.86rem;font-weight:800}.auxiliary-form input{width:100%;min-height:42px;border:1px solid var(--line);border-radius:8px;padding:0 11px;color:var(--text);background:var(--surface-strong);font-weight:700}.auxiliary-form-actions{display:inline-flex;gap:8px;align-items:center;justify-content:flex-end}.secondary-action{min-height:34px;border:1px solid var(--line);border-radius:8px;padding:0 12px;color:var(--text);background:var(--surface-strong);font-weight:800}.table-wrap{overflow-x:auto}table{width:100%;min-width:520px;border-collapse:collapse}.workout-table{min-width:940px}.student-table{min-width:760px}td,th{padding:13px 12px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}th{color:var(--muted);font-size:.82rem;text-transform:uppercase;letter-spacing:0}td{font-weight:700}.description-cell{min-width:320px;max-width:420px;white-space:normal;line-height:1.45}.series-cell{min-width:240px;white-space:pre-line;line-height:1.45}.measurement-sheet-wrap{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.measurement-sheet-table{min-width:max-content;border-collapse:separate;border-spacing:0}.measurement-sheet-table td,.measurement-sheet-table th{min-width:92px;padding:7px 10px;border-bottom:1px solid var(--line);color:var(--text);text-align:center;white-space:nowrap}.measurement-sheet-table thead th{position:sticky;top:0;z-index:2;color:var(--text);background:var(--surface);font-size:.88rem;text-transform:none}.measurement-sheet-table .measurement-sheet-sticky{position:sticky;left:0;z-index:3;min-width:178px;max-width:178px;border-right:1px solid var(--line);color:var(--text);background:#f7e5dd;text-align:left;font-size:.84rem;font-weight:800;text-transform:none}.measurement-sheet-table thead .measurement-sheet-sticky{z-index:4;background:var(--surface)}.measurement-sheet-bmi-row .measurement-sheet-sticky,.measurement-sheet-bmi-row td,.measurement-sheet-bmi-row th{background:#b8d8a9}:root[data-theme=dark] .measurement-sheet-table .measurement-sheet-sticky{color:#1f2722;background:#f2ded4}:root[data-theme=dark] .measurement-sheet-table thead .measurement-sheet-sticky{color:var(--text);background:var(--surface)}:root[data-theme=dark] .measurement-sheet-bmi-row .measurement-sheet-sticky,:root[data-theme=dark] .measurement-sheet-bmi-row td,:root[data-theme=dark] .measurement-sheet-bmi-row th{color:#1f2722;background:#b8d8a9}.measurement-chart-layout{display:grid;grid-template-columns:minmax(190px,230px) minmax(0,1fr);gap:12px;align-items:stretch;min-height:0}.measurement-chart-sidebar{display:grid;align-content:start;gap:8px;border:1px solid var(--line);border-radius:8px;padding:10px;background:var(--surface)}.measurement-chart-legend-item{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 8px;border:1px solid var(--line);border-radius:8px;color:var(--muted);background:var(--surface-strong);font-size:.84rem;font-weight:800;cursor:pointer}.measurement-chart-legend-item input{width:15px;height:15px;margin:0}.measurement-chart-legend-item i{width:12px;height:12px;border-radius:3px;display:inline-block}.measurement-chart-wrap{overflow:hidden;border:1px solid var(--line);border-radius:8px;padding:12px;background:var(--surface)}.measurement-chart{width:100%;height:clamp(300px,54vh,560px);display:block}.measurement-chart-gridline{stroke:var(--line);stroke-width:1}.measurement-chart-axis-label,.measurement-chart-category{fill:var(--muted);font-size:13px;font-weight:800}.measurement-chart-line{vector-effect:non-scaling-stroke;fill:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.workout-items-builder{grid-column:1/-1;display:grid;gap:10px;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-strong)}.workout-items-actions{display:flex;justify-content:flex-end}.workout-item-strip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(170px,210px);gap:12px;overflow-x:auto;padding-bottom:6px}.workout-item-card{position:relative;min-width:0}.workout-item-edit{width:100%;gap:8px;padding:8px;color:var(--text);text-align:left;background:var(--surface);cursor:pointer}.workout-item-edit,.workout-item-photo{border:1px solid var(--line);border-radius:8px;display:grid}.workout-item-photo{aspect-ratio:4/3;place-items:center;overflow:hidden;color:var(--orange);background:var(--surface-strong)}.workout-item-photo img{width:100%;height:100%;display:block;object-fit:cover}.workout-item-edit span,.workout-item-edit strong{overflow:hidden;font-size:.84rem;line-height:1.25}.workout-item-edit strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.workout-item-edit span{max-height:4.8em;color:var(--muted);white-space:pre-line}.workout-item-remove{position:absolute;top:6px;right:6px}.assignment-list{display:grid;gap:8px;max-height:360px;overflow:auto}.assignment-check{border:1px solid var(--line);border-radius:8px;display:grid;grid-template-columns:18px minmax(0,1fr) minmax(128px,160px);gap:10px;align-items:center;padding:10px;background:var(--surface-strong);cursor:pointer}.assignment-check input{width:16px;height:16px;min-height:16px;accent-color:var(--orange)}.assignment-check select{width:100%;min-height:34px;border:1px solid var(--line);border-radius:8px;padding:0 9px;color:var(--text);background:var(--surface);font-size:.82rem;font-weight:800}.assignment-check select:disabled{color:var(--muted);background:#edf1ef;cursor:not-allowed}.assignment-check span{display:grid;gap:2px;min-width:0}.assignment-check small,.assignment-check strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.assignment-check strong{color:var(--text);font-size:.95rem}.assignment-check small{color:var(--muted);font-weight:700}.student-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px}.student-card{display:grid;grid-template-columns:86px minmax(0,1fr);gap:12px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.student-card-photo{width:86px;height:86px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;overflow:hidden;color:var(--orange);background:var(--surface-strong)}.student-card-photo img{width:100%;height:100%;display:block;object-fit:cover}.student-card-content{display:grid;gap:10px;min-width:0}.student-card-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start}.student-card-header h3{margin:0;color:var(--text);font-size:1rem;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.student-card-header span,.student-card-meta>span:first-child{overflow:hidden;color:var(--muted);font-size:.82rem;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.student-card-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.student-card-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.student-card-details>div{display:grid;gap:3px;min-width:0;padding:8px;border-radius:8px;background:var(--surface-strong)}.student-card-details span{color:var(--muted);font-size:.72rem;font-weight:800;text-transform:uppercase}.student-card-details strong{overflow:hidden;color:var(--text);font-size:.86rem;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.student-card-notes{grid-column:1/-1}.student-card-notes strong{white-space:normal}.student-link-check{min-height:38px;display:grid;grid-template-columns:16px minmax(0,1fr);gap:8px;align-items:center;justify-content:start;color:var(--text);font-weight:800;line-height:1;cursor:pointer}.student-link-check input{width:16px;height:16px;min-height:16px;margin:0;accent-color:var(--orange)}.status-pill{min-height:28px;border-radius:8px;display:inline-flex;align-items:center;padding:0 10px;font-size:.82rem;font-weight:800}.status-pill.active{color:#146c43;background:#d9f4e7}.status-pill.inactive{color:#9a3412;background:#ffedd5}.group-pill{display:inline-flex;align-items:center;max-width:100%;min-width:0;min-height:30px;border-radius:8px;padding:0 10px;color:#ffffff;background:var(--blue);font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workout-card-header .group-pill{display:block;width:fit-content;max-width:100%}.workout-card-count{display:block;margin-top:4px;color:var(--muted);font-size:.76rem;font-weight:800;line-height:1.2}.workout-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px}.workout-card{display:grid;gap:14px;min-width:0;padding:14px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--surface)}.workout-card-clickable{cursor:pointer;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}.workout-card-clickable:focus-visible,.workout-card-clickable:hover{border-color:rgba(255,103,43,.65);box-shadow:0 10px 24px rgba(15,23,42,.11);outline:none;transform:translateY(-1px)}.workout-card-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:flex-start;min-width:0}.workout-card-header>div:first-child{min-width:0}.workout-card-header h3{margin:10px 0 0;color:var(--text);font-size:1rem;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workout-card-photo{aspect-ratio:16/9;border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;overflow:hidden;color:var(--orange);background:var(--surface-strong)}.workout-card-photo img{width:100%;height:100%;display:block;object-fit:cover}.workout-card-item-strip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,180px);gap:10px;overflow-x:auto;padding-bottom:4px}.workout-card-item{gap:7px;min-width:0;padding:8px;background:var(--surface-strong)}.workout-card-item,.workout-card-item-photo{display:grid;border:1px solid var(--line);border-radius:8px}.workout-card-item-photo{aspect-ratio:4/3;place-items:center;overflow:hidden;color:var(--orange);background:var(--surface)}.workout-card-item-photo img{width:100%;height:100%;display:block;object-fit:cover}.workout-card-item span,.workout-card-item strong{overflow:hidden;color:var(--text);font-size:.82rem;line-height:1.25}.workout-card-item strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.workout-card-item span{max-height:4.8em;color:var(--muted);white-space:pre-line}.workout-card-body{display:grid;gap:10px}.workout-card-body>div{display:grid;gap:4px;min-width:0;padding:10px;border-radius:8px;overflow:hidden;background:var(--surface-strong)}.workout-card-body span{color:var(--muted);font-size:.78rem;font-weight:800;text-transform:uppercase}.workout-card-body strong{max-width:100%;max-height:7.9em;overflow:auto;color:var(--text);font-size:.92rem;line-height:1.4;white-space:pre-line;overflow-wrap:anywhere;word-break:break-word}.workout-card-notes{grid-column:1/-1}.start-workout-modal{width:min(980px,calc(100vw - 28px));max-height:min(88vh,820px);overflow:auto}.workout-execution-backdrop{z-index:110}.workout-execution-modal{width:min(440px,calc(100vw - 20px));max-height:calc(100dvh - 20px);display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 28px 70px rgba(18,24,20,.24)}.workout-execution-topbar{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;gap:8px;align-items:center;padding:12px;border-bottom:1px solid var(--line)}.workout-execution-topbar div{min-width:0;text-align:center}.workout-execution-title-block h3,.workout-execution-topbar h2{margin:0;color:var(--text)}.workout-execution-topbar h2{font-size:1rem}.workout-execution-topbar span{color:var(--muted);font-size:.82rem;font-weight:800}.workout-execution-body{min-height:0;display:grid;gap:16px;overflow:auto;padding:18px}.workout-execution-strip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,180px);gap:10px;overflow-x:auto;padding-bottom:4px}.workout-execution-strip button{min-width:0;border:1px solid var(--line);border-radius:8px;display:grid;gap:7px;padding:8px;color:var(--text);background:var(--surface-strong);text-align:left}.workout-execution-strip button.active{border-color:var(--orange);background:#fff0e8}.workout-execution-strip div{aspect-ratio:16/10;border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;overflow:hidden;color:var(--orange);background:var(--surface)}.workout-execution-strip img{width:100%;height:100%;display:block;object-fit:cover}.workout-execution-strip strong{overflow:hidden;font-size:.84rem;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.workout-execution-strip span{max-height:4.8em;overflow:hidden;color:var(--muted);font-size:.78rem;line-height:1.25;white-space:pre-line}.workout-execution-title-block{display:grid;gap:10px;text-align:center}.workout-execution-title-block .exercise-card-meta{justify-content:center}.workout-execution-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.workout-execution-photos .exercise-card-photo{aspect-ratio:1/1}.workout-execution-series-head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--green);font-size:.78rem;font-weight:900;text-transform:uppercase}.workout-execution-series-head strong{color:var(--muted)}.workout-execution-inputs{display:grid;grid-template-columns:56px minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) 56px;gap:8px;align-items:stretch}.execution-confirm-button,.execution-skip-button,.workout-execution-inputs label{min-height:78px;border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;padding:8px;background:var(--surface-strong);text-align:center}.workout-execution-inputs label{gap:3px;color:var(--muted);font-size:.72rem;font-weight:800}.workout-execution-inputs input{width:100%;min-width:0;border:0;color:var(--text);background:transparent;text-align:center;font-size:1.08rem;font-weight:900;outline:none}.workout-execution-inputs label span{color:var(--text);font-size:.75rem}.workout-execution-inputs input.countdown{color:var(--red)}.execution-confirm-button{color:var(--green);cursor:pointer}.execution-skip-button{color:var(--red);cursor:pointer}.execution-confirm-button.confirmed{border-color:rgba(47,143,107,.25);background:#d9f4e7}.execution-skip-button.skipped{border-color:rgba(185,80,80,.25);background:#ffe8e3}.workout-execution-progress{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:8px}.workout-execution-progress span{height:7px;border-radius:999px;background:var(--line)}.workout-execution-progress span.active{background:rgba(47,143,107,.45)}.workout-execution-progress span.completed{background:var(--green)}.workout-execution-progress span.skipped{background:var(--red)}.workout-execution-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:2px}.workout-execution-actions .ghost-action,.workout-execution-actions .primary-action{width:100%;min-height:46px}.execution-next-button{background:var(--blue)}.execution-history-modal{width:min(980px,calc(100vw - 28px))}.execution-history-list{display:grid;gap:12px}.execution-history-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.execution-history-filters label{display:grid;gap:6px;color:var(--muted);font-size:.78rem;font-weight:800}.execution-history-filters input{min-height:42px;border:1px solid var(--line);border-radius:8px;padding:0 10px;color:var(--text);background:var(--surface-strong);font:inherit;font-weight:800}.execution-history-card{display:grid;gap:12px;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.execution-history-summary{width:100%;border:0;align-items:center;padding:4px;color:inherit;background:transparent;text-align:left}.execution-history-head,.execution-history-summary{display:flex;justify-content:space-between;gap:12px}.execution-history-head{align-items:flex-start}.execution-history-status{display:flex;align-items:center;justify-items:end;gap:6px}.execution-history-head h3,.execution-history-summary h3{margin:3px 0 0;color:var(--text);font-size:1rem}.execution-history-summary>div:first-child{min-width:0}.execution-history-status>strong{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:var(--green);background:var(--surface-strong);font-size:1.1rem}.execution-history-head span,.execution-history-series-row small,.execution-history-student,.execution-history-summary span{color:var(--muted);font-size:.8rem;font-weight:800}.execution-history-student{margin:-4px 0 0}.execution-rating-readonly{color:var(--orange);font-size:.9rem;font-weight:900;letter-spacing:0}.execution-rating-empty{color:var(--muted);font-size:.78rem;font-weight:900}.execution-history-detail{display:grid;gap:10px;padding:10px;border-radius:8px;background:var(--surface-strong)}.execution-rating-picker{display:inline-flex;align-items:center;gap:4px}.execution-rating-picker button{width:34px;height:34px;border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;color:var(--muted);background:var(--surface-strong);font-size:1rem;font-weight:900}.execution-rating-picker button.active{color:#ffffff;border-color:var(--orange);background:var(--orange)}.execution-history-entries,.execution-history-entry{display:grid;gap:10px}.execution-history-entry{padding:10px;border-radius:8px;background:var(--surface)}.execution-history-entry>strong{color:var(--text)}.execution-history-exercise-card{background:var(--surface)}.execution-history-series-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.execution-history-series-compare .start-series-box{min-height:114px;align-content:start}.execution-history-series{display:grid;gap:8px}.execution-history-series-row{display:grid;grid-template-columns:78px repeat(2,minmax(0,1fr));gap:8px;align-items:stretch}.execution-history-series-row>div,.execution-history-series-row>span{min-width:0;border:1px solid var(--line);border-radius:8px;display:grid;gap:3px;padding:8px;background:var(--surface)}.execution-history-series-row>span{place-items:center;color:var(--green);font-size:.78rem;font-weight:900;text-align:center}.execution-history-series-row strong{color:var(--text);font-size:.86rem;line-height:1.35}.execution-history-series-compare strong.execution-history-skipped,.execution-history-series-row strong.execution-history-skipped{color:var(--red)}.start-workout-summary{display:grid;gap:6px;margin:0 0 14px;padding:12px;border-radius:8px;color:var(--text);background:var(--surface-strong)}.start-series-box span,.start-workout-summary span{color:var(--muted);font-size:.78rem;font-weight:800;text-transform:uppercase}.start-series-box strong,.start-workout-summary strong{color:var(--text);line-height:1.45;white-space:pre-line;overflow-wrap:anywhere}.start-workout-list{display:grid;gap:12px}.start-series-box{display:grid;gap:6px;padding:10px;border-radius:8px;background:var(--surface-strong)}.start-exercise-photo-link{border:1px solid var(--line);padding:0;cursor:zoom-in;text-decoration:none}.photo-preview-button{width:100%;height:100%;border:0;padding:0;display:grid;place-items:center;color:inherit;background:transparent;cursor:zoom-in}.start-exercise-card .exercise-card-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.start-exercise-card .exercise-card-photo{aspect-ratio:1/1}.start-exercise-card .exercise-card-header h3{font-size:1.05rem}.exercise-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(380px,1fr));gap:12px}.exercise-card{display:grid;grid-template-columns:190px minmax(0,1fr);gap:14px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.exercise-card-clickable{cursor:pointer;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}.exercise-card-clickable:focus-visible,.exercise-card-clickable:hover{border-color:rgba(255,103,43,.65);box-shadow:0 10px 24px rgba(15,23,42,.11);outline:none;transform:translateY(-1px)}.exercise-card-photo-grid{display:grid;grid-template-columns:1fr;gap:8px;align-self:start}.exercise-card-photo{aspect-ratio:16/10;border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;overflow:hidden;color:var(--orange);background:var(--surface-strong)}.exercise-card-photo img{width:100%;height:100%;display:block;object-fit:cover}.exercise-card-content{min-width:0;display:grid;gap:10px;align-content:start}.exercise-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.exercise-card-header h3{margin:10px 0 0;color:var(--text);font-size:.98rem;line-height:1.35}.exercise-card-description{margin:6px 0 0;color:var(--muted);font-size:.86rem;line-height:1.45;overflow-wrap:anywhere}.exercise-card-meta{display:flex;gap:8px;flex-wrap:wrap}.exercise-card-meta span{min-height:28px;border-radius:8px;display:inline-flex;align-items:center;padding:0 9px;color:var(--text);background:var(--surface-strong);font-size:.82rem;font-weight:800}.media-links button{min-height:32px;border:0;border-radius:8px;padding:0 12px;color:#ffffff;background:var(--blue);font-weight:800;cursor:pointer}.media-links:empty{display:none}.video-modal{width:min(860px,96vw);max-height:calc(100vh - 40px);padding:20px;overflow:auto;background:var(--surface);box-shadow:var(--shadow)}.video-frame,.video-modal{border:1px solid var(--line);border-radius:8px}.video-frame{aspect-ratio:16/9;overflow:hidden;background:#000000}.video-frame iframe{width:100%;height:100%;border:0;display:block}.empty-card{padding:18px;border:1px dashed var(--line);border-radius:8px;color:var(--muted);background:var(--surface-strong);font-weight:800;text-align:center}.media-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:172px}.media-links a,.media-links span{min-height:30px;border-radius:8px;display:inline-flex;align-items:center;padding:0 9px;font-size:.82rem;font-weight:800;text-decoration:none}.media-links a{color:#ffffff;background:var(--green)}.media-links span{color:var(--muted);background:var(--surface-strong)}.empty-cell{color:var(--muted);text-align:center}tbody tr{cursor:pointer}tbody tr:hover{background:#faf4ef}.selected-row{background:#fff0e8}.row-select-button{border:0;padding:0;color:var(--text);background:transparent;font-weight:800}.row-actions{display:flex;align-items:center;gap:7px}.table-action{width:34px;height:34px;border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;color:var(--blue);background:#e8eef8}.table-action.danger{color:var(--red);background:#ffe8e3}.table-action:disabled{opacity:.55;cursor:default}.detail-list{display:grid;gap:8px}.detail-list div{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 12px;border-radius:8px;background:var(--surface-strong)}.detail-list .detail-notes{min-height:72px;align-items:flex-start;flex-direction:column;justify-content:flex-start;padding:10px 12px}.detail-notes strong{white-space:pre-wrap;word-break:break-word;font-size:.95rem}.detail-list span{color:var(--muted);font-weight:700}@media (max-width:980px){.content-grid,.login-page{grid-template-columns:1fr}.login-panel,.login-visual{min-height:auto}.login-visual{min-height:46vh}.metric-grid{grid-template-columns:minmax(220px,1fr) minmax(0,2fr)}.metric-card-wide{grid-column:auto}}@media (max-width:680px){html{scroll-padding-bottom:96px}body{padding-bottom:0}.shell{width:min(100% - 20px,1180px);padding-top:14px}.profile-band{padding:12px 14px 18px}.profile-frame-content{display:grid;grid-template-columns:82px minmax(0,1fr);gap:12px 16px;align-items:start}.profile-side{grid-column:2;grid-row:1;display:grid;order:-1;width:100%;justify-items:end;gap:3px;text-align:right}.profile-side .brand-row{display:flex;flex-direction:row-reverse;align-items:flex-end;justify-items:end;gap:8px}.profile-side .brand-mark{width:74px;height:52px;gap:7px}.profile-side .brand-bars span{width:25px;height:7px}.profile-side .brand-bars span:nth-child(2){width:22px}.profile-side .brand-bars span:nth-child(3){width:18px}.profile-side .brand-bars-accent span{width:22px}.profile-side .brand-bars-accent span:nth-child(2){width:18px}.profile-side .brand-bars-accent span:nth-child(3){width:13px}.profile-side .brand-name{justify-self:end;align-self:end;font-size:clamp(1.45rem,7vw,2rem);line-height:.95}.brand-tagline{justify-self:end;align-self:center;margin:0;font-size:.64rem;letter-spacing:.12em;text-align:right;white-space:nowrap}.profile-identity{display:contents}.profile-photo{grid-column:1;grid-row:2/span 3;width:82px;height:82px;justify-self:start}.profile-identity>div:not(.profile-photo){min-width:0;display:contents}.profile-band h1{grid-column:2;grid-row:2;align-self:end;margin:0;font-size:clamp(1.65rem,8vw,2.35rem);line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-meta{grid-column:2;grid-row:3;display:block;margin:0;min-width:0;color:var(--muted);font-size:.95rem;line-height:1.2}.profile-meta span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-meta span+span{padding-left:0;border-left:0}.profile-identity>div>.linked-personal{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-identity .personal-key-button,.profile-identity>div>.linked-personal{grid-column:2;grid-row:4;margin:0;color:var(--muted);font-size:.95rem;line-height:1.25}.profile-identity .personal-key-button{width:auto;min-height:auto;display:inline-flex;justify-content:flex-start;padding:0;background:transparent;text-align:left}.profile-identity .personal-key-button svg{display:none}.profile-identity .personal-key-button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-stats{align-self:stretch;justify-content:flex-start}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-grid{grid-template-columns:1fr}.metric-card-wide{grid-column:auto;grid-template-columns:1fr;grid-template-rows:auto auto;height:auto;min-height:260px}.section-title{align-items:flex-start}.agenda-filter-group,.exercise-toolbar{width:100%;justify-content:flex-start}.dashboard-tabs{position:fixed;top:calc(14px + env(safe-area-inset-top));right:auto;bottom:auto;left:22px;z-index:40;display:grid;justify-items:start;gap:8px;margin:0;padding:0;border:0;box-shadow:none;backdrop-filter:none}.dashboard-tabs,:root[data-theme=dark] .dashboard-tabs{background:transparent}.dashboard-tab-group,.dashboard-user-actions{justify-content:flex-start;gap:8px}.dashboard-user-actions{width:100%;margin-left:0}.dashboard-tabs .mobile-menu-toggle{display:inline-flex;min-height:42px;border:1px solid var(--line);border-radius:8px;align-items:center;justify-content:center;gap:8px;padding:0 13px;color:var(--text);background:var(--surface);box-shadow:var(--shadow);font-size:1rem;font-weight:900}.dashboard-tabs .mobile-menu-toggle svg{width:20px;height:20px;stroke-width:2.4}.dashboard-tab-group{width:min(280px,calc(100vw - 28px));display:none;grid-template-columns:1fr;padding:10px;border:1px solid var(--line);border-radius:8px;background:rgba(245,246,244,.96);box-shadow:0 18px 45px rgba(31,39,34,.18);backdrop-filter:blur(14px)}:root[data-theme=dark] .dashboard-tab-group{background:rgba(17,23,19,.96)}.dashboard-user-actions{width:min(280px,calc(100vw - 28px));display:none;grid-template-columns:1fr;padding:10px;border:1px solid var(--line);border-radius:8px;background:rgba(245,246,244,.96);box-shadow:0 18px 45px rgba(31,39,34,.18);backdrop-filter:blur(14px)}:root[data-theme=dark] .dashboard-user-actions{background:rgba(17,23,19,.96)}.dashboard-tabs.mobile-menu-open .dashboard-tab-group,.dashboard-tabs.mobile-menu-open .dashboard-user-actions{display:grid}.dashboard-tabs button,.icon-only-button,.profile-user-button,.theme-toggle-button{width:100%;min-width:0;height:42px;min-height:42px;padding:0 12px;justify-content:flex-start}.dashboard-tabs button{border-color:transparent;background:var(--surface-strong);box-shadow:none}.dashboard-tabs .icon-only-button span{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}.mobile-menu-toggle{width:auto}.exercise-toolbar select{flex:1 1 120px}.auxiliary-form{grid-template-columns:1fr}.auxiliary-form-actions{justify-content:flex-start}.measurement-chart-layout{grid-template-columns:1fr}.measurement-chart-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.measurement-chart{height:clamp(260px,42vh,420px)}.exercise-card{grid-template-columns:1fr}.start-exercise-card .exercise-card-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.exercise-card-grid{grid-template-columns:1fr}.exercise-card-photo{max-height:none}.login-copy h1{font-size:2.7rem}.profile-band h1{font-size:2.2rem}.modal-backdrop{align-items:start;padding:calc(10px + env(safe-area-inset-top)) 10px 10px}.measurement-modal,.measurement-sheet-modal,.profile-modal,.signup-modal,.video-modal,.workout-modal{max-height:calc(100dvh - 20px)}.modal-title{display:grid}.exercise-editor,.exercise-form-grid,.profile-editor,.profile-form-grid{grid-template-columns:1fr}.exercise-photo-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-editor{justify-items:start}.form-actions,.form-actions .ghost-action,.form-actions .primary-action{width:100%}.form-grid{grid-template-columns:1fr}.exercise-photo-field,.exercise-wide-field,.half-field{grid-column:auto}.execution-history-filters,.execution-history-series-compare,.execution-history-series-row,.series-equal-row{grid-template-columns:1fr}.notes-field{grid-column:auto}}@media (max-width:460px){body{padding-bottom:0}.dashboard-tabs{left:18px;right:auto;top:calc(14px + env(safe-area-inset-top))}.dashboard-tabs button,.icon-only-button,.profile-user-button,.theme-toggle-button{width:100%;min-width:0;height:40px;min-height:40px}.mobile-menu-toggle{width:auto}.login-panel{padding:20px}.login-form h2{font-size:1.7rem}.profile-band{padding:10px 12px 14px}.profile-band h1{font-size:clamp(1.35rem,8vw,1.85rem)}.profile-frame-content{grid-template-columns:72px minmax(0,1fr);gap:10px 12px}.profile-side .brand-mark{width:66px;height:46px;gap:6px}.profile-side .brand-bars span{width:22px;height:6px}.profile-side .brand-bars span:nth-child(2){width:19px}.profile-side .brand-bars span:nth-child(3){width:16px}.profile-side .brand-bars-accent span{width:19px}.profile-side .brand-bars-accent span:nth-child(2){width:16px}.profile-side .brand-bars-accent span:nth-child(3){width:12px}.profile-photo{width:72px;height:72px}.profile-side .brand-name{font-size:clamp(1.18rem,6.6vw,1.52rem)}.brand-tagline{font-size:.58rem;letter-spacing:.1em}.profile-identity .personal-key-button{width:auto;font-size:.78rem}.profile-identity>div>.linked-personal{font-size:.78rem}.profile-meta{font-size:.82rem}.assessment-actions,.profile-stats{display:grid;grid-template-columns:1fr;width:100%}.metric-card{height:auto;min-height:164px}.detail-panel,.table-panel,.workout-panel{padding:14px}.exercise-card,.student-card{grid-template-columns:1fr}.student-card-photo{width:72px;height:72px}}