:root { --books-accent: #2f6f5e; }
body { background: var(--bs-tertiary-bg); }
.navbar-brand { font-weight: 600; letter-spacing: .02em; }
.navbar { background: var(--books-accent) !important; }
.card { border: 0; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.stat .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--bs-secondary-color); }
.stat .value { font-size: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.negative { color: var(--bs-danger); }
.bar-track { background: var(--bs-secondary-bg); height: .55rem; border-radius: .3rem; overflow: hidden; }
.bar { height: 100%; border-radius: .3rem; }
.bar.revenue { background: #6c9bd2; }
.bar.profit { background: var(--books-accent); }
.bar.loss { background: var(--bs-danger); }
.formset-row td { vertical-align: top; }
.formset-row .form-control, .formset-row .form-select { min-width: 6rem; }
@media print {
  .navbar, .no-print, .messages { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; }
}
