#awpStaffManager{margin:8px 0;padding:12px}#awpStaffManager[hidden],#awpStaffManagerButton[hidden]{display:none!important}.awp-staff-head,.awp-staff-actions{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}.awp-staff-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:7px;margin:9px 0}.awp-staff-form input{min-width:0;width:100%;box-sizing:border-box}.awp-staff-form button{background:#176da8;color:white}.awp-staff-item{padding:10px;border:1px solid var(--border,#d1d9e0);border-radius:9px;margin-top:8px}.awp-staff-item small{display:block;margin:4px 0}.awp-staff-allowed,#awpStaffProjectChoices{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.awp-staff-allowed label,#awpStaffProjectChoices label{display:flex;gap:3px;align-items:center;font-size:12px}.awp-staff-actions{justify-content:flex-start;margin-top:8px}.awp-staff-actions button{font-size:12px;padding:7px 9px}.awp-is-staff .awp-staff-blocked,.awp-is-staff #addProjectTop,.awp-is-staff #deleteProjectTop,.awp-is-staff [data-tab="workers"],.awp-is-staff [data-tab="report"]{display:none!important}

/* Revisi 534: tombol petugas selalu tampak pada akun utama, pesan kesalahan terlihat */
#awpStaffManagerButton{display:inline-flex!important;align-items:center;justify-content:center;min-height:36px;padding:8px 12px;background:#136f55!important;color:white!important;border-radius:8px;font-weight:700;white-space:nowrap}
#awpStaffManagerButton[hidden]{display:none!important}
#awpStaffManagerButton[data-status=error]{background:#a85617!important}
#awpStaffMessage{white-space:normal;overflow-wrap:anywhere}

/* Revisi 535: tombol Petugas kompak di sebelah tombol Tema */
#awpStaffManagerButton{position:relative;flex:0 0 auto;min-width:42px!important;width:42px!important;height:38px!important;min-height:38px!important;padding:3px!important;gap:0!important;border-radius:10px!important;line-height:1!important;white-space:nowrap}
#awpStaffManagerButton .awp-staff-icon{font-size:23px;line-height:1}
#awpStaffManagerButton .awp-staff-letter{position:absolute;right:1px;bottom:1px;display:grid;place-items:center;width:15px;height:15px;border-radius:50%;background:#fff;color:#136f55;font-size:10px;font-weight:900;border:1px solid #136f55}
#awpStaffManagerButton[data-status=error] .awp-staff-letter{color:#a85617;border-color:#a85617}

/* Revisi 536: daftar proyek untuk petugas */
#awpStaffProjectChoices{display:flex;flex-direction:column;gap:7px;width:100%;margin:7px 0}
#awpStaffProjectChoices .awp-staff-project-option{display:flex;align-items:center;gap:9px;padding:9px 11px;border:1px solid var(--border,#47617b);border-radius:9px;cursor:pointer;text-align:left}
#awpStaffProjectChoices input[type=checkbox]{width:17px;height:17px;flex:none;accent-color:#078e73}
#awpStaffProjectChoices small{opacity:.75}

.awp-staff-connect{display:grid;gap:7px;margin:9px 0}.awp-staff-connect input{width:100%;min-width:0}.awp-staff-project-option{display:flex;align-items:center;gap:7px;margin:5px 0}.awp-staff-project-option input{width:16px;height:16px;flex:none}

.awp-staff-item-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.awp-staff-item-head strong{min-width:0;overflow-wrap:anywhere}.awp-staff-delete{flex:none;background:#b4232f!important;color:#fff!important;padding:6px 10px!important;font-size:12px!important;border-radius:7px!important}.awp-staff-delete:disabled{opacity:.55;cursor:wait}
