@font-face{font-family:ReadingSans;src:local('Microsoft YaHei'),local('PingFang SC');font-display:swap}
@font-face{font-family:ReadingSerif;src:local('Source Han Serif SC'),local('Noto Serif CJK SC'),local('SimSun');font-display:swap}
:root{--canvas:#edf1e9;--rail:#e3eadd;--surface:#fcfcf7;--soft:#f2f5ee;--ink:#283c31;--muted:#596a5b;--line:#d5dece;--green:#3c5e47;--green-light:#e1eadb;--red:#9a593e;--amber:#906f36;--shadow:0 12px 32px #21352209;--reading-size:19px;--sans:ReadingSans,'Trebuchet MS',sans-serif;--serif:ReadingSerif,Georgia,serif;--latin:Georgia,'Times New Roman',serif}
:root[data-theme=paper]{--canvas:#f2eee5;--rail:#e9e4d8;--surface:#fffcf5;--soft:#f6f2e9;--ink:#343d30;--muted:#616957;--line:#dcd7c9;--green:#526045;--green-light:#e9ecdf}
*{box-sizing:border-box}html,body{height:100%;margin:0}body{font-family:var(--sans);font-size:14px;line-height:1.65;background:var(--canvas);color:var(--ink)}button,input{font:inherit;color:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button,a,input{-webkit-tap-highlight-color:transparent}button{border:0;background:none}button:disabled,.disabled{opacity:.4;cursor:default;pointer-events:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--green);outline-offset:4px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}button,a{touch-action:manipulation}#app{height:100%}.skip-link{position:fixed;top:-60px;left:12px;padding:10px;background:var(--surface);z-index:100}.skip-link:focus{top:12px}.app-shell{display:grid;grid-template-columns:218px minmax(0,1fr);height:100dvh;overflow:hidden}.sidebar{background:var(--rail);border-right:1px solid var(--line);padding:34px 19px 21px;display:flex;flex-direction:column;min-height:0}.brand{display:flex;align-items:center;gap:11px;padding:0 9px}.brand-seal{font:29px var(--serif);width:43px;height:47px;background:var(--green);color:#f8faee;border-radius:11px 4px 11px 4px;display:grid;place-items:center;transform:rotate(-4deg)}.brand b{font-size:21px;letter-spacing:1px;font-family:var(--serif);display:block}.brand small{display:block;font-size:10px;color:var(--muted);letter-spacing:1.3px;margin-top:2px}.nav-caption{font-size:10px;letter-spacing:1.7px;color:var(--muted);margin:49px 16px 15px}.sidebar nav{display:grid;gap:8px}.nav-item{display:flex;align-items:center;gap:12px;padding:13px 15px;border-radius:8px;color:var(--muted);font-size:13px;min-height:48px}.nav-item:hover{background:#ffffff45;color:var(--ink)}.nav-item.active{background:var(--green);color:#f9fcf5;box-shadow:0 5px 10px #233c3512;font-weight:700}.nav-count{margin-left:auto;font-size:11px;background:#ffffff20;border-radius:5px;min-width:22px;text-align:center}.nav-item:not(.active) .nav-count{background:#ffffff60}.sidebar-foot{margin-top:auto;padding:20px 9px 0}.book-edition{display:flex;gap:12px;align-items:center;border-top:1px solid #cad5c4;padding-top:24px}.edition-icon{height:47px;width:37px;background:#d3deca;border:1px solid #b9cbb0;border-left:4px solid #94a785;border-radius:2px 5px 5px 2px;display:grid;place-items:center;font:9px var(--sans);writing-mode:vertical-rl;letter-spacing:1.8px}.book-edition b{font-size:12px;display:block}.book-edition small{font-size:10px;color:var(--muted)}.sidebar-foot p{font-size:10px;color:var(--muted);display:flex;gap:6px;align-items:center;margin-top:23px;white-space:nowrap}.sidebar-foot p svg{width:14px;height:14px}.main-column{display:flex;flex-direction:column;min-width:0;min-height:0}.topbar{height:76px;min-height:76px;border-bottom:1px solid var(--line);padding:0 39px;display:flex;align-items:center;gap:14px}.workspace-title{font-size:12px;color:var(--muted);white-space:nowrap}.workspace-title>span{margin:0 12px;color:#a9b5a4}.preview-label{border:1px solid #b9c9b0;color:var(--muted);font-size:10px;padding:2px 8px;border-radius:4px}.top-actions{margin-left:auto;display:flex;gap:17px;align-items:center}.search-trigger{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted);min-height:42px}.search-trigger svg{width:17px;height:17px}.search-trigger kbd{font:9px var(--sans);border:1px solid var(--line);padding:1px 5px;border-radius:4px;margin-left:18px}.icon-button{height:38px;width:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:7px;flex-shrink:0}.icon-button:hover:not(:disabled){background:var(--green-light);border-color:var(--line)}.page-scroll{overflow:auto;flex:1;min-height:0;padding:37px 39px 28px;scrollbar-gutter:stable}.page-scroll:focus,.reader-page:focus{outline:none}.page-heading{display:flex;justify-content:space-between;gap:25px;align-items:center;max-width:1240px;margin:0 auto 29px}.eyebrow{display:flex;gap:18px;font:10px var(--sans);letter-spacing:2px;color:var(--muted);margin-bottom:13px}.eyebrow span{letter-spacing:1px;color:var(--red)}h1{font-size:30px;font-weight:700;line-height:1.4;letter-spacing:.5px}.library h1{font-family:var(--serif);font-size:34px}.library h1 em{font-style:normal;color:var(--green)}.page-heading p,.method-heading p{font-size:13px;line-height:1.9;color:var(--muted);margin-top:13px}.shelf-stamp{width:96px;height:96px;border:1px solid #aabda0;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;color:#788f6b;transform:rotate(10deg);flex-shrink:0;margin-right:15px;outline:1px solid #b8c6af;outline-offset:-7px}.shelf-stamp span{font-size:9px;letter-spacing:3px;margin-left:3px}.shelf-stamp b{font:28px var(--serif);letter-spacing:5px;margin-left:5px}.shelf-toolbar{max-width:1240px;margin:0 auto 17px;display:flex;align-items:center;justify-content:space-between;gap:15px}.shelf-toolbar h2{font-size:14px;font-weight:700;display:flex;align-items:center;gap:10px}.shelf-toolbar h2 span{font:12px var(--latin);background:var(--green-light);border:1px solid var(--line);border-radius:20px;min-width:26px;text-align:center}.shelf-toolbar>span{font-size:11px;color:var(--muted)}.method-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;max-width:1240px;margin:auto}.method-card{background:var(--surface);border:1px solid var(--line);padding:18px 18px 14px;border-radius:10px;min-height:198px;display:flex;flex-direction:column;position:relative;transition:transform .16s,border-color .16s,box-shadow .16s}.method-card.available{border-color:#a8bea0;background:#f8faf2}.method-card.available:before{position:absolute;left:18px;right:18px;bottom:-1px;content:'';height:2px;background:#92a785;opacity:.65}.method-card:hover{transform:translateY(-3px);border-color:var(--green);box-shadow:var(--shadow)}.method-card-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:13px}.method-symbol{width:38px;height:38px;background:#edf0e7;display:grid;place-items:center;color:var(--green);font:25px var(--serif);border-radius:9px 3px 9px 3px}.available .method-symbol{background:#e3e9d8}.symbol-sound,.symbol-logic{color:#885c3e;background:#efe8d9!important}.method-no{font:italic 15px var(--latin);color:#8f9e87;margin-top:1px}.method-card h3{font-size:15px;font-weight:700;line-height:1.5;white-space:nowrap}.method-card p{font-size:11px;color:var(--muted);line-height:1.8;margin:7px 0 15px;max-width:174px}.method-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:auto;border-top:1px solid var(--line);padding-top:10px;font-size:10px;color:var(--muted)}.method-card-bottom svg{width:17px;height:17px}.available .method-card-bottom{color:var(--green)}.library-bottom{max-width:1240px;margin:22px auto 0;display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.library-bottom p{font-size:11px;color:var(--muted);display:flex;gap:8px;align-items:flex-start;max-width:420px}.library-bottom p svg{width:16px;height:16px;margin-top:2px}.quiet-caption{font-size:11px;color:var(--muted)}.resume-link{display:flex;align-items:center;gap:5px;font-size:11px;white-space:nowrap;color:var(--green)}.resume-link b{font:italic 16px var(--latin);font-weight:700}.resume-link svg{width:17px;height:17px}
/* Second level: one list, clear filters, bounded pagination. */
.breadcrumbs{display:flex;align-items:center;gap:10px;min-width:0;font-size:11px;color:var(--muted)}.breadcrumbs svg{width:12px;height:12px;stroke-width:1.5}.breadcrumbs a:hover{color:var(--green);text-decoration:underline;text-underline-offset:4px}.breadcrumbs [aria-current]{color:var(--ink);font-weight:600}.method-page>.breadcrumbs{margin-bottom:27px}.method-heading{display:flex;gap:24px;align-items:center;margin-bottom:30px}.large-method-symbol{height:83px;width:83px;display:grid;place-items:center;position:relative;background:#dee6d4;border:1px solid #c7d5bc;border-radius:16px 5px 16px 5px;font:43px var(--serif);flex-shrink:0;color:var(--green)}.large-method-symbol small{position:absolute;bottom:6px;right:9px;font:11px var(--latin);color:#7e9471}.method-heading .eyebrow{margin-bottom:5px;font-size:10px;letter-spacing:1px}.method-heading h1{font-size:29px}.method-heading p{margin-top:7px}.method-heading>.button{margin-left:auto}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--green);color:#fffdf4;border:1px solid var(--green);padding:11px 17px;min-height:43px;border-radius:7px;font-size:12px;font-weight:600;white-space:nowrap;transition:background .15s}.button:hover{background:#2b4a35}.button.secondary{color:var(--ink);background:transparent;border-color:var(--line)}.button.secondary:hover{background:var(--green-light)}.button.small{font-size:11px;padding:8px 12px;min-height:39px}.button svg{width:17px;height:17px}.list-panel{border:1px solid var(--line);border-radius:11px;background:var(--surface);overflow:hidden;box-shadow:0 3px 10px #24382103}.list-panel-title{padding:20px 24px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:15px}.list-panel-title h2{font-size:14px}.list-panel-title>span{font-size:11px;color:var(--muted)}.list-toolbar{display:flex;justify-content:space-between;align-items:center;padding:15px 24px;gap:15px;border-bottom:1px solid var(--line);background:var(--soft)}.filter-tabs{display:flex;align-items:center;gap:4px}.filter-tabs button{font-size:11px;color:var(--muted);padding:7px 12px;min-height:35px;border:1px solid transparent;border-radius:5px;white-space:nowrap}.filter-tabs button.selected{background:var(--surface);border-color:var(--line);color:var(--green);font-weight:700;box-shadow:0 1px 3px #213b2210}.list-search{display:flex;align-items:center;gap:7px;color:var(--muted);width:200px;max-width:35%;font-size:11px}.list-search svg{width:16px;height:16px}.list-search input{border:0;border-bottom:1px solid transparent;background:transparent;min-width:0;width:100%;padding:7px 2px;outline-offset:2px}.list-search input::placeholder{color:var(--muted)}.word-row{display:flex;align-items:center;gap:19px;padding:20px 24px;border-bottom:1px solid var(--line);min-height:103px;transition:background .15s}.word-row:last-child{border-bottom:0}.word-row:hover{background:var(--soft)}.row-index{font:italic 13px var(--latin);color:#8c9a82;min-width:22px}.row-copy{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.row-copy .english{font:28px var(--latin);color:var(--ink)}.row-copy .group-title{font-size:18px;font-weight:700}.row-copy small{font-size:11px;color:var(--muted);line-height:1.8}.unit-kind{font-size:10px;color:var(--muted);border:1px solid var(--line);border-radius:4px;padding:3px 8px;white-space:nowrap}.row-chevron{color:#93a08a;width:16px;height:16px}.status-badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:var(--muted);white-space:nowrap;border-radius:30px;padding:4px 9px;background:#eef1e8}.status-badge svg{height:12px;width:12px;stroke-width:2}.status-badge.known{background:#e4ecdf;color:#3a6045}.status-badge.fuzzy{background:#f3ecd8;color:#82652e}.status-badge.unknown{background:#f2e6df;color:#8f5138}.group-count{font-size:11px;color:var(--muted);white-space:nowrap}.list-pagination{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);gap:15px}.list-pagination>div{display:flex;align-items:center;gap:11px}.list-pagination .icon-button{width:30px;height:30px}.list-pagination svg{width:16px;height:16px}.page-footnote{font-size:11px;color:var(--muted);margin-top:19px}.empty-state{min-height:315px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:35px;text-align:center}.empty-icon{display:grid;place-items:center;width:55px;height:55px;background:var(--green-light);border:1px solid var(--line);border-radius:50%;color:var(--green);margin-bottom:19px}.empty-icon svg{height:23px;width:23px}.empty-state h2{font-size:18px}.empty-state p{font-size:12px;color:var(--muted);line-height:1.9;margin:11px 0 21px;max-width:380px}.heading-count{font:22px var(--latin);border-left:1px solid #b6c5ac;color:var(--muted);padding-left:18px;margin-left:18px}.collection-symbol{height:68px;width:68px;border-radius:16px;background:var(--green-light);display:grid;place-items:center;color:var(--green);border:1px solid var(--line)}.collection-symbol svg{width:28px;height:28px}
/* Third level: a single reading workspace; the mark bar stays within reach. */
.reader-page{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.reader-toolbar{padding:19px 39px;display:flex;justify-content:space-between;align-items:center;min-height:62px;gap:12px;flex-shrink:0}.reader-position{font-size:10px;color:var(--muted);white-space:nowrap}.reader-scroll{overflow:auto;min-height:0;flex:1;padding:0 39px 26px;scrollbar-gutter:stable}.reader-workspace{max-width:1100px;margin:0 auto;min-width:0}.reading-card{background:var(--surface);border:1px solid var(--line);border-radius:11px;padding:31px 34px 0;box-shadow:var(--shadow);min-width:0}.word-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.word-eyebrow{display:flex;gap:10px;align-items:center;font-size:10px;letter-spacing:.5px;color:var(--muted)}.word-eyebrow .status-badge{font-size:9px;padding:2px 7px;letter-spacing:0}.word-head h1{font:58px/1.2 var(--latin);letter-spacing:-1.5px;margin:12px 0 9px;color:var(--ink);overflow-wrap:anywhere}.pronunciation{display:flex;align-items:center;gap:13px;color:var(--muted);font:16px var(--latin)}.audio-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 11px;border:1px solid var(--line);border-radius:25px;font:11px var(--sans);color:var(--green);white-space:nowrap;background:transparent}.audio-button svg{width:17px;height:17px}.audio-button:hover,.audio-button.playing{background:var(--green-light);border-color:#a1b195}.audio-button.playing svg{animation:audio-pulse .9s ease infinite}.pronunciation .audio-button{height:32px;min-height:32px;padding:7px;border-radius:50%}.pronunciation .audio-button span{display:none}.conceal-button{display:flex;align-items:center;gap:6px;font-size:11px;min-height:36px;color:var(--muted);padding:6px 0;white-space:nowrap}.conceal-button svg{height:17px;width:17px}.conceal-button:hover{color:var(--green)}.word-meaning{font-size:var(--reading-size);margin:17px 0 23px;display:flex;align-items:baseline;gap:11px;min-height:35px;line-height:1.7}.part-of-speech{font:italic 16px var(--latin);color:var(--muted)}.word-meaning strong{font-weight:700}.word-meaning.concealed{color:var(--muted);font-size:14px;letter-spacing:1px}.memory-content{border-top:1px solid var(--line);padding:21px 0 24px}.content-label{display:flex;align-items:center;gap:14px;color:var(--green);font-size:11px;font-weight:700;margin-bottom:22px}.content-label:before{content:'';height:12px;width:3px;background:#8ca37b;border-radius:1px}.content-label small{font-weight:400;color:var(--muted);font-size:10px}.sound-hook{display:flex;align-items:center;gap:26px;margin:0 0 21px}.sound-hook>span:first-child{font:italic 37px var(--latin)}.sound-hook .hook-link{font:28px var(--latin);color:#99a18f}.sound-hook strong{font:700 33px var(--serif);color:var(--red);position:relative}.sound-hook strong:after{content:'';height:5px;background:#ead7bb;position:absolute;bottom:0;left:0;right:0;z-index:0;opacity:.45}.memory-copy{font-size:var(--reading-size);line-height:1.85;max-width:720px}.memory-copy b{font-weight:700}.mnemonic-audio{margin-top:14px}.practice-suggestion{font-size:11px;color:var(--muted);background:var(--soft);border:1px dashed var(--line);border-radius:6px;padding:11px 14px;margin-top:19px}.practice-suggestion b{color:var(--green);font-weight:600;margin-left:5px}.reading-card-foot{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 0;color:var(--muted);font-size:10px}.text-button{display:inline-flex;align-items:center;gap:6px;font-size:11px;min-height:34px;color:var(--green);white-space:nowrap}.text-button:hover{text-decoration:underline;text-underline-offset:4px}.text-button svg{width:14px;height:14px}.mark-bar{border-top:1px solid var(--line);background:var(--surface);padding:16px 39px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-shrink:0;box-shadow:0 -5px 20px #23382203}.mark-area{display:flex;align-items:center;gap:17px}.mark-label{font-size:11px;color:var(--muted);white-space:nowrap}.mark-buttons{display:flex;gap:9px}.mark-button{display:flex;align-items:center;justify-content:center;gap:9px;padding:10px 19px;border:1px solid var(--line);border-radius:7px;background:transparent;font-size:13px;font-weight:600;min-height:44px;min-width:104px}.mark-button svg{height:17px;width:17px}.mark-button.unknown svg{color:var(--red)}.mark-button.fuzzy svg{color:var(--amber)}.mark-button.known svg{color:var(--green)}.mark-button:hover{background:var(--soft);border-color:#9dab92}.mark-button.selected.unknown{background:#f0e5de;border-color:#b6846e;color:#804d37}.mark-button.selected.fuzzy{background:#f0ead9;border-color:#b29c62;color:#78602d}.mark-button.selected.known{background:var(--green);border-color:var(--green);color:#fff}.mark-button.selected.known svg{color:inherit}.word-navigation{display:flex;gap:7px;align-items:center}.word-navigation .button{min-height:44px}.reader-workspace.grouped{display:grid;grid-template-columns:185px minmax(0,1fr);gap:19px}.group-rail{background:#e8eee2;border:1px solid #cedac5;border-radius:10px;align-self:start;overflow:hidden}.group-anchor{padding:20px 17px 18px;border-bottom:1px solid #cedac5;display:flex;flex-direction:column}.group-anchor>span{font-size:10px;color:var(--muted)}.group-anchor>strong{font:22px var(--latin);font-weight:700;margin:6px 0;color:var(--green)}.group-anchor i{font-style:normal;font-size:17px;padding:0 3px}.group-anchor small{font-size:10px;color:var(--muted)}.group-words{padding:9px}.group-word{display:flex;align-items:center;gap:9px;padding:12px 8px;min-height:69px;border-radius:6px;border:1px solid transparent}.group-word:hover{background:#f5f7f0}.group-word.active{border-color:#b3c7a5;background:var(--surface);box-shadow:0 2px 4px #21352207}.group-order{font:10px var(--latin);color:#8b9b80;align-self:flex-start;margin-top:7px}.group-word>span:nth-child(2){min-width:0;flex:1}.group-word b{display:block;font:23px var(--latin);line-height:1.1;letter-spacing:-.5px}.group-word small{display:block;font-size:9px;color:var(--muted);margin-top:5px}.mini-status{color:#9eac95;margin-left:auto}.mini-status svg{width:12px;height:12px}.mini-status.known{color:var(--green)}.mini-status.fuzzy{color:var(--amber)}.mini-status.unknown{color:var(--red)}.grouped .reading-card{padding:26px 27px 0}.grouped .word-head h1{font-size:51px}.grouped .word-head{align-items:flex-start}.grouped .conceal-button{margin-top:1px}.grouped .conceal-button span{font-size:10px}.split-word{display:flex;gap:14px;align-items:center;font:39px var(--latin);letter-spacing:-1px;margin:15px 0 23px}.split-word>span{color:var(--red)}.split-word>span:not(:first-child){color:var(--ink)}.split-word strong{color:var(--green);background:var(--green-light);padding:4px 13px;border-radius:7px;font-weight:400}.root-reason{display:flex;align-items:center;gap:16px;font-size:var(--reading-size);margin-bottom:15px;flex-wrap:wrap}.root-reason strong{font-weight:500}.root-reason b{color:var(--green)}.root-reason svg{width:23px;height:23px;color:#8c9e7c}.root-content .memory-copy{color:var(--muted);font-size:calc(var(--reading-size) - 2px)}.story-layout{display:grid;grid-template-columns:minmax(0,1fr) 172px;gap:28px;align-items:center}.word-parts{display:flex;align-items:flex-start;gap:22px;margin:1px 0 21px}.word-parts span{display:flex;flex-direction:column}.word-parts b{font:32px var(--latin);color:var(--green);line-height:1.2}.word-parts small{font-size:11px;color:var(--muted);margin-top:5px}.word-parts i{font:22px var(--latin);color:#9da891;line-height:1.7}.logic-result{display:flex;gap:10px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:13px;margin-top:24px}.logic-result strong{font-size:calc(var(--reading-size) + 1px);color:var(--green)}.logic-result svg{width:20px}.mnemonic-image{margin:0;background:#e7e8d8;border:1px solid #d7d9c8;padding:6px;border-radius:8px;transform:rotate(1deg)}.image-window{width:100%;aspect-ratio:2 / 3;overflow:hidden;border-radius:4px}.image-window img{display:block;width:300%;max-width:none;height:100%;transform:translateX(-66.666666%)}.mnemonic-image figcaption{font-size:10px;color:#526447;text-align:center;padding:7px 0 2px;font-weight:600}.recall-cover{border-top:1px solid var(--line);min-height:278px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px}.recall-cover>span{font:italic 42px var(--latin);color:#8da07e;margin-bottom:4px}.recall-cover h2{font-size:19px;margin-bottom:9px}.recall-cover p{font-size:12px;color:var(--muted);margin-bottom:21px}
/* Focused overlays: search, method switch, examples and reading settings. */
.dialog-backdrop{position:fixed;inset:0;background:#24342b47;backdrop-filter:blur(3px);z-index:40;display:flex;align-items:center;justify-content:center;padding:24px}.dialog{background:var(--surface);border:1px solid #c5d0bb;border-radius:15px;padding:27px 29px;width:min(100%,510px);max-height:85dvh;overflow:auto;box-shadow:0 25px 100px #18332328}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.dialog h2{font-size:20px;font-weight:700}.dialog-description{color:var(--muted);font-size:12px;margin:-7px 0 21px}.dialog fieldset{border:0;margin:0 0 24px;padding:0}.dialog legend{font-size:12px;font-weight:700;margin-bottom:12px}.theme-options{display:flex;gap:12px}.theme-choice{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:7px;padding:11px 13px;flex:1;font-size:12px;min-height:48px}.theme-choice.selected{border-color:var(--green);background:var(--soft)}.theme-choice i{width:21px;height:21px;border:1px solid #bdc6b3;border-radius:50%;background:#e3eadd}.theme-choice.paper i{background:#eee5d6;border-color:#cfc3ae}.theme-choice svg{width:15px;height:15px;margin-left:auto}.font-options{display:flex;gap:12px}.font-options button{display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--line);border-radius:7px;flex:1;min-height:53px;font-size:11px;color:var(--muted)}.font-options button b{color:var(--ink)}.font-options button.selected{background:var(--green-light);border-color:var(--green)}.settings-preview{background:var(--soft);padding:18px;border-radius:7px;line-height:1.9}.settings-note{font-size:10px;color:var(--muted);margin-top:17px}.global-search{display:flex;align-items:center;gap:12px;background:var(--soft);border:1px solid #aaba9d;border-radius:8px;padding:11px 14px}.global-search input{width:100%;background:transparent;border:0;min-width:0;font-size:14px;padding:4px 0}.global-search input:focus{outline:none}.global-search:focus-within{outline:2px solid var(--green);outline-offset:2px}.search-empty{padding:31px 0 12px;color:var(--muted);font-size:12px;text-align:center}.search-results{margin-top:17px}.search-results a{display:flex;gap:14px;align-items:center;padding:13px 7px;border-bottom:1px solid var(--line)}.search-results a:hover{background:var(--soft)}.search-results a>span:first-child{display:flex;flex-direction:column;flex:1}.search-results b{font:25px var(--latin)}.search-results small{font-size:11px;color:var(--muted)}.search-results a>span:nth-child(2){font-size:10px;color:var(--muted)}.search-results svg{height:14px;width:14px}.method-switch-list{display:grid;gap:4px}.method-switch-list a{display:flex;align-items:center;gap:15px;padding:11px 10px;border-radius:5px;font-size:12px;min-height:45px}.method-switch-list a:hover,.method-switch-list a.current{background:var(--green-light)}.method-switch-list a>span{font:12px var(--latin);color:var(--muted)}.method-switch-list small{margin-left:auto;color:var(--muted);font-size:10px}.method-switch-list svg{width:14px;height:14px}.example-word{font:italic 27px var(--latin);color:var(--green);margin-bottom:21px}.example-sentence{font:31px/1.5 var(--latin)}.example-sentence mark{background:#e4ebd5;color:var(--green);padding:0 4px}.example-translation{font-size:var(--reading-size);line-height:1.85;margin:19px 0 21px}.example-dialog{width:min(100%,565px)}#notice{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translate(-50%,18px);background:#2d4335;color:#f5faee;box-shadow:0 5px 20px #1226111c;border-radius:8px;padding:12px 17px;display:flex;align-items:center;gap:18px;font-size:12px;z-index:60;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s;max-width:calc(100vw - 35px);white-space:nowrap}#notice.visible{opacity:1;transform:translate(-50%,0);pointer-events:auto}.in-reader~#notice{bottom:100px}#notice button{color:#e4d49e;text-decoration:underline;text-underline-offset:4px;padding:0;font-size:12px}@keyframes audio-pulse{50%{opacity:.45}}
@media(min-width:1600px){.page-scroll{padding-top:48px}.library .page-heading{margin-bottom:40px}.method-card{min-height:220px;padding:22px}.method-card h3{font-size:17px}.method-card p{font-size:12px}.method-grid{gap:18px}.method-card-top{margin-bottom:19px}}
@media(max-width:1230px){.app-shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:29px 13px 20px}.brand{padding:0 5px;gap:9px}.brand b{font-size:20px}.brand small{font-size:9px;letter-spacing:.8px}.brand-seal{width:37px;height:41px;font-size:26px}.nav-item{padding:12px 13px}.sidebar-foot{padding:20px 5px 0}.sidebar-foot p{font-size:9px}.topbar{padding:0 28px}.page-scroll{padding:30px 28px 23px}.method-grid{gap:10px}.method-card{padding:16px 12px 12px;min-height:198px}.method-card h3{font-size:14px}.method-card p{font-size:10px}.method-card-bottom{font-size:9px}.reader-toolbar{padding:17px 28px}.reader-scroll{padding:0 28px 24px}.mark-bar{padding:15px 28px}.mark-label{display:none}.mark-button{min-width:91px;padding:10px 14px}.reader-workspace.grouped{grid-template-columns:168px minmax(0,1fr);gap:15px}.grouped .reading-card{padding:25px 23px 0}.grouped .conceal-button span{display:none}.grouped .word-head h1{font-size:48px}.group-words{padding:7px}.group-word{padding:11px 6px}.group-word b{font-size:21px}.group-anchor{padding:19px 14px}.group-anchor>strong{font-size:20px}.story-layout{gap:20px;grid-template-columns:minmax(0,1fr) 150px}.reading-card{padding:27px 29px 0}.list-toolbar{padding:15px 20px}.filter-tabs button{padding:7px 9px}.unit-kind{display:none}}
@media(max-width:1020px){.app-shell{grid-template-columns:168px minmax(0,1fr)}.sidebar{padding:29px 10px 19px}.brand{gap:8px}.brand b{font-size:18px}.brand small{font-size:8px;letter-spacing:.6px}.brand-seal{width:33px;height:38px;font-size:24px}.nav-caption{font-size:9px;margin-left:12px}.nav-item{font-size:12px;gap:9px;padding:12px 11px}.sidebar-foot p{white-space:normal;align-items:flex-start;font-size:9px}.topbar{padding:0 24px;height:66px;min-height:66px}.search-trigger kbd{display:none}.workspace-title{font-size:10px}.workspace-title>span{margin:0 7px}.top-actions{gap:9px}.preview-label{font-size:9px}.page-scroll{padding:26px 24px 22px}.library h1{font-size:30px}.page-heading p{font-size:12px}.shelf-stamp{width:76px;height:76px;margin-right:0}.shelf-stamp b{font-size:22px}.shelf-stamp span{font-size:8px}.method-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.method-card{padding:13px 10px 10px;min-height:179px}.method-card-top{margin-bottom:13px}.method-symbol{height:30px;width:30px;font-size:21px}.method-no{font-size:12px}.method-card h3{font-size:12px;white-space:normal;min-height:36px;display:flex;align-items:center}.method-card p{font-size:10px;line-height:1.7;margin:6px 0 12px}.method-card-bottom{font-size:9px}.method-card-bottom svg{width:14px;height:14px}.method-card.available:before{left:10px;right:10px}.library-bottom{flex-wrap:wrap;gap:10px}.quiet-caption{display:none}.reader-toolbar{padding:15px 24px;min-height:55px}.reader-scroll{padding:0 24px 22px}.mark-bar{padding:13px 24px;gap:13px}.mark-buttons{gap:7px}.mark-button{min-width:85px;padding:10px 12px;font-size:12px;gap:7px}.word-navigation .button{font-size:11px;padding:10px 12px}.word-navigation .icon-button{width:30px}.word-head h1{font-size:53px}.reading-card{padding:26px 25px 0}.reader-workspace.grouped{grid-template-columns:145px minmax(0,1fr);gap:13px}.grouped .reading-card{padding:23px 21px 0}.group-word{gap:6px}.group-word b{font-size:20px}.group-order{display:none}.group-anchor>strong{font-size:18px}.group-anchor small{font-size:9px}.grouped .word-head h1{font-size:42px}.grouped .word-eyebrow{font-size:9px;flex-wrap:wrap;gap:5px}.split-word{font-size:34px;gap:10px}.root-reason{gap:9px;font-size:17px}.story-layout{grid-template-columns:minmax(0,1fr) 130px;gap:15px}.logic-content .memory-copy{font-size:calc(var(--reading-size) - 1px)}.word-parts{gap:17px}.word-parts b{font-size:29px}.logic-result{font-size:11px;gap:7px}.logic-result strong{font-size:18px}.sound-hook{gap:18px}.sound-hook>span:first-child{font-size:34px}.sound-hook strong{font-size:30px}.list-toolbar{flex-wrap:wrap;gap:9px}.list-search{width:180px;max-width:100%}.method-heading{gap:17px}.method-heading h1{font-size:26px}.method-heading p{font-size:12px}.method-heading .button{font-size:10px;padding:7px 9px}.large-method-symbol{height:70px;width:70px;font-size:37px}.word-row{gap:13px;padding:18px 20px}.row-copy .group-title{font-size:16px}.group-count{font-size:10px}.row-copy small{font-size:10px}.reading-card-foot{font-size:9px;gap:10px}.reading-card-foot .text-button{font-size:10px}.content-label{gap:9px}.content-label small{font-size:9px}}
@media(max-width:760px){.app-shell{display:block;height:100dvh;padding-bottom:70px}.sidebar{position:fixed;bottom:0;left:0;right:0;z-index:20;padding:0 10px max(6px,env(safe-area-inset-bottom));height:70px;border-right:0;border-top:1px solid var(--line);background:var(--surface);box-shadow:0 -4px 15px #24382105}.brand,.nav-caption,.sidebar-foot{display:none}.sidebar nav{display:flex;justify-content:space-around;gap:8px;height:100%;align-items:center}.nav-item{display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center;flex:1;min-height:52px;padding:7px 5px;border-radius:9px;font-size:10px;position:relative}.nav-item>svg{width:20px;height:20px}.nav-item.active{background:var(--green-light);color:var(--green);box-shadow:none}.nav-count{position:absolute;top:5px;left:calc(50% + 8px);min-width:14px;padding:0 3px;line-height:15px;font-size:8px;background:#e3eadd!important;border:1px solid var(--surface)}.main-column{height:100%}.topbar{height:58px;min-height:58px;padding:0 20px;gap:9px}.workspace-title{font-size:11px;font-weight:700;color:var(--ink)}.workspace-title>span{margin:0 5px;font-weight:400}.preview-label{font-size:8px;padding:2px 5px;white-space:nowrap}.top-actions{gap:5px}.search-trigger{min-height:38px;width:33px;justify-content:center}.search-trigger>span{display:none}.search-trigger svg{width:19px;height:19px}.top-actions>.icon-button{height:34px;width:31px}.page-scroll{padding:23px 20px 20px;scrollbar-gutter:auto}.page-heading{margin-bottom:24px;gap:10px;align-items:flex-start}.eyebrow{font-size:8px;letter-spacing:1.7px;margin-bottom:10px;gap:11px}.library h1{font-size:29px}.page-heading p{font-size:11px;line-height:1.85;margin-top:11px;max-width:290px}.shelf-stamp{display:none}.shelf-toolbar{margin-bottom:13px;gap:10px}.shelf-toolbar h2{font-size:12px;gap:8px}.shelf-toolbar h2 span{font-size:10px;min-width:22px}.shelf-toolbar>span{font-size:9px}.method-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.method-card{min-height:137px;padding:13px 13px 10px;display:grid;grid-template-columns:1fr;position:relative}.method-card-top{position:absolute;right:11px;top:11px;margin:0}.method-symbol{height:28px;width:28px;font-size:20px;border-radius:6px 2px 6px 2px}.method-no{display:none}.method-card h3{font-size:13px;display:block;min-height:0;line-height:1.5;max-width:calc(100% - 31px);padding-top:3px;margin-bottom:8px}.method-card p{font-size:10px;line-height:1.75;margin:0 0 11px;max-width:140px;align-self:start}.method-card-bottom{font-size:9px;align-self:end;padding-top:8px}.method-card.available:before{left:13px;right:13px}.library-bottom{margin-top:18px}.library-bottom p{font-size:10px;max-width:100%;gap:6px}.library-bottom p svg{width:14px;height:14px}.resume-link{font-size:10px}.resume-link b{font-size:15px}.breadcrumbs{font-size:10px;gap:7px}.method-page>.breadcrumbs{margin-bottom:23px}.method-heading{flex-wrap:wrap;gap:13px;margin-bottom:22px}.large-method-symbol{height:57px;width:57px;border-radius:10px 3px;font-size:30px}.large-method-symbol small{font-size:9px;right:6px;bottom:3px}.method-heading>div{flex:1;min-width:0}.method-heading .eyebrow{font-size:9px;letter-spacing:1px}.method-heading h1{font-size:24px}.method-heading p{font-size:11px;margin-top:7px}.method-heading>.button{margin-left:70px;margin-top:-3px;min-height:32px;font-size:10px}.method-heading>.button svg{width:14px;height:14px}.list-panel{border-radius:8px}.list-panel-title{padding:16px 15px;gap:10px}.list-panel-title h2{font-size:12px}.list-panel-title>span{font-size:9px}.list-toolbar{padding:11px 12px;gap:9px}.filter-tabs{width:100%;gap:4px}.filter-tabs button{font-size:10px;min-height:33px;padding:7px 11px}.list-search{width:100%;max-width:100%;font-size:11px;padding:0 7px}.list-search input{min-height:31px}.list-search svg{width:14px;height:14px}.word-row{padding:17px 14px;gap:10px;min-height:91px;flex-wrap:wrap}.row-index{min-width:15px;font-size:11px}.row-copy .english{font-size:26px}.row-copy .group-title{font-size:14px;line-height:1.6}.row-copy small{font-size:10px;line-height:1.8}.status-badge{font-size:9px;gap:4px;padding:3px 7px}.status-badge svg{width:11px;height:11px}.row-chevron{height:12px;width:12px}.group-count{font-size:9px;order:4;margin-left:25px;width:100%}.list-pagination{padding:11px 14px;font-size:9px;gap:8px}.list-pagination>div{gap:6px}.list-pagination .icon-button{height:28px;width:26px}.page-footnote{font-size:10px;line-height:1.8;margin-top:14px}.empty-state{min-height:300px;padding:28px 18px}.empty-state h2{font-size:17px}.empty-state p{font-size:11px;max-width:260px}.empty-state .button{font-size:11px}.collection-page h1{font-size:27px}.heading-count{font-size:21px;padding-left:15px;margin-left:15px}.collection-symbol{height:50px;width:50px;border-radius:11px;margin-top:17px}.collection-symbol svg{height:23px;width:23px}.reader-toolbar{padding:13px 20px;min-height:47px}.reader-position{font-size:9px}.reader-scroll{padding:0 15px 16px;scrollbar-gutter:auto}.reading-card{padding:22px 20px 0;border-radius:9px}.word-head{align-items:flex-start;gap:9px}.word-eyebrow{font-size:9px;gap:8px}.word-eyebrow .status-badge{font-size:8px;padding:2px 6px}.word-head h1{font-size:49px;margin:12px 0 9px;letter-spacing:-1.3px}.pronunciation{font-size:14px;gap:10px}.pronunciation .audio-button{height:31px;min-height:31px;width:31px}.conceal-button{margin-top:0;width:32px;min-height:32px;justify-content:center}.conceal-button>span{display:none}.word-meaning{font-size:var(--reading-size);margin:15px 0 20px;line-height:1.6;min-height:30px;gap:9px}.part-of-speech{font-size:14px}.memory-content{padding:18px 0 20px}.content-label{font-size:10px;margin-bottom:20px;gap:10px}.content-label small{font-size:9px}.sound-hook{gap:15px;margin-bottom:18px}.sound-hook>span:first-child{font-size:31px}.sound-hook .hook-link{font-size:23px}.sound-hook strong{font-size:28px}.memory-copy{font-size:calc(var(--reading-size) - 1px);line-height:1.85}.mnemonic-audio{margin-top:15px}.audio-button{font-size:11px;min-height:37px}.practice-suggestion{padding:10px 12px;font-size:10px;line-height:1.9;margin-top:16px}.practice-suggestion b{display:block;margin-left:0}.reading-card-foot{padding:10px 0;gap:13px;line-height:1.8;font-size:9px}.reading-card-foot>span{max-width:180px}.reading-card-foot .text-button{font-size:10px;min-height:35px}.mark-bar{padding:11px 15px 10px;flex-direction:column;gap:9px}.mark-area{width:100%;display:block}.mark-buttons{gap:8px}.mark-button{flex:1;min-width:0;min-height:43px;padding:9px 10px;font-size:13px;gap:7px;border-radius:6px}.word-navigation{width:100%;justify-content:flex-end;min-height:31px}.word-navigation .button{min-height:30px;font-size:10px;padding:5px 10px;border-color:transparent;background:transparent;color:var(--green)}.word-navigation .button:hover{background:var(--green-light)}.word-navigation .button svg{height:15px;width:15px}.word-navigation .icon-button{height:30px;width:30px}.reader-workspace.grouped{display:flex;flex-direction:column;gap:12px}.group-rail{border-radius:8px;width:100%;background:transparent;overflow:visible}.group-anchor{padding:10px 12px;flex-direction:row;align-items:center;gap:12px;border:0;border-bottom:1px solid var(--line);background:#e8eee2;border-radius:8px 8px 0 0}.group-anchor>span{font-size:9px}.group-anchor>strong{margin:0;font-size:18px}.group-anchor small{display:none}.group-words{display:flex;padding:6px;gap:4px;overflow:auto}.group-word{min-height:49px;padding:7px 5px;gap:3px;min-width:58px;flex:1;position:relative;justify-content:center}.group-word>span:nth-child(2){flex:none}.group-word b{font-size:16px;letter-spacing:-.4px}.group-word small{font-size:8px;max-width:70px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px;display:none}.mini-status{position:absolute;top:2px;right:2px}.mini-status svg{width:8px;height:8px}.mini-status.unseen{display:none}.grouped .reading-card{padding:20px 20px 0}.grouped .word-head h1{font-size:46px}.grouped .word-eyebrow{font-size:9px;gap:8px}.grouped .conceal-button{margin-top:0}.split-word{font-size:35px;margin:8px 0 21px;gap:13px}.split-word strong{padding:4px 11px}.root-reason{font-size:calc(var(--reading-size) - 1px);gap:10px;margin-bottom:13px}.root-content .memory-copy{font-size:calc(var(--reading-size) - 2px)}.story-layout{grid-template-columns:minmax(0,1fr) 110px;gap:14px;align-items:start}.word-parts{gap:14px;margin-bottom:15px;flex-wrap:wrap}.word-parts b{font-size:25px}.word-parts small{font-size:9px}.word-parts i{font-size:18px}.logic-content .memory-copy{font-size:calc(var(--reading-size) - 2px);line-height:1.8}.logic-result{margin-top:16px;gap:7px;line-height:1.7;font-size:11px}.logic-result strong{font-size:18px}.logic-result svg{width:15px;height:15px}.mnemonic-image{padding:4px;transform:none}.mnemonic-image figcaption{font-size:8px;line-height:1.6;padding-top:5px}.recall-cover{min-height:275px;padding:20px 10px}.recall-cover h2{font-size:18px}.recall-cover p{font-size:11px}.recall-cover .button{font-size:11px}.dialog-backdrop{padding:16px}.dialog{padding:21px 20px;border-radius:12px;max-height:86dvh}.dialog-heading{margin-bottom:18px}.dialog h2{font-size:19px}.dialog-description{font-size:11px}.theme-choice{font-size:11px;padding:10px;gap:7px}.theme-options{gap:9px}.font-options{gap:9px}.font-options button{gap:7px;font-size:10px}.dialog legend{font-size:11px}.global-search{padding:10px 12px}.global-search input{font-size:13px}.search-empty{font-size:11px;line-height:1.8}.search-results a{gap:10px}.search-results b{font-size:24px}.search-results a>span:nth-child(2){font-size:9px}.method-switch-list a{font-size:11px;gap:12px;padding:9px 7px;min-height:42px}.method-switch-list small{font-size:9px}.example-sentence{font-size:27px}.example-translation{font-size:calc(var(--reading-size) - 1px)}#notice{left:50%;bottom:80px;max-width:calc(100vw - 25px);padding:11px 13px;font-size:10px;gap:12px}#notice button{font-size:10px}}
@media(max-width:365px){.topbar{padding:0 15px}.page-scroll{padding-left:15px;padding-right:15px}.workspace-title{font-size:10px}.preview-label{font-size:7px}.method-card{padding:12px 10px 9px}.method-card h3{font-size:12px}.reader-scroll{padding-left:11px;padding-right:11px}.reading-card,.grouped .reading-card{padding-left:17px;padding-right:17px}.word-head h1{font-size:44px}.story-layout{grid-template-columns:1fr 94px;gap:12px}.word-parts{gap:9px}.word-parts b{font-size:23px}.group-word{min-width:51px}.group-word b{font-size:15px}.sound-hook{gap:12px}.sound-hook>span:first-child{font-size:28px}.sound-hook strong{font-size:26px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

@media(min-width:761px) and (max-height:800px){.library{padding-top:26px}.library .page-heading{margin-bottom:20px}.library .method-card{min-height:176px}.library .method-card-top{margin-bottom:9px}.library .method-card p{margin-bottom:11px}.library-bottom{margin-top:16px}}


body:has(.in-reader) #notice{bottom:98px}@media(max-width:760px){body:has(.in-reader) #notice{bottom:184px}}


@media(min-width:1100px){.reader-workspace:not(.grouped) .reading-card{display:grid;grid-template-columns:minmax(240px,.9fr) minmax(0,1.6fr);column-gap:27px;padding-top:30px}.reader-workspace:not(.grouped) .word-identity{position:relative;padding-bottom:65px}.reader-workspace:not(.grouped) .word-head{display:block}.reader-workspace:not(.grouped) .word-head h1{font-size:clamp(46px,4.3vw,58px);margin-top:24px}.reader-workspace:not(.grouped) .conceal-button{position:absolute;bottom:25px;left:0}.reader-workspace:not(.grouped) .memory-content{border-top:0;border-left:1px solid var(--line);padding:0 0 26px 29px;min-height:355px}.reader-workspace:not(.grouped) .content-label{margin-bottom:26px}.reader-workspace:not(.grouped) .reading-card-foot{grid-column:1 / -1}.reader-workspace:not(.grouped) .recall-cover{border-top:0;border-left:1px solid var(--line);min-height:355px;margin-bottom:20px}.reader-workspace:not(.grouped) .story-layout{grid-template-columns:minmax(0,1fr) 133px;gap:21px}.reader-workspace:not(.grouped) .logic-result{gap:8px}.reader-workspace:not(.grouped) .word-parts{gap:18px}}


/* On phones the shelf is a compact directory; explanations live one level deeper. */
@media(max-width:760px){.library .page-heading{margin-bottom:18px}.library .page-heading p{font-size:10px;line-height:1.8}.library .method-card{display:flex;min-height:94px;padding:12px 12px 10px}.library .method-card h3{font-size:12px;padding-top:4px;margin-bottom:17px;max-width:calc(100% - 26px)}.library .method-card p{display:none}.library .method-symbol{width:24px;height:24px;font-size:18px}.library .method-card-top{right:10px;top:13px}.library .method-card-bottom{width:100%;padding-top:8px}.library .library-bottom{margin-top:13px}.library .library-bottom>p{display:none}}


@media(max-width:760px){.library{padding-bottom:12px}}


@media(max-width:365px){.word-head h1{font-size:clamp(38px,12.2vw,44px)}}


@media(max-width:760px){.top-actions>.icon-button{width:40px;height:40px}.search-trigger{width:40px;min-height:40px}.pronunciation .audio-button{height:38px;min-height:38px;width:38px}.conceal-button{width:36px;min-height:36px}.mark-button{min-height:44px}}@media(max-width:365px){.topbar .preview-label{display:none}}

/* Continuous study: keep navigation light and make the learning result unmistakable. */
.list-start{display:flex;align-items:center;gap:17px}.list-start>span{font-size:11px;color:var(--muted)}.library-bottom>.button{font-size:11px;min-height:40px;padding:9px 14px}.library-bottom{align-items:center}.library-bottom>p{max-width:300px}.study-controls{display:flex;align-items:center;gap:20px;flex-shrink:0}.order-switch{display:flex;background:#e4eadf;border:1px solid var(--line);padding:3px;border-radius:7px;gap:2px}.order-switch button{font-size:11px;min-height:30px;padding:5px 13px;color:var(--muted);border-radius:4px}.order-switch button.active{color:var(--green);background:var(--surface);font-weight:700;box-shadow:0 1px 4px #25452b10}.sequence-nav{display:flex;align-items:center;gap:5px}.sequence-nav>span{font-size:11px;min-width:42px;text-align:center;color:var(--muted);font-variant-numeric:tabular-nums}.sequence-nav .icon-button{width:30px;height:30px}.sequence-nav svg{width:17px;height:17px}.study-toolbar .breadcrumbs{min-width:0;flex:1}.result-bar{display:block;padding:13px 39px 19px;position:relative;flex-shrink:0}.result-bar-heading{display:flex;align-items:center;gap:20px;margin-bottom:12px;min-height:20px}.result-bar-heading>strong{font-size:12px;font-weight:700}.result-bar-heading>span{font-size:10px;color:var(--muted)}.undo-last{font-size:11px;color:var(--green);padding:0 0 0 4px;margin-left:auto;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}.result-bar .mark-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.result-bar .mark-button{justify-content:flex-start;min-width:0;min-height:78px;width:100%;border-radius:9px;padding:14px 23px;gap:16px;transition:background .15s,transform .15s,box-shadow .15s;border-width:1px}.result-bar .mark-button>svg:first-child{width:26px;height:26px}.result-bar .mark-button>span{display:flex;flex-direction:column;text-align:left;gap:3px}.result-bar .mark-button b{font-size:20px;line-height:1.3;letter-spacing:.5px}.result-bar .mark-button small{font-size:11px;line-height:1.6;font-weight:400;opacity:.86}.result-bar .result-arrow{margin-left:auto;height:19px;width:19px;opacity:.7}.result-bar .mark-button.unknown{background:#f2e6df;border-color:#d6b6a6;color:#814d37}.result-bar .mark-button.fuzzy{background:#f1ebda;border-color:#d3c294;color:#78602e}.result-bar .mark-button.known{background:var(--green);border-color:var(--green);color:#fcfff7}.result-bar .mark-button.known svg{color:inherit}.result-bar .mark-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 10px #1b342711;filter:brightness(.97)}.result-bar .mark-button:active:not(:disabled){transform:translateY(0)}.session-progress{position:absolute;bottom:0;left:0;right:0;height:3px;background:#dfe7d8}.session-progress i{display:block;height:100%;background:#869e73;transition:width .25s}.result-bar .mark-button:disabled{opacity:.62}.result-bar .mark-button:focus-visible{outline-width:3px;outline-offset:3px}body:has(.result-bar) #notice{bottom:158px}
/* Prefix knowledge is available before the chapter and beside every root family. */
.affix-intro{display:flex;align-items:center;gap:16px;border:1px solid #c4d3b8;border-radius:9px;background:#e5eddf;padding:17px 20px;margin-bottom:22px}.affix-intro-icon{height:39px;width:39px;display:grid;place-items:center;color:var(--green);background:var(--surface);border:1px solid var(--line);border-radius:8px;flex-shrink:0}.affix-intro h2{font-size:14px;font-weight:700}.affix-intro p{font-size:11px;color:var(--muted);margin-top:5px}.affix-intro p b{font:700 15px var(--latin);color:var(--green)}.affix-intro>.button{margin-left:auto}.group-affix-guide{padding:9px 11px 12px;border-bottom:1px solid #cedac5;background:#f0f4e9}.affix-guide-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.affix-guide-heading>b{font-size:10px;color:var(--muted)}.affix-guide-heading>.text-button{font-size:9px;min-height:25px;padding:0;gap:1px}.affix-guide-heading svg{height:11px;width:11px}.affix-chip-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.affix-chip{display:flex;align-items:center;justify-content:space-between;gap:4px;border:1px solid #dbe3d2;border-radius:5px;background:#fbfcf7;padding:5px 7px;min-height:31px}.affix-chip b{font:700 17px var(--latin);color:var(--green)}.affix-chip span{font-size:10px;color:var(--muted);white-space:nowrap}.affix-chip.current{background:#dfead4;border-color:#8faa79;box-shadow:inset 2px 0 #68874f}.affix-chip.current b,.affix-chip.current span{color:#36512b}.guide-hidden{font-size:10px;color:var(--muted);padding:5px 0}.grouped .group-anchor{padding:15px 14px}.grouped .group-anchor>strong{margin-bottom:0}.grouped .group-word{min-height:53px;padding-top:8px;padding-bottom:8px}.grouped .group-word b{font-size:22px}.grouped .group-word small{font-size:9px;margin-top:4px}.split-word.explained{gap:14px;align-items:flex-start;margin-bottom:20px;flex-wrap:wrap}.split-word.explained>span{display:flex;flex-direction:column;align-items:center;min-width:46px;gap:7px;padding:4px 0}.split-word.explained b{font:38px/1.1 var(--latin);font-weight:400;letter-spacing:-1px}.split-word.explained small{font:12px var(--sans);color:var(--muted);letter-spacing:0}.split-word.explained>i{font:24px var(--latin);font-style:normal;color:#849477;margin-top:10px}.split-word.explained .root-part{background:var(--green-light);padding:5px 13px 8px;border-radius:7px;color:var(--green)}.split-word.explained>span:first-child b{color:var(--red)}.split-word.explained>span:first-child small{color:#7f543b;font-weight:700}.affix-dialog{width:min(100%,630px);display:flex;flex-direction:column;overflow:hidden;max-height:84dvh}.affix-dialog .dialog-heading{flex-shrink:0}.affix-search{margin-bottom:15px;padding:8px 12px;flex-shrink:0}.affix-search input{font-size:12px}.affix-reference-head{display:grid;grid-template-columns:145px 1fr;gap:15px;padding:8px 12px;background:var(--soft);border-bottom:1px solid var(--line);font-size:10px;color:var(--muted);flex-shrink:0}.affix-reference-list{overflow:auto;min-height:0;flex:1;padding-right:3px}.affix-reference-row{display:grid;grid-template-columns:145px 1fr 28px;gap:15px;align-items:center;min-height:46px;padding:10px 12px;border-bottom:1px solid var(--line)}.affix-reference-row>b{font:700 19px var(--latin);color:var(--green)}.affix-reference-row>span{font-size:12px;line-height:1.8}.affix-reference-row>small{font-size:9px;color:#637657;white-space:nowrap}.affix-reference-row.current{background:#e4edd9;box-shadow:inset 3px 0 #728f5c}.affix-reference-note{font-size:10px;line-height:1.8;color:var(--muted);margin-top:15px;flex-shrink:0}
/* End of a fixed study round: keep the next action inside the learning flow. */
.session-summary{max-width:780px;margin:35px auto 0;border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:37px 40px 26px;text-align:center}.completion-seal{width:55px;height:55px;display:grid;place-items:center;background:#e0ead5;border:1px solid #b9cdae;color:var(--green);border-radius:50%;margin:0 auto 20px}.completion-seal svg{width:27px;height:27px}.session-summary .eyebrow{justify-content:center;letter-spacing:2px;font-size:10px}.session-summary h1{font-size:29px}.session-summary>p{font-size:12px;color:var(--muted);margin-top:12px}.result-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:31px 0}.result-totals>div{display:flex;align-items:center;justify-content:center;gap:11px;padding:18px 9px;border:1px solid var(--line);border-radius:8px;background:var(--soft)}.result-totals b{font:34px var(--latin)}.result-totals span{font-size:11px}.result-totals svg{width:18px;height:18px}.result-totals .unknown{color:#94563d}.result-totals .fuzzy{color:#88703b}.result-totals .known{color:var(--green)}.summary-actions{display:flex;justify-content:center;gap:11px;flex-wrap:wrap}.summary-secondary{display:flex;gap:25px;justify-content:center;margin-top:18px}.summary-secondary .text-button{font-size:11px}.complete-page>.breadcrumbs{max-width:780px;margin:auto}
@media(max-width:1230px){.result-bar{padding-left:28px;padding-right:28px}.result-bar .mark-button{padding:14px 18px}.grouped .group-word b{font-size:21px}.grouped .group-anchor>strong{font-size:20px}.affix-chip{padding:4px 5px}.affix-chip b{font-size:16px}.affix-chip span{font-size:9px}.affix-intro{padding:15px}.affix-intro h2{font-size:13px}.affix-intro p{font-size:10px}}
@media(max-width:1020px){.result-bar{padding-left:24px;padding-right:24px}.result-bar .mark-button{gap:10px;padding:14px;min-height:73px}.result-bar .mark-button b{font-size:18px}.result-bar .mark-button small{font-size:10px}.result-bar .mark-button>svg:first-child{width:23px;height:23px}.result-bar .result-arrow{width:16px;height:16px}.study-controls{gap:10px}.order-switch button{padding:5px 10px}.affix-intro{flex-wrap:wrap;gap:11px}.affix-intro>.button{margin-left:50px}.group-affix-guide{padding:8px}.affix-chip-grid{gap:4px}.affix-chip b{font-size:15px}.affix-chip span{font-size:8px}.affix-chip{padding:4px;gap:3px;min-height:29px}.grouped .group-anchor>strong{font-size:18px}.split-word.explained b{font-size:33px}.split-word.explained small{font-size:11px}.split-word.explained{gap:10px}.session-summary{padding:30px 25px}.session-summary h1{font-size:26px}}
@media(min-width:761px){.grouped .group-rail{position:sticky;top:0}.grouped .reading-card{padding-top:24px}.grouped .word-meaning{margin-bottom:17px}.grouped .memory-content{padding-top:18px}.grouped .content-label{margin-bottom:18px}}
@media(max-width:760px){.list-start{gap:8px}.list-start>span{font-size:9px}.list-start>.button{font-size:10px;padding:7px 10px;min-height:34px}.library-bottom>.button{font-size:10px;min-height:38px}.library-bottom{gap:12px}.study-toolbar{padding:10px 15px;min-height:52px;gap:9px}.study-toolbar .breadcrumbs{overflow:hidden;white-space:nowrap}.study-toolbar .breadcrumbs>a{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block}.study-toolbar .breadcrumbs>svg,.study-toolbar .breadcrumbs>[aria-current]{display:none}.study-controls{gap:7px}.order-switch{padding:2px;gap:1px;border-radius:6px}.order-switch button{padding:5px 10px;min-height:29px;font-size:10px}.sequence-nav{gap:1px}.sequence-nav .icon-button{width:27px;height:30px}.sequence-nav>span{font-size:10px;min-width:33px}.sequence-nav svg{width:15px;height:15px}.result-bar{padding:10px 15px 13px;display:block}.result-bar-heading{gap:9px;margin-bottom:9px;flex-wrap:wrap;min-height:17px}.result-bar-heading>strong{font-size:11px}.result-bar-heading>span{font-size:9px;margin-left:auto}.undo-last{font-size:9px;order:3;min-height:18px;line-height:18px}.result-bar .mark-buttons{gap:8px}.result-bar .mark-button{min-height:77px;flex-direction:column;justify-content:center;gap:5px;padding:10px 5px;border-radius:8px}.result-bar .mark-button>svg:first-child{width:21px;height:21px}.result-bar .mark-button>span{text-align:center;gap:2px}.result-bar .mark-button b{font-size:18px;line-height:1.35}.result-bar .mark-button small{font-size:9px;line-height:1.4}.result-bar .result-arrow{display:none}.result-bar .mark-button:hover:not(:disabled){transform:none}.session-progress{height:3px}body:has(.result-bar) #notice{bottom:235px;font-size:11px}.affix-intro{padding:14px 13px;gap:10px;margin-bottom:17px}.affix-intro h2{font-size:12px;line-height:1.7}.affix-intro p{font-size:10px;line-height:1.8;max-width:220px}.affix-intro p b{font-size:14px}.affix-intro-icon{width:32px;height:32px}.affix-intro-icon svg{width:18px;height:18px}.affix-intro>div{flex:1;min-width:0}.affix-intro>.button{margin-left:42px;font-size:10px;min-height:32px}.grouped .group-anchor{padding:9px 11px;border-bottom:1px solid #cedac5}.grouped .group-anchor>strong{font-size:19px}.group-affix-guide{padding:5px 8px 8px}.affix-guide-heading{margin-bottom:4px}.affix-guide-heading>b{font-size:9px}.affix-guide-heading .text-button{min-height:24px;font-size:9px}.affix-chip-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.affix-chip{min-height:26px;padding:3px 7px;justify-content:center;gap:8px}.affix-chip b{font-size:15px}.affix-chip span{font-size:9px}.grouped .group-words{padding:5px;gap:4px}.grouped .group-word{min-height:40px;padding:7px 3px}.grouped .group-word b{font-size:16px}.grouped .group-word small{display:none}.grouped .reading-card{padding-top:18px}.grouped .word-head h1{font-size:43px;margin-top:10px}.grouped .word-meaning{margin:12px 0 16px}.grouped .memory-content{padding-top:16px}.grouped .content-label{margin-bottom:15px}.split-word.explained{gap:10px;margin-bottom:17px}.split-word.explained b{font-size:34px}.split-word.explained small{font-size:11px}.split-word.explained>span{gap:6px;min-width:40px}.split-word.explained>i{font-size:20px;margin-top:12px}.split-word.explained .root-part{padding-left:11px;padding-right:11px}.root-content .memory-copy{font-size:calc(var(--reading-size) - 2px)}.affix-dialog{padding:20px 17px;max-height:86dvh}.affix-reference-head{grid-template-columns:100px 1fr;gap:11px;padding:7px 8px;font-size:9px}.affix-reference-row{grid-template-columns:100px 1fr 24px;gap:11px;padding:10px 8px;min-height:46px}.affix-reference-row>b{font-size:17px}.affix-reference-row>span{font-size:11px}.affix-reference-row>small{font-size:8px}.affix-reference-note{font-size:9px;margin-top:12px}.affix-search{padding:8px 10px;margin-bottom:12px}.affix-search input{font-size:11px}.session-summary{padding:26px 17px 21px;margin-top:24px;border-radius:9px}.session-summary h1{font-size:23px}.session-summary>p{font-size:11px;line-height:1.8}.result-totals{gap:7px;margin:24px 0}.result-totals>div{padding:13px 5px;flex-direction:column;gap:3px}.result-totals b{font-size:31px}.result-totals svg{width:17px;height:17px}.result-totals span{font-size:10px}.summary-actions{gap:9px}.summary-actions>.button{width:100%;font-size:11px;min-height:43px}.summary-secondary{gap:19px;margin-top:16px}.summary-secondary .text-button{font-size:10px}}
@media(max-width:365px){.study-toolbar{padding-left:12px;padding-right:12px;gap:6px}.study-controls{gap:4px}.order-switch button{padding:5px 8px}.sequence-nav .icon-button{width:25px}.result-bar{padding-left:11px;padding-right:11px}.result-bar-heading>strong{font-size:10px}.result-bar-heading>span{font-size:8px}.result-bar .mark-button b{font-size:17px}.affix-chip{padding-left:4px;padding-right:4px;gap:5px}.affix-chip span{font-size:8px}.affix-reference-row{grid-template-columns:86px 1fr 21px;gap:8px}.affix-reference-head{grid-template-columns:86px 1fr;gap:8px}}

/* Keep the whole word family visible on ordinary laptop screens. */
@media(min-width:761px) and (max-height:850px){
  .grouped .group-anchor{padding:11px 14px}
  .grouped .group-anchor>strong{font-size:21px}
  .grouped .group-word{min-height:43px;padding-top:7px;padding-bottom:7px}
  .grouped .group-word b{font-size:21px}
  .grouped .group-word small{display:none}
  .grouped .reading-card{padding-top:22px}
  .grouped .word-head h1{font-size:48px;margin:8px 0 6px}
  .grouped .word-meaning{margin:10px 0 13px;min-height:30px}
  .grouped .memory-content{padding:15px 0}
  .grouped .content-label{margin-bottom:12px}
  .grouped .split-word.explained{margin-bottom:14px}
  .grouped .split-word.explained b{font-size:34px}
  .grouped .root-reason{margin-bottom:10px}
}

/* Optional self-test is a visible action, separate from the result buttons. */
.conceal-button.recall-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;width:auto;max-width:100%;padding:10px 14px;color:#634b1e;background:#f3dda1;border:1px solid #bb9248;border-radius:9px;box-shadow:0 3px 0 #a7803030;font-size:12px;font-weight:700;white-space:nowrap;transition:background .15s,box-shadow .15s}
.conceal-button.recall-toggle>span{display:inline-block}
.conceal-button.recall-toggle .recall-badge{font-size:10px;line-height:1.6;padding:1px 5px;background:#755722;color:#fff9e9;border-radius:4px;letter-spacing:1px}
.conceal-button.recall-toggle .recall-label{font-size:12px}
.conceal-button.recall-toggle svg{width:18px;height:18px}
.conceal-button.recall-toggle:hover{color:#533d14;background:#edce7e;border-color:#a57b31;box-shadow:0 4px 8px #86611b22}
.conceal-button.recall-toggle[aria-pressed="true"]{background:var(--green);border-color:var(--green);color:#fffdf3;box-shadow:0 3px 0 #253f2d25}
.conceal-button.recall-toggle[aria-pressed="true"] .recall-badge{background:#fff8dd;color:var(--green)}
.conceal-button.recall-toggle:focus-visible{outline:3px solid var(--green);outline-offset:4px}
@media(min-width:761px) and (max-width:1230px){.grouped .conceal-button.recall-toggle .recall-label{display:none}}
@media(max-width:760px){
  .word-head{position:relative}
  .word-head>div{width:100%;min-width:0}
  .word-head .word-eyebrow{padding-right:85px;min-height:34px}
  .conceal-button.recall-toggle{position:absolute;top:-5px;right:0;bottom:auto;left:auto;min-height:44px;min-width:76px;padding:9px 11px;gap:7px;margin:0}
  .conceal-button.recall-toggle .recall-label{display:none}
  .conceal-button.recall-toggle .recall-badge{font-size:12px;background:transparent;color:inherit;padding:0;letter-spacing:0}
}

/* Keep the word being judged unmistakable when several words share a lesson. */
.result-bar-heading.has-current-word{flex-wrap:wrap;gap:8px 20px;margin-bottom:11px}
.result-word-prompt{display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-width:0;max-width:100%}
.result-prompt-label{font-size:12px;font-weight:700;color:var(--ink);white-space:nowrap}
.result-current-word{display:inline-block;max-width:100%;font:700 30px/1.15 var(--latin);letter-spacing:.1px;color:#fffaf2;background:#bd5121;border:1px solid #a6441c;border-radius:8px;padding:5px 15px 7px;box-shadow:0 2px 5px #7438161c;overflow-wrap:anywhere}
.result-prompt-question{font-size:13px;font-weight:600;color:var(--ink);white-space:nowrap}
.result-bar-heading.has-current-word>span{margin-left:auto}
:root[data-theme=night] .result-current-word{background:#efa765;border-color:#ffc98c;color:#342215;box-shadow:none}
@media(max-width:760px){
  .result-bar-heading.has-current-word{gap:5px 10px;margin-bottom:9px}
  .result-word-prompt{gap:8px}.result-prompt-label{font-size:10px}
  .result-current-word{font-size:26px;padding:4px 12px 6px;border-radius:7px}
  .result-prompt-question{display:none}
  .result-bar-heading.has-current-word>span{font-size:9px;line-height:1.5}
}

/* A shared two-stage flow: judge unseen, then study and continue. */
.recall-toggle:disabled,.reveal-answer:disabled{background:#e7e8e4!important;color:#74796f!important;border:1px solid #cdd0c8!important;box-shadow:none!important;cursor:not-allowed;opacity:1}
.recall-toggle:disabled .recall-badge{background:#d2d6cc;color:#5e665b}
.recall-cover .recall-lock-note{display:block;margin-top:14px;font-size:12px;color:var(--muted)}
.recall-cover{padding:28px 12px 32px}.recall-cover h2{font-size:23px}.recall-cover p{max-width:38em;margin-left:auto;margin-right:auto}
.consolidation-actions{display:flex;gap:20px;justify-content:space-between;align-items:center}
.impression-receipt{display:flex;align-items:center;flex-wrap:wrap;gap:9px 14px}.impression-receipt .status-badge{font-size:13px;padding:9px 13px}
.impression-receipt>small{font-size:12px;color:var(--muted)}
.continue-lesson{min-height:64px;min-width:235px;justify-content:space-between;font-size:20px;flex-shrink:0}
.correct-impression{font-size:12px;text-decoration:underline;text-underline-offset:3px}
.correction-options{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line);font-size:12px}
.impression-stage .mark-button>span{flex:1}.impression-stage .mark-button{text-align:left}
:root[data-theme=night] .recall-toggle:disabled,:root[data-theme=night] .reveal-answer:disabled{background:#35413c!important;color:#adb7ac!important;border-color:#536056!important}
:root[data-theme=night] .recall-toggle:disabled .recall-badge{background:#46534a;color:#d1d9cd}
@media(max-width:760px){
  .recall-cover{padding:22px 3px}.recall-cover h2{font-size:20px}.recall-cover p{font-size:14px}
  .consolidation-actions{gap:10px}.impression-receipt{gap:6px;align-items:flex-start;flex-direction:column}.impression-receipt .status-badge{font-size:11px;padding:6px 8px}
  .impression-receipt>small{display:none}.continue-lesson{min-width:135px;min-height:60px;padding:13px 15px;font-size:17px}
  .impression-stage .mark-button{text-align:center}.impression-stage .mark-button small{font-size:9px}
  .result-bar-heading>strong{line-height:1.6}.correction-options{gap:6px}.correction-options .button{padding:8px 11px;min-height:36px}
}
/* Grouped study: assess all targets once, then teach the whole unit once. */
.group-study-card{background:var(--surface);border:1px solid var(--line);border-radius:19px;padding:28px;min-width:0}
.group-study-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:26px}
.group-study-heading h1{font-size:28px;line-height:1.4;margin:15px 0 8px;font-family:var(--sans);font-weight:700}
.group-study-heading p{font-size:14px;color:var(--muted);line-height:1.8;margin:0}
.group-study-heading .recall-toggle{flex-shrink:0;margin-top:4px;min-height:46px}
.assessment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}
.assessment-word{padding:20px 18px 12px;border:1px solid #dcbc9a;background:#fff0dc;border-radius:14px;min-width:0}
.assessment-word-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:20px}
.assessment-word h2{display:table;background:#bd5121;color:#fffaf2;border-radius:7px;font:700 31px/1.22 var(--latin);padding:3px 9px 6px;margin:0 0 9px;overflow-wrap:anywhere;max-width:100%}
.assessment-ipa{font:18px/1.4 var(--latin);color:#6b573e}
.assessment-word .audio-button{flex-shrink:0;width:38px;height:38px;background:#fff9ef;color:#674b2e;border-color:#ddc4a7}
.assessment-options{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.assessment-choice{min-height:58px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;border:1px solid #ccb79f;border-radius:8px;background:#fffaf2;color:#5c503f;font-size:14px;font-weight:700;cursor:pointer}
.assessment-choice svg{width:17px;height:17px}.assessment-choice:hover:not(:disabled){border-color:#91663a;background:#ffdfb3}.assessment-choice:focus-visible{outline:3px solid var(--green);outline-offset:2px}
.assessment-choice.is-selected.known{background:#365e46;color:#fff;border-color:#365e46}.assessment-choice.is-selected.fuzzy{background:#f1d999;color:#664c18;border-color:#bca25e}.assessment-choice.is-selected.unknown{background:#f0cdbb;color:#783d29;border-color:#ba866e}
.assessment-choice:disabled{cursor:default;opacity:1}.assessment-word.is-answered .assessment-choice:not(.is-selected){opacity:.48}
.assessment-receipt{display:block;margin-top:12px;font-size:11px;color:#705c43;min-height:17px}
.group-assessment-note{color:var(--muted);font-size:13px;margin:18px 0 0}
.group-result-main{display:flex;align-items:center;justify-content:space-between;gap:20px}
.group-stage-progress>b{font:700 30px/1.2 var(--latin);color:var(--green)}.group-stage-progress small{font:500 13px var(--sans);color:var(--muted)}
.group-stage-progress p{font-size:12px;margin:5px 0 0;color:var(--muted)}
.group-result-bar .reveal-answer{min-height:60px;min-width:235px;justify-content:space-between}
.group-result-bar .result-bar-heading>span{margin-left:auto}.group-result-bar .result-bar-heading{flex-wrap:wrap;gap:8px 15px}
.group-word-receipt{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:13px;padding-top:12px;border-top:1px solid #d9bc9870}
.group-word-receipt .status-badge{font-size:11px;padding:4px 7px}.group-word-receipt>.text-button{font-size:11px}
.group-word-correction{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px;width:100%}.group-word-correction>span{width:100%}
.group-word-correction .button{min-height:36px;padding:7px 10px;font-size:12px}
.near-lesson-foot{flex-wrap:wrap;gap:8px 15px}.near-lesson-foot>span{margin-right:auto}
.root-family-guide{display:flex;gap:24px;align-items:center;padding:20px;background:var(--soft);border:1px solid var(--line);border-radius:12px;margin-bottom:22px}
.root-family-guide>div:first-child{flex-shrink:0}.root-family-guide small{display:block;font-size:12px;color:var(--muted)}
.root-family-guide strong{display:block;font:700 26px var(--latin);margin-top:5px}.root-family-guide strong span{font-size:21px}
.root-family-guide .group-affix-guide{flex:1;margin:0;border:0;padding:0}.root-family-guide .affix-chip-grid{grid-template-columns:repeat(auto-fit,minmax(65px,1fr))}
.root-lesson-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.root-lesson-word{background:#fff0dc;border:1px solid #dcbc9a;border-radius:14px;padding:20px;min-width:0}
.root-word-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.root-word-heading h2{font:700 34px/1.2 var(--latin);margin:0;color:#56351e;overflow-wrap:anywhere}
.root-word-heading .audio-button{flex-shrink:0}.root-word-ipa{display:block;font:19px var(--latin);color:#6b573e;margin:6px 0 13px}
.root-word-meaning{display:flex;gap:8px;align-items:baseline;margin:0 0 18px;color:#56351e}.root-word-meaning strong{font-size:21px}.root-word-meaning small{font:italic 16px var(--latin)}
.root-inline-parts{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.root-inline-parts>span{display:flex;flex-direction:column;gap:2px}.root-inline-parts b{font:700 22px var(--latin);color:#774520}.root-inline-parts small{font-size:12px;color:#705c43}.root-inline-parts i{color:#987d56;font-style:normal}
.root-group-cue{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:14px;margin:13px 0 0;color:#674b2e}.root-group-cue svg{width:16px;height:16px}.root-word-example{font-size:11px;margin-top:12px}
:root[data-theme=night] .group-study-card{background:#23362e}
:root[data-theme=night] .assessment-word,:root[data-theme=night] .root-lesson-word{background:#493425;border-color:#765a39}
:root[data-theme=night] .assessment-word h2{background:#efa765;color:#342215}
:root[data-theme=night] .assessment-ipa,:root[data-theme=night] .assessment-receipt,:root[data-theme=night] .root-word-ipa,:root[data-theme=night] .root-inline-parts small,:root[data-theme=night] .root-group-cue{color:#dfc7a9}
:root[data-theme=night] .root-word-heading h2,:root[data-theme=night] .root-word-meaning,:root[data-theme=night] .root-inline-parts b{color:#ffe0b9}
:root[data-theme=night] .assessment-choice{background:#3c332b;color:#edddc6;border-color:#847259}
:root[data-theme=night] .assessment-choice.is-selected.known{background:#597b54;color:#fff}:root[data-theme=night] .assessment-choice.is-selected.fuzzy{background:#cfb56c;color:#332909}:root[data-theme=night] .assessment-choice.is-selected.unknown{background:#bd8064;color:#20190e}
@media(max-width:760px){
 .group-study-card{padding:18px 15px;border-radius:14px}.group-study-heading{gap:12px;flex-wrap:wrap;margin-bottom:20px}.group-study-heading h1{font-size:23px;margin:12px 0 7px}.group-study-heading p{font-size:12px}.group-study-heading .recall-toggle{margin:0;min-height:38px;padding:8px 12px;font-size:11px}
 .assessment-grid{grid-template-columns:1fr;gap:12px}.assessment-word{padding:16px 14px 10px}.assessment-word-heading{margin-bottom:13px}.assessment-word h2{font-size:29px}.assessment-options{gap:9px}.assessment-choice{min-height:48px;flex-direction:row;font-size:13px}.assessment-ipa{font-size:17px}
 .group-result-main{gap:10px}.group-stage-progress>b{font-size:24px}.group-stage-progress small{font-size:11px}.group-stage-progress p{font-size:10px;max-width:180px;line-height:1.6}.group-result-bar .reveal-answer{min-width:135px;min-height:54px;padding:10px 12px;font-size:12px}
 .root-family-guide{flex-direction:column;align-items:stretch;gap:14px;padding:15px}.root-lesson-grid{grid-template-columns:1fr;gap:13px}.root-lesson-word{padding:17px}.root-word-heading h2{font-size:30px}
 .group-word-receipt .status-badge{font-size:10px}.group-word-receipt>.text-button{font-size:10px}.group-word-correction .button{padding:6px 8px;font-size:11px}
}

.group-study-heading .recall-toggle{position:static;inset:auto;transform:none}.group-study-card .audio-button span{display:none}
.reader-workspace .group-study-heading .conceal-button.recall-toggle{position:static;inset:auto;transform:none}
.reading-mode-note{color:var(--muted);font-size:13px;line-height:1.6}.reading-mode-bar .button{flex-shrink:0}
@media(max-width:760px){.reading-mode-note{font-size:11px;max-width:55%}.reading-mode-bar .result-bar-heading{gap:8px}.reading-mode-bar .result-bar-heading>strong{font-size:12px}}
