.score-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; }
#scores-panel { margin-top: 1.15rem; }
.score-table th, .score-table td { text-align: left; }
.score-table thead th { font-size: .78rem; font-weight: 600; color: var(--muted); padding: .8rem .75rem; border-block: 1px solid #b6bcaf; }
.score-table thead th small { font-size: .72rem; font-weight: 400; }
.score-table thead th:has(button) { padding-block: 0; }
.score-table thead button { display: inline-flex; align-items: center; gap: .2rem; min-height: 2.85rem; padding: .35rem .05rem; text-align: inherit; line-height: 1.3; }
.score-table thead button:hover, .score-table thead th[aria-sort] { color: var(--pine); }
.score-table thead button:hover { text-decoration: underline; text-underline-offset: .2rem; }
.sort-arrow { flex: none; width: .85em; color: #657261; font-size: .95rem; }
th[aria-sort] .sort-arrow { color: var(--pine); font-weight: 700; }
.score-table tbody tr { border-bottom: 1px solid var(--rule); }
.score-table tbody tr:hover { background: #f0f1e8; }
.score-table tbody tr.ours { background: #eaf0e4; box-shadow: inset 3px 0 #6d8464; }
.score-table tbody th, .score-table tbody td { padding: .78rem .75rem; vertical-align: middle; }
.score-table .rank { width: 7%; text-align: center; }
.score-table td.rank { font: 400 1.7rem/1 var(--display); color: var(--muted); }
.score-table .ours td.rank { color: var(--pine); }
.score-table .method { width: 26%; }
.score-table .pass { width: 27%; padding-right: 1.5rem; }
.score-table .metric { width: 12%; text-align: right; }
.score-table .step-reward { width: 16%; }
.score-table td.metric { font-size: .94rem; }
.method-info { display: flex; align-items: center; gap: .65rem; }
.logo-slot { width: 28px; height: 28px; flex: none; }
.logo-slot img { width: 100%; height: 100%; object-fit: contain; }
.method-name { font-size: 1rem; font-weight: 650; line-height: 1.3; }
.method-family { display: block; font-size: .77rem; font-weight: 400; color: var(--muted); margin-top: .1rem; }
.pass-cell { display: flex; align-items: center; gap: .8rem; }
.bar-track { height: .37rem; min-width: 1.4rem; flex: 1; background: #dcdfd3; border-radius: 1px; overflow: hidden; }
.bar-track i { display: block; background: #8b9e89; height: 100%; border-radius: 1px; }
.ours .bar-track i { background: #486448; }
.pass-cell strong { min-width: 4rem; text-align: right; font-weight: 640; }
.by-setting .score-table .rank { width: 7%; }
.by-setting .score-table .method { width: 41%; }
.by-setting .score-table .pass { width: 52%; padding-right: 1.5rem; }
.efficiency { margin-top: clamp(1.7rem, 3vw, 2.8rem); padding: clamp(1rem, 2.4vw, 2rem); border: 1px solid var(--rule); border-radius: .5rem; background: #fffefa; }
.efficiency figcaption { margin-bottom: 1.2rem; }
.efficiency h2 { font: 400 clamp(2rem, 3.2vw, 2.8rem)/1.05 var(--display); letter-spacing: -.025em; }
.efficiency figcaption p { color: var(--muted); font-size: .94rem; margin-top: .45rem; }
#efficiency-plot { min-width: 0; }
#efficiency-plot > svg { display: block; width: 100%; height: auto; }
#efficiency-key { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1rem; margin: .6rem 0 0; padding: .85rem 0 0; border-top: 1px solid var(--rule); list-style: none; }
#efficiency-key li { display: flex; align-items: baseline; gap: .42rem; font-size: .82rem; line-height: 1.3; }
.key-index { flex: none; text-align: center; min-width: 1.6em; padding: .09em .12em; border: 1px solid; border-radius: .2rem; font: 600 .75rem/1.2 var(--sans); }
.metric-notes { margin: clamp(2rem, 3.9vw, 3.7rem) 0 clamp(2.6rem, 5vw, 4.6rem); padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.metric-notes h2 { font: 400 2.35rem/1.1 var(--display); letter-spacing: -.025em; }
.metric-definitions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.25rem; margin-top: 1rem; }
.metric-definitions p { color: var(--muted); font-size: .91rem; line-height: 1.6; }
.metric-definitions strong { display: block; font-weight: 600; color: var(--ink); margin-bottom: .17rem; }
.protocol { margin-top: 1.2rem; color: var(--muted); font-size: .88rem; }
.protocol summary { width: fit-content; color: var(--pine); font-weight: 600; cursor: pointer; }
.protocol p { max-width: 83ch; margin: .4rem 0 0; }
@media (min-width: 701px) and (max-width: 920px) {
  .score-table .rank { width: 5%; }
  .score-table .method { width: 28%; }
  .score-table .pass { width: 24%; padding-right: .5rem; }
  .score-table thead th, .score-table tbody th, .score-table tbody td { padding-inline: .4rem; }
  .method-info { gap: .35rem; }
}
@media (max-width: 700px) {
  .score-table, .score-table thead, .score-table tbody { display: block; }
  .score-table tr { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
  .score-table thead { border-block: 1px solid #b6bcaf; }
  .score-table thead th { border: 0; }
  .score-table .rank, .by-setting .score-table .rank { width: auto; grid-column: span 2; }
  .score-table .method, .by-setting .score-table .method { width: auto; grid-column: span 6; }
  .score-table .pass, .by-setting .score-table .pass { width: auto; grid-column: span 4; padding-right: .55rem; }
  .score-table .metric { width: auto; grid-column: span 4; }
  .score-table thead .metric { align-self: stretch; text-align: center; border-top: 1px dotted var(--rule); }
  .score-table thead .metric button { min-height: 2.35rem; }
  .score-table thead th, .score-table tbody th, .score-table tbody td { padding-inline: .35rem; }
  .score-table tbody tr { padding: .35rem .1rem .45rem; }
  .score-table tbody td, .score-table tbody th { padding-block: .4rem; }
  .method-info { gap: .4rem; }
  .method-name { font-size: .97rem; }
  .method-family { font-size: .72rem; }
  .logo-slot:empty { display: none; }
  .pass-cell { flex-direction: column-reverse; align-items: stretch; gap: .3rem; }
  .pass-cell strong { font-size: .96rem; }
  .bar-track { flex: none; height: .28rem; }
  .score-table thead .pass { text-align: right; }
  .score-table td.metric { text-align: center; font-size: .85rem; color: #3e4e43; }
  .score-table td.metric::before { display: block; content: attr(data-label); font-size: .74rem; color: var(--muted); }
  .metric-definitions { grid-template-columns: 1fr; gap: .85rem; }
}
@media (max-width: 550px) {
  .score-table thead [data-sort="stepReward"] small { display: none; }
  .efficiency figcaption { margin-bottom: .5rem; }
}
