/* Phase 31 — make overdue work immediately scannable without changing the existing design language. */
.workspace-body .task-row.task-overdue {
  background: linear-gradient(90deg, rgba(180, 35, 24, .045), transparent 62%);
  border-radius: 8px;
  padding-inline: 10px;
}
.workspace-body .task-row.task-overdue .task-meta small:first-of-type {
  color: var(--red);
  font-weight: 600;
}
.workspace-body .entity-modal .inline-info-note {
  line-height: 1.6;
}
.workspace-body .entity-modal .modal-footer .btn-danger {
  border-color: #efcac7;
  color: var(--red);
}
.workspace-body .entity-modal .modal-footer .btn-danger:focus-visible {
  outline-color: #c2413b;
  outline-offset: 3px;
}
.workspace-body.dark-mode .task-row.task-overdue {
  background: linear-gradient(90deg, rgba(248, 113, 113, .09), transparent 68%);
}
.workspace-body.dark-mode .task-row.task-overdue .task-meta small:first-of-type {
  color: #fca5a5;
}
@media (max-width: 380px) {
  .workspace-body .entity-modal .modal-footer {
    flex-wrap: wrap;
  }
  .workspace-body .entity-modal .modal-footer .btn {
    min-height: 42px;
  }
}
