/* 화면 위쪽 요약 카드 공통 규격 — 맞춤공고(.nl-sum__item)·참여·입찰(.bd-sum__item)·낙찰·정산(.aw-stat)·자격정보(.cs-stat)
   높이·테두리·모서리·글자 크기를 한 곳에서 맞춘다. 화면별로는 색(강조·선택)만 다르게 둔다. */
.nl-sum__item, .bd-sum__item, .aw-stat, .cs-stat, .dc-stat {
  display: flex; flex-direction: column; justify-content: center;
  box-sizing: border-box; min-height: 100px; padding: 16px 18px;
  border: 1px solid var(--color-border); border-radius: 12px; background: #fff; box-shadow: none;
  color: var(--color-text); text-align: left; text-decoration: none;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
/* 이름 */
.nl-sum__item > span, .bd-sum__item > span, .aw-stat > span, .cs-stat > span, .dc-stat > span {
  display: flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 500; line-height: 1.4; color: var(--color-text-muted);
}
/* 숫자 */
.nl-sum__item > strong, .bd-sum__item > strong, .aw-stat > strong, .cs-stat > strong, .dc-stat > strong {
  display: block; margin-top: 6px; font-size: 26px; font-weight: 800; line-height: 1.2; color: var(--color-text); font-variant-numeric: tabular-nums;
}
.nl-sum__item > strong b { font-weight: 800; }
/* 단위(건·원) */
.nl-sum__item > strong small, .bd-sum__item > strong small, .aw-stat > strong small, .cs-stat > strong small, .dc-stat > strong small {
  margin-left: 2px; font-size: var(--fs-sm); font-weight: 500; color: var(--color-text-muted);
}
/* 보조 설명 한 줄 */
.nl-sum__item > em, .aw-stat > em, .cs-stat > em, .dc-stat > em {
  display: block; margin-top: 4px; font-style: normal; font-size: var(--fs-xs); line-height: 1.4; color: var(--color-text-muted);
}
/* 누를 수 있는 카드 */
a.nl-sum__item:hover, .bd-sum__item:hover, a.aw-stat:hover { border-color: var(--color-primary); text-decoration: none; }
.bd-sum__item { width: 100%; font: inherit; cursor: pointer; }
/* 선택된 카드(필터) — 테두리 굵기는 그대로 두고 안쪽 그림자로 강조해 크기가 흔들리지 않게 */
.nl-sum__item.is-on, .bd-sum__item[aria-pressed="true"] { border-color: var(--color-primary); box-shadow: inset 0 0 0 1px var(--color-primary); background: #F2F8FF; }
.nl-sum__item.is-on > span, .bd-sum__item[aria-pressed="true"] > span { color: var(--color-primary); font-weight: 700; }
/* 강조 카드(건수가 있음) — 선택 카드와 같은 두께(테두리 1px + 안쪽 1px) */
.aw-stat.is-hl, .cs-stat.is-hl, .dc-stat.is-hl { border-color: var(--color-primary); box-shadow: inset 0 0 0 1px var(--color-primary); background: #F2F8FF; }
.aw-stat.is-hl > strong, .cs-stat.is-hl > strong, .dc-stat.is-hl > strong { color: var(--color-primary); }
/* 할 일 카드(납부할 성공보수 등) */
.aw-stat.is-due, .dc-stat.is-due { border-color: #F59E0B; box-shadow: inset 0 0 0 1px #F59E0B; background: #FFF8EC; }
.aw-stat.is-due > strong, .dc-stat.is-due > strong { color: #B45309; }
/* 카드 묶음 간격 */
.nl-sum, .bd-sum, .aw-stats, .cs-stats, .dc-stats { gap: 12px; margin: 4px 0 16px; }
@media (max-width: 768px) {
  .nl-sum__item, .bd-sum__item, .aw-stat, .cs-stat, .dc-stat { min-height: 84px; padding: 12px 14px; }
  .nl-sum__item > strong, .bd-sum__item > strong, .aw-stat > strong, .cs-stat > strong, .dc-stat > strong { font-size: 22px; }
  .nl-sum, .bd-sum, .aw-stats, .cs-stats, .dc-stats { gap: 8px; }
}

