@font-face{font-family:Plex;src:url('./assets/ibm-arabic.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Plex;src:url('./assets/ibm-arabic-medium.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:Plex;src:url('./assets/ibm-arabic-semibold.ttf') format('truetype');font-weight:600 800;font-display:swap}
@font-face{font-family:Naskh;src:url('./assets/naskh.ttf') format('truetype');font-weight:400 800;font-display:swap}
:root{--paper:#f6f7f2;--white:#fff;--ink:#24362e;--muted:#7b837b;--green:#29654a;--light-green:#eff5ec;--line:#e5e8df;--lime:#d2e5a5;--radius:20px;font-family:Plex,Tahoma,Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:default}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #92af6b;outline-offset:5px}button svg{width:20px;height:20px;flex-shrink:0}[hidden]{display:none!important}::selection{background:#d2e5a5}.skip-link{position:fixed;inset:8px 16px auto auto;background:var(--ink);color:white;padding:10px 18px;border-radius:8px;z-index:10;transform:translateY(-150%)}.skip-link:focus{transform:translateY(0)}
.site-header{height:99px;border-bottom:1px solid var(--line);background:#fafbf7}.header-inner{max-width:1152px;margin:auto;height:100%;display:flex;align-items:center;justify-content:space-between;padding:0 24px}.brand{display:flex;align-items:center;gap:11px;font-family:Naskh,serif;font-size:36px;line-height:1.05}.brand-mark{display:grid;place-items:center;background:var(--green);color:#eff4de;width:46px;height:46px;border-radius:13px}.brand-mark svg{width:33px;height:33px}.brand-sub{font-family:Plex,sans-serif;display:block;font-size:10px;line-height:1.8;letter-spacing:.2px;color:var(--muted);margin-top:4px}.header-label{display:flex;align-items:center;gap:9px;font-size:13px;color:#6f796f}.header-label>span{width:6px;height:6px;background:#82a774;border-radius:50%}.reset-button{display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:transparent;border-radius:9px;padding:8px 13px;font-size:12px;color:#647164;transition:.2s}.reset-button:hover{background:#edf2e8;color:var(--green)}.reset-button svg{width:16px;height:16px}
.main-shell{max-width:1152px;margin:0 auto;padding:45px 24px 0}.page-intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.eyebrow{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--green);font-weight:500}.small-star{font-size:18px}.page-intro h1{font-family:Naskh,serif;font-size:43px;font-weight:600;line-height:1.65;margin:8px 0 1px;letter-spacing:-.8px}.page-intro h1>span{color:var(--green)}.page-intro p{font-size:13px;color:#82887f;line-height:1.9;margin:0}.lesson-badge{border:1px solid #dfe5d7;border-radius:15px;min-width:119px;min-height:114px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;transform:rotate(-3deg);background:#f0f3e9;color:#6c7d5f}.lesson-badge span{font-size:10px}.lesson-badge strong{font-size:29px;color:#688053;font-weight:500;line-height:1.6}
.sentence-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:21px 30px 21px;position:relative;overflow:hidden;box-shadow:0 3px 8px #26342b02;margin-bottom:23px}.sentence-top{display:flex;justify-content:space-between;align-items:center;font-size:11px}.section-eyebrow{font-weight:500;color:#778476;display:flex;align-items:center;gap:7px}.section-eyebrow:before{content:'';width:5px;height:5px;background:#8ba47a;border-radius:50%}.sentence-instruction{color:#a0a59c}.sentence-words{display:flex;align-items:center;justify-content:center;gap:36px;margin:17px 0 23px;min-height:118px}.word-wrap{display:flex;align-items:center;flex-direction:column;position:relative}.word-button{position:relative;border:0;border-bottom:2px solid transparent;padding:0 22px 0;background:none;font-family:Naskh,serif;font-size:48px;line-height:1.7;color:#a6ada5;transition:color .2s,background .2s,border-color .2s}.word-button:disabled{color:#8a938a;opacity:.8}.word-button.current{color:var(--green);border-color:var(--green);background:linear-gradient(0deg,#eff5e8 55%,transparent 55%);border-radius:5px 5px 0 0}.word-button.done{color:var(--ink)}.word-button.done:hover{background:var(--light-green);border-radius:7px}.word-state{height:22px;display:flex;align-items:center;gap:5px;font-size:10px;color:#b0b5aa;margin-top:8px}.word-state.active{color:var(--green)}.word-state.done{color:#6d8e53}.word-state svg{width:11px;height:11px}.word-state.active:before{content:'';height:5px;width:5px;background:var(--green);border-radius:50%}.lesson-progress{border-top:1px solid #f0f1eb;padding-top:14px}.progress-caption{display:flex;justify-content:space-between;font-size:10px;color:#939c8e;margin-bottom:9px}#progress-count{color:#6d7e63;direction:rtl}.progress-track{height:4px;border-radius:4px;background:#eef0e8;overflow:hidden}.progress-track>div{height:100%;width:0;background:#8fad68;border-radius:4px;transition:width .4s ease}
.learning-layout{display:grid;grid-template-columns:minmax(0,1fr) 306px;gap:23px;align-items:start}.question-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:25px 28px 17px;min-height:371px}.question-top{display:flex;justify-content:space-between;align-items:center}.word-pill{background:#f0f4e9;border-radius:6px;padding:5px 11px;font-size:10px;color:#678054;font-weight:500}.step-count{font-size:11px;letter-spacing:2px;color:#9da694}.question-heading{display:flex;align-items:center;gap:13px;margin:25px 0 23px}.question-icon{width:37px;height:37px;display:grid;place-items:center;border:1px solid #e4e9dc;color:#658358;border-radius:50%;font-family:Naskh,serif;font-size:23px;flex-shrink:0}.question-heading h2{font-size:20px;font-weight:500;line-height:1.8;margin:0;color:#2b3e31}.question-heading h2:focus{outline:none}.question-heading p{font-size:11px;color:#91998d;margin:4px 0 0;line-height:1.9}.answer-options{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-bottom:24px}.answer-option{position:relative;display:flex;align-items:center;justify-content:center;gap:13px;min-height:66px;padding:12px 6px;border:1px solid #e5e8df;border-radius:10px;background:#fdfefb;color:#53604e;font-size:15px;transition:.18s}.answer-option:not(:disabled):hover{border-color:#9fb38a;background:#f7f9f1;transform:translateY(-2px)}.answer-option.selected{border-color:#7e9d65;background:#f1f6e9;color:#35552a;box-shadow:0 0 0 1px #7e9d65}.option-marker{width:15px;height:15px;border:1px solid #d3dac9;border-radius:50%;flex-shrink:0;display:grid;place-items:center}.selected .option-marker{border-color:#64884d}.selected .option-marker:after{content:'';height:7px;width:7px;background:#64884d;border-radius:50%}.answer-option.correct{border-color:#6e9971;background:#edf5ed;color:#2f6338;box-shadow:0 0 0 1px #6e9971}.answer-option.correct .option-marker{border-color:#6e9971;background:#6e9971}.answer-option.correct .option-marker:after{content:'✓';width:auto;height:auto;background:none;font-size:11px;line-height:1;color:white}.answer-option.wrong{border-color:#cf9c81;background:#fcf1e8;box-shadow:0 0 0 1px #cf9c81;color:#8b583a}.answer-option.wrong .option-marker{border-color:#bd9076}.answer-option.wrong .option-marker:after{background:#bd9076}.question-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #eef0e8;padding-top:21px}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:24px;border:1px solid var(--green);background:var(--green);border-radius:9px;padding:11px 18px;min-height:45px;color:white;font-size:12px;font-weight:500;transition:background .18s,transform .18s}.primary-button:hover:not(:disabled){background:#1e5039;transform:translateY(-1px)}.primary-button:disabled{background:#e9ede3;border-color:#e9ede3;color:#a2ac98}.hint-button{display:flex;align-items:center;gap:6px;background:none;color:#7b8b69;border:0;font-size:11px;padding:8px 0}.hint-button:hover{color:var(--green)}.hint-button svg{width:16px;height:16px}.keyboard-note{margin-top:15px;font-size:9px;color:#aab19f;text-align:center;display:flex;align-items:center;justify-content:center;gap:7px}.keyboard-note kbd{font:9px Plex,sans-serif;border:1px solid #e9ece2;background:#fbfcf8;border-radius:3px;padding:0 4px}.keyboard-note>span{margin:0 2px}.hint-box,.feedback{font-size:12px;line-height:1.9;border-radius:9px;padding:12px 15px;margin:-8px 0 19px}.hint-box{background:#f7f6e9;color:#817647;border:1px solid #eae6cd}.feedback{background:#eef5eb;color:#3d7043;border:1px solid #dfebd9}.feedback.error{background:#fcf3ec;color:#946343;border:1px solid #f0dfd0}.feedback strong{display:block;font-weight:600}.feedback p{margin:1px 0 0}
.analysis-card{background:#fafbf7;border:1px solid var(--line);border-radius:var(--radius);padding:22px 23px 18px}.sidebar-heading{display:flex;align-items:center;gap:8px}.sidebar-heading h2{font-size:15px;font-weight:500;margin:0}.outline-icon{display:flex;color:#6e855e}.outline-icon svg{width:18px;height:18px}.sidebar-description{font-size:10px;color:#929c88;margin:7px 0 22px}.analysis-step{display:flex;gap:12px;position:relative;padding-bottom:17px;min-height:51px}.analysis-step:not(:last-child):before{content:'';position:absolute;width:1px;height:calc(100% - 21px);background:#e1e7d9;top:24px;right:10px}.analysis-step-number{height:22px;width:22px;display:grid;place-items:center;font-size:10px;background:#f0f3e9;color:#9da88f;border-radius:50%;flex-shrink:0;z-index:1}.analysis-step.current .analysis-step-number{background:#e5eed9;border:1px solid #9cb382;color:#557d3f}.analysis-step.done .analysis-step-number{background:#e9f1e1;color:#688b4f}.analysis-step-content{padding-top:0}.analysis-step-label{display:block;font-size:11px;color:#a1aa97;line-height:1.9}.analysis-step.current .analysis-step-label{color:#596d4d}.analysis-step.done .analysis-step-label{color:#5b6b50}.analysis-step-answer{display:block;font-size:11px;color:#587843;font-weight:500;line-height:1.8}.analysis-step.pending .analysis-step-answer{color:#bdc4b5;font-weight:400;font-size:10px}.analysis-summary{display:flex;gap:7px;border-top:1px dashed #dce3d2;padding-top:12px;font-size:10px;line-height:1.9;color:#96a087}.analysis-summary.complete{color:#52703f}.analysis-summary>span{font-size:16px}.encouragement{display:flex;align-items:center;gap:13px;padding:20px 13px 0;color:#7e8c6c}.plant-icon{height:40px;width:40px;flex-shrink:0}.plant-icon svg{height:40px;width:40px}.encouragement strong{font-size:11px;font-weight:500;color:#7e8c6c}.encouragement p{font-size:10px;color:#a0a88f;margin:4px 0 0}
.site-footer{margin-top:33px;padding:21px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#a0a794;font-size:10px}.footer-dot{padding:0 6px;color:#c2c8b7}.site-footer>span:last-child{display:flex;align-items:center;gap:6px}.site-footer>span:last-child>span{font-size:16px;line-height:1}.results-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:36px;text-align:center}.celebration{font-size:38px;background:#eff4df;border-radius:50%;color:#7b9a4b;height:72px;width:72px;margin:0 auto 17px;display:grid;place-items:center}.results-card>.eyebrow{justify-content:center}.results-card h2{font-family:Naskh,serif;font-size:31px;font-weight:600;margin:7px 0}.results-card>p{font-size:12px;color:#89917f;line-height:1.9;margin:0 0 25px}.full-analysis{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:0 0 25px}.full-analysis article{background:#f8faf3;border:1px solid #e6ebdd;border-radius:12px;padding:22px 15px}.full-analysis h3{font-family:Naskh,serif;font-size:30px;color:var(--green);margin:0 0 10px}.full-analysis p{font-size:12px;line-height:2;color:#708060;margin:0}.results-card .primary-button{min-width:210px}dialog{background:#fff;border:1px solid var(--line);border-radius:20px;max-width:450px;width:calc(100% - 40px);padding:32px;color:var(--ink);text-align:right;box-shadow:0 20px 80px #152b1e22}dialog::backdrop{background:#23362b55;backdrop-filter:blur(3px)}dialog h2{font-size:22px;font-weight:500;margin:10px 0}dialog p{font-size:13px;color:#818b78;line-height:2;margin:0 0 24px}.dialog-symbol{display:grid;place-items:center;width:40px;height:40px;background:var(--light-green);border-radius:50%;color:var(--green);font-size:24px}.dialog-actions{display:flex;gap:15px;align-items:center}.cancel-button{border:0;background:none;padding:10px;color:#7d8975;font-size:12px}#review-title{font-family:Naskh,serif;font-size:43px;color:var(--green)}
@keyframes enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.question-heading,.answer-options,.feedback,.results-card{animation:enter .25s ease}
@media(min-width:1500px){.main-shell{padding-top:55px}.page-intro{margin-bottom:35px}.sentence-card{margin-bottom:27px}.sentence-words{margin-top:23px;margin-bottom:28px}.question-card{padding-top:28px;padding-bottom:20px}.question-heading{margin-top:30px;margin-bottom:28px}.answer-options{margin-bottom:28px}.site-footer{margin-top:40px}}
@media(max-width:850px){.main-shell{padding-top:30px}.learning-layout{grid-template-columns:minmax(0,1fr) 255px;gap:16px}.analysis-card{padding:20px 18px}.question-card{padding:22px 21px 17px}.question-heading h2{font-size:18px}.question-heading{gap:10px}.answer-options{gap:8px}.answer-option{gap:8px;font-size:13px}.primary-button{padding:10px 13px;gap:14px}.page-intro h1{font-size:37px}}
@media(max-width:700px){.site-header{height:80px}.header-inner{padding:0 20px}.header-label{display:none}.brand{font-size:31px}.brand-mark{width:39px;height:39px}.brand-mark svg{width:28px;height:28px}.brand-sub{font-size:9px}.reset-button{font-size:10px;padding:7px 10px}.reset-button svg{width:14px;height:14px}.main-shell{padding:28px 18px 0}.page-intro{gap:16px;align-items:center;margin-bottom:24px}.page-intro h1{font-size:32px;line-height:1.65;letter-spacing:-.5px;margin-top:7px}.eyebrow{font-size:10px}.page-intro p{font-size:11px;max-width:320px;line-height:2}.lesson-badge{min-width:76px;min-height:89px;border-radius:10px}.lesson-badge span{font-size:8px}.lesson-badge strong{font-size:24px}.sentence-card{padding:18px 19px;border-radius:16px;margin-bottom:17px}.sentence-top{font-size:10px}.sentence-words{gap:13px;margin:18px 0 22px;min-height:101px}.word-button{font-size:39px;padding:0 14px}.word-state{font-size:9px}.learning-layout{grid-template-columns:1fr;gap:18px}.question-card{padding:22px 20px 16px;border-radius:16px;min-height:0}.question-heading{margin:22px 0}.question-heading h2{font-size:19px}.question-heading p{font-size:11px}.answer-option{min-height:63px;font-size:14px;gap:9px}.answer-options{margin-bottom:23px}.question-actions{padding-top:19px}.primary-button{font-size:12px;padding:11px 16px;gap:20px}.hint-button{font-size:11px}.keyboard-note{display:none}.analysis-sidebar{display:grid;grid-template-columns:1fr 170px;gap:15px;align-items:center}.analysis-card{border-radius:16px;padding:20px}.sidebar-heading h2{font-size:14px}.sidebar-description{font-size:10px}.encouragement{padding:0;display:block}.encouragement strong{font-size:10px}.encouragement p{font-size:10px;line-height:1.9;max-width:145px}.plant-icon{display:block;margin-bottom:7px}.analysis-step{padding-bottom:13px;min-height:48px}.site-footer{margin-top:26px;font-size:8px;padding:18px 0}.full-analysis{grid-template-columns:1fr;gap:10px}.full-analysis article{padding:15px}.full-analysis h3{font-size:28px;margin-bottom:4px}.results-card{padding:28px 20px}.results-card h2{font-size:28px}}
@media(max-width:400px){.main-shell{padding-inline:14px}.page-intro h1{font-size:28px}.lesson-badge{min-width:67px;min-height:80px}.sentence-words{gap:6px}.word-button{padding:0 11px;font-size:35px}.sentence-instruction{font-size:9px}.question-heading h2{font-size:17px}.answer-option{font-size:12px;gap:6px}.question-card{padding:20px 15px 16px}.primary-button{font-size:11px;padding:10px 12px;gap:14px}.hint-button{font-size:10px}.analysis-sidebar{grid-template-columns:1fr 125px;gap:13px}.encouragement p{font-size:9px}.site-footer{font-size:7px}.dialog-actions{flex-direction:column;align-items:stretch}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
