/* Chart marks. Colours come from each direction's tokens (--series-1 etc.). */
.c-svg { display: block; overflow: visible; }
.c-svg text { font-family: var(--chart-font); }
.c-tick { font-size: 11px; fill: var(--ink-2); }
.c-num { font-variant-numeric: tabular-nums; }
.c-annot { font-size: 11px; fill: var(--ink-2); }
.c-endlabel { font-size: 12px; font-weight: 600; fill: var(--ink); }
.c-grid { stroke: var(--grid); stroke-width: 1; }
.c-axis { stroke: var(--axis); stroke-width: 1; }
.c-goal { fill: var(--goal-wash); }
.c-goal-line { stroke: var(--goal-line); stroke-width: 1; }
.c-noise { fill: var(--noise-wash); }
.c-prev { stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; }
.c-event { stroke: var(--axis); stroke-width: 1; }
.c-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.c-line.thin { stroke-width: 1.5; }
.c-line.s1 { stroke: var(--series-1); }
.c-line.s2 { stroke: var(--series-2); }
.c-trail-seg { stroke: var(--series-1); stroke-width: 2; stroke-linecap: round; }
.c-dot { stroke: var(--surface); stroke-width: 2; paint-order: stroke; }
.c-dot.s1 { fill: var(--series-1); }
.c-dot.s2 { fill: var(--series-2); }
.c-dot.hollow { fill: var(--surface); stroke: var(--series-1); stroke-width: 2; }
.c-med { fill: var(--med); }
.c-hit { fill: transparent; stroke: none; cursor: default; }
.c-pt:focus, g:focus { outline: none; }
g:focus-visible .c-dot, g:focus-visible .c-med { stroke: var(--focus); stroke-width: 3; }
.c-track { fill: var(--rule, var(--grid)); }
.c-goalzone { fill: var(--goal-zone, var(--goal-wash)); }
.c-bracket { fill: none; stroke: var(--ink-2); stroke-width: 1; }
.c-travel { stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; }
.c-prevring { fill: var(--surface); stroke: var(--ink-2); stroke-width: 2; }
.c-latest { fill: var(--ink); stroke: var(--surface); stroke-width: 2; paint-order: stroke; }
.c-tirfill { fill: var(--ink); }
.c-strip-empty { font-size: 12px; color: var(--ink-2); padding: 6px 0; }
.c-tip { position: absolute; z-index: 10; pointer-events: none; transform: translateY(-100%); max-width: 220px;
  background: var(--tip-bg); color: var(--tip-ink); border-radius: 6px; padding: 8px 10px; font: 12px/1.4 var(--chart-font);
  opacity: 0; transition: opacity .12s; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.c-tip.on { opacity: 1; }
.c-tip strong, .c-tip span { display: block; }
.c-table { border-collapse: collapse; font: 13px/1.4 var(--chart-font); margin: 8px 0; font-variant-numeric: tabular-nums; }
.c-table th, .c-table td { text-align: left; padding: 4px 12px 4px 0; border-bottom: 1px solid var(--grid); }
.c-table th { color: var(--ink-2); font-weight: 600; }
@media (max-width: 760px) { .c-svg { max-width: 100%; } }
@media (prefers-reduced-motion: reduce) { .c-tip { transition: none; } }
@media (forced-colors: active) { .c-line, .c-dot, .c-med { forced-color-adjust: none; } }
