/* V87 — contexto antes dos números e escopo inequívoco no Perfil dos alunos. */
body.ux-v87 #tab-public-profile > .profile-kpi-grid{display:none!important}
body.ux-v87 #tab-public-profile .panel{overflow:visible!important}
body.ux-v87 #tab-public-profile .profile-main-header{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(410px,520px)!important;
  align-items:center!important;gap:20px!important;padding:20px 22px!important;
}
body.ux-v87 #tab-public-profile .profile-main-header .header-title-group{font-size:21px!important;line-height:1.15!important}
body.ux-v87 #tab-public-profile .profile-main-header .audit-summary-note{font-size:11px!important;line-height:1.5!important;margin-top:6px!important;max-width:760px!important}
body.ux-v87 #tab-public-profile .profile-scope-switch{
  display:grid!important;grid-template-columns:1fr 1.12fr!important;gap:7px!important;padding:6px!important;
  border-radius:14px!important;background:rgba(5,10,26,.62)!important;border:1px solid rgba(123,142,196,.22)!important;
}
body.ux-v87 #tab-public-profile .profile-scope-button{
  min-height:48px!important;padding:9px 12px!important;border:1px solid transparent!important;border-radius:10px!important;
  font-size:10px!important;line-height:1.25!important;white-space:normal!important;text-align:center!important;
}
body.ux-v87 #tab-public-profile .profile-scope-button.active{
  background:linear-gradient(135deg,rgba(124,58,237,.95),rgba(79,70,229,.92))!important;
  border-color:rgba(196,181,253,.54)!important;box-shadow:0 8px 24px rgba(76,29,149,.26)!important;
}
body.ux-v87 #tab-public-profile .profile-period-context-v73{margin:14px 18px 0!important}
body.ux-v87 #tab-public-profile .profile-scope-clarity-v87{
  margin:12px 18px 0;padding:14px;display:grid;grid-template-columns:1fr 1fr;gap:12px;
  border:1px solid rgba(96,165,250,.20);border-radius:15px;background:linear-gradient(135deg,rgba(12,24,48,.92),rgba(14,23,42,.78));
}
body.ux-v87 #tab-public-profile .profile-scope-card-v87{
  min-width:0;padding:14px 15px;border:1px solid rgba(148,163,184,.16);border-radius:13px;background:rgba(15,23,42,.56);
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:center;cursor:pointer;transition:.16s ease;
}
body.ux-v87 #tab-public-profile .profile-scope-card-v87:hover{border-color:rgba(96,165,250,.36);transform:translateY(-1px)}
body.ux-v87 #tab-public-profile .profile-scope-card-v87.active{border-color:rgba(139,92,246,.64);background:rgba(91,33,182,.16);box-shadow:inset 3px 0 0 #8B5CF6}
body.ux-v87 #tab-public-profile .profile-scope-icon-v87{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:rgba(99,102,241,.14);color:#C4B5FD;font-size:16px;font-weight:850}
body.ux-v87 #tab-public-profile .profile-scope-copy-v87{min-width:0;display:flex;flex-direction:column;gap:3px}
body.ux-v87 #tab-public-profile .profile-scope-copy-v87 strong{font-size:12px;color:#F4F6FF;line-height:1.25}
body.ux-v87 #tab-public-profile .profile-scope-copy-v87 span{font-size:9px;color:#9DA8C8;line-height:1.4}
body.ux-v87 #tab-public-profile .profile-scope-number-v87{text-align:right;white-space:nowrap}
body.ux-v87 #tab-public-profile .profile-scope-number-v87 b{display:block;font-size:22px;line-height:1;color:#F8FAFF}
body.ux-v87 #tab-public-profile .profile-scope-number-v87 small{display:block;margin-top:5px;font-size:8px;color:#A5B4FC;text-transform:uppercase;letter-spacing:.06em}
body.ux-v87 #tab-public-profile .profile-kpi-grid.profile-kpi-grid-v87{
  display:grid!important;margin:12px 18px 0!important;padding:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;
}
body.ux-v87 #tab-public-profile .profile-kpi-grid-v87 .mini-kpi{
  min-height:116px!important;padding:16px!important;border-radius:15px!important;align-content:center!important;
}
body.ux-v87 #tab-public-profile .profile-kpi-grid-v87 .mini-kpi-label{font-size:9px!important;line-height:1.35!important;min-height:25px!important;color:#9DA8C8!important}
body.ux-v87 #tab-public-profile .profile-kpi-grid-v87 .mini-kpi-value{font-size:23px!important;line-height:1.08!important;margin-top:4px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
body.ux-v87 #tab-public-profile .profile-kpi-grid-v87 .profile-kpi-sub{font-size:9px!important;line-height:1.4!important;margin-top:7px!important;color:#A7B0CE!important}
body.ux-v87 #tab-public-profile .profile-summary-strip-v73{
  margin:12px 18px 0!important;padding:10px 13px!important;border-radius:11px!important;
  background:rgba(16,185,129,.07)!important;border-color:rgba(16,185,129,.22)!important;font-size:10px!important;
}
body.ux-v87 #tab-public-profile .profile-layout-shell{margin-top:12px!important}
body.ux-v87 #tab-public-profile.profile-campaign-scope-v73 .profile-kpi-grid-v87 .mini-kpi:nth-child(-n+4){border-color:rgba(139,92,246,.32)!important}
body.ux-v87 #tab-public-profile.profile-system-scope-v73 .profile-kpi-grid-v87 .mini-kpi:nth-child(-n+4){border-color:rgba(34,197,94,.24)!important}
@media(max-width:1120px){
 body.ux-v87 #tab-public-profile .profile-main-header{grid-template-columns:1fr!important}
 body.ux-v87 #tab-public-profile .profile-scope-switch{max-width:620px!important;width:100%!important}
 body.ux-v87 #tab-public-profile .profile-kpi-grid.profile-kpi-grid-v87{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:720px){
 body.ux-v87 #tab-public-profile .profile-scope-clarity-v87{grid-template-columns:1fr!important;margin-left:10px!important;margin-right:10px!important}
 body.ux-v87 #tab-public-profile .profile-kpi-grid.profile-kpi-grid-v87{grid-template-columns:1fr!important;margin-left:10px!important;margin-right:10px!important}
 body.ux-v87 #tab-public-profile .profile-scope-switch{grid-template-columns:1fr!important}
}