@font-face{font-family:Andika;src:url(andika-400.woff2)}@font-face{font-family:Andika;src:url(andika-700.woff2);font-weight:700}@font-face{font-family:Naskh;src:url(naskh-400.woff2)}*{box-sizing:border-box}body{margin:0;background:#ecece4;color:#183f42;font:15px Andika,Arial,sans-serif}button,select,input,textarea{font:inherit}button{cursor:pointer;border:1px solid #d2dcd6;border-radius:12px;background:white;color:#20484a;padding:10px 16px}button:hover{border-color:#5369fb}button:focus-visible,a:focus-visible{outline:3px solid #5663ff;outline-offset:3px}.app{max-width:1400px;margin:auto}header{display:flex;align-items:center;gap:12px;background:#fff;padding:16px 25px;border-bottom:1px solid #dde3dc}header img{width:45px;height:45px;object-fit:contain}header strong{font-size:23px}small{display:block;font-size:11px;color:#617676}.badge{font:10px Andika;letter-spacing:1.5px;background:#edf1ed;padding:8px 12px;border-radius:20px}header>.badge{margin-left:auto}.toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 22px;background:#fff}.toolbar label{display:flex;align-items:center;gap:5px;font-size:12px}#play{background:#244f51;color:white}#loop{margin-left:auto;font-size:11px;color:#677b78}#steps{display:flex;gap:5px;padding:10px 20px;background:#e6ece8;overflow:auto}#steps button{white-space:nowrap;font-size:11px;padding:8px 12px}#steps button.active{background:#eac780;border-color:#eac780}.layout{display:grid;grid-template-columns:210px 1fr;min-height:560px;background:linear-gradient(90deg,#edf0e8d9,#f8f6efe8),url(fond-classe.webp) center/cover}aside{background:#ffffffb5;margin:20px 0 20px 18px;padding:24px 18px;border-radius:20px}aside h2{font-size:19px}aside p{font-size:12px}.sideitem{padding:16px 0;font-size:12px;border-bottom:1px solid #dce2da}.sidefoot{margin-top:40px;font-size:12px;color:#687d78}main{padding:24px 30px;min-width:0}.heading{display:flex;align-items:center;justify-content:space-between}#eyebrow{font-size:10px;letter-spacing:2px;color:#77847b}h1{font-size:27px;letter-spacing:-1px;margin:8px 0}#caption{font-size:13px;color:#657775;min-height:36px}#count{background:#fff;border-radius:20px;padding:9px;font-size:11px}#screen{height:362px;overflow-y:auto;scroll-behavior:smooth;padding:4px 8px 20px 0;scrollbar-width:thin}.line{display:grid;grid-template-columns:88px 1fr 160px;align-items:center;gap:15px;background:#fff;border:2px solid transparent;border-radius:16px;margin-bottom:10px;padding:14px 18px;transition:background .2s,border .2s}.line.student{background:#eff0ff}.line.active{border-color:#5461ff;background:#f2edff;box-shadow:0 3px 16px #5259ff20}.line b{font-size:9px;color:#8d7950}.line.student b{color:#5461ff}.ar{font-family:Naskh,serif;direction:rtl;font-size:29px;line-height:1.8}.line .translation{font-size:12px;color:#667b77}.card{background:#fffffff0;padding:24px;border-radius:18px;border:1px solid #dbe1d7;margin-bottom:12px}.card h2{margin-top:0;font-size:22px}.card .ar{font-size:31px}.options{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.options button{font-family:Naskh;font-size:24px;flex:1}.options button.correct{background:#e3f2dc;border-color:#6d9a60}.options button.wrong{background:#fff0dc;border-color:#c69661}.feedback{margin-top:16px;color:#41733b;font-size:13px;min-height:24px}.bubble{background:#ecedff;padding:20px;border-radius:18px 18px 3px 18px;margin:16px 0 16px 40px}.bubble.teacher{margin:16px 40px 16px 0;background:#e9f1e7;border-radius:18px 18px 18px 3px}.bubble small{margin-bottom:6px}.compose{width:100%;padding:12px;border:1px solid #d1ddd4;border-radius:12px;min-height:75px;resize:vertical}.primary{background:#244f51;color:white;margin-top:12px}.pill{display:inline-block;background:#ede4ce;padding:5px 10px;border-radius:8px;font-size:11px}.success{background:#e3f2dc;border-left:4px solid #6d9a60;padding:16px;border-radius:10px}.homework label{display:block;margin:14px 0}.homework input[type=text]{padding:10px;width:100%;border:1px solid #ccd9d0;border-radius:8px}footer{padding:15px 22px;background:white;font-size:11px;color:#607773}.track{height:4px;background:#e5ebe7;border-radius:3px;margin-top:10px}.track i{display:block;width:0;height:100%;background:#c59b4e;transition:width .15s}@media(max-width:650px){header{padding:12px}header strong{font-size:19px}header>.badge{font-size:8px}.toolbar{padding:10px}#loop{display:none}.layout{grid-template-columns:1fr}aside{display:none}main{padding:18px 12px}h1{font-size:22px}.line{grid-template-columns:1fr;padding:10px;gap:2px}.line b{text-align:left}.line .translation{font-size:11px}.line .ar{font-size:27px}#screen{height:405px}.card{padding:17px}.bubble{margin-left:10px}.bubble.teacher{margin-right:10px}#steps{padding:8px}#caption{font-size:12px}.options button{min-width:90px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.chat{max-width:760px;margin:auto}.chathead{display:flex;align-items:center;gap:12px;background:#fff;padding:14px 18px;border-radius:16px;position:sticky;top:0;z-index:1;box-shadow:0 5px 20px #192e4610}.chatdot{width:10px;height:10px;background:#4988e4;border-radius:50%}.chathead b{font-size:13px}.chathead small{margin-top:4px}.chatday{text-align:center;font-size:11px;color:#6c7e95;margin:18px 0 12px}.bluebubble{padding:14px 18px;max-width:85%;border-radius:16px;margin:10px 0;animation:bubble-in .3s ease-out}.bluebubble p{font-size:14px;line-height:1.8;margin:6px 0}.bluebubble small{font-size:10px}.bluebubble time{display:block;text-align:right;font-size:10px;opacity:.75}.fromstudent{margin-left:auto;background:#2671db;color:#fff;border-bottom-right-radius:4px}.fromstudent small{color:#e0edff}.fromteacher{margin-right:auto;background:#e1edff;color:#173f72;border:1px solid #c9ddff;border-bottom-left-radius:4px}.fromteacher small{color:#517096}@keyframes bubble-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.bluebubble{animation:none}}#count{white-space:nowrap;flex-shrink:0}.heading{gap:12px}.chathead{border:1px solid #d4e3f7}

.teacher-task>label{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:12px 0;font-size:13px}.teacher-task select{max-width:65%;padding:9px;border-radius:9px;border:1px solid #c8d8d2;color:#224d50;background:#fff}.task-choices{display:flex;flex-wrap:wrap;gap:12px;padding:12px 0}.task-choices label{font-size:12px}.task-sent{margin-top:18px;border:1px solid #abc6ec;padding:16px;border-radius:14px;background:#e6f0ff;color:#214e85}.task-sent p,.task-sent li{font-size:12px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:22px 0}.metrics b{display:block;font-size:31px;color:#23575b}.metrics b small{display:inline;font-size:12px;margin-left:4px}.metrics span{font-size:11px;color:#5d787b}.learning-progress{height:9px;background:#e1e8e2;border-radius:7px}.learning-progress i{display:block;width:40%;height:100%;background:#b58e44;border-radius:7px}.progress-note{font-size:12px;color:#6e837d}.lesson-result{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 18px;margin:9px 0;background:#fff;border-radius:12px}.lesson-result b{font-size:13px}.lesson-result small{margin-top:4px}.lesson-result strong{white-space:nowrap;color:#38694a}.review-note{border-left:3px solid #ba9a54;padding:12px 16px;background:#fff4d9;border-radius:8px;font-size:12px}.review-note p{margin-bottom:0}.last-seen{margin:18px 0;padding:14px;background:#edf3ff;border-radius:12px}.last-seen span{font-size:11px;display:block}.last-seen strong{display:block;font-size:23px;margin:5px 0}.day-tabs{display:flex;gap:6px;margin:16px 0}.day-tabs button{font-size:12px}.day-tabs .selected{background:#dce9ff;border-color:#7ba5e1}.activity-row{display:grid;grid-template-columns:44px 10px 1fr;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #e7ece9;font-size:12px}.activity-row time{color:#59817f;font-size:11px}.activity-row i{height:7px;width:7px;background:#4d82cb;border-radius:50%}.activity-card{padding:20px}@media(max-width:600px){.metrics{gap:6px}.metrics b{font-size:25px}.metrics b small{display:block;margin:0}.lesson-result{padding:12px}.teacher-task>label{align-items:flex-start}.teacher-task h2{font-size:19px}}
.demo-stage{position:relative}.scene-intro{position:absolute;inset:0;z-index:4;border-radius:20px;padding:30px 36px;background:linear-gradient(125deg,#173e47,#102c37);color:white;display:flex;flex-direction:column;justify-content:center;border:1px solid #d3b879;box-shadow:0 12px 35px #19363f22}.scene-intro[hidden]{display:none}.scene-intro>#introRole{align-self:flex-start;border:1px solid #b8cdd355;color:#e8cf9c;border-radius:20px;font-size:10px;letter-spacing:1.4px;padding:7px 12px;margin-bottom:16px}.scene-intro>small{font-size:9px;letter-spacing:2px;color:#afc4cb}.scene-intro h2{font-size:clamp(22px,2.7vw,32px);line-height:1.25;margin:10px 0 12px;max-width:720px;letter-spacing:-.6px}.scene-intro p{font-size:14px;line-height:1.7;color:#d5e1e5;margin:0;max-width:650px}.scene-intro .intro-hint{font-size:10px;color:#a7bcc4;margin-top:20px}#caption{background:#fff7e5;border-left:3px solid #c6a464;padding:10px 14px;border-radius:0 10px 10px 0;color:#405959;line-height:1.6}#title{line-height:1.25}#screen{scroll-margin-top:0}@media(max-width:650px){.scene-intro{padding:23px 20px}.scene-intro h2{font-size:24px}.scene-intro p{font-size:13px}.scene-intro>#introRole{margin-bottom:12px}#caption{font-size:12px;padding:9px 11px}}
.word-text{line-height:2.05!important;margin:12px 0}.word-text button{font:inherit;padding:0 4px;border:0;border-bottom:2px dotted #839fbb;border-radius:6px;background:transparent;color:inherit;line-height:1.65}.word-text button:hover,.word-text button.word-selected{background:#d6e7ff;color:#155abe;border-bottom-color:#397ac6}.word-translation{border:1px solid #99bdea;background:#e6f0ff;border-radius:12px;padding:12px 16px;color:#234f81}.word-translation>span{font-size:9px;letter-spacing:1.5px}.word-translation p{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:6px 0 0;font-size:14px}.word-translation b{font:28px Naskh}.word-translation i{font-style:normal;color:#5480a9}.word-lesson{padding:18px}.word-lesson h2{font-size:26px!important;margin:8px 0}.word-lesson .word-text{font-size:26px!important}html[lang=ar] body{font-family:Naskh,Arial,sans-serif;font-size:17px}html[lang=ar] .heading,html[lang=ar] .card,html[lang=ar] #caption{text-align:right}html[lang=ar] #eyebrow,html[lang=ar] .badge,html[lang=ar] .scene-intro small{letter-spacing:0}html[lang=ar] .scene-intro{direction:rtl;text-align:right}html[lang=ar] #caption{border-left:0;border-right:3px solid #c6a464}html[lang=ar] .toolbar label{font-size:15px}html[lang=ar] #steps button{font-size:14px}#count,.metrics b,.activity-row time,.bluebubble time{direction:ltr;unicode-bidi:isolate}.line .translation,#wordTranslation strong{direction:ltr}.word-translation p{direction:ltr}

/* version école */.qtxt{font-size:24px;line-height:1.4;font-weight:700;margin-top:12px}.qtxt.big{font-size:32px}.options.lat button{font-family:Andika,Arial,sans-serif;font-size:19px}.class-sum{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 10px}.class-sum b{font-size:12px;background:#edf3ff;border-radius:20px;padding:6px 11px;color:#214e85}.class-card .lesson-result{margin:6px 0;padding:10px 16px;border:1px solid #e3e8e2}.st0{color:#a5612b!important}.st1{color:#38694a!important}.st2{color:#2e62a8!important}.lat-lesson h2{font-size:24px!important}.lat-lesson .word-text{font-size:22px!important;line-height:2!important;direction:ltr}.lat-lesson .word-translation b{font:700 22px Andika,Arial,sans-serif}html[lang=ar] .lat-lesson .word-text{direction:ltr;text-align:left}
