.position-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: none;
  vertical-align: -.12em;
}
#team-scroll td .shift-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  line-height: 1;
}
#team-scroll .shift-amount .shift-hours-number { font-size: 1.55rem; font-variant-numeric: tabular-nums; }
#team-scroll .shift-amount.long .shift-hours-number { font-size: 1rem; }
.shift-job-list {
  border: 0;
  padding: 0;
  margin: 0 0 14px;
  min-width: 0;
}
.shift-job-list legend { font-weight: 650; margin-bottom: 6px; }
.shift-job-row {
  display: flex;
  align-items: stretch;
  gap: 4px;
  overflow-x: auto;
  padding: 2px;
}
.shift-job-list .job-option {
  flex: 0 0 auto;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  margin: 0;
  border: 1px solid #c8d5cc;
  border-radius: 7px;
  color: #294a3a;
  cursor: pointer;
}
.shift-job-list .job-option:has(input:checked) { background: #e3f0e4; border-color: #5a896c; }
.shift-job-row .job-option input[type=radio] {
  flex: 0 0 15px;
  box-sizing: border-box;
  appearance: none;
  width: 15px;
  height: 15px;
  margin: 0;
  padding: 0;
  border: 1px solid #81978a;
  border-radius: 4px;
  display: inline-grid;
  place-content: center;
}
.shift-job-row .job-option input:checked { background: #216747; border-color: #216747; }
.job-option input[type=radio]::after {
  visibility: hidden;
  content: '';
  width: 7px;
  height: 4px;
  border: solid white;
  border-width: 0 0 2px 2px;
  transform: translateY(-1px) rotate(-45deg);
}
.job-option input:checked::after { visibility: visible; }
.job-option input:focus-visible { outline: 2px solid #28679b; outline-offset: 2px; }
#shift-department-options .shift-job-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(8rem, calc((100% - 8px) / 2))), 1fr));
  gap: 8px;
  overflow: visible;
}
#shift-department-options .job-option {
  white-space: normal;
  overflow-wrap: anywhere;
}
#shift-department-options .job-option input { flex: none; }
.shift-job-list small { display: block; margin: 0 0 6px; }
#shift-job-options[hidden] { display: none; }

.position-picker{border:0;padding:0;margin:18px 0;min-width:0}
.position-picker legend{font-weight:650;margin-bottom:10px}
.position-picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:48vh;overflow:auto;padding:3px}
.position-picker-grid .position-choice{display:flex;align-items:center;gap:6px;margin:0;padding:10px 7px;border:1px solid #c8d5cc;border-radius:8px;cursor:pointer;font-size:12px;overflow-wrap:anywhere}
.position-choice:has(input:checked){background:#e3f0e4;border-color:#216747;box-shadow:inset 0 0 0 1px #216747}
.position-choice:focus-within{outline:2px solid #28679b;outline-offset:1px}
.position-choice input[type=radio]{width:14px;height:14px;padding:0;margin:0;flex:none;accent-color:#216747}
.position-choice .position-icon{width:22px;height:22px}
@media(max-width:480px){.position-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
