.exercice.at-lex{--lex-vert:#164c3c;--lex-or:#b98f50;box-sizing:border-box;margin:1rem 0;padding:0;overflow:hidden;border:1px solid var(--lex-or);border-radius:12px;background:#fff8eb;color:#382f25;box-shadow:0 6px 20px #71452012}
.at-lex .lex-head{display:flex;align-items:center;justify-content:space-between;padding:10px 18px;margin:0;background:#f1e4c9;border-bottom:1px solid #d6bb89;color:var(--lex-vert);font:650 14px/1.4 system-ui}
.at-lex .lex-head small{font-size:12px;font-weight:500}.at-lex .lex-body{padding:16px;display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);gap:18px;align-items:center}
.at-lex .lex-word{margin:0;padding:8px;min-height:100px;border:18px solid transparent;border-image:url(cadre.webp) 145 fill /18px;text-align:center;color:#fff5da;display:grid;align-content:center;overflow-wrap:anywhere}
.at-lex .lex-word small{font:600 11px/1.4 system-ui;letter-spacing:.1em;color:#ffe5b6}.at-lex .lex-word strong{font:600 clamp(23px,3vw,34px)/1.35 Georgia,serif}
.at-lex .lex-question{font:600 16px/1.5 system-ui;margin:0 0 10px}.at-lex .lex-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.at-lex .lex-options .choix-btn{position:relative;min-width:0;margin:0;width:100%;min-height:49px;padding:5px 10px;border:1px solid var(--lex-or);border-radius:8px;background:#fffbef;color:var(--lex-vert);box-shadow:none;cursor:pointer;text-align:center}
.at-lex .choix-btn [lang=ar]{font:normal clamp(24px,2.5vw,32px)/1.75 'Noto Naskh Arabic',Amiri,serif}.at-lex .choix-btn:focus-visible{outline:3px solid #3c7763;outline-offset:2px}
.at-lex .lex-options .choix-btn.juste{background:#09543d;color:#fff;opacity:1}.at-lex .lex-options .choix-btn.faux{background:#fbebe4;color:#832e20;border-color:#ad5139}.at-lex .choix-btn.juste:after{content:' ✓';font:bold 25px system-ui}.at-lex .choix-btn.faux:after{content:' ×';font:bold 25px system-ui}
.at-lex .lex-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px}.at-lex .resultat:is(.ok,.non,.montre){display:block;flex:1 1 100%;border-radius:7px;padding:6px 12px;font:650 18px/1.5 system-ui}.at-lex .resultat.ok{background:#09543d;color:white}.at-lex .resultat.ok:before{content:'✓ ';font-size:27px}.at-lex .resultat.non{background:#fbebe4;color:#832e20}.at-lex .resultat.non:before{content:'× ';font-size:27px}.at-lex .resultat.montre{background:#f1e4c9;color:#513a23}.at-lex .voir{background:none;border:0;color:#74542d;font:13px/1.5 system-ui;text-decoration:underline;cursor:pointer}.at-lex [hidden]{display:none!important}
@media(max-width:700px){.at-lex .lex-body{grid-template-columns:1fr;gap:10px;padding:12px}.at-lex .lex-word{min-height:80px;padding:0 5px}.at-lex .lex-head{padding:8px 12px}}

.at-lex .lex-foot button.lex-reveal,#app .at-lex .lex-foot button.lex-reveal{
 appearance:none;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;max-width:100%;padding:6px 16px;border:1px solid #b39660;border-radius:7px;background:linear-gradient(#fffaf0,#f5ead3);color:#174b3c;box-shadow:none;text-decoration:none;font:600 14px/1.4 system-ui,sans-serif;cursor:pointer}
.at-lex .lex-foot button.lex-reveal:hover,#app .at-lex .lex-foot button.lex-reveal:hover{background:#f4e6ca;border-color:#967543}
.at-lex .lex-foot button.lex-reveal:focus-visible{outline:2px solid #24604b;outline-offset:3px}
.at-lex .lex-foot button.lex-reveal[hidden],#app .at-lex .lex-foot button.lex-reveal[hidden]{display:none}
