/* Team-only disclosure and roster search; global portal styles stay unchanged. */
.team-section{padding:0;margin:28px 0;border:0;border-radius:0;background:transparent}
.team-section>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;padding:16px 0;border-bottom:1px solid var(--line);margin-bottom:18px;cursor:pointer}
.team-section>summary::-webkit-details-marker{display:none}
.team-section>summary::marker{content:""}
.team-section>summary h2{margin:0;font-size:1.7rem;line-height:1.2}
.team-section-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 20px;min-width:0}
.team-section-title>.muted{font-weight:400;letter-spacing:normal;line-height:1.6}
.team-section-action{display:inline-flex;align-items:center;gap:8px;flex-shrink:0;padding:8px 12px;min-height:44px;border:1px solid #b7c2d0;border-radius:7px;background:#fff;color:var(--blue);font-size:.8125rem;font-weight:700}
.team-section>summary:hover .team-section-action{background:#fff0e7;border-color:#e9a483}
.team-section-action svg{flex-shrink:0;transform:rotate(-90deg)}
.team-section[open] .team-section-action svg{transform:rotate(180deg)}
.team-section-expand,.team-section:not([open]) .team-section-collapse{display:none}
.team-section:not([open]) .team-section-expand{display:inline}
.team-roster-search{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;margin:18px 0 8px}
.team-roster-search-field{flex:1 1 280px;max-width:560px}
.team-roster-search-field label{margin:0;font-size:.875rem}
.team-roster-search-field input{margin:6px 0;min-height:48px}
.team-roster-search-field p{margin:0;font-weight:400}
.team-roster-clear{padding:10px 14px;min-height:44px;border:1px solid #b7c2d0;border-radius:7px;background:#fff;color:var(--blue);font-size:.875rem;font-weight:700;cursor:pointer}
.team-roster-clear:hover{background:#fff0e7}
.team-roster-results{flex:1 0 100%;margin:0}
.team-roster-search[hidden],.team-roster-clear[hidden],#team-roster-table tr[hidden]{display:none!important}
@media(max-width:760px){.team-section>summary{align-items:flex-start;gap:10px}.team-section>summary h2{font-size:1.4rem}.team-section-action{padding:8px;font-size:.75rem;gap:5px}.team-section-title{display:block}.team-section-title>.muted{display:block;margin-top:8px}.team-roster-search-field{flex-basis:100%;max-width:none}.team-roster-clear{width:100%}}
