/* Personal account center and viewport-pinned community notifications. */
.account-center{display:grid;gap:14px;margin:0 0 42px}
.account-center[hidden]{display:none}
.account-profile-card,.account-contacts-card,.account-security-card{padding:24px;border:1px solid var(--border);border-radius:14px;background:var(--panel);box-shadow:var(--shadow-sm)}
.account-profile-head{display:flex;align-items:center;gap:15px;padding-bottom:20px;border-bottom:1px solid var(--border)}
.account-profile-head .avatar{width:54px;height:54px;border-radius:16px;font-size:21px}
.account-profile-head h2,.account-section-head h2,.account-security-card h2{margin:3px 0 4px;font-size:20px;letter-spacing:-.02em}
.account-profile-head p,.account-section-head p,.account-security-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.65}
.account-kicker{color:var(--brand);font-size:10px;font-weight:700;letter-spacing:.13em}
.account-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}
.account-profile-grid .field{gap:7px}
.account-profile-grid .field small{color:var(--muted);font-size:12px;line-height:1.55}
.account-profile-grid input[readonly]{background:var(--bg-soft);color:var(--text-2)}
.account-profile-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}
#profileSaveStatus{min-height:20px;color:var(--muted);font-size:13px}
.account-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}
.account-pending-badge{flex:0 0 auto;padding:6px 9px;border:1px solid var(--border);border-radius:20px;color:var(--muted);background:var(--bg-soft);font-size:11px}
.account-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.account-contact-grid article{display:flex;align-items:center;gap:12px;min-width:0;padding:14px;border:1px solid var(--border);border-radius:11px;background:var(--bg)}
.account-contact-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:10px;background:var(--brand-soft);color:var(--brand);font-size:14px;font-weight:700}
.account-contact-grid article>div{flex:1;min-width:0}
.account-contact-grid strong{font-size:14px}
.account-contact-grid p{margin:3px 0 0;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
.account-contact-grid button{min-height:36px;padding:0 11px;font-size:12px}
.account-contact-grid button:disabled{opacity:.62;cursor:not-allowed}
.account-security-card{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;align-items:start}
.account-security-card .row-actions{grid-column:1/-1;padding-top:12px;border-top:1px solid var(--border)}
.community-notify-dock{position:fixed;top:20px;right:18px;z-index:1200;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border:1px solid var(--border);border-radius:13px;background:var(--panel);color:var(--text-2);box-shadow:0 8px 24px rgb(21 40 60 / 12%);cursor:pointer;transition:transform .16s ease,background .16s ease,border-color .16s ease,color .16s ease}
.community-notify-dock[hidden]{display:none}
.community-notify-dock:hover,.community-notify-dock:focus-visible{transform:translateY(-1px);background:var(--brand-soft);border-color:var(--brand);color:var(--brand)}
.community-notify-dock:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
.community-notify-dock svg{width:20px;height:20px}
.community-notify-dock .community-unread{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;padding:0 4px;border:2px solid var(--panel);font-size:10px}
.community-notify-dock .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:760px){
  .account-profile-card,.account-contacts-card,.account-security-card{padding:17px}
  .account-profile-grid,.account-contact-grid,.account-security-card{grid-template-columns:1fr}
  .account-section-head{align-items:flex-start}
  .account-pending-badge{white-space:nowrap}
  .account-profile-actions{align-items:flex-start;flex-direction:column}
  .account-profile-actions .btn{width:100%}
  .account-contact-grid article{gap:9px;padding:11px}
  .community-notify-dock{top:14px;right:66px;width:40px;height:40px}
}
@media(prefers-reduced-motion:reduce){.community-notify-dock{transition:none}}
