/* Shared date controls inherit the existing graphite/silver design tokens. */
.workerHistory,.requestReviewCenter,.operatingDashboard,.dataCenter,.workerRoster{min-height:calc(100dvh - 150px);box-sizing:border-box}
.workerHistory{max-width:820px;margin:auto;padding:20px 16px}
.workerHistory .hoursCentre{padding:10px 0 18px;display:flex;gap:5px;align-items:center;flex-direction:column}
.workerHistory .hoursCentre>strong{font-size:26px;color:var(--product-ink)}
.workerHistory .hoursCentre>small{font-size:11px;color:var(--product-muted)}
.rosterBoard [hidden]{display:none!important}
.rosterRangeOverview{display:grid;gap:8px;margin:10px 0}
.rosterRangeOverview>p{font-size:12px;color:var(--product-muted)}
.rosterRangeOverview>button{display:grid;grid-template-columns:1fr auto;gap:6px;padding:14px;text-align:left;background:var(--product-surface);color:var(--product-ink);border:1px solid var(--product-line);border-radius:14px}
.rosterRangeOverview>button strong{font-size:14px}
.rosterRangeOverview>button span,.rosterRangeOverview>button small{font-size:11px;color:var(--product-muted)}
.rosterRangeOverview>button small{grid-column:1/-1;overflow-wrap:anywhere}
.requestSortBar,.dashboardFilterBar{display:flex;justify-content:flex-end;margin:0 0 8px}
.requestSortBar label{max-width:180px}
.opsPeriodControl .opsCalendarCount{font-size:9px;line-height:1.3;font-weight:400}
.opsPeriodModes button:focus-visible,.opsPeriodControl button:focus-visible{outline:2px solid var(--product-ink);outline-offset:-2px}

/* Compact roster weeks share motion without adding statistics modes. */
[data-roster-week-swipe]{touch-action:pan-y;user-select:none;-webkit-user-select:none}
.rosterWeekViewport{position:relative;overflow:hidden;isolation:isolate}
.rosterWeekMotion{position:absolute;inset:0 auto 0 0;width:300%;display:flex;pointer-events:none;transform:translate3d(calc(-100% / 3),0,0);will-change:transform}
.rosterWeekMotionPanel{flex:0 0 calc(100% / 3);min-width:0;overflow:hidden}
.workerRoster [data-roster-week-swipe]{position:relative}.workerRoster .rosterWeekNav{padding-right:64px;grid-template-columns:32px minmax(0,1fr) 32px}.workerRoster .rosterWeekToday{position:absolute;right:0;top:0;min-height:36px;width:60px;padding:0 3px;border:0;border-radius:10px;background:var(--panel,#fff);color:inherit;font-size:11px}

.opsAllTimeButton{width:100%;min-height:48px;margin:4px 0 14px;padding:12px 16px;text-align:left;border:1px solid var(--product-line,#ddd);border-radius:14px;background:var(--product-surface,#fff);color:inherit;font:inherit;font-weight:600}.opsCustomHeading{font-size:13px;color:var(--product-muted,#777);margin:4px 0 12px}

/* Work history retains a compact summary and exposes every persisted segment. */
.workerHistory .historyRecord{border-bottom:1px solid var(--line)}
.workerHistory .historyRecord>summary{list-style:none;cursor:pointer;border-bottom:0;align-items:center;min-height:76px}
.workerHistory .historyRecord>summary::-webkit-details-marker{display:none}
.workerHistory .historyRecord>summary:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:10px}
.workerHistory .historySummaryText{min-width:0}.workerHistory .historySummaryText b{overflow-wrap:anywhere;white-space:normal}
.workerHistory .historyExpandLabel{display:block;margin-top:8px;font-size:12px;color:var(--muted)}
.workerHistory .historyExpandLess,.workerHistory .historyRecord[open] .historyExpandMore{display:none}
.workerHistory .historyRecord[open] .historyExpandLess{display:inline}
.workerHistory .historyRecordDetails{padding:0 0 16px}
.workerHistory .historySegment{padding:16px;border:1px solid var(--line);border-radius:16px;margin:0 0 10px;background:var(--card,var(--paper))}
.workerHistory .historySegment header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.workerHistory .historySegment header b{font-size:14px;overflow-wrap:anywhere;flex:1;min-width:140px}
.workerHistory .historySegment dl{margin:14px 0 0;display:grid;gap:9px;font-size:13px}
.workerHistory .historySegment dl>div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px}
.workerHistory .historySegment dt{color:var(--muted)}.workerHistory .historySegment dd{margin:0;text-align:right;overflow-wrap:anywhere}
.workerHistory .historyReviewNote{padding:12px 4px;font-size:13px}.workerHistory .historyReviewNote p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}
.workerHistory .historyReviewedAt{display:block;padding:0 4px;color:var(--muted);font-size:11px}
