.account-page{min-height:100vh;padding:20px;}
.account-topbar{max-width:1180px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 0 22px;border-bottom:1px solid var(--line);}
.account-shell{max-width:1180px;margin:0 auto;padding:28px 0 60px;}
.account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.account-card{border:1px solid var(--line);border-radius:20px;background:var(--surface);box-shadow:var(--shadow);padding:26px;}
.account-card h1,.account-card h2{margin:7px 0 8px;font-size:clamp(25px,4vw,36px);font-weight:800;letter-spacing:-.03em;}
.account-card p{margin:0;color:var(--muted);line-height:1.55;}
.account-card-main{max-width:680px;margin:0 auto;}
.account-form{display:grid;gap:8px;margin-top:18px;}
.account-form label{font-size:12px;font-weight:800;color:var(--text);margin-top:5px;}
.account-form small{color:var(--muted);font-size:11px;line-height:1.4;margin-bottom:3px;}
.account-form .primary-btn{margin-top:7px;}
.account-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;}
.account-alert{max-width:1180px;margin:0 auto 16px;padding:13px 15px;border-radius:14px;border:1px solid var(--line);background:var(--surface);font-weight:700;}
.account-alert.success{border-color:rgba(0,255,136,.35);color:var(--success);}
.account-alert.error{border-color:rgba(255,42,109,.35);color:var(--danger);}
.account-profile-summary{display:flex;align-items:center;gap:14px;margin-top:22px;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2);}
.account-profile-summary strong,.account-profile-summary span{display:block;}
.account-profile-summary span{margin-top:3px;color:var(--muted);font-size:12px;}
.profile-avatar{overflow:hidden;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#fff;font:800 20px/1 var(--font-mono);box-shadow:var(--glow-cyan);flex:0 0 auto;}
.profile-avatar.large{width:62px;height:62px;}
.profile-avatar img{width:100%;height:100%;object-fit:cover;display:block;}
@media(max-width:760px){.account-page{padding:12px}.account-topbar{align-items:flex-start}.account-grid{grid-template-columns:1fr}.account-card{padding:20px}.account-actions{display:grid;grid-template-columns:1fr}.account-actions>*{width:100%;}.account-topbar .ghost-btn{min-width:0;padding-inline:10px;}}

.account-cgu-check{display:grid!important;grid-template-columns:20px minmax(0,1fr);gap:9px;align-items:start;margin-top:8px!important;color:var(--muted)!important;font-size:11px!important;line-height:1.45}.account-cgu-check input{margin-top:2px;width:16px;height:16px;accent-color:var(--brand)}.account-cgu-check a{color:var(--brand);text-decoration:none}.account-cgu-check a:hover{text-decoration:underline}
.account-device-section{scroll-margin-top:18px}.account-device-section:target{outline:2px solid rgba(11,99,206,.16);outline-offset:5px;border-radius:14px}
