/* Deze maand (SPEC §6.6): rules beyond src/ui/style.css. */

/* the month chooser: ‹ oktober 2026 › */
.mon-nav { display: flex; align-items: center; gap: 10px; margin: 4px 0 12px; }
.mon-nav .mon-step { min-width: 44px; min-height: 44px; font-size: 20px; line-height: 1; }
.mon-nav .mon-step[disabled] { opacity: 0.35; cursor: default; }
.mon-nav .mon-label { font-size: 16px; min-width: 9em; text-align: center; }

/* the figures */
.mon-figures .mon-head { font-size: 18px; line-height: 1.5; }
.mon-figures .mon-head b { font-weight: 650; }
.mon-figures .note { margin-top: 6px; }
.mon-balance { margin-top: 8px; }
.mon-below { color: var(--amber-fg); font-weight: 600; }
/* more out than normal amber, less green; not `.more`, which is the list's "show more" */
.mon-diff.up, .mon-d.up { color: var(--amber-fg); }
.mon-diff.down, .mon-d.down { color: var(--pos); }
.mon-diff { font-weight: 600; }
.mon-card { margin-bottom: 10px; }
.mon-per { margin-top: 16px; }

/* the rows: icon, name over its normal and last year, the amount over the difference */
.mon-rows { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 12px; align-items: stretch; }
.mon-rows .mon-row { display: contents; color: var(--fg); }
/* every cell as tall as its row, so the rule under it runs level */
.mon-rows .mon-row > * { padding: 9px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; justify-content: center; }
.mon-rows .mon-row > .right { align-items: flex-end; }
.mon-row .mon-meta > span { white-space: nowrap; }
.mon-rows .mon-row.click { cursor: pointer; }
.mon-rows .mon-row.click:hover > *, .mon-rows .mon-row.on > * { background: var(--panel); }
.mon-rows .mon-row.overig > * { border-bottom: 0; }
.mon-rows .rowopen, .mon-rows .mon-none { grid-column: 1 / -1; }
.mon-rows .mon-none { padding: 6px 0 10px; }
.mon-row .mon-name { min-width: 0; }
.mon-row .mon-nm { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.mon-row .mon-nm b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mon-row .mon-meta { margin-top: 2px; }
.mon-row .right { text-align: right; }
.mon-chart { margin-bottom: 8px; }

/* on an account's page */
.mon-holder:empty { display: none; }
.mon-holder { margin-top: 8px; }
.mon-holder .btns { margin-top: 6px; }
