/* The role picker at /: people as plain cards, grouped, under the opening on the website's hero
   ground. The cards are a working list, so they stay on plain ink. Tokens from portal.css only.
   Every group uses one grid: who they are on the left, the people on the right in two equal
   columns, so the cards line up across Woodlark, Serious Tissues and every bidder. */

.pick-problem:empty { display: none; }
/* The opening's own rule closes it, so the first group starts straight after the page padding, with
   no second rule and no section gap above it. */
.pick-problem:empty + .pick-group { margin-top: 0; padding-top: 0; border-top: 0; }

.pick-group { display: grid; gap: var(--s-4); padding-top: var(--s-5); border-top: 1px solid var(--border-strong); }
.pick-group-head { min-width: 0; }
.pick-group-head p { margin-top: 4px; max-width: 46ch; color: var(--fg-muted); font-size: var(--t-small); line-height: 1.5; }
.pick-group-body { min-width: 0; }

.pick-list { display: grid; gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .pick-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .pick-group { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: var(--s-7); align-items: start; }
}

.pick {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  width: 100%;
  height: 100%;
  min-height: 72px;
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  background: var(--wash);
  color: var(--fg);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--t-state) var(--ease-state), background var(--t-state) var(--ease-state);
}
.pick:hover { border-color: var(--border-field); background: var(--wash-strong); }
.pick:focus-visible { border-radius: var(--r-lg); }
.pick[disabled] { cursor: progress; opacity: 0.6; }
.pick[aria-busy="true"] { opacity: 1; border-color: var(--fg-dim); }
.pick-words { display: grid; flex: 1 1 auto; gap: 2px; min-width: 0; }
.pick-name { font-size: 16px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.pick-job { color: var(--fg-muted); font-size: var(--t-small); line-height: 1.35; overflow-wrap: anywhere; }
.pick > .icon { flex: none; width: 18px; height: 18px; color: var(--fg-muted); transition: transform var(--t-state) var(--ease-state); }
.pick:hover > .icon { color: var(--fg); transform: translateX(3px); }

.companies { display: grid; margin: 0; padding: 0; list-style: none; }
.company { display: grid; gap: var(--s-3); }
.company + .company { margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--border); }
.company-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px var(--s-4); }
.company-head h3 { min-width: 0; font-size: 17px; line-height: 1.3; overflow-wrap: anywhere; }
