.history-toolbar-v2.compact{justify-content:space-between}
.history-table-wrap{max-width:100%}
.history-ledger{width:100%;min-width:0;table-layout:fixed}
.history-ledger:not(.with-models) th:nth-child(1){width:44%;text-align:center}
.history-ledger:not(.with-models) th:nth-child(2){width:24%;text-align:center}
.history-ledger:not(.with-models) th:nth-child(3){width:32%;text-align:center;font-weight:800;font-style:italic}
.history-ledger.with-models th:nth-child(1){width:40%;text-align:center}
.history-ledger.with-models th:nth-child(2){width:18%;text-align:center}
.history-ledger.with-models th:nth-child(3){width:12%;text-align:center}
.history-ledger.with-models th:nth-child(4){width:17%;text-align:center}
.history-ledger.with-models th:nth-child(5){width:13%;text-align:center}
.ledger-match-info{text-align:left!important;white-space:normal!important;padding-left:16px!important;padding-right:8px!important}
.ledger-meta{display:flex;align-items:baseline;gap:7px;margin-bottom:5px;color:var(--muted);font-size:11px}
.ledger-meta time{font-variant-numeric:tabular-nums}
.ledger-meta strong{color:var(--ink);font-size:15px;font-weight:900;letter-spacing:.03em}
.ledger-match-info .ledger-teams{display:flex;align-items:center;gap:4px;min-width:0}
.ledger-match-info .history-team{min-width:0}
.ledger-match-info .history-team b{color:#102f68;font-size:13px;font-weight:800;white-space:nowrap}
.ledger-match-info.team-sm .history-team b{font-size:11.5px!important}
.ledger-match-info.team-xs .history-team b{font-size:10px!important;letter-spacing:-.03em}
.ledger-score{font-variant-numeric:tabular-nums;white-space:nowrap!important;text-align:center!important;padding:8px 3px!important}
.model-locked{text-align:center!important;font-size:13px;font-weight:800;font-style:italic;color:var(--ink);white-space:nowrap!important}
.prediction-hit.ok{color:#d72435!important;background:transparent!important;font-size:16px;font-weight:900}
html[data-theme="dark"] .ledger-match-info .history-team b{color:#dbe7ff}
.eb-dialog-models>.eb-dialog-model:nth-child(6){display:none!important}
.old-tag-grid-full>div:last-child{display:none!important}
@media(max-width:600px){
  .history-table-wrap{overflow-x:hidden!important}
  .history-ledger{width:100%;min-width:0}
  .history-ledger.with-models{width:100%;min-width:0;table-layout:fixed}
  .ledger-meta strong{font-size:14px}
  .ledger-match-info .history-team b{line-height:1.45}
  .history-ledger.with-models th,.history-ledger.with-models td{padding:7px 1px!important;overflow:hidden}
  .history-ledger.with-models .ledger-match-info{padding-left:8px!important;padding-right:3px!important}
  .history-ledger.with-models .ledger-score{font-size:11px!important;padding:7px 1px!important}
  .history-ledger.with-models .history-prediction{display:grid;grid-template-columns:auto minmax(0,auto);grid-template-rows:auto auto;align-items:center;justify-content:center;column-gap:2px;row-gap:2px;min-width:0;width:100%}
  .history-ledger.with-models .prediction-hit{grid-column:1;grid-row:1;width:auto;height:auto;padding:0;font-size:11px}
  .history-ledger.with-models .history-prediction b{grid-column:2;grid-row:1;min-width:0;font-size:9px;line-height:1.1;white-space:nowrap}
  .history-ledger.with-models td:nth-child(4) .history-prediction b{font-size:8px;letter-spacing:-.04em}
  .history-ledger.with-models .confidence-grade{grid-column:2;grid-row:2;width:18px;min-width:18px;height:18px;margin:0 auto;padding:0;font-size:9px}
  .history-toolbar-v2.compact{padding:8px}
  .advanced-search-button,.model-toggle.compact{min-height:44px}
}
