/* Деньги (7.5). 04.10 owner «Доделай за агентами что они не доедали»: written by hand. Tokens only; fixed row heights,
   tabular numbers, single-line labels with ellipsis. */
#n-period { grid-column: 1 / -1; }
.hero-v[data-t="up"] { color: var(--up); }
.hero-v[data-t="down"] { color: var(--down); }

/* the ledger */
.ledger { display: flex; flex-direction: column; margin-top: 10px; }
.lg-g { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; height: 32px; padding-bottom: 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); border-top: 1px solid var(--line); }
.lg-g:first-child { border-top: 0; }
.lg-g .num { font-size: var(--fs-small); text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--ink-2); }
.lg-line { border-top: 1px solid var(--line); }
.lg-h { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; padding: 6px 0 6px 10px; min-height: 44px; align-items: center; }
.lg-line.more .lg-h { cursor: pointer; }
.lg-n { font-weight: 600; font-size: var(--fs-body); grid-column: 1; }
.lg-s { font-size: var(--fs-micro); line-height: var(--lh-micro); grid-column: 1; }
.lg-v { font-weight: 600; text-align: right; grid-column: 2; grid-row: 1 / span 2; white-space: nowrap; }
.lg-line.more .lg-n::after { content: " ▸"; color: var(--ink-3); font-weight: 400; }
.lg-line.more.open .lg-n::after { content: " ▾"; }
.lg-p { display: flex; flex-direction: column; gap: 3px; padding: 0 0 8px 22px; }
.lg-p:empty { display: none; }
.lg-pr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--ink-2); }
.lg-pr b { font-weight: 600; white-space: nowrap; }
[data-t="up"].lg-v, .lg-pr b[data-t="up"], .lg-tot [data-t="up"], .lg-g .num[data-t="up"] { color: var(--up); }
[data-t="down"].lg-v, .lg-pr b[data-t="down"], .lg-tot [data-t="down"], .lg-g .num[data-t="down"] { color: var(--down); }
.lg-tot { display: flex; justify-content: space-between; align-items: center; height: 44px; border-top: 2px solid var(--line); font-weight: 700; font-size: var(--fs-body); }
.lg-ord { display: block; margin: 8px 0 4px; font-size: var(--fs-small); }
.lg-ord[hidden] { display: none; }

/* how it grew */
.chart-host { margin-top: 6px; }
.chart-leg { font-size: var(--fs-micro); line-height: var(--lh-micro); margin-top: 4px; }
.dbars-host { margin-top: 6px; }
.dbars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; height: 140px; }
.dbar { all: unset; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; cursor: default; }
.dbar-v { font-size: 10px; line-height: 14px; white-space: nowrap; overflow: hidden; max-width: 100%; }
@media (max-width: 419.98px) { .dbar-v { font-size: 9px; letter-spacing: -0.2px; } }   /* (09.10) seven «+$1 530» in a phone's width */
.dbar-w { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
.dbar-b { width: 70%; min-height: 2px; border-radius: 3px 3px 0 0; background: var(--ink-4); }
.dbar-b[data-t="up"] { background: var(--up); }
.dbar-b[data-t="down"] { background: var(--down); }
.dbar-t { font-size: 10px; line-height: 14px; white-space: nowrap; }
#n-chart { display: flex; flex-direction: column; gap: 12px; }
