.staffTools{display:flex;justify-content:flex-end;margin:0 0 16px}
.staffSection{margin-block:14px}.staffSection h2{font-size:1.2rem;letter-spacing:-.025em;margin:0 0 12px}
.staffRow{display:flex;align-items:center;gap:14px;border-top:1px solid var(--ui-line,var(--line));padding:14px 0}
.staffRow>div:first-child{flex:1;min-width:0}.staffRow strong,.staffRow small{display:block;overflow-wrap:anywhere}
.staffRow small,.staffStatus{font-size:.85rem;color:var(--ui-muted,var(--muted))}
.staffPending{max-width:180px;border-radius:6px;padding:6px 9px;background:color-mix(in srgb,var(--ui-accent,var(--brand)) 9%,transparent);color:var(--ui-text,var(--ink));font-weight:600}
.businessSections .panelHead{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.businessSections .panelHead h2{margin-bottom:5px}.businessSections p.muted{font-size:.85rem}
.sectionRow{display:flex;gap:16px;justify-content:space-between;align-items:center;padding:13px 0;border-top:1px solid var(--ui-line,var(--line))}
.sectionRow>div:first-child{min-width:0}.sectionRow strong{overflow-wrap:anywhere}.sectionRow small{display:block;color:var(--ui-muted,var(--muted));font-size:.8rem;margin-top:3px}
.sectionArchive{margin-top:12px}.sectionArchive summary{cursor:pointer;font-weight:600;padding:8px 0}
@media(max-width:620px){.sectionRow{align-items:flex-start;flex-wrap:wrap}.sectionRow .actions{width:100%;gap:8px}.sectionRow .btn{min-height:40px}}
.staffColumns{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.staffPaySettings{margin:4px 0;padding:14px 16px;border:1px solid var(--ui-line,var(--line));border-radius:8px;min-width:0}
.staffPaySettings legend{font-weight:650;padding:0 5px}.staffPaySettings p{font-size:.82rem;line-height:1.45;margin:6px 0 0}
.staffRowActions{flex-wrap:wrap;justify-content:flex-end}
.staffGrants{border:1px solid var(--ui-line,var(--line));padding:12px 15px;margin:6px 0;min-width:0}
.staffGrants summary,.staffGrants legend{font-weight:650}.staffGrants summary{cursor:pointer}
.staffChecks{display:grid;grid-template-columns:1fr 1fr;gap:6px 16px;padding-block:8px}
.staffCheck{display:flex;align-items:center;gap:8px;min-height:38px;font-size:.9rem}
.staffCheck input{width:18px;height:18px;margin:0;accent-color:var(--ui-accent,var(--brand))}
.noticeBell{position:relative}.noticeDot{position:absolute;width:7px;height:7px;border-radius:50%;background:var(--ui-accent,var(--brand));top:9px;right:8px}
.appearanceField{min-width:0;border:0;margin:0;padding:0}.appearanceField legend{font-weight:650;margin-bottom:8px}.accountAppearance{margin-top:16px}
body[data-mode=access] #side,body[data-mode=access] #bottom,body[data-mode=access] .foot{display:none}
body[data-mode=access] .appBody{margin:0}body[data-mode=access] .crumbBrand{display:inline-flex}
@media(max-width:620px){.staffColumns,.staffChecks{grid-template-columns:1fr}.staffRow{flex-wrap:wrap;gap:8px}.staffTools{justify-content:flex-start}}

/* Attendance describes a confirmed open punch. Its colors are independent of the brand. */
body[data-surface="system"] .orel-presence-dot {
  display:inline-block;box-sizing:border-box;width:8px;height:8px;border-radius:50%;
  margin-inline-end:.5em;flex:none;vertical-align:.06em;background-color:#82888e;
}
body[data-surface="system"] .orel-presence-dot[data-present="true"] {
  background-color:#188443;box-shadow:0 0 0 2px rgb(24 132 67 / 14%);
}
html[data-theme="dark"] body[data-surface="system"] .orel-presence-dot {background-color:#959ba1;}
html[data-theme="dark"] body[data-surface="system"] .orel-presence-dot[data-present="true"] {
  background-color:#65d789;box-shadow:0 0 0 2px rgb(101 215 137 / 16%);
}
.db-off-duty {margin-top:12px;border-top:1px solid var(--db-line,var(--line));padding-top:8px;}
.db-off-duty summary {cursor:pointer;padding-block:6px;color:var(--db-muted);font-size:.83rem;}
.db-off-duty ul {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(145px,100%),1fr));gap:8px 12px;padding:0;list-style:none;}
.db-off-duty li {font-size:.84rem;}

.staffPerson{display:flex;align-items:center;gap:10px;min-width:0}.staffPerson>div{min-width:0}.staffPayLabel{margin-top:4px;padding-inline-start:44px}
