/* TodoPorras Units / ledger navigation and links. */
/* Ledger navigation is inserted dynamically with two spans (icon + label), while
   ordinary entries use an icon span and a plain text node. Keep the same flex
   geometry: an icon of fixed width, followed immediately by the label. */
.tp-sidebar .tp-nav > .tp-nav-item[data-route="admin-ledger"],
.tp-sidebar .tp-nav > .tp-nav-item[data-route="player-ledger"]{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
  white-space:nowrap!important;
  grid-template-columns:none!important;
}
.tp-sidebar .tp-nav > .tp-nav-item[data-route="admin-ledger"] > .tp-nav-icon,
.tp-sidebar .tp-nav > .tp-nav-item[data-route="player-ledger"] > .tp-nav-icon{
  flex:0 0 22px!important;
  width:22px!important;
  min-width:22px!important;
  text-align:center!important;
}
.tp-sidebar .tp-nav > .tp-nav-item[data-route="admin-ledger"] > span:last-child,
.tp-sidebar .tp-nav > .tp-nav-item[data-route="player-ledger"] > span:last-child{
  display:inline!important;
  flex:0 0 auto!important;
  font:inherit!important;
  letter-spacing:inherit!important;
  line-height:inherit!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  text-align:left!important;
  white-space:nowrap!important;
  word-break:normal!important;
}
.tp-ledger-simple-head{margin-bottom:24px!important}
.tp-ledger-simple-head h1{margin:0!important}
.tp-ledger-inline-link{appearance:none;border:0;background:transparent;padding:0;margin:0;color:inherit;font:inherit;font-weight:900;text-align:left;cursor:pointer;text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--tp-green,#09ba5d) 45%,transparent);text-underline-offset:3px}
.tp-ledger-inline-link:hover{color:var(--tp-green,#09ba5d)}
.tp-ledger-count-link{min-width:28px;text-align:center}
.tp-ledger-metrics strong small{display:block}
.tp-ledger-metrics>div>small{display:block;margin-top:6px;color:var(--tp-muted,#607087);font-size:11px}
html[data-tp-theme="dark"] .tp-ledger-inline-link:hover{color:var(--tp-green,#62e8a8)}
@media(max-width:900px){.tp-ledger-simple-head{margin-bottom:16px}}
