/* The real final value always reserves space and remains in the accessible tree.
   Only its aria-hidden visual duplicate is changed by the finite counter. */
.evidence-number[data-stat-count] { position: relative; font-variant-numeric: tabular-nums; font-kerning: none; }
[data-stat-count-visual] { display: none; position: absolute; inset: 0; pointer-events: none; white-space: nowrap; }
[data-stat-count-number] { white-space: pre; }
[data-stat-count-visual][hidden] { display: none !important; }

@media screen {
  html.motion-v7-ready[data-motion-enabled="true"] .stat-count-ready > [data-stat-count-final] { opacity: 0; }
  html.motion-v7-ready[data-motion-enabled="true"] .stat-count-ready > [data-stat-count-visual]:not([hidden]) { display: block; }
  @media (prefers-reduced-motion: reduce) {
    html:not([data-motion-preference="on"]) .stat-count-ready > [data-stat-count-final] { opacity: 1 !important; }
    html:not([data-motion-preference="on"]) .stat-count-ready > [data-stat-count-visual] { display: none !important; }
  }
}
@media print {
  [data-stat-count-final] { opacity: 1 !important; }
  [data-stat-count-visual] { display: none !important; }
}
