/* Staff workspace: reference roster/profile styles, scoped to this screen. */
.office-staff.off-screen{display:flex;flex:1;flex-direction:column;min-width:0;min-height:0;overflow:hidden;--ro-c:var(--brand);--rs-c:var(--brand)}
.office-staff>.off-screen-header,.office-staff>.off-subtabs{flex-shrink:0}
.office-staff>.off-screen-body{flex:1 1 auto;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
.office-staff .off-table{min-width:0}
.office-staff .off-screen-actions,.office-staff .off-subtabs{flex-wrap:wrap}
.office-staff .btn,.office-staff .off-subtab{white-space:nowrap}

.office-staff .rs-card{padding:0;overflow:hidden}
.office-staff .rs-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px 18px;border-bottom:1px solid var(--border);flex-wrap:wrap}
.office-staff .rs-week{display:flex;align-items:center;gap:9px;font-size:15px;font-weight:600;letter-spacing:-.015em}
.office-staff .rs-week-s{font-size:12px;color:var(--text-muted);margin-top:3px;line-height:1.45}
.office-staff .rs-nav{display:flex;gap:7px;flex-wrap:wrap}
.office-staff .rs-add{padding:13px 18px;border-bottom:1px solid var(--border);background:var(--bg-subtle);display:flex;flex-direction:column;gap:9px}
.office-staff .rs-addrow{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end}
.office-staff .rs-fl{display:flex;flex-direction:column;gap:4px;min-width:0}
.office-staff .rs-fl>span{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-subtle)}
.office-staff .rs-fl select{font-family:inherit;font-size:12.5px;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:7px;padding:6px 9px}
.office-staff .rs-addgo{display:flex;gap:7px;margin-left:auto}
.office-staff .rs-grid{display:grid}
.office-staff .rs-gh{padding:9px 11px;font-size:11px;font-weight:600;background:var(--bg-subtle);border-right:1px solid var(--border);border-bottom:1px solid var(--border);color:var(--text-subtle);text-transform:uppercase;letter-spacing:.05em}
.office-staff .rs-gh--day{text-align:center;text-transform:none;letter-spacing:0;font-size:12px;color:var(--text)}
.office-staff .rs-gs{display:flex;align-items:center;gap:8px;padding:10px 11px;background:var(--bg-subtle);border-right:1px solid var(--border);border-bottom:1px solid var(--border-subtle)}
.office-staff .rs-gs>span{font-size:10px;color:var(--text-subtle)}
.office-staff .rs-av{width:24px;height:24px;background:var(--brand);color:var(--brand-fg);font-size:10px;flex-shrink:0}
.office-staff .rs-gc{padding:7px;border-right:1px solid var(--border-subtle);border-bottom:1px solid var(--border-subtle);min-height:58px;display:flex;flex-direction:column;gap:4px}
.office-staff .rs-shift{background:color-mix(in oklch, var(--rs-c) 12%, transparent);border-left:3px solid var(--rs-c);border-radius:4px;padding:4px 7px}
.office-staff .rs-shift.is-added{box-shadow:0 0 0 1px var(--brand)}
.office-staff .rs-shift.is-sick{opacity:.55}
.office-staff .rs-shift-t{display:flex;align-items:center;gap:5px}
.office-staff .rs-shift-t strong{font-size:11px;font-weight:600;color:var(--rs-c)}
.office-staff .rs-shift-h{font-family:var(--font-mono);font-size:10px;color:var(--text-muted)}
.office-staff .rs-shift-v{font-size:9.5px;color:var(--void-text);margin-top:1px}
.office-staff .rs-x{margin-left:auto;width:14px;height:14px;border:0;background:none;padding:0;cursor:pointer;color:var(--text-subtle);opacity:0;display:flex;align-items:center;justify-content:center}
.office-staff .rs-shift:hover .rs-x{opacity:1}
.office-staff .rs-x:hover{color:var(--void-text)}
.office-staff .rs-cover{padding:14px 18px;display:flex;flex-direction:column;gap:8px}
.office-staff .rs-inv{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:13px}
.office-staff .rs-inv>.pb-f:nth-child(3),.office-staff .rs-inv>.pb-f:last-child{grid-column:1 / -1}
.office-staff .rs-inv select{width:100%;box-sizing:border-box;font-family:inherit;font-size:13px;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:8px;padding:8px 11px}
.office-staff .rs-bad{color:var(--void-text)!important}
.office-staff .rs-stores{display:flex;flex-wrap:wrap;gap:6px}
.office-staff .rs-chip{font-size:12px;padding:6px 11px;border:1px solid var(--border-strong);background:var(--surface);border-radius:var(--radius-full);cursor:pointer;font-family:inherit;color:var(--text-muted)}
.office-staff .rs-chip.is-on{border-color:var(--brand);background:var(--brand-bg);color:var(--brand);font-weight:600}
.office-staff .ro-card{padding:0;overflow:hidden;margin-bottom:16px}
.office-staff .ro-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px 18px;border-bottom:1px solid var(--border);flex-wrap:wrap}
.office-staff .ro-week{display:flex;align-items:center;gap:9px;font-size:15px;font-weight:600;letter-spacing:-.015em}
.office-staff .ro-week-s{font-size:12px;color:var(--text-muted);margin-top:3px;line-height:1.45;max-width:70ch}
.office-staff .ro-nav{display:flex;gap:7px;flex-wrap:wrap}
.office-staff .ro-soon{color:var(--hold-text);font-weight:600}
.office-staff .ro-cost{padding:14px 18px;border-bottom:1px solid var(--border);background:var(--bg-subtle)}
.office-staff .ro-cbig{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.office-staff .ro-cl{display:block;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-subtle)}
.office-staff .ro-cv{display:block;font-family:var(--font-mono);font-size:26px;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums;margin-top:2px}
.office-staff .ro-cv--below{color:var(--sched-text)}
.office-staff .ro-cv--good{color:var(--paid-text)}
.office-staff .ro-cv--watch{color:var(--hold-text)}
.office-staff .ro-cv--bad{color:var(--void-text)}
.office-staff .ro-cs{display:block;font-size:11px;color:var(--text-muted);margin-top:3px;line-height:1.4}
.office-staff .ro-bars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:14px}
.office-staff .ro-bar{text-align:center}
.office-staff .ro-bar-t{font-family:var(--font-mono);font-size:11px;font-weight:700}
.office-staff .ro-bar-track{height:52px;background:var(--bg-muted);border-radius:4px;margin:3px 0;display:flex;align-items:flex-end;overflow:hidden}
.office-staff .ro-bar-f{width:100%;border-radius:3px 3px 0 0}
.office-staff .ro-bar-f--below{background:var(--sched-text)}
.office-staff .ro-bar-f--good{background:var(--paid)}
.office-staff .ro-bar-f--watch{background:var(--hold-text)}
.office-staff .ro-bar-f--bad{background:var(--void-text)}
.office-staff .ro-bar-d{font-size:11px;font-weight:600}
.office-staff .ro-bar-c{font-family:var(--font-mono);font-size:10px;color:var(--text-subtle)}
.office-staff .ro-add{padding:13px 18px;border-bottom:1px solid var(--border);display:flex;flex-direction:column;gap:9px}
.office-staff .ro-addrow{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end}
.office-staff .ro-fl{display:flex;flex-direction:column;gap:4px;min-width:0}
.office-staff .ro-fl>span{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-subtle)}
.office-staff .ro-fl select{font-family:inherit;font-size:12.5px;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:7px;padding:6px 9px}
.office-staff .ro-addgo{display:flex;gap:7px;margin-left:auto}
.office-staff .ro-quote{border:1px solid var(--border);border-radius:10px;padding:11px 13px;background:var(--bg-subtle)}
.office-staff .ro-quote-h{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-subtle);font-weight:600;margin-bottom:7px}
.office-staff .ro-qlines{display:flex;flex-direction:column}
.office-staff .ro-qline{display:flex;align-items:baseline;gap:12px;padding:4px 0;border-top:1px solid var(--border-subtle);font-size:12.5px}
.office-staff .ro-qline:first-child{border-top:0}
.office-staff .ro-qline>span:first-child{flex:1;min-width:0}
.office-staff .ro-qline em{font-family:var(--font-mono);font-size:10.5px;color:var(--text-subtle);font-style:normal;margin-left:5px}
.office-staff .ro-qh{font-family:var(--font-mono);font-size:11.5px;color:var(--text-muted)}
.office-staff .ro-qline strong{font-family:var(--font-mono);font-size:13px;min-width:64px;text-align:right;font-variant-numeric:tabular-nums}
.office-staff .ro-qline--note{color:var(--text-muted)}
.office-staff .ro-qtot{display:flex;justify-content:space-between;gap:12px;align-items:baseline;border-top:1.5px solid var(--text);margin-top:6px;padding-top:7px;font-size:12px;color:var(--text-muted)}
.office-staff .ro-qtot strong{font-family:var(--font-mono);font-size:18px;font-weight:700;color:var(--text)}
.office-staff .ro-grid{display:grid}
.office-staff .ro-gh{padding:9px 11px;font-size:11px;font-weight:600;background:var(--bg-subtle);border-right:1px solid var(--border);border-bottom:1px solid var(--border);color:var(--text-subtle);text-transform:uppercase;letter-spacing:.05em}
.office-staff .ro-gh--day{text-align:center;text-transform:none;letter-spacing:0;font-size:12px;color:var(--text)}
.office-staff .ro-gh--day.is-hol{background:var(--hold-bg);color:var(--hold-text)}
.office-staff .ro-holtag{display:block;font-size:9px;font-weight:600;margin-top:1px;opacity:.9;text-transform:none;letter-spacing:0}
.office-staff .ro-gs{display:flex;align-items:center;gap:8px;padding:9px 11px;background:var(--bg-subtle);border-right:1px solid var(--border);border-bottom:1px solid var(--border-subtle)}
.office-staff .ro-gs-n{display:block;font-size:12px;font-weight:600}
.office-staff .ro-gs-r{display:block;font-size:9.5px;color:var(--text-subtle)}
.office-staff .ro-av{width:24px;height:24px;background:var(--brand);color:var(--brand-fg);font-size:10px;flex-shrink:0}
.office-staff .rs-av{width:24px;height:24px;background:var(--brand);color:var(--brand-fg);font-size:10px;flex-shrink:0}
.office-staff .ro-gc{padding:6px;border-right:1px solid var(--border-subtle);border-bottom:1px solid var(--border-subtle);min-height:62px;display:flex;flex-direction:column;gap:4px}
.office-staff .ro-gc.is-leave{background:var(--sched-bg)}
.office-staff .ro-gc.is-unavail{background:repeating-linear-gradient(135deg,transparent,transparent 5px,var(--bg-muted) 5px,var(--bg-muted) 10px)}
.office-staff .ro-leave{font-size:10px;color:var(--sched-text);font-weight:600;text-align:center;padding:4px 0}
.office-staff .ro-shift{background:color-mix(in oklch, var(--ro-c) 12%, transparent);border-left:3px solid var(--ro-c);border-radius:4px;padding:4px 6px}
.office-staff .ro-shift.is-added{box-shadow:0 0 0 1px var(--brand)}
.office-staff .ro-shift.is-conflict{box-shadow:0 0 0 1.5px var(--void-text)}
.office-staff .ro-shift-t{display:flex;align-items:center;gap:5px}
.office-staff .ro-shift-t strong{font-size:10.5px;font-weight:600;color:var(--ro-c)}
.office-staff .ro-shift-h{font-family:var(--font-mono);font-size:10px;color:var(--text-muted)}
.office-staff .ro-shift-c{font-family:var(--font-mono);font-size:10.5px;font-weight:600;display:flex;align-items:baseline;gap:4px}
.office-staff .ro-shift-c em{font-style:normal;font-size:9px;color:var(--hold-text);font-weight:700}
.office-staff .ro-x{margin-left:auto;width:14px;height:14px;border:0;background:none;padding:0;cursor:pointer;color:var(--text-subtle);opacity:0;display:flex;align-items:center;justify-content:center}
.office-staff .ro-shift:hover .ro-x{opacity:1}
.office-staff .ro-x:hover{color:var(--void-text)}
.office-staff .ro-checks{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:16px;align-items:start}
.office-staff .ro-chead{display:flex;gap:16px;align-items:flex-start;justify-content:space-between}
.office-staff .ro-cpills{display:flex;gap:6px;flex-shrink:0}
.office-staff .ro-cpill{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:3px 8px;border-radius:var(--radius-full);background:var(--bg-muted);color:var(--text-subtle)}
.office-staff .ro-cpill.is-bad{background:var(--void-bg);color:var(--void-text)}
.office-staff .ro-cpill.is-warn{background:var(--hold-bg);color:var(--hold-text)}
.office-staff .ro-issues{display:flex;flex-direction:column;gap:5px;margin-top:11px}
.office-staff .ro-issue{display:flex;gap:8px;align-items:flex-start;padding:8px 10px;border-radius:8px;font-size:12px;line-height:1.45}
.office-staff .ro-issue.is-bad{background:var(--void-bg);color:var(--void-text)}
.office-staff .ro-issue.is-warn{background:var(--hold-bg);color:var(--hold-text)}
.office-staff .ro-issue-c{font-family:var(--font-mono);font-size:10px;opacity:.8;margin-top:2px}
.office-staff .ro-split{display:flex;flex-direction:column;margin-top:11px}
.office-staff .ro-srow{display:flex;align-items:baseline;gap:11px;padding:8px 0;border-top:1px solid var(--border)}
.office-staff .ro-srow:first-child{border-top:0}
.office-staff .ro-srow-l{font-size:12.5px;font-weight:600}
.office-staff .ro-srow-l em{font-family:var(--font-mono);font-size:10px;color:var(--text-subtle);font-style:normal;margin-left:5px}
.office-staff .ro-srow-d{font-size:11px;color:var(--text-muted);line-height:1.4;margin-top:1px}
.office-staff .ro-srow-h{font-family:var(--font-mono);font-size:11.5px;color:var(--text-muted);flex-shrink:0}
.office-staff .ro-srow-c{font-family:var(--font-mono);font-size:13px;font-weight:600;min-width:64px;text-align:right;flex-shrink:0}
.office-staff .ro-srow-p{font-family:var(--font-mono);font-size:11px;color:var(--text-subtle);min-width:32px;text-align:right;flex-shrink:0}
.office-staff .ro-srcnote{margin-top:12px;padding-top:11px;border-top:1px solid var(--border);font-size:11px;color:var(--text-muted);line-height:1.5}
.office-staff .ro-srcnote strong{display:block;color:var(--text);font-size:11.5px;margin-bottom:2px}
.office-staff .ro-avail{display:grid;grid-template-columns:minmax(140px,1.4fr) repeat(7,minmax(0,1fr));gap:4px;margin-top:12px}
.office-staff .ro-ah{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-subtle);text-align:center;padding-bottom:3px}
.office-staff .ro-an{min-width:0;padding:6px 0}
.office-staff .ro-an span{display:block;font-size:12.5px;font-weight:600}
.office-staff .ro-an em{display:block;font-size:10.5px;color:var(--text-muted);font-style:normal;line-height:1.35}
.office-staff .ro-ac{display:flex;align-items:center;justify-content:center;border-radius:6px}
.office-staff .ro-ac.is-y{background:var(--paid-bg);color:var(--paid-text)}
.office-staff .ro-ac.is-n{background:var(--bg-muted);color:var(--text-subtle)}
.office-staff .ro-swaps{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}
.office-staff .ro-swhead{display:flex;gap:16px;align-items:flex-start;justify-content:space-between}
.office-staff .ro-swtitle{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:600;flex-wrap:wrap}
.office-staff .ro-swnote{font-size:12.5px;color:var(--text-muted);line-height:1.5;margin-top:9px}
.office-staff .ro-swcheck{display:flex;gap:8px;align-items:flex-start;margin-top:9px;padding:9px 11px;border-radius:9px;font-size:12px;line-height:1.45}
.office-staff .ro-swcheck.is-ok{background:var(--paid-bg);color:var(--paid-text)}
.office-staff .ro-swcheck.is-no{background:var(--void-bg);color:var(--void-text)}
.office-staff .ro-offered{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.office-staff .ro-off{font-size:11px;padding:3px 9px;border-radius:var(--radius-full);background:var(--bg-muted);color:var(--text-muted)}
.office-staff .ro-off.is-dec{text-decoration:line-through;opacity:.7}
.office-staff .ro-pub{display:flex;flex-direction:column;gap:9px;margin-top:12px}
.office-staff .ro-pv{display:flex;gap:11px;padding:10px 12px;border:1px solid var(--border);border-radius:10px}
.office-staff .ro-pv.is-cur{border-color:var(--brand);background:var(--brand-bg)}
.office-staff .ro-pv-v{font-family:var(--font-mono);font-size:13px;font-weight:700;color:var(--text-subtle);flex-shrink:0}
.office-staff .ro-pv.is-cur .ro-pv-v{color:var(--brand)}
.office-staff .ro-pv-h{font-size:12px;font-weight:600;display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.office-staff .ro-pv-l{margin:5px 0 0;padding-left:16px;font-size:11.5px;color:var(--text-muted);line-height:1.5}
.office-staff .ro-pv-n{font-size:10.5px;color:var(--text-subtle);margin-top:4px;font-family:var(--font-mono)}
.office-staff .pf-id{display:flex;align-items:center;gap:12px}
.office-staff .pf-av{width:44px;height:44px;background:var(--brand);color:var(--brand-fg);font-size:16px;flex-shrink:0}
.office-staff .pf-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.85fr);gap:16px;align-items:start}
.office-staff .pf-col{display:flex;flex-direction:column;gap:16px}
.office-staff .pf-avail{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin-top:11px}
.office-staff .pf-ad{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 0;border-radius:7px;font-size:10px;font-weight:600}
.office-staff .pf-ad.is-y{background:var(--paid-bg);color:var(--paid-text)}
.office-staff .pf-ad.is-n{background:var(--bg-muted);color:var(--text-subtle)}
.office-staff .pf-creds{display:flex;flex-direction:column;gap:7px;margin-top:12px}
.office-staff .pf-cred{display:flex;gap:13px;align-items:flex-start;padding:11px 13px;border:1px solid var(--border);border-radius:10px}
.office-staff .pf-cred--void{border-color:var(--void-border);background:var(--void-bg)}
.office-staff .pf-cred--hold{border-color:var(--hold-border);background:var(--hold-bg)}
.office-staff .pf-cred-l{font-size:13px;font-weight:600}
.office-staff .pf-cred-r{font-family:var(--font-mono);font-size:11.5px;color:var(--text-muted);margin-top:1px}
.office-staff .pf-cred-n{font-size:11.5px;line-height:1.45;margin-top:4px}
.office-staff .pf-cred-e{text-align:right;flex-shrink:0}
.office-staff .pf-cred-e span{display:block;font-size:9.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--text-subtle)}
.office-staff .pf-cred-e strong{display:block;font-family:var(--font-mono);font-size:13px}
.office-staff .pf-cred-e em{display:block;font-size:10.5px;color:var(--text-muted);font-style:normal}
.office-staff .pf-cred-g{flex-shrink:0;min-width:132px;text-align:right}
.office-staff .pf-gate{font-size:10px;font-weight:600;padding:3px 8px;border-radius:var(--radius-full);background:var(--paid-bg);color:var(--paid-text)}
.office-staff .pf-gate.is-off{background:var(--void-bg);color:var(--void-text)}
.office-staff .pf-gates{display:flex;flex-direction:column;gap:6px;margin-top:12px}
.office-staff .pf-gaterow{display:flex;gap:10px;align-items:flex-start;padding:9px 11px;border-radius:9px;background:var(--bg-subtle)}
.office-staff .pf-gaterow.is-no{background:var(--void-bg)}
.office-staff .pf-lims{display:flex;flex-direction:column;gap:7px;margin-top:12px}
.office-staff .pf-lim{display:flex;gap:13px;align-items:center;padding:9px 11px;border:1px solid var(--border);border-radius:9px}
.office-staff .pf-auths{display:flex;flex-direction:column;gap:6px;margin-top:12px}
.office-staff .pf-auth{display:flex;gap:10px;align-items:flex-start;text-align:left;width:100%;padding:9px 11px;border:1px solid var(--border);border-radius:9px;background:var(--surface);cursor:pointer;font:inherit}
.office-staff .pf-auth.is-on{border-color:var(--brand);background:var(--brand-bg)}
.office-staff .pf-auth.is-on .iaq-toggle-sw{background:var(--brand)}
.office-staff .pf-auth.is-on .iaq-toggle-sw span{left:14px}
.office-staff .pf-auth.is-blocked{opacity:.62;cursor:not-allowed;background:var(--bg-subtle)}
.office-staff .pf-audit{display:flex;flex-direction:column;margin-top:11px}
.office-staff .pf-arow{padding:7px 0;border-top:1px solid var(--border)}
.office-staff .pf-arow:first-child{border-top:0}
.office-staff .pf-arow-m{font-family:var(--font-mono);font-size:10.5px;color:var(--text-subtle);margin-top:2px}
.office-staff .pf-docs,.office-staff .pf-acks{display:flex;flex-direction:column;gap:6px;margin-top:12px}
.office-staff .pf-doc{display:flex;gap:10px;align-items:center;padding:9px 11px;border:1px solid var(--border);border-radius:9px;color:var(--text-muted)}
.office-staff .pf-ack{display:flex;gap:10px;align-items:flex-start;padding:8px 10px;border-radius:8px;background:var(--bg-subtle)}
.office-staff .pf-ack.is-n{background:var(--hold-bg)}
.office-staff .pf-offb{border-color:var(--void-border);box-shadow:inset 3px 0 0 var(--void-text);margin-bottom:16px}
.office-staff .pf-osteps{display:flex;flex-direction:column;gap:6px;margin-top:12px}
.office-staff .pf-ostep{display:flex;gap:10px;align-items:flex-start;padding:8px 10px;border-radius:8px;background:var(--bg-subtle)}

/* Cards and shared form surfaces. */
.office-staff .pg-card{padding:16px 18px;margin-bottom:16px}
.office-staff .pg-card-h{font-size:13px;font-weight:600;letter-spacing:-.01em;line-height:1.4;margin-bottom:4px}
.office-staff .pg-card-s{font-size:12px;color:var(--text-muted);line-height:1.5;margin-bottom:12px;overflow-wrap:anywhere}
.office-staff .pg-fact{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:9px 0;border-bottom:1px solid var(--border-subtle);font-size:12px;line-height:1.5}
.office-staff .pg-fact:last-child{border-bottom:0}
.office-staff .pg-fact>span{color:var(--text-muted)}
.office-staff .pg-fact>strong{font-weight:600;text-align:right;overflow-wrap:anywhere}
.office-staff .pc-note,.office-staff .pc-warn{display:flex;align-items:flex-start;gap:10px;margin:12px 0 16px;padding:11px 14px;border:1px solid var(--border);border-radius:9px;background:var(--bg-subtle);color:var(--text-muted);font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.office-staff .pc-warn{border-color:var(--hold-border);background:var(--hold-bg);color:var(--hold-text)}
.office-staff .pc-submit{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid var(--border);margin-top:16px;padding-top:14px}
.office-staff .pc-submit-s{font-size:11.5px;color:var(--text-muted);line-height:1.5;max-width:65ch}
.office-staff .xp-empty,.office-staff .staff-empty{padding:24px 18px;font-size:13px;color:var(--text-muted);line-height:1.5}
.office-staff .staff-field,.office-staff .staff-form-grid>label,.office-staff .staff-training-fields>label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:12px;font-weight:500;color:var(--text-muted)}
.office-staff .staff-field{margin-bottom:12px}
.office-staff .staff-field>span{line-height:1.4}
.office-staff .staff-form,.office-staff .staff-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;row-gap:12px;align-items:start}
.office-staff .staff-form .staff-field{margin:0}
.office-staff .staff-form>.staff-actions{grid-column:1/-1}
.office-staff .staff-actions,.office-staff .staff-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.office-staff .staff-actions{padding-top:12px}
.office-staff .input{box-sizing:border-box;width:100%;min-width:0;font:inherit;font-size:13px;line-height:1.4;padding:8px 10px;border:1px solid var(--border-strong);border-radius:7px;background:var(--surface);color:var(--text)}
.office-staff textarea.input{resize:vertical;min-height:78px}
.office-staff input.input:read-only,.office-staff textarea.input:read-only{background:var(--bg-subtle)}
.office-staff input[type=checkbox]{accent-color:var(--brand);flex-shrink:0}
.office-staff :is(button,input,select,textarea):focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.office-staff :is(button,input,select,textarea):disabled{cursor:not-allowed;opacity:.58}
.office-staff .off-table-toolbar>b{margin-right:auto;font-size:13px;font-weight:600}
.office-staff .staff-table-scroll,.office-staff .staff-training-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.office-staff .staff-table-scroll>.off-grid{min-width:920px}
.office-staff .off-grid-cell{overflow-wrap:anywhere;min-width:0}
.office-staff .off-grid-cell .off-muted{font-size:11px;margin-top:3px;line-height:1.4}
.office-staff .off-cell-mono{font-family:var(--font-mono);font-variant-numeric:tabular-nums}
.office-staff .staff-profile>.off-subtabs{padding:0 12px;margin-bottom:16px;border:1px solid var(--border);border-top:0;background:var(--surface)}
.office-staff .staff-profile>.off-table-toolbar{border:1px solid var(--border);border-radius:10px 10px 0 0;background:var(--surface)}
.office-staff .staff-profile>.off-table-toolbar .btn:first-child{margin-right:4px}
.office-staff .staff-profile .pf-avail>label{display:flex;flex-direction:column;align-items:center;gap:6px;padding:9px 4px;border:1px solid var(--border);border-radius:7px;background:var(--bg-subtle);font-size:11px;color:var(--text-muted)}
.office-staff .staff-credential,.office-staff .staff-document{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;margin:14px 0;padding:14px;border:1px solid var(--border);border-radius:9px;background:var(--bg-subtle);font-size:12px;line-height:1.5}
.office-staff .staff-credential .staff-field,.office-staff .staff-document .staff-field{margin:0}
.office-staff .staff-credential>button,.office-staff .staff-document>button{justify-self:start}
.office-staff .staff-document a{color:var(--brand);overflow-wrap:anywhere}

/* Training summary and six-column certification ledger. */
.office-staff .staff-training .off-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}
.office-staff .staff-training .off-kpi-grid>div{min-width:0}
.office-staff .staff-training .off-kpi{height:100%;box-sizing:border-box;border:1px solid var(--border);border-radius:10px;background:var(--surface);padding:16px 18px}
.office-staff .staff-training .off-kpi-label{font-size:12px;color:var(--text-muted);margin-bottom:8px}
.office-staff .staff-training .off-kpi-value{font-size:26px;font-weight:600;letter-spacing:-.025em;line-height:1.2;font-variant-numeric:tabular-nums}
.office-staff .staff-training .off-kpi-delta{font-size:11px;color:var(--text-subtle);line-height:1.4;margin-top:7px}
.office-staff .staff-training-toolbar,.office-staff .staff-training-editor>.off-table-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:14px 18px;border-bottom:1px solid var(--border);flex-wrap:wrap}
.office-staff .staff-training .off-table-title{font-size:14px;font-weight:600;line-height:1.4}
.office-staff .staff-training .off-table-meta{font-size:11.5px;color:var(--text-muted);line-height:1.5;margin-top:3px;max-width:75ch}
.office-staff .staff-training-filters .input:first-child{flex:1 1 220px}
.office-staff .staff-training-filters select{flex:0 1 190px;width:auto}
.office-staff .staff-training-grid{min-width:760px}
.office-staff .staff-training-avatar{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--brand);color:var(--brand-fg);font-size:10px;font-weight:600;flex-shrink:0}
.office-staff .staff-training-course{appearance:none;border:0;padding:0;background:transparent;color:var(--text);font:inherit;font-weight:600;line-height:1.45;text-align:left;cursor:pointer}
.office-staff .staff-training-course:hover:not(:disabled){color:var(--brand);text-decoration:underline;text-underline-offset:3px}
.office-staff .staff-training-course:disabled{opacity:1;cursor:default}
.office-staff .staff-training-provider{font-size:11px;margin-top:4px}
.office-staff .staff-training-table>.pc-note{margin:0;border:0;border-radius:0;background:var(--surface)}
.office-staff .staff-training-editor{margin-top:16px}
.office-staff .staff-training-fields{min-width:0}
.office-staff .staff-training-fields>.staff-training-required{display:flex;flex-direction:row;align-items:center;gap:8px;margin:16px 0;font-weight:500;color:var(--text)}
.office-staff .off-pill{display:inline-flex;align-items:center;white-space:nowrap;font-size:10.5px;font-weight:600;line-height:1.4;border-radius:var(--radius-full);padding:3px 8px;background:var(--bg-muted);color:var(--text-muted)}
.office-staff .off-pill--brand{background:var(--brand-bg);color:var(--brand)}
.office-staff .off-pill--paid{background:var(--paid-bg);color:var(--paid-text)}
.office-staff .off-pill--hold{background:var(--hold-bg);color:var(--hold-text)}
.office-staff .off-pill--void{background:var(--void-bg);color:var(--void-text)}
.office-staff .off-pill--sched{background:var(--sched-bg);color:var(--sched-text)}

/* Semantic roster table retains reference cells and shift colours. */
.office-staff table.ro-grid{display:table;width:100%;min-width:980px;table-layout:fixed;border-collapse:collapse;font-size:12px}
.office-staff table.ro-grid th,.office-staff table.ro-grid td{vertical-align:top;text-align:left;padding:8px;border-right:1px solid var(--border-subtle);border-bottom:1px solid var(--border-subtle)}
.office-staff table.ro-grid th{font-weight:600;background:var(--bg-subtle);color:var(--text-muted)}
.office-staff table.ro-grid th:first-child,.office-staff table.ro-grid td:first-child{width:180px;background:var(--bg-subtle)}
.office-staff table.ro-grid td:not(:first-child){height:70px}
.office-staff table.ro-grid th:last-child,.office-staff table.ro-grid td:last-child{border-right:0}
.office-staff button.ro-shift{display:flex;flex-direction:column;gap:3px;box-sizing:border-box;width:100%;text-align:left;font:inherit;color:var(--text);border-top:0;border-right:0;border-bottom:0;cursor:pointer;margin:0 0 5px;line-height:1.4}
.office-staff button.ro-shift:hover:not(:disabled){box-shadow:0 0 0 1px var(--ro-c)}
.office-staff .ro-grid-scroll,.office-staff .staff-roster-scroll{overflow-x:auto;max-width:100%}

@media (max-width:1280px){
  .office-staff .ro-checks,.office-staff .pf-two{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:900px){
  .office-staff .rs-inv{grid-template-columns:minmax(0,1fr)}
  .office-staff .staff-training .off-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .office-staff>.off-screen-header{flex-wrap:wrap;align-items:flex-start}
  .office-staff .ro-cbig{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:600px){
  .office-staff>.off-screen-header{padding:14px 12px}
  .office-staff>.off-screen-body{padding:12px}
  .office-staff>.off-subtabs{padding:0 8px;gap:0}
  .office-staff .off-subtab{padding:10px;font-size:12px}
  .office-staff .staff-form,.office-staff .staff-form-grid,.office-staff .staff-credential,.office-staff .staff-document{grid-template-columns:minmax(0,1fr)}
  .office-staff .pg-card{padding:14px}
  .office-staff .staff-training-toolbar{padding:12px}
  .office-staff .staff-training-filters select{flex:1 1 140px}
  .office-staff .staff-training .off-kpi{padding:12px}
  .office-staff .staff-training .off-kpi-value{font-size:24px}
  .office-staff .ro-head,.office-staff .rs-head{padding:12px}
  .office-staff .ro-week,.office-staff .rs-week{flex-wrap:wrap}
  .office-staff .pf-avail{gap:3px}
  .office-staff .staff-profile .pf-avail>label{padding:8px 2px}
  .office-staff .ro-cbig{grid-template-columns:minmax(0,1fr)}
  .office-staff .pc-submit{align-items:flex-start}
}

/* Live workspace layout hooks; retain the reference's compact header and cards. */
.office-staff>.off-screen-header{align-items:center;min-height:76px}
.office-staff .staff-week{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.office-staff .staff-editor{padding:18px;margin-bottom:16px}
.office-staff .staff-editor h3{margin:0 0 8px;font-size:15px}
.office-staff .staff-editor fieldset{border:0;margin:0 0 16px;padding:0;min-width:0}
.office-staff .staff-change{display:grid;grid-template-columns:minmax(140px,1fr) minmax(180px,1fr) minmax(180px,2fr);gap:16px;padding:14px 18px;border-bottom:1px solid var(--border-subtle);font-size:12px;overflow-wrap:anywhere}
.office-staff .staff-change:last-child{border-bottom:0}
.office-staff table.ro-grid th small{display:block;margin-top:5px;font-size:11px;font-weight:400;color:var(--text-muted)}
.office-staff .off-table-toolbar>div:first-child{margin-right:auto}
.office-staff .off-grid-cell{white-space:normal}
.office-staff .rs-av{display:flex;align-items:center;justify-content:center;border-radius:50%}
.office-staff .staff-credential-expired{color:var(--void-text)}
@media(max-width:700px){.office-staff .staff-change{grid-template-columns:1fr;gap:5px}}
/* My work (072): the design's variance colours and flagged row (office.css 4041–4056), plus "Ask me first" availability, which the design has no state for. */
.office-staff .pc-up{color:var(--void-text);font-weight:600}
.office-staff .pc-down{color:var(--paid-text);font-weight:600}
.office-staff .pc-row--flag{box-shadow:inset 3px 0 0 var(--hold)}
.office-staff .ro-ac.is-a{background:var(--hold-bg);color:var(--hold-text)}
.office-staff .xp-note{margin-top:12px;padding:9px 11px;background:var(--bg-subtle);border-radius:8px;font-size:11.5px;color:var(--text-muted);line-height:1.5}
.office-staff .staff-work-queue{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}
