.staff-date-picker {
  width:100%;
  min-width:0;
  padding:clamp(4px,1.3vw,12px);
  color:var(--hf-ink);
  background:var(--hf-surface);
  border:1px solid var(--hf-line);
  border-radius:12px;
  font-size:.9rem;
}
.staff-date-picker-nav,.staff-date-picker-grid {
  display:grid;
  gap:clamp(2px,.55vw,6px);
  text-align:center;
}
.staff-date-picker-nav {
  grid-template-columns:42px minmax(0,1fr) 42px;
  align-items:center;
  margin-bottom:8px;
}
.staff-date-picker-grid { grid-template-columns:repeat(7,minmax(0,1fr)); }
.staff-date-picker-weekday { color:var(--hf-muted); font-size:.74rem; font-weight:650; }
.employee-workspace .staff-date-picker :is(.staff-date-picker-day,[data-picker-month],[data-picker-hours-retry]) {
  display:grid;
  place-items:center;
  min-width:0;
  min-height:44px;
  padding:0;
  border:1px solid var(--hf-line);
  border-radius:8px;
  color:var(--hf-ink);
  background:var(--hf-bg,var(--hf-surface));
  font:inherit;
  line-height:1;
}
.employee-calendar-arrow { display:block; flex:none; }
.staff-date-picker[data-show-shifts] .staff-date-picker-day {
  min-height:clamp(84px,11vw,108px);
  grid-template-rows:auto 1fr;
  align-items:start;
  gap:4px;
  padding:6px 1px;
}
.staff-date-picker-date-number { font-weight:750; font-variant-numeric:tabular-nums; }
.staff-date-picker-details { display:block; width:100%; min-width:0; }
.employee-workspace .staff-date-picker .staff-date-picker-day[data-working="true"] { background:var(--hf-header); }
.employee-workspace .staff-date-picker .staff-date-picker-day[data-time-off="true"] { border-style:dashed; }
.employee-workspace .staff-date-picker :is(.staff-date-picker-day,[data-picker-month],[data-picker-hours-retry]):not(:disabled,[aria-pressed="true"],[aria-disabled="true"]):hover { background:var(--hf-header); border-color:var(--hf-accent); }
.employee-workspace .staff-date-picker .staff-date-picker-day[aria-pressed="true"] {
  color:var(--hf-accent);
  background:var(--hf-selected,var(--hf-soft,var(--hf-header)));
  border-color:var(--hf-accent);
  box-shadow:inset 0 0 0 1px var(--hf-accent);
  font-weight:750;
}
.employee-workspace .staff-date-picker .staff-date-picker-day[data-range-middle] { box-shadow:none; border-color:var(--hf-line); }
.staff-date-picker button[aria-current="date"] .staff-date-picker-date-number { text-decoration:underline; text-underline-offset:2px; }
.staff-date-picker button:disabled { opacity:.55; cursor:default; }
.employee-workspace .staff-date-picker .staff-date-picker-day[aria-disabled="true"],
.employee-workspace .staff-date-picker .staff-date-picker-day[aria-disabled="true"]:hover {
  color:var(--hf-muted);
  background:var(--hf-surface);
  border-style:dashed;
  cursor:default;
}
.staff-date-picker-feedback { margin:8px 0 0; color:var(--hf-muted); font-size:.82rem; }
.staff-date-picker-feedback:empty { display:none; }
.staff-date-picker button:focus-visible { outline-offset:1px; }
.staff-date-picker .staff-date-picker-summary {
  min-height:1.35em;
  margin:8px 0 0;
  color:var(--hf-muted);
  font-size:.8rem;
  font-weight:650;
}
.staff-date-picker[data-show-restrictions] .staff-date-picker-summary { margin:0 0 8px; }
.staff-date-picker-hours {
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:5px;
  color:var(--hf-muted);
  font-size:.77rem;
}
.staff-date-picker-hours:has([data-picker-hours-message]:empty) { display:none; }
.staff-date-picker .staff-date-picker-hours button {
  display:inline-grid;
  min-height:32px;
  padding-inline:8px;
  color:var(--hf-accent);
  font-weight:650;
}
.staff-date-picker .staff-date-picker-hours button[hidden] { display:none; }
.staff-shift-tile {
  display:grid;
  justify-items:center;
  min-width:0;
  max-width:100%;
  gap:2px;
  color:var(--hf-ink);
  font-size:clamp(.64rem,1.2vw,.82rem);
  font-weight:650;
  line-height:1.16;
  text-align:center;
  font-variant-numeric:tabular-nums;
}
.staff-shift-tile-time {
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:center;
  column-gap:2px;
}
.staff-shift-tile-end > span:first-child::before { content:"–"; margin-inline-end:1px; }
.staff-shift-tile-period { font-size:.83em; }
.staff-shift-tile-note,.staff-shift-tile-off {
  color:var(--hf-muted);
  overflow-wrap:anywhere;
}
.staff-shift-tile-note { margin-top:1px; font-size:.86em; }
