/* Workspace: To do (Tasks, Follow-ups) and Team (Attendance, People,
   Departments, one person, Payroll), on the language in home.css and the band
   and sheet of bills.css. Loaded after them.

   Each of these is a list or a record, so each has the indigo band joined to
   the rail and a white sheet on the paper. A screen of standing (the day's
   attendance, a person's month, the month's pay) carries the one figure that
   leads on its band; a list (tasks, follow-ups, people) carries none, and
   says what it comes to in its sheet's first line. A line is told by a bare
   icon and its words: green for done or in, amber for waiting, red for late
   or absent. */

/* ---------- shared ---------- */
.ws3 .page-sub { display: block; max-width: 72ch; margin-top: 4px; font-size: var(--t-body); color: var(--on-indigo-dim); }
.ws3 .b-none { display: grid; justify-items: center; gap: 4px; padding: 48px 24px; text-align: center; }
.ws3 .b-none b { font-size: var(--t-head); font-weight: 600; }
.ws3 .b-none p { margin: 0; max-width: 52ch; font-size: var(--t-body); color: var(--muted); }
.ws3 .b-card h2 { font-size: var(--t-head); font-weight: 600; letter-spacing: -0.01em; }
.ws3 .b-card .sub, .ws3 .hint, .ws3 .empty { font-size: var(--t-small); line-height: 1.5; color: var(--muted); }
.ws3 .empty { margin: 0; font-size: var(--t-body); }
.ws3 .linkish { font-size: var(--t-small); }
.ws-pad { padding: 24px; }
.ws-pad > .b-sum { padding: 0 0 16px; }
.ws-pad .card-head { margin-bottom: 12px; }
.ws-foot { margin: 0 4px; font-size: var(--t-small); line-height: 1.5; color: var(--muted); }
.ws-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 16px 24px 8px; }
.ws-nudge { position: relative; font-size: var(--t-small); color: var(--on-indigo-dim); text-decoration: underline; text-underline-offset: 3px; }
.ws-nudge:hover { color: #fff; }
.ws-find { display: flex; flex: 1 1 240px; justify-content: flex-end; align-items: center; gap: 8px; min-width: 0; }
.ws-find .b-search { flex: 0 1 280px; }
.ws-select { flex: none; height: 36px; padding: 0 32px 0 12px; border: 0; border-radius: var(--r-ctl); font: inherit; font-size: var(--t-body); color: #fff; background: rgba(255, 255, 255, 0.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); appearance: none; -webkit-appearance: none; cursor: pointer; }
.ws-select option { color: var(--ink); }
/* how something stands: a bare mark and a few words */
.ws-stand { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.ws-stand svg { flex: none; color: var(--muted); }
.ws-stand.wait svg, .ws-stand.s-yellow { color: var(--wait); }
.ws-stand.s-green { color: var(--ok-ink); }
.ws-stand.s-violet, .ws-stand.s-teal, .ws-stand.s-plain { color: var(--muted); }
/* stepping through days and months, on the band */
.ws3 .b-mast .st-stepper { flex: none; gap: 8px; margin: 0; }
.ws3 .b-mast .st-stepper > b { flex: none; min-width: 112px; font-size: var(--t-head); font-weight: 600; color: #fff; }
.ws3 .b-mast .st-date { flex: none; display: flex; align-items: center; gap: 12px; }
.ws3 .b-mast .st-date b { font-size: var(--t-head); font-weight: 600; color: #fff; white-space: nowrap; }
.ws3 .b-mast .st-date .field { width: 148px; max-width: none; height: 36px; border-radius: var(--r-ctl); font-size: var(--t-body); color: #fff; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.ws3 .b-mast .pill:disabled { opacity: 0.4; pointer-events: none; }
/* the figure that leads a screen of standing */
.ws3 .p-bal { display: grid; gap: 4px; }
.ws3 .p-bal small { font-size: var(--t-small); color: var(--on-indigo-dim); }
.ws3 .p-bal b { font-size: var(--t-lead); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; font-variant-numeric: tabular-nums; color: #fff; }
.ws3 .p-bal b i { font-style: normal; font-size: var(--t-fig); font-weight: 500; letter-spacing: -0.02em; color: var(--on-indigo-dim); }
.ws3 .p-bal span { font-size: var(--t-body); color: var(--on-indigo-dim); }
.ws3 .face { width: 32px; height: 32px; border-radius: var(--r-ctl); font-size: var(--t-small); }
.ws3 .face.big { width: 56px; height: 56px; border-radius: var(--r-lg); font-size: var(--t-fig); }

/* ---------- Tasks: the list, and beside it what the books say needs doing ---------- */
.ws-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.ws-sheet { padding: 8px 12px 12px; }
.ws-add { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--hair); }
.ws-add input { flex: 1; min-width: 0; height: 40px; padding: 0; border: 0; background: none; font: inherit; font-size: var(--t-body); color: var(--ink); outline: none; }
.ws-add input::placeholder { color: var(--muted); }
.ws-div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 24px 12px 8px; }
.ws-div:first-child { padding-top: 16px; }
.ws-div span { font-size: var(--t-small); font-weight: 600; color: var(--ink); }
.ws-div small { font-size: var(--t-small); color: var(--muted); }
.ws-tasks { display: grid; }
.ws-task { display: flex; align-items: flex-start; gap: 12px; padding: 8px 12px; border-radius: var(--r-ctl); transition: background-color 150ms; }
.ws-task:hover { background: rgba(22, 23, 26, 0.04); }
.ws-tick { position: relative; flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 2px; padding: 0; border: 0; border-radius: 4px; background: var(--surface); color: transparent; cursor: pointer; box-shadow: inset 0 0 0 1.5px rgba(22, 23, 26, 0.32); transition: background-color 150ms, box-shadow 150ms, transform 200ms var(--spring); }
.ws-tick::after { content: ""; position: absolute; inset: -12px; }
.ws-tick:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.ws-tick[aria-checked="true"] { background: var(--ok); color: #fff; box-shadow: none; }
.ws-tick.ghost { cursor: default; box-shadow: inset 0 0 0 1.5px rgba(22, 23, 26, 0.16); }
.ws-tick.ghost::after { display: none; }
.ws-task-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ws-task-title { justify-self: start; max-width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; font-size: var(--t-body); font-weight: 500; line-height: 24px; color: var(--ink); overflow-wrap: anywhere; }
.ws-task-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.ws-task-main small { font-size: var(--t-small); line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.ws-task-main small .linkish { color: var(--ink); }
.ws-when { flex: none; font-size: var(--t-small); line-height: 24px; color: var(--muted); white-space: nowrap; }
.ws-when.late, .ws-when.now { color: var(--ink); font-weight: 500; }
.ws-div.late span { color: var(--bad); }
.ws-task.done .ws-task-title { color: var(--muted); text-decoration: line-through; }
.ws-tasks.slim { margin: 0 -12px; }
.ws-side { padding: 24px; }
.ws-side h2 { margin-bottom: 8px; }
.ws-side .h-rows { margin: 0 -12px; }
.ws-clear { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; font-size: var(--t-body); color: var(--muted); }
.ws-clear svg { flex: none; color: var(--ok); }
/* the task form: the day, and the days most often meant */
.ws-due { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ws-due .field { flex: 1 1 160px; width: auto; }
.ws-quick { display: flex; gap: 4px; }
.ws-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.ws-acts .pill { flex: 1 1 auto; justify-content: center; }

/* ---------- Follow-ups ---------- */
.ws-chase tr[data-name] { cursor: pointer; }
.ws-chase tr[data-name]:hover td, .ws-chase tr[data-name]:focus-visible td { background-color: rgba(22, 23, 26, 0.04); }
.ws-chase tr[data-name]:focus-visible { outline: none; }
.ws-chase tr[data-name]:focus-visible td { box-shadow: inset 0 2px 0 var(--ink), inset 0 -2px 0 var(--ink); }
.ws-chase td.c-party { width: 30%; max-width: 0; }
.ws-chase td small { display: block; font-size: var(--t-small); font-weight: 400; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.ws-chase td.c-party b { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.ws-chase td.c-stand { width: 34%; max-width: 0; overflow: hidden; }
.ws-chase td.c-do { text-align: right; }
.ws-chase td.c-do .pill { margin-left: 8px; }

/* ---------- Attendance: the day leads, on the band ---------- */
.att3 .att-now { display: grid; gap: 8px; align-content: start; min-width: 0; }
.att3 .att-bar { height: 6px; border-radius: 3px; gap: 2px; background: rgba(255, 255, 255, 0.12); }
.att3 .att-bar .s-off { background: rgba(255, 255, 255, 0.4); }
.att3 .att-bar .s-unmarked { background: rgba(255, 255, 255, 0.16); }
.att3 .att-bar .s-present { background: #4fd08a; }
.att3 .att-bar .s-half { background: var(--accent); }
.att3 .att-bar .s-absent { background: #ff8473; }
.att3 .att-bar .s-leave, .att3 .att-bar .s-holiday { background: #b9bcf4; }
.att3 .att-line { margin: 0; font-size: var(--t-body); font-weight: 400; color: var(--on-indigo-dim); }
.att3 .att-key { margin: 0; gap: 4px 16px; font-size: var(--t-small); color: var(--on-indigo-dim); }
.att3 .att-key i { width: 8px; height: 8px; margin-right: 8px; border-radius: 2px; vertical-align: 0; box-shadow: none; }
.att3 .att-key .s-present { background: #4fd08a; } .att3 .att-key .s-half { background: var(--accent); } .att3 .att-key .s-absent { background: #ff8473; }
.att3 .att-key .s-leave, .att3 .att-key .s-holiday { background: #b9bcf4; } .att3 .att-key .s-off { background: rgba(255, 255, 255, 0.4); } .att3 .att-key .s-unmarked { background: rgba(255, 255, 255, 0.16); }
.att3 .att-notes { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0 4px; }
.att3 .att-note { margin: 0; gap: 8px; font-size: var(--t-body); }
.att3 .att-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.att3 .att-rows { padding: 0 12px; }
.att3 .att-row { border-top: 0; border-radius: var(--r-ctl); }
.att3 .att-row + .att-row { border-top: 0; }
.att3 .att-group { border-top: 0; padding-top: 24px; }
.att3 .att-who b, .att3 .att-group b { font-size: var(--t-body); }
.att3 .att-who small, .att3 .att-group small, .att3 .att-group .linkish { font-size: var(--t-small); }
.att3 .att-marks button { font-size: var(--t-body); border-radius: var(--r-ctl); }
.att3 .st-extra { border-radius: var(--r-ctl); font-size: var(--t-small); }
.att3 .att-hint { margin: 0; padding: 16px 24px 24px; font-size: var(--t-small); line-height: 1.6; color: var(--muted); }
.att3 .att-hint kbd { font-size: var(--t-small); }

/* ---------- People ---------- */
.ws-people td.c-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ws-people td.c-who span { min-width: 0; display: grid; }
.ws-people td.c-who a { font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.ws-people td.c-who a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ws-people td.c-who small { font-size: var(--t-small); color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.ws-people td.c-who small:empty { display: none; }

/* ---------- Departments ---------- */
.ws3 .dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.ws3 .dept { display: grid; align-content: start; gap: 16px; padding: 24px; }
.ws3 .dept-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ws3 .dept-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ws3 .dept-figs b { display: block; font-size: var(--t-fig); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.ws3 .dept-figs small, .ws3 .dept-person small, .ws3 .dept-rest { font-size: var(--t-small); color: var(--muted); }
.ws3 .dept-people { display: grid; margin: 0 -8px; }
.ws3 .dept-person { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r-ctl); color: inherit; }
.ws3 .dept-person:hover { background: rgba(22, 23, 26, 0.04); }
.ws3 .dept-person > span:nth-child(2) { flex: 1; min-width: 0; display: grid; }
.ws3 .dept-person b { font-size: var(--t-body); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws3 .dept > .pill { justify-self: start; }
.ws3 .dept-offer { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }

/* ---------- one person ---------- */
.person3 .b-mast > .back { justify-self: start; margin: -8px 0 -4px -4px; color: var(--on-indigo-dim); font-size: var(--t-body); border-radius: var(--r-ctl); }
.person3 .b-mast > .back:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.person3 .who-lead { gap: 16px; }
.person3 .st-cal { gap: 4px; }
.person3 .st-day { height: 44px; border-radius: var(--r-ctl); font-size: var(--t-body); }
.person3 .st-dow, .person3 .st-key { font-size: var(--t-small); }
.person3 .st-key i { width: 8px; height: 8px; border-radius: 2px; margin-right: 8px; vertical-align: 0; }
.ws3 .line { padding: 8px 0; border: 0; font-size: var(--t-body); }
.ws3 .line + .line { border-top: 0; }
.ws3 .line > span:last-child { font-size: var(--t-body); font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.ws3 .line.total { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--hair); font-weight: 600; color: var(--ink); }
.ws3 .line small, .ws3 .st-line small { font-size: var(--t-small); }
.ws3 .rows .row { padding: 8px; border-radius: var(--r-ctl); }
.ws3 .rows .row + .row::before { display: none; }
.ws3 .row-name { font-size: var(--t-body); }
.ws3 .row-meta, .ws3 .row-val small { font-size: var(--t-small); }
.ws3 .row-val { font-family: inherit; font-size: var(--t-body); font-weight: 500; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.ws3 table.data { font-size: var(--t-body); }
.ws3 table.data th { font-size: var(--t-small); }
.ws3 table.data td { border-top: 0; padding: 8px 0 8px 16px; font-family: inherit; font-size: var(--t-body); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.ws3 table.data td:first-child { padding-left: 0; }
.ws3 .note { font-size: var(--t-small); border-radius: var(--r-ctl); }

/* ---------- Payroll ---------- */
.pay3 .st-payroll { padding-bottom: 12px; }
.pay3 .issues { padding: 0 12px; }
.pay3 .issue + .issue { border-top: 0; }
.pay3 .issue > summary { align-items: center; padding: 12px; border-radius: var(--r-ctl); }
.pay3 .issue > summary:hover { background: rgba(22, 23, 26, 0.04); }
.pay3 .issue .t b { font-size: var(--t-body); }
.pay3 .issue .t small, .pay3 .st-net small { font-size: var(--t-small); }
.pay3 .st-net { font-family: inherit; font-size: var(--t-body); font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.pay3 .st-net small { font-weight: 400; }
.pay3 .st-net small.paid { color: var(--ok-ink); font-weight: 500; }
.pay3 .issue-more { padding: 8px 12px 24px 56px; }
.ws3 .st-slip .actions { display: flex; flex-wrap: wrap; gap: 8px; }

@media (min-width: 1000px) {
  .ws-split { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); }
}
@media (max-width: 999px) {
  .ws-people .c-extra { display: none; }
  .pay3 .issue-more { padding-left: 12px; }
}
@media (max-width: 699px) {
  .ws-pad, .ws-side, .ws3 .dept { padding: 16px; }
  .ws-top { padding: 16px 16px 8px; }
  .ws3 .b-mast .st-date b { display: none; }
  .ws-add input { font-size: 16px; height: 44px; }
  .ws-find { flex-wrap: wrap; justify-content: stretch; }
  .ws-find .b-search, .ws-select { flex: 1 1 100%; }
  .ws-select, .ws3 .b-mast .st-date .field { height: 44px; font-size: 16px; }
  .ws-task { padding: 12px; }
  .ws3 .dept-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .ws-tick.pop { animation: ws-tick 320ms var(--spring); }
}
@keyframes ws-tick { 40% { transform: scale(1.25); } }

/* ---------- joined to the rest of the app ---------- */
/* a tile of the Analytics board that reads a Workspace answer: its box fills the tile, and a figure that leads somewhere is a link */
.wg-in > .work-tile { display: grid; min-width: 0; }
.board3 a.bd-stat { color: inherit; transition: border-color 150ms; }
.board3 a.bd-stat:hover { border-color: rgba(22, 23, 26, 0.28); }
.board3 .row-meta.neg { color: var(--bd-down); }
/* the day's bar is as long as a line of text */
.att3 .att-bar { max-width: 560px; }
.att3 .att-group { margin: 0; background: none; }
/* Record payment is said quietly beside the one button: there on every row, to the pointer and to Tab alike */
@media (min-width: 1000px) {
  .ws-chase td.c-do { white-space: nowrap; }
  .ws-chase td.c-do a.pill { background: none; box-shadow: none; color: var(--muted); }
  .ws-chase td.c-do a.pill:hover, .ws-chase td.c-do a.pill:focus-visible { background: rgba(22, 23, 26, 0.06); color: var(--ink); }
}
/* ---------- a phone ---------- */
@media (max-width: 699px) {
  /* attendance: the name in full on its own line, the four marks across the screen under it */
  .att3 .att-row { grid-template-columns: 32px minmax(0, 1fr) auto; grid-template-areas: "face who more" "marks marks marks"; gap: 8px 12px; padding: 12px 4px; }
  .att3 .att-row > .face { grid-area: face; }
  .att3 .att-who { grid-area: who; }
  .att3 .att-more { grid-area: more; }
  .att3 .att-more .st-extra { height: 44px; min-width: 44px; justify-content: center; }
  .att3 .att-more .st-extra:not(.on) span { display: none; }
  .att3 .att-week, .att3 .att-key, .att3 .att-keys { display: none; }
  .att3 .att-tools { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .att3 .att-tools .pill { flex: none; }
  .att3 .att-group { padding: 24px 4px 8px; }
  .att3 .att-marks { grid-area: marks; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .att3 .att-marks button { width: auto; min-width: 0; height: 44px; padding: 0 4px; }
  .att3 .att-marks .w { display: inline; }
  .att3 .att-marks .l { display: none; }
}

@media (max-width: 999px) {
  /* a follow-up is a card of its own: who and how much, how it stands and how late, then what to do */
  .b-table.ws-chase, .b-table.ws-chase tbody { display: block; }
  .b-table.ws-chase thead { display: none; }
  .b-table.ws-chase tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "party amt" "stand late" "do do"; align-items: start; gap: 4px 16px; padding: 12px 8px; border-radius: var(--r-ctl); }
  .b-table.ws-chase td, .b-table.ws-chase td:first-child, .b-table.ws-chase td:last-child { display: block; width: auto; max-width: none; padding: 0; white-space: normal; overflow: visible; }
  .b-table.ws-chase td.c-party { grid-area: party; }
  .b-table.ws-chase td.c-amt { grid-area: amt; text-align: right; }
  .b-table.ws-chase td.c-unpaid { grid-area: late; text-align: right; font-size: var(--t-small); color: var(--muted); }
  .b-table.ws-chase td.c-unpaid small { display: inline; margin-left: 4px; }
  .b-table.ws-chase td.c-stand { grid-area: stand; }
  .b-table.ws-chase .ws-stand { white-space: normal; }
  .b-table.ws-chase td.c-do { grid-area: do; display: flex; gap: 8px; padding-top: 8px; }
  .b-table.ws-chase td.c-do .pill { flex: 1; margin: 0; justify-content: center; }
  /* a band's buttons go under its name where they do not fit beside it */
  .bills3.ws3 .b-mast .page-head .actions.actions { flex: 1 1 100%; flex-wrap: wrap; min-width: 0; }
}
@media (max-width: 699px) {
  /* 44 to the finger: a button is as tall as that, and a link or a small mark reaches the rest */
  .ws3 .pill, .ws3 .b-mast .pill, .att3 .st-hours.field { height: 44px; }
  .ws3 .linkish, .att3 .att-who { position: relative; }
  .ws3 .linkish::after { content: ""; position: absolute; inset: -13px -4px; }
  .att3 .att-who { min-height: 44px; align-content: center; }
  .ws-task-title { padding: 10px 0; margin: -10px 0; }
  .ws-quick .chip, .ws3 .chip, .st-week .chip, .dept-offer .chip { height: 44px; }
  .ws3 .st-drop { width: 44px; height: 44px; }
  .ws-nudge::after { content: ""; position: absolute; inset: -14px -4px; }
}
/* the last seven days beside a name: seven small squares, their letters on the scale */
.att3 .att-week i { width: 20px; height: 20px; border-radius: 4px; font-size: var(--t-small); }
/* what the older sheets set off the scale, on it */
.ws-quick .chip, .ws3 .chip, .st-week .chip, .dept-offer .chip { font-size: var(--t-small); }
.person3 .st-day i { font-size: var(--t-small); }
.person3 .st-key { gap: 8px 16px; }
.ws3 .st-slip { gap: 12px; }
.ws3 .b-mast .st-date input.field.dp { background: rgba(255, 255, 255, 0.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-opacity='.72' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='3.5' width='11' height='10' rx='2'/%3E%3Cpath d='M2.5 6.5h11M5.5 2v3M10.5 2v3'/%3E%3C/svg%3E") no-repeat right 10px center; }
@media (max-width: 699px) {
  /* a person is a row of their own: who, then the days worked this month over how today stands */
  .b-table.ws-people, .b-table.ws-people tbody { display: block; }
  .b-table.ws-people thead { display: none; }
  .b-table.ws-people tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who days" "who today"; align-items: center; gap: 0 16px; min-height: 44px; padding: 12px 8px; border-radius: var(--r-ctl); }
  .b-table.ws-people td, .b-table.ws-people td:first-child, .b-table.ws-people td:last-child { display: block; width: auto; max-width: none; padding: 0; white-space: normal; overflow: visible; }
  .b-table.ws-people td.c-extra { display: none; }
  .b-table.ws-people td.c-who { grid-area: who; display: flex; }
  .b-table.ws-people td.num { grid-area: days; text-align: right; }
  .b-table.ws-people td.c-today { grid-area: today; text-align: right; font-size: var(--t-small); }
  .b-table.ws-people .ws-stand { font-weight: 400; }
}
@media (max-width: 699px) { .ws3 .pill.small.small, .b-table.ws-chase td.c-do .pill.pill { height: 44px; } }
/* a long answer beside its name (how long someone has been here) goes onto a second line on a narrow phone */
.ws3 .line > span:last-child { min-width: 0; white-space: normal; text-align: right; }
