.compte {max-width: 39rem; padding-block: clamp(2rem,7vw,5rem); min-height: 70vh;}
.compte h1 {font-size:clamp(2.4rem,6vw,4rem); margin:0; line-height:1.15;}
.compte h2 {font-size:1.5rem; margin:0 0 1rem;}
.compte .account-lab {color:var(--cyan); margin:0 0 .7rem; font-weight:650;}
.compte section {padding:clamp(1.1rem,4vw,2rem); background:var(--surface); border:1px solid var(--line); border-radius:1rem;}
.compte section[hidden], .compte [hidden] {display:none;}
.compte form {display:grid; gap:1rem;}
.compte label {display:grid; gap:.35rem;}
.compte input {width:100%; min-width:0; padding:.7rem; background:var(--bg); color:var(--ink); border:1px solid var(--line); border-radius:.45rem; font:inherit;}
.compte button {cursor:pointer; font:inherit;}
.compte .button {justify-self:start; font-weight:700;}
.account-links {margin-top:1.25rem; display:flex; flex-wrap:wrap; gap:.75rem 1.25rem;}
.account-links button,.account-back {background:none; border:0; padding:.25rem 0; color:var(--cyan); text-decoration:underline; text-underline-offset:.2rem;}
.account-back {margin-top:1rem;}
.account-meta {color:var(--muted); font-size:.92rem;}
#message {margin:.8rem 0; overflow-wrap:anywhere;}
#message:empty {display:none;}
#message[data-error="true"] {color:#ffb4a9;}
#profile-email {overflow-wrap:anywhere;}
