.team-profile{
  background:var(--surface);color:var(--text);
  padding:clamp(20px,3vw,38px);border:1px solid var(--line);border-radius:18px;
}
.team-profile a{color:var(--blue)}
.profile-back{display:inline-block;font-size:13px;font-weight:600;padding:6px 0;margin-bottom:28px}
.profile-hero{display:flex;align-items:center;gap:22px;margin-bottom:24px}
.profile-hero h1{font-size:clamp(30px,4vw,44px);margin:0 0 12px;overflow-wrap:anywhere}
.profile-hero p:last-child{font-size:14px;color:var(--muted);margin:0}
.profile-letter{display:grid;place-items:center;flex-shrink:0;width:72px;height:72px;border-radius:14px;border:1px solid var(--highlight-line);background:var(--highlight);color:var(--blue);font-size:32px;font-weight:700}
.profile-callout{background:var(--surface2);border-left:3px solid var(--blue);padding:16px 18px;border-radius:0 8px 8px 0;font-size:13px;line-height:1.65;color:var(--muted)}
.profile-callout strong{display:block;color:var(--text);margin-bottom:6px}
.profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0 16px}
.profile-stats div{background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:20px}
.profile-stats strong{display:block;font:28px/1.3 var(--mono);font-variant-numeric:tabular-nums;letter-spacing:-.04em;margin-bottom:8px}
.profile-stats span{font-size:12px;color:var(--muted)}
.profile-selector{margin:28px 0 12px}
.profile-selector label{max-width:440px}
.profile-selector select{width:100%;background:var(--bg);color:var(--text);border-color:var(--control-line);min-height:48px}
.team-profile .statusline{color:var(--muted);margin-bottom:20px}
.profile-section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:26px 0 16px}
.profile-section-heading h2{font-size:24px;margin:0;letter-spacing:-.025em}
.profile-section-heading .eyebrow{font-size:10px;margin-bottom:8px}
.team-profile .button,.team-profile button{background:var(--blue);color:var(--button-text);border:1px solid var(--blue);border-radius:9px;padding:11px 16px;font-size:13px;font-weight:600;min-height:44px}
.team-profile .profile-secondary{background:var(--bg);color:var(--blue);border-color:var(--control-line)}
.team-profile .button:hover,.team-profile button:hover{box-shadow:0 0 0 1px var(--blue);text-decoration:none}
.team-profile :focus-visible{outline:3px solid var(--blue);outline-offset:4px}
.profile-record-label{font-size:12px;color:var(--muted)}
.profile-coverage{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:18px 0;margin:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.profile-coverage span{font-size:12px;color:var(--muted)}
.profile-coverage strong{display:block;color:var(--text);font-size:13px;font-weight:600;margin-top:6px}
.profile-table-scroll{overflow:auto;border:1px solid var(--line);border-radius:9px}
.profile-scroll-hint{display:none;font-size:12px;color:var(--muted)}
.team-profile table{font-size:13px}
.team-profile caption{text-align:left;padding:14px;font-size:12px;color:var(--muted)}
.team-profile th[scope=row]{font:inherit;color:var(--text);text-transform:none}
.profile-round{display:block;font-size:10px;color:var(--muted);margin-bottom:6px}
.team-profile th,.team-profile td{padding:14px 12px;white-space:normal}
.team-profile td.numeric{white-space:nowrap}
.team-profile details{margin:24px 0;padding:20px 0 0}
.team-profile summary{font-size:14px}
.profile-history .profile-table-scroll{margin-top:20px}
.profile-history button{padding:6px 10px;min-height:44px}
.profile-related{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.profile-related a{padding:16px;border:1px solid var(--highlight-line);border-radius:9px;min-height:64px;font-size:14px;font-weight:600}
.profile-related span{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:6px}
.profile-boundary{border-top:1px solid var(--line);margin-top:28px;padding-top:24px}
.profile-boundary h2{font-size:18px}
.profile-boundary p{font-size:12px;color:var(--muted);max-width:85ch;line-height:1.65}
.profile-empty{background:var(--bg);padding:24px;border:1px solid var(--line);border-radius:12px;margin:20px 0}
.profile-empty p{font-size:14px;color:var(--muted)}
@media(max-width:850px){.profile-stats{grid-template-columns:1fr}.profile-stats div{display:flex;align-items:center;gap:18px}.profile-stats strong{margin:0;min-width:95px}.profile-coverage{grid-template-columns:1fr;gap:16px}}
@media(max-width:720px){.team-profile{padding:20px;border-radius:14px}.profile-hero{gap:14px;align-items:start}.profile-letter{width:48px;height:48px;font-size:25px;border-radius:10px}.profile-hero h1{font-size:30px}.profile-section-heading{align-items:start;flex-direction:column;gap:16px}.profile-section-heading .button{width:100%;text-align:center}.profile-stats div{padding:16px}.profile-related{grid-template-columns:1fr}.profile-table-scroll table{min-width:450px}.profile-table-scroll{overscroll-behavior-x:contain}.team-profile caption{line-height:1.5}.profile-callout{padding:14px}.profile-boundary{margin-top:24px}.profile-empty{padding:20px}}
@media(max-width:720px){.profile-scroll-hint{display:block}}
@media(prefers-reduced-motion:no-preference){.team-profile a,.team-profile button,.team-profile select{transition:border-color .16s ease,box-shadow .16s ease}}
