/* TradePlexa 3.5.56 — pannello saldo finale: più compatto, bordo singolo,
   tonalità più vive come il primo pannello e ritorno del pill verde acqua. */
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:11px!important;
  width:344px!important;
  min-width:344px!important;
  max-width:344px!important;
  height:104px!important;
  min-height:104px!important;
  padding:14px 20px 16px!important;
  margin:0!important;
  border:0!important;
  border-radius:28px!important;
  outline:0!important;
  box-shadow:none!important;
  background:
    linear-gradient(180deg, rgba(2,8,20,.16), rgba(2,8,20,.16)),
    url('../assets/media/tp3556-balance-space-core.opt3609.webp') center/cover no-repeat!important;
  overflow:hidden!important;
  text-align:center!important;
}
/* remove any inherited / previous helper shapes */
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;
}
/* single border, same color language as Growth panel */
html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
.ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance::before {
  content:'';
  position:absolute;
  inset:0;
  border-radius:28px;
  padding:2px;
  background:linear-gradient(90deg,#12ecff 0%, #3b8eff 50%, #f53df7 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  pointer-events:none;
  z-index:0;
}
html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
.ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance > .tp3554-balance-main,
html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
.ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance > small {
  position:relative!important;
  z-index:1!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;
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  background:none!important;
  border:0!important;
  box-shadow:none!important;
  font:800 24px/1.02 Inter,Arial,sans-serif!important;
  letter-spacing:-.035em!important;
  color:#f9fdff!important;
  text-align:center!important;
  white-space:nowrap!important;
  text-shadow:0 1px 4px rgba(0,0,0,.60)!important;
}
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:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:210px!important;
  max-width:100%!important;
  min-height:30px!important;
  margin:0!important;
  padding:6px 14px!important;
  border:2px solid #22ebf3!important;
  border-radius:999px!important;
  background:linear-gradient(180deg, rgba(3,18,39,.80), rgba(2,10,24,.90))!important;
  box-shadow:inset 0 0 12px rgba(1,8,20,.75)!important;
  font:800 11px/1.05 Inter,Arial,sans-serif!important;
  letter-spacing:-.01em!important;
  color:#1ef2da!important;
  text-align:center!important;
  white-space:nowrap!important;
  text-shadow:none!important;
}
html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
.ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance > small.ref-negative {
  border-color:#ff85a9!important;
  color:#ff94aa!important;
  background:linear-gradient(180deg, rgba(28,8,17,.78), rgba(20,7,14,.90))!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:334px!important; min-width:334px!important; max-width:334px!important;
    height:100px!important; min-height:100px!important;
    padding:13px 18px 14px!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:23px!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%,344px)!important; min-width:0!important; max-width:344px!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 > .tp3554-balance-main {
    font-size:clamp(20px,6.2vw,24px)!important;
  }
  html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
  .ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance > small {
    width:min(100%,210px)!important; font-size:clamp(10px,2.6vw,11px)!important;
  }
}
