.evaluation-scope { display: flex; flex-wrap: wrap; gap: 10px 27px; border-block: 1px solid var(--border-color); padding: 15px 0; margin-bottom: 25px; color: var(--text-secondary); font-size: .78rem; }
.evaluation-scope strong { color: var(--primary-color); margin-right: 6px; font-weight: 650; }
.experiment-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.experiment-tabs button { border: 1px solid var(--border-color); border-radius: 7px; padding: 11px 19px; background: #fff; color: var(--text-secondary); font-size: .85rem; cursor: pointer; }
.experiment-tabs button[aria-selected="true"] { background: var(--primary-color); color: #fff; border-color: var(--primary-color); font-weight: 600; }
.experiment-panel { padding-bottom: 8px; }
.experiment-source { color: var(--primary-color); font-size: .72rem; margin-bottom: 9px; font-weight: 550; }
.experiment-message h3 { font-size: 1.65rem; line-height: 1.3; letter-spacing: -.03em; font-weight: 700; margin-bottom: 14px; }
.experiment-message > p:last-child { color: var(--text-secondary); font-size: .92rem; max-width: 960px; }
.qa-impact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; margin: 25px 0; padding: 20px 23px; border-radius: 8px; background: #f7f5fb; border: 1px solid #e8e2f1; }
.qa-impact-grid > div + div { border-left: 1px solid #ddd5e9; padding-left: 25px; }
.qa-impact-grid h4 { color: #625675; font-size: .76rem; font-weight: 650; margin-bottom: 12px; }
.impact-score { color: var(--primary-color); font-size: 1.65rem; letter-spacing: -.04em; font-weight: 700; line-height: 1.3; }
.impact-score span { font-size: .76rem; font-weight: 500; letter-spacing: 0; }
.impact-baseline { color: var(--text-secondary); font-size: .75rem; margin-top: 4px; font-variant-numeric: tabular-nums; }
.impact-tokens { font-size: .77rem; margin-top: 14px; color: #665c76; font-variant-numeric: tabular-nums; }
.impact-tokens strong { display: inline-block; color: #24736a; font-weight: 650; margin-left: 7px; }
.protocol-note { color: var(--text-secondary); font-size: .79rem; line-height: 1.8; margin: 15px 0 24px; }
#results .table-heading h4 { font-size: 1.08rem; font-weight: 650; }
#results .table-heading > a, .table-actions > a { font-size: .76rem; }
.table-actions { display: flex; align-items: center; gap: 18px; }
.qa-table-scroll { max-height: 510px; }
.paper-qa-table { min-width: 880px; }
.paper-qa-table thead th { position: sticky; top: 0; z-index: 2; box-shadow: 0 1px 0 var(--border-color); }
.paper-qa-table .model-name { min-width: 115px; max-width: 145px; white-space: normal; font-weight: 600; font-size: .78rem; color: #615071; background: #faf9fc; border-right: 1px solid var(--border-color); vertical-align: middle; }
.paper-qa-table tbody + tbody tr:first-child > * { border-top: 2px solid #cbbfdd; }
.experiment-panel .results-table .ours { font-weight: 400; color: var(--text-primary); background: #f3eff9; }
.experiment-panel .results-table .ours th { font-weight: 600; }
.metric-best strong { font-weight: 750; color: var(--primary-color); }
.table-reading-note { color: var(--text-secondary); font-size: .76rem; line-height: 1.75; margin: 14px 0 8px; }
#results .config-purpose { display: block; color: var(--primary-color); font-size: .62rem; margin-top: 2px; font-weight: 400; }
.ablation-table { min-width: 950px; }
.ablation-table th, .ablation-table td { padding: 12px 10px; font-size: .79rem; }
.ablation-table thead th { text-align: center; font-size: .71rem; }
.ablation-table th[colspan] { border-bottom-color: #c7b8dc; color: #55416f; }
.ablation-table .input-flag { text-align: center; color: #78688f; }
.experiment-inline-link { display: inline-block; margin-top: 15px; font-size: .83rem; font-weight: 550; }
.qualitative-details, .component-details { border-top: 1px solid var(--border-color); margin-top: 27px; padding-top: 20px; }
.qualitative-details > summary, .component-details > summary { cursor: pointer; color: var(--primary-color); font-size: .87rem; font-weight: 600; }
.qualitative-details > p, .component-details > p { font-size: .8rem; color: var(--text-secondary); margin: 16px 0; line-height: 1.8; }
.qa-table-jump { margin-top: 16px; font-size: .83rem; font-weight: 600; }
.qa-table-jump a { text-decoration: underline; text-underline-offset: 4px; }
.qualitative-table { min-width: 900px; table-layout: fixed; }
.qualitative-table th, .qualitative-table td { white-space: normal; vertical-align: top; text-align: left; font-size: .78rem; line-height: 1.7; padding: 15px; }
.qualitative-table th[scope="row"] { width: 25%; font-weight: 500; }
.qualitative-table th[scope="row"] span { font-weight: 650; color: var(--primary-color); }
.qualitative-table td:nth-child(3) { background: #f6f3fb; color: #4e3d70; }
.component-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 35px; margin-top: 20px; }
.component-grid h4 { font-size: .9rem; font-weight: 600; margin-bottom: 14px; }
.results-table.component-table { min-width: 0; border: 1px solid var(--border-color); }
.component-table td, .component-table th { padding: 12px; font-size: .81rem; }
.experiment-data-link { margin-top: 20px; font-size: .76rem; }
@media (max-width: 700px) {
  .experiment-tabs { gap: 6px; }
  .experiment-tabs button { flex: 1; padding: 10px 8px; font-size: .73rem; }
  .evaluation-scope { display: grid; gap: 8px; font-size: .73rem; }
  .experiment-message h3 { font-size: 1.4rem; }
  .experiment-message > p:last-child { font-size: .85rem; }
  .qa-impact-grid { grid-template-columns: 1fr; padding: 8px 17px; gap: 0; }
  .qa-impact-grid > div { padding: 15px 0; }
  .qa-impact-grid > div + div { border-left: none; border-top: 1px solid #ddd5e9; padding-left: 0; }
  .qa-impact-grid h4 { margin-bottom: 8px; }
  .impact-score { font-size: 1.4rem; }
  .impact-tokens { margin-top: 8px; }
  .table-actions { width: 100%; justify-content: space-between; gap: 12px; }
  #results .table-actions label { width: auto; justify-content: start; }
  #results .table-actions select { max-width: 175px; font-size: .76rem; }
  .qa-table-scroll { max-height: 430px; }
  .component-grid { grid-template-columns: 1fr; gap: 26px; }
}
