.shell-main .staff-workspace{max-width:1120px;margin:0 auto;padding:0;background:transparent}
.staff-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0}
.staff-workspace h2{font-size:20px;margin:0 0 6px}.staff-workspace h3{font-size:16px;margin:0}.staff-workspace p{font-size:13px;color:#66758a;line-height:1.5}
.staff-table-card,.staff-role-library,.staff-editor{background:#fff;border:1px solid #e0e6ee;border-radius:8px;overflow:hidden}
.staff-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px}.staff-toolbar input{max-width:370px}.staff-toolbar span{font-size:12px;color:#64748b}
.staff-table-scroll{overflow:auto}.staff-workspace table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}
.staff-workspace th{background:#f7f8fa;color:#68778b;font-weight:500}.staff-workspace th,.staff-workspace td{padding:13px 16px;border-bottom:1px solid #e4e9ef;vertical-align:middle}.staff-workspace tr:last-child td{border-bottom:0}
.staff-workspace small{display:block;font-size:11px;color:#7b899b;margin-top:4px}
.staff-workspace button{min-height:32px!important;padding:6px 10px!important;border-radius:5px!important;font-size:12px!important;white-space:nowrap;box-shadow:none!important;background-image:none!important;border:1px solid #ccd8e6}
.staff-workspace button.primary{background:#1765cc;color:#fff;border-color:#1765cc}.staff-workspace button.secondary{background:#fff;color:#25496f}
.staff-status{padding:4px 8px;border-radius:16px;font-size:11px;background:#fff1d5;color:#966400}.staff-status.active{background:#e5f5ec;color:#08774e}
.staff-role-library{margin-top:18px;padding:16px}.staff-role-library>summary{cursor:pointer;font-size:14px;font-weight:600}.staff-role-library table{margin-top:12px}
.staff-editor{padding:18px;margin-bottom:16px}.staff-editor header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.staff-editor label:not(.staff-check){display:grid;gap:6px;font-size:13px;margin:12px 0}.staff-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.staff-workspace input:not([type=checkbox]),.staff-workspace select{width:100%;min-height:36px!important;height:36px!important;padding:6px 10px!important;font-size:13px!important;border-radius:5px;border:1px solid #ccd8e6;min-width:0}
.staff-editor fieldset{border:1px solid #e0e6ee;border-radius:6px;padding:14px;margin-top:16px}.staff-editor legend{font-size:13px;font-weight:600;padding:0 6px}
.staff-check{display:flex!important;align-items:flex-start;gap:9px;font-size:13px;padding:10px 0}.staff-check input{flex:0 0 16px;width:16px!important;height:16px!important;margin-top:2px}.staff-company-options{max-height:250px;overflow:auto;margin-top:8px}.staff-company-options>label{border-bottom:1px solid #eef1f5}
.staff-permissions{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;max-height:380px;overflow:auto}.staff-editor footer{display:flex;gap:8px;justify-content:flex-end;margin-top:18px;padding-top:14px;border-top:1px solid #e0e6ee}
.staff-workspace [hidden]{display:none!important}.staff-workspace [data-message]:empty{display:none}.staff-workspace [data-message]{color:#a05d00}
@media(max-width:650px){.staff-form-grid,.staff-permissions{grid-template-columns:1fr}.staff-heading{align-items:flex-start}.staff-workspace table{min-width:670px}.staff-editor{padding:12px}}

.staff-capacity{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:12px 16px;margin-bottom:16px;border:1px solid #e0e6ee;border-radius:8px;background:var(--surface,#fff);font-size:13px}.staff-capacity strong{font-size:13px;color:var(--text-primary,#334155)}
