#wl-mobile-account{display:flex;position:relative;flex:0 0 auto;margin-left:8px;font-family:inherit;align-items:center}
#wl-mobile-account-trigger{display:grid;place-items:center;width:34px;height:34px;border:1px solid #cbd9e8;background:linear-gradient(145deg,#f7faff,#e7effa);color:#23466f;border-radius:50%;padding:0;cursor:pointer;box-shadow:0 2px 8px #1e3a5b18}
#wl-mobile-account-trigger svg{width:22px;height:22px}
#wl-mobile-account-trigger:focus-visible{outline:2px solid #2673bc;outline-offset:2px}
#wl-mobile-account-menu{position:absolute;right:0;top:calc(100% + 9px);width:min(222px,calc(100vw - 24px));padding:7px;background:#fff;border:1px solid #dce4ed;border-radius:12px;box-shadow:0 12px 34px #10213b30;z-index:10030;color:#1d2d45}
#wl-mobile-account-menu[hidden]{display:none!important}
#wl-mobile-account-menu .wl-account-heading{padding:9px 10px;border-bottom:1px solid #e9edf3;margin-bottom:5px;font-size:12px;font-weight:750;overflow-wrap:anywhere}
#wl-mobile-account-menu button{width:100%;display:flex;align-items:center;gap:9px;background:transparent;color:#263c5a;border:0;text-align:left;border-radius:8px;padding:11px 10px;font-size:13px;cursor:pointer}
#wl-mobile-account-menu button:hover,#wl-mobile-account-menu button:focus-visible{background:#eef4fa}
#wl-mobile-account-menu button[data-action="logout"]{color:#ad3544;border-top:1px solid #edf0f5;border-radius:0;margin-top:4px}
#wl-change-password-dialog{border:1px solid #d9e3ed;border-radius:15px;box-shadow:0 24px 80px #0c234560;padding:0;width:min(390px,calc(100vw - 28px));max-height:90dvh;overflow:auto;color:#1b304b;background:white}
#wl-change-password-dialog::backdrop{background:#0d213d90}
#wl-change-password-form{display:grid;gap:12px;padding:19px}
#wl-change-password-form .wl-pw-header{display:flex;justify-content:space-between;align-items:center;font-size:17px}
#wl-change-password-form .wl-pw-header button{border:0;background:transparent;font-size:25px;cursor:pointer}
#wl-change-password-form label{display:grid;gap:6px;font-size:12px;font-weight:650}
#wl-change-password-form input{width:100%;box-sizing:border-box;border:1px solid #cbd7e5;border-radius:8px;padding:10px;font-size:15px;color:#152a44;background:#fff}
#wl-change-password-form .wl-pw-hint{font-size:11px;color:#60758b;margin:0}
#wl-pw-status{font-size:12px;color:#325d83;min-height:16px;margin:0}
#wl-change-password-form .wl-pw-actions{display:flex;gap:9px;justify-content:flex-end}
#wl-change-password-form .wl-pw-actions button{border:1px solid #cbd7e5;border-radius:8px;padding:9px 12px;cursor:pointer;background:#fff;color:#253e5d}
#wl-change-password-form .wl-pw-actions button[type="submit"]{background:#234b77;color:white}
#wl-change-password-form .wl-pw-actions button:disabled{opacity:.65;cursor:wait}
@media(max-width:800px){#app:not(.hidden) .topbar #wl-mobile-account{display:flex}.topbar:has(#wl-mobile-account){gap:6px}}

#app .user-meta[role=button]{cursor:pointer}#app .user-meta[role=button]:focus-visible{outline:2px solid #2673bc;outline-offset:2px}

/* Account UI compact spacing and visible desktop password action */
#app .side-footer .user-meta #wl-desktop-change-password{display:block!important;margin:5px 0 0;padding:0;border:0;background:transparent;color:inherit;text-decoration:underline;text-underline-offset:2px;font:inherit;font-size:11px;line-height:1.35;text-align:left;cursor:pointer}
#app .side-footer .user-meta #wl-desktop-change-password:hover{opacity:.8}
#app .side-footer .user-meta #wl-desktop-change-password:focus-visible{outline:2px solid currentColor;outline-offset:2px}
#app .topbar #wl-mobile-account{margin-left:2px!important;margin-right:0!important}
@media(max-width:800px){#app .topbar #wl-mobile-account{margin-left:2px!important;margin-right:0!important}}

/* Desktop: the account action belongs in the bottom-left sidebar only. */
@media (min-width:801px){
 #app .topbar #wl-mobile-account{display:none!important}
 #app #sidebar .side-footer .user-meta #wl-desktop-change-password{
  display:block!important;visibility:visible!important;opacity:1!important;
  font-size:11px!important;line-height:1.4!important;min-height:16px;
  margin-top:4px!important;text-decoration:underline!important;
 }
}
