/* Overview cards share the evaluation pipeline's surface and spacing. */
.summary { grid-template-columns: minmax(0, 1fr); }
.performance-overview { height: auto; }
.performance-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.performance-card { display: flex; flex-direction: column; align-items: stretch; min-width: 0; height: 100%; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #f6f9f9; color: var(--ink); text-align: left; font-weight: 400; }
.performance-card:hover { border-color: #91bfb3; background: #eff7f3; }
.performance-card:focus-visible { outline: 3px solid #83b9aa; outline-offset: 3px; }
.performance-card-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: flex-start; align-items: flex-start; gap: 6px; min-height: 44px; }
.performance-card-head > strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-width: 0; color: var(--green); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.performance-card-head em { flex: none; padding: 4px 7px; border-radius: 8px; background: #e8efef; color: #526772; font-size: 11px; font-style: normal; font-weight: 700; line-height: 1.5; }
.performance-card.achieved { background: #f0f8f4; border-color: #b9d7c9; }
.performance-card.achieved .performance-card-head em { background: #dceee3; color: #216547; }
.performance-card.unverified .performance-card-head em, .performance-card.closed .performance-card-head em { background: var(--warning-soft); color: var(--warning-ink); }
.performance-card-rate { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: 12px; }
.performance-card-rate strong { min-width: 0; color: var(--ink); font-size: 32px; font-weight: 800; line-height: 1.2; letter-spacing: -.04em; overflow-wrap: anywhere; }
.performance-card.achieved .performance-card-rate strong { color: var(--green); }
.performance-card-rate > small { color: var(--muted); font-size: 11px; }
.performance-card-progress { display: block; flex: none; height: 6px; margin: 12px 0 16px; overflow: hidden; border-radius: 4px; background: #e3ebeb; }
.performance-card-progress i { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.performance-card-metrics { display: grid; gap: 8px; }
.performance-card-metrics > span { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 12px; }
.performance-card-metrics strong { min-width: 0; color: var(--ink); font-size: 16px; overflow-wrap: anywhere; text-align: right; }
.performance-card small { margin-left: 3px; font-size: 11px; font-weight: 400; }
.performance-card-pace { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 8px; min-height: 44px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.performance-card-pace strong { color: var(--green); font-size: 16px; }
.performance-card-basis { margin: auto 0 12px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.performance-card-action { display: flex; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--green); font-size: 12px; font-weight: 700; }
.performance-card-note { margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
@media (max-width: 1279px) { .performance-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .performance-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .performance-cards { grid-template-columns: minmax(0, 1fr); }
  .performance-overview .overview-heading { flex-wrap: wrap; }
  .performance-card-head { min-height: 32px; }
}
