/* Bloodline Explorer visuals: chart chrome on the Explorer's dark frame. Series steps validated against the panel surface. */
:root{
  --vz-surf:#0d1424; --vz-s1:#3987e5; --vz-s2:#d95926; --vz-s3:#199e70;
  --vz-grid:#1a2540; --vz-axis:#33425f; --vz-muted:#8a96ab; --vz-text:#e8ecf3;
  --vz-q1:#184f95; --vz-q2:#256abf; --vz-q3:#3987e5; --vz-q4:#6da7ec; --vz-q5:#b7d3f6; --vz-empty:#151e33;
}
.vz-asof{color:var(--dim);font-size:13.5px;margin:-8px 0 14px}
.vz-filters{margin-bottom:14px}
.vz-filters .vz-wide{flex:1 1 320px;max-width:640px}
.vz{min-width:0}
.vz-fig{margin:0 0 18px;background:var(--vz-surf);border:1px solid var(--line);border-radius:10px;padding:14px 14px 8px;min-width:0}
.vz-fig figcaption{font:600 15px var(--sans);color:var(--text);margin:0 0 8px}
.vz-plot{width:100%;min-width:0;position:relative}
.vz-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
@media (max-width:900px){.vz-grid2{grid-template-columns:minmax(0,1fr)}}
.vz-svg{display:block;max-width:100%;overflow:visible;font-family:var(--sans)}
.vz-svg .vz-grid{stroke:var(--vz-grid);stroke-width:1;shape-rendering:crispEdges}
.vz-svg .vz-base{stroke:var(--vz-axis);stroke-width:1;shape-rendering:crispEdges}
.vz-svg .vz-lane{stroke:var(--vz-grid);stroke-width:1;shape-rendering:crispEdges}
.vz-svg .vz-cross{stroke:var(--vz-muted);stroke-width:1}
.vz-svg .vz-tick{fill:var(--vz-muted);font-size:11.5px;font-variant-numeric:tabular-nums}
.vz-svg .vz-tick-s{font-size:10px}
.vz-svg .vz-axt{fill:var(--vz-muted);font-size:11.5px}
.vz-svg .vz-lab{fill:var(--soft);font-size:13px}
.vz-svg .vz-val{fill:var(--text);font-size:12.5px;font-variant-numeric:tabular-nums}
.vz-svg .vz-dlab{fill:var(--text);font-size:12px;paint-order:stroke;stroke:var(--vz-surf);stroke-width:3px;stroke-linejoin:round}
.vz-svg .vz-pgm{fill:#fff;font-size:11px;font-weight:600;pointer-events:none}
.vz-svg .vz-hit{outline:none;cursor:crosshair}
.vz-svg .vz-hit:focus-visible{stroke:var(--action-hi);stroke-width:1.5}
.vz-svg .vz-horse{cursor:default;outline:none}
.vz-svg .vz-horse:focus-visible circle:nth-child(2){stroke:#fff}
.vz-legend{display:flex;flex-wrap:wrap;gap:6px 18px;margin:0 0 12px;font-size:13px;color:var(--soft)}
.vz-lk{display:inline-flex;align-items:center;gap:7px}
.vz-key-line{display:inline-block;width:16px;height:2px;border-radius:1px}
.vz-key-box{display:inline-block;width:12px;height:12px;border-radius:2px}
.vz-key-dot{display:inline-block;width:12px;height:12px;border-radius:50%}
.vz-tip{position:fixed;z-index:60;pointer-events:none;background:#0f1830;border:1px solid #2a3957;border-radius:8px;padding:8px 10px;
  box-shadow:0 14px 34px -12px rgba(0,0,0,.8);font-size:13px;color:var(--soft);max-width:min(300px,calc(100vw - 16px))}
.vz-tip-h{color:var(--dim);font-size:12.5px;margin-bottom:3px}
.vz-tip-r{display:flex;align-items:center;gap:8px;line-height:1.5}
.vz-tip-r b{color:#fff;font-weight:600;font-variant-numeric:tabular-nums}
.vz-tip-r .vz-key-line{flex:none}
.vz-note{margin-top:4px}
details.vz-table{margin:18px 0 0}
details.vz-table summary{cursor:pointer;color:var(--link);min-height:36px;display:flex;align-items:center;font-size:14px}
.vz-stat{margin:0 0 14px;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.vz-big{font:600 40px/1 var(--sans);color:#fff}
.vz-race{margin:0 0 10px;font-size:15px}
.vz-race a{font:600 18px var(--serif)}
.vz-rp-ctl{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 10px}
.vz-scrub{flex:1 1 200px;display:flex;min-width:0}
.vz-scrub input{width:100%;accent-color:var(--action-hi);min-height:34px}
.vz-call{color:var(--soft);font-size:14px;flex:1 1 100%}
.vz[data-vz=replay] .vz-plot{background:var(--vz-surf);border:1px solid var(--line);border-radius:10px;padding:8px 0 4px;margin-bottom:10px}
.vz-cal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px 22px}
.vz-cal-p{min-width:0}
.vz-cal-h{font-size:13px;margin:0 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vz-cal-n{color:var(--text);font-weight:500}
/* index */
.vz-cards{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.vz-card{display:flex;flex-direction:column;gap:6px;height:100%;background:var(--panel2);border:1px solid var(--line);border-radius:10px;padding:16px;color:var(--text)}
.vz-card:hover{border-color:#3b4d72;text-decoration:none}
.vz-glyph{width:100%;height:auto;max-height:110px;margin-bottom:6px;fill:var(--vz-s1);stroke:none}
.vz-glyph path{fill:none;stroke:var(--vz-s1);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.vz-glyph path.g2{stroke:var(--vz-s2)}
.vz-glyph circle.g2{fill:var(--vz-s2)}
.vz-glyph circle{fill-opacity:.75}
.vz-glyph .ln{stroke:var(--vz-grid);stroke-width:1}
.vz-glyph .h0{fill:var(--vz-q1)}.vz-glyph .h1{fill:var(--vz-q2)}.vz-glyph .h2{fill:var(--vz-q3)}.vz-glyph .h3{fill:var(--vz-q5)}
.vz-ct{font:600 19px var(--serif)}
.vz-cd{color:var(--dim);font-size:13.5px}
