/* Scoped content-only rendering for same-origin integrated Academy iframes.
   Standalone Academy pages retain their normal navigation and layout. */
html.nlg-embedded body{background:#fff!important}
html.nlg-embedded .nlg-shared-header,
html.nlg-embedded body>header.hero,
html.nlg-embedded body>.hero,
html.nlg-embedded body>footer,
html.nlg-embedded body>.footer,
html.nlg-embedded body .nc-practice-footer{display:none!important}
html.nlg-embedded .nc-enroll-main{padding:8px 0 22px!important}
html.nlg-embedded .nc-enroll-main>.nc-plain-link{display:none!important}
html.nlg-embedded .nc-enroll-main .nc-form-shell{margin-top:0!important}
html.nlg-embedded .nc-container,
html.nlg-embedded .wrap,
html.nlg-embedded .container{width:100%!important;max-width:none!important;padding-left:8px!important;padding-right:8px!important}
html.nlg-embedded .nc-form-card{box-shadow:none!important;border-color:#dbe8ed!important}
html.nlg-embedded .nc-form-card h1{font-size:clamp(24px,3vw,34px)!important}
html.nlg-embedded body>.container{padding-top:5px!important}
html.nlg-embedded .video-promo,
html.nlg-embedded #video-classroom,
html.nlg-embedded .bottom-links{display:none!important}
html.nlg-embedded .learning{margin:12px 0 24px!important;grid-template-columns:minmax(180px,255px) minmax(0,1fr)!important}
html.nlg-embedded .sidebar{position:static!important}
html.nlg-embedded .notice{margin:6px 0 12px!important}
html.nlg-embedded .metrics{margin:12px 0!important}
html.nlg-embedded .main{padding-top:8px!important}
html.nlg-embedded .main .actions{display:none!important}
html.nlg-embedded body>.wrap.main{padding-top:12px!important}
html.nlg-embedded .panel{margin-top:13px!important}
@media(max-width:760px){html.nlg-embedded .learning{grid-template-columns:1fr!important}}


/* Embedded practice: use the parent Study Pathways selector exclusively. */
html.nlg-embedded .learning{grid-template-columns:minmax(0,1fr)!important;display:block!important;margin:5px 0 15px!important}
html.nlg-embedded .learning>.sidebar{display:none!important}
html.nlg-embedded .learning>.practice{padding:17px!important;width:100%;min-width:0;box-shadow:none!important;border:1px solid #dae8eb!important}
html.nlg-embedded .learning>.practice>h2:first-of-type{font-size:clamp(22px,2.4vw,30px)!important}
html.nlg-embedded .metrics{display:none!important}
html.nlg-embedded .notice{font-size:11px!important}
html.nlg-embedded .learning .chapter-list{grid-template-columns:repeat(5,minmax(0,1fr))!important}
@media(max-width:580px){html.nlg-embedded .learning .chapter-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
