.profile-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;color:var(--muted);font-size:12px}
.profile-hero{display:flex;align-items:center;gap:26px;padding:28px;border-top:4px solid var(--green)}
.profile-portrait{width:124px;height:140px;flex-shrink:0;overflow:hidden;border-radius:14px;background:var(--light);border:1px solid var(--line)}
.profile-photo{display:block;width:100%;height:100%;object-fit:cover}.profile-avatar-fallback{display:grid;place-items:center;width:100%;height:100%;color:var(--green)}
.profile-avatar-fallback .icon{width:58px;height:58px}.profile-photo[hidden],.profile-avatar-fallback[hidden]{display:none}
.profile-identity{min-width:0;flex:1}.profile-overline{font-size:11px;font-weight:600;letter-spacing:.5px;color:var(--green)}
.profile-identity h1{margin:8px 0 12px;overflow-wrap:anywhere;line-height:1.8}.profile-identity p{margin:12px 0 0;color:var(--muted);font-size:12px}
.profile-identity-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px}.profile-identity-meta>span:first-child{font-weight:650}
.profile-actions{max-width:290px;justify-content:flex-end}.profile-actions .button-link{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:10px 15px;font-weight:600}
.profile-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px;margin-bottom:12px}
.profile-stat{display:flex;flex-direction:column;gap:10px;padding:22px 24px;border:1px solid var(--line);border-radius:12px;background:white}
.profile-stat>span,.profile-stat>small{font-size:12px;color:var(--muted)}.profile-stat strong{font-size:26px;font-variant-numeric:tabular-nums}.profile-stat strong small{font-size:12px;font-weight:400;color:var(--muted)}
.profile-scope-note{margin:0 0 24px}.profile-tabs{display:flex;gap:8px;overflow-x:auto;border-bottom:1px solid var(--line);margin:24px 0;white-space:nowrap}
.profile-tabs a{margin:0;padding:12px 20px;border-radius:8px 8px 0 0;border-bottom:3px solid transparent;color:var(--muted)}
.profile-tabs a.selected{background:var(--light);color:var(--green);border-bottom-color:var(--green);font-weight:650}
.profile-overview{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:24px}.profile-overview>.panel{align-self:start}
.profile-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:0}.profile-detail{min-width:0}
.profile-detail dt{font-size:12px;color:var(--muted);margin-bottom:8px}.profile-detail dd{margin:0;font-weight:600;font-size:14px;overflow-wrap:anywhere;white-space:pre-wrap}
.profile-courses{display:grid;gap:16px}.profile-course{display:flex;gap:16px;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:20px}
.profile-course:last-child{padding-bottom:0;border:0}.profile-course>div:nth-child(2){flex:1;min-width:0}.profile-course h3{margin:8px 0;overflow-wrap:anywhere}
.profile-course p,.profile-course small{margin:5px 0;color:var(--muted);font-size:12px}.profile-course-icon{padding:12px;border-radius:10px;background:var(--light);color:var(--green)}
.profile-reason{white-space:normal;min-width:180px;max-width:320px;overflow-wrap:anywhere}.profile-transfers{display:grid;gap:20px}
.profile-transfers article{border-left:3px solid var(--line);padding-left:20px;overflow-wrap:anywhere}.profile-transfers h3{margin:14px 0 8px}.profile-transfers p{font-size:12px;color:var(--muted);white-space:pre-wrap}
.profile-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px;border-top:1px solid var(--line)}
@media(max-width:1000px){.profile-hero{flex-wrap:wrap}.profile-actions{max-width:none;width:100%;justify-content:flex-start}.profile-overview{grid-template-columns:1fr}}
@media(max-width:600px){.profile-hero{padding:20px;gap:18px}.profile-portrait{width:84px;height:100px}.profile-identity h1{font-size:23px}.profile-details{grid-template-columns:1fr}.profile-stats{grid-template-columns:1fr}.profile-tabs a{padding:10px 14px}.profile-course{gap:10px;flex-wrap:wrap}.profile-course-icon{display:none}.profile-toolbar>span{display:none}}
