.staff-bulk-dialog{width:min(920px,calc(100vw - 24px))}.staff-bulk-dialog *{box-sizing:border-box}.staff-bulk-dialog textarea{width:100%;min-height:108px;resize:vertical;border:1px solid #cdd9d2;border-radius:8px;padding:12px;background:#fff;font:15px/1.7 sans-serif;color:#183b33}.staff-bulk-defaults,.staff-bulk-access{display:grid;grid-template-columns:minmax(140px,.7fr) minmax(0,1.3fr);gap:12px;align-items:start}.staff-bulk-person{display:grid;grid-template-columns:1fr 1fr;gap:12px}.staff-bulk-tools{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 16px}.staff-bulk-inputs{border-bottom:1px solid #dce5df;padding-bottom:16px}.staff-bulk-inputs>.secondary{margin-top:8px}.staff-bulk-row{border:1px solid #dce5df;border-radius:10px;margin:12px 0;padding:14px;background:#fff}.staff-bulk-row-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.staff-bulk-access{margin-top:12px}.staff-bulk-row-status{font-size:14px;margin:8px 0 0;color:#65736c}.staff-bulk-row[data-state=queued]{background:#f1f7f2;border-color:#9abea3}.staff-bulk-row[data-state=queued] .staff-bulk-row-status{color:#246141}.staff-bulk-row[data-state=invalid] .staff-bulk-row-status,.staff-bulk-row[data-state=blocked] .staff-bulk-row-status,.staff-bulk-row[data-state=unknown] .staff-bulk-row-status{color:#963e29}.staff-bulk-summary{font-weight:600;font-variant-numeric:tabular-nums}.staff-bulk-footer{border-top:1px solid #dce5df;padding-top:8px}.staff-bulk-footer>button{margin:0 8px 8px 0}.staff-bulk-dialog input:disabled,.staff-bulk-dialog select:disabled{color:#56685e;background:#f2f5f1;opacity:1}.staff-bulk-launch{margin-left:8px}.staff-bulk-dialog .staff-ux-field,.staff-bulk-dialog .staff-ux-properties{min-width:0}.staff-bulk-dialog .staff-ux-properties .staff-ux-field{overflow-wrap:anywhere}@media(max-width:600px){.staff-bulk-person,.staff-bulk-defaults,.staff-bulk-access{grid-template-columns:1fr}.staff-bulk-row{padding:12px}.staff-bulk-footer>.primary{width:100%}.staff-bulk-launch{margin-left:0}.staff-bulk-dialog .staff-ux-heading h2{font-size:20px}}


/* Staff UX: visible actions, dense review rows, progressive facility editing. */
.staff-bulk-dialog>.staff-ux-card{overflow:visible}
.staff-bulk-dialog{width:min(1100px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;overflow:auto}
.staff-bulk-dialog .staff-ux-card{padding:0 20px 0;gap:10px}
.staff-bulk-dialog .staff-ux-heading{position:sticky;top:0;background:#fffdf8;z-index:3;padding:14px 0;margin:0;box-shadow:0 1px #ddd8ce}
.staff-bulk-dialog .staff-ux-heading h2{font-size:21px}
.staff-bulk-dialog .staff-ux-note{margin:4px 0;font-size:12px}
.staff-bulk-inputs{gap:8px}.staff-bulk-paste summary,.staff-bulk-access summary{cursor:pointer;min-height:32px;padding:5px 0;font-size:13px}
.staff-bulk-defaults{display:grid;grid-template-columns:210px 1fr;gap:12px;padding:10px;background:#f3f1eb;border-radius:8px}
.staff-bulk-dialog .staff-ux-properties{padding:4px 8px;gap:8px;margin:0}
.staff-bulk-list{gap:6px;counter-reset:person}
.staff-bulk-row{display:grid;grid-template-columns:64px minmax(250px,1fr) minmax(200px,.9fr);gap:4px 12px;padding:8px 10px;border-radius:7px;align-items:start}
.staff-bulk-row-heading{display:flex;flex-direction:column;gap:4px;padding:0;margin:0;font-size:12px}
.staff-bulk-row-heading button{padding:2px 7px;min-height:28px;font-size:12px}
.staff-bulk-person{display:grid;grid-template-columns:minmax(100px,.65fr) minmax(150px,1fr);gap:8px}
.staff-bulk-dialog .staff-ux-field{gap:2px;font-size:11px}
.staff-bulk-dialog input:not([type=checkbox]),.staff-bulk-dialog select{min-height:36px;padding:6px 9px;font-size:14px}
.staff-bulk-row-status{grid-column:2/-1;margin:0;font-size:12px;min-height:16px}
.staff-bulk-access{display:block;min-width:0}.staff-bulk-access summary{line-height:1.45;overflow-wrap:anywhere}
.staff-bulk-access[open]>.staff-ux-field,.staff-bulk-access[open]>fieldset{margin-top:8px}
.staff-bulk-footer{position:sticky;bottom:0;z-index:3;background:#fffdf8;border-top:1px solid #d9d4c9;display:grid;grid-template-columns:1fr auto auto;gap:4px 10px;padding:10px 0;box-shadow:0 -4px 12px #00000008}
.staff-bulk-summary{margin:0;align-self:center;font-size:13px}.staff-bulk-footer .staff-ux-status{grid-column:1/-1;margin:0;font-size:12px}
.staff-bulk-draft-state{font-size:12px;margin:0;align-self:center}.staff-bulk-footer button{min-height:36px;padding:6px 12px;font-size:13px}
@media(max-width:650px){.staff-bulk-dialog{width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}.staff-bulk-dialog .staff-ux-card{padding:0 10px}.staff-bulk-defaults{grid-template-columns:1fr;gap:6px}.staff-bulk-row{grid-template-columns:44px minmax(0,1fr);gap:4px 8px}.staff-bulk-person{grid-template-columns:1fr}.staff-bulk-access{grid-column:2}.staff-bulk-row-status{grid-column:2}.staff-bulk-footer{grid-template-columns:1fr 1fr}.staff-bulk-summary,.staff-bulk-draft-state{grid-column:1/-1}.staff-bulk-footer>.primary{grid-column:1/-1}.staff-bulk-dialog input:not([type=checkbox]),.staff-bulk-dialog select{min-height:40px;font-size:16px}}

/* Keep a fresh invitation and per-person access controls within reach. */
body:has(.staff-bulk-dialog[open]){overflow:hidden}
.staff-bulk-dialog{overscroll-behavior:contain}
.staff-bulk-addbar{display:flex;align-items:center;justify-content:flex-end;margin:10px 0}
.staff-bulk-addbar button{min-height:42px;padding:8px 18px}
.staff-bulk-previous{display:flex;align-items:center;gap:16px;margin:12px 0;padding:12px 16px;border:1px solid #cdded3;border-radius:8px;background:#edf5ef;font-size:13px;line-height:1.6}
.staff-bulk-previous p{margin:0;flex:1}.staff-bulk-previous button{flex-shrink:0;min-height:40px}
.staff-bulk-mode{display:flex;gap:6px;margin:8px 0}.staff-bulk-mode button{min-height:40px;flex:1;padding:6px 8px;font-size:12px}
.staff-bulk-mode button[aria-pressed=true]{background:#184d40;color:white;border-color:#184d40}
.staff-bulk-access-controls{display:grid;gap:8px}.staff-bulk-access summary{min-height:40px}
.staff-bulk-dialog .staff-bulk-footer{grid-template-columns:minmax(0,1fr) auto;align-items:center}
.staff-bulk-footer .staff-ux-status:empty{display:none}.staff-bulk-footer>button{margin:0}
.staff-bulk-footer .staff-bulk-draft-state{line-height:1.6}
.staff-bulk-defaults>.staff-ux-note{grid-column:1/-1;margin:0}.staff-bulk-defaults{row-gap:4px}
.staff-bulk-addbar{align-items:flex-start;gap:12px;margin:8px 0}.staff-bulk-addbar>.staff-bulk-paste{flex:1;min-width:0}
.staff-bulk-addbar>button{flex-shrink:0}
.staff-bulk-resume{padding:18px 0;line-height:1.7}.staff-bulk-resume h3{margin:0 0 8px;font-size:18px}.staff-bulk-resume>button{margin:12px 8px 12px 0;min-height:44px}
@media(max-width:650px){.staff-bulk-previous{flex-direction:column;align-items:stretch;gap:8px}.staff-bulk-mode{flex-wrap:wrap}.staff-bulk-addbar{justify-content:stretch}.staff-bulk-addbar button{width:100%}.staff-bulk-dialog .staff-bulk-footer{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.staff-bulk-addbar{flex-wrap:wrap}.staff-bulk-addbar>.staff-bulk-paste{order:2;flex-basis:100%}.staff-bulk-addbar>button{order:1}}

@media(min-width:651px) and (max-width:820px){.staff-bulk-row{grid-template-columns:44px minmax(0,1fr)}.staff-bulk-access,.staff-bulk-row-status{grid-column:2}.staff-bulk-person{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)}}
