/* 모델 성능 화면 — common.css(테마 토큰 · 머리줄 탭 · 둥근 흰 카드 .card) 위에 얹는 카드 · 표 규칙. 그래프의 세 색(보라 · 노랑 · 주황)은 참고 그림을 따른다 */
.page { --page: var(--wide); }   /* 단 폭·여백은 common.css 의 .page 규칙 */
.meta { color: var(--muted); font-size: 12px; margin: 0 0 16px; }

/* 카드: 1100px 넘는 창에서만 한 줄(카드 수만큼 나눠 쓴다) · 1100px 까지는 두 단(홀수 번째로 남는 마지막 카드는 가로 전체) · 700px 까지는 한 단 */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards > .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 700px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.cards .card { padding: 18px 20px 10px; min-width: 0; }   /* 바탕 · 테두리 · 둥글기는 common.css 의 .card */
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card h2 { font-size: 18px; margin: 0; display: flex; align-items: center; gap: 10px; color: var(--ink); }
.sq { width: 12px; height: 12px; border-radius: 2px; flex: none; }
.updated { background: var(--primary-soft); color: var(--primary); font-size: 11px; font-weight: 600; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.sub { color: var(--muted); font-size: 12px; margin: 8px 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.chart { min-height: 120px; }
.chart svg { display: block; max-width: 100%; }

.notice, .sources { color: var(--muted); font-size: 12px; margin: 16px 0 0; }
.sources { margin-bottom: 24px; }
.sources a { color: var(--primary); }

/* 전체 표: 괘선만, 머리줄 밑은 남색 한 줄 */
.table-card { padding: 18px 20px 14px; }
h2.section { font-size: 16px; margin: 0 0 10px; color: var(--ink); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; vertical-align: top; padding: 7px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--ink); }
td:nth-child(n+3) { text-align: right; font-variant-numeric: tabular-nums; }
th:nth-child(n+3) { text-align: right; }
.note { color: var(--muted); font-size: 11px; white-space: normal; }
.badge { display: inline-block; width: 18px; height: 18px; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 700; text-align: center; line-height: 18px; margin-right: 6px; vertical-align: 1px; }
footer { padding-top: 24px; color: var(--muted); font-size: 12px; margin-top: 28px; border-top: 1px solid var(--line); }
