/* Scanner track record, Séries, opponent tiers, half-time, rest. Uses the redesign's --color-* tokens
   with fallbacks so it also reads if those change. Kept separate from styles.css on purpose. */

.tr-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 12px 0 6px; }
.tr-figs > div { background: var(--color-paper-2, #f1f5f9); border-radius: var(--radius, 8px); padding: 12px 14px; }
.tr-figs span { display: block; font-size: 13px; color: var(--color-muted, #475569); }
.tr-figs b { display: block; font-size: 26px; font-variant-numeric: tabular-nums; color: var(--color-ink-2, #1e293b); margin: 2px 0 6px; }
.tr-figs em { display: block; font-style: normal; font-size: 12px; color: var(--color-muted, #475569); margin-top: 5px; }
.tr-bar { display: block; height: 6px; background: var(--color-paper-3, #e9eef6); border-radius: 3px; overflow: hidden; min-width: 80px; }
.tr-bar i { display: block; height: 100%; border-radius: 3px; }
.tr-bar.hit i { background: var(--color-primary, #1e40af); }
.tr-bar.base i { background: var(--color-muted, #475569); opacity: .5; }
.tr-bar.mkt i { background: var(--color-amber, #d97706); }
.tr-buckets { width: 100%; max-width: 560px; }
.tr-cell { display: flex; align-items: center; gap: 10px; }
.tr-cell .tr-bar { flex: 1; }
.tr-cell b { min-width: 44px; text-align: right; font-variant-numeric: tabular-nums; }
.tr-row .num { font-variant-numeric: tabular-nums; white-space: nowrap; }

.chip.static { cursor: default; display: inline-flex; align-items: center; }

table.tiers tr.focus td { background: var(--color-paper-3, #e9eef6); }
table.tiers tr.focus td:first-child { box-shadow: inset 3px 0 0 var(--color-primary, #1e40af); }
table.htft { width: 100%; margin-top: 8px; }
table.htft th { font-size: 12px; }
.ht-figs { margin-bottom: 6px; }

.card.rest { margin-top: 14px; }
.card.rest p { margin: 4px 0; }
