/* 口播成片操作区：下载与删除并排，突出主次关系 */
.matrix-task-detail > .koubo-task {
  min-height: 100%;
}

.koubo-result video {
  display: block;
  border-radius: 0;
}

.koubo-current-task-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
}

.koubo-current-task-header span {
  color: #6d7880;
  font-size: 11px;
  font-weight: 700;
}

.koubo-current-task-header small {
  min-width: 0;
  overflow: hidden;
  color: #879198;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.koubo-result-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.koubo-audit-summary {
  display: grid;
  min-width: 0;
  margin-right: auto;
  gap: 3px;
}

.koubo-audit-summary strong {
  font-size: 13px;
}

.koubo-audit-summary.is-pass strong {
  color: #15745f;
}

.koubo-audit-summary.is-fail strong {
  color: #a24a3d;
}

.koubo-audit-summary small {
  overflow: hidden;
  max-width: 430px;
  color: #75817e;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.koubo-action-buttons {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  margin-left: auto;
}

.koubo-result-actions .soft-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 9px;
  font-size: 13px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.koubo-result-actions .koubo-download-button {
  border-color: #a9c5eb;
  background: #edf4ff;
  color: #245fba;
  font-weight: 700;
}

.koubo-result-actions .koubo-download-button:hover {
  border-color: #7fa8df;
  background: #e2edfc;
  color: #194f9e;
}

.koubo-result-actions .koubo-delete-button {
  background: #fff;
  color: #a24a3d;
}

@media (max-width: 600px) {
  .koubo-result-actions {
    gap: 8px;
  }

  .koubo-audit-summary small {
    display: none;
  }

  .koubo-action-buttons .soft-button {
    min-width: 78px;
    padding: 0 10px;
  }
}
