/* Lifetime record table — shared by the horse profile header and the Trad RC
   pop-out (src/lifetime-record.js). Lifted from trad-card.css's table.tp-lt
   rules on 03-09-2026; one skin so the two surfaces read identically. */
.lr-sec { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #6b7280; margin: 8px 0 4px; }
.lr-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.lr-table { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.lr-table th {
    font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    color: #7d858c; text-align: right; padding: 4px 8px; border-bottom: 1px solid #dcd8d0; cursor: default;
}
table.lr-table th:first-child { text-align: left; }
table.lr-table td { padding: 5px 8px; text-align: right; border-bottom: 1px solid #efece6; }
table.lr-table td:first-child { text-align: left; font-weight: 700; }
table.lr-table tr.lr-tot td { border-top: 1.5px solid #14181d; border-bottom: none; font-weight: 700; }
/* the race the viewer arrived from — same amber as the anchor toggle */
table.lr-table tr.lr-hi td { background: #fef3c7; }
table.lr-table tr.lr-hi td:first-child { color: #92400e; }
/* people mode: age sub-rows under the flat codes, £1 BSP colouring, best horse */
table.lr-table tr.lr-sub td { color: #6b7280; font-weight: 400; }
table.lr-table tr.lr-sub td:first-child { padding-left: 22px; font-weight: 500; }
table.lr-table td.lr-pos { color: #15803d; font-weight: 700; }
table.lr-table td.lr-neg { color: #b91c1c; }
table.lr-table td.lr-best { text-align: left; white-space: nowrap; }
table.lr-table td.lr-best a { color: #1d4ed8; text-decoration: none; }
table.lr-table td.lr-best a:hover { text-decoration: underline; }
table.lr-table td.lr-best b { color: #111827; margin-left: 4px; }
/* header chips (Form Temperature, lowest weight, claim) and the partial-load note */
.lr-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; }
.lr-chip { display: inline-block; font-size: 11.5px; padding: 3px 9px; border-radius: 999px; background: #f3f4f6; color: #374151; border: 1px solid #e5e7eb; }
.lr-chip b { font-weight: 700; color: #111827; text-transform: capitalize; }
.lr-chip.lr-ft-hot  { background: #fee2e2; border-color: #fca5a5; color: #991b1b; } .lr-chip.lr-ft-hot b { color: #991b1b; }
.lr-chip.lr-ft-warm { background: #ffedd5; border-color: #fdba74; color: #9a3412; } .lr-chip.lr-ft-warm b { color: #9a3412; }
.lr-chip.lr-ft-cool { background: #dbeafe; border-color: #93c5fd; color: #1e40af; } .lr-chip.lr-ft-cool b { color: #1e40af; }
.lr-chip.lr-ft-cold { background: #e0e7ff; border-color: #a5b4fc; color: #3730a3; } .lr-chip.lr-ft-cold b { color: #3730a3; }
.lr-note { font-size: 11px; color: #92400e; margin-top: 4px; }
/* form figures for a code group ("Jumps form: 3808P/6112P…") */
.lr-form { font-size: 12px; color: #374151; margin: 2px 0; word-break: break-all; }
.lr-form b { color: #111827; font-weight: 700; margin-right: 6px; }
.lr-form code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: .04em; background: transparent; }
