<main id="main" class="profile-workspace"><div class="page-heading"><div><div class="breadcrumb">SLPS / My account</div><h1>My profile</h1><p>Manage your personal information and keep your account secure.</p></div><button class="button secondary" id="profileReload">Reload profile</button></div><div id="profileStatus" class="notice" role="status" aria-live="polite">Loading your profile…</div><div class="profile-layout"><aside class="profile-identity panel"><div class="profile-cover"></div><div class="profile-identity-content"><div class="profile-avatar" id="profileInitials">SL</div><img id="profilePhoto" class="profile-avatar" alt="Your profile photo" hidden><h2 id="profileDisplayName"></h2><p id="profileDisplayRole" class="profile-role"></p><p id="profileDisplayEmail"></p><label class="button secondary profile-photo-picker">Change photo<input id="profilePhotoInput" type="file" accept="image/jpeg,image/png,image/webp" hidden></label><p class="profile-help">JPG, PNG or WebP · up to 5 MB</p><dl id="profileAcademic"></dl><p class="profile-help">Academic assignments and account roles are managed by the university.</p></div></aside><div class="profile-panels"><section class="panel profile-form-panel"><div class="section-heading"><div><span class="section-kicker">PERSONAL INFORMATION</span><h2>Profile details</h2><p>Update how we can reach you.</p></div></div><form id="profileForm"><div class="profile-fields"><label>Full name<input id="profileName" class="form-control" maxlength="150" autocomplete="name" required></label><label>Preferred name<input id="profilePreferred" class="form-control" maxlength="100" autocomplete="nickname"></label><label>Email address<input id="profileEmail" type="email" class="form-control" maxlength="254" autocomplete="email" required></label><label>Phone number<input id="profilePhone" type="tel" class="form-control" maxlength="40" autocomplete="tel"></label><label>Country<input id="profileCountry" class="form-control" maxlength="100" autocomplete="country-name"></label><label>Town / City<input id="profileCity" class="form-control" maxlength="100" autocomplete="address-level2"></label></div><label class="form-label">About you<textarea id="profileBio" class="form-control" maxlength="1000" rows="3" placeholder="A short introduction (optional)"></textarea></label><div id="profileEmailPasswordRow" hidden><label class="form-label">Current password to confirm email change<input id="profileEmailPassword" class="form-control" type="password" autocomplete="current-password" maxlength="128"></label></div><div class="profile-actions"><span class="profile-help">Your username and student number remain the same.</span><button class="button" type="submit" id="profileSave">Save profile</button></div></form></section><section class="panel profile-form-panel"><div class="section-heading"><div><span class="section-kicker">ACCOUNT SECURITY</span><h2>Change password</h2></div></div><form id="profilePasswordForm"><div class="profile-fields"><label>Current password<input class="form-control" id="profileCurrentPassword" type="password" autocomplete="current-password" required></label><label>New password<input class="form-control" id="profileNewPassword" type="password" autocomplete="new-password" minlength="12" maxlength="128" required></label><label>Confirm new password<input class="form-control" id="profileConfirmPassword" type="password" autocomplete="new-password" minlength="12" maxlength="128" required></label></div><p class="profile-help">Use 12–128 characters. Other sessions will be signed out after the password changes.</p><p id="profilePasswordStatus" role="status"></p><button class="button" id="profilePasswordSave" type="submit">Update password</button></form></section></div></div></main>
