.agent-team-page { max-width:1180px; margin:0 auto; }
.agent-team-header { padding:12px 0 20px; border-bottom:1px solid var(--border); }
.agent-team-header h1 { margin:6px 0; }
.agent-team-description { color:var(--text2); line-height:1.7; max-width:68ch; }
.agent-team-filters { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:16px; margin:24px 0 12px; }
.agent-team-filters label { display:grid; gap:8px; color:var(--text2); font-size:13px; }
.agent-team-filters input,.agent-team-filters select { width:100%; min-width:0; min-height:46px; padding:10px 12px; background:var(--input-bg); color:var(--text); border:1px solid var(--border); border-radius:8px; font:inherit; }
.agent-team-count,.agent-team-hint { color:var(--text2); font-size:13px; line-height:1.65; }
.agent-team-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); gap:12px; align-items:start; }
.agent-team-card { background:var(--glass); border:1px solid var(--border); border-left:3px solid var(--primary); border-radius:var(--radius); padding:14px; min-width:0; }
.agent-team-card header { display:flex; gap:14px; align-items:center; }
.agent-team-portrait { display:block; flex:0 0 96px; width:96px; height:96px; object-fit:cover; border:1px solid var(--border2); border-radius:12px; background:var(--dark2); }
.agent-team-card h2 { font:30px 'Bebas Neue',sans-serif; margin:0; }
.agent-team-project { color:var(--primary); font-size:12px; margin:0 0 3px; }
.agent-team-role { color:var(--text2); margin:0; font-size:13px; }
.agent-team-card > .agent-team-description { font-size:13px; line-height:1.55; margin:10px 0; min-height:4.65em; }
.agent-team-card .btn { width:100%; min-height:46px; white-space:normal; text-align:center; text-decoration:none; }
.agent-team-card details { margin-top:8px; border-top:1px solid var(--border); padding-top:6px; }
.agent-team-card summary { cursor:pointer; padding:8px 0; min-height:44px; font-size:12px; color:var(--text); }
.agent-team-details { display:grid; grid-template-columns:1fr; gap:4px; }
.agent-team-details h3 { font-size:16px; }
.agent-team-details ul { padding-left:18px; color:var(--text2); font-size:14px; line-height:1.7; }
.agent-team-details li { margin-bottom:8px; }
.agent-team-empty { padding:24px; border:1px dashed var(--border); color:var(--text2); line-height:1.7; }
.agent-team-page :focus-visible { outline:2px solid var(--primary); outline-offset:4px; }
@media(max-width:700px) { .agent-team-filters,.agent-team-details,.agent-team-list { grid-template-columns:1fr; } .agent-team-card > .agent-team-description { min-height:0; } }
