/* 전역일 계산기만 쓰는 모양. 공통 생활 도구 모양(tools.css)에 더한다. 색은 공통 변수(어두운 화면 자동). */
.dc-pct {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin: 18px 2px 0;
  font-variant-numeric: tabular-nums;
}
.dc-pct span {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}
.dc-pct b {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.01em;
}
.dc-bar {
  height: 18px;
  margin-top: 6px;
}
.dc-bar > span {
  background: linear-gradient(90deg, var(--brand), var(--go));
  transition: width 0.6s linear;
}
.dc-h {
  text-align: left;
  margin: 22px 0 8px;
}
.dc-table td:last-child {
  color: var(--muted);
  font-size: 0.88rem;
}
.dc-table td:first-child {
  font-weight: 700;
  white-space: normal; /* 공통 표 모양은 첫 칸을 줄바꿈하지 않는다. 긴 이름은 줄바꿈 */
  overflow-wrap: anywhere;
}
.dc-table th:first-child {
  white-space: normal;
}
/* 좁은 화면: 분류 칸을 빼고 이름은 줄바꿈해 가로로 넘치지 않게 */
@media (max-width: 560px) {
  .dc-table th,
  .dc-table td {
    padding: 9px 6px;
    font-size: 0.9rem;
  }
  .dc-table th:last-child,
  .dc-table td:last-child {
    display: none;
  }
  .dc-table td.num {
    text-align: right;
  }
  .dc-table th:nth-child(2) {
    text-align: right;
  }
}
