CSS target admin only

In the Head tab of your theme, write this:

<script type="text/discourse-plugin" version="1.4.0">
    let currentUser = api.getCurrentUser();
    if (currentUser.admin == true) {
         document.querySelector("body").classList.add("is-admin");
    }
</script> 

Wrap all your CSS rules with body:not(.is-admin) { (your CSS) } such as:

body:not(.is-admin) {
    #main {
        background: pink;
    }
}

Also add css classes for user’s groups