/* Work view (#742, js/work.js): a read-only table of the tickets with "Show in Work view", newest first, 50 a page.
   The lane chip reuses board.css's .chip.task-lane colours. */
.work-view {
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 12px;
  gap: 8px;
}
.work-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 14px;
  flex: none;
  font-size: 12px;
}
.work-pager { display: inline-flex; align-items: center; gap: 8px; }
.work-table-wrap { flex: 1; min-height: 0; overflow: auto; }
table.work-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.work-table th {
  position: sticky;
  top: 0;
  background: var(--bg);
  text-align: left;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
}
.work-table td { padding: 6px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.work-row { cursor: pointer; }
.work-row:hover { background: var(--bg-elevated); }
.work-row:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.work-id, .work-kind, .work-created, .work-updated { white-space: nowrap; }
.work-id { color: var(--muted); }
.work-title { min-width: 240px; overflow-wrap: anywhere; }
.work-status { min-width: 200px; }
.work-status > * + * { margin-left: 6px; }
.work-step { font-size: 12px; color: var(--muted); }
.work-blocked { font-size: 12px; margin-top: 2px; }
.work-agents { white-space: nowrap; }
.work-agents .role-badge + .role-badge { margin-left: 3px; }
.work-created, .work-updated { color: var(--muted); font-size: 12px; }
.work-empty { margin-top: 24px; }
