[data-permission-blocked]{display:none!important}
.staff-actions,.staff-row-actions{display:flex;gap:.55rem;flex-wrap:wrap}
.staff-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-block:20px 12px}
.staff-heading h3{margin:0}.staff-heading p{margin-block:6px 0}.staff-actions{flex-shrink:0}
.staff-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;background:#f1f3ef;border:1px solid var(--line);border-radius:5px;margin-block:18px}
.staff-tabs button{min-width:0;margin:0;padding:9px 4px;min-height:44px;border:0;background:transparent;white-space:nowrap;font-size:16px}
.staff-tabs button[aria-selected=true]{background:#fff;color:var(--accent);font-weight:700;box-shadow:0 1px 3px #23352b0a}
.staff-tabs button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.staff-view-intro h4{font-size:18px;margin:0}.staff-view-intro p{margin-block:5px 12px}
.staff-list{margin-block:12px;display:grid;gap:10px}.staff-list:empty{display:none}
.staff-row{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:14px;border:1px solid var(--line,#dbe5df);border-radius:6px;background:#fff;min-width:0}
.staff-row>div{min-width:0}.staff-row strong,.staff-row small,.staff-row bdi{display:block;overflow-wrap:anywhere}.staff-row small,.staff-row bdi{font-size:14px;color:var(--muted,#64756c);margin-top:4px}.staff-row-actions{flex-shrink:0}
.staff-row--self{background:#f7f9f5}.staff-self-label{display:inline-block;color:var(--accent);font-size:13px;margin-bottom:5px}
.staff-empty{padding:24px 16px;border:1px dashed var(--line);border-radius:6px;text-align:center}.staff-empty strong{font-size:16px;font-weight:600}.staff-empty p{margin-block:6px 0;font-size:14px;color:var(--muted);line-height:1.9}
.staff-check{display:flex;align-items:flex-start;gap:.6rem;margin-block:1rem}.staff-check input{width:1.1rem;min-height:1.1rem;margin-top:.25rem;flex-shrink:0}
.staff-confirmation{padding:1rem;border:1px solid var(--line,#dbe5df);border-radius:6px;margin-block:1rem}.staff-confirmation h3{margin-top:0}
.staff-editor{padding-top:18px}.staff-editor .dialog-heading h2{font-size:22px}.staff-editor .dialog-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.staff-notice{padding:12px 14px;border-radius:5px;background:#f1f6ef;color:var(--accent)}
#staff-edit-form>div,#staff-edit-form>label,#staff-edit-form>select{margin-bottom:.7rem}
#staff-audit-pager{justify-content:center;margin-block:16px 0}
#profile-dialog .profile-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
#profile-dialog .profile-tabs:has(#profile-staff-tab:not([hidden])){grid-template-columns:repeat(4,minmax(0,1fr))}
#profile-dialog .profile-tabs button{min-width:0}
#sales-read-dialog{width:min(94vw,620px)}
#sales-read-detail .staff-row{margin-block:.6rem}
@media(max-width:600px){.staff-heading{flex-direction:column}.staff-row{align-items:flex-start;flex-direction:column}.staff-row-actions{width:100%}.staff-actions{width:100%}.staff-actions button{flex:1}.staff-tabs button{font-size:15px}.staff-row-actions button{width:100%}}
@media(max-width:420px){#profile-dialog .profile-tabs:has(#profile-staff-tab:not([hidden])){grid-template-columns:repeat(2,minmax(0,1fr))}.staff-empty{padding:20px 10px}}
