/* Bulk actions (12 Oct, program #86): a tick column and a sticky bar of plain actions; and the
   Tasks list's Due column (overdue in red, "today" in gold). */
table.list th.pick, table.list td.pick { width: 46px; padding-right: 0; cursor: pointer; }
table.list th.pick input, table.list td.pick input { width: 20px; height: 20px; margin: 0; cursor: pointer; accent-color: var(--gold); vertical-align: middle; }
table.list tr.selected td { background: var(--gold-soft); }

.bulk-bar { position: sticky; bottom: 16px; z-index: 25; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 0; padding: 12px 14px; background: var(--surface-3); border: 1px solid var(--gold-line); border-radius: var(--radius); box-shadow: var(--shadow); }
.bulk-bar[hidden] { display: none; }
.bulk-bar.busy { opacity: .6; pointer-events: none; }
.bulk-count { font-size: 15px; margin-right: 6px; white-space: nowrap; color: var(--gold-2); }
.bulk-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bulk-menu { width: auto; min-height: 42px; padding: 0 12px; font-weight: 600; background: var(--surface-4); border-color: var(--line-strong); cursor: pointer; }
.bulk-bar .bulk-clear { margin-left: auto; }
body.face .bulk-bar { background: rgba(18, 18, 18, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--edge-2); }
body.face .bulk-menu { background: rgba(8, 8, 8, .72); }

.due-overdue { color: var(--danger); font-weight: 600; white-space: nowrap; }
.due-today { color: var(--gold-2); font-weight: 600; }

/* Tasks → Overdue (27 Oct): one row per late task, oldest first, with its own buttons (no "complete all"). */
.tq-tabs { margin-top: -6px; }
.tq-list { display: grid; gap: 8px; }
.tq-row { align-items: flex-start; }
.tq-row .when { min-width: 150px; display: grid; gap: 2px; }
.tq-main { flex: 1 1 260px; min-width: 0; display: grid; gap: 3px; }
.tq-title { font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.tq-link { font-size: 13.5px; color: var(--text-2); overflow-wrap: anywhere; }
.tq-next { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.tq-acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tq-note { color: var(--text-3); font-size: 13.5px; margin: 0 0 10px; }
.tq-move { display: grid; gap: 12px; }
.tq-move p { margin: 0; }

@media (max-width: 900px) {
  /* Above the phone's bottom nav: "2 selected … Clear" on one line, the actions sharing the next. */
  .bulk-bar { bottom: 72px; padding: 10px; gap: 8px; }
  .bulk-count { flex: 1 1 auto; }
  .bulk-tools { order: 1; flex: 1 1 100%; flex-wrap: nowrap; min-width: 0; }
  .bulk-tools > * { flex: 1 1 0; min-width: 0; padding: 0 8px; }
  .bulk-bar .bulk-clear { min-height: 34px; }
}
