
/* Phase 1 unified student presentation; no changes to teacher or practice data. */
.eld-student-menu,.eld-graded-sidebar{background:linear-gradient(155deg,#006b70,#07354a)!important;color:#fff!important;border:0!important;border-radius:15px!important;padding:13px!important;box-sizing:border-box;box-shadow:0 3px 14px #123b4b22}
.eld-student-menu .eld-course-tile,.eld-graded-sidebar .eld-sidebar-course{background:#ffffff1a!important;border:1px solid #ffffff55!important;border-radius:9px!important;padding:14px!important;color:white!important;margin-bottom:15px!important;font-size:16px!important}
.eld-student-menu .eld-side-link,.eld-graded-sidebar a{display:block!important;width:100%!important;box-sizing:border-box!important;background:transparent!important;border:0!important;border-radius:8px!important;color:white!important;text-align:left!important;padding:13px 12px!important;margin:4px 0!important;font:700 15px/1.35 Arial,sans-serif!important;text-decoration:none!important;cursor:pointer}
.eld-student-menu .eld-side-link:hover,.eld-graded-sidebar a:hover{background:#ffffff24!important}
.eld-student-menu .eld-side-link[aria-current=page],.eld-graded-sidebar a[aria-current=page]{background:#ffcf4d!important;color:#092f44!important}
.eld-student-menu .eld-chevron{display:none!important}
.eld-student-menu .eld-course-tile strong{font-size:16px!important}
.eld-student-menu .eld-course-tile span{font-size:13px!important}
.eld-banner{min-height:175px;background:#f5f0e5 url('/phase1-village-background.jpg') center/cover no-repeat;border-radius:0 0 12px 12px;display:flex;align-items:center;justify-content:center;text-align:center;box-sizing:border-box;padding:18px 15px}
.eld-banner-copy{display:flex;flex-direction:column;align-items:center;gap:3px;text-shadow:0 1px 2px #fff9}
.eld-banner-welcome{font:italic 700 clamp(35px,5vw,70px)/1.02 Georgia,serif;color:#073c58}
.eld-banner-course{font:700 clamp(14px,1.8vw,24px)/1.25 Arial,sans-serif;color:#0a2d4a}
.eld-banner-motto{background:#fff3d7e8;border-radius:22px;padding:5px 16px;margin-top:6px;font:italic 600 clamp(10px,1.1vw,15px)/1.4 Georgia,serif;color:#263e4c}
body.eld-student-home #eld-top-navigation .eld-nav-buttons a:not([href$='/connected/account.html']){display:none!important}
@media(max-width:850px){.eld-banner{min-height:140px}.eld-banner-welcome{font-size:37px}}

body.eld-student-home.eld-library-view #eld-library-side-navigation{position:sticky;top:12px;max-width:255px;margin:14px 2% 0 0!important;float:left!important;width:23%!important}
body.eld-student-home.eld-library-view #library{width:74%!important;float:right!important;display:block!important}
body.eld-student-home.eld-library-view #library .library-tabs,body.eld-student-home.eld-library-view #library .eld-back-home{display:none!important}
@media(max-width:849px){body.eld-student-home.eld-library-view #eld-library-side-navigation,body.eld-student-home.eld-library-view #library{float:none!important;width:100%!important;max-width:none!important}}

/* Phase 1 approved branded student dashboard, preserving functional app data. */
body.eld-student-home #eld-top-navigation{background:#fff!important;border-radius:0!important;margin:0!important;padding:9px 22px!important;box-shadow:0 2px 9px #163b4518!important}
body.eld-student-home #eld-top-navigation .eld-nav-label{color:#163d54!important;font-style:italic!important}
body.eld-student-home #eld-top-navigation .eld-nav-button{background:#00656b!important;color:#fff!important;border:0!important;border-radius:9px!important;padding:10px 18px!important}
body.eld-student-home #eld-top-navigation .eld-nav-brand img{background:transparent!important;width:185px!important;height:76px!important;object-fit:contain!important}
body.eld-student-home .wrap{max-width:1600px!important;padding:0 10px 26px!important}
body.eld-student-home .eld-home-grid{grid-template-columns:minmax(210px,255px) minmax(350px,1fr) minmax(220px,305px)!important;gap:13px!important;margin-top:14px!important}
body.eld-student-home .eld-banner{min-height:235px!important;border-radius:12px!important;background-image:linear-gradient(90deg,#ffffff00 0%,#ffffffe0 42%,#ffffffe0 62%,#ffffff00 100%),url('/phase1-village-background.jpg')!important;background-size:cover!important;background-position:center!important}
body.eld-student-home .eld-banner-welcome{color:#7a1520!important;font-size:clamp(44px,6vw,90px)!important;font-weight:700!important}
body.eld-student-home .eld-banner-course{font-family:Georgia,serif!important;font-size:clamp(20px,2.8vw,38px)!important;max-width:350px!important}
body.eld-student-home .eld-banner-motto{background:#00545a!important;color:white!important;border-radius:5px!important;padding:7px 20px!important;font-size:clamp(11px,1.3vw,17px)!important}
body.eld-student-home .eld-home-grid > aside.eld-student-menu{grid-row:1 / span 2;min-height:100%;position:relative}
body.eld-student-home .eld-home-grid > section.eld-panel{grid-column:2}
body.eld-student-home .eld-right-panel{grid-column:3!important;display:flex;flex-direction:column;gap:13px}
body.eld-student-home .eld-feature-card{background:#fff;border:1px solid #dfded4;border-radius:15px;padding:11px;box-shadow:0 3px 9px #123f4512}
body.eld-student-home .eld-feature-card h2{font-size:21px!important;color:#102b4c!important;margin:0 0 7px!important;padding:11px 13px!important;border-radius:10px;background:linear-gradient(90deg,#ffe3a2,#ffcf53)}
body.eld-student-home .eld-help-card h2{background:linear-gradient(90deg,#d5edff,#a9d9f9)}
body.eld-student-home .eld-feature-card h2 span{font-size:24px;margin-right:8px}
body.eld-student-home .eld-to-do{padding:0 10px!important}
body.eld-student-home .eld-to-do li{padding:10px 0!important;color:#162e49!important;font-size:14px!important}
body.eld-student-home .eld-to-do label{display:flex;gap:9px;align-items:flex-start;cursor:pointer}
body.eld-student-home .eld-to-do input{accent-color:#006c72;flex:none;width:17px;height:17px;margin:1px 0 0}
body.eld-student-home .eld-help-links{list-style:none;padding:0 9px;margin:0}
body.eld-student-home .eld-help-links li{border-bottom:1px solid #d5e3ee;padding:10px 0}
body.eld-student-home .eld-help-links li:last-child{border:0}
body.eld-student-home .eld-help-links button{background:none!important;border:0!important;color:#123c61!important;text-align:left;padding:0!important;font:inherit!important;cursor:pointer}
body.eld-student-home .eld-help-links button:hover{text-decoration:underline}
body.eld-student-home .eld-help-links span{display:inline-block;width:28px;color:#0d5480;font-size:20px;vertical-align:middle}
body.eld-student-home .eld-help-links p{margin:0;color:#123c61}
body.eld-student-home .eld-section-heading{background:linear-gradient(90deg,#00777c,#00565d)!important}
body.eld-student-home .eld-student-menu .eld-side-link{font-size:15px!important}
@media(max-width:1100px){body.eld-student-home .eld-home-grid{grid-template-columns:220px minmax(0,1fr)!important}body.eld-student-home .eld-right-panel{grid-column:2!important}}
@media(max-width:680px){body.eld-student-home .eld-home-grid{grid-template-columns:1fr!important}body.eld-student-home .eld-right-panel,body.eld-student-home .eld-home-grid > section.eld-panel{grid-column:1!important}body.eld-student-home .eld-banner{min-height:175px!important}body.eld-student-home .eld-banner-welcome{font-size:44px!important}}
@media print{body.eld-student-home .eld-right-panel{display:none!important}}

/* Phase 1 layout correction: approved three-column screenshot structure. */
body.eld-student-home #eld-student-home .eld-home-grid{display:grid!important;grid-template-columns:minmax(205px,255px) minmax(0,1fr) minmax(225px,305px)!important;grid-template-rows:auto auto!important;gap:14px!important;align-items:start!important;margin-top:12px!important}
body.eld-student-home #eld-student-home .eld-home-grid > .eld-student-menu{grid-column:1!important;grid-row:1 / 3!important;min-height:600px!important}
body.eld-student-home #eld-student-home .eld-home-grid > .eld-banner{grid-column:2 / 4!important;grid-row:1!important;width:100%!important;min-height:0!important;height:auto!important;aspect-ratio:1245/316!important;padding:0!important;border-radius:12px!important;background: url('/approved-dashboard-banner.png') center/100% 100% no-repeat!important;overflow:hidden!important}
body.eld-student-home #eld-student-home .eld-banner-copy{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important}
body.eld-student-home #eld-student-home .eld-home-grid > section.eld-panel{grid-column:2!important;grid-row:2!important;min-width:0!important}
body.eld-student-home #eld-student-home .eld-home-grid > .eld-right-panel{grid-column:3!important;grid-row:2!important;min-width:0!important}
body.eld-student-home #eld-student-home .eld-student-menu{align-self:stretch!important}
/* Keep legacy copyright/version text below the whole dashboard, never alongside its sidebar. */
body.eld-student-home .wrap{display:flow-root!important}
body.eld-student-home .wrap > footer,body.eld-student-home > footer{clear:both!important;display:block!important;float:none!important;width:100%!important;box-sizing:border-box!important;text-align:center!important;margin:22px auto 0!important;padding:14px 12px!important;position:relative!important;inset:auto!important;font-size:12px!important}
body.eld-student-home #eld-student-home{display:flow-root}
@media(max-width:1100px){body.eld-student-home #eld-student-home .eld-home-grid{grid-template-columns:210px minmax(0,1fr)!important}body.eld-student-home #eld-student-home .eld-home-grid > .eld-banner{grid-column:2!important}body.eld-student-home #eld-student-home .eld-home-grid > .eld-right-panel{grid-column:2!important;grid-row:3!important}body.eld-student-home #eld-student-home .eld-home-grid > .eld-student-menu{grid-row:1/4!important}}
@media(max-width:680px){body.eld-student-home #eld-student-home .eld-home-grid{grid-template-columns:minmax(0,1fr)!important}body.eld-student-home #eld-student-home .eld-home-grid > .eld-student-menu{grid-column:1!important;grid-row:1!important;min-height:0!important}body.eld-student-home #eld-student-home .eld-home-grid > .eld-banner{grid-column:1!important;grid-row:2!important}body.eld-student-home #eld-student-home .eld-home-grid > section.eld-panel{grid-column:1!important;grid-row:3!important}body.eld-student-home #eld-student-home .eld-home-grid > .eld-right-panel{grid-column:1!important;grid-row:4!important}}
@media print{body.eld-student-home #eld-student-home .eld-banner{background-image:none!important}}

/* Unified student module shell — exact same banner and menu in all four libraries. */
body.eld-student-home #eld-module-shell{display:none!important}
body.eld-student-home.eld-library-view #eld-module-shell{display:grid!important;grid-template-columns:minmax(205px,255px) minmax(0,1fr);gap:14px;align-items:start;margin:12px auto 0;max-width:1600px;width:100%;box-sizing:border-box}
body.eld-student-home.eld-library-view #eld-library-side-navigation{display:block!important;float:none!important;position:sticky!important;top:12px!important;max-width:none!important;width:100%!important;margin:0!important;min-height:580px;align-self:start}
body.eld-student-home.eld-library-view #eld-module-main{display:flex;flex-direction:column;min-width:0;gap:14px}
body.eld-student-home.eld-library-view #eld-module-banner{display:block!important;float:none!important;position:relative!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1245/316!important;margin:0!important;padding:0!important;border-radius:12px!important;background:#f7f0e9 url('/approved-dashboard-banner.png') center/100% 100% no-repeat!important;overflow:hidden!important}
body.eld-student-home.eld-library-view #eld-module-banner .eld-banner-copy{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important}
body.eld-student-home.eld-library-view #eld-module-main #library{float:none!important;clear:none!important;display:block!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;box-sizing:border-box}
body.eld-student-home.eld-library-view #eld-module-main #library .library-tabs,body.eld-student-home.eld-library-view #eld-module-main #library .eld-back-home{display:none!important}
body.eld-student-home.eld-library-view #mainHeader{display:none!important}
body.eld-student-home.eld-library-view .wrap{max-width:1600px!important;display:flow-root!important}
body.eld-student-home.eld-library-view .wrap > footer,body.eld-student-home.eld-library-view .eld-app-version,body.eld-student-home.eld-library-view .eld-legacy-copyright{clear:both!important;float:none!important;position:relative!important;display:block!important;width:100%!important;text-align:center!important;margin:22px auto 0!important;box-sizing:border-box!important}
/* Worksheet/test taking remains unobstructed: hide shell chrome during active work. */
body.eld-student-home.worksheet-open #eld-module-banner,body.eld-student-home.worksheet-open #eld-library-side-navigation{display:none!important}
body.eld-student-home.worksheet-open #eld-module-shell{display:block!important}
body.eld-student-home.worksheet-open #eld-module-main{display:block!important}
@media(max-width:850px){body.eld-student-home.eld-library-view #eld-module-shell{grid-template-columns:1fr!important}body.eld-student-home.eld-library-view #eld-library-side-navigation{position:static!important;min-height:0!important}}
@media print{body.eld-student-home #eld-module-banner,body.eld-student-home #eld-library-side-navigation{display:none!important}}

/* Phase 1 final: fixed student navigation and welcome artwork; only module results scroll.
   Desktop/tablet layout; narrow screens fall back to natural page scrolling. */
@media screen and (min-width:851px){
 html:has(body.eld-student-home),body.eld-student-home{height:100%;overflow:hidden!important}
 body.eld-student-home{display:flex!important;flex-direction:column!important;min-height:0!important}
 body.eld-student-home #eld-top-navigation{position:relative!important;flex:0 0 auto!important;z-index:55}
 body.eld-student-home .wrap{flex:1 1 auto!important;min-height:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
 body.eld-student-home #eld-student-home{height:100%!important;min-height:0!important;overflow:hidden!important;display:block!important}
 body.eld-student-home #eld-student-home .eld-home-grid{height:100%!important;min-height:0!important;grid-template-rows:max-content minmax(0,1fr)!important;overflow:hidden!important}
 body.eld-student-home #eld-student-home .eld-home-grid > .eld-student-menu{grid-row:1/3!important;overflow-y:auto!important;min-height:0!important;height:100%!important}
 body.eld-student-home #eld-student-home .eld-home-grid > section.eld-panel{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain}
 body.eld-student-home #eld-student-home .eld-home-grid > .eld-right-panel{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain}
 body.eld-student-home.eld-library-view #eld-module-shell{height:100%!important;min-height:0!important;overflow:hidden!important;grid-template-rows:minmax(0,1fr)!important;align-items:stretch!important}
 body.eld-student-home.eld-library-view #eld-library-side-navigation{height:100%!important;min-height:0!important;overflow-y:auto!important;position:relative!important;top:auto!important}
 body.eld-student-home.eld-library-view #eld-module-main{height:100%!important;min-height:0!important;overflow:hidden!important;display:grid!important;grid-template-rows:max-content minmax(0,1fr)!important;align-items:stretch!important}
 body.eld-student-home.eld-library-view #eld-module-banner{grid-row:1!important;align-self:start!important}
 body.eld-student-home.eld-library-view #eld-module-main #library{grid-row:2!important;min-height:0!important;max-height:100%!important;overflow-y:auto!important;overscroll-behavior:contain!important}
 /* Full-screen work remains usable; scroll the work content rather than the document. */
 body.eld-student-home.eld-library-view.worksheet-open #eld-module-shell{display:grid!important}
 body.eld-student-home.eld-library-view.worksheet-open #eld-module-main{display:grid!important}
 body.eld-student-home.eld-library-view.worksheet-open #eld-module-banner,body.eld-student-home.eld-library-view.worksheet-open #eld-library-side-navigation{display:block!important}
 body.eld-student-home .wrap > footer,body.eld-student-home .eld-app-version,body.eld-student-home .eld-legacy-copyright{display:none!important}
}
@media print{html:has(body.eld-student-home),body.eld-student-home{height:auto!important;overflow:visible!important}body.eld-student-home .wrap,body.eld-student-home #eld-module-shell,body.eld-student-home #eld-module-main,body.eld-student-home #library{height:auto!important;max-height:none!important;overflow:visible!important}}

/* Navigation regression fix: honor Home hidden state in fixed viewport layout.
   The previous #eld-student-home display:block!important overrode [hidden]. */
body.eld-student-home.eld-library-view #eld-student-home,
body.eld-student-home #eld-student-home[hidden]{display:none!important}
body.eld-student-home:not(.eld-library-view) #eld-module-shell{display:none!important}

/* Phase 1 final: Upcoming Work print-only report. Browser Print dialog supports Save as PDF. */
.eld-upcoming-print-controls{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.eld-upcoming-print-controls button{font-size:12px!important;padding:7px 10px!important;margin:0!important}
#eld-upcoming-print-report{display:none}
@media print{
 body.eld-print-upcoming-active > *:not(#eld-upcoming-print-report){display:none!important}
 body.eld-print-upcoming-active #eld-upcoming-print-report{display:block!important;position:static!important;overflow:visible!important;color:#173a42!important;background:white!important;padding:0!important;margin:0!important;font:10pt Arial,sans-serif!important}
 body.eld-print-upcoming-active{display:block!important;height:auto!important;overflow:visible!important}
 body.eld-print-upcoming-active #eld-upcoming-print-report .eld-upcoming-print-head{display:flex;align-items:center;gap:20px;border-bottom:2px solid #00686c;padding-bottom:12px;margin-bottom:16px}
 body.eld-print-upcoming-active #eld-upcoming-print-report img{width:175px;max-height:90px;object-fit:contain}
 body.eld-print-upcoming-active #eld-upcoming-print-report h1{font-size:19pt;margin:0 0 7px}
 body.eld-print-upcoming-active #eld-upcoming-print-report p{margin:4px 0}
 body.eld-print-upcoming-active #eld-upcoming-print-report table{border-collapse:collapse;width:100%;table-layout:fixed}
 body.eld-print-upcoming-active #eld-upcoming-print-report th,body.eld-print-upcoming-active #eld-upcoming-print-report td{border-bottom:1px solid #d2dfe1;text-align:left;padding:8px 7px;overflow-wrap:anywhere}
 body.eld-print-upcoming-active #eld-upcoming-print-report th{background:#eaf2f3!important}
 body.eld-print-upcoming-active #eld-upcoming-print-report footer{display:block!important;margin-top:25px;border-top:1px solid #ccc;padding-top:8px;font-size:8pt}
}
