:root{--bg:#f7f5ef;--paper:#fffefa;--ink:#203b33;--muted:#85897d;--green:#214c40;--soft:#edf0e6;--line:#e5e5da;--orange:#bd6b4a;--serif:'Noto Serif CJK SC','Songti SC',STSong,Georgia,serif;--sans:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #bc8157;outline-offset:4px}button{border:0}button:disabled{cursor:default;opacity:.55}a{color:inherit}.shell{max-width:1190px;margin:auto;padding:0 42px 110px}.topbar{height:98px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;background:none;padding:0;text-align:left;color:var(--ink)}.brandmark{width:40px;height:40px;flex-shrink:0;overflow:hidden;border-radius:11px;background:var(--green);color:#faf5e7;display:grid;place-items:center;font-family:var(--serif);font-size:23px}.brand-name{font-size:18px;letter-spacing:1.1px;font-weight:650;white-space:nowrap}.brand-sub{font-size:10px;letter-spacing:2.6px;color:var(--muted);margin-top:5px}.header-right{display:flex;align-items:center;gap:22px;font-size:12px;color:var(--muted)}.status-pill{border:1px solid #d8decd;border-radius:30px;padding:7px 12px;font-size:11px;color:#56705c}.status-pill:before{content:'';display:inline-block;width:5px;height:5px;background:#829576;border-radius:50%;margin-right:6px}.intro{padding:42px 0 26px;display:flex;align-items:end;justify-content:space-between}.eyebrow{font-size:10px;letter-spacing:3px;color:#7d8e76;text-transform:uppercase;font-weight:600}.intro h1{font-family:var(--serif);font-weight:500;font-size:34px;line-height:1.6;letter-spacing:2px;margin:9px 0 3px}.intro p,.section-heading p{color:var(--muted);font-size:13px;line-height:1.8;margin:0}.intro-note{display:flex;align-items:center;gap:10px;font-size:12px;color:#6d7a68;padding-bottom:7px}.intro-note svg{width:24px;height:24px}.home-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:23px}.hero{background:#234b3f;color:#f8f3df;border-radius:18px;min-height:346px;position:relative;overflow:hidden;display:flex;align-items:center;padding:32px 32px 32px 36px;isolation:isolate}.hero:after{content:'';position:absolute;right:-140px;top:-110px;width:480px;height:480px;border:1px solid #9eae8540;border-radius:50%;z-index:-1;box-shadow:0 0 0 55px #96a9810a,0 0 0 110px #96a98109}.hero-copy{width:58%;z-index:1}.hero .eyebrow{color:#c3c7a5}.hero h2{font-family:var(--serif);font-size:34px;font-weight:500;letter-spacing:3px;line-height:1.55;margin:19px 0 12px}.hero-copy p{color:#c1cbb6;font-size:12px;line-height:1.9;max-width:260px}.tag-row{display:flex;gap:6px;flex-wrap:wrap;margin:17px 0 23px}.tag{font-size:10px;border:1px solid #68816c;border-radius:4px;padding:4px 7px;color:#d0d9c2}.hero-cover{width:166px;aspect-ratio:640/840;position:absolute;right:31px;bottom:33px;transform:rotate(8deg);border-radius:3px 7px 7px 3px;box-shadow:-7px 7px 0 #0f3028,0 20px 35px #0b211e70;border-left:3px solid #849571}.primary,.secondary,.text-button{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:45px;padding:12px 21px;border-radius:8px;font-size:13px;font-weight:550;background:var(--green);color:#fffaf0;text-decoration:none;transition:transform .15s,background .15s}.primary:hover{background:#316353;transform:translateY(-1px)}.hero .primary{background:#f2ead2;color:#29483a;box-shadow:0 5px 15px #112b2520}.secondary{background:#eeeee4;color:#3d5746}.secondary:hover{background:#e3e8d9}.text-button{padding:8px 0;background:none;color:#5e735c;min-height:0}.icon{height:18px;width:18px;display:inline-block;flex-shrink:0;stroke-width:1.6;vertical-align:middle}.today{border-radius:18px;border:1px solid var(--line);background:var(--paper);padding:23px 22px;display:flex;flex-direction:column}.mini-heading{font-size:13px;letter-spacing:1px;display:flex;align-items:center;gap:9px;margin:0;font-weight:550}.today-count{font-family:Georgia,serif;font-size:58px;font-weight:400;margin:23px 0 9px;color:#315540;line-height:1}.today-count span{font-size:12px;color:#8c9182;margin-left:9px;font-family:var(--sans)}.today p{font-size:12px;color:var(--muted);line-height:1.9;margin:0 0 17px}.today-bottom{margin-top:auto;border-top:1px dashed var(--line);padding-top:18px;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#7e8974}.today-bottom strong{font-size:15px;color:#4b634d;font-weight:500}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:33px 0 16px}.section-heading h2{font-family:var(--serif);font-size:20px;font-weight:500;margin:0;letter-spacing:1px}.small-label{font-size:11px;color:var(--muted)}.chapter-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.chapter-card{background:var(--paper);border:1px solid var(--line);padding:18px 20px;border-radius:11px;display:flex;align-items:center;gap:16px;text-align:left;color:var(--ink);transition:border-color .2s,transform .2s}.chapter-card:hover{border-color:#95a28a;transform:translateY(-2px)}.chapter-number{font-family:Georgia,serif;font-size:26px;color:#a3ac94;min-width:36px}.chapter-name{font-size:13px;font-weight:500;margin-bottom:7px}.chapter-meta{font-size:10px;letter-spacing:.3px;color:var(--muted)}.chapter-card .icon{margin-left:auto;color:#89967d;width:16px}.home-bottom{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:25px}.quiet-card{background:#eceee2;border-radius:12px;padding:20px 22px;display:flex;gap:16px;align-items:center;color:var(--ink);text-align:left}.quiet-icon{color:#748868;background:#e1e5d2;border-radius:12px;width:42px;height:42px;display:grid;place-items:center}.quiet-card h3{font-size:13px;font-weight:500;margin:0 0 6px}.quiet-card p{font-size:11px;color:#87907e;margin:0}.quiet-card>.icon{margin-left:auto}.nav{position:fixed;bottom:0;left:0;right:0;z-index:20;background:#faf9f2ed;backdrop-filter:blur(18px);border-top:1px solid #e0e4d6;padding-bottom:env(safe-area-inset-bottom)}.nav-inner{max-width:720px;display:flex;justify-content:space-around;margin:auto;height:70px}.nav-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#92998a;background:none;font-size:10px;letter-spacing:1px}.nav-item .icon{width:21px;height:21px}.nav-item.active{color:#254f3c}.nav-item.active .icon{stroke-width:2.1}.page-title{font-family:var(--serif);font-size:30px;font-weight:500;letter-spacing:2px;margin:0 0 12px}.page-head{padding:35px 0 26px}.page-head p{font-size:13px;line-height:1.9;color:var(--muted);margin:0}.reader-shell{max-width:860px}.reader-toolbar{display:flex;justify-content:space-between;align-items:center;padding:24px 0 20px;font-size:12px;color:#7a8673;gap:15px}.reader-controls{display:flex;gap:7px;align-items:center}.control{border:1px solid var(--line);color:#60745c;background:#fffdf6;border-radius:6px;padding:7px 10px;font-size:11px;min-width:32px}.reader-paper{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:45px 60px;min-height:500px}.reading-heading{text-align:center;padding-bottom:23px;border-bottom:1px solid var(--line);margin-bottom:27px}.reading-heading h1{font-family:var(--serif);font-size:28px;letter-spacing:3px;font-weight:500;margin:17px 0 13px}.reading-heading p{font-size:11px;color:var(--muted);letter-spacing:1px}.story-text{font-family:var(--serif);font-size:20px;line-height:2.4;letter-spacing:.7px;color:#3f4b3f}.story-text p{margin:0 0 21px}.word{color:#376544;border-bottom:1px solid #9caf87;display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;line-height:1.35;margin:0 3px;padding:3px 3px 1px;background:#eef0df;border-radius:3px;cursor:pointer;font-family:Georgia,var(--serif);font-size:1em}.word small{font-family:var(--sans);font-size:10px;color:#8b9578;letter-spacing:0;max-width:120px;white-space:normal;line-height:1.5}.reader-note{font-size:11px;color:var(--muted);display:flex;gap:7px;align-items:center;line-height:1.7;margin:20px 0}.reader-actions{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:26px;margin-top:32px;gap:15px}.reader-actions p{font-size:11px;color:var(--muted);margin:0}.question-label{font-size:10px;letter-spacing:2px;color:var(--orange);margin-bottom:20px}.question-title{font-family:var(--serif);font-size:24px;line-height:1.9;font-weight:500;margin:0 0 27px}.option{display:flex;gap:14px;align-items:center;width:100%;border:1px solid #dfe3d4;background:#fffef9;border-radius:10px;padding:17px 18px;text-align:left;color:#43543f;margin:11px 0;line-height:1.8;font-size:14px;transition:background .15s}.option:hover{background:#f0f2e5}.option-key{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;border:1px solid #d6ddca;font-family:Georgia,serif;font-size:13px;flex-shrink:0}.option.selected{background:#edf2e3;border-color:#6d8d64}.option.correct{background:#e9f1df;border-color:#809b6e}.option.incorrect{background:#f7ede3;border-color:#c99e7f}.explanation{border-left:2px solid #8c9d78;background:#f1f3e8;font-size:13px;color:#647253;padding:18px 20px;line-height:2;margin-top:22px;border-radius:0 8px 8px 0}.explanation strong{display:block;font-size:13px;color:#385d3d;margin-bottom:5px}.response{font-family:var(--serif);color:#465740;font-size:17px;line-height:2.1;background:#f2f0e5;border-radius:10px;padding:22px;margin:22px 0}.step-meta{font-size:11px;color:var(--muted);margin-bottom:25px;display:flex;justify-content:space-between}.progress-track{height:3px;background:#e5e7da;border-radius:4px;overflow:hidden;margin:22px 0}.progress-track span{display:block;height:100%;background:#748f60;transition:width .2s}.complete-symbol{width:65px;height:65px;border-radius:50%;background:#e8eedb;color:#71895d;display:grid;place-items:center;font-size:27px;margin:10px auto 20px}.complete-title{text-align:center;font-family:var(--serif);font-size:28px;letter-spacing:2px}.complete-text{text-align:center;color:var(--muted);font-size:13px;line-height:2}.word-chips{display:flex;flex-wrap:wrap;gap:9px;justify-content:center;margin:27px 0}.word-chip{padding:9px 13px;background:#f0f2e6;border-radius:7px;font-family:Georgia,serif;font-size:16px;color:#53704b}.next-hook{margin:28px 0;padding:20px 0;border-top:1px dashed var(--line);border-bottom:1px dashed var(--line);color:#617059;font-size:13px;line-height:2}.next-hook small{display:block;color:var(--orange);font-size:10px;letter-spacing:2px;margin-bottom:7px}.center-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.review-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px}.card{padding:30px;background:var(--paper);border:1px solid var(--line);border-radius:14px}.empty-state{text-align:center;padding:32px 15px}.empty-state>.icon{height:43px;width:43px;color:#8c9b7e;margin-bottom:19px}.empty-state h2{font-family:var(--serif);font-size:24px;font-weight:500;letter-spacing:1px}.empty-state p{font-size:13px;line-height:2;color:var(--muted);margin:10px 0 25px}.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:5px 0 23px}.stat-tile{background:#f0f1e7;border-radius:9px;padding:20px 10px;text-align:center}.stat-value{font-size:28px;font-family:Georgia,serif;line-height:1;margin-bottom:10px;color:#46633f}.stat-name{font-size:11px;color:#8b927f}.side-copy h3{font-family:var(--serif);font-size:18px;line-height:1.7;font-weight:500;margin:0 0 15px}.side-copy p{font-size:12px;line-height:2.1;color:var(--muted)}.side-copy .step{font-size:12px;border-top:1px solid var(--line);padding-top:15px;margin-top:15px;color:#64785a}.vocab-list{display:flex;flex-direction:column;gap:0}.vocab-item{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:16px 2px;background:none;text-align:left;color:var(--ink)}.vocab-item:first-child{border-top:0}.vocab-item strong{font-family:Georgia,serif;font-size:19px;font-weight:500}.vocab-item small{font-size:11px;color:var(--muted);display:block;margin-top:5px}.vocab-stage{font-size:10px;background:#edf0e2;color:#82926f;padding:5px 8px;border-radius:15px}.challenge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.challenge-card{background:var(--paper);border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}.challenge-art{background:#e8e9db;color:#82916d;min-height:99px;display:flex;align-items:center;justify-content:space-between;padding:20px 23px;font-family:var(--serif);font-size:35px}.challenge-art span{font-family:var(--sans);font-size:10px;letter-spacing:2px;color:#778368}.challenge-card:nth-child(2) .challenge-art{background:#eee2d5;color:#b08769}.challenge-card:nth-child(3) .challenge-art{background:#e0e7de;color:#718775}.challenge-card-body{padding:23px;display:flex;flex:1;flex-direction:column}.challenge-card h2{font-family:var(--serif);font-size:21px;font-weight:500;line-height:1.7;margin:0 0 10px}.challenge-card p{font-size:12px;line-height:1.9;color:var(--muted);margin:0 0 22px}.challenge-card .text-button{margin-top:auto;justify-content:space-between}.challenge-focus{max-width:760px;margin:0 auto}.context-box{font-size:14px;line-height:2;color:#7d856f;background:#f0f1e7;border-radius:9px;padding:18px 21px;margin:20px 0}.share-note{font-size:11px;line-height:1.9;color:var(--muted);text-align:center;margin-top:18px}.profile-head{display:flex;align-items:center;gap:18px;padding:30px 0}.avatar{width:62px;height:62px;border-radius:18px;background:#e4e8d7;display:grid;place-items:center;font-family:var(--serif);font-size:28px;color:#70845d}.profile-head h1{font-size:23px;font-family:var(--serif);font-weight:500;letter-spacing:2px;margin:0 0 9px}.profile-head p{font-size:12px;color:var(--muted);margin:0}.profile-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:22px}.menu-row{width:100%;display:flex;justify-content:space-between;gap:16px;align-items:center;padding:19px 0;border-bottom:1px solid var(--line);color:#53674c;background:none;text-align:left;font-size:13px}.menu-row:last-child{border-bottom:0}.menu-row span{display:flex;align-items:center;gap:12px}.menu-row small{font-size:11px;color:var(--muted)}.danger{color:#a26d52}.footnote{font-size:10px;color:#a3a898;letter-spacing:1px;text-align:center;line-height:2;margin:30px 0 5px}.modal-backdrop{position:fixed;inset:0;background:#142b245e;backdrop-filter:blur(5px);z-index:100;display:flex;align-items:center;justify-content:center;padding:22px}.modal{background:#fffdf5;border-radius:19px;padding:31px;width:100%;max-width:440px;max-height:90dvh;overflow-y:auto;box-shadow:0 25px 90px #152c2430;position:relative}.close{position:absolute;right:17px;top:17px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#eeeee3;color:#748164}.word-modal-title{font-family:Georgia,serif;font-size:38px;line-height:1.5;margin:14px 0 0;color:#31553d}.word-pronounce{display:flex;gap:13px;align-items:center;color:#91967e;font-size:13px;margin:8px 0 25px}.sound-btn{background:#e9eddd;color:#56744c;display:grid;place-items:center;width:33px;height:33px;border-radius:50%}.word-definition{font-size:19px;color:#536847;line-height:1.8;margin-bottom:22px}.word-definition small{font-size:12px;color:#98a08b;margin-right:8px}.definition-section{border-top:1px solid var(--line);padding-top:17px;margin-top:17px}.definition-section label{font-size:10px;letter-spacing:2px;color:#9a9f8e}.definition-section p{font-size:14px;line-height:1.9;color:#516148;margin:9px 0}.definition-section .en{font-family:Georgia,serif;font-size:18px}.definition-section .zh{font-size:12px;color:#969b88}.modal h2{font-family:var(--serif);font-weight:500;line-height:1.8;letter-spacing:1px;margin-top:12px}.modal .body-copy{font-size:13px;line-height:2.1;color:#77816b}.modal .body-copy p{margin:12px 0}.modal .center-actions{margin-top:24px}.share-canvas{display:block;width:100%;border-radius:10px;margin:16px 0 20px}.btn-wide{width:100%}#toast{position:fixed;bottom:95px;left:50%;transform:translate(-50%,15px);padding:12px 21px;background:#203d31ed;color:#fff9ec;border-radius:8px;font-size:12px;z-index:150;opacity:0;transition:opacity .2s,transform .2s;pointer-events:none;max-width:85vw;text-align:center;line-height:1.7}#toast.visible{opacity:1;transform:translate(-50%,0)}@media(min-width:1400px){.intro{padding-top:47px}.hero{min-height:363px}.hero-cover{width:179px;right:42px}.hero h2{font-size:37px}}@media(max-width:1000px){.shell{padding-left:27px;padding-right:27px}.home-grid{grid-template-columns:minmax(0,1fr) 220px}.hero{padding-left:26px}.hero-cover{right:23px;width:142px}.hero h2{font-size:29px}.hero-copy{width:59%}.today{padding:21px 18px}.hero-copy p{font-size:11px}.review-layout{grid-template-columns:minmax(0,1fr) 220px}}@media(max-width:760px){.shell{padding:0 20px 103px}.topbar{height:77px}.brandmark{width:33px;height:33px;font-size:20px;border-radius:8px}.brand-name{font-size:16px}.brand-sub{font-size:8px;letter-spacing:1.8px}.header-right>span:first-child{display:none}.status-pill{font-size:9px;padding:6px 9px}.intro{padding:29px 0 23px}.intro h1{font-size:28px;line-height:1.65;letter-spacing:1.5px}.intro p{font-size:11px}.intro-note{display:none}.home-grid{display:block}.hero{padding:26px 23px;min-height:313px;border-radius:14px}.hero-copy{width:60%}.hero h2{font-size:27px;margin-top:16px;letter-spacing:2px}.hero-cover{width:132px;right:22px;bottom:42px}.hero-copy p{font-size:11px;max-width:180px;line-height:1.9}.hero .eyebrow{font-size:8px;letter-spacing:1.7px}.tag-row{margin:14px 0 20px;gap:4px}.tag{font-size:8px;padding:4px 5px}.primary,.secondary{min-height:43px;padding:11px 17px;font-size:12px;gap:12px}.today{margin-top:15px;display:grid;grid-template-columns:1fr auto;gap:6px 14px;padding:19px 21px;min-height:116px;position:relative}.today .mini-heading{font-size:12px;grid-column:1}.today-count{position:absolute;right:21px;top:17px;font-size:36px;margin:0}.today-count span{font-size:10px;margin-left:6px}.today p{grid-column:1;font-size:11px;margin:3px 0 0;max-width:230px;line-height:1.8}.today .text-button{grid-column:1;font-size:11px;justify-content:flex-start;gap:9px;padding:3px 0}.today-bottom{display:none}.section-heading{margin:27px 0 13px}.section-heading h2{font-size:18px}.small-label{font-size:10px}.chapter-list{grid-template-columns:1fr}.chapter-card{padding:17px 18px}.chapter-number{font-size:24px}.chapter-name{font-size:13px}.chapter-meta{font-size:10px}.home-bottom{gap:10px;margin-top:18px}.quiet-card{padding:16px 13px;gap:10px;align-items:flex-start}.quiet-icon{width:30px;height:32px;flex-shrink:0;border-radius:8px}.quiet-icon .icon{width:16px;height:16px}.quiet-card h3{font-size:11px;line-height:1.6;margin-bottom:4px}.quiet-card p{font-size:9px;line-height:1.8}.quiet-card>.icon{display:none}.nav-inner{height:66px}.reader-paper{padding:29px 23px;border-radius:11px}.reader-toolbar{padding:19px 0 15px}.reader-toolbar .text-button{font-size:11px}.reader-controls{gap:4px}.control{padding:7px 8px;font-size:10px}.reading-heading h1{font-size:24px}.story-text{font-size:19px;letter-spacing:.4px;line-height:2.4}.story-text p{margin-bottom:20px}.word small{font-size:9px;max-width:100px}.reader-actions{align-items:stretch;flex-direction:column;gap:14px}.reader-actions p{text-align:center}.question-title{font-size:21px}.option{font-size:13px;padding:14px}.response{font-size:16px;padding:18px}.page-head{padding:29px 0 22px}.page-title{font-size:27px}.page-head p{font-size:12px}.review-layout,.profile-grid{grid-template-columns:1fr}.card{padding:23px}.side-copy{display:none}.challenge-grid{grid-template-columns:1fr}.challenge-card{display:flex;flex-direction:row}.challenge-art{width:85px;min-width:85px;flex-direction:column;justify-content:center;gap:17px;padding:15px 10px;font-size:29px}.challenge-art span{font-size:8px;letter-spacing:1px}.challenge-card-body{padding:19px}.challenge-card h2{font-size:18px;margin-bottom:7px}.challenge-card p{font-size:11px;margin-bottom:10px}.challenge-card .text-button{font-size:11px;padding-top:5px}.stats-row{gap:8px}.stat-tile{padding:18px 7px}.stat-value{font-size:27px}.stat-name{font-size:10px}.profile-head{padding:28px 0}.complete-title{font-size:24px}.complete-text{font-size:12px}.next-hook{font-size:12px}.modal-backdrop{align-items:flex-end;padding:0}.modal{border-radius:23px 23px 0 0;max-width:100%;padding:29px 26px calc(28px + env(safe-area-inset-bottom));max-height:88dvh}.word-modal-title{font-size:35px}.footnote{font-size:9px;letter-spacing:.4px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}

@media(max-width:760px){.hero-copy{width:54%}.hero-copy p{max-width:155px}.hero-cover{width:125px;right:18px}}

/* The library uses typographic book jackets; titles and numbers come from the catalog. */
.library-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
.library-heading span{font-family:var(--sans);font-size:11px;color:#6f7b68;letter-spacing:.5px;flex-shrink:0}
.library-controls{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:20px 0 26px}
.search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;flex:1;max-width:430px;min-width:0;background:var(--paper);border:1px solid #d9dfd0;border-radius:9px;overflow:hidden}
.search-form input{width:100%;min-width:0;min-height:45px;padding:11px 15px;border:0;outline:0;background:transparent;color:var(--ink);font-size:14px}
.search-form input::placeholder{color:#8a9280}
.search-form:focus-within{border-color:#6f8b65;box-shadow:0 0 0 3px #6f8b6515}
.search-form button{min-height:45px;padding:10px 18px;background:#e8ecdf;color:#3e5e42;font-size:12px;border-left:1px solid #d9dfd0;white-space:nowrap}
.search-form button:hover{background:#dfe6d3}
.filter-row{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px;min-width:0}
.filter-chip{min-height:40px;padding:9px 13px;border:1px solid #dce1d2;border-radius:7px;background:transparent;color:#697960;font-size:11px;white-space:nowrap}
.filter-chip.active{border-color:var(--green);background:var(--green);color:#fff9e8}
.filter-chip:hover:not(.active){border-color:#9dad8f;background:#eff1e7}
.book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:29px 25px}
.book-card{display:flex;flex-direction:column;min-width:0;text-align:left}
.book-open{display:block;width:100%;min-width:0;padding:0;background:none;text-align:left;color:inherit}
.book-cover{--cover-bg:#244e41;--cover-ink:#faf3dc;--cover-rule:#c7c9a8;position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:center;align-items:center;aspect-ratio:640/840;width:100%;padding:28px 22px;background:var(--cover-bg);color:var(--cover-ink);border-radius:2px 6px 6px 2px;box-shadow:inset 4px 0 0 #ffffff16,inset 8px 0 0 #00000016,0 7px 14px #23342915;transition:transform .18s ease,box-shadow .18s ease}
.book-cover::before{content:"";position:absolute;inset:15px 17px 16px 22px;border:1px solid var(--cover-rule);opacity:.42;pointer-events:none}
.book-cover::after{content:"";position:absolute;top:7px;bottom:7px;right:0;width:4px;border-left:1px solid #ffffff75;background:#e9e2ce;opacity:.76;pointer-events:none}
.book-cover.theme-0{--cover-bg:#244e41;--cover-ink:#faf3dc;--cover-rule:#c7c9a8}
.book-cover.theme-1{--cover-bg:#7a4838;--cover-ink:#fff0d7;--cover-rule:#d9b895}
.book-cover.theme-2{--cover-bg:#5a6047;--cover-ink:#f7f1d7;--cover-rule:#c9c5a1}
.book-cover.theme-3{--cover-bg:#3d5961;--cover-ink:#f2eddd;--cover-rule:#b9c4b2}
.book-cover.theme-4{--cover-bg:#514846;--cover-ink:#f5e6d3;--cover-rule:#bd9b82}
.book-cover.theme-5{--cover-bg:#806642;--cover-ink:#fff3d9;--cover-rule:#d9c8a2}
.cover-number{position:absolute;top:32px;left:36px;font-family:Georgia,serif;font-size:11px;letter-spacing:2.8px;opacity:.8}
.cover-title{display:block;position:relative;max-width:100%;font-family:var(--serif);font-size:25px;font-weight:500;line-height:1.75;letter-spacing:3px;text-align:center;overflow-wrap:anywhere;text-wrap:balance}
.cover-sub{position:absolute;bottom:33px;left:24px;right:20px;font-size:9px;line-height:1.6;letter-spacing:2.2px;text-align:center;opacity:.75}
.hero .book-cover.hero-cover{position:absolute;width:166px}
.hero .book-cover.hero-cover .cover-title{font-size:22px;letter-spacing:2px}
.book-open:hover .book-cover{transform:translateY(-3px);box-shadow:inset 4px 0 0 #ffffff16,inset 8px 0 0 #00000016,0 10px 20px #23342920}
.book-info{padding:17px 2px 0;min-width:0}
.book-info h3{margin:0 0 8px;font-family:var(--serif);font-size:17px;font-weight:500;line-height:1.65;letter-spacing:.5px;overflow-wrap:anywhere}
.book-info p{margin:0;color:#7d8774;font-size:11px;line-height:1.9;overflow-wrap:anywhere}
.book-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}
.book-tags span{padding:3px 6px;background:#ecefe3;border-radius:3px;font-size:9px;line-height:1.5;color:#6a7f5c}
.book-detail-grid{display:grid;grid-template-columns:230px minmax(0,1fr);align-items:start;gap:48px;padding:34px 0 38px;border-bottom:1px solid var(--line)}
.book-detail-grid .book-cover{width:100%;max-width:230px}
.book-detail-copy{min-width:0;padding-top:7px}
.book-detail-copy h1,.book-detail-copy h2{margin:11px 0 17px;font-family:var(--serif);font-size:35px;font-weight:500;letter-spacing:2px;line-height:1.7;overflow-wrap:anywhere}
.book-detail-copy p{font-size:13px;line-height:2.1;color:#6e7e65;max-width:620px;overflow-wrap:anywhere}
.book-detail-copy .book-tags{margin-top:18px}
.book-detail-actions{display:flex;align-items:center;flex-wrap:wrap;gap:11px;margin-top:25px}
.book-detail-actions .primary,.book-detail-actions .secondary{min-width:150px}
.sync-status{display:inline-flex;align-items:center;gap:7px;font-size:11px;line-height:1.6;white-space:nowrap;color:#6c7b63}
.sync-status::before{content:"";width:5px;height:5px;background:currentColor;border-radius:50%;flex-shrink:0}
.sync-status.online{color:#456c48}
.sync-status.syncing{color:#88734e}
.sync-status.offline{color:#9c664b}
.sync-banner{margin:18px 0;padding:12px 15px;border:1px solid #dde3d3;border-left:3px solid #9fac87;border-radius:0 7px 7px 0;background:#eef1e6;color:#64765a;font-size:12px;line-height:1.9;overflow-wrap:anywhere}
.sync-banner.offline{border-color:#e5d7c5;border-left-color:#bd8c67;background:#f5ede1;color:#8a644d}
.pagination,.vocab-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin:30px 0 10px}
.pagination span,.vocab-pagination span{font-size:11px;line-height:1.8;color:#7c8971}
.page-button{min-height:42px;padding:10px 17px;background:var(--paper);border:1px solid #d9dfce;border-radius:7px;color:#4d6845;font-size:12px;white-space:nowrap}
.page-button:hover:not(:disabled){background:#e9eedf;border-color:#a6b696}
.page-button:disabled{opacity:.4}
.library-empty{padding:50px 20px;border:1px dashed #d4dcc8;border-radius:11px;text-align:center;background:#f2f3e9;color:#7b866e;font-size:13px;line-height:2}
.library-empty h2,.library-empty h3{margin:0 0 12px;font-family:var(--serif);color:#536849;font-weight:500;font-size:23px}
.account-form{display:grid;gap:16px;margin-top:23px;min-width:0}
.account-form label{display:grid;gap:9px;min-width:0;font-size:12px;color:#66765b;line-height:1.8}
.account-form input{width:100%;min-width:0;min-height:45px;padding:11px 13px;border:1px solid #d7decd;border-radius:7px;background:#fffef8;color:#344f3a;font-size:16px;outline:0}
.account-form input:focus{border-color:#80956e;box-shadow:0 0 0 3px #80956e14}
.account-form input::placeholder{font-size:12px;color:#9a9f8d}
.form-error{margin:0;min-height:18px;color:#a25d41;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.auth-switch{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:19px 0 4px;font-size:12px;color:#7b8570;line-height:1.9}
.auth-switch button{padding:4px 2px;background:none;color:#3f6748;font-size:12px;text-decoration:underline;text-underline-offset:4px}
.profile-account{padding:21px 0;border-bottom:1px solid var(--line)}
.profile-account h2,.profile-account h3{margin:0 0 9px;font-family:var(--serif);font-weight:500;font-size:21px;line-height:1.6;overflow-wrap:anywhere}
.profile-account p{margin:6px 0;color:#7b886f;font-size:12px;line-height:1.9;overflow-wrap:anywhere}
.account-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:15px}
.bookmark-note{margin:16px 0;padding:11px 14px;border-left:2px solid #a6b98e;background:#eef2e5;color:#627955;font-size:12px;line-height:1.9;overflow-wrap:anywhere}
.source-note{margin:17px 0;color:#929986;font-size:11px;line-height:1.9;overflow-wrap:anywhere}
.reader-toc{margin:0 0 20px;padding:14px 18px;border:1px solid var(--line);border-radius:9px;background:#f7f8f0;min-width:0}
.reader-toc summary{display:flex;align-items:center;justify-content:space-between;gap:15px;cursor:pointer;list-style:none;font-size:12px;line-height:1.8;color:#607456}
.reader-toc summary::-webkit-details-marker{display:none}
.reader-toc summary::after{content:"";width:7px;height:7px;border-right:1px solid #839577;border-bottom:1px solid #839577;transform:rotate(45deg);flex-shrink:0;margin:0 3px 4px}
.reader-toc[open]>summary::after,.reader-toc details[open]>summary::after{transform:rotate(225deg);margin-top:5px}
.reader-toc button{display:block;width:100%;min-width:0;padding:12px 2px;background:none;border-top:1px solid #e1e6d8;color:#607457;text-align:left;line-height:1.8;font-size:12px;white-space:normal;overflow-wrap:anywhere}
.reader-toc button:first-of-type{margin-top:12px}
.reader-toc button:hover{color:#244f38}
.vocab-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 17px;min-width:0}
.vocab-tools input,.vocab-tools select{min-height:41px;min-width:0;max-width:100%;padding:10px 12px;border:1px solid #d9dfce;border-radius:7px;background:var(--paper);color:#586e4f;font:inherit;font-size:12px}
.vocab-tools input{flex:1}
.vocab-item{gap:12px;min-width:0}
.vocab-item>:first-child{min-width:0;overflow-wrap:anywhere}
.vocab-stage{flex-shrink:0}
.word-modal-title{overflow-wrap:anywhere}
@media(min-width:1400px){.hero .book-cover.hero-cover{width:179px}}
@media(max-width:1050px){.book-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 22px}.book-detail-grid{gap:33px}.library-controls{align-items:stretch;flex-direction:column;gap:13px}.search-form{max-width:none;flex:auto}.filter-row{justify-content:flex-start}}
@media(max-width:760px){
  .header-right>.sync-status:first-child{display:inline-flex}
  .sync-status{font-size:9px;gap:5px}
  .library-heading{gap:10px}
  .library-heading span{font-size:9px;letter-spacing:0}
  .library-controls{margin:17px 0 22px;gap:12px}
  .search-form input{font-size:16px;padding:10px 12px}
  .search-form button{padding:10px 15px;font-size:11px}
  .filter-row{gap:6px}
  .filter-chip{padding:8px 11px;min-height:37px;font-size:10px}
  .book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 17px}
  .book-cover{padding:23px 18px}
  .book-cover::before{inset:12px 12px 13px 17px}
  .cover-number{top:25px;left:26px;font-size:9px;letter-spacing:1.8px}
  .cover-title{font-size:20px;line-height:1.8;letter-spacing:2px}
  .cover-sub{bottom:24px;left:17px;right:14px;font-size:8px;letter-spacing:1.3px}
  .hero .book-cover.hero-cover{width:125px}
  .hero .book-cover.hero-cover .cover-title{font-size:18px;letter-spacing:1px}
  .book-info{padding-top:13px}
  .book-info h3{font-size:14px;line-height:1.75;margin-bottom:5px}
  .book-info p{font-size:10px;line-height:1.9}
  .book-tags{gap:5px;margin-top:9px}
  .book-tags span{font-size:8px;padding:3px 5px}
  .book-detail-grid{grid-template-columns:112px minmax(0,1fr);gap:21px;padding:23px 0 26px}
  .book-detail-grid .book-cover{padding:20px 15px}
  .book-detail-grid .cover-title{font-size:15px;line-height:1.7;letter-spacing:1px}
  .book-detail-grid .cover-number{top:20px;left:21px;font-size:8px}
  .book-detail-grid .cover-sub{bottom:19px;left:14px;right:11px;font-size:7px}
  .book-detail-grid .book-cover::before{inset:10px 9px 11px 14px}
  .book-detail-copy{padding-top:0}
  .book-detail-copy h1,.book-detail-copy h2{font-size:23px;letter-spacing:1px;line-height:1.65;margin:6px 0 11px}
  .book-detail-copy p{font-size:11px;line-height:2;margin:9px 0}
  .book-detail-copy .eyebrow{font-size:8px;letter-spacing:1px}
  .book-detail-actions{gap:8px;margin-top:17px}
  .book-detail-actions .primary,.book-detail-actions .secondary{min-width:0;width:100%;padding:10px 12px;font-size:11px}
  .sync-banner{padding:11px 12px;font-size:11px}
  .pagination,.vocab-pagination{gap:10px;margin-top:24px}
  .page-button{padding:10px 13px;min-height:40px;font-size:11px}
  .pagination span,.vocab-pagination span{font-size:10px}
  .library-empty{padding:35px 15px;font-size:12px}
  .library-empty h2,.library-empty h3{font-size:21px}
  .account-actions .primary,.account-actions .secondary{padding:10px 12px;font-size:11px}
  .profile-account{padding:17px 0}
  .profile-account h2,.profile-account h3{font-size:19px}
  .profile-account p,.bookmark-note{font-size:11px}
  .reader-toc{padding:12px 14px;margin-bottom:16px}
  .source-note{font-size:10px}
  .vocab-tools{gap:8px}
  .vocab-tools input{flex-basis:100%}
  .vocab-tools select{width:100%}
}
@media(max-width:350px){.book-grid{gap:23px 13px}.cover-title{font-size:18px}.book-detail-grid{grid-template-columns:96px minmax(0,1fr);gap:16px}.book-detail-copy h1,.book-detail-copy h2{font-size:21px}.book-detail-grid .cover-title{font-size:14px;line-height:1.6;letter-spacing:.5px}.book-detail-grid .cover-number{top:14px;font-size:7px}.book-detail-grid .cover-sub{bottom:14px}}
.reading-navigation { display:flex; flex-wrap:wrap; gap:12px; justify-content:flex-end; }
.file-mode-notice { margin:18px 0; padding:14px 18px; background:#fff4df; border:1px solid #dbcba9; border-radius:12px; font-size:14px; line-height:1.7; color:#5d583f; }
.file-mode-notice a { color:#214e41; text-decoration:underline; margin-left:8px; }
.optional-practice { border-top:1px solid #dce1d2; margin-top:24px; }
@media(max-width:600px) { .reading-navigation { width:100%; } .reading-navigation button { flex:1 1 140px; } }
.book-cover.illustrated-cover { overflow:hidden; padding:24px 18px 42px; justify-content:flex-end; color:#fff7e9; aspect-ratio:3/4; }
.book-cover-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; z-index:-2; }
.book-cover.illustrated-cover::before { inset:0; border:0; opacity:1; background:linear-gradient(180deg,rgba(8,25,24,.25),transparent 35%,rgba(6,18,20,.15) 48%,rgba(7,22,23,.93)); z-index:-1; }
.illustrated-cover .cover-title { text-shadow:0 2px 10px #051b1ad9; font-size:24px; line-height:1.5; letter-spacing:1.5px; margin-bottom:8px; }
.illustrated-cover .cover-number { top:18px; left:22px; opacity:.95; text-shadow:0 1px 5px #061817; }
.illustrated-cover .cover-sub { bottom:17px; opacity:.8; font-size:8px; letter-spacing:1.3px; }
.book-detail-grid .illustrated-cover .cover-title { font-size:23px; }
.hero .illustrated-cover .cover-title { font-size:19px; }
.book-cover.cover-image-unavailable::before { background:none; }
@media(max-width:760px) { .book-cover.illustrated-cover{padding:18px 12px 35px}.illustrated-cover .cover-title{font-size:18px;letter-spacing:.7px}.illustrated-cover .cover-number{top:13px;left:15px;font-size:8px}.illustrated-cover .cover-sub{bottom:13px;font-size:7px}.book-detail-grid .illustrated-cover .cover-title{font-size:14px}.hero .illustrated-cover .cover-title{font-size:15px} }

.brandmark img{display:block;width:100%;height:100%;object-fit:cover}

/* Keep small drawings proportional; selected navigation changes color, not geometry. */
.icon{display:block;width:20px;height:20px;flex:none;stroke-width:1.8}
.nav-item{font-size:11px;letter-spacing:.2px;line-height:1.3;color:#687664}
.nav-item .icon{width:22px;height:22px}
.nav-item.active{font-weight:600}
.nav-item.active .icon{stroke-width:1.8}
.chapter-card .icon{width:16px;height:16px}
.complete-symbol .icon{width:30px;height:30px}
.challenge-art .icon{width:36px;height:36px}
.empty-state>.icon{margin-left:auto;margin-right:auto}
.close,.sound-btn{width:44px;height:44px}
.control{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.reader-toolbar{flex-wrap:wrap}
.word-modal-title{overflow-wrap:anywhere;padding-right:36px}
@media(max-width:760px){.challenge-art .icon{width:30px;height:30px}}

.book-access{display:inline-flex;align-items:center;gap:5px;font:11px/1.5 var(--sans);margin-top:10px;padding:4px 7px;border-radius:5px;background:#edf0e6;color:#60745c}
.book-access .icon{width:14px;height:14px}
.book-access.locked{background:#f2eadf;color:#90664c}
.purchase-book{padding:22px 26px;background:#edf0e6;border-radius:12px;margin-bottom:22px}
.purchase-book h2{font:24px/1.6 var(--serif);margin:0 0 10px}
.purchase-book p,.purchase-book span,.purchase-product p,.purchase-notice p,.purchase-orders p{font-size:13px;line-height:1.9;color:var(--muted)}
.purchase-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:20px}
.purchase-product h2,.purchase-orders h2{font:23px/1.7 var(--serif);margin:12px 0}
.purchase-price{font:42px/1.2 Georgia,serif;color:var(--green);margin:15px 0}
.purchase-product .primary{width:100%;min-height:46px}
.purchase-product .primary:disabled{opacity:1;background:#e9eadf;color:#75816b}
.purchase-notice{margin:20px 0}.purchase-notice .center-actions{margin-top:18px}
.purchase-orders{margin-bottom:25px}
.purchase-order{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 0;border-top:1px solid var(--line)}
.purchase-order>div{min-width:0}.purchase-order small{display:block;font-size:10px;color:var(--muted);overflow-wrap:anywhere}
@media(max-width:760px){.purchase-products{grid-template-columns:1fr}.purchase-book{padding:20px}.purchase-product h2{font-size:21px}.purchase-order{align-items:flex-start;flex-wrap:wrap}}

/* A quiet registration line belongs to the website, not the product name. */
.site-identity{margin:42px 0 4px;padding:20px 0 0;border-top:1px solid var(--line);text-align:center;color:#687664;font-size:12px;line-height:1.9;overflow-wrap:anywhere}
.site-identity-links{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;column-gap:22px;row-gap:2px;margin-top:2px}
.site-identity a,.site-identity button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:9px 2px;background:none;color:var(--green);font-size:12px;line-height:1.8;text-underline-offset:4px;overflow-wrap:anywhere}
.site-identity button{border:0;text-decoration:underline}
.site-identity a:hover,.site-identity button:hover{color:#bd6b4a}
.modal .body-copy h3{font-size:14px;line-height:1.8;font-weight:600;margin:20px 0 8px;color:var(--green)}
.modal .body-copy a{color:var(--green);overflow-wrap:anywhere;text-underline-offset:3px}
