/* معارج المعرفة — هوية رابطة علماء فلسطين */
:root{--navy:#174b40;--deep:#102f29;--gold:#c6a46a;--paper:#f6f7f3;--card:#fff;--ink:#203c34;--muted:#78847c;--line:#e3e8df;--soft:#edf2eb;--shadow:0 12px 32px #183c2910;--ease:cubic-bezier(.22,1,.36,1)}
html{scroll-behavior:smooth}body{font-family:'Maarij Arabic','Segoe UI',Tahoma,sans-serif;font-size:15px;background:var(--paper);line-height:1.85}button,input{font-family:inherit}::selection{background:#d9e4cb;color:#173e32}.skip-link{position:fixed;top:-100px;right:20px;z-index:100;background:var(--navy);color:#fff;padding:12px 20px;border-radius:8px}.skip-link:focus{top:15px}.app-sidebar{width:240px;background:#fff;color:var(--ink);padding:35px 24px 24px;border-left:1px solid var(--line);z-index:12}.brand{font-size:30px;gap:13px;letter-spacing:-1px}.brand-symbol{width:46px;height:59px;background:var(--navy);border-radius:24px 24px 8px 8px;display:grid;place-items:center;color:#eddbb5;font:45px Georgia;position:relative}.brand-symbol:before{position:absolute;content:'';inset:5px;border:1px solid #c6a46a66;border-radius:20px 20px 4px 4px}.brand small{font-size:10px;color:#728674;letter-spacing:3px;line-height:1.2}.nav-caption{font-size:10px;color:#9aa59a;margin:38px 12px 13px}#nav{display:grid;margin:0;gap:7px;height:auto}#nav a{display:flex;flex-direction:row;gap:13px;padding:13px 14px;border-radius:10px;color:#78867b;font-size:12px;font-weight:600;position:relative;transition:background .2s,color .2s,transform .2s;box-shadow:none}#nav a i{display:inline-flex;color:#8a9a8b}#nav a.active{background:#eaf1e8;color:var(--navy);box-shadow:none}#nav a.active i{color:var(--navy)}#nav a.active:after{content:'';position:absolute;left:14px;width:5px;height:5px;border-radius:50%;background:#81986d}#nav a:hover{background:var(--soft);color:var(--navy);transform:translateX(-2px)}#nav svg{width:20px;height:20px}.sidebar-note{margin:32px 4px 24px;padding:20px 16px;background:linear-gradient(145deg,#f3f5eb,#eef2e9);border-radius:12px;position:relative;overflow:hidden}.sidebar-note:after{content:'';position:absolute;width:110px;height:110px;border:1px solid #b9c5a855;border-radius:50%;left:-55px;bottom:-55px}.note-orbit{display:block;color:#a3864d;font-size:22px;line-height:1;margin-bottom:12px}.sidebar-note b{font-size:12px}.sidebar-note p{font-size:10px;color:#83907f;line-height:2.1;margin-top:7px}.association{margin-top:auto;display:flex;align-items:center;gap:10px;padding-top:20px;border-top:1px solid var(--line)}.association-logo{background:#fff;border-radius:12px;padding:6px;display:block;width:65px;flex-shrink:0}.association img{width:100%;height:auto;display:block}.association small{display:block;font-size:9px;color:#8a9589}.association b{display:block;font-size:11px;white-space:nowrap}.aside-bottom{margin-top:19px;color:#8b968b;font-size:9px;padding-right:7px}.aside-bottom small{font-size:8px;color:#a5afa2;margin-top:5px}.dot,.status-dot{display:inline-block;width:6px;height:6px;background:#83a07a;border-radius:50%;box-shadow:0 0 0 3px #89a77512}.shell{margin-right:240px;padding:0 42px}.app-header{height:100px;border-bottom:1px solid var(--line);gap:18px}.header-location .eyebrow{font-size:10px;color:#89978b;letter-spacing:0}.header-location .eyebrow span{margin:0 8px;color:#c2c9bd}.app-header h2{font-size:19px;font-weight:600;margin-top:2px}.header-actions{gap:13px}.offline{display:flex;align-items:center;gap:9px;background:transparent;color:#7b897a;font-size:10px;padding:0}.theme-toggle{width:36px;height:36px;border:1px solid var(--line);background:var(--card);border-radius:50%;font-size:19px;color:#78917b;transition:transform .3s}.theme-toggle:hover{transform:rotate(35deg)}.avatar{background:#e5ebdd;color:#69775c;border:4px solid var(--card);box-shadow:0 0 0 1px var(--line);width:37px;height:37px;font-size:13px}.eyebrow{font-size:10px;letter-spacing:.3px;font-weight:500;color:#8a9b86}main{padding:29px 0 42px;max-width:1320px;min-height:75vh;animation:page-in .5s var(--ease) both}main:focus{outline:0}.dashboard-intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:15px}.dashboard-intro h1{font-size:24px;letter-spacing:-.6px;margin-top:3px;font-weight:650}.dashboard-intro h1>span{color:#b29c68}.welcome-chip{display:flex;align-items:center;gap:8px;font-size:10px;color:#7a8e70}.welcome-chip svg{width:19px;height:19px}.home-hero{min-height:365px;border-radius:22px;background:#153e34;color:#fff;position:relative;display:grid;grid-template-columns:1.1fr 1fr;overflow:hidden;isolation:isolate;box-shadow:0 18px 35px #153e3412}.home-hero:after{content:'';position:absolute;width:720px;height:720px;left:-270px;top:-270px;background:radial-gradient(circle,#698a4a27,transparent 65%);pointer-events:none;z-index:-1}.hero-grain{position:absolute;inset:0;opacity:.04;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M32 0 64 32 32 64 0 32Z' fill='none' stroke='white'/%3E%3C/svg%3E");background-size:44px;mask-image:linear-gradient(90deg,#000,transparent);pointer-events:none}.hero-copy{padding:40px 38px 32px;z-index:2}.hero-kicker{display:flex;gap:8px;align-items:center;font-size:9px;color:#bbcdb1}.hero-kicker>span{width:5px;height:5px;display:inline-block;border-radius:50%;background:#d5bb7c;box-shadow:0 0 0 4px #d5bb7c0d}.hero-copy h1{font-size:43px;line-height:1.65;font-weight:650;letter-spacing:-1px;margin:13px 0 10px}.hero-copy h1 em{font-style:normal;color:#d7bd85}.hero-copy>p{font-size:12px;line-height:2.05;color:#b2c7b8}.hero-actions{display:flex;gap:21px;align-items:center;flex-wrap:wrap;margin-top:23px}.button{border-radius:9px;background:var(--navy);padding:12px 20px;font-size:11px;gap:14px;min-height:43px;transition:background .2s,transform .25s,box-shadow .25s}.button svg{width:18px;height:18px}.button:hover{transform:translateY(-2px);box-shadow:0 6px 16px #1a46351a}.button.gold{background:#e3c990;color:#203f31}.button.gold:hover{background:#f0dbb0;box-shadow:0 7px 22px #0002}.button.light{background:var(--soft);color:var(--ink)}.hero-secondary{font-size:10px;color:#dce5d9;padding:10px 0}.hero-secondary span{display:inline-block;margin-right:11px;color:#b2c7b8;transition:transform .2s}.hero-secondary:hover span{transform:translate(-3px,-3px)}.hero-footnote{display:flex;align-items:center;gap:8px;color:#8eae99;font-size:8px;margin-top:27px}.hero-line{width:23px;height:1px;background:#8eae9955}.hero-gallery{position:relative;min-height:360px;perspective:1200px}.hero-orbit{position:absolute;border:1px solid #9db98d22;border-radius:50%;width:360px;height:360px;top:35px;left:0}.orbit-two{width:285px;height:285px;top:73px;left:38px;border-style:dashed;animation:orbit-turn 75s linear infinite}.hero-book{position:absolute;width:190px;aspect-ratio:4/5;border:5px solid #f6ecd4;border-radius:17px;background:#eeeadf;box-shadow:0 22px 35px #031f2d55;overflow:hidden}.hero-book img{width:100%;height:100%;object-fit:cover;display:block;object-position:center 65%}.hero-book>span{position:absolute;inset:auto 0 0;background:linear-gradient(0deg,#0d2d27f0,#0d2d2700);padding:40px 15px 14px;font-size:17px;font-weight:600;text-align:center;color:#fff}.hero-book>span small{font-size:8px;display:block;color:#d2d8b8}.hero-book-main{top:54px;left:125px;transform:rotate(-9deg);animation:float-main 9s ease-in-out infinite;z-index:2}.hero-book-back{top:86px;left:16px;transform:rotate(11deg);animation:float-back 10s ease-in-out infinite}.floating-pill{position:absolute;top:30px;left:21px;display:flex;align-items:center;gap:6px;border:1px solid #ffffff25;background:#ffffff0c;backdrop-filter:blur(8px);padding:7px 12px;font-size:8px;border-radius:25px;color:#dddfc6;z-index:3;transform:rotate(5deg)}.floating-pill svg{width:14px;height:14px;color:#e2cd95}.floating-seal{position:absolute;bottom:29px;left:38px;z-index:4;background:#f3efdeee;border:1px solid #fff6;border-radius:50%;width:75px;height:75px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#315340;box-shadow:0 6px 15px #0002;transform:rotate(9deg)}.floating-seal b{font-size:23px;line-height:1.1}.floating-seal small{font-size:8px;margin-top:5px}.hero-star{position:absolute;color:#c9b278}.star-one{right:16px;top:31px;font-size:31px}.star-two{right:18px;bottom:43px;font-size:17px}.quick-strip{display:grid;grid-template-columns:repeat(3,1fr);margin:20px 0 32px;padding:17px 0;border:1px solid var(--line);border-radius:13px;background:var(--card)}.quick-strip>div{display:flex;align-items:center;justify-content:center;gap:14px;border-left:1px solid var(--line)}.quick-strip>div:last-child{border:0}.quick-strip>div>svg{width:26px;height:26px;color:#90a27c}.quick-strip b{display:block;font-size:11px;font-weight:650}.quick-strip small{display:block;font-size:9px;color:#939b8f;margin-top:3px}.section-head{margin:29px 0 18px;gap:15px}.section-head h2{font-size:21px;letter-spacing:-.3px;font-weight:650;margin-top:2px}.text-link{display:flex;align-items:center;gap:12px;font-size:10px!important;color:#72816b!important;white-space:nowrap}.text-link svg{width:17px;height:17px}
.grid.book-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:19px}.book{padding:0;display:block;background:var(--card);border:1px solid var(--line);border-radius:15px;overflow:hidden;box-shadow:0 4px 8px #183c2902;transition:transform .45s var(--ease),box-shadow .45s,border-color .3s;animation:card-in .7s var(--ease) both;animation-delay:var(--item-delay,0ms)}.book:hover{transform:translateY(-7px);box-shadow:0 15px 28px #1c432019;border-color:#bcccb5}.book-visual{aspect-ratio:1.17;position:relative;overflow:hidden;background:#e9eddf}.book-visual>img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 62%;transition:transform 1s var(--ease)}.book:hover .book-visual>img{transform:scale(1.065)}.book-category{position:absolute;top:12px;right:12px;background:#fcfaf1ee;border:1px solid #ffffff80;backdrop-filter:blur(8px);font-size:8px;font-weight:600;padding:3px 9px;border-radius:5px;color:#5a6d4c;z-index:1}.book-open{position:absolute;bottom:12px;left:12px;border-radius:50%;background:#fffc;width:29px;height:29px;display:grid;place-items:center;color:#355a42;opacity:0;transform:translateX(8px);transition:opacity .3s,transform .3s}.book-open svg{width:16px;height:16px}.book:hover .book-open{opacity:1;transform:none}.book-body{padding:17px 17px 0}.book-label{font-size:8px;color:#8b987f;margin-bottom:1px}.book h3{font-size:19px;margin:0 0 6px;letter-spacing:-.5px;font-weight:650;line-height:1.7}.book-description{font-size:9px;color:#90998a;line-height:1.9;min-height:35px}.book-meta{border-top:1px solid var(--line);margin-top:13px;padding:11px 0;display:flex;align-items:center;justify-content:space-between;color:#899680;font-size:8px;gap:5px}.book-meta>span{display:flex;align-items:center;gap:5px}.book-meta svg{width:12px;height:12px}.book-clay .book-label{color:#ab8065}.book-ink .book-label{color:#69838b}.discovery-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:20px;margin-top:26px}.continue-card{display:flex;align-items:center;gap:19px;padding:23px;border:1px solid var(--line);background:var(--card);border-radius:13px;transition:transform .3s,box-shadow .3s}.continue-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.discovery-icon{color:#8c9e78;background:#f1f3e9;padding:13px;display:grid;place-items:center;border-radius:13px}.continue-card h3{font-size:14px;margin:3px 0}.continue-card p{font-size:10px;color:var(--muted)}.continue-card .eyebrow{font-size:8px}.circle-arrow{margin-right:auto;display:grid;place-items:center;width:33px;height:33px;border:1px solid var(--line);border-radius:50%;color:#9aa788;flex-shrink:0}.circle-arrow svg{width:16px;height:16px}.daily-card{position:relative;border-radius:13px;background:#eaf0e3;padding:21px 26px;overflow:hidden;color:#5a7255}.daily-card>span:first-child{font-size:8px;letter-spacing:1px;color:#91a180}.daily-card p{font-size:17px;line-height:1.9;margin-top:6px;font-weight:500}.daily-decoration{position:absolute;font-size:90px;left:-8px;bottom:-45px;color:#c6d3b6;font-family:Georgia;transform:rotate(15deg)}footer{border-top:1px solid var(--line);padding:24px 0;display:flex;justify-content:space-between;align-items:center;gap:15px}.footer-brand{display:flex;align-items:center;gap:13px}.footer-brand img{width:43px;height:auto;background:#fff;border-radius:7px;padding:3px}.footer-brand b{display:block;font-size:10px;color:#73846d}.footer-brand small{display:block;font-size:8px;color:#a0a99b;margin-top:3px}footer button{font-size:10px;color:#8c9985}footer button>span{margin-right:12px;color:#a5ad97}.panel{background:var(--card);border:1px solid var(--line);border-radius:15px;padding:28px}.library-intro{display:flex;align-items:center;justify-content:space-between;padding:29px 33px;background:linear-gradient(120deg,#ecf1e5,#f7f7ef);border:1px solid var(--line);border-radius:18px}.library-intro h1{font-size:37px;line-height:1.8;letter-spacing:-1px;font-weight:650}.library-intro h1 em{font-style:normal;color:#799264}.library-intro p{font-size:12px;color:#8b9680}.library-total{font-size:48px;color:#8da475;text-align:center;padding-left:10px;font-weight:500;line-height:1.2}.library-total small{display:block;font-size:9px;margin-top:12px;color:#92a081}.library-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:26px 0}.library-caption{display:flex;align-items:center;gap:9px;font-size:10px;color:#87967f}.search-wrap{display:flex;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:10px;padding:0 14px;width:300px;gap:10px}.search-wrap svg{width:17px;height:17px;color:#9ba990}.search-wrap .search{background:transparent;border:0;margin:0;padding:11px 0;font-size:11px;border-radius:0}.art-notice{margin-top:25px;background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;font-size:9px;color:#97a08f;padding-right:0}.back-link{font-size:11px;color:#8a9a83;display:inline-block;margin-bottom:20px}.book-detail{display:grid;grid-template-columns:1.15fr 1fr;background:var(--card);border:1px solid var(--line);border-radius:20px;overflow:hidden;min-height:365px}.book-detail-copy{padding:39px}.book-detail h1{font-size:40px;line-height:1.7;letter-spacing:-1px;margin:9px 0 0}.book-detail h2{font-size:15px;font-weight:500;color:#8fa080;margin-bottom:10px}.book-detail-copy>.muted{font-size:10px}.detail-intro{font-size:13px;margin-top:16px;color:#74896b}.detail-stats{display:flex;gap:26px;margin-top:25px}.detail-stats>span{font-size:20px;font-weight:600;line-height:1.4;color:#728965}.detail-stats small{display:block;font-size:8px;font-weight:400;color:#9ca78f;margin-top:5px}.book-detail-art{position:relative;overflow:hidden;max-height:420px}.book-detail-art img{width:100%;height:100%;object-fit:cover;object-position:center 62%;display:block}.book-detail-art>span{position:absolute;bottom:14px;left:14px;background:#fff9;backdrop-filter:blur(4px);color:#4f6a4a;font-size:8px;padding:3px 9px;border-radius:5px}.section-list{padding:6px 26px}.lesson-row{padding:21px 0;gap:18px;animation:card-in .6s var(--ease) both;animation-delay:var(--item-delay,0ms)}.lesson-row:last-child{border:0}.lesson-row .number{background:#eef2e9;border-radius:10px;width:40px;height:40px;font-size:12px;color:#81946b}.lesson-row h3{font-size:14px;font-weight:600}.lesson-row small{font-size:9px;color:#9da892}.lesson-row .button{font-size:9px;min-height:35px;padding:8px 13px}.lesson-row .button svg{width:15px;height:15px}.badge{color:#7a9068;background:#edf2e8;font-size:9px;border:1px solid #e1e9d8}.notice{background:#f7f2e6;border-color:#e9dfc6;color:#9a875d}.stats{gap:16px}.stat{border-radius:13px;padding:22px}.stat i{color:#a3b18a}.stat strong{font-weight:500}.stat small{font-size:10px}.hero:not(.home-hero){background:linear-gradient(125deg,#173e35,#315c47);padding:35px;border-radius:18px;min-height:230px}.hero:not(.home-hero) h1{font-size:31px}.hero:not(.home-hero) p{font-size:12px}.reader{max-width:850px}.reader-tag{font-size:10px;color:#9b8554}.arabic{font-family:'Traditional Arabic','Maarij Arabic',Georgia,serif;line-height:2.4}.tabs button{font-size:12px;color:#97a08c}.tabs button.selected{color:#5c8058;border-bottom-color:#83a376}.choice{transition:background .2s,border-color .2s}.choice.picked{border-color:#8ea575;background:#f1f5e9}.section-intro{margin:25px 0 23px}.section-intro h1{font-size:33px;font-weight:650;letter-spacing:-.7px}.section-intro p{font-size:12px}.study-layout{grid-template-columns:minmax(0,1fr) 260px;gap:23px}.section-study h2{font-size:21px;font-weight:600}.summary-text{font-size:20px;line-height:2.1}.understanding li{font-size:17px;line-height:2.1;padding:21px 48px 21px 12px}.understanding li:before{background:#ecf1e5;color:#819268;font-size:12px}.source-panel{padding:23px;box-shadow:0 8px 20px #17392305;top:24px}.source-panel h2{font-size:20px}.source-panel small{font-size:11px;color:#96a08b}.source-panel .button{padding:12px 10px;font-size:10px}.source-panel p{font-size:11px;color:#7f8e77}.boundary-note{font-size:11px;background:#f5f0e3;color:#96845e;padding:14px;line-height:1.9}.study-jumps{height:auto;justify-content:flex-start;margin:0 0 25px}.study-jumps a{font-size:10px;padding:8px 16px;border-radius:8px;display:block;background:var(--card);color:#8a987c;font-weight:500}.explanation-text{font-size:18px;line-height:2.2}.explanation-block h3{font-size:19px;font-weight:600}.teaching-example{background:#f0f4ea;border-right-color:#96ac80}.teaching-example p{font-size:16px;color:#728567}.teaching-example b{color:#76905e;font-size:12px}.reflection{background:#f5f1e6;border-right-color:#ccb27b}.reflection h3{font-size:16px}.reflection p{font-size:11px}.map-root{background:#315c47;border-radius:11px;font-size:15px}.map-branch{background:#f0f4e9;border-color:#e0e7d7}.map-branch summary{font-size:12px;color:#6e855d}.map-branch p{font-size:12px;color:#8a9a7d}.map-block>p{font-size:11px}.map-block>small{font-size:10px}.section-pagination .button{font-size:10px}dialog{border:1px solid var(--line);box-shadow:0 25px 80px #071b3050;padding:37px;border-radius:18px;animation:page-in .3s var(--ease)}dialog h2{margin-bottom:15px}dialog p{font-size:13px;line-height:2.1}dialog::backdrop{background:#17342b88;backdrop-filter:blur(5px)}#toast{background:#204b3b;border:1px solid #ffffff20;border-radius:10px;box-shadow:0 8px 25px #12362922;font-size:11px}
.dark{--paper:#14271f;--card:#1a3026;--ink:#dce6d5;--muted:#91a28a;--line:#2a4435;--soft:#243f2e}.dark .app-sidebar{background:#182c22}.dark #nav a{color:#a8b99c}.dark #nav a.active{color:#d9e7c6;background:#2a4432}.dark #nav a.active i{color:#c3d6ac}.dark .sidebar-note,.dark .library-intro{background:#203b2c}.dark .association-logo,.dark .footer-brand img{background:#fff}.dark .daily-card{background:#284532;color:#b3c49c}.dark .daily-decoration{color:#3d573a}.dark .teaching-example,.dark .map-branch,.dark .understanding li:before{background:#273e2a}.dark .teaching-example p,.dark .map-branch p{color:#a2b48e}.dark .teaching-example b,.dark .map-branch summary{color:#b9c9a0}.dark .reflection,.dark .boundary-note{background:#3a3827}.dark .lesson-row .number,.dark .badge{background:#2a4330;color:#b6c99c}.dark .notice{background:#3a3827;color:#c4b68d;border-color:#534a32}.dark .choice.picked{background:#314d30}.dark .choice.correct{background:#284d33}.dark .choice.wrong{background:#513a31}.dark .book-detail h2,.dark .detail-intro{color:#9fb38a}
@keyframes page-in{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}@keyframes card-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes float-main{0%,100%{transform:translateY(0) rotate(-9deg)}50%{transform:translateY(-7px) rotate(-7deg)}}@keyframes float-back{0%,100%{transform:translateY(0) rotate(11deg)}50%{transform:translateY(6px) rotate(9deg)}}@keyframes orbit-turn{to{transform:rotate(360deg)}}
@media(min-width:1500px){.shell{padding:0 65px}.home-hero{min-height:405px}.hero-copy{padding:44px 48px 38px}.hero-copy h1{font-size:48px}.hero-copy>p{font-size:13px}.hero-gallery{min-height:405px}.hero-book{width:218px}.hero-book-main{left:151px;top:46px}.hero-book-back{left:27px;top:80px}.floating-pill{left:48px}.hero-orbit{left:30px;width:400px;height:400px}.orbit-two{width:325px;height:325px;left:66px;top:73px}.floating-seal{left:55px}.book-visual{aspect-ratio:1.1}.book-description{font-size:10px}.book h3{font-size:21px}.book-category{font-size:9px}.book-body{padding:20px 20px 0}.book-meta{font-size:9px}}
@media(max-width:1200px){.app-sidebar{width:210px;padding:30px 18px 20px}.shell{margin-right:210px;padding:0 28px}.brand{font-size:27px}.association b{font-size:10px}.association-logo{width:52px}.sidebar-note{margin-top:26px}.hero-copy{padding:30px 27px}.hero-copy h1{font-size:37px}.hero-copy>p{font-size:11px}.hero-kicker{font-size:8px}.home-hero{grid-template-columns:1fr 1fr;min-height:345px}.hero-gallery{min-height:345px}.hero-book{width:160px}.hero-book-main{left:93px;top:58px}.hero-book-back{left:10px;top:86px}.hero-book>span{font-size:14px}.floating-pill{font-size:7px;left:12px}.hero-orbit{width:300px;height:300px;left:-12px;top:40px}.orbit-two{width:240px;height:240px;left:18px;top:70px}.hero-star.star-one{right:5px;font-size:24px}.floating-seal{width:65px;height:65px;left:22px;bottom:35px}.hero-actions{gap:15px}.hero-copy .button{font-size:10px;padding:10px 15px}.hero-secondary{font-size:9px}.grid.book-grid{gap:14px}.book-body{padding:13px 13px 0}.book h3{font-size:17px}.book-description{font-size:8px;min-height:32px}.book-meta{font-size:7px}.book-category{top:9px;right:9px;font-size:7px;padding:3px 7px}.quick-strip>div{gap:10px}.quick-strip b{font-size:10px}.quick-strip small{font-size:8px}.book-detail-copy{padding:30px}.study-layout{grid-template-columns:minmax(0,1fr) 230px;gap:18px}.panel{padding:24px}.source-panel{padding:20px}.book-detail .hero-actions .button{font-size:9px;padding:11px 13px}}
@media(max-width:1000px){.app-sidebar{width:190px;padding:28px 16px 20px}#nav a{font-size:11px;padding:12px 10px;gap:10px}.shell{margin-right:190px;padding:0 24px}.association{gap:5px}.association-logo{width:48px}.association b{font-size:9px}.association small{font-size:8px}.sidebar-note{padding:17px 13px}.grid.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.book-visual{aspect-ratio:1.4}.book-body{padding:18px 18px 0}.book h3{font-size:21px}.book-description{font-size:10px;min-height:22px}.book-meta{font-size:9px}.book-category{font-size:9px}.home-hero{grid-template-columns:1.2fr 1fr;min-height:325px}.hero-copy{padding:28px 25px}.hero-copy h1{font-size:32px}.hero-copy>p{font-size:10px}.hero-footnote{font-size:7px;margin-top:22px}.hero-gallery{min-height:325px}.hero-book{width:143px}.hero-book-main{left:64px;top:73px}.hero-book-back{left:-10px;top:99px}.hero-orbit{width:240px;height:240px;top:65px;left:-20px}.orbit-two{width:190px;height:190px;top:90px;left:5px}.floating-pill{left:2px;top:34px;font-size:6px;padding:6px 8px}.hero-star.star-one{font-size:19px;top:49px}.hero-star.star-two{display:none}.floating-seal{left:7px;bottom:28px;width:58px;height:58px}.floating-seal b{font-size:19px}.floating-seal small{font-size:6px}.dashboard-intro h1{font-size:22px}.discovery-grid{grid-template-columns:1fr}.daily-card{display:flex;align-items:center;justify-content:space-between;padding:17px 24px}.daily-card p{font-size:15px;margin:0}.daily-card p br{display:none}.daily-decoration{display:none}.study-layout{grid-template-columns:1fr}.source-panel{position:static}.book-detail h1{font-size:34px}.book-detail-art{min-height:340px}.book-detail-copy{padding:26px}.detail-intro{font-size:11px}.detail-stats{gap:15px}.detail-stats>span{font-size:18px}.detail-stats small{font-size:7px}.section-head h2{font-size:19px}}
@media(max-width:760px){.app-sidebar{width:170px;padding:25px 13px 18px}.shell{margin-right:170px;padding:0 20px}.brand{font-size:24px}.brand-symbol{width:39px;height:51px;font-size:38px}.nav-caption{margin-top:30px;font-size:9px}#nav a{font-size:10px;padding:11px 9px}#nav svg{width:18px;height:18px}.sidebar-note{padding:15px 10px}.sidebar-note b{font-size:10px}.sidebar-note p{font-size:9px}.association b{font-size:8px}.association-logo{width:43px}.aside-bottom{font-size:7px}.app-header{height:85px}.app-header h2{font-size:17px}.header-location .eyebrow{font-size:8px}.offline{font-size:8px}.avatar{display:none}.header-actions{gap:10px}.theme-toggle{width:30px;height:30px}.dashboard-intro h1{font-size:20px}.welcome-chip{display:none}.home-hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:28px 27px 35px;position:relative;max-width:72%}.hero-copy h1{font-size:33px}.hero-gallery{position:absolute;left:-90px;top:50px;width:240px;height:270px;min-height:0;opacity:.78;z-index:-1}.hero-book{width:140px}.hero-book-main{left:81px;top:53px}.hero-book-back{left:0;top:81px}.floating-pill,.floating-seal,.hero-star{display:none}.quick-strip>div>svg{display:none}.quick-strip b{font-size:9px}.quick-strip small{font-size:7px}.section-head h2{font-size:17px}.text-link{font-size:8px!important;gap:6px}.book-description{font-size:9px;min-height:34px}.book h3{font-size:19px}.book-body{padding:14px 14px 0}.book-meta{font-size:8px}.grid.book-grid{gap:15px}.book-category{font-size:8px}.library-intro{padding:25px}.library-intro h1{font-size:29px}.library-intro p{font-size:10px}.library-total{font-size:38px}.library-toolbar{gap:15px;align-items:stretch;flex-direction:column}.search-wrap{width:100%}.book-detail{grid-template-columns:1fr}.book-detail-art{height:230px;min-height:0;order:-1}.book-detail-art img{object-position:center 60%}.book-detail-copy{padding:25px}.book-detail .hero-actions .button{font-size:10px}.detail-stats{gap:26px}.lesson-row{gap:12px}.lesson-row h3{font-size:12px}.lesson-row .button{font-size:8px;padding:7px 10px}.lesson-row .number{width:34px;height:34px;font-size:10px}.section-intro h1{font-size:27px}.section-list{padding:4px 20px}.footer-brand small{font-size:7px}.footer-brand img{width:36px}}
@media(max-width:650px){.app-sidebar{position:fixed;top:auto;bottom:0;right:0;width:100%;height:68px;padding:0 8px 3px;background:var(--card);border:0;border-top:1px solid var(--line);box-shadow:0 -4px 15px #16322205;display:block;z-index:20}.app-sidebar>.brand,.app-sidebar>.nav-caption,.sidebar-note,.association,.aside-bottom{display:none}#nav{height:65px;display:flex;justify-content:space-around;align-items:center;gap:0}#nav a{display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:8px;padding:7px 4px;border-radius:9px;min-width:53px;color:#929e89;box-shadow:none}#nav svg{width:20px;height:20px}#nav a.active{background:#edf2e6;color:#587748;box-shadow:none}#nav a.active:after{display:none}#nav a.active i{color:#587748}#nav a:hover{transform:none}.shell{margin:0;padding:0 19px 68px}.app-header{height:84px}.header-location .eyebrow{font-size:8px}.app-header h2{font-size:17px}.header-actions{gap:10px}.header-actions #theme{display:block}.header-location .eyebrow span{margin:0 4px}.offline{font-size:8px;gap:6px;padding:0;background:transparent}.theme-toggle{width:29px;height:29px;font-size:17px}.avatar{display:none}main{padding:22px 0 25px}.dashboard-intro{margin-bottom:20px}.dashboard-intro h1{font-size:22px}.dashboard-intro .eyebrow{font-size:9px}.home-hero{border-radius:17px;min-height:345px}.hero-copy{padding:28px 24px 30px;max-width:77%}.hero-kicker{font-size:7px}.hero-copy h1{font-size:36px;line-height:1.65;margin:12px 0}.hero-copy>p{font-size:10px}.hero-actions{gap:15px;margin-top:21px}.hero-copy .button{min-height:40px;font-size:9px;padding:10px 14px}.hero-secondary{font-size:8px}.hero-secondary span{margin-right:5px}.hero-footnote{margin-top:24px;font-size:7px}.hero-gallery{left:-68px;top:40px;width:240px;opacity:.76}.hero-book{width:147px}.hero-book-main{left:70px;top:70px}.hero-book-back{left:-12px;top:106px}.hero-orbit{width:235px;height:235px;top:60px;left:-12px}.orbit-two{width:190px;height:190px;top:83px;left:10px}.hero-book>span{font-size:12px;padding-bottom:12px}.hero-book>span small{font-size:6px}.quick-strip{margin:17px 0 29px;border-radius:10px;padding:13px 0}.quick-strip b{font-size:9px}.quick-strip small{font-size:6px}.section-head{margin:25px 0 17px;gap:10px}.section-head h2{font-size:18px;line-height:1.7}.library-heading h2{font-size:17px}.section-head .eyebrow{font-size:8px}.text-link{font-size:8px!important}.text-link svg{width:13px}.grid.book-grid{gap:14px}.book{border-radius:12px}.book-visual{aspect-ratio:1.05}.book-body{padding:12px 12px 0}.book-label{font-size:7px}.book h3{font-size:18px;line-height:1.8}.book-description{font-size:8px;line-height:1.9;min-height:32px}.book-meta{font-size:7px;padding:9px 0;margin-top:10px}.book-meta svg{display:none}.book-category{font-size:7px;top:8px;right:8px;padding:3px 7px}.book-open{display:none}.discovery-grid{gap:14px;margin-top:22px}.continue-card{padding:18px 16px;gap:13px}.discovery-icon{padding:10px}.discovery-icon svg{width:20px;height:20px}.continue-card h3{font-size:12px}.continue-card p{font-size:8px}.continue-card .eyebrow{font-size:7px}.circle-arrow{width:27px;height:27px}.daily-card{padding:18px;gap:14px}.daily-card>span:first-child{font-size:7px;letter-spacing:0}.daily-card p{font-size:12px}.daily-card p br{display:block}.footer-brand img{width:38px}.footer-brand b{font-size:9px}.footer-brand small{font-size:6px}footer{padding:20px 0}footer button{font-size:8px}footer button span{display:inline-block}.library-intro{padding:25px 22px}.library-intro h1{font-size:31px}.library-intro p{font-size:10px;max-width:210px}.library-total{font-size:36px;padding:0}.library-total small{font-size:7px;max-width:50px}.library-caption{font-size:9px}.library-toolbar{margin:21px 0}.book-detail-art{height:250px}.book-detail-copy{padding:26px 23px}.book-detail h1{font-size:34px}.book-detail h2{font-size:14px}.detail-stats>span{font-size:19px}.detail-stats small{font-size:8px}.book-detail .hero-actions{gap:10px}.book-detail .hero-actions .button{font-size:9px}.panel{padding:21px}.section-list{padding:4px 18px}.lesson-row{padding:18px 0;gap:11px}.lesson-row small{font-size:8px}.lesson-row .button{font-size:8px;min-height:32px;padding:6px 9px;gap:5px}.lesson-row .button svg{width:12px;height:12px}.lesson-row .number{width:31px;height:35px;font-size:10px}.section-intro h1{font-size:28px}.section-intro .reader-tag{font-size:9px}.section-intro p{font-size:10px}.study-jumps{display:flex;gap:7px;height:auto;justify-content:flex-start}.study-jumps a{font-size:9px;padding:7px 12px}.summary-text{font-size:18px;line-height:2.15}.section-study h2{font-size:20px}.understanding li{font-size:15px;padding:18px 40px 18px 5px}.understanding li:before{width:28px;height:28px;line-height:28px;font-size:11px}.explanation-text{font-size:17px}.explanation-block h3{font-size:17px}.teaching-example p{font-size:14px}.reflection h3{font-size:15px}.source-panel{padding:24px}.source-panel p{font-size:12px}.source-panel small{font-size:11px}.source-panel .button{font-size:11px}.section-pagination .button{font-size:9px;padding:10px 13px}.stats{gap:8px}.stat{padding:14px 10px;gap:7px}.stat small{font-size:8px}.stat strong{font-size:20px}.hero:not(.home-hero){padding:28px 24px}.hero:not(.home-hero) h1{font-size:26px}.hero:not(.home-hero) p{font-size:11px}.tabs button{font-size:11px}.empty{padding:34px 20px}.empty p{font-size:12px}.dark .app-sidebar{background:var(--card)}#toast{bottom:82px;left:15px;right:15px;text-align:center}}
@media(max-width:375px){.shell{padding-left:14px;padding-right:14px}.hero-copy{padding:25px 20px;max-width:83%}.hero-copy h1{font-size:32px}.hero-gallery{left:-90px;opacity:.58}.home-hero{min-height:330px}.hero-copy>p{font-size:9px}.hero-copy .button{font-size:8px;padding:10px 12px}.hero-secondary{font-size:7px}.hero-kicker{font-size:6px}.dashboard-intro h1{font-size:20px}.book h3{font-size:16px}.book-meta{font-size:6px}.book-body{padding:11px 10px 0}.quick-strip b{font-size:8px}.quick-strip small{font-size:5px}.offline{font-size:7px}.header-location .eyebrow{font-size:7px}.library-heading h2{font-size:15px}.section-head .badge{font-size:7px}.lesson-row .button{font-size:7px}.lesson-row h3{font-size:11px}.circle-arrow{display:none}.study-jumps a{font-size:8px;padding:7px 10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.hero-book-main{transform:rotate(-9deg)}.hero-book-back{transform:rotate(11deg)}}
.section-book-name{display:block;color:#6f8562;font-size:12px;margin-bottom:12px;text-decoration:underline;text-underline-offset:4px}.subject-context{margin-top:19px;padding:19px 23px;background:var(--soft);border-right:3px solid #8da276;border-radius:10px;max-width:900px}.subject-context>span{font-size:11px;color:#7d926a;font-weight:600}.subject-context>p{font-size:16px!important;line-height:2;margin-top:6px;color:var(--ink)}.explained-passages{margin:25px 0 30px}.explained-passages>h3{font-size:18px;margin-bottom:16px}.passage-card{padding:19px 21px;margin:12px 0;border:1px solid var(--line);border-radius:11px;background:var(--card)}.passage-card h4{margin:0 0 9px;font-size:17px;color:var(--ink)}.passage-card p{font-size:16px;line-height:2.1;color:var(--muted)}.passage-card a{display:inline-block;margin-top:12px;color:#81936b;font-size:11px;text-decoration:underline;text-underline-offset:3px}.dark .subject-context>span,.dark .section-book-name,.dark .passage-card a{color:#b7c99e}@media(max-width:650px){.section-book-name{font-size:10px;line-height:1.9}.subject-context{padding:16px 18px}.subject-context>p{font-size:14px!important}.passage-card{padding:17px}.passage-card h4{font-size:16px}.passage-card p{font-size:14px}.passage-card a{font-size:10px}}
/* Detailed source-based lessons */
.deep-intro{margin-top:25px;padding:23px;background:var(--soft);border-radius:12px}.deep-intro h3{font-size:23px!important;margin:7px 0 17px!important}.deep-intro p{font-size:17px;line-height:2.15;margin:13px 0}.deep-counts{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0}.deep-counts span{padding:6px 12px;border:1px solid var(--line);border-radius:7px;background:var(--card);font-size:11px;color:#7b926a}.deep-scope{font-size:11px!important;line-height:2!important;color:var(--muted);margin:20px 0!important}.deep-goals{margin:18px 0;padding:18px 21px;border:1px solid var(--line);border-radius:10px}.deep-goals summary{font-size:14px;font-weight:600;cursor:pointer}.deep-goals ul{padding-right:20px;margin-bottom:0;font-size:14px;color:var(--muted);line-height:2}.deep-outline{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:25px 0}.deep-outline button{display:flex;align-items:center;gap:10px;text-align:right;padding:13px 14px;border:1px solid var(--line);border-radius:8px;font-size:12px;background:var(--card);transition:background .2s}.deep-outline button:hover{background:var(--soft)}.deep-outline button span{font-size:10px;color:#8d9e79;flex-shrink:0}.deep-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 0 20px;color:var(--muted);font-size:11px}.deep-toolbar button{font-size:10px;color:#7b926a;padding:6px 10px;border:1px solid var(--line);border-radius:7px;margin-right:4px}.deep-topic{border:1px solid var(--line);border-radius:13px;overflow:hidden;margin-bottom:20px;scroll-margin-top:25px}.deep-topic>summary{display:flex;gap:13px;align-items:center;list-style:none;background:var(--soft);padding:19px 21px;cursor:pointer}.deep-topic>summary::-webkit-details-marker{display:none}.topic-index{width:32px;height:36px;border-radius:9px;background:var(--card);color:#8b9f78;display:grid;place-items:center;font-size:11px;flex-shrink:0}.deep-topic summary b{font-size:16px;line-height:1.9;display:block}.deep-topic summary small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.topic-toggle{margin-right:auto;color:#8b9f78;font-size:20px;transition:transform .2s}.deep-topic[open]>summary .topic-toggle{transform:rotate(45deg)}.topic-content{padding:0 24px}.topic-aim{font-size:14px;color:#869779;line-height:2;margin:21px 0}.hadith-study{padding:26px 0 33px;border-top:1px solid var(--line);scroll-margin-top:25px}.hadith-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:#8b9b7b}.hadith-heading>span{background:var(--soft);border-radius:6px;padding:4px 9px}.hadith-heading>a{text-decoration:underline;text-underline-offset:3px;font-size:10px}.hadith-study h4{font-size:21px;line-height:1.9;margin:13px 0}.hadith-study h5{font-size:14px;color:#8d976e;margin:24px 0 12px}.hadith-witness{padding:18px 21px;margin:18px 0 22px;border-right:3px solid #bda16a;border-radius:8px;background:#bda16a0c}.hadith-witness figcaption{font-size:9px;color:#a1906d;margin-bottom:10px}.hadith-witness blockquote{margin:0;font-family:'Traditional Arabic','Maarij Arabic',serif;font-size:25px;line-height:2.1;color:var(--ink)}.deep-glossary{margin:20px 0;display:grid;gap:8px}.deep-glossary>div{display:grid;grid-template-columns:minmax(80px,1fr) 3fr;gap:13px;padding:11px 13px;background:var(--soft);border-radius:7px}.deep-glossary dt{font-size:13px;font-weight:600;color:#7d9168}.deep-glossary dd{font-size:13px;color:var(--muted);margin:0;line-height:1.95}.hadith-paragraphs p{font-size:18px;line-height:2.25;margin:0 0 17px}.text-connection{padding:17px 0 17px 0}.text-connection b,.deep-benefit b{font-size:12px;color:#8d976e}.text-connection p,.deep-benefit p{font-size:15px;line-height:2.15;margin-top:7px;color:var(--muted)}.deep-benefit{padding:19px 21px;background:var(--soft);border-radius:9px;margin:6px 0 18px}.deep-benefit small{display:block;font-size:9px;color:#9aa68c;margin-top:10px}.deep-question{border:1px solid var(--line);border-radius:8px;padding:16px 18px;margin:15px 0}.deep-question summary{font-size:14px;line-height:2;cursor:pointer}.deep-question summary>span{display:block;font-size:9px;color:#97a17d;margin-bottom:5px}.deep-question p{font-size:14px;line-height:2.1;color:var(--muted);padding-top:13px;margin-top:11px;border-top:1px solid var(--line)}.scholarly-note{margin:18px 0;padding:14px 17px;background:#bda16a0e;border-radius:8px}.scholarly-note summary{font-size:11px;cursor:pointer;color:#a08c60}.scholarly-note p{font-size:12px;color:var(--muted);line-height:2.1;margin:12px 0 0}.unit-references{font-size:10px;line-height:2.1;color:#97a18d;margin-top:18px}.unit-references a{text-decoration:underline;text-underline-offset:3px;color:#7e926b}.deep-synthesis,.deep-review{padding:23px 0 6px;border-top:1px solid var(--line);margin-top:30px}.deep-synthesis h3,.deep-review h3{font-size:22px!important}.deep-synthesis h4{font-size:16px;margin:20px 0 8px}.deep-synthesis p{font-size:16px;line-height:2.15;color:var(--muted)}.dark .deep-counts span,.dark .deep-glossary dt,.dark .unit-references a,.dark .deep-outline button span,.dark .hadith-study h5{color:#b5c69c}.dark .scholarly-note{background:#3a3827}.dark .hadith-witness{background:#bda16a0e}@media(max-width:650px){.deep-intro{padding:19px}.deep-intro h3{font-size:21px!important}.deep-intro p{font-size:15px}.deep-counts span{font-size:10px;padding:5px 9px}.deep-outline{grid-template-columns:1fr}.deep-outline button{font-size:12px}.topic-content{padding:0 17px}.deep-topic>summary{padding:16px;gap:10px}.deep-topic summary b{font-size:14px}.hadith-study h4{font-size:19px}.hadith-paragraphs p{font-size:16px;line-height:2.25}.hadith-witness{padding:16px}.hadith-witness blockquote{font-size:23px}.deep-glossary>div{grid-template-columns:1fr}.deep-glossary dt,.deep-glossary dd{font-size:12px}.text-connection p,.deep-benefit p{font-size:14px}.deep-benefit{padding:17px}.deep-question{padding:15px}.deep-question summary,.deep-question p{font-size:13px}.deep-toolbar{font-size:10px}.deep-toolbar button{font-size:10px}.deep-synthesis p{font-size:14px}.unit-references{font-size:10px}}
