.legend-list {
  min-width: 145px;
}

.legend-item {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
  color: #647389;
  font-size: 8px;
}

.legend-item i {
  width: 7px;
  height: 7px;
  background: var(--color);
  border-radius: 2px;
}

.legend-item b {
  color: #33445e;
}

.progress {
  height: 6px;
  overflow: hidden;
  background: #edf1f6;
  border-radius: 5px;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--bar-color, var(--primary)), color-mix(in srgb, var(--bar-color, var(--primary)) 60%, #fff));
  border-radius: inherit;
}

.stat-list {
  display: grid;
  gap: 10px;
}

.stat-row {
  display: grid;
  grid-template-columns: 90px 1fr 50px;
  align-items: center;
  gap: 10px;
  color: #66758a;
  font-size: 8px;
}

.stat-row b {
  color: #31425c;
  text-align: right;
}

.tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.tab {
  position: relative;
  padding: 0 2px 10px;
  color: #7e8b9e;
  font-size: 10px;
}

.tab.active {
  color: var(--primary);
  font-weight: 700;
}

.tab.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--primary);
  border-radius: 2px;
}

.tag {
  display: inline-flex;
  padding: 3px 6px;
  margin: 1px 2px 1px 0;
  color: #4f6d9d;
  font-size: 7px;
  background: #eef4fd;
  border-radius: 5px;
}

.data-table td a {
  color: var(--primary);
  white-space: nowrap;
}

.data-table td a + a {
  margin-left: 8px;
}
