/* Cache-safe branding/admin additions. Kept separate from the main UI stylesheet. */
.landing-brand-logo{width:auto;height:42px;max-width:78px;object-fit:contain;display:block;flex:0 0 auto}
.landing-brand-text.dynamic-brand-title{font-weight:850;color:#122233;max-width:220px;overflow:hidden;text-overflow:ellipsis}
.footer-brand .landing-brand-logo{height:34px;max-width:66px}
.brand-logo-sidebar,.brand-logo-auth{object-fit:contain}

.branding-settings-card{grid-column:1/-1}
.branding-settings-intro{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}
.branding-settings-intro h2{margin:0 0 5px}.branding-settings-intro p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}
.branding-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px}
.branding-upload{border:1px solid var(--line);border-radius:14px;padding:14px;background:#fbfcfc;display:grid;gap:12px;align-content:start}
.branding-upload h3{margin:0;font-size:14px}.branding-upload p{margin:0;color:var(--muted);font-size:11px;line-height:1.45}
.branding-preview{height:118px;border:1px dashed #d9e1de;border-radius:12px;background:#fff;display:grid;place-items:center;padding:12px;overflow:hidden}
.branding-preview.logo-preview img{max-width:100%;max-height:90px;object-fit:contain}
.branding-preview.square-preview img{width:82px;height:82px;object-fit:contain;border-radius:18px;background:#fff}
.branding-preview.favicon-preview img{width:54px;height:54px;object-fit:contain}
.branding-upload input[type=file]{padding:9px;background:#fff;font-size:12px}
.branding-reset{display:flex;align-items:center;gap:8px;font-size:11px;color:#667085;font-weight:650}.branding-reset input{width:auto;margin:0}
.branding-save-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:4px}.branding-storage-note{font-size:11px;color:var(--muted)}
.branding-title-field{max-width:720px}

@media(max-width:980px){.branding-grid{grid-template-columns:1fr}.branding-settings-intro{display:block}.landing-brand-text.dynamic-brand-title{max-width:150px}}
@media(max-width:680px){.landing-brand-logo{height:34px;max-width:58px}.landing-brand-text.dynamic-brand-title{font-size:16px;max-width:122px}.footer-brand .landing-brand-logo{height:30px}}
.branding-app-status{min-height:16px;color:#07865f;font-size:10px;line-height:1.4}.branding-app-status.is-error{color:#b42318}
.mini-app-mark{overflow:hidden;background:transparent!important;padding:0}.mini-app-mark img{width:100%;height:100%;display:block;object-fit:cover;border-radius:8px}

/* v10.6.19 — Upstox-style option chain centering */
.oc-pro-shell{--oc-call:#fff8f8;--oc-put:#f5fffb;--oc-spot:#6f45c6;--oc-spot-soft:#f4efff}
.oc-pro-side-head{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:10px 4px 8px;border-bottom:1px solid #ececf0}
.oc-pro-side-head>strong{font-size:11px;letter-spacing:.06em}.oc-call-title{color:#b74444;text-align:left}.oc-put-title{color:#08795b;text-align:right}
.oc-center-spot{border:1px solid #ded7ef;background:#fff;color:#3d2d64;border-radius:999px;padding:6px 10px;font:inherit;font-size:11px;display:inline-flex;align-items:center;gap:5px;cursor:pointer;white-space:nowrap}.oc-center-spot b{font-variant-numeric:tabular-nums;color:#5d38ad}
.oc-spot-separator{height:34px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding:0 8px;background:#fff;position:relative;z-index:3}.oc-spot-separator i{height:1px;background:var(--oc-spot)}.oc-spot-separator b{background:var(--oc-spot);color:#fff;border-radius:999px;padding:5px 9px;font-size:10px;line-height:1;box-shadow:0 2px 7px rgba(87,53,155,.18);white-space:nowrap;font-variant-numeric:tabular-nums}
.oc-pro-table .oc-ltp-head,.oc-pro-table .oc-ltp-cell{font-weight:800}.oc-pro-table .oc-ltp-cell.option-call{background:#fff4f4}.oc-pro-table .oc-ltp-cell.option-put{background:#f1fff9}.oc-pro-table tr.atm-row td.strike{background:var(--oc-spot-soft)}.oc-pro-table tr.atm-row td.strike strong{color:#5d38ad}.oc-pro-table td.strike small{display:block;margin-top:2px;font-size:8px;color:#6f45c6;font-weight:800}
.oc-desktop-spot-row td{padding:0!important;background:#fff!important;border:0!important}.oc-desktop-spot-row div{height:32px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px}.oc-desktop-spot-row i{height:1px;background:var(--oc-spot)}.oc-desktop-spot-row b{background:var(--oc-spot);color:#fff;border-radius:999px;padding:5px 10px;font-size:10px;white-space:nowrap;font-variant-numeric:tabular-nums}
@media(min-width:701px){.oc-pro-desktop{overflow-x:auto}.oc-pro-table{width:100%;min-width:1180px;table-layout:fixed}.oc-pro-table th,.oc-pro-table td{text-align:center;white-space:nowrap}.oc-pro-table td.strike,.oc-pro-table th.strike{background:#fbf9ff;box-shadow:-1px 0 #eee,1px 0 #eee}.oc-pro-side-head{display:none}}
@media(max-width:700px){
 .oc-pro-shell{padding-bottom:0!important}.oc-pro-summary{margin-top:0!important}.oc-pro-side-head{padding:8px 10px}.oc-pro-side-head>strong{font-size:10px}.oc-center-spot{padding:5px 9px;font-size:10px}
 .oc-pro-mobile-head{grid-template-columns:.82fr 1.14fr .9fr 1.14fr .82fr!important;padding:8px 6px!important;position:relative!important;top:auto!important;z-index:7!important}.oc-pro-mobile-head span:nth-child(2),.oc-pro-mobile-head span:nth-child(4){font-weight:800;color:#34383e}
 .oc-pro-mobile-chain{display:block!important;height:calc(100dvh - 365px);min-height:350px;max-height:620px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;background:#fff;border-bottom:1px solid #eceef0}.oc-pro-mobile-chain::-webkit-scrollbar{display:none}
 .oc-pro-mobile-chain .mobile-option-row{grid-template-columns:.82fr 1.14fr .9fr 1.14fr .82fr!important;min-height:58px}.oc-pro-mobile-chain .oc-cell{padding:7px 2px}.oc-pro-mobile-chain .call-ltp,.oc-pro-mobile-chain .put-ltp{font-size:13px;font-weight:800}.oc-pro-mobile-chain .call-ltp{background:linear-gradient(90deg,#fff,#fff2f2)}.oc-pro-mobile-chain .put-ltp{background:linear-gradient(90deg,#effff8,#fff)}.oc-pro-mobile-chain .call-oi{background:#fffafa}.oc-pro-mobile-chain .put-oi{background:#f9fffc}.oc-pro-mobile-chain .oc-strike{background:#faf9fc;border-left:1px solid #eeeaf5;border-right:1px solid #eeeaf5}.oc-pro-mobile-chain .mobile-option-row.atm:before{display:none}.oc-pro-mobile-chain .mobile-option-row.atm .oc-strike{background:#f2edff}.oc-pro-mobile-chain .mobile-option-row.atm .oc-strike strong{background:#6f45c6!important;color:#fff!important;border-radius:7px;padding:5px 6px}.oc-pro-mobile-chain .oc-strike small{font-weight:850;color:#6f45c6}
 .oc-spot-separator{position:relative;min-height:34px;scroll-margin-block:45vh}.chain-footer{margin-top:0!important}
}
@media(max-width:390px){.oc-pro-mobile-head,.oc-pro-mobile-chain .mobile-option-row{grid-template-columns:.78fr 1.18fr .88fr 1.18fr .78fr!important}.oc-pro-mobile-chain{height:calc(100dvh - 350px);min-height:340px}.oc-center-spot span{display:none}}

/* v10.6.26 — compact mobile option chain */
.oc-compact-controls{align-items:end!important;gap:8px!important}
.oc-compact-controls label{min-width:112px;flex:0 1 150px!important;font-size:10px!important;color:var(--muted,#737982);gap:3px!important}
.oc-compact-controls select{height:34px!important;min-width:0!important;width:100%!important;padding:5px 28px 5px 8px!important;border-radius:6px!important;font-size:12px!important;font-weight:700;background-color:#fff}
.oc-compact-center{width:34px;height:34px;border:1px solid var(--line,#e5e7eb);border-radius:50%;background:#fff;color:#6f42c1;font-size:19px;display:grid;place-items:center;padding:0;cursor:pointer}
.oc-compact-meta{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:30px;padding:4px 10px;border-bottom:1px solid var(--line,#eceef0);font-size:10px}
.oc-compact-meta .oc-call-title{color:#bd3f48;text-align:left}.oc-compact-meta>span{color:var(--muted,#737982);text-align:center}.oc-compact-meta .oc-put-title{color:#008d69;text-align:right}
@media(max-width:700px){
 .instrument-detail-head{border-bottom:0!important}.instrument-title-row{padding:7px 12px!important;min-height:48px}.instrument-title-row>div:first-child{gap:7px!important}.instrument-title-row>div:first-child strong{font-size:14px}.instrument-title-row>div:first-child>small{font-size:10px!important}.detail-price strong{font-size:15px!important}.detail-price small{font-size:10px!important}
 .instrument-tabs{top:48px!important}.instrument-tabs a{padding:9px 11px 7px!important;font-size:12px!important}
 .chain-filter-row.oc-compact-controls{position:sticky!important;top:83px!important;z-index:10;padding:6px 10px!important;gap:7px!important;background:#fff;border-bottom:1px solid var(--line,#eceef0)}
 .oc-compact-controls label{font-size:9px!important;flex:0 1 128px!important;min-width:0!important}.oc-compact-controls label:nth-of-type(2){flex-basis:118px!important}.oc-compact-controls select{height:30px!important;padding-top:3px!important;padding-bottom:3px!important;font-size:11px!important}.oc-compact-center{width:30px;height:30px;font-size:17px;margin-left:auto}
 .oc-compact-meta{min-height:26px;padding:3px 10px;font-size:9px;position:sticky;top:126px;background:#fff;z-index:9}
 .mobile-option-head.oc-pro-mobile-head{top:152px!important;padding:5px 4px!important;font-size:9px!important;height:28px;align-items:center}
 .mobile-option-row{min-height:48px!important}.oc-cell,.oc-strike{padding:4px 2px!important;gap:0!important}.oc-cell b,.oc-strike strong{font-size:11px!important;line-height:1.15}.oc-cell small,.oc-strike small{font-size:8px!important;line-height:1.15;margin-top:2px}.mobile-option-row.atm .oc-strike strong{padding:3px 5px!important;border-radius:5px!important}
 .oc-spot-separator{min-height:28px!important;height:28px!important;margin:0!important}.oc-spot-separator b{font-size:10px!important;padding:3px 9px!important}.chain-footer{padding:6px 8px!important;gap:12px!important;font-size:9px!important;min-height:30px!important}.option-chain-shell{padding-bottom:0!important}
}
@media(max-width:390px){.instrument-tabs a{padding-left:8px!important;padding-right:8px!important}.oc-compact-controls label{flex-basis:112px!important}.oc-compact-controls label:nth-of-type(2){flex-basis:105px!important}}

/* v10.6.27 — dense Upstox-style mobile option chain */
.oc-switch{width:34px;height:19px;border:0;border-radius:999px;background:#d8dbe0;padding:2px;display:flex;align-items:center;cursor:pointer;transition:.18s ease}
.oc-switch i{width:15px;height:15px;border-radius:50%;background:#fff;display:block;box-shadow:0 1px 3px rgba(0,0,0,.22);transition:.18s ease}
.oc-switch.is-on{background:#7450c8}.oc-switch.is-on i{transform:translateX(15px)}
.oc-depth-bar{position:absolute;left:7px;right:7px;bottom:3px;height:2px;display:block;background:transparent;overflow:hidden;border-radius:2px;pointer-events:none}
.oc-depth-bar:after{content:"";display:block;width:var(--oc-depth,0%);height:100%;border-radius:2px;opacity:.62}
.oc-depth-bar.call:after{background:#ee7777}.oc-depth-bar.put:after{background:#58c99f}
.oc-bottom-dock{background:#fff;border-top:1px solid #e9e9ed}
.oc-trade-strip,.oc-stats-strip{display:flex;align-items:center;gap:0;min-height:30px;font-size:10px;white-space:nowrap}
.oc-trade-strip>*{padding:0 10px;border-right:1px solid #e7e7eb;color:#34383e;text-decoration:none}.oc-trade-strip>*:last-child{border-right:0;overflow:hidden;text-overflow:ellipsis}
.oc-stats-strip{border-top:1px solid #eeeeef}.oc-stats-strip>*{padding:0 9px}.oc-stats-strip button{align-self:stretch;min-width:38px;border:0;border-right:1px solid #ececef;background:#f5f0ff;color:#7049c4;font-size:16px;cursor:pointer}.oc-stats-strip span{color:#555d67}.oc-stats-strip b{color:#282d33}.oc-oi-pill{margin-left:auto;border:1px solid #d8d9df;border-radius:5px;padding:3px 7px!important;font-weight:800;color:#4c3d75!important;margin-right:8px}

@media(max-width:700px){
 .oc-pro-shell{--oc-row:46px;--oc-purple:#7450c8;--oc-call-itm:#fff2f2;--oc-put-itm:#effbf6;border:0!important;padding:0!important;margin:0!important;background:#fff}
 .instrument-detail-head{padding:0!important;margin:0!important;border:0!important;background:#fff!important}
 .instrument-title-row{height:50px!important;min-height:50px!important;padding:5px 12px!important;border-bottom:1px solid #efeff2}
 .instrument-title-row .back-link{font-size:21px;line-height:1;color:#333b44}.instrument-title-row>div:first-child{gap:8px!important;min-width:0}.instrument-title-row>div:first-child strong{font-size:14px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:44vw}.instrument-title-row>div:first-child>small{font-size:9px!important}.detail-price strong{font-size:14px!important;line-height:1.1}.detail-price small{font-size:9px!important;margin-top:2px}
 .instrument-tabs{position:relative!important;top:auto!important;z-index:8!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:0!important;margin:0!important;padding:0!important;background:#fff!important;border-bottom:1px solid #e7e7eb!important;overflow:visible!important}
 .instrument-tabs a{padding:10px 2px 8px!important;font-size:11px!important;text-align:center!important;overflow:hidden;text-overflow:ellipsis;border-bottom-width:2px!important}
 .chain-filter-row.oc-compact-controls{position:relative!important;top:auto!important;z-index:7!important;display:grid!important;grid-template-columns:minmax(76px,.9fr) minmax(92px,1.08fr) 58px 32px!important;align-items:end!important;gap:7px!important;height:52px!important;min-height:52px!important;padding:5px 9px 6px!important;margin:0!important;background:#fff!important;border-bottom:1px solid #e8e8ec!important}
 .oc-compact-controls label{display:grid!important;align-content:end!important;gap:1px!important;min-width:0!important;flex:none!important;margin:0!important;color:#686f79!important;font-size:8px!important;font-weight:700!important}
 .oc-compact-controls label>span{line-height:1.05}.oc-compact-controls select{appearance:auto!important;height:27px!important;min-height:27px!important;width:100%!important;padding:1px 2px!important;border:0!important;border-radius:0!important;background:#fff!important;color:#242a31!important;font-size:11px!important;font-weight:800!important;outline:0!important}
 .oc-strategy-control{justify-items:start!important}.oc-strategy-control>span{margin-bottom:4px}.oc-strategy-control .oc-switch{margin-bottom:3px}
 .oc-compact-center{align-self:end!important;width:30px!important;height:30px!important;margin:0!important;border:1px solid #dddde3!important;border-radius:50%!important;background:#fff!important;color:#7350c3!important;font-size:18px!important;line-height:1!important}
 .oc-compact-meta{display:none!important}
 .mobile-option-head.oc-pro-mobile-head{position:relative!important;top:auto!important;z-index:6!important;display:grid!important;grid-template-columns:.92fr 1.08fr 1fr 1.08fr .92fr!important;height:31px!important;min-height:31px!important;padding:0!important;border-top:0!important;border-bottom:1px solid #e2e2e7!important;background:#fbfbfc!important;align-items:center!important;color:#656b74!important;font-size:9px!important;font-weight:750!important}
 .mobile-option-head.oc-pro-mobile-head span{text-align:center;white-space:nowrap}.mobile-option-head.oc-pro-mobile-head span:nth-child(2),.mobile-option-head.oc-pro-mobile-head span:nth-child(4){font-weight:850;color:#363b42}
 .oc-pro-mobile-chain{display:block!important;height:calc(100dvh - 359px)!important;min-height:300px!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;scrollbar-width:none!important;background:#fff!important;border:0!important;scroll-behavior:auto}.oc-pro-mobile-chain::-webkit-scrollbar{display:none}
 .oc-pro-mobile-chain .mobile-option-row{display:grid!important;grid-template-columns:.92fr 1.08fr 1fr 1.08fr .92fr!important;min-height:var(--oc-row)!important;height:var(--oc-row)!important;border-bottom:1px solid #ececf0!important;align-items:stretch!important;position:relative!important;background:#fff!important}
 .oc-pro-mobile-chain .oc-cell,.oc-pro-mobile-chain .oc-strike{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:1px!important;min-width:0!important;padding:3px 1px 4px!important;text-align:center!important;border:0!important;background:#fff!important;font-variant-numeric:tabular-nums}
 .oc-pro-mobile-chain .oc-cell b,.oc-pro-mobile-chain .oc-strike strong{font-size:11px!important;line-height:1.08!important;font-weight:800!important}.oc-pro-mobile-chain .oc-cell small,.oc-pro-mobile-chain .oc-strike small{font-size:7.5px!important;line-height:1.08!important;margin:1px 0 0!important;font-weight:650!important;white-space:nowrap}
 .oc-pro-mobile-chain .oc-strike{background:#f7f6fa!important;border-left:1px solid #ece9f2!important;border-right:1px solid #ece9f2!important}.oc-pro-mobile-chain .oc-strike small{color:#736c7d!important}.oc-pro-mobile-chain .mobile-option-row.atm .oc-strike{background:#f0ecf9!important}.oc-pro-mobile-chain .mobile-option-row.atm .oc-strike strong{background:transparent!important;color:#3b314d!important;padding:0!important;border-radius:0!important}
 .oc-pro-mobile-chain .mobile-option-row.call-itm .call-oi,.oc-pro-mobile-chain .mobile-option-row.call-itm .call-ltp{background:var(--oc-call-itm)!important}.oc-pro-mobile-chain .mobile-option-row.put-itm .put-ltp,.oc-pro-mobile-chain .mobile-option-row.put-itm .put-oi{background:var(--oc-put-itm)!important}
 .oc-pro-mobile-chain .oc-cell.is-selected{box-shadow:inset 0 0 0 1.5px #7753ca!important;background:#f3effd!important}.oc-pro-mobile-chain.strategy-select .oc-cell:after{content:"+";position:absolute;right:3px;top:2px;width:10px;height:10px;border-radius:50%;background:#7753ca;color:#fff;font-size:8px;line-height:10px;text-align:center;font-style:normal}
 .oc-spot-separator{height:25px!important;min-height:25px!important;display:grid!important;grid-template-columns:1fr auto 1fr!important;gap:7px!important;align-items:center!important;padding:0 7px!important;margin:0!important;background:#fff!important;scroll-margin-block:calc((100dvh - 359px)/2)!important}.oc-spot-separator i{height:1px!important;background:#8056d0!important}.oc-spot-separator b{background:#8056d0!important;color:#fff!important;border-radius:7px!important;padding:4px 11px!important;font-size:10px!important;line-height:1!important;font-weight:850!important;box-shadow:0 1px 5px rgba(93,58,165,.22)!important}
 .oc-depth-bar{left:5px;right:5px;bottom:2px;height:1.5px}
 .oc-bottom-dock{height:60px!important;min-height:60px!important;position:relative!important;z-index:8!important;margin:0!important;background:#fff!important}.oc-trade-strip,.oc-stats-strip{height:30px!important;min-height:30px!important;font-size:9px!important}.oc-trade-strip>*{padding:0 8px!important}.oc-trade-strip>*:last-child{flex:1 1 auto}.oc-stats-strip>*{padding:0 7px!important}.oc-stats-strip button{min-width:34px!important}.oc-oi-pill{margin-right:6px!important;padding:2px 6px!important}
 .oc-pro-mobile-chain.view-calls .mobile-option-row{grid-template-columns:1fr 1.15fr 1fr!important}.oc-pro-mobile-chain.view-calls .put-ltp,.oc-pro-mobile-chain.view-calls .put-oi{display:none!important}.oc-pro-mobile-head[data-view="calls"]{grid-template-columns:1fr 1.15fr 1fr!important}.oc-pro-mobile-head[data-view="calls"] span:nth-child(4),.oc-pro-mobile-head[data-view="calls"] span:nth-child(5){display:none!important}
 .oc-pro-mobile-chain.view-puts .mobile-option-row{grid-template-columns:1fr 1.15fr 1fr!important}.oc-pro-mobile-chain.view-puts .call-oi,.oc-pro-mobile-chain.view-puts .call-ltp{display:none!important}.oc-pro-mobile-head[data-view="puts"]{grid-template-columns:1fr 1.15fr 1fr!important}.oc-pro-mobile-head[data-view="puts"] span:nth-child(1),.oc-pro-mobile-head[data-view="puts"] span:nth-child(2){display:none!important}
 .chain-footer{display:none!important}
}
@media(max-width:380px){
 .chain-filter-row.oc-compact-controls{grid-template-columns:minmax(70px,.9fr) minmax(82px,1fr) 54px 30px!important;gap:5px!important;padding-left:6px!important;padding-right:6px!important}
 .oc-pro-mobile-chain{height:calc(100dvh - 355px)!important}.instrument-tabs a{font-size:10.5px!important}
 .mobile-option-head.oc-pro-mobile-head,.oc-pro-mobile-chain .mobile-option-row{grid-template-columns:.88fr 1.12fr 1fr 1.12fr .88fr!important}
}

/* v10.6.28 — functional multi-leg strategy builder */
.oc-legs-control[hidden],.oc-sheet-layer[hidden],.oc-strategy-tray[hidden],#ocLegPriceWrap[hidden]{display:none!important}
.oc-legs-control{display:grid;align-content:end;gap:2px;min-width:0;color:#686f79;font-size:9px;font-weight:700}
.oc-legs-control>span{line-height:1.05}.oc-legs-control>strong{font-size:14px;line-height:27px;color:#272c33;font-weight:850}
.oc-sheet-layer{position:fixed;inset:0;z-index:120;display:grid;align-items:end;pointer-events:none}
.oc-sheet-layer.open{pointer-events:auto}.oc-sheet-backdrop{position:absolute;inset:0;border:0;background:rgba(20,22,28,.42);opacity:0;transition:opacity .16s ease}.oc-sheet-layer.open .oc-sheet-backdrop{opacity:1}
.oc-strategy-sheet{position:relative;width:min(100%,520px);margin:0 auto;background:#fff;border-radius:18px 18px 0 0;padding:0 16px calc(14px + env(safe-area-inset-bottom));box-shadow:0 -12px 36px rgba(17,24,39,.18);transform:translateY(105%);transition:transform .18s ease;max-height:min(82dvh,720px);overflow:auto}
.oc-sheet-layer.open .oc-strategy-sheet{transform:translateY(0)}
.oc-strategy-sheet>header{height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #ececf0;margin:0 -16px;padding:0 16px}.oc-strategy-sheet>header>div{display:grid;gap:2px;min-width:0}.oc-strategy-sheet>header strong{font-size:15px;color:#242a31}.oc-strategy-sheet>header small{font-size:10px;color:#727882;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.oc-sheet-close{width:32px;height:32px;border:0;border-radius:50%;background:#f4f4f6;color:#555d66;font-size:22px;line-height:1;cursor:pointer}
.oc-leg-side{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px 0 12px}.oc-leg-side button{height:38px;border:1px solid #d9dce1;border-radius:8px;background:#fff;color:#646b74;font-weight:850;cursor:pointer}.oc-leg-side button[data-leg-side="BUY"].active{border-color:#00a76f;background:#ebfbf5;color:#07865f}.oc-leg-side button[data-leg-side="SELL"].active{border-color:#e25555;background:#fff1f1;color:#cc3f49}
.oc-leg-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.oc-leg-fields label{display:grid;gap:5px}.oc-leg-fields label>span{font-size:9px;color:#727882}.oc-leg-fields input,.oc-leg-fields select{height:38px;border:1px solid #dfe1e5;border-radius:8px;padding:6px 9px;font-size:12px;font-weight:750;background:#fff}.oc-leg-fields input[readonly]{background:#f8f8fa;color:#626975}.oc-stepper{display:grid;grid-template-columns:34px 1fr 34px;border:1px solid #dfe1e5;border-radius:8px;overflow:hidden;height:38px}.oc-stepper button{border:0;background:#f7f7f9;color:#4b525c;font-size:18px;cursor:pointer}.oc-stepper input{height:36px!important;border:0!important;border-left:1px solid #e3e4e8!important;border-right:1px solid #e3e4e8!important;border-radius:0!important;text-align:center;padding:4px!important;outline:0!important}
.oc-leg-reference{margin-top:12px;min-height:40px;border:1px solid #ececf0;border-radius:8px;background:#fafafa;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:0 10px}.oc-leg-reference span{font-size:9px;color:#777e87}.oc-leg-reference strong{font-size:13px;color:#252b32}.oc-leg-reference span:last-child{text-align:right}
.oc-leg-actions{display:grid;grid-template-columns:auto 1fr;gap:8px;margin-top:14px}.oc-primary-action,.oc-remove-leg{height:42px;border:0;border-radius:8px;font-weight:850;cursor:pointer}.oc-primary-action{background:#7450c8;color:#fff}.oc-primary-action:disabled{opacity:.6;cursor:wait}.oc-remove-leg{min-width:92px;border:1px solid #e1e2e6;background:#fff;color:#c9404b}.oc-remove-leg[hidden]{display:none!important}.oc-leg-actions .oc-primary-action:only-child{grid-column:1/-1}
.oc-strategy-tray{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:70;width:min(560px,calc(100% - 28px));height:58px;background:#fff;border:1px solid #e1d9f4;border-radius:12px;box-shadow:0 8px 28px rgba(28,20,52,.18);display:grid;grid-template-columns:1fr auto;align-items:center;padding:7px 8px 7px 12px;gap:8px}.oc-strategy-tray>button:first-child{border:0;background:transparent;text-align:left;display:grid;gap:2px;min-width:0;padding:0;cursor:pointer}.oc-strategy-tray strong{font-size:12px;color:#2c3138}.oc-strategy-tray small{font-size:9px;color:#707680;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.oc-strategy-tray>button:last-child{height:42px;min-width:94px;border:0;border-radius:8px;background:#7450c8;color:#fff;font-weight:850;cursor:pointer}
.oc-review-sheet{padding-bottom:calc(16px + env(safe-area-inset-bottom))}.oc-review-legs{display:grid;gap:0;margin:4px -4px 0}.oc-review-leg{display:grid;grid-template-columns:1fr 34px;align-items:center;border-bottom:1px solid #ececf0}.oc-review-main{min-height:62px;border:0;background:#fff;display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:9px;text-align:left;padding:8px 4px;cursor:pointer}.oc-review-main>span:nth-child(2){display:grid;gap:3px;min-width:0}.oc-review-main strong{font-size:12px}.oc-review-main small{font-size:9px;color:#767d86}.oc-review-main>b{font-size:11px;color:#3b4149}.oc-review-side{width:40px;height:24px;border-radius:5px;display:grid;place-items:center;font-size:9px;font-weight:900}.oc-review-side.buy{background:#e9faf4;color:#07865f}.oc-review-side.sell{background:#fff0f0;color:#cc4049}.oc-review-remove{width:30px;height:30px;border:0;border-radius:50%;background:#f6f6f8;color:#737a83;font-size:18px;cursor:pointer}.oc-review-footer{display:grid;grid-template-columns:1fr minmax(150px,.9fr);gap:12px;align-items:center;padding-top:14px}.oc-review-footer>div{display:grid;gap:2px}.oc-review-footer span{font-size:9px;color:#747b84}.oc-review-footer strong{font-size:15px}.oc-strategy-message{margin:10px 0 0;padding:9px 10px;border-radius:7px;background:#ebfbf5;color:#087f5b;font-size:10px}.oc-strategy-message.error{background:#fff0f0;color:#bd3e48}
.oc-strategy-toast{position:fixed;left:50%;bottom:92px;z-index:180;transform:translate(-50%,12px);max-width:calc(100% - 32px);background:#252831;color:#fff;padding:9px 12px;border-radius:8px;font-size:10px;opacity:0;pointer-events:none;transition:.18s ease;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.oc-strategy-toast.show{opacity:1;transform:translate(-50%,0)}
html.oc-sheet-open,html.oc-sheet-open body{overflow:hidden}

@media(max-width:700px){
 .chain-filter-row.oc-compact-controls.strategy-active{grid-template-columns:minmax(76px,.9fr) minmax(84px,1fr) 58px 32px!important}
 .oc-legs-control{height:41px!important;align-content:end!important;padding-bottom:1px!important}.oc-legs-control>strong{font-size:12px!important;line-height:27px!important}
 .oc-pro-mobile-chain.strategy-select .oc-cell:after{content:none!important}.oc-pro-mobile-chain.strategy-select .call-ltp:after,.oc-pro-mobile-chain.strategy-select .put-ltp:after{content:"+"!important;position:absolute;right:3px;top:2px;width:11px;height:11px;border-radius:50%;background:#7753ca;color:#fff;font-size:8px;line-height:11px;text-align:center;font-style:normal;box-shadow:0 0 0 1px rgba(255,255,255,.9)}
 .oc-pro-mobile-chain .oc-cell.is-selected{box-shadow:inset 0 0 0 1.5px #7753ca!important;background:#f4f0fd!important}.oc-pro-mobile-chain.strategy-select .oc-cell.is-selected:after{content:"✓"!important;background:#7753ca!important}
 .oc-strategy-tray{bottom:72px;width:calc(100% - 16px);height:54px;border-radius:9px;padding:6px 6px 6px 10px}.oc-strategy-tray>button:last-child{height:40px;min-width:88px;font-size:11px}.oc-strategy-tray strong{font-size:11px}.oc-strategy-tray small{font-size:8px}
 .oc-strategy-sheet{width:100%;border-radius:14px 14px 0 0;padding-left:14px;padding-right:14px}.oc-strategy-sheet>header{margin:0 -14px;padding:0 14px;height:54px}.oc-leg-side{padding-top:12px}.oc-leg-fields{gap:8px}.oc-leg-fields input,.oc-leg-fields select{font-size:11px}.oc-review-main{grid-template-columns:42px 1fr auto;min-height:58px}.oc-strategy-toast{bottom:136px}
}
@media(max-width:380px){.chain-filter-row.oc-compact-controls.strategy-active{grid-template-columns:minmax(70px,.9fr) minmax(76px,1fr) 54px 30px!important}.oc-leg-fields{grid-template-columns:1fr 1fr}.oc-review-main>b{font-size:10px}}

/*
 * GHANSHYAM_SLIM_MOBILE_OPTION_CHAIN_V10869
 *
 * Mobile only:
 * reduce vertical height of Option Chain contracts.
 *
 * Does not alter:
 * - desktop chain
 * - strategy BUY/SELL highlight
 * - running-position highlight
 * - realtime data
 * - order behavior
 */
@media (max-width: 700px){

  .oc-pro-mobile-chain .mobile-option-row{
    min-height:46px!important;
  }

  .oc-pro-mobile-chain .oc-cell,
  .oc-pro-mobile-chain .oc-strike{
    padding-top:3px!important;
    padding-bottom:3px!important;
    line-height:1.08!important;
  }

  .oc-pro-mobile-chain .oc-cell b,
  .oc-pro-mobile-chain .oc-strike strong{
    line-height:1.08!important;
  }

  .oc-pro-mobile-chain .oc-cell small,
  .oc-pro-mobile-chain .oc-strike small{
    line-height:1.05!important;
  }

  /*
   * Keep ATM strike compact as well.
   */
  .oc-pro-mobile-chain
  .mobile-option-row.atm
  .oc-strike strong{
    padding-top:2px!important;
    padding-bottom:2px!important;
  }
}


/*
 * GHANSHYAM_STRATEGY_REVIEW_LOT_MULTIPLIER_CSS_V10870
 */

.gt-review-lot-all-v10870{
  display:grid;
  gap:8px;
  padding:10px 6px 12px;
  border-bottom:1px solid #ececf0;
  background:#fafafa;
}

.gt-review-lot-all-v10870>div:first-child{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.gt-review-lot-all-v10870 span{
  font-size:10px;
  color:#747b84;
}

.gt-review-lot-all-v10870 strong{
  font-size:12px;
  color:#30363d;
}

.gt-review-lot-presets-v10870{
  display:flex;
  gap:6px;
  overflow-x:auto;
  scrollbar-width:none;
}

.gt-review-lot-presets-v10870::-webkit-scrollbar{
  display:none;
}

.gt-review-lot-presets-v10870 button{
  flex:0 0 auto;
  min-width:42px;
  height:30px;
  padding:0 9px;
  border:1px solid #dedfe4;
  border-radius:7px;
  background:#fff;
  color:#535b65;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
}

.gt-review-lot-presets-v10870 button.active{
  border-color:#7450c8;
  background:#f1ecfb;
  color:#6842bd;
}


.gt-review-leg-v10870{
  grid-template-columns:1fr 34px!important;
}

.gt-review-leg-lots-v10870{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:8px;
  padding:5px 5px 8px 49px;
}

.gt-review-leg-lots-v10870>span{
  font-size:9px;
  color:#7b828b;
}

.gt-review-leg-lots-v10870>b{
  text-align:right;
  font-size:10px;
  color:#3b424a;
}


.gt-review-lot-stepper-v10870{
  display:grid;
  grid-template-columns:28px 40px 28px;
  align-items:center;
  height:30px;
  overflow:hidden;
  border:1px solid #dfe1e5;
  border-radius:7px;
  background:#fff;
}

.gt-review-lot-stepper-v10870 button{
  height:28px;
  border:0;
  background:#f6f6f8;
  color:#444b54;
  font-size:17px;
  line-height:1;
  cursor:pointer;
}

.gt-review-lot-stepper-v10870 strong{
  display:grid;
  place-items:center;
  height:28px;
  border-left:1px solid #e4e5e8;
  border-right:1px solid #e4e5e8;
  color:#302a3e;
  font-size:11px;
  font-weight:900;
}


@media(max-width:700px){

  .gt-review-lot-all-v10870{
    padding-top:8px;
    padding-bottom:9px;
  }

  .gt-review-leg-lots-v10870{
    padding-left:48px;
    padding-top:3px;
    padding-bottom:7px;
  }

  .gt-review-lot-stepper-v10870{
    grid-template-columns:26px 36px 26px;
    height:28px;
  }

  .gt-review-lot-stepper-v10870 button,
  .gt-review-lot-stepper-v10870 strong{
    height:26px;
  }
}


/*
 * GHANSHYAM_STRATEGY_MANUAL_LOTS_FUNDS_CSS_V10871
 *
 * V10.8.70 multiplier styles remain inert;
 * V10.8.71 uses separate broker-style classes.
 */

.gt-review-bulk-v10871{
  display:grid;
  gap:9px;
  padding:10px 7px 11px;
  border-bottom:1px solid #e9eaed;
  background:#fafafa;
}

.gt-review-bulk-head-v10871{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.gt-review-bulk-head-v10871>div{
  display:grid;
  gap:2px;
}

.gt-review-bulk-head-v10871 strong{
  font-size:12px;
  color:#262c33;
}

.gt-review-bulk-head-v10871 small{
  font-size:9px;
  color:#747b84;
}

.gt-review-select-all-v10871{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:9px;
  font-weight:750;
  color:#626973;
  cursor:pointer;
}

.gt-review-select-all-v10871 input{
  width:15px;
  height:15px;
  margin:0;
  accent-color:#7450c8;
}

.gt-review-bulk-action-v10871{
  display:grid;
  grid-template-columns:minmax(90px,1fr) auto auto;
  gap:7px;
}

.gt-review-bulk-action-v10871 input{
  width:100%;
  height:36px;
  min-width:0;
  padding:0 10px;
  border:1px solid #dfe1e5;
  border-radius:8px;
  background:#fff;
  color:#252b32;
  font-size:12px;
  font-weight:800;
  outline:0;
}

.gt-review-bulk-action-v10871 input:focus{
  border-color:#7450c8;
  box-shadow:0 0 0 2px rgba(116,80,200,.10);
}

.gt-review-bulk-action-v10871 button{
  height:36px;
  padding:0 11px;
  border:1px solid #dedfe4;
  border-radius:8px;
  background:#fff;
  color:#4a515a;
  font-size:10px;
  font-weight:850;
  cursor:pointer;
}

.gt-review-bulk-action-v10871
button[data-review-apply-selected-v10871]{
  border-color:#7450c8;
  background:#f4f0fc;
  color:#6841bd;
}


.gt-strategy-funds-v10871{
  display:grid;
  gap:9px;
  margin:9px 5px 7px;
  padding:10px;
  border:1px solid #e2e4e7;
  border-radius:10px;
  background:#fff;
}

.gt-strategy-funds-head-v10871{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.gt-strategy-funds-head-v10871>div{
  display:grid;
  gap:1px;
}

.gt-strategy-funds-head-v10871 strong{
  font-size:12px;
  color:#292f36;
}

.gt-strategy-funds-head-v10871 small{
  font-size:9px;
  color:#777e87;
}

.gt-strategy-funds-head-v10871>span{
  padding:3px 6px;
  border-radius:5px;
  background:#eaf8f2;
  color:#07865f;
  font-size:8px;
  font-weight:900;
  letter-spacing:.05em;
}

.gt-strategy-funds-grid-v10871{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:6px;
}

.gt-strategy-funds-grid-v10871>div{
  min-width:0;
  padding:8px 7px;
  border-radius:8px;
  background:#f7f8f9;
  display:grid;
  gap:3px;
}

.gt-strategy-funds-grid-v10871 span{
  font-size:8px;
  color:#777e87;
  white-space:nowrap;
}

.gt-strategy-funds-grid-v10871 strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:11px;
  color:#30363d;
}

#gtStrategyShortCardV10871.has-shortfall{
  background:#fff0f0;
}

#gtStrategyShortCardV10871.has-shortfall strong{
  color:#c43d48;
}

.gt-strategy-funds-status-v10871{
  min-height:15px;
  font-size:9px;
  color:#727983;
}

.gt-strategy-funds-status-v10871.ok{
  color:#07865f;
}

.gt-strategy-funds-status-v10871.error{
  color:#c43d48;
  font-weight:750;
}

.gt-strategy-funds-status-v10871.release{
  color:#16744e;
  font-weight:750;
}


.gt-review-leg-list-v10871{
  display:grid;
}

.gt-review-leg-v10871{
  grid-template-columns:28px minmax(0,1fr) 34px!important;
  align-items:center;
}

.gt-review-select-v10871{
  grid-column:1;
  grid-row:1;
  width:28px;
  height:100%;
  display:grid;
  place-items:center;
  cursor:pointer;
}

.gt-review-select-v10871 input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.gt-review-select-v10871 i{
  width:16px;
  height:16px;
  display:block;
  border:1.5px solid #c8cbd0;
  border-radius:4px;
  background:#fff;
  position:relative;
}

.gt-review-select-v10871 input:checked+i{
  border-color:#7450c8;
  background:#7450c8;
}

.gt-review-select-v10871 input:checked+i:after{
  content:'';
  position:absolute;
  left:4px;
  top:1px;
  width:4px;
  height:8px;
  border:solid #fff;
  border-width:0 2px 2px 0;
  transform:rotate(45deg);
}

.gt-review-leg-v10871 .oc-review-main{
  grid-column:2;
  grid-row:1;
  min-width:0;
}

.gt-review-leg-v10871 .oc-review-remove{
  grid-column:3;
  grid-row:1;
}


.gt-review-manual-lots-v10871{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:minmax(110px,1.2fr) 1fr 1fr;
  align-items:end;
  gap:8px;
  padding:5px 5px 9px 28px;
}

.gt-review-manual-lots-v10871 label,
.gt-review-manual-lots-v10871>div{
  display:grid;
  gap:3px;
}

.gt-review-manual-lots-v10871 span{
  font-size:8px;
  color:#777e87;
}

.gt-review-manual-lots-v10871 input{
  width:100%;
  height:34px;
  min-width:0;
  padding:0 9px;
  border:1px solid #d8dbe0;
  border-radius:7px;
  background:#fff;
  color:#232930;
  font-size:12px;
  font-weight:850;
  outline:0;
}

.gt-review-manual-lots-v10871 input:focus{
  border-color:#7450c8;
  box-shadow:0 0 0 2px rgba(116,80,200,.10);
}

.gt-review-manual-lots-v10871>div{
  height:34px;
  padding:4px 8px;
  border-radius:7px;
  background:#f7f8f9;
  align-content:center;
}

.gt-review-manual-lots-v10871 strong{
  font-size:10px;
  color:#30363d;
}


@media(max-width:700px){

  .gt-review-bulk-v10871{
    padding-top:8px;
    padding-bottom:9px;
  }

  .gt-review-bulk-action-v10871{
    grid-template-columns:minmax(78px,1fr) auto auto;
    gap:5px;
  }

  .gt-review-bulk-action-v10871 input,
  .gt-review-bulk-action-v10871 button{
    height:34px;
  }

  .gt-review-bulk-action-v10871 button{
    padding-left:8px;
    padding-right:8px;
    font-size:9px;
  }

  .gt-strategy-funds-v10871{
    margin-left:3px;
    margin-right:3px;
    padding:8px;
  }

  .gt-strategy-funds-grid-v10871{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .gt-review-leg-v10871 .oc-review-main{
    min-height:54px;
  }

  .gt-review-manual-lots-v10871{
    padding-left:28px;
    gap:5px;
  }

  .gt-review-manual-lots-v10871 input,
  .gt-review-manual-lots-v10871>div{
    height:32px;
  }
}



/*
 * GHANSHYAM_STRATEGY_REVIEW_CLEAN_CSS_V10873
 *
 * Compact broker-style Review Strategy.
 */


/* Popup compact everywhere */
.oc-review-sheet{
  width:min(480px,calc(100vw - 18px))!important;
  max-height:min(82dvh,680px)!important;
  overflow:auto!important;
  padding-bottom:
    calc(9px + env(safe-area-inset-bottom))!important;
}


/* Header */
.oc-review-sheet>header{
  height:47px!important;
  min-height:47px!important;
}

.oc-review-sheet>header>div{
  display:flex!important;
  align-items:center!important;
}

.oc-review-sheet>header strong{
  font-size:14px!important;
}


/* Common Lots */
.gt-review-common-v10873{
  display:flex;
  align-items:center;
  padding:6px 2px;
  border-bottom:1px solid #ececf0;
}

.gt-review-common-v10873 label{
  display:grid;
  grid-template-columns:auto 100px;
  align-items:center;
  gap:9px;
}

.gt-review-common-v10873 span{
  font-size:10px;
  font-weight:850;
  color:#343a42;
}

.gt-review-common-v10873 input{
  width:100px;
  height:31px;
  min-width:0;
  padding:0 8px;
  border:1px solid #d8dbe0;
  border-radius:7px;
  background:#fff;
  color:#242a31;
  font-size:11px;
  font-weight:850;
  outline:0;
}

.gt-review-common-v10873 input:focus{
  border-color:#7450c8;
  box-shadow:
    0 0 0 2px rgba(116,80,200,.10);
}


/* Legs */
.gt-review-leg-list-v10873{
  display:grid;
  gap:0;
}

.gt-review-leg-v10873{
  grid-template-columns:
    23px
    minmax(0,1fr)
    29px!important;

  align-items:center;
  padding:2px 0 4px;
  border-bottom:1px solid #ececf0;
}


/* Per-leg checkbox */
.gt-review-select-v10873{
  grid-column:1;
  grid-row:1;
  width:23px;
  height:100%;
  display:grid;
  place-items:center;
  cursor:pointer;
}

.gt-review-select-v10873 input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.gt-review-select-v10873 i{
  position:relative;
  display:block;
  width:15px;
  height:15px;
  border:1.5px solid #c8cbd0;
  border-radius:4px;
  background:#fff;
}

.gt-review-select-v10873 input:checked+i{
  border-color:#7450c8;
  background:#7450c8;
}

.gt-review-select-v10873 input:checked+i:after{
  content:'';
  position:absolute;
  left:4px;
  top:1px;
  width:4px;
  height:8px;
  border:solid #fff;
  border-width:0 2px 2px 0;
  transform:rotate(45deg);
}


/* Contract summary */
.gt-review-leg-v10873 .oc-review-main{
  grid-column:2;
  grid-row:1;
  min-width:0;
  min-height:39px!important;
  padding:3px!important;

  grid-template-columns:
    35px
    minmax(0,1fr)
    auto!important;

  gap:6px!important;
}

.gt-review-leg-v10873 .oc-review-side{
  width:33px!important;
  height:21px!important;
  font-size:8px!important;
}

.gt-review-leg-v10873 .oc-review-main strong{
  font-size:10px!important;
}

.gt-review-leg-v10873 .oc-review-main small{
  font-size:8px!important;
}

.gt-review-leg-v10873 .oc-review-main>b{
  font-size:10px!important;
  white-space:nowrap;
}

.gt-review-leg-v10873 .oc-review-remove{
  grid-column:3;
  grid-row:1;
  width:26px!important;
  height:26px!important;
  font-size:16px!important;
}


/* Individual Lots / Lot size / Qty */
.gt-review-lots-row-v10873{
  grid-column:1/-1;

  display:grid;

  grid-template-columns:
    80px
    minmax(54px,1fr)
    minmax(54px,1fr);

  align-items:end;

  gap:5px;

  padding:
    2px
    3px
    3px
    23px;
}

.gt-review-lots-row-v10873 label,
.gt-review-lots-row-v10873>div{
  display:grid;
  gap:1px;
}

.gt-review-lots-row-v10873 span{
  font-size:7.5px;
  color:#777e87;
}

.gt-review-lots-row-v10873 input{
  width:100%;
  min-width:0;
  height:29px;
  padding:0 7px;
  border:1px solid #d8dbe0;
  border-radius:7px;
  background:#fff;
  color:#242a31;
  font-size:10px;
  font-weight:850;
  outline:0;
}

.gt-review-lots-row-v10873 input:focus{
  border-color:#7450c8;
  box-shadow:
    0 0 0 2px rgba(116,80,200,.10);
}

.gt-review-lots-row-v10873>div{
  height:29px;
  padding:3px 6px;
  border-radius:7px;
  background:#f6f7f8;
  align-content:center;
}

.gt-review-lots-row-v10873 strong{
  font-size:9px;
  color:#30363d;
}


/* Funds */
.gt-strategy-funds-v10873{
  margin-top:6px;
  padding:0;
}

.gt-strategy-funds-grid-v10873{
  display:grid;

  grid-template-columns:
    repeat(3,minmax(0,1fr));

  gap:4px;
}

.gt-strategy-funds-grid-v10873.has-shortfall{
  grid-template-columns:
    repeat(4,minmax(0,1fr));
}

.gt-strategy-funds-grid-v10873>div{
  min-width:0;
  height:43px;
  padding:5px 6px;
  border:1px solid #e3e5e8;
  border-radius:7px;
  background:#f7f8f9;

  display:grid;
  align-content:center;
  gap:1px;
}

.gt-strategy-funds-grid-v10873 span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:7.5px;
  color:#767d85;
}

.gt-strategy-funds-grid-v10873 strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:9px;
  font-weight:850;
  color:#30363d;
  font-variant-numeric:tabular-nums;
}

.gt-strategy-short-v10873{
  background:#fff0f0!important;
  border-color:#efc9cd!important;
}

.gt-strategy-short-v10873 strong{
  color:#c33d48!important;
}

#gtStrategyShortCardV10871[hidden]{
  display:none!important;
}

.gt-strategy-funds-status-v10871[hidden]{
  display:none!important;
}

.gt-strategy-funds-status-v10871.error{
  margin-top:4px!important;
  padding:4px 2px!important;
  font-size:8px!important;
  color:#c33d48!important;
}


/* Compact sticky footer */
.oc-review-sheet .oc-review-footer{
  position:sticky;
  bottom:0;
  z-index:5;

  grid-template-columns:
    60px
    minmax(150px,1fr)!important;

  gap:7px!important;

  padding-top:7px!important;

  background:#fff;
}

.oc-review-sheet .oc-review-footer span{
  font-size:8px!important;
}

.oc-review-sheet .oc-review-footer strong{
  font-size:12px!important;
}

.oc-review-sheet #ocPlaceStrategy{
  height:38px!important;
}


/* Mobile */
@media(max-width:700px){

  .oc-review-sheet{
    width:calc(100vw - 12px)!important;
    max-height:80dvh!important;
  }

  .oc-review-sheet>header{
    height:44px!important;
    min-height:44px!important;
  }

  .gt-review-common-v10873{
    padding-top:5px;
    padding-bottom:5px;
  }

  .gt-review-common-v10873 label{
    grid-template-columns:auto 90px;
  }

  .gt-review-common-v10873 input{
    width:90px;
    height:30px;
  }

  .gt-review-leg-v10873 .oc-review-main{
    min-height:37px!important;
  }

  .gt-review-lots-row-v10873{
    grid-template-columns:
      72px
      minmax(48px,1fr)
      minmax(48px,1fr);
  }

  .gt-review-lots-row-v10873 input,
  .gt-review-lots-row-v10873>div{
    height:28px;
  }

  .gt-strategy-funds-grid-v10873{
    gap:3px;
  }

  .gt-strategy-funds-grid-v10873>div{
    height:40px;
    padding:4px;
  }

  .gt-strategy-funds-grid-v10873 strong{
    font-size:8.5px;
  }

  .oc-review-sheet #ocPlaceStrategy{
    height:37px!important;
  }
}


/*
 * GHANSHYAM_STRATEGY_LOT_STEPPER_CSS_V10874
 *
 * Broker-style:
 *
 *   −    LOTS    +
 *
 * Lots are centered.
 */

.gt-review-stepper-v10874{
  display:grid;
  grid-template-columns:30px minmax(0,1fr) 30px;
  align-items:center;
  width:100%;
  height:31px;
  border:1px solid #d8dbe0;
  border-radius:7px;
  overflow:hidden;
  background:#fff;
}

.gt-review-stepper-v10874 button{
  width:30px;
  height:100%;
  padding:0;
  border:0;
  background:#f6f7f8;
  color:#464d56;
  font-size:16px;
  font-weight:850;
  line-height:1;
  cursor:pointer;
}

.gt-review-stepper-v10874 button:active{
  background:#eceef1;
}

.gt-review-stepper-v10874 input{
  width:100%!important;
  min-width:0!important;
  height:100%!important;
  padding:0 3px!important;
  border:0!important;
  border-left:1px solid #e3e5e8!important;
  border-right:1px solid #e3e5e8!important;
  border-radius:0!important;
  outline:0!important;

  text-align:center!important;

  font-weight:850!important;
  font-variant-numeric:tabular-nums;
  box-shadow:none!important;
}


/*
 * Remove browser's native number arrows.
 * We now have our own broker-style controls.
 */

.gt-review-stepper-v10874
input[type=number]::-webkit-inner-spin-button,
.gt-review-stepper-v10874
input[type=number]::-webkit-outer-spin-button{
  -webkit-appearance:none;
  margin:0;
}

.gt-review-stepper-v10874
input[type=number]{
  appearance:textfield;
  -moz-appearance:textfield;
}


/*
 * COMMON TOP LOTS
 */

.gt-review-common-v10873 label{
  grid-template-columns:auto 150px!important;
}

.gt-review-common-stepper-v10874{
  width:150px;
}

.gt-review-common-v10873
#gtReviewCommonLotsV10873{
  width:100%!important;
}


/*
 * INDIVIDUAL LEG LOTS
 */

.gt-review-lots-row-v10873{
  grid-template-columns:
    120px
    minmax(54px,1fr)
    minmax(54px,1fr)!important;
}

.gt-review-lots-row-v10873
label{
  min-width:0;
}

.gt-review-leg-stepper-v10874{
  height:29px;
}


/*
 * Make direct manual typing centered too,
 * even before/after browser interaction.
 */

#gtReviewCommonLotsV10873,
[data-review-lots-v10871]{
  text-align:center!important;
}


/*
 * Disabled common box.
 */

.gt-review-stepper-v10874:has(input:disabled){
  background:#f5f6f7;
}

.gt-review-stepper-v10874:has(input:disabled) button{
  opacity:.45;
  cursor:default;
}


/*
 * MOBILE COMPACT
 */

@media(max-width:700px){

  .gt-review-stepper-v10874{
    grid-template-columns:28px minmax(0,1fr) 28px;
  }

  .gt-review-stepper-v10874 button{
    width:28px;
    font-size:15px;
  }

  .gt-review-common-v10873 label{
    grid-template-columns:auto 142px!important;
  }

  .gt-review-common-stepper-v10874{
    width:142px;
    height:30px;
  }

  .gt-review-lots-row-v10873{
    grid-template-columns:
      112px
      minmax(48px,1fr)
      minmax(48px,1fr)!important;
  }

  .gt-review-leg-stepper-v10874{
    height:28px;
  }
}

