/*
 * Cover. The page reuses the Clients and Team classes (numbers, cards, the
 * one table, the in-place question); these are only what Cover adds. Every
 * colour is a variable from theme.css. Nothing has a fixed height that holds
 * words: text wraps and boxes grow.
 */

.cover-card + .cover-card {
  margin-top: var(--gap-2);
}

.cover-card .card__title .card__count {
  margin-left: 8px;
}

.cover-card .tbl td {
  vertical-align: top;
}

.cover-card .tbl .col-when {
  width: 1%;
}

.cover-card .tbl .col-who {
  min-width: 220px;
}

.cover-card .tbl .col-action {
  width: 1%;
  text-align: right;
}

.cover-note {
  max-width: 46ch;
  white-space: pre-wrap;
}

.cover-failed {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: var(--gap-2) 20px;
}

/* Pick someone ------------------------------------------------------------ */

.cover-facts {
  margin-bottom: var(--gap-2);
}

/* The question stays in sight however far down the list she chose a name. */
.cover-ask {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 12px 0;
  background: var(--card);
  box-shadow: 0 1px 0 var(--line);
}

.cover-find {
  margin-bottom: 12px;
}

.cover-loading {
  min-height: 240px;
}

/* The panel's list fits the panel: headers wrap, nothing runs off the side. */
.cover-pick .tbl th {
  white-space: normal;
}

.cover-pick .tbl .col-who {
  min-width: 0;
  width: 100%;
}

.cover-who {
  display: grid;
  gap: 4px;
  justify-items: start;
}

.cover-facts__sub {
  color: var(--ink-2);
  font-size: var(--size-small);
}

/* An action keeps its words on one line; its column grows to fit it. */
.cover-card .tbl .col-action .btn {
  white-space: nowrap;
}

.cover-pick .tbl th.is-num {
  min-width: 7.5em;
}
