@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');
:root{font-family:Cairo,Tahoma,sans-serif;color:#2a2e3d;background:#fbfafc;font-size:16px;--ink:#292e3d;--muted:#69707d;--border:#ece9f0;--violet:#7656ba;--mint:#e7f9f3}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:116px}body{margin:0;min-width:320px;background:radial-gradient(circle at 2% 7%,#f4eeff 0,transparent 22%),radial-gradient(circle at 97% 22%,#ebfaf5 0,transparent 18%),#fbfafc;line-height:1.7}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid #7b56bd;outline-offset:4px;border-radius:6px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;z-index:100;top:-100px;right:18px;padding:9px 15px;background:#fff;color:#422b7a;border-radius:10px}.skip-link:focus{top:10px}.site-header{position:sticky;top:0;background:#fff;z-index:50;border-bottom:1px solid #eceaf0;box-shadow:0 3px 16px #27213e08}.nav-shell{max-width:1500px;margin:auto;min-height:84px;padding:10px 26px;display:flex;align-items:center;gap:24px}.brand{display:inline-flex;align-items:center;gap:10px;flex-shrink:0;line-height:1.35}.brand img{width:54px;height:54px;object-fit:contain;background:#090909;border-radius:11px}.brand strong{font-size:19px;display:block;color:#332d3e;white-space:nowrap}.brand small{font-size:10px;display:block;color:#8a7a5f;white-space:nowrap}.desktop-nav{display:flex;align-items:center;gap:14px;flex:1;justify-content:center;flex-wrap:wrap}.desktop-nav a{font-size:12px;font-weight:700;color:#444554;white-space:nowrap;transition:color .18s}.desktop-nav a:hover,.desktop-nav a[aria-current]{color:var(--violet)}.desktop-nav a[aria-current]{background:#f3edff;padding:6px 10px;border-radius:9px}.header-actions{display:flex;align-items:center;gap:10px;margin-inline-start:auto}.language select{border:1px solid var(--border);border-radius:10px;padding:8px 10px;background:white;color:var(--ink);font-size:12px}.account-link{background:#2b2f3d;color:#fff;border-radius:11px;padding:8px 13px;font-size:12px;font-weight:700;white-space:nowrap}.account-link:hover{background:#503981}.menu-toggle{display:none;border:1px solid var(--border);background:#fff;border-radius:10px;width:40px;height:40px;font-size:22px;line-height:1}.mobile-nav{display:none}.page-shell{max-width:1280px;margin:auto;padding:0 26px 90px}.intro{text-align:center;position:relative;padding:72px 20px 60px}.kicker{display:inline-block;background:#f0eafa;color:#7553ad;border-radius:100px;padding:5px 16px;font-weight:700;font-size:13px}.intro h1{font-size:clamp(36px,5vw,56px);line-height:1.35;margin:11px 0 4px;color:#272435;font-weight:800}.lead{font-size:clamp(17px,2.3vw,22px);font-weight:700;color:#7250aa;margin:7px auto}.intro-copy{max-width:690px;color:#66707e;font-size:16px;margin:10px auto 0;line-height:1.95}.ornament{position:absolute;color:#c5a9e2;pointer-events:none}.ornament-one{font-size:31px;right:12%;top:68px}.ornament-two{font-size:34px;left:14%;bottom:40px;transform:rotate(-19deg)}.content-grid{display:grid;grid-template-columns:250px minmax(0,1fr);align-items:start;gap:30px}.unit-index{position:sticky;top:112px;align-self:start;max-height:calc(100vh - 135px);overflow:auto;scrollbar-width:thin}.index-card{background:#fff;border:1px solid var(--border);box-shadow:0 8px 30px #5a3d7809;border-radius:21px;padding:23px 21px}.index-card h2{font-size:19px;margin:0 4px 18px;font-weight:800}.index-card nav{position:relative;display:grid}.index-card nav:before{content:'';position:absolute;right:11px;top:18px;bottom:18px;width:2px;background:#e8deef}.index-link{position:relative;display:flex;align-items:center;gap:12px;padding:10px 4px;color:#6b6873;font-size:13px;font-weight:700;border-radius:9px;transition:background .18s,color .18s}.index-link:hover{background:#f8f3ff;color:#5f449b}.index-link.current{color:#6845a5;background:#f4eefd}.index-dot{position:relative;z-index:1;display:block;width:24px;height:24px;min-width:24px;border-radius:50%;border:2px solid #dfd6e9;background:#fff}.index-link.current .index-dot{background:#8a64bc;border:6px solid #eee5fb}.mobile-index{display:none}.unit-stack{min-width:0;display:grid;gap:24px}.unit-card{background:#fff;border:1px solid var(--border);border-radius:24px;overflow:hidden;box-shadow:0 8px 30px #5748780b;scroll-margin-top:116px}.unit-head{position:relative;overflow:hidden;display:flex;align-items:flex-start;gap:17px;padding:26px 30px;min-height:148px}.unit-bubble{position:relative;z-index:1;display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:50%;background:#ffffffd9;color:#4b3d37;font-size:23px;font-weight:800;box-shadow:0 3px 8px #6d4e3818}.unit-head>div{position:relative;z-index:1}.unit-eyebrow{font-size:12px;font-weight:800;opacity:.68}.unit-head h2{font-size:24px;line-height:1.45;margin:1px 0 4px;font-weight:800}.unit-head p{font-size:14px;margin:0;max-width:640px;color:#4d4f59}.head-ring{position:absolute;width:170px;height:170px;left:-28px;top:-78px;border:26px solid #ffffff39;border-radius:50%}.unit-head:after{content:'';position:absolute;width:80px;height:80px;left:135px;bottom:-51px;border:16px solid #ffffff36;border-radius:50%}.tone-sun .unit-head{background:linear-gradient(120deg,#fff3cf,#ffd279 57%,#ffab6f);color:#533a28}.tone-mint .unit-head{background:linear-gradient(120deg,#e4f8ec,#bdebdc);color:#205d4c}.tone-lilac .unit-head{background:linear-gradient(120deg,#efe9ff,#d9c7f6);color:#47356e}.tone-sky .unit-head{background:linear-gradient(120deg,#e6f5fc,#c6e9f9);color:#315974}.tone-rose .unit-head{background:linear-gradient(120deg,#fff0f3,#f9d7e3);color:#75445c}.tone-peach .unit-head{background:linear-gradient(120deg,#fff1e8,#fbdac6);color:#79503b}.tone-lavender .unit-head{background:linear-gradient(120deg,#eeeaff,#dcd9f5);color:#534b80}.lesson-list{list-style:none;margin:0;padding:0 27px}.lesson-row{display:flex;align-items:center;gap:15px;min-height:79px;padding:11px 2px;border-bottom:1px solid #eff0f2}.lesson-row:last-child{border-bottom:0}.lesson-number{width:38px;height:38px;min-width:38px;display:grid;place-items:center;border-radius:11px;background:#f5f1fb;color:#7656a4;font-weight:800;font-size:14px}.lesson-info{display:flex;align-items:center;gap:11px;min-width:0;flex:1;flex-wrap:wrap}.lesson-info h3{font-size:15px;line-height:1.5;font-weight:700;margin:0}.level{display:inline-block;border-radius:100px;padding:2px 10px;font-size:11px;font-weight:800;white-space:nowrap}.level-beginner{background:#e7f7ec;color:#2b7755}.level-medium{background:#e8f1ff;color:#38668e}.level-advanced{background:#f5eafb;color:#7b4c9b}.lesson-link{font-size:13px;color:#7656ab;font-weight:800;white-space:nowrap;padding:8px 0 8px 10px;transition:transform .18s,color .18s}.lesson-link span{font-size:19px;vertical-align:-1px;padding-right:6px}.lesson-link:hover{color:#4a2e83;transform:translateX(-3px)}.site-footer{background:#292637;color:#f6f3fb}.footer-inner{max-width:1280px;margin:auto;padding:52px 26px;display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:35px}.site-footer h2{font-size:16px;margin:0 0 15px;color:#fff}.site-footer a:not(.brand){display:block;font-size:13px;color:#dad4e2;margin:8px 0;max-width:max-content}.site-footer a:hover{color:#fff}.footer-brand .brand strong{color:#fff}.footer-brand .brand small{color:#e3cf95}.footer-brand p{max-width:290px;font-size:13px;color:#c5bfce;margin:18px 0 0}.footer-bottom{max-width:1280px;margin:auto;padding:19px 26px;border-top:1px solid #ffffff24;display:flex;justify-content:space-between;gap:15px;color:#c8c1d2;font-size:12px}.footer-bottom div{display:flex;gap:20px}.footer-bottom a{margin:0!important;font-size:12px!important}.lesson-page{max-width:920px;margin:0 auto;min-height:calc(100vh - 430px);padding:55px 24px 90px}.breadcrumb{font-size:13px;color:#7b5cac;font-weight:700}.breadcrumb:hover{text-decoration:underline}.lesson-hero{margin-top:25px;background:#fff;border:1px solid var(--border);box-shadow:0 15px 45px #5a3d7810;border-radius:27px;padding:35px}.lesson-hero h1{font-size:34px;line-height:1.45;margin:10px 0}.lesson-hero .lesson-intro{color:var(--muted);font-size:16px}.status-pill{display:inline-block;border-radius:100px;background:#fff0d7;color:#875525;padding:5px 13px;font-size:13px;font-weight:800}.lesson-next{background:#f6f2fc;border:1px solid #e9ddf5;border-radius:17px;padding:21px;margin:26px 0}.lesson-next h2{font-size:19px;margin:0 0 5px}.lesson-next p{margin:0;color:#5f6170}.lesson-back{display:inline-block;background:#7252ae;color:#fff;padding:10px 20px;border-radius:12px;font-weight:700}.lesson-back:hover{background:#4e3285}.section-placeholder{background:#fff;border:1px solid var(--border);padding:35px;border-radius:24px}.section-placeholder h1{font-size:32px;margin:0 0 7px}.section-placeholder p{color:var(--muted)}
@media(max-width:1250px){.nav-shell{gap:14px}.desktop-nav{gap:8px}.desktop-nav a{font-size:11px}.brand strong{font-size:16px}.brand small{font-size:9px}.brand img{width:46px;height:46px}.account-link{font-size:11px;padding:8px}.content-grid{grid-template-columns:220px minmax(0,1fr);gap:20px}}
@media(max-width:1060px){.desktop-nav{display:none}.menu-toggle{display:block}.nav-shell{min-height:72px}.mobile-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px 12px;padding:4px 26px 18px;border-top:1px solid var(--border)}.mobile-nav[hidden]{display:none}.mobile-nav a{font-size:14px;padding:7px 10px;border-radius:9px}.mobile-nav a[aria-current]{background:#f0e9fb;color:#6243a0}.content-grid{grid-template-columns:210px minmax(0,1fr)}}
@media(max-width:760px){html{scroll-padding-top:92px}.page-shell{padding:0 16px 60px}.nav-shell{padding:8px 16px}.brand img{width:46px;height:46px}.brand strong{font-size:16px}.brand small{font-size:9px}.account-link{display:none}.mobile-nav{grid-template-columns:repeat(2,minmax(0,1fr));padding:7px 16px 16px}.intro{padding:48px 10px 38px}.intro h1{font-size:38px}.lead{font-size:17px}.intro-copy{font-size:14px}.ornament-one{right:1%;top:30px}.ornament-two{left:2%;bottom:20px}.content-grid{display:block}.unit-index{display:none}.mobile-index{display:block;position:sticky;top:72px;z-index:20;border-radius:14px;background:#fff;border:1px solid var(--border);box-shadow:0 5px 17px #52397813;margin-bottom:20px}.mobile-index summary{padding:11px 15px;cursor:pointer;font-weight:800;color:#60439a;list-style:none}.mobile-index summary::-webkit-details-marker{display:none}.mobile-index summary span{float:left}.mobile-index nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:4px 10px 13px;gap:3px}.mobile-index a{font-size:12px;padding:6px 8px}.mobile-index .index-dot{width:13px;height:13px;min-width:13px;border-width:1px}.mobile-index .index-link.current .index-dot{border-width:3px}.mobile-index .index-link{gap:6px}.unit-card{scroll-margin-top:135px}.unit-stack{gap:18px}.unit-head{padding:20px;min-height:130px;gap:11px}.unit-bubble{width:40px;height:40px;flex-basis:40px;font-size:18px}.unit-head h2{font-size:20px}.unit-head p{font-size:12px}.lesson-list{padding:0 15px}.lesson-row{gap:10px;min-height:76px}.lesson-number{min-width:33px;width:33px;height:33px;font-size:12px}.lesson-info h3{font-size:14px}.lesson-link{font-size:12px}.footer-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:27px;padding:38px 18px}.footer-brand{grid-column:1/-1}.footer-bottom{padding:17px 18px;flex-wrap:wrap}.lesson-page{padding:35px 16px 60px}.lesson-hero{padding:24px}.lesson-hero h1{font-size:26px}}
@media(max-width:470px){.lesson-row{display:grid;grid-template-columns:34px minmax(0,1fr);gap:3px 10px;padding:12px 0}.lesson-number{grid-row:1/3}.lesson-info{grid-column:2;gap:5px 8px}.lesson-link{grid-column:2;justify-self:start;padding:0;font-size:12px}.footer-inner{gap:20px}.site-footer a:not(.brand){font-size:12px}.language select{padding:6px;font-size:11px}.mobile-index nav{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.social-links{display:flex;flex-wrap:wrap;gap:4px 11px;margin-top:12px}.site-footer .social-links a{font-size:12px;margin:0;color:#e4d7f6}
/* تفاصيل الهوية المشتركة مع حديقة رتل. */
:root{--ink:#292631;--violet:#8d6b3c;--mint:#e7f7ee}
.site-header{border-bottom:2px solid #d2a13d}.brand strong{color:#292631}.brand small{color:#8a7549}.desktop-nav a:hover,.desktop-nav a[aria-current]{color:#936522}.desktop-nav a[aria-current]{background:#fbf2df}.account-link{background:#292631}.account-link:hover{background:#765320}.language{border:1px solid #e9e1d3;border-radius:10px;padding:7px 10px;background:#fff;color:#6f6046;font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer}.lang-en .site-header,.lang-en .site-footer{direction:ltr}.lang-en .site-header .desktop-nav,.lang-en .site-header .mobile-nav{direction:ltr}
.kicker{background:#fff3d9;color:#845b1b}.intro h1{color:#292631}.lead{color:#8a6228}.ornament{color:#d8ac56}.index-link.current{color:#825d25;background:#fff7e8}.index-link.current .index-dot{background:#c79a46;border-color:#fff1cf}.index-link:hover{background:#fff8e8;color:#825d25}.lesson-number{background:#faf1e0;color:#795a26}.lesson-link{color:#85602b}.lesson-link:hover{color:#604115}
.site-footer{background:#292631}.lesson-back{background:#292631}.lesson-back:hover{background:#8d6425}.breadcrumb{color:#8b662d}.status-pill{background:#fff1cf;color:#765426}.lesson-next{background:#fff9eb;border-color:#f2e5c9}.mobile-index summary{color:#765827}.mobile-nav a[aria-current]{background:#fff3d9;color:#765827}
@media(max-width:760px){.brand small{font-size:9px}}
@media(max-width:1200px){.desktop-nav{display:none}.menu-toggle{display:block}.mobile-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px 12px;padding:7px 26px 18px;border-top:1px solid var(--border)}.mobile-nav[hidden]{display:none}}
@media(max-width:760px){.mobile-nav{grid-template-columns:repeat(2,minmax(0,1fr));padding:7px 16px 16px}}
@media(min-width:761px) and (max-width:1200px){html{scroll-padding-top:160px}.nav-shell{flex-wrap:wrap;row-gap:0}.desktop-nav{display:flex;order:3;flex-basis:100%;justify-content:space-between;gap:5px;padding:3px 0 7px}.desktop-nav a{font-size:11px}.menu-toggle{display:none}.mobile-nav{display:none}.unit-index{top:160px;max-height:calc(100vh - 175px)}.unit-card{scroll-margin-top:160px}}
.nav-dropdown{position:relative;min-width:max-content}.nav-dropdown summary{list-style:none;cursor:pointer;font-size:12px;font-weight:700;color:#444554;white-space:nowrap;padding:7px 4px;border-radius:9px}.nav-dropdown summary::-webkit-details-marker{display:none}.nav-dropdown summary span{margin-inline-start:3px;color:#a2793d}.nav-dropdown summary:hover,.nav-dropdown summary[aria-current],.nav-dropdown[open] summary{color:#936522;background:#fbf2df}.nav-submenu{position:absolute;top:calc(100% + 10px);right:0;z-index:60;display:grid;gap:2px;min-width:215px;padding:9px;background:#fff;border:1px solid #eadfc9;border-radius:14px;box-shadow:0 15px 35px #29263124}.desktop-nav .nav-submenu a{font-size:13px;padding:8px 11px;border-radius:8px}.nav-submenu a:hover{background:#fff7e9;color:#80591f}
@media(max-width:1250px){.nav-dropdown summary{font-size:11px}}
@media(max-width:760px){.mobile-nav .nav-dropdown[open]{grid-column:1/-1}.mobile-nav .nav-dropdown summary{font-size:14px;padding:7px 10px}.mobile-nav .nav-submenu{position:static;min-width:0;box-shadow:none;border-color:#f0e5d1;margin-top:5px;grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-nav .nav-submenu a{font-size:13px}}
/* إبراز شعار رتل الأصلي مع الاسم العربي في قفل بصري واحد. */
.site-header .brand{gap:11px;padding:5px 12px 5px 6px;background:linear-gradient(115deg,#fffaf0,#fff);border:1px solid #ead8ae;border-radius:16px;box-shadow:0 5px 16px #8a652019;transition:transform .18s,box-shadow .18s}.site-header .brand:hover{transform:translateY(-2px);box-shadow:0 8px 20px #8a65202b}.site-header .brand img{width:64px;height:64px;border:1px solid #c79b42;border-radius:12px;box-shadow:0 3px 10px #1c17162e}.site-header .brand strong{font-size:21px;font-weight:800;color:#24232a;line-height:1.3}.site-header .brand strong:after{content:'';display:block;width:44px;height:2px;background:#d1a041;border-radius:2px;margin:3px 0 2px}.site-header .brand small{font-size:10px;color:#86672c;font-weight:700}.nav-shell{min-height:91px}
@media(min-width:761px) and (max-width:1450px){html{scroll-padding-top:165px}.nav-shell{flex-wrap:wrap;row-gap:3px}.desktop-nav{display:flex;order:3;flex-basis:100%;justify-content:space-between;gap:5px;padding:4px 0 7px}.desktop-nav a{font-size:11px}.menu-toggle{display:none}.mobile-nav{display:none}.unit-index{top:165px;max-height:calc(100vh - 180px)}.unit-card{scroll-margin-top:165px}}
@media(max-width:760px){.nav-shell{min-height:72px}.site-header .brand{padding:3px 7px 3px 4px;gap:7px;border-radius:12px}.site-header .brand img{width:48px;height:48px;border-radius:9px}.site-header .brand strong{font-size:16px}.site-header .brand strong:after{width:29px;margin:1px 0}.site-header .brand small{font-size:8px}}
.book-resource{max-width:980px;margin:0 auto 34px;padding:18px 22px;display:flex;align-items:center;gap:16px;background:linear-gradient(115deg,#fffaf0,#fff);border:1px solid #ead8ae;border-radius:18px;box-shadow:0 8px 22px #8a652012}.book-icon{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;background:#fff1cf;border-radius:14px;font-size:25px}.book-copy{flex:1}.book-kicker{display:block;color:#936522;font-size:12px;font-weight:800}.book-copy h2{margin:1px 0 2px;font-size:20px;color:#292631}.book-copy p{margin:0;color:#69707d;font-size:13px}.book-link{padding:10px 16px;background:#292631;color:#fff;border-radius:10px;font-size:13px;font-weight:800;white-space:nowrap}.book-link:hover{background:#8d6425}@media(max-width:600px){.book-resource{align-items:flex-start;flex-wrap:wrap;margin-bottom:24px;padding:16px}.book-copy{min-width:calc(100% - 64px)}.book-link{margin-inline-start:64px;margin-top:-4px}}
