/* spending screens: rules beyond src/ui/style.css. */

/* Per categorie: the name above its bar; the amount over last year's */
.rank .rk-name { min-width: 0; }
.rank .rk-name b { font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank .rk-last { margin-top: 2px; }
body.phone .rank .spark { width: 56px; }

/* a category's cash flow and Cashflow: the chosen period below the chart */
.flow .chips, .cashflow .chips { margin-top: 14px; }
.flow-sel:empty { display: none; }
.flow-sel > .section { margin-top: 16px; }
.flow-sel .loading { margin-top: 12px; }

/* Cashflow's breakdown of a month: in, out per category, saved */
.cf-table { width: 100%; }
.cf-table .num { text-align: right; white-space: nowrap; }
.cf-table tr.cf-saved td { border-top: 1px solid var(--rule-strong); }
.cf-table td.rowopen { background: var(--sel); }
