.profile-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:22px;align-items:stretch}
.profile-summary{min-width:0;border:1px solid #624071;border-radius:15px;padding:22px 17px;background:radial-gradient(ellipse at 50% 0%,#59306955,transparent 55%),#191320}
.profile-identity{text-align:center;margin-bottom:28px}
.profile-avatar{display:grid;place-items:center;width:103px;height:103px;border:4px solid #c28ded;border-radius:50%;margin:0 auto 17px;background:linear-gradient(145deg,#ab62cb,#6f3d9b);box-shadow:0 0 0 5px #3b2447,0 8px 30px #a746ca22;color:#fff0ff;font-size:39px;font-weight:450;letter-spacing:-.06em}
.profile-identity h2{font-size:12px;font-weight:600;letter-spacing:0;margin-bottom:7px;overflow-wrap:anywhere}
.profile-identity p{font-size:10px;color:#aa89bb;overflow-wrap:anywhere}
.profile-progress-and-tasks{border-top:1px solid #50305e;padding-top:21px}
.profile-progress-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:8px;letter-spacing:.12em;color:#c3a5d1;margin-bottom:11px}
.profile-progress-heading strong{font-size:12px;letter-spacing:0;color:#e8bcff}
.profile-progress{height:7px;overflow:hidden;border-radius:99px;background:#100b16;border:1px solid #42244e}
.profile-progress>span{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#995cd0,#e4aaf1);transition:width .2s ease}
.profile-progress-caption{text-align:center;color:#a886bb;font-size:8px;margin:9px 0 19px}
.profile-tasks{display:flex;flex-direction:column;gap:8px}
.profile-task{display:flex;align-items:center;gap:8px;width:100%;padding:11px 8px;border:1px solid #573662;border-radius:8px;text-align:left;background:#25182e;color:#ccb4db;min-height:49px}
.profile-task>svg{height:14px;width:14px;flex-shrink:0;color:#b08cc7}
.profile-task>svg:last-child{width:11px;height:11px}
.profile-task-label{flex:1;min-width:0}
.profile-task-label strong{font-size:9px;font-weight:500;line-height:1.4;display:block}
.profile-task-label small{font-size:7px;color:#9e7cb0;display:block;margin-top:3px}
.profile-task:hover{border-color:#b17cd2;background:#34213f}
.profile-task.complete{background:#18302b;border-color:#3f6d58}
.profile-task.complete>svg{color:#87d4aa}
.profile-task.complete .profile-task-label small{color:#a1c7b0}
.profile-summary-note{font-size:8px;color:#9d7baa;line-height:1.8;margin-top:17px}
.profile-form{max-width:none;min-width:0;padding:25px;border-color:#624071;background:linear-gradient(140deg,#291c3370,#1d1524)}
.profile-form .field{min-width:0;margin-bottom:20px}
.profile-form .field>span,.profile-field-label{display:block;font-size:9px;letter-spacing:.07em;text-transform:uppercase;color:#bfa8cd;margin-bottom:9px}
.profile-form .field input{font-size:12px;min-width:0;width:100%;background:#130e1b;border-color:#664070;height:45px}
.profile-form .field input:focus-visible,.profile-form .field select:focus-visible{outline:2px solid #c58fe7;outline-offset:2px}
.profile-form .field input[aria-invalid="true"]{border-color:#e799b3}
.profile-form .field small{font-size:8px;line-height:1.6;color:#9e80b1;margin-top:7px;display:block}
.profile-locked{position:relative}
.profile-locked input{padding-right:36px!important;color:#a995b8!important;background:#110d18!important;cursor:text}
.profile-locked>svg{position:absolute;right:12px;top:14px;width:15px;height:15px;color:#c780dd;pointer-events:none}
.profile-phone-row{display:flex;align-items:stretch;gap:8px;min-width:0}
.profile-phone-row select{width:97px;flex-shrink:0;border:1px solid #664070;border-radius:8px;background:#130e1b;color:#cfb5de;font-family:inherit;font-size:10px;padding:10px 6px;color-scheme:dark}
.profile-form .profile-phone-row input{flex:1;width:0}
.profile-phone-row>.btn{font-size:9px;white-space:nowrap;padding:9px 11px;min-height:45px;margin:0}
.profile-form input[type="date"]{color-scheme:dark;display:block}
.profile-form input::-webkit-calendar-picker-indicator{opacity:.65;cursor:pointer}
.profile-age-note{font-size:8px;color:#9e80b1;margin:-13px 0 22px}
.profile-address-row{display:grid;grid-template-columns:1fr 1fr .8fr;gap:13px}
.profile-storage-note{border:1px solid #573064;border-radius:8px;padding:11px 13px;background:#36203f;color:#c7a6d7!important;font-size:9px!important;line-height:1.7!important;margin-bottom:20px}
.profile-form .profile-preferences h3{font-size:13px;margin:0 0 12px}
.profile-form .profile-preferences .check-label{margin-bottom:19px;line-height:1.75}
.profile-form-error{font-size:10px;line-height:1.7;color:#ffc1d3;margin-bottom:14px}
.profile-form-error:empty{display:none}
.profile-save-row{display:flex;align-items:center;gap:17px;flex-wrap:wrap}
.profile-save-row>.btn{font-size:11px;padding:12px 19px}
.profile-save-row>span{font-size:9px;color:#a683b9}
.profile-account-actions{display:flex;align-items:center;gap:24px;border-top:1px solid #4f315d;margin-top:24px;padding-top:20px}
.profile-account-actions .text-link{font-size:10px}
.profile-reset-note{font-size:8px;color:#90709f;line-height:1.7;margin-top:11px}
.profile-task-modal-icon{display:grid;place-items:center;width:49px;height:49px;border:1px solid #8c53a6;border-radius:13px;background:#3c214b;margin-bottom:17px;color:#d8a7f5}
.profile-task-modal-icon svg{width:23px;height:23px}
.profile-task-modal-icon+.badge{margin-bottom:15px}
.profile-task-subject{color:#e5bff6!important;overflow-wrap:anywhere}
@media(max-width:1180px){
 .profile-layout{grid-template-columns:1fr;gap:18px}
 .profile-summary{display:grid;grid-template-columns:165px minmax(0,1fr);gap:25px;padding:22px;align-items:center}
 .profile-identity{margin:0}
 .profile-progress-and-tasks{border-top:0;border-left:1px solid #50305e;padding:0 0 0 23px}
 .profile-tasks{display:grid;grid-template-columns:1fr 1fr}
 .profile-task:last-child:nth-child(odd){grid-column:1/-1}
 .profile-progress-caption{margin-bottom:13px}
 .profile-summary-note{margin-top:12px}
}
@media(max-width:760px){
 .profile-form{padding:22px}
 .profile-form .form-row{grid-template-columns:1fr 1fr;gap:14px}
 .profile-address-row{gap:11px}
 .profile-form .field input{font-size:12px}
}
@media(max-width:560px){
 .profile-summary{display:block;padding:20px}
 .profile-identity{display:flex;gap:17px;align-items:center;text-align:left;margin-bottom:20px}
 .profile-avatar{width:64px;height:64px;font-size:27px;border-width:3px;box-shadow:0 0 0 4px #3b2447;margin:0;flex-shrink:0}
 .profile-progress-and-tasks{border-left:0;border-top:1px solid #50305e;padding:18px 0 0}
 .profile-identity h2{font-size:13px}
 .profile-identity p{font-size:10px}
 .profile-task-label strong{font-size:10px}
 .profile-task-label small{font-size:8px}
 .profile-summary-note{font-size:9px}
 .profile-form{padding:20px}
 .profile-form .form-row{grid-template-columns:1fr;gap:0}
 .profile-address-row{grid-template-columns:1fr 1fr;gap:0 13px}
 .profile-address-row>.field:first-child{grid-column:1/-1}
 .profile-phone-row{flex-wrap:wrap}
 .profile-phone-row>.btn{min-height:36px;margin-left:auto}
 .profile-phone-row select{width:86px}
 .profile-form .profile-phone-row input{min-width:120px}
 .profile-form .field>span,.profile-field-label{font-size:9px}
 .profile-save-row{gap:11px}
 .profile-save-row>.btn{width:100%}
 .profile-save-row>span{width:100%;text-align:center}
}
@media(prefers-reduced-motion:reduce){.profile-progress>span{transition:none}}

.profile-security{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #674273;border-radius:11px;background:#291b34;padding:19px;margin-top:25px}
.profile-form .profile-security h3{font-size:14px;margin:0 0 8px}
.profile-security p{font-size:10px;color:#c0a2d1;line-height:1.7}
.profile-security small{display:block;font-size:8px;line-height:1.7;color:#a888ba;margin-top:7px}
.profile-security>.btn{flex-shrink:0;font-size:10px}
.password-reset-input{display:flex;gap:7px;align-items:stretch}
.password-reset-input input{flex:1;min-width:0;width:0}
.password-reset-input button{min-width:48px;border:1px solid #674273;border-radius:8px;background:#352040;color:#d4b4e7;font-size:10px;padding:8px}
.password-reset-input input[aria-invalid="true"]{border-color:#e799b3}
.password-reset-input :focus-visible{outline:2px solid #c58fe7;outline-offset:2px}
.password-reset-cancel{margin-top:10px}
#password-reset-form [disabled],#auth-form [disabled]{opacity:.55;cursor:wait}
@media(max-width:560px){.profile-security{flex-direction:column;align-items:stretch;gap:14px;padding:16px}.profile-security>.btn{width:100%}}
