/* Действия в строке реестра счетов: один шаг между кнопками при любом их наборе. */
.invoices-actions-cell .documents-btn {
  margin: 0 0 0 0.35rem;
}

.invoices-actions-cell .documents-btn:first-child {
  margin-left: 0;
}

/* «1С / согласование»: оба статуса одной ширины, друг под другом по одной оси. */
.powers-table--bills td:nth-child(8) .invoices-badge {
  display: block;
  box-sizing: border-box;
  width: fit-content;
  min-width: 7.4rem;
  margin: 0 auto;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
}

.powers-table--bills td:nth-child(8) .invoices-badge + .invoices-badge {
  margin-top: 0.3rem;
}

.powers-table--bills td:nth-child(8) .invoices-retry-btn {
  display: block;
  margin: 0.3rem auto 0;
}

@media (max-width: 480px) {
  .m-embed-host #section-issue-invoice .invoices-registry-table .powers-table--bills td:nth-child(8) {
    row-gap: 0.3rem;
  }

  .m-embed-host #section-issue-invoice .invoices-registry-table .powers-table--bills td:nth-child(8) > * {
    grid-column: 2;
    justify-self: start;
    margin: 0;
  }
}
