.cash .filters, .cash .metrics { margin-block: 1rem; }
.cash .filters {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  align-items: end;
}
.cash .filters :is(input, select) { width: 100%; }
.cash #resumo .filters .field:has(#query) { grid-column: 1 / -1; }
.cash .metrics {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.25rem), 1fr));
  gap: .65rem;
}
.cash .metric {
  container-type: inline-size;
  padding: .78rem;
}
.cash .metric strong {
  font-size: clamp(1rem, 12cqi, 1.85rem);
  white-space: nowrap;
  overflow-wrap: normal;
}
.cash .table-wrap { margin-top: .6rem; }
.cash .table-wrap td { vertical-align: top; }
.cash .table-wrap td.wrapped { min-width: 14rem; white-space: pre-wrap; }
.cash td.amount { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cash .negative { color: #ffaaa5; }
.cash #notice { white-space: pre-wrap; overflow-wrap: anywhere; }
.cash #file { width: 100%; }
.cash #import-store { width: min(100%, 25rem); }
.cash #manual-credit { color: var(--accent); }
.cash #login-form { display: grid; gap: .8rem; }
.cash #logout { margin-top: 1rem; }
.cash nav a[aria-current="page"] { background: var(--raised); color: var(--accent); }
@media (max-width: 740px) {
  .cash nav { display: flex; flex-wrap: wrap; margin-top: .45rem; }
}
