
/* OPTIONSGEX_CRYPTO_KLINE_DASHBOARD_V1.1
   CRYPTO ONLY. Does not style NSE realtime/GEX chart selectors. */

.ogex-crypto-v1{
  display:flex;
  flex-direction:column;
  gap:14px;
  min-width:0;
}
.ogex-crypto-head{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  padding:2px 2px 0;
}
.ogex-crypto-kicker{
  font-size:11px;
  letter-spacing:.14em;
  font-weight:800;
  color:#61d5ff;
  margin-bottom:5px;
}
.ogex-crypto-head h2{
  margin:0 0 5px;
  font-size:22px;
}
.ogex-crypto-sub,.ogex-crypto-muted{
  color:#8fa7b9;
  font-size:12px;
  line-height:1.45;
}
.ogex-crypto-head-badges{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.ogex-c-badge{
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:3px 9px;
  border:1px solid #29475b;
  border-radius:999px;
  background:#0d1a24;
  font-size:10px;
  font-weight:800;
  letter-spacing:.06em;
  color:#b9ccda;
  white-space:nowrap;
}
.ogex-c-badge.is-good{
  border-color:#1d6846;
  color:#54e59d;
  background:#0b2018;
}
.ogex-c-badge.is-bad{
  border-color:#753345;
  color:#ff788f;
  background:#281018;
}
.ogex-c-badge.is-wait{
  border-color:#6d5727;
  color:#ffd36d;
  background:#241d0d;
}
.ogex-c-badge.is-lock{
  border-color:#50556b;
  color:#c3c8d9;
  background:#181b26;
}
.ogex-crypto-toolbar{
  display:flex;
  align-items:end;
  gap:9px;
  flex-wrap:wrap;
  padding:10px 12px;
  border:1px solid #1e3443;
  border-radius:10px;
  background:#0a141c;
}
.ogex-crypto-toolbar label{
  display:flex;
  flex-direction:column;
  gap:4px;
  color:#7890a2;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.ogex-crypto-toolbar select,
.ogex-crypto-toolbar button{
  min-height:34px;
  border-radius:7px;
  border:1px solid #294457;
  background:#101f2a;
  color:#d5e5ef;
  padding:0 10px;
}
.ogex-crypto-toolbar button{
  cursor:pointer;
  font-weight:700;
}
.ogex-crypto-toolbar button:hover{
  border-color:#4c7d9b;
}
.ogex-crypto-last{
  margin-left:auto;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  color:#7890a2;
  font-size:10px;
}
.ogex-crypto-last strong{
  color:#d8e8f2;
  font-size:12px;
}
.ogex-crypto-summary{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(125px,1fr));
  gap:8px;
}
.ogex-crypto-stat{
  padding:11px 12px;
  border:1px solid #1c3544;
  border-radius:9px;
  background:linear-gradient(180deg,#0c1a23,#09131a);
  min-width:0;
}
.ogex-crypto-stat span{
  display:block;
  color:#708a9c;
  font-size:9px;
  font-weight:800;
  letter-spacing:.08em;
}
.ogex-crypto-stat strong{
  display:block;
  margin-top:4px;
  color:#e9f4fa;
  font-size:17px;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ogex-crypto-stat small{
  color:#6f8797;
  font-size:10px;
}
.ogex-crypto-main{
  display:grid;
  grid-template-columns:minmax(0,2.25fr) minmax(310px,.75fr);
  gap:12px;
  align-items:start;
}
.ogex-crypto-chart-panel{
  min-width:0;
}
.ogex-crypto-chart-head,.ogex-crypto-section-head,.ogex-vp-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
}
.ogex-crypto-chart-head h3,
.ogex-crypto-section-head h3{
  margin:0;
}
.ogex-crypto-legend{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  justify-content:flex-end;
  font-size:9px;
  color:#7890a2;
}
.ogex-crypto-legend span{
  padding:3px 7px;
  border-radius:999px;
  background:#0a1720;
  border:1px solid #203746;
}
.ogex-crypto-kline{
  width:100%;
  height:610px;
  min-height:460px;
  margin-top:10px;
  border:1px solid #1c3342;
  border-radius:9px;
  overflow:hidden;
  background:#071017;
}
.ogex-crypto-indicators{
  margin-top:10px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.ogex-crypto-indicator-group{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  padding:8px 10px;
  border:1px solid #1e3746;
  border-radius:8px;
  background:#0a161e;
}
.ogex-crypto-indicator-group strong{
  width:100%;
  font-size:10px;
  color:#8fa7b9;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.ogex-crypto-indicator-group label{
  display:flex;
  align-items:center;
  gap:5px;
  font-size:11px;
  color:#c1d1dc;
  cursor:pointer;
}
.ogex-crypto-indicator-group.is-diagnostic{
  border-style:dashed;
}
.ogex-crypto-side{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.ogex-model-cards{
  display:grid;
  gap:8px;
  margin-top:8px;
}
.ogex-model-card{
  border:1px solid #213d4e;
  border-radius:8px;
  padding:10px;
  background:#09151d;
}
.ogex-model-card.is-qualified{
  border-color:#1f704b;
  box-shadow:inset 3px 0 #2ad985;
}
.ogex-model-card.is-open{
  border-color:#7d642b;
  box-shadow:inset 3px 0 #ffd36d;
}
.ogex-model-title{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
}
.ogex-model-title strong{
  font-size:12px;
}
.ogex-model-grid{
  display:grid;
  grid-template-columns:1fr auto;
  gap:5px 8px;
  margin-top:9px;
  font-size:10px;
}
.ogex-model-grid span{
  color:#7790a2;
}
.ogex-model-grid b{
  color:#d4e3ec;
  text-align:right;
}
.ogex-pass{color:#47df94!important}
.ogex-fail{color:#ff7a90!important}
.ogex-wait{color:#ffd36d!important}
.ogex-position-list,.ogex-alert-list{
  display:grid;
  gap:7px;
  margin-top:8px;
  max-height:265px;
  overflow:auto;
}
.ogex-position,.ogex-alert-item{
  padding:8px 9px;
  border:1px solid #1e3746;
  border-radius:7px;
  background:#09151d;
  font-size:10px;
}
.ogex-position-head,.ogex-alert-head{
  display:flex;
  justify-content:space-between;
  gap:8px;
  margin-bottom:5px;
}
.ogex-position-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:3px 8px;
  color:#8ba2b2;
}
.ogex-position-row b{
  color:#d8e5ed;
}
.ogex-alert-item.is-new{
  border-color:#2b835b;
  animation:ogexCryptoPulse 1.1s ease-out 2;
}
@keyframes ogexCryptoPulse{
  0%{box-shadow:0 0 0 0 rgba(68,220,148,.32)}
  100%{box-shadow:0 0 0 14px rgba(68,220,148,0)}
}
.ogex-volume-profile{
  margin-top:10px;
  border:1px solid #1e3746;
  border-radius:8px;
  padding:9px;
  background:#09141c;
}
.ogex-volume-profile.hidden{display:none}
.ogex-vp-head span{
  font-size:10px;
  color:#8299a9;
}
.ogex-vp-bars{
  display:grid;
  gap:3px;
  margin-top:8px;
}
.ogex-vp-row{
  display:grid;
  grid-template-columns:90px 1fr 68px;
  gap:7px;
  align-items:center;
  font-size:9px;
  color:#8098a8;
}
.ogex-vp-track{
  height:8px;
  border-radius:999px;
  background:#112431;
  overflow:hidden;
}
.ogex-vp-fill{
  height:100%;
  border-radius:999px;
  background:#3aaed8;
}
.ogex-vp-row.is-poc .ogex-vp-fill{
  background:#ffcf5b;
}
.ogex-vp-row.is-va{
  color:#b5cad7;
}
.ogex-crypto-foot{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.ogex-crypto-foot span{
  padding:4px 8px;
  border-radius:999px;
  border:1px solid #263f4f;
  color:#7893a5;
  font-size:9px;
  letter-spacing:.05em;
}
.ogex-crypto-popup-stack{
  position:fixed;
  right:18px;
  top:74px;
  width:min(390px,calc(100vw - 36px));
  display:grid;
  gap:8px;
  z-index:99999;
}
.ogex-crypto-popup{
  border:1px solid #367b5b;
  background:#081a13;
  border-radius:10px;
  padding:11px 12px;
  box-shadow:0 14px 36px rgba(0,0,0,.45);
  color:#dff6e9;
}
.ogex-crypto-popup.is-exit{
  border-color:#81632a;
  background:#211a0c;
}
.ogex-crypto-popup strong{
  display:block;
  margin-bottom:4px;
}
.ogex-crypto-popup small{
  color:#91aa9e;
}
@media (max-width:1250px){
  .ogex-crypto-summary{grid-template-columns:repeat(3,1fr)}
  .ogex-crypto-main{grid-template-columns:1fr}
}
@media (max-width:760px){
  .ogex-crypto-head{flex-direction:column}
  .ogex-crypto-head-badges{justify-content:flex-start}
  .ogex-crypto-summary{grid-template-columns:repeat(2,1fr)}
  .ogex-crypto-indicators{grid-template-columns:1fr}
  .ogex-crypto-kline{height:520px}
  .ogex-crypto-last{margin-left:0;align-items:flex-start}
}


/* Crypto Paper / Forward Performance V1.1 */
.ogex-crypto-paper-area{
  display:grid;
  grid-template-columns:minmax(300px,1.15fr) minmax(300px,1fr) minmax(280px,.85fr);
  gap:12px;
  align-items:start;
}
.ogex-paper-position-list{
  display:grid;
  gap:8px;
  margin-top:9px;
  max-height:380px;
  overflow:auto;
}
.ogex-paper-position{
  padding:10px;
  border:1px solid #1f3a4a;
  border-radius:8px;
  background:#08141c;
}
.ogex-paper-grid{
  display:grid;
  grid-template-columns:1fr auto;
  gap:5px 10px;
  margin-top:8px;
  font-size:10px;
}
.ogex-paper-grid span{color:#7f98aa}
.ogex-paper-grid b{color:#d7e7f0;text-align:right}
.ogex-forward-metrics{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
  margin-top:9px;
}
.ogex-forward-metric{
  padding:9px;
  border:1px solid #1d3747;
  border-radius:8px;
  background:#09151d;
  min-width:0;
}
.ogex-forward-metric span{
  display:block;
  color:#7891a3;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.ogex-forward-metric strong{
  display:block;
  margin-top:4px;
  color:#e4f0f7;
  font-size:14px;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ogex-forward-metric small{
  display:block;
  margin-top:2px;
  color:#637d8f;
  font-size:9px;
}
.ogex-readiness-note{
  margin-top:9px;
  padding:9px 10px;
  border:1px solid #4c4524;
  border-radius:8px;
  background:#1c190b;
  color:#d4bd66;
  font-size:10px;
  line-height:1.45;
}
.ogex-pipeline-list{
  display:grid;
  gap:7px;
  margin-top:9px;
}
.ogex-pipeline-row{
  display:grid;
  grid-template-columns:minmax(120px,1fr) auto;
  gap:2px 8px;
  padding:8px 9px;
  border:1px solid #1c3544;
  border-radius:8px;
  background:#09151d;
  font-size:10px;
}
.ogex-pipeline-row span{color:#a9bdca}
.ogex-pipeline-row b{text-align:right}
.ogex-pipeline-row small{
  grid-column:1/-1;
  color:#6f899a;
  font-size:9px;
}
@media (max-width:1300px){
  .ogex-crypto-paper-area{grid-template-columns:1fr 1fr}
  .ogex-crypto-paper-area article:last-child{grid-column:1/-1}
}
@media (max-width:760px){
  .ogex-crypto-paper-area{grid-template-columns:1fr}
  .ogex-crypto-paper-area article:last-child{grid-column:auto}
  .ogex-forward-metrics{grid-template-columns:1fr 1fr}
}
@media (max-width:520px){
  .ogex-forward-metrics{grid-template-columns:1fr}
}


/* Crypto Readiness / Operations UI V1.2 */
.ogex-readiness-panel{min-width:0}
.ogex-readiness-status{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:11px 12px;
  border:1px solid #49572a;
  border-radius:9px;
  background:#141a0d;
  margin-top:9px;
}
.ogex-readiness-status.is-ready{
  border-color:#235c45;
  background:#0b1d17;
}
.ogex-readiness-status.is-not-ready{
  border-color:#64323b;
  background:#211013;
}
.ogex-readiness-status span{
  display:block;
  color:#8da3b2;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.ogex-readiness-status strong{
  display:block;
  margin-top:3px;
  color:#edf5f8;
  font-size:14px;
}
.ogex-readiness-lock{
  padding:6px 9px;
  border:1px solid #755b28;
  border-radius:999px;
  background:#1e180a;
  color:#f1c85c;
  font-size:10px;
  font-weight:800;
  white-space:nowrap;
}
.ogex-readiness-policy{
  display:grid;
  grid-template-columns:1fr auto;
  gap:5px 10px;
  margin-top:9px;
  padding:9px;
  border:1px solid #1d3747;
  border-radius:8px;
  background:#09151d;
  font-size:10px;
}
.ogex-readiness-policy span{color:#7590a2}
.ogex-readiness-policy b{color:#dcebf3;text-align:right}
.ogex-readiness-groups{display:grid;gap:9px;margin-top:9px}
.ogex-readiness-group{
  border:1px solid #1b3545;
  border-radius:8px;
  background:#08141c;
  overflow:hidden;
}
.ogex-readiness-group-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:7px 9px;
  border-bottom:1px solid #162f3e;
}
.ogex-readiness-group-head strong{font-size:10px;color:#cfe0e9}
.ogex-readiness-group-head span{font-size:9px;color:#718b9c}
.ogex-readiness-gates{display:grid;gap:5px;padding:7px}
.ogex-readiness-gate{
  display:grid;
  grid-template-columns:minmax(130px,1fr) auto;
  gap:2px 8px;
  padding:6px 7px;
  border-radius:6px;
  background:#0a171f;
  font-size:9px;
}
.ogex-readiness-gate span{color:#9fb2bf}
.ogex-readiness-gate b{text-align:right;color:#e0b75c}
.ogex-readiness-gate small{grid-column:1/-1;color:#668192}
.ogex-readiness-gate.is-pass b{color:#68d0a3}
.ogex-readiness-gate.is-fail b{color:#e1a45e}
.ogex-readiness-failed{
  margin-top:9px;
  padding:8px 9px;
  border:1px solid #4b3b29;
  border-radius:8px;
  background:#17130d;
}
.ogex-readiness-failed strong{font-size:10px;color:#dec88e}
.ogex-readiness-failed div{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.ogex-readiness-failed span{
  padding:3px 6px;
  border-radius:999px;
  background:#2a2113;
  color:#cbb27b;
  font-size:8px;
}
.ogex-crypto-ops-actions{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin-top:9px;
}
.ogex-crypto-ops-actions button{
  min-height:30px;
}
@media (max-width:1300px){
  .ogex-crypto-paper-area.is-v12{
    grid-template-columns:1fr 1fr;
  }
}
@media (max-width:760px){
  .ogex-crypto-paper-area.is-v12{
    grid-template-columns:1fr;
  }
}


/* BTC V6 Trade Journal V1 / Crypto UI V1.3 */
.ogex-journal-panel{min-width:0}
.ogex-journal-empty{
  margin-top:9px;
  padding:12px;
  border:1px dashed #314b5b;
  border-radius:8px;
  color:#7f99a9;
  font-size:10px;
  line-height:1.55;
}
.ogex-journal-trade{
  margin-top:8px;
  border:1px solid #203d4e;
  border-radius:8px;
  background:#08151d;
  overflow:hidden;
}
.ogex-journal-trade summary{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:9px 10px;
  cursor:pointer;
  list-style:none;
}
.ogex-journal-trade summary::-webkit-details-marker{display:none}
.ogex-journal-trade summary span{display:flex;flex-direction:column;gap:2px}
.ogex-journal-trade summary b{font-size:10px;color:#dcebf3}
.ogex-journal-trade summary small{font-size:8px;color:#748f9f}
.ogex-journal-summary-right{text-align:right;align-items:flex-end}
.ogex-journal-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
  padding:8px;
  border-top:1px solid #173242;
}
.ogex-journal-block{
  display:grid;
  grid-template-columns:1fr auto;
  gap:4px 8px;
  align-content:start;
  padding:8px;
  border:1px solid #173141;
  border-radius:7px;
  background:#091720;
}
.ogex-journal-block h4{
  grid-column:1/-1;
  margin:0 0 4px;
  color:#8fc2dc;
  font-size:9px;
  letter-spacing:.04em;
}
.ogex-journal-block span{
  color:#718b9b;
  font-size:8px;
}
.ogex-journal-block b{
  color:#d5e4eb;
  text-align:right;
  font-weight:600;
}
@media(max-width:1350px){
  .ogex-journal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .ogex-journal-grid{grid-template-columns:1fr}
}
