/* TradePlexa 3.5.55 — pannello saldo: PNG completamente pulito,
   stesso linguaggio cromatico del bordo CRESCITA DEL CONTO.
   Nessuna ellisse, valuta, testo o illuminazione interna nel PNG.
   Importi e saldo del periodo sono testo HTML dinamico, non rasterizzato.
   Non altera refSetRange né le 6 KPI spaziali. */
html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
.ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance {
  box-sizing:border-box!important;
  position:relative!important;
  isolation:isolate!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  width:372px!important;
  min-width:372px!important;
  max-width:372px!important;
  height:123px!important;
  min-height:123px!important;
  padding:23px 37px 22px!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  outline:0!important;
  filter:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  background:transparent url('../assets/media/tp3555-balance-space-pure.opt3610.webp') center / 100% 100% no-repeat!important;
  overflow:hidden!important;
  text-align:center!important;
}
/* Remove ALL previous extra washes, masks and the price-shaped dark overlay. */
html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
.ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance::before,
html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
.ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance::after {
  content:none!important;
  display:none!important;
  background:none!important;
  box-shadow:none!important;
}
html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
.ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance > .tp3554-balance-main {
  box-sizing:border-box!important;
  display:block!important;
  position:relative!important;
  z-index:1!important;
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  font:800 28px/1.12 Inter,Arial,sans-serif!important;
  letter-spacing:-.035em!important;
  color:#f7fbff!important;
  text-align:center!important;
  white-space:nowrap!important;
  text-shadow:0 1px 4px rgba(0,0,0,.62)!important;
}
/* Dynamic period gain/loss is plain text—no fake price pill/oval. */
html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
.ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance > small {
  box-sizing:border-box!important;
  display:block!important;
  position:relative!important;
  z-index:1!important;
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:none!important;
  font:800 12px/1.25 Inter,Arial,sans-serif!important;
  letter-spacing:0!important;
  color:#19edd2!important;
  text-align:center!important;
  white-space:nowrap!important;
  text-shadow:0 1px 4px rgba(0,0,0,.72)!important;
}
html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
.ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance > small.ref-negative {
  color:#ff90a1!important;
}
@media (max-width:1400px) {
  html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
  .ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance {
    width:356px!important;
    min-width:356px!important;
    max-width:356px!important;
    height:118px!important;
    min-height:118px!important;
    padding:21px 33px!important;
  }
  html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
  .ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance > .tp3554-balance-main {font-size:26px!important;}
}
@media (max-width:1200px) {
  html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
  .ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance {
    width:min(100%,372px)!important;
    min-width:0!important;
    max-width:372px!important;
  }
}
@media (max-width:430px) {
  html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
  .ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance {
    padding-inline:clamp(14px,5vw,30px)!important;
  }
  html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
  .ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance > .tp3554-balance-main {font-size:clamp(20px,6.4vw,26px)!important;}
  html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
  .ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance > small {font-size:clamp(10px,2.6vw,12px)!important;}
}
