/* Horse profile dashboard (ff-dashboard.js). Kept out of furlong-files.css so that file stays its original size. */
/* ---------- Horse profile dashboard (ff-dashboard.js) ---------- */
.ff-pfilters { margin: 4px 0 18px; }
.ff-pfilters .ff-h2h__filters select { max-width: 100%; }
.ff-pd { display: flex; flex-direction: column; gap: 16px; margin: 0 0 28px; }
.ff-pd__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.ff-pd__h { margin: 0; }
.ff-pd__count { margin: 0; font-size: 14px; color: var(--ff-ink-2); }
.ff-pd__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 8px; }
.ff-pd__tile { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--ff-grey); }
.ff-pd__tile-k { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ff-ink-2); }
.ff-pd__tile-v { font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--ff-navy); font-variant-numeric: tabular-nums; }
.ff-pd__card { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--ff-steel-soft); border-radius: 12px; background: var(--ff-white); min-width: 0; }
.ff-pd__head { display: flex; flex-direction: column; gap: 2px; }
.ff-pd__title { margin: 0; font-size: 15px; font-weight: 700; color: var(--ff-navy); }
.ff-pd__sub, .ff-pd__note { margin: 0; font-size: 13px; color: var(--ff-ink-2); }
.ff-pd__ribbon { display: flex; flex-wrap: wrap; gap: 6px; }
.ff-pd__chip { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ff-pd__chip.is-win { background: var(--ff-orange-2); color: var(--ff-navy); }
.ff-pd__chip.is-place { background: #0f7b6c; color: #fff; }
.ff-pd__chip.is-other { background: #e3e8ef; color: var(--ff-navy); }
.ff-pd__chip.is-faded, .ff-pd__pt.is-faded { opacity: .25; }
.ff-pd__seg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ff-pd__seg-k { margin-right: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ff-ink-2); }
.ff-pd__segbtn { appearance: none; min-width: 44px; min-height: 44px; border-radius: 8px; border: 1px solid #b8c4d2; background: var(--ff-white); color: var(--ff-navy); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.ff-pd__segbtn.is-on { background: var(--ff-navy); border-color: var(--ff-navy); color: #fff; }
.ff-pd__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 0; font-size: 12px; color: var(--ff-ink-2); }
.ff-pd__key { display: inline-flex; align-items: center; gap: 6px; }
.ff-pd__key::before { content: ""; display: inline-block; }
.ff-pd__key.is-me::before { width: 14px; height: 14px; border-radius: 50%; background: var(--ff-orange); border: 2px solid var(--ff-navy); box-sizing: border-box; }
.ff-pd__key.is-field::before { width: 10px; height: 10px; border-radius: 50%; background: var(--ff-steel); }
.ff-pd__key.is-med::before { width: 2px; height: 14px; background: var(--ff-navy); }
.ff-pd__metrics { display: flex; flex-direction: column; }
.ff-pd__metric { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; padding: 10px 0; border-top: 1px solid #e3e8ef; }
.ff-pd__mlab { flex: 0 0 150px; display: flex; flex-direction: column; gap: 1px; }
.ff-pd__mk { font-size: 12px; font-weight: 600; color: var(--ff-ink-2); }
.ff-pd__mv { display: flex; align-items: baseline; gap: 8px; font-size: 22px; font-weight: 700; color: var(--ff-navy); font-variant-numeric: tabular-nums; }
.ff-pd__mv small { font-size: 13px; font-weight: 600; color: var(--ff-orange-text); }
.ff-pd__mright { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ff-pd__mnote { font-size: 12px; color: var(--ff-ink-2); }
.ff-pd__track { position: relative; height: 44px; margin: 0 8px; }
.ff-pd__rail { position: absolute; left: 0; right: 0; top: 21px; height: 2px; border-radius: 2px; background: var(--ff-steel-soft); }
.ff-pd__medtick { position: absolute; top: 8px; width: 2px; height: 28px; margin-left: -1px; border-radius: 1px; background: var(--ff-navy); }
.ff-pd__dot { position: absolute; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--ff-steel); opacity: .75; }
.ff-pd__dot.is-me { top: 14px !important; width: 16px; height: 16px; margin-left: -8px; opacity: 1; background: var(--ff-orange); border: 2px solid var(--ff-navy); box-sizing: border-box; }
.ff-pd__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; align-items: start; }
.ff-pd__heat { display: grid; gap: 6px; align-items: center; }
.ff-pd__hcol { font-size: 12px; font-weight: 600; color: var(--ff-ink-2); text-align: center; }
.ff-pd__hrow { font-size: 12px; font-weight: 600; color: var(--ff-ink-2); }
.ff-pd__cell { appearance: none; min-height: 44px; border-radius: 8px; border: 1px solid transparent; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; background: var(--ff-grey); color: var(--ff-navy); }
.ff-pd__cell.is-none { border-color: var(--ff-steel-soft); }
.ff-pd__cell.is-zero { border-color: #b8c4d2; }
.ff-pd__cell.is-low, .ff-pd__sw.is-low { background: #cde8e3; }
.ff-pd__cell.is-mid, .ff-pd__sw.is-mid { background: #7fc3b8; }
.ff-pd__cell.is-hi, .ff-pd__sw.is-hi { background: #0f7b6c; color: #fff; }
.ff-pd__cell.is-on { box-shadow: 0 0 0 3px var(--ff-orange); }
.ff-pd__cell:focus-visible, .ff-pd__segbtn:focus-visible, .ff-pd__more:focus-visible { outline: 3px solid var(--ff-orange); outline-offset: 2px; }
.ff-pd__sw { display: inline-block; padding: 2px 8px; border-radius: 4px; background: var(--ff-grey); color: var(--ff-navy); }
.ff-pd__sw.is-hi { color: #fff; }
.ff-pd__more { appearance: none; align-self: flex-start; min-height: 44px; padding: 0 14px; border-radius: 8px; border: 1px solid #b8c4d2; background: var(--ff-white); color: var(--ff-navy); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.ff-pd__plot { padding: 24px 0 0 42px; }
.ff-pd__plotarea { position: relative; height: 170px; margin: 0 10px; }
.ff-pd__gl { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid #e3e8ef; }
.ff-pd__gl-k { position: absolute; left: -50px; top: 0; width: 40px; text-align: right; transform: translateY(-50%); font-size: 11px; color: var(--ff-ink-2); }
.ff-pd__mark { position: absolute; top: 0; bottom: 0; border-left: 2px dashed var(--ff-orange); }
.ff-pd__mark-k { position: absolute; top: -20px; left: 0; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 600; color: var(--ff-orange-text); }
.ff-pd__pt { position: absolute; box-sizing: border-box; width: 13px; height: 13px; margin: -6px 0 0 -6px; border-radius: 50%; border: 1.5px solid #fff; }
.ff-pd__pt.is-win { background: var(--ff-orange-2); border-color: var(--ff-navy); }
.ff-pd__pt.is-place { background: #0f7b6c; }
.ff-pd__pt.is-other { background: #6f8196; }
.ff-pd__axis { position: relative; height: 22px; margin: 6px 10px 0; }
.ff-pd__axis span { position: absolute; top: 0; transform: translateX(-50%); font-size: 11px; color: var(--ff-ink-2); white-space: nowrap; }

.ff-pd__hrow.is-total { padding-top: 6px; border-top: 1px solid var(--ff-steel-soft); font-weight: 700; color: var(--ff-navy); }
.ff-pd__cell.is-static { display: flex; align-items: center; justify-content: center; cursor: default; }
.ff-pd__cell.is-total { border-color: #b8c4d2; }

/* Locked teaser for free visitors */
.ff-pd-lock { position: relative; margin: 0 0 28px; border: 1px solid #dfe5ec; border-radius: 12px; background: var(--ff-grey, #F2F4F7); overflow: hidden; min-height: 330px; }
.ff-pd-lock__ghost { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 16px; opacity: .55; filter: blur(2px); }
.ff-pd-lock__ghost span { height: 58px; border-radius: 8px; background: #d5dde6; }
.ff-pd-lock__ghost i { grid-column: span 2; height: 90px; border-radius: 8px; background: #e1e7ee; }
.ff-pd-lock__card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(460px, calc(100% - 24px)); box-sizing: border-box; padding: 18px 20px; border-radius: 12px; background: #fff; box-shadow: 0 6px 24px rgba(7, 31, 56, .18); text-align: left; }
.ff-pd-lock__card h3 { margin: 4px 0 8px; font-size: 17px; color: var(--ff-navy, #071F38); }
.ff-pd-lock__card ul { margin: 0 0 12px; padding-left: 18px; font-size: 13px; line-height: 1.45; color: #33475b; }
.ff-pd-lock__card p { margin: 0; }
@media (max-width: 600px) {
	.ff-pd-lock { min-height: 0; }
	.ff-pd-lock__ghost { display: none; }
	.ff-pd-lock__card { position: static; transform: none; width: auto; box-shadow: none; background: transparent; }
}
