.reading-wrap{max-width:1240px;margin:0 auto;padding:38px 32px 72px}.reading-wrap [hidden],.library-home [hidden]{display:none!important}.reading-wrap button,.reading-wrap select,.library-home a{font:inherit}.reading-wrap button{cursor:pointer}.reading-wrap :focus-visible,.library-home :focus-visible{outline:3px solid #267553;outline-offset:4px}.reading-eyebrow{font-size:13px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#55734a}.reading-button{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:48px;padding:12px 21px;border:1px solid #267553;border-radius:15px;background:#267553;color:#fff;text-decoration:none;font:800 16px/1.35 Nunito,sans-serif;text-align:center}.reading-button:hover{background:#18583e;color:#fff}.reading-button.secondary{background:#fff;color:#153f34;border-color:#d7ded2}.reading-button.secondary:hover{background:#edf1e4}.reading-button:disabled{opacity:.5;cursor:default}.reading-hint{font-size:15px;line-height:1.65;color:#59675c}.reading-notice{padding:14px 18px;border-radius:16px;background:#fff0ce;font-size:15px;line-height:1.6;margin-bottom:20px}.reading-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-bottom:20px;color:#267553;font-weight:800;text-decoration:none}.reading-footer{padding:28px 24px;text-align:center;border-top:1px solid #e4e8dc;color:#667065;font-size:14px}.reading-footer a{display:inline-flex;align-items:center;min-height:44px;margin:0 12px;color:#153f34}.reading-footer p{margin:8px 0}.library-hero{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;background:#eff2e5;border-radius:30px;padding:34px;margin-bottom:28px;overflow:hidden}.library-hero h1{font-size:clamp(36px,4vw,58px);line-height:1.08;letter-spacing:-.04em;margin:0 0 16px}.library-hero p{font-size:19px;line-height:1.75;margin:0 0 20px}.library-hero>img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:23px}.library-hero-pills{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:0}.library-hero-pills>span{background:#fffcf7;border:1px solid #e0e5d7;padding:7px 11px;border-radius:20px;font-size:13px;font-weight:800}.library-how{display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;margin:25px 0 42px;padding:0 10px;font-size:15px}.library-how b{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;background:#f3e9dd;border-radius:50%;margin-right:8px;font-size:13px}.library-section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.library-section-heading h2{font-size:30px;line-height:1.25;margin:0;letter-spacing:-.03em}.library-section-heading p{margin:0;color:#667065;font-size:16px}.library-section-heading #storyCount{font-size:14px;white-space:nowrap}.library-filters{display:flex;align-items:end;gap:26px;background:#fff;border:1px solid #e5e8dd;border-radius:20px;padding:20px;margin-bottom:28px}.library-filters>label{display:flex;flex-direction:column;gap:9px;min-width:190px;font-size:14px;font-weight:800}.reading-wrap select{min-height:46px;color:#153f34;border:1px solid #d7ded2;border-radius:12px;padding:9px 30px 9px 12px;background:#fffcf7;max-width:100%}.library-filters fieldset,.reading-settings fieldset{border:0;padding:0;margin:0;min-width:0}.library-filters legend,.reading-settings legend{font-size:14px;font-weight:800;padding:0;margin:0 0 9px}.reading-segment{display:flex;flex-wrap:wrap;gap:6px}.reading-segment button,.reading-segment label>span{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:9px 14px;border:1px solid #dde3d6;border-radius:12px;background:#fffcf7;color:#153f34;font-size:14px;font-weight:800;text-align:center}.reading-segment label{position:relative;cursor:pointer;display:flex}.reading-segment label>input{position:absolute;opacity:0;width:1px;height:1px}.reading-segment button[aria-pressed=true],.reading-segment input:checked+span{background:#edf2e4;border-color:#267553;box-shadow:inset 0 0 0 1px #267553}.reading-segment input:focus-visible+span{outline:3px solid #267553;outline-offset:4px}.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.story-card{display:flex;flex-direction:column;background:#fff;border:1px solid #e7e9df;border-radius:23px;overflow:hidden;box-shadow:0 8px 24px rgba(35,61,39,.035);transition:transform .18s,box-shadow .18s;min-width:0}.story-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(35,61,39,.075)}.story-cover-link{display:block;position:relative;overflow:hidden}.story-cover-link img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.story-status{position:absolute;right:12px;bottom:12px;padding:6px 12px;border-radius:20px;background:#fffdf7;color:#153f34;border:1px solid #e5e8da;font-size:12px;font-weight:900}.story-status.completed{background:#eaf2db}.story-card-copy{display:flex;flex-direction:column;flex:1;padding:20px}.story-card-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:12px;color:#5e6f5d}.story-level{display:inline-flex;padding:5px 9px;border-radius:12px;background:#f1eee7;color:#54634d;font-size:12px;font-weight:800}.story-card[data-level="2"] .story-level,.story-heading:has([data-level-name="2"]) .story-level{background:#f0eaf6;color:#61556f}.story-card[data-level="3"] .story-level,.story-heading:has([data-level-name="3"]) .story-level{background:#e8eff4;color:#486275}.story-card h3{font-size:22px;line-height:1.35;margin:14px 0 18px;letter-spacing:-.025em}.story-card h3 a{color:#153f34;text-decoration:none}.story-card p{font-size:15px;line-height:1.65;color:#637064;margin:0 0 18px}.story-open{display:flex;align-items:center;justify-content:space-between;min-height:44px;color:#267553;text-decoration:none;font-size:14px;font-weight:900;margin-top:auto;border-top:1px solid #edf0e6;padding-top:12px}.reading-empty{padding:35px;text-align:center;border:1px dashed #ccd8be;border-radius:22px;background:#f6f5ee}.reading-resume{display:flex;align-items:center;gap:20px;background:#fff;border:1px solid #dce5d1;border-radius:22px;padding:16px;margin:0 0 28px}.reading-resume>img{width:120px;height:80px;object-fit:cover;border-radius:13px}.reading-resume>div{flex:1;min-width:0}.reading-resume p{font-size:19px;font-weight:900;margin:4px 0;line-height:1.4}.reading-resume small{font-size:13px;color:#657460}.story-heading{display:grid;grid-template-columns:1.3fr 1fr;gap:36px;align-items:center;margin-bottom:28px}.story-heading h1{font-size:clamp(30px,3.6vw,46px);line-height:1.2;letter-spacing:-.035em;margin:15px 0}.story-heading p{font-size:17px;line-height:1.65;margin:0;color:#59695c}.story-heading .reading-language-note{font-size:13px;margin-top:12px}.story-heading>img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:25px}.story-heading-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:14px;font-weight:800}.reader-tools{padding:24px;background:#fff;border:1px solid #e4e8dd;border-radius:22px;margin-bottom:20px}.reader-tools h2{font-size:20px;margin:0 0 12px}.reading-modes button{font-size:16px;flex:1;min-height:50px}.reader-tools .reading-hint{margin:13px 0}.reading-settings{border-top:1px solid #edf0e6;padding-top:4px}.reading-settings summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:14px;font-weight:800}.reading-settings>div{display:flex;align-items:center;gap:28px;flex-wrap:wrap;padding:12px 0 4px}.reading-toggle{display:flex;align-items:center;gap:10px;min-height:44px;font-size:15px;cursor:pointer}.reading-toggle input{width:22px;height:22px;accent-color:#267553}.reader-panel{border:1px solid #dee5d5;background:#fffefb;border-radius:26px;padding:30px 38px;box-shadow:0 12px 36px rgba(43,58,31,.035)}.reader-position{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;margin-bottom:26px}.reader-position #turnLabel{padding:8px 14px;border-radius:20px;background:#edf2e4;color:#315d38;font-weight:900}.reader-position #turnLabel.child-turn{background:#f0eaf6;color:#635074}.reader-position #positionLabel{color:#66735e}.reading-fragment{font-size:28px;font-weight:600;line-height:1.9;letter-spacing:.02em;max-width:44ch;margin:0 auto 28px;text-align:left;overflow-wrap:break-word}.reader-panel.enhanced #readingFragments{min-height:180px;display:flex;align-items:center}.reader-panel.enhanced .reading-fragment{width:100%;margin:0 auto 26px}.reader-panel.is-speaking{background:#f2f6e9;border-color:#a4bd82;box-shadow:0 0 0 3px #e9f1dc}.syllable-word{white-space:nowrap}.syllable.even{color:#245a42}.syllable.odd{color:#7b3e22}.syllable-dot{color:#596356;font-size:.7em;padding:0 .04em}.reader-audio{border-top:1px solid #e4e8dc;padding-top:20px;margin-bottom:12px}.reading-audio-buttons{display:flex;gap:8px;flex-wrap:wrap}.reading-audio-buttons button{font-size:14px;padding:10px 15px;min-height:46px}.reading-speed{display:flex;align-items:center;gap:14px;margin-top:14px;font-size:14px}.reader-pagination{border-top:1px solid #e4e8dc;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:24px}.fragment-dots{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}.fragment-dots i{display:block;width:8px;height:8px;border-radius:50%;background:#dfe4d7}.fragment-dots i.on{background:#267553}.reading-full{margin:20px 0;border:1px solid #e3e7db;background:#fff;border-radius:18px;padding:4px 22px}.reading-full summary{min-height:48px;padding:12px 0;cursor:pointer;font-size:16px;font-weight:800}.reading-full [lang=uk]{font-size:23px;font-weight:600;line-height:1.9;max-width:50ch}.question-panel,.story-static-questions{margin:24px 0;background:#fff;border:1px solid #e1e6d8;border-radius:25px;padding:28px}.question-panel h2,.story-static-questions h2{font-size:28px;line-height:1.3;letter-spacing:-.03em;margin:0 0 12px}.question-panel .reading-hint{max-width:68ch}.story-question{padding:24px 0;border-bottom:1px solid #e6e9df}.story-question:last-of-type{border-bottom:0}.question-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.question-top h3{font-size:20px;line-height:1.6;margin:0;flex:1;font-weight:800}.question-top button{font-size:13px;max-width:170px}.question-choices{display:grid;gap:10px;max-width:760px;margin-top:18px}.question-choice{min-height:50px;text-align:left;background:#fffcf7;color:#153f34;border:1px solid #dde3d3;border-radius:13px;padding:14px 18px;font:600 18px/1.65 Nunito,sans-serif}.question-choice:hover{background:#eef3e6}.question-choice[aria-pressed=true]{border-color:#267553;background:#edf3e3;box-shadow:inset 0 0 0 1px #267553}.question-feedback{line-height:1.65;font-size:16px;margin:14px 0 0;padding:14px 18px;background:#f3f5ed;border-radius:13px}.question-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.question-actions button{font:800 14px/1.4 Nunito,sans-serif;background:none;border:0;color:#267553;min-height:44px;padding:10px 12px;text-decoration:underline;text-underline-offset:4px}.question-finish{margin-top:20px;padding-top:20px;border-top:1px solid #e6e9df}.reading-finish{background:#eef3e4;padding:42px 30px;border-radius:26px;text-align:center;margin-top:20px}.reading-finish .finish-mark{width:62px;height:62px;border-radius:50%;background:#fff;display:grid;place-items:center;margin:0 auto 18px;color:#267553;font-size:32px}.reading-finish h2{font-size:30px;line-height:1.3;margin:0 0 14px}.reading-finish p{max-width:55ch;margin:0 auto 25px;color:#59695a;font-size:17px;line-height:1.7}.reading-finish-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.library-home{margin:48px 0 64px;padding:30px;background:#eef2e5;border:1px solid #e4e8db;border-radius:28px}.library-home-heading{display:grid;grid-template-columns:1.2fr 1fr;gap:35px;align-items:center;margin-bottom:28px}.library-home-heading h2{font-size:38px;line-height:1.2;letter-spacing:-.03em;margin:13px 0}.library-home-heading p{font-size:17px;line-height:1.75;margin:0 0 20px;color:#53634f}.library-home-heading small{display:block;margin-top:15px;font-size:13px;color:#5a6b54}.library-home-art{display:block;overflow:hidden;border-radius:23px}.library-home-art img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.library-home .reading-resume{margin:24px 0 0}.parent-stories{background:#eef2e5!important}.parent-stories h2{margin:0 0 14px}.parent-stories p{font-size:15px;line-height:1.65}.parent-stories .reading-count b{font-size:26px;display:block;color:#267553}
@media(min-width:761px) and (max-width:1160px){.topnav{flex-wrap:wrap;gap:10px 24px;padding-left:26px;padding-right:26px}.topnav-links{order:3;flex-basis:100%;justify-content:center;gap:22px}.topnav>.lang-switch{margin-left:auto}}
@media(max-width:1000px){.story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-hero{gap:24px;padding:26px}.library-filters{align-items:start;flex-direction:column;gap:18px}.library-hero p{font-size:17px}.library-how{gap:12px;font-size:14px}.story-heading{gap:24px}.library-home-grid .story-card:last-child{display:none}}
@media(max-width:760px){.reading-wrap{padding:22px 18px 45px}.topnav{padding:12px 18px;gap:12px}.topnav-logo{font-size:23px}.topnav-links{gap:15px;flex-wrap:wrap;justify-content:center}.topnav-links a{font-size:14px}.library-hero,.library-home-heading{grid-template-columns:1fr;gap:25px}.library-hero{padding:24px;border-radius:24px}.library-hero h1{font-size:40px}.library-hero>img{max-height:330px}.library-how{display:grid;gap:10px;margin:22px 0 30px}.library-section-heading{align-items:start;flex-direction:column;gap:10px}.library-section-heading h2{font-size:27px}.story-grid{gap:18px}.story-card-copy{padding:17px}.story-card h3{font-size:21px}.library-home{padding:22px;margin:35px 0 45px}.library-home-heading h2{font-size:33px}.library-home-art{display:none}.story-heading{grid-template-columns:1fr;gap:20px}.story-heading>img{max-height:310px}.story-heading h1{font-size:33px}.reader-tools{padding:18px}.reading-modes button{padding:10px;font-size:14px;min-width:90px}.reader-panel{padding:23px}.reader-position{font-size:12px;gap:8px}.reader-position #turnLabel{padding:7px 11px}.reader-panel.enhanced #readingFragments{min-height:190px}.reading-fragment{font-size:28px;line-height:1.85}.reader-pagination{gap:8px}.reader-pagination .reading-button{padding:12px 15px;font-size:15px}.fragment-dots{max-width:60px}.reading-resume{flex-wrap:wrap;gap:13px;padding:15px}.reading-resume>img{width:90px;height:60px}.reading-resume .reading-button{width:100%}.reading-resume p{font-size:17px}.reading-resume .reading-eyebrow{font-size:11px}.question-panel,.story-static-questions{padding:22px}.question-panel h2{font-size:25px}.question-top{align-items:start;flex-direction:column;gap:10px}.question-top h3{font-size:19px}.question-top button{max-width:none}.question-choice{font-size:17px;padding:13px 15px}.reading-finish{padding:30px 22px}.reading-finish h2{font-size:26px}}
@media(max-width:600px){.story-grid{grid-template-columns:minmax(0,1fr)}.library-home-grid .story-card:last-child{display:flex}.library-hero{padding:20px}.library-hero h1{font-size:36px}.library-filters{padding:17px}.library-filters>label{width:100%;min-width:0}.library-filters select{width:100%}.library-filters .reading-segment label{flex:1;min-width:100px}.library-filters .reading-segment label>span{width:100%;font-size:13px;padding:8px 10px}.reading-wrap{padding-left:14px;padding-right:14px}.reader-panel{padding:20px 17px}.reader-pagination .reading-button{font-size:14px;padding:11px 13px}.fragment-dots{gap:4px;max-width:44px}.fragment-dots i{width:6px;height:6px}.reading-audio-buttons button{flex:1;min-width:95px}.reading-settings>div{gap:14px}.reading-segment button{padding:9px 12px}.reading-full{padding:4px 17px}.reading-full [lang=uk]{font-size:21px}.library-home{padding:20px}.library-home-heading h2{font-size:30px}}
@media(prefers-reduced-motion:reduce){.story-card{transition:none}.story-card:hover{transform:none}}
.reading-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#catalog,#readerTools,#readerPanel,#fullStory,#questionPanel,#finishPanel{scroll-margin-top:100px}
@media(max-width:600px){.library-filters .reading-segment label{flex:1 1 calc(50% - 6px)}#catalog,#readerTools,#readerPanel,#fullStory,#questionPanel,#finishPanel{scroll-margin-top:180px}}

.reading-wrap [tabindex="-1"]:focus{outline:none}
