/* mensual screen styles (helper-owned). Tokens only. */
.mm-head { margin-bottom: var(--e-12); }
/* The month or year on one line: arrows, its name, a way back to now, and the files at the far end. */
.mm-step { display: flex; align-items: center; flex-wrap: wrap; gap: var(--e-8) var(--e-12); }
.mm-step h2 { font-size: var(--t-xl); font-weight: var(--w-title); }
.mm-files { display: flex; flex-wrap: wrap; gap: var(--e-8); margin-left: auto; }
@media (max-width: 599.98px) { .mm-files { margin-left: 0; width: 100%; } .mm-files .btn { flex: 1 1 auto; padding: 0 var(--e-12); } }
.mm-figs { margin-top: var(--e-24); margin-bottom: var(--e-8); }
.mm-note { margin-top: var(--e-12); }
.mm-more { margin-top: var(--e-12); }
.mm-groups .mm-h3 { font-size: var(--t-s); font-weight: var(--w-control); color: var(--soft); margin-top: var(--e-24); }
.mm-groups h2 + .mm-h3 { margin-top: var(--e-4); }
.mm-groups .ch-hbars { margin-top: var(--e-8); }
.sheet .explain { gap: 0; }
.sheet .explain .sum-row + .sum-row:not(.total) { border-top: 1px solid var(--line); }

/* The year, month by month: a quiet table, figures right-aligned and tabular. */
.mm-tw { overflow-x: auto; margin: 0 calc(var(--e-4) * -1); }
.mm-table { width: 100%; border-collapse: collapse; font-size: var(--t-s); font-variant-numeric: tabular-nums; }
.mm-table th, .mm-table td { padding: var(--e-8) var(--e-4); text-align: left; white-space: nowrap; }
.mm-table thead th { color: var(--soft); font-weight: var(--w-control); font-size: var(--t-xs); border-bottom: 1px solid var(--line2); }
.mm-table tbody tr + tr td { border-top: 1px solid var(--line); }
.mm-table .n { text-align: right; }
.mm-table td.n { font-weight: var(--w-amount); }
.mm-table td.in { color: var(--good); }
.mm-table td a { color: var(--ink); font-weight: var(--w-control); text-decoration: none; }
.mm-table td a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mm-table tr.cur td { background: var(--tint); }
.mm-table tr.later td a { color: var(--soft); font-weight: 400; }
.mm-table tfoot th, .mm-table tfoot td { border-top: 1px solid var(--line2); font-weight: var(--w-strong); }
@media (max-width: 719.98px) { .mm-table .wide { display: none; } }
