/* Grade 01 landing page · first visual refinement · 2026-11-17
   Scoped to this grade index only; no lesson/mastery/record state changes. */
body.grade01-layout-v2{
  --grade01-max:1280px;
  background:#faf6ed;
  color:#243038;
}
body.grade01-layout-v2 :is(.hero,.section) > .shell{
  width:min(var(--grade01-max),calc(100% - 48px))!important;
  max-width:var(--grade01-max)!important;
  margin-inline:auto!important;
}
body.grade01-layout-v2 .hero{
  padding:44px 0 30px;
  text-align:center;
}
body.grade01-layout-v2 .hero .shell > .grid{
  margin-top:28px!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:24px!important;
  align-items:stretch;
}
body.grade01-layout-v2 .hero .shell > .grid > :is(.span8,.span4){
  grid-column:auto!important;
  width:100%!important;
  min-width:0;
  text-align:center;
}
body.grade01-layout-v2 .hero .shell > .grid > .card{
  min-height:270px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:28px;
}
body.grade01-layout-v2 :is(.card,.lesson,.week-card,.notice){
  border-radius:7px;
  box-shadow:0 7px 22px rgba(24,34,56,.07);
}
body.grade01-layout-v2 .hero .actions{
  justify-content:center;
  gap:10px;
  margin-top:18px;
}
body.grade01-layout-v2 :is(.hero,.section) p,
body.grade01-layout-v2 :is(.hero,.section) a,
body.grade01-layout-v2 :is(.hero,.section) button,
body.grade01-layout-v2 :is(.hero,.section) span,
body.grade01-layout-v2 :is(.hero,.section) .kicker,
body.grade01-layout-v2 :is(.hero,.section) .badge{
  font-size:max(16px,1em);
  line-height:1.55;
}
body.grade01-layout-v2 .hero .button,
body.grade01-layout-v2 #weeksGrid .button{
  min-height:46px;
  border-radius:7px;
  padding:10px 16px;
  font-weight:400;
}
body.grade01-layout-v2 .hero .shell > .grid .progressbar{
  width:100%;
  max-width:460px;
  margin:14px auto;
}
body.grade01-layout-v2 .section{
  padding:38px 0;
}
body.grade01-layout-v2 .section > .shell > h2{
  text-align:center;
  margin:0 auto 26px;
}
body.grade01-layout-v2 #weeksGrid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  align-items:stretch;
}
body.grade01-layout-v2 #weeksGrid > .card{
  grid-column:auto!important;
  min-width:0;
  height:100%;
  padding:26px;
  display:flex;
  flex-direction:column;
  text-align:center;
}
body.grade01-layout-v2 #weeksGrid h3{
  overflow-wrap:anywhere;
  margin:16px auto;
}
body.grade01-layout-v2 #weeksGrid .actions{
  justify-content:center;
  margin-top:auto;
  padding-top:18px;
}
body.grade01-layout-v2 #weeksGrid .locked{
  opacity:1!important;
  filter:none!important;
  background:#f4f0e8;
  border-color:#b7ab94;
}
body.grade01-layout-v2 #weeksGrid .locked :is(h3,p,strong,span,a){
  color:#37414b!important;
}
body.grade01-layout-v2 #weeksGrid .locked .badge{
  background:#e9e2d4;
  white-space:normal;
}
body.grade01-layout-v2 #grade01FamilyReporting > .shell > .card{
  max-width:none;
  padding:30px!important;
}
@media(max-width:980px){
  body.grade01-layout-v2 #weeksGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  body.grade01-layout-v2 :is(.hero,.section) > .shell{width:calc(100% - 28px)!important}
  body.grade01-layout-v2 .hero .shell > .grid{grid-template-columns:1fr!important;gap:16px!important}
  body.grade01-layout-v2 .hero .shell > .grid > .card{min-height:0;padding:22px}
}
@media(max-width:560px){
  body.grade01-layout-v2 #weeksGrid{grid-template-columns:1fr!important}
  body.grade01-layout-v2 #weeksGrid > .card{padding:22px}
}
@media print{
  body.grade01-layout-v2 #weeksGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* 36-week path: native, keyboard-accessible details; CLOSED by default. */
body.grade01-layout-v2 #grade01WeekPath .grade01-week-details{
  border:1px solid #b7ab94;
  border-radius:7px;
  background:#fffdf8;
  overflow:clip;
}
body.grade01-layout-v2 #grade01WeekPath .grade01-week-details > summary{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  min-height:90px;
  padding:20px 28px;
  cursor:pointer;
  list-style:none;
  text-align:center;
  color:#243038;
}
body.grade01-layout-v2 #grade01WeekPath .grade01-week-details > summary::-webkit-details-marker{
  display:none;
}
body.grade01-layout-v2 #grade01WeekPath .grade01-week-details > summary:focus-visible{
  outline:3px solid #b48b45;
  outline-offset:-4px;
}
body.grade01-layout-v2 #grade01WeekPath .grade01-week-summary-copy{
  display:grid;
  gap:4px;
  min-width:0;
}
body.grade01-layout-v2 #grade01WeekPath .grade01-week-summary-title{
  font:400 33px/1.2 Cinzel,Georgia,serif!important;
  color:#243038;
}
body.grade01-layout-v2 #grade01WeekPath .grade01-week-summary-hint{
  font:400 16px/1.5 "Brandon Grotesque",Nunito,Arial,sans-serif!important;
  color:#536072;
}
body.grade01-layout-v2 #grade01WeekPath .grade01-week-chevron{
  font:400 33px/1 Cinzel,Georgia,serif!important;
  transform:rotate(0deg);
  transition:transform 160ms ease;
}
body.grade01-layout-v2 #grade01WeekPath .grade01-week-details[open] .grade01-week-chevron{
  transform:rotate(180deg);
}
body.grade01-layout-v2 #grade01WeekPath #weeksGrid{
  padding:22px;
}
body.grade01-layout-v2 footer.footer{
  margin-top:auto;
  text-align:center;
  background:#243038;
  color:#fff8e9;
  border-top:1px solid #b48b45;
  padding:30px 20px;
  font:400 16px/1.6 "Brandon Grotesque",Nunito,Arial,sans-serif;
}
@media(max-width:560px){
  body.grade01-layout-v2 #grade01WeekPath .grade01-week-details > summary{
    padding:18px 12px;
    gap:10px;
  }
  body.grade01-layout-v2 #grade01WeekPath .grade01-week-summary-title{
    font-size:24px!important;
  }
  body.grade01-layout-v2 #grade01WeekPath #weeksGrid{
    padding:12px;
  }
}
@media(prefers-reduced-motion:reduce){
  body.grade01-layout-v2 #grade01WeekPath .grade01-week-chevron{
    transition:none;
  }
}
@media print{
  body.grade01-layout-v2 #grade01WeekPath .grade01-week-details > summary{
    display:none!important;
  }
}
