
/* RB_HORSE_STATS_V2: horse profile form stats */
.rb-hs { margin-top: 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); overflow: hidden; }
.rb-hs-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 15px 18px; border-bottom: 1px solid var(--border); }
.rb-hs-title { font-size: 0.78rem; font-weight: 900; letter-spacing: 0.08em; }
.rb-hs-note { color: var(--muted); font-size: 0.72rem; }
.rb-hs-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); border-bottom: 1px solid var(--border); }
.rb-hs-kpi { padding: 14px 18px; border-right: 1px solid var(--border); }
.rb-hs-kpi:last-child { border-right: 0; }
.rb-hs-kpi-label { color: var(--muted); font-size: 0.66rem; font-weight: 850; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 5px; }
.rb-hs-kpi-value { font-size: 1.1rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.rb-hs-kpi-value.accent { color: var(--accent); }
.rb-hs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; padding: 14px; }
.rb-hs-card { background: var(--panel-soft); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px 8px; }
.rb-hs-card-title { color: var(--accent); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.rb-hs-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rb-hs-table th { color: var(--muted); font-size: 0.62rem; font-weight: 850; letter-spacing: 0.06em; text-align: right; padding: 4px 0 6px; }
.rb-hs-table th:first-child { text-align: left; }
.rb-hs-table td { padding: 6px 0; border-top: 1px solid var(--border); font-size: 0.84rem; text-align: right; white-space: nowrap; }
.rb-hs-table td:first-child { text-align: left; font-weight: 750; padding-right: 8px; }
.rb-hs-table td.rec { font-weight: 800; }
.rb-hs-table tr.empty td { color: #4f5852; font-weight: 500; }
.rb-hs-table tr.best td:first-child { color: var(--accent); }
.rb-hs-table tr.best td:first-child::after { content: " \2605"; font-size: 0.7rem; }
.rb-hs-bar { display: inline-block; vertical-align: middle; width: 42px; height: 5px; margin-left: 8px; border-radius: 3px; background: #232a26; overflow: hidden; }
.rb-hs-bar > i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
@media (max-width: 640px) {
  .rb-hs-grid { grid-template-columns: 1fr; padding: 10px; }
  .rb-hs-summary { grid-template-columns: repeat(2, 1fr); }
  .rb-hs-kpi:nth-child(2n) { border-right: 0; }
  .rb-hs-kpi { border-bottom: 1px solid var(--border); }
  .rb-hs-head { flex-direction: column; gap: 4px; }
  .rb-hs-bar { width: 28px; margin-left: 6px; }
}
