.ops-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.ops-stat {
  background: #fff;
  border: 1px solid #e0e5eb;
  border-radius: 12px;
  padding: 18px;
}
.ops-stat strong {
  display: block;
  font-size: 22px;
  color: #263d56;
  margin-top: 6px;
}
.ops-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.ops-side {
  display: grid;
  gap: 20px;
  align-content: start;
}
.ops-list {
  display: grid;
  gap: 10px;
}
.ops-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #edf0f3;
  min-width: 0;
}
.ops-row strong,
.ops-row small {
  display: block;
  overflow-wrap: anywhere;
}
.ops-row small {
  font-size: 11px;
  color: #82909c;
  margin-top: 5px;
}
.ops-row .action-row {
  flex-shrink: 0;
}
.ops-warning {
  color: #a87544;
}
.ops-summary .hint {
  font-size: 12px;
}
.task-center-grid {
  display: grid;
  grid-template-columns: repeat(var(--task-columns, 3), minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}
.task-center-filters {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 160px 132px auto auto;
  gap: 10px;
  align-items: end;
}
.tool-history-panel .task-center-filters label {
  margin: 0;
  min-width: 0;
}
.tool-history-panel .task-center-filters input,
.tool-history-panel .task-center-filters select {
  margin-top: 5px;
}
.task-center-filter-note {
  margin: 8px 0 12px;
}
#taskCenterRefresh {
  flex: 0 0 auto;
}
.task-center-heading-actions {
  width: auto;
  flex: 0 0 auto;
}
.task-center-heading-actions .button {
  flex: 0 0 auto;
}
#taskCenterSummary {
  margin: 0 0 12px;
}
.task-record-card {
  grid-template-columns: minmax(0, 1fr) 76px;
}
.task-record-card .tool-history-thumb {
  position: relative;
}
.task-preview-kind {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fffffff0;
  color: #61738c;
  font-size: 10px;
  line-height: 1.4;
}
.task-record-stage {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  line-height: 1.4;
  color: var(--muted);
}
.task-record-card > .tool-history-title {
  cursor: default;
}
.task-record-card .tool-history-actions a {
  display: block;
}
.task-preview-empty {
  align-self: start;
}
.task-record-empty {
  grid-column: 1 / -1;
  padding: 36px 12px;
  text-align: center;
}
#taskCenterPager {
  justify-content: flex-end;
}
#taskCenterPager > .hint {
  margin-right: auto;
}
#taskCenterPager > .button {
  flex: 0 0 auto;
  width: auto;
}
@media (max-width: 800px) {
  .task-center-filters {
    grid-template-columns: 1fr 1fr;
  }
  .task-center-filters > label:first-child {
    grid-column: 1 / -1;
  }
  .ops-summary {
    grid-template-columns: 1fr 1fr;
  }
  .ops-fields {
    grid-template-columns: 1fr;
  }
  .ops-row {
    flex-wrap: wrap;
  }
}
