/* Табличные отчёты: действия исполнителя и горизонтальный просмотр. */
.table-report-submission-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 8px 0 0 8px;
}

.table-report-submission-actions .btn {
  margin: 0 !important;
}

.table-report-submission-actions .table-report-save-status {
  margin-left: 2px;
}

.table-report-peer-toggle {
  background: transparent !important;
  box-shadow: none !important;
  opacity: .82;
}

.table-report-peer-toggle:hover,
.table-report-peer-toggle.is-open {
  opacity: 1;
}

.table-report-peer-panel {
  max-width: 760px;
  margin: 12px 0 0 8px;
  padding: 10px 0 0;
  border-top: 1px solid var(--border-color, rgba(127,127,127,.22));
}

.table-report-peer-panel[hidden] {
  display: none !important;
}

.table-report-peer-panel__title {
  margin: 0 0 7px;
  font-size: 13px;
  font-weight: 700;
  opacity: .72;
}

.table-report-peer-list {
  display: grid;
  gap: 2px;
}

.table-report-peer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
  padding: 7px 4px;
  border-bottom: 1px solid var(--border-color, rgba(127,127,127,.15));
  color: inherit;
  text-decoration: none;
}

.table-report-peer-row:hover {
  background: color-mix(in srgb, var(--accent, #4bd6a3) 5%, transparent);
}

.table-report-peer-row__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.table-report-peer-row .table-report-status {
  flex: 0 0 auto;
}

.table-report-peer-readonly-note {
  margin: 10px 0 12px 8px;
  font-size: 13px;
  opacity: .68;
}

@media (max-width: 760px) {
  .table-report-submission-actions {
    margin-left: 0;
  }

  .table-report-peer-panel,
  .table-report-peer-readonly-note {
    margin-left: 0;
  }

  .table-report-peer-row {
    align-items: flex-start;
  }
}
