.person-cell{display:flex;align-items:center;gap:12px;min-width:0}.person-cell>div{min-width:0}.person-avatar{width:38px;height:38px;min-width:38px;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;background:#eaf1f9;color:#345775;border:1px solid #d6e2ef;font-size:12px;font-weight:600;vertical-align:middle}.person-avatar img{width:100%;height:100%;object-fit:cover}.person-cell .small{margin-top:4px}.registration-photo-field{display:flex;align-items:center;gap:24px;padding:20px 0}.registration-photo-preview{width:112px;height:132px;min-width:112px;border:1px solid #cad8e7;border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f3f7fc;color:#667e96;font-size:14px}.registration-photo-preview img{width:100%;height:100%;object-fit:cover}.registration-photo-controls{display:grid;gap:10px;max-width:420px}.registration-photo-controls button{justify-self:start}.registration-photo-controls small{color:#526a82;line-height:1.5}.family-registration-card header .person-cell{align-items:center}.family-registration-card .person-avatar{width:48px;height:48px;min-width:48px}#trainerAdminTable .family-row-actions{flex-wrap:wrap}#trainerAdminTable .family-row-actions button{min-width:110px}.coach-account-link{padding-top:12px;margin-top:12px;border-top:1px solid #dce5ef}
@media(max-width:600px){.registration-photo-field{align-items:flex-start;gap:16px}.registration-photo-preview{width:88px;min-width:88px;height:108px}.registration-photo-controls{min-width:0}.registration-photo-controls input{max-width:100%}.person-cell{gap:8px}}
.photo-crop-dialog{width:min(620px,calc(100vw - 24px));max-height:94dvh;padding:24px;border:1px solid #dce4ec;border-radius:20px;color:#16304c;background:#fff;overflow:auto}.photo-crop-dialog::backdrop{background:#12263d88}.photo-crop-dialog header,.photo-crop-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.photo-crop-dialog p{font-size:14px;color:#54677c;line-height:1.5}.crop-stage{width:min(100%,400px);aspect-ratio:1;position:relative;margin:20px auto;overflow:hidden;border-radius:12px;background:#edf3f8}.crop-stage canvas{width:100%;height:100%;touch-action:none;cursor:grab}.crop-stage>span{position:absolute;inset:0;pointer-events:none;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 80px #10203566}.crop-controls{display:grid;gap:12px;margin:20px 0}.crop-controls label{display:grid;grid-template-columns:90px 1fr;align-items:center;font-size:14px}.crop-controls input{width:100%;min-height:28px;accent-color:#1762b1}.wc-coach-identity .person-avatar{width:64px;height:64px;flex:0 0 64px}.wc-coach-identity small{display:block;margin-top:5px;color:#617388}.volunteer-rank{grid-template-columns:48px auto minmax(0,1fr) auto!important;gap:16px!important;padding:20px!important}.volunteer-medal{display:grid;place-items:center;width:42px;height:42px;border:1px solid #dbe3ec;border-radius:50%;font-size:18px;font-weight:800;color:#506278;background:#f4f7fa}.volunteer-medal.rank-1{color:#805b0c;background:#fbf1cf;border-color:#dcc079}.volunteer-medal.rank-2{color:#526171;background:#edf0f4;border-color:#bfc9d4}.volunteer-medal.rank-3{color:#8c5534;background:#f5e7dc;border-color:#d7b298}.rank-family-photos{display:flex}.rank-family-photos .person-avatar+.person-avatar{margin-left:-10px;border:2px solid white}@media(max-width:600px){.volunteer-rank{gap:10px!important;padding:14px!important}.rank-family-photos{display:none}.volunteer-rank{grid-template-columns:42px minmax(0,1fr) auto!important}}

.account-photo-layout{display:flex;gap:24px;align-items:center}.account-photo-preview .person-avatar{width:112px;height:112px;font-size:30px}.account-photo-controls{flex:1;min-width:0}.account-photo-controls p{margin:0 0 12px}.account-photo-pick{display:grid;gap:8px;margin-bottom:12px}.account-photo-pick input{max-width:100%;width:auto}.account-photo-controls small{display:block;margin:12px 0;color:#58708a}.account-photo-controls [data-photo-status]{font-size:14px;line-height:1.5}.header-profile-photo{flex-shrink:0}.photo-crop-dialog header{position:static!important}.photo-crop-dialog footer{display:flex!important;position:static!important;background:transparent!important;padding:0!important}.photo-crop-dialog .crop-controls input{padding:0!important;height:32px!important}.photo-crop-dialog h2{margin:0}.photo-crop-dialog canvas{display:block}@media(max-width:600px){.account-photo-layout{align-items:flex-start;flex-direction:column}.account-photo-controls{width:100%}.account-photo-controls .actions{flex-wrap:wrap}.photo-crop-dialog{padding:16px}.photo-crop-dialog header{gap:8px}.photo-crop-dialog h2{font-size:22px}}
