/* Keep Linked Invoices count numbers visually centred inside their circular badges. */
.app-shell table td:last-child,
.app-shell table th:last-child {
  text-align: center !important;
}

.app-shell table td:last-child span,
.app-shell table td:last-child strong,
.app-shell table td:last-child b,
.app-shell table td:last-child em,
.app-shell table td:last-child button,
.app-shell table td:last-child [class*="badge"],
.app-shell table td:last-child [class*="count"],
.app-shell table td:last-child [class*="pill"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  vertical-align: middle !important;
  line-height: 1 !important;
  font-variant-numeric: tabular-nums !important;
}

.app-shell table td:last-child [class*="badge"],
.app-shell table td:last-child [class*="count"],
.app-shell table td:last-child [class*="pill"],
.app-shell table td:last-child span:only-child,
.app-shell table td:last-child strong:only-child,
.app-shell table td:last-child b:only-child,
.app-shell table td:last-child em:only-child,
.app-shell table td:last-child button:only-child {
  min-width: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  line-height: 1 !important;
  transform: translateY(1px) !important;
}

.app-shell table td:last-child [class*="badge"]::before,
.app-shell table td:last-child [class*="badge"]::after,
.app-shell table td:last-child [class*="count"]::before,
.app-shell table td:last-child [class*="count"]::after,
.app-shell table td:last-child [class*="pill"]::before,
.app-shell table td:last-child [class*="pill"]::after {
  transform: translateY(1px) !important;
}
