/* Integrated Science 9 — canonical unit-index presentation v1.
   Opt-in, scoped; lesson/quiz/assessment engines remain independent.
   Legacy unit header and local hamburger are removed in HTML, not hidden. */
@media screen {
html:root:root body.ka-science-unit-index{
 --page:#f4f0e7;--paper:#fffdf8;--paper-soft:#f7f1e5;
 --ink:#27302d;--muted:#536158;--navy:#202724;--navy-deep:#202724;
 --gold:#b8995c;--line:#cdbf9f;--line-dark:#b9aa92;--radius:7px;
 --serif:Cinzel,Georgia,serif;--sans:"Brandon Grotesque",Nunito,Arial,sans-serif;
 background:#f4f0e7!important;color:#27302d!important;
 font:400 18px/1.7 "Brandon Grotesque",Nunito,Arial,sans-serif!important;
}
/* CANONICAL HEADER FOREGROUND GUARD — prevent dark-on-dark typography
   when delayed science-theme.css competes with the official header. */
html:root:root body.ka-science-unit-index #vnvHeaderAutoPopulate{
 width:100%!important;max-width:none!important;margin:0!important;
 background:#202724!important;color:#fff8e9!important;-webkit-text-fill-color:#fff8e9!important;
 border-top:3px solid #b8995c!important;border-bottom:1px solid #b8995c!important;
}
html:root:root body.ka-science-unit-index #vnvHeaderAutoPopulate .vnv-header-inner{
 width:100%!important;max-width:none!important;min-height:82px!important;
 padding:11px clamp(16px,3vw,55px)!important;
}
html:root:root body.ka-science-unit-index #vnvHeaderAutoPopulate .vnv-header-logo{
 background:#b8995c!important;color:#202724!important;-webkit-text-fill-color:#202724!important;
 border:1px solid #b8995c!important;font-size:24px!important;
}
html:root:root body.ka-science-unit-index #vnvHeaderAutoPopulate .vnv-header-title{
 color:#fff8e9!important;-webkit-text-fill-color:#fff8e9!important;
 font:400 clamp(18px,2vw,24px)/1.3 Cinzel,Georgia,serif!important;
}
html:root:root body.ka-science-unit-index #vnvHeaderAutoPopulate .vnv-header-subtitle{
 color:#e9c989!important;-webkit-text-fill-color:#e9c989!important;font-size:16px!important;
}
html:root:root body.ka-science-unit-index #vnvHeaderAutoPopulate .vnv-header-menu-button{
 background:#202724!important;color:#fff8e9!important;-webkit-text-fill-color:#fff8e9!important;
 border:1px solid #b8995c!important;border-radius:7px!important;
 min-width:44px!important;min-height:44px!important;
}
html:root:root body.ka-science-unit-index .course-breadcrumb{
 border-bottom:1px solid #cdbf9f!important;background:#f4f0e7!important;
 padding:7px 12px!important;
}
html:root:root body.ka-science-unit-index .course-breadcrumb .wrap{
 min-height:48px!important;display:flex!important;align-items:center!important;
 justify-content:center!important;flex-wrap:wrap!important;gap:9px!important;
 color:#27302d!important;font:400 16px/1.5 Nunito,Arial,sans-serif!important;
}
html:root:root body.ka-science-unit-index .course-breadcrumb a{
 color:#27302d!important;-webkit-text-fill-color:#27302d!important;
 text-decoration:underline!important;text-underline-offset:3px!important;
}
html:root:root body.ka-science-unit-index .ka-unit-theme-toggle{
 border:1px solid #b8995c!important;border-radius:7px!important;
 background:#fffdf8!important;color:#27302d!important;-webkit-text-fill-color:#27302d!important;
 font-size:18px!important;min-width:44px!important;min-height:44px!important;
 margin-left:12px!important;
}
html:root:root body.ka-science-unit-index .ka-unit-section-links{
 width:min(calc(100% - 30px),1160px);margin:10px auto 0!important;
 display:flex!important;justify-content:center!important;flex-wrap:wrap!important;
 align-items:center!important;gap:9px!important;
 padding:8px 0 16px!important;
 border-bottom:1px solid #cdbf9f!important;
}
html:root:root body.ka-science-unit-index .ka-unit-section-links a{
 display:inline-flex!important;justify-content:center!important;align-items:center!important;
 min-height:42px!important;padding:8px 13px!important;
 border:1px solid #cdbf9f!important;border-radius:7px!important;
 background:#fffdf8!important;color:#27302d!important;
 -webkit-text-fill-color:#27302d!important;text-decoration:none!important;
 font:400 16px/1.4 Nunito,Arial,sans-serif!important;
}
html:root:root body.ka-science-unit-index .ka-unit-section-links a:is(:hover,:focus-visible){
 border-color:#b8995c!important;background:#f7f1e5!important;
}
html:root:root body.ka-science-unit-index .unit-hero{
 padding:clamp(40px,6vw,80px) 20px!important;
 background:linear-gradient(180deg,#fffdf8,#f4f0e7)!important;
 border-bottom:1px solid #cdbf9f!important;
}
html:root:root body.ka-science-unit-index .academy-eyebrow{
 display:block!important;margin:0 auto 12px!important;
 font:400 clamp(24px,3vw,33px)/1.3 Cinzel,Georgia,serif!important;
 color:#76592e!important;-webkit-text-fill-color:#76592e!important;
 text-align:center!important;text-transform:none!important;letter-spacing:.01em!important;
}
html:root:root body.ka-science-unit-index .unit-hero .eyebrow{
 font:400 clamp(18px,2vw,24px)/1.45 Cinzel,Georgia,serif!important;
 color:#76592e!important;-webkit-text-fill-color:#76592e!important;
 text-align:center!important;letter-spacing:.02em!important;
}
html:root:root body.ka-science-unit-index .unit-hero h1{
 max-width:1060px!important;margin:0 auto 22px!important;
 font:400 clamp(34px,4.8vw,55px)/1.2 Cinzel,Georgia,serif!important;
 color:#27302d!important;-webkit-text-fill-color:#27302d!important;
 text-align:center!important;overflow-wrap:anywhere!important;
}
html:root:root body.ka-science-unit-index .unit-lead{
 max-width:900px!important;margin:0 auto!important;
 font:400 18px/1.75 Nunito,Arial,sans-serif!important;
 color:#47544b!important;-webkit-text-fill-color:#47544b!important;
 text-align:center!important;
}
html:root:root body.ka-science-unit-index :is(.snapshot-item,.action-group,.card,.week-block,.requirement,.resource-card){
 border-radius:7px!important;border-color:#cdbf9f!important;background:#fffdf8!important;
 box-shadow:none!important;color:#27302d!important;
}
html:root:root body.ka-science-unit-index :is(.unit-snapshot,.unit-actions,.day-grid,.resource-grid){
 gap:14px!important;
}
html:root:root body.ka-science-unit-index :is(.btn,.nav-button,.day-card){
 border-radius:7px!important;
}
html:root:root body.ka-science-unit-index .btn{
 min-height:46px!important;font:400 16px/1.45 Nunito,Arial,sans-serif!important;
 border:1px solid #b8995c!important;background:#202724!important;
 color:#fff8e9!important;-webkit-text-fill-color:#fff8e9!important;
}
html:root:root body.ka-science-unit-index .btn:is(:hover,:focus-visible){
 background:#34463c!important;color:#fff8e9!important;-webkit-text-fill-color:#fff8e9!important;
}
html:root:root body.ka-science-unit-index .day-card{
 border:1px solid #cdbf9f!important;
 color:#27302d!important;-webkit-text-fill-color:#27302d!important;
}
html:root:root body.ka-science-unit-index :is(.section-head h2,.progress-card h2){
 font:400 clamp(27px,3.5vw,40px)/1.35 Cinzel,Georgia,serif!important;
 color:#27302d!important;-webkit-text-fill-color:#27302d!important;
 text-align:center!important;
}
html:root:root body.ka-science-unit-index :is(.section-head p,.day-card p,.resource-card p,.action-group-label,.snapshot-item span,.progress-text,.requirement span){
 color:#47544b!important;-webkit-text-fill-color:#47544b!important;
 font-size:max(16px,1em)!important;line-height:1.6!important;
}
html:root:root body.ka-science-unit-index .footer{
 background:#202724!important;color:#fff8e9!important;
 text-align:center!important;padding:28px 18px!important;
}
html:root:root body.ka-science-unit-index .footer .footer-inner{
 display:flex!important;align-items:center!important;justify-content:center!important;
 flex-wrap:wrap!important;gap:10px!important;
}
html:root:root body.ka-science-unit-index .footer :is(span,a){
 font:400 16px/1.5 Nunito,Arial,sans-serif!important;
 color:#fff8e9!important;-webkit-text-fill-color:#fff8e9!important;
}
@media(max-width:800px){
 html:root:root body.ka-science-unit-index .unit-snapshot{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html:root:root body.ka-science-unit-index .unit-actions{grid-template-columns:1fr!important}
 html:root:root body.ka-science-unit-index .ka-unit-section-links a{flex:1 1 160px!important}
}
@media(max-width:460px){
 html:root:root body.ka-science-unit-index .unit-snapshot{grid-template-columns:1fr 1fr!important}
 html:root:root body.ka-science-unit-index .unit-hero{padding:32px 12px!important}
}
}
@media print{
 body.ka-science-unit-index .ka-unit-section-links,body.ka-science-unit-index #vnvHeaderAutoPopulate,
 body.ka-science-unit-index .course-breadcrumb{display:none!important}
 body.ka-science-unit-index .unit-hero{background:white!important}
}

/* LP04A — approved Unit 00 presentation, explicitly opted in by Units 01–06. */
@media screen{
html:root:root body.ka-science-unit-index.ka-science-lp04a{display:flex;flex-direction:column;min-height:100dvh;color-scheme:light}
html:root:root body.ka-science-lp04a main{flex:1 0 auto;width:100%;min-width:0;background:#f4f0e7!important}
html:root:root body.ka-science-lp04a #vnvHeaderAutoPopulate{background:#f4f0e7!important;color:#202724!important;-webkit-text-fill-color:#202724!important;border-top:0!important}
html:root:root body.ka-science-lp04a #vnvHeaderAutoPopulate .vnv-header-inner{min-height:54px!important;padding:5px 11px!important}
html:root:root body.ka-science-lp04a #vnvHeaderAutoPopulate :is(.vnv-header-title,.vnv-header-subtitle,.vnv-header-home){color:#202724!important;-webkit-text-fill-color:#202724!important;font-size:16px!important}
html:root:root body.ka-science-lp04a #vnvHeaderAutoPopulate :is(.vnv-header-logo,.vnv-header-menu-button){box-sizing:border-box!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;flex:0 0 44px!important;border-radius:7px!important}
html:root:root body.ka-science-lp04a:has(#vnvHeaderAutoPopulate .vnv-header-menu-button) :is(#vnvEcosystemMenuButton,#vnvEnrichedMenuButton,#khaeLocalEcosystemToggle){display:none!important}
html:root:root body.ka-science-lp04a .course-breadcrumb{position:relative!important;display:block!important;inset:auto!important}
html:root:root body.ka-science-lp04a main>.unit-hero{background:#243038!important;padding:32px 16px!important;border:0!important;margin:0 0 20px!important}
html:root:root body.ka-science-lp04a main>.unit-hero>.unit-shell{box-sizing:border-box!important;width:min(100%,1200px)!important;max-width:1200px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
html:root:root body.ka-science-lp04a .unit-hero :is(.academy-eyebrow,.eyebrow){color:#e9c989!important;-webkit-text-fill-color:#e9c989!important;text-align:center!important}
html:root:root body.ka-science-lp04a .unit-hero .academy-eyebrow{font:400 clamp(24px,4vw,33px)/1.3 Cinzel,Georgia,serif!important}
html:root:root body.ka-science-lp04a .unit-hero h1{font:400 clamp(34px,6vw,66px)/1.2 Cinzel,Georgia,serif!important;color:#fff8e9!important;-webkit-text-fill-color:#fff8e9!important}
html:root:root body.ka-science-lp04a .unit-hero .unit-lead{font:400 clamp(18px,2vw,24px)/1.55 Nunito,Arial,sans-serif!important;color:#fff8e9!important;-webkit-text-fill-color:#fff8e9!important}
html:root:root body.ka-science-lp04a .readiness-access{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:780px;margin:24px auto 0}
html:root:root body.ka-science-lp04a .readiness-access .btn{border:1px solid #cdbf9f!important;background:transparent!important;min-height:44px!important}
html:root:root body.ka-science-lp04a main>.ka-unit-overview,html:root:root body.ka-science-lp04a main>.ka-unit-resource-disclosure,html:root:root body.ka-science-lp04a main>section:not(.unit-hero)>.unit-shell{box-sizing:border-box!important;width:min(calc(100% - 32px),1200px)!important;max-width:1200px!important;margin:20px auto!important;padding:clamp(16px,3vw,30px)!important;background:#fffdf8!important;color:#202724!important;border:1px solid #cdbf9f!important;border-radius:7px!important}
html:root:root body.ka-science-lp04a main>section:not(.unit-hero):not(.ka-unit-overview){padding:0!important;background:transparent!important;border:0!important}
html:root:root body.ka-science-lp04a .ka-unit-overview>h2{font:400 28px/1.4 Cinzel,Georgia,serif!important;color:#202724!important;text-align:center!important}
html:root:root body.ka-science-lp04a .unit-snapshot{margin:14px auto!important}
html:root:root body.ka-science-lp04a .unit-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
html:root:root body.ka-science-lp04a .action-group{display:flex;flex-direction:column;min-width:0}
html:root:root body.ka-science-lp04a .action-group-links{display:grid!important;grid-template-columns:minmax(0,1fr);gap:8px}
html:root:root body.ka-science-lp04a .action-group-links>.btn{width:100%!important;min-height:44px!important}
html:root:root body.ka-science-lp04a .day-card>span:last-child:not(.day-number){display:block;margin-top:auto!important;padding:10px!important;background:#243038!important;color:#fff8e9!important;-webkit-text-fill-color:#fff8e9!important;border-radius:7px!important;font-size:16px!important}
html:root:root body.ka-science-lp04a .requirement[data-complete="true"]{background:#e7f0e5!important;border-color:#426b51!important}
html:root:root body.ka-science-lp04a :is(.requirement strong,.requirement span,.mastery-note,.day-card h3,.resource-card h3){color:#202724!important;-webkit-text-fill-color:#202724!important}
html:root:root body.ka-science-lp04a .ka-unit-resource-disclosure>summary{font-size:20px!important;cursor:pointer;padding:12px;color:#202724!important}
html:root:root body.ka-science-lp04a :is(#scienceProtoolsDock,#scienceIntegrationDock){box-sizing:border-box!important;width:100%!important;max-width:none!important;margin:12px auto!important;padding:16px!important;background:#fffdf8!important;color:#202724!important;border:1px solid #cdbf9f!important;border-radius:7px!important}
html:root:root body.ka-science-lp04a :is(#scienceProtoolsDock,#scienceIntegrationDock) :is(h2,h3,p,strong,span,b){color:#202724!important;-webkit-text-fill-color:#202724!important;font-weight:400!important}
html:root:root body.ka-science-lp04a :is(.science-protool-card,.science-tool-card,.science-protools-flow){background:#f4f0e7!important;color:#202724!important;border:1px solid #cdbf9f!important;border-radius:7px!important}
html:root:root body.ka-science-lp04a #vnvClassToolsToolbar{background:transparent!important;border:0!important;box-shadow:none!important}
html:root:root body.ka-science-lp04a #vnvClassToolsToolbar:has(>#vnvClassToolsToggle[aria-expanded="false"]){width:72px!important;min-width:0!important}
html:root:root body.ka-science-lp04a #vnvClassToolsToolbar #vnvClassToolsPanel[hidden]{display:none!important}
html:root:root body.ka-science-lp04a .footer{margin-top:auto!important}
html:root:root body.ka-science-lp04a .footer .footer-inner span{font-size:14px!important}
@media(max-width:800px){html:root:root body.ka-science-lp04a .unit-actions{grid-template-columns:1fr!important}}
@media(max-width:600px){html:root:root body.ka-science-lp04a .readiness-access{grid-template-columns:1fr!important}}
}

/* LP04A shell proof: edge-to-edge footer and matched collapsed controls. */
@media screen{
html:root:root body.ka-science-lp04a>footer.footer{box-sizing:border-box!important;width:100%!important;max-width:none!important;margin: auto 0 0!important;border-radius:0!important}
html:root:root body.ka-science-lp04a #vnvClassToolsToggle,html:root:root body.ka-science-lp04a #vnvEcosystemDockToggle[aria-expanded="false"]{box-sizing:border-box!important;width:72px!important;min-width:72px!important;max-width:72px!important;height:44px!important;min-height:44px!important;max-height:44px!important;border-radius:7px!important}
html:root:root body.ka-science-lp04a #vnvClassToolsToolbar{left:max(12px,env(safe-area-inset-left))!important;bottom:max(12px,env(safe-area-inset-bottom))!important}
}

/* LP04A.2 — native unit action disclosures, six-card week grids and static research content. */
@media screen{
html:root:root body.ka-science-unit-index.ka-science-lp04a .unit-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;width:100%!important;max-width:960px!important;margin:22px auto 0!important}
html:root:root body.ka-science-unit-index.ka-science-lp04a .unit-actions>details.action-group{display:block!important;box-sizing:border-box!important;width:100%!important;min-height:0!important;padding:0!important;border:1px solid #cdbf9f!important;border-radius:7px!important;overflow:hidden}
html:root:root body.ka-science-unit-index.ka-science-lp04a .unit-actions>details.action-group>summary,html:root:root body.ka-science-unit-index.ka-science-lp04a .ka-unit-resource-disclosure>summary{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px;box-sizing:border-box!important;min-height:52px!important;padding:12px 18px!important;margin:0!important;background:#243038!important;color:#fff8e9!important;-webkit-text-fill-color:#fff8e9!important;border:0!important;border-radius:7px!important;cursor:pointer;list-style:none;font:400 18px/1.5 Nunito,Arial,sans-serif!important;text-align:left!important}
html:root:root body.ka-science-unit-index.ka-science-lp04a :is(.action-group,.ka-unit-resource-disclosure)>summary::-webkit-details-marker{display:none}
html:root:root body.ka-science-unit-index.ka-science-lp04a :is(.action-group,.ka-unit-resource-disclosure)>summary::after{content:"+";flex:0 0 22px;text-align:center;color:#fff8e9!important;-webkit-text-fill-color:#fff8e9!important;font:400 24px/1 Nunito,Arial,sans-serif}
html:root:root body.ka-science-unit-index.ka-science-lp04a :is(.action-group,.ka-unit-resource-disclosure)[open]>summary::after{content:"−"}
html:root:root body.ka-science-unit-index.ka-science-lp04a :is(.action-group,.ka-unit-resource-disclosure)>summary:focus-visible{outline:3px solid #b8995c;outline-offset:-4px}
html:root:root body.ka-science-unit-index.ka-science-lp04a .action-group:not([open])>.action-group-links{display:none!important}
html:root:root body.ka-science-unit-index.ka-science-lp04a .action-group[open]>.action-group-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding:14px!important}
html:root:root body.ka-science-unit-index.ka-science-lp04a .action-group-links>.btn{box-sizing:border-box!important;min-height:44px!important;width:100%!important;justify-content:center!important;text-align:center!important}
html:root:root body.ka-science-unit-index.ka-science-lp04a .action-group-links>.btn:only-child{grid-column:1/-1}
html:root:root body.ka-science-unit-index.ka-science-lp04a .week-block .day-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;justify-items:stretch!important;align-items:stretch!important}
html:root:root body.ka-science-unit-index.ka-science-lp04a .week-block .day-grid>.day-card{grid-column:auto!important;width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;padding:18px!important;text-align:center!important}
html:root:root body.ka-science-unit-index.ka-science-lp04a .day-card>:is(.day-number,.n){display:grid!important;place-items:center!important;box-sizing:border-box!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:0 auto 12px!important;padding:0!important;border-radius:7px!important;background:#243038!important;color:#fff8e9!important;-webkit-text-fill-color:#fff8e9!important;font:400 18px/1 Nunito,Arial,sans-serif!important;opacity:1!important}
html:root:root body.ka-science-unit-index.ka-science-lp04a .day-card>:is(.day-number,.n) *{color:#fff8e9!important;-webkit-text-fill-color:#fff8e9!important;fill:currentColor!important}
html:root:root body.ka-science-unit-index.ka-science-lp04a .day-card>a,html:root:root body.ka-science-unit-index.ka-science-lp04a a.day-card>span:last-child{width:100%!important;box-sizing:border-box!important;margin-top:auto!important}
html:root:root body.ka-science-unit-index.ka-science-lp04a .ka-week-review{background:#f7f1e5!important}
html:root:root body.ka-science-unit-index.ka-science-lp04a .ka-week-review-notes{width:100%;margin-top:auto!important}
html:root:root body.ka-science-unit-index.ka-science-lp04a .ka-week-review-notes>summary{box-sizing:border-box;display:block;min-height:44px;padding:10px;border-radius:7px;background:#243038!important;color:#fff8e9!important;-webkit-text-fill-color:#fff8e9!important;font:400 16px/1.5 Nunito,Arial,sans-serif!important;cursor:pointer;text-align:center}
html:root:root body.ka-science-unit-index.ka-science-lp04a .ka-week-review-notes>summary::after{content:" +"}
html:root:root body.ka-science-unit-index.ka-science-lp04a .ka-week-review-notes[open]>summary::after{content:" −"}
html:root:root body.ka-science-unit-index.ka-science-lp04a .ka-unit-resource-disclosure #scienceProtoolsDock{box-sizing:border-box!important;width:100%!important;max-width:none!important;margin:14px 0 0!important}
html:root:root body.ka-science-unit-index.ka-science-lp04a .science-protools-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:16px 0!important}
html:root:root body.ka-science-unit-index.ka-science-lp04a .science-protool-card{display:flex!important;flex-direction:column!important;gap:10px!important;padding:18px!important;min-width:0!important;text-decoration:none!important}
html:root:root body.ka-science-unit-index.ka-science-lp04a .science-protool-card :is(span,strong),html:root:root body.ka-science-unit-index.ka-science-lp04a .science-protools-flow :is(span,b,strong){font-size:16px!important;line-height:1.6!important;color:#202724!important;-webkit-text-fill-color:#202724!important}
html:root:root body.ka-science-unit-index.ka-science-lp04a .science-protools-flow{display:flex!important;flex-wrap:wrap!important;gap:10px!important;padding:14px!important}
html:root:root body.ka-science-unit-index.ka-science-lp04a .science-protools-head{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;gap:12px}
html:root:root body.ka-science-unit-index.ka-science-lp04a .science-protool-card:is(:hover,:focus-visible){outline:2px solid #b8995c;outline-offset:2px}
@media(max-width:900px){html:root:root body.ka-science-unit-index.ka-science-lp04a :is(.week-block .day-grid,.science-protools-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){html:root:root body.ka-science-unit-index.ka-science-lp04a :is(.week-block .day-grid,.science-protools-grid,.action-group[open]>.action-group-links){grid-template-columns:minmax(0,1fr)!important}}
}
