/* paper-ledger overrides - the opinionated treatment on top of the tokens
   for the etelej.com lab-sites. Layer AFTER paper-ledger-theme.css. Each
   rule is a deliberate identity decision; page-level looks live in
   paper-ledger-page.css. */

/* Focus: the identity's plain ink-blue ring - 2px outline with a small
   offset, as foundation.css ships it. No glow; elevation is a rule here. */
[data-theme="paper-ledger"] :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 1px;
}

/* Selection: the accent wash, derived from tokens - never a new color. */
[data-theme="paper-ledger"] ::selection {
  background: var(--accent-soft);
}

/* Figures are never proportional: every numeral, label and code path gets
   lining tabular figures (the identity enforces this on its own classes;
   .tabular extends it to ported chrome). */
[data-theme="paper-ledger"] .tabular {
  font-variant-numeric: lining-nums tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  [data-theme="paper-ledger"] *,
  [data-theme="paper-ledger"] *::before,
  [data-theme="paper-ledger"] *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
