@font-face{font-family:systemArabic;src:local('Geeza Pro')}*{box-sizing:border-box}body{margin:0;background:#f8f7f2;color:#283d39;font-family:systemArabic,Tahoma,Arial,sans-serif;font-size:16px;line-height:1.75}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #cf9138;outline-offset:4px}.skip{position:fixed;top:-100px;z-index:10;background:#fff;padding:10px}.skip:focus{top:5px}.app-shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh;direction:rtl}.sidebar{padding:34px 24px;background:#fffefa;border-inline-end:1px solid #e4e8df;display:flex;flex-direction:column;gap:30px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:32px;font-weight:700;letter-spacing:-1px}.brand img{width:44px;height:44px}.brand small{display:block;font-size:12px;letter-spacing:0;font-weight:400;color:#7d8b80;margin-top:-8px}.nav{display:flex;flex-direction:column;gap:10px}.nav button{border:0;background:transparent;text-align:right;color:#63746b;border-radius:14px;padding:13px 16px;display:flex;align-items:center;gap:12px}.nav button.active{background:#e7f0e7;color:#24574a;font-weight:700}.nav .symbol{font-size:21px;width:28px}.side-note{margin-top:auto;padding:18px;border:1px solid #e1e9dc;border-radius:16px;background:#f6f8ee;font-size:13px;color:#6e7e6b}.side-note strong{display:block;color:#46604c;font-size:16px}.main-wrap{min-width:0}.topbar{padding:22px 42px;border-bottom:1px solid #e4e8df;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fdfcf8}.topbar p{margin:0;font-size:13px;color:#7a897f}.topbar strong{font-size:15px}.chip{display:inline-flex;align-items:center;gap:7px;padding:5px 12px;border-radius:99px;background:#eef1e9;color:#5b705c;font-size:12px}.chip.warn{background:#fff0d7;color:#835b1f}.avatar{width:36px;height:36px;display:grid;place-items:center;background:#e5e9dd;border-radius:50%;font-weight:700}.user{display:flex;gap:10px;align-items:center}main{padding:32px 42px 60px;max-width:1260px;margin:auto}.eyebrow{font-size:12px;letter-spacing:1px;color:#7c897c;margin-bottom:6px}h1,h2,h3,p{margin-top:0}h1{font-size:32px;line-height:1.5;margin-bottom:8px}h2{font-size:21px;margin-bottom:12px}h3{font-size:17px}.muted{color:#78867e;font-size:14px}.heading-row,.row{display:flex;align-items:center;justify-content:space-between;gap:14px}.heading-row{margin-bottom:26px}.hero{position:relative;display:grid;grid-template-columns:1fr 220px;gap:20px;align-items:center;border:1px solid #d6e5d8;border-radius:24px;background:#eaf2e6;padding:30px 34px;margin:22px 0 28px;overflow:hidden}.hero h2{font-size:27px;color:#315344;max-width:550px;line-height:1.6}.hero p{max-width:520px;color:#697f6b;font-size:15px}.hero-art{height:180px;display:grid;place-items:center;position:relative}.book{width:160px;height:116px;position:relative;transform:rotate(-9deg);background:#fffefa;border:2px solid #638774;border-radius:7px 7px 20px 20px;box-shadow:8px 12px 0 #cbdcc5}.book:before{content:'';position:absolute;right:50%;height:100%;border-right:2px solid #b6ccb5}.book:after{content:'ا ب ج';position:absolute;right:15px;top:25px;max-width:48px;line-height:1.8;color:#73917c;white-space:normal;font-size:23px}.star-art{position:absolute;color:#d5a144;font-size:38px;top:0;left:17px;transform:rotate(12deg)}.leaf{position:absolute;bottom:5px;right:14px;width:24px;height:64px;background:#799d78;border-radius:100% 0 100% 0;transform:rotate(-25deg)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.grid.two{grid-template-columns:1.35fr 1fr}.card{background:#fffefa;border:1px solid #e2e7dd;border-radius:20px;padding:24px}.stat{display:flex;align-items:center;gap:15px}.stat .num{font-size:27px;font-weight:bold;line-height:1.4}.stat p{margin:0;font-size:13px;color:#78867e}.stat-icon{width:48px;height:48px;border-radius:15px;background:#edf0e0;color:#9b903e;display:grid;place-items:center;font-size:25px}.stat:nth-child(2) .stat-icon{background:#f9eddb;color:#c29648}.stat:nth-child(3) .stat-icon{background:#eee9f3;color:#8e7da0}.section{margin-top:30px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.section-title h2{margin:0}.btn{border:1px solid transparent;border-radius:12px;padding:11px 21px;min-height:47px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#2f6d63;color:#fff;font-weight:600;text-decoration:none;font-size:14px}.btn:hover{background:#265b53}.btn.secondary{background:#fffefa;border-color:#d7e1d5;color:#41614d}.btn.secondary:hover{background:#f0f4eb}.btn.ghost{background:transparent;color:#5d7562;padding:8px 10px;border:0}.btn.danger{background:#fff0ec;color:#9c4d40}.btn.big{font-size:19px;padding:17px 28px;min-height:60px}.empty{text-align:center;padding:35px 20px;border:1px dashed #d7dfd0;border-radius:16px;background:#fafbf6}.empty .emoji{font-size:32px;margin-bottom:8px}.empty h3{margin-bottom:5px}.empty p{font-size:14px;color:#7a887d;max-width:450px;margin:0 auto 18px}.steps{display:flex;flex-direction:column;gap:18px}.step{display:flex;gap:12px;align-items:flex-start}.step .number{width:29px;height:29px;flex-shrink:0;border-radius:50%;background:#edf1e5;color:#5b785b;text-align:center}.step p{font-size:13px;color:#7b897c;margin-bottom:0}.step strong{font-size:14px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}.field label{font-size:14px;font-weight:600}input,select,textarea{width:100%;padding:12px 14px;border:1px solid #d7dfd3;border-radius:11px;background:#fffefa;color:#2d4537;min-height:48px}textarea{resize:vertical;min-height:130px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.auth{max-width:490px;margin:20px auto}.notice{border:1px solid #e8d9b7;border-radius:13px;background:#fff8e8;color:#7f6940;padding:13px 16px;font-size:13px;margin-bottom:20px}.success{background:#eaf3e7;color:#436a45;border-color:#d3e3ce}.check{display:flex;gap:10px;align-items:flex-start;font-size:13px;margin:16px 0}.check input{width:19px;min-height:19px;margin-top:4px;flex-shrink:0}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.upload{display:block;cursor:pointer;text-align:center;padding:34px 18px;border:2px dashed #bccfb7;border-radius:18px;background:#f4f7ed;margin:20px 0}.upload strong{display:block;font-size:19px;color:#496c4b}.upload input{margin-top:12px;background:#fff}.page-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.page-card{border:1px solid #e0e5da;border-radius:16px;overflow:hidden;background:#fffefa}.page-img{background:#eef0e8;height:240px;display:flex;align-items:center;justify-content:center;overflow:hidden}.page-img img{width:100%;height:100%;object-fit:contain}.page-info{padding:16px}.actions{display:flex;gap:7px;flex-wrap:wrap}.page-info .actions{margin-top:10px}.small{font-size:12px;padding:7px 11px;min-height:38px}.lesson-item{padding:16px 0;border-bottom:1px solid #e9ede3;display:flex;align-items:center;gap:16px}.lesson-item:last-child{border-bottom:0}.lesson-icon{width:48px;height:48px;background:#eff1e6;display:grid;place-items:center;border-radius:14px;font-size:24px}.lesson-item h3{margin:0}.lesson-item p{margin:0;font-size:12px;color:#7d897f}.grow{flex:1}.dialog{border:1px solid #d4dfce;border-radius:24px;padding:28px;max-width:920px;width:calc(100% - 32px);max-height:90vh;background:#fffefa;color:#2e4538}.dialog::backdrop{background:#203e35a6;backdrop-filter:blur(3px)}.review-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.review-grid img{width:100%;max-height:65vh;object-fit:contain}.question-review{padding:14px 0;border-bottom:1px solid #e3e8dc}.question-review label{display:block;font-size:13px;margin-top:10px}.question-review textarea{min-height:75px;font-size:14px}.question-review input{font-size:14px}.reading{white-space:pre-wrap;max-height:180px;overflow:auto;font-size:13px;padding:15px;background:#f5f6ee;border-radius:10px}.question-wrap{max-width:750px;margin:25px auto;text-align:center}.question-wrap h1{font-size:31px;margin:30px 0}.choices{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:24px 0}.choice{padding:20px;border:2px solid #dce4d4;background:#fffefa;border-radius:16px;min-height:75px;font-size:22px;color:#42604c}.choice.selected{border-color:#3c7c65;background:#eaf4e8}.question-wrap .card{padding:32px}.question-img{max-width:100%;max-height:320px;object-fit:contain;margin:15px auto}.progress{height:9px;background:#e5ebdb;border-radius:10px;overflow:hidden;margin-top:15px}.progress span{height:100%;display:block;background:#8cae75}.feedback{text-align:right;padding:20px;background:#f1f5e7;border-radius:15px;margin-top:20px}.feedback h3{font-size:19px}.feedback ol{padding-inline-start:24px}.order-row{display:flex;align-items:center;gap:10px;text-align:start;padding:10px;border:1px solid #dce4d4;border-radius:12px;margin:9px 0;background:#fffefa}.order-row span{flex:1}.match-row{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:15px;margin:12px 0}.offline{background:#795d3d;color:#fff;padding:10px;text-align:center;font-size:14px}.footer-note{font-size:12px;color:#83907f;text-align:center;margin-top:35px}.privacy{max-width:800px}.privacy p,.privacy li{font-size:15px;color:#5c7360}.connection-list{display:grid;gap:12px}.connection{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #e4e8df;padding:12px 0}.connection span{font-size:13px;color:#7a887b}.install-hint{font-size:13px;color:#7c887d}.child .sidebar{background:#f5f7eb}.child .nav button{font-size:18px}.child .hero{background:#f5eccc;border-color:#e8dbb0}.star-big{font-size:80px;color:#cda048}.review-top{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.filter{max-width:220px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#2a483c;color:#fff;padding:13px 22px;border-radius:12px;box-shadow:0 8px 28px #213e3325;max-width:90%;z-index:100;display:none}#toast.show{display:block}.mobile-brand{display:none}.loading{opacity:.65;pointer-events:none}.banner{margin:0 0 20px}.soft-divider{height:1px;background:#e5e9df;margin:24px 0}details summary{cursor:pointer;font-size:14px;color:#5c745d}code{direction:ltr;unicode-bidi:isolate;font-size:12px}
@media(min-width:1500px){main{padding-top:42px}.hero{padding:40px}}
@media(max-width:1050px){.app-shell{grid-template-columns:200px 1fr}.sidebar{padding:25px 16px}main{padding:26px}.topbar{padding:20px 26px}.grid.two{grid-template-columns:1fr}.hero{grid-template-columns:1fr 150px;padding:24px}.book{width:125px;height:100px}.hero h2{font-size:24px}.stat{padding:18px;gap:10px}.stat-icon{width:38px;height:38px}.page-list{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.app-shell{display:block}.sidebar{position:fixed;bottom:0;top:auto;height:75px;width:100%;padding:6px 8px 10px;z-index:5;border-top:1px solid #dde4d5;display:block;background:#fffefa}.sidebar .brand,.side-note{display:none}.nav{display:flex;flex-direction:row;gap:3px;justify-content:space-around}.nav button{flex-direction:column;gap:0;padding:5px 7px;font-size:11px;min-width:56px;border-radius:10px}.nav .symbol{font-size:20px;height:27px}.child .nav button{font-size:13px}.topbar{padding:16px 19px}.topbar strong{font-size:13px}.topbar p{font-size:11px}.topbar .chip{font-size:10px;padding:4px 7px}.mobile-brand{display:block;font-size:23px;font-weight:bold;color:#2f6d63}.user .avatar{display:none}main{padding:24px 17px 105px}h1{font-size:25px}.heading-row{align-items:flex-start;gap:8px}.heading-row .btn{padding:9px 12px;font-size:12px}.hero{grid-template-columns:1fr;padding:24px;margin-top:18px;gap:0}.hero-art{display:none}.hero h2{font-size:24px}.hero p{font-size:14px}.grid{gap:9px}.stat{display:block;padding:14px 10px}.stat-icon{width:32px;height:32px;font-size:19px;margin-bottom:10px}.stat .num{font-size:23px}.stat p{font-size:11px}.card{padding:20px}.form-grid,.page-list,.review-grid{grid-template-columns:1fr}.page-img{height:240px}.review-grid img{max-height:260px}.choices{gap:10px}.choice{padding:16px 10px;font-size:20px}.question-wrap .card{padding:22px 17px}.question-wrap h1{font-size:25px}.dialog{padding:20px}.lesson-item{gap:10px}.lesson-item h3{font-size:15px}.lesson-item .btn{padding:8px 12px}.lesson-icon{width:38px;height:38px}.row{flex-wrap:wrap}.connection{flex-wrap:wrap}}
@media(prefers-reduced-motion:no-preference){button{transition:background .15s,transform .15s}.btn:active,.choice:active{transform:scale(.98)}main{animation:appear .25s ease-out}@keyframes appear{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}}
.rotate-90{transform:rotate(90deg)}.rotate-180{transform:rotate(180deg)}.rotate-270{transform:rotate(270deg)}

.progress-0{width:0%}
.progress-1{width:1%}
.progress-2{width:2%}
.progress-3{width:3%}
.progress-4{width:4%}
.progress-5{width:5%}
.progress-6{width:6%}
.progress-7{width:7%}
.progress-8{width:8%}
.progress-9{width:9%}
.progress-10{width:10%}
.progress-11{width:11%}
.progress-12{width:12%}
.progress-13{width:13%}
.progress-14{width:14%}
.progress-15{width:15%}
.progress-16{width:16%}
.progress-17{width:17%}
.progress-18{width:18%}
.progress-19{width:19%}
.progress-20{width:20%}
.progress-21{width:21%}
.progress-22{width:22%}
.progress-23{width:23%}
.progress-24{width:24%}
.progress-25{width:25%}
.progress-26{width:26%}
.progress-27{width:27%}
.progress-28{width:28%}
.progress-29{width:29%}
.progress-30{width:30%}
.progress-31{width:31%}
.progress-32{width:32%}
.progress-33{width:33%}
.progress-34{width:34%}
.progress-35{width:35%}
.progress-36{width:36%}
.progress-37{width:37%}
.progress-38{width:38%}
.progress-39{width:39%}
.progress-40{width:40%}
.progress-41{width:41%}
.progress-42{width:42%}
.progress-43{width:43%}
.progress-44{width:44%}
.progress-45{width:45%}
.progress-46{width:46%}
.progress-47{width:47%}
.progress-48{width:48%}
.progress-49{width:49%}
.progress-50{width:50%}
.progress-51{width:51%}
.progress-52{width:52%}
.progress-53{width:53%}
.progress-54{width:54%}
.progress-55{width:55%}
.progress-56{width:56%}
.progress-57{width:57%}
.progress-58{width:58%}
.progress-59{width:59%}
.progress-60{width:60%}
.progress-61{width:61%}
.progress-62{width:62%}
.progress-63{width:63%}
.progress-64{width:64%}
.progress-65{width:65%}
.progress-66{width:66%}
.progress-67{width:67%}
.progress-68{width:68%}
.progress-69{width:69%}
.progress-70{width:70%}
.progress-71{width:71%}
.progress-72{width:72%}
.progress-73{width:73%}
.progress-74{width:74%}
.progress-75{width:75%}
.progress-76{width:76%}
.progress-77{width:77%}
.progress-78{width:78%}
.progress-79{width:79%}
.progress-80{width:80%}
.progress-81{width:81%}
.progress-82{width:82%}
.progress-83{width:83%}
.progress-84{width:84%}
.progress-85{width:85%}
.progress-86{width:86%}
.progress-87{width:87%}
.progress-88{width:88%}
.progress-89{width:89%}
.progress-90{width:90%}
.progress-91{width:91%}
.progress-92{width:92%}
.progress-93{width:93%}
.progress-94{width:94%}
.progress-95{width:95%}
.progress-96{width:96%}
.progress-97{width:97%}
.progress-98{width:98%}
.progress-99{width:99%}
.progress-100{width:100%}
