/* Link Prospects Finder: the prospects table.
   The last column (status, note, Add ToDo, email draft) is much taller than
   the measures in front of it, so cells hug the top of the row instead of
   floating in the middle, and the record form wraps on small widths. */
.lp-table td { vertical-align: top; }
.lp-table .prospect-status-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1, 0.25rem);
  margin-top: var(--space-1, 0.25rem);
  align-items: center;
}
.lp-table .prospect-status-form .input { min-width: 12rem; flex: 1 1 12rem; }
.lp-table details textarea { margin: var(--space-1, 0.25rem) 0; }
.lp-table .lp-record { min-width: 19rem; }
.lp-table .lp-own { min-width: 11rem; }

/* New search: the recipes and the budgets are the kit's choice list laid
   out as blocks. The whole block is the label's click area (label::after
   covers the li); the chosen block turns sky with a blue edge. */
.lp-choice-blocks {
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: var(--space-3);
  margin: var(--space-3) 0;
}
.lp-choice-blocks--small { grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); }
.lp-choice-blocks li {
  position: relative;
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--white);
  transition: border-color .15s, background .15s;
}
.lp-choice-blocks li:hover { border-color: var(--sky-ring); }
.lp-choice-blocks li:has(input:checked) {
  border-color: var(--blue);
  background: var(--sky);
  box-shadow: inset 0 0 0 1px var(--blue);
}
.lp-choice-blocks li:has(input:focus-visible) { box-shadow: var(--focus-ring); }
.lp-choice-blocks label::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.lp-choice-blocks .choice-label { display: block; font-weight: 800; color: var(--navy); }
.lp-choice-blocks .choice-desc { margin: var(--space-1) 0 0; }
.lp-choice-facts { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-2); }

/* Searches list: the kind of page a search looks for. */
.lp-searches .lp-search-type { white-space: normal; }

/* Results: the "next to contact" card over the table, one line of why per
   row, the value a month, and the bulk bar of the table. */
.lp-next { margin: var(--space-3) 0; }
.lp-next__list { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.lp-next__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-3);
  align-items: start;
  padding-top: var(--space-2);
  border-top: 1px solid var(--border);
}
.lp-next__item:first-child { border-top: 0; padding-top: 0; }
.lp-next__title { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.lp-next__why, .lp-why { margin: var(--space-1) 0 0; color: var(--slate); overflow-wrap: anywhere; }
.lp-next__value { margin: var(--space-1) 0 0; font-weight: 700; color: var(--navy); }
.lp-value { font-weight: 700; color: var(--navy); white-space: nowrap; }
.lp-bulk {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  margin: var(--space-2) 0;
}
.lp-table .lp-tick { width: 2rem; }
.lp-dead-links { margin: var(--space-1) 0 0; padding-left: var(--space-4); }
.lp-dead-links li { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .lp-next__item { grid-template-columns: minmax(0, 1fr); }
}

/* Chance badge, the concrete ask and the "more pages on this site" fold. */
.lp-chance { display: inline-block; padding: 0 var(--space-1, 0.375rem); border-radius: 999px; font-size: 0.85em; font-weight: 600; white-space: nowrap; }
.lp-chance--easy { background: var(--color-success-bg, #e3f6ea); color: var(--color-success, #12633a); }
.lp-chance--try { background: var(--color-warning-bg, #fff3d6); color: var(--color-warning, #7a5200); }
.lp-chance--long { background: var(--color-surface-2, #eceff3); color: var(--color-text-muted, #5b6573); }
.lp-ask { margin: var(--space-1, 0.375rem) 0 0; font-size: 0.95em; }
.lp-more-pages { margin-top: var(--space-1, 0.375rem); }
.lp-more-pages ul { margin: var(--space-1, 0.375rem) 0 0; padding-left: 1.2em; }
