/* REQ-221.1: helper sub-agents folded under the agent that started them
   (public/helpersFold.js): on the dashboard's cards, on the Team page and in
   the 'Unknown parent' fold. Closed by default; a list when open. */
.helpers-fold { margin-top: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--sunken); font-size: 13px; }
.helpers-fold > summary { cursor: pointer; padding: 6px 10px; color: var(--mute); list-style-position: inside; min-height: 44px; box-sizing: border-box; padding-block: 12px; display: list-item; line-height: 20px; }
.helpers-fold[open] > summary { border-bottom: 1px solid var(--line); }
.helpers-list { list-style: none; margin: 0; padding: 4px 10px 8px; display: grid; gap: 6px; }
.helper { border-left: 3px solid var(--st, var(--line)); padding: 2px 0 2px 8px; min-width: 0; }
.helper-top { display: flex; gap: 8px; align-items: baseline; justify-content: space-between; }
.helper-type { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.helper-state { color: var(--mute); font-size: 12px; white-space: nowrap; }
.helper-now { color: var(--mute); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tm-members .helpers-fold { margin-left: 0; }
.helpers-orphans .helpers-fold { margin: 0 0 12px; }
/* REQ-221.2.2: the helpers an agent had (its helper history), three shown, the rest folded. */
.helper-history { margin-top: 8px; font-size: 13px; }
.helper-history h4 { margin: 0 0 4px; font-size: 12px; font-weight: 600; color: var(--mute); }
.hh-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hh-row { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; min-width: 0; }
.hh-did { color: var(--ink); overflow-wrap: anywhere; flex: 1 1 12ch; min-width: 0; }
.hh-when { color: var(--mute); font-size: 12px; white-space: nowrap; }
.hh-more > summary { cursor: pointer; color: var(--mute); min-height: 44px; box-sizing: border-box; padding-block: 12px; line-height: 20px; }
