.profile-notifications-panel h3 { margin: 0 0 8px; }
.profile-notifications-panel > p.muted { margin: 0 0 18px; line-height: 1.5; }
.profile-notification-list { display: grid; }
.profile-notification-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; border-top: 1px solid #e5e7eb; cursor: pointer; }
.profile-notification-copy { display: grid; gap: 4px; }
.profile-notification-copy strong { font-size: .94rem; }
.profile-notification-copy small { color: #6d7482; line-height: 1.4; }
.profile-notification-row input { position: relative; flex: none; width: 44px; height: 26px; margin: 0; appearance: none; border: 1px solid #aeb7c5; border-radius: 20px; background: #cbd2dc; cursor: pointer; transition: background .15s; }
.profile-notification-row input::before { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #0003; content: ''; transition: transform .15s; }
.profile-notification-row input:checked { border-color: #17345e; background: #17345e; }
.profile-notification-row input:checked::before { transform: translateX(18px); }
.profile-notification-row input:focus-visible { outline: 3px solid #5875c3; outline-offset: 3px; }
.profile-notification-row input:disabled { opacity: .5; cursor: not-allowed; }
.profile-notifications-panel > .profile-notification-help { margin: 14px 0 0; font-size: .84rem; line-height: 1.4; }
#profile-notification-message { min-height: 1.3em; margin: 10px 0 0; font-size: .88rem; }
#profile-notification-message.error { color: #9c3041; }
#profile-notification-message.success { color: #267a57; }
.profile-password-panel h3 { margin: 0 0 8px; }
.profile-password-panel > p { margin: 0 0 22px; line-height: 1.5; }
.profile-password-form { display: grid; gap: 8px; max-width: 520px; }
.profile-password-form label { margin-top: 8px; font-size: .88rem; font-weight: 750; }
.profile-password-field { display: flex; align-items: center; border: 1px solid #d8dce3; border-radius: 10px; background: #fff; }
.profile-password-field:focus-within { border-color: #5875c3; box-shadow: 0 0 0 3px #dbe5fa; }
.profile-password-field input { min-width: 0; width: 100%; padding: 12px 14px; border: 0; border-radius: 10px; outline: 0; background: transparent; }
.profile-password-field button { flex: none; padding: 10px 12px; border: 0; color: #17345e; background: transparent; font-size: .82rem; font-weight: 750; cursor: pointer; }
.profile-password-form > small { margin-top: 3px; }
#profile-password-message { min-height: 1.3em; margin: 5px 0 0; font-size: .88rem; }
#profile-password-message.error { color: #9c3041; }
#profile-password-message.success { color: #267a57; }
.profile-password-form > .primary-button { justify-self: start; margin-top: 4px; }
.profile-password-form > .primary-button:disabled { opacity: .6; cursor: wait; }
