/* Shared lesson system: preserves React controls, translations, and all content. */
.lx-lesson-layout{max-width:1120px!important;margin-inline:auto;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
.lx-lesson-layout h1{font-size:clamp(26px,5vw,40px)!important;line-height:1.2!important;letter-spacing:-.025em}
.lx-lesson-section{position:relative;background:#fff!important;border:1px solid #d9e7e7!important;border-radius:22px!important;padding:22px!important;box-shadow:0 5px 20px #153c4a06;margin-bottom:20px}
.lx-lesson-section>h3{display:flex;gap:10px;align-items:center;color:#126f6a!important;font-size:15px!important;line-height:1.5;letter-spacing:.025em!important;margin-bottom:18px!important;text-transform:none!important}
.lx-lesson-section>h3:before{content:attr(data-number);display:none}
.lx-lesson-section:before{content:attr(data-lesson-section);position:absolute;right:18px;top:14px;color:#126f6a16;font-size:32px;font-weight:850;pointer-events:none}
.lx-lesson-section p,.lx-lesson-section li{line-height:1.85!important;overflow-wrap:anywhere}
.lx-lesson-section>p{font-size:16px!important}
.lx-lesson-reading>.whitespace-pre-wrap{font-family:inherit!important;background:#fff!important;font-size:16px!important;line-height:1.75!important;padding:0!important;border:0!important;border-radius:0!important;white-space:normal!important}
.lx-reading-label{font-weight:800;color:#126f6a;margin:20px 0 10px;font-size:16px}
.lx-reading-line{margin:4px 0}.lx-reading-gap{height:8px}
.lx-reading-item{padding:12px 14px;background:#eff7f5;border:1px solid #d9eae4;border-radius:12px 12px 0 0;margin-top:12px;font-weight:700;color:#1a5149}
.lx-reading-example{padding:8px 14px 12px;background:#eff7f5;border:1px solid #d9eae4;border-top:0;border-radius:0 0 12px 12px;color:#4b646a;font-size:15px;margin-bottom:8px}
.lx-lesson-section ul{padding:0!important;list-style:none}
.lx-lesson-section li{padding:9px 12px;background:#f3f8f8;border-radius:10px;margin-bottom:8px}
.lx-lesson-activities .space-y-5>div,.lx-lesson-activities>div.mb-4{padding:18px!important;border:1px solid #d7e3e7!important;background:#f8fbfc!important;border-radius:16px!important;margin-block:14px!important}
.lx-lesson-layout input,.lx-lesson-layout textarea{font-size:16px!important;line-height:1.6;max-width:100%;min-height:46px;border-radius:12px!important}
.lx-lesson-layout button{min-height:44px;white-space:normal;line-height:1.5}
.lx-lesson-layout .learnex-audio-first{padding:18px!important;text-align:left!important}
.lx-lesson-layout .learnex-audio-first strong{font-size:20px!important}
.lx-lesson-layout .learnex-audio-first p{font-size:14px!important;line-height:1.6!important;margin-top:6px!important}
.lx-lesson-layout [dir=rtl]{line-height:1.9!important;font-family:system-ui,sans-serif}
.lx-tests-layout{max-width:100%!important;overflow-x:hidden!important}
.lx-tests-layout pre,.lx-tests-layout .whitespace-pre-wrap{max-width:100%!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:normal!important;line-height:1.72!important}
.lx-tests-layout img,.lx-tests-layout video,.lx-tests-layout audio{max-width:100%!important}
.lx-tests-layout button,.lx-tests-layout a{touch-action:manipulation}
.lx-profile-hero{display:flex!important;flex-direction:row!important;align-items:center!important;gap:16px!important;text-align:left!important;padding:16px!important;border-radius:22px!important;margin-bottom:12px!important}
.lx-profile-hero>img{margin:0!important}
.lx-profile-hero>.flex{gap:16px!important;align-items:center!important}
.lx-profile-info{min-width:0}
.lx-profile-info h1,.lx-profile-info h2{font-size:22px!important;line-height:1.25!important;margin:0 0 4px!important;overflow-wrap:anywhere}
.lx-profile-info p{font-size:13px!important;line-height:1.45!important;margin-block:3px!important;overflow-wrap:anywhere}
.lx-profile-info .mb-4{margin-bottom:6px!important}
.lx-profile-info .mt-4{margin-top:6px!important}
.lx-membership-entry{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;text-align:left;background:linear-gradient(110deg,#113a40,#1d5954);color:#fff;border:1px solid #c4a861;border-radius:18px;padding:16px 18px;margin:12px 0 20px;font-size:13px;min-height:72px;cursor:pointer}
.lx-membership-entry strong{display:block;font-size:18px;color:#f6dca1}
.lx-membership-entry small{display:block;margin-top:4px;color:#daeeea}
.lx-membership-entry:focus-visible,#learnex-profile-photo-controls button:focus-visible{outline:3px solid #20b8a5;outline-offset:3px}
[data-vp-busy] [data-vp-practice]{background:#b42336!important;color:white!important;animation:lx-mic-pulse 1s ease-in-out infinite}
@keyframes lx-mic-pulse{50%{box-shadow:0 0 0 6px #b4233625}}
@media(max-width:600px){.lx-lesson-layout .grid.lg\:grid-cols-3{display:block!important}.lx-lesson-section{padding:18px!important}.lx-lesson-reading>.whitespace-pre-wrap{padding:14px!important}.lx-profile-hero>.flex{flex-direction:row!important;text-align:left!important}.lx-profile-hero img[alt=Profile]{margin:0!important}.lx-membership-entry{padding:14px}}
@media(prefers-reduced-motion:reduce){[data-vp-busy] [data-vp-practice]{animation:none}}
