/* Meu Perfil — refinamento visual canônico R1 */
.profile-identity-hero{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:18px!important;
  min-height:118px!important;
  margin-bottom:16px!important;
  padding:20px 22px!important;
  overflow:hidden!important;
  border:1px solid #dbe7f5!important;
  border-radius:18px!important;
  background:
    radial-gradient(circle at 92% 12%,rgba(59,130,246,.11),transparent 27%),
    linear-gradient(135deg,#fff 0%,#f8fbff 62%,#eef6ff 100%)!important;
  box-shadow:0 8px 24px rgba(15,42,84,.055)!important;
}
.profile-identity-hero>div{min-width:0!important}
.profile-identity-hero .profile-avatar{
  width:68px!important;height:68px!important;flex:0 0 68px!important;
  border:4px solid #fff!important;border-radius:18px!important;
  box-shadow:0 8px 22px rgba(30,58,138,.16)!important;
}
.profile-identity-copy{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  align-content:center!important;
  gap:5px!important;
}
.profile-identity-copy h2{
  margin:0!important;color:#0b1f4d!important;
  font-size:22px!important;font-weight:850!important;line-height:1.15!important;
}
.profile-identity-copy p{
  margin:0!important;color:#4f6584!important;
  font-size:12px!important;line-height:1.4!important;
  white-space:normal!important;overflow-wrap:anywhere!important;
}
.profile-identity-meta{
  display:flex!important;flex-wrap:wrap!important;gap:4px 8px!important;
  margin-top:2px!important;color:#617695!important;font-size:11px!important;line-height:1.45!important;
  white-space:normal!important;overflow-wrap:anywhere!important;
}
.profile-identity-hero>.tag,.profile-identity-hero>[class*="tag-"]{
  align-self:start!important;justify-self:end!important;
}

/* KPIs */
.profile-kpi-grid{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
  margin-bottom:14px!important;
}
.profile-kpi-grid>.modern-kpi-card,
.profile-kpi-grid>.kpi-card,
.profile-kpi-grid>div{
  min-width:0!important;
  min-height:116px!important;
  padding:14px!important;
  border-radius:14px!important;
}
.profile-kpi-grid .modern-kpi-card>strong,
.profile-kpi-grid .kpi-card .valor{
  font-size:27px!important;line-height:1.05!important;
}
.profile-kpi-grid small,.profile-kpi-grid p{
  font-size:10.5px!important;line-height:1.3!important;
  overflow-wrap:anywhere!important;
}

/* Abas do perfil */
.profile-kpi-grid + .modern-tabs{
  display:flex!important;
  gap:4px!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 0 14px!important;
  padding:4px!important;
  overflow-x:auto!important;
  border:1px solid #dce6f2!important;
  border-radius:12px!important;
  background:#f8fbff!important;
  scrollbar-width:thin!important;
}
.profile-kpi-grid + .modern-tabs button{
  flex:0 0 auto!important;
  min-height:38px!important;
  padding:8px 13px!important;
  border-radius:8px!important;
  white-space:nowrap!important;
  font-size:11px!important;
  font-weight:720!important;
}

/* Visão geral */
.profile-dashboard-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
  width:100%!important;
}
.profile-dashboard-grid>.panel,
.profile-dashboard-grid>section,
.profile-dashboard-grid>article{
  min-width:0!important;
  min-height:230px!important;
  margin:0!important;
  padding:18px!important;
  border:1px solid #dfe7f2!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
  box-shadow:0 5px 18px rgba(15,42,84,.04)!important;
  overflow:hidden!important;
}
.profile-dashboard-grid h2,
.profile-dashboard-grid header strong{
  color:#0b1f4d!important;font-size:15px!important;font-weight:820!important;
}
.profile-summary-list{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px 14px!important;
  margin:0!important;
}
.profile-summary-list>div{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  min-height:44px!important;
  padding:8px 10px!important;
  border:1px solid #edf1f6!important;
  border-radius:10px!important;
  background:#f8fbff!important;
}
.profile-summary-list dt{font-size:11px!important;color:#536987!important}
.profile-summary-list dd{
  margin:0!important;color:#0b1f4d!important;
  font-size:15px!important;font-weight:800!important;
}
.profile-dashboard-grid .mini-list-row{
  padding:10px 0!important;
}
.profile-dashboard-grid .mini-list-row strong{
  font-size:12px!important;
}

/* Responsividade */
@media(max-width:1400px){
  .profile-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:1000px){
  .profile-dashboard-grid{grid-template-columns:1fr!important}
  .profile-dashboard-grid>.panel,
  .profile-dashboard-grid>section,
  .profile-dashboard-grid>article{min-height:0!important}
}
@media(max-width:760px){
  .profile-identity-hero{
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:start!important;padding:16px!important;
  }
  .profile-identity-hero>.tag,.profile-identity-hero>[class*="tag-"]{
    grid-column:1/-1!important;justify-self:start!important;
  }
  .profile-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .profile-summary-list{grid-template-columns:1fr!important}
}
@media(max-width:480px){
  .profile-identity-hero{grid-template-columns:1fr!important}
  .profile-identity-hero .profile-avatar{width:58px!important;height:58px!important}
  .profile-kpi-grid{grid-template-columns:1fr!important}
}
