/* Team directory: meaningful hierarchy, readable labels and one project action. */
.team-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));align-items:start;gap:24px}
html:root[data-theme] .team-card-v2{padding:24px;border-radius:14px;min-width:0}
html:root[data-theme] .team-card-v2 .team-card-top{align-items:start;gap:12px;margin-bottom:24px}
.team-card-v2 .team-card-top .grow{min-width:0}
html:root[data-theme] .team-card-v2 h2{font-size:20px;line-height:1.3;letter-spacing:0;margin:0 0 4px;color:var(--ink);overflow-wrap:anywhere}
html:root[data-theme] .team-card-v2 .team-card-top small{display:block;font-size:14px;line-height:1.5;color:var(--muted)}
html:root[data-theme] .team-card-v2 .team-card-top .text-link{display:inline-block;font-size:14px;line-height:1.5;margin-top:4px}
html:root[data-theme] .team-card-v2 .avatar{width:40px;height:40px;flex-shrink:0}
html:root[data-theme] .team-card-v2 .team-profile{min-height:44px;font-size:13px;padding:8px 10px;flex-shrink:0}
.team-load-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:14px;color:var(--muted);line-height:1.5}
.team-load-heading strong{font-size:18px;font-weight:650;color:var(--ink);font-variant-numeric:tabular-nums}
.team-load-heading strong span{font-size:14px;font-weight:400;color:var(--muted)}
html:root[data-theme] .team-card-v2 .bar-track{height:6px;margin:8px 0 16px;background:var(--ui-soft)}
html:root[data-theme] .team-card-v2 .bar-fill{height:6px}
.team-service-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 16px}
.team-service-counts dt{font-size:13px;color:var(--muted);line-height:1.5}
.team-service-counts dd{font-size:20px;line-height:1.4;font-weight:600;color:var(--ink);margin:4px 0 0;font-variant-numeric:tabular-nums}
.team-card-summary{border-top:1px solid var(--line);padding-top:16px;margin-bottom:16px;display:grid;grid-template-columns:1fr 1fr;gap:16px}
.team-card-summary>div{display:flex;align-items:flex-start;flex-direction:column;gap:6px;min-width:0}
.team-card-summary>div>span:first-child{font-size:13px;line-height:1.5;color:var(--muted)}
.team-card-summary strong{font-size:20px;line-height:1.4;color:var(--ink);font-weight:650;overflow-wrap:anywhere}
html:root[data-theme] .team-review-status{display:inline-block;padding:4px 9px;border-radius:6px;background:var(--ui-warn-bg);color:var(--ui-warn);font-size:13px;line-height:1.5;font-weight:600}
html:root[data-theme] .team-project-link{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;font-size:14px;line-height:1.5;text-align:left;padding:10px 12px;gap:12px;color:var(--ui-accent);border-color:var(--line)}
html:root[data-theme] .team-project-link:hover{background:var(--ui-accent-soft);border-color:var(--ui-accent)}
.team-no-projects{margin:0;font-size:14px;line-height:1.5;color:var(--muted)}
.team-load-warning{font-size:13px;line-height:1.5;color:var(--ui-warn);margin:0 0 12px}
@media(max-width:380px){html:root[data-theme] .team-card-v2{padding:16px}.team-card-v2 .team-card-top{flex-wrap:wrap}.team-card-v2 .team-card-top .grow{flex:1;min-width:140px}.team-card-v2 .team-profile{margin-left:52px}.team-card-summary{gap:12px}}

html:root[data-theme] .team-card-v2 :is(button,a):focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px}

html:root[data-theme] .team-private-status{display:inline-block;padding:4px 9px;border-radius:6px;background:var(--ui-soft);color:var(--muted);font-size:13px;line-height:1.5;font-weight:500}
