/* Who else gets paid on a deal, and the assistant payments report.
 *
 * Two layout rules worth stating. A rate is always a number and its unit
 * together, never a bare number: "40" means forty dollars, forty percent of
 * the commission or forty percent of the sale price, and those are four orders
 * of magnitude apart. And an amount that could not be worked out is drawn
 * differently from an amount of zero, because on a money screen those are
 * opposite claims.
 */
.dp-rate {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 3px;
}

.dp-rate input {
  width: 96px;
  padding: 6px 9px;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.dp-rate select {
  flex: 1;
  min-width: 150px;
}

.dp-pay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.dp-list {
  margin-bottom: 10px;
}

.dp-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}

.dp-who {
  flex: 1;
  min-width: 180px;
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
}

.dp-amounts {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.dp-acts {
  display: flex;
  gap: 6px;
  align-items: center;
}

/* Not a number. A percentage of a sale price or a commission the deal has not
   recorded yet, which is a different thing from nothing owed. */
.dp-unknown {
  color: #92400e;
  background: #fef3c7;
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 12px;
}
