.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}
.metric {
  display: flex;
  text-align: left;
  align-items: center;
  gap: 16px;
  padding: 21px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: var(--shadow);
}
.metric:hover {
  transform: translateY(-2px);
  border-color: #c4d0e2;
}
.metric-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 800;
}
.metric-icon.all {
  color: #234f88;
  background: #eaf1fa;
}
.metric-icon.new {
  color: #2f6fed;
  background: #eaf1ff;
}
.metric-icon.progress {
  color: #b76e00;
  background: #fff2dc;
}
.metric-icon.done {
  color: #17815c;
  background: #e4f5ed;
}
.metric > span:last-child {
  display: grid;
  flex: 1;
}
.metric small {
  color: #667085;
  font-weight: 600;
  margin-bottom: 6px;
}
.metric strong {
  font-size: 29px;
  line-height: 1;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(650px, 2fr) minmax(290px, 0.8fr);
  gap: 18px;
  margin-bottom: 18px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th {
  text-align: left;
  background: #f8fafc;
  color: #657287;
  font-size: 13px;
  font-weight: 700;
  height: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0 14px;
  white-space: nowrap;
}
td {
  height: 50px;
  padding: 8px 14px;
  border-bottom: 1px solid #edf0f4;
  color: #344054;
}
.service-table td:not(:first-child),
.service-table th:not(:first-child) {
  text-align: center;
}
.service-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.service-symbol {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}
.service-symbol.consulting {
  background: #e5efff;
  color: #2d67bb;
}
.service-symbol.trade {
  background: #e7f4f2;
  color: #19786d;
}
.service-symbol.education {
  background: #fff0df;
  color: #b66b14;
}
.service-symbol.culture {
  background: #f1eafb;
  color: #7751a5;
}
.service-symbol.other {
  background: #eef0f3;
  color: #667085;
}
.number-link {
  border: 0;
  background: none;
  color: #295c99;
  font-weight: 800;
}
.source-list {
  padding: 0 22px 18px;
}
.source-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  padding: 10px 0;
}
.source-row span:first-child {
  font-weight: 600;
}
.bar {
  height: 5px;
  background: #edf1f5;
  border-radius: 4px;
  grid-column: 1/-1;
}
.bar i {
  display: block;
  height: 100%;
  background: #315f9b;
  border-radius: 4px;
}
.text-button {
  border: 0;
  background: none;
  color: #315f9b;
  font-weight: 700;
}
