.cv-team{margin-block:1.25rem;padding:clamp(1rem,3vw,1.6rem);border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg,18px);background:var(--ui-surface);color:var(--ui-text);min-width:0}.cv-team[hidden]{display:none}
.cv-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.cv-heading h3,.cv-heading h2{margin:0;font-family:var(--ui-font-heading);line-height:1.4}.cv-heading h3{font-size:1.1rem}.cv-count{font-size:.875rem;color:var(--ui-text-muted)}
.cv-description,.cv-footnote{color:var(--ui-text-muted);line-height:1.65}.cv-description{margin:.6rem 0 1.2rem;font-size:.95rem}.cv-footnote{margin:1rem 0 0;font-size:.875rem}
.cv-role-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:.85rem}.cv-role{--cv-color:var(--ui-accent);display:flex;flex-direction:column;align-items:stretch;gap:.85rem;min-width:0;padding:1rem;background:var(--ui-surface-raised);border:1px solid var(--ui-border);border-top:3px solid var(--cv-color);border-radius:12px}.cv-role--tail{--cv-color:var(--ui-success)}.cv-role--reference{--cv-color:var(--ui-warning,#e8bd76)}
.cv-role-heading{display:flex;align-items:center;gap:.65rem}.cv-role-heading h4{font-size:1rem;margin:0;font-weight:700}.cv-symbol{display:grid;place-items:center;flex:0 0 2rem;width:2rem;height:2rem;color:var(--cv-color)}.cv-role-description{font-size:.9rem;line-height:1.6;margin:0;color:var(--ui-text-muted);flex:1}.cv-role>.ui-button{margin-top:auto;min-height:44px}
.cv-person{display:flex;align-items:center;gap:.7rem;min-width:0;flex:1}.cv-avatar{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;overflow:hidden;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-surface);font-size:.875rem;font-weight:700;color:var(--ui-accent)}.cv-avatar img{width:100%;height:100%;object-fit:cover}.cv-person-text{display:flex;align-items:start;flex-direction:column;gap:.15rem;min-width:0;overflow-wrap:anywhere}.cv-person-name{font-size:1rem;font-weight:650;color:var(--ui-text);text-decoration:none}.cv-person-name:hover{text-decoration:underline}.cv-identifier{font-size:.875rem;color:var(--ui-text-muted)}.cv-own{font-size:.8rem;font-weight:650;color:var(--ui-accent)}.cv-unassigned{margin:0;color:var(--ui-text-muted);font-size:.95rem;line-height:40px}
.cv-status{margin:.75rem 0 0;font-size:.9rem;line-height:1.65;overflow-wrap:anywhere}.cv-status:empty{display:none}.cv-status.is-error{color:var(--ui-danger)}
.cv-dialog{width:min(640px,calc(100% - 24px));max-height:calc(100dvh - 32px);box-sizing:border-box;padding:clamp(1rem,4vw,1.75rem);border:1px solid var(--ui-border-strong);border-radius:20px;background:var(--ui-surface);color:var(--ui-text);overflow:auto;overscroll-behavior:contain}.cv-dialog::backdrop{background:rgb(0 0 0 / .75)}.cv-dialog h2{font-size:clamp(1.15rem,4vw,1.5rem);flex:1;min-width:0}.cv-dialog .cv-heading>.ui-button{flex-shrink:0}.cv-search{display:grid;gap:.5rem;margin-block:1.2rem}.cv-search label{font-size:.9rem;font-weight:600}.cv-search input{width:100%;min-height:48px;box-sizing:border-box;font-size:1rem}.cv-candidates{display:grid;gap:.65rem;margin-block:.9rem}.cv-candidate{display:flex;align-items:center;gap:1rem;padding:.85rem;background:var(--ui-surface-raised);border:1px solid var(--ui-border);border-radius:12px;min-width:0}.cv-candidate>.ui-button{flex:0 0 auto;min-height:44px}.cv-picker-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-block:.75rem}
.cv-team--compact{padding:0;margin-block:1.25rem;border:0;border-radius:0;background:transparent}.cv-team--compact .cv-role-list{display:flex;flex-direction:column;gap:0;margin-block:.6rem}.cv-team--compact .cv-role{display:grid;grid-template-columns:1fr 1.25fr;align-items:center;gap:.5rem;padding:.75rem 0;border:0;border-bottom:1px solid var(--ui-border);border-radius:0;background:transparent}.cv-team--compact .cv-role-heading{gap:.25rem}.cv-team--compact .cv-role-heading h4{font-size:.875rem}.cv-team--compact .cv-symbol{flex-basis:1.6rem;width:1.6rem;height:1.6rem}.cv-team--compact .cv-symbol svg{width:18px;height:18px}.cv-team--compact .cv-avatar{width:28px;height:28px;flex-basis:28px;border-radius:8px;font-size:.7rem}.cv-team--compact .cv-person-name{font-size:.875rem}.cv-team--compact .cv-identifier,.cv-team--compact .cv-own{display:none}.cv-team--compact .cv-unassigned{font-size:.875rem;line-height:1.5}.cv-team--compact>.ui-button{width:100%}
@media(max-width:480px){.cv-candidate{flex-wrap:wrap;gap:.7rem}.cv-candidate>.ui-button{width:100%}.cv-team--compact .cv-role{grid-template-columns:1fr 1.4fr}}
