.profile-photo-widget { margin-block: 23px; padding: 20px; border: 1px solid #dfe8d5; border-radius: 15px; background: linear-gradient(140deg,#f3f9eb,#fff); }
.profile-photo-heading { display: flex; gap: 17px; align-items: center; }
.profile-photo-heading > div:last-child { min-width: 0; }
.profile-photo-heading h3 { font-size: 1.125rem; font-weight: 650; line-height: 1.25; letter-spacing: -.03em; }
.profile-photo-heading p { font-size: .875rem; color: #6a785d; margin-top: 8px; line-height: 1.7; }
.profile-photo-avatar { width: 82px; height: 82px; flex: 0 0 82px; position: relative; display: grid; place-items: center; border-radius: 50%; border: 2px solid #fff; background: #ddf0c3; color: #567c27; overflow: hidden; box-shadow: 0 4px 14px #3e590d12; font-size: 2.25rem; font-weight: 650; }
.profile-photo-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.profile-photo-widget fieldset { border: 0; padding: 0; margin: 20px 0 0; min-width: 0; }
.profile-photo-label { display: block; margin-bottom: 8px; font-size: .875rem; font-weight: 600; }
.profile-photo-widget input[type='file'] { width: 100%; min-width: 0; min-height: 50px; padding: 9px; border: 1px solid #d7e2cb; background: #ffffffc9; border-radius: 8px; font: inherit; font-size: .875rem; }
.profile-photo-widget input::file-selector-button { min-height: 34px; padding: 7px 11px; border: 0; border-radius: 6px; margin-right: 9px; background: #e1f2c8; color: #354d1e; font: inherit; cursor: pointer; }
.profile-photo-widget input[aria-invalid='true'] { border-color: #a74332; }
.profile-photo-widget #profile-photo-hint { margin-top: 8px; font-size: .875rem; color: #71815f; }
.profile-photo-actions { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; margin-top: 17px; }
.profile-photo-actions .button { min-height: 46px; font-size: .875rem; padding: 11px 16px; }
.profile-photo-actions .button:disabled { opacity: .5; cursor: default; }
.profile-photo-remove { min-height: 44px; padding: 7px 0; border: 0; background: none; color: #8c493a; font: inherit; font-size: .875rem; }
.profile-photo-feedback { margin-top: 15px; padding: 11px 13px; border: 1px solid #d9e5ca; background: #f2f8e9; border-radius: 8px; font-size: .875rem; color: #536b36; }
.profile-photo-feedback[data-error='true'] { border-color: #e5c4bc; background: #fff5f2; color: #914a3b; }
.portal-page .profile-photo-widget { margin-top: 0; margin-bottom: 26px; padding: 18px; }
@media(min-width:480px) { .profile-photo-avatar { width: 96px; height: 96px; flex-basis: 96px; font-size: 2.75rem; } }
