/* The Receivables drill (owner request, 2026-07-05). The detail pane uses the
   canonical `detail-pane__` shell (ADR-038, BL-108.03). This stylesheet holds
   only the receivables list trail, the invoice line-items table, and the tint of
   the outstanding-amount status chip. None of them is a part of the shared
   detail-pane vocabulary. */

.receivables-list__sub {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  color: var(--md-sys-color-on-surface-variant);
}

.receivables-list__trail {
  display: flex;
  align-items: center;
  column-gap: 8px;
  font-variant-numeric: tabular-nums;
}

/* The outstanding-amount chip in the detail-pane header: a primary tint, so the
   headline number reads as the receivable's key figure (BL-108.03). */
.detail-pane__status--accent {
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  font-variant-numeric: tabular-nums;
}

/* The invoice line-items table (module-local, like export's `esi-lines`). A
   table is not one of ADR-038's blessed section body types. */
.receivables-lines {
  width: 100%;
  border-collapse: collapse;
}

.receivables-lines th,
.receivables-lines td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
}

.receivables-lines th {
  color: var(--md-sys-color-on-surface-variant);
}

.receivables-lines__num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
