@font-face{font-family:"NDRad";src:local("Roboto"),local("Noto Sans"),local("Noto Sans Math"),local("DejaVu Sans"),local("Arial"),local("Liberation Sans");unicode-range:U+221A;font-display:swap}
/* NEET DREAMERS v231 - colour / visibility fixes (Layout 1 and Layout 2). Only colours; no layout change. */
@layer ndvis{
/* Layout 1 course page: the area under the course card is white (it was an empty dark patch) */
html:not(.nd-l2) #fsheet#fsheet#fsheet .fs-sheet.nd-cs .fs-body{background:#fff!important}
html:not(.nd-l2) #fsheet#fsheet#fsheet .fs-sheet.nd-cs .ndcs-tabs{background:linear-gradient(100deg,#0B1D3A,#16305F)!important}
/* Layout 2: pink text on pale pink was too faint */
html.nd-l2 #fsheet#fsheet .st-badge,html.nd-l2 #fsheet#fsheet .st-tag,html.nd-l2 #fsheet#fsheet .st-price b{color:#A81E57!important;-webkit-text-fill-color:#A81E57!important}
html.nd-l2 #fsheet#fsheet .st-price s{color:#566684!important;-webkit-text-fill-color:#566684!important}
html.nd-l2 body .ap-main .ap-hrow>button{color:#A81E57!important;-webkit-text-fill-color:#A81E57!important}
html.nd-l2 .gen-card .grc-tag{background:#B3205A!important;background-image:none!important;color:#fff!important}
html.nd-l2 #fsheet#fsheet .fs-count b,html.nd-l2 #fsheet#fsheet .fs-count i{color:#A81E57!important;-webkit-text-fill-color:#A81E57!important}
html:not(.nd-l2) .rp2-card .lg-next:disabled,html:not(.nd-l2) .rp2-card .lg-next[disabled]{color:#0B3B3A!important;-webkit-text-fill-color:#0B3B3A!important;background:#9FD3CB!important}
}
/* NEET DREAMERS v233 - Layout 1: white header + footer on sheets, centred titles (L1 + L2), Content tab text visible, white store picture. Colours / alignment only. */
@layer ndx{
html:not(.nd-l2):root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead{background:#fff!important;background-image:none!important;color:#0B1D3A!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-ttl b{color:#0B1D3A!important;-webkit-text-fill-color:#0B1D3A!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-ttl small{color:#5B6B85!important;-webkit-text-fill-color:#5B6B85!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-back{background:#EAF6F3!important;background-image:none!important;color:#0B1D3A!important;-webkit-text-fill-color:#0B1D3A!important;border:1.5px solid #12C79C!important;box-shadow:none!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-back *{color:#0B1D3A!important;-webkit-text-fill-color:#0B1D3A!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-foot{background:#fff!important;background-image:none!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-foot a:not(.fs-cta):not(.ndcs-trial),html:not(.nd-l2):root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-foot .ndcs-trialnote{color:#0B7F68!important;-webkit-text-fill-color:#0B7F68!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet:not(.ar-sheet) .fs-chhead .fs-tab{box-shadow:0 0 0 1.5px #D9E5EE!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet:not(.ar-sheet) .fs-chhead .fs-tab.on{box-shadow:0 0 0 2px #12C79C!important}
/* course page: tabs bar white, Content list readable */
html:not(.nd-l2):root:root:root:root:root:root:root:root #fsheet#fsheet#fsheet .fs-sheet.nd-cs .ndcs-tabs{background:#fff!important;border-bottom:1px solid #D9E5EE!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root #fsheet#fsheet .fs-sheet.nd-cs .ndcs-tabs button{color:#51627F!important;-webkit-text-fill-color:#51627F!important;opacity:1!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root #fsheet#fsheet .fs-sheet.nd-cs .ndcs-tabs button.on{color:#0B8F74!important;-webkit-text-fill-color:#0B8F74!important;border-bottom-color:#12C79C!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root #fsheet#fsheet .fs-sheet.nd-cs :is(.ndcs-row,.ndcs-t,.ndcs-hint){color:#0B1D3A!important;-webkit-text-fill-color:#0B1D3A!important;opacity:1!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root #fsheet#fsheet .fs-sheet.nd-cs .ndcs-t small{color:#5B6B85!important;-webkit-text-fill-color:#5B6B85!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root #fsheet#fsheet .fs-sheet.nd-cs :is(.ndcs-b,.ndcs-n){color:#0B8F74!important;-webkit-text-fill-color:#0B8F74!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root #fsheet#fsheet .fs-sheet.nd-cs .ndcs-row.lk{opacity:.8!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root #fsheet#fsheet .fs-sheet.nd-cs .ndcs-row.lk .ndcs-b{color:#5B6B85!important;-webkit-text-fill-color:#5B6B85!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root #fsheet#fsheet .fs-sheet.nd-cs .ndcs-n{background:rgba(18,199,156,.14)!important}
/* store picture: pure white, no spot */
html:not(.nd-l2):root:root:root:root:root:root:root:root #fsheet#fsheet .fs-sheet.st .st-hero .st-hero-img.st-i1{background:#fff!important;background-image:none!important}
/* titles in the middle on every sheet (header = Back | title | count) */
html:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead{display:grid!important;grid-template-columns:minmax(92px,1fr) minmax(0,max-content) minmax(92px,1fr)!important;align-items:center!important;column-gap:8px!important;row-gap:8px!important}
html:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-back{grid-column:1!important;justify-self:start!important;margin:0!important}
html:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-ttl{grid-column:2!important;justify-self:center!important;text-align:center!important;min-width:0!important;max-width:100%!important;flex:none!important;justify-content:center!important}
html:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-ttl>div{text-align:center!important;min-width:0!important}
html:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-ttl b,html:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-ttl small{text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important}
html:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-ttl small{display:block!important;position:static!important;width:auto!important;height:auto!important;margin:2px 0 0!important;clip:auto!important;clip-path:none!important;overflow:visible!important}
html:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-count{grid-column:3!important;justify-self:end!important;margin:0!important}
html:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-tabs{grid-column:1/-1!important}
/* coupon box on the white footer + padding of the Content list */
html:not(.nd-l2):root:root:root:root:root:root:root:root #fsheet#fsheet .fs-foot .ndcp .ndcp-t{color:#0B7F68!important;-webkit-text-fill-color:#0B7F68!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root #fsheet#fsheet .fs-foot .ndcp .ndcp-i{background:#fff!important;color:#0B1D3A!important;-webkit-text-fill-color:#0B1D3A!important;border-color:#9FB4C8!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root #fsheet#fsheet .fs-foot .ndcp .ndcp-m.ok{color:#0B7F62!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root #fsheet#fsheet .fs-foot .ndcp .ndcp-m.er{color:#B42318!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root #fsheet#fsheet .fs-sheet.nd-cs .ndcs-pane{padding:0 12px!important}
/* v234: one consistent solution style (Scroll + CBT review) - Caladea Bold 17px white on dark, same size everywhere, proper maths font, no shrinking */
html:root:root:root:root:root:root:root:root #ndsc#ndsc .sc-sol .sc-st{font-family:NDCal,Caladea,NDMath,Georgia,serif!important;font-weight:700!important;font-size:17px!important;line-height:1.5!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html:root:root:root:root:root:root:root:root #ndsc#ndsc .sc-sol .sc-st :is(.nd-sl,.ndv-t,.ndv-c,.ndv-nb,.nw,.sx,.sx-r,.sx-s,.sx-s li,.sx-a,.sx-cn,.sx-h,.sx-bd,.sx-fbx,.sx-fl,.nd-fm,.ndv-g,.ndv-r,sup,sub){font-family:NDRad,NDCal,Caladea,NDMath,Georgia,serif!important;font-weight:700!important;font-size:17px!important;line-height:1.5!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html:root:root:root:root:root:root:root:root #ndsc#ndsc .sc-sol .sc-st :is(sup,sub){font-size:.68em!important;line-height:0!important}
html:root:root:root:root:root:root:root:root #ndsc#ndsc .sc-sol .sc-st :is(.ndv-l,.sx-sh){font-family:NDCal,Caladea,NDMath,Georgia,serif!important;font-weight:700!important;font-size:15px!important;color:#7FE8CF!important;-webkit-text-fill-color:#7FE8CF!important}
html:root:root:root:root:root:root:root:root #ndsc#ndsc .sc-sol .sc-st .sx-r b{font-size:13px!important;letter-spacing:.04em}
html:root:root:root:root:root:root:root:root #ndsc#ndsc .sc-sol .sc-st .sx-h b{font-size:14px!important}
html:root:root:root:root:root:root:root:root #ndsc#ndsc .sc-sol .sc-st math,html:root:root:root:root:root:root:root:root #ndsc#ndsc .sc-sol .sc-st math *{font-family:NDMath,"Latin Modern Math","STIX Two Math",NDCal,Caladea,serif!important;font-weight:700!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html:root:root:root:root:root:root:root:root #ndsc#ndsc .sc-sol .sc-st math{font-size:1.22em!important}
html:root:root:root:root:root:root:root:root #ndsc#ndsc .sc-sol .sc-st .sx-fl math{font-size:1.42em!important}
html:root:root:root:root:root:root:root:root #ndsc#ndsc .sc-sol .sc-st .nd-sl{margin:0 0 9px!important;padding:0!important;line-height:1.45!important}
html:root:root:root:root:root:root:root:root #ndsc#ndsc .sc-sol .sc-st .sx-s li{margin:0 0 6px!important;line-height:1.45!important}
html:root:root:root:root:root:root:root:root #ndsc#ndsc .sc-sol .sc-st .nd-sl.ndv-r{margin:0 0 8px!important}
html:root:root:root:root:root:root:root:root #ndsc#ndsc .sc-sol .sc-st .nd-sq{padding:.17em .07em 0 .9em!important;margin-left:.04em!important;white-space:nowrap!important}
html:root:root:root:root:root:root:root:root #ndsc#ndsc .sc-sol .sc-st math .nd-sq{padding-top:.2em!important}
html:root:root:root:root:root:root:root:root #cbt-root#cbt-root .rv-e .nds-x{font-family:NDCal,Caladea,NDMath,Georgia,serif!important;font-weight:700!important;font-size:17px!important;line-height:1.5!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html:root:root:root:root:root:root:root:root #cbt-root#cbt-root .rv-e .nds-x :is(.nd-sl,.ndv-t,.ndv-c,.ndv-nb,.nw,.sx,.sx-r,.sx-s,.sx-s li,.sx-a,.sx-cn,.sx-h,.sx-bd,.sx-fbx,.sx-fl,.nd-fm,.ndv-g,.ndv-r,sup,sub){font-family:NDRad,NDCal,Caladea,NDMath,Georgia,serif!important;font-weight:700!important;font-size:17px!important;line-height:1.5!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html:root:root:root:root:root:root:root:root #cbt-root#cbt-root .rv-e .nds-x :is(sup,sub){font-size:.68em!important;line-height:0!important}
html:root:root:root:root:root:root:root:root #cbt-root#cbt-root .rv-e .nds-x :is(.ndv-l,.sx-sh){font-family:NDCal,Caladea,NDMath,Georgia,serif!important;font-weight:700!important;font-size:15px!important;color:#7FE8CF!important;-webkit-text-fill-color:#7FE8CF!important}
html:root:root:root:root:root:root:root:root #cbt-root#cbt-root .rv-e .nds-x .sx-r b{font-size:13px!important;letter-spacing:.04em}
html:root:root:root:root:root:root:root:root #cbt-root#cbt-root .rv-e .nds-x .sx-h b{font-size:14px!important}
html:root:root:root:root:root:root:root:root #cbt-root#cbt-root .rv-e .nds-x math,html:root:root:root:root:root:root:root:root #cbt-root#cbt-root .rv-e .nds-x math *{font-family:NDMath,"Latin Modern Math","STIX Two Math",NDCal,Caladea,serif!important;font-weight:700!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html:root:root:root:root:root:root:root:root #cbt-root#cbt-root .rv-e .nds-x math{font-size:1.22em!important}
html:root:root:root:root:root:root:root:root #cbt-root#cbt-root .rv-e .nds-x .sx-fl math{font-size:1.42em!important}
html:root:root:root:root:root:root:root:root #cbt-root#cbt-root .rv-e .nds-x .nd-sl{margin:0 0 9px!important;padding:0!important;line-height:1.45!important}
html:root:root:root:root:root:root:root:root #cbt-root#cbt-root .rv-e .nds-x .sx-s li{margin:0 0 6px!important;line-height:1.45!important}
html:root:root:root:root:root:root:root:root #cbt-root#cbt-root .rv-e .nds-x .nd-sl.ndv-r{margin:0 0 8px!important}
html:root:root:root:root:root:root:root:root #cbt-root#cbt-root .rv-e .nds-x .nd-sq{padding:.17em .07em 0 .9em!important;margin-left:.04em!important;white-space:nowrap!important}
html:root:root:root:root:root:root:root:root #cbt-root#cbt-root .rv-e .nds-x math .nd-sq{padding-top:.2em!important}
html:root:root:root:root:root:root:root:root #ndsc#ndsc .sc-sol .sc-ca .sc-opt,html:root:root:root:root:root:root:root:root #ndsc#ndsc .sc-sol .sc-ca .sc-opt .nw{font:700 17px/1.45 NDRad,NDCal,Caladea,NDMath,Georgia,serif!important}
html:root:root:root:root:root:root:root:root #ndsc#ndsc .sc-sol .sc-ca .nd-sl>b:first-child{font-size:12px!important}
html:root:root:root:root:root:root:root:root #cbt-root#cbt-root .rv-e .nds-a .nds-at,html:root:root:root:root:root:root:root:root #cbt-root#cbt-root .rv-e .nds-a .nds-at *{font:700 16px/1.45 NDRad,NDCal,Caladea,NDMath,Georgia,serif!important}
html:root:root:root:root:root:root:root:root #cbt-root#cbt-root .rv-e .nds-a :is(.nds-ah,.nds-ak){font-size:14.5px!important}
html:root:root:root:root:root:root:root:root #cbt-root#cbt-root .rv-e .nds-a .nds-st{font-size:13.5px!important}
html:root:root:root:root:root:root:root:root #cbt-root#cbt-root .rv-e .nds-xh{font-size:13px!important}
}

/* v235: CBT review - Step rows stack (label line, then full-width equation) so nothing is cut at the right edge */
@layer ndx{
html:root:root:root:root:root:root:root:root #cbt-root#cbt-root .rv-e .nds-x .sx-hg{display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;column-gap:10px!important;row-gap:3px!important}
html:root:root:root:root:root:root:root:root #cbt-root#cbt-root .rv-e .nds-x .sx-hg>.sx-bd{flex:1 1 100%!important;grid-column:1/-1!important;min-width:0!important;max-width:100%!important}
}

/* v236: chapter screen header - long chapter titles show fully (no cut at the top), subtitle stays visible */
@layer ndx{
html:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet.ch .fs-chhead.tp2{grid-template-columns:auto minmax(0,1fr) auto!important;height:auto!important;max-height:none!important;overflow:visible!important}
html:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet.ch .fs-chhead.tp2 .fs-ttl{height:auto!important;min-height:37px!important;overflow:visible!important;padding:1px 0!important}
html:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet.ch .fs-chhead.tp2 .fs-ttl b{font-size:.92rem!important;line-height:1.18!important}
}
@layer ndx{
html:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-ttl b,html:root:root:root:root:root:root:root:root body #fsheet#fsheet .hbx .hbx-ttl b{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;-webkit-line-clamp:unset!important;overflow-wrap:anywhere!important;display:block!important}
html.nd-l2:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-ttl{overflow:visible!important}
}

/* v236: home grid icons never shrink / stop animating on touch */
html:root:root:root body #app .ap-main .fs-grid .fs-cell:active,html:root:root:root body #fsheet .fs-grid .fs-cell:active,html:root:root:root body .fs-cell:active{scale:1!important;transform:none!important;translate:none!important}
html:root:root:root body .fs-cell:active .fs-ic,html:root:root:root body .fs-cell:active .fs-ic svg,html:root:root:root body .fs-cell:focus .fs-ic{scale:1!important;animation-play-state:running!important}
html:root:root:root body .fs-cell{-webkit-tap-highlight-color:transparent;touch-action:manipulation}

/* v236: Scroll mode - wrong answer uses the theme gradient (no red) */
html:root:root:root body #ndsc#ndsc .sc-res.bad{color:transparent!important;-webkit-text-fill-color:transparent!important;background-image:linear-gradient(90deg,#0B1D3A,#0EA98A)!important;-webkit-background-clip:text!important;background-clip:text!important;display:inline-block!important;font-weight:800!important}
html:root:root:root body #ndsc#ndsc .sc-o.bad .l{background:linear-gradient(135deg,#0B1D3A,#0EA98A)!important;border-color:transparent!important;color:#fff!important}
html:root:root:root body #ndsc#ndsc .sc-o.bad{border-color:#0EA98A!important}
html.nd-l2:root:root:root body #ndsc#ndsc .sc-res.bad{background-image:linear-gradient(90deg,#4b1875,#ff416d)!important}
html.nd-l2:root:root:root body #ndsc#ndsc .sc-o.bad .l{background:linear-gradient(135deg,#4b1875,#ff416d)!important}
html.nd-l2:root:root:root body #ndsc#ndsc .sc-o.bad{border-color:#b04a9a!important}

/* v236: Layout 1 Hindi/English toggle in Layout 1 colours (navy/teal); Layout 2 untouched */
html:not(.nd-l2):root:root:root body #cbt-root#cbt-root .cbt-lang,html:not(.nd-l2):root:root:root body #ndsc#ndsc .sc-lang{border-color:#0EA98A!important}
html:not(.nd-l2):root:root:root body #cbt-root#cbt-root .cbt-lang button.on,html:not(.nd-l2):root:root:root body #ndsc#ndsc .sc-lang button.on{background:linear-gradient(135deg,#0B1D3A,#0EA98A)!important;color:#fff!important;border-color:transparent!important}
html:not(.nd-l2):root:root:root body #cbt-root#cbt-root .cbt-lang button:not(.on),html:not(.nd-l2):root:root:root body #ndsc#ndsc .sc-lang button:not(.on){background:#fff!important;color:#0B1D3A!important;border-color:transparent!important}

/* v237: result screen "Where to focus" - readable note, no clipped column labels / status */
html:root:root:root body #cbt-root#cbt-root .nd3-fx .nd3-note{color:rgba(255,255,255,.78)!important}
html:root:root:root body #cbt-root#cbt-root .nd3-fx th,html:root:root:root body #cbt-root#cbt-root .nd3-fx td{text-overflow:clip!important;white-space:normal!important;overflow:visible!important;word-break:normal!important;overflow-wrap:normal!important;line-height:1.15!important}
html:root:root:root body #cbt-root#cbt-root .nd3-fx th{font-size:10.5px!important}
html:root:root:root body #cbt-root#cbt-root .nd3-fx td:not(:first-child){font-size:11px!important}
html:root:root:root body #cbt-root#cbt-root .nd3-fx .nd3-fxc span{white-space:normal!important;font-size:10.5px!important;line-height:1.15!important;text-align:center}
html:root:root:root body #cbt-root#cbt-root .nd3-fx .nd3-fxc small{font-size:10.5px!important}
html:root:root:root body #cbt-root#cbt-root .nd3-fx .nd3-fxs{grid-template-columns:1fr!important;gap:10px!important}
html:root:root:root body #cbt-root#cbt-root .nd3-fx .nd3-fxc span{font-size:11.5px!important}
html:root:root:root body #cbt-root#cbt-root .nd3-fx th{font-size:11px!important}
html:root:root:root body #cbt-root#cbt-root .nd3-fx td:not(:first-child){font-size:12.5px!important}

/* v237: Store language + class toggles in Layout 1 colours (navy/teal) */
html:not(.nd-l2):root:root:root body .ndst-row.ndst-lang button.on,html:not(.nd-l2):root:root:root body .ndst-row.ndst-cls button.on{background-image:linear-gradient(135deg,#0B1D3A,#0EA98A)!important;color:#fff!important}

/* v238 regression: L2 Profile tab labels readable; "Not added" contrast (L1+L2) */
@layer ndvis{
html.nd-l2:root:root:root body #ndpg .ndpg-tabs>button,html.nd-l2:root:root:root body #ndpg .ndpg-tabs>button *{font-size:11px!important}
html.nd-l2:root:root:root body #ndpg .ndpg-tabs>button:not(.on){color:#4f4860!important}
html:not(.nd-l2):root:root:root body .ndpg-row b em{color:#5d6b82!important;font-style:normal}
html.nd-l2:root:root:root body .ndpg-row b em{color:#6b6478!important;font-style:normal}
}

/* v239: questions/solutions/options - no slanted text, no mid-word breaks, steady gaps (L1+L2) */
@layer ndvis{
:is(#cbt-root,#ndsc) :is(.sx,.cbt-qt,.cbt-opt,.rv-o,.tx) :is(i,em,cite,dfn,var,address){font-style:normal!important}
:is(#cbt-root,#ndsc) :is(.sx,.cbt-qt,.cbt-opt,.rv-o) :not(math,math *,.katex,.katex *){font-style:normal!important}
:is(#cbt-root,#ndsc) :is(.sx,.cbt-qt,.cbt-opt .tx,.rv-o .tx){word-break:normal!important;overflow-wrap:break-word!important;hyphens:none!important}
}

/* v247: compact sheet headers (single-line title like the old versions), Store gradient header + picture, flashcard chips, Parent Report + analysis in Profile */
@layer ndx{
html:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet:not(.ch) .fs-chhead:not(.tp2){padding-top:8px!important;padding-bottom:8px!important;row-gap:4px!important;min-height:0!important}
html:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet:not(.ch) .fs-chhead:not(.tp2) .fs-ttl b{font-size:.98rem!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:normal!important;max-width:100%!important;display:block!important}
html:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet:not(.ch) .fs-chhead:not(.tp2) .fs-ttl small{font-size:.68rem!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:normal!important;margin:1px 0 0!important}
html:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet:not(.ch) .fs-chhead:not(.tp2) .fs-back{padding-top:6px!important;padding-bottom:6px!important;min-height:0!important}
html:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet:not(.ch) .fs-chhead:not(.tp2) .fs-count{font-size:.72rem!important;padding:5px 10px!important}
/* Store: gradient header + soft gradient picture (text always visible) */
html:not(.nd-l2):root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet.st .fs-chhead{background:linear-gradient(100deg,#0B1D3A,#12407A 55%,#0E8F72)!important;background-image:linear-gradient(100deg,#0B1D3A,#12407A 55%,#0E8F72)!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet.st .fs-chhead .fs-ttl b{color:#fff!important;-webkit-text-fill-color:#fff!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet.st .fs-chhead .fs-ttl small{color:#CFE9F5!important;-webkit-text-fill-color:#CFE9F5!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet.st .fs-chhead .fs-back{background:rgba(255,255,255,.16)!important;border:1.5px solid rgba(255,255,255,.55)!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet.st .fs-chhead .fs-back *{color:#fff!important;-webkit-text-fill-color:#fff!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet.st .st-hero .st-hero-img.st-i1{background:linear-gradient(160deg,#EAF8F4,#CDEFE6 55%,#BCE0F4)!important;background-image:linear-gradient(160deg,#EAF8F4,#CDEFE6 55%,#BCE0F4)!important}
/* no rubber-band / jump-back on sheet and chat scrolling */
html:root:root:root body #fsheet .fs-sheet .fs-body,html:root:root:root body #fsheet .fs-sheet,html:root:root:root body #chatBody{overscroll-behavior-y:contain!important;scroll-snap-type:none!important;scroll-behavior:auto!important}
}
@layer ndvis{
/* flashcard chips (Subject / topic / Level) - Layout 1 gradient, white text */
html:not(.nd-l2):root:root:root body #ndsc#ndsc .sc-hd .sc-chip,html:not(.nd-l2):root:root:root body #ndsc#ndsc .sc-hd .sc-chip.alt{background:linear-gradient(100deg,#0B1D3A,#0E8F72)!important;background-image:linear-gradient(100deg,#0B1D3A,#0E8F72)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:transparent!important;box-shadow:0 3px 9px rgba(11,29,58,.25)!important}
/* Profile > Performance: Parent Report button + Full Analysis */
html:root:root body #ndpg#ndpg .ndan-pr{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:100%;border:0;border-radius:6px;padding:12px;margin:0 0 12px;cursor:pointer;background:linear-gradient(100deg,#0B1D3A,#0E8F72);color:#fff;-webkit-text-fill-color:#fff;box-shadow:0 6px 14px rgba(11,29,58,.22)}
html:root:root body #ndpg#ndpg .ndan-pr span{font-weight:800;font-size:15px;line-height:1.2;color:#fff;-webkit-text-fill-color:#fff}
html:root:root body #ndpg#ndpg .ndan-pr small{font-weight:600;font-size:11px;line-height:1.2;color:#D6F3EA;-webkit-text-fill-color:#D6F3EA}
html.nd-l2:root:root body #ndpg#ndpg .ndan-pr{background:linear-gradient(100deg,#4b1875,#e0345f)}
html:root:root body #ndpg#ndpg .ndan{background:#fff;border:1px solid #DCE5F2;border-radius:10px;padding:12px;margin:12px 0;color:#0B1D3A;-webkit-text-fill-color:#0B1D3A;box-shadow:0 2px 10px rgba(11,29,58,.06)}
html:root:root body #ndpg#ndpg .ndan *{-webkit-text-fill-color:currentColor}
html:root:root body #ndpg#ndpg .ndan-h{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:6px}
html:root:root body #ndpg#ndpg .ndan-h b{font-size:15px}html:root:root body #ndpg#ndpg .ndan-h small{font-size:11px;color:#5B6B85}
html:root:root body #ndpg#ndpg .ndan-s{font-weight:800;font-size:12px;line-height:1.2;margin:12px 0 6px;color:#0B1D3A}
html:root:root body #ndpg#ndpg .ndan-stack,html:root:root body #ndpg#ndpg .ndan .bar{display:flex;height:12px;border-radius:6px;overflow:hidden;background:#E8EEF6}
html:root:root body #ndpg#ndpg .ndan-stack i,html:root:root body #ndpg#ndpg .ndan .bar i{display:block;height:100%}
html:root:root body #ndpg#ndpg .ndan i.c,html:root:root body #ndpg#ndpg .ndan i.g{background:#12A67F}
html:root:root body #ndpg#ndpg .ndan i.w,html:root:root body #ndpg#ndpg .ndan i.l{background:#E0457B}
html:root:root body #ndpg#ndpg .ndan i.u{background:#B8C4D6}html:root:root body #ndpg#ndpg .ndan i.m{background:#F0A23A}
html.nd-l2:root:root body #ndpg#ndpg .ndan i.c,html.nd-l2:root:root body #ndpg#ndpg .ndan i.g{background:#6a2ab0}
html:root:root body #ndpg#ndpg .ndan-lg{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:6px;font-size:11px;color:#33425E}
html:root:root body #ndpg#ndpg .ndan-lg span{display:inline-flex;align-items:center;gap:4px}
html:root:root body #ndpg#ndpg .ndan-lg i{display:inline-block;width:9px;height:9px;border-radius:2px}
html:root:root body #ndpg#ndpg .ndan-kp{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:12px}
html:root:root body #ndpg#ndpg .ndan-kp div{background:#F1F6FB;border-radius:6px;padding:8px 4px;text-align:center}
html:root:root body #ndpg#ndpg .ndan-kp b{display:block;font-size:15px;color:#0B1D3A}html:root:root body #ndpg#ndpg .ndan-kp small{font-size:10px;color:#5B6B85}
html:root:root body #ndpg#ndpg .ndan-b{display:grid;grid-template-columns:38% 1fr 52px;align-items:center;gap:8px;margin:5px 0;font-size:11px}
html:root:root body #ndpg#ndpg .ndan-b .n{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#33425E}
html:root:root body #ndpg#ndpg .ndan-b .v{text-align:right;font-weight:800;color:#0B1D3A}
html:root:root body #ndpg#ndpg .ndan-tip{margin-top:12px;padding:9px 10px;border-radius:6px;background:#EAF6F3;color:#0B3D33;font-size:12px;line-height:1.35}
}
@layer ndx{
html:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet:not(.ch) .fs-chhead:not(.tp2){grid-template-columns:auto minmax(0,1fr) auto!important}
html:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet:not(.ch) .fs-chhead:not(.tp2) .fs-ttl{justify-self:stretch!important;width:100%!important;display:block!important}
html:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet:not(.ch) .fs-chhead:not(.tp2) .fs-ttl>div{display:block!important;width:100%!important}
html:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet:not(.ch) .fs-chhead:not(.tp2) .fs-ttl small{width:100%!important}
}
@layer ndvis{
html:root:root body #ndpg#ndpg .ndan-pr,html:root:root body #ndpg#ndpg .ndan{flex:0 0 auto!important;min-height:0}
html:root:root body #ndpg#ndpg .ndan-pr{min-height:58px;box-sizing:border-box}
html:root:root body #ndpg#ndpg .ndan{box-sizing:border-box;width:100%}
}

@layer ndx{
html:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet:not(.ch) .fs-chhead:not(.tp2) .fs-ttl,html:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet:not(.ch) .fs-chhead:not(.tp2) .fs-ttl>div,html:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet:not(.ch) .fs-chhead:not(.tp2) .fs-ttl b,html:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet:not(.ch) .fs-chhead:not(.tp2) .fs-ttl small{text-align:left!important}
}
@layer ndvis{
html:root:root body #ndpg#ndpg .ndan-b{grid-template-columns:44% 1fr 50px!important}
}

@layer ndvis{
html:root:root body #ndpg#ndpg .ndan{padding:12px!important;margin:12px 0!important;background:#fff!important;border:1px solid #DCE5F2!important;border-radius:10px!important}
html:root:root body #ndpg#ndpg .ndan-pr{margin:0 0 12px!important;padding:12px!important;border-radius:6px!important}
html:root:root body #ndpg#ndpg .ndan-s{margin:12px 0 6px!important}
html:root:root body #ndpg#ndpg .ndan-tip{margin-top:12px!important;padding:9px 10px!important}
html:root:root body #ndpg#ndpg .ndan-kp{margin-top:12px!important}
html:root:root body #ndpg#ndpg .ndan-kp div{padding:8px 4px!important;background:#F1F6FB!important}
html:root:root body #ndpg#ndpg .ndan-b{margin:6px 0!important}
}

/* v248: NCERT Practice reaction arrows - wider and thicker, drawn as a shape so they never look tiny */
#ndsc mspace.ndxa{display:inline-block!important;background:currentColor;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 10'><path d='M0 5H59' stroke='black' stroke-width='1.5' fill='none'/><path d='M52.5 0.8L62 5L52.5 9.2' stroke='black' stroke-width='1.5' fill='none' stroke-linejoin='round'/></svg>") center/100% 100% no-repeat;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 10'><path d='M0 5H59' stroke='black' stroke-width='1.5' fill='none'/><path d='M52.5 0.8L62 5L52.5 9.2' stroke='black' stroke-width='1.5' fill='none' stroke-linejoin='round'/></svg>") center/100% 100% no-repeat}
#ndsc mspace.ndxa{margin:0 .22em}
#ndsc mspace.ndxa.ndxl{transform:scaleX(-1)}
#ndsc .sc-o .tx{overflow:visible}

/* v248: sheet header + footer = same gradient as the app header/footer (L1 navy, L2 purple); text/back button always white on it */
@layer ndx{
html:not(.nd-l2):root:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead{background:linear-gradient(100deg,#0B1D3B,#122551 55%,#16305F)!important;background-image:linear-gradient(100deg,#0B1D3B,#122551 55%,#16305F)!important;color:#fff!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-ttl b{color:#fff!important;-webkit-text-fill-color:#fff!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-ttl small{color:#BFD3E6!important;-webkit-text-fill-color:#BFD3E6!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-back{background:rgba(255,255,255,.14)!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1.5px solid rgba(255,255,255,.55)!important;box-shadow:none!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-back *{color:#fff!important;-webkit-text-fill-color:#fff!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-foot{background:linear-gradient(100deg,#0B1D3B,#122551 55%,#16305F)!important;background-image:linear-gradient(100deg,#0B1D3B,#122551 55%,#16305F)!important}
html:not(.nd-l2):root:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-foot a:not(.fs-cta):not(.ndcs-trial),html:not(.nd-l2):root:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-foot .ndcs-trialnote{color:#8FF0D6!important;-webkit-text-fill-color:#8FF0D6!important}
html.nd-l2:root:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead{background:linear-gradient(100deg,#51207F,#3B1361 50%,#6B2486)!important;background-image:linear-gradient(100deg,#51207F,#3B1361 50%,#6B2486)!important;color:#fff!important}
html.nd-l2:root:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-ttl b{color:#fff!important;-webkit-text-fill-color:#fff!important}
html.nd-l2:root:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-ttl small{color:#E9D7F7!important;-webkit-text-fill-color:#E9D7F7!important}
html.nd-l2:root:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-back{background:rgba(255,255,255,.16)!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1.5px solid rgba(255,255,255,.6)!important;box-shadow:none!important}
html.nd-l2:root:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-back *{color:#fff!important;-webkit-text-fill-color:#fff!important}
html.nd-l2:root:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-foot{background:linear-gradient(100deg,#51207F,#3B1361 50%,#6B2486)!important;background-image:linear-gradient(100deg,#51207F,#3B1361 50%,#6B2486)!important}
html.nd-l2:root:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-foot a:not(.fs-cta):not(.ndcs-trial),html.nd-l2:root:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-foot .ndcs-trialnote{color:#FFC2D8!important;-webkit-text-fill-color:#FFC2D8!important}
}

@layer ndx{
html.nd-l2:root:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead::before{background-color:#3B1361!important;background-image:linear-gradient(100deg,#51207F,#3B1361 50%,#6B2486)!important;background-size:100% 100%!important}
html.nd-l2:root:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-ttl b,html.nd-l2:root:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-ttl b .tc{color:#fff!important;-webkit-text-fill-color:#fff!important}
html.nd-l2:root:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-count{background:rgba(255,255,255,.2)!important}
html.nd-l2:root:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-count b,html.nd-l2:root:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-count i{color:#fff!important;-webkit-text-fill-color:#fff!important}
html.nd-l2:root:root:root:root:root:root:root:root:root:root body #fsheet#fsheet .fs-sheet .fs-chhead .fs-x{color:#fff!important;-webkit-text-fill-color:#fff!important}
}

/* v248: flash card question picture - uses the free space, tall/narrow graphs shown big instead of a tiny strip in a wide box */
html #ndsc#ndsc#ndsc#ndsc .sc-int .sc-q img.cbt-img{max-height:min(46vh,430px)!important;width:auto!important;max-width:100%!important;height:auto!important;margin:10px auto!important;object-fit:contain}

/* v248: Notes / Test Series tile pictures back to the bigger size, still inside their tile */
html #fsheet#fsheet .fs-sheet .fs-ic.ill{width:auto!important;height:86px!important;max-width:84%!important}
html #fsheet#fsheet .fs-sheet .fs-ic.ill svg{width:auto!important;height:86px!important;max-width:100%!important}

/* v248: Profile > INFO "My Sales" card for team members (L1 navy/teal, L2 purple/pink) */
html #ndpg#ndpg .ndsl{display:block!important;margin:0 0 12px!important;border-radius:16px!important;background:#fff!important;border:1.5px solid #12C79C!important;box-shadow:0 6px 18px -10px rgba(11,29,58,.35)!important;overflow:hidden!important;color:#0B1D3A!important}
html #ndpg#ndpg .ndsl-h{padding:11px 14px!important;background:linear-gradient(100deg,#0B1D3B,#16305F 60%,#0E8F72)!important;color:#fff!important}
html #ndpg#ndpg .ndsl-h b{display:block;font:800 15px/1.2 Poppins,Inter,sans-serif!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html #ndpg#ndpg .ndsl-h small{display:block;font:600 11.5px/1.3 Inter,sans-serif!important;color:#CFE3F3!important;-webkit-text-fill-color:#CFE3F3!important;margin-top:2px}
html #ndpg#ndpg .ndsl-k{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:12px 10px 6px!important}
html #ndpg#ndpg .ndsl-k div{text-align:center;background:#EAF6F3;border-radius:12px;padding:9px 4px}
html #ndpg#ndpg .ndsl-k b{display:block;font:800 16px/1.2 Poppins,Inter,sans-serif!important;color:#0B1D3A!important;-webkit-text-fill-color:#0B1D3A!important}
html #ndpg#ndpg .ndsl-k small{display:block;font:600 10.5px/1.3 Inter,sans-serif!important;color:#3C4F6B!important;-webkit-text-fill-color:#3C4F6B!important;margin-top:2px}
html #ndpg#ndpg .ndsl-r{display:grid;grid-template-columns:1.3fr auto auto auto;gap:8px;align-items:center;padding:8px 14px!important;border-top:1px solid #E2ECF4;font:700 12.5px/1.2 Inter,sans-serif!important;color:#0B1D3A!important}
html #ndpg#ndpg .ndsl-r .c{font-weight:800!important;letter-spacing:.3px}
html #ndpg#ndpg .ndsl-r .p,html #ndpg#ndpg .ndsl-r .n{color:#3C4F6B!important}
html #ndpg#ndpg .ndsl-r .v{color:#0B7F68!important;font-weight:800!important}
html #ndpg#ndpg .ndsl-f{padding:8px 14px 11px!important;font:600 11px/1.35 Inter,sans-serif!important;color:#51627F!important}
html.nd-l2 #ndpg#ndpg .ndsl{border-color:#E0508A!important}
html.nd-l2 #ndpg#ndpg .ndsl-h{background:linear-gradient(100deg,#51207F,#3B1361 50%,#842D93)!important}
html.nd-l2 #ndpg#ndpg .ndsl-h small{color:#EAD7F7!important;-webkit-text-fill-color:#EAD7F7!important}
html.nd-l2 #ndpg#ndpg .ndsl-k div{background:#F7EAF6}
html.nd-l2 #ndpg#ndpg .ndsl-r .v{color:#A81E57!important}

/* v251: one line only + tiles never shrink / animation never stops on touch */
html:root:root:root body .ap-main>.ap-hrow h3{white-space:nowrap!important;min-width:0}
html:root:root:root body #fsheet .fs-row b,html:root:root:root body #fsheet .fs-row small{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block}
html:root:root:root body #fsheet .fs-cell b,html:root:root:root body .ap-main>.fs-grid .fs-cell b{white-space:nowrap!important}
html:root:root:root body .ap-nav button span,html:root:root:root body .ap-nav button b{white-space:nowrap!important}
html:root:root:root body .fs-cell:active,html:root:root:root body .fs-cell:focus,html:root:root:root body .fs-cell:focus-visible,html:root:root:root body .fs-row:active,html:root:root:root body #fsheet .fs-sheet .fs-cell:active{scale:1!important;transform:none!important;translate:none!important}
html:root:root:root body .fs-cell:active .fs-ic,html:root:root:root body .fs-cell:active .fs-ic svg,html:root:root:root body .fs-cell:active .fs-ic *,html:root:root:root body .fs-cell:focus .fs-ic svg,html:root:root:root body .fs-row:active .fs-ic{scale:1!important;animation-play-state:running!important}
/* v251: Notes list rows - a little more room for the one-line text */
html:root:root:root body #fsheet .fs-sheet .fs-body:has(.fs-row[data-ndnx="hb"]) .fs-row{gap:9px!important;padding-left:10px!important;padding-right:10px!important}
html:root:root:root body #fsheet .fs-sheet .fs-body:has(.fs-row[data-ndnx="hb"]) .fs-row>.fs-ic{width:34px!important;height:34px!important}
html:root:root:root body #fsheet .fs-sheet .fs-body:has(.fs-row[data-ndnx="hb"]) .fs-row::after{flex:0 0 34px!important;width:34px!important;height:34px!important}

/* v252 */
html:root:root:root body #fsheet .ap-gen.gen-card b{white-space:nowrap!important}

/* v255: APK text zoom - every header / row / tile / button label stays on its own single line, nothing leaves the right edge */
html:root:root:root body #fsheet .fs-sheet,html:root:root:root body #fsheet .fs-body{overflow-x:hidden!important;max-width:100vw}
html:root:root:root body #fsheet .fs-head h3,html:root:root:root body #fsheet .fs-head p,html:root:root:root body #fsheet .hbx-ttl b,html:root:root:root body #fsheet .fs-chhead .fs-ttl b,html:root:root:root body #fsheet .fs-tx b,html:root:root:root body #fsheet .fs-tx .fs-meta,html:root:root:root body #fsheet .fs-row b,html:root:root:root body #fsheet .fs-row small{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important;min-width:0!important;max-width:100%!important}
html:root:root:root body #fsheet .fs-cta{display:flex!important;align-items:center;gap:8px;min-width:0}
html:root:root:root body #fsheet .fs-cta .ct{display:block!important;flex:1 1 auto;min-width:0;white-space:nowrap!important;overflow:hidden}
html:root:root:root body #fsheet .fs-row>.fs-tx,html:root:root:root body #fsheet .fs-row>div:not(.fs-ic){min-width:0!important;flex:1 1 auto}
html:root:root:root body #fsheet .fs-cell{min-width:0!important;overflow:hidden}
html:root:root:root body #fsheet .fs-cell b{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:clip!important;white-space:nowrap!important}
html:root:root:root body .hf-m{animation:none!important;transform:none!important}
/* v255: large text on the phone - Back button and count pill keep their normal size so the title + subtitle get the room */
html.nd-tz:root:root body #fsheet .fs-chhead .fs-back,html.nd-tz:root:root body #fsheet .fs-chhead .fs-count,html.nd-tz:root:root body #fsheet .hbx-top .fs-back{zoom:calc(1 / var(--ndtz,1.5))}
html.nd-tz:root:root body #fsheet .fs-chhead .fs-ttl{min-width:0;flex:1 1 auto}
html:root:root:root body #fsheet .fs-chhead .fs-ttl small,html:root:root:root body #fsheet .hbx-ttl small{max-width:100%!important;text-overflow:clip!important;overflow:hidden!important;white-space:nowrap!important}
html:root:root:root body #fsheet .fs-chhead .fs-ttl>div{min-width:0;max-width:100%}

/* v255: large phone text - top bar, bottom bar, chat header and Store hero keep their normal size; one-line labels never leave the screen */
html.nd-tz:root:root body .ap-bar .ap-ic,html.nd-tz:root:root body .chat-h .ap-ic{zoom:calc(1 / var(--ndtz,1.5))}
html.nd-tz:root:root body .ap-nav button{zoom:calc(1.08 / var(--ndtz,1.5))}
html.nd-tz:root:root body .st-hero{zoom:calc(1.1 / var(--ndtz,1.5))}
html:root:root body .ap-greet p,html:root:root body .chat-ht b,html:root:root body .chat-ht small,html:root:root body .nd3-tiles .nd3-t>span,html:root:root body .ap-main .fs-cell b{white-space:nowrap!important;overflow:hidden;min-width:0;max-width:100%}
html:root:root body .nd3-tiles .nd3-t{min-width:0;overflow:hidden}
html:root:root body .chat-h .chat-ht{min-width:0;flex:1 1 auto}
/* icons that had no motion (subject tabs inside Test Series / Notes) float like the other tiles */
html body #fsheet .fs-ic:not(.ill){display:inline-block;animation:icFloat 3.4s ease-in-out infinite;will-change:transform}
html.nd-tz:root:root body .ap-greet p{zoom:calc(1 / var(--ndtz,1.5))}
html.nd-tz.nd-l2:root:root body .ap-bar .nd-brandwrap{zoom:calc(1.1 / var(--ndtz,1.5))}
html body #fsheet .hbx-t .fs-ic.ill{animation:ndBobIc 3.6s ease-in-out infinite;will-change:transform}
/* v255: long header subtitle - when it would become tiny, the count pill shows just the number (full text stays in its label) so the subtitle gets the room */
html:root:root body #fsheet .nd-cs .fs-count i{display:none!important}
html:root:root body #fsheet .nd-cs .fs-count{min-width:0}
/* v255: Store - hero a little more compact so the course card sits in the middle of the screen, thin line under each course */
html:root:root body #fsheet .st-hero{zoom:.86}
html.nd-tz:root:root body #fsheet .st-hero{zoom:calc(.95 / var(--ndtz,1.5))}
html:root:root body #fsheet .st-list>*{border-bottom:1px solid rgba(120,140,170,.28)}
/* v254 sample: My Activity */
.ndan i.u2{background:#7FB8E8}
html.nd-l2 .ndan i.u2{background:#E58AB4}
.ndact-r{display:grid;grid-template-columns:44px 1fr 56px;align-items:center;gap:8px;margin:7px 0 0;font-size:11px}
.ndact-r .n{font-weight:700;color:#33425E;white-space:nowrap}
.ndact-r .bar{display:flex;height:12px;border-radius:6px;overflow:hidden;background:#E8EEF6}
.ndact-r .bar i{display:block;height:100%}
.ndact-r .v{text-align:right;font-weight:800;color:#0B1D3A;white-space:nowrap}
.ndact-s{margin:1px 0 0 52px;font-size:10px;color:#6B7A93;white-space:nowrap;overflow:hidden;text-overflow:clip}
.ndact-hr{display:flex;align-items:flex-end;gap:2px;height:64px;padding:4px;background:#F1F6FB;border-radius:6px}
.ndact-hr i{flex:1;background:#12A67F;border-radius:2px 2px 0 0;opacity:.75}
.ndact-hr i.pk{opacity:1;background:#0B1D3A}
html.nd-l2 .ndact-hr i{background:#6a2ab0}
html.nd-l2 .ndact-hr i.pk{background:#e0345f}
.ndact-ax{display:flex;justify-content:space-between;font-size:9.5px;color:#6B7A93;margin-top:3px}
/* v255: Layout 2 website - the "10-day refund policy" line was light lilac on a white box (invisible); dark text */
html.nd-l2[data-l2look]:root:root body.lp2 .nd-rf-line,html.nd-l2[data-l2look]:root:root body.lp2 .nd-rf-line span{color:#2F104B!important}
/* v255: Profile > Performance test rows - date/score line and title stay on one line */
html:root:root body #ndpg .ndpg-tm small,html:root:root body #ndpg .ndpg-tt b{white-space:nowrap!important;overflow:hidden;min-width:0;text-overflow:clip}
html:root:root body #ndpg .ndpg-tm small{flex:1 1 auto}

/* v256: My Activity day label never clipped */
.ndact-r{grid-template-columns:minmax(44px,max-content) minmax(40px,1fr) minmax(40px,max-content)!important}
.ndact-r .n{overflow:visible!important}
@layer ndvis{
html:root:root body #ndpg#ndpg .ndan-b{grid-template-columns:minmax(0,1fr) minmax(0,.55fr) max-content!important;gap:6px!important}
html:root:root body #ndpg#ndpg .ndan-b .v{white-space:nowrap!important;overflow:visible!important}
}

/* v257: uniform fonts (no per-row shrink; long sub-lines wrap to 2 lines) + chat fits without scroll */
@layer ndx{
html:root:root:root:root body #fsheet .fs-row b,html:root:root:root:root body #fsheet .fs-row small{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere}
html:root:root:root:root body #chatPanel .chat-ment .nd-ment-y{padding-top:12px!important;padding-bottom:8px!important;margin-top:2px!important}
html:root:root:root:root body #chatPanel .chat-ment li,html:root:root:root:root body #chatPanel .chat-ment p{margin-top:1px!important;margin-bottom:1px!important}
html:root:root:root:root body #chatPanel #chatBody{gap:6px!important}
html:root:root:root:root body #chatPanel .chat-ment{margin-top:4px!important;margin-bottom:0!important}
html:root:root:root:root body #chatPanel .chat-ment .nd-ment-y{padding-bottom:6px!important}
html:root:root:root:root body #fsheet .hbx-seg.hbx-nt .hbx-t{font-size:13px!important;white-space:normal!important;overflow-wrap:anywhere}
}
@layer ndtop{
html:root:root:root:root body #fsheet .hbx-seg.hbx-nt .hbx-t{font-size:13px!important;white-space:normal!important;overflow-wrap:anywhere}
}
/* v258: Store (and all sheet) header title + sub-line centred */
@layer ndx{
#fsheet .fs-bar.fs-chhead .fs-ttl{text-align:center!important;margin-left:0!important;margin-right:0!important}
#fsheet .fs-bar.fs-chhead .fs-ttl b,#fsheet .fs-bar.fs-chhead .fs-ttl small{display:block!important;text-align:center!important}
}
@layer ndtop{
html:root:root:root:root body #fsheet .fs-bar.fs-chhead .fs-ttl,html:root:root:root:root body #fsheet .fs-bar.fs-chhead .fs-ttl b,html:root:root:root:root body #fsheet .fs-bar.fs-chhead .fs-ttl small{text-align:center!important}
}
@layer ndtop{
html:root:root:root:root body #fsheet .fs-bar.fs-chhead:not(:has(.fs-count)){position:relative!important;padding-left:0!important;padding-right:0!important}
html:root:root:root:root body #fsheet .fs-bar.fs-chhead:not(:has(.fs-count)) .fs-back{margin-left:12px!important}
html:root:root:root:root body #fsheet .fs-bar.fs-chhead:not(:has(.fs-count)) .fs-ttl{position:absolute!important;left:86px!important;right:86px!important;top:50%!important;transform:translateY(-50%)!important;margin:0!important;width:auto!important;max-width:none!important;grid-column:1/-1!important;grid-row:1!important;justify-self:stretch!important;box-sizing:border-box!important}
}
/* v258: Profile -> Info fits one screen (L1+L2), no scrolling/blink */
@layer ndtop{
html:root:root:root:root body #ndpg .ndpg-who{padding-top:8px!important;padding-bottom:2px!important}
html:root:root:root:root body #ndpg .ndpg-av,html:root:root:root:root body #ndpg .ndpg-av>span{height:68px!important;width:68px!important}
html:root:root:root:root body #ndpg .ndpg-tabs{padding-top:4px!important;padding-bottom:4px!important}
html:root:root:root:root body #ndpg .ndpg-tabs>button{padding-top:9px!important;padding-bottom:7px!important;min-height:0!important;height:46px!important}
html:root:root:root:root body #ndpg .ndpg-main{padding-top:8px!important;padding-bottom:8px!important;overscroll-behavior:none!important}
html:root:root:root:root body #ndpg .ndpg-sh{padding-top:9px!important;padding-bottom:9px!important}
html:root:root:root:root body #ndpg .ndpg-body{padding-top:2px!important;padding-bottom:4px!important}
html:root:root:root:root body #ndpg .ndpg-row{padding-top:6px!important;padding-bottom:6px!important}
html:root:root:root:root body #ndpg .ndpg-cls{padding-top:4px!important;padding-bottom:4px!important}
html:root:root:root:root body #ndpg .ndpg-card{margin-bottom:6px!important}
html:root:root:root:root body #ndpg .ndpg-out{padding-top:9px!important;padding-bottom:9px!important;margin-top:6px!important;margin-bottom:0!important}
}
/* v258: Profile -> Edit details (Basic + Parent info) fits one screen */
@layer ndtop{
html:root:root:root:root body #ndpg:has(.ndpg-form) .ndpg-who{display:none!important}
html:root:root:root:root body #ndpg:has(.ndpg-form) .ndpg-main{padding-top:6px!important;padding-bottom:6px!important}
html:root:root:root:root body #ndpg:has(.ndpg-form) .ndpg-form{padding-top:4px!important;padding-bottom:6px!important}
html:root:root:root:root body #ndpg:has(.ndpg-form) .ndpg-phrow{margin:0 0 4px!important;gap:10px!important;align-items:center!important}
html:root:root:root:root body #ndpg:has(.ndpg-form) .ndpg-phrow .ndpg-av,html:root:root:root:root body #ndpg:has(.ndpg-form) .ndpg-phrow .ndpg-av>span{width:44px!important;height:44px!important;min-width:44px!important;font-size:18px!important}
html:root:root:root:root body #ndpg:has(.ndpg-form) .ndpg-phb small{display:none!important}
html:root:root:root:root body #ndpg:has(.ndpg-form) .ndpg-phb .ndpg-btn{padding-top:6px!important;padding-bottom:6px!important;min-height:0!important}
html:root:root:root:root body #ndpg:has(.ndpg-form) .ndpg-form label{margin-top:4px!important;margin-bottom:2px!important;font-size:12px!important;line-height:1.2!important}
html:root:root:root:root body #ndpg:has(.ndpg-form) .ndpg-form input{height:38px!important;min-height:0!important;padding-top:4px!important;padding-bottom:4px!important;font-size:15px!important}
html:root:root:root:root body #ndpg:has(.ndpg-form) .ndpg-lock,html:root:root:root:root body #ndpg:has(.ndpg-form) .ndpg-form small:not(.x){font-size:10.5px!important;line-height:1.25!important;margin:2px 0 0!important}
html:root:root:root:root body #ndpg:has(.ndpg-form) .ndpg-sh{padding-top:7px!important;padding-bottom:7px!important}
html:root:root:root:root body #ndpg:has(.ndpg-form) .ndpg-card{margin-bottom:6px!important}
html:root:root:root:root body #ndpg:has(.ndpg-form) .ndpg-fb{padding-top:0!important;margin-top:4px!important;gap:8px!important}
html:root:root:root:root body #ndpg:has(.ndpg-form) .ndpg-fb .ndpg-btn{padding-top:9px!important;padding-bottom:9px!important;min-height:0!important}
}
@layer ndtop{
html:root:root:root:root body #ndpg:has(.ndpg-form) .ndpg-form input{height:36px!important}
html:root:root:root:root body #ndpg:has(.ndpg-form) .ndpg-form label{margin-top:2px!important}
html:root:root:root:root body #ndpg:has(.ndpg-form) .ndpg-card{margin-bottom:4px!important}
html:root:root:root:root body #ndpg:has(.ndpg-form) .ndpg-fb{margin-top:0!important;padding-bottom:0!important}
html:root:root:root:root body #ndpg:has(.ndpg-form) .ndpg-main{padding-bottom:4px!important}
}
/* v258: Night mode / Share testimonial screens show only their own card */
@layer ndtop{
html:root:root:root:root body #ndpgMain:has(.ndpg-fback) .ndpg-out{display:none!important}
html:root:root:root:root body #ndpgMain:has(.ndpg-fback) .ndpg-fback{margin-bottom:8px!important}
html:root:root:root:root body #ndpg #ndtfT{min-height:96px!important;font-size:16px!important}
}
/* v258: "More in ..." rows - bigger icons */
@layer ndtop{
html.nd-rowic:root:root:root:root body #fsheet .fs-row[data-ndi*=":e"] .fs-ic{width:58px!important;height:58px!important;min-width:58px!important;flex:0 0 58px!important}
html.nd-rowic:root:root:root:root body #fsheet .fs-row[data-ndi*=":e"] .fs-ic svg{width:34px!important;height:34px!important}
html.nd-rowic:root:root:root:root body #fsheet .fs-row[data-ndi*=":e"]{min-height:80px!important}
}
@layer ndtop{
html.nd-rowic:root:root:root:root body #fsheet .fs-row[data-ndi*=":e"] .fs-ic{display:flex!important;align-items:center!important;justify-content:center!important;align-self:center!important}
}
/* v258: Store bundle - "N courses included" line */
@layer ndtop{
html:root:root:root:root body #fsheet .st-card>.st-cnt{display:block!important;font-weight:800!important;font-size:14px!important;line-height:1.3!important;margin:4px 0 2px!important;color:#0b6b52!important;-webkit-text-fill-color:#0b6b52!important}
html.nd-l2:root:root:root:root body #fsheet .st-card>.st-cnt{color:#5b21b6!important;-webkit-text-fill-color:#5b21b6!important}
}
/* v259: Course page (Layout 2) - NCERT Hub look: soft pink background, white rows, pink-red glowing bottom bar */
@keyframes ndcsGlow{0%,100%{box-shadow:0 0 10px rgba(224,62,104,.35),0 0 0 1px rgba(255,160,185,.35) inset}50%{box-shadow:0 0 22px rgba(255,107,139,.75),0 0 0 1px rgba(255,190,208,.6) inset}}
@keyframes ndcsBtn{0%,100%{box-shadow:0 4px 14px rgba(224,62,104,.45)}50%{box-shadow:0 4px 22px rgba(255,107,139,.85)}}
@layer ndtop{
html.nd-l2:not(.nd-cs0):root:root:root:root body #fsheet .fs-sheet.nd-cs{background:#fdf4f5!important}
html.nd-l2:not(.nd-cs0):root:root:root:root body #fsheet .fs-sheet.nd-cs .fs-body{background:#fdf4f5!important}
html.nd-l2:not(.nd-cs0):root:root:root:root body #fsheet .fs-sheet.nd-cs .ndcs-tabs{background:#fff!important;border-bottom:1px solid #EBDDF0!important}
html.nd-l2:not(.nd-cs0):root:root:root:root body #fsheet .fs-sheet.nd-cs .ndcs-row{background:#fff!important;border:1px solid #EBDDF0!important;border-radius:16px!important;margin:8px 0!important;box-shadow:0 2px 8px rgba(150,122,128,.10)!important}
html.nd-l2:not(.nd-cs0):root:root:root:root body #fsheet .fs-sheet.nd-cs .ndcs-row.lk{opacity:.72!important}
html.nd-l2:not(.nd-cs0):root:root:root:root body #fsheet .fs-sheet.nd-cs .ndcs-hint{color:#51627F!important;-webkit-text-fill-color:#51627F!important}
html.nd-l2:not(.nd-cs0):root:root:root:root body #fsheet .fs-sheet.nd-cs .fs-foot .ndcs-trialnote{display:block!important;margin:0 0 10px!important;padding:10px 12px!important;border-radius:14px!important;text-align:center!important;font-weight:800!important;line-height:1.35!important;color:#fff!important;-webkit-text-fill-color:#fff!important;background:linear-gradient(135deg,rgba(255,107,139,.40),rgba(224,62,104,.40))!important;border:1px solid rgba(255,170,195,.7)!important;animation:ndcsGlow 2.4s ease-in-out infinite}
html.nd-l2:not(.nd-cs0):root:root:root:root body #fsheet .fs-sheet.nd-cs .fs-foot .ndcs-trial{background:linear-gradient(135deg,#FF6B8B,#E03E68)!important;border:0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;animation:ndcsBtn 2.4s ease-in-out infinite}
html.nd-l2:not(.nd-cs0):root:root:root:root body #fsheet .fs-sheet.nd-cs .fs-foot .ndcs-trial *{color:#fff!important;-webkit-text-fill-color:#fff!important}
html.nd-l2:not(.nd-cs0):root:root:root:root body #fsheet .fs-sheet.nd-cs .fs-foot .ndcp-t{color:#FFD3E2!important;-webkit-text-fill-color:#FFD3E2!important;opacity:1!important;font-weight:700!important}
}
/* v259: footer buttons - label always exactly in the middle */
@layer ndtop{
html:root:root:root:root body #fsheet .fs-foot .fs-cta:not(.ndf-back):not(.ndf-fwd){justify-content:center!important;text-align:center!important;gap:8px!important}
html:root:root:root:root body #fsheet .fs-foot .fs-cta:not(.ndf-back):not(.ndf-fwd) .ct{text-align:center!important;flex:0 1 auto!important}
}
/* v259: Store cards - image centred vertically, Complete Access card compact (no extra white gap) */
@layer ndtop{
html:root:root:root:root body #fsheet .fs-sheet.st:not(.nd-cs) .st-card[data-cid]>.st-iw{align-self:center!important}
html:root:root:root:root body #fsheet .fs-sheet.st:not(.nd-cs) .st-card[data-cid] .nd-ehl{margin:1px 0 0!important;line-height:1.25!important}
html:root:root:root:root body #fsheet .fs-sheet.st:not(.nd-cs) .st-card[data-cid]>.st-cnt{margin:1px 0 0!important}
html:root:root:root:root body #fsheet .fs-sheet.st:not(.nd-cs) .st-card[data-cid] .st-price{flex-wrap:nowrap!important;gap:6px!important;align-items:center!important}
html:root:root:root:root body #fsheet .fs-sheet.st:not(.nd-cs) .st-card[data-cid] .st-price .nd-save{font-size:14px!important;padding:5px 8px!important;white-space:nowrap!important;margin:0!important}
html:root:root:root:root body #fsheet .fs-sheet.st:not(.nd-cs) .st-card[data-cid] .st-price s{white-space:nowrap!important}
}
/* v260: "More in ..." rows - narrow phones: smaller icon/arrow/padding so the 2-line text gets more width (nothing cut) */
@layer ndtop{
@media (max-width:430px){
html.nd-rowic:root:root:root:root body #fsheet .fs-row[data-ndi*=":e"]{gap:9px!important;padding-left:10px!important;padding-right:10px!important}
html.nd-rowic:root:root:root:root body #fsheet .fs-row[data-ndi*=":e"] .fs-ic{width:42px!important;height:42px!important;min-width:42px!important;flex:0 0 42px!important}
html.nd-rowic:root:root:root:root body #fsheet .fs-row[data-ndi*=":e"] .fs-ic svg{width:26px!important;height:26px!important}
html.nd-rowic:root:root:root:root body #fsheet .fs-row[data-ndi*=":e"]::after{flex:0 0 34px!important;width:34px!important;height:34px!important}
}
}
