.team-project-panel {margin-top:20px;}
.team-project-list {list-style:none;margin:0;padding:0 20px 8px;}
.team-project-row {
  display:grid;grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"title action" "members action";
  align-items:center;gap:7px 16px;padding:16px 0;border-top:1px solid var(--line);
}
.team-project-title {grid-area:title;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;min-width:0;}
.team-project-title h3 {font-size:16px;line-height:1.4;font-weight:600;overflow-wrap:anywhere;}
.team-project-title span,.team-project-roster small {font-size:13px;line-height:1.5;color:var(--muted);}
.team-project-roster {grid-area:members;display:flex;flex-wrap:wrap;gap:5px;list-style:none;margin:0;padding:0;min-width:0;}
.team-project-roster li {border:1px solid var(--line);border-radius:6px;background:var(--card);padding:3px 8px;font-size:13px;line-height:1.45;overflow-wrap:anywhere;}
.team-project-action {grid-area:action;justify-self:end;}
.team-project-status {padding:0 20px 20px;}
.team-project-tools .select-control {max-width:100%;}
.team-project-choice {display:flex;align-items:center;gap:10px;min-height:44px;line-height:1.4;cursor:pointer;}
.team-project-choice+.team-project-choice {border-top:1px solid var(--line);}
.team-project-choice input {flex:0 0 auto;width:18px;height:18px;accent-color:var(--blue);}
.team-project-choice span {min-width:0;overflow-wrap:anywhere;}
.team-project-choice small {display:block;font-size:13px;color:var(--muted);}
#admin-project-form [hidden] {display:none;}
@media(max-width:720px) {
  .team-project-list {padding:0 14px 6px;}
  .team-project-status {padding:0 14px 16px;}
  .team-project-row {grid-template-areas:"title action" "members members";gap:9px;padding:13px 0;}
  .team-project-action {min-height:44px;}
  .team-project-title {display:block;}
  .team-project-title span {display:block;margin-top:3px;}
}
@media(max-width:480px) {
  .team-project-tools {grid-template-columns:minmax(0,1fr);}
  .team-project-tools .select-control,.team-project-tools>.filter {width:100%;}
}
