@font-face{font-family:LocalArabic;src:local('Tahoma')}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f8f7f3;color:#142b52;font-family:LocalArabic,Tahoma,Arial,sans-serif;font-size:15px;line-height:1.85}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button,.btn{cursor:pointer;border:0;border-radius:10px;min-height:44px;padding:10px 20px;background:#142b52;color:#fff;display:inline-flex;justify-content:center;align-items:center;gap:9px;font-weight:600}button:hover,.btn:hover{filter:brightness(1.12)}button:disabled{opacity:.45;cursor:not-allowed}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #21a6a6;outline-offset:3px}.demo-bar{text-align:center;background:#0b1b38;color:#f9edce;font-size:11px;padding:7px 16px;letter-spacing:.2px}.shell{display:flex;min-height:calc(100vh - 35px)}.sidebar{width:248px;flex-shrink:0;background:#faf3e6;border-left:1px solid #e8e2d6;padding:26px 22px;display:flex;flex-direction:column}.brand img{width:184px;height:88px;object-fit:contain;mix-blend-mode:multiply}.brand{padding-bottom:24px;display:block;border-bottom:1px solid #e7decd}.side-label{font-size:10px;color:#857d6d;letter-spacing:1px;margin:27px 12px 10px}.sidebar nav{display:grid;gap:5px}.sidebar nav a{display:flex;align-items:center;gap:13px;padding:10px 14px;min-height:44px;font-size:13px;border-radius:9px;color:#526078}.sidebar nav a.active{background:#142b52;color:#fff;box-shadow:0 4px 12px #142b5214}.sidebar nav a span{font-size:20px;width:22px;text-align:center;line-height:1}.side-note{margin-top:38px;background:#eee6d7;border:1px solid #e3d6bc;border-radius:12px;padding:18px}.side-note h3{font-size:15px;margin:10px 0 4px}.side-note p{font-size:11px;color:#59616a;margin-bottom:16px}.side-note>span:last-child{font-size:10px;color:#8a6424}.small-tag{font-size:10px;color:#8a6424;background:#f9f0d9;padding:4px 9px;border-radius:5px}.sidebar footer{margin-top:30px;font-size:11px;color:#817865;text-align:center}.sidebar footer small{font-size:10px}.workspace{flex:1;min-width:0}.topbar{background:#fffdf9;border-bottom:1px solid #e8e6e0;padding:20px 36px;display:flex;align-items:center;justify-content:space-between;gap:20px}.topbar strong{display:block;font-size:14px}.eyebrow{font-size:10px;color:#81765e}.top-actions{display:flex;align-items:center;gap:12px}.grade-label{display:flex;align-items:center;gap:8px;font-size:11px;color:#6d7481}select{background:#fff;border:1px solid #dedfdc;padding:8px;border-radius:7px;color:#142b52;min-height:44px;max-width:100%}.avatar{width:38px;height:38px;display:grid;place-items:center;background:#ede4d1;border-radius:50%;font-weight:bold}.quiet{background:#ecf4ef;color:#316347;font-size:10px;padding:8px 12px;min-height:36px}main{padding:30px 36px;max-width:1440px;margin:auto;min-height:75vh}.page-title{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:22px}.page-title h1{font-size:26px;line-height:1.5;margin:0 0 3px;letter-spacing:-.6px}.muted{color:#707983;font-size:12px}.page-title p{margin:0}.hero{background:#142b52;border-radius:18px;padding:32px 36px;color:#faf3e6;display:grid;grid-template-columns:1.5fr 1fr;position:relative;overflow:hidden;min-height:256px}.hero:after{content:'';position:absolute;width:330px;height:330px;border:1px solid #ffffff0c;border-radius:50%;left:-120px;top:-140px}.hero h2{font-size:33px;line-height:1.6;margin:12px 0 10px;font-weight:700}.hero h2 em{font-style:normal;color:#f2b84b}.hero p{font-size:12px;max-width:410px;color:#c5cfdf;margin:0 0 24px}.hero .small-tag{background:#ffffff12;color:#f2c774}.gold{background:#f2b84b;color:#142b52}.outline{background:transparent;border:1px solid #d7dce3;color:#142b52}.hero .outline{border-color:#ffffff40;color:#fff}.button-row{display:flex;gap:10px;flex-wrap:wrap}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:180px}.orbit{width:190px;height:190px;border:1px solid #c49a4e50;border-radius:50%;display:grid;place-items:center;position:relative}.orbit:before{content:'';position:absolute;width:145px;height:145px;border:1px dashed #ffffff30;border-radius:50%}.book{width:103px;height:86px;background:#faf3e6;border-radius:8px 8px 22px 22px;transform:rotate(-9deg);display:flex;align-items:center;justify-content:center;color:#142b52;font-size:46px;box-shadow:7px 8px 0 #c49a4e}.float-tag{position:absolute;background:#fffdf8;color:#142b52;border-radius:9px;padding:7px 13px;font-size:10px;box-shadow:0 8px 20px #0002}.float-tag.one{top:8px;left:0}.float-tag.two{bottom:4px;right:0}.dot{width:10px;height:10px;border-radius:50%;background:#21a6a6;position:absolute;right:20px;top:28px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:22px 0 29px}.stat{background:#fff;border:1px solid #e8e8e2;border-radius:12px;padding:17px 20px;display:flex;gap:15px;align-items:center}.stat .icon{width:40px;height:40px;border-radius:10px;background:#eef1f7;display:grid;place-items:center;font-size:20px}.stat:nth-child(2) .icon{background:#e8f5ed;color:#1f7a4d}.stat:nth-child(3) .icon{background:#fff3d8;color:#8a6424}.stat:nth-child(4) .icon{background:#f0eafa;color:#7657c5}.stat strong{display:block;font-size:23px;line-height:1.3}.stat small{font-size:10px;color:#737b83}.section-head{display:flex;justify-content:space-between;align-items:center;margin:22px 0 14px;gap:12px}.section-head h2{font-size:18px;margin:0}.section-head a{font-size:11px;color:#8a6424}.home-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(220px,1fr);gap:22px}.card{background:#fff;border:1px solid #e7e7e1;border-radius:14px;padding:24px}.lesson-card{display:flex;gap:22px;align-items:center}.lesson-art{width:112px;min-height:123px;flex-shrink:0;background:#eaf0f9;border-radius:10px;display:grid;place-items:center;font-size:35px;color:#2a6fb0;font-family:Georgia,serif;direction:ltr}.lesson-card h3{font-size:18px;margin:8px 0 2px}.lesson-card p{font-size:11px;color:#76808b;margin:4px 0 14px}.progress-track{height:6px;background:#edf0f4;border-radius:20px;overflow:hidden}.progress-track i{display:block;height:100%;background:#c49a4e;border-radius:20px}.study-steps{display:flex;align-items:center;justify-content:space-around;margin:22px 0 0;font-size:10px;color:#728098;gap:10px}.study-steps b{color:#8a6424}.next-card{background:#f8f1e3;border:1px solid #e8dcc3}.next-card h3{font-size:18px;margin:8px 0}.next-card p{font-size:12px;color:#7a6a4d}.next-card .btn{font-size:12px}.stage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.stage{padding:18px 20px;border-radius:12px;border:1px solid #e6e7e2;background:#fff;position:relative;overflow:hidden}.stage:before{content:'';height:3px;background:var(--accent);position:absolute;top:0;right:0;left:0}.stage h3{margin:5px 0;font-size:16px}.stage p{font-size:11px;color:#717a83;margin:0}.stage .stage-icon{float:left;color:var(--accent);font-size:28px}.page-footer{padding:24px 36px;display:flex;justify-content:space-between;gap:10px;color:#87909b;font-size:10px;border-top:1px solid #e6e7e1}.page-footer a{color:#8a6424}.notice{border-radius:10px;background:#fff5de;border:1px solid #ecdeb6;color:#705522;font-size:12px;padding:13px 17px;margin:16px 0}.notice.info{background:#edf3f9;color:#355471;border-color:#d8e3ee}.notice.good{background:#edf6ef;color:#27683c;border-color:#cce4d2}.notice p{margin:4px 0}.notice a{text-decoration:underline}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card h2{font-size:19px;margin:0 0 12px}.card h3{font-size:16px;margin:0 0 10px}.card p{font-size:13px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:15px;font-size:12px}.field input,.field textarea{width:100%;border:1px solid #d9dfe5;border-radius:8px;padding:11px 12px;background:#fff;color:#142b52}.field textarea{min-height:110px;resize:vertical}.field small{color:#78838d}.form-grid .field{margin:0}.full{grid-column:1/-1}.pill{display:inline-block;font-size:10px;border-radius:6px;padding:3px 9px;background:#edf2f8;color:#345b86}.pill.green{background:#e8f3ec;color:#276640}.pill.purple{background:#f0eafa;color:#7657c5}.tabs{display:flex;gap:6px;margin:19px 0;overflow-x:auto;padding-bottom:4px}.tabs button{white-space:nowrap;min-height:42px;background:#fff;color:#6b7684;border:1px solid #e1e5e9;font-size:12px;padding:8px 16px}.tabs button.selected{background:#142b52;color:#fff;border-color:#142b52}.video-box{background:#0b1b38;aspect-ratio:16/9;border-radius:13px;overflow:hidden;display:flex;align-items:center;justify-content:center;color:#fff;text-align:center}.video-box>div{padding:26px;max-width:540px}.video-box h3{color:#f2b84b;font-size:23px}.video-box p{color:#c0cbe0;font-size:12px}.video-box iframe{width:100%;height:100%;border:0}.lesson-layout{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(230px,.9fr);gap:22px}.lesson-layout aside{align-self:start}.chapter{width:100%;text-align:right;justify-content:space-between;background:#f5f7fa;color:#405777;font-size:12px;margin:7px 0;padding:10px 12px}.chapter small{direction:ltr}.prose{line-height:2.2}.prose li{margin-bottom:12px;font-size:13px}.prose a{color:#2a6fb0;text-decoration:underline}.question{padding:20px 0;border-bottom:1px solid #eaedf0}.question:first-child{padding-top:0}.question h3{font-size:15px;margin:0 0 12px}.options{display:grid;gap:8px}.option{display:flex;gap:10px;align-items:center;background:#f7f8fa;border:1px solid #e2e6eb;border-radius:8px;padding:10px 14px;cursor:pointer;font-size:13px;min-height:44px}.option:has(input:checked){background:#eef3fb;border-color:#45658d}.option input{accent-color:#142b52;width:17px;height:17px}.quiz-top{display:flex;justify-content:space-between;gap:16px;align-items:center}.timer{background:#fff0d3;color:#71541c;border-radius:9px;padding:7px 17px;font-size:18px;font-variant-numeric:tabular-nums}.feedback{padding:12px;background:#eef5ec;border-radius:8px;color:#316340;font-size:12px;margin-top:10px}.score-ring{width:140px;height:140px;border:11px solid #eddfbd;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:20px auto}.score-ring strong{font-size:33px}.score-ring small{font-size:10px;color:#7c7059}.skill{padding:16px 0;border-bottom:1px solid #edf0f2}.skill>div{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:9px}.skill .btn{font-size:11px;margin-top:12px;min-height:36px;padding:5px 12px}.empty{text-align:center;padding:40px 20px;color:#748093}.empty strong{display:block;color:#142b52;font-size:19px;margin-bottom:8px}.empty p{font-size:12px}.list-row{padding:16px 0;border-bottom:1px solid #eceee9;display:flex;justify-content:space-between;gap:14px;align-items:center}.list-row small{font-size:11px;color:#728090}.list-row strong{display:block;font-size:13px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:right;font-size:12px}th,td{padding:15px 12px;border-bottom:1px solid #e8ecef}th{color:#7c8793;font-size:10px;background:#f8f9fa}.flow{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.flow span{font-size:11px;border-radius:6px;background:#f1f3f6;padding:7px 11px}.flow span.current{background:#142b52;color:#fff}.danger{color:#9c3737;background:#fff0ed;border:1px solid #eec5c0}.text-button{background:transparent;color:#8a6424;padding:7px 0;font-size:12px}.result-answer{margin:12px 0;padding:14px;background:#f7f8fa;border-radius:10px;font-size:12px}.result-answer.bad{border-right:3px solid #bf6e55}.result-answer.ok{border-right:3px solid #62a179}#toast{position:fixed;bottom:25px;left:25px;max-width:90vw;background:#142b52;color:#fff;border-radius:10px;padding:13px 23px;font-size:12px;box-shadow:0 5px 25px #0002;z-index:100;display:none}#toast.show{display:block}.split-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.print-only{display:none}.checkline{display:flex;align-items:center;gap:9px;margin:12px 0;font-size:12px}.checkline input{width:18px;height:18px;accent-color:#142b52}.mobile-only{display:none}
@media(min-width:1450px){main{padding:40px 50px}.hero{min-height:280px}}@media(max-width:1100px){.sidebar{width:210px;padding:24px 14px}.brand img{width:170px}.topbar{padding:18px 24px}.grade-label{display:none}main{padding:26px 24px}.hero{padding:26px}.hero h2{font-size:29px}.hero-art .float-tag{display:none}.stat{padding:15px 12px;gap:10px}.stat .icon{width:30px;height:35px}.home-grid{grid-template-columns:1fr}.home-grid .next-card{display:none}.lesson-layout{grid-template-columns:minmax(0,1fr) 225px}}@media(max-width:760px){.demo-bar{font-size:9px;line-height:1.7}.shell{display:block}.sidebar{width:100%;padding:10px 16px;display:block;border-left:0;border-bottom:1px solid #e1d6c2}.brand{border:0;padding:0}.brand img{width:139px;height:61px;display:block;margin:auto}.sidebar .side-label,.sidebar .side-note,.sidebar footer{display:none}.sidebar nav{display:flex;overflow-x:auto;gap:5px;scrollbar-width:thin}.sidebar nav a{flex-shrink:0;font-size:11px;padding:7px 10px;gap:6px;min-height:40px}.sidebar nav a span{font-size:15px;width:15px}.sidebar nav:nth-of-type(2){margin-top:6px}.topbar{padding:12px 18px}.topbar strong{font-size:12px}.top-actions{gap:7px}.top-actions .avatar{display:none}.quiet{font-size:9px;padding:6px 8px;min-height:36px}main{padding:22px 16px}.page-title h1{font-size:23px}.page-title{align-items:start}.page-title .muted{font-size:10px}.hero{grid-template-columns:1fr;padding:25px;min-height:0}.hero h2{font-size:28px}.hero p{font-size:11px}.hero-art{display:none}.hero .btn{font-size:12px;padding:9px 15px}.stats{grid-template-columns:1fr 1fr;gap:10px;margin:15px 0 24px}.stat{padding:14px}.stat strong{font-size:22px}.lesson-card{gap:15px;padding:18px}.lesson-card h3{font-size:16px}.lesson-art{width:78px;min-height:110px;font-size:25px}.section-head h2{font-size:17px}.stage-grid{grid-template-columns:1fr}.stage{padding:15px}.grid2,.grid3,.lesson-layout,.form-grid{grid-template-columns:1fr}.card{padding:20px}.lesson-layout aside{order:2}.page-footer{padding:20px 16px;flex-wrap:wrap;font-size:9px}.page-footer span:first-child{width:100%}.stage-grid .stage p{font-size:11px}.video-box>div{padding:18px}.video-box h3{font-size:18px}.video-box p{font-size:10px}.video-box button{font-size:11px}.tabs button{font-size:11px;padding:8px 12px}.quiz-top{align-items:start}.timer{font-size:15px}.grid2 .full{grid-column:auto}.topbar .eyebrow{font-size:9px}.button-row button,.button-row .btn{font-size:12px}.list-row{flex-wrap:wrap}.page-title>.pill{display:none}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}@media print{.sidebar,.topbar,.demo-bar,.page-footer,.tabs,button,.btn,#toast{display:none!important}.workspace,main{padding:0;margin:0}.card{border:0}.grid2,.lesson-layout{display:block}.print-only{display:block}body{background:#fff;color:#111}}

.library-intro h2{font-size:24px;margin:12px 0}.book-metrics{display:flex;flex-wrap:wrap;gap:15px;margin:18px 0}.book-metrics>span{background:#f4f6f8;border-radius:10px;padding:12px 18px;font-size:11px;flex:1;min-width:155px}.book-metrics strong{display:block;font-size:25px;color:#142b52}.book-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.book-card{display:flex;flex-direction:column;min-width:0}.book-card h3{font-size:17px;line-height:1.8;margin:14px 0 8px;overflow-wrap:anywhere}.book-tags{display:flex;gap:7px;flex-wrap:wrap}.book-card .button-row{margin:8px 0}.book-card .button-row .btn,.book-card .button-row button{font-size:11px;padding:9px 13px}.book-source{font-size:11px!important;color:#51728b}.book-note{background:#fcf6e8;color:#755727;padding:10px 12px;border-radius:8px;font-size:11px!important}.book-cover{display:grid;justify-items:center}.book-cover img{max-width:180px;max-height:265px;object-fit:contain;margin:10px auto;border-radius:6px}.book-cover small{font-size:10px;color:#707983}.book-pagination{display:flex;justify-content:center;align-items:center;gap:18px;margin:22px 0}.book-pagination span{font-size:12px}.grade-details summary,.card.prose summary{cursor:pointer;font-weight:bold;min-height:36px}.stage{display:flex;gap:12px;justify-content:space-between;align-items:center}.book-card>small{margin-top:auto;padding-top:12px;font-size:10px}.book-card [aria-pressed=true]{background:#e8f3ec;color:#276640;border-color:#b5d0be}@media(max-width:760px){.book-grid{grid-template-columns:1fr}.library-intro h2{font-size:20px}.book-metrics{gap:8px}.book-metrics>span{min-width:110px;padding:10px;font-size:10px}.book-card{padding:18px}.book-card .button-row .btn,.book-card .button-row button{font-size:11px}.book-pagination{gap:10px}.book-pagination button{padding:8px 14px}}

.library-home{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px;background:#fffdf8;border-color:#e5d7b5}.library-home h2{font-size:22px}.library-home p{font-size:12px;max-width:650px}.library-home .btn{flex-shrink:0}@media(max-width:760px){.library-home{display:block}.library-home h2{font-size:19px}.library-home .btn{margin-top:16px}}
