:root{color-scheme:light;--ink:#191919;--gray:#777;--line:#e8e8e8;--bg:#f9f9f8;--white:#fff;--accent:#111}*{box-sizing:border-box}body,html{margin:0;min-height:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}.app{max-width:700px;margin:0 auto;padding:20px 16px 85px}.top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 24px}.eyebrow{font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:750;color:#777}.logo{font-size:22px;letter-spacing:-.04em;font-weight:760;margin-top:3px}.small{font-size:12px;color:var(--gray)}h1{font-size:29px;line-height:1.1;letter-spacing:-.055em;margin:8px 0 18px}h2{font-size:21px;letter-spacing:-.04em;margin:0 0 14px}h3{font-size:16px;margin:0 0 12px;letter-spacing:-.025em}p{line-height:1.5;font-size:14px}.muted{color:var(--gray)}.panel{border:1px solid var(--line);border-radius:18px;padding:20px;margin:12px 0}.row{justify-content:space-between}.row,.row-start{display:flex;align-items:center;gap:10px}.stack{display:grid;grid-gap:10px;gap:10px}.mini{font-size:11px;color:var(--gray)}.btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:12px;border:1px solid #1e1e1e;background:#1e1e1e;color:#fff;font-size:14px;font-weight:650;padding:12px 15px;min-height:44px}.btn.secondary{background:#fff;color:#222;border:1px solid #ddd}.btn.tiny{font-size:12px;min-height:35px;padding:7px 10px}.btn.full{width:100%}.btn:disabled{opacity:.4}.pill{border-radius:100px;padding:5px 9px;font-size:11px;font-weight:700;display:inline-block;white-space:nowrap;background:#f2f2f2;color:#555}.pill.green{background:#e8f7ec;color:#258343}.pill.orange{background:#fff2e8;color:#a65d16}.pill.gray{background:#f3f3f3;color:#777}.pill.blue{background:#eaf1ff;color:#2454aa}.tabs{display:flex;gap:6px;border-radius:12px;background:#eee;padding:4px}.tab{flex:1 1;border:0;border-radius:9px;background:transparent;padding:9px 12px;font-size:13px;font-weight:600;color:#666}.tab.active{color:#111;background:#fff;box-shadow:0 1px 4px #0001}.line{height:1px;background:var(--line);margin:14px 0}.statgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px;margin:12px 0}.stat{background:#f5f5f5;border-radius:12px;padding:13px 10px;min-width:0}.stat strong{display:block;font-size:23px;letter-spacing:-.06em}.stat span{font-size:11px;line-height:1.3;color:var(--gray);display:block}.lesson{display:grid;grid-gap:11px;gap:11px}.letter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:9px;gap:9px}.letter{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 7px;text-align:center}.arabic{font-family:Geeza Pro,Noto Naskh Arabic,Traditional Arabic,serif;font-size:43px;line-height:1.2;margin-bottom:8px}.letter-name{font-weight:700;font-size:14px}.letter-sound{font-size:13px;margin-top:4px}.black{color:#1c1c1c}.green{color:#168449}.orange{color:#db7515}.blue{color:#2563eb}.legend{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:15px}.legend span{font-size:11px;color:#777}.dot{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:4px}.dot.green{background:#168449}.dot.orange{background:#db7515}.dot.blue{background:#2563eb}.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:9px;gap:9px;margin:16px 0}.choice{color:#111;border:1.5px solid #e4e4e4;border-radius:13px;height:90px;font-size:43px;font-family:Geeza Pro,Traditional Arabic,serif}.progress{height:6px;border-radius:99px;background:#eaeaea;overflow:hidden}.progress i{display:block;height:100%;background:#222;transition:width .2s}.attempt{display:grid;grid-template-columns:1fr auto;grid-gap:5px;gap:5px;padding:12px 0;border-bottom:1px solid #eee}.attempt:last-child{border:0}.avatar{width:34px;height:34px;border-radius:50%;background:#f1f1f1;display:grid;place-items:center;font-weight:700;flex:none}.student{padding:12px 0;border-bottom:1px solid #eee}.student:last-child{border:0}.table-scroll{overflow:auto}.table{width:100%;border-collapse:collapse;font-size:12px}.table th{color:#777;text-align:left;font-size:11px;font-weight:600}.table td,.table th{border-bottom:1px solid #eee;padding:12px 8px;white-space:nowrap}.table tr:last-child td{border-bottom:0}.link{border:0;background:none;font-size:13px;text-decoration:underline;cursor:pointer;color:#111;padding:6px 0}.bar{height:7px;background:#eee;border-radius:99px;margin-top:8px;overflow:hidden}.bar i{height:100%;background:#222;display:block}.busy{display:grid;place-items:center;min-height:55vh;text-align:center}.error{color:#bd2828;font-size:13px;padding:10px 0}.soft{background:#f6f6f6;border-radius:13px;padding:13px}.empty{border:1px dashed #ddd;border-radius:14px;padding:20px;text-align:center;color:#888;font-size:13px}.check{font-size:14px;line-height:1.4}.footer{padding-top:12px;text-align:center;font-size:11px;color:#aaa}@media(max-width:370px){.app{padding:14px 10px 70px}.panel{padding:15px}.letter-grid{gap:7px}.arabic{font-size:39px}.btn.tiny{font-size:11px}}.tabs{flex-wrap:wrap}.tab{flex:1 1 22%;min-width:80px;padding:10px 6px}.choice.text-choice{height:auto;min-height:80px;padding:14px 9px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;font-size:15px;font-weight:620;line-height:1.4;overflow-wrap:anywhere;white-space:normal}.vowel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px;margin-top:14px}.vowel-item{border:1px solid #e8e8e8;padding:12px 7px;border-radius:14px;text-align:center;min-width:0}.vowel-item strong{font-size:13px}.field{display:block;width:100%;min-height:42px;border:1px solid #ddd;border-radius:10px;background:#fff;color:#191919;padding:10px;font-size:14px;margin-top:6px}.journal-line{display:flex;justify-content:space-between;align-items:center;gap:9px;padding:12px 0;border-bottom:1px solid #eee;font-size:13px}.journal-line:last-child{border:0}.attendance-student{display:grid;grid-gap:9px;gap:9px;padding:14px 0;border-bottom:1px solid #eee;font-size:13px}.attendance-student:last-child{border:0}.attendance-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.danger-link{color:#a93232;font-size:11px;margin-top:8px}@media(max-width:420px){.tab{flex:1 1 45%;min-width:0}.vowel-item{padding:9px 5px}.attendance-actions .btn.tiny{padding:7px 8px}}.choice.correct-answer,.choice.correct-answer:disabled{border:2px solid #28a464;background:#e9f9ee;color:#16633b;opacity:1}.choice.wrong-answer,.choice.wrong-answer:disabled{border:2px solid #db4b4b;background:#fff0f0;color:#9c2222;opacity:1}.choice[disabled]{cursor:default}.choice-status{display:inline-block;margin-left:8px;font-size:16px;font-weight:800;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif}.answer-feedback{display:grid;grid-gap:12px;gap:12px;margin-top:12px}.answer-notice{font-size:14px;font-weight:650;border-radius:11px;padding:12px}.answer-notice.right{color:#16633b;background:#e9f9ee}.answer-notice.wrong{color:#9c2222;background:#fff0f0}body,html{background:#f1f2f3}.panel{border-color:#dedfe1}.choice,.panel{background:#fff}.choice{border:1.5px solid #272727}.choice:focus,.choice:hover{border-color:#111}.choice:disabled:not(.correct-answer):not(.wrong-answer){border-color:#dedfe1}.question-title{line-height:1.6}.question-arabic{display:inline-block;padding:0 10px;margin:0 3px;border:1px solid #252525;border-radius:9px;background:#f6f6f6;color:#111;font-family:Geeza Pro,Noto Naskh Arabic,Traditional Arabic,serif;font-size:1.55em;line-height:1.3;vertical-align:middle;white-space:nowrap}.quiz-navigation{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:12px 0 4px}.quiz-navigation .btn{min-width:160px}.choice.saved-answer,.choice.saved-answer:disabled{border:2px solid #262626;background:#f3f4f5;color:#1a1a1a;opacity:1}.letter-sound{overflow-wrap:anywhere;line-height:1.35}.lesson-two-card{margin:14px 0}.lesson-two-card .vowel-grid{margin-top:16px}.lesson-two-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.lesson-two-head h2{margin:7px 0 0}.lesson-two-arabic{font-family:Geeza Pro,Noto Naskh Arabic,Traditional Arabic,serif;font-size:49px;line-height:1.4;color:#262626;white-space:nowrap}.lesson-two-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.lesson-two-card .vowel-item .arabic{font-size:44px}.lesson-two-card .vowel-item strong{font-size:15px}@media(max-width:390px){.lesson-two-arabic{font-size:40px}.lesson-two-card .vowel-item .arabic{font-size:37px}}:root{--bg:#f5f7f4;--ink:#25312b;--gray:#69766e;--line:#dfe7df;--accent:#35ad69}body,html{background:var(--bg);color:var(--ink)}.app{max-width:720px}.logo{font-weight:850;color:#22583b}.logo-leaf{color:#64c98c;font-size:18px}.eyebrow{color:#698674}.top .pill{background:#e8f5eb;color:#286c45}.tabs{background:#e7ece8;border:1px solid #dfe7df}.tab.active{color:#1e663f}.btn:not(.secondary){background:#37af6c;border-color:#229151;box-shadow:0 3px 0 #23834b;color:#fff}.btn:not(.secondary):active{box-shadow:none;transform:translateY(2px)}.welcome-card{background:linear-gradient(130deg,#e5f5e7,#f6faf0);padding:22px;border:1px solid #cde7cf;border-radius:23px;position:relative;margin-bottom:28px}.welcome-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.welcome-avatar{width:49px;height:49px;border-radius:50%;display:grid;place-items:center;font-size:22px;font-weight:850;color:#2f794c;background:white;border:2px solid #b8dfc2}.welcome-emoji{font-size:27px}.welcome-card h1{font-size:28px;line-height:1.17;letter-spacing:-.035em;color:#244e35;margin:9px 0}.welcome-card p{color:#526958;max-width:540px;margin:0 0 16px}.welcome-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:9px;border-top:1px solid #cfdfcf;padding-top:11px;font-size:12px;color:#3b654c}.welcome-bottom .link{color:#277d4c;font-weight:750}.profile-form{display:grid;grid-gap:12px;gap:12px;margin-top:-12px;margin-bottom:25px}.profile-form h3,.profile-form p{margin:0}.course-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:22px 0 10px}.course-heading h2{font-size:25px;margin:5px 0 0}.course-count{font-size:29px;font-weight:850;color:#2ca65f}.course-progress{height:13px;background:#e0e6e1;border:1px solid #d3ded5;border-radius:90px;overflow:hidden}.course-progress i{display:block;height:100%;border-radius:90px;background:linear-gradient(90deg,#67d879,#2caf69);transition:width .3s}.course-note{margin:8px 0 19px}.course-roadmap{display:grid;grid-gap:10px;gap:10px}.course-unit{width:100%;display:flex;align-items:center;gap:13px;text-align:left;border-radius:17px;border:1.5px solid #d7e4da;background:white;padding:13px 15px;color:inherit;box-shadow:0 2px 0 #d8e1d9}.course-unit:disabled{cursor:default;opacity:.67}.course-unit:not(:disabled):active{transform:translateY(1px);box-shadow:0 1px 0 #d8e1d9}.course-unit-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#e9f7ec;color:#308a50;font-size:27px;font-weight:800;flex:none;font-family:Noto Naskh Arabic,Traditional Arabic,serif}.course-unit-copy{flex:1 1;min-width:0;display:grid;grid-gap:5px;gap:5px}.course-unit-copy strong{font-size:15px}.course-unit-copy small{font-size:12px;color:#7b8a7d;line-height:1.35}.course-unit-status{font-size:20px;color:#88a392;font-weight:850}.course-unit-status.done{border-radius:50%;width:27px;height:27px;display:grid;place-items:center;color:#fff;background:#36b36c;font-size:17px}.letters-heading{display:flex;align-items:center;gap:13px;margin:18px 0 0;padding:5px 1px}.letters-heading small,.letters-heading strong{display:block}.letters-heading strong{font-size:16px}.letters-heading small{font-size:12px;color:#7b8a7d;line-height:1.4;margin-top:4px}.letter-roadmap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:9px;gap:9px}.letter-chip{border:1.5px solid #d8e4db;border-radius:16px;background:white;min-height:124px;padding:11px;display:grid;justify-items:center;grid-gap:5px;gap:5px;color:#25312b;box-shadow:0 2px 0 #d8e1d9}.letter-chip>span{font-size:38px;line-height:1.15;font-family:Noto Naskh Arabic,Traditional Arabic,serif;color:#247e4c}.letter-chip strong{font-size:13px}.letter-chip small{color:#88988c;font-size:11px}.letter-chip.learned{border-color:#59bd83;background:#f3fbf4}.letter-chip:disabled{opacity:.56;cursor:default}.lesson-soon{background:#edf3ee;padding:12px 14px;border-radius:12px;margin:4px 0 0}.course-heading-second{margin-top:33px}.rules-card{margin:25px 0;border:1px solid #dce0ed;border-radius:20px;background:#f1f3fa;padding:20px}.rules-card h2{margin:6px 0 8px}.rules-card>p{color:#69758b}.rules-card .course-unit{margin:10px 0}.reading-page .eyebrow{margin-top:16px}.reading-page h1{margin:8px 0 18px}.reading-illustration{border-radius:20px;background:#e5f4e9;padding:28px;text-align:center;font-size:45px;margin-bottom:15px}.reading-illustration span{font-family:Noto Naskh Arabic,Traditional Arabic,serif;color:#268a50;margin-left:10px}.reading-text h3{margin-top:23px}.reading-page .letter-grid{margin-top:18px}.studied-banner{padding:16px;border-radius:14px;background:#e3f7e8;color:#24774c;text-align:center;font-weight:800;font-size:14px}.quiz-app{max-width:650px;min-height:100dvh;padding:0 18px;background:white}.quiz-screen{min-height:100dvh;display:flex;flex-direction:column;padding:18px 0 max(16px,env(safe-area-inset-bottom))}.quiz-toolbar{display:flex;gap:16px;align-items:center;min-height:42px}.quiz-close,.quiz-sound{border:0;background:none;color:#98a39a;font-size:35px;line-height:1;width:37px;height:42px;padding:0}.quiz-sound{font-size:26px;color:#4dbb7b}.quiz-meter{height:14px;border-radius:99px;background:#e3e7e4;flex:1 1;overflow:hidden}.quiz-meter i{display:block;height:100%;background:#59cd4e;border-radius:99px;box-shadow:inset 0 -3px #43b93b;transition:width .3s}.quiz-content{flex:1 1;padding:34px 7px 30px;display:flex;flex-direction:column}.quiz-step{font-size:13px;font-weight:750;color:#8b9990}.quiz-prompt{margin:17px 0 32px;font-size:28px;font-weight:850;letter-spacing:-.035em;line-height:1.5;color:#303d33}.quiz-prompt .question-arabic{background:#f1f9f1;border:2px solid #b2deb9;border-radius:12px;font-size:1.7em;color:#287a50;padding:4px 12px}.quiz-choices{display:flex;flex-direction:column;gap:14px;margin-top:auto;margin-bottom:24px}.quiz-choices .choice{font-size:31px;height:auto;min-height:80px;padding:15px 14px;width:100%;border:2px solid #dce2dc;box-shadow:0 4px 0 #dce2dc;display:flex;align-items:center;justify-content:center;gap:10px;color:#323d34;background:white;border-radius:15px}.quiz-choices .choice.text-choice{font-size:18px;font-weight:750;min-height:78px;padding:17px 12px}.quiz-choices .choice.selected-answer{border-color:#6bbff0;background:#e9f7ff;box-shadow:0 4px 0 #6bbff0;color:#185578}.quiz-choices .choice.correct-answer,.quiz-choices .choice.correct-answer:disabled{border-color:#54bd76;background:#e6f8e9;box-shadow:0 4px 0 #54bd76;color:#177240;opacity:1}.quiz-choices .choice.wrong-answer,.quiz-choices .choice.wrong-answer:disabled{border-color:#ed6969;background:#ffebeb;box-shadow:0 4px 0 #ed6969;color:#b33434;opacity:1}.quiz-choices .choice.saved-answer,.quiz-choices .choice.saved-answer:disabled{background:#eff3f0;border-color:#aab7ae;box-shadow:0 4px 0 #aab7ae;opacity:1}.quiz-choices .choice:disabled:not(.correct-answer):not(.wrong-answer):not(.saved-answer){opacity:.63}.quiz-feedback{padding:14px;border-radius:14px;display:grid;grid-gap:5px;gap:5px;font-size:13px}.quiz-feedback strong{font-size:18px}.quiz-feedback.right{background:#e4f9e9;color:#21824d}.quiz-feedback.wrong{background:#ffebec;color:#a93b3f}.quiz-bottom{margin-top:auto;background:white;position:-webkit-sticky;position:sticky;bottom:0;padding:12px 0 3px;border-top:1px solid #edf0eb}.quiz-backrow{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;color:#99a49a;font-size:11px}.quiz-back{border:0;background:none;padding:8px 0;color:#577c63;font-weight:750}.quiz-back:disabled{opacity:.35;cursor:default}.quiz-action{width:100%;background:#56c653;color:white;border:1px solid #47ae45;box-shadow:0 4px 0 #38993d;border-radius:16px;height:57px;font-size:15px;font-weight:850;letter-spacing:.04em}.quiz-action:disabled{background:#e7e8e8;color:#a8acad;border:0;box-shadow:none;cursor:default;opacity:1}.quiz-complete{align-items:center;justify-content:center;text-align:center}.quiz-complete h1{font-size:30px}.quiz-confetti{font-size:66px}@media(max-width:400px){.welcome-card{padding:17px}.welcome-card h1{font-size:24px}.course-unit{padding:11px;gap:9px}.course-unit-icon{width:44px;height:44px}.course-unit-copy strong{font-size:14px}.quiz-screen{padding-top:12px}.quiz-prompt{font-size:24px}.quiz-choices .choice{min-height:73px}}