/* Manajemen Pegawai V117.3.23 — scoped styles */
body.v51-role-hr aside nav button[data-nav="v117Kpi"],body.v51-role-hr aside nav button[data-nav="v323Employees"],body.v100-gm aside nav button[data-nav="v323Employees"]{display:grid!important;visibility:visible!important}
body.v51-role-hr aside nav button:not([data-nav="v117Kpi"]):not([data-nav="v323Employees"]),body.v51-role-hr aside .settings-icon{display:none!important}
#v323Employees .panel{background:transparent;box-shadow:none;border:0;padding:0}
.v323-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}.v323-head h2{margin:0 0 6px;font-size:22px;color:#34291f}.v323-head p{margin:0;color:#857769;font-size:13px}
.v323-stats{display:grid;grid-template-columns:repeat(3,minmax(110px,1fr));gap:12px;margin-bottom:18px}.v323-stats>div{background:#fff;border:1px solid #eadecf;border-radius:14px;padding:15px 18px}.v323-stats small{display:block;color:#86776b;font-size:12px}.v323-stats strong{display:block;font-size:24px;color:#3f3227}
.v323-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:14px}.v323-toolbar input{flex:1;min-width:0;border:1px solid #e3d6c7;background:#fff;border-radius:10px;padding:12px 14px;font:inherit;color:#342a21}
.v323-scroll{border:1px solid #eadfce;border-radius:14px;background:#fff;overflow:auto;max-height:min(66vh,580px)}.v323-table{min-width:780px;width:100%;border-collapse:collapse}.v323-table th,.v323-table td{padding:12px 15px;border-bottom:1px solid #efe9e0;text-align:left;font-size:13px}.v323-table th{position:sticky;top:0;background:#faf7f1;color:#786657;z-index:1}.v323-status{border-radius:100px;padding:5px 9px;font-size:11px;font-weight:700}.v323-status.active{background:#e8f7ed;color:#11703f}.v323-status.inactive{background:#f1f2f3;color:#636b74}
.v323-notice:not([hidden]){padding:11px 14px;background:#e9f7ed;color:#126737;border:1px solid #b3d8bf;border-radius:9px;margin-bottom:14px}.v323-error{color:#b33b43;font-size:12px;min-height:16px}
.v323-overlay{position:fixed;inset:0;z-index:200900;background:rgba(25,26,25,.6);display:flex;align-items:center;justify-content:center;padding:20px}.v323-dialog{width:min(720px,100%);max-height:90vh;overflow:auto;background:#fff;border:1px solid #e9dacc;border-radius:18px;padding:24px;box-shadow:0 22px 80px #1e140a55}.v323-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:20px;gap:16px}.v323-dialog-head h2{margin:0;font-size:21px}.v323-dialog-head p{margin:4px 0 0;color:#817164}.v323-dialog-head button{background:transparent;border:0;font-size:22px;cursor:pointer}
.v323-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.v323-fields label{font-size:13px;color:#584b3e;font-weight:700}.v323-fields input:not([type="checkbox"]),.v323-fields select{display:block;width:100%;margin-top:7px;border:1px solid #ddcebd;border-radius:10px;padding:12px;font:inherit;box-sizing:border-box;background:white;color:#302a24}.v323-fields input[readonly],.v323-fields select:disabled{background:#f6f4f1}.v323-fields label small,.v323-muted{font-weight:400;color:#8b8075}.v323-check{display:flex;align-items:center;gap:8px;align-self:end;padding:13px 0}.v323-check input{width:17px;height:17px}.v323-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}.v323-caution{border:1px solid #eed8a7;background:#fff9e9;border-radius:8px;padding:10px 12px;color:#80612a;font-size:13px}
@media(max-width:640px){.v323-fields{grid-template-columns:1fr}.v323-stats{gap:6px}.v323-stats>div{padding:12px}.v323-toolbar{flex-wrap:wrap}.v323-toolbar input{flex-basis:100%}}

/* V117.3.24 — separate GM-only role creation dialog */
.v324-role-overlay{z-index:201000}.v324-role-dialog{width:min(530px,100%)}.v324-role-dialog .v323-fields{grid-template-columns:1fr}

/* V117.3.26 — compact pencil and trash actions */
.v326-actions{display:flex;align-items:center;gap:8px;white-space:nowrap}
.v326-icon-btn{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e3d8c9;border-radius:9px;background:#fffdf9;color:#956321;cursor:pointer;transition:background .15s,border-color .15s}
.v326-icon-btn svg{width:18px;height:18px;pointer-events:none}
.v326-icon-btn:hover:not(:disabled){background:#fff1dc;border-color:#d69a50}
.v326-icon-btn:focus-visible{outline:2px solid #ac731b;outline-offset:2px}
.v326-trash{color:#b34242;border-color:#efd4d1}
.v326-trash:hover:not(:disabled){background:#fff0ef;border-color:#d89087}
.v326-icon-btn:disabled{opacity:.3;cursor:not-allowed}
.v323-table th:last-child,.v323-table td:last-child{min-width:106px}
