/* Billing: invoices, payments, the email and share dialogs. */

.totals-after {
  margin-top: 10px;
}

.stat-tile {
  background: var(--paper);
}

.mail-preview {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.mail-preview[open] summary {
  margin-bottom: 8px;
}

.copy-row .input {
  flex: 1;
  min-width: 0;
}

.dt-bulk .btn + .btn {
  margin-left: 6px;
}

/* A QuickBooks question: two copies side by side, and the choice. */
.qb-question {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.qb-compare th[scope="row"] {
  width: 9rem;
  font-weight: 600;
}

.qb-compare td {
  overflow-wrap: anywhere;
}

/* Free trial and plan-ended notice across the top of every screen (org/subscriptions/_banner). */
.plan-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 8px 22px;
  background: var(--steel);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.plan-banner p {
  margin: 0;
}

.plan-banner-ended {
  background: var(--warn-wash);
  color: var(--warn);
}

/* Settings, Accounting: one row per accounting program, with its own logo (Xero's at least
   40px wide, as its brand rules ask), what it keeps in step, and the button to connect it. */
.provider-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.provider-list > li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 24px;
  padding: 18px 16px;
}

.provider-list > li + li {
  border-top: 1px solid var(--line);
}

.provider-list img {
  display: block;
  height: auto;
}

.provider-list p {
  margin: 0;
}

@media (max-width: 760px) {
  .provider-list > li {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }
}
