*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;color:#18171b;background:#faf9fb;font:16px/1.6 system-ui,sans-serif}header{display:flex;align-items:center;gap:22px;padding:16px 5%;border-bottom:1px solid #ddd}header>a:nth-child(2){margin-left:auto}a{color:inherit}main{max-width:1120px;margin:auto;padding:32px 5% 70px}h1{font-size:clamp(32px,5vw,56px);line-height:1.12;letter-spacing:-1px}h2{margin-top:40px}em{font-style:normal;color:#d91665}.eyebrow{font-size:13px;font-weight:700;letter-spacing:2px}#auth{max-width:650px;margin:35px auto}form{display:grid;gap:18px}label{display:grid;gap:6px;font-weight:600}input,select,textarea{width:100%;padding:13px;border:1px solid #c8c2cb;border-radius:5px;background:white;color:#18171b;font:inherit}button,.action{border:1px solid #bcb5bf;border-radius:5px;min-height:46px;padding:10px 16px;background:white;color:#18171b;font:600 15px/1.4 system-ui;cursor:pointer;text-decoration:none;display:inline-flex;justify-content:center;align-items:center}button:disabled{opacity:.55;cursor:wait}.primary{background:#d91665;color:white;border-color:#d91665}.tabs{display:flex;flex-wrap:wrap;gap:10px;margin:25px 0}.tabs [aria-pressed=true]{border-color:#d91665;color:#c20a54}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.card,.panel{padding:24px;background:white;border:1px solid #ded9e0;border-radius:8px;min-width:0}.card h3{margin-top:0}.card p{overflow-wrap:anywhere}.card button,.card .action{margin:6px 8px 0 0}.tag{font-size:14px;color:#aa114d;font-weight:600}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:35px}.admin-grid h2{margin-top:0}.hint,#auth-help{font-size:14px;color:#615966}.instructions{white-space:pre-wrap}.empty{color:#615966}#notice:not(:empty){position:sticky;top:10px;z-index:5;border:1px solid #d9b9c8;background:#fff2f7;padding:16px;border-radius:6px;margin-bottom:20px}footer{padding:25px 5%;border-top:1px solid #ddd;color:#615966;font-size:14px}:focus-visible{outline:3px solid #1673ff;outline-offset:3px}@media(max-width:700px){.grid,.admin-grid{grid-template-columns:1fr}header{gap:12px;flex-wrap:wrap}header a,header button{font-size:14px}main{padding-top:24px}.tabs button{flex:1}h2{font-size:25px}.card,.panel{padding:20px}button,.action{min-height:48px}header img{width:60px;height:60px}}

.google-panel{margin-top:1.5rem}.google-actions{display:flex;gap:.75rem;flex-wrap:wrap}.google-panel h2{margin-top:0}@media(max-width:600px){.google-actions{flex-direction:column}.google-actions button{width:100%}}
.participant-picker{min-width:0;border:1px solid #ddd5dc;border-radius:12px;padding:14px;margin:16px 0}.participant-picker legend{font-weight:700;padding:0 6px}.participant-list{max-height:260px;overflow:auto;margin-top:10px}.participant-option{display:flex;align-items:center;gap:12px;padding:12px 4px;min-height:48px;border-bottom:1px solid #eee}.participant-option input{width:22px;height:22px;flex:0 0 22px;margin:0}.participant-option span{font-size:14px;overflow-wrap:anywhere}.participant-option[hidden]{display:none}.invitation-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.invitation-actions .hint{width:100%;margin:0}.card details summary{cursor:pointer;padding:14px 0;font-weight:700}.card details{margin:12px 0}.card{min-width:0}@media(max-width:700px){.invitation-actions .action{width:100%;text-align:center;box-sizing:border-box}.participant-picker{padding:10px}.participant-option span{font-size:16px}}
/* Private progress, designed for touch screens. */
#my-progress{margin-top:32px}#my-progress details,#clients details{margin:18px 0}#my-progress summary,#clients summary{cursor:pointer;padding:12px 0;min-height:48px;font-weight:650}#my-progress form{margin:18px 0}.progress-fields,.progress-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.progress-comparison h4{margin:12px 0}.progress-comparison figure, #my-progress figure,#clients figure{margin:0}.progress-comparison img,#my-progress figure img,#clients figure img{display:block;width:100%;max-height:440px;object-fit:contain;border-radius:8px;background:#f1edf0}.photo-expand{width:100%;margin:8px 0}.progress-dialog{max-width:min(94vw,900px);max-height:94dvh;padding:14px;border:0;border-radius:12px}.progress-dialog::backdrop{background:#19131bd9;backdrop-filter:blur(7px)}.progress-dialog img{display:block;max-width:100%;max-height:78dvh;object-fit:contain;margin:auto}.progress-dialog[open]{animation:photo-open .2s ease-out}@keyframes photo-open{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.progress-dialog[open]{animation:none}}@media(max-width:700px){.progress-fields{grid-template-columns:1fr}.progress-comparison{gap:8px}.progress-comparison img{max-height:300px}#my-progress{padding:18px}#my-progress button{min-height:48px}#clients .action{overflow-wrap:anywhere}}

.training-history{min-width:0;margin-top:1rem}.training-history .card{margin-block:1rem;padding:1rem}.training-history form{margin-block:1rem}#routines video,#admin-routines video,.training-history video{width:100%;max-height:65vh}.instructions{white-space:pre-wrap;overflow-wrap:anywhere}details>summary{cursor:pointer;padding:14px 0}textarea{width:100%;box-sizing:border-box}#training-logs{margin-top:2rem}

.panel button,.panel a,.panel label{overflow-wrap:anywhere}input[type=file]{max-width:100%}
