.myprofile{display:grid;grid-template-columns:minmax(240px,350px) minmax(350px,1fr);gap:25px;max-width:1050px;align-items:start}.myprofile>.panel{padding:30px}.myprofile h2{margin-top:12px}.profile-description{font-size:17px;line-height:1.8;white-space:pre-wrap;margin:22px 0}.profile-photo-editor{display:grid;grid-template-columns:190px 1fr;gap:25px;align-items:center}.profile-photo-editor #profilePhotoPreview{height:230px;background:#e6eee5;display:grid;place-items:center;border-radius:10px;overflow:hidden}.profile-photo-editor #profilePhotoPreview img{width:100%;height:230px;object-fit:cover}.profile-photo-empty{font-size:14px;padding:25px;text-align:center;color:#64816a}.profile-photo-editor label{font-size:15px}.profile-photo-editor small,.profile-editor .formgrid small{font-size:13px;color:#5d7967;display:block;line-height:1.5;margin-top:10px}.profile-editor textarea{min-height:130px}.profile-editor .portrait.xl{height:230px}.profile-editor .formgrid>label{font-size:14px}@media(max-width:650px){.myprofile{grid-template-columns:1fr}.profile-photo-editor{grid-template-columns:1fr}.profile-photo-editor #profilePhotoPreview{height:280px}.profile-photo-editor #profilePhotoPreview img{height:280px}.myprofile .profile-description{font-size:16px}}

.teachercard>.face-frame{display:block!important;overflow:hidden;padding:0;background:#dce7de}.face-frame>.face-image{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--face-x,50%) var(--face-y,20%);transform:scale(var(--face-zoom,1.1));transform-origin:var(--face-x,50%) var(--face-y,20%)}.profile-photo-editor #profilePhotoPreview>.face-frame{display:block;width:100%;height:100%;overflow:hidden}.profile-photo-editor #profilePhotoPreview .face-image{height:100%;object-fit:cover}.profile-photo-editor #profilePhotoPreview>img{object-fit:cover;object-position:50% 25%}

.face-frame{display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.face-frame>.face-image{max-width:none;border-radius:0}.profile-crop-controls{margin:20px 0 0;padding:16px;border:1px solid #cedecf;border-radius:12px;min-width:0;background:#f0f5ec}.profile-crop-controls legend{padding:0 7px;font-size:14px;font-weight:700;color:#275b43}.profile-crop-grid{display:grid;grid-template-columns:1fr;gap:13px}.profile-crop-grid label{font-size:14px;display:block;color:#345c45}.profile-crop-grid output{float:right;font-variant-numeric:tabular-nums;font-size:13px;color:#54785f}.profile-crop-grid input[type=range]{display:block;width:100%;height:24px;padding:0;margin:7px 0 0;accent-color:#086449;cursor:pointer}.profile-crop-footer{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-top:12px}.profile-avatar-example{display:flex;gap:12px;align-items:center}.profile-avatar-example small{font-size:12px;color:#5d7967}.profile-avatar-example #profileAvatarPreview{display:block;width:58px;height:58px;flex:0 0 58px;border-radius:50%;overflow:hidden;background:#dce7de}.profile-avatar-example #profileAvatarPreview>.portrait{display:block;width:100%;height:100%;border-radius:0}.profile-avatar-example .profile-photo-empty{padding:0;display:grid;place-items:center;width:100%;height:100%;font-size:12px}.profile-crop-controls>p{font-size:12px;line-height:1.5;margin:12px 0 0}.profile-photo-editor #profilePhotoPreview>.portrait{width:100%;height:100%}@media(max-width:450px){.profile-crop-footer{align-items:start;flex-direction:column}}
