
/* APEX V59.9 — TradingView-compatible chart surface only */
#v593Chart{
  position:relative!important;
  width:100%!important;
  height:360px!important;
  min-height:360px!important;
  max-height:360px!important;
  overflow:hidden!important;
  background:#131722!important;
  border:1px solid #2A2E39!important;
  border-radius:4px!important;
}

#v599TradingViewChart,
.v599-tradingview-chart{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:5;
  background:#131722;
}

#v599TradingViewChart table{
  border-collapse:separate;
}

.v596-chart-panel{
  max-height:none!important;
  padding:8px!important;
  background:#131722!important;
  border-color:#2A2E39!important;
}

.v596-chart-head{
  min-height:38px;
  margin-bottom:6px!important;
  padding:0 4px;
  background:#131722;
}

.v596-chart-head select{
  background:#1E222D!important;
  border:1px solid #2A2E39!important;
  color:#D1D4DC!important;
  border-radius:4px!important;
}

#v594ChartState[data-chart-status="ok"]{
  background:#123C33!important;
  color:#22AB94!important;
}

#v594ChartState[data-chart-status="loading"]{
  background:#3D341B!important;
  color:#F0B90B!important;
}

#v594ChartState[data-chart-status="error"]{
  background:#451B27!important;
  color:#F23645!important;
}

#v594ChartState[data-chart-status="fallback"]{
  background:#28323F!important;
  color:#B2B5BE!important;
}

@media(max-width:900px){
  #v593Chart{
    height:320px!important;
    min-height:320px!important;
    max-height:320px!important;
  }
}
