/* Keep every report row centered and all three actions together. */
.created-reports .created-report-table th,
.created-reports .created-report-table td {
  vertical-align: middle;
}
.created-reports .created-report-table th:first-child,
.created-reports .created-report-table td:first-child,
.created-reports .created-report-table th:nth-child(4),
.created-reports .created-report-table td:nth-child(4),
.created-reports .created-report-table th:nth-child(5),
.created-reports .created-report-table td:nth-child(5) {
  text-align: center;
}
.created-reports .created-report-table th:nth-child(4) {
  width: 24%;
}
.created-reports .created-report-table th:last-child {
  width: 196px;
}
.created-reports .created-row-actions {
  width: 100%;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.created-reports .created-row-actions .button {
  flex: 0 0 auto;
  white-space: nowrap;
  margin: 0;
}
.created-reports .created-row-actions .icon-button {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  padding: 6px;
  margin: 0;
}
.created-reports .created-row-actions .created-delete {
  margin: 0;
}
@media (max-width: 760px) {
  .created-reports .created-row-actions .icon-button {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
}

/* Six-column report ledger: project S income, compact expandable projects. */
.created-reports .created-report-table th:nth-child(2) { width: 18%; }
.created-reports .created-report-table th:nth-child(4) { width: 140px; }
.created-reports .created-report-table th:nth-child(5) { width: 20%; }
.created-reports .created-report-table th:last-child { width: 196px; }
.created-reports .created-report-table th:nth-child(4),
.created-reports .created-report-table td:nth-child(4) { text-align: right; }
.created-reports .created-report-table th:nth-child(5),
.created-reports .created-report-table td:nth-child(5),
.created-reports .created-report-table th:nth-child(6),
.created-reports .created-report-table td:nth-child(6) { text-align: center; }
.created-income { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap !important; }
.created-projects-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.created-projects-details > summary { cursor: pointer; list-style: none; }
.created-projects-details > summary::-webkit-details-marker { display: none; }
.created-projects-details > summary > small { color: #627589; margin-top: 5px; }
.created-projects-details[open] .created-projects-text { display: block; -webkit-line-clamp: unset; overflow: visible; }
@media(max-width: 760px) {
  .created-reports .created-report-table td:nth-child(6) { display: block; grid-column: 1 / -1; text-align: center; }
  .created-reports .created-report-table td.created-income { text-align: left; }
  .created-income::before { content: "Доход, ₽: "; font-weight: 400; color: #85909e; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .created-reports .created-report-table th,
  .created-reports .created-report-table td { padding-inline: 10px; }
  .created-reports .created-report-table th:first-child { width: 40px; }
  .created-reports .created-report-table th:nth-child(2),
  .created-reports .created-report-table th:nth-child(5) { width: 18%; }
  .created-reports .created-report-table th:nth-child(4) { width: 112px; }
  .created-reports .created-report-table th:last-child { width: 180px; }
}
