.classroom-intro,.chapter-intro{padding-block:3rem}
.classroom-intro h1,.chapter-intro h1{font-size:3.375rem;line-height:1.15;max-width:25ch}
.classroom-intro h1>span{color:var(--accent)}
.classroom-intro>p:not(.eyebrow),.chapter-intro>p:not(.eyebrow){max-width:80ch;color:#bfd4de;margin-top:1.5rem}
.classroom-progress{display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap;background:#12313e;border:1px solid #4c7a87;padding:1.75rem;margin-top:2rem}
.classroom-progress>div{flex:1;min-width:0}
.classroom-progress label{display:block;font-size:1.125rem;margin-bottom:.75rem}
.classroom-progress progress{display:block;width:100%;min-width:10rem;height:1rem;accent-color:var(--accent)}
.classroom-progress p{font-size:1rem;color:#bfd4de;margin-top:.75rem}
.classroom-progress .button{margin:0}
.room-group{padding-block:2.5rem;border-top:1px solid #3e5b68}
.room-group h2{font-size:2rem;margin-bottom:1.75rem}
.classroom-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
.classroom-module{padding:1.75rem;background:#0f2733;border:1px solid #3d5b68;display:flex;flex-direction:column;min-width:0}
.classroom-module h3{font-size:1.5rem;line-height:1.4;margin-block:1rem}
.classroom-module h3 a:hover{color:var(--accent)}
.classroom-module>p:not(.course-code){color:#b9d0db;line-height:1.7}
.classroom-module .text-link{align-self:flex-start;margin-top:auto;padding-top:1.5rem;color:var(--accent)}
.classroom-module .module-progress{margin-top:1rem;font-size:1rem;color:#d1ece5!important}
.classroom-module.module-complete{border-color:#71d6be}
.chapter-toc,.chapter-paging,.lab-index{position:static!important;inset:auto!important;height:auto!important;max-height:none!important;width:auto;overflow:visible!important;flex-direction:row;background:transparent}
.chapter-toc{display:flex!important;flex-wrap:wrap;gap:.5rem 1.75rem;margin:2rem 0 0!important;padding:1rem 0;border-block:1px solid #3f5b68}
.chapter-toc a{font-size:1rem!important;line-height:1.6;padding:.5rem 0!important;color:var(--accent);border:0!important}
.chapter-toc a::after{display:none}
.study-chapter{padding-block:3rem;border-top:1px solid #486875;scroll-margin-top:7rem}
.study-chapter>h2{font-size:2.375rem;margin-top:1rem;line-height:1.25}
.chapter-prose{max-width:100%;min-width:0}
.chapter-prose>p{max-width:80ch;font-size:1.125rem;line-height:1.85;color:#c1d7df;margin-top:1.25rem}
.chapter-prose h3{font-size:1.5rem;line-height:1.4;margin:2rem 0 1rem}
.chapter-prose li{font-size:1.125rem;color:#c1d7df;line-height:1.8;margin-block:.75rem;max-width:85ch}
.chapter-prose .code-walkthrough li{max-width:none;margin-block:0}
.chapter-references a{color:var(--accent);text-decoration:underline;text-underline-offset:.25rem;overflow-wrap:anywhere}
.study-completion{border:1px solid #4e7a83;background:#12313c;padding:1rem 1.25rem;margin-top:2rem}
.study-completion label{display:flex;align-items:flex-start;gap:.8rem;font-size:1.125rem;line-height:1.7;cursor:pointer}
.study-completion input{appearance:auto;width:1.25rem;height:1.25rem;flex-shrink:0;margin-top:.3rem;accent-color:var(--accent)}
.chapter-paging{display:flex!important;justify-content:space-between;align-items:center;gap:1.5rem;flex-wrap:wrap;padding-block:2rem!important;margin:0!important;border-top:1px solid #486875}
.chapter-paging .button{margin:0}
.progress-reset{padding-block:2rem}
.progress-reset details{border-top:1px solid #3d5c68;padding-top:1rem}
.progress-reset summary{cursor:pointer;color:var(--muted);font-size:1rem}
.progress-reset p{color:var(--muted);font-size:1rem;margin-block:1rem}
@media(max-width:55em){.classroom-grid{grid-template-columns:1fr}.classroom-intro h1,.chapter-intro h1{font-size:2.75rem}.classroom-module{padding:1.5rem}.study-chapter>h2{font-size:2rem}}
@media(max-width:40em){.classroom-intro,.chapter-intro{padding-block:2rem}.classroom-intro h1,.chapter-intro h1{font-size:2.25rem}.classroom-progress{padding:1.25rem}.classroom-progress .button{width:100%;justify-content:center}.classroom-progress>div{flex-basis:100%}.classroom-progress progress{min-width:0}.study-chapter{padding-block:2rem}.study-chapter>h2{font-size:1.875rem}.chapter-prose h3{font-size:1.375rem}.chapter-paging{align-items:stretch;flex-direction:column}}
