/* Chat Habib v23 — user account/profile */
.user-account-wrap{position:relative;flex:0 0 auto}.user-account-btn{width:auto!important;min-width:42px;padding:0 10px;display:flex;align-items:center;gap:6px}.user-account-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:60;width:190px;padding:6px;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 14px 38px rgba(15,35,29,.18)}.user-account-menu[hidden]{display:none!important}.user-account-menu button{width:100%;border:0;background:transparent;border-radius:9px;padding:10px 11px;text-align:left;font-size:13px}.user-account-menu button:hover{background:#f2f6f4}.user-account-menu .danger{color:var(--danger)}
.user-account-photo-slot{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;overflow:hidden;flex:0 0 auto;background:#eef4f1}.user-account-photo-slot img{width:100%;height:100%;object-fit:cover;display:block}
.user-profile-modal{position:fixed;inset:0;z-index:80;background:rgba(13,28,23,.42);display:grid;place-items:center;padding:18px}.user-profile-card{width:min(430px,100%);max-height:min(760px,92dvh);overflow:auto;background:#fff;border-radius:20px;border:1px solid var(--line);box-shadow:0 22px 70px rgba(15,35,29,.24);padding:20px}.user-profile-head{display:flex;align-items:center;gap:10px;margin-bottom:16px}.user-profile-head h2{margin:0;font-size:20px}.user-profile-close{margin-left:auto;border:0;background:#f2f6f4;width:36px;height:36px;border-radius:50%;font-size:18px}.user-profile-note{font-size:11px;color:var(--muted);margin:-5px 0 15px;line-height:1.45}.user-profile-actions{display:flex;gap:8px;margin-top:8px}.user-profile-actions button{flex:1}
.profile-photo-editor{display:flex;align-items:center;gap:14px;padding:12px;margin-bottom:15px;border:1px solid var(--line);border-radius:16px;background:#f8faf9}.profile-photo-preview{width:86px;height:86px;border-radius:50%;overflow:hidden;display:grid;place-items:center;flex:0 0 auto;background:#eaf2ef;font-size:34px;border:3px solid #fff;box-shadow:0 2px 10px rgba(15,35,29,.08)}.profile-photo-preview img{width:100%;height:100%;object-fit:cover;display:block}.profile-photo-actions{display:flex;flex-wrap:wrap;gap:7px;min-width:0}.profile-photo-actions small{width:100%;font-size:10px;color:var(--muted);line-height:1.35}.danger-outline{color:var(--danger)!important;border-color:rgba(190,45,45,.25)!important}
@media(max-width:520px){.user-account-btn .account-word{display:none}.user-profile-modal{padding:10px;align-items:end}.user-profile-card{border-radius:20px 20px 0 0;width:100%;max-height:88dvh}.profile-photo-editor{align-items:flex-start}.profile-photo-preview{width:74px;height:74px}}
