.finance-ui main {
  --finance-ink: #24384f;
  --finance-muted: #526982;
  --finance-accent: #245685;
  --finance-rule: #e5ebf2;
  --finance-heading: #eef3f8;
  --finance-hover: #edf4fb;
}
.finance-ui main table {
  color: var(--finance-ink);
  font-variant-numeric: tabular-nums;
}
.finance-ui main table thead th {
  background: var(--finance-heading);
  color: #425e78;
  letter-spacing: .06em;
}
.finance-ui main table tbody td { border-bottom-color: var(--finance-rule); }
.finance-ui main table tbody tr:nth-child(even) > td { background-color: #f8fafc; }
.finance-ui main table tbody tr:is(:hover, :focus-within) > td { background-color: var(--finance-hover); }
.finance-ui main :is(.payment-table, .invoice-table) tbody td:nth-child(2) > a {
  color: var(--finance-accent);
  font-weight: 700;
}
.finance-ui main :is(button, a).secondary {
  border-radius: 8px;
}
.finance-ui main :is(button, a).secondary:not(:disabled):is(:hover, :focus-visible) {
  border-color: #bfd4e9;
}
.finance-ui main :is(.payment-event, .finance-state, .payment-status, .invoice-table-status) {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--finance-muted);
  font-weight: 500;
  font-size: .8rem;
  white-space: nowrap;
}
.finance-ui main :is(.payment-event, .finance-state, .payment-status)::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-inline-end: 6px;
  vertical-align: .12em;
  background: #8598ad;
}
.finance-ui main :is(.payment-status.matched, .invoice-table-status.is-paid) { color: #226346; }
.finance-ui main .payment-status.matched::before { background: #31956a; }
.finance-ui main :is(.payment-warning, .payment-status.cancelled) { color: #a34139; }
.finance-ui main :is(.payment-warning, .payment-status.cancelled)::before { background: #b55249; }
.finance-ui main .expense-table.payment-table { min-width: 850px; }
.finance-ui main .expense-table.payment-table th:nth-child(7) { width: 118px; }
.finance-ui main .payment-table .finance-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  min-width: 0;
  height: 30px;
  min-height: 0;
  padding: 0;
  border: 1px solid transparent;
  box-shadow: none;
  background: transparent;
  color: #305a80;
}
.finance-ui main .payment-table .finance-icon:is(:hover, :focus-visible) { background: #e3edf8; }
.finance-icon svg { width: 17px; height: 17px; }
