body.elifba-page{margin:0;color:#eee;font:400 16px/1.6 'Segoe UI',Arial,sans-serif;--ef-accent:#f8941c;--ef-blue:#8bc2ee;--ef-muted:#b0b0b0;--ef-line:#4b4b4b;--ef-surface:#222;--ef-font:'Amiri',serif}
.elifba-page *,.elifba-page *::before,.elifba-page *::after{box-sizing:border-box}
html body.site-page.elifba-page>main{width:100%;max-width:1200px;padding:20px 28px 48px}
.elifba-page button,.elifba-page summary{font:inherit;-webkit-tap-highlight-color:#f8941c22}
.elifba-page button{cursor:pointer}.elifba-page button:disabled{cursor:default}
.elifba-page :is(button,a,summary):focus-visible{outline:2px solid var(--ef-blue);outline-offset:5px}
.ef-skip{position:fixed;top:8px;left:12px;transform:translateY(-160%);z-index:120;background:var(--ef-accent);color:#111;padding:10px 18px;border-radius:8px;text-decoration:none}.ef-skip:focus{transform:none}
.ef-topline{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:44px}
.ef-breadcrumb{display:flex;align-items:center;gap:12px;font-size:14px;color:#ddd}.ef-breadcrumb>a{color:var(--ef-blue);text-decoration:none;display:inline-flex;align-items:center;min-height:44px}.ef-breadcrumb>a>span{color:#ccc}.ef-breadcrumb>span[aria-hidden]{color:#737373;font-size:20px}
.ef-intro{padding:6px 0 20px}
.ef-eyebrow{font-size:11px;letter-spacing:1.8px;line-height:1.7;font-weight:400;color:var(--ef-blue);margin:0}
.ef-intro h1{font-size:46px;font-weight:400;letter-spacing:-1.6px;line-height:1.12;margin:0}.ef-intro h1>span{color:var(--ef-accent)}
.ef-courses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px}
.ef-courses>button{display:flex;align-items:center;gap:15px;padding:12px 22px;min-height:88px;border:.5px solid #585858;border-radius:13px;background:#232323ee;text-align:left;color:#ccc;position:relative;transition:border-color .2s,background .2s}
.ef-courses>button:hover{border-color:#aaa}.ef-courses>button[aria-pressed=true]{border-color:var(--ef-accent);background:linear-gradient(120deg,#3b2d1e,#242424)}
.ef-course-glyph{display:grid;place-items:center;flex:0 0 44px;height:50px;font-size:46px;color:#aaa;line-height:1.1}.ef-ar{font-family:'Amiri',serif}.ef-he{font-family:'Noto Serif Hebrew',serif;font-size:36px}.ef-gr{font-family:'Noto Serif',serif;font-size:40px}
.ef-courses>button[aria-pressed=true] .ef-course-glyph{color:var(--ef-accent)}.ef-courses strong{display:block;font-size:16px;font-weight:400;color:#eee}.ef-courses small{display:block;font-size:12px;margin-top:2px;color:#aaa}
.ef-course-mark{margin-left:auto;width:6px;height:6px;background:#555;border-radius:50%}.ef-courses>button[aria-pressed=true] .ef-course-mark{background:var(--ef-accent);box-shadow:0 0 0 5px #f8941c12}
.ef-learning-shell{display:grid;grid-template-columns:208px minmax(0,1fr);border:.5px solid #606060;border-radius:21px;overflow:hidden;background:linear-gradient(140deg,#282828f5,#1a1a1af5)}
.ef-sidebar{padding:31px 22px 25px;border-right:.5px solid var(--ef-line);display:flex;flex-direction:column}
.ef-sidebar h2{font:400 16px/1.4 'Segoe UI',Arial,sans-serif;margin:0 0 18px;color:#ccc}
.ef-levels{list-style:none;padding:0;margin:0;position:relative}.ef-levels:before{content:'';position:absolute;left:16px;top:23px;bottom:23px;width:.5px;background:#505050}
.ef-levels li{position:relative;display:flex;gap:11px;align-items:center;min-height:47px;color:#aaa;font-size:12px}.ef-levels b{display:grid;place-items:center;flex:0 0 33px;height:33px;border:.5px solid #505050;border-radius:50%;background:#252525;font-size:11px;font-weight:400}
.ef-levels [aria-current]{color:#eee;min-height:64px}.ef-levels [aria-current]>b{color:#151515;border-color:transparent;background:var(--ef-accent);box-shadow:0 0 0 4px #f8941c13}.ef-levels small{display:block;color:var(--ef-accent);font-size:11px;margin-top:1px}
.ef-workspace{padding:31px 32px 24px;min-width:0;--ef-font:'Amiri',serif;--ef-glyph-size:218px}
.ef-workspace[data-script=he]{--ef-font:'Noto Serif Hebrew',serif;--ef-glyph-size:175px}.ef-workspace[data-script=gr]{--ef-font:'Noto Serif',serif;--ef-glyph-size:180px}
.ef-lesson-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:22px}.ef-lesson-heading h2{font:400 36px/1.13 Georgia,serif;letter-spacing:-.8px;margin:9px 0 0}.ef-position{display:flex;align-items:baseline;gap:5px;white-space:nowrap;color:#888;font-size:12px}.ef-position strong{font-size:28px;color:#ccc;font-weight:400}
.ef-stage{background:linear-gradient(125deg,#1c1c1c,#202020);border-radius:14px;padding:17px 20px 18px;position:relative;isolation:isolate;overflow:hidden}.ef-stage::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 28% 40%,#f8941c09,transparent 65%);z-index:-1;pointer-events:none}
.ef-stage-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#a4a4a4;font-size:11px}.ef-stage-meta>span:last-child{display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:1px}.ef-stage-meta i{width:2px;height:2px;border-radius:50%;background:#777}
.ef-letter-scene{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(145px,1fr);gap:14px;align-items:center}
.ef-letter-art{position:relative;height:254px;display:grid;place-items:center;min-width:0}.ef-orbit{position:absolute;width:200px;height:200px;border:.5px solid #575047;border-radius:50%;pointer-events:none}.ef-orbit::after{content:'';position:absolute;inset:21px;border:.5px solid #423d37;border-radius:50%}
.ef-glyph-layer{position:relative;display:grid;place-items:center;height:216px;width:100%;font:400 var(--ef-glyph-size)/1.2 var(--ef-font);transform:translateY(-15px)}
.ef-glyph{grid-area:1/1;display:block;color:#e8e6e1;white-space:nowrap;transition:opacity .25s}.ef-glyph-focus{color:var(--ef-accent);opacity:0;clip-path:var(--ef-focus-clip,inset(0));filter:drop-shadow(0 0 6px #f8941c30)}
.ef-workspace[data-script=ar] .ef-glyph-layer{transform:translateY(-42px)}
.ef-baseline{position:absolute;width:174px;top:68%;left:50%;transform:translateX(-50%);height:.5px;background:#8bc2ee20;opacity:0;transition:opacity .3s}
.ef-glyph-label{position:absolute;bottom:3px;display:flex;gap:12px;align-items:center;font-size:11px;color:#a0a0a0;letter-spacing:1px}.ef-glyph-label strong{font-size:17px;color:#eee;font-weight:400;letter-spacing:0}
.ef-detail-number{font-size:11px;letter-spacing:2px;color:var(--ef-accent)}.ef-letter-detail h3{font-size:25px;line-height:1.3;font-weight:400;letter-spacing:-.6px;margin:8px 0 12px}.ef-letter-detail>p{font-size:13px;line-height:1.8;max-width:220px;color:#b3b3b3;margin:0}
.ef-discover{display:flex;align-items:center;gap:8px;min-height:44px;margin-top:13px;padding:0;background:transparent;border:0;color:#ddd;font-size:13px!important}.ef-discover-symbol{color:var(--ef-accent);font-size:22px}.ef-discover>span:last-child{color:#999;margin-left:10px}.ef-discover[aria-pressed=true]{color:var(--ef-accent)}
.ef-focus-note{font-size:12px;color:#f5bc78;line-height:1.65;margin:0;text-align:center;min-height:0;max-height:0;opacity:0;overflow:hidden;transition:max-height .35s,opacity .35s,margin .35s}
.ef-stage.is-exploring .ef-glyph-focus{opacity:1;animation:ef-reveal-focus .85s ease both}.ef-stage.is-exploring .ef-orbit{border-color:#8a5c29}.ef-stage.is-exploring .ef-focus-note{max-height:74px;opacity:1;margin:5px 0 12px}.ef-workspace[data-script=gr] .ef-stage.is-exploring .ef-baseline{opacity:1}
.ef-letter-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}.ef-letter-picker>button{display:flex;align-items:center;justify-content:center;gap:13px;min-height:64px;padding:5px 10px;border:.5px solid #505050;border-radius:10px;color:#b7b7b7;background:#252525;transition:border-color .2s,background .2s}.ef-letter-picker>button[aria-pressed=true]{border-color:var(--ef-accent);background:#30271d;color:#eee}.ef-picker-glyph{font:400 40px/1.2 var(--ef-font)}.ef-workspace[data-script=he] .ef-picker-glyph{font-size:31px}.ef-workspace[data-script=gr] .ef-picker-glyph{font-size:33px}.ef-picker-name{font-size:12px}.ef-picker-complete{width:4px;height:4px;border-radius:50%;background:#aac3ad}
.ef-study-action{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 0}.ef-study-action p{font-size:13px;margin:5px 0 0;color:#b3b3b3}
.ef-primary,.ef-secondary{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:46px;padding:12px 19px;border:0;border-radius:10px;background:var(--ef-accent);color:#111;font-size:14px!important;font-weight:500!important;white-space:nowrap;transition:background .2s,transform .2s}.ef-primary:hover{background:#ffab42}.ef-primary:active{transform:translateY(1px)}.ef-primary>span{font-size:20px;font-weight:400}.ef-secondary{border:.5px solid #686868;background:transparent;color:#ddd;font-weight:400!important}
.ef-progress{display:flex;align-items:center;gap:13px;padding-top:16px;border-top:.5px solid #4b4b4b;color:#bbb;font-size:12px}.ef-progress-track{flex:0 0 65px;height:3px;border-radius:3px;overflow:hidden;background:#494949}.ef-progress-track>span{display:block;width:0;height:100%;background:var(--ef-accent);transition:width .3s}.ef-save-note{font-size:11px;color:#999;margin-left:auto}
.ef-quiz{min-height:430px;padding:12px 0 24px}.ef-quiz-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.ef-plain{display:inline-flex;gap:8px;align-items:center;border:0;background:transparent;min-height:44px;color:#bbb;font-size:12px!important}.ef-quiz h3{font:400 35px/1.3 Georgia,serif;margin:27px 0 4px}.ef-quiz-instruction{color:#aaa;font-size:14px;margin:0 0 22px}.ef-answers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ef-answers>button{font:400 105px/1.4 var(--ef-font);min-height:158px;display:grid;place-items:center;color:#e7e5df;background:#1c1c1c;border:.5px solid #626262;border-radius:13px;transition:border-color .2s,background .2s}.ef-workspace[data-script=he] .ef-answers>button{font-size:73px}.ef-workspace[data-script=gr] .ef-answers>button{font-size:77px}.ef-answers>button.is-wrong{border-color:#c48b7b;background:#342421}.ef-answers>button.is-correct{border-color:var(--ef-accent);background:#3c2d1c;color:#ffb35b}.ef-answers>button[disabled]:not(.is-correct){opacity:.4}.ef-feedback{min-height:48px;line-height:1.7;margin:15px 0;font-size:14px;color:#e0b1a5}.ef-feedback.is-correct{color:#c4d2bc}
.ef-finished{text-align:center;min-height:430px;padding:28px 0}.ef-finished-symbol{display:block;color:var(--ef-accent);font-size:35px;margin-bottom:12px}.ef-finished h3{font:400 31px/1.3 Georgia,serif;letter-spacing:-.5px;margin:10px 0 5px}.ef-finished-letters{font:400 65px/1.6 var(--ef-font);letter-spacing:14px;color:var(--ef-accent);margin:18px 0}.ef-workspace[data-script=he] .ef-finished-letters{font-size:46px}.ef-workspace[data-script=gr] .ef-finished-letters{font-size:50px}.ef-finished>p:not(.ef-eyebrow){font-size:14px;color:#bbb;line-height:1.8}.ef-finished-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:25px}.ef-phase-note{font-size:12px;line-height:1.7;color:#a6a6a6;margin:18px 4px 0}.ef-mobile-levels{display:none}
.elifba-page [hidden]{display:none!important}
@keyframes ef-reveal-focus{0%{opacity:0;filter:drop-shadow(0 0 0 #f8941c00)}60%{opacity:1;filter:drop-shadow(0 0 10px #f8941c70)}100%{opacity:1;filter:drop-shadow(0 0 6px #f8941c30)}}
@media(max-width:1000px){.ef-learning-shell{grid-template-columns:180px minmax(0,1fr)}.ef-sidebar{padding-inline:17px}.ef-workspace{padding:26px 24px 22px}.ef-save-note{display:none}.ef-lesson-heading h2{font-size:33px}.ef-letter-detail h3{font-size:23px}.ef-letter-scene{grid-template-columns:minmax(0,1.15fr) minmax(145px,1fr)}}
@media(max-width:760px){html body.site-page.elifba-page>main{padding:12px 18px 40px}.ef-local{font-size:10px}.ef-intro{padding:21px 0 23px;align-items:flex-start}.ef-intro h1{font-size:43px}.ef-intro-copy{font-size:14px;max-width:280px}.ef-academy-back{display:none}.ef-courses{gap:8px;margin-bottom:15px}.ef-courses>button{min-height:82px;padding:10px 12px;gap:9px}.ef-course-glyph{flex-basis:30px;font-size:36px}.ef-he{font-size:28px}.ef-gr{font-size:30px}.ef-courses strong{font-size:14px}.ef-courses small{font-size:11px}.ef-course-mark{display:none}.ef-learning-shell{display:block;border-radius:17px}.ef-sidebar{display:none}.ef-mobile-levels{display:block;margin-bottom:16px;border:.5px solid #505050;border-radius:10px;background:#222e;color:#bbb;font-size:12px}.ef-mobile-levels summary{min-height:48px;padding:12px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none}.ef-mobile-levels summary::-webkit-details-marker{display:none}.ef-mobile-levels summary b{font-weight:400;color:var(--ef-accent);margin-right:6px}.ef-mobile-levels summary>span:last-child{font-size:11px;color:#aaa}.ef-mobile-levels ol{margin:0;padding:0 16px 14px;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ef-mobile-levels li{font-size:11px;color:#aaa}.ef-mobile-levels [aria-current]{color:#eee}.ef-mobile-levels small{display:block;color:var(--ef-accent);font-size:10px}.ef-workspace{padding:24px 22px 22px}.ef-lesson-heading h2{font-size:32px}.ef-letter-art{height:249px}.ef-letter-scene{grid-template-columns:minmax(0,1.2fr) minmax(135px,1fr)}.ef-letter-detail h3{font-size:22px}.ef-picker-name{display:none}.ef-study-action{gap:14px}.ef-study-action p{font-size:12px}.ef-primary,.ef-secondary{font-size:13px!important;padding:12px 15px;gap:12px}.ef-progress{font-size:12px}.ef-stage-meta>span:last-child{font-size:9px;letter-spacing:.7px}.ef-quiz{min-height:430px}.ef-finished{min-height:430px}}
@media(max-width:530px){.ef-topline{gap:8px}.ef-local{font-size:9px;padding:3px 6px}.ef-breadcrumb{gap:8px;font-size:13px}.ef-intro h1{font-size:42px}.ef-intro-copy{max-width:none;font-size:13px}.ef-courses>button{flex-direction:column;align-items:flex-start;padding:10px 13px;gap:2px;min-height:109px}.ef-course-glyph{font-size:36px;height:39px;flex-basis:auto}.ef-he{font-size:28px}.ef-gr{font-size:30px}.ef-courses strong{font-size:13px}.ef-courses small{margin-top:0}.ef-workspace{padding:22px 18px 19px}.ef-lesson-heading{margin-bottom:18px}.ef-lesson-heading h2{font-size:30px}.ef-lesson-heading .ef-eyebrow{font-size:10px;letter-spacing:1px}.ef-position strong{font-size:24px}.ef-position{font-size:10px}.ef-stage{padding:13px 14px 15px}.ef-stage-meta{font-size:10px}.ef-stage-meta>span:last-child{font-size:8px;letter-spacing:.3px;gap:5px}.ef-letter-scene{display:block}.ef-letter-art{height:245px}.ef-letter-detail{display:grid;grid-template-columns:1fr auto;gap:5px 12px;align-items:center;padding:14px 0 6px}.ef-detail-number{display:none}.ef-letter-detail h3{margin:0;font-size:21px;line-height:1.3;letter-spacing:-.4px}.ef-letter-detail h3 br{display:none}.ef-letter-detail>p{grid-column:1;max-width:none;font-size:12px;line-height:1.6}.ef-discover{grid-column:2;grid-row:1/3;flex-direction:column;gap:2px;margin:0;font-size:11px!important;min-width:54px}.ef-discover>span:last-child{display:none}.ef-letter-picker{margin-top:12px;gap:8px}.ef-letter-picker>button{min-height:56px;padding:3px 6px;gap:6px}.ef-picker-glyph{font-size:36px}.ef-picker-complete{position:absolute;bottom:5px}.ef-letter-picker>button{position:relative}.ef-study-action{padding:20px 0;align-items:center}.ef-study-action p{max-width:165px;font-size:12px}.ef-study-action .ef-eyebrow{font-size:10px}.ef-primary,.ef-secondary{font-size:12px!important;padding:11px 13px;gap:10px}.ef-answers{gap:8px}.ef-answers>button{font-size:77px;min-height:132px}.ef-workspace[data-script=he] .ef-answers>button{font-size:52px}.ef-workspace[data-script=gr] .ef-answers>button{font-size:55px}.ef-quiz h3{font-size:29px;margin-top:24px}.ef-quiz-top{gap:6px}.ef-quiz-top .ef-eyebrow{font-size:10px;letter-spacing:.8px}.ef-plain{font-size:11px!important}.ef-finished h3{font-size:27px}.ef-finished-letters{font-size:54px;letter-spacing:10px}.ef-focus-note{font-size:11px}.ef-phase-note{font-size:11px}.ef-intro .ef-eyebrow{font-size:10px}}
@media(max-width:360px){html body.site-page.elifba-page>main{padding-inline:12px}.ef-workspace{padding-inline:14px}.ef-stage{padding-inline:11px}.ef-courses>button{padding-inline:11px}.ef-letter-art{height:232px}.ef-study-action p{max-width:132px}.ef-primary,.ef-secondary{padding-inline:11px;gap:7px}.ef-stage-meta>span:last-child{font-size:8px}.ef-stage-meta{gap:4px}.ef-local{max-width:110px;text-align:right}.ef-lesson-heading h2{font-size:28px}}
.ef-stage-meta>span:last-child{font-size:11px;letter-spacing:.4px}
@media(max-width:760px){.ef-local,.ef-eyebrow,.ef-lesson-heading .ef-eyebrow,.ef-quiz-top .ef-eyebrow,.ef-intro .ef-eyebrow,.ef-study-action .ef-eyebrow,.ef-mobile-levels small{font-size:11px}.ef-stage-meta>span:last-child{font-size:11px;letter-spacing:0;gap:4px}.ef-stage-meta{font-size:11px;gap:7px}}
@media(prefers-reduced-motion:reduce){.elifba-page *,.elifba-page *::before,.elifba-page *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Course-specific entries share these lesson controls and progression views. */
.ef-course-context{display:flex;align-items:center;gap:15px;min-height:82px;padding:13px 21px;margin-bottom:22px;border:.5px solid #555;border-radius:13px;background:linear-gradient(120deg,#30271d,#222)}
.ef-course-context-glyph{display:grid;place-items:center;width:48px;height:48px;color:var(--ef-accent);font-size:46px;line-height:1.2}.ef-course-context-glyph.ef-he{font-size:35px}.ef-course-context-glyph.ef-gr{font-size:39px}
.ef-course-context>div>strong{display:block;font-size:16px;font-weight:400}.ef-course-context>div>span{display:block;font-size:12px;color:#aaa;margin-top:2px}.ef-course-context>a{margin-left:auto;min-height:44px;display:flex;align-items:center;gap:9px;color:var(--ef-blue);text-decoration:none;font-size:13px}
.ef-unit-toolbar{display:flex;align-items:flex-end;gap:14px;padding-bottom:22px}.ef-unit-toolbar>label{flex:1;display:block;min-width:0;font-size:11px;letter-spacing:1.4px;color:#aaa}.ef-unit-toolbar select{display:block;width:100%;min-width:0;margin-top:6px;padding:10px 31px 10px 11px;min-height:44px;border:.5px solid #626262;border-radius:8px;background:#202020;color:#ddd;font:400 13px 'Segoe UI',Arial,sans-serif;letter-spacing:0}
.ef-unit-arrows{display:flex;gap:6px}.ef-unit-arrows button{width:44px;height:44px;display:grid;place-items:center;border:.5px solid #626262;border-radius:8px;background:#242424;color:#ccc;font-size:25px}.ef-unit-arrows button:disabled{opacity:.3}
.ef-unit-description{margin:-9px 0 23px;color:#b4b4b4;font-size:13px;line-height:1.8;max-width:680px}.ef-lesson-heading h2{max-width:590px;text-wrap:balance}
.ef-levels li{display:block;min-height:0!important}.ef-levels li>button{position:relative;display:flex;align-items:center;gap:11px;min-height:59px;width:100%;padding:4px 0;border:0;background:transparent;color:#aaa;text-align:left;font-size:12px}
.ef-levels button>b{display:grid;place-items:center;flex:0 0 33px;height:33px;font-weight:400;font-size:11px;border:.5px solid #505050;border-radius:50%;background:#252525;color:#aaa}.ef-levels [aria-current]>button{color:#eee}.ef-levels li[aria-current]>button>b{color:#151515;background:var(--ef-accent);border-color:transparent;box-shadow:0 0 0 4px #f8941c13}.ef-levels small{font-size:10px;color:#888;letter-spacing:0;margin-top:3px}.ef-levels button:disabled{opacity:.45}.ef-levels li[aria-current] small{color:var(--ef-accent)}
.ef-glyph-layer{font-size:calc(var(--ef-glyph-size)*var(--ef-item-scale,1))}
.ef-letter-picker{grid-template-columns:repeat(var(--ef-options,3),minmax(0,1fr))}.ef-letter-picker>button{flex-direction:column;gap:2px;padding:8px 5px}.ef-picker-name{max-width:100%;text-align:center;font-size:11px;line-height:1.4;overflow-wrap:anywhere}.ef-picker-glyph.ef-small-form{font-size:28px}
.ef-answers{grid-template-columns:repeat(var(--ef-options,3),minmax(0,1fr))}.ef-answers>button{font-size:calc(105px*var(--ef-answer-scale,1))}.ef-workspace[data-script=he] .ef-answers>button{font-size:calc(73px*var(--ef-answer-scale,1))}.ef-workspace[data-script=gr] .ef-answers>button{font-size:calc(77px*var(--ef-answer-scale,1))}
.ef-variants{display:grid;grid-template-columns:repeat(var(--ef-variants,2),minmax(0,1fr));gap:12px;margin:13px 0;padding:16px 0 10px;border-top:.5px solid #48423b}.ef-variants>div{display:flex;flex-direction:column;gap:5px;text-align:center;min-width:0}.ef-variants dt{font-size:11px;line-height:1.6;color:#b6b6b6}.ef-variants dd{font:400 48px/1.8 var(--ef-font);margin:0;color:#ddd;white-space:nowrap}.ef-workspace[data-script=he] .ef-variants dd{font-size:37px}.ef-workspace[data-script=gr] .ef-variants dd{font-size:40px}
.ef-focus-note{max-height:none;display:none;overflow:visible}.ef-stage.is-exploring .ef-focus-note{display:block;max-height:none;margin:8px 0 14px;opacity:1;overflow:visible}
.ef-finished-letters{display:flex;justify-content:center;align-items:center;white-space:pre-wrap;overflow-wrap:anywhere;letter-spacing:8px}.ef-finished-letters.ef-finished-compact{font-size:40px!important;letter-spacing:5px}.ef-finished-actions .ef-primary{white-space:normal;max-width:100%;text-align:center}
.ef-level-progress{font-size:11px;color:#999;line-height:1.7;margin:13px 0 0}.ef-mobile-levels li>button{display:flex;align-items:center;gap:9px;min-height:54px;width:100%;padding:4px 0;color:#bbb;background:transparent;border:0;text-align:left;font-size:12px}.ef-mobile-levels button>b{font-weight:400;color:#aaa;font-size:11px}.ef-mobile-levels small{display:block;color:#999;font-size:11px;margin-top:2px}.ef-mobile-levels button:disabled{opacity:.45}.ef-mobile-levels li[aria-current] button>b,.ef-mobile-levels li[aria-current] small{color:var(--ef-accent)}
.ef-glyph-label{max-width:100%;flex-wrap:wrap;justify-content:center;gap:3px 10px;text-align:center}
.ef-play-actions{display:flex;gap:9px;flex-wrap:wrap}.ef-play-actions>button{font-size:13px!important;gap:10px}
.ef-progress-stars{display:flex;gap:5px;margin-left:1px;align-items:center}.ef-progress-stars>span{font-size:18px;line-height:1;color:#626262;transition:color .25s,transform .25s}.ef-progress-stars>span.is-earned{color:var(--ef-accent);transform:scale(1.05)}
.ef-matching{padding:12px 0 24px;min-height:450px}.ef-matching h3{font:400 31px/1.25 Georgia,serif;margin:26px 0 9px;text-wrap:balance}.ef-match-instruction{font-size:15px;line-height:1.7;color:#bbb;margin:0 0 22px}.ef-match-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.ef-match-glyphs,.ef-match-names{display:grid;gap:10px;grid-auto-rows:minmax(77px,auto)}
.ef-match-columns button{display:grid;place-items:center;padding:8px 10px;min-height:77px;border:.5px solid #676767;border-radius:12px;background:#1e1e1e;color:#ddd;transition:background .2s,border-color .2s,color .2s;overflow-wrap:anywhere;text-align:center}.ef-match-glyphs button{font:400 calc(49px*var(--ef-answer-scale,1))/1.2 var(--ef-font)}.ef-workspace[data-script=he] .ef-match-glyphs button{font-size:calc(38px*var(--ef-answer-scale,1))}.ef-workspace[data-script=gr] .ef-match-glyphs button{font-size:calc(41px*var(--ef-answer-scale,1))}.ef-match-names button{font-size:17px;line-height:1.4}.ef-match-columns button[aria-pressed=true]{border-color:var(--ef-blue);background:#263138;color:#d5edff}.ef-match-columns button.is-paired{color:#ffbb68;border-color:#9e6b2e;background:#332a20;animation:ef-pair-found .38s ease}.ef-match-columns button:disabled{opacity:.7}
@keyframes ef-pair-found{0%{transform:scale(1)}50%{transform:scale(1.025)}100%{transform:scale(1)}}
.ef-match-columns button{position:relative}.ef-match-columns button.is-paired::after{content:attr(data-pair);position:absolute;top:7px;right:8px;font:400 11px/18px 'Segoe UI',Arial,sans-serif;min-width:18px;height:18px;border-radius:50%;background:#f8941c;color:#191919}
@media(max-width:1000px){.ef-study-action{align-items:flex-start;flex-direction:column;gap:15px}.ef-play-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.ef-play-actions>button{width:100%;min-width:0}.ef-study-action p{max-width:none}}
@media(max-width:530px){.ef-play-actions>button{font-size:13px!important;gap:8px;min-height:48px}.ef-study-action p{font-size:14px}.ef-progress{gap:9px;flex-wrap:wrap}.ef-progress-track{flex-basis:48px}.ef-progress-stars{margin-left:auto;gap:3px}.ef-progress-stars>span{font-size:17px}.ef-matching h3{font-size:27px}.ef-match-columns{gap:11px}.ef-match-columns button{padding-inline:7px;min-height:76px}.ef-match-names button{font-size:15px}.ef-quiz-instruction,.ef-match-instruction{font-size:15px}.ef-letter-detail>p{font-size:14px;line-height:1.65}.ef-letter-picker>button{min-height:79px}.ef-unit-description{font-size:13px}.ef-focus-note{font-size:13px}.ef-stage.is-exploring .ef-focus-note{margin-top:12px}.ef-feedback{font-size:15px}}
@media(prefers-reduced-motion:reduce){.ef-match-columns button.is-paired{animation:none}}
@media(max-width:760px){.ef-course-context{padding:12px 16px;min-height:76px}.ef-course-context>a{font-size:12px}.ef-unit-toolbar{gap:10px;padding-bottom:20px}.ef-unit-toolbar select{font-size:12px}.ef-unit-description{font-size:12px}.ef-mobile-levels ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 14px}.ef-level-progress{font-size:11px}.ef-picker-name{display:block!important}}
@media(max-width:530px){.ef-course-context{gap:11px;padding:10px 13px;margin-bottom:15px}.ef-course-context-glyph{font-size:40px;width:35px;flex:none}.ef-course-context>div>strong{font-size:14px}.ef-course-context>div>span{font-size:11px}.ef-course-context>a{font-size:11px;gap:3px;max-width:85px;line-height:1.5}.ef-intro h1{font-size:36px;letter-spacing:-1px}.ef-intro-copy{font-size:13px}.ef-unit-arrows{gap:4px}.ef-unit-arrows button{width:38px;min-width:38px;height:44px}.ef-unit-toolbar{gap:8px}.ef-unit-toolbar select{padding-left:8px;font-size:12px}.ef-unit-description{margin:-7px 0 19px}.ef-letter-picker{gap:7px}.ef-letter-picker>button{min-height:74px;justify-content:flex-start;gap:4px;padding:7px 4px 12px}.ef-picker-name{font-size:11px}.ef-picker-glyph.ef-small-form{font-size:24px}.ef-variants{gap:9px;padding-top:13px}.ef-variants dt{font-size:11px}.ef-variants dd{font-size:39px}.ef-workspace[data-script=he] .ef-variants dd{font-size:30px}.ef-workspace[data-script=gr] .ef-variants dd{font-size:33px}.ef-answers>button{font-size:calc(77px*var(--ef-answer-scale,1))}.ef-workspace[data-script=he] .ef-answers>button{font-size:calc(52px*var(--ef-answer-scale,1))}.ef-workspace[data-script=gr] .ef-answers>button{font-size:calc(55px*var(--ef-answer-scale,1))}.ef-finished-letters{font-size:44px;letter-spacing:5px}.ef-finished-letters.ef-finished-compact{font-size:32px!important}.ef-finished h3{font-size:26px}.ef-mobile-levels summary>span:first-child{font-size:12px}.ef-mobile-levels summary>span:last-child{font-size:11px}}

/* Words wrap at their spaces; script letters stay joined and marks stay attached. */
.ef-passage{padding:14px 18px;margin:0 0 22px;border:.5px solid #52585d;border-radius:10px;background:#202a3055}
.ef-passage summary{cursor:pointer;color:var(--ef-blue);font-size:13px;min-height:30px}
.ef-passage p{font:400 30px/2 var(--ef-font);color:#ddd;margin:15px 0 5px;white-space:pre-wrap;word-break:normal;overflow-wrap:normal}
.ef-workspace[data-reading=true] .ef-letter-scene{display:block}
.ef-workspace[data-reading=true] .ef-letter-art{height:auto;min-height:206px;gap:12px;padding:22px 6px 10px}
.ef-workspace[data-reading=true] .ef-orbit,.ef-workspace[data-reading=true] .ef-baseline{display:none}
.ef-workspace[data-reading=true] .ef-glyph-layer{height:auto;min-height:104px;transform:none;padding:12px 0;font-size:52px;line-height:1.9}
.ef-workspace[data-reading=true][data-script=he] .ef-glyph-layer{font-size:39px;line-height:2}
.ef-workspace[data-reading=true][data-script=gr] .ef-glyph-layer{font-size:40px;line-height:1.8}
.ef-workspace[data-reading=true] .ef-glyph{white-space:pre-wrap;word-break:normal;overflow-wrap:normal;max-width:100%;text-align:center;min-width:0}
.ef-workspace[data-reading=true] .ef-glyph-label{position:static;letter-spacing:0;line-height:1.5}
.ef-workspace[data-reading=true] .ef-glyph-label strong{font-size:14px}
.ef-workspace[data-reading=true] .ef-letter-detail{padding:16px 4px 8px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 18px;align-items:center;border-top:.5px solid #48423b}
.ef-workspace[data-reading=true] .ef-detail-number{display:none}
.ef-workspace[data-reading=true] .ef-letter-detail h3{font-size:23px;margin:0;line-height:1.4}
.ef-workspace[data-reading=true] .ef-letter-detail>p{font-size:14px;max-width:none;grid-column:1;margin:0}
.ef-workspace[data-reading=true] .ef-discover{grid-column:2;grid-row:1/3;margin:0}
.ef-workspace[data-reading=true] .ef-letter-picker{grid-template-columns:1fr;gap:9px}
.ef-workspace[data-reading=true] .ef-letter-picker>button{min-height:83px;padding:10px 16px;gap:6px;justify-content:center}
.ef-workspace[data-reading=true] .ef-picker-glyph,.ef-workspace[data-reading=true] .ef-picker-glyph.ef-small-form{font:400 31px/1.9 var(--ef-font);white-space:pre-wrap;word-break:normal;overflow-wrap:normal;max-width:100%}
.ef-workspace[data-reading=true] .ef-picker-name{font-size:12px}
.ef-workspace[data-reading=true] .ef-picker-complete{position:absolute;right:9px;bottom:auto}
.ef-workspace[data-reading=true] .ef-answers{grid-template-columns:1fr}
.ef-workspace[data-reading=true] .ef-answers>button{font-size:32px;min-height:90px;line-height:1.9;padding:12px;white-space:pre-wrap;word-break:normal;overflow-wrap:normal}
.ef-workspace[data-reading=true] .ef-match-glyphs button{font-size:25px;line-height:1.9;word-break:normal;overflow-wrap:normal}
.ef-workspace[data-reading=true] .ef-match-names button{font-size:14px}
.ef-workspace[data-reading=true] .ef-variants{grid-template-columns:1fr}
.ef-workspace[data-reading=true] .ef-variants dd{font-size:30px;white-space:pre-wrap;word-break:normal;overflow-wrap:normal}
.ef-finished-letters{gap:15px;flex-wrap:wrap}
.ef-workspace[data-reading=true] .ef-finished-letters{display:grid;gap:14px;letter-spacing:0;font-size:31px!important;line-height:2}
.ef-reading-action{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px 0}
.ef-reading-action>p{font-size:14px;color:#bbb;line-height:1.7;max-width:280px;margin:0}
.ef-reading-action>button{flex:none;white-space:normal;text-align:center}
.ef-audio{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;padding:12px 0 9px;border-top:.5px solid #48423b;margin-top:10px}
.ef-audio-play{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:10px 17px;border:.5px solid #788b99;border-radius:50px;background:#26333d;color:#d6edff;font-size:14px!important}
.ef-audio-play[aria-pressed=true]{background:#354655;border-color:#8bc2ee}
.ef-audio-play>span[aria-hidden]{font-size:12px}
.ef-audio>span,.ef-quiz-audio>span{font-size:12px;color:#b8c6d0;line-height:1.5}
.ef-audio-credit{flex-basis:100%;color:#a3a3a3;font-size:11px;line-height:1.8}
.ef-audio-credit summary{cursor:pointer;min-height:34px;display:inline-flex;align-items:center}
.ef-audio-credit p{margin:4px 0 10px;max-width:520px}.ef-audio-credit a{color:var(--ef-blue)}
.ef-quiz-audio{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:18px 0 24px}
.ef-audio-buttons{display:flex;flex-wrap:wrap;gap:10px;flex-basis:100%}.ef-audio-buttons .ef-audio-play{display:flex;flex-wrap:wrap;gap:5px 9px;max-width:100%;border-radius:14px;min-height:48px;text-align:left}.ef-audio-play>small{flex-basis:100%;font-size:11px;font-weight:400;color:#abc2d3;line-height:1.5;max-width:350px}.ef-audio-credit p{overflow-wrap:anywhere}.ef-audio-buttons .ef-audio-play[aria-pressed=true]>span[aria-hidden]{font-size:0}.ef-audio-buttons .ef-audio-play[aria-pressed=true]>span[aria-hidden]::after{content:'Ⅱ';font-size:15px}
.ef-answers>button:disabled:not(.is-correct){opacity:.48;cursor:default}
@media(max-width:760px){.ef-reading-action{flex-direction:column;align-items:stretch;gap:15px}.ef-reading-action>p{max-width:none}.ef-reading-action>button{min-height:49px}.ef-workspace[data-reading=true] .ef-glyph-layer{font-size:44px}.ef-workspace[data-reading=true][data-script=he] .ef-glyph-layer{font-size:33px}.ef-workspace[data-reading=true][data-script=gr] .ef-glyph-layer{font-size:32px}.ef-passage p{font-size:26px}.ef-workspace[data-reading=true] .ef-letter-detail h3{font-size:20px}}
@media(max-width:360px){.ef-workspace[data-reading=true][data-script=gr] .ef-glyph-layer{font-size:28px}.ef-workspace[data-reading=true] .ef-picker-glyph,.ef-workspace[data-reading=true] .ef-picker-glyph.ef-small-form{font-size:26px}.ef-workspace[data-reading=true] .ef-answers>button{font-size:27px}.ef-workspace[data-reading=true] .ef-match-glyphs button{font-size:19px}.ef-passage p{font-size:23px}.ef-workspace[data-reading=true] .ef-match-columns{gap:8px}.ef-workspace[data-reading=true] .ef-match-names button{font-size:12px}.ef-workspace[data-reading=true] .ef-finished-letters{font-size:26px!important}}

/* Keep navigation compact and put the lesson controls first. */
.ef-intro{padding:6px 0 20px}.ef-intro h1{margin:0}
.ef-course-context{margin-bottom:18px}
.ef-study-action{justify-content:flex-end;padding:18px 0}
.ef-study-action .ef-play-actions{margin-left:auto}
.ef-progress-stars{margin-left:auto}
@media(max-width:760px){.ef-intro{padding:8px 0 18px}.ef-course-context{margin-bottom:14px}}
/* Shared academy stage: restrained chrome, luminous letter focus. */
.ef-learning-shell{border:1px solid #ffffff18;background:linear-gradient(140deg,#20232aee,#101216f5);box-shadow:0 24px 80px #0005;border-radius:26px}
.ef-sidebar{background:#0b101540;border-color:#ffffff10}.ef-sidebar h2{color:#8bc2ee}.ef-workspace{padding:28px;container-type:inline-size}
.ef-intro h1{font-size:clamp(38px,6vw,64px);letter-spacing:-2px}.ef-course-context{background:linear-gradient(110deg,#f8941c12,#8bc2ee08);border-color:#ffffff18;border-radius:18px;min-height:70px}
.ef-stage{border:1px solid #f8941c28;border-radius:22px;background:radial-gradient(ellipse at 28% 25%,#f8941c13,transparent 60%),linear-gradient(130deg,#181c23,#0c1016);padding:22px}
.ef-stage::before{background:radial-gradient(circle at 85% 10%,#8bc2ee12,transparent 45%)}
.ef-letter-art{height:290px;isolation:isolate}.ef-orbit{width:220px;height:220px;border-color:#f8941c33;box-shadow:0 0 55px #f8941c0b,inset 0 0 45px #f8941c08}
.ef-orbit::after{border:1px dashed #8bc2ee24;inset:14px;transform:rotate(-20deg)}
.ef-orbit::before{content:'';position:absolute;width:7px;height:7px;border-radius:50%;background:#f8941c;top:28px;right:28px;box-shadow:0 0 18px #f8941c99}
.ef-glyph{color:#f7e9d4;text-shadow:0 8px 35px #f8941c22}.ef-glyph-focus{color:#ffad47}
.ef-letter-detail{min-width:0}.ef-detail-number{display:none}.ef-letter-detail h3{font-family:inherit;font-size:24px;font-weight:500}.ef-letter-detail>p{color:#b5bcc6}
.ef-glyph-label{bottom:6px}.ef-glyph-label>span{display:none}.ef-glyph-label strong{font-size:22px;letter-spacing:.2px}
.ef-unit-description{display:none}.ef-lesson-heading{margin-bottom:18px}.ef-lesson-heading h2{font-family:inherit;font-size:clamp(23px,3vw,32px);letter-spacing:-.6px}.ef-lesson-heading .ef-eyebrow{display:none}
.ef-letter-picker{gap:10px;margin-top:20px}.ef-letter-picker>button{background:#ffffff04;border-color:#ffffff17;border-radius:14px;min-width:0;min-height:76px;transition:background .2s,border-color .2s,transform .2s}.ef-letter-picker>button[aria-pressed=true]{background:linear-gradient(145deg,#f8941c25,#f8941c08);border-color:#f8941c99;box-shadow:inset 0 1px #ffc77325}
.ef-picker-name{display:block}.ef-picker-glyph{line-height:1.7}.ef-letter-picker>button:hover{transform:translateY(-2px);border-color:#f8941c66}
.ef-audio-buttons{display:flex;flex-wrap:wrap;gap:10px}.ef-audio-play{flex:1;min-width:0;white-space:normal;border-radius:13px!important;min-height:55px;border-color:#8bc2ee44!important;background:#8bc2ee09!important}.ef-audio-play[aria-pressed=true]{border-color:#f8941c!important;background:#f8941c19!important;box-shadow:0 0 20px #f8941c15}.ef-audio-play small{font-size:10px;opacity:.7}.ef-audio-credit{font-size:11px;opacity:.7}
.ef-primary{background:linear-gradient(125deg,#ffb14c,#f8941c);box-shadow:0 7px 22px #f8941c19;border-radius:12px}.ef-secondary{border-color:#ffffff28;border-radius:12px}.ef-progress{border-color:#ffffff12}.ef-position{opacity:.6}
.ef-variants>div,.ef-answers>button,.ef-match-columns button{min-width:0}.ef-variants dd{margin-inline:0;overflow-wrap:anywhere}.ef-answers>button{overflow-wrap:anywhere;white-space:normal}.ef-focus-note{max-height:none!important}.ef-finished-letters{overflow-wrap:anywhere;letter-spacing:4px}
.ef-workspace[data-reading=true] .ef-glyph{overflow-wrap:anywhere}.ef-workspace[data-reading=true] .ef-letter-art{height:auto}.ef-workspace[data-reading=true] .ef-glyph-label strong{font-size:14px}
@media(max-width:760px){.ef-workspace{padding:18px}.ef-stage{padding:16px}.ef-learning-shell{border-radius:21px}.ef-mobile-levels{border-color:#ffffff20;background:#131820d9}.ef-intro{padding-bottom:16px}.ef-unit-toolbar{padding-bottom:16px}.ef-letter-picker>button{min-height:66px}}
@media(max-width:530px){.ef-letter-art{height:250px}.ef-orbit{width:190px;height:190px}.ef-workspace{--ef-glyph-size:180px;padding:14px}.ef-workspace[data-script=he]{--ef-glyph-size:145px}.ef-workspace[data-script=gr]{--ef-glyph-size:150px}.ef-stage{padding:12px}.ef-letter-detail{border-top:1px solid #ffffff0c;padding-top:16px}.ef-letter-detail h3{font-size:19px}.ef-audio-play{flex-basis:100%}.ef-study-action .ef-play-actions{display:flex;flex-wrap:wrap;width:100%}.ef-play-actions>button{flex:1}.ef-letter-picker{gap:7px}.ef-picker-name{font-size:10px}.ef-answers{grid-template-columns:repeat(2,minmax(0,1fr))}.ef-variants{gap:7px}.ef-variants dd{font-size:30px}.ef-course-context{padding:10px 13px;gap:9px}.ef-glyph-layer{max-width:100%;font-size:min(calc(var(--ef-glyph-size)*var(--ef-item-scale,1)),46cqw)}}
@media(prefers-reduced-motion:reduce){.ef-letter-picker>button:hover{transform:none}.ef-stage *{animation:none!important;transition:none!important}}

.ef-skip{position:fixed!important;top:8px!important;left:12px!important;transform:translateY(-200%)!important}.ef-skip:focus{transform:none!important}
@keyframes ef-orbit-arrive{from{transform:rotate(-24deg);opacity:.4}to{transform:rotate(0);opacity:1}}
@media(prefers-reduced-motion:no-preference){.ef-stage.is-exploring .ef-orbit{animation:ef-orbit-arrive .8s cubic-bezier(.2,.7,.2,1) both}}
.ef-skip:not(:focus){clip-path:inset(50%)!important;width:1px!important;height:1px!important;overflow:hidden!important;padding:0!important}
/* Original Harf Atolyesi reveal: letter, light sweep and orbit together. */
.ef-light-sweep{position:absolute;left:8%;right:8%;top:45%;height:2px;background:linear-gradient(90deg,transparent,var(--ef-accent),transparent);opacity:0;pointer-events:none;z-index:4}
@keyframes ef-letter-reveal{0%{opacity:.4;filter:blur(3px);scale:.94}45%{color:var(--ef-accent);filter:blur(0);scale:1.09}100%{opacity:1;filter:blur(0);scale:1}}
@keyframes ef-light-sweep{0%{opacity:0;transform:translateY(-83px)}25%,75%{opacity:.8}100%{opacity:0;transform:translateY(78px)}}
@keyframes ef-orbit-reveal{0%{opacity:.3;scale:.85}55%{border-color:var(--ef-accent);opacity:.75;scale:1.06}100%{opacity:1;scale:1}}
@media(prefers-reduced-motion:no-preference){
.ef-letter-art.is-revealing [data-glyph]{animation:ef-letter-reveal 1.1s ease both}
.ef-letter-art.is-revealing .ef-light-sweep{animation:ef-light-sweep 1.1s ease both}
.ef-letter-art.is-revealing .ef-orbit{animation:ef-orbit-reveal 1.2s ease both}
}
/* Reading lessons keep the header focused on returning home. */
.elifba-page .site-header [role="search"],.elifba-page .site-header form:has(input[type="search"]){display:none!important}
.ef-learning-shell{display:block}.ef-unit-toolbar>label:first-child{flex:.8}.ef-intro h1 .ef-brand-gray{color:#aaa}.ef-intro h1 .ef-brand-orange{color:#f8941c}.ef-intro h1 .ef-brand-white{color:#f5f5f5}.ef-intro h1{font-size:clamp(32px,6vw,60px)}
@media(max-width:530px){.ef-unit-toolbar{flex-wrap:wrap}.ef-unit-toolbar>label:first-child{flex-basis:100%}.ef-unit-toolbar>label{flex:1}.ef-intro h1{font-size:clamp(30px,9vw,42px);letter-spacing:-1px}}
/* Compact lesson masthead after removing the breadcrumb and course box. */
html body.site-page.elifba-page{--shell-header:56px;--shell-nav:0px}
html body.site-page.elifba-page>main{padding-top:0!important}
.elifba-page .ef-intro{padding:0 0 12px;margin:0}
.elifba-page .ef-intro h1{margin:0;line-height:1.12}
/* Playful, accessible lesson choices shared by all three alphabets. */
.ef-friendly-selectors{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px;align-items:start}
.ef-choice-menu{min-width:0;border:1px solid #ffffff20;border-radius:18px;background:linear-gradient(135deg,#222c37,#151a22);overflow:hidden;transition:border-color .25s,box-shadow .25s}
.ef-choice-menu:nth-child(2){background:linear-gradient(135deg,#33281e,#1b1919)}
.ef-choice-menu summary{display:flex;align-items:center;gap:12px;min-height:80px;padding:14px;cursor:pointer;list-style:none}.ef-choice-menu summary::-webkit-details-marker{display:none}
.ef-choice-icon{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:15px;background:#8bc2ee1a;color:#8bc2ee;font-size:27px;transform:rotate(-8deg);transition:transform .35s}
.ef-choice-menu:nth-child(2) .ef-choice-icon{color:#ffb75d;background:#f8941c1c;transform:rotate(8deg)}
.ef-choice-menu summary>span:nth-child(2){min-width:0;flex:1}.ef-choice-menu small{display:block;font-size:10px;letter-spacing:1px;color:#aab4c2}.ef-choice-menu strong{display:block;font-size:14px;font-weight:500;line-height:1.5;overflow-wrap:anywhere;color:#f1f3f7}.ef-choice-chevron{color:#aab4c2;transition:transform .3s}
.ef-choice-menu[open]{border-color:#8bc2ee80;box-shadow:0 8px 24px #0003}.ef-choice-menu[open] .ef-choice-chevron{transform:rotate(180deg)}.ef-choice-menu[open] .ef-choice-icon{transform:rotate(0) scale(1.08)}
.ef-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 12px 12px;max-height:360px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.ef-choice-grid button{min-width:0;display:flex;align-items:center;gap:9px;min-height:64px;padding:10px;border:1px solid #ffffff12;border-radius:13px;background:#ffffff05;color:#d2dae3;text-align:left;font-size:12px;line-height:1.4;transition:transform .18s,background .2s,border-color .2s;overflow-wrap:anywhere}
.ef-choice-grid button:hover{transform:translateY(-2px);background:#ffffff0d}.ef-choice-grid button:active{transform:scale(.96)}.ef-choice-grid button[aria-pressed=true]{color:#fff;background:#f8941c22;border-color:#f8941c88}.ef-choice-grid button:disabled{opacity:.35}.ef-choice-grid small{margin-left:auto;color:#fbb856;letter-spacing:0;font-size:16px}
.ef-choice-badge{flex:0 0 28px;color:#fbb856;font-size:24px;text-align:center}.ef-choice-letter{font-family:var(--ef-font);max-width:36px;overflow:hidden;font-size:26px;white-space:nowrap}
.ef-position{display:flex;align-items:center;gap:6px;opacity:1;flex-wrap:wrap;justify-content:flex-end;min-width:44px}.ef-position i{display:block;width:7px;height:7px;background:#ffffff28;border-radius:50%;transition:background .3s,box-shadow .3s,width .3s}.ef-position i.is-current{width:20px;border-radius:8px;background:#f8941c;box-shadow:0 0 12px #f8941c55}
@keyframes ef-choice-enter{from{opacity:0;transform:translateY(-8px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:no-preference){.ef-choice-menu[open] .ef-choice-grid{animation:ef-choice-enter .32s ease both}.ef-position i.is-current{animation:ef-choice-enter .35s ease both}}
@media(max-width:600px){.ef-friendly-selectors{grid-template-columns:1fr;gap:9px;margin-bottom:18px}.ef-choice-menu summary{min-height:68px;padding:10px 12px}.ef-choice-icon{flex-basis:38px;height:38px;font-size:24px;border-radius:12px}.ef-choice-grid{max-height:290px}.ef-choice-menu strong{font-size:14px}}
/* Reserve real typographic space for Arabic/Hebrew marks; never crop them to the orbit. */
.ef-workspace[data-reading=false] .ef-letter-art{height:310px;padding:18px 12px 42px}
.ef-workspace[data-reading=false] .ef-glyph-layer{height:240px;max-width:100%;transform:none;font-size:calc(150px * var(--ef-item-scale,1));line-height:1.8}
.ef-workspace[data-reading=false][data-script=ar] .ef-glyph-layer{transform:none;font-size:calc(142px * var(--ef-item-scale,1))}
.ef-workspace[data-reading=false] .ef-glyph{line-height:1.8;max-width:100%}
.ef-workspace[data-reading=false] .ef-glyph-label{bottom:4px;max-width:100%;text-align:center;padding:0 6px;line-height:1.5}
.ef-letter-detail>p{max-width:38ch;font-size:14px;line-height:1.8}
.ef-stage{container-type:inline-size}
.ef-sound-lesson{padding:22px 0 8px;border-top:1px solid #ffffff16;margin-top:12px}
.ef-sound-lesson[hidden]{display:none}
.ef-sound-flow{display:grid;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr) 22px minmax(0,1fr);gap:10px;align-items:center;max-width:700px;margin:auto}
.ef-sound-step{min-width:0;display:flex;flex-direction:column;align-items:center;padding:12px 6px;border:1px solid #8bc2ee26;border-radius:18px;background:linear-gradient(145deg,#8bc2ee0b,#ffffff02)}
.ef-sound-step:last-child{background:linear-gradient(145deg,#f8941c1f,#f8941c05);border-color:#f8941c66;box-shadow:0 0 24px #f8941c0b}
.ef-sound-step small{font-size:12px;color:#bfc8d5}.ef-sound-step strong{font-size:22px;color:#f8d1a0;font-weight:500}
.ef-sound-form{font:400 58px/2.1 'Amiri',serif;color:#f4e4d1;display:block;min-height:122px}
.ef-sound-step:nth-child(3) .ef-sound-form{color:#ffad47}
.ef-sound-join{font-size:24px;color:#91bddb;text-align:center}
.ef-sound-footer{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:16px;flex-wrap:wrap}
.ef-sound-footer p{margin:0;font-size:17px;color:#d4dce6;line-height:2}.ef-sound-footer button{font-size:12px!important;min-height:44px}
.is-building .ef-sound-step{animation:ef-sound-build .7s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--step)*.32s)}
.is-building .ef-sound-step:last-child{animation:ef-sound-result .9s ease both;animation-delay:.65s}
.is-building .ef-sound-join{animation:ef-sound-build .5s .3s both}
@keyframes ef-sound-build{from{opacity:0;transform:translateY(14px) scale(.94)}to{opacity:1;transform:none}}
@keyframes ef-sound-result{0%{opacity:0;transform:scale(.9)}65%{opacity:1;transform:scale(1.04);box-shadow:0 0 35px #f8941c30}100%{opacity:1;transform:none}}
@media(max-width:530px){
 .ef-workspace[data-reading=false] .ef-letter-art{height:275px;padding:12px 8px 42px}
 .ef-workspace[data-reading=false] .ef-glyph-layer,.ef-workspace[data-reading=false][data-script=ar] .ef-glyph-layer{height:205px;font-size:calc(120px * var(--ef-item-scale,1));transform:none}
 .ef-letter-detail{display:block}.ef-letter-detail>p{margin-top:8px}.ef-discover{display:inline-flex;flex-direction:row;margin-top:8px}
 .ef-sound-flow{gap:4px;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr) 14px minmax(0,1fr)}
 .ef-sound-step{padding:8px 3px;border-radius:12px}.ef-sound-step small{font-size:10px}.ef-sound-step strong{font-size:16px}.ef-sound-form{font-size:43px;min-height:94px}.ef-sound-join{font-size:17px}.ef-sound-footer p{font-size:15px}
}
@media(prefers-reduced-motion:reduce){.is-building .ef-sound-step,.is-building .ef-sound-join{animation:none!important}}
/* One live letter stage, with ten compact letter choices on the right. */
.ef-stage.has-vowel-lab{padding-right:90px;min-height:560px}
.ef-vowel-letters{position:absolute;right:14px;top:20px;bottom:20px;width:54px;display:flex;flex-direction:column;gap:6px;overflow-y:auto;scrollbar-width:thin;padding:3px}
.ef-vowel-letters[hidden]{display:none}
.ef-vowel-letters button{flex:0 0 44px;min-height:44px;width:46px;display:grid;place-items:center;background:#ffffff05;border:1px solid #ffffff16;border-radius:12px;color:#bac3cf;transition:background .2s,border-color .2s,transform .2s}
.ef-vowel-letters button span{font:400 27px/1.45 'Amiri',serif}
.ef-vowel-letters button:hover{background:#8bc2ee18;border-color:#8bc2ee66;transform:translateX(-2px)}
.ef-vowel-letters button[aria-pressed=true]{background:#f8941c22;border-color:#f8941c;color:#ffd5a0;box-shadow:0 0 15px #f8941c13}
.has-vowel-lab .ef-sound-lesson{display:flex;justify-content:center;align-items:center;gap:14px;border:0;margin:0;padding:12px 0 18px}
.ef-reading-result{color:#ffc078;font-size:30px;font-weight:500;letter-spacing:1px;animation:ef-sound-build .5s .4s both}
.ef-vowel-replay{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1px solid #f8941c44;background:#f8941c0a;color:#e6be89;font-size:24px!important}
.has-vowel-lab .ef-letter-picker{margin-top:8px}.has-vowel-lab .ef-letter-picker>button{flex-direction:column;gap:0}
.has-vowel-lab .ef-letter-detail>p{max-width:30ch}
@media(max-width:600px){
 .ef-stage.has-vowel-lab{padding-right:66px;min-height:570px}
 .ef-vowel-letters{right:7px;top:14px;bottom:14px;width:48px;padding:2px;gap:7px}
 .ef-vowel-letters button{width:42px;flex-basis:44px}
 .has-vowel-lab .ef-letter-scene{display:block}
 .ef-workspace[data-reading=false] .has-vowel-lab .ef-letter-art{height:240px;padding:10px 0 35px}
 .ef-workspace[data-reading=false][data-script=ar] .has-vowel-lab .ef-glyph-layer{height:190px;font-size:100px}
 .has-vowel-lab .ef-orbit{width:150px;height:150px}
 .has-vowel-lab .ef-glyph-label strong{font-size:17px}
 .has-vowel-lab .ef-letter-detail h3{font-size:19px}
 .has-vowel-lab .ef-letter-picker{gap:4px}
 .has-vowel-lab .ef-picker-name{font-size:10px;line-height:1.4}
 .has-vowel-lab .ef-picker-glyph{font-size:28px}
 .ef-reading-result{font-size:25px}
}
@media(prefers-reduced-motion:reduce){.ef-reading-result{animation:none}}
/* Compact vowel workshop: controls, a centered ink box, and one pronunciation control. */
.ef-lesson-heading[hidden]{display:none}
.is-vowel-lab .ef-friendly-selectors{margin-bottom:12px;gap:10px}
.is-vowel-lab .ef-choice-menu summary{min-height:58px;padding:9px 13px}
.is-vowel-lab .ef-choice-icon{height:34px;flex-basis:34px;font-size:23px;border-radius:11px}
.is-vowel-lab .ef-workspace{padding:18px 22px 14px}
.is-vowel-lab .ef-stage.has-vowel-lab{min-height:420px;padding:14px 77px 14px 16px}
.is-vowel-lab .ef-vowel-letters{top:12px;bottom:12px;right:12px;width:44px;gap:3px;padding:0}
.is-vowel-lab .ef-vowel-letters button{width:40px;min-height:36px;flex-basis:36px;border-radius:10px}
.is-vowel-lab .ef-vowel-letters button span{font-size:24px}
.is-vowel-lab .ef-letter-detail h3{font-size:23px}
.is-vowel-lab .ef-letter-detail>p{line-height:1.65;font-size:13px}
.is-vowel-lab .ef-discover{min-height:36px;margin-top:6px}
.is-vowel-lab .ef-study-action{padding:10px 0}
.is-vowel-lab .ef-primary,.is-vowel-lab .ef-secondary{min-height:42px;padding:8px 14px}
.is-vowel-lab .ef-progress{padding-top:8px}
.is-vowel-lab .ef-letter-picker>button{min-height:62px;padding:2px 5px}
.is-vowel-lab .ef-picker-glyph{font-size:30px;line-height:1.65}
.has-vowel-lab .ef-sound-lesson{padding:2px 0 8px;gap:10px;flex-wrap:wrap}
.ef-vowel-listen{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:7px 14px;border-radius:22px;background:#f8941c18;border:1px solid #f8941c66;color:#ffd39b;font-size:14px!important;transition:background .2s,box-shadow .2s}
.ef-vowel-listen[aria-pressed=true]{background:#f8941c32;box-shadow:0 0 24px #f8941c22}
[data-vowel-audio-status]{flex-basis:100%;min-height:0;color:#a9c8df;font-size:11px;text-align:center}
[data-vowel-audio-status]:empty{display:none}
.has-vowel-lab .ef-vowel-replay{height:36px;width:36px;font-size:21px!important}
.ef-stage.is-sounding .ef-orbit{border-color:#f7b758;box-shadow:0 0 35px #f8941c24}
.ef-stage.is-sounding .ef-reading-result{color:#ffe4b3}
/* Center the complete visible glyph (including marks) with measured font ink bounds. */
.ef-workspace[data-reading=false] .ef-letter-art{--ef-orbit-size:220px;height:260px;padding:0!important}
.ef-workspace[data-reading=false] .ef-orbit{top:0;left:calc(50% - var(--ef-orbit-size)/2);width:var(--ef-orbit-size);height:var(--ef-orbit-size)}
.ef-workspace[data-reading=false] .ef-glyph-layer,.ef-workspace[data-reading=false][data-script=ar] .ef-glyph-layer{position:absolute;top:0;left:0;width:100%;height:var(--ef-orbit-size);display:block;transform:none!important;line-height:1}
.ef-workspace[data-reading=false] .ef-glyph{position:absolute;left:50%;top:50%;font-size:var(--ef-fit-font,120px);line-height:1;transform:translate(calc(-50% + var(--ef-ink-x,0px)),calc(-50% + var(--ef-ink-y,0px)))}
.ef-workspace[data-reading=false] .ef-glyph-label{bottom:0;left:0;right:0;justify-content:center;line-height:1.5}
.ef-workspace[data-reading=false] .ef-baseline{display:none}
@keyframes ef-letter-reveal{0%{opacity:0;filter:blur(8px);scale:.94}60%{opacity:1;filter:blur(0);scale:1.04}100%{opacity:1;filter:blur(0);scale:1}}
@media(max-width:600px){
 .is-vowel-lab .ef-workspace{padding:10px}
 .is-vowel-lab .ef-friendly-selectors{grid-template-columns:1fr 1fr;gap:6px;margin-bottom:8px}
 .is-vowel-lab .ef-choice-menu{border-radius:12px}
 .is-vowel-lab .ef-choice-menu summary{min-height:54px;padding:6px 8px;gap:6px}
 .is-vowel-lab .ef-choice-menu strong{font-size:11px;line-height:1.4}
 .is-vowel-lab .ef-choice-menu small{font-size:8px;letter-spacing:.3px}
 .is-vowel-lab .ef-choice-icon{display:none}
 .is-vowel-lab .ef-choice-grid{grid-template-columns:1fr;padding:5px}
 .is-vowel-lab .ef-stage.has-vowel-lab{min-height:420px;padding:10px 60px 10px 10px}
 .is-vowel-lab .ef-vowel-letters{right:8px;top:10px;bottom:10px;width:36px;gap:3px}
 .is-vowel-lab .ef-vowel-letters button{width:36px}
 .ef-workspace[data-reading=false] .ef-letter-art{--ef-orbit-size:174px;height:204px}
 .ef-workspace[data-reading=false] .ef-glyph-layer,.ef-workspace[data-reading=false][data-script=ar] .ef-glyph-layer{height:var(--ef-orbit-size);font-size:112px}
 .is-vowel-lab .ef-letter-detail{padding:6px 0 0;border:0}
 .is-vowel-lab .ef-letter-detail h3{font-size:17px}
 .is-vowel-lab .ef-letter-detail>p{font-size:12px;line-height:1.5;margin-top:4px}
 .is-vowel-lab .ef-discover{margin:2px 0 0;font-size:11px!important}
 .is-vowel-lab .ef-reading-result{font-size:22px}
 .is-vowel-lab .ef-sound-lesson{gap:7px;padding-bottom:5px}
 .is-vowel-lab .ef-letter-picker{gap:4px}
 .is-vowel-lab .ef-letter-picker>button{min-height:58px}
 .is-vowel-lab .ef-picker-name{font-size:9px}
 .is-vowel-lab .ef-picker-glyph{font-size:25px}
 .is-vowel-lab .ef-study-action{padding:8px 0}
 .is-vowel-lab .ef-progress{font-size:11px;gap:7px}
}
/* Keep the reading visible throughout the entrance motion. */
.is-vowel-lab .ef-reading-result{opacity:1;animation:ef-reading-pulse .55s ease both}
@keyframes ef-reading-pulse{from{scale:.94;color:#f5b46a}to{scale:1;color:#ffc078}}
.ef-workspace[data-reading=false] .has-vowel-lab .ef-letter-art{height:calc(var(--ef-orbit-size) + 32px)!important}
.ef-workspace[data-reading=false] .has-vowel-lab .ef-glyph-layer{height:var(--ef-orbit-size)!important}
@media(prefers-reduced-motion:reduce){.is-vowel-lab .ef-reading-result{animation:none}}
.ef-intro{display:flex;align-items:center;gap:16px}
.ef-intro h1{min-width:0}
.ef-back{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;gap:5px;min-height:40px;padding:4px 10px;color:#c8d0da;background:#ffffff06;border:1px solid #ffffff1c;border-radius:12px;text-decoration:none;font-size:13px;transition:background .2s,border-color .2s}
.ef-back>span{font-size:25px;line-height:1;color:#f4bc75}
.ef-back:hover{background:#f8941c15;border-color:#f8941c66}
[data-audio-credit][hidden]{display:none!important}
@media(max-width:530px){.ef-intro{gap:10px}.ef-back{font-size:12px;padding:3px 8px;min-height:38px}.elifba-page .ef-intro h1{font-size:clamp(26px,8vw,38px)}}
.ef-discover[hidden],.ef-focus-note{display:none!important}
.has-vowel-lab .ef-sound-lesson{position:absolute;top:10px;left:12px;right:auto;z-index:3;display:flex;align-items:center;margin:0;padding:0;gap:0;border:0}
.has-vowel-lab .ef-sound-lesson[hidden]{display:none}
.has-vowel-lab .ef-vowel-listen{min-height:30px;padding:4px 9px;border-radius:7px;font-size:11px!important;line-height:1.4}
.has-vowel-lab [data-vowel-audio-status]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.has-vowel-lab .ef-letter-scene{padding-top:28px}
/* Progress shares the action row. Selection menus float over the lesson. */
.ef-study-action>.ef-progress{border:0;padding:0;gap:8px;flex:1;min-width:0;flex-wrap:wrap}
.ef-study-action>.ef-progress .ef-progress-track{display:none}
.ef-study-action>.ef-progress .ef-progress-stars{margin-left:0}
.ef-study-action>.ef-progress [data-progress-label]{font-size:11px}
.ef-study-action .ef-play-actions{display:flex;gap:8px;flex-shrink:0}
.ef-learning-shell{overflow:visible}
.ef-choice-menu{position:relative;overflow:visible;z-index:5}
.ef-choice-menu[open]{z-index:30}
.ef-choice-menu>.ef-choice-grid{position:absolute;top:calc(100% + 7px);left:0;right:0;z-index:31;padding:10px;border:1px solid #ffffff26;border-radius:16px;background:linear-gradient(145deg,#222c37,#111720);box-shadow:0 20px 50px #000b;max-height:min(55vh,360px)}
.ef-choice-menu:not([open])>.ef-choice-grid{display:none}
@media(max-width:600px){
 .ef-choice-menu>.ef-choice-grid{min-width:min(310px,calc(100vw - 44px));max-height:min(50vh,290px)}
 .ef-choice-menu[data-unit-menu]>.ef-choice-grid{left:auto;right:0}
 .ef-study-action{gap:7px}
 .ef-study-action>.ef-progress{gap:0;flex-direction:column;align-items:flex-start;min-width:70px}
 .ef-study-action>.ef-progress [data-progress-label]{font-size:9px}
 .ef-study-action>.ef-progress .ef-progress-stars{gap:2px}
 .ef-study-action>.ef-progress .ef-progress-stars>span{font-size:13px}
 .ef-study-action .ef-play-actions{width:auto!important;gap:5px}
 .ef-study-action .ef-play-actions>button{font-size:11px!important;padding:7px 9px;gap:6px;white-space:nowrap}
}
.site-header .ef-back{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:6px 12px;margin-left:16px;color:#ccc;text-decoration:none;border:.5px solid #ffffff35;border-radius:10px;background:#20202099;font:14px/1.4 'Segoe UI',sans-serif}
.site-header .ef-back svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.site-header .ef-back span{font:inherit;color:inherit}
.site-header .ef-back:hover,.site-header .ef-back:focus-visible{color:#f8941c;border-color:#f8941c;outline-offset:3px}
.ef-friendly-selectors,.is-vowel-lab .ef-friendly-selectors{grid-template-columns:minmax(150px,.85fr) minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:center}
.ef-friendly-selectors>.ef-intro{padding:0!important;margin:0!important;display:block;min-width:0}
.elifba-page .ef-friendly-selectors .ef-intro h1{font-size:31px;letter-spacing:-1px;line-height:1.2}
.ef-friendly-selectors .ef-choice-menu summary{min-height:56px;padding:8px 11px}
.ef-friendly-selectors .ef-choice-icon{height:32px;flex-basis:32px;font-size:21px;border-radius:10px}
@media(max-width:600px){
 .ef-friendly-selectors,.is-vowel-lab .ef-friendly-selectors{grid-template-columns:minmax(103px,.9fr) minmax(0,1fr) minmax(0,1fr);gap:6px}
 .elifba-page .ef-friendly-selectors .ef-intro h1{font-size:20px;letter-spacing:-.6px}
 .ef-friendly-selectors .ef-choice-icon{display:none}
 .ef-friendly-selectors .ef-choice-menu summary{padding:6px;gap:3px;min-height:50px}
 .ef-friendly-selectors .ef-choice-menu strong{font-size:10px;line-height:1.3}
 .ef-friendly-selectors .ef-choice-menu small{font-size:8px;letter-spacing:0}
 .ef-choice-menu>.ef-choice-grid{min-width:min(300px,calc(100vw - 44px));left:auto;right:0}
 .ef-friendly-selectors .ef-choice-chevron{font-size:9px}
}
.has-vowel-lab .ef-sound-lesson{position:static;top:auto;left:auto;right:auto;z-index:auto;justify-content:center;margin:0;padding:4px 0 8px}
.has-vowel-lab .ef-letter-scene{padding-top:0}
.has-vowel-lab .ef-vowel-listen{min-height:32px;padding:5px 12px;border-radius:7px;font-size:12px!important}
@media(max-width:600px){
 .is-vowel-lab .ef-study-action{flex-wrap:nowrap!important}
 .is-vowel-lab .ef-study-action>.ef-progress{flex:0 0 70px;min-width:0}
 .is-vowel-lab .ef-study-action .ef-play-actions{flex:1;min-width:0;justify-content:flex-end;flex-wrap:nowrap!important}
 .is-vowel-lab .ef-study-action .ef-play-actions>button{flex:0 1 auto;min-width:0;padding:7px 8px;gap:5px;font-size:10px!important}
}
/* One device-sized frame for every course, level and lesson. */
.ef-learning-shell{height:min(820px,max(340px,calc(100dvh - var(--shell-header,56px) - 32px)));min-height:0;overflow:visible}
.ef-workspace{height:100%;min-height:0;display:flex;flex-direction:column;overflow:visible}
.ef-friendly-selectors{flex:none}
.ef-lesson-content{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#56616d transparent;scrollbar-gutter:stable;padding-right:4px;overscroll-behavior:contain}
.has-vowel-lab .ef-sound-lesson{width:100%;justify-content:stretch;padding:8px 0 12px}
.has-vowel-lab .ef-vowel-listen{display:flex;justify-content:center;align-items:center;width:100%;min-height:48px;padding:10px 17px;border-radius:14px;border:1px solid #8bc2ee44;background:#8bc2ee09;color:#d6edff;font-size:14px!important}
.has-vowel-lab .ef-vowel-listen[aria-pressed=true]{border-color:#f8941c;background:#f8941c19}
@media(max-width:600px){.ef-lesson-content{padding-right:2px;scrollbar-gutter:auto}}
/* Shared frame geometry for all books and tabs; the mobile stage is the baseline. */
.elifba-page [hidden]{display:none!important}
.ef-lesson-heading{display:none!important}
.ef-workspace,.is-vowel-lab .ef-workspace{padding:20px 24px 14px;gap:0}
.ef-friendly-selectors,.is-vowel-lab .ef-friendly-selectors{margin-bottom:12px;align-items:center}
.ef-lesson-content{display:flex;flex-direction:column;overflow:hidden;padding:0;scrollbar-gutter:auto}
.ef-study:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:0}
.ef-stage,.is-vowel-lab .ef-stage.has-vowel-lab{flex:1;min-height:0!important;display:flex;flex-direction:column;overflow:hidden;padding:18px 20px;border-radius:20px}
.is-vowel-lab .ef-stage.has-vowel-lab{padding-right:76px}
.ef-letter-scene{flex:1 0 auto;align-items:center;gap:16px}
.ef-letter-detail h3,.is-vowel-lab .ef-letter-detail h3{font-size:23px;margin:0 0 8px;line-height:1.4}
.ef-letter-detail>p,.is-vowel-lab .ef-letter-detail>p{font-size:13px;line-height:1.65;max-width:34ch;margin:0}
.ef-letter-picker,.is-vowel-lab .ef-letter-picker{margin-top:auto;padding-top:10px;gap:8px;flex-shrink:0}
.ef-letter-picker>button,.is-vowel-lab .ef-letter-picker>button{min-height:70px;padding:4px 8px;flex-direction:column;gap:0}
.ef-picker-name,.is-vowel-lab .ef-picker-name{font-size:11px;line-height:1.4}
.ef-picker-glyph,.is-vowel-lab .ef-picker-glyph{font-size:33px;line-height:1.7}
.ef-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;min-height:62px;padding-top:10px}
.ef-controls>.ef-progress{flex:1;min-width:0;display:flex;align-items:center;gap:8px;border:0;margin:0;padding:0;font-size:11px}
.ef-controls .ef-progress-track{display:none}
.ef-controls .ef-progress-stars{margin-left:0}
.ef-controls .ef-study-action,.ef-controls .ef-reading-action{padding:0;margin:0;flex:none}
.ef-controls .ef-reading-action>p{display:none}
.ef-controls .ef-play-actions{display:flex;gap:8px;flex-wrap:nowrap;margin:0}
.ef-controls .ef-primary,.ef-controls .ef-secondary{min-height:44px;padding:9px 15px;border-radius:10px;font-size:13px!important;gap:8px}
.ef-quiz:not([hidden]),.ef-matching:not([hidden]),.ef-finished:not([hidden]){flex:1;min-height:0;overflow:hidden;padding:18px;border:1px solid #f8941c28;border-radius:20px;background:linear-gradient(130deg,#181c23,#0c1016)}
.ef-stage .ef-passage{flex:none;margin:0 0 8px}
.ef-workspace[data-reading=true] .ef-glyph-layer{font-size:calc(var(--ef-reading-base,42px) * var(--ef-reading-fit,1))!important}
.ef-workspace[data-reading=true][data-script=he]{--ef-reading-base:34px}
.ef-workspace[data-reading=true][data-script=gr]{--ef-reading-base:34px}
.ef-stage.is-tight{gap:0}
.ef-stage.is-tight .ef-letter-scene{gap:8px;flex:0 0 auto}
.ef-stage.is-tight .ef-variants{margin:4px 0;padding-top:5px;gap:4px}
.ef-stage.is-tight .ef-variants dd{font-size:24px;line-height:1.5}
.ef-stage.is-tight .ef-letter-detail h3{font-size:18px;margin-bottom:4px}
.ef-stage.is-tight .ef-letter-detail>p{font-size:12px;line-height:1.5}
@media(max-width:600px){
 .ef-workspace,.is-vowel-lab .ef-workspace{padding:10px}
 .ef-friendly-selectors,.is-vowel-lab .ef-friendly-selectors{margin-bottom:8px}
 .ef-stage,.is-vowel-lab .ef-stage.has-vowel-lab{padding:10px;border-radius:16px}
 .is-vowel-lab .ef-stage.has-vowel-lab{padding-right:59px}
 .ef-letter-scene{display:flex;flex-direction:column;justify-content:center;gap:8px}
 .ef-letter-detail,.is-vowel-lab .ef-letter-detail{display:block;border:0;padding:0;width:100%}
 .ef-letter-detail h3,.is-vowel-lab .ef-letter-detail h3{font-size:17px;line-height:1.35;margin:0 0 4px}
 .ef-letter-detail>p,.is-vowel-lab .ef-letter-detail>p{font-size:12px;line-height:1.5;max-width:none}
 .ef-letter-picker,.is-vowel-lab .ef-letter-picker{padding-top:8px;gap:5px}
 .ef-letter-picker>button,.is-vowel-lab .ef-letter-picker>button{min-height:58px;padding:3px 4px}
 .ef-picker-name,.is-vowel-lab .ef-picker-name{font-size:9px}
 .ef-picker-glyph,.is-vowel-lab .ef-picker-glyph{font-size:27px;line-height:1.65}
 .ef-controls{min-height:56px;padding-top:8px;gap:6px}
 .ef-controls>.ef-progress{flex:1;gap:1px;flex-direction:column;align-items:flex-start;font-size:9px}
 .ef-controls .ef-progress-stars{gap:2px}.ef-controls .ef-progress-stars>span{font-size:13px}
 .ef-controls .ef-play-actions{gap:5px;width:auto!important}
 .ef-controls .ef-primary,.ef-controls .ef-secondary{min-height:40px;padding:7px 10px;font-size:11px!important;gap:6px}
 .ef-workspace[data-reading=true]{--ef-reading-base:34px}
 .ef-workspace[data-reading=true][data-script=he],.ef-workspace[data-reading=true][data-script=gr]{--ef-reading-base:28px}
 .ef-quiz:not([hidden]),.ef-matching:not([hidden]),.ef-finished:not([hidden]){padding:12px;border-radius:16px}
 .ef-stage.is-tight .ef-letter-scene{gap:5px}
}
.ef-friendly-selectors,.is-vowel-lab .ef-friendly-selectors{grid-template-columns:minmax(0,1fr) 154px 180px;gap:10px}
.ef-choice-menu>.ef-choice-grid{width:360px;max-width:calc(100vw - 44px);left:auto;right:0;min-width:0}
.ef-friendly-selectors .ef-choice-icon{display:none}
.ef-friendly-selectors .ef-choice-menu summary{padding:8px 11px;min-height:54px}
@media(max-width:600px){
 .ef-friendly-selectors,.is-vowel-lab .ef-friendly-selectors{grid-template-columns:minmax(98px,1fr) minmax(66px,88px) minmax(74px,98px);gap:6px}
 .ef-friendly-selectors .ef-choice-menu summary{padding:6px;min-height:50px}
 .ef-choice-menu>.ef-choice-grid{width:min(310px,calc(100vw - 44px));max-width:calc(100vw - 44px)}
}
@media(max-width:359px){.elifba-page .ef-friendly-selectors .ef-intro h1{font-size:18px}}
.ef-workspace[data-reading=true] .ef-letter-picker{grid-template-columns:repeat(var(--ef-options,3),minmax(0,1fr));gap:7px;margin-top:auto}
.ef-workspace[data-reading=true] .ef-letter-picker>button{min-height:70px;max-height:80px;min-width:0;padding:5px 7px;gap:3px;overflow:hidden}
.ef-workspace[data-reading=true] .ef-picker-glyph,.ef-workspace[data-reading=true] .ef-picker-glyph.ef-small-form{display:block;font-size:23px;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;max-width:100%}
.ef-workspace[data-reading=true] .ef-picker-name{font-size:10px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.35}
.ef-workspace[data-reading=true] .ef-letter-art{min-height:0;padding:8px 4px;gap:8px}
.ef-workspace[data-reading=true] .ef-glyph-layer{min-height:0;padding:6px 0}
@media(max-width:600px){
 .ef-workspace[data-reading=true] .ef-letter-picker>button{min-height:62px;max-height:76px;padding:4px}
 .ef-workspace[data-reading=true] .ef-picker-glyph,.ef-workspace[data-reading=true] .ef-picker-glyph.ef-small-form{font-size:20px}
 .ef-workspace[data-reading=true] .ef-letter-detail{padding:8px 0 0;display:block}
 .ef-workspace[data-reading=true] .ef-letter-detail h3{font-size:17px}
 .ef-workspace[data-reading=true] .ef-letter-detail>p{font-size:12px;line-height:1.5}
}
/* Flat surfaces, without orange glow or metallic gradients. */
.ef-learning-shell{background:#1b1e23;box-shadow:none}
.ef-stage,.ef-quiz:not([hidden]),.ef-matching:not([hidden]),.ef-finished:not([hidden]){background:#151a20;border-color:#ffffff20;box-shadow:none}
.ef-stage::before,.ef-light-sweep{display:none}
.ef-glyph{color:#eee9df;text-shadow:none}
.ef-glyph-focus{filter:none}
.ef-orbit{border-color:#7d879444;box-shadow:none}
.ef-orbit::after{border-color:#7d879426}
.ef-choice-menu{background:#20262e;box-shadow:none}
.ef-choice-menu[open]{box-shadow:none}
.ef-choice-menu>.ef-choice-grid{background:#20262e}
.ef-letter-picker>button{background:#1b2027;box-shadow:none}
.ef-letter-picker>button[aria-pressed=true]{background:#30271d;box-shadow:none}
.ef-vowel-letters button[aria-pressed=true]{background:#30271d;box-shadow:none}
.ef-friendly-selectors,.is-vowel-lab .ef-friendly-selectors{grid-auto-rows:64px}
.ef-friendly-selectors .ef-choice-menu summary,.is-vowel-lab .ef-friendly-selectors .ef-choice-menu summary{height:64px;min-height:64px}
.ef-friendly-selectors .ef-choice-menu strong{font-size:12px;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.ef-variants dd{font-size:32px;line-height:1.6}
@media(max-width:600px){
 .ef-friendly-selectors .ef-choice-menu strong{font-size:10px;line-height:1.3;-webkit-line-clamp:3}
 .ef-variants dd{font-size:28px;line-height:1.5}
}
/* The first Harf Atolyesi prototype's timing and keyframes, without substitutes. */
.ef-letter-art[role=button]{cursor:pointer;-webkit-tap-highlight-color:transparent}
.ef-workspace[data-reading=false] .ef-letter-art{width:100%}
.ef-letter-art[role=button]:focus-visible{outline:1px solid var(--ef-blue);outline-offset:3px;border-radius:14px}
.ef-workspace[data-reading=false] .ef-orbit::before{display:none}
.ef-workspace[data-reading=false] .ef-orbit{border-width:1px}
.ef-workspace[data-reading=false] .ef-orbit::after{display:none}
.ef-workspace[data-reading=false] .ef-letter-art::after{content:'';position:absolute;--ef-inner-ring:calc(var(--ef-orbit-size,220px)*.7707317);top:calc((var(--ef-orbit-size,220px) - var(--ef-inner-ring))/2);left:calc(50% - var(--ef-inner-ring)/2);width:var(--ef-inner-ring);height:var(--ef-inner-ring);border:1px solid #7d879444;border-radius:50%;opacity:.45;pointer-events:none;z-index:1}
@media(max-width:850px){.ef-workspace[data-reading=false] .ef-letter-art::after{--ef-inner-ring:calc(var(--ef-orbit-size,174px)*.75)}}
.ef-workspace[data-reading=false] .ef-glyph{transition:color .3s}
@keyframes ef-original-glyph-reveal{0%{opacity:.4;filter:blur(3px);scale:.94}45%{color:var(--ef-accent);filter:blur(0);scale:1.09}100%{opacity:1;filter:blur(0);scale:1}}
@keyframes ef-original-sweep{0%{opacity:0;transform:translateY(-83px)}25%{opacity:.8}75%{opacity:.8}100%{opacity:0;transform:translateY(78px)}}
@keyframes ef-original-orbit{0%{opacity:.3;scale:.85}55%{border-color:var(--ef-accent);opacity:.75;scale:1.06}100%{opacity:1;scale:1}}
@media(prefers-reduced-motion:no-preference){
 .ef-workspace[data-reading=false] .ef-light-sweep{display:block;left:8%;right:8%;top:45%;width:auto;height:2px;background:linear-gradient(90deg,transparent,var(--ef-accent),transparent);opacity:0;box-shadow:none;filter:none}
 .ef-workspace[data-reading=false] .ef-letter-art.is-revealing [data-glyph]{animation:ef-original-glyph-reveal 1.1s ease both}
 .ef-workspace[data-reading=false] .ef-letter-art.is-revealing .ef-light-sweep{animation:ef-original-sweep 1.1s ease both}
 .ef-workspace[data-reading=false] .ef-letter-art.is-revealing .ef-orbit{animation:ef-original-orbit 1.2s ease both}
}
.ef-choice-menu:nth-child(2){background:#20262e}
.ef-written-reading{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:4px 12px;grid-column:1/-1;margin:0 0 14px;min-width:0}
.ef-written-reading>span{color:#aab6c4;font-size:11px;letter-spacing:.4px}
.ef-written-reading>strong{min-width:0;color:#ffc078;font:500 28px/1.45 'Segoe UI',Arial,sans-serif;overflow-wrap:anywhere}
.ef-written-reading>p{grid-column:1/-1;margin:0;color:#c5cdd6;font-size:13px;line-height:1.65;max-width:85ch}
.ef-workspace[data-reading=true] .ef-letter-art{display:flex;flex:1 1 0;flex-direction:column;align-items:stretch;justify-content:center;width:100%;min-width:0;min-height:0;max-height:none;overflow:hidden}
.ef-workspace[data-reading=true] .ef-glyph-layer{position:relative;isolation:isolate;display:grid;place-items:center;flex:1 1 0;box-sizing:border-box;width:100%;height:100%;min-width:0;min-height:0!important}
.ef-workspace[data-reading=true] .ef-glyph-label{flex:none}
.ef-reading-build{position:absolute;inset:0;display:flex;flex-wrap:nowrap;justify-content:center;align-content:center;align-items:center;gap:.22em;pointer-events:none;font:inherit;color:#b7c6d5}
.ef-reading-build>.ef-reading-word{display:inline-grid;grid-template-columns:minmax(0,1fr);align-items:center;flex:none;min-width:0;max-width:none;opacity:1;white-space:nowrap}
.ef-reading-letter-parts{grid-area:1/1;display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:.12em;min-width:0;max-width:none}
.ef-reading-letter-parts>span{display:inline-block;opacity:0;white-space:nowrap}
.ef-reading-joined{grid-area:1/1;display:block;justify-self:center;max-width:none;opacity:0;white-space:nowrap}
.ef-workspace[data-reading=true] [data-glyph]{white-space:nowrap;max-width:none}
.ef-workspace .ef-variants dd.ef-variant-reading{font:500 14px/1.4 'Segoe UI',Arial,sans-serif;color:#ffc078;white-space:normal}
.ef-workspace[data-reading=true] .ef-variants{flex:none;grid-template-columns:repeat(var(--ef-variants,2),minmax(0,1fr));max-height:110px;overflow-y:auto;margin-block:6px;padding-block:6px;gap:6px;scrollbar-width:thin;scrollbar-color:#56616d transparent}
.ef-workspace[data-reading=true] .ef-variants>div{min-width:0;gap:3px}
.ef-workspace[data-reading=true] .ef-variants dd:not(.ef-variant-reading){font-size:26px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.ef-workspace[data-reading=true][data-lesson-level="4"] .ef-variants{grid-template-columns:repeat(var(--ef-variants,2),minmax(0,1fr));margin-block:5px;padding-block:5px;gap:5px}
.ef-workspace[data-reading=true][data-lesson-level="4"] .ef-variants dd:not(.ef-variant-reading){font-size:26px;line-height:1.5}
.ef-workspace[data-reading=true] .ef-letter-art{padding:clamp(16px,2.4dvh,28px) clamp(16px,2.5vw,36px);gap:14px}
.ef-workspace[data-reading=true] .ef-glyph-layer{padding:clamp(12px,1.8dvh,22px) 0}
@media(max-width:600px){
 .ef-workspace[data-reading=true] .ef-letter-art{padding:12px 10px;gap:10px}
 .ef-workspace[data-reading=true] .ef-glyph-layer{padding:10px 0}
}
.ef-workspace[data-reading=true] .ef-letter-art[data-short-reading=true] .ef-glyph-layer{font-size:calc(64px * var(--ef-reading-fit,1))!important;min-height:116px}
.ef-workspace[data-reading=true] .ef-letter-scene{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden}
.ef-workspace[data-reading=true] .ef-letter-detail{display:block;flex:0 1 auto;min-height:0;max-height:55%;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#56616d transparent}
@media(max-width:600px){
 .ef-written-reading{gap:3px 9px;margin-bottom:10px}
 .ef-written-reading>strong{font-size:24px}
 .ef-written-reading>p{font-size:12px;line-height:1.5}
 .ef-workspace[data-reading=true] .ef-letter-art{flex:1 1 0;width:100%;min-width:0;min-height:0;max-height:none;overflow:hidden}
 .ef-workspace[data-reading=true] .ef-letter-art[data-short-reading=true] .ef-glyph-layer{font-size:calc(48px * var(--ef-reading-fit,1))!important;min-height:90px}
 .ef-workspace[data-reading=true] .ef-letter-scene{display:flex;flex-direction:column;justify-content:flex-start;overflow:hidden}
 .ef-workspace[data-reading=true] .ef-letter-detail{flex:0 1 auto;min-height:0;max-height:55%;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#56616d transparent}
 .ef-workspace[data-reading=false][data-has-reading-guide=true] .ef-letter-scene{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden}
 .ef-workspace[data-reading=false][data-has-reading-guide=true] .ef-letter-art{flex:none;height:calc(var(--ef-orbit-size) + 32px)!important}
 .ef-workspace[data-reading=false][data-has-reading-guide=true] .ef-letter-detail{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#56616d transparent}
}
.ef-stage-tools{position:relative;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;min-width:0;min-height:30px;margin-bottom:10px}
.ef-workspace .ef-stage-tools>.ef-glyph-label{position:static;inset:auto;display:flex;flex:1;min-width:0;max-width:100%;justify-content:flex-start;flex-wrap:nowrap;text-align:start;line-height:1.4;padding:0;gap:0;letter-spacing:0}
.ef-workspace .ef-stage-tools>.ef-glyph-label strong{display:block;min-width:0;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:400 12px/1.4 'Segoe UI',Arial,sans-serif;letter-spacing:0;color:#b4bdc8}
.ef-workspace .ef-stage-tools>.ef-passage{position:static;flex:none;padding:0;margin:0;border:0;border-radius:0;background:none}
.ef-workspace .ef-stage-tools>.ef-passage summary{display:flex;align-items:center;gap:7px;min-height:30px;padding:5px 9px;border:1px solid #ffffff26;border-radius:7px;background:#20262e;color:#c9d2de;font:400 11px/1.4 'Segoe UI',Arial,sans-serif;white-space:nowrap;list-style:none}
.ef-stage-tools>.ef-passage summary::-webkit-details-marker{display:none}
.ef-stage-tools>.ef-passage summary::after{content:'⌄';display:inline-block;color:#aab5c3;transition:transform .2s}
.ef-stage-tools>.ef-passage[open] summary::after{transform:rotate(180deg)}
.ef-stage-tools>.ef-passage summary:focus-visible{outline:2px solid var(--ef-blue);outline-offset:2px}
.ef-workspace .ef-stage-tools>.ef-passage p{position:absolute;inset-inline-end:0;top:calc(100% + 7px);z-index:5;width:min(460px,100%);max-height:min(40dvh,260px);overflow:auto;margin:0;padding:15px 18px;border:1px solid #586675;border-radius:10px;background:#20262e;box-shadow:0 10px 24px #0005;font-size:26px;line-height:1.9;scrollbar-width:thin;scrollbar-color:#74808e transparent}
@media(max-width:600px){
 .ef-stage-tools{gap:8px;margin-bottom:7px}
 .ef-workspace[data-reading=true] .ef-letter-art{padding-block:8px}
 .ef-workspace[data-reading=true] .ef-glyph-layer{padding-block:4px}
 .ef-workspace .ef-stage-tools>.ef-glyph-label strong{font-size:11px}
 .ef-workspace .ef-stage-tools>.ef-passage summary{padding:5px 7px;font-size:10px}
 .ef-workspace .ef-stage-tools>.ef-passage p{padding:12px;font-size:23px}
}
@media(max-width:600px){.ef-stage.is-tight .ef-letter-detail h3{font-size:16px}.ef-stage.is-tight .ef-letter-detail>p{font-size:12px}}
/* The learning path returns on desktop; compact screens keep their selectors. */
.ef-sidebar{display:none}
@media(min-width:1100px){
 .ef-learning-shell{display:grid;grid-template-columns:196px minmax(0,1fr)}
 .ef-friendly-selectors,.is-vowel-lab .ef-friendly-selectors{grid-template-columns:max-content minmax(0,1fr);gap:20px}
 .ef-friendly-selectors>[data-level-menu]{display:none}
 .ef-friendly-selectors>[data-unit-menu]{width:100%;justify-self:stretch}
 .ef-friendly-selectors>[data-unit-menu]>.ef-choice-grid{left:0;right:0;width:100%;max-width:100%;min-width:0;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
 .ef-sidebar{display:flex;height:100%;min-height:0;padding:29px 17px 24px;border-right:1px solid #ffffff16;background:#171d24;border-radius:20px 0 0 20px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#56616d transparent}
 .ef-sidebar h2{margin:0 0 26px;color:var(--ef-blue);font-size:10px;line-height:1.5;letter-spacing:1.6px;text-transform:uppercase}
 .ef-sidebar .ef-levels{counter-reset:ef-level}
 .ef-sidebar .ef-levels::before{left:17px;top:27px;bottom:27px;width:1px;background:#33404c}
 .ef-sidebar .ef-levels li,.ef-sidebar .ef-levels li[aria-current]{display:block;min-height:62px;counter-increment:ef-level}
 .ef-sidebar .ef-levels button{display:flex;align-items:center;gap:10px;width:100%;min-height:62px;padding:7px 0;border:0;border-radius:10px;background:transparent;color:#b6c1cb;text-align:left;font-size:12px;line-height:1.35}
 .ef-sidebar .ef-levels button>b{display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;border:1px solid #3b4a58;border-radius:50%;background:#171d24;color:#aebdca;font-size:0;box-shadow:none}
 .ef-sidebar .ef-levels button>b::before{content:counter(ef-level);font:400 11px/1 'Segoe UI',Arial,sans-serif}
 .ef-sidebar .ef-levels button>span{min-width:0}
 .ef-sidebar .ef-levels button small{margin-top:4px;color:#7e8b97;font-size:10px;line-height:1.4;letter-spacing:0}
 .ef-sidebar .ef-levels li[aria-current] button{color:#f4f1e8}
 .ef-sidebar .ef-levels li[aria-current] button>b{border-color:var(--ef-accent);background:var(--ef-accent);color:#191919;box-shadow:0 0 0 5px #f8941c16}
 .ef-sidebar .ef-levels li[aria-current] small{color:var(--ef-accent)}
 .ef-sidebar .ef-levels button:not(:disabled):hover{color:#fff}
 .ef-sidebar .ef-levels button:not(:disabled):hover>b{border-color:var(--ef-accent)}
 .ef-sidebar .ef-levels button:focus-visible{outline:1px solid var(--ef-blue);outline-offset:4px}
 .ef-sidebar .ef-levels button:disabled{opacity:.4}
}

/* A shared desktop header leaves the learning path below the course controls. */
.ef-workspace[data-reading=true] .ef-letter-detail{display:flex;flex-direction:column;align-items:stretch;justify-content:safe flex-end;text-align:start;padding-bottom:12px}
/* UI direction follows the learner; original letters keep Arabic direction. */
.elifba-page[data-course-locale] .ef-sidebar .ef-levels button{text-align:start}
.elifba-page[data-course-locale] .ef-letter-detail{text-align:start;min-width:0}
.elifba-page[data-course-locale] .ef-letter-detail :is(h3,p){overflow-wrap:anywhere}
.elifba-page[data-course-locale] #elifba-title{white-space:nowrap}
.elifba-page[data-course-locale][dir=rtl] .ef-back svg{transform:rotate(180deg)}
.elifba-page[data-course-locale][dir=rtl] .ef-sidebar{border-right:0;border-inline-end:1px solid #ffffff16;border-radius:0}
.elifba-page[data-course-locale][dir=rtl] .ef-levels:before{left:auto;right:16px}
.elifba-page[data-course-locale][dir=rtl] .ef-vowel-letters{right:auto;left:20px}
.elifba-page[data-course-locale][dir=rtl].is-vowel-lab .ef-stage.has-vowel-lab{padding-right:20px;padding-left:76px}
.elifba-page[data-course-locale][dir=rtl] .ef-lesson-content{padding-right:0;padding-left:4px}
.elifba-page[data-course-locale][dir=rtl] .ef-written-reading{direction:rtl}
.elifba-page[data-course-locale][dir=rtl] .ef-written-reading>strong{unicode-bidi:plaintext}
@media(max-width:600px){
 .elifba-page[data-course-locale][dir=rtl] .ef-vowel-letters{left:10px}
 .elifba-page[data-course-locale][dir=rtl].is-vowel-lab .ef-stage.has-vowel-lab{padding-right:10px;padding-left:59px}
 .elifba-page[data-course-locale][dir=rtl] .ef-lesson-content{padding-left:2px}
}
.elifba-page[data-reading-course=he] .ef-friendly-selectors{--ef-font:'Noto Serif Hebrew',serif}
.elifba-page[data-reading-course=gr] .ef-friendly-selectors{--ef-font:'Noto Serif',serif}
@media(min-width:1100px){
 .ef-learning-shell.has-shared-header{grid-template-columns:196px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:0}
 .ef-learning-shell.has-shared-header>.ef-friendly-selectors{position:relative;z-index:12;grid-column:1/-1;grid-row:1;display:grid;grid-template-columns:196px minmax(0,1fr);grid-template-rows:64px;grid-auto-rows:64px;align-items:center;gap:20px;min-width:0;margin:0;padding:20px 24px 12px;border-bottom:1px solid #ffffff16;border-radius:20px 20px 0 0;background:#1b1e23}
 .ef-learning-shell.has-shared-header>.ef-friendly-selectors .ef-intro{min-width:0;margin:0}
 .ef-learning-shell.has-shared-header>.ef-friendly-selectors .ef-intro h1{font-size:24px;line-height:1.2;letter-spacing:-.8px}
 .ef-learning-shell.has-shared-header>.ef-friendly-selectors>[data-unit-menu]{display:none}
 .ef-learning-shell.has-shared-header>.ef-friendly-selectors>.ef-top-units{position:static;grid-column:2;grid-row:1;display:grid;grid-template-columns:repeat(var(--ef-unit-count,1),minmax(0,1fr));align-items:center;align-self:stretch;justify-self:stretch;gap:6px;width:100%;min-width:0;height:64px;max-height:64px;margin:0;padding:0 0 4px;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}
 .ef-learning-shell.has-shared-header>.ef-friendly-selectors>.ef-top-units>button{position:relative;display:flex;align-items:center;justify-content:center;gap:4px;width:100%;min-width:0;min-height:54px;height:54px;max-height:54px;margin:0;padding:7px 8px;border:1px solid #ffffff14;border-bottom-width:2px;border-radius:8px;background:#20262e;color:#b6c1cb;font:400 11px/1.35 'Segoe UI',Arial,sans-serif;text-align:center;white-space:normal;transform:none;transition:color .2s,background-color .2s,border-color .2s}
 .ef-learning-shell.has-shared-header>.ef-friendly-selectors>.ef-top-units[data-dense=true]>button{padding-inline:4px;font-size:10px}
 .ef-learning-shell.has-shared-header>.ef-friendly-selectors>.ef-top-units>button>.ef-choice-letter{display:none}
 .ef-learning-shell.has-shared-header>.ef-friendly-selectors>.ef-top-units>button>span:not(.ef-choice-badge){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;flex:1;min-width:0;overflow:hidden;overflow-wrap:anywhere}
 .ef-learning-shell.has-shared-header>.ef-friendly-selectors>.ef-top-units>button>small{flex:none;margin:0;color:#fbb856;font-size:12px}
 .ef-learning-shell.has-shared-header>.ef-friendly-selectors>.ef-top-units>button:hover{background:#ffffff08;color:#edf0f4;border-color:#ffffff2b;transform:none}
 .ef-learning-shell.has-shared-header>.ef-friendly-selectors>.ef-top-units>button:active{transform:none}
 .ef-learning-shell.has-shared-header>.ef-friendly-selectors>.ef-top-units>button:is([aria-pressed=true],[aria-selected=true]){border-color:#f8941c55;border-bottom-color:var(--ef-accent);background:#f8941c12;color:#f5dfc0}
 .ef-learning-shell.has-shared-header>.ef-friendly-selectors>.ef-top-units>button:focus-visible{outline:2px solid var(--ef-accent);outline-offset:-3px}
 .ef-learning-shell.has-shared-header>.ef-sidebar{grid-column:1;grid-row:2;align-self:stretch;height:100%;min-height:0;padding-top:20px;border-radius:0 0 0 20px}
 .ef-learning-shell.has-shared-header>.ef-workspace{grid-column:2;grid-row:2;align-self:stretch;height:100%;min-width:0;min-height:0;padding-top:12px}
}
/* Compact menus share the header's bounds, rather than a narrow trigger's edge. */
@media(max-width:1099px){
 .ef-friendly-selectors{position:relative;z-index:12;min-width:0}
 .ef-friendly-selectors>.ef-choice-menu{position:static;min-width:0;max-width:100%}
 .ef-friendly-selectors>.ef-choice-menu>.ef-choice-grid{left:0;right:0;inset-inline:0;width:100%;min-width:0;max-width:100%;transform-origin:top center}
 .ef-friendly-selectors .ef-choice-grid button{text-align:start}
 .ef-friendly-selectors .ef-intro{max-width:100%;overflow:hidden}
 .elifba-page .ef-friendly-selectors .ef-intro h1{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .ef-friendly-selectors .ef-choice-menu small{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media(max-width:600px){
 .elifba-page:is([data-reading-course=he],[data-reading-course=gr]) .ef-friendly-selectors .ef-intro h1{font-size:clamp(14px,4.6vw,20px)}
}
