:root{--ink:#19373c;--muted:#687778;--paper:#f7f8f4;--line:#e0e6df;--gold:#efbd62;--green:#245b50;--white:#fff;--navy:#142d32;font-family:'Noto Sans',Arial,sans-serif;color:var(--ink);background:var(--paper);font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select,summary{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}a:hover,button.text-button:hover{text-decoration:underline;text-underline-offset:4px}button,a,input,select,summary{outline-offset:5px}:focus-visible{outline:3px solid #9b691e}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.035em}h1{font-size:42px;line-height:1.15;margin-bottom:12px}h2{font-size:25px;line-height:1.25}h3{font-size:22px}p{line-height:1.75}img{max-width:100%}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:700;line-height:1.6}.sidebar{width:236px;position:fixed;inset:0 auto 0 0;background:#fff;padding:33px 22px 22px;border-right:1px solid var(--line);display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;margin-bottom:58px}.brand img{width:39px}.brand>span{font-family:Georgia,serif;font-size:20px;line-height:1.3;white-space:nowrap}.brand small{display:block;font-family:Arial,sans-serif;font-size:8px;letter-spacing:.16em;margin-top:5px;color:var(--muted)}.nav-label{font-size:9px;letter-spacing:.15em;color:#798483;margin-left:13px;margin-bottom:14px}.sidebar nav{display:grid;gap:8px}.sidebar nav a{display:flex;align-items:center;gap:15px;font-size:12px;padding:14px;border-radius:9px;color:#6a7877}.sidebar nav a span{font-size:22px;width:21px;line-height:1}.sidebar nav a[aria-current]{background:#eaf0e9;color:#254e40;font-weight:700}.sidebar-note{margin-top:auto;background:#f7f7ee;border-radius:14px;padding:23px 19px;margin-bottom:24px}.little-star{color:#b38a40;font-size:24px}.sidebar-note h2{font-size:23px;margin:9px 0 12px}.sidebar-note p{font-size:11px;color:var(--muted);margin:0}.back-site{font-size:11px;color:var(--muted);padding:0 12px}.shell{margin-left:236px}.topbar{height:97px;padding:20px 43px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff}.topbar .eyebrow{font-size:9px;color:#9a7637}.topbar p{font-size:12px;margin:5px 0 0}.profile-wrap{display:flex;gap:9px;align-items:center;font-size:11px}.profile-wrap label{color:var(--muted)}select{background:#fff;border:1px solid var(--line);padding:10px 28px 10px 12px;border-radius:7px;color:var(--ink);max-width:180px}.icon-button{width:35px;height:35px;border:1px solid var(--line);border-radius:50%;background:#f4f6ef;font-size:21px;color:var(--green)}.preview-strip{display:flex;align-items:center;gap:8px;padding:10px 43px;background:#edf1eb;font-size:10px;color:#5b6e5e;line-height:1.5}.status-dot{width:6px;height:6px;border-radius:50%;background:#78956a}.preview-strip button{margin-left:auto;border:0;background:transparent;color:#345846;font-size:10px;text-decoration:underline}.strip-separator{opacity:.5}main{padding:35px 43px 45px;max-width:1570px;margin:auto;min-height:75vh}main:focus{outline:0}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:29px}.page-heading .eyebrow{color:#8b754c;margin:0 0 9px}.page-heading>div>p:last-child{font-size:12px;color:var(--muted);margin-bottom:0}.date-tag{font-size:9px;letter-spacing:.12em;color:#839086;border-bottom:1px solid #d3dbd1;padding-bottom:9px;margin-left:18px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:27px}.primary-column,.right-column{min-width:0}.course-hero{border-radius:16px;background:var(--navy);color:white;display:flex;overflow:hidden;min-height:330px;position:relative}.hero-copy{padding:31px;z-index:1;flex:1;min-width:0}.pill{display:inline-block;font-size:9px;letter-spacing:.12em;color:#f1cf94;border:1px solid #657064;border-radius:5px;padding:7px 10px;font-weight:600}.course-hero h2{font-size:36px;margin:20px 0 13px;line-height:1.17;letter-spacing:-.045em}.course-hero p{font-size:12px;color:#c6d3cd;max-width:320px;margin-bottom:23px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:700;padding:13px 18px;border:1px solid transparent;border-radius:7px;line-height:1.5;text-decoration:none}.button:hover{text-decoration:none;filter:brightness(.97)}.gold{background:var(--gold);color:#1a3439}.primary{background:#285c4e;color:#fff}.secondary{background:white;color:var(--ink);border-color:#cdd6cc}.hero-meta{display:flex;gap:15px;font-size:8px;color:#b9cbc2;margin-top:24px;flex-wrap:wrap}.hero-meta span+span:before{content:'·';margin-right:12px;color:#d8b76e}.hero-art{position:relative;flex:0 0 32%;display:flex;align-items:end;justify-content:center;background:radial-gradient(ellipse at 80% 100%,#6a886e80,transparent 70%)}.arabic-window{width:180px;height:245px;border:1px solid #b69f6970;border-radius:100px 100px 0 0;margin-bottom:0;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(165deg,#3a5b5270,#1c3b37);isolation:isolate}.arabic-window:before{content:'';position:absolute;inset:9px;border:1px solid #9a9b6f45;border-radius:100px 100px 0 0;z-index:-1}.arabic-window>span{font-family:Amiri,serif;font-size:37px;color:#efd39a;white-space:nowrap}.arabic-window p{font-size:7px;letter-spacing:.07em;text-align:center;max-width:120px;color:#c0cbb6;line-height:1.8;margin:12px 0}.window-star{width:21px;height:21px;margin-top:8px;opacity:.9}.orbit{position:absolute;width:9px;height:9px;border:1px solid #dfbf78;transform:rotate(45deg)}.orbit-one{top:-30px;right:16px}.orbit-two{top:20px;left:-18px;width:6px;height:6px}.progress-summary{display:flex;gap:15px;align-items:center;border:1px solid var(--line);border-radius:11px;padding:18px 21px;margin:19px 0 31px;background:#fff}.small-book{background:#f1f1e3;border-radius:9px;color:#6c8457;width:45px;height:45px;display:grid;place-items:center;font-size:25px}.progress-copy{flex:1}.progress-copy strong{font-size:12px}.progress-copy p{font-size:10px;color:var(--muted);margin:5px 0 9px}.progress-track{height:5px;background:#e8eee5;border-radius:4px;overflow:hidden}.progress-track span{display:block;height:100%;background:#54784c}.progress-summary>b{font-family:Georgia,serif;font-size:28px;font-weight:400;padding-left:10px}.progress-summary small{font-size:14px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 16px;gap:15px}.section-heading h2{font-size:25px;margin:0}.section-heading .eyebrow{font-size:9px;color:#9a7a40;margin-bottom:5px}.section-heading>a,.section-heading>span{font-size:10px;color:#547455}.lesson-list{list-style:none;padding:0;margin:0;border:1px solid var(--line);border-radius:11px;background:#fff;overflow:hidden}.lesson-row{display:flex;align-items:center;gap:15px;padding:17px 18px;min-height:77px}.lesson-row+.lesson-row{border-top:1px solid #e9ede7}.lesson-number{display:grid;place-items:center;flex:0 0 32px;height:34px;border:1px solid #e4e9e1;border-radius:8px;font-size:11px;color:#6c805e}.lesson-row>div{flex:1;min-width:0}.lesson-row>div>a{font-size:12px;font-weight:600;line-height:1.5}.lesson-row p{font-size:9px;color:var(--muted);margin:5px 0 0}.lesson-row p span{margin:0 4px}.lesson-state{font-size:8px;color:#8b805e;background:#f7f4e9;padding:5px 7px;border-radius:4px;white-space:nowrap}.done .lesson-state{color:#3f6951;background:#e9f1e7}.row-arrow{font-size:17px;color:#637a5b}.learning-method{display:flex;gap:25px;justify-content:space-between;margin-top:24px;padding:15px 0;font-size:9px;color:#9e875c;border-top:1px solid var(--line)}.learning-method b{color:#6c7d73;font-size:10px;margin-left:7px;font-weight:500}.focus-card{background:#f1f0e3;border:1px solid #e6e4d3;border-radius:13px;padding:23px;text-align:center}.focus-card>.eyebrow{font-size:8px;color:#8d805d}.focus-arabic{font-family:Amiri,serif;font-size:69px;color:#365d45;line-height:1.6;margin:8px 0 0}.transliteration{font-size:12px;color:#7b795d}.focus-card p{font-size:11px;color:#6c725f;margin:19px 0 20px}.focus-card a{font-size:10px;font-weight:600;color:#46673e}.path-card{border:1px solid var(--line);background:#fff;border-radius:13px;padding:23px;margin-top:21px}.path-card .section-heading h2{font-size:20px}.path-card .section-heading>span{font-size:20px;color:#b3a16b}.path-steps{list-style:none;padding:0;margin:20px 0 24px}.path-steps li{display:flex;gap:12px;position:relative;padding-bottom:23px}.path-steps li:last-child{padding-bottom:0}.path-steps li:not(:last-child):after{content:'';position:absolute;top:28px;left:13px;height:25px;width:1px;background:#dce5d7}.path-steps li>span{border:1px solid #d9e2d3;border-radius:50%;width:27px;height:27px;display:grid;place-items:center;font-size:10px;color:#59744c;flex-shrink:0}.path-steps strong{display:block;font-size:10px;line-height:1.4;font-weight:600;margin-top:2px}.path-steps small{display:block;font-size:9px;color:#8b9588;margin-top:6px}.path-card>a{font-size:10px;font-weight:600;color:#476e46}.family-note{display:flex;gap:11px;margin-top:23px;padding:0 5px}.family-note>span{font-size:25px;color:#a78b4d}.family-note h2{font-size:20px;margin:3px 0 8px}.family-note p{font-size:10px;color:var(--muted);line-height:1.9;margin-bottom:9px}.text-button{background:none;border:0;padding:0;font-size:10px;color:#4d724a}.footer{display:flex;gap:20px;justify-content:space-between;align-items:center;padding:23px 43px;border-top:1px solid var(--line);color:#7b8980;font-size:9px}.footer>span:first-child{font-family:Georgia,serif;font-size:14px;color:#4d6357}.footer button{font-size:9px;border:0;background:none;color:#647f66}.library-banner{background:#17393c;border-radius:14px;padding:31px;display:flex;justify-content:space-between;align-items:center;color:white;margin-bottom:35px;gap:20px}.library-banner h2{font-size:33px;margin:18px 0 10px}.library-banner p{font-size:12px;color:#c2d2c9;margin-bottom:0}.library-arabic{font-family:Amiri,serif;font-size:40px;white-space:nowrap;color:#e8c681;padding-right:20px}.search-label input{border:1px solid #d6dfd2;border-radius:7px;background:#fff;padding:11px 14px;font-size:12px;width:225px}.lesson-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.lesson-card{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.card-visual{display:block;aspect-ratio:16/9;background:#18383c;position:relative;overflow:hidden}.card-visual img{width:100%;height:100%;object-fit:cover}.card-visual:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#071a2b66)}.card-index{position:absolute;left:15px;top:15px;font-size:8px;font-weight:600;color:#fff;background:#143537b3;padding:6px 8px;border-radius:4px;letter-spacing:.1em;z-index:1}.play-icon{position:absolute;bottom:16px;right:16px;border:1px solid #ffffffb3;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;color:white;z-index:1;font-size:11px}.card-body{padding:20px}.card-body>.eyebrow{font-size:8px;color:#9b7a3f}.card-body h2{font-size:25px;margin:10px 0 12px}.card-body>p:not(.eyebrow){font-size:11px;color:var(--muted);min-height:56px}.card-footer{display:flex;gap:10px;justify-content:space-between;align-items:center;padding-top:13px;border-top:1px solid var(--line);font-size:9px;color:#698060}.card-footer>a{font-weight:600}.syllabus-intro{display:grid;grid-template-columns:1fr 250px;gap:45px;padding:30px;background:#eeefe5;border-radius:13px;margin-bottom:35px}.syllabus-intro h2{font-size:32px}.syllabus-intro p{font-size:12px;max-width:570px;color:#5d7264}.readiness{border-top:1px solid #d7dfcf;padding-top:17px}.hierarchy{display:flex;flex-direction:column;align-items:center;justify-content:center}.hierarchy>span[lang]{font-family:Amiri,serif;font-size:28px;line-height:1.5}.hierarchy b{font-size:10px;font-weight:500}.hierarchy-arrow{font-size:9px;color:#819675;margin:7px 0}.strand{margin-bottom:30px}.strand-number{display:inline-grid;place-items:center;width:28px;height:28px;background:#e6ecdf;color:#628054;border-radius:50%;margin-right:12px;font:12px Arial;vertical-align:middle}.future-section{padding:27px;background:#fff;border:1px solid var(--line);border-radius:12px}.future-section p{color:var(--muted);font-size:12px}.topic-tags{display:flex;gap:10px;flex-wrap:wrap}.topic-tags>span{border:1px solid #dfe6da;border-radius:5px;font-size:10px;padding:8px}.lesson-topline{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;font-size:11px;color:#5c7859}.save-button{border:1px solid #dbe3d6;background:white;border-radius:7px;padding:10px 14px;font-size:11px;color:#486841}.save-button[aria-pressed=true]{background:#e7edde}.lesson-layout{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:32px}.lesson-layout article{min-width:0}.lesson-layout h1{font-size:38px;margin:12px 0}.lesson-arabic{font-family:Amiri,serif;font-size:30px;text-align:left;margin:0 0 12px;line-height:1.7;color:#5b7859}.lesson-description{font-size:12px;color:var(--muted)}.video-frame{background:#132f34;border-radius:12px;overflow:hidden;aspect-ratio:16/9;margin-top:22px}.video-frame video{width:100%;height:100%;display:block}.video-placeholder{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:25px;color:white}.video-placeholder>span{font-size:50px;color:var(--gold)}.video-placeholder h2{font-size:23px;margin:10px 0}.video-placeholder p{font-size:12px;color:#bed0c6;margin-bottom:0}.video-status{font-size:10px;color:var(--muted);margin-top:11px}.watch-actions{display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:10px;border-bottom:1px solid var(--line);padding-bottom:20px;margin:20px 0}.watch-actions label{display:flex;align-items:center;gap:8px;cursor:pointer}.watch-actions>span{color:#5f7c52}.tabs{display:flex;gap:23px;border-bottom:1px solid var(--line);margin-top:25px}.tabs button{background:none;border:0;color:#7c897e;font-size:11px;padding:14px 0;white-space:nowrap}.tabs button[aria-selected=true]{color:#285d44;border-bottom:2px solid #587750;font-weight:700}#lesson-panel{padding:23px 0}#lesson-panel h2{font-size:25px;margin:6px 0 17px}#lesson-panel p{font-size:12px;color:#597063}.objective-list{font-size:12px;padding-left:22px;margin:0 0 27px;line-height:2.2}.word-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:27px}.word-cards>div{display:flex;flex-direction:column;align-items:center;text-align:center;background:#f0f0e4;border:1px solid #e0e3d4;border-radius:10px;padding:18px 10px;min-height:133px;justify-content:center}.word-cards [lang]{font-family:Amiri,serif;font-size:28px;line-height:1.8}.word-cards b{font-size:10px;font-weight:500;color:#6a7c62}.word-cards small{font-size:9px;color:#6b786a;margin-top:6px}.deeper-note{border-left:2px solid #b4c29d;padding:12px 18px;background:#edf1e8;margin:23px 0}.deeper-note p{margin:10px 0}.deeper-note h3{font-size:21px}.deeper-note summary{font-size:12px}summary{cursor:pointer;font-weight:600;font-size:12px;line-height:1.6}details{border-bottom:1px solid var(--line);padding:19px 0}fieldset{border:0;margin:26px 0;padding:0}legend{font-size:13px;line-height:1.7;font-weight:600;margin-bottom:12px}legend span{color:#a98a50;margin-right:8px}.answer-option{display:flex;align-items:center;gap:11px;padding:12px 15px;background:#fff;border:1px solid #dce3d7;border-radius:8px;margin-bottom:9px;font-size:12px;cursor:pointer}.answer-option:has(input:checked){background:#eaf0e3;border-color:#6f8b5b}.answer-arabic{font-family:Amiri,serif;font-size:23px;line-height:1.5}input[type=checkbox],input[type=radio]{accent-color:#436d4e}.quiz-result{padding:22px 0;margin-top:20px;border-top:2px solid #d2b57e}.quiz-result.success{border-top-color:#6e8e5f}.quiz-result h3{margin-bottom:15px}.lesson-bottom-nav{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:22px;font-size:11px;color:#4e7248}.lesson-aside{border:1px solid var(--line);border-radius:12px;background:white;height:max-content;overflow:hidden}.side-course{padding:24px;border-bottom:1px solid var(--line);background:#f0f2e9}.side-course h2{font-size:23px;margin:10px 0 14px}.side-course p{font-size:10px;color:var(--muted)}.compact-lessons{list-style:none;margin:0;padding:12px}.compact-lessons li>a{display:flex;gap:11px;align-items:center;font-size:10px;padding:13px 8px;line-height:1.6;border-radius:7px;color:#65795f}.compact-lessons li>a>span{font-size:9px;background:#eef1e8;border-radius:50%;width:22px;height:22px;display:grid;place-items:center;flex-shrink:0}.compact-lessons .current a{color:#315438;background:#eaf0e3;font-weight:700}.quiet-note{font-size:10px;color:#86917d;padding:0 22px 15px;line-height:1.8;margin-top:6px}.empty-state{grid-column:1/-1;padding:50px 25px;background:white;border:1px solid var(--line);border-radius:12px;text-align:center}.empty-state p{font-size:13px;color:var(--muted)}dialog{border:1px solid #d5ddce;border-radius:15px;padding:32px;max-width:530px;width:calc(100% - 32px);color:var(--ink);background:#fbfcf7;max-height:90vh;overflow:auto}dialog::backdrop{background:#0e2729a6;backdrop-filter:blur(3px)}dialog h2{font-size:32px;margin:15px 0}dialog p{font-size:12px;color:#68796b}dialog label:not(.button){display:block;font-size:12px;margin:16px 0 8px}dialog input:not([type=file]),dialog select{display:block;width:100%;max-width:none;border:1px solid #b9c8b1;border-radius:7px;padding:12px;background:white}dialog form>.button{margin-top:23px;width:100%}.dialog-close{position:absolute;right:15px;top:12px;border:0;background:transparent;font-size:25px;color:#728367}.dialog-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}dialog hr{border:0;border-top:1px solid #dce4d4;margin:26px 0}#profile-error,#data-message{font-size:12px;color:#71551f;line-height:1.7}.sr-only{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;top:10px;left:15px;background:#fff;padding:15px;z-index:99;transform:translateY(-150%)}.skip:focus{transform:none}
@media(min-width:1500px){.hero-copy{padding:37px}.course-hero h2{font-size:43px}.hero-art{flex-basis:36%}.arabic-window{width:210px;height:270px}.course-hero{min-height:357px}.hero-meta{font-size:9px}.hero-copy p{font-size:13px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 305px;gap:31px}.right-column .focus-card{padding:26px}}
@media(max-width:1200px){.sidebar{width:205px;padding-left:16px;padding-right:16px}.shell{margin-left:205px}.brand>span{font-size:17px}.brand img{width:32px}.topbar{padding:18px 27px}.preview-strip{padding-left:27px;padding-right:27px}main{padding:28px 27px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 245px;gap:20px}.hero-art{display:none}.course-hero h2{font-size:37px}.hero-copy{padding:29px}.date-tag{display:none}.lesson-state{display:none}.lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lesson-layout{grid-template-columns:minmax(0,1fr) 220px;gap:22px}.lesson-layout h1{font-size:34px}.word-cards{gap:8px}.word-cards [lang]{font-size:24px}.footer{padding:22px 27px}.footer>span:nth-child(2){display:none}.library-arabic{font-size:31px}.library-banner h2{font-size:29px}}
@media(max-width:900px){.sidebar{position:static;width:auto;padding:16px 25px;display:block;border-right:0;border-bottom:1px solid var(--line)}.brand{margin:0;display:inline-flex}.sidebar nav{float:right;display:flex;gap:4px}.sidebar nav a{padding:10px;font-size:0;gap:0}.sidebar nav a span{font-size:23px}.nav-label,.sidebar-note,.back-site{display:none}.shell{margin:0}.topbar{height:83px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 260px}.lesson-layout{grid-template-columns:minmax(0,1fr)}.lesson-aside{display:none}.hero-art{display:flex;flex-basis:34%}.arabic-window{width:150px;height:225px}.arabic-window>span{font-size:30px}.dashboard-grid .hero-art{display:none}h1{font-size:36px}.lesson-topline{margin-bottom:20px}}
@media(max-width:650px){.sidebar{padding:14px 18px}.brand img{width:30px}.brand>span{font-size:17px}.brand small{font-size:7px}.sidebar nav a{padding:9px 7px}.sidebar nav a span{font-size:20px;width:20px}.topbar{padding:17px 20px;height:80px}.topbar .eyebrow{font-size:8px}.topbar p{font-size:10px}.profile-wrap{gap:5px}.profile-wrap label{display:none}.profile-wrap select{max-width:125px;font-size:10px;padding:8px}.icon-button{width:29px;height:29px}.preview-strip{padding:9px 20px;font-size:8px;gap:5px;flex-wrap:wrap}.preview-strip button{font-size:8px}.strip-separator{display:none}main{padding:27px 20px 35px}.page-heading{margin-bottom:23px}h1{font-size:33px;line-height:1.15}.page-heading .eyebrow{font-size:8px}.page-heading>div>p:last-child{font-size:11px}.dashboard-grid{grid-template-columns:1fr;gap:23px}.hero-copy{padding:26px}.course-hero{min-height:320px}.course-hero h2{font-size:36px}.hero-copy p{font-size:12px}.hero-meta{font-size:8px;gap:9px}.hero-meta span+span:before{margin-right:7px}.right-column{display:grid;grid-template-columns:1fr;gap:20px}.path-card{margin:0}.focus-card{text-align:left;padding:23px;display:grid;grid-template-columns:1fr 100px;gap:4px 12px}.focus-card>.eyebrow{grid-column:1}.focus-arabic{grid-column:2;grid-row:1/5;margin:0;align-self:center;text-align:center;font-size:65px}.focus-card .transliteration{grid-column:1}.focus-card p{grid-column:1;font-size:11px;margin:10px 0}.focus-card a{grid-column:1}.family-note{margin-top:0}.section-heading h2{font-size:24px}.section-heading>a{font-size:9px}.lesson-row{padding:15px 13px;gap:11px}.lesson-row>div>a{font-size:11px}.lesson-row p{font-size:8px}.learning-method{gap:9px;font-size:8px}.learning-method b{font-size:9px;margin-left:4px}.progress-summary{padding:17px;margin-bottom:26px}.lesson-grid{grid-template-columns:1fr;gap:21px}.library-banner{padding:25px;display:block}.library-banner h2{font-size:31px}.library-arabic{display:none}.search-label input{width:150px;font-size:10px;padding:10px}.syllabus-intro{grid-template-columns:1fr;gap:20px;padding:24px}.hierarchy{display:none}.strand .section-heading h2{font-size:22px}.strand .section-heading>span{font-size:9px}.strand-number{width:24px;height:24px;margin-right:7px}.lesson-layout h1{font-size:33px}.lesson-arabic{font-size:26px}.lesson-topline{font-size:10px}.save-button{font-size:10px;padding:9px 10px}.lesson-layout .eyebrow{font-size:8px}.watch-actions{align-items:flex-start;flex-direction:column;gap:12px;font-size:10px}.tabs{gap:22px}.tabs button{font-size:11px}.word-cards{grid-template-columns:1fr;gap:10px}.word-cards>div{min-height:100px;padding:15px}.word-cards [lang]{font-size:29px}.word-cards small{font-size:10px}.video-placeholder{padding:15px}.video-placeholder>span{font-size:30px}.video-placeholder h2{font-size:19px}.video-placeholder p{font-size:10px}.footer{padding:22px 20px;font-size:8px}.footer>span:first-child{font-size:12px}.footer button{font-size:8px}.lesson-bottom-nav{font-size:10px}.future-section{padding:22px}.future-section h2{font-size:24px}}
@media(prefers-reduced-motion:no-preference){.button,.lesson-card{transition:transform .18s ease,box-shadow .18s ease}.lesson-card:hover{transform:translateY(-3px);box-shadow:0 10px 25px #244b3410}.button:hover{transform:translateY(-1px)}}
@media print{.sidebar,.topbar,.preview-strip,.footer,.lesson-aside,.tabs,.video-frame,.watch-actions,.save-button,dialog{display:none!important}.shell{margin:0}main{padding:0}.lesson-layout{display:block}body{background:white}.page-heading h1{font-size:28px}}

.foundation-section{margin:32px 0}.foundation-section>.lesson-grid{margin-top:20px}.foundation-section>.section-heading{flex-wrap:wrap;gap:12px}
.foundation-section>.lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:900px){.sidebar nav{float:none;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));margin-top:12px}.sidebar nav a{justify-content:center;min-height:44px;padding:10px 5px}.sidebar nav a span{text-align:center}}
@media(max-width:650px){.foundation-section>.lesson-grid{grid-template-columns:1fr}}

.account-button{background:#285c4e;color:#fff;border:0;border-radius:7px;font-size:11px;padding:10px 13px;min-height:36px}.sync-status{font-size:11px;padding:0 43px;margin:8px 0;color:#496954}.sync-status:empty{display:none}.account-role{display:flex!important;gap:9px;align-items:flex-start}dialog .account-role input{width:18px!important;margin-top:3px;flex-shrink:0}.profile-wrap{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:650px){.topbar{height:auto;min-height:80px;gap:10px}.topbar>div:first-child{min-width:95px}.profile-wrap{max-width:210px}.account-button{font-size:10px;padding:8px 10px}.sync-status{padding:0 20px}}

.compact-lessons{max-height:65vh;overflow:auto}

.video-rights{margin:0;padding:10px 14px;background:var(--paper);color:var(--muted);font-size:11px;line-height:1.6;overflow-wrap:anywhere}

.lesson-topline-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.invitation-url{font-size:13px!important;overflow-wrap:anywhere}.invitation-context,.invitation-preview{padding:12px 14px;background:#edf3e9;border-radius:8px;font-size:13px;line-height:1.7}.invitation-preview{background:#fff4dc}
@media(max-width:650px){.lesson-topline{flex-wrap:wrap;gap:14px}.lesson-topline-actions{justify-content:flex-start;gap:8px}}

.student-information{max-width:820px;margin:0 auto;line-height:1.8}.student-information h2{margin-top:30px}.student-information li{margin:12px 0}.student-information a,.account-data-note a{color:#285c4e;text-decoration:underline}.account-data-note{font-size:12px;line-height:1.7;padding:10px 0}.footer{flex-wrap:wrap;gap:14px}

/* Academy catalogue: cards stay readable on phone-sized screens. */
.academy-course-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:24px;margin:24px 0}.academy-course-card{background:var(--paper,#fff);border:1px solid #dce4da;border-radius:18px;padding:28px;min-width:0}.academy-course-card h2{margin:12px 0}.academy-course-card .lesson-arabic{font-family:Amiri,serif;text-align:start;font-size:2rem}.academy-course-card p{overflow-wrap:anywhere}.course-overview-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.course-progress-pair{display:flex;gap:24px;flex-wrap:wrap;border-top:1px solid #dce4da;margin-top:20px}.academy-course-card .button{margin-top:16px}
