:root{--bg:#f7f7f1;--paper:#fffef9;--green:#244b40;--ink:#243b33;--muted:#788179;--line:#e4e7dc;--sage:#e9eee2;--gold:#dba554;--radius:20px;--shadow:0 8px 30px #243b3306;font-family:'DM Sans','Microsoft YaHei',sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);font-size:14px;line-height:1.6}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #dba554;outline-offset:4px}button svg{flex-shrink:0}svg{width:20px;height:20px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}h1{font-weight:600;letter-spacing:-1.2px;font-size:35px;line-height:1.4}h2{font-size:21px;font-weight:600;letter-spacing:-.3px}h3{font-size:17px;font-weight:600}.english{font-family:'Lora',Georgia,serif}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:#7a8573}.row{display:flex;align-items:center;gap:10px}.spread{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:18px}.sidebar{width:215px;position:fixed;inset:0 auto 0 0;background:var(--paper);border-right:1px solid var(--line);padding:32px 22px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:12px;margin:0 5px 50px}.brand-symbol{width:40px;height:40px;background:var(--green);color:#f8edc9;border-radius:13px;display:grid;place-items:center}.brand-symbol svg{width:24px;height:24px}.brand-name{font-weight:700;font-size:23px;letter-spacing:2px;line-height:1.1}.brand-caption{font-size:9px;letter-spacing:2.7px;margin-top:7px;color:#758171}.nav{display:grid;gap:10px}.nav a{display:flex;align-items:center;gap:12px;padding:12px 15px;border-radius:12px;color:#717b70;font-size:13px}.nav a:hover{background:#f2f3eb}.nav a.active{background:var(--green);color:#fffef5}.nav a .count{margin-left:auto;min-width:20px;height:20px;text-align:center;background:#ffffff24;border-radius:6px;font-size:11px;line-height:20px}.sidebar-note{margin-top:auto;border:1px solid #e3e6d7;padding:16px 14px;border-radius:15px;background:#f5f6ed;font-size:12px}.sidebar-note .sprout{color:#637850;margin-bottom:9px}.sidebar-note strong{font-size:13px;display:block;margin-bottom:5px}.sidebar-foot{margin-top:22px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:34px;height:34px;background:transparent;border:1px solid var(--line);border-radius:50%}.icon-btn:hover{background:var(--sage)}.main{margin-left:215px;padding:29px 42px 36px;max-width:1600px;min-height:100vh}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:35px;font-size:12px}.crumb{color:var(--muted)}.crumb span{margin:0 8px;color:#bbc2b8}.top-right{gap:18px}.save-indicator{display:flex;align-items:center;gap:6px;color:#728067;font-size:11px}.dot{width:6px;height:6px;border-radius:50%;background:#7b9162;display:inline-block}.avatar{width:33px;height:33px;border-radius:50%;background:#efedd9;display:grid;place-items:center;color:#7b7957}.welcome{margin-bottom:22px}.welcome h1{font-size:27px;letter-spacing:.3px}.welcome p{margin-top:6px;color:var(--muted);font-size:13px}.hero{border:1px solid #e2e6d8;background:#eef1e4;border-radius:24px;display:grid;grid-template-columns:1fr 1fr;position:relative;overflow:hidden;min-height:310px}.hero-copy{padding:34px 0 32px 35px;position:relative;z-index:2}.hero .eyebrow{display:flex;align-items:center;gap:8px;margin-bottom:15px}.hero h2{font-size:34px;line-height:1.5;font-weight:500;letter-spacing:1px}.hero h2 em{font-style:normal;color:#6d8052}.hero p{color:#76806c;font-size:12px;line-height:1.9;margin-top:13px;max-width:380px}.btn{border:1px solid var(--green);border-radius:10px;background:var(--green);color:#fffef6;padding:10px 18px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:500;font-size:13px;line-height:1.6;min-height:43px;transition:background .15s,transform .15s}.btn:hover{background:#365d4c;transform:translateY(-1px)}.btn.secondary{background:var(--paper);border-color:var(--line);color:var(--green)}.btn.secondary:hover{background:#edf0e5}.btn.ghost{background:transparent;color:var(--green);border-color:transparent}.btn.small-btn{min-height:34px;padding:6px 12px;font-size:12px}.hero-actions{margin-top:23px;display:flex;align-items:center;gap:17px}.hero-actions .small{color:#78826c}.hero-visual{position:relative;align-self:stretch;min-width:0;display:flex;align-items:center;justify-content:center}.hero-visual img{width:118%;height:100%;object-fit:cover;object-position:45% center;mix-blend-mode:multiply}.scene-label{position:absolute;right:23px;bottom:22px;border:1px solid #fff;background:#fffef9ee;border-radius:12px;padding:10px 15px;box-shadow:0 6px 20px #3d4f3110;transform:rotate(-3deg);font-size:12px}.scene-label .english{font-size:14px;display:block}.scene-label .small{color:#88917a;font-size:10px}.stats{display:grid;grid-template-columns:1fr 1fr 1.1fr;margin:21px 0 30px;gap:16px}.stat{background:var(--paper);border:1px solid var(--line);border-radius:15px;padding:15px 19px;display:flex;gap:14px;align-items:center;min-width:0}.stat-icon{background:#edf0e5;color:#778565;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;flex-shrink:0}.stat:nth-child(2) .stat-icon{background:#f8edd7;color:#b28b4b}.stat:nth-child(3) .stat-icon{background:#ebefed;color:#718b7d}.stat-label{font-size:11px;color:var(--muted)}.stat-value{font-size:23px;font-weight:500;line-height:1.3}.stat-value span{font-size:11px;color:#8a9385;margin-left:6px;font-weight:400}.stat-value.free{font-size:17px;letter-spacing:.8px}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;gap:12px}.section-head h2{font-size:18px}.section-head p{font-size:11px;color:var(--muted);margin-top:4px}.text-link{border:0;background:none;color:#829071;font-size:12px;padding:4px;display:inline-flex;align-items:center;gap:5px}.text-link:hover{color:var(--green)}.text-link svg{width:15px;height:15px}.lesson-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.lesson-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:21px 22px;transition:transform .2s,box-shadow .2s;position:relative}.lesson-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.lesson-top{display:flex;align-items:center;gap:13px;margin-bottom:15px}.lesson-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:#e8eddf;color:#7d8e60}.lesson-icon svg{width:23px;height:23px}.speaking .lesson-icon{background:#f8ebd7;color:#b38b4e}.reading .lesson-icon{background:#e5edef;color:#7a969c}.writing .lesson-icon{background:#f4e7e1;color:#bb8c78}.lesson-kicker{font-size:9px;font-weight:600;letter-spacing:1.5px;color:#929785}.lesson-title{font-size:17px;font-weight:600;margin-top:2px}.pill{font-size:10px;padding:3px 8px;border:1px solid var(--line);border-radius:6px;color:#7a8472;background:#f8f8f2;white-space:nowrap}.lesson-top>.pill{margin-left:auto}.lesson-description{font-size:12px;color:#868c7f;margin-bottom:17px}.word-preview{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:21px}.word-preview span{font-family:'Lora',Georgia,serif;color:#73806a;font-size:12px;padding:4px 9px;background:#f3f4ec;border-radius:6px}.lesson-bottom{display:flex;align-items:center;gap:14px}.progress{background:#edf0e6;flex:1;height:4px;border-radius:4px;overflow:hidden}.progress i{height:100%;background:#93a17b;display:block;border-radius:4px}.lesson-bottom .small{font-size:10px;color:#8c9486}.arrow-circle{margin-left:auto;width:29px;height:29px;border:1px solid #e1e6d7;border-radius:50%;display:grid;place-items:center;color:#889772}.arrow-circle svg{width:14px;height:14px}.footer{margin-top:26px;display:flex;justify-content:space-between;gap:16px;color:#92998b;font-size:10px}.footer .row{gap:5px}.footer svg{width:13px;height:13px}.page-head{margin-bottom:26px}.page-head h1{font-size:29px}.page-head p{color:var(--muted);margin-top:8px;font-size:13px}.back{margin-bottom:16px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:27px}.learning-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:23px}.learning-title{margin:17px 0 23px}.word-main{font-size:44px;font-weight:500;line-height:1.2;overflow-wrap:anywhere}.meaning{font-size:18px;margin-top:14px}.pos{font-family:Georgia,serif;color:#9ca48f;font-size:15px;margin-right:10px}.speaker-btn{background:#edf1e6;border:0;border-radius:50%;height:43px;width:43px;display:inline-grid;place-items:center;flex-shrink:0}.favorite.active{color:#b08a43;background:#fff5d8;border-color:#e2c686}.example{padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:23px 0}.example .english{font-size:21px;line-height:1.7}.example .translation{font-size:13px;color:#8a9380;margin-top:12px}.highlight{color:#a67a40;background:#f6eed4;padding:0 3px;border-radius:3px}.memory-note{background:#f2f4e9;border-radius:13px;padding:16px;font-size:12px;line-height:1.9}.memory-note strong{display:block;color:#627651;font-size:11px;margin-bottom:5px}.memory-note+.memory-note{margin-top:12px;background:#f7f0e2}.word-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:25px;flex-wrap:wrap}.learning-aside .mini-scene{width:100%;aspect-ratio:1.25;object-fit:cover;border-radius:13px;margin-bottom:16px;mix-blend-mode:multiply}.learning-aside h3{font-size:15px}.learning-aside p{font-size:12px;color:var(--muted);margin-top:8px;line-height:1.9}.step-dots{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.step-dots span{width:24px;height:24px;border-radius:50%;background:#e9ede2;color:#819071;display:grid;place-items:center;font-size:10px}.step-dots .current{background:var(--green);color:#fff}.step-dots .done{background:#cfdac2}.notice{border-left:3px solid #d3af6d;padding:3px 0 3px 14px;color:#8a8b75;font-size:11px;margin-top:18px}.input{width:100%;padding:13px 15px;border:1px solid #dfe5d6;border-radius:10px;background:#fffef9;color:var(--ink);font-size:15px}.input:focus{border-color:#8b9c76}.recall-prompt{margin:30px 0 22px;font-size:21px;line-height:1.8}.field-label{display:block;color:#829175;font-size:11px;margin-bottom:8px}.feedback{margin-top:18px;padding:17px 20px;border-radius:13px;font-size:13px;line-height:1.9;background:#eef3e5;border:1px solid #d8e5c9}.feedback.warn{background:#faf0e0;border-color:#eedcbb;color:#776443}.feedback strong{display:block;font-size:14px;margin-bottom:6px}.feedback .english{font-size:18px}.empty{padding:48px 30px;text-align:center}.empty-icon{width:74px;height:74px;background:#edf1e4;margin:0 auto 23px;border-radius:25px;display:grid;place-items:center;color:#82966a}.empty-icon svg{width:32px;height:32px}.empty h2{font-size:22px}.empty p{max-width:460px;margin:13px auto 22px;color:var(--muted);font-size:13px;line-height:1.9}.tabs{display:flex;gap:8px;margin-bottom:23px;flex-wrap:wrap}.tab{border:1px solid var(--line);border-radius:9px;background:var(--paper);padding:8px 15px;color:#7d8774;font-size:12px}.tab.active{background:var(--green);color:white;border-color:var(--green)}.practice-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:23px}.practice-header{display:flex;align-items:center;gap:12px;margin-bottom:20px}.practice-header .lesson-icon{flex-shrink:0}.practice-context{font-size:13px;color:var(--muted);line-height:1.9;margin-bottom:24px}.audio-player{background:#edf1e6;padding:20px;border-radius:15px;display:flex;align-items:center;gap:17px;margin-bottom:22px}.play{background:var(--green);color:white;border:0;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.audio-wave{display:flex;align-items:center;gap:4px;height:35px;margin-top:9px}.audio-wave i{display:block;width:3px;background:#b1bda0;border-radius:3px}.audio-wave.playing i{animation:wave .7s ease-in-out infinite alternate}.audio-wave.playing i:nth-child(2n){animation-delay:.3s}@keyframes wave{to{transform:scaleY(.3)}}.question{margin:24px 0 18px;font-size:17px;line-height:1.8}.options{display:grid;gap:10px}.option{display:flex;align-items:center;gap:13px;text-align:left;border:1px solid var(--line);background:#fffef9;border-radius:11px;padding:12px 15px;width:100%;font-size:13px}.option .letter{display:grid;place-items:center;background:#f3f4ed;border-radius:7px;width:27px;height:27px;color:#8b967f;font-size:11px;flex-shrink:0}.option.selected{background:#edf2e5;border-color:#99ad81}.option.correct{background:#ebf3e4;border-color:#96ad7c}.option.incorrect{background:#fbede3;border-color:#d7ab89}.passage{font-family:'Lora',Georgia,serif;line-height:1.95;font-size:16px;background:#f5f5ed;border-radius:13px;padding:22px;white-space:pre-line}.transcript{margin-top:14px;font-size:13px;line-height:1.9;white-space:pre-line;color:#697963}.dialogue{display:grid;gap:15px;margin-bottom:23px}.bubble{max-width:95%;padding:17px 20px;background:#eef1e6;border-radius:15px 15px 15px 3px}.bubble .english{font-size:18px;line-height:1.7}.bubble.you{justify-self:end;background:#f8edda;border-radius:15px 15px 3px 15px;white-space:pre-wrap;overflow-wrap:anywhere}.bubble-label{color:#8b987d;font-size:10px;letter-spacing:1px;margin-bottom:6px}.target-chips{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.target-chip{font-family:'Lora',Georgia,serif;font-size:12px;background:#f2f3e9;border:1px solid #e2e7d5;border-radius:6px;padding:3px 9px}.target-chip.found{background:#e6efdc;color:#607747}.practice-note{font-size:11px;color:#8a947d;margin-top:12px;line-height:1.8}textarea.input{min-height:115px;resize:vertical;line-height:1.8}.rating-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.rating-actions .btn{font-size:12px;min-height:36px;padding:8px 12px}.review-summary{background:var(--green);color:#f7f5e9;padding:26px;border-radius:18px;margin-bottom:23px;display:flex;align-items:center;justify-content:space-between;gap:20px}.review-summary h2{font-size:22px}.review-summary p{font-size:12px;color:#c3cebb;margin-top:8px}.review-summary .btn{background:#f3e6bf;color:#466047;border:0;white-space:nowrap}.review-list{display:grid;gap:10px}.review-item{display:flex;align-items:center;gap:14px;padding:13px 16px;background:var(--paper);border:1px solid var(--line);border-radius:12px}.review-item .english{font-size:17px}.due-label{margin-left:auto;font-size:11px;color:#8d947e;white-space:nowrap}.searchbar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}.search-wrap{position:relative;flex:1;min-width:200px}.search-wrap svg{position:absolute;left:14px;top:13px;color:#97a089}.search-wrap input{padding-left:43px}.vocab-table{display:grid;gap:10px}.vocab-row{display:grid;grid-template-columns:1.1fr 1fr .7fr auto;gap:14px;align-items:center;padding:15px 18px;background:var(--paper);border:1px solid var(--line);border-radius:12px}.vocab-word .english{font-size:19px}.vocab-word .small{font-size:10px;color:#909982}.vocab-meaning{font-size:12px}.tag{font-size:10px;color:#7b8c6d;background:#edf2e6;border-radius:6px;padding:4px 8px;width:fit-content}.tag.unlearned{background:#f2f1e9;color:#989782}.word-row-actions{display:flex;gap:7px}.bank-count{font-size:12px;color:#8a947d}.settings-dialog{border:1px solid var(--line);border-radius:22px;padding:28px;background:var(--paper);color:var(--ink);width:min(520px,calc(100% - 32px));max-height:85vh;overflow:auto;box-shadow:0 20px 70px #20392925}.settings-dialog::backdrop{background:#283b3055;backdrop-filter:blur(4px)}.settings-dialog h2{font-size:21px}.settings-section{padding:21px 0;border-bottom:1px solid var(--line)}.settings-section:last-child{border-bottom:0}.settings-section h3{font-size:14px;margin-bottom:9px}.settings-section p{font-size:12px;color:var(--muted);line-height:1.9;margin-bottom:13px}.settings-section select{margin:6px 0 12px}.upload{display:inline-flex;cursor:pointer}.upload input{display:none}#toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%,15px);background:#294c40;color:#fffef7;padding:12px 22px;border-radius:12px;box-shadow:0 6px 30px #20392922;opacity:0;transition:.2s;pointer-events:none;max-width:90%;font-size:13px;z-index:1000}#toast.visible{opacity:1;transform:translate(-50%,0)}.empty-inline{padding:28px;text-align:center;font-size:13px;color:var(--muted)}.finish-score{font-family:'Lora',Georgia,serif;font-size:50px;line-height:1.2;color:#5f7d48;margin:18px 0}.learning-card{min-height:500px}.mobile-brand{display:none}.animate-in{animation:in .25s ease-out}@keyframes in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1400px){.main{padding-left:60px;padding-right:60px}.hero{min-height:340px}.hero h2{font-size:39px}.hero-copy{padding-top:39px}.lesson-card{padding:24px 27px}}
@media(max-width:1100px){.sidebar{width:185px;padding:28px 16px}.main{margin-left:185px;padding:25px}.hero-copy{padding:28px 0 27px 27px}.hero h2{font-size:30px}.hero-actions .small{display:none}.learning-layout,.practice-layout{grid-template-columns:minmax(0,1fr) 220px}.panel{padding:23px}.stats{gap:11px}.stat{padding:13px;gap:10px}.stat-icon{width:32px;height:32px}.stat-value{font-size:21px}.word-main{font-size:37px}}
@media(max-width:850px){.sidebar{width:78px;padding:24px 12px;align-items:center}.brand{margin:0 0 35px}.brand>div:not(.brand-symbol),.nav-label,.sidebar-note,.sidebar-foot>span{display:none}.nav a{padding:14px;position:relative}.nav a .count{position:absolute;top:2px;right:0;font-size:9px;min-width:15px;height:15px;line-height:15px;background:#d6dfc7;color:var(--green)}.sidebar-foot{margin-top:auto}.main{margin-left:78px;padding:23px}.learning-layout,.practice-layout{grid-template-columns:1fr}.learning-aside{display:none}.hero{min-height:290px}.hero h2{font-size:27px}.hero p{font-size:11px}.hero-visual img{width:125%}.lesson-top>.pill{display:none}.stats{grid-template-columns:1fr 1fr 1fr}.stat-icon{display:none}.scene-label{right:13px;padding:9px 11px}.scene-label .english{font-size:12px}}
@media(max-width:600px){.sidebar{width:auto;position:sticky;inset:0;top:0;padding:11px 17px;background:#fffef9f5;backdrop-filter:blur(12px);display:block;border-right:0;border-bottom:1px solid var(--line)}.brand{display:none}.mobile-brand{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.mobile-brand .brand-name{font-size:18px}.mobile-brand .row{gap:8px}.mobile-brand .brand-symbol{width:28px;height:28px;border-radius:8px}.mobile-brand .brand-symbol svg{width:18px;height:18px}.mobile-brand .small{font-size:10px;color:#8b927d;letter-spacing:1px}.nav{display:flex;justify-content:space-between;gap:5px}.nav a{padding:7px 10px;gap:5px;font-size:11px;border-radius:8px;flex:1;justify-content:center}.nav svg{width:15px;height:15px}.nav-label{display:inline}.nav a .count{display:none}.sidebar-foot{display:none}.main{margin-left:0;padding:20px 17px 26px}.topbar{display:none}.welcome{margin-bottom:18px}.welcome h1{font-size:23px}.welcome p{font-size:11px}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:25px 23px 4px}.hero .eyebrow{font-size:9px;margin-bottom:10px}.hero h2{font-size:29px;line-height:1.45}.hero p{max-width:270px;margin-top:12px;font-size:11px}.hero-actions{margin-top:18px;position:relative;z-index:2}.hero-visual{height:195px;margin-top:-35px;margin-left:100px}.hero-visual img{object-fit:contain;width:120%;height:240px;margin-top:15px}.scene-label{bottom:12px;right:12px;font-size:10px;transform:rotate(-2deg)}.stats{gap:8px;margin:15px 0 25px}.stat{border-radius:12px;padding:12px 11px;min-height:78px}.stat-label{font-size:10px}.stat-value{font-size:22px}.stat-value span{font-size:9px;margin-left:2px}.stat-value.free{font-size:15px;letter-spacing:0;line-height:1.8}.section-head h2{font-size:17px}.section-head p{font-size:10px}.lesson-grid{grid-template-columns:1fr;gap:12px}.lesson-card{padding:19px 20px}.lesson-top>.pill{display:block}.lesson-description{margin-bottom:14px}.word-preview{margin-bottom:17px}.footer{flex-direction:column;gap:5px;font-size:9px}.page-head h1{font-size:25px}.page-head p{font-size:12px}.panel{padding:20px}.word-main{font-size:34px}.meaning{font-size:16px}.example .english{font-size:19px}.learning-card{min-height:0}.word-actions .btn{flex:1}.word-actions .text-link{font-size:11px}.vocab-row{grid-template-columns:1fr auto;gap:8px 10px}.vocab-word{grid-column:1}.vocab-meaning{grid-column:1;grid-row:2;color:var(--muted)}.vocab-row>.tag{grid-column:1;grid-row:3;margin-top:2px}.word-row-actions{grid-column:2;grid-row:1/4}.word-row-actions .icon-btn{width:30px;height:30px}.review-summary{padding:21px;align-items:flex-start;flex-direction:column}.review-item{flex-wrap:wrap;gap:8px}.review-item>.muted{font-size:11px}.due-label{font-size:10px}.question{font-size:15px}.passage{font-size:15px;padding:17px}.tabs{gap:6px}.tab{font-size:11px;padding:7px 10px}.recall-prompt{font-size:19px}.top-right{gap:10px}.settings-dialog{padding:23px}.searchbar{gap:8px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Full-library navigation and bounded study groups. */
.corpus-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.corpus-card{display:flex;align-items:center;gap:14px;padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--paper)}.corpus-card>div{flex:1;min-width:0}.corpus-card h3{font-size:16px}.corpus-card h3 span{font-size:12px;color:var(--muted);font-weight:400;margin-left:7px}.corpus-card p{font-size:11px;color:var(--muted);margin-top:5px}.corpus-card>svg{flex-shrink:0;color:var(--muted)}.corpus-card .lesson-icon{flex-shrink:0}.corpus-card:hover{background:#f2f5ea}.scene-section{margin-top:32px}.scope-note{font-size:12px;color:var(--muted);line-height:1.9;margin-top:16px}.bank-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:22px}.bank-tools label{font-size:12px;color:var(--muted)}.bank-tools select{width:260px;max-width:100%;font-size:13px;padding:9px 12px}.bank-tools>span{flex:1;min-width:220px}.pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:24px 0 8px}.pagination .row{gap:8px}.btn:disabled{opacity:.45;cursor:default;transform:none}.source-caption{display:block;font-size:10px;color:var(--muted);margin-bottom:3px}.related-preview{font-size:10px;color:var(--muted);margin-top:5px}.category-emblem{height:130px;background:#edf1e6;border-radius:14px;display:grid;place-items:center;color:var(--green);margin-bottom:22px}.category-emblem svg{width:50px;height:50px}.phonetic{font-size:15px;color:var(--muted);margin-top:10px}.meaning-label{margin:20px 0 0}.meaning-label+.meaning{margin-top:5px}.source-pages{white-space:normal}.vocab-word,.vocab-meaning{min-width:0;overflow-wrap:anywhere}.vocab-word .small{line-height:1.7;margin-top:4px}.bank-result-head{align-items:center}.bank-result-head .bank-count{margin:0}
@media(max-width:600px){.corpus-grid{grid-template-columns:1fr}.corpus-card{padding:17px}.corpus-card h3{font-size:15px}.bank-tools{gap:8px}.bank-tools select{flex:1;min-width:180px}.bank-tools>span{flex-basis:100%}.pagination{align-items:flex-start;flex-direction:column}.bank-result-head{flex-wrap:wrap}.scene-section{align-items:flex-start;flex-direction:column}}

/* Additional scenes and source correction details. */
.tabs{flex-wrap:wrap}.tabs .tab{white-space:normal}.correction-note{border:1px solid #cbd8bd;margin:16px 0}.correction-note .text-link{text-decoration:underline;overflow-wrap:anywhere}.source-details{overflow-wrap:anywhere}

/* Stage 3: accessible scene storytelling, inside the main card on all widths. */
.lesson-story-preview{margin:-8px -9px 20px;border-radius:12px;overflow:hidden;background:#eeeadd}.lesson-story-preview img{display:block;width:100%;height:auto}
.scene-explorer{margin:22px 0;background:#f5f4eb;border:1px solid #e2e5d7;border-radius:16px;padding:16px}.scene-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.scene-heading h3{font-size:15px;margin-top:3px}.scene-heading .eyebrow{font-size:9px;letter-spacing:1.5px}.scene-steps{display:flex;gap:7px;margin:14px 0}.scene-step{flex:1;min-width:0;border:1px solid #dce2d3;border-radius:9px;background:#fffef7;padding:8px 6px;font-size:11px;line-height:1.6}.scene-step span{display:block;font-family:Georgia,serif;font-size:12px;color:#8c987d}.scene-step.active{background:var(--green);color:#fffef5;border-color:var(--green)}.scene-step.active span{color:#d0dcc3}.scene-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:center}.scene-window{position:relative;overflow:hidden;margin:0;background:#ece9df;border-radius:10px;width:100%;min-width:0}.scene-window img{position:absolute;top:0;width:300%;max-width:none;height:100%;object-fit:fill;display:block}.scene-copy{min-width:0}.scene-caption-row{display:flex;align-items:flex-start;gap:8px}.scene-caption-row .english{font-size:17px;line-height:1.65}.scene-caption-row .speaker-btn{width:31px;height:31px}.scene-translation{margin-top:10px;font-size:12px;color:#728067;line-height:1.9}.scene-copy .target-chips{margin:12px 0}.scene-question{font-size:12px;border-top:1px solid #dde2d5;margin:12px 0 8px;padding-top:10px;color:#65745b}.scene-question strong{display:block;margin-bottom:4px;color:var(--green)}.scene-hint-toggle{border:1px solid #dce2d3;border-radius:10px;background:#f8f8f1;color:var(--green);padding:9px 12px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;width:100%}.scene-hint-toggle .small{margin-left:auto;color:#899476}.practice-scene{margin:14px 0 24px}.scene-hint-note{font-size:11px;color:#7e816d;margin:-12px 0 16px}.scene-explorer .target-chip{white-space:normal;overflow-wrap:anywhere}
@media(max-width:1050px){.scene-content{grid-template-columns:1fr}.scene-window{max-width:380px;margin:0 auto}.scene-copy{padding-top:2px}}
@media(max-width:600px){.scene-explorer{padding:12px;margin:18px 0}.scene-heading{align-items:flex-start;gap:8px}.scene-heading .pill{font-size:9px}.scene-heading h3{font-size:14px}.scene-step{font-size:10px;padding:7px 4px}.scene-caption-row .english{font-size:17px}.lesson-story-preview{margin:-3px -2px 17px}}

/* Stage 4: example discovery within the complete library. */
.example-collection{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:18px;padding:20px 22px;border:1px solid var(--line);border-radius:16px;background:#eef2e8}.example-collection h2{font-size:17px}.example-collection p{margin-top:6px;font-size:12px;color:#697762}.example-collection .btn{flex-shrink:0}.example-badge{display:inline-block;padding:1px 7px;margin-top:6px;border-radius:5px;background:#eaf0e3;color:#526b44;font-size:10px}.bank-tools #content-filter{width:170px}.empty-inline .btn{margin-top:14px}@media(max-width:600px){.example-collection{padding:17px}.bank-tools label{flex-basis:100%}.bank-tools #content-filter,.bank-tools #topic-filter{width:100%;flex-basis:100%}}

/* Stage 8: categorized practice and compact, keyboard-accessible scene navigation. */
.practice-filters{gap:8px;margin-bottom:12px}.practice-filters .tab{display:flex;align-items:center;gap:7px;min-height:44px}.practice-filters .tab span{font-size:10px;opacity:.75}.practice-count{font-size:12px;color:var(--muted);margin-bottom:20px}.practice-switcher{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,1fr);align-items:center;gap:20px;padding:18px 22px;margin-bottom:22px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}.practice-switcher>div{min-width:0}.current-practice-title{font-size:17px;font-weight:600;margin-top:8px;overflow-wrap:anywhere}.practice-select-field .field-label{margin:0 0 5px}.practice-select-field select{width:100%;min-width:0;font-size:13px;min-height:44px}.practice-select-field .small{font-size:11px;margin-top:5px}
@media(max-width:600px){.practice-filters{gap:5px}.practice-filters .tab{padding:7px 10px;gap:4px;flex:1;justify-content:center}.practice-switcher{grid-template-columns:1fr;gap:13px;padding:16px;margin-bottom:17px}.current-practice-title{font-size:16px}.practice-count{margin-bottom:14px}}

.practice-select-row{display:flex;gap:8px;align-items:center}.practice-select-row select{flex:1}.practice-select-row .btn{flex-shrink:0;min-height:44px;padding:9px 15px}


/* Stage 9: individual word illustrations, always hidden during recall. */
.image-collection{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:14px;padding:20px 22px;border:1px solid #e4d8bb;border-radius:16px;background:#f8f1e3}.image-collection h2{font-size:17px}.image-collection p{margin-top:6px;font-size:12px;color:#7b735f;line-height:1.8}.image-collection>div{flex:1;min-width:200px}.image-collection .btn{flex-shrink:0}.image-badge{display:inline-block;padding:1px 7px;margin-top:6px;border-radius:5px;background:#f5e8cc;color:#806537;font-size:10px;line-height:1.8}.example-badge+.image-badge{margin-left:5px}.vocab-word-heading{display:flex;align-items:center;gap:12px;min-width:0}.vocab-word-copy{min-width:0;flex:1}.word-thumbnail{display:block;width:64px;height:64px;object-fit:contain;flex-shrink:0;border-radius:10px;background:#f8f3e9;border:1px solid #ece4d4}.word-illustration{margin:22px 0;padding:16px;border:1px solid #e8dfcc;border-radius:16px;background:#faf6ed;overflow:hidden}.word-illustration-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.word-illustration-heading .eyebrow{font-size:9px;letter-spacing:1.5px}.word-illustration-heading .image-badge{margin:0;flex-shrink:0}.word-illustration-image{display:block;width:100%;max-width:560px;height:auto;max-height:420px;object-fit:contain;border-radius:10px;margin:0 auto}.word-illustration figcaption{font-size:12px;line-height:1.9;color:#746c59;margin:12px 0 0;overflow-wrap:anywhere}.word-illustration figcaption strong{display:block;color:#536b48;font-size:11px;margin-bottom:3px}
@media(max-width:600px){.image-collection{padding:17px}.image-collection>div{min-width:0;flex-basis:100%}.vocab-word-heading{gap:8px;align-items:flex-start}.word-thumbnail{width:48px;height:48px;border-radius:8px}.word-illustration{padding:12px;margin:18px 0}.word-illustration-image{max-height:320px}.word-illustration-heading{gap:8px}}
