/* The validated book shell, shared across the curriculum. Each atlas tile is shown alone. */
.en-chapter-art{display:block;width:100%;aspect-ratio:var(--scene-ratio,3/2);background-size:200% 400%;background-repeat:no-repeat;background-position:var(--atlas-x,0%) var(--atlas-y,0%);flex:none;overflow:hidden}
.en-reader .en-timeline-open>.en-chapter-art,.en-reader .en-pilot-scene>.en-chapter-art{border-radius:0;height:auto;min-height:0;aspect-ratio:var(--scene-ratio,3/2)}
.en-recall-art>.en-chapter-art,.en-mbook-picture>.en-chapter-art{border-radius:0;min-height:0;height:auto}
.en-reader .en-game-story>.en-chapter-art{height:auto;aspect-ratio:var(--scene-ratio,3/2);border-radius:0}
.en-lesson-compass{margin:4px 0 12px;padding:9px 13px;border-radius:12px;background:#fff3c7;color:#4a6271;font-size:12px;border:1px solid #eee0aa}
.en-lesson-compass summary{font-size:11px;line-height:1.5}.en-lesson-compass>p{font-size:13px;line-height:1.7;margin:10px 0}.en-lesson-compass>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.en-lesson-compass>div>p{font-size:14px;line-height:1.6;margin:4px 0}.en-lesson-compass small{font-size:11px;display:block;color:#7a8790}
body:has(.en-chapter-library)>header{display:none!important}body:has(.en-chapter-library){background:#f7f5ee}body:has(.en-chapter-library) main{max-width:1450px;margin:0 auto;padding:20px 24px 40px}
.en-chapter-library{color:#1b4c6c}.en-reader .en-chapter-library-heading,.en-chapter-library-heading{position:static;display:flex;justify-content:space-between;align-items:center;gap:20px;background:none;border:0;padding:12px 0 22px}
.en-chapter-library-heading h1{font:italic 800 clamp(29px,4vw,46px)/1.2 'Trebuchet MS',system-ui,sans-serif;letter-spacing:-1px;margin:0;color:#164e73}.en-chapter-library-heading h1>span{background:linear-gradient(transparent 55%,#ffe170 55%)}
.en-chapter-library-heading p{font-size:13px;line-height:1.7;color:#6c8392;margin:9px 0 0}.en-chapter-library button{font:650 12px/1.5 system-ui,sans-serif;min-height:38px;border-radius:18px;color:#2b6588;border-color:#c6dce8;padding:8px 13px}
.en-chapter-library-heading>button{flex:none;background:#fff9e5}
.en-chapter-shelves{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.en-chapter-cover{min-width:0;overflow:hidden;border:1px solid #cbdadd;border-radius:16px;background:#fffdf6;box-shadow:0 5px 17px #315b6512}
.en-chapter-cover-art{position:relative;overflow:hidden}.en-chapter-cover-art .en-book-artwork{display:block;width:100%;aspect-ratio:3/2;object-fit:contain}.en-chapter-cover-art>span{position:absolute;top:10px;left:10px;background:#ffe78d;padding:4px 10px;font-size:10px;font-weight:800;border-radius:16px;box-shadow:0 1px 5px #24444e20}
.en-chapter-cover-art>.en-chapter-art{aspect-ratio:var(--scene-ratio,3/2)}
body:has(.en-chapter-library) .rfc-install-trigger{display:none}
.en-chapter-cover-copy{padding:14px 16px 16px}.en-chapter-cover-copy h2{font:750 19px/1.3 system-ui,sans-serif;margin:0 0 7px;color:#204e6b}.en-chapter-cover-copy>p{font-size:11px;line-height:1.65;margin:0 0 12px;color:#708796}.en-chapter-library .en-chapter-cover-copy>button{background:#dceefe;border-color:#bbddef}
.en-chapter-unit-list{margin:11px 0 0;border-top:1px solid #e0e8e7;padding-top:10px}.en-chapter-unit-list>summary{font-size:11px;line-height:1.6;color:#6f8593}.en-chapter-unit-list>div{display:grid;gap:5px;padding-top:8px}.en-chapter-library .en-chapter-unit-list button{background:none;border:0;border-radius:8px;text-align:left;font-size:11px;padding:6px 4px;min-height:32px}
.en-chapter-unit-list button small{display:block;font-size:10px;font-weight:400;color:#718d97}.en-chapter-cover-copy>.en-chapter-progress{font-size:10px;color:#4f7c67;margin-bottom:10px}
.en-chapter-extras{margin-top:25px;border-top:1px solid #d4dfdf;padding-top:20px}.en-chapter-extras h2{font-size:20px;margin:0 0 12px}.en-chapter-extras>div{display:flex;gap:8px;flex-wrap:wrap}.en-chapter-extras p{font-size:12px;color:#738895}
.en-chapter-note{font-size:11px;line-height:1.7;color:#81919a;margin:20px 0 0}
@media(max-width:1000px){.en-chapter-shelves{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){body:has(.en-chapter-library) main{padding:14px 13px 30px}.en-chapter-library-heading{align-items:flex-start;flex-direction:column;gap:12px}.en-chapter-shelves{grid-template-columns:1fr;gap:17px}.en-lesson-compass>div{grid-template-columns:1fr}.en-chapter-cover-copy h2{font-size:20px}.en-chapter-cover-copy>p{font-size:12px}}
#notice{pointer-events:none}
