/* The Contributors field: a summary and a "Choose…" button, from
   JS/components/contributor-field.js. Deliberately its own classnames rather than
   reusing CSS/okr.css's `.okr-contrib-*` — see that file's header for the eventual
   collapse this is meant to make possible. */

.contrib-field{ display:flex; align-items:center; gap:8px; min-width:0; }

.contrib-summary{
  flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  font-size:13px; color:var(--text);
}
/* "None" is the ordinary state for most tasks, so it reads as quiet rather than missing. */
.contrib-summary.empty{ color:var(--text-faint); }

/* The button carries the same share mark the note editor's and OKR's contributor field do,
   ahead of its label. */
.contrib-field .btn{ flex:0 0 auto; display:inline-flex; align-items:center; gap:6px; }
.contrib-field .btn svg{ flex:0 0 auto; }
.contrib-field .btn:disabled{ opacity:.55; cursor:default; }

/* "Contributors <span class=contrib-label-optional>optional</span>" — the muted qualifier
   beside the label, matching the "optional" wording team_board.html's own account fields
   already use (see #accountAltEmail's "— optional" hint), styled beside a label rather than
   under it since this field's label is one short word. */
.contrib-label-optional{ font-weight:400; text-transform:none; color:var(--text-faint); }
