.table-standard {
  width: 100%;
  table-layout: fixed;
}

.table-standard thead th,
.table-standard thead th.table-header-cell {
  text-align: center !important;
  vertical-align: middle;
}

.table-standard thead .core-date-sort-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.table-standard thead .core-date-sort-button:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.table-standard tbody td.cell-center {
  text-align: center !important;
}

.table-standard tbody td.cell-money {
  padding-right: 12px !important;
  text-align: right !important;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.table-standard tbody td.cell-money > a,
.table-standard tbody td.cell-money > button,
.table-standard tbody td.cell-money > span,
.table-standard tbody td.cell-money > b,
.table-standard tbody td.cell-money > strong {
  margin-right: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.table-standard tbody td.cell-long-text,
.table-standard tbody td.cell-project-name {
  overflow: hidden;
  text-align: left !important;
  text-overflow: clip !important;
  white-space: normal !important;
}

.table-standard tbody td.cell-placeholder,
.table-standard tbody td.cell-placeholder > span,
.table-standard tbody td.cell-center.business-cell-two-lines,
.table-standard tbody td.cell-center.business-cell-two-lines > span {
  text-align: center !important;
}

.table-standard .cell-two-line {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  line-height: 1.45;
  white-space: normal;
  word-break: break-all;
}

/* Only the upstream contract summary uses these amount progress bars. */
.upstream-contract-page .upstream-contract-progress-track {
  height: 5px;
  margin-top: 8px;
  background: #edf1f7;
  border-radius: 3px;
  overflow: hidden;
}
.upstream-contract-page .upstream-contract-progress-track > span {
  display: block;
  height: 100%;
  background: currentColor;
}

/* 对上卡片的进度条与对下执行总览保持同一组指标颜色。 */
.upstream-contract-page .upstream-contract-progress-track > span.tone-green { background: #138a63 !important; }
.upstream-contract-page .upstream-contract-progress-track > span.tone-purple { background: #7653d6 !important; }
.upstream-contract-page .upstream-contract-progress-track > span.tone-orange { background: #bf7411 !important; }
