/* The team's own rules on its Finish step (team-rules.js, owner 2026-10-04). */
.crm-tr {
  --tr-ink: #1d1b1c; --tr-muted: #5f6773; --tr-line: #e4e7ec; --tr-card: #fff;
  width: 100%; max-width: none; margin: 0 0 24px; padding: 20px; text-align: start; box-sizing: border-box;
  border: 1px solid var(--tr-line); border-radius: 8px; background: var(--tr-card); color: var(--tr-ink);
}
.dark .crm-tr { --tr-ink: #f2f4f7; --tr-muted: #98a2b3; --tr-line: rgba(255, 255, 255, .12); --tr-card: #1f1f22; }
.crm-tr__title { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.crm-tr__sec { padding: 14px 0 4px; border-top: 1px solid var(--tr-line); margin-top: 12px; }
.crm-tr__sechead { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.crm-tr__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 8px 0; }
.crm-tr__row.is-dim { opacity: .55; }
.crm-tr__words { display: grid; gap: 3px; min-width: 0; }
.crm-tr__name { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.crm-tr__hint { font-size: 12.5px; line-height: 1.55; color: var(--tr-muted); margin: 0; }
.crm-tr__people { display: flex; flex-wrap: wrap; gap: 8px; }
.crm-tr__person {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--tr-line); border-radius: 8px;
  font-size: 13px; cursor: pointer;
}
.crm-tr__person input { margin: 0; }
.crm-tr__counts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.crm-tr__counts li { display: flex; justify-content: space-between; gap: 12px; }
.crm-tr__btn {
  margin-top: 10px; height: 36px; padding: 0 16px; border-radius: 8px; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 600;
  border: 1px solid var(--tr-line); background: transparent; color: inherit;
}
.crm-tr__btn.is-go { background: #d4fb08; border-color: #d4fb08; color: #000; }
.crm-tr__btn:hover:not(:disabled) { background: #1877f2; border-color: #1877f2; color: #fff; }
.crm-tr__btn:disabled { opacity: .6; cursor: default; }
/* The wizard's bordered box is a flex child that shrinks to the window, so the
   taller Finish step spilled out past its border and divider. It grows instead. */
.grid:has(> * > .empty-state > .crm-tr) { flex-shrink: 0; height: auto; }
/* The wizard's own Finish button, beside the card: the house lime, blue on hover. */
.empty-state:has(.crm-tr) a > button {
  background: #d4fb08 !important; color: #000 !important; border-radius: 8px;
}
.empty-state:has(.crm-tr) a > button:hover { background: #1877f2 !important; color: #fff !important; }
.crm-tr__status { margin: 12px 0 0; font-size: 13px; }
.crm-tr__status.is-error { color: var(--crm-alert-ink, #c8243b); }
.crm-tr__status.is-ok { color: #067647; }
