/* Task Board: the Tasks Board view (tasks.php?view=board, every company) and the old taskboard.php. Cards, h2/h3, .badge (P1 overdue red, P2 next blue, P3 waiting outline, Done green),
   .one-line (core.js: tap a cut row to open it, tap again to close) and the .nav-fold disclosure are the shared pieces;
   this file only lays out the rows like the Summaries list. */
.tb-list { display: grid; gap: 14px; }
.tb-list > .card { margin: 0; min-width: 0; }
.tb-list h3 { font-size: var(--fs-small, .86rem); color: var(--muted); margin: 12px 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-count { font-size: var(--fs-note, .8rem); font-weight: 600; margin-left: 6px; }
.tb-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tb-items li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 8px; align-items: center; min-width: 0; }
.tb-items .badge { justify-self: start; }
.tb-done { margin-top: 12px; }
.tb-done .tb-items { margin-top: 8px; }
.tb-note { margin: 10px 0 0; font-size: var(--fs-note, .8rem); }
.tb-items a.one-line { color: var(--ink); text-decoration: none; }
.tb-items a.one-line:hover { color: var(--blue); }
.tb-items li > form { margin: 0; display: flex; justify-content: flex-end; } /* the small Mark Done keeps the row the same height as the other widget rows */
