.profile-editor{max-width:760px;padding-block:var(--s3);font-size:var(--t-m)}
.profile-editor h1{font:700 var(--t-xl)/1.1 var(--display)}
.profile-editor h2{font-size:var(--t-l)}
.profile-editor p{max-width:65ch;line-height:1.5}
.profile-editor label,.profile-editor legend{display:block;font-weight:700;margin-block:var(--s2) var(--s1)}
.profile-editor input,.profile-editor select,.profile-editor textarea{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:var(--s1);border:1px solid var(--line-2);border-radius:var(--r);background:var(--bg-2);color:var(--ink);font:inherit}
.profile-editor textarea{resize:vertical}
.profile-editor fieldset{min-width:0;border:1px solid var(--line-2);padding:var(--s2);margin:var(--s3) 0}
.profile-editor .field-error{font-weight:700;color:var(--ink)}
.profile-editor [aria-invalid="true"]{border:2px solid var(--accent)}
.profile-link-row{border-bottom:1px solid var(--line);padding-bottom:var(--s2);margin-bottom:var(--s2)}
.profile-link-row button{margin-top:var(--s1)}
.editor-actions{display:flex;flex-wrap:wrap;gap:var(--s1)}
.profile-editor :focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.profile-editor button:active{transform:translateY(1px)}
.profile-editor button:disabled{opacity:.65;cursor:wait}
[hidden]{display:none!important}
