
/* v4.0 Owner Administration cleanup */
.owner-admin-grid{
    display:grid;
    grid-template-columns:minmax(260px,330px) minmax(0,1fr);
    gap:16px;
    align-items:start;
}
.owner-create-card{
    position:sticky;
    top:84px;
}
.owner-users-card{
    min-width:0;
    overflow:hidden;
}
.owner-user-note{
    margin-top:-6px;
}
.owner-user-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}
.owner-user-card{
    border:1px solid rgba(185,135,255,.36);
    border-radius:12px;
    background:rgba(31,13,40,.62);
    overflow:hidden;
}
.owner-user-inactive{
    opacity:.68;
}
.owner-user-line{
    padding:11px 12px;
}
.owner-user-line1{
    display:grid;
    grid-template-columns:minmax(180px,1.1fr) minmax(190px,.9fr) auto;
    gap:12px;
    align-items:center;
}
.owner-user-line2{
    border-top:1px solid rgba(185,135,255,.20);
    background:rgba(0,0,0,.12);
}
.owner-user-identity strong,
.owner-user-identity span{
    display:block;
}
.owner-user-identity strong{
    font-size:15px;
    color:#fff;
}
.owner-user-identity span{
    margin-top:3px;
    font-size:12px;
    color:#d4c2dd;
    overflow-wrap:anywhere;
}
.owner-user-meta{
    display:flex;
    gap:12px;
    align-items:center;
    flex-wrap:wrap;
    font-size:11px;
}
.owner-user-actions{
    display:flex;
    gap:7px;
    justify-content:flex-end;
    align-items:center;
    flex-wrap:wrap;
}
.owner-user-actions form{
    margin:0;
}
.owner-role-form{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px;
    align-items:center;
}
.owner-role-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:5px 10px;
}
.owner-role-grid-edit{
    grid-template-columns:repeat(4,minmax(125px,1fr));
}
.owner-role-grid label{
    margin:0;
    font-size:11px;
    display:flex;
    align-items:center;
    gap:5px;
}
.owner-role-grid input[type="checkbox"]{
    width:auto;
    margin:0;
}
@media(max-width:1100px){
    .owner-user-line1{
        grid-template-columns:1fr 1fr;
    }
    .owner-user-actions{
        grid-column:1/-1;
        justify-content:flex-start;
    }
    .owner-role-grid-edit{
        grid-template-columns:repeat(3,minmax(125px,1fr));
    }
}
@media(max-width:760px){
    .owner-admin-grid{
        grid-template-columns:1fr;
    }
    .owner-create-card{
        position:static;
    }
    .owner-user-line1{
        grid-template-columns:1fr;
    }
    .owner-user-actions{
        grid-column:auto;
    }
    .owner-role-form{
        grid-template-columns:1fr;
    }
    .owner-role-grid,
    .owner-role-grid-edit{
        grid-template-columns:1fr 1fr;
    }
}
