.signup-identity{border:1px solid var(--line,#dce5e7);padding:16px;margin:20px 0;min-width:0;border-radius:3px}.signup-identity legend{font-size:14px;font-weight:700;padding:0 6px}.signup-identity legend small{font-size:11px;font-weight:400;margin-left:8px}.profile-avatar-choices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:12px 0 18px}.profile-avatar-choices button{min-width:0;padding:6px 2px;border:1px solid var(--line,#dce5e7);border-radius:3px;background:#f4f7f5;display:grid;justify-items:center;gap:5px;cursor:pointer;touch-action:manipulation}.profile-avatar-choices img{display:block;width:100%;height:auto;max-width:76px;aspect-ratio:1;object-fit:contain}.profile-avatar-choices span{font-size:10px;color:#15323c}.profile-avatar-choices [aria-pressed=true]{border:2px solid #147b80;padding:5px 1px;background:#e7f2e5;box-shadow:0 0 0 1px #147b80}.profile-avatar-choices button:focus-visible{outline:3px solid #147b80;outline-offset:2px}.profile-avatar-choices button:active{filter:brightness(.92)}.profile-identity-hint{font-size:12px;line-height:1.5;color:var(--muted,#607780)}.profile-upload-label{display:grid;gap:8px;font-size:13px;font-weight:600}.profile-upload-label input{font-size:16px;max-width:100%}.signup-photo-preview{object-fit:cover;border-radius:50%;margin-top:12px}.signup-photo-preview[hidden]{display:none}.profile-identity-dialog>button{margin:5px 8px 5px 0}.signup-identity [data-clear-identity]{font-size:12px;min-height:40px;padding:8px}.profile-identity-dialog .profile-avatar-choices button{min-height:44px}html[data-theme=dark] .signup-identity{color:var(--ink,#edf4f4)}
@media(hover:hover) and (pointer:fine){.profile-avatar-choices button:hover{border-color:#147b80}}

html[data-theme=dark] .profile-avatar-choices button span{color:#edf4f4}html[data-theme=dark] .profile-avatar-choices button{background:#1b3039}html[data-theme=dark] .profile-avatar-choices [aria-pressed=true]{background:#24484c;border-color:#8bc6c3}
/* Native file inputs must shrink inside the signup grid on narrow phones. */
.profile-upload-label{min-width:0}.profile-upload-label input[type=file]{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box}
