/* The Inbox list (design study D3): assignee avatar, due pill, ticking rows and the bulk bar. Existing tokens only. */
table.inbox th.c-sel, table.inbox td.c-sel { width: 1%; padding-right: 4px; }
table.inbox td.c-sel input, table.inbox th.c-sel input { width: 16px; height: 16px; margin: 0; accent-color: var(--dex-cyan); cursor: pointer; }
table.inbox .t-id { font-family: var(--mono); white-space: nowrap; word-break: normal; overflow-wrap: normal; }
table.inbox td.c-who, table.inbox td.c-due, table.inbox td.c-prio { white-space: nowrap; width: 1%; }
.avatar-xs { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--dex-grad);
  color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 0 0 2px rgba(255,255,255,.06); }
.take-btn { visibility: hidden; }
table.inbox tr:hover .take-btn, table.inbox tr:focus-within .take-btn { visibility: visible; }
@media (hover: none) { .take-btn { visibility: visible; } }
.due-pill { display: inline-block; padding: 3px 10px; border-radius: var(--pill); font-size: 12.5px; font-weight: 700;
  font-variant-numeric: tabular-nums; white-space: nowrap; background: rgba(255,255,255,.06); color: var(--muted);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 22%, transparent); }
.due-pill.neutral { color: var(--text); }
.due-pill.warn { background: rgba(248,190,115,.16); color: var(--high); }
.due-pill.bad { background: rgba(255,69,58,.14); color: var(--critical); }
.due-pill.ok { background: rgba(76,201,138,.14); color: var(--ok); }
.due-pill.grey { color: var(--faint); }
.inbox-tools { gap: 6px; flex-wrap: wrap; align-items: center; }
/* the bulk bar: sticky at the bottom of the list while rows are ticked */
#inboxBulk { position: sticky; bottom: 14px; z-index: 5; margin-top: 12px; }
#inboxBulk:empty { display: none; }
.bulkbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: var(--radius-md);
  background: var(--glass-2, rgba(10,20,38,.82)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong); box-shadow: var(--lift); }
.bulkbar select { width: auto; min-width: 150px; }
.bulkbar .bulk-note { font-size: 12.5px; flex: 1; min-width: 160px; }
@media (max-width: 720px) {
  /* each request stacked; the due pill and the avatar at the right of the status line */
  table.inbox .c-sel, table.inbox .c-prio { display: none; }
  table.inbox tr { grid-template-columns: 1fr auto auto auto; }
  table.inbox td.c-main { grid-column: 1 / -1; }
  table.inbox td.c-when { order: 1; }
  table.inbox td.c-due { order: 2; align-self: center; }
  table.inbox td.c-who { order: 3; align-self: center; }
  table.inbox td.c-status { order: 4; }
  #inboxBulk { display: none; }
}
