.lesson-story-modal{width:min(1100px,calc(100vw - 48px))!important;max-width:1100px!important;background:#fafbf5}.lesson-story-modal .modal-header{position:sticky;top:0;z-index:4;background:#fafbf5f5;backdrop-filter:blur(12px);padding:18px 28px;border-bottom:1px solid #dfe6d7;gap:16px}.lesson-story-modal .modal-header h2{font-size:14px;letter-spacing:0;line-height:1.5}.lesson-story-modal .modal-header>.icon-btn{width:44px;height:44px;flex-shrink:0}.lesson-story-modal .modal-body{padding:0 32px 28px}.lesson-story{color:#29483d;overflow-wrap:anywhere}.story-cover{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(220px,1fr);align-items:center;gap:25px;padding:38px 32px;background:#edf2e2;border:1px solid #dce5cf;border-radius:22px;margin-top:26px;position:relative;overflow:hidden}.story-kicker{font-size:9px;letter-spacing:2px;font-weight:800;color:#668159}.story-cover h2{font-size:clamp(28px,3.7vw,44px);font-weight:800;line-height:1.17;letter-spacing:-1.5px;margin:17px 0}.story-cover-copy>p{font-size:15px;line-height:1.8;color:#566d50;max-width:520px}.story-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:23px}.story-meta span{font-size:10px;line-height:1.6;background:#ffffff9c;color:#48633e;padding:6px 10px;border-radius:7px;border:1px solid #d7e1c9}.story-art svg{display:block;width:100%;height:auto;max-height:270px;animation:story-arrive .6s ease both}.story-art>span{display:block;text-align:center;font-size:7px;letter-spacing:1.7px;color:#789167;margin-top:8px}.story-intro{display:flex;align-items:center;gap:17px;margin:34px 6px 26px}.story-small-icon{width:44px;height:44px;background:#f4e7d7;color:#a7754b;border-radius:50%;display:grid;place-items:center;font-size:25px;flex-shrink:0}.story-intro h3{font-size:19px;margin:0 0 4px}.story-intro p{font-size:13px;color:#6f7e68;line-height:1.7}.story-index{display:flex;flex-wrap:wrap;gap:8px;padding:18px;background:#f1f3eb;border:1px solid #e2e6da;border-radius:14px;margin:0 0 24px}.story-index>span{width:100%;font-size:9px;letter-spacing:1.5px;color:#708065;font-weight:800;margin-bottom:3px}.story-index a{font-size:12px;line-height:1.6;padding:7px 11px;background:#fffdf7;border:1px solid #dde4d5;border-radius:8px;display:flex;align-items:center;gap:10px}.story-index a:hover{background:#e4edd7}.story-index a>span{color:#8a9b75}.story-sections{display:grid;gap:18px}.story-section{display:grid;grid-template-columns:34px minmax(0,1fr);gap:18px;background:#fffef9;border:1px solid #e0e6d7;border-radius:17px;padding:28px;scroll-margin-top:90px;min-width:0}.story-section-number{width:32px;height:32px;display:grid;place-items:center;font-size:10px;color:#728756;background:#f0f3e8;border-radius:9px;margin-top:3px}.story-section-copy{min-width:0;max-width:70ch}.story-section-copy h3{font-size:20px;line-height:1.5;letter-spacing:-.4px;margin:0 0 14px}.story-section-copy p,.story-section-copy li{font-size:16px;line-height:1.9;white-space:pre-wrap;color:#40564b}.story-section-copy p+p{margin-top:10px}.story-section-copy ul{padding-left:21px;margin:0}.story-section-copy li{padding-left:4px;margin:7px 0}.story-section-copy li::marker{color:#98ac78}.story-section-art{align-self:center;width:110px}.story-section-art svg{display:block;width:100%;height:auto}.story-vocabulary{background:#f2f3e7;border-color:#dce2c8}.story-closing{display:flex;justify-content:center;align-items:center;gap:16px;padding:34px 10px 10px;text-align:left}.story-closing>span{font-size:35px;color:#b88856}.story-closing p{font-size:12px;color:#7c8b70;line-height:1.8}.story-closing strong{display:block;font-size:15px;color:#46603d}.story-empty{padding:24px;color:#6c7e60}.lesson-story-modal .modal-footer{margin-top:28px;display:flex;flex-wrap:wrap;gap:10px}.lesson-story-modal .modal-footer .button{min-height:46px;font-size:12px;white-space:normal}.lesson-story-modal .pdf-reader-entry{background:#e9efdf}.lesson-story-modal .lesson-original-pdf small{color:#62774e}.lesson-story-modal .lesson-original-pdf p{color:#566d46}@keyframes story-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){.lesson-story-modal{width:100vw!important;height:100dvh!important;max-height:100dvh!important;max-width:none!important;border-radius:0!important;margin:0}.modal-backdrop:has(.lesson-story-modal){padding:0;align-items:stretch}.lesson-story-modal .modal-header{padding:12px 16px;min-height:68px}.lesson-story-modal .modal-body{padding:0 16px max(24px,env(safe-area-inset-bottom))}.story-cover{padding:25px 22px;gap:10px;grid-template-columns:minmax(0,1fr);margin-top:16px;border-radius:18px}.story-cover h2{font-size:31px;letter-spacing:-1px;margin:13px 0}.story-cover-copy>p{font-size:15px}.story-art{display:flex;align-items:center;justify-content:center;gap:5px}.story-art svg{width:165px;height:138px}.story-art>span{max-width:95px;line-height:1.8;text-align:left;margin:0}.story-meta{margin-top:18px}.story-intro{margin:25px 2px;gap:12px;align-items:flex-start}.story-intro h3{font-size:18px}.story-intro p{font-size:13px}.story-section{grid-template-columns:26px minmax(0,1fr);gap:12px;padding:21px 16px}.story-section-number{width:26px;height:27px;font-size:9px}.story-section-copy h3{font-size:19px}.story-section-copy p,.story-section-copy li{font-size:16px;line-height:1.85}.story-section-art{grid-column:2;width:90px;justify-self:end;margin-top:-4px}.story-index{padding:14px}.story-index a{min-height:40px}.lesson-story-modal .modal-footer{display:grid;grid-template-columns:minmax(0,1fr)}.lesson-story-modal .modal-footer .button{width:100%;font-size:13px}.story-closing{padding-top:26px}}
@media(prefers-reduced-motion:reduce){.story-art svg{animation:none}.lesson-story *{scroll-behavior:auto!important}}

/* Covers are extracted from the attached PDF, never stock photography. */
.story-cover-text{grid-template-columns:minmax(0,1fr);padding-right:clamp(25px,6vw,72px)}
.story-cover-text .story-cover-copy{max-width:760px}.story-cover.has-pdf-cover{grid-template-columns:minmax(0,1.1fr) minmax(240px,1fr);gap:32px;align-items:center}
.story-art{min-width:0}.pdf-lesson-cover{margin:0;min-width:0;width:100%;color:#566d50}.pdf-cover-image{height:270px;padding:18px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:14px;background:#fffefb;border:1px solid #d8dfd0;box-shadow:0 8px 28px #29483d0a}.pdf-cover-image img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;border-radius:5px}.pdf-cover-placeholder{font-family:Manrope,sans-serif;letter-spacing:2px;font-weight:700;font-size:13px;color:#829276;display:flex;align-items:center;gap:12px}.pdf-cover-placeholder>span{font-size:24px;font-weight:400}.pdf-lesson-cover figcaption{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;font-size:10px;line-height:1.6;margin-top:10px;color:#6c7e62}.pdf-lesson-cover figcaption>span:last-child{white-space:nowrap}.pdf-lesson-cover.is-page .pdf-cover-image{padding:12px;background:#f8f8f0}.pdf-lesson-cover.is-unavailable .pdf-cover-image{height:160px;background:#eef1e5;border-style:dashed;box-shadow:none}
.lesson-card:has(.pdf-cover-card){display:grid;grid-template-columns:150px 35px minmax(0,1fr) auto;align-items:center;gap:20px}.pdf-cover-card{align-self:center}.pdf-cover-card .pdf-cover-image{height:115px;padding:9px;border-radius:10px;box-shadow:none}.pdf-cover-card figcaption{font-size:9px;gap:5px;margin-top:6px}.pdf-cover-card .pdf-cover-status{max-width:100px}.pdf-cover-card.is-page .pdf-cover-image{padding:6px}.pdf-cover-card.is-unavailable .pdf-cover-image{height:115px}.lesson-card:has(.pdf-cover-card) .lesson-num{align-self:start;margin-top:12px}.lesson-cover-editor{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(180px,.9fr);gap:24px;padding:22px;background:#f0f3e8;border:1px solid #dbe3ce;border-radius:14px;margin:22px 0}.lesson-cover-editor h4{font-size:20px;line-height:1.3;margin:9px 0}.lesson-cover-editor p{font-size:12px;line-height:1.8;color:#65765c;margin:0 0 16px}.lesson-cover-editor label{font-size:11px;font-weight:600;display:block;margin:0 0 7px}.lesson-cover-controls{display:flex;align-items:center;gap:8px}.lesson-cover-controls input{width:76px;min-width:64px;min-height:42px;padding:9px;border:1px solid #cdd8bf;border-radius:8px;background:#fff;font:inherit}.lesson-cover-controls .button{font-size:10px;min-height:42px;padding:9px 12px}.lesson-cover-editor small{display:block;font-size:10px;line-height:1.8;color:#708165;margin-top:10px}.lesson-cover-editor .pdf-cover-image{height:190px;padding:12px;box-shadow:none}.lesson-cover-empty{font-size:12px;line-height:1.8;color:#7d8c70;display:flex;align-items:center;justify-content:center;min-height:190px;border:1px dashed #ccd7bf;border-radius:10px;padding:20px;text-align:center}#lesson-cover-preview{min-width:0;align-self:center;font-size:12px;color:#738064}
@media(max-width:950px){.lesson-card:has(.pdf-cover-card){grid-template-columns:115px minmax(0,1fr) auto;gap:16px}.lesson-card:has(.pdf-cover-card) .lesson-num{display:none}.pdf-cover-card .pdf-cover-image{height:105px}}
@media(max-width:700px){.story-cover.has-pdf-cover{grid-template-columns:minmax(0,1fr);gap:22px}.story-art{display:block}.pdf-cover-image{height:240px;max-height:40vh;padding:15px}.pdf-lesson-cover figcaption{font-size:10px}.lesson-cover-editor{grid-template-columns:minmax(0,1fr);gap:20px;padding:18px}.lesson-cover-editor .pdf-cover-image{height:210px}.story-cover-text{padding:25px 22px}.lesson-card:has(.pdf-cover-card){grid-template-columns:90px minmax(0,1fr);gap:13px}.lesson-card:has(.pdf-cover-card) .lesson-actions{grid-column:2}.pdf-cover-card{align-self:start}.pdf-cover-card .pdf-cover-image,.pdf-cover-card.is-unavailable .pdf-cover-image{height:90px;padding:6px}.pdf-cover-card figcaption{font-size:8px;display:block;line-height:1.5}.pdf-cover-card .pdf-cover-status{display:none}.lesson-card:has(.pdf-cover-card) .lesson-info{min-width:0}.lesson-card:has(.pdf-cover-card) .lesson-info h3{font-size:17px;line-height:1.4}}
.lesson-card:has(.pdf-cover-card) .lesson-actions{margin-left:0}

/* Editorial layout: the original artwork first, then the lesson title. */
.story-cover.has-pdf-cover{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;border:0;background:none;overflow:visible;margin-top:26px}.story-cover.has-pdf-cover .story-art{order:-1;margin:0;width:100%;display:block}.story-cover.has-pdf-cover .story-cover-copy{padding:26px 4px 4px}.story-cover.has-pdf-cover h2{max-width:850px;font-size:clamp(31px,4vw,48px);line-height:1.15;margin:14px 0}.story-cover.has-pdf-cover .story-cover-copy>p{max-width:72ch}.story-cover.has-pdf-cover .pdf-cover-image,.story-cover.has-pdf-cover .is-page .pdf-cover-image{height:auto;min-height:200px;padding:0;background:none;border:0;box-shadow:none;border-radius:16px;overflow:hidden}.story-cover.has-pdf-cover .pdf-cover-image img{width:100%;height:auto;max-height:560px;object-fit:contain;display:block;border-radius:0}.story-cover.has-pdf-cover figcaption{padding:0 4px;margin-top:9px}.story-cover.has-pdf-cover .pdf-cover-image:has(.pdf-cover-placeholder){height:300px;background:#edf1e5}.story-cover.has-pdf-cover .pdf-lesson-cover.is-unavailable .pdf-cover-image{min-height:160px;height:160px}
#filtered-list:has(>.lesson-card){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.lesson-card:has(.pdf-cover-card){display:flex;flex-direction:column;align-items:stretch;gap:0;overflow:hidden;padding:0}.lesson-card:has(.pdf-cover-card) .lesson-num{display:none}.lesson-card:has(.pdf-cover-card) .lesson-info{padding:22px 23px 16px}.lesson-card:has(.pdf-cover-card) .lesson-info h3{font-size:23px;line-height:1.35;margin:13px 0 9px}.lesson-card:has(.pdf-cover-card) .lesson-info p{font-size:13px;line-height:1.8}.lesson-card:has(.pdf-cover-card) .lesson-actions{display:flex;gap:9px;flex-wrap:wrap;margin:0;padding:0 23px 23px;margin-top:auto}.lesson-card .pdf-cover-card{width:100%;align-self:stretch}.lesson-card .pdf-cover-card .pdf-cover-image,.lesson-card .pdf-cover-card.is-page .pdf-cover-image{height:255px;max-height:none;padding:0;border:0;border-radius:0;box-shadow:none;background:none}.lesson-card .pdf-cover-card .pdf-cover-image img{object-fit:cover;object-position:center;width:100%;height:100%;border-radius:0}.lesson-card .pdf-cover-card figcaption{margin:8px 23px 0;font-size:10px;display:flex}.lesson-card .pdf-cover-card .pdf-cover-status{max-width:none;display:block}
.notebook-spotlight{margin:30px 0 0!important;padding:27px 29px!important;background:#1f4439!important;border:0!important;border-radius:17px!important;color:#fff!important;box-shadow:0 8px 24px #193f3710}.notebook-spotlight .correction-kicker{color:#c2d4a7!important;font-size:9px;letter-spacing:1.8px}.notebook-spotlight h3{font-size:27px!important;line-height:1.2;color:#fff!important;margin:11px 0!important}.notebook-spotlight p{color:#e2e8d6!important;font-size:12px!important}.lesson-story-modal .notebook-spotlight small{color:#c0cfb5!important;font-size:12px;line-height:1.8;max-width:55ch;display:block;margin-top:7px}.notebook-spotlight .button{background:#e5edc1;color:#234b37;border-color:#dce7b5;min-height:48px!important;font-size:12px}.notebook-spotlight .text-link{color:#d6e4bc!important;font-size:11px}
@media(max-width:800px){#filtered-list:has(>.lesson-card){grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){.story-cover.has-pdf-cover{margin-top:14px}.story-cover.has-pdf-cover .pdf-cover-image img{max-height:460px}.story-cover.has-pdf-cover .story-cover-copy{padding:22px 2px 0}.story-cover.has-pdf-cover h2{font-size:32px;letter-spacing:-1px}.story-cover.has-pdf-cover .pdf-cover-image{min-height:150px!important;border-radius:10px}.story-cover.has-pdf-cover .pdf-cover-image:has(.pdf-cover-placeholder){height:210px}.lesson-card .pdf-cover-card .pdf-cover-image{height:245px!important;min-height:0}.lesson-card:has(.pdf-cover-card) .lesson-info{padding:19px 19px 15px}.lesson-card:has(.pdf-cover-card) .lesson-info h3{font-size:23px}.lesson-card:has(.pdf-cover-card) .lesson-actions{padding:0 19px 21px}.lesson-card .pdf-cover-card figcaption{margin-left:19px;margin-right:19px}.notebook-spotlight{padding:24px 21px!important;gap:20px}.notebook-spotlight h3{font-size:25px!important}.notebook-spotlight .button{width:100%}.notebook-spotlight>div{min-width:0;flex-basis:100%}.notebook-spotlight .text-link{width:100%;text-align:center;justify-content:center}}
