/* Pobreta v0.5.5cr — métricas de Inversiones en un único bloque compacto */

.investment-card{
  gap:18px!important;
  padding:18px!important;
  border-radius:20px!important;
  background:var(--panel2)!important;
}

.investment-card-head{
  align-items:center!important;
  min-height:64px;
  gap:14px!important;
}

.investment-identity-card{
  width:52px!important;
  height:52px!important;
  border-radius:15px!important;
}

.investment-card-copy{
  min-width:0;
}

.investment-card-copy b{
  display:block;
  font-family:var(--font-sans)!important;
  font-size:1.15rem!important;
  line-height:1.14!important;
  font-weight:800!important;
  letter-spacing:-.018em!important;
}

.investment-card-copy small{
  display:block;
  margin-top:5px!important;
  font-family:var(--font-sans)!important;
  font-size:.92rem!important;
  line-height:1.25!important;
  font-weight:400!important;
  letter-spacing:normal!important;
  color:var(--muted)!important;
}

.investment-card-arrow{
  font-family:var(--font-sans)!important;
  font-size:1.7rem!important;
  line-height:1!important;
  font-weight:400!important;
  color:var(--muted)!important;
}

.investment-card-summaries{
  display:grid!important;
  gap:0!important;
  padding:12px 0 0!important;
  margin-left:0!important;
  border-top:1px solid var(--border)!important;
  text-align:left!important;
}

.investment-card-summary{
  display:grid!important;
  grid-template-columns:1fr!important;
  align-items:stretch!important;
  gap:0!important;
  padding:0!important;
  margin:0!important;
  border:1px solid rgba(255,255,255,.07)!important;
  border-radius:14px!important;
  overflow:hidden!important;
  background:rgba(255,255,255,.018)!important;
  font-family:var(--font-sans)!important;
  font-variant-numeric:tabular-nums;
}

.investment-card-summary,
.investment-card-summary > span,
.investment-card-stat,
.investment-card-stat small,
.investment-card-stat strong,
.investment-card-stat .investment-put-value,
.investment-card-stat .investment-return-value,
.investment-card-stat .investment-result-value,
.investment-card-stat .investment-performance{
  font-family:var(--font-sans)!important;
  letter-spacing:normal!important;
}

.investment-card-currency-hidden{
  display:none!important;
}

.investment-card-stat{
  min-width:0;
  width:100%;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:16px!important;
  min-height:42px;
  padding:8px 13px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
.investment-card-stat + .investment-card-stat{
  border-top:1px solid rgba(255,255,255,.055)!important;
}

.investment-card-stat small{
  display:block!important;
  min-width:0;
  text-align:left!important;
  color:var(--muted)!important;
  font-size:.94rem!important;
  line-height:1.2!important;
  font-weight:400!important;
}

.investment-card-stat > .investment-put-value,
.investment-card-stat > .investment-return-value,
.investment-card-stat > .investment-result-value{
  display:block!important;
  min-width:0;
  text-align:right!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  font-size:1.08rem!important;
  line-height:1.12!important;
}

.investment-card-stat > .investment-put-value{
  color:#ff6262!important;
  font-weight:400!important;
}

.investment-card-stat > .investment-return-value{
  color:#22c55e!important;
  font-weight:400!important;
}

.investment-card-stat > .investment-result-value{
  color:#3b82f6!important;
  font-weight:800!important;
}

.investment-card-stat .investment-performance{
  display:none!important;
}

.investment-card-summaries > .muted{
  padding:16px 0 2px!important;
  font-family:var(--font-sans)!important;
  font-weight:400!important;
  text-align:left!important;
}

@media(max-width:700px){
  .investment-list{
    grid-template-columns:1fr!important;
  }

  .investment-card{
    gap:17px!important;
    padding:17px!important;
  }

  .investment-card-head{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
    column-gap:14px!important;
    min-height:58px;
  }

  .investment-card-summaries{
    padding:11px 0 0!important;
  }

  .investment-card-stat{
    min-height:42px;
    padding:8px 13px!important;
  }

  .investment-card-stat small{
    font-size:.96rem!important;
  }

  .investment-card-stat > .investment-put-value,
  .investment-card-stat > .investment-return-value,
  .investment-card-stat > .investment-result-value{
    font-size:1.1rem!important;
  }
}

@media(max-width:390px){
  .investment-card{
    padding:15px!important;
  }

  .investment-identity-card{
    width:48px!important;
    height:48px!important;
  }

  .investment-card-copy b{
    font-size:1.08rem!important;
  }

  .investment-card-copy small{
    font-size:.86rem!important;
  }

  .investment-card-stat{
    min-height:40px;
    gap:10px!important;
    padding:7px 11px!important;
  }

  .investment-card-stat small{
    font-size:.88rem!important;
  }

  .investment-card-stat > .investment-put-value,
  .investment-card-stat > .investment-return-value,
  .investment-card-stat > .investment-result-value{
    font-size:1rem!important;
  }
}
