#team-detail-controls, #team-detail-modes { display:flex; flex-wrap:wrap; gap:12px; margin:16px 0; }
#team-detail-controls label { display:flex; align-items:center; gap:8px; font-size:13px; }
#team-detail-controls select { max-width:280px; min-width:0; }
#team-detail-matrix .career-table-scroll { max-height:none; }
#team-detail-matrix td, #team-detail-matrix th { padding:10px 12px; }
.team-role-choice { border:0; border-left:4px solid #91a1ab; padding:8px 12px; min-width:100px; color:var(--ui-text); background:#edf0f2; text-align:left; font:inherit; cursor:pointer; }
.team-role-choice.high { border-color:#b4474e; background:#f9e9e8; }
.team-role-choice.watch { border-color:#ad872f; background:#faf1dc; }
.team-role-choice.low { border-color:#207d72; background:#e8f2ee; }
.team-role-choice[aria-pressed="true"] { outline:2px solid var(--ui-accent); outline-offset:2px; font-weight:700; }
.team-detail-section { padding:20px 0; border-top:1px solid var(--border-color, #d5dde4); min-width:0; }
.team-detail-section h4 { font-size:16px; margin:0 0 12px; }
.team-detail-section .career-table-scroll { max-height:380px; }
.team-detail-section td, .team-detail-section th { white-space:nowrap; }
.team-strength-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:20px 0; }
.team-strength-summary dt { font-size:12px; color:var(--ui-muted); }
.team-strength-summary dd { margin:8px 0 0; font-weight:600; }
.team-strength-axes { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin:20px 0; }
.team-strength-axes label { display:grid; grid-template-columns:1fr 34px; gap:8px; font-size:13px; }
.team-strength-axes meter { grid-column:1; width:100%; height:16px; }
.team-strength-axes span { grid-column:2; grid-row:2; }
@media(max-width:700px) {
    #team-detail-controls label { flex:1 1 160px; flex-wrap:wrap; }
    #team-detail-controls select { width:100%; max-width:100%; }
    .team-strength-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .team-strength-axes { grid-template-columns:minmax(0,1fr); gap:12px; }
}
