:root{--blue:#2762ee;--ink:#263b5c;--muted:#8191aa;--line:#e1e9f6;--soft:#f1f5ff;--bg:#f6f8fc;--font:18px;font-family:Inter,"Segoe UI","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a4c1ff;outline-offset:3px}button{color:inherit}button svg,a svg{width:19px;height:19px;vertical-align:middle;flex-shrink:0}button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px 15px}button:hover:not(:disabled){border-color:#aec7ff;background:#f6f9ff}.primary{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 6px 18px #2762ee17}.primary:hover:not(:disabled){background:#1853df;border-color:#1853df}.secondary{background:var(--soft);border:1px solid #dce6ff;color:#3f6dd0}.quiet{background:transparent;border-color:transparent;color:#687e9f}.icon-btn{padding:9px;display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px}.site-header{height:88px;background:#fff;border-bottom:1px solid var(--line)}.header-inner{height:100%;max-width:1440px;margin:auto;padding:0 46px;display:flex;align-items:center;gap:64px}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand img{width:46px;height:46px;border-radius:12px}.brand strong{font-size:22px;font-weight:650;letter-spacing:2px}.brand small{display:block;color:var(--muted);font-size:12px;margin-top:4px;letter-spacing:2px}.site-header nav{display:flex;align-items:stretch;gap:36px;height:100%;font-size:15px}.site-header nav a{display:flex;align-items:center;border-bottom:3px solid transparent;padding-top:3px;color:#7b8ba2}.site-header nav a.active{color:var(--blue);border-color:var(--blue)}.preview-pill{margin-left:auto;white-space:nowrap;border-radius:30px;background:#f1f6ff;color:#728ab0;padding:7px 11px;font-size:12px}.preview-pill i{display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#79a3f5}.shell{max-width:1320px;margin:0 auto;padding:30px 42px 60px}.crumb{color:#91a0b7;font-size:13px;display:flex;gap:12px;align-items:center;margin-bottom:32px}.crumb a:hover{color:var(--blue)}.crumb b{font-weight:400;color:#54719b}h1,h2,h3,p{margin-top:0}.heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:30px}.heading h1{font-size:32px;font-weight:600;letter-spacing:1px;margin-bottom:12px}.heading p{margin:0;color:var(--muted);font-size:15px}.heading .count{color:#8ea1bd;font-size:13px}.shelf{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.book-card{border:1px solid var(--line);border-radius:18px;background:#fff;padding:22px;position:relative;display:flex;flex-direction:column}.book-card.featured{border-color:#c9daff;box-shadow:0 12px 40px #375f9610}.cover{position:relative;height:260px;border-radius:3px 10px 10px 3px;background:linear-gradient(130deg,#23467b,#17365f);color:#fff;overflow:hidden;box-shadow:7px 10px 15px #18366124;border-left:8px solid #112a50;display:flex;flex-direction:column;padding:24px 21px;margin:0 6px 24px}.cover:before{content:"";position:absolute;width:200px;height:200px;border:1px solid #ffffff20;right:-95px;bottom:-70px;transform:rotate(35deg)}.cover:after{content:"";position:absolute;right:-90px;bottom:-85px;border:1px solid #ffffff20;width:230px;height:230px;transform:rotate(35deg)}.cover .edition{font-size:10px;color:#b4c8e7;letter-spacing:2px}.cover .cover-title{font-size:27px;line-height:1.65;font-weight:550;letter-spacing:2px;margin-top:26px}.cover .cover-line{width:26px;height:2px;background:#8eb2ff;margin:18px 0}.cover .english{font-size:9px;letter-spacing:2px;line-height:1.8;color:#a2b8d7}.cover .publisher{margin-top:auto;font-size:11px;letter-spacing:2px;color:#d7e1f2}.book-card h2{font-size:19px;font-weight:550;margin-bottom:10px}.book-card .meta{font-size:13px;color:#899ab3;line-height:1.8;margin-bottom:20px}.book-card button{width:100%;margin-top:auto;font-size:14px;padding:12px}.cover-note{font-size:10px;position:absolute;right:12px;bottom:10px;color:#adc1de}.placeholder .cover{background:#f0f3f9;border-color:#e3e8f1;box-shadow:none;color:#b3c0d3;align-items:center;justify-content:center;padding:20px}.placeholder .cover svg{width:42px;height:42px;stroke:#c3cfe1}.placeholder .cover span{font-size:13px;letter-spacing:2px;margin-top:16px}.placeholder h2{color:#9eacc1}.placeholder .meta{color:#b0baca}.placeholder button{background:#f8faff;color:#a2b0c6}.shelf-foot{margin-top:30px;padding:20px 0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:#8da0ba;font-size:13px;gap:20px}.shelf-foot .steps{display:flex;align-items:center;gap:22px}.shelf-foot b{font-weight:400;color:#6c86ac}.intro-hero{border:1px solid #d9e6ff;background:linear-gradient(125deg,#edf4ff,#fafcff);border-radius:22px;padding:40px 45px;display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.intro-hero h1{font-size:34px;margin-bottom:15px;font-weight:600}.intro-hero p{color:#7c91b1;line-height:1.8;margin-bottom:0}.intro-hero img{width:170px;max-height:180px;object-fit:contain}.entry-row{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px 30px;margin-bottom:18px;display:flex;gap:24px;align-items:center}.entry-row .entry-icon{background:var(--soft);color:var(--blue);padding:18px;border-radius:14px}.entry-icon svg{width:28px;height:28px}.entry-row h2{font-size:21px;margin:6px 0 10px}.entry-row p{margin:0;color:#8a9bb5;font-size:14px}.entry-row small{font-size:11px;color:#6c8ed1;letter-spacing:1px}.entry-row .primary{margin-left:auto;white-space:nowrap;padding:12px 20px;border-radius:10px;font-size:14px}.entry-row.ebook{border:1px solid #aac4fa;box-shadow:0 6px 26px #2762ee09}.entry-badge{color:var(--blue);background:#edf3ff;border-radius:5px;padding:3px 6px;font-size:11px;margin-left:12px;vertical-align:middle}.reader{max-width:1480px;margin:auto;padding:24px 36px 70px}.reader-crumb{margin-bottom:22px}.reader-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:start}.toc{position:sticky;top:20px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px 13px}.toc .book-title{font-size:17px;font-weight:600;padding:0 8px;margin-bottom:6px}.toc .book-meta{font-size:12px;color:var(--muted);padding:0 8px;margin-bottom:22px}.toc-head{display:flex;justify-content:space-between;align-items:center;padding:0 8px 15px;border-bottom:1px solid var(--line);font-size:13px;margin-bottom:10px}.toc .close-toc{display:none}.toc-links{max-height:calc(100vh - 335px);overflow:auto;scrollbar-width:thin;scrollbar-color:#cbd9ef transparent}.toc-link{width:100%;border:none;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 10px;font-size:13px;border-radius:8px;color:#617898;margin:1px 0;line-height:1.5}.toc-link span:last-child{font-size:11px;color:#a2b0c4;font-variant-numeric:tabular-nums}.toc-link.active{background:#edf3ff;color:var(--blue)}.toc-link.active span:last-child{color:#648be5}.toc-link.answer{padding-left:21px;color:#95a3b9;font-size:12px}.toc-bottom{margin:16px 8px 0;padding-top:15px;border-top:1px solid var(--line);font-size:11px;color:#9caac0;line-height:1.8}.reading-area{min-width:0}.toolbar{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 18px;margin-bottom:18px;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 4px 16px #273d6b04}.page-controls{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:13px}.page-controls input{width:56px;text-align:center;padding:7px 4px;border:1px solid var(--line);border-radius:7px;color:#37609d;appearance:textfield;-moz-appearance:textfield}.page-controls input::-webkit-inner-spin-button{appearance:none}.total-pages{color:#91a2ba}.toolbar-right{display:flex;align-items:center;gap:7px}.tool{padding:8px 10px;font-size:12px;display:inline-flex;align-items:center;gap:6px;color:#6c83a5}.font-tools{display:flex;align-items:center;gap:0;border:1px solid var(--line);border-radius:8px;overflow:hidden}.font-tools button{border:0;border-radius:0;font-size:13px;min-width:32px;padding:8px;color:#6c83a5}.font-tools span{color:#9aabc2;font-size:11px;min-width:25px;text-align:center}.menu-btn{display:none}.paper{border:1px solid var(--line);border-radius:16px;background:#fff;min-height:520px;padding:34px 46px 38px;max-width:100%;box-shadow:0 4px 18px #425e8410}.paper-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:21px;margin-bottom:25px;border-bottom:1px solid #edf1f8;gap:20px}.paper-header .section{font-size:13px;color:#8ca0bf}.paper-header .page-label{font-size:12px;color:#7995bd;background:#f5f8ff;border-radius:5px;padding:5px 9px}.reading-tip{display:flex;align-items:center;gap:7px;color:#84a0c3;font-size:12px;padding:0 1px 18px}.reading-tip svg{width:16px;height:16px}.page-content{font-family:"Segoe UI","Microsoft YaHei",sans-serif;font-size:var(--font);line-height:1.95;letter-spacing:.04px;overflow-wrap:anywhere}.page-content p{margin:0 0 20px;text-align:justify;text-indent:2em}.page-content p.item{margin-bottom:12px;text-indent:0}.page-content h2{font-family:inherit;font-size:24px;font-weight:550;text-align:center;margin:4px 0 30px;color:#223c64}.page-content h3{font-size:18px;letter-spacing:.8px;text-align:center;font-weight:550;margin:25px 0 21px;color:#355680}.page-content .blank{font-size:13px;line-height:2.1;white-space:normal;word-break:break-all;color:#8a9db8;margin:9px 0 18px;text-indent:0}.word{background:none;border:none;border-radius:3px;padding:0;display:inline;font:inherit;line-height:inherit;color:inherit;vertical-align:baseline;letter-spacing:inherit}.word:hover:not(:disabled),.word.selected{background:#e9f1ff;color:#2360d9;border:0;box-shadow:0 2px #94b8ff}.gap-number{display:inline-block;min-width:44px;text-align:center;border-bottom:1px solid #91a6c7;color:#8399b9;margin:0 5px;text-indent:0;line-height:1.3;font-size:.86em}.paper-footer{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#9caec5;padding-top:26px;margin-top:25px;border-top:1px solid #edf1f8}.bottom-pager{display:flex;align-items:center;justify-content:space-between;padding:22px 0 0;font-size:13px}.bottom-pager span{color:#93a6c0}.bottom-pager button{font-size:13px;padding:10px 16px}.dictionary{position:fixed;z-index:30;right:36px;top:190px;width:340px;max-height:calc(100vh - 220px);overflow:auto;border:1px solid #cfdef9;border-radius:18px;background:#fff;box-shadow:0 18px 70px #1d3e702b;padding:24px;text-indent:0}.dictionary .dict-header{display:flex;gap:10px;align-items:start;justify-content:space-between}.dictionary h2{font-size:27px;margin:4px 0 9px;font-weight:600;overflow-wrap:anywhere}.dictionary .close-dict{margin:-10px -10px 0 0;border:0;background:#f7f9fd;color:#90a6c4;min-width:34px;padding:7px;border-radius:8px}.phonetic{color:#93a5bd;font-size:13px;margin-bottom:19px}.type-tag{display:inline-block;font-size:12px;background:#edf4ff;color:#5a80bd;border-radius:5px;padding:4px 7px;margin-bottom:10px}.meaning{font-size:16px;line-height:1.8;color:#395577;margin-bottom:18px}.lemma{font-size:12px;color:#8a9fbc;border-bottom:1px solid var(--line);padding-bottom:15px;line-height:1.8;margin-bottom:18px}.word-context{background:#f7f9fe;border-radius:9px;padding:13px;font-size:13px;line-height:1.8;color:#7890b0;max-height:130px;overflow:auto;word-break:normal}.word-context small{display:block;font-size:10px;letter-spacing:.8px;margin-bottom:5px;color:#94a6c0}.word-context mark{background:#e6efff;color:#316dd4;padding:1px 3px;border-radius:2px}.dictionary .dict-foot{font-size:11px;color:#9faec2;line-height:1.7;margin:15px 0 0}.dictionary .save-word{display:flex;justify-content:center;align-items:center;gap:7px;width:100%;margin-top:18px;font-size:13px;color:#487ac9;background:#f4f8ff;border-color:#e0eaff}.dictionary .save-word.saved{color:#398879;background:#eef9f5;border-color:#d5ece4}#shade{position:fixed;inset:0;z-index:19;background:#152c5840;backdrop-filter:blur(2px)}#toast{position:fixed;bottom:32px;left:50%;transform:translate(-50%,15px);background:#263d60;color:#fff;border-radius:11px;padding:12px 20px;font-size:13px;z-index:70;opacity:0;pointer-events:none;transition:.2s}#toast.visible{opacity:1;transform:translate(-50%,0)}.footer-note{text-align:center;color:#a0aec4;font-size:11px;margin-top:40px}.note-empty{color:#93a7c3;font-size:14px;line-height:1.9}.saved-list{display:grid;gap:8px;margin-top:16px}.saved-entry{display:flex;justify-content:space-between;align-items:center;text-align:left;font-size:14px;padding:12px}.saved-entry span{color:#94a7bf;font-size:11px}.help-line{font-size:12px;color:#97a7be;margin:20px 0 0;line-height:1.8}
@media(min-width:1450px){.reader-layout{grid-template-columns:220px minmax(0,900px);justify-content:center}.dictionary{right:max(24px,calc((100vw - 1450px)/2));width:330px}}
@media(max-width:1100px){.header-inner{padding:0 28px;gap:44px}.shell{padding:26px 28px 45px}.shelf{gap:15px}.book-card{padding:17px}.cover{height:235px;padding:19px 14px;margin:0 0 20px}.cover .cover-title{font-size:24px}.reader{padding:20px 24px 50px}.reader-layout{grid-template-columns:190px minmax(0,1fr);gap:19px}.paper{padding:28px 30px}.toolbar{padding:12px}.toolbar-right .tool span{display:none}.toc .book-title{font-size:15px}.toc{padding:18px 10px}.toc-link{font-size:12px}.dictionary{right:24px;top:170px}}
@media(max-width:760px){.site-header{height:72px}.header-inner{padding:0 18px;gap:22px}.brand{gap:8px}.brand img{width:36px;height:36px;border-radius:9px}.brand strong{font-size:19px}.brand small{font-size:10px;margin-top:2px}.site-header nav{gap:19px;font-size:13px}.site-header nav a[data-nav="home"]{display:none}.preview-pill{display:none}.shell{padding:22px 20px 35px}.crumb{font-size:11px;gap:8px;margin-bottom:24px}.heading h1{font-size:26px;margin-bottom:10px}.heading p{font-size:13px}.heading .count{display:none}.heading{margin-bottom:24px}.shelf{grid-template-columns:1fr 1fr;gap:18px 14px}.book-card{padding:15px;border-radius:13px}.cover{height:220px;padding:18px 14px;margin-bottom:19px}.cover .cover-title{font-size:23px;margin-top:20px;line-height:1.6;letter-spacing:1px}.cover .edition{font-size:9px;letter-spacing:1px}.cover .english{font-size:8px;letter-spacing:1px}.cover .cover-line{margin:12px 0}.cover .publisher{font-size:9px}.cover-note{font-size:8px;bottom:6px;right:8px}.book-card h2{font-size:16px;margin-bottom:9px}.book-card .meta{font-size:11px;margin-bottom:16px}.book-card button{font-size:12px;padding:10px 6px}.shelf-foot{font-size:11px;line-height:1.8;align-items:start}.shelf-foot .steps{gap:10px;flex-wrap:wrap}.shelf-foot>span{display:none}.intro-hero{padding:28px 24px;min-height:190px;gap:8px}.intro-hero h1{font-size:24px;line-height:1.6}.intro-hero p{font-size:12px}.intro-hero img{width:90px;align-self:flex-end}.entry-row{padding:20px;gap:14px;flex-wrap:wrap}.entry-row h2{font-size:18px}.entry-row p{font-size:12px;line-height:1.8}.entry-row .entry-icon{display:none}.entry-row .primary{font-size:12px;padding:10px 14px}.entry-row>div:nth-child(2){flex:1}.reader{padding:18px 15px 30px}.reader-crumb{margin:0 3px 18px}.reader-layout{display:block}.toc{display:none;position:fixed;z-index:25;inset:0 auto 0 0;width:285px;border-radius:0;padding:28px 17px;box-shadow:15px 0 50px #18345c20}.toc.open{display:block}.toc .close-toc{display:flex}.toc-links{max-height:calc(100dvh - 240px)}.toc-link{font-size:14px;padding:13px 11px}.toc-link.answer{font-size:12px}.menu-btn{display:inline-flex}.toolbar{gap:6px;margin-bottom:12px;border-radius:11px;padding:10px 8px}.page-controls{gap:5px;font-size:12px}.page-controls input{width:43px;padding:7px 0}.page-controls .icon-btn{min-width:29px;min-height:34px;padding:5px}.toolbar .page-word{display:none}.toolbar-right{gap:3px}.toolbar .font-tools button{min-width:27px;padding:8px 5px}.toolbar .font-tools span{display:none}.toolbar .tool{padding:7px}.toolbar .bookmark-tool{display:none}.paper{padding:23px 21px 28px;border-radius:12px;min-height:500px;box-shadow:none}.paper-header{padding-bottom:17px;margin-bottom:18px;gap:10px}.paper-header .section{font-size:12px}.paper-header .page-label{font-size:10px;padding:4px 7px}.reading-tip{font-size:11px;padding-bottom:10px;gap:5px}.page-content{font-size:calc(var(--font) - 1px);line-height:1.95}.page-content h2{font-size:22px;margin-bottom:25px}.page-content h3{font-size:17px;margin:20px 0 18px}.page-content p{margin-bottom:18px}.paper-footer{font-size:10px;gap:8px;line-height:1.7}.bottom-pager button{font-size:12px}.bottom-pager span{font-size:11px}.dictionary{top:auto;bottom:0;right:0;left:0;width:100%;max-height:65dvh;border-radius:22px 22px 0 0;padding:24px 25px 28px;border:0;box-shadow:0 -10px 60px #132f6630}.dictionary:before{content:"";width:38px;height:4px;background:#e0e7f1;border-radius:4px;position:absolute;top:9px;left:calc(50% - 19px)}.dictionary h2{font-size:26px}.dictionary .dict-foot{font-size:10px}.word-context{max-height:110px}.dictionary .save-word{margin-top:16px}.footer-note{margin-top:28px;font-size:10px}}
@media(max-width:360px){.header-inner{gap:15px;padding:0 14px}.site-header nav{gap:14px}.cover{height:205px;padding:15px 10px}.cover .cover-title{font-size:21px}.shell{padding-left:14px;padding-right:14px}.toolbar .font-tools{display:none}.reader{padding-left:10px;padding-right:10px}}

@media(max-width:360px){.cover .cover-title{font-size:18px;letter-spacing:0}.cover .edition{font-size:8px}.cover .publisher{font-size:8px}}
@media(max-width:760px){.page-controls input{font-size:16px}}
.paper{container-type:inline-size}
.answer-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));column-gap:28px;row-gap:20px;margin:24px 0;text-indent:0;text-align:left;line-height:1.6}
.answer-cell,.reference-cell{display:grid;grid-template-columns:3.2ch minmax(0,1fr);column-gap:6px;align-items:baseline;min-width:0}
.answer-number{font-variant-numeric:tabular-nums;color:#728bab;text-align:right;white-space:nowrap}
.answer-input{display:block;width:100%;min-width:0;height:42px;padding:7px 8px;color:var(--ink);background:#f2f6ff;border:1px solid #dce6fa;border-radius:7px;font-size:16px;line-height:1.5;transition:border-color .15s}
.answer-input:hover{border-color:#b6cafa}
.answer-input:focus{border-color:#6595fa;background:#f8faff}
.answer-value{min-width:0;overflow-wrap:anywhere}
.reference-grid{row-gap:18px;margin:22px 0 30px}
.numbered-reference{display:grid;grid-template-columns:3.2ch minmax(0,1fr);column-gap:10px;margin-bottom:14px;align-items:baseline}
.page-content .numbered-reference p{margin:0;text-indent:0}
.page-content .answer-save-note{text-indent:0;text-align:left;font-size:12px;color:#8197b4;line-height:1.5;margin:-12px 0 28px}
@container(max-width:640px){.answer-grid{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:24px}}
@container(max-width:440px){.answer-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}}
@media(max-width:760px){.answer-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;row-gap:18px}.answer-input{height:44px}}

[hidden]{display:none!important}.site-header .brand strong{font-weight:500}.site-header .header-inner{max-width:1260px}.site-header nav{margin-left:auto}.site-header #reader-account{font-size:12px;color:#8ba0bd;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-left:auto}.published{display:block}.published .book-card{display:flex;align-items:center;gap:40px;max-width:760px;padding:28px 34px}.published .cover{width:190px;flex:0 0 190px;height:260px;margin:0}.published .book-card-details{flex:1}.book-card-details h2{font-size:25px;font-weight:500;margin:12px 0 18px}.book-card-details .meta{font-size:13px;line-height:2.1}.book-card-details .primary{width:auto;padding:13px 20px}.book-card-details .shelf-start{display:block;border:none;background:none;width:auto;font-size:12px;color:#8a9ebc;padding:12px 0 0}.shelf-eyebrow{font-size:10px;letter-spacing:2.3px;color:#829dc7;margin-bottom:20px}.heading h2{font-weight:500;font-size:23px;margin:0 0 10px}.intro-hero h1{font-size:31px;font-weight:500}.notebook-link{display:block;margin-top:24px;color:#477bc9;font-size:13px}.meaning{font-size:15px}.lemma{padding-bottom:5px;margin-bottom:8px;border:0}.phonetic{margin-bottom:10px}.dict-entry+.dict-entry{border-top:1px solid #e8eef7;padding-top:14px}.dictionary{top:150px;max-height:calc(100dvh - 180px)}#reader-status{max-width:1408px;padding:12px 5px 0;margin:auto;font-size:11px;color:#8a9fbc;display:flex;align-items:center;gap:12px;min-height:30px}#reader-status button{font-size:11px;padding:5px 10px}#reader-status[data-state=error],#reader-status[data-state=conflict]{color:#9b7045}.page-content .word{word-break:normal}.toolbar .bookmark-tool{display:inline-flex}.answer-input{max-height:45px}#toast{max-width:90%;text-align:center}.header-inner nav a:hover{color:#2563eb}
#auth-root{max-width:490px;margin:40px auto;padding:0 20px}.auth-card{background:#fff;border:1px solid #e0e8f7;border-radius:22px;padding:32px;color:#293e61}.auth-brand{display:flex;align-items:center;gap:12px;font-size:23px}.auth-brand img{width:48px;height:48px;border-radius:12px}.auth-brand small{display:block;font-size:11px;color:#879bb9;margin-top:4px}.auth-card .eyebrow{font-size:10px;letter-spacing:2px;color:#8ca5c9;margin-top:30px}.auth-card h1{font-size:23px;font-weight:500;line-height:1.5}.auth-card p{font-size:12px;line-height:1.8;color:#899bb5}.auth-tabs{display:flex;gap:10px;margin:22px 0}.auth-tabs .active{background:#edf4ff;color:#2563eb;border-color:#cfddfb}.auth-card .field{display:grid;gap:8px;margin:17px 0;font-size:12px;color:#7b8da7}.auth-card input{width:100%;padding:12px;border:1px solid #dce5f5;border-radius:8px;font-size:16px;color:#31486a}.auth-submit{width:100%;font-size:14px}.auth-card .text-button{border:0;background:none;color:#5c80b8;font-size:12px;padding:12px 0}.auth-foot{font-size:12px;color:#8b9eb9;margin-top:18px}.auth-card .inline-error{color:#b3645a}.recovery-login-note{padding:12px;background:#f0f8f5;border-radius:8px}.auth-card .auth-privacy{font-size:10px;border-top:1px solid #e8eef7;padding-top:16px}
@media(max-width:1450px){#reader-status{margin:0 36px}}
@media(max-width:760px){.site-header #reader-account{display:none!important}.site-header nav{gap:18px}.site-header .header-inner{gap:20px}.intro-hero h1{font-size:24px}.intro-hero img{width:95px}.intro-hero{padding:25px 22px}.shelf-eyebrow{font-size:8px;letter-spacing:1.6px}.published .book-card{padding:22px;gap:22px;align-items:flex-start}.published .cover{width:136px;flex-basis:136px;height:220px;padding:18px 13px}.published .cover-title{font-size:22px}.book-card-details h2{font-size:20px;line-height:1.5;margin:8px 0 12px}.book-card-details .meta{font-size:11px;line-height:1.9}.book-card-details .primary{font-size:12px;padding:11px 14px}.book-card-details .type-tag{font-size:10px}.dictionary{top:auto;max-height:65dvh}.toolbar .bookmark-tool{display:inline-flex}.toolbar .tool{padding:7px 5px}.toolbar-right{gap:4px}.toolbar-right .tool svg{width:17px}.toolbar .font-tools button{min-width:22px}.toolbar .font-tools{margin-right:0}#reader-status{margin:0 18px;flex-wrap:wrap;gap:8px}.bottom-pager>span{font-size:10px}.answer-input{height:44px}.auth-card{padding:25px}.intro-hero h1{max-width:240px}.shell{padding-top:24px}}
@media(max-width:420px){.published .book-card{padding:19px;gap:18px;flex-direction:column}.published .cover{width:155px;flex-basis:230px;margin:auto}.book-card-details{width:100%}.book-card-details h2{font-size:21px}.book-card-details .meta{font-size:12px}.book-card-details .primary{width:100%}.book-card-details .shelf-start{margin:auto}.intro-hero img{width:72px}.intro-hero h1{font-size:21px}.intro-hero{padding:25px 20px}.toolbar .tool{padding:7px 4px}.page-controls{gap:4px}.toolbar-right{gap:3px}.site-header nav{gap:13px;font-size:12px}}
.toc-head>svg{width:20px;height:20px;flex:0 0 20px}.toc-head{gap:8px}

/* Compact published bookshelf; actual supplied cover shown through an SVG viewport. */
.shelf-shell{padding-top:24px}
.shelf-shell .crumb{margin-bottom:22px}
.shelf-shell .intro-hero{padding:26px 32px;min-height:160px;border-radius:18px;margin-bottom:28px}
.shelf-shell .shelf-eyebrow{margin-bottom:13px;font-size:9px;letter-spacing:2px}
.shelf-shell .intro-hero h1{font-size:28px;margin:0 0 10px;line-height:1.35;max-width:none}
.shelf-shell .intro-hero p{font-size:14px}
.shelf-shell .intro-hero img{width:112px;height:118px;object-fit:contain;flex-shrink:0;margin-left:24px}
.shelf-shell .heading{margin-bottom:18px;gap:16px}
.shelf-shell .heading h2{font-size:21px;margin-bottom:6px}
.shelf-shell .heading p{font-size:13px}
.shelf-shell .published{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.shelf-shell .published .book-card{display:flex;flex-direction:row;align-items:center;gap:24px;padding:24px;max-width:none;min-width:0;border-color:var(--line);border-radius:16px;box-shadow:0 3px 14px #375f9606}
.shelf-shell .book-cover{width:112px;flex:0 0 112px;aspect-ratio:340/456;overflow:hidden;background:white;filter:drop-shadow(3px 6px 5px #1b335218)}
.shelf-shell .book-cover img{width:100%;height:100%;display:block;object-fit:contain}
.shelf-shell .book-card-details{min-width:0;flex:1}
.shelf-shell .book-card-details .type-tag{font-size:11px;padding:3px 7px;margin:0;line-height:1.5}
.shelf-shell .book-card-details h2{font-size:21px;line-height:1.5;margin:9px 0 7px;font-weight:550}
.shelf-shell .book-facts{font-size:12px;line-height:1.7;color:#8191aa;margin:0 0 7px}
.shelf-shell .book-card-details .meta{font-size:12px;line-height:1.9;margin:0 0 16px;color:#7e90ab}
.shelf-shell .book-card-actions{display:flex;flex-wrap:wrap;gap:9px 14px;align-items:center}
.shelf-shell .book-card-actions .primary{width:auto;margin:0;min-height:40px;padding:9px 14px;font-size:13px;line-height:1.5;white-space:nowrap;box-shadow:none}
.shelf-shell .book-card-actions .shelf-start{display:inline-flex;align-items:center;width:auto;margin:0;padding:7px 0;min-height:36px;font-size:12px;line-height:1.5;color:#7b91af}
.shelf-shell .shelf-foot{margin-top:28px;font-size:12px}
@media(max-width:1100px){.shelf-shell .published{grid-template-columns:minmax(0,1fr);max-width:660px}.shelf-shell .published .book-card{gap:26px}.shelf-shell .book-card-actions{gap:12px 18px}}
@media(max-width:760px){.shelf-shell{padding:20px 20px 36px}.shelf-shell .crumb{margin-bottom:18px}.shelf-shell .intro-hero{padding:22px;min-height:132px;margin-bottom:24px}.shelf-shell .intro-hero h1{font-size:25px}.shelf-shell .intro-hero p{font-size:12px;line-height:1.8}.shelf-shell .intro-hero img{width:82px;height:88px;margin-left:12px}.shelf-shell .published .book-card{padding:20px;gap:20px}.shelf-shell .book-cover{width:96px;flex-basis:96px}.shelf-shell .book-card-details h2{font-size:20px}.shelf-shell .heading h2{font-size:20px}.shelf-shell .shelf-foot{align-items:flex-start;gap:10px}.shelf-shell .shelf-foot .steps{gap:10px;flex-wrap:wrap}}
@media(max-width:480px){.shelf-shell{padding:18px 16px 30px}.shelf-shell .intro-hero{padding:20px 18px}.shelf-shell .shelf-eyebrow{font-size:8px;letter-spacing:1px}.shelf-shell .intro-hero h1{font-size:24px}.shelf-shell .intro-hero img{width:68px;height:76px}.shelf-shell .heading .count{font-size:11px;white-space:nowrap}.shelf-shell .published .book-card{display:grid;grid-template-columns:76px minmax(0,1fr);padding:18px 16px;gap:18px;align-items:start}.shelf-shell .book-cover{width:76px;min-width:0;margin-top:6px}.shelf-shell .book-card-details{width:auto}.shelf-shell .book-card-details h2{font-size:18px;margin:7px 0}.shelf-shell .book-card-details .type-tag{font-size:10px}.shelf-shell .book-card-details .meta{font-size:11px;margin-bottom:13px}.shelf-shell .book-facts{font-size:11px}.shelf-shell .book-card-actions{gap:4px 12px}.shelf-shell .book-card-actions .primary{font-size:12px;min-height:40px;padding:9px 12px}.shelf-shell .book-card-actions .shelf-start{margin:0;font-size:11px}.shelf-shell .shelf-foot{flex-direction:column;font-size:11px}.shelf-shell .heading p{font-size:12px}}

/* Breadcrumb and persistent cloud-save status share the content alignment. */
.book-pagebar{max-width:1320px;margin:0 auto;padding:24px 42px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px 24px}
.book-pagebar .crumb{margin:0;flex-wrap:wrap;line-height:1.7;flex-shrink:0}
.book-pagebar #reader-status{margin:0 0 0 auto;padding:0;max-width:none;min-height:28px;gap:8px;flex-wrap:wrap;justify-content:flex-end;line-height:1.7;font-size:11px;min-width:0}
.book-pagebar #save-message{display:inline-flex;align-items:center;gap:7px;max-width:100%;overflow-wrap:anywhere}
.book-pagebar #save-message::before{content:"";display:block;width:6px;height:6px;border-radius:50%;background:#71a595;flex:0 0 6px}
.book-pagebar #reader-status[data-state=saving] #save-message::before{background:#78a0e4}
.book-pagebar #reader-status[data-state=error],.book-pagebar #reader-status[data-state=warning],.book-pagebar #reader-status[data-state=conflict]{background:#fff6e9;color:#94652f;border:1px solid #f1dfc5;border-radius:9px;padding:7px 10px}
.book-pagebar #reader-status[data-state=error] #save-message::before,.book-pagebar #reader-status[data-state=warning] #save-message::before,.book-pagebar #reader-status[data-state=conflict] #save-message::before{background:#c58d42}
.book-pagebar #reader-status button{min-height:32px;padding:5px 9px;white-space:nowrap}
#app>.shell,#app>.reader{padding-top:0}
.book-pagebar[data-view=reader]{max-width:1480px;padding-left:36px;padding-right:36px}
@media(min-width:1450px){.book-pagebar[data-view=reader]{max-width:1220px}}
@media(max-width:1100px){.book-pagebar{padding-left:28px;padding-right:28px}.book-pagebar[data-view=reader]{padding-left:24px;padding-right:24px}}
@media(max-width:760px){.book-pagebar{padding:20px 20px 16px;gap:8px;flex-wrap:wrap}.book-pagebar .crumb{font-size:11px}.book-pagebar[data-view=reader]{padding-left:15px;padding-right:15px}.book-pagebar #reader-status{min-height:22px;font-size:10px}.book-pagebar #reader-status[data-state=error],.book-pagebar #reader-status[data-state=warning],.book-pagebar #reader-status[data-state=conflict]{flex-basis:100%;justify-content:flex-start}}
@media(max-width:480px){.book-pagebar{padding:18px 16px 14px}.book-pagebar[data-view=reader]{align-items:flex-start}.book-pagebar[data-view=reader] #reader-status{margin-left:0;flex-basis:100%;justify-content:flex-start}}

/* Keep the complete bilingual sentence in one readable, scrollable panel. */
.dictionary .word-context{max-height:none;overflow:visible;padding:16px 17px;color:#3f5a7d;text-align:left;text-indent:0}
.word-context h3{font-size:12px;font-weight:600;line-height:1.6;margin:0 0 8px;color:#5d789f}
.word-context h3 span{font-weight:400;color:#8ba0bd}
.word-context p{margin:0;font-size:15px;line-height:1.8;overflow-wrap:anywhere;text-indent:0;text-align:left}
.word-context mark{background:#e1ebff;color:#245ddc;border-radius:3px;padding:1px 2px}
.sentence-translation{margin-top:14px;padding-top:13px;border-top:1px solid #dfe7f4}
.sentence-translation p{color:#354e70}
@media(max-width:700px){.dictionary .word-context{max-height:none;padding:13px 14px}.word-context p{font-size:14px;line-height:1.75}}

/* Separate book identities use the same compact shelf and accessible reader controls. */
.book-gap{display:inline-block;width:7em;max-width:100%;min-width:4em;height:2em;margin:0 .25em;padding:.1em .4em;vertical-align:baseline;border:1px solid #cbdaf5;border-radius:6px;background:#f2f6ff;color:var(--ink);font:inherit;text-indent:0}
.book-exercise{margin:0 0 18px;line-height:1.95;text-align:justify;text-indent:0}
.passage-exercise{text-indent:2em}
.book-writing{display:block;width:100%;resize:vertical;min-height:94px;border:1px solid #d9e4f5;border-radius:9px;padding:12px;color:var(--ink);background:#f9fbff;font:inherit;line-height:1.8;text-indent:0}
.option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 28px;margin:0 0 18px;line-height:1.8;text-indent:0}
.option-grid>div{min-width:0;overflow-wrap:anywhere}.page-content p.option-text{text-indent:0}
.book-writing:focus-visible{outline:3px solid #a4c1ff;outline-offset:3px}
.answer-grid.reference-pair{grid-template-columns:repeat(2,minmax(0,1fr))}
.book-reference-table{white-space:pre-line;line-height:1.9;border:1px solid #d9e4f5;border-radius:9px;padding:18px 22px;margin:0 0 22px;text-indent:0;overflow-wrap:anywhere}
.answer-key-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px;margin:0 0 10px;text-indent:0;line-height:1.9}
@media(max-width:600px){.option-grid{gap:8px 16px}.book-gap{width:6em}.book-writing{font-size:16px}}

/* Original-layout textbooks: page image and word layer share one coordinate plane. */
.facsimile-reader .paper{padding:24px 20px}.facsimile-reader .page-content{font-size:initial;line-height:normal}
.facsimile-reader .reading-tip{font-size:12px;line-height:1.8;margin:20px 0}.facsimile-reader .paper-footer{gap:16px;flex-wrap:wrap}
.facsimile-viewport{overflow-x:auto;overflow-y:hidden;max-width:100%;border:1px solid #edf1f7;border-radius:5px;background:white;overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom}
.facsimile-canvas{position:relative;min-width:100%;max-width:none;line-height:0}
.facsimile-image{display:block;width:100%;height:auto;max-width:none;pointer-events:none;user-select:none}
.page-content .page-word-hit{position:absolute;display:block;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:2px;background:transparent;box-shadow:none;color:transparent;font-size:0;line-height:0;text-indent:0;overflow:hidden}
.page-content .page-word-hit:hover,.page-content .page-word-hit.selected{background:#4386f52b;box-shadow:0 1px 0 #497eea}
.page-content .page-word-hit:focus-visible{outline:2px solid #4386f5;outline-offset:1px;background:#4386f52b}
.facsimile-reader .font-tools{display:flex!important}.facsimile-reader .font-tools span{min-width:42px;text-align:center;font-size:12px}
@media(max-width:760px){.facsimile-reader .paper{padding:16px 8px}.facsimile-reader .toolbar{gap:10px;flex-wrap:wrap}.facsimile-reader .toolbar-right{justify-content:flex-end;margin-left:auto}.facsimile-reader .font-tools span{display:inline-block!important}.facsimile-reader .paper-header{font-size:10px;gap:12px}.facsimile-reader .paper-header .page-label{display:block}.facsimile-reader .reading-tip{font-size:10px}.facsimile-reader .paper-footer{font-size:9px}}

/* Standalone answer rules fit the reading column without wrapping as text. */
.page-content .answer-lines{display:grid;gap:0;max-width:100%;margin:9px 0 24px;text-indent:0}
.answer-lines .answer-rule{display:block;width:100%;min-width:0;height:28px;border-bottom:1px solid #9aacc4}

/* Compact, non-modal mobile dictionary. The page remains scrollable above it. */
.dict-grip,.dict-save-quick{display:none}
.dictionary[data-view=word] .dict-title{min-width:0;flex:1}
.dict-quick-actions{display:flex;gap:3px;align-items:center;flex-shrink:0}
.dictionary[data-view=word] .close-dict{margin:0}
.dict-speak{color:#477bce}
.dict-speak[aria-pressed=true]{background:#eaf1ff;border-color:#adc7ff;color:#205cde}
.dictionary .meaning-more{font-size:13px;line-height:1.7;color:#617a9d;margin:5px 0 0}
.meaning-more summary{cursor:pointer;min-height:30px;display:list-item;width:fit-content;padding:4px 0;color:#567bb7;font-size:12px}
.meaning-more[open] summary{margin-bottom:5px}
@media(max-width:760px){
 .dictionary[data-view=word]{display:flex;flex-direction:column;top:auto;bottom:0;left:0;right:0;width:100%;max-height:44vh;max-height:min(44dvh,370px);padding:0;border:1px solid #d6e2f7;border-bottom:0;border-radius:18px 18px 0 0;box-shadow:0 -5px 28px #1d3e701b;overflow:hidden}
 .dictionary[data-view=word]:before{display:none}
 .dictionary[data-view=word] .dict-grip{display:flex;align-items:center;justify-content:center;flex:0 0 20px;min-height:20px;width:100%;border:0;background:none;padding:0;border-radius:18px 18px 0 0;touch-action:none}
 .dict-grip span{display:block;width:34px;height:4px;background:#cfdaeb;border-radius:4px}
 .dictionary[data-view=word] .dict-header{flex:0 0 auto;gap:8px;align-items:center;padding:0 14px 7px 18px}
 .dictionary[data-view=word] h2{font-size:22px;line-height:1.2;margin:0 0 3px;font-weight:600}
 .dictionary[data-view=word] .dict-phonetic{font-size:12px;line-height:1.3;margin:0;color:#8295b0}
 .dictionary[data-view=word] .dict-quick-actions .icon-btn{display:inline-flex;align-items:center;justify-content:center;min-width:40px;width:40px;height:40px;min-height:40px;border:0;border-radius:9px;padding:9px;background:transparent;color:#6685b0}
 .dictionary[data-view=word] .dict-quick-actions .icon-btn:hover{background:#f0f5ff}
 .dictionary[data-view=word] .dict-quick-actions .dict-speak{color:#2762ee}
 .dictionary[data-view=word] .dict-speak[aria-pressed=true]{background:#eaf1ff}
 .dictionary[data-view=word] .dict-save-quick.saved{color:#398879}
 .dictionary[data-view=word] .dict-body{min-height:0;overflow:auto;overscroll-behavior-y:contain;scrollbar-width:thin;padding:0 18px max(14px,env(safe-area-inset-bottom));touch-action:pan-y}
 .dictionary[data-view=word] .meaning{font-size:14px;line-height:1.6;margin:0 0 9px;color:#49617f;overflow-wrap:anywhere}
 .dictionary[data-view=word] .lemma{font-size:12px;margin:0 0 4px;padding:0}
 .dictionary[data-view=word] .note-empty{font-size:13px;line-height:1.6;margin:0 0 9px}
 .dictionary[data-view=word] .dict-entry+.dict-entry{padding-top:8px}
 .dictionary[data-view=word] .word-context{background:transparent;border-top:1px solid #e6edf7;border-radius:0;padding:9px 0 0;margin:0;overflow:visible}
 .dictionary[data-view=word] .word-context h3{font-size:11px;line-height:1.5;font-weight:500;margin:0 0 5px}
 .dictionary[data-view=word] .word-context p{font-size:14px;line-height:1.6}
 .dictionary[data-view=word] .sentence-translation{margin:7px 0 0;padding:0;border:0}
 .dictionary[data-view=word] .sentence-translation h3{display:none}
 .dictionary[data-view=word] .sentence-translation p{color:#354e70}
 .dictionary[data-view=word] .dict-actions,.dictionary[data-view=word] .dict-foot{display:none}
 body.word-sheet-open .reader{padding-bottom:calc(30px + var(--word-sheet-space,320px))}
 body.word-sheet-open #toast{bottom:calc(var(--word-sheet-space,320px) + 12px);font-size:12px;padding:10px 14px}
}
@media(max-width:760px) and (max-height:500px){
 .dictionary[data-view=word]{left:auto;right:8px;bottom:8px;width:min(340px,65vw);max-height:75dvh;border-bottom:1px solid #d6e2f7;border-radius:16px}
}

/* Reading controls share a consistent type size and explicit mobile rows. */
.toolbar{gap:12px}
.toolbar .page-controls,.toolbar #page-number,.toolbar .total-pages,.toolbar .font-tools button,.toolbar .font-tools span{font-size:16px;line-height:1.25}
.toolbar .font-tools{display:flex;align-items:center;flex-shrink:0}
.toolbar .font-tools button{height:38px;min-width:34px;padding:7px}
.toolbar .font-tools span{display:inline-block;min-width:28px}
.toolbar .font-tools .font-label{display:none}
.toolbar .bookmark-tools{display:flex;align-items:center;gap:6px}
.auto-pronounce{display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;height:40px;padding:6px 10px;color:#587295;font-size:14px;line-height:1.3}
.speech-switch{display:inline-block;position:relative;width:32px;height:19px;border-radius:12px;background:#b9c5d5;transition:background .15s;flex-shrink:0}
.speech-switch:after{content:'';position:absolute;left:3px;top:3px;width:13px;height:13px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #18366130;transition:transform .15s}
.auto-pronounce[aria-checked=true] .speech-switch{background:#2762ee}
.auto-pronounce[aria-checked=true] .speech-switch:after{transform:translateX(13px)}
.auto-pronounce[aria-checked=true]{color:#315fa8}
.dict-speech-hint{font-size:12px;line-height:1.5;color:#8295b0;margin:0 0 6px}
@media(max-width:1100px){
 .reader .toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 8px;padding:10px}
 .reader .toolbar-right{display:contents}
 .toolbar .page-controls{grid-column:1;grid-row:1}
 .toolbar .bookmark-tools{grid-column:2;grid-row:1;justify-self:end}
 .toolbar .font-tools{grid-column:1;grid-row:2;justify-self:start;display:flex!important}
 .toolbar .font-tools .font-label{display:inline-block;min-width:0;padding:0 9px;font-size:14px;color:#8295b0}
 .toolbar .auto-pronounce{grid-column:2;grid-row:2;justify-self:end}
 .toolbar .font-tools span{display:inline-block!important}
}
@media(max-width:760px){
 .reader .toolbar{grid-template-columns:minmax(0,1fr) auto;gap:9px 6px;padding:9px 8px}
 .toolbar .page-controls{gap:4px}
 .toolbar .page-controls .icon-btn{min-width:36px;width:36px;min-height:38px;height:38px;padding:7px}
 .toolbar #page-number{width:40px;height:38px;padding:7px 0}
 .toolbar .total-pages{font-size:16px;letter-spacing:-.4px}
 .toolbar .bookmark-tools{gap:4px}
 .toolbar .bookmark-tools .tool{display:inline-flex;align-items:center;justify-content:center;width:36px;min-width:36px;height:38px;padding:7px}
 .toolbar .bookmark-tools .tool svg{width:19px;height:19px}
 .toolbar .font-tools button{min-width:32px;height:36px;padding:7px 4px;font-size:16px}
 .toolbar .font-tools span{font-size:16px;min-width:25px}
 .facsimile-reader .toolbar .font-tools span:not(.font-label){min-width:43px}
 .toolbar .font-tools .font-label{font-size:14px;padding:0 7px}
 .toolbar .auto-pronounce{height:38px;padding:5px 8px;gap:7px;font-size:14px}
 .paper .paper-header{padding-bottom:12px;margin-bottom:14px}
}
@media(max-width:360px){
 .reader .toolbar{gap:8px 4px;padding:8px 6px}
 .toolbar .page-controls{gap:3px}
 .toolbar .page-controls .icon-btn,.toolbar .bookmark-tools .tool{min-width:32px;width:32px;padding:6px}
 .toolbar #page-number{width:34px}
 .toolbar .bookmark-tools{gap:3px}
 .toolbar .font-tools .font-label{padding:0 5px}
 .toolbar .auto-pronounce{padding:5px 6px;gap:5px}
}
@media(prefers-reduced-motion:reduce){.speech-switch,.speech-switch:after{transition:none}}

/* Keep reading controls to a single row; secondary actions open on demand. */
.reader-settings-toggle,.reader-settings-head{display:none}
@media(max-width:1100px){
 .reader .toolbar{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:8px;padding:8px 10px}
 .reader .toolbar .page-controls{min-width:0;gap:6px;flex:0 1 auto}
 .reader .toolbar .reader-settings-toggle{display:inline-flex;flex:0 0 40px;width:40px;height:40px;padding:9px;background:#f3f6fc;border-color:transparent;color:#526d94}
 .reader-settings-toggle[aria-expanded=true]{background:#eaf1ff!important;color:#2762ee!important}
 .reader .toolbar-right{display:none;position:absolute;top:calc(100% + 8px);right:0;width:286px;max-width:calc(100vw - 30px);margin:0;padding:12px 16px 16px;background:#fff;border:1px solid #dce5f3;border-radius:14px;box-shadow:0 12px 36px #243b6022;z-index:8}
 .reader .toolbar.settings-open .toolbar-right{display:flex;flex-direction:column;align-items:stretch;gap:0}
 .reader-settings-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px}
 .reader-settings-head strong{font-size:14px;font-weight:600;color:#334d71}
 .reader-settings-head .icon-btn{min-width:30px;width:30px;min-height:30px;height:30px;padding:6px}
 .reader-settings-head svg{width:16px;height:16px}
 .reader .toolbar-right .font-tools{display:flex;align-items:center;gap:0;width:100%;border:0;border-radius:0;padding:0 0 12px;overflow:visible}
 .reader .toolbar-right .font-tools .font-label{display:block!important;flex:1;min-width:0;padding:0;text-align:left;font-size:14px;color:#587295}
 .reader .toolbar-right .font-tools button{height:36px;min-width:36px;width:36px;padding:7px;background:#f4f7fc;font-size:16px}
 .reader .toolbar-right .font-tools button:first-of-type{border-radius:8px 0 0 8px}
 .reader .toolbar-right .font-tools button:last-of-type{border-radius:0 8px 8px 0}
 .reader .toolbar-right .font-tools span:not(.font-label){display:inline-flex!important;align-items:center;justify-content:center;height:36px;min-width:50px;padding:0 3px;background:#f4f7fc;font-size:15px}
 .reader .toolbar-right .auto-pronounce{display:flex;justify-content:space-between;width:100%;height:53px;padding:12px 0;margin:0;border:0;border-top:1px solid #edf1f7;border-radius:0;background:none;font-size:14px}
 .reader .toolbar-right .bookmark-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:12px;border-top:1px solid #edf1f7}
 .reader .toolbar-right .bookmark-tools .tool{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;height:38px;min-width:0;padding:7px;background:#f7f9fd;border-color:#e7edf6;font-size:12px;color:#587295}
 .reader .toolbar-right .bookmark-tools .tool span{display:inline}
 .reader .toolbar-right .bookmark-tools .tool svg{width:16px;height:16px}
 .reader .toolbar-right .bookmark-tools .tool.secondary{background:#edf3ff;color:#2762ee;border-color:#d9e5fb}
}
@media(max-width:760px){
 .reader .toolbar{height:58px;padding:8px;gap:8px}
 .reader .toolbar .page-controls{gap:4px}
 .reader .toolbar .page-controls .icon-btn{min-width:38px;width:38px;height:40px;min-height:40px;padding:8px}
 .reader .toolbar #page-number{width:40px;height:40px;font-size:16px}
 .reader .toolbar .total-pages{font-size:16px}
}
@media(max-width:360px){
 .reader .toolbar{padding:8px 6px;gap:5px}
 .reader .toolbar .page-controls{gap:3px}
 .reader .toolbar .page-controls .icon-btn{min-width:34px;width:34px;padding:7px}
 .reader .toolbar #page-number{width:35px}
 .reader .toolbar .reader-settings-toggle{flex-basis:36px;width:36px;padding:8px}
}

/* A single, unbroken rule for extracted fill-in-the-blank markers. */
.word-context .sentence-blank{display:inline-block;width:3em;max-width:100%;height:.9em;margin:0 .12em;border-bottom:1px solid currentColor;vertical-align:baseline;white-space:nowrap}
