:root{--aylib-ink:#152238;--aylib-muted:#667085;--aylib-teal:#057d84;--aylib-teal-dark:#075b62;--aylib-line:#dbe7df;--aylib-soft:#f4faf8;--aylib-gold:#efa725;--aylib-card:#fff}.ayubhaedu-library-page,.ayubhaedu-library-book-landing,.ayubhaedu-revision-notebook{width:min(1460px,calc(100% - 40px));margin:32px auto 80px;color:var(--aylib-ink)}.ayubhaedu-library-hero{position:relative;overflow:hidden;display:flex;justify-content:space-between;gap:28px;align-items:flex-end;padding:42px 46px;border:1px solid var(--aylib-line);border-radius:26px;background:linear-gradient(125deg,#f8fcfa,#edf8f7 62%,#fff7e7)}.ayubhaedu-library-hero:after{content:"";position:absolute;width:340px;height:340px;border-radius:50%;right:-130px;top:-190px;border:70px solid rgba(5,125,132,.05)}.ayubhaedu-library-kicker,.ayubhaedu-library-section-heading small{display:block;font-size:13px;font-weight:800;letter-spacing:.12em;color:#0a99a2}.ayubhaedu-library-hero h1{max-width:850px;margin:8px 0 12px;font-size:clamp(34px,4vw,58px);line-height:1.03;letter-spacing:-.035em}.ayubhaedu-library-hero p{max-width:760px;margin:0;color:var(--aylib-muted);font-size:18px;line-height:1.6}.ayubhaedu-library-notebook-link{position:relative;z-index:1;display:flex;align-items:center;gap:9px;white-space:nowrap;padding:13px 16px;border:1px solid #bddbd4;border-radius:14px;background:#fff;color:var(--aylib-teal-dark);font-weight:700;text-decoration:none}.ayubhaedu-library-filters{display:grid;grid-template-columns:minmax(260px,1fr) 260px auto;gap:12px;margin:22px 0 34px}.ayubhaedu-library-filters input,.ayubhaedu-library-filters select{width:100%;height:48px;border:1px solid #cddbd5!important;border-radius:13px!important;background:#fff!important;color:var(--aylib-ink)!important}.ayubhaedu-library-search{position:relative}.ayubhaedu-library-search .dashicons{position:absolute;left:15px;top:14px;color:#6b7c75}.ayubhaedu-library-search input{padding-left:46px!important}.ayubhaedu-library-filters button,.ayubhaedu-library-primary{border:0;border-radius:13px;background:var(--aylib-teal-dark);color:#fff!important;font-weight:750;padding:0 22px;min-height:48px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.ayubhaedu-library-section{margin-top:34px}.ayubhaedu-library-section-heading{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:16px}.ayubhaedu-library-section-heading h2{margin:3px 0 0;font-size:30px;letter-spacing:-.025em}.ayubhaedu-library-section-heading>span{color:var(--aylib-muted)}.ayubhaedu-library-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}.ayubhaedu-library-continue-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(250px,290px);gap:18px;overflow-x:auto;padding:2px 2px 12px;scroll-snap-type:x proximity}.ayubhaedu-library-continue-row .ayubhaedu-library-card{scroll-snap-align:start}.ayubhaedu-library-card{min-width:0;border:1px solid var(--aylib-line);border-radius:20px;overflow:hidden;background:var(--aylib-card);box-shadow:0 8px 28px rgba(18,55,44,.045);display:flex;flex-direction:column}.ayubhaedu-library-cover{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:3/4;background:linear-gradient(145deg,#edf8f5,#f8fbfa);overflow:hidden;text-decoration:none}.ayubhaedu-library-cover img{width:100%;height:100%;object-fit:cover}.ayubhaedu-library-cover>.dashicons{font-size:62px;width:62px;height:62px;color:#aac6bd}.ayubhaedu-library-format{position:absolute;left:10px;bottom:10px;padding:5px 9px;border-radius:9px;background:rgba(13,55,58,.87);color:#fff;font-size:11px;font-weight:800}.ayubhaedu-library-card-body{display:flex;flex-direction:column;flex:1;padding:16px}.ayubhaedu-library-card-badges{display:flex;flex-wrap:wrap;gap:5px;min-height:24px}.ayubhaedu-library-card-badges span{font-size:10px;font-weight:800;color:#126a62;background:#eaf7f2;padding:4px 7px;border-radius:999px}.ayubhaedu-library-card h3{font-size:18px;line-height:1.28;margin:8px 0 5px}.ayubhaedu-library-card h3 a{color:var(--aylib-ink);text-decoration:none}.ayubhaedu-library-card p{color:var(--aylib-muted);font-size:13px;line-height:1.45;margin:4px 0 10px}.ayubhaedu-library-card .ayubhaedu-library-author{font-weight:700;color:#476257}.ayubhaedu-library-open{margin-top:auto;padding-top:10px;color:var(--aylib-teal-dark);font-weight:800;text-decoration:none}.ayubhaedu-library-progress{height:6px;background:#e8eeeb;border-radius:999px;overflow:hidden}.ayubhaedu-library-progress span{display:block;height:100%;background:#1c9b8c}.ayubhaedu-library-card small{color:var(--aylib-muted);margin:5px 0}.ayubhaedu-library-empty{grid-column:1/-1;padding:26px;border:1px dashed #cbdcd5;border-radius:16px;color:var(--aylib-muted);background:#fbfdfc}.ayubhaedu-library-back{display:inline-flex;margin-bottom:18px;color:var(--aylib-teal-dark);font-weight:800;text-decoration:none}.ayubhaedu-library-book-intro{display:grid;grid-template-columns:minmax(220px,320px) minmax(0,1fr);gap:42px;padding:34px;border:1px solid var(--aylib-line);border-radius:24px;background:#fff}.ayubhaedu-library-book-intro>img{width:100%;border-radius:12px;box-shadow:0 20px 50px rgba(20,42,37,.14)}.ayubhaedu-library-book-intro h1{font-size:44px;line-height:1.08;margin:8px 0}.ayubhaedu-library-book-intro>div>p{font-size:18px;color:var(--aylib-muted)}.ayubhaedu-library-description{line-height:1.7}.ayubhaedu-library-login-gate,.ayubhaedu-library-access-required{margin-top:25px;padding:22px;border:1px solid #cfe1da;border-radius:17px;background:#f4faf8}.ayubhaedu-library-login-gate p{color:var(--aylib-muted)}.ayubhaedu-library-access-required{max-width:760px;margin:60px auto;text-align:center;padding:48px}.ayubhaedu-library-access-required>.dashicons{font-size:48px;width:48px;height:48px;color:var(--aylib-teal)}.ayubhaedu-library-access-required h1{font-size:34px}.ayubhaedu-library-access-required h2{font-size:22px}.ayubhaedu-library-warning{color:#8a5a00}.ayubhaedu-library-reader-top{height:66px;position:sticky;top:0;z-index:40;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;padding:0 28px;border-bottom:1px solid var(--aylib-line);background:rgba(255,255,255,.96);backdrop-filter:blur(12px)}.ayubhaedu-library-reader-top a{color:var(--aylib-teal-dark);text-decoration:none;font-weight:750}.ayubhaedu-library-reader-top>span{text-align:right}.ayubhaedu-library-pdf-reader,.ayubhaedu-library-external{min-height:80vh}.ayubhaedu-library-pdf-frame,.ayubhaedu-library-iframe-wrap iframe{width:100%;height:calc(100vh - 68px);border:0;background:#eef3f0}.ayubhaedu-library-iframe-wrap{height:calc(100vh - 68px)}
/* Native reader */
.ayubhaedu-reader{--reader-size:18px;min-height:100vh;background:#f8faf9;color:#182238}.ayubhaedu-reader[data-font-size="small"]{--reader-size:16px}.ayubhaedu-reader[data-font-size="large"]{--reader-size:21px}.ayubhaedu-reader-header{position:sticky;top:0;z-index:80;height:70px;display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 max(16px,calc((100vw - 1460px)/2));border-bottom:1px solid #dbe6e1;background:rgba(255,255,255,.97);backdrop-filter:blur(14px);box-shadow:0 3px 18px rgba(24,55,47,.045)}.ayubhaedu-reader-library,.ayubhaedu-reader-actions a,.ayubhaedu-reader-actions button,.ayubhaedu-reader-toc-toggle{display:inline-flex;align-items:center;justify-content:center;height:40px;border:1px solid #d6e3de;border-radius:11px;background:#fff;color:#145e61;text-decoration:none;font-weight:750}.ayubhaedu-reader-library{padding:0 12px}.ayubhaedu-reader-toc-toggle{width:40px}.ayubhaedu-reader-book-title{min-width:0;padding-left:6px}.ayubhaedu-reader-book-title small,.ayubhaedu-reader-book-title strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ayubhaedu-reader-book-title small{font-size:11px;color:#75847d}.ayubhaedu-reader-book-title strong{font-size:15px;color:#24362e}.ayubhaedu-reader-actions{display:flex;gap:6px}.ayubhaedu-reader-actions a,.ayubhaedu-reader-actions button{width:40px;padding:0;font-family:inherit}.ayubhaedu-reader-progressbar{position:absolute;height:3px;left:0;right:0;bottom:-1px;background:#eef3f0}.ayubhaedu-reader-progressbar span{display:block;height:100%;background:#0e9a92;transition:width .25s}.ayubhaedu-reader-toc{position:fixed;z-index:100;top:0;bottom:0;left:0;width:min(380px,88vw);padding:0 0 30px;overflow:auto;background:#fff;box-shadow:16px 0 50px rgba(12,43,35,.18);transform:translateX(-105%);transition:transform .23s ease}.ayubhaedu-reader-toc.is-open{transform:none}.ayubhaedu-reader-toc-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:20px;background:#fff;border-bottom:1px solid #e1eae6}.ayubhaedu-reader-toc-head strong{font-size:20px}.ayubhaedu-reader-toc-head button{border:0;background:#eef6f3;width:36px;height:36px;border-radius:50%;font-size:24px}.ayubhaedu-reader-module{padding:20px 20px 7px;color:#0a817e;font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.ayubhaedu-reader-toc>a{display:grid;grid-template-columns:30px 1fr;gap:7px;padding:11px 20px;color:#34433d;text-decoration:none;line-height:1.35}.ayubhaedu-reader-toc>a>span{color:#91a39b;font-size:12px}.ayubhaedu-reader-toc>a.is-active{background:#eaf7f3;color:#086d69;font-weight:800;border-right:3px solid #078c88}.ayubhaedu-reader-scrim{display:none;position:fixed;inset:0;z-index:95;border:0;background:rgba(3,25,22,.35)}.ayubhaedu-reader-scrim.is-open{display:block}.ayubhaedu-reader-lock{overflow:hidden}.ayubhaedu-reader-page{width:min(860px,calc(100% - 40px));margin:0 auto;padding:62px 0 110px}.ayubhaedu-reader.is-wide-reading .ayubhaedu-reader-page{width:min(1120px,calc(100% - 40px))}.ayubhaedu-reader-chapter-heading{border-bottom:1px solid #dbe6e1;padding-bottom:25px;margin-bottom:34px}.ayubhaedu-reader-chapter-heading>span{display:block;color:#078a87;font-size:12px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.ayubhaedu-reader-chapter-heading h1{font-size:clamp(34px,4vw,52px);line-height:1.08;letter-spacing:-.035em;margin:8px 0 10px}.ayubhaedu-reader-chapter-heading small{color:#83908a}.ayubhaedu-reader-content{font-family:Georgia,"Noto Serif Devanagari","Noto Serif",serif;font-size:var(--reader-size);line-height:1.78;color:#26342f}.ayubhaedu-reader-content p,.ayubhaedu-reader-content li,.ayubhaedu-reader-content blockquote{overflow-wrap:anywhere}.ayubhaedu-reader-content h2,.ayubhaedu-reader-content h3,.ayubhaedu-reader-content h4{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#173a3b;line-height:1.25;margin:1.8em 0 .7em}.ayubhaedu-reader-content h2{font-size:1.65em}.ayubhaedu-reader-content h3{font-size:1.3em}.ayubhaedu-reader-content p{margin:0 0 1.15em}.ayubhaedu-reader-content blockquote{margin:1.6em 0;padding:18px 22px;border-left:4px solid #25a69d;background:#eef8f5;border-radius:0 12px 12px 0}.ayubhaedu-reader-content img{max-width:100%;height:auto;border-radius:10px}.ayubhaedu-book-image{text-align:center;margin:1.5em 0}.ayubhaedu-book-table-wrap{overflow-x:auto;margin:1.5em 0}.ayubhaedu-reader-content table{width:100%;border-collapse:collapse;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:.88em}.ayubhaedu-reader-content th,.ayubhaedu-reader-content td{border:1px solid #cfdcd7;padding:9px 11px;text-align:left;vertical-align:top}.ayubhaedu-reader-content mark.ayubhaedu-reader-highlight{padding:1px 0;background:#ffe87d;color:inherit}.ayubhaedu-reader-content mark.is-green,.ayubhaedu-reader-content mark.is-revision{background:#cdeecf}.ayubhaedu-reader-content mark.is-blue{background:#cdeaf5}.ayubhaedu-reader-content mark.is-pink{background:#f7d5df}.ayubhaedu-reader-content mark.is-note{border-bottom:2px dotted #a26b00}.ayubhaedu-reader-chapter-nav{display:flex;justify-content:space-between;gap:20px;margin-top:70px;padding-top:25px;border-top:1px solid #dbe6e1}.ayubhaedu-reader-chapter-nav a{display:flex;gap:8px;color:#0b7473;text-decoration:none;font-weight:800}.ayubhaedu-reader-selection-toolbar{position:absolute;z-index:130;display:flex;gap:2px;padding:5px;border-radius:12px;background:#153d3d;box-shadow:0 8px 25px rgba(0,0,0,.22)}.ayubhaedu-reader-selection-toolbar[hidden]{display:none}.ayubhaedu-reader-selection-toolbar button{display:flex;align-items:center;gap:5px;border:0;border-radius:8px;background:transparent;color:#fff;padding:8px 10px;font-size:12px}.ayubhaedu-reader-selection-toolbar button:hover{background:rgba(255,255,255,.12)}.ayubhaedu-reader-search-panel,.ayubhaedu-reader-font-panel{position:fixed;z-index:120;top:82px;right:max(18px,calc((100vw - 1460px)/2));width:min(440px,calc(100% - 36px));padding:18px;border:1px solid #dbe6e1;border-radius:17px;background:#fff;box-shadow:0 18px 55px rgba(13,45,38,.18)}.ayubhaedu-reader-search-panel[hidden],.ayubhaedu-reader-font-panel[hidden]{display:none}.ayubhaedu-reader-search-panel>div:first-child{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.ayubhaedu-reader-search-panel>div:first-child button{border:0;background:none;font-size:24px}.ayubhaedu-reader-search-panel form{display:flex;gap:7px}.ayubhaedu-reader-search-panel input{flex:1;min-width:0;height:42px;border:1px solid #cfddd7;border-radius:10px;padding:0 12px}.ayubhaedu-reader-search-panel form button{border:0;border-radius:10px;background:#075f62;color:#fff;padding:0 14px}.ayubhaedu-reader-search-panel [data-reader-search-results]{max-height:55vh;overflow:auto;margin-top:10px}.ayubhaedu-reader-search-panel [data-reader-search-results] a{display:block;padding:11px 5px;border-top:1px solid #edf1ef;text-decoration:none}.ayubhaedu-reader-search-panel [data-reader-search-results] strong,.ayubhaedu-reader-search-panel [data-reader-search-results] span{display:block}.ayubhaedu-reader-search-panel [data-reader-search-results] strong{color:#194447}.ayubhaedu-reader-search-panel [data-reader-search-results] span{color:#6c7b75;font-size:12px;margin-top:4px}.ayubhaedu-reader-font-panel{width:250px}.ayubhaedu-reader-font-panel>div{display:flex;gap:7px;margin:12px 0}.ayubhaedu-reader-font-panel button{flex:1;height:42px;border:1px solid #d3dfda;border-radius:9px;background:#fff}.ayubhaedu-reader-font-panel button:nth-child(1){font-size:13px}.ayubhaedu-reader-font-panel button:nth-child(3){font-size:20px}.ayubhaedu-reader-font-panel button.is-active{background:#e9f6f3;border-color:#3fa89f;color:#075f62}.ayubhaedu-revision-heading{max-width:880px;margin:0 auto 30px}.ayubhaedu-revision-heading h1{font-size:46px;margin:5px 0}.ayubhaedu-revision-heading p{color:var(--aylib-muted);font-size:17px}.ayubhaedu-revision-heading>a{display:inline-block;margin-bottom:30px;color:#096e6d;text-decoration:none;font-weight:800}.ayubhaedu-revision-list{max-width:880px;margin:auto;display:grid;gap:14px}.ayubhaedu-revision-list article{border:1px solid #dbe6e1;border-radius:17px;background:#fff;padding:20px}.ayubhaedu-revision-list header,.ayubhaedu-revision-list footer{display:flex;justify-content:space-between;gap:12px;align-items:center}.ayubhaedu-revision-list header small,.ayubhaedu-revision-list header strong{display:block}.ayubhaedu-revision-list header small{color:#77847e}.ayubhaedu-revision-list header>span{font-size:11px;font-weight:800;color:#08716f;background:#e9f6f3;padding:5px 8px;border-radius:999px}.ayubhaedu-revision-list blockquote{margin:18px 0;padding:15px 17px;border-left:4px solid #e2b53d;background:#fffaf0;border-radius:0 10px 10px 0;font-family:Georgia,serif;font-size:17px;line-height:1.6}.ayubhaedu-revision-note{padding:12px;background:#f0f6fb;border-radius:10px}.ayubhaedu-revision-list footer a{color:#087370;font-weight:800;text-decoration:none}.ayubhaedu-revision-list footer button{border:0;background:transparent;color:#b34242}
@media(max-width:1200px){.ayubhaedu-library-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:900px){.ayubhaedu-library-page,.ayubhaedu-library-book-landing,.ayubhaedu-revision-notebook{width:min(100% - 24px,1460px);margin-top:18px}.ayubhaedu-library-hero{padding:28px;display:block}.ayubhaedu-library-notebook-link{margin-top:20px;width:max-content}.ayubhaedu-library-filters{grid-template-columns:1fr 1fr}.ayubhaedu-library-filters button{grid-column:1/-1}.ayubhaedu-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ayubhaedu-library-book-intro{grid-template-columns:200px 1fr;gap:25px}.ayubhaedu-reader-header{padding:0 10px}.ayubhaedu-reader-library span{display:none}.ayubhaedu-reader-book-title small{display:none}}
@media(max-width:650px){.ayubhaedu-library-hero{padding:23px;border-radius:20px}.ayubhaedu-library-hero h1{font-size:36px}.ayubhaedu-library-hero p{font-size:15px}.ayubhaedu-library-filters{grid-template-columns:1fr}.ayubhaedu-library-filters button{grid-column:auto}.ayubhaedu-library-section-heading{align-items:flex-start}.ayubhaedu-library-section-heading h2{font-size:25px}.ayubhaedu-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ayubhaedu-library-card-body{padding:12px}.ayubhaedu-library-card h3{font-size:15px}.ayubhaedu-library-card p{font-size:12px}.ayubhaedu-library-card-badges{display:none}.ayubhaedu-library-book-intro{display:block;padding:20px}.ayubhaedu-library-book-intro>img{width:min(210px,70%);margin:0 auto 24px;display:block}.ayubhaedu-library-book-intro h1{font-size:34px}.ayubhaedu-library-access-required{margin:25px auto;padding:28px 18px}.ayubhaedu-library-reader-top{grid-template-columns:auto 1fr auto;padding:0 12px}.ayubhaedu-reader-page,.ayubhaedu-reader.is-wide-reading .ayubhaedu-reader-page{width:calc(100% - 30px);padding-top:40px}.ayubhaedu-reader-header{grid-template-columns:auto auto minmax(0,1fr) auto;height:62px}.ayubhaedu-reader-actions{gap:3px}.ayubhaedu-reader-actions a,.ayubhaedu-reader-actions button,.ayubhaedu-reader-toc-toggle{width:36px;height:36px}.ayubhaedu-reader-library{width:36px;padding:0;font-size:0}.ayubhaedu-reader-library:first-letter{font-size:18px}.ayubhaedu-reader-book-title strong{font-size:13px}.ayubhaedu-reader-chapter-heading h1{font-size:34px}.ayubhaedu-reader-content{font-size:var(--reader-size);line-height:1.7}.ayubhaedu-reader-selection-toolbar{max-width:calc(100vw - 16px);overflow-x:auto}.ayubhaedu-reader-selection-toolbar button{white-space:nowrap}.ayubhaedu-reader-chapter-nav span{display:none}.ayubhaedu-revision-heading h1{font-size:36px}.ayubhaedu-revision-list article{padding:15px}}@media(max-width:430px){.ayubhaedu-library-grid{grid-template-columns:1fr 1fr}.ayubhaedu-library-cover{aspect-ratio:3/4}.ayubhaedu-library-card p:not(.ayubhaedu-library-author){display:none}}
.ayubhaedu-library-pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:30px 0 0}.ayubhaedu-library-pagination a{min-width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #cfddd7;border-radius:10px;background:#fff;color:#176665;text-decoration:none;font-weight:750}.ayubhaedu-library-pagination a.is-active{background:#075f62;color:#fff;border-color:#075f62}.ayubhaedu-book-list-item{padding-left:1.2em;text-indent:-1.2em}
.ayubhaedu-reader-actions [data-reader-bookmark].is-saved{background:#e7f5ee;border-color:#88c8ad;color:#166f52}

/* v1.0.107: library templates own the full content canvas instead of shrinking
   as an auto-sized flex item inside Astra/theme content containers. */
body.single-ayubha_book .site-content>.ast-container,
body.post-type-archive-ayubha_book .site-content>.ast-container{
	width:100%!important;max-width:none!important;padding-left:0!important;padding-right:0!important;display:block!important
}
body.single-ayubha_book .site-content>.ast-container>.ayubhaedu-library-book-landing,
body.single-ayubha_book .site-content>.ast-container>.ayubhaedu-library-external,
body.single-ayubha_book .site-content>.ast-container>.ayubhaedu-library-pdf-reader,
body.single-ayubha_book .site-content>.ast-container>.ayubhaedu-reader,
body.post-type-archive-ayubha_book .site-content>.ast-container>.ayubhaedu-library-page{
	width:100%!important;max-width:none!important;min-width:0;flex:1 1 100%
}
body.single-ayubha_book .ayubhaedu-library-book-landing,
body.post-type-archive-ayubha_book .ayubhaedu-library-page,
body.single-ayubha_book .ayubhaedu-revision-notebook{
	box-sizing:border-box
}
body.single-ayubha_book .ayubhaedu-library-external>.ayubhaedu-library-book-landing{
	width:min(1460px,calc(100% - 40px))!important;max-width:1460px!important;margin-left:auto!important;margin-right:auto!important
}
@media(max-width:650px){
	body.single-ayubha_book .ayubhaedu-library-external>.ayubhaedu-library-book-landing{width:calc(100% - 24px)!important}
}

/* v1.0.2: protected DearFlip-style PDF reader shell. */
.ayubhaedu-library-flipbook-shell{width:min(1500px,100%);margin:0 auto;padding:18px 20px 32px;box-sizing:border-box;background:#eef4f2}.ayubhaedu-library-pdf-reader{background:#eef4f2}.ayubhaedu-library-pdf-reader .ayubhaedu-library-reader-top{position:sticky;top:0}
@media(max-width:650px){.ayubhaedu-library-flipbook-shell{padding:8px 6px 20px}.ayubhaedu-library-pdf-reader .ayubhaedu-library-reader-top{height:56px;padding:0 10px}.ayubhaedu-library-pdf-reader .ayubhaedu-library-reader-top strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}

/* v1.0.3: Kindle-style native reader preferences and closable tool panels. */
.ayubhaedu-reader{
	--reader-font:Georgia,"Noto Serif Devanagari","Noto Serif",serif;
	--reader-line:1.78;
	--reader-bg:#f5f7f5;
	--reader-paper:#fff;
	--reader-text:#26342f;
	--reader-heading:#173a3b;
	--reader-panel:#fff;
	--reader-border:#dbe6e1;
	background:var(--reader-bg);color:var(--reader-text);transition:background-color .18s ease,color .18s ease
}
.ayubhaedu-reader[data-font-family="modern"]{--reader-font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans Devanagari",sans-serif}
.ayubhaedu-reader[data-font-family="indic"]{--reader-font:"Noto Serif Devanagari","Noto Serif",Georgia,serif}
.ayubhaedu-reader[data-line="compact"]{--reader-line:1.52}.ayubhaedu-reader[data-line="relaxed"]{--reader-line:2.02}
.ayubhaedu-reader[data-theme="sepia"]{--reader-bg:#ece6d7;--reader-paper:#f8f1df;--reader-text:#3d3528;--reader-heading:#342c22;--reader-panel:#fbf6e8;--reader-border:#d8cdb8}
.ayubhaedu-reader[data-theme="dark"]{--reader-bg:#151a1b;--reader-paper:#202627;--reader-text:#e7ece9;--reader-heading:#f3f7f5;--reader-panel:#252c2d;--reader-border:#3b4543}
.ayubhaedu-reader-page{width:min(860px,calc(100% - 40px));background:var(--reader-paper);box-sizing:border-box;padding:62px clamp(26px,5vw,72px) 110px;border-left:1px solid color-mix(in srgb,var(--reader-border) 70%,transparent);border-right:1px solid color-mix(in srgb,var(--reader-border) 70%,transparent);min-height:calc(100vh - 70px)}
.ayubhaedu-reader[data-width="narrow"] .ayubhaedu-reader-page{width:min(720px,calc(100% - 40px))}.ayubhaedu-reader[data-width="wide"] .ayubhaedu-reader-page{width:min(1080px,calc(100% - 40px))}
.ayubhaedu-reader-content{font-family:var(--reader-font);font-size:var(--reader-size);line-height:var(--reader-line);color:var(--reader-text);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
.ayubhaedu-reader-content p,.ayubhaedu-reader-content li,.ayubhaedu-reader-content blockquote,.ayubhaedu-reader-content td,.ayubhaedu-reader-content th{font-family:inherit!important;line-height:inherit!important}
.ayubhaedu-reader-content p span,.ayubhaedu-reader-content li span,.ayubhaedu-reader-content blockquote span{font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;letter-spacing:normal!important}
.ayubhaedu-reader-content h1,.ayubhaedu-reader-content h2,.ayubhaedu-reader-content h3,.ayubhaedu-reader-content h4,.ayubhaedu-reader-content h5,.ayubhaedu-reader-content h6,.ayubhaedu-reader-chapter-heading h1{color:var(--reader-heading)}
.ayubhaedu-reader-content p{margin:0 0 1.08em}.ayubhaedu-reader-content ul,.ayubhaedu-reader-content ol{padding-left:1.45em;margin:0 0 1.2em}.ayubhaedu-reader-content li{margin:.28em 0}.ayubhaedu-reader-content img{display:block;max-width:min(100%,900px);height:auto;margin:1.4em auto;border-radius:7px}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-header,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-search-panel,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-font-panel,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-toc,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-toc-head{background:var(--reader-panel);color:var(--reader-text);border-color:var(--reader-border)}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-library,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-actions a,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-actions button,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-toc-toggle,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-font-panel button{background:#2a3232;border-color:#43504d;color:#dbeee9}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-book-title small{color:#a8b5b0}.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-book-title strong{color:#eef6f3}.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-chapter-heading,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-chapter-nav{border-color:#3b4543}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content blockquote{background:#273332}.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content th,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content td{border-color:#495553}
.ayubhaedu-reader-search-panel,.ayubhaedu-reader-font-panel{background:var(--reader-panel);border-color:var(--reader-border);color:var(--reader-text)}
.ayubhaedu-reader-panel-head{display:flex!important;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px!important;padding-bottom:10px;border-bottom:1px solid var(--reader-border)}
.ayubhaedu-reader-panel-head strong{font-size:16px}.ayubhaedu-reader-panel-head button,[data-reader-search-close]{width:34px!important;height:34px!important;min-width:34px;border:0!important;border-radius:50%!important;background:#edf5f2!important;color:#27504a!important;font-size:22px!important;line-height:1!important;cursor:pointer}
.ayubhaedu-reader-font-panel{width:min(390px,calc(100% - 36px));max-height:calc(100vh - 105px);overflow:auto}.ayubhaedu-reader-setting{padding:10px 0;border-bottom:1px solid color-mix(in srgb,var(--reader-border) 72%,transparent)}.ayubhaedu-reader-setting:last-child{border-bottom:0}.ayubhaedu-reader-setting>span{display:block;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.07em;color:#667c75;margin-bottom:7px}.ayubhaedu-reader-setting-buttons{display:flex;gap:7px;margin:0!important}.ayubhaedu-reader-setting-buttons button{flex:1;min-width:0;height:40px!important;padding:0 8px;border:1px solid var(--reader-border)!important;border-radius:9px!important;background:var(--reader-panel)!important;color:var(--reader-text)!important;font-size:14px!important;cursor:pointer}.ayubhaedu-reader-setting-buttons button[data-reader-font-size="small"]{font-size:12px!important}.ayubhaedu-reader-setting-buttons button[data-reader-font-size="large"]{font-size:19px!important}.ayubhaedu-reader-setting-buttons button.is-active{background:#e9f6f3!important;border-color:#3fa89f!important;color:#075f62!important;font-weight:800}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-setting-buttons button.is-active{background:#154b4a!important;border-color:#4fa9a4!important;color:#efffff!important}.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-setting>span{color:#aab9b4}.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-panel-head button,.ayubhaedu-reader[data-theme="dark"] [data-reader-search-close]{background:#33403e!important;color:#e8f1ee!important}
.ayubhaedu-reader-scrim.is-open{display:block}.ayubhaedu-reader-search-panel,.ayubhaedu-reader-font-panel{animation:ayureader-panel-in .16s ease-out}@keyframes ayureader-panel-in{from{opacity:0;transform:translateY(-8px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:650px){.ayubhaedu-reader-page,.ayubhaedu-reader[data-width="narrow"] .ayubhaedu-reader-page,.ayubhaedu-reader[data-width="wide"] .ayubhaedu-reader-page{width:100%;border-left:0;border-right:0;padding:38px 20px 110px}.ayubhaedu-reader-search-panel,.ayubhaedu-reader-font-panel{top:70px;right:10px;width:calc(100% - 20px);max-height:calc(100vh - 90px);border-radius:14px}.ayubhaedu-reader-content{font-size:var(--reader-size)}}
.ayubhaedu-reader-font-panel>.ayubhaedu-reader-setting{display:block;gap:0;margin:0}.ayubhaedu-reader-panel-head button{flex:0 0 34px!important}

/* v1.0.4 — explicit reader menus, direct book commerce and theme-safe DOCX content */
.ayubhaedu-reader-header{grid-template-columns:auto auto minmax(0,1fr) auto}
.ayubhaedu-reader-toc-toggle,.ayubhaedu-reader-tools-toggle{width:auto!important;padding:0 12px!important;gap:7px;white-space:nowrap}
.ayubhaedu-reader-tools-toggle span:last-child,.ayubhaedu-reader-toc-toggle span:last-child{font-size:11px;opacity:.72}
.ayubhaedu-reader-tools-panel{position:fixed;z-index:120;top:82px;right:max(18px,calc((100vw - 1460px)/2));width:min(360px,calc(100% - 36px));padding:14px;border:1px solid var(--reader-border);border-radius:17px;background:var(--reader-panel);color:var(--reader-text);box-shadow:0 18px 55px rgba(13,45,38,.18);animation:ayureader-panel-in .16s ease-out}
.ayubhaedu-reader-tools-panel[hidden]{display:none}
.ayubhaedu-reader-panel-head{display:flex!important;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px!important;padding-bottom:10px;border-bottom:1px solid color-mix(in srgb,var(--reader-border) 72%,transparent)}
.ayubhaedu-reader-panel-head button{flex:0 0 34px!important;width:34px;height:34px;border:0!important;border-radius:50%!important;background:#eef6f3!important;color:#26443d!important;font-size:22px!important;cursor:pointer}
.ayubhaedu-reader-menu-item,.ayubhaedu-reader-tools-panel .ayubhaedu-library-buy{display:flex;width:100%;min-height:44px;box-sizing:border-box;align-items:center;justify-content:space-between;gap:10px;margin:3px 0;padding:10px 12px;border:0!important;border-radius:10px!important;background:transparent!important;color:var(--reader-text)!important;text-align:left;text-decoration:none!important;font:700 14px/1.3 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;box-shadow:none!important}
.ayubhaedu-reader-menu-item:hover,.ayubhaedu-reader-tools-panel .ayubhaedu-library-buy:hover{background:color-mix(in srgb,var(--reader-border) 35%,transparent)!important;color:var(--reader-heading)!important}
.ayubhaedu-reader-tools-panel .ayubhaedu-library-buy.is-download,.ayubhaedu-reader-tools-panel .ayubhaedu-library-buy.is-print{background:#e9f6f3!important;color:#075f62!important}
.ayubhaedu-reader-tools-panel .ayubhaedu-library-buy-wrap{display:block;width:100%}.ayubhaedu-reader-tools-panel .ayubhaedu-cart-action-message{display:block;font-size:12px;margin:4px 8px;color:#8a4a24}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-tools-panel{background:var(--reader-panel);border-color:var(--reader-border);color:var(--reader-text)}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-panel-head button{background:#33403e!important;color:#e8f1ee!important}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-tools-panel .ayubhaedu-library-buy.is-download,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-tools-panel .ayubhaedu-library-buy.is-print{background:#154b4a!important;color:#efffff!important}

/* Imported Word styles must not paint a white rectangle over sepia/dark Kindle themes. */
.ayubhaedu-reader-content>*:not(mark),.ayubhaedu-reader-content p,.ayubhaedu-reader-content div,.ayubhaedu-reader-content section,.ayubhaedu-reader-content article,.ayubhaedu-reader-content span,.ayubhaedu-reader-content ul,.ayubhaedu-reader-content ol,.ayubhaedu-reader-content li,.ayubhaedu-reader-content blockquote,.ayubhaedu-reader-content table,.ayubhaedu-reader-content tbody,.ayubhaedu-reader-content thead,.ayubhaedu-reader-content tr,.ayubhaedu-reader-content td,.ayubhaedu-reader-content th{background-color:transparent!important;background-image:none!important}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content p,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content div,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content section,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content article,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content span,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content li,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content td,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content th{color:var(--reader-text)!important}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content a{color:#79d8d2!important}.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content strong,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content b{color:#f1f6f4!important}

.ayubhaedu-library-reader-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap}.ayubhaedu-library-reader-actions .ayubhaedu-reader-menu-item{width:auto;min-height:38px;padding:7px 11px;border:1px solid #cfe0da!important;background:#fff!important;color:#075f62!important}.ayubhaedu-library-reader-actions .ayubhaedu-library-buy-wrap{display:inline-flex;align-items:center;gap:5px}.ayubhaedu-library-reader-actions .ayubhaedu-library-buy{min-height:38px;padding:7px 12px;border-radius:10px;font-size:13px}.ayubhaedu-library-reader-actions .ayubhaedu-cart-action-message{display:none}.ayubhaedu-library-secondary-purchase{margin-top:12px}.ayubhaedu-library-purchase-unavailable{display:inline-block;padding:10px 12px;border-radius:10px;background:#fff4df;color:#835b10;font-size:13px}

.ayubhaedu-library-price-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ayubhaedu-library-check{display:flex!important;flex-direction:row!important;align-items:center;gap:8px}.ayubhaedu-library-check input{width:auto!important}.ayubhaedu-library-access-grid section{align-content:start}

@media(max-width:650px){.ayubhaedu-reader-toc-toggle,.ayubhaedu-reader-tools-toggle{padding:0 9px!important;font-size:12px}.ayubhaedu-reader-toc-toggle span:first-child,.ayubhaedu-reader-tools-toggle span:first-child{display:inline}.ayubhaedu-reader-toc-toggle span:last-child,.ayubhaedu-reader-tools-toggle span:last-child{font-size:11px}.ayubhaedu-reader-tools-panel{top:70px;right:10px;width:calc(100% - 20px);max-height:calc(100vh - 90px);overflow:auto}.ayubhaedu-library-reader-top{height:auto;min-height:66px;grid-template-columns:auto 1fr;padding:9px 12px}.ayubhaedu-library-reader-top>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ayubhaedu-library-reader-actions{grid-column:1/-1;justify-content:flex-start}.ayubhaedu-library-reader-actions .ayubhaedu-library-buy-wrap,.ayubhaedu-library-reader-actions .ayubhaedu-reader-menu-item{width:100%}.ayubhaedu-library-reader-actions .ayubhaedu-library-buy{width:100%}.ayubhaedu-library-price-grid{grid-template-columns:1fr}}

/* v1.0.4 final reader-theme normalization and direct purchase actions */
.ayubhaedu-library-inline-purchase-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:18px}.ayubhaedu-library-inline-purchase-actions .ayubhaedu-library-buy-wrap{display:inline-flex;align-items:center}.ayubhaedu-library-inline-purchase-actions .ayubhaedu-library-buy{min-height:48px}.ayubhaedu-library-inline-purchase-actions .ayubhaedu-reader-menu-item{width:auto;min-height:48px;padding:0 18px;border:1px solid #cfe0da!important;border-radius:13px!important;background:#fff!important;color:#075f62!important}
/* Imported DOCX may contain inline white backgrounds and fixed black/white font colours. The reader owns presentation. */
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content *:not(mark){background-color:transparent!important;background-image:none!important;color:var(--reader-text)!important}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content h1,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content h2,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content h3,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content h4,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content h5,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content h6,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content strong,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content b{color:var(--reader-heading)!important}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content a{color:#79d8d2!important}.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content mark{color:#10201d!important}
.ayubhaedu-reader[data-theme="sepia"] .ayubhaedu-reader-content *:not(mark){background-color:transparent!important;background-image:none!important}
@media(max-width:650px){.ayubhaedu-library-inline-purchase-actions{display:grid;grid-template-columns:1fr}.ayubhaedu-library-inline-purchase-actions>*{width:100%!important}.ayubhaedu-library-inline-purchase-actions .ayubhaedu-library-buy{width:100%}}


/* v1.0.5 — reader navigation, overlay and strict Kindle theme normalization */
.ayubhaedu-revision-heading>a{display:none}
.ayubhaedu-revision-nav{display:flex;align-items:center;gap:10px;margin-bottom:28px}
.ayubhaedu-revision-nav a{display:inline-flex;align-items:center;min-height:40px;padding:0 13px;border:1px solid #cfe0da;border-radius:10px;background:#fff;color:#096e6d;text-decoration:none;font-weight:800}
.ayubhaedu-revision-nav a:hover{background:#eef8f5}

/* Theme/button CSS must never repaint the modal scrim as an opaque teal button. */
button.ayubhaedu-reader-scrim,.ayubhaedu-reader-scrim{
  position:fixed!important;inset:0!important;z-index:95!important;display:none;padding:0!important;margin:0!important;
  width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;border:0!important;border-radius:0!important;
  background:rgba(5,24,24,.28)!important;background-image:none!important;box-shadow:none!important;opacity:1!important;
  backdrop-filter:blur(1.5px);-webkit-backdrop-filter:blur(1.5px);cursor:default!important;
}
button.ayubhaedu-reader-scrim.is-open,.ayubhaedu-reader-scrim.is-open{display:block!important}

/* The native reader owns the reading canvas. Imported Word page paint must not survive theme changes. */
.ayubhaedu-reader .ayubhaedu-reader-content{background:transparent!important;background-color:transparent!important;background-image:none!important}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-page,
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content,
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content *:not(mark):not(img):not(svg):not(video):not(canvas){
  background:transparent!important;background-color:transparent!important;background-image:none!important;
}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content,
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content *:not(mark):not(a){color:var(--reader-text)!important}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content h1,
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content h2,
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content h3,
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content h4,
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content h5,
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content h6,
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content strong,
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-content b{color:var(--reader-heading)!important}
.ayubhaedu-reader[data-theme="sepia"] .ayubhaedu-reader-page,
.ayubhaedu-reader[data-theme="sepia"] .ayubhaedu-reader-content,
.ayubhaedu-reader[data-theme="sepia"] .ayubhaedu-reader-content *:not(mark):not(img):not(svg):not(video):not(canvas){background:transparent!important;background-color:transparent!important;background-image:none!important}

@media(max-width:650px){.ayubhaedu-revision-nav{display:grid;grid-template-columns:1fr 1fr}.ayubhaedu-revision-nav a{justify-content:center}}

/* v1.0.6 — distraction-free native reader, sticky chapter navigation, notes and save feedback */
html.ayubhaedu-reader-focus,html.ayubhaedu-reader-focus body{overflow:hidden!important}
.ayubhaedu-reader[data-library-reader]{position:fixed!important;inset:0!important;z-index:999990!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;background:var(--reader-bg)!important;scroll-behavior:smooth}
.ayubhaedu-reader[data-library-reader] .ayubhaedu-reader-header{position:sticky!important;top:0!important;z-index:90!important}
.ayubhaedu-reader[data-library-reader] .ayubhaedu-reader-page{min-height:calc(100vh - 134px);padding-bottom:118px}
.ayubhaedu-reader-footer{position:fixed;z-index:91;left:0;right:0;bottom:0;min-height:64px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:8px max(16px,calc((100vw - 1460px)/2));box-sizing:border-box;border-top:1px solid var(--reader-border);background:color-mix(in srgb,var(--reader-panel) 96%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 -5px 24px rgba(18,55,44,.07);color:var(--reader-text)}
.ayubhaedu-reader-footer a,.ayubhaedu-reader-footer .is-disabled{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 14px;border:1px solid var(--reader-border);border-radius:11px;background:var(--reader-panel);color:var(--reader-heading);text-decoration:none;font:800 14px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.ayubhaedu-reader-footer .is-prev{justify-self:start}.ayubhaedu-reader-footer .is-next{justify-self:end}.ayubhaedu-reader-footer strong{font:800 12px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--reader-text);opacity:.72}.ayubhaedu-reader-footer .is-disabled{opacity:.35;pointer-events:none}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-footer{background:color-mix(in srgb,var(--reader-panel) 97%,transparent);border-color:var(--reader-border)}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-footer a,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-footer .is-disabled{background:#2a3232;border-color:#43504d;color:#eef6f3}

.ayubhaedu-reader-chapter-note-panel{position:fixed;z-index:120;top:82px;right:max(18px,calc((100vw - 1460px)/2));width:min(440px,calc(100% - 36px));padding:18px;box-sizing:border-box;border:1px solid var(--reader-border);border-radius:17px;background:var(--reader-panel);color:var(--reader-text);box-shadow:0 18px 55px rgba(13,45,38,.18);animation:ayureader-panel-in .16s ease-out}
.ayubhaedu-reader-chapter-note-panel[hidden]{display:none!important}.ayubhaedu-reader-chapter-note-panel textarea{display:block;width:100%;min-height:190px;resize:vertical;box-sizing:border-box;padding:12px 13px;border:1px solid var(--reader-border)!important;border-radius:11px!important;background:var(--reader-panel)!important;color:var(--reader-text)!important;font:500 15px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.ayubhaedu-reader-panel-help{margin:0 0 12px;color:var(--reader-text);opacity:.72;font-size:13px;line-height:1.5}.ayubhaedu-reader-panel-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.ayubhaedu-reader-panel-actions button{min-height:40px;padding:0 14px;border:1px solid var(--reader-border)!important;border-radius:9px!important;background:var(--reader-panel)!important;color:var(--reader-text)!important;font-weight:800;cursor:pointer}.ayubhaedu-reader-panel-actions button.is-primary{border-color:#087d7d!important;background:#087d7d!important;color:#fff!important}.ayubhaedu-reader-chapter-note-panel .ayubhaedu-reader-panel-head button{flex:0 0 34px!important}

.ayubhaedu-reader-toast{position:fixed;z-index:180;left:50%;bottom:82px;transform:translate(-50%,14px);display:flex;align-items:center;gap:12px;width:min(620px,calc(100% - 28px));box-sizing:border-box;padding:12px 14px;border:1px solid #abd7ce;border-radius:12px;background:#effaf7;color:#16443f;box-shadow:0 12px 35px rgba(16,58,49,.18);font:700 13px/1.4 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;opacity:0;transition:opacity .18s ease,transform .18s ease}.ayubhaedu-reader-toast[hidden]{display:none!important}.ayubhaedu-reader-toast.is-visible{opacity:1;transform:translate(-50%,0)}.ayubhaedu-reader-toast span{flex:1}.ayubhaedu-reader-toast a{white-space:nowrap;color:#08716f;font-weight:850;text-decoration:none}.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-toast{background:#21312f;border-color:#3d625d;color:#e8f1ee}.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-toast a{color:#79d8d2}

@media(max-width:650px){.ayubhaedu-reader[data-library-reader] .ayubhaedu-reader-page{padding-bottom:112px}.ayubhaedu-reader-footer{min-height:60px;padding:7px 10px;gap:7px}.ayubhaedu-reader-footer a,.ayubhaedu-reader-footer .is-disabled{min-height:40px;padding:0 10px;font-size:12px}.ayubhaedu-reader-footer strong{font-size:11px}.ayubhaedu-reader-chapter-note-panel{top:70px;right:10px;width:calc(100% - 20px);max-height:calc(100vh - 145px);overflow:auto}.ayubhaedu-reader-toast{bottom:72px;align-items:flex-start;flex-direction:column;gap:5px}.ayubhaedu-reader-toast a{align-self:flex-end}}

/* v1.0.7 — dark-mode Contents drawer contrast. */
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-toc{background:#222a2a!important;color:#e8f1ee!important;border-color:#3b4543!important}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-toc-head{background:#222a2a!important;color:#f3f7f5!important;border-color:#3b4543!important}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-toc-head strong{color:#f3f7f5!important}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-toc-head button{background:#34403e!important;color:#f3f7f5!important;border:1px solid #465552!important}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-module{color:#55d2c8!important}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-toc>a{color:#dce7e3!important;background:transparent!important}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-toc>a>span{color:#96aaa3!important}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-toc>a:hover,.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-toc>a:focus-visible{background:#2d3736!important;color:#fff!important}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-toc>a.is-active{background:#173d3b!important;color:#f2fffc!important;border-right-color:#20b8ae!important}
.ayubhaedu-reader[data-theme="dark"] .ayubhaedu-reader-toc>a.is-active>span{color:#91ded7!important}

/* v1.0.8 — show the source unit/module in Revision Notebook entries. */
.ayubhaedu-revision-module{display:block;margin:3px 0 2px;color:#087f80;font-size:11px;font-weight:850;letter-spacing:.055em;text-transform:none;line-height:1.35}.ayubhaedu-revision-list article header>div>strong{display:block}
