/* OPTIONSGEX_NSE_OVERVIEW_V31
   Single visible NSE Overview owner.
   Presentation only.
*/

#summaryCards{
  display:none!important;
}

#page-overview > .grid.three,
#ogxOverviewPriorityGridV2,
#ogexNseOverviewPriorityV3,
#ogexNseMobileOverviewV1{
  display:none!important;
}

#ogexNseOverviewV31{
  display:grid;
  gap:10px;
  padding-bottom:92px;
}

.ogx31-status{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}

.ogx31-pill{
  border:1px solid #31516a;
  border-radius:999px;
  padding:7px 11px;
  font-size:11px;
  font-weight:900;
}

.ogx31-live{
  color:#00e69a;
  border-color:#00b87c;
}

.ogx31-history{
  color:#ffd34f;
  border-color:#987821;
}

.ogx31-bad{
  color:#ff6078;
  border-color:#9d3144;
}

.ogx31-quick{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}

.ogx31-metric{
  padding:10px;
  min-width:0;
  border:1px solid #203e52;
  background:#071723;
  border-radius:12px;
}

.ogx31-metric small{
  display:block;
  color:#7895a8;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.ogx31-metric strong{
  display:block;
  margin-top:4px;
  font-size:15px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.ogx31-card{
  border:1px solid #213e52;
  border-radius:14px;
  background:#0b1728;
  padding:11px;
  min-width:0;
}

.ogx31-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:9px;
}

.ogx31-head h3{
  margin:0;
  font-size:14px;
  line-height:1.2;
}

.ogx31-more{
  min-width:60px;
  min-height:40px;
  border:1px solid #2a5977;
  border-radius:11px;
  background:#0b2233;
  color:#cdeaff;
  font-weight:900;
}

.ogx31-svg{
  width:100%;
  height:auto;
  display:block;
}

.ogx31-strikes{
  display:grid;
  gap:1px;
  margin-top:7px;
}

.ogx31-strike{
  display:grid;
  grid-template-columns:55px minmax(0,1fr) 70px;
  gap:7px;
  align-items:center;
  padding:7px 0;
  border-bottom:1px solid #183246;
}

.ogx31-strike b{
  font-size:11px;
}

.ogx31-strike-meta{
  color:#8caabd;
  font-size:9px;
  white-space:normal;
}

.ogx31-gex{
  text-align:right;
  font-size:10px;
  font-weight:900;
}

.ogx31-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  padding:8px 0;
  border-bottom:1px solid #1b3548;
}

.ogx31-row span{
  color:#a9bfce;
}

.ogx31-row b{
  text-align:right;
}

.ogx31-evidence{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
}

.ogx31-cell{
  padding:9px;
  border-radius:10px;
  background:#081925;
}

.ogx31-cell small{
  display:block;
  color:#7897aa;
  font-size:8px;
}

.ogx31-cell strong{
  display:block;
  margin-top:3px;
  font-size:12px;
}

.ogx31-note{
  margin-top:8px;
  padding:9px;
  border:1px dashed #35546b;
  border-radius:10px;
  color:#9db6c6;
  font-size:10px;
  line-height:1.45;
}

.ogx31-buy{
  color:#00e69a;
}

.ogx31-sell,
.ogx31-loss{
  color:#ff506d;
}

.ogx31-wait{
  color:#ffd34f;
}

.ogx31-watch{
  display:grid;
  gap:0;
}

.ogx31-watch-row{
  display:grid;
  grid-template-columns:90px 1fr;
  gap:8px;
  padding:9px 0;
  border-bottom:1px solid #1a3548;
}

.ogx31-watch-data{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:4px 8px;
  font-size:10px;
}

.ogx31-watch-data span{
  color:#8faabd;
}

.ogx31-watch-data b{
  text-align:right;
}

.ogx31-empty{
  padding:10px;
  border:1px dashed #36546b;
  border-radius:10px;
  color:#9bb2c2;
  font-size:10px;
  line-height:1.45;
}

@media(max-width:760px){

  #ogexNseOverviewV31{
    gap:8px;
  }

  .ogx31-quick{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .ogx31-card{
    padding:10px;
  }

  .ogx31-evidence{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .ogx31-strike{
    grid-template-columns:52px minmax(0,1fr) 62px;
  }

  .ogx31-watch-row{
    grid-template-columns:78px minmax(0,1fr);
  }
}


/* OPTIONSGEX_OVERVIEW_V32_STRUCTURE */

/*
 * The Overview is a cockpit.
 * Full evidence engines belong on detailed pages.
 */
#page-overview [id^="ogexInstitutional"],
#page-overview [id^="ogexV5"] {
  display: none !important;
}

/*
 * Mobile Overview uses NIFTY/BANKNIFTY/SENSEX buttons.
 * Remove duplicate desktop controls only while Home is active.
 */
body:has(#page-overview.active) .top-actions {
  display: none !important;
}



/* OPTIONSGEX_OVERVIEW_V32B_TOOLTIPS */

.ogx32b-tip{
  position:fixed;
  z-index:999999;
  max-width:min(300px,88vw);
  padding:10px 12px;
  border:1px solid #355c72;
  border-radius:10px;
  background:rgba(4,14,22,.97);
  color:#e7f4fc;
  box-shadow:
    0 12px 30px
    rgba(0,0,0,.48);
  font-size:11px;
  line-height:1.48;
  white-space:pre-line;
  pointer-events:none;
}

.ogx32b-tip[hidden]{
  display:none!important;
}

#ogx31-price .ogx31-svg,
#ogx31-strike .ogx31-svg{
  cursor:crosshair;
}

#ogx31-flow .ogx31-row{
  cursor:pointer;
}



/* OPTIONSGEX_NSE_OVERVIEW_FINAL_V324 */

.ogx31-metric.is-positive strong,
.ogx31-row.is-positive b{
  color:#00e69a;
}

.ogx31-metric.is-negative strong,
.ogx31-row.is-negative b{
  color:#ff6078;
}

.ogx31-metric.is-unavailable strong,
.ogx31-row.is-unavailable b{
  color:#7f91a0;
}

.ogx31-metric.is-neutral strong{
  color:#e7f4fc;
}

#ogx31-flow .ogx31-row{
  min-height:38px;
}

#ogx31-flow .ogx31-row span{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
