body[data-page^="profile"] main{max-width:960px}
.profile-panel,.profile-account{background:#fff;border:1px solid var(--yieldy-border);border-radius:10px;padding:28px;margin-bottom:20px;color:var(--yieldy-text);font-size:14px;line-height:1.7}
.profile-panel h2,.profile-account h2{font-size:18px;color:var(--yieldy-purple);font-weight:700;margin:0 0 8px}
.profile-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px;flex-wrap:wrap}
.profile-panel-heading p,.profile-hint,.profile-account p{font-size:12px;color:var(--yieldy-text-secondary);margin:6px 0 12px;line-height:1.8}
.profile-panel a:not(.member-primary-link):not(.member-outline-button){color:var(--yieldy-purple);text-decoration:underline;text-underline-offset:3px}
.profile-row{display:grid;grid-template-columns:180px minmax(0,1fr);border-bottom:1px solid var(--yieldy-border)}
.profile-row:first-child{border-top:1px solid var(--yieldy-border)}
.profile-row-title{padding:22px 18px;background:var(--yieldy-surface);display:flex;align-items:center;align-content:center;gap:8px;flex-wrap:wrap;font-weight:600}
.profile-row-content{padding:20px 24px;min-width:0}
.profile-required{display:inline-block;border-radius:4px;background:#b24868;color:#fff;font-size:10px;padding:1px 5px;line-height:1.7;white-space:nowrap;font-weight:600}
.profile-control{display:flex;flex-direction:column;gap:5px;min-width:0;max-width:100%}
.profile-control>span:first-child:not(.profile-error){font-size:12px;color:var(--yieldy-text-secondary)}
.profile-row input,.profile-row select{border:1px solid var(--yieldy-border-strong);background:#fff;border-radius:5px;min-height:42px;padding:8px 10px;color:var(--yieldy-text);font-size:14px;max-width:100%;min-width:0;box-sizing:border-box}
.profile-row select{width:260px;padding-right:28px}
.profile-row input:focus,.profile-row select:focus{outline:3px solid #34b6ba40;border-color:var(--yieldy-turquoise)}
.profile-row input[aria-invalid=true],.profile-row select[aria-invalid=true]{border-color:#b42341}
.profile-inline{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:440px}
.profile-postal,.profile-money{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.profile-postal input{width:72px}
.profile-postal .member-outline-button{font-size:13px}
.profile-money .profile-control{width:200px}.profile-money>span{padding-top:18px}
.profile-row input[name=phone]{width:240px}
.profile-birthday{display:flex;gap:10px;flex-wrap:wrap}
.profile-birthday label{display:flex;align-items:center;gap:5px;min-width:0}
.profile-birthday select{width:95px}
.profile-birthday label:first-child select{width:118px}
.profile-holdings{display:grid;gap:14px}
.profile-holdings .profile-control{display:grid;grid-template-columns:70px minmax(0,260px);align-items:center;column-gap:12px}
.profile-holdings .profile-error{grid-column:2}
.profile-error{color:#a61c39;font-size:12px;line-height:1.6;display:block;overflow-wrap:anywhere}
.profile-error:empty{display:none}
.profile-feedback{font-size:14px;margin:16px 0;color:#167477;font-weight:600;overflow-wrap:anywhere}
.profile-feedback:empty{display:none}
.profile-feedback[data-error=true]{color:#a61c39}
.profile-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:24px}
.profile-actions>*{min-width:150px;min-height:44px}
.profile-actions button:disabled{opacity:.6;cursor:wait}
.profile-summary{display:grid;grid-template-columns:210px minmax(0,1fr);margin:0 0 24px}
.profile-summary dt,.profile-summary dd{padding:14px 18px;border-bottom:1px solid var(--yieldy-border);overflow-wrap:anywhere;white-space:pre-wrap}
.profile-summary dt{font-weight:600;background:var(--yieldy-surface);color:var(--yieldy-text-secondary)}
.profile-account dl{display:grid;grid-template-columns:160px minmax(0,1fr);gap:12px;margin:16px 0}
.profile-account dt{font-weight:600;color:var(--yieldy-text-secondary)}
.profile-account dd{overflow-wrap:anywhere}
.profile-section-heading{margin-top:24px!important}
.profile-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.profile-panel [hidden]{display:none!important}
@media(max-width:640px){.profile-panel,.profile-account{padding:20px 16px}.profile-row{grid-template-columns:1fr}.profile-row-title{padding:10px 12px}.profile-row-content{padding:16px 12px}.profile-inline{gap:10px}.profile-postal{gap:7px}.profile-postal input{width:62px}.profile-postal .member-outline-button{padding:8px 10px}.profile-birthday{gap:7px}.profile-birthday select{width:76px;font-size:13px;padding:8px 4px}.profile-birthday label:first-child select{width:94px}.profile-holdings .profile-control{grid-template-columns:60px minmax(0,1fr)}.profile-holdings select{width:100%}.profile-summary{grid-template-columns:1fr}.profile-summary dt{padding:8px 12px;border-bottom:0}.profile-summary dd{padding:10px 12px 14px}.profile-account dl{grid-template-columns:1fr;gap:4px}.profile-account dd{margin-bottom:10px}.profile-actions>*{min-width:120px}}
