.profile-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}
.profile-heading h1{font-size:26px;font-weight:600;letter-spacing:-.035em;line-height:1.4}
.profile-heading p{color:var(--fg-3);margin-top:6px;font-size:14px}
.profile-device{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--fg-3);white-space:nowrap}
.profile-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:28px}
.profile-tabs button{position:relative;gap:8px;border:0;border-radius:0;background:none;padding:0 0 14px;min-height:40px;color:var(--fg-3)}
.profile-tabs button:hover{color:var(--fg);background:none}
.profile-tabs button[aria-selected=true]{color:var(--fg);font-weight:600}
.profile-tabs button[aria-selected=true]:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:var(--gold);border-radius:3px 3px 0 0}
.profile-count{display:inline-flex;justify-content:center;align-items:center;min-width:22px;height:20px;padding:0 6px;background:var(--bg-3);color:var(--fg-3);border-radius:5px;font-size:11px;font-weight:500;font-variant-numeric:tabular-nums}
.profile-tabs button[aria-selected=true] .profile-count{background:var(--gold-bg);color:var(--gold-fg)}
.profile-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:32px;align-items:start}
.profile-nav{display:grid;gap:4px;position:sticky;top:144px}
.profile-nav a{display:flex;align-items:center;gap:10px;color:var(--fg-3);padding:12px;border-radius:7px;text-decoration:none;font-size:13px}
.profile-nav a:hover{background:var(--hover);color:var(--fg)}
.profile-nav a[aria-current=true]{background:var(--bg);box-shadow:0 0 0 1px var(--line);color:var(--fg);font-weight:500}
.profile-nav a[aria-current=true] svg{color:var(--gold-2)}
.profile-nav small{margin-left:auto;font:11px var(--mono);color:var(--fg-4)}
.profile-tip{display:flex;align-items:center;gap:9px;margin-bottom:18px;color:var(--fg-3);font-size:13px;line-height:1.6}
.profile-groups{display:grid;gap:24px}
.profile-card{background:var(--bg);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);overflow:hidden;scroll-margin-top:144px}
.profile-card-head{display:flex;justify-content:space-between;align-items:start;gap:16px;padding:22px 24px;border-bottom:1px solid var(--line)}
.profile-card-head h2{font-size:16px;font-weight:600;letter-spacing:-.02em}
.profile-card-head p{font-size:12px;color:var(--fg-3);margin-top:4px}
.profile-card-head .badge{margin-top:2px;font-weight:400}
.profile-card fieldset{margin:0;padding:0;border:0;min-width:0}
.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 24px;padding:24px}
.profile-field{min-width:0}.profile-field.wide{grid-column:1/-1}
.profile-field label{display:block;font-size:13px;font-weight:500;margin-bottom:8px}
.profile-field input,.profile-field select{min-height:40px!important;width:100%;padding:8px 12px!important;border-color:var(--line-2)}
.profile-field select{padding-right:32px!important;background-position:calc(100% - 15px) 17px,calc(100% - 10px) 17px}
.profile-field textarea{width:100%;min-height:104px}
.profile-field small{display:block;font-size:12px;color:var(--fg-3);line-height:1.6;margin-top:6px}.profile-field small:empty{display:none}
.profile-card-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid var(--line);background:var(--bg-2)}
.profile-card-footer p{margin-right:auto;font-size:12px;color:var(--fg-3);overflow-wrap:anywhere}
.profile-card-footer p.error,#profile-status.error{color:var(--red-fg)}
.profile-card-footer button{min-height:34px;font-size:13px}
.profile-footnote{color:var(--fg-4);font-size:12px;line-height:1.8;max-width:924px;margin:24px 0 0 auto}
#profile-status{font-size:13px;color:var(--fg-3);margin-bottom:16px}#profile-status:empty{display:none}
@media(max-width:760px){.profile-heading{align-items:start;flex-direction:column;gap:12px;margin-bottom:22px}.profile-heading h1{font-size:23px}.profile-layout{grid-template-columns:1fr;gap:18px}.profile-nav{position:static;display:flex;flex-wrap:wrap;gap:6px}.profile-nav a{padding:8px 10px;font-size:12px;gap:6px}.profile-nav small{display:none}.profile-card-head{padding:18px}.profile-grid{padding:18px;gap:18px}.profile-card-footer{padding:14px 18px}.profile-footnote{margin-top:22px}.profile-tabs{margin-bottom:20px}}
@media(max-width:480px){.profile-grid{grid-template-columns:1fr}.profile-card-head{gap:8px}.profile-card-head .badge{font-size:11px;padding:0 6px}.profile-card-head p{max-width:215px}.profile-card-footer{flex-wrap:wrap;gap:8px}.profile-card-footer p{flex:1;min-width:100px}.profile-tip{align-items:flex-start}.profile-tip svg{margin-top:2px}.profile-field input{min-width:0}}
