:root{--paper:#f6f3e9;--card:#fffdf7;--ink:#2b3329;--muted:#757c6d;--line:#e4dfcf;--green:#5f7950;--green-dark:#364f36;--soft:#eef2e4;--red:#a4633e;--gold:#bd9e6f;--sans:'Microsoft YaHei','PingFang SC','Hiragino Sans GB','Noto Sans CJK SC',system-ui,-apple-system,sans-serif;--serif:'Microsoft YaHei','PingFang SC','Hiragino Sans GB','Noto Sans CJK SC',system-ui,-apple-system,sans-serif;--shadow:0 4px 16px #454d2912}
*{box-sizing:border-box}body{margin:0;color:var(--ink);font:14px/1.7 var(--sans);background:#f3efe3;background-image:linear-gradient(#f6f2e9e8,#f4f1e6e8),url('/static/assets/ink-landscape.webp');background-size:cover;background-attachment:fixed}button,input,select,textarea{font:inherit;color:inherit}button{border:0;cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit}h1,h2,h3,h4,p{margin:0 0 12px}h1,h2,h3{font-family:var(--serif);font-weight:600}h1{font-size:32px;line-height:1.65;letter-spacing:1px}h2{font-size:20px}h3{font-size:18px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--green);outline-offset:4px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-intro{max-width:1376px;margin:23px auto 14px;padding:0 8px;display:flex;justify-content:space-between;color:#96917f;font:11px var(--serif);letter-spacing:3px}.app-shell{width:calc(100% - 64px);max-width:1440px;margin:0 auto 28px;background:#fcfaf3e8;border:1px solid #dcdac7;border-radius:18px;box-shadow:0 15px 55px #5a62431c,0 2px 7px #6d644d0a;overflow:clip}.topbar{height:91px;display:flex;align-items:center;gap:25px;padding:0 30px;background:linear-gradient(110deg,#fffdf8f2,#f7f5ebf0);border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font:28px var(--serif);letter-spacing:3px;white-space:nowrap}.brand small{display:block;font:10px var(--sans);letter-spacing:1.2px;color:var(--muted);margin-top:4px}.seal{display:grid;place-items:center;width:37px;height:43px;background:linear-gradient(135deg,#bb7b52,#9c5d3b);color:#fff4de;border-radius:5px;font:27px var(--serif);outline:1px solid #d9ad83;outline-offset:-4px;box-shadow:1px 2px 5px #76523213}.topbar nav{display:flex;gap:12px;align-items:center;justify-content:center;flex:1}.nav{background:none;padding:10px 17px;border-radius:9px;color:#646953;font-size:13px;white-space:nowrap}.nav-symbol{font:19px var(--serif);margin-right:8px;vertical-align:-1px}.nav.active{color:#925d3c;background:#f1e5d1;box-shadow:inset 0 -2px 0 #b47c4b}.nav:hover{background:#efeee2}.nav-count{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;margin-left:3px;border-radius:50%;background:#e5e8d8;font-size:10px;color:var(--green-dark)}.profile-button{border:1px solid #e4dfce;border-radius:24px;padding:7px 13px;background:#fcfaf1;font-size:12px;color:#5f6953;white-space:nowrap}.profile-button:before{content:'◉';color:#98a88c;margin-right:7px;font-size:17px;vertical-align:-1px}
.workspace{display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px;padding:24px;align-items:start}.workspace.collection-view{display:block}.sidebar{position:relative;isolation:isolate;padding:20px 18px 180px;background:linear-gradient(#fcf9f0,#f8f5e9);border:1px solid var(--line);border-radius:12px;min-height:850px;overflow:hidden}.sidebar h2{font-size:17px;margin-bottom:22px;color:var(--green-dark)}.sidebar h2>span{font-size:22px;color:var(--green)}.sidebar label{display:block;margin:16px 0 7px;font-size:12px;color:#666653}.sidebar label>span{margin-right:8px;color:#a99972;font-size:16px}.sidebar .check-label{display:flex;align-items:center;gap:6px;font-size:11px}.check-label input{width:13px;accent-color:var(--green)}select,input{width:100%;background:#fffdf8;border:1px solid var(--line);border-radius:7px;padding:9px 10px}select{cursor:pointer;font-size:12px}.primary{background:linear-gradient(110deg,#6d825d,#7e9067);color:#fffef6;padding:10px 17px;border:1px solid #6e825c;border-radius:8px;box-shadow:0 2px 3px #5768400a;transition:background .2s,transform .2s}.primary:hover{background:var(--green-dark);transform:translateY(-1px)}.full{width:100%;margin-top:10px}.small-note{font-size:11px;color:var(--muted);line-height:1.85}.sidebar>.small-note{margin:14px 0 17px}.sidebar-note{display:flex;gap:10px;padding-top:16px;border-top:1px solid var(--line)}.sidebar-note p{font-size:11px;line-height:1.85;color:var(--muted);margin:0}.tiny-seal{font:20px var(--serif);border:1px solid #c9af89;color:#a87c50;border-radius:3px;width:29px;height:33px;display:grid;place-items:center;flex-shrink:0}.sidebar-landscape{position:absolute;z-index:-1;inset:auto 0 0;height:190px;background:linear-gradient(#f9f6eb,transparent 60%),url('/static/assets/ink-landscape.webp') 85% 100%/auto 230px;opacity:.65}.eyebrow{font-size:10px;letter-spacing:3px;color:#8b927b;margin-bottom:10px}.hero{position:relative;isolation:isolate;overflow:hidden;padding:28px 30px 19px;border-radius:13px;border:1px solid #dfe2cf;background:#edf0df url('/static/assets/ink-landscape.webp') center/cover;box-shadow:var(--shadow)}.hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#f0f2e5d4,#eff2df7d 70%,#eef1df10)}.hero h1{font-size:30px;color:var(--green-dark);margin-bottom:7px;font-weight:500}.hero-copy>p{font:12px/1.9 var(--serif);color:#747a63;letter-spacing:1px;max-width:80%;margin-bottom:21px}.emotion-search{max-width:800px}.emotion-search-row{display:flex;align-items:center;gap:8px;border:1px solid #d8deca;background:#fffef8e8;border-radius:40px;padding:4px 5px 4px 17px;box-shadow:0 3px 5px #656b390b}.search-mark{font:25px var(--serif);color:#7c8b6b;line-height:1}.emotion-search-row input{border:0;background:none;min-width:0;font-size:12px;padding:8px 5px;outline-offset:0}.emotion-search-row .primary{white-space:nowrap;border-radius:30px;padding:10px 20px;font-size:12px}.emotion-search-row .primary>span{color:#e8d78f;margin-left:5px}.emotion-examples{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px;font-size:11px;color:#96967c}.emotion-examples button{border:1px solid #d9dfc9;background:#f7f8ecc4;border-radius:20px;padding:3px 10px;font-size:10px;color:#6e785d}.emotion-examples button:hover{background:#e5ebd7}.clear-emotion{margin-top:9px}#retrieval-status{font-size:10px;margin:9px 0 0;color:#7e8b6b}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:24px 0 15px}.section-heading h2{display:flex;gap:9px;align-items:center;margin:0;font-size:19px}.leaf-mark{font:27px var(--serif);color:#859b6e}.result-actions{display:flex;justify-content:flex-end;gap:9px 14px;align-items:center;flex-wrap:wrap;font-size:10px;max-width:65%}.result-actions .muted{font-size:10px}.text-button{background:none;color:#8a7557;font-size:11px;padding:3px 0}.text-button:hover{color:var(--green-dark);text-decoration:underline}.muted{font-size:12px;color:var(--muted)}.active-filters{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 13px}.filter-label{font-size:10px;color:#768269;padding:2px 9px;border:1px solid #e1e5d4;border-radius:4px;background:#f2f4e9;overflow-wrap:anywhere;max-width:100%}.notice{padding:10px 14px;background:#f5efde;border:1px solid #e6d6b2;border-radius:7px;font-size:12px;color:#827051;margin-bottom:16px}.poem-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.poem-card{display:block;position:relative;padding:22px 25px 19px;border:1px solid #e6d9bf;background:linear-gradient(135deg,#fffdf8,#fcf8ee);border-radius:13px;box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s;min-width:0}.poem-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #5c654016}.card-main{display:flex;flex-direction:column;min-width:0;padding:3px 0}.card-kicker{display:flex;justify-content:space-between;align-items:center;gap:6px;color:#96927d;font-size:9px;margin-bottom:6px}.card-grade{background:#f4ead5;color:#a38a5f;padding:2px 7px;border-radius:12px;font-size:9px;white-space:nowrap}.poem-card h3{font-size:18px;line-height:1.5;margin:0 0 4px}.poem-title-button{font:inherit;background:none;text-align:left;padding:0}.poem-title-button:hover{color:var(--red)}.author{font-size:10px;color:#8b8c7b;margin-bottom:10px}.poem-text{white-space:pre-line;font:14px/1.95 var(--serif);margin:0 0 9px;color:#555e4e}.poem-card .poem-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tags{display:flex;gap:5px;flex-wrap:wrap;margin:0 0 7px}.tag{font-size:9px;padding:1px 7px;background:#f1ecd9;color:#94805a;border-radius:10px}.tag.style{background:#eef0e2;color:#7b8d66}.reason{font-size:10px;line-height:1.7;color:#919580;margin-top:auto;overflow-wrap:anywhere}.card-action{display:flex;gap:7px;margin-top:11px}.card-buttons{display:flex;gap:7px;flex-wrap:wrap;width:100%}.read-button{padding:6px 10px;border:1px solid var(--line);border-radius:7px;background:#fffdf7;color:#6f705e;font-size:11px}.read-button:hover{background:var(--soft)}.add-button{padding:6px 11px;background:#889b77;border-radius:7px;color:#fffef5;font-size:11px;margin-left:auto}.add-button:hover{background:var(--green-dark)}.emotion-evidence{grid-column:1/-1;border-top:1px solid var(--line);padding-top:9px;margin-top:0}.emotion-evidence>summary{font-size:11px;color:var(--green);cursor:pointer}.emotion-evidence>div{padding-top:10px}.emotion-name{font-size:11px;color:var(--green-dark);background:var(--soft);padding:2px 8px;border-radius:4px}.emotion-reason,.evidence-explanation{font-size:11px;line-height:1.85;color:var(--muted);margin:7px 0}.emotion-evidence blockquote{margin:10px 0 5px;border-left:2px solid #c5af8d;padding-left:10px;font:15px/1.9 var(--serif)}.discovery-footer{display:flex;justify-content:space-between;gap:10px;margin-top:24px;font:10px var(--serif);color:#aaa38f;letter-spacing:1px}.site-footer{display:flex;align-items:center;gap:12px;border-top:1px solid #e6e3d6;margin:0 24px;padding:17px 4px;color:#989a86;font:11px var(--serif);letter-spacing:1px}.site-footer>span{font-size:18px;color:#899577}.site-footer small{margin-left:auto;font-size:10px;color:#b1ae9a}
/* The work opens as a full page. The reading and learning columns share the navigation. */
.study-page{padding:0 24px 25px}.breadcrumb{display:flex;align-items:center;gap:17px;height:57px;font-size:11px;color:#93917e}.breadcrumb>button:first-child{background:none;color:#778169;font-size:12px;padding:3px 0}.breadcrumb-divider{padding:0 7px;color:#b3ac94}.breadcrumb>.text-button{margin-left:auto}.loading-card{border:1px solid var(--line);border-radius:12px;padding:60px 25px;text-align:center;background:var(--card);color:var(--muted)}.study-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(340px,1fr);gap:23px;align-items:start}.reading-column,.study-side-column{min-width:0}.reading-card{border:1px solid var(--line);border-radius:13px;background:#fffdf8;overflow:hidden;box-shadow:var(--shadow)}.poem-original-panel{position:relative;isolation:isolate;text-align:center;padding:36px 28px 25px;min-height:425px;background:linear-gradient(#fffdf8eb,#fffdf8f0 70%,#fffdf882),url('/static/assets/ink-landscape.webp') 65% 100%/auto 100%;overflow:hidden}.poem-original-panel:after{content:'';position:absolute;z-index:-1;right:-20px;top:-18px;width:140px;height:150px;background:url('/static/assets/poetry-bookmarks.webp') 100% 0/400% 160%;opacity:.35;mask-image:linear-gradient(225deg,#000,transparent 70%)}.poem-original-panel h1{font-size:27px;margin:5px 0 10px;letter-spacing:1px}.poem-original-panel>.eyebrow{font-size:9px;color:#b2ad96}.author-badge{display:inline-block;padding:2px 17px;border:1px solid #eadfc9;background:#f8f2e7b3;border-radius:20px;color:#8c7f65;font:12px/1.8 var(--serif);margin-bottom:26px}.poem-cloud{position:absolute;left:28px;top:53px;color:#e5cfa7;font:40px var(--serif);opacity:.6}.study-original{white-space:pre-line;font:19px/2.25 var(--serif);letter-spacing:.6px;color:#373f35;overflow-wrap:anywhere}.study-preface{max-width:590px;margin:0 auto 22px;text-align:left}.study-preface-original{white-space:pre-wrap;color:#969886;font:13px/2 var(--serif)}.poem-end-mark{font:13px var(--serif);color:#b9ad8d;margin-top:21px}.reading-tabs{display:flex;align-items:stretch;border-bottom:1px solid var(--line);background:#fcfaf4;overflow:auto;padding:0 12px;gap:4px}.reading-tabs button{flex:1;white-space:nowrap;background:none;font-size:12px;color:#7b7c6b;padding:17px 8px 13px;border-bottom:3px solid transparent}.reading-tabs button[aria-selected=true]{color:#9d6c45;border-color:#ae7c4b;background:#f8f3e7}.reading-tabs button:disabled{opacity:.35}.reading-tab-body{padding:14px}.reading-pane{padding:20px 22px 35px;background:linear-gradient(#fcfaf3f0,#fcfaf3e8),url('/static/assets/ink-landscape.webp') 80% 100%/auto 180px;border:1px solid #eeeadf;border-radius:8px;min-height:200px}.reading-pane h2{font-size:17px;margin-bottom:12px}.reading-pane h2:before{content:'▤';color:#9aaf7b;font-size:17px;margin-right:9px}.study-translation{white-space:pre-wrap;font:14px/2.2 var(--serif);overflow-wrap:anywhere}.study-preface-translation{margin-top:19px;border-top:1px solid var(--line);padding-top:17px}.study-preface-translation h3{font-size:14px;color:#8e987a}.study-annotations{display:grid;grid-template-columns:minmax(70px,115px) minmax(0,1fr);gap:12px 18px;margin:14px 0 0;font-size:13px;line-height:1.95}.study-annotations dt{font-weight:500;color:var(--green-dark);overflow-wrap:anywhere}.study-annotations dd{margin:0;overflow-wrap:anywhere}.materials-card{border:1px solid var(--line);border-radius:10px;padding:15px 20px;margin-top:16px;background:#fffdf6;box-shadow:var(--shadow)}.materials-card>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none;cursor:pointer;color:#a37e4b;font-size:18px}.materials-card>summary::-webkit-details-marker{display:none}.materials-card strong{font:600 16px var(--serif);color:var(--ink);margin-left:8px}.materials-card small{font-size:10px;color:var(--muted);margin-left:16px}.materials-list{padding-top:12px}.materials-list p{font-size:11px;color:var(--muted);line-height:1.9;margin-bottom:8px}
.study-questions,.study-practice-card{padding:20px;border:1px solid var(--line);background:linear-gradient(130deg,#fffdf8,#faf8ef);border-radius:13px;box-shadow:var(--shadow)}.study-question-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.study-question-heading h2,.study-practice-card h2{font-size:18px;margin-bottom:4px}.study-question-heading p{font-size:11px;color:var(--muted);margin:0}.helper-icon{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:5px;background:#8d9f75;color:#fff9e9;font-size:16px;margin-right:5px}.helper-avatar{position:relative;width:51px;height:51px;border:1px solid #cad4bc;border-radius:18px;background:linear-gradient(140deg,#fffef4,#dce5d5);box-shadow:0 0 24px #a6ba9633;display:grid;place-items:center;flex-shrink:0}.helper-avatar span{background:#3e5750;color:#bbdfcb;border-radius:10px;font-size:14px;padding:3px 6px;letter-spacing:1px}.helper-avatar:before{content:'';position:absolute;top:-8px;width:2px;height:8px;background:#98aa88}.helper-avatar i{position:absolute;bottom:4px;width:8px;height:3px;border-radius:50%;background:#bac9ad}#study-qa-status{display:block;font-size:9px;margin-top:9px;color:#a0a38e}.study-suggestions{display:grid;gap:7px;margin:12px 0 16px}.study-suggestions button{width:100%;border:1px solid #e8dfca;border-radius:20px;background:#fffdf6;padding:7px 12px;text-align:left;font-size:11px;line-height:1.65;color:#77775f}.study-suggestions button:hover{background:#f0f3e6;border-color:#cdd8bb}.study-messages{display:flex;flex-direction:column;gap:12px;max-height:650px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c5cdb6 transparent;padding-right:3px}.study-messages:empty{display:none}.study-user-question{align-self:flex-end;max-width:95%;padding:10px 13px;background:#e9eedf;border:1px solid #e0e7d4;border-radius:11px 11px 2px 11px;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.study-answer{background:#fffef8;border:1px solid var(--line);border-radius:9px;padding:14px;min-width:0;flex-shrink:0}.study-answer-direction{font-size:9px!important;margin-bottom:11px}.study-version-title{font:600 13px var(--sans);color:var(--green-dark);margin:0 0 11px}.answer-basis{display:inline-block;font-size:9px;background:var(--soft);color:#718365;padding:2px 6px;border-radius:4px}.answer-basis.model{background:#f5ead8;color:#a48655}.study-answer-text{font-size:12px;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere;margin:9px 0 12px}.study-answer-block+.study-answer-block{border-top:1px solid var(--line);padding-top:11px;margin-top:11px}.study-references{font-size:10px;color:var(--muted);line-height:1.85}.study-references summary{cursor:pointer}.study-reference{margin-top:10px}.study-reference strong{font-weight:500;color:var(--green-dark)}.study-reference blockquote{border-left:2px solid #b9b18f;margin:6px 0;padding-left:9px;white-space:pre-wrap;overflow-wrap:anywhere}.study-answer-alternative{border-top:1px solid var(--line);margin-top:13px;padding-top:10px}.study-answer-alternative>summary{font-size:11px;color:var(--green);cursor:pointer}.study-answer-alternative>.study-answer-version{margin-top:12px}.model-call-record{border-top:1px solid var(--line);padding-top:10px;margin-top:12px}.model-call-record p{margin:7px 0 0}.model-request-id{overflow-wrap:anywhere}.study-answer-pending{font-size:11px;color:var(--muted);padding:10px 0}#study-question-form{margin-top:15px}textarea{width:100%;resize:vertical;padding:11px 12px;border:1px solid var(--line);border-radius:8px;background:#fffef9;line-height:1.85}#study-question{font-size:12px;min-height:69px;max-height:210px}.study-compose-footer{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:8px}.study-compose-footer .small-note{font-size:9px}.study-compose-footer .primary{font-size:11px;white-space:nowrap;padding:7px 12px}.study-practice-card{margin-top:17px}.study-practice-card h2>span{color:#8d9f75;margin-right:7px;font-size:24px}.practice-tabs{display:flex;background:#f1efe5;border-radius:7px;padding:3px;margin:16px 0 17px}.practice-tabs button{flex:1;padding:5px 4px;background:none;font-size:11px;border:1px solid transparent;border-radius:6px;color:#898774}.practice-tabs button[aria-selected=true]{background:#fffdf6;border-color:#e8dfc8;color:#716346;box-shadow:0 1px 3px #7c744f0c}.practice-overview{display:flex;align-items:center;gap:23px;margin:10px 0 15px}.progress-ring{--progress:0%;background:conic-gradient(#91a376 var(--progress),#e7e7d6 0);width:110px;height:110px;padding:7px;border-radius:50%;flex-shrink:0}.progress-ring>div{width:100%;height:100%;border-radius:50%;background:#fcfaf2;display:flex;flex-direction:column;align-items:center;justify-content:center}.progress-ring strong{font:600 25px var(--serif)}.progress-ring span{font-size:9px;color:#8e947a;margin-top:4px}.practice-steps{padding:0;list-style:none;margin:0;font-size:11px;color:#8e907d;display:grid;gap:10px}.practice-steps li{display:flex;align-items:center;gap:8px}.practice-steps li:before{content:'';width:16px;height:16px;border:1px solid #d0d3bd;border-radius:50%;flex-shrink:0}.practice-steps .done{color:#647859}.practice-steps .done:before{content:'✓';display:grid;place-items:center;background:#82956d;border-color:#82956d;color:white;font-size:11px}.study-practice-card .full{margin-top:8px;font-size:12px}.practice-records{font-size:12px;min-height:100px;color:var(--muted);line-height:1.9}.practice-record{padding:10px 0;border-bottom:1px solid var(--line)}.practice-record:last-child{border:0}.practice-record strong{font-size:12px;color:var(--green-dark)}.practice-record p{font-size:10px;margin:4px 0 0}
/* Collection, original selection conversation, and writing practice remain functional. */
.collection-tabs{display:flex;gap:20px;border-bottom:1px solid var(--line);margin:0 0 25px}.collection-tabs button{padding:10px 5px;background:none;color:#8a8c78;font-size:13px;border-bottom:2px solid transparent}.collection-tabs button.selected{color:var(--green-dark);border-color:var(--green)}.task-list{display:grid;gap:15px}.task-card{padding:23px;border:1px solid var(--line);border-radius:10px;background:var(--card);box-shadow:var(--shadow)}.task-card h3{font-size:21px;margin:0 0 5px}.task-top{display:flex;justify-content:space-between;gap:10px}.status{border-radius:20px;padding:4px 10px;height:fit-content;background:var(--soft);color:var(--green);font-size:11px}.status.due{background:#f2e8d7;color:#9a7a54}.task-meta{display:flex;gap:15px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin:15px 0}.task-actions{display:flex;gap:17px;align-items:center;flex-wrap:wrap}.task-actions .primary{font-size:12px}.task-card pre{white-space:pre-wrap;font:17px/2 var(--serif);padding:17px;background:var(--soft);border-radius:7px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:15px 0 22px}.stat{border:1px solid var(--line);border-radius:9px;padding:20px;background:var(--card);text-align:center}.stat strong{display:block;font:30px var(--serif);margin-bottom:9px;color:var(--green-dark)}.stat span{font-size:11px;color:var(--muted)}.history-card{padding:20px 0;border-bottom:1px solid var(--line)}.history-card h3{font-size:17px;margin-bottom:6px}.history-card p{font-size:12px;color:var(--muted)}.error-chip{display:inline-block;font-size:11px;padding:4px 8px;border-radius:4px;background:#f3e7dc;color:#a56d4c;margin:3px}.empty{padding:40px 20px;border:1px dashed #dcdac6;border-radius:10px;text-align:center;color:#929780;font-size:12px;grid-column:1/-1;background:#f9f9ed99}.chat-panel{position:fixed;z-index:8;right:25px;bottom:25px;width:360px;height:min(650px,85dvh);background:var(--card);border:1px solid #d4d9c0;border-radius:15px;box-shadow:0 14px 70px #3a4c3e38;display:flex;flex-direction:column;overflow:hidden}.chat-heading{display:flex;align-items:center;gap:11px;padding:18px;border-bottom:1px solid var(--line)}.chat-heading h2{font-size:18px;margin:0}.chat-heading p{font-size:9px;color:var(--muted);margin:3px 0 0}.chat-heading .icon-button{margin-left:auto}.chat-messages{flex:1;overflow-y:auto;padding:17px;display:flex;flex-direction:column;gap:14px}.message{background:#f0f1e6;border:1px solid #e5e7d9;border-radius:8px;padding:11px 12px;font-size:12px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;max-width:95%;align-self:start;flex-shrink:0}.message.user{align-self:end;background:#e7eedc;border-color:#dbe3cd}.message.warning{font-size:10px;color:#9b895e;background:#f6efdc}.chat-suggestions{display:flex;gap:8px;padding:9px 16px}.chat-suggestions button{border:1px solid var(--line);background:none;border-radius:15px;padding:4px 9px;font-size:10px;color:var(--muted)}#chat-form{padding:13px;border-top:1px solid var(--line)}#chat-input{font-size:12px;min-height:70px;max-height:140px}.chat-compose-footer{display:flex;align-items:center;justify-content:space-between;margin-top:5px}.chat-compose-footer span{font-size:9px;color:var(--muted)}.chat-compose-footer button{border-radius:50%;width:30px;height:30px;background:var(--green);color:white;font-size:19px}.icon-button{background:none;color:var(--muted);font-size:25px;padding:0 4px}.error-message{font-size:12px;color:#ad644b;margin:12px 0 0}.toast{position:fixed;z-index:20;bottom:24px;left:50%;transform:translateX(-50%);max-width:90vw;background:var(--green-dark);color:white;padding:10px 20px;border-radius:30px;font-size:12px;box-shadow:var(--shadow)}dialog{padding:30px;border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:13px;width:min(440px,calc(100vw - 30px));max-height:90dvh;overflow:auto;box-shadow:0 18px 85px #263a292a}dialog::backdrop{background:#32453744;backdrop-filter:blur(3px)}dialog h2{font-size:26px}dialog label{display:block;font-size:12px;margin:18px 0 7px}dialog .full{margin-top:25px}.practice-dialog{width:min(660px,calc(100vw - 25px))}.modal-heading{display:flex;justify-content:space-between;align-items:center}.practice-hint{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:18px 0 11px}#hint-text{white-space:pre-wrap;font:18px/2 var(--serif);background:var(--soft);padding:16px;border-radius:7px}#answer{font:19px/2 var(--serif);margin-bottom:14px}#grade-result{margin-top:21px}.grade-score{font:35px var(--serif);color:var(--green)}.grade-caption{font-size:12px;color:var(--muted)}body:has(dialog[open]){overflow:hidden}
@media(min-width:1600px){.app-shell{margin-top:20px}.hero{padding:35px 35px 24px}.hero h1{font-size:33px}.poem-card{padding:15px;gap:18px;}.poem-card h3{font-size:20px}.poem-card .poem-text{font-size:15px}.study-original{font-size:21px}.poem-original-panel{padding:45px 35px 30px}}
@media(max-width:1150px){.app-shell{width:calc(100% - 32px)}.topbar{padding:0 20px;gap:12px}.topbar nav{gap:3px}.nav{padding:10px 11px}.brand small{display:none}.workspace{grid-template-columns:180px minmax(0,1fr);gap:17px;padding:20px}.sidebar{padding:18px 14px 180px}.hero{padding:25px 23px 18px}.hero h1{font-size:26px}.poem-card{gap:11px;padding:10px}.poem-card h3{font-size:16px}.card-kicker{flex-wrap:wrap}.card-buttons{gap:5px}.card-buttons button{font-size:10px;padding:5px 8px}.study-layout{grid-template-columns:minmax(0,1.5fr) minmax(310px,1fr);gap:17px}.study-page{padding:0 20px 22px}.study-questions,.study-practice-card{padding:16px}.poem-original-panel{padding:30px 18px 24px}.poem-original-panel h1{font-size:23px}.study-original{font-size:17px}.reading-tabs{padding:0 5px;gap:0}.reading-tabs button{font-size:10px;padding:14px 5px 12px}.reading-pane{padding:18px 16px}.practice-overview{gap:14px}.progress-ring{width:90px;height:90px}.practice-steps{font-size:10px}.result-actions{gap:5px 10px}.section-heading h2{font-size:17px}}
@media(max-width:880px){.site-intro{padding:0 24px;font-size:9px;letter-spacing:1px}.brand{font-size:24px;gap:8px}.seal{width:31px;height:36px;font-size:22px}.topbar{height:78px}.nav{font-size:11px;padding:9px}.nav-symbol{font-size:15px;margin-right:4px}.profile-button{font-size:10px;padding:6px 9px}.profile-button:before{display:none}.workspace{grid-template-columns:155px minmax(0,1fr);gap:15px;padding:15px}.sidebar{padding:17px 12px 180px}.sidebar h2{font-size:15px}.hero h1{font-size:23px}.hero-copy>p{max-width:95%;font-size:11px}.hero-copy .eyebrow{font-size:9px}.poem-grid{grid-template-columns:1fr}.poem-card{gap:15px}.poem-card h3{font-size:18px}.section-heading{align-items:flex-start}.result-actions{max-width:55%}.section-heading h2{font-size:16px;white-space:nowrap}.study-layout{grid-template-columns:minmax(0,1fr) minmax(275px,.88fr);gap:13px}.study-page{padding:0 15px 20px}.study-original{font-size:16px}.poem-original-panel h1{font-size:21px}.poem-cloud{left:12px;top:47px;font-size:26px}.reading-tabs button{font-size:10px;padding:12px 5px}.study-questions,.study-practice-card{padding:13px}.study-question-heading h2,.study-practice-card h2{font-size:16px}.helper-avatar{width:43px;height:43px}.study-compose-footer .small-note{max-width:130px}.materials-card small{display:none}}
@media(max-width:680px){.site-intro{margin:14px auto 10px;padding:0 17px}.site-intro>span:last-child{display:none}.app-shell{width:calc(100% - 16px);border-radius:13px;margin-bottom:10px}.topbar{height:auto;min-height:103px;flex-wrap:wrap;padding:13px 15px 0;gap:4px}.brand{font-size:24px}.brand small{display:block;font-size:8px;letter-spacing:1px}.seal{width:31px;height:36px}.profile-button{margin-left:auto;font-size:10px}.topbar nav{order:3;width:100%;justify-content:space-between;gap:0;flex-basis:100%;margin-top:9px}.nav{font-size:11px;border-radius:6px 6px 0 0;padding:10px 8px}.nav-symbol{margin-right:5px}.nav-count{font-size:8px;min-width:14px;height:14px}.workspace{display:flex;flex-direction:column;padding:13px;gap:16px}.sidebar{width:100%;min-height:0;padding:15px;background:#fbf9f0}.sidebar h2{font-size:16px;margin-bottom:13px}.sidebar form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 13px}.sidebar label{font-size:10px;margin:3px 0 0}.sidebar label[for=grade]{grid-column:1;grid-row:1}.sidebar #grade{grid-column:1;grid-row:2}.sidebar label[for=theme]{grid-column:2;grid-row:1}.sidebar #theme{grid-column:2;grid-row:2}.sidebar label[for=style]{grid-column:1;grid-row:3}.sidebar #style{grid-column:1;grid-row:4}.sidebar label[for=emotion]{grid-column:2;grid-row:3}.sidebar #emotion{grid-column:2;grid-row:4}.sidebar label[for=count]{grid-column:1;grid-row:5}.sidebar #count{grid-column:1;grid-row:6}.sidebar .check-label{grid-column:2;grid-row:5/7;align-self:center;font-size:10px}.sidebar .primary{grid-column:1/-1;margin-top:6px;font-size:12px;padding:8px}.sidebar select{font-size:11px;padding:8px}.sidebar>.small-note{font-size:9px;margin:9px 0 0}.sidebar-note,.sidebar-landscape{display:none}#main-panels{width:100%;min-width:0}.hero{padding:22px 18px 15px;background-position:68% center}.hero h1{font-size:23px;line-height:1.6;max-width:250px}.hero-copy>p{font-size:10px;letter-spacing:0;max-width:90%;margin-bottom:17px}.emotion-search-row{padding:4px 4px 4px 10px;gap:4px}.emotion-search-row input{font-size:10px;padding:7px 2px}.emotion-search-row .primary{padding:9px 12px;font-size:10px}.emotion-search-row .primary>span{display:none}.search-mark{font-size:21px}.emotion-examples{gap:5px;font-size:9px;margin-top:10px}.emotion-examples button{font-size:9px;padding:2px 7px}#retrieval-status{font-size:8px}.section-heading{flex-wrap:wrap;margin:20px 0 11px;gap:8px}.section-heading h2{font-size:17px}.result-actions{max-width:none;flex:1;gap:5px 10px}.result-actions .muted{flex-basis:100%;text-align:right;font-size:9px}.result-actions .text-button{font-size:9px}.active-filters{gap:5px}.filter-label{font-size:9px}.poem-grid{gap:13px}.poem-card{gap:13px;padding:11px}.poem-card h3{font-size:17px}.poem-text{font-size:13px}.card-kicker{font-size:8px}.card-grade{font-size:8px}.card-buttons button{font-size:10px}.reason{font-size:9px}.notice{font-size:10px}.discovery-footer{font-size:9px;line-height:1.9;flex-direction:column;gap:4px}.site-footer{margin:0 14px;padding:14px 0;font-size:10px;gap:8px}.site-footer>span{font-size:17px}.site-footer small{font-size:8px}.study-page{padding:0 13px 17px}.breadcrumb{font-size:9px;gap:10px;height:49px}.breadcrumb>button:first-child{font-size:11px}.breadcrumb>.text-button{font-size:10px}.study-layout{display:flex;flex-direction:column;gap:16px}.reading-column,.study-side-column{width:100%}.poem-original-panel{min-height:0;padding:28px 18px 22px}.poem-original-panel h1{font-size:23px;line-height:1.65}.poem-original-panel>.eyebrow{font-size:8px}.author-badge{font-size:11px;margin-bottom:22px}.study-original{font-size:17px;line-height:2.2}.study-preface-original{font-size:12px}.poem-cloud{top:49px;left:9px;font-size:22px}.reading-tab-body{padding:10px}.reading-pane{padding:17px 14px 28px}.reading-pane h2{font-size:16px}.reading-tabs button{font-size:10px;padding:13px 5px 10px}.reading-tabs{gap:1px}.study-translation{font-size:13px;line-height:2.1}.study-annotations{grid-template-columns:70px minmax(0,1fr);gap:10px 12px;font-size:12px}.materials-card{padding:13px 15px}.materials-card strong{font-size:15px}.study-questions,.study-practice-card{padding:18px}.study-question-heading h2,.study-practice-card h2{font-size:18px}.study-suggestions button{font-size:11px}.study-messages{max-height:650px}.study-answer-text{font-size:12px}.practice-overview{gap:25px}.progress-ring{width:105px;height:105px}.practice-steps{font-size:11px}.task-card{padding:17px}.task-card h3{font-size:18px}.stats{gap:7px}.stat{padding:15px 6px}.stat strong{font-size:26px}.stat span{font-size:9px}.chat-panel{right:12px;bottom:12px;width:calc(100vw - 24px);height:min(680px,85dvh)}dialog{padding:22px}.practice-hint{align-items:flex-start}.practice-hint .small-note{max-width:160px;font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

.helper-avatar span{white-space:nowrap;font-size:12px;letter-spacing:0}.study-original{text-wrap:balance}
.poem-stanza+.poem-stanza{margin-top:15px}.poem-verse{display:block;text-wrap:balance}.poem-variant{display:block;font:11px/1.9 var(--sans);color:#a1a38f;margin:6px auto 0;max-width:90%;letter-spacing:0}.study-original{font-size:18px;line-height:2.15}@media(max-width:680px){.study-original{font-size:16px;line-height:2.1}.poem-variant{font-size:9px}.poem-stanza+.poem-stanza{margin-top:12px}}

/* Reading cards: three desktop columns, six works per page. */
.poem-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.poem-card{display:flex;flex-direction:column;padding:20px 22px 18px}
.poem-card::before,.poem-card::after{content:'';position:absolute;width:11px;height:11px;pointer-events:none;opacity:.5}
.poem-card::before{top:5px;left:5px;border-top:1px solid #d7c39d;border-left:1px solid #d7c39d;border-radius:7px 0 0}
.poem-card::after{bottom:5px;right:5px;border-bottom:1px solid #d7c39d;border-right:1px solid #d7c39d;border-radius:0 0 7px}
.card-main{min-height:220px;padding:0;flex:1}
.poem-card .card-kicker{font-size:9px;margin-bottom:7px;flex-wrap:nowrap}
.poem-card .card-grade{font-size:9px;padding:2px 7px}
.poem-card h3{font-size:19px;line-height:1.55;margin-bottom:5px}
.poem-card .author{font-size:11px;margin-bottom:10px}
.poem-card .poem-text{font-size:14px;line-height:1.85;margin-bottom:10px;white-space:pre-line;-webkit-line-clamp:2}
.poem-card .tags{margin-bottom:8px;gap:5px}
.poem-card .tag{font-size:10px;padding:1px 8px}
.poem-card .reason{font-size:10px;line-height:1.7;padding-top:4px}
.poem-card .card-action{margin-top:14px}
.poem-card .card-buttons{gap:11px}
.poem-card .read-button,.poem-card .add-button{padding:7px 14px;font-size:11px}
.poem-card .emotion-evidence{margin-top:10px;padding-top:7px}
@media(min-width:761px){
  .site-intro{margin:14px auto 10px}
  .topbar{height:76px}
  .workspace{padding:20px;gap:18px;grid-template-columns:190px minmax(0,1fr)}
  .sidebar{min-height:720px;padding:17px 16px 115px}
  .sidebar h2{margin-bottom:15px}
  .sidebar label{margin-top:12px}
  .sidebar>.small-note{margin:11px 0 13px}
  .sidebar-note{padding-top:13px}
  .sidebar-landscape{height:125px}
  .hero{padding:18px 24px 14px}
  .hero-copy>.eyebrow{display:none}
  .hero h1{font-size:27px;line-height:1.45;margin:0 0 6px}
  .hero-copy>p{font-size:11px;line-height:1.7;margin-bottom:12px;letter-spacing:.5px}
  .emotion-search-row .primary{padding:8px 18px}
  .emotion-search-row input{padding:6px 5px}
  .emotion-examples{margin-top:8px;gap:7px}
  #retrieval-status{margin-top:5px;font-size:9px}
  .section-heading{margin:17px 0 10px}
  .active-filters{margin-bottom:10px}
  .notice{padding:8px 12px;font-size:11px;margin-bottom:12px}
  .discovery-footer{margin-top:18px}
}

@media(min-width:761px) and (max-width:1099px){.poem-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero h1{font-size:24px}.workspace{grid-template-columns:170px minmax(0,1fr);gap:15px}.sidebar{padding-left:13px;padding-right:13px}}
@media(max-width:760px){.poem-grid{grid-template-columns:1fr}.poem-card{padding:16px 18px}.poem-card h3{font-size:18px}.poem-card .poem-text{-webkit-line-clamp:2}.card-main{min-height:0}.poem-card .read-button,.poem-card .add-button{font-size:11px;padding:6px 13px}}

.poem-pagination{display:flex;justify-content:center;align-items:center;gap:18px;margin:23px 0 9px;padding-top:18px;border-top:1px solid var(--line)}
.poem-pagination button{padding:7px 15px;background:#fffdf6;border:1px solid #dfdccb;border-radius:7px;font-size:12px;color:var(--green-dark)}
.poem-pagination button:hover:not(:disabled){background:var(--soft);border-color:#bfcbb0}
.poem-pagination button:disabled{opacity:.35;cursor:default}
#poem-page-status{font-size:11px;color:var(--muted)}
@media(max-width:760px){.poem-pagination{gap:10px}.poem-pagination button{padding:7px 10px;font-size:11px}#poem-page-status{font-size:10px}}

/* Light paper frames and library cards, matched to the supplied design. */
.app-shell{background:linear-gradient(180deg,#fcfaf3f5,#faf8eff7);border-color:#e5e3d5;box-shadow:0 9px 32px #5d654412,0 1px 4px #6f68440a}
.topbar{background:linear-gradient(110deg,#fffdf7e8,#faf8eef0);border-bottom-color:#e9e6d9}
.sidebar{background:linear-gradient(150deg,#fcfaf2,#f9f7ec);border-color:#e7e5d8;border-radius:15px;box-shadow:inset 0 0 0 1px #ffffff80}
.hero{border-color:#e5e7d6;border-radius:14px;box-shadow:0 3px 11px #6b75430a}
#discover-panel>.section-heading{align-items:center;gap:18px;margin:18px 0 7px}
.result-heading-main{display:flex;align-items:center;gap:18px;min-width:0;flex:1;flex-wrap:wrap}
.result-heading-main h2{font-size:25px;line-height:1.4;white-space:nowrap;gap:10px}
.result-heading-main .leaf-mark{font-size:27px;color:#91a578}
.result-heading-main .notice{flex:1;min-width:220px;max-width:450px;margin:0;padding:4px 12px;border:1px solid #eee9d8;border-radius:15px;background:linear-gradient(120deg,#f5f1dfc9,#faf7ebb0);font-size:10px;line-height:1.7;color:#85836a}
#discover-panel .result-actions{max-width:48%;gap:7px 13px;flex-shrink:0}
#discover-panel .result-actions .text-button{white-space:nowrap}
#discover-panel .active-filters{border-bottom:1px solid #e5e4d7;padding-bottom:8px;margin-bottom:15px}
#discover-panel .filter-label{font-size:10px;padding:2px 11px;border-radius:14px;background:#f0f2e5;border-color:#e2e7d2}
.poem-card{padding:17px 23px 15px;border:1px solid #e7e4d6;border-radius:17px;background:radial-gradient(ellipse at 12% 0,#ffffff80,transparent 72%),linear-gradient(140deg,#fdfbf2,#faf7eb);box-shadow:inset 0 0 0 1px #fffffa9c,0 5px 12px #8576490d;transition:border-color .2s,box-shadow .2s}
.poem-card::before,.poem-card::after{content:none}
.poem-card:hover,.poem-card:focus-within{transform:none;border-color:#98aa83;box-shadow:0 0 0 2px #e3e8d8,inset 0 0 0 1px #fffff9,0 5px 13px #6d7c4410}
.card-main{min-height:200px}
.poem-card .card-kicker{font-size:10px;line-height:1.7;color:#92917d;margin-bottom:5px}
.poem-card .card-grade{font-size:9px;padding:2px 8px;background:#f2ecd8;color:#9a8d6a;border-radius:12px}
.poem-card h3{font-size:22px;line-height:1.4;margin-bottom:3px;color:#2e352a;letter-spacing:.2px}
.poem-card .author{font-size:11px;margin-bottom:6px;padding-bottom:5px;border-bottom:1px solid #eae7da;color:#7f8270}
.poem-card .poem-text{font-size:14px;line-height:1.8;margin-bottom:8px;color:#454d3d;background:repeating-linear-gradient(to bottom,transparent 0,transparent 24px,#d9d5c31c 24px,#d9d5c31c 25px)}
.poem-card .tags{gap:6px;margin-bottom:8px}
.poem-card .tag{font-size:10px;padding:1px 8px;background:#f0ecd9;color:#8b815b}
.poem-card .tag.style{background:#edf0df;color:#7b8969}
.poem-card .card-action{margin-top:12px}
.poem-card .read-button,.poem-card .add-button{padding:6px 17px;font-size:12px;border-radius:8px}
.poem-card .read-button{border-color:#e1decd;background:linear-gradient(#fffef8,#f9f6e9);box-shadow:inset 0 1px 0 #ffffffa8;color:#646851}
.poem-card .add-button{border:1px solid #71895a;background:linear-gradient(175deg,#839a6d,#647f4e);box-shadow:inset 0 1px 0 #f1f6db4d;color:#fffef5}
.poem-card .add-button:hover{background:linear-gradient(175deg,#718b5a,#526f40)}
#recommend,#semantic-search{background:linear-gradient(175deg,#81986b,#647e50);box-shadow:inset 0 1px 0 #f2f6df47}
#recommend:hover,#semantic-search:hover{background:linear-gradient(175deg,#728b5d,#536f42)}
.poem-pagination{border-top-color:#e9e5d7;margin-top:20px;padding-top:17px}
.poem-pagination button{background:linear-gradient(#fffef9,#faf8ed);border-color:#dedbcd;box-shadow:inset 0 1px 0 #fff;font-size:12px}
#poem-page-status{color:#7b7f6e}
@media(min-width:761px){
  .sidebar{padding:16px 14px 100px;min-height:690px}
  .sidebar label{margin-top:11px;margin-bottom:6px}
  .sidebar select{padding:8px 9px}
  .sidebar>.small-note{font-size:10px;margin:9px 0 11px}
  .sidebar-landscape{height:110px}
  #discover-panel .hero{padding:15px 22px 13px}
  #discover-panel .hero h1{font-size:26px;line-height:1.35;margin-bottom:5px}
  #discover-panel .hero-copy>p{line-height:1.65;margin-bottom:8px}
  #discover-panel .emotion-search-row{padding-top:3px;padding-bottom:3px}
  #discover-panel .emotion-search-row .primary{padding:7px 18px}
  #discover-panel .emotion-examples{margin-top:5px}
  #discover-panel #retrieval-status{font-size:9px;margin-top:4px;line-height:1.5}
}
@media(min-width:761px) and (max-width:1240px){
  .result-heading-main{gap:8px 12px}
  .result-heading-main h2{font-size:23px}
  .result-heading-main .notice{min-width:180px;font-size:9px}
  #discover-panel .result-actions{max-width:46%;gap:5px 10px}
  .poem-card{padding:17px 18px 15px}
  .poem-card h3{font-size:20px}
  .poem-card .card-kicker{font-size:9px}
  .poem-card .read-button,.poem-card .add-button{font-size:11px;padding:6px 13px}
}
@media(max-width:760px){
  #discover-panel>.section-heading{flex-direction:column;align-items:stretch;gap:9px}
  .result-heading-main{flex-wrap:wrap;gap:8px}
  .result-heading-main h2{font-size:23px}
  .result-heading-main .notice{min-width:0;max-width:none;flex-basis:100%;font-size:10px}
  #discover-panel .result-actions{max-width:none;justify-content:flex-start;gap:6px 12px}
  #discover-panel .result-actions .muted{flex-basis:auto;text-align:left}
  #discover-panel .active-filters{padding-bottom:10px;margin-bottom:15px}
  .poem-card{padding:18px 22px 16px;border-radius:16px}
  .card-main{min-height:0}
  .poem-card h3{font-size:21px}
  .poem-card .card-kicker{font-size:9px}
  .poem-card .read-button,.poem-card .add-button{font-size:11px;padding:7px 15px}
}

@media(min-width:761px){.topbar{height:72px}.workspace{padding:18px}.site-footer{padding:13px 4px}}

/* Learning actions share the existing paper and muted-green palette. */
.study-learning-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.study-learning-actions button{border:1px solid #ddd9c6;border-radius:8px;background:#f7f5eb;color:#526746;font-size:12px;padding:6px 10px;cursor:pointer}
.study-learning-actions button:hover{border-color:#829469;background:#eef0e3}
.study-learning-actions button:disabled{opacity:.55;cursor:wait}
.study-active-exercise{border:1px solid #cad2b8;border-left:3px solid #829469;border-radius:9px;background:#f5f5e9;margin:12px 0;padding:12px;font-size:13px}
.study-active-exercise p{line-height:1.8;margin:6px 0}
.study-learning-label{font-size:12px;color:#63764f;background:#edf0e3;border-radius:6px;padding:5px 9px;display:inline-block;margin:0 0 8px}
.study-exercise-quote{margin:9px 0;border-left:2px solid #c6a477;padding:4px 10px;font-family:var(--serif);line-height:1.9}
#study-learning-note{line-height:1.7;margin:8px 0 0}

#guided-open { margin: 8px 0 12px; }
body:has(#guided-page:not([hidden])) { background: #f7f4eb; }
body:has(#guided-page:not([hidden])) .site-intro,
.app-shell:has(#guided-page:not([hidden])) > .topbar,
.app-shell:has(#guided-page:not([hidden])) > .site-footer { display: none; }
.app-shell:has(#guided-page:not([hidden])) { width: 100%; max-width: none; margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.guided-page {
  --guided-border: #e4dece;
  --guided-avatar-size: 37px;
  --guided-watercolor: url('/static/assets/guided-reading-watercolor.webp');
  color: #262c23;
}
.guided-page p { line-height: 1.65; overflow-wrap: anywhere; }
.guided-topbar {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid #e6dfcf;
  background: linear-gradient(95deg,#f8f4e9 25%,#f8f4e9be 68%,#f8f4e9e8),url('/static/assets/ink-landscape.webp') 78% 50% / 880px auto no-repeat;
}
.guided-topbar-inner { max-width: 1440px; margin-inline: auto; min-height: 54px; padding: 5px 18px; display: flex; align-items: center; gap: 14px; }
.guided-brand { display: flex; align-items: center; gap: 9px; color: #1c3722; font: 700 clamp(18px,2.4vw,27px)/1.15 var(--serif); letter-spacing: .035em; }
.guided-pavilion { position: relative; display: block; width: 32px; height: 27px; flex: 0 0 auto; color: #58754f; }
.guided-pavilion::before { content: ''; position: absolute; inset: 0 0 7px; background: currentColor; clip-path: polygon(50% 0,64% 24%,88% 30%,73% 45%,77% 61%,100% 77%,100% 83%,0 83%,0 77%,23% 61%,27% 45%,12% 30%,36% 24%); }
.guided-pavilion::after { content: ''; position: absolute; inset: 16px 3px 1px; border-block: 2px solid currentColor; background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 7px); }
.guided-topbar-context { border-left: 1px solid #c9c2af; padding-left: 14px; color: #59624f; font: 14px var(--serif); }
.guided-back, .guided-profile { background: transparent; color: #334730; white-space: nowrap; padding: 4px 0; }
.guided-back { margin-left: auto; font-size: 12px; }
.guided-profile { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.guided-profile .guided-avatar { width: 29px; height: 29px; }
.guided-layout {
  display: grid;
  grid-template-columns: clamp(157px,17.2vw,203px) minmax(0,1fr) clamp(238px,27vw,300px);
  gap: 14px;
  align-items: start;
  max-width: 1440px;
  margin-inline: auto;
  padding: 15px 9px 9px 13px;
}
.guided-main, .guided-sidebar, .guided-agents { min-width: 0; }
.guided-page .primary { border-radius: 9px; background: linear-gradient(135deg,#4e703d,#74905d); border-color: #648052; color: #fffdf2; }
.guided-page .primary:hover { background: #456339; }
.guided-page .primary .guided-icon { color: inherit; }
.guided-icon { display: inline-grid; place-items: center; flex: 0 0 auto; color: #53794a; font: 600 1.14em/1 var(--sans); }
.guided-sidebar, .guided-rail-card, .guided-reading-card { border: 1px solid var(--guided-border); border-radius: 12px; background: #fcfaf2e8; }
.guided-sidebar { align-self: stretch; position: relative; isolation: isolate; padding: 0 9px 14px; min-height: 525px; }
.guided-sidebar::after { content: ''; position: absolute; z-index: -1; inset: auto 0 5%; height: 450px; background: url('/static/assets/poetry-bookmarks.webp') 33.333% center / 400% auto no-repeat; mask-image: linear-gradient(transparent 7%,#000 32% 72%,transparent 97%); opacity: .78; pointer-events: none; }
.guided-sidebar > h2, .guided-rail-card h2 { display: flex; align-items: center; gap: 7px; margin: 0; padding: 8px 11px; border-radius: 11px 11px 0 0; background: linear-gradient(90deg,#f4f0e3,#f8f5eb); color: #233b26; font: 700 17px/1.35 var(--serif); }
.guided-sidebar > h2 { margin: 0 -9px 9px; padding-inline: 11px 7px; }
.guided-sidebar > h2 small { margin-left: auto; color: #5c624f; font: 11px var(--sans); white-space: nowrap; }
.guided-stage-list, .guided-dispatch-tasks, .guided-goals { list-style: none; padding: 0; margin: 0; }
.guided-stage { border-bottom: 1px solid #eae4d6; }
.guided-stage-title { display: flex; align-items: center; gap: 8px; padding: 8px 5px; line-height: 1.4; }
button.guided-stage-title { width: 100%; min-height: 40px; border: 0; border-radius: 9px; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.guided-stage:not([aria-current="step"]) button.guided-stage-title:hover,
.guided-stage[data-live='true'] button.guided-stage-title { background: #eaf0df; }
button.guided-stage-title:focus-visible { outline: 2px solid #547641; outline-offset: -2px; }
.guided-stage-title strong { font: 700 15px/1.4 var(--serif); }
.guided-stage-title small { margin-left: auto; color: #737363; font-size: 10px; text-align: right; }
.guided-stage-number { flex: 0 0 auto; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #dfd8c8; border-radius: 50%; background: #f0ede4; color: #394639; font: 16px var(--serif); }
.guided-stage[aria-current="step"] .guided-stage-title { padding: 6px; background: linear-gradient(120deg,#55783f,#809865); color: #fffdf4; border-radius: 9px; }
.guided-stage[aria-current="step"] .guided-stage-title small { color: #f7f6eb; }
.guided-stage p { padding: 0 7px 7px; }
.guided-stage-review { display: flex; justify-content: space-between; align-items: center; gap: 8px 14px; flex-wrap: wrap; margin-bottom: 12px; padding: 8px 12px; border: 1px solid #dce3cd; border-radius: 9px; background: #eef2e6; color: #425936; font-size: 13px; }
.guided-stage-review button { border: 1px solid #becdae; border-radius: 7px; padding: 4px 10px; background: #fafbf5; color: inherit; }
.guided-hero { position: relative; isolation: isolate; margin: 0 0 9px; padding: 19px 10px 0; text-align: center; }
.guided-hero::before { content: ''; position: absolute; z-index: -1; left: -8px; top: -21px; width: 125px; height: 125px; background: var(--guided-watercolor) left bottom / 200% 200% no-repeat; pointer-events: none; }
.guided-hero::after { content: ''; position: absolute; z-index: -2; inset: 0 0 3px 33%; background: url('/static/assets/ink-landscape.webp') 76% 55% / auto 130% no-repeat; mask-image: radial-gradient(ellipse at right center,#000 0%,transparent 77%); opacity: .6; pointer-events: none; }
.guided-hero h1 { margin: 1px 0 2px; color: #1d281d; font: 700 clamp(22px,2.55vw,33px)/1.4 var(--serif); letter-spacing: .035em; }
.guided-hero p { margin: 0; color: #343d2d; font-family: var(--serif); }
.guided-stage-label {
  position: relative;
  isolation: isolate;
  display: inline-block;
  margin: 0 8px 6px;
  padding: 5px 14px;
  border: 3px double #c8d2af;
  border-radius: 8px;
  background: linear-gradient(#688552, #436338);
  box-shadow: 0 2px 4px #35492a24;
  color: #fffdf2;
  font: 700 clamp(14px, 1.1vw, 18px)/1.45 var(--serif);
  letter-spacing: .02em;
  white-space: nowrap;
}
.guided-stage-label::before, .guided-stage-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 3px double #c8d2af;
  border-radius: 3px;
  background: #506f42;
  transform: translateY(-50%) rotate(45deg);
}
.guided-stage-label::before { left: -10px; }
.guided-stage-label::after { right: -10px; }
@media (min-width: 1050px) {
  .guided-hero:has(.guided-stage-label:not([hidden])) {
    display: grid;
    grid-template-columns: minmax(max-content, 1fr) minmax(0, max-content) minmax(12px, 1fr);
    grid-template-areas: 'step title .' 'step author .' '. message .';
    column-gap: 14px;
  }
  .guided-stage-label { grid-area: step; place-self: center start; margin-bottom: 0; }
  #guided-title { grid-area: title; }
  #guided-author { grid-area: author; }
  #guided-hero-message { grid-area: message; }
}
#guided-hero-message { width: fit-content; max-width: 100%; margin: 6px auto 0; padding: 2px 14px; color: #3e5734; font-size: 12px; background: linear-gradient(90deg,#e5ecd700,#e5ecd7 11%,#e9eddb 90%,#e5ecd700); }
#guided-status:empty { display: none; }
.guided-agents { position: relative; isolation: isolate; align-self: stretch; display: flex; flex-direction: column; gap: 12px; padding-top: 21px; }
.guided-agents::before { content: ''; position: absolute; z-index: 1; right: -4px; top: -20px; width: 113px; height: 113px; background: var(--guided-watercolor) right bottom / 200% 200% no-repeat; pointer-events: none; }
.guided-agents::after { content: ''; position: absolute; z-index: -1; inset: auto 0 4%; height: 300px; background: url('/static/assets/ink-landscape.webp') 42% 85% / auto 310px no-repeat; mask-image: linear-gradient(transparent,#000 33% 69%,transparent); opacity: .67; pointer-events: none; }
.guided-rail-card { position: relative; padding: 0 10px 10px; }
.guided-rail-card h2 { margin: 0 -10px 8px; }
.guided-rail-card p { margin: 0 0 6px; font-size: 13px; }
.guided-rail-card p:last-child { margin-bottom: 0; }
.guided-rail-card small { color: #56674f; }
.guided-rail-card .guided-dispatch-intro { color: #646956; font-size: 12px; }
.guided-master-pill {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  margin: 2px auto 0; padding: 3px 11px 3px 4px; border-radius: 999px;
  border: 1px solid #d5dec5; background: #f6f8ee; color: #4a6241; font-size: 11px;
  left: 50%; transform: translateX(-50%);
}
.guided-master-pill::after {
  content: ''; position: absolute; left: 50%; top: 100%; height: 14px; border-left: 1px dashed #8fa682;
}
.guided-master-pill .guided-avatar { width: 22px; height: 22px; border-color: #c2cfb3; }
.guided-worker { position: relative; width: 90%; margin: 34px auto 0; padding: 26px 10px 10px; border: 1px solid #bbccaa; border-radius: 18px; background: linear-gradient(180deg,#f2f5e7 0%,#ebf0de 100%); text-align: center; color: #283e27; box-shadow: inset 0 1px 0 #ffffffc4; }
.guided-worker-meaning { border-color: #d7c7a9; background: linear-gradient(180deg,#f8f3e7 0%,#f2ead8 100%); color: #463522; }
.guided-worker-emotion { border-color: #dec2bc; background: linear-gradient(180deg,#f9f1ee 0%,#f3e7e3 100%); color: #542d2d; }
.guided-worker-recitation { border-color: #b7ccd3; background: linear-gradient(180deg,#eef5f6 0%,#e3eef0 100%); color: #25414f; }
.guided-worker-transfer { border-color: #d8cba7; background: linear-gradient(180deg,#f9f4e5 0%,#f2ebd4 100%); color: #483b1f; }
.guided-worker .guided-avatar { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); width: 50px; height: 50px; border: 2px solid #fffdf8; box-shadow: 0 0 0 1.5px #b7c7a7, 0 4px 10px #3f523624; }
.guided-worker-meaning .guided-avatar { box-shadow: 0 0 0 1.5px #ccb48b, 0 4px 10px #5e442522; }
.guided-worker-emotion .guided-avatar { box-shadow: 0 0 0 1.5px #d4a8a2, 0 4px 10px #6e363622; }
.guided-worker-recitation .guided-avatar { box-shadow: 0 0 0 1.5px #96b7c2, 0 4px 10px #2a4c5e22; }
.guided-worker-transfer .guided-avatar { box-shadow: 0 0 0 1.5px #cbb786, 0 4px 10px #5b482222; }
.guided-worker strong { display: block; font: 700 15px/1.4 var(--serif); }
.guided-worker small { display: block; font-size: 11px; margin-top: 2px; opacity: .88; }
.guided-dispatch-tasks { position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; padding-top: 24px; }
.guided-dispatch-tasks[data-count='3'] { grid-template-columns: repeat(3,minmax(0,1fr)); }
.guided-dispatch-tasks[data-count='2'] { grid-template-columns: repeat(2,minmax(0,1fr)); }
.guided-dispatch-tasks[data-count='1'] { grid-template-columns: minmax(0,1fr); }
.guided-dispatch-tasks::before { content: ''; position: absolute; top: 12px; left: 12%; right: 12%; height: 11px; border: 1px solid #809b73; border-bottom: 0; border-radius: 11px 11px 0 0; }
.guided-dispatch-tasks[data-count='3']::before { left: 16.5%; right: 16.5%; }
.guided-dispatch-tasks[data-count='1']::before { display: none; }
.guided-dispatch-tasks::after { content: ''; position: absolute; top: 0; left: 50%; height: 12px; border-left: 1px solid #809b73; }
.guided-dispatch-tasks li { position: relative; min-width: 0; display: grid; grid-template-rows: auto 1fr auto; align-items: center; justify-items: center; min-height: 86px; gap: 4px; padding: 8px 3px; border: 1px solid #e4dece; border-radius: 10px; background: #f8f5ec; text-align: center; }
.guided-dispatch-tasks li::before { content: '↓'; position: absolute; top: -15px; left: 50%; transform: translateX(-50%); color: #5b7f4e; font: 700 13px/1 var(--sans); }
.guided-dispatch-tasks li .guided-icon { font-size: 17px; font-family: var(--serif); }
.guided-dispatch-tasks li strong { font-size: 11px; line-height: 1.35; }
.guided-dispatch-tasks li small { font-size: 9px; white-space: nowrap; }
.guided-dispatch-tasks li small::before { content: '○'; margin-right: 3px; }
.guided-dispatch-tasks li[data-status='done'] { background: #edf0e1; }
.guided-dispatch-tasks li[data-status='done'] small::before { content: '✓'; color: #356529; }
.guided-dispatch-tasks li[data-status='active'] { background: #fcf1d8; border-color: #ead2a0; }
.guided-dispatch-tasks li[data-status='active'] small::before { content: '●'; color: #a36b23; }
.guided-dispatch-tasks li[data-status='review'] { background: #fbf0e8; border-color: #e6c6b3; }
.guided-dispatch-tasks li[data-status='review'] small::before { content: '!'; color: #b55b33; }
.guided-dispatch-tasks li[data-status='skipped'] { background: #f3f1ea; opacity: .78; }
.guided-dispatch-tasks li[data-status='skipped'] small::before { content: '−'; color: #7e8271; }
.guided-complete-roster { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; margin-top: 10px; }
.guided-complete-agent { display: flex; flex-direction: column; align-items: center; gap: 4px; font: 11px var(--serif); color: #475f3d; }
.guided-complete-agent .guided-avatar { width: 38px; height: 38px; border: 1.5px solid #9db688; }
.guided-feedback-line, .guided-reflection-quote { border-radius: 9px; background: #edf1e2; padding: 6px 8px; color: #334d31; }
.guided-reflection-quote { background: #f3f4e8; }
.guided-goals { display: grid; gap: 5px; font-size: 12px; }
.guided-goals li { display: flex; align-items: center; gap: 7px; }
.guided-goals li::before { content: ''; width: 13px; height: 13px; border: 1px solid #c2c8b4; border-radius: 50%; flex-shrink: 0; }
.guided-goals li[data-done='true']::before { content: '✓'; display: grid; place-items: center; background: #648451; color: #fff; font: 10px/1 var(--sans); }
.guided-reading { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; align-items: start; }
.guided-reading-column { display: flex; flex-direction: column; min-width: 0; gap: 12px; container-type: inline-size; }
.guided-reading-card { padding: 0 10px 9px; scroll-margin-top: 9px; }
.guided-reading-card h2 { display: flex; align-items: center; gap: 8px; margin: 0 -10px 6px; padding: 4px 12px; border-radius: 11px 11px 0 0; background: linear-gradient(95deg,#f1eddf,#f7f3e7); color: #213c25; font: 700 19px/1.3 var(--serif); }
.guided-reading-card h2::before { content: attr(data-reading-step); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fffdf2; background: #688653; font: 16px var(--serif); }
.guided-demo-player { padding: 7px 10px 6px; border: 1px solid #eee8da; border-radius: 11px; background: #fdfaf3; }
.guided-demo-player > p { margin: 0; }
.guided-demo-player > .text-button { padding: 2px 5px; }
.guided-demo-player .recitation-control { display: block; margin: 0; }
.guided-demo-player audio { display: none; }
.guided-demo-toolbar, .guided-demo-timeline { display: flex; align-items: center; gap: 7px; }
.guided-demo-toolbar { flex-wrap: wrap; }
.guided-demo-toolbar button { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border: 1px solid #e7e0d2; border-radius: 999px; color: #30422d; background: #fcfaf2; font-size: 12px; white-space: nowrap; }
.guided-demo-toolbar .guided-demo-play { margin-right: auto; padding: 5px 15px; color: #fffdf3; font: 700 16px/1.45 var(--serif); }
.guided-demo-play::before { content: '▶'; font: 12px/1 var(--sans); }
.guided-demo-play[data-playing='true']::before { content: 'Ⅱ'; }
.guided-demo-toolbar button[aria-pressed='true'] { background: #e6eedc; border-color: #c8d8ba; }
.guided-demo-timeline { margin-top: 5px; color: #526b46; }
.guided-demo-clock { flex: 0 0 auto; font-size: 11px; font-variant-numeric: tabular-nums; }
.guided-demo-seek { flex: 1; min-width: 0; width: 100%; height: 18px; margin: 0; padding: 0; border: 0; background: none; accent-color: #698857; cursor: pointer; }
.guided-demo-seek::-webkit-slider-runnable-track { height: 5px; border-radius: 999px; background: linear-gradient(90deg,#86a372 var(--audio-progress,0%),#e0dfd5 var(--audio-progress,0%)); }
.guided-demo-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -3.5px; border: 1px solid #708e5f; border-radius: 50%; background: #779866; }
.guided-demo-seek { appearance: none; }
.guided-demo-seek::-moz-range-track { height: 5px; border-radius: 999px; background: #e0dfd5; }
.guided-demo-seek::-moz-range-progress { height: 5px; background: #86a372; }
.guided-demo-seek::-moz-range-thumb { width: 10px; height: 10px; border: 1px solid #708e5f; border-radius: 50%; background: #779866; }
.guided-coach-tip, .guided-impression-invitation { display: flex; align-items: flex-start; gap: 8px; padding: 4px 3px 0; }
.guided-coach-tip .guided-avatar { width: 32px; height: 32px; }
.guided-coach-tip > div { align-self: center; }
.guided-coach-tip strong, .guided-impression-invitation strong { color: #3b6233; font-size: 12px; }
.guided-coach-tip p, .guided-impression-invitation p { margin: 1px 0 0; }
.guided-reading-turn { display: grid; gap: 6px; margin: 5px 0 7px; }
.guided-reading-history { margin: 0 0 6px; padding: 3px 9px; border: 1px solid #e6dfd0; border-radius: 8px; background: #f9f6ec; }
.guided-reading-history > summary { cursor: pointer; color: #526949; font-size: 11px; }
.guided-reading-history[open] { padding-bottom: 6px; }
.guided-avatar { flex: 0 0 auto; display: grid; place-items: center; width: var(--guided-avatar-size); height: var(--guided-avatar-size); border: 1px solid #d6d9c8; border-radius: 50%; background: #e8eedc var(--guided-watercolor) left top / 200% 200% no-repeat; color: transparent; font: 16px/1 var(--serif); overflow: hidden; }
.guided-avatar-agent { background-size: cover; background-position: center; background-repeat: no-repeat; border: 1.5px solid #cbd5be; box-shadow: 0 2px 6px #3f4f3318; }
.guided-avatar-reading { border-color: #a9c19c; }
.guided-avatar-meaning { border-color: #cbb590; }
.guided-avatar-emotion { border-color: #d6ada8; }
.guided-avatar-recitation { border-color: #9cb9c4; }
.guided-avatar-transfer { border-color: #ccb988; }
.guided-avatar-student { border-color: #d9d5c1; background-color: #eee8d8; background-position: right top; }
.guided-student-message, .guided-agent-message { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.guided-student-message { justify-content: flex-end; }
.guided-student-turn { max-width: calc(100% - var(--guided-avatar-size) - 8px); margin: 0; padding: 5px 11px; background: #e5edd4; border: 0; border-radius: 12px; }
.guided-coach-reply { flex: 1; min-width: 0; padding: 5px 11px 7px; border: 0; border-radius: 11px; background: #f4efe5; }
.guided-reply-byline { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; margin: 0 0 2px; color: #35602e; font-size: 12px; }
.guided-reply-byline span { font-size: 10px; color: #656b58; }
.guided-reply-copy { margin: 0; }
.guided-meaning-log .guided-reply-copy + .guided-reply-copy { margin-top: 5px; }
.guided-reply-tools { display: flex; align-items: flex-start; gap: 7px; margin-left: calc(var(--guided-avatar-size) + 8px); padding: 5px 9px; border: 1px solid #dce4cc; border-radius: 10px; background: linear-gradient(100deg,#eaf0dd,#f1f2e6); }
.guided-reply-tools > .guided-icon { width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: #f9fbf0; font-size: 16px; }
.guided-tools-content { flex: 1; min-width: 0; }
.guided-tools-content > strong { display: block; color: #395e30; font-size: 12px; }
.guided-tools-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 5px 8px; margin-top: 2px; }
.guided-reply-tools .primary { padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.guided-reply-tools .primary .guided-icon { margin-right: 5px; font-size: 10px; }
.guided-reply-tools .text-button { padding: 4px 6px; }
.guided-reply-tools > p { margin: 0; }
.guided-reading-tip { padding: 5px 8px; border-radius: 8px; background: #fbf0d5; color: #63502e; }
.guided-reading-tip strong { margin-right: 7px; }
.guided-coach-reply div.guided-reading-tip { margin-top: 5px; }
.guided-reading-tip > p, .guided-reading-passages p { margin: 2px 0 0; }
.guided-reading-passages { list-style: none; padding: 0; margin: 4px 0 0; }
.guided-reading-passages li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 8px; border-top: 1px solid #e8dcbe; padding: 4px 0; }
.guided-reading-passages li > strong { margin: 0; padding: 0 10px; border-radius: 999px; background: #f3e3bc; font-size: 12px; white-space: nowrap; }
.guided-reading-passages p { margin: 0; }
.guided-reading-ranges { margin-top: 4px; color: #776849; }
.guided-reading-ranges summary { cursor: pointer; font-size: 11px; }
.guided-reading-ranges p { margin: 3px 0; }
.guided-reading-turn > .guided-reading-tip { margin-left: 0; }
.guided-reply-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 10px; margin-left: calc(var(--guided-avatar-size) + 8px); }
.guided-reply-actions .primary { border-radius: 999px; padding: 4px 15px; font-size: 12px; }
.guided-reply-actions .guided-icon { margin-right: 5px; }
.guided-reply-actions .text-button { padding: 4px 6px; }
.guided-reply-actions .guided-refs { padding: 3px 12px; border-radius: 14px; }
.guided-reading-quiz { border: 1px solid #e6ddcc; border-radius: 10px; padding: 0 8px 7px; background: #faf6ed; }
.guided-reading-quiz h3 { display: flex; align-items: center; gap: 6px; margin: 0 -8px 4px; padding: 4px 9px; border-radius: 9px 9px 0 0; background: #f3ede0; color: #2e522a; font: 700 15px/1.35 var(--serif); }
.guided-reading-quiz > p { margin: 0 0 4px; font-size: 13px; }
.guided-quiz-options { display: grid; gap: 3px; }
.guided-quiz-options button { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 6px; text-align: left; padding: 3px 7px; border: 1px solid #e5e0d4; border-radius: 6px; background: #fffdf8; color: #303d2d; font-size: 12px; line-height: 1.45; }
.guided-quiz-options button:hover:not(:disabled) { border-color: #9bb18f; background: #edf2e4; }
.guided-quiz-options button:disabled { opacity: 1; }
.guided-quiz-key { display: grid; place-items: center; width: 16px; height: 16px; border: 1px solid #d3d5c7; border-radius: 50%; background: #f7f7f0; font: 10px/1 var(--sans); }
.guided-quiz-option-text { min-width: 0; overflow-wrap: anywhere; }
.guided-quiz-options button[data-result='correct'], .guided-quiz-options button[aria-expanded='true'] { background: #e8efd8; border-color: #abc29b; }
.guided-quiz-options button[data-result='correct'] .guided-quiz-key { background: #668650; color: #fff; border-color: #668650; }
.guided-quiz-options button[data-selected='true']:not([data-result='correct']) { background: #f8edda; border-color: #d9c5a2; }
.guided-quiz-badges { display: flex; flex-wrap: wrap; gap: 3px 7px; color: #4d6a42; }
.guided-quiz-result { border-radius: 8px; background: #edf2e3; margin-top: 5px; padding: 5px 8px; }
.guided-quiz-result strong { color: #3a5f32; font-size: 12px; }
.guided-quiz-result p { margin: 0; }
.guided-refs { margin: 0; border: 1px solid #cdd9c1; border-radius: 9px; background: #fdfcf4; padding: 2px 7px; }
.guided-refs[open] { flex-basis: 100%; padding-bottom: 5px; }
.guided-refs summary { cursor: pointer; color: #476642; font-size: 12px; }
.guided-refs p { margin: 4px 0; }
.guided-inline-adjustment { display: none; }
.guided-finish { padding: 2px 0 6px; justify-content: center; }
.guided-finish .primary { min-width: min(250px,100%); font: 700 16px/1.45 var(--serif); }
.guided-original { padding: 10px 14px; margin: 0 0 12px; border: 1px solid var(--line); border-radius: 8px; }
.guided-original summary { cursor: pointer; }
.guided-verse, .guided-teaching { white-space: pre-wrap; }
.recitation-control { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 12px; }
.recitation-control a { text-decoration: none; }
.recitation-control audio { width: min(320px, 100%); height: 36px; }
.recitation-control [role="status"]:empty { display: none; }
#study-listening .recitation-control { justify-content: center; }
.guided-recitation { margin: 0; padding: 3px 6px 2px; }
.guided-recitation-notes p { margin: 0 0 3px; color: #5e6757; font-size: 11px; }
.guided-verse-parts { display: grid; gap: 5px; }
.guided-verse-part { display: grid; min-width: 0; }
.guided-verse-part + .guided-verse-part { border-top: 1px solid #ece5d7; padding-top: 4px; }
.guided-verse-part[data-labeled='true'] { grid-template-columns: 25px minmax(0,1fr); align-items: start; gap: 8px; }
.guided-recitation h4 { display: grid; place-items: center; writing-mode: vertical-rl; letter-spacing: .14em; margin: 7px 0 0; padding: 6px 4px; background: #e7ebd5; border-radius: 7px; color: #3b5635; font: 700 13px/1.4 var(--serif); }
.guided-recitation-stanza { margin: 0; padding: 0; list-style: none; }
.guided-recitation-line { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 7px; padding: 2px 7px; border: 1px solid transparent; border-radius: 8px; }
.guided-recitation-line + .guided-recitation-line { border-top-color: #eee8da; }
.guided-recitation-line[aria-current="true"] { border-color: #bacba7; background: #e5edd4; }
.guided-page .guided-recitation-verse { margin: 0; color: #232c22; font: 600 19px/1.08 var(--serif); }
.guided-recitation-verse ruby { ruby-align: center; margin-inline: .19em; }
.guided-recitation-verse rt { color: #394537; font: 10px/1.12 var(--sans); letter-spacing: .01em; }
.study-original ruby { ruby-align: center; margin-inline: .08em; }
.study-original rt { color: var(--green-dark); font: .6em/1.2 var(--sans); letter-spacing: 0; }
.guided-line-actions, .guided-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.guided-recitation-line button { display: inline-flex; align-items: center; gap: 4px; min-height: 25px; padding: 2px 8px; border: 1px solid #dddaca; border-radius: 999px; background: #fdfbf4; color: #3f583a; font-size: 12px; line-height: 1.3; white-space: nowrap; }
.guided-recitation-line button:hover { border-color: #82a071; background: #eef2e3; }

.guided-follow-card {
  --follow-gutter: 15px;
  padding: 0 var(--follow-gutter) 12px;
  border-color: #dfdacb;
  border-radius: 17px;
  background: linear-gradient(125deg, #fdfaf3, #faf7ef);
  box-shadow: 0 5px 14px #4944340d;
}
.guided-follow-card > h2 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 54px;
  gap: 10px;
  margin: 0 calc(-1 * var(--follow-gutter));
  padding: 7px 16px 7px clamp(45px, 10cqi, 100px);
  border-bottom: 1px solid #eae4d5;
  border-radius: 16px 16px 0 0;
  background:
    linear-gradient(90deg, #f9f6ec 28%, #f9f6ec95 66%, #f9f6ec62),
    url('/static/assets/ink-landscape.webp') right 45% / clamp(320px, 78cqi, 780px) auto no-repeat;
  font-size: clamp(22px, calc(16px + 1.25cqi), 32px);
}
.guided-follow-card > h2::before {
  width: 1.3em;
  height: 1.3em;
  background: linear-gradient(140deg, #7e9a62, #527342);
  font-size: .86em;
}
.guided-follow-card > h2::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: clamp(50px, 11cqi, 105px);
  aspect-ratio: 1;
  border-top-left-radius: 16px;
  background: var(--guided-watercolor) left bottom / 200% 200% no-repeat;
  pointer-events: none;
}
.guided-follow-card .guided-recitation { padding: 0; }
.guided-recitation-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 10px 1px;
}
.guided-recitation-caption .guided-recitation-notes p { margin: 0; font-size: 12px; }
.guided-pinyin-source a { color: #41673b; text-underline-offset: 2px; }
.guided-recitation-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin: 0;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eef1e2;
  color: #385333;
  font-size: 12px;
}
.guided-recitation-hint .guided-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #638353;
  color: #fffdf3;
  font-size: 11px;
}
.guided-follow-card .guided-verse-parts { gap: 7px; }
.guided-follow-card .guided-verse-part + .guided-verse-part { border-top: 0; padding-top: 0; }
.guided-follow-card .guided-verse-part[data-labeled='true'] { grid-template-columns: clamp(24px, 5cqi, 37px) minmax(0,1fr); }
.guided-follow-card h4 {
  padding: 8px 4px;
  background: linear-gradient(#e7ecd4, #dce6c8);
  color: #2b492a;
  font-size: clamp(14px, 2.8cqi, 19px);
}
.guided-follow-card .guided-recitation-stanza { border-block: 1px solid #e9e3d5; border-radius: 10px; }
.guided-follow-card .guided-recitation-line {
  position: relative;
  gap: 7px;
  min-height: clamp(46px, 8.2cqi, 62px);
  padding: 5px 8px 5px clamp(17px, 4cqi, 39px);
  border: 0;
  border-radius: 0;
}
.guided-follow-card .guided-recitation-line + .guided-recitation-line { border-top: 1px solid #ece7da; }
.guided-follow-card .guided-recitation-line[aria-current='true'] {
  border-radius: 9px;
  border-top-color: transparent;
  background: linear-gradient(105deg, #e9efd9, #dfe9d1);
}
.guided-follow-card .guided-recitation-line[aria-current='true']::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  border-block: 5px solid transparent;
  border-left: 8px solid #577845;
}
.guided-page :is(.guided-follow-card, .guided-meaning-original) .guided-recitation-verse {
  color: #1c3222;
  font-family: var(--serif);
  font-size: clamp(20px, calc(15px + 1.2cqi), 24px);
  font-weight: 400;
  letter-spacing: .07em;
  line-height: 1.28;
}
:is(.guided-follow-card, .guided-meaning-original) .guided-recitation-verse ruby { margin-inline: .15em; letter-spacing: normal; }
:is(.guided-follow-card, .guided-meaning-original) .guided-recitation-verse rt {
  color: #52604d;
  font-size: clamp(10px, 1.8cqi, 13px);
}
.guided-follow-card .guided-line-actions { justify-content: flex-end; flex-wrap: nowrap; }
.guided-follow-card .guided-line-actions button {
  justify-content: center;
  min-height: 31px;
  padding: 3px clamp(7px, 1.65cqi, 17px);
  border-color: #d9d8c6;
  background: linear-gradient(#fffdf7, #f5f4e9);
  box-shadow: 0 1px 2px #555c351c;
  color: #2f4831;
  font-size: clamp(12px, 2.5cqi, 16px);
}
.guided-follow-card .guided-line-actions button:hover { border-color: #92a77f; background: #edf1e2; }
.guided-follow-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 5px 12px;
  margin-top: 11px;
  padding: 4px 9px;
  border-radius: 9px;
  background: linear-gradient(105deg,#f0f1e1,#f3f3e9);
}
.guided-follow-footer button, .guided-done-note { display: inline-flex; align-items: center; gap: 6px; }
.guided-follow-footer .text-button { padding: 4px 3px; color: #3f6138; text-underline-offset: 3px; }
.guided-follow-footer .primary { padding: 4px 9px; font-size: 12px; }
.guided-done-note { margin: 0; color: #385f34; font-size: 12px; }
.guided-form { display: grid; gap: 6px; margin: 7px 0 3px; }
.guided-form textarea { width: 100%; border-radius: 9px; background: #fcfaf2; }
.guided-form button { justify-self: start; }
.guided-question-suggestions, .guided-impression-choices { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; margin-top: 3px; }
.guided-question-suggestions > .small-note { color: #635f48; }
.guided-question-suggestions button, .guided-impression-choices button { padding: 2px 9px; border: 1px solid #dfdccc; border-radius: 999px; background: #fbfaf1; color: #354d32; }
.guided-impression-choices button[aria-pressed='true'] { background: #668650; color: #fff; border-color: #668650; }
.guided-question-form { grid-template-columns: minmax(0,1fr) auto; align-items: end; margin-top: 5px; }
.guided-question-form textarea { min-height: 37px; height: 37px; padding: 6px 8px; resize: vertical; }
.guided-question-form button { align-self: end; padding: 6px 10px; white-space: nowrap; }
.guided-question-form button .guided-icon { margin-right: 6px; }
#guided-reading-ask {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: clamp(340px, 56dvh, 510px);
}
.guided-ask-scroll {
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  scrollbar-color: #b6c2a7 transparent;
  padding: 2px 5px 5px;
}
.guided-ask-scroll:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
#guided-reading-ask > .guided-question-form { border-top: 1px solid #ebe5d7; padding-top: 6px; }
#guided-reading-ask > .guided-question-form textarea { resize: none; }
.guided-action-status { margin: 4px 0 0; }

.guided-meaning { display: grid; gap: 13px; margin-bottom: 12px; }
.guided-meaning h4, .guided-meaning h5, .guided-meaning p { margin: 0; }
.guided-meaning h4 { font: 700 17px/1.5 var(--serif); color: var(--green-dark); }
.meaning-intro {
  padding: 17px 20px;
  border: 1px solid #dce1cc;
  border-radius: 13px;
  background: linear-gradient(100deg, #f0f2e7 37%, #f0f2e754), url('/static/assets/ink-landscape.webp') right center / cover;
}
.meaning-intro h3 { color: var(--green-dark); font: 700 25px/1.5 var(--serif); }
.meaning-goals { display: flex; flex-wrap: wrap; gap: 8px; margin: 11px 0 0; padding: 0; list-style: none; }
.meaning-goals li { padding: 3px 10px; border-radius: 20px; background: #f9f9ef; color: var(--green-dark); font-size: 12px; }
.meaning-overview, .meaning-original, .meaning-recall {
  display: grid;
  gap: 5px;
  padding: 13px 17px;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.meaning-overview { background: #f2f3e8; }
.meaning-original { background: #faf7ef; }
.guided-page .meaning-verse { font: 600 18px/1.85 var(--serif); }
.meaning-lines-heading { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.meaning-modes { display: flex; gap: 3px; padding: 3px; border-radius: 20px; background: #eeefe4; }
.meaning-modes button { border: 1px solid transparent; border-radius: 20px; padding: 5px 11px; color: var(--green-dark); background: transparent; font-size: 12px; }
.meaning-modes button[aria-pressed="true"] { border-color: #d8ddc8; background: var(--card); }
.meaning-stanza {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbf8f0;
}
.meaning-stanza h5 {
  display: grid;
  place-items: start center;
  padding-top: 15px;
  border-radius: 10px 0 0 10px;
  background: #edf0e1;
  color: var(--green-dark);
  font: 700 14px/1.8 var(--serif);
}
.meaning-line { padding: 11px 16px; }
.meaning-line + .meaning-line { border-top: 1px solid var(--line); }
.meaning-line-translation summary { margin: 5px 0; color: var(--green-dark); cursor: pointer; font-size: 13px; }
.meaning-translation-label { color: var(--green-dark); font-size: 11px; font-weight: 600; }
.meaning-line-translation .meaning-translation { margin: 2px 0 6px; }
.meaning-words { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.meaning-words li { padding: 3px 8px; border-radius: 6px; background: #f4eddb; font-size: 12px; line-height: 1.6; }
.meaning-words strong { color: #6b4d28; }
.meaning-recall { background: #f4f5ea; }
.guided-meaning .guided-original { margin: 0; }
.guided-meaning .guided-original p { margin-top: 7px; }

.guided-meaning-study, .guided-emotion-study {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.guided-meaning-original, .guided-meaning-tutor, .emotion-original, .emotion-tutor { min-width: 0; }
.guided-meaning-original > h2::before, .guided-meaning-tutor > h2::before { display: none; }
.guided-meaning-stanza { padding-block: 5px; }
.guided-meaning-stanza + .guided-meaning-stanza { border-top: 1px solid #ebe5d7; }
.guided-meaning-stanza h3 { margin: 2px 9px; color: #537048; font-size: 14px; }
.guided-meaning-sentence { padding: 9px 10px; border: 1px solid transparent; border-radius: 8px; }
.guided-meaning-sentence[aria-current="true"] { background: #eaf0de; border-color: #d3dfc2; }
.guided-meaning-sentence .guided-recitation-verse { line-height: 1.5; overflow-wrap: normal; }
.guided-meaning-position { display: block; margin-bottom: 6px; color: #526949; font-size: 11px; }
.guided-meaning-tutor > h2 small {
  margin-left: auto;
  color: #526949;
  font: 12px var(--sans);
}
.guided-meaning-log > * + * { margin-top: 10px; }
.guided-meaning-words, .guided-meaning-comparison {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f3f4e8;
  font-size: 13px;
}
.guided-meaning-words dt, .guided-meaning-comparison dt { color: #3e563e; font-weight: 600; }
.guided-meaning-words dd, .guided-meaning-comparison dd { margin: 0; overflow-wrap: anywhere; }
.guided-meaning-question { padding: 6px 9px; border-radius: 8px; background: #f4efe2; }
.guided-meaning-review { padding: 7px 10px; border-radius: 8px; background: #eef1e3; }
.guided-meaning-review h3 { margin: 0 0 4px; color: #3e563e; font-size: 15px; }
.guided-meaning-review p { margin: 0; white-space: pre-line; }
.guided-meaning-footer { padding-top: 4px; border-top: 1px solid #ebe5d7; }
.guided-meaning-footer textarea { resize: none; }
.guided-expression-question { font-size: 13px; }
.guided-expression-question summary { cursor: pointer; color: #526949; }
.guided-expression-question { margin-top: 6px; }
.guided-meaning-actions { margin-top: 5px; }
@media (max-width: 879px) {
  .guided-meaning-study, .guided-emotion-study { grid-template-columns: minmax(0, 1fr); }
}

@container (max-width: 470px) {
  .guided-follow-card { --follow-gutter: 11px; }
  .guided-follow-card .guided-recitation-line { gap: 5px; padding-inline: 16px 4px; }
  :is(.guided-follow-card, .guided-meaning-original) .guided-recitation-verse ruby { margin-inline: .1em; }
  .guided-follow-card .guided-line-actions { gap: 4px; }
  .guided-follow-card .guided-line-actions button { padding-inline: 5px; font-size: 11px; }
}

@media (max-width: 930px) {
  .guided-layout { grid-template-columns: minmax(0, 1fr) minmax(215px, .44fr); gap: 12px; padding-inline: 12px; }
  .guided-sidebar { grid-column: 1 / -1; min-height: 0; padding-bottom: 7px; }
  .guided-sidebar::after { display: none; }
  .guided-stage-list { display: flex; overflow-x: auto; gap: 6px; }
  .guided-stage { flex: 0 0 auto; border-bottom: 0; }
  .guided-stage-title { padding-inline: 7px; }
  .guided-stage .small-note { display: none; }
}
@media (max-width: 720px) {
  .guided-topbar-context { display: none; }
  .guided-layout { grid-template-columns: minmax(0, 1fr); padding-inline: 9px; }
  .guided-sidebar > h2 { margin-bottom: 5px; padding-bottom: 5px; }
  .guided-hero { padding: 3px 8px 0; }
  .guided-hero::before { top: -8px; width: 88px; height: 88px; opacity: .45; }
  .guided-agents { padding-top: 0; }
  .guided-agents::before, .guided-agents::after { display: none; }
  .guided-inline-adjustment { display: block; margin: 8px 0 0; color: var(--green-dark); font-size: 12px; }
}
@media (max-width: 560px) {
  .guided-page { --guided-avatar-size: 29px; }
  .guided-topbar-inner { min-height: 47px; gap: 8px; padding-inline: 9px; }
  .guided-brand { gap: 4px; font-size: 16px; letter-spacing: 0; }
  .guided-pavilion { width: 21px; height: 22px; }
  .guided-pavilion::after { inset: 13px 2px 1px; }
  .guided-profile { gap: 3px; font-size: 11px; }
  .guided-profile .guided-avatar { width: 22px; height: 22px; }
  .guided-back { font-size: 11px; }
  .guided-demo-player { padding-inline: 6px; }
  .guided-demo-toolbar { gap: 4px; }
  .guided-demo-toolbar button { padding-inline: 6px; }
  .guided-demo-toolbar .guided-demo-play { padding-inline: 8px; font-size: 14px; }
  .guided-recitation { padding-inline: 7px; }
  .guided-page .guided-recitation-verse { font-size: 18px; }
  .guided-verse-part[data-labeled='true'] { grid-template-columns: 23px minmax(0, 1fr); gap: 4px; }
  .guided-recitation h4 { padding-inline: 3px; }
  .guided-recitation-line { padding-inline: 4px; }
  .guided-recitation-line button { padding-inline: 6px; font-size: 11px; }
  .guided-line-actions .guided-icon { display: none; }
  .guided-recitation-verse ruby { margin-inline: .04em; }
  .guided-recitation-verse rt { font-size: 9px; }
  .guided-line-actions { justify-content: flex-start; }
  .guided-follow-card { --follow-gutter: 9px; }
  .guided-follow-card .guided-verse-part[data-labeled='true'] { gap: 5px; }
  .guided-follow-card .guided-recitation-line { gap: 4px; padding-inline: 11px 3px; }
  .guided-follow-card .guided-recitation-line[aria-current='true']::before {
    left: 2px;
    border-block-width: 4px;
    border-left-width: 6px;
  }
  .guided-page :is(.guided-follow-card, .guided-meaning-original) .guided-recitation-verse { font-size: 18px; }
  :is(.guided-follow-card, .guided-meaning-original) .guided-recitation-verse ruby { margin-inline: .1em; }
  :is(.guided-follow-card, .guided-meaning-original) .guided-recitation-verse rt { font-size: 9px; }
  .guided-follow-card .guided-line-actions { gap: 4px; }
  .guided-follow-card .guided-line-actions button { min-height: 30px; padding-inline: 6px; font-size: 11px; }
  .guided-coach-reply { padding-inline: 9px; }
  .guided-quiz-options button { grid-template-columns: auto minmax(0, 1fr); }
  .guided-quiz-badges { grid-column: 2; }
  .guided-question-form { grid-template-columns: minmax(0, 1fr); }
  .guided-question-form button { justify-self: end; }
  .meaning-intro { padding: 12px 14px; }
  .meaning-intro h3 { font-size: 22px; }
  .meaning-stanza { grid-template-columns: minmax(0, 1fr); }
  .meaning-stanza h5 { display: block; padding: 4px 12px; border-radius: 10px 10px 0 0; }
  .meaning-line { padding: 9px 12px; }
  .guided-page .meaning-verse { font-size: 16px; }
}

@media (min-width: 880px) {
  .guided-reading { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
  .guided-reading-column > .guided-reading-card:last-child { flex: 1; }
  .guided-reading > .guided-finish { grid-column: 1 / -1; margin: 0; padding: 2px 0 6px; }
  .guided-reading-card { border-radius: 15px; background: linear-gradient(120deg, #fffdf7, #fbf8ef); box-shadow: 0 2px 5px #7164440a; padding: 0 12px 10px; }
  .guided-reading-card > h2 { margin: 0 -12px 8px; padding: 5px 13px; min-height: 35px; border-radius: 14px 14px 0 0; font-size: 19px; }
  .guided-reading-card p { font-size: 13px; line-height: 1.55; }
  .guided-coach-reply { background: transparent; padding: 0 2px; }
  .guided-reading-turn { gap: 6px; margin: 5px 0 8px; }
  .guided-student-turn { padding: 5px 10px; }
  .guided-reading-tip { padding: 6px 9px; background: linear-gradient(100deg, #fcf0d9, #fcf5e5); border: 1px solid #f0e4cc; }
  .guided-reading-tip > strong { font-size: 13px; line-height: 1.5; }
  .guided-reading-tip > p { font-size: 12px; color: #7c6b4c; }
  .guided-reading-passages li { padding-block: 2px; }
  .guided-reading-passages li > strong { font-weight: 600; line-height: 1.5; }
  .guided-reading-quiz { padding-bottom: 6px; }
  .guided-quiz-result p { font-size: 12px; }
  .guided-quiz-result > strong { line-height: 1.4; }
  .guided-follow-card { --follow-gutter: 12px; display: flex; flex-direction: column; }
  .guided-follow-card > h2 { padding-left: 13px; border-bottom: 0; background: linear-gradient(95deg, #f1eddf, #f7f3e7); }
  .guided-follow-card > h2::before { width: 24px; height: 24px; font-size: 16px; }
  .guided-follow-card > h2::after { display: none; }
  .guided-follow-card .guided-recitation { display: flex; flex-direction: column; flex: 1; }
  .guided-recitation-caption { padding: 0 0 8px; gap: 4px 10px; }
  .guided-recitation-caption .guided-recitation-notes p { font-size: 11px; }
  .guided-recitation-hint { font-size: 11px; }
  .guided-follow-card .guided-verse-parts { flex: 1; }
  .guided-follow-card .guided-verse-part[data-labeled='true'] { align-items: stretch; }
  .guided-follow-card h4 { align-self: start; }
  .guided-follow-card .guided-recitation-stanza { display: flex; flex-direction: column; }
  .guided-follow-card .guided-recitation-line { flex: 1; padding-left: 15px; min-height: 46px; }
  .guided-page :is(.guided-follow-card, .guided-meaning-original) .guided-recitation-verse { font-size: clamp(18px, calc(12px + 1.7cqi), 23px); }
  .guided-follow-footer { margin-top: 8px; background: transparent; border-top: 1px solid #ebe5d7; border-radius: 0; padding: 6px 0 0; }
  .guided-question-suggestions { gap: 3px 5px; }
  .guided-question-suggestions button { font-size: 11px; }
}

@media (880px <= width < 1280px) {
  .guided-layout:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) {
    max-width: 1200px;
    gap: 12px;
    padding-inline: 14px;
  }
  .guided-layout:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) .guided-sidebar { grid-column: 1 / -1; position: relative; min-height: 0; padding-bottom: 36px; }
  .guided-layout:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) .guided-stage-list { display: flex; flex-wrap: wrap; gap: 3px 6px; overflow: visible; }
  .guided-layout:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) .guided-stage { flex: 0 0 auto; border-bottom: 0; }
  .guided-layout:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) .guided-sidebar::after,
  .guided-layout:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) .guided-agents::before,
  .guided-layout:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) .guided-agents::after { display: none; }
  .guided-layout:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) .guided-agents { align-self: start; padding-top: 0; }
}

@media (880px <= width < 1050px) {
  .guided-layout:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) { grid-template-columns: minmax(0, 1fr); }
  .guided-layout:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) .guided-agents {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
  }
}

@media (1050px <= width < 1280px) {
  .guided-layout:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) { grid-template-columns: minmax(0, 1fr) 206px; }
}

@media (min-width: 1280px) {
  .guided-page:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) .guided-topbar-inner,
  .guided-layout:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) { max-width: 1900px; padding-inline: clamp(18px, 2vw, 34px); }
  .guided-layout:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) {
    grid-template-columns: clamp(170px, 12.8vw, 214px) minmax(0, 1fr) clamp(220px, 18vw, 300px);
    gap: 12px;
    padding-top: 18px;
  }
  .guided-page:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) .guided-topbar-inner { min-height: 58px; }
  .guided-page:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) .guided-topbar-context { font-size: 13px; }
  .guided-layout:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) .guided-hero { padding: 0 10px; margin-bottom: 10px; }
  .guided-layout:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) .guided-hero h1 { font-size: clamp(25px, 2.2vw, 36px); line-height: 1.25; }
  .guided-layout:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) #guided-hero-message { margin-top: 4px; }
  .guided-layout:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) .guided-stage-title { gap: 6px; }
  .guided-layout:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) .guided-stage-title small { white-space: nowrap; }
  .guided-layout:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) .guided-sidebar {
    align-self: stretch;
    min-height: 0;
    padding-bottom: 220px;
  }
  .guided-layout:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) .guided-sidebar::after { inset: auto 0 0; height: 260px; }
  .guided-layout:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) .guided-stage-title { padding-block: 11px; }
  .guided-layout:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) .guided-agents { align-self: stretch; padding-top: 8px; }
  .guided-layout:has(:is(.guided-reading, .guided-meaning-study, .guided-emotion-study, .guided-recite-study, .guided-transfer-study)) .guided-agents::after { inset: auto 0 0; height: 140px; opacity: .3; }
}

/* Meaning study: a quiet reading desk, with a separate conversation archive. */
.meaning-journey { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 10px 16px; border: 1px solid #e0e5d1; border-radius: 12px; background: linear-gradient(110deg, #edf1e1, #f7f7ed); }
.meaning-journey > div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.meaning-journey strong { color: #3e5b36; font: 600 15px var(--serif); }
.meaning-journey span, .meaning-journey small { font-size: 11px; color: #69755b; }
.meaning-journey small { white-space: nowrap; }
.meaning-journey progress { flex: 1; width: 60px; min-width: 35px; height: 5px; margin-left: auto; border: 0; border-radius: 10px; background: #dfe5d2; accent-color: #789461; }
.meaning-journey progress::-webkit-progress-bar { background: #dfe5d2; border-radius: 10px; }
.meaning-journey progress::-webkit-progress-value { background: #789461; border-radius: 10px; }
.meaning-journey progress::-moz-progress-bar { background: #789461; border-radius: 10px; }
.guided-meaning-stanza { padding: 14px 0; }
.guided-meaning-stanza h3 { display: inline-block; margin-bottom: 6px; padding: 2px 10px; border-radius: 6px; background: #f3eedc; font-size: 13px; }
.guided-meaning-sentence { margin: 5px 0; padding: 15px 10px; border-radius: 11px; }
.guided-meaning-sentence .small-note { display: inline-block; margin-top: 8px; padding: 1px 7px; border-radius: 5px; background: #f0f1e6; color: #6d795d; font-size: 10px; }
.guided-meaning-sentence[aria-current='true'] { background: linear-gradient(110deg, #eaf0dd, #f2f5e8); }
.guided-meaning-tutor { display: flex; flex-direction: column; overflow: hidden; }
.guided-meaning-tutor > * { flex-shrink: 0; }
.guided-meaning-tutor > .guided-meaning-log, .guided-meaning-tutor > .meaning-record-log { flex: 1 1 0; }
.meaning-focus-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 4px 2px; font-size: 12px; color: #48613e; }
.meaning-task-tag { display: inline-block; padding: 2px 8px; border-radius: 5px; background: #e8eedb; color: #536c42; font-size: 11px; }
.guided-meaning-log, .meaning-record-log { padding: 7px 5px; scrollbar-width: thin; }
.guided-meaning-log > * + *, .meaning-record-log > * + * { margin-top: 10px; }
.guided-meaning-tutor .guided-refs { margin-top: 5px; }
.guided-meaning-words { padding: 13px; gap: 10px; background: #f0f3e6; border: 1px solid #e2e8d5; border-radius: 12px; }
.guided-meaning-words dt { border-right: 1px solid #d5dec7; padding-right: 10px; }
.guided-meaning-review { padding: 14px; border: 1px solid #dae2c9; background: #f0f4e6; }
.guided-meaning-footer { padding: 10px 2px 4px; background: #fcfaf2; }
.guided-meaning-footer .guided-question-form { margin: 0; }
.guided-meaning-footer .guided-question-form textarea { height: 58px; min-height: 58px; padding: 10px; background: #fffdf8; }
.guided-meaning-footer .guided-question-form button { align-self: stretch; padding-inline: 13px; }
.guided-meaning-actions { gap: 7px; margin-top: 8px; }
.guided-meaning-actions .primary { padding: 8px 15px; }
.guided-meaning-actions button:not(.primary) { font-size: 11px; }
.meaning-record-return { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 3px 3px; border-top: 1px solid #e9e5d8; }
.meaning-review-compose { flex: 0 0 auto; padding: 7px 3px 3px; border-top: 1px solid #e9e5d8; }
.meaning-review-compose textarea { min-height: 46px; resize: vertical; }
.meaning-review-compose-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.meaning-review-compose-actions > button { padding: 6px 11px; border-radius: 8px; font-size: 13px; }
.meaning-record-return button { padding: 6px 10px; border: 1px solid #d7dec9; border-radius: 8px; color: #4d6940; background: #f0f3e6; font-size: 12px; }
.meaning-record-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 230px; text-align: center; color: #7b846d; }
.meaning-record-empty .guided-icon { font-size: 32px; opacity: .5; }
.meaning-record-empty p { max-width: 220px; font-size: 12px; }
.guided-substeps { list-style: none; margin: 10px 0 14px; padding: 0 8px; }
.guided-substeps li { position: relative; font-size: 12px; color: #7b806e; }
.guided-substeps li + li::before { content: ''; position: absolute; left: 7px; bottom: calc(50% + 8px); height: 22px; border-left: 1px solid #d7ddca; pointer-events: none; }
.guided-substep-entry { display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 0; }
.guided-substep-dot { display: grid; place-items: center; width: 15px; height: 15px; flex-shrink: 0; border: 1px solid #c9d1bb; border-radius: 50%; background: #fafbf3; font-size: 10px; }
.guided-substeps li[data-status='done'] .guided-substep-dot { background: #6e8958; border-color: #6e8958; color: white; }
.guided-substeps li[data-status='active'] { color: #3f5e34; font-weight: 600; }
.guided-substeps li[data-status='active'] .guided-substep-dot { border: 4px solid #809b65; box-shadow: 0 0 0 3px #e8eedc; }
.guided-substeps small { margin-left: auto; font: 10px var(--sans); color: #858e77; }
@media (880px <= width < 1280px) {
  .guided-substeps {
    position: absolute;
    inset: auto 9px 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 15px;
    margin: 0;
    padding: 0;
  }
  .guided-substep-entry { padding-block: 4px; }
  .guided-substeps li + li::before { display: none; }
}
.meaning-task-card > .meaning-task-tag { margin: 14px 14px 6px; }
.meaning-task-card > h3 { margin: 0 14px 4px; font-size: 19px; color: #3d5934; }
.meaning-task-card > p { margin: 0; padding: 6px 14px 13px; font-size: 12px; color: #737763; }
.meaning-task-card > .meaning-task-next { border-top: 1px solid #e9e5d8; margin: 0 14px; padding: 10px 0; color: #536c42; }
.meaning-summary { padding: 6px 4px 12px; }
.meaning-summary-intro { text-align: center; padding: 4px 0 18px; }
.meaning-summary-seal { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 12px; border: 1px solid #cbd6b7; border-radius: 13px 3px 13px 3px; background: #eaf0dc; color: #67824e; font: 25px var(--serif); }
.meaning-summary-intro h3 { margin: 8px 0; color: #405c35; font-size: 21px; line-height: 1.5; }
.meaning-summary-intro p { margin: 0; color: #7c826e; font-size: 12px; }
.meaning-summary-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 16px 0; border-block: 1px solid #e9e5d8; }
.meaning-summary-stats > div { display: grid; gap: 4px; text-align: center; }
.meaning-summary-stats > div + div { border-left: 1px solid #e9e5d8; }
.meaning-summary-stats strong { color: #597847; font: 28px/1.2 var(--serif); }
.meaning-summary-stats span { font-size: 11px; color: #80856e; }
.meaning-summary > h4 { margin: 20px 0 10px; font-size: 12px; color: #5e7051; font-weight: 500; }
.meaning-record-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.meaning-record-shortcuts button { display: grid; grid-template-columns: 1fr auto; gap: 4px; text-align: left; padding: 12px; border: 1px solid #e0e4d1; border-radius: 10px; background: #f6f7ed; color: #46603b; }
.meaning-record-shortcuts button:hover { background: #eaf0dc; border-color: #b6c59f; }
.meaning-record-shortcuts small { grid-column: 1; color: #8a917b; font-size: 10px; }
.meaning-shortcut-arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #8b9b78; }
@media (max-width: 879px) {
  .guided-substeps { display: none; }
}
@media (max-width: 479px) {
  .guided-meaning-tutor .guided-question-form { grid-template-columns: minmax(0, 1fr) auto; }
  .guided-meaning-tutor .guided-question-form button { justify-self: stretch; }
}
.meaning-verse-clause { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.meaning-record-log .guided-reply-copy + .guided-reply-copy { margin-top: 8px; }

/* Reading and conversation cards in the meaning stage. */
.meaning-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #678448;
  vertical-align: middle;
}
.guided-meaning-original > h2 .meaning-icon, .guided-meaning-tutor > h2 .meaning-icon { order: -1; }
.guided-meaning-original, .emotion-original {
  display: flex;
  flex-direction: column;
  container-type: inline-size;
}
.guided-meaning-original > h2, .emotion-original > h2 { flex: 0 0 auto; }
.guided-meaning-study .guided-reading-card > h2 .meaning-icon { width: 19px; height: 19px; }
.guided-meaning-tutor > h2 small { font-size: 11px; }
.guided-page .guided-meaning-original .guided-recitation-verse { line-height: 1.42; }
.guided-meaning-original .guided-recitation-verse rt { line-height: 1.12; }
.guided-meaning-study .guided-reply-copy { white-space: pre-line; }
.meaning-task-card > .meaning-task-tag { margin: 0 0 7px; }
.meaning-task-card > h3 { margin: 0 0 6px; }
.meaning-task-card > p { padding: 0; }
.meaning-task-card > .meaning-task-next {
  margin: 0;
  padding-top: 8px;
  font-weight: 600;
}
@media (max-width: 879px) {
  .guided-meaning-original:has(.meaning-keyword-panel) { height: clamp(385px, 58dvh, 530px); }
  .guided-meaning-tutor { height: clamp(470px, 73dvh, 650px); }
}

/* Five learning views share one conversation desk; records never advance the lesson. */
.meaning-step-route { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--guided-border); border-radius: 12px; background: linear-gradient(95deg, #f1eddf, #f7f3e7); overflow-x: auto; }
.meaning-step-route > strong { flex-shrink: 0; margin-right: 6px; font: 700 15px var(--serif); color: #3e5633; }
.meaning-step-route > button { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 4px 8px; background: transparent; border: 1px solid transparent; border-radius: 16px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.meaning-step-route > button[aria-pressed='true'] { border-color: #d7dfbe; background: #e9efda; color: #4a6e32; }
.meaning-step-route > button[aria-current='step'] .meaning-step-mark { color: #fff; background: #6e8c50; border-color: #6e8c50; }
.meaning-step-route > button[data-status='done'] .meaning-step-mark { background: #769553; color: white; border-color: #769553; }
.meaning-step-mark { display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid #d8d8c7; border-radius: 50%; color: #656e57; font: 600 13px var(--sans); }
.meaning-step-arrow { color: #8b9a72; font-size: 16px; }
.meaning-sentence-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px 0 8px; border-bottom: 1px solid #e1ddc8; }
.meaning-sentence-tabs button { padding: 4px 12px; border: 1px solid #dfe2d0; border-radius: 8px; background: #fafaf0; font-size: 13px; color: #667454; }
.meaning-sentence-tabs button[aria-pressed='true'] { border-color: #97ad77; color: #3d6029; background: #e9f0d8; box-shadow: inset 0 1px 0 #fff; }
.meaning-room .guided-meaning-original { overflow: hidden; padding-bottom: 0; }
.meaning-verse-scroll, .emotion-verse-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #bbc7a5 transparent; }
.meaning-verse-scroll:focus-visible, .emotion-verse-scroll:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.meaning-room .meaning-verse-scroll .guided-meaning-stanza { display: block; padding: 10px 0; }
.meaning-room .meaning-verse-scroll .guided-meaning-stanza h3 { display: inline-block; margin-bottom: 5px; font-size: 15px; }
.meaning-room .meaning-verse-scroll .guided-meaning-sentence { padding: 9px 4px; margin: 3px 0; }
.meaning-room .meaning-verse-scroll .guided-meaning-position { font-size: 10px; margin-bottom: 3px; }
.meaning-room .meaning-verse-scroll .small-note { display: none; }
.meaning-keyword-panel { flex: 0 1 auto; max-height: 46%; overflow-y: auto; scrollbar-width: thin; padding: 13px 0; border-top: 1px solid #dcdcc4; }
.meaning-keyword-panel h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: #486039; font-size: 16px; }
.meaning-keyword-panel h3 .meaning-icon { width: 19px; height: 19px; }
.meaning-room .meaning-keyword-panel .guided-meaning-words { margin: 0 0 10px; padding: 10px; gap: 9px; font-size: 13px; background: #f5f5e9; border-color: #e1e3d1; }
.meaning-room .meaning-keyword-panel .guided-meaning-words dt { padding-right: 8px; }
.meaning-room .meaning-keyword-panel .primary { display: block; margin: 8px auto 0; padding: 7px 20px; border-radius: 20px; font-size: 14px; background: linear-gradient(#789752, #506d34); }
.meaning-keyword-panel .small-note { font-size: 13px; color: #7b836b; margin: 4px 0; }
.meaning-goal-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.meaning-goal-list li { display: flex; gap: 7px; align-items: start; font-size: 13px; color: #4b5740; }
.meaning-goal-check { flex: 0 0 auto; display: grid; place-items: center; width: 15px; height: 15px; margin-top: 3px; border: 1px solid #aeba95; border-radius: 50%; color: #fff; font: 11px var(--sans); }
.meaning-goal-list [data-done='true'] .meaning-goal-check { background: #72914f; border-color: #72914f; }
.meaning-room .meaning-reflection-card { background: #fcfaf2e8; }
.meaning-reflection-status { display: block; width: fit-content; margin: 0 0 10px auto; padding: 2px 9px; border-radius: 6px; background: #e0e9cc; color: #5e7747; font-size: 11px; }
.meaning-reflection-row { display: flex; align-items: start; gap: 7px; border-radius: 9px; background: #edf1e2; margin-top: 6px; padding: 6px 8px; font-size: 13px; line-height: 1.65; }
.meaning-reflection-row > .meaning-icon { flex-shrink: 0; width: 24px; height: 24px; padding: 2px; border-radius: 50%; background: #e9f0da; margin-top: 2px; }
.meaning-reflection-row strong { color: #49633a; }
.guided-substeps li[data-status='review'] .guided-substep-dot,
.meaning-step-route > button[data-status='review'] .meaning-step-mark,
.meaning-goal-list [data-review='true'] .meaning-goal-check {
  background: #f6ecd2;
  border-color: #d9c496;
  color: #815c2b;
}
.meaning-goal-review {
  display: block;
  width: fit-content;
  margin-top: 4px;
  padding: 1px 7px;
  border-radius: 6px;
  background: #f8efd9;
  color: #815c2b;
  font-size: 12px;
}

.meaning-room .meaning-review-study .guided-meaning-original {
  padding-bottom: 10px;
}
.meaning-room .meaning-review-study .guided-meaning-stanza {
  padding-block: 9px 3px;
}
.meaning-room .meaning-review-study .guided-meaning-stanza h3 {
  margin-bottom: 4px;
}
.meaning-room .meaning-review-study .guided-meaning-sentence {
  padding: 8px 8px 10px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
.meaning-room .meaning-review-study .guided-meaning-sentence + .guided-meaning-sentence {
  border-top: 1px solid #e9e3d0;
}
.meaning-room .meaning-review-study .guided-recitation-verse {
  padding: 1px 6px;
  border-left: 3px solid transparent;
  border-radius: 6px;
}
.meaning-room .meaning-review-study [aria-current='true'] > .guided-recitation-verse {
  border-color: #8ca46d;
  background: #edf2e0;
}
.meaning-line-review {
  display: grid;
  gap: 7px;
  margin: 7px 0 0;
}
.meaning-line-review-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.meaning-line-review-row > strong {
  flex-shrink: 0;
  color: #456638;
  font-size: 13px;
}
.meaning-line-review-row .meaning-icon {
  width: 16px;
  height: 16px;
  margin-right: 5px;
}
.guided-reading-card .meaning-line-review-row > p {
  min-width: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}
.meaning-line-translation {
  padding: 1px 2px;
  border-radius: 3px;
  background: #fff0b8;
  color: inherit;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.meaning-line-glosses {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.meaning-line-glosses > li {
  max-width: 100%;
  padding: 2px 6px;
  border: 1px solid #dee5cc;
  border-radius: 6px;
  background: #f1f4e8;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.meaning-line-glosses b {
  color: #3f5c32;
}
.meaning-review-study .meaning-sentence-tabs button[aria-pressed='true'] {
  border-color: #66844c;
  background: linear-gradient(#7c9b60, #4e713e);
  color: #fffef6;
  box-shadow: inset 0 1px 0 #a8bd92, 0 2px 4px #3a56251c;
}
@media (min-width: 880px) {
  #guided-stage-review:not([hidden]) + #guided-content { --study-review-space: 55px; }
  .guided-meaning-study, .guided-emotion-study {
    --study-height: clamp(490px, calc(100dvh - 237px - var(--study-review-space, 0px)), 1040px);
  }
  .guided-emotion-study { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
  :is(.guided-meaning-original, .guided-meaning-tutor, .emotion-original, .emotion-tutor) {
    height: var(--study-height);
    overflow: hidden;
  }
  .meaning-verse-scroll, .emotion-verse-scroll {
    overscroll-behavior-y: contain;
    scrollbar-gutter: stable;
  }
}
@media (max-width: 1599px) and (min-width: 880px) {
  .meaning-step-route { gap: 3px; padding: 9px; }
  .meaning-step-route > strong { display: none; }
  .meaning-step-route > button { font-size: 13px; gap: 5px; padding: 6px; }
  .meaning-step-arrow { font-size: 14px; }
}
@media (max-width: 879px) {
  .meaning-step-route { gap: 5px; padding: 9px; }
  .meaning-step-route > strong { display: none; }
  .meaning-step-route > button { padding: 6px 9px; font-size: 14px; }
  .meaning-keyword-panel { max-height: 45%; }
  .meaning-line-review-row { flex-wrap: wrap; gap: 4px 7px; }
  .meaning-line-glosses { flex-basis: 100%; }
}

.emotion-route {
  display: flex;
  align-items: center;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 9px 14px;
  border: 1px solid #dcdcc5;
  border-radius: 13px;
  background: linear-gradient(100deg, #edf0df, #faf7ecef 42%, #f2f0e2d4),
    url('/static/assets/ink-landscape.webp') right 48% / 410px auto no-repeat;
  box-shadow: inset 0 1px 0 #fffcf3;
}
.emotion-route-label { display: flex; align-items: center; gap: 7px; color: #3b5534; font: 700 17px var(--serif); white-space: nowrap; }
.emotion-route-steps {
  flex: 1 1 240px;
  margin: 0;
  color: #49603d;
  font: 600 15px/1.8 var(--serif);
  word-spacing: .3em;
  overflow-wrap: anywhere;
}
@media (max-width: 480px) {
  .emotion-route { gap: 7px; padding: 8px; }
  .emotion-route-steps { flex-basis: 100%; }
}
.guided-emotion-study .guided-reading-card > h2::before { display: none; }
.emotion-tutor > h2 { flex-shrink: 0; }
.emotion-stanza { padding: 6px 0 9px; }
.emotion-stanza + .emotion-stanza { border-top: 1px solid #e7dfcc; }
.emotion-verse-group + .emotion-verse-group { margin-top: 9px; padding-top: 7px; border-top: 1px solid #e9e3d0; }
.emotion-verse-group .meaning-line-review { margin: 4px 6px 0; }
.emotion-verse-group .meaning-line-review + .emotion-verse-clues { margin-top: 6px; }
.emotion-stanza h3 {
  display: inline-block;
  margin: 4px 0 7px;
  padding: 2px 9px;
  border-radius: 6px;
  background: #f3eedc;
  color: #537048;
  font: 700 15px var(--serif);
}
.emotion-original .emotion-verse {
  margin: 3px 0;
  padding: 5px 6px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #223b27;
  font: 600 clamp(18px, calc(12px + 1.7cqi), 23px)/1.5 var(--serif);
}
.emotion-verse ruby { margin-inline: .1em; }
.emotion-verse rt { color: #394537; font: 10px/1.1 var(--sans); }
.emotion-verse[data-focus='true'] { border-color: #d3dec3; border-left: 3px solid #88a16c; background: #eaf0df; }
.emotion-verse-clues { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0 6px; list-style: none; }
.emotion-verse-clues li { padding: 2px 8px; border: 1px solid #e8dfbc; border-radius: 20px; background: #f7efd6; color: #6b562e; font-size: 12px; }
.emotion-source { padding: 8px 6px 5px; border-top: 1px solid #e7dfcc; font-size: 13px; color: #465d3b; }
.emotion-source summary { cursor: pointer; }
.emotion-source p { margin: 7px 0 0; }
.emotion-tutor {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.emotion-round-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  flex-shrink: 0;
  padding: 3px 0 9px;
  border-bottom: 1px solid #e7dfcc;
}
.emotion-round-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border: 1px solid #dedfc9;
  border-radius: 7px;
  background: #fbf9ed;
  color: #405835;
  font-size: 12px;
}
.emotion-round-button[aria-pressed='true'] { background: #e7edd9; border-color: #a3b78a; font-weight: 700; }
.emotion-round-button:disabled { opacity: .58; cursor: default; }
.emotion-segment-nav {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 5px 8px;
  padding: 9px 0 4px;
}
.emotion-segment-button {
  padding: 4px 9px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: transparent;
  color: #627154;
  font: 12px/1.5 var(--sans);
}
.emotion-segment-button[aria-pressed='true'] {
  background: #edf1e3;
  border-color: #cbd6b7;
  color: #3d5a30;
  font-weight: 600;
}
.emotion-segment-button:disabled { opacity: .55; cursor: default; }
.emotion-composer-context { margin: 0 0 6px; color: #627154; font-size: 12px; }
.emotion-log { flex: 1 1 0; padding: 9px 3px 8px; scrollbar-width: thin; }
.emotion-round-card { display: grid; gap: 11px; }
.emotion-round-card + .emotion-round-card { margin-top: 22px; }
.emotion-round-card > h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 8px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #e8e1d0;
  border-radius: 9px;
  background: #f4f0e5;
  color: #274629;
  font: 700 16px var(--serif);
}
.emotion-round-card > h3 small { margin-left: auto; color: #4f6441; font: 500 12px/1.5 var(--sans); }
.emotion-round-card :is(.guided-agent-message, .guided-student-message) {
  align-items: start;
  gap: 8px;
}
.emotion-round-card .guided-avatar { width: 35px; height: 35px; }
.emotion-round-card .emotion-agent-bubble, .recitation-dialogue .guided-coach-reply {
  padding: 8px 10px;
  border: 1px solid #ece6d9;
  border-radius: 4px 12px 12px 12px;
  background: #f7f4ea;
}
.emotion-agent-bubble > .guided-reply-byline, .recitation-dialogue .guided-reply-byline { margin-bottom: 5px; }
.emotion-student-bubble {
  min-width: 0;
  max-width: min(82%, calc(100% - 43px));
  padding: 7px 11px;
  border-radius: 12px 4px 12px 12px;
  background: #e8efd9;
}
.emotion-round-row + .emotion-round-row { margin-top: 7px; }
.emotion-row-label { display: inline-block; margin: 0 0 3px; color: #526647; font-size: 11px; }
.emotion-row-copy > p { margin: 0; font-size: 14px; line-height: 1.65; white-space: pre-line; }
.emotion-row-copy > p + p { margin-top: 7px; }
.emotion-quote {
  padding: 0 2px;
  border-radius: 3px;
  background: #faedc2;
  color: #5d451c;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.emotion-keyword { padding: 0 2px; border-radius: 3px; background: #e5edda; color: #355d31; font-weight: 700; }
.emotion-guide-label { display: block; margin: 8px 0 3px; color: #546747; font-size: 12px; }
.emotion-guide-label:first-child { margin-top: 0; }
.emotion-row-copy .emotion-guide-evidence { padding-left: 8px; border-left: 2px solid #e7d6a6; }
.emotion-round-row:is([data-type='question'], [data-type='followup']) {
  padding: 6px 8px;
  border-left: 3px solid #87a078;
  border-radius: 5px;
  background: #eaf0e0;
  color: #29472a;
}
.emotion-round-row:is([data-type='question'], [data-type='followup']) .emotion-row-copy { font-weight: 600; }
.emotion-round-row[data-type='reference'] { padding-left: 7px; border-left: 2px solid #9caf84; }
.emotion-round-row[data-type='reference'] .emotion-row-copy { color: #6e6655; }
.emotion-reply-button { display: block; margin-top: 3px; padding: 2px 0; color: #53714a; font-size: 12px; }
.emotion-reply-preview {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 4px 7px;
  border-left: 2px solid #8da675;
  background: #f2f4e7;
  color: #4b6340;
  font-size: 12px;
}
.emotion-reply-preview strong, .emotion-reply-preview button { flex-shrink: 0; }
.emotion-reply-preview span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.emotion-reply-preview button { padding: 2px 4px; }
.emotion-finish { align-self: flex-end; margin-top: 5px; }
.emotion-form { padding-top: 8px; border-top: 1px solid #e7dfcc; }
.emotion-form, .emotion-return-round, .emotion-finish { flex-shrink: 0; }
.emotion-form textarea { resize: vertical; max-height: 135px; }
.emotion-return-round { align-self: flex-start; margin-top: 5px; }
.emotion-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 8px; }
.emotion-actions > :first-child:nth-last-child(3) { margin-right: auto; }
.emotion-actions .text-button { font-size: 12px; padding-inline: 5px; }
@media (min-width: 880px) {
  .emotion-review-form {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
  .emotion-review-form > :is(.emotion-composer-context, .emotion-reply-preview) { grid-column: 1 / -1; }
  .emotion-review-form .emotion-composer-context { margin: 0; }
  .emotion-review-form textarea { padding-block: 6px; }
  .emotion-review-form .emotion-actions button { white-space: nowrap; }
}
.emotion-summary { margin: 12px 0 4px; padding: 9px 12px; border-radius: 9px; background: #eaf0df; color: #344e30; }
.emotion-summary p, .emotion-reflection p { margin: 3px 0 0; }
.emotion-reflection { border-color: #d9e1c8; background: #f6f8ed; }
.emotion-reflection .emotion-reflection-context { margin-bottom: 8px; color: #506c45; font-size: 12px; }
.guided-layout:has(.guided-emotion-study) .guided-agents::before { height: 68px; width: 84px; }
@media (max-width: 879px) {
  .emotion-original .emotion-verse { padding-block: 3px; }
  .emotion-tutor { height: clamp(435px, 68dvh, 615px); }
}
@media (max-width: 480px) {
  .emotion-round-card .guided-avatar { width: 30px; height: 30px; }
  .emotion-student-bubble { max-width: calc(100% - 38px); }
}

.guided-recite-study { display: grid; gap: 12px; }
.recitation-route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 8px 12px;
  list-style: none;
  border: 1px solid var(--guided-border);
  border-radius: 12px;
  background: linear-gradient(95deg, #f1eddf, #f7f3e7);
}
.recitation-route > li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: #68705d;
  font-size: 13px;
  font-weight: 600;
}
.recitation-route > li::before {
  content: '';
  flex: 0 0 15px;
  height: 15px;
  border: 1px solid #bec9ab;
  border-radius: 50%;
}
.recitation-route > [data-status='active'] { color: #36562b; border-color: #d7e2c4; background: #e9efda; }
.recitation-route > [data-status='active']::before { background: #719255; box-shadow: inset 0 0 0 3px #e9efda; }
.recitation-route > [data-status='done']::before {
  content: '✓';
  display: grid;
  place-items: center;
  color: #fff;
  background: #719255;
  font: 11px/1 var(--sans);
}
.recitation-route > [data-status='skipped']::before {
  content: '−';
  display: grid;
  place-items: center;
  color: #6d775e;
  font: 11px/1 var(--sans);
}
.recitation-route > li > small { color: #6d775e; font-size: 11px; font-weight: 400; }
.recitation-desk { min-width: 0; }
.recitation-desk-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 0 -10px;
  padding: 6px 12px;
  border-radius: 11px 11px 0 0;
  background: linear-gradient(95deg, #f1eddf, #f7f3e7);
}
.recitation-desk-heading > h2 { margin: 0; padding: 0; background: none; }
.recitation-desk-heading > h2::before { display: none; }
.recitation-actions, .recitation-complete {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}
@media (min-width: 880px) {
  .recitation-desk-heading { margin-inline: -12px; border-radius: 14px 14px 0 0; }
}
.recitation-source-button {
  padding: 5px 10px;
  border: 1px solid #d6dec4;
  border-radius: 7px;
  background: #f5f5e9;
  color: #425c36;
}
.recitation-workspace { flex: 1 0 auto; display: flex; flex-direction: column; gap: 12px; padding: 12px 3px 6px; }
.recitation-editor { flex: 1 0 auto; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.recitation-answer {
  flex: 1 0 auto;
  min-height: 170px;
  padding: 14px 16px;
  border-color: #dedcc8;
  background: #fffdf6;
  color: #264329;
  font: 18px/1.9 var(--serif);
}
.recitation-answer::placeholder { color: #787d68; font: 14px/1.65 var(--sans); }
.recitation-actions { justify-content: flex-end; }
.recitation-result > p { margin: 3px 0 0; color: #655c48; font-size: 13px; }
.recitation-result > .recitation-feedback-message { margin: 0; color: #69472f; font-size: 14px; font-weight: 600; }
.recitation-result[data-correct='true'] > .recitation-feedback-message { color: #385533; }
.recitation-complete { border-color: #d6e1c6; background: #edf2e1; color: #385533; }
.recitation-corrections { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.recitation-complete { justify-content: space-between; padding: 8px 10px; border-radius: 9px; }
.recitation-reference {
  width: min(640px, calc(100% - 28px));
  max-height: 86dvh;
  padding: 0;
  border: 1px solid #d8d7c0;
  border-radius: 15px;
  color: var(--ink);
  background: #fcfaf2;
}
.recitation-reference[open] { display: flex; flex-direction: column; overflow: hidden; }
.recitation-reference::backdrop { background: #29382780; }
.recitation-reference-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(95deg, #f1eddf, #f7f3e7);
}
.recitation-reference-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; color: #213c25; font-size: 19px; }
.recitation-reference-note { margin: 9px 16px 0; color: #755326; font-size: 13px; }
.recitation-reference-body { min-height: 0; overflow-y: auto; padding: 8px 16px 16px; }
.recitation-reference-part + .recitation-reference-part { margin-top: 10px; padding-top: 10px; border-top: 1px solid #e7dfcc; }
.recitation-reference-part h3 { margin: 0 0 6px; color: #405d35; font-size: 15px; }
.recitation-reference-part p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.recitation-reference-verse { padding-top: 5px; font: 19px/1.6 var(--serif); color: #264329; }
.recitation-reference-part .meaning-line-review-row p { font-size: 13px; }
.recitation-corrections { margin-top: 8px; color: #7a4b30; font-size: 13px; }
.recitation-reference > .guided-action-status { margin: 0; padding: 5px 16px 9px; }
@media (max-width: 879px) {
  .recitation-answer { min-height: 150px; }
}
@media (max-width: 480px) {
  .recitation-route { gap: 4px; }
  .recitation-route > li { flex-wrap: wrap; gap: 2px 4px; padding-inline: 4px; }
  .recitation-answer { padding: 10px; font-size: 16px; }
}

.recitation-feedback-line, .recitation-submitted-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 9px;
  margin: 4px 0;
}
.recitation-submitted-line { margin-bottom: 0; }
.recitation-submitted-label { color: #805b45; font-size: 12px; }
.recitation-diff-verse { color: #303829; font: 16px/1.65 var(--serif); overflow-wrap: anywhere; }
.recitation-diff-actual, .recitation-diff-expected { padding: 0 2px; border-radius: 3px; text-decoration: underline; text-underline-offset: 3px; }
.recitation-diff-actual { color: #a63126; background: #f8dacf; }
.recitation-diff-expected { color: #315e2d; background: #dce9ca; }
.recitation-errors { display: grid; gap: 2px; margin: 4px 0 0; padding: 0; list-style: none; color: #77512d; font-size: 13px; overflow-wrap: anywhere; }
.recitation-overview { color: #4c6440; font-size: 12px; }
.recitation-editor { padding: 10px; border: 1px solid #e7dfcc; border-radius: 10px; background: #fffdf6; }
.recitation-inline-editor { margin-top: 8px; padding: 0; border: 0; background: none; }
.recitation-current { margin: 0; padding: 5px 9px; border-radius: 7px; background: #edf0df; color: #3d5933; font: 600 15px/1.5 var(--serif); }
.recitation-dialogue {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  max-height: clamp(260px, 62dvh, 620px);
  padding: 2px 6px 2px 0;
  overflow-y: auto;
  scrollbar-color: #b6c1a5 transparent;
}
.recitation-dialogue-round { display: grid; gap: 10px; min-width: 0; }
.recitation-dialogue-round + .recitation-dialogue-round { padding-top: 10px; border-top: 1px solid #e7dfcc; }
.recitation-archive { padding: 0 8px 7px; border-bottom: 1px solid #e6dfce; }
.recitation-archive-list { display: grid; gap: 5px; padding-top: 6px; }
.recitation-archive-exercise { padding: 3px 8px; border: 1px solid #e6e0d0; border-radius: 6px; }
:is(.recitation-archive, .recitation-archive-exercise, .recitation-prompt-history) > summary {
  color: #4b6340;
  font-size: 13px;
  cursor: pointer;
}
.recitation-prompt-history > summary {
  width: fit-content;
  color: #6a725e;
  font-size: 12px;
}
.recitation-attempt-list { display: grid; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.recitation-attempt-list > li { padding: 6px 8px; border-left: 2px solid #d4dcc4; background: #f4f3e9; border-radius: 4px; }
.recitation-attempt-list p { margin: 2px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.recitation-attempt-label { display: flex; align-items: baseline; gap: 9px; color: #5c6452; font-size: 12px; }
.recitation-attempt-status, .recitation-past-correction { color: #854331; }
.recitation-attempt-label[data-correct='true'] .recitation-attempt-status { color: #426438; }
.recitation-past-prompt { display: grid; gap: 4px; margin-top: 5px; }
.recitation-dialogue :is(.guided-student-turn, .guided-reply-copy) {
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.recitation-dialogue .guided-student-turn { border-radius: 12px 4px 12px 12px; }
.recitation-dialogue .guided-reply-copy { margin: 0; }
.guided-transfer-study { display: grid; gap: 12px; min-width: 0; }
.guided-transfer-study .guided-reading-card > h2::before { display: none; }
.transfer-body, .transfer-controls { display: grid; gap: 12px; min-width: 0; }
.transfer-body { padding: 12px 16px 16px; }
.transfer-controls { border-top: 1px solid #e7dfcc; padding-top: 10px; }
.transfer-controls > button { justify-self: start; }
.transfer-order {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr));
  gap: 6px; padding: 0; margin: 0; list-style: none;
}
.transfer-order li {
  display: grid; align-content: start; gap: 5px; color: #455741; background: #f4f1e5;
  border: 1px solid #e4dfcc; border-radius: 8px; padding: 8px 11px;
}
.transfer-order :is(.transfer-current, .transfer-done) { background: #eaf0df; border-color: #d5dfc0; }
.transfer-order .transfer-current { border-color: #a9be8d; }
.transfer-task-header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #2c4925; }
.transfer-format { padding: 1px 7px; border-radius: 6px; background: #e1e8d2; color: #39532e; font-size: 12px; }
.transfer-task-exam { margin: 0; color: #30492d; font-size: 13px; font-weight: 650; }
.transfer-task-outcome { color: #3b652f; }
.transfer-dialogue .guided-coach-reply { min-width: 0; overflow-wrap: anywhere; }
.transfer-verse { margin: 8px 0; padding: 9px 12px; border-radius: 7px; background: #edf0e1; color: #30502a; }
.transfer-verse .guided-verse { margin: 4px 0; font: 600 19px/1.65 var(--serif); color: #253d24; }
.transfer-verse .small-note { margin: 3px 0 0; }
.transfer-stem { margin: 8px 0; color: #233822; font-size: 15px; font-weight: 650; line-height: 1.7; }
.transfer-options { gap: 6px; margin-bottom: 8px; }
.transfer-options button { padding: 7px 9px; font-size: 14px; }
.transfer-correct { margin: 6px 0; color: #31552a; font-weight: 700; }
.transfer-option-analysis { margin: 4px 0 9px; padding: 0; list-style: none; }
.transfer-option-analysis li + li { margin-top: 3px; }
.transfer-followup, .transfer-comparison {
  border-radius: 7px; margin: 7px 0; padding: 8px 10px; background: #edf0e1;
}
.transfer-passages {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 8px; margin-top: 6px;
}
.transfer-passages section { padding: 7px 9px; background: #fbfaf3; border: 1px solid #e2e5d4; border-radius: 6px; }
.transfer-passages :is(h4, p) { margin: 0 0 4px; }
.transfer-reading-pair { margin: 5px 0 8px; padding-bottom: 6px; border-bottom: 1px solid #e2e5d4; }
.transfer-reading-pair dt { margin: 4px 0 1px; color: #4b6440; font-size: 12px; font-weight: 650; }
.transfer-reading-pair dd { margin: 0 0 4px; line-height: 1.65; white-space: pre-wrap; }
.transfer-translation-context { margin: 4px 0 8px; }
.transfer-translation-context > summary { cursor: pointer; color: #4b6440; font-size: 13px; }
.transfer-quote { color: #486336; font-family: var(--serif); }
.transfer-method { padding-inline-start: 1.4em; margin: 8px 0 0; }
.transfer-method-heading { display: block; margin-top: 9px; }
.recitation-result .guided-reply-copy { margin-top: 5px; color: #344633; }
.recitation-result > .recitation-neighbor { margin-top: 6px; }
.recitation-translation-cues { display: grid; gap: 4px; margin-top: 6px; }
.recitation-translation-cues p { white-space: pre-wrap; }
.recitation-prompt-content { display: grid; gap: 9px; }
.recitation-cloze {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid #e7dfcc;
  border-radius: 9px;
  background: #fbf7eb;
  color: #283d29;
  font: 600 23px/1.5 var(--serif);
}
.recitation-blank {
  width: calc(var(--blank-size, 1) * 1.15em + 1.1em);
  max-width: 100%;
  min-height: 42px;
  padding: 3px 6px;
  border: 1px solid #9bad82;
  border-radius: 6px;
  background: #fffef6;
  text-align: center;
}
.recitation-cue-card {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 9px;
  padding: 7px 10px;
  border-left: 2px solid #a8b98d;
  border-radius: 5px;
  background: #eef1e3;
  color: #405436;
}
.recitation-cue-card > span { flex-shrink: 0; font-size: 12px; font-weight: 600; }
.recitation-cue-card > p { min-width: 0; flex: 1 1 175px; margin: 0; overflow-wrap: anywhere; }
.recitation-neighbor > p { font: 600 18px/1.6 var(--serif); }
.recitation-editor .recitation-answer { flex: none; min-height: 74px; font-size: 18px; line-height: 1.7; }
.recitation-editor .recitation-answer[rows='7'] { min-height: 175px; }
.recitation-desk .recitation-actions { justify-content: flex-start; gap: 8px; }
.recitation-desk .recitation-actions button { padding: 6px 13px; border-radius: 9px; }
.recitation-feedback-verse { margin: 0; color: #303829; font: 600 17px/1.6 var(--serif); overflow-wrap: anywhere; }
.recitation-past-blank { display: inline-block; width: calc(var(--blank-size, 1) * 1.05em); height: 1em; margin-inline: 2px; border: 1px dashed #9aa887; border-radius: 3px; background: #fcfbf3; vertical-align: -.12em; }
.recitation-audio-review {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  min-width: 0;
}
.recitation-audio-review .recitation-control { margin: 0; gap: 4px 7px; }
.guided-page .recitation-audio-review :is(button, a) {
  padding: 2px 8px;
  border: 1px solid #cbd8ba;
  border-radius: 999px;
  background: #f6f8ef;
  color: #3e6032;
  font: 12px/1.65 var(--sans);
}
.guided-page .recitation-audio-review :is(button, a):hover { background: #e6eed8; transform: none; }
.recitation-audio-review [role='status']:empty { display: none; }
.recitation-audio-review audio { width: min(210px, 100%); height: 30px; }
@media (max-width: 700px) {
  .recitation-cloze { padding: 8px 10px; font-size: 20px; }
}

/* Integrated Spaced Recitation Workspace & Dynamic Proficiency Visuals */
.nav-count-alert{background:#b86f49;color:#fff9ee}

@keyframes memory-shimmer{
  0%{transform:translateX(-100%)}
  100%{transform:translateX(220%)}
}
@keyframes soft-pulse{
  0%,100%{box-shadow:0 0 0 0 rgba(184,111,73,.4)}
  50%{box-shadow:0 0 0 5px rgba(184,111,73,0)}
}
@keyframes soft-pulse-ok{
  0%,100%{box-shadow:0 0 0 0 rgba(105,126,87,.32)}
  50%{box-shadow:0 0 0 5px rgba(105,126,87,0)}
}
@keyframes card-rise{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}

.review-goal-main{display:grid;justify-items:start;gap:9px;min-width:0}
.review-goal-title-row{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap}
.review-back-btn{font-size:12px;padding:4px 11px;border:1px solid var(--line);border-radius:999px;background:#fffdf7;color:#667058}
.review-back-btn:hover{background:var(--soft);text-decoration:none}
.review-goal-summary{flex-basis:100%;font-size:13px;color:#515b48}
.review-goal-progress{display:flex;align-items:center;gap:12px;width:min(360px,100%)}
.review-goal-track{flex:1;height:7px;border-radius:999px;background:#e6e4d1;overflow:hidden}
.review-goal-fill{
  height:100%;width:0%;border-radius:999px;
  background:linear-gradient(90deg,#7b9466,#4e6c45);
  transition:width .8s cubic-bezier(.22,1,.36,1);
}
.review-goal-ratio{font-size:12px;color:#5f6953;white-space:nowrap;font-variant-numeric:tabular-nums}

/* SVG Ring (used in per-poem settlement panel) */
.vitality-svg{width:100%;height:100%;transform:rotate(-90deg)}
.vitality-track{fill:none;stroke:#e1e4d2;stroke-width:10}
.vitality-arc{
  fill:none;stroke:#697e57;stroke-width:10;stroke-linecap:round;
  stroke-dasharray:314.16;stroke-dashoffset:314.16;
  transition:stroke-dashoffset .95s cubic-bezier(.22,1,.36,1),stroke .4s ease;
}
.vitality-arc.warn{stroke:#c69142}
.vitality-arc.low{stroke:#b86443}
.vitality-center{
  position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;
  pointer-events:none;
}
.vitality-center strong{font:600 17px/1 var(--serif);color:var(--green-dark)}
.vitality-center span{font-size:8px;color:var(--muted);margin-top:3px;letter-spacing:.4px}

/* Unified Two-Column Review Workspace */
.review-workspace{
  display:grid;grid-template-columns:clamp(230px,24vw,296px) minmax(0,1fr);gap:16px;align-items:start;
}
.review-workspace.is-single,
.review-workspace:has(> .review-queue-panel[hidden]){grid-template-columns:minmax(0,1fr)}
.review-workspace.is-single .review-queue-panel{display:none}

/* Left Queue Sidebar */
.review-queue-panel{
  display:grid;gap:16px;padding:14px;border-radius:13px;min-width:0;
  border:1px solid #e6dfcc;background:linear-gradient(150deg,#f8f7ee,#fdfbf4);
  box-shadow:0 3px 12px #4c56360a;
}
.queue-group{display:grid;gap:10px}
.queue-group-head{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:2px 2px 4px;list-style:none;
}
.queue-upcoming-details > summary{cursor:pointer}
.queue-upcoming-details > summary::-webkit-details-marker{display:none}
.queue-upcoming-details > summary::after{content:'⌄';font-size:12px;color:var(--muted);margin-left:4px}
.queue-upcoming-details[open] > summary::after{content:'⌃'}
.queue-group-head h2{
  display:flex;align-items:center;gap:7px;margin:0;
  font:600 14px var(--serif);color:var(--ink);
}
.queue-group-count{font-size:11px;color:var(--muted);margin-left:auto}
.pulse-dot{width:8px;height:8px;border-radius:50%;display:inline-block;flex-shrink:0}
.pulse-warn{background:#c57948;animation:soft-pulse 2.2s infinite}
.pulse-ok{background:#697e57;animation:soft-pulse-ok 3s infinite}
.pulse-soft{background:#b8a57d}
.pulse-gold{background:#bd9e6f}
.graduate-btn{
  padding:8px 16px;border-radius:8px;font-size:12px;font-weight:500;
  border:1px solid #d7c39a;background:linear-gradient(135deg,#faf3e2,#f3e8ce);color:#745424;
  transition:background .2s ease,transform .15s ease,border-color .2s ease;
}
.graduate-btn:hover{background:#efe1be;border-color:#c2a673;transform:translateY(-1px)}
.graduate-btn.is-restore{background:#f5f6ee;border-color:#d5dcc6;color:#5a694e}
.graduate-btn.is-restore:hover{background:#e9eee0}

.queue-list{display:grid;gap:9px}
.queue-item{
  width:100%;text-align:left;display:grid;gap:8px;
  padding:12px 13px;border-radius:11px;border:1px solid #e6decb;
  background:#fffdf8;cursor:pointer;
  transition:border-color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease;
}
.queue-item:hover{border-color:#c8d3b5;background:#fcfcf5;transform:translateX(2px)}
.queue-item.is-active{
  border-color:#6d835d;background:linear-gradient(135deg,#f6f9ef,#fffdf7);
  box-shadow:inset 3px 0 0 #5b754c,0 4px 12px #4c5c3914;
}
.queue-item-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.queue-item-title{
  font:600 14px/1.4 var(--serif);color:var(--ink);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;
}
.queue-item-meta{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  font-size:11px;color:var(--muted);
}

/* Stage & Due Pills */
.stage-badge{
  flex-shrink:0;padding:1px 8px;border-radius:999px;font-size:10px;font-weight:500;
  background:#eef1e4;color:var(--green-dark);border:1px solid #d6dec4;white-space:nowrap;
}
.stage-badge[data-stage='1']{background:#f3efe4;color:#82795e;border-color:#e2d9c2}
.stage-badge[data-stage='2']{background:#faf1df;color:#9b6f30;border-color:#ebd6ae}
.stage-badge[data-stage='3']{background:#eef3e4;color:#557242;border-color:#d2dfc0}
.stage-badge[data-stage='4']{background:#e4eee1;color:#39593a;border-color:#bdd3b8}
.stage-badge[data-stage='5']{background:#3e563e;color:#f8f5ea;border-color:#3e563e}
.due-pill{font-size:10px;padding:1px 7px;border-radius:6px;background:#f2f0e4;color:#727662;white-space:nowrap}
.due-pill.urgent{background:#f9e9dc;color:#9f5432;font-weight:500}

/* Single Clean Animated Retention Progress Bar */
.battery-block{display:grid;gap:5px}
.battery-row{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted)}
.battery-row strong{font:600 12px var(--serif);color:var(--green-dark);font-variant-numeric:tabular-nums}
.battery-row strong.warn{color:#a87228}
.battery-row strong.low{color:#a85535}
.battery-track{position:relative;height:7px;border-radius:999px;background:#eae8da;overflow:hidden}
.battery-fill{
  position:relative;height:100%;width:0%;border-radius:999px;
  background:linear-gradient(90deg,#7c9666,#59754c);
  transition:width .85s cubic-bezier(.22,1,.36,1);
  overflow:hidden;
}
.battery-fill.warn{background:linear-gradient(90deg,#d8a85a,#be8336)}
.battery-fill.low{background:linear-gradient(90deg,#ce7b55,#a85537)}
.battery-fill::after{
  content:'';position:absolute;inset:0;width:45%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.38),transparent);
  animation:memory-shimmer 3s infinite;
}

/* Right Main Dictation Desk */
.review-desk-panel{min-width:0}
.review-status:empty{display:none}
.review-status{
  padding:22px;border:1px solid var(--line);border-radius:14px;
  background:var(--card);color:var(--muted);text-align:center;margin:0;
}
.review-empty-state{
  display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;
  padding:56px 28px;border:1px solid #e3dac6;border-radius:16px;
  background:linear-gradient(180deg,#fffdf8,#faf7ec);box-shadow:var(--shadow);
  animation:card-rise .3s ease both;
}
.review-empty-seal{
  display:grid;place-items:center;width:54px;height:54px;border-radius:12px;
  border:1px solid #d7c5a1;background:#f7f0e0;color:#8e6b3d;
  font:600 18px var(--serif);letter-spacing:2px;margin-bottom:4px;
}
.review-empty-state h2{font:600 22px var(--serif);color:var(--green-dark);margin:0}
.review-empty-state p{max-width:360px;margin:0 0 8px}

.review-card{
  padding:clamp(15px,2.2vw,28px);border:1px solid #e5ddc9;border-radius:14px;
  background:linear-gradient(150deg,#fffef8 45%,#faf7ed);box-shadow:0 4px 16px #4e583a0b;
  animation:card-rise .28s ease both;
}
.review-poem{
  display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap;
  border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:16px;
}
.review-poem h2{font:600 clamp(21px,2.3vw,28px)/1.35 var(--sans);color:#2e4532;margin:0;overflow-wrap:anywhere}
.review-poem p{color:var(--muted);margin:5px 0 0;font-size:12px}
.review-poem-telemetry{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.telemetry-chip{
  display:inline-flex;align-items:center;gap:5px;
  padding:3px 10px;border-radius:999px;font-size:11px;
  background:#f4f5ea;border:1px solid #dce2cd;color:#4f6146;
}
.telemetry-chip.score{background:#f8f1e1;border-color:#e5d3af;color:#896432}

.review-poem-retention{
  padding:10px 14px;margin-bottom:16px;border-radius:10px;
  background:#f7f6ee;border:1px solid #e8e4d4;
}
.review-weak-banner{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  padding:9px 14px;margin-bottom:16px;border-radius:10px;
  background:#fbf4e6;border:1px solid #ebd9b8;font-size:12px;color:#85612f;
}
.review-weak-banner strong{font-weight:600}

.review-form-heading{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin:0 0 8px}
.review-form-heading label{color:#3c543b;font-size:13px;font-weight:600}
.review-form-heading span{color:#656b59;font-size:11px}
#review-answer{
  --dictation-line: 2.15rem;
  display:block;width:100%;min-height:190px;height:clamp(220px,28svh,320px);margin-bottom:12px;padding:14px 16px;
  font:clamp(16px,1.7vw,18px)/var(--dictation-line) var(--sans);letter-spacing:.035em;
  background:#fffefa repeating-linear-gradient(to bottom,transparent 0 calc(var(--dictation-line) - 1px),#ebe6d7 calc(var(--dictation-line) - 1px) var(--dictation-line)) content-box;
  border:1px solid #e3dac5;border-radius:10px;resize:vertical;
  transition:border-color .2s ease,box-shadow .2s ease;
}
#review-answer:focus{outline:none;border-color:#7d9369;box-shadow:0 0 0 3px #7d936920}
.review-form-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
.review-char-count{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}

/* Dynamic Settlement & Recall Feel Rating */
#review-result{animation:card-rise .32s ease both}
#review-result h3{font:600 20px var(--serif);margin:0 0 10px}
.review-passed{color:var(--green-dark)}
#review-result h4{font-size:13px;color:var(--muted);margin:14px 0 6px}

.settlement-panel{
  display:grid;grid-template-columns:auto minmax(0,1fr);gap:22px;align-items:center;
  padding:20px 22px;margin-bottom:18px;border-radius:14px;
  background:linear-gradient(135deg,#f3f6ea,#faf6ea);border:1px solid #dce3cc;
}
.settlement-ring-wrap{position:relative;width:104px;height:104px;flex-shrink:0}
.settlement-ring-wrap .vitality-center strong{font-size:23px}
.settlement-ring-wrap .vitality-center span{font-size:10px}
.settlement-info{display:grid;gap:10px;min-width:0}
.settlement-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.settlement-title-row h3{margin:0;font-size:20px}
.delta-pill{padding:2px 9px;border-radius:999px;font-size:11px;font-weight:600;background:#dfebd6;color:#395e34}
.delta-pill.down{background:#f7e8d8;color:#9a5733}
.stage-upgrade-pill{
  padding:2px 10px;border-radius:999px;font-size:11px;font-weight:600;
  background:linear-gradient(120deg,#f5e4bc,#ebd195);color:#6e4b19;
}
.settlement-meta-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:12px;color:#5c6552}
.settlement-meta-row strong{color:var(--green-dark);font-weight:600}

/* 3-Button Formal Recall Feel Bar */
.rating-box{padding:16px 18px;margin-bottom:18px;border-radius:12px;background:#fffdf7;border:1px solid #e5decb}
.rating-box-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.rating-box-head span{font-size:13px;font-weight:600;color:var(--ink)}
.rating-box-head small{font-size:11px;color:var(--muted)}
.rating-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.rating-btn{
  display:flex;flex-direction:column;align-items:center;gap:4px;
  padding:12px 10px;border-radius:10px;border:1.5px solid #e4decb;
  background:#fcfaf2;color:var(--ink);text-align:center;
  transition:all .2s cubic-bezier(.22,1,.36,1);
}
.rating-btn:hover{transform:translateY(-2px);border-color:#aebc98;background:#f5f7ec}
.rating-btn.selected{
  border-color:#5d7850;background:linear-gradient(145deg,#edf4e5,#e4edd8);
  box-shadow:0 4px 12px #526e4520;
}
.rating-btn[data-rating='hard'].selected{border-color:#b9833d;background:#fbf1df}
.rating-btn[data-rating='easy'].selected{border-color:#3e563e;background:#e4efe2}
.rating-btn-title{font:600 14px var(--serif);color:var(--ink)}
.rating-btn-days{font-size:12px;font-weight:600;color:var(--green-dark)}
.rating-btn[data-rating='hard'] .rating-btn-days{color:#9b6729}
.rating-btn-hint{font-size:10px;color:var(--muted)}

/* Retry & Error Visualization */
.retry-tier-banner{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  padding:11px 15px;margin-bottom:15px;border-radius:10px;font-size:12px;
}
.retry-tier-banner.minor,.retry-tier-banner.medium{background:#fbf3e2;border:1px solid #ead4ab;color:#825a24}
.retry-tier-banner.lapse{background:#faece5;border:1px solid #e7c6b6;color:#8c462c}
.retry-tier-badge{padding:2px 9px;border-radius:999px;font-size:11px;font-weight:600;background:#fffdf8cc}
.review-transcript{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 14px;padding:12px 15px;border-radius:9px;background:var(--soft);font:16px/1.85 var(--serif)}
.review-record{margin-top:8px;font-size:12px}.review-record summary{cursor:pointer;color:var(--green-dark)}.review-record .review-transcript{margin-top:7px}
.review-corrections{display:grid;gap:10px;padding:0;margin:0 0 18px;list-style:none}
.review-corrections>li{border-left:3px solid #b57750;padding:11px 14px;background:#faf2e6;border-radius:0 9px 9px 0;overflow-wrap:anywhere}
.review-corrections .review-original{font:17px/1.65 var(--serif);margin:4px 0 6px}
.clause-error-chips{display:flex;flex-wrap:wrap;gap:6px}
.review-result-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:6px}

/* Study Detail & Tasks Memory Strip */
.memory-inline-badges{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:5px}
.study-memory-meter{margin:0 0 14px;padding:10px 12px;border-radius:10px;background:#f5f6eb;border:1px solid #e3e6d5}
.study-error-group+.study-error-group{margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}
.study-error-heading{display:block;font-size:12px;color:var(--green-dark);margin-bottom:7px}
.study-weak-clause{padding:7px 10px;margin-bottom:6px;border-left:2px solid #c28558;background:#faf3e7;border-radius:0 6px 6px 0}
.study-weak-meta{display:block;font-size:10px;color:#93623a}
.study-weak-original{margin:2px 0 0;font:14px/1.6 var(--serif);color:var(--ink)}
.study-error-time{margin:0 0 6px!important;font-size:10px;color:var(--muted)}

/* Poem Detail — Compact Right Companion Guide + Recitation Card */
.study-layout{grid-template-columns:minmax(0,1.55fr) minmax(350px,1fr);gap:22px;align-items:start}
.study-side-column{display:grid;gap:16px}
.study-companion-card{
  padding:18px 18px 16px;border:1px solid #e1e3d1;border-radius:15px;
  background:linear-gradient(175deg,#fffef9 0%,#fbf9f0 100%);
  box-shadow:0 6px 22px #4a55380e;
}
.study-guided-banner{
  position:relative;isolation:isolate;overflow:hidden;
  margin:13px 0 14px;padding:15px 16px 14px;border-radius:14px;
  border:1px solid #d9e1ca;
  background:linear-gradient(148deg,#f2f6e9 0%,#faf9f1 56%,#f6f1e3 100%);
  box-shadow:inset 0 1px 0 #ffffffde,0 4px 14px #4d633c0f;
}
.study-guided-banner::after{
  content:'';position:absolute;z-index:-1;right:-10px;bottom:-8px;width:146px;height:80px;
  background:url('/static/assets/ink-landscape.webp') right bottom/cover no-repeat;
  opacity:.2;pointer-events:none;mask-image:linear-gradient(315deg,#000 32%,transparent 82%);
}
.study-guided-banner-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}
.study-guided-banner-title{font:600 15px var(--serif);color:var(--green-dark);letter-spacing:.6px}
.study-route-progress{
  display:inline-flex;align-items:center;gap:5px;
  font-size:10.5px;padding:2px 9px;border-radius:999px;
  background:#fffefae6;color:#4a6340;border:1px solid #d5dfc6;
  font-variant-numeric:tabular-nums;box-shadow:0 1px 2px #4a63400a;
}
.study-route-progress::before{
  content:'';width:5px;height:5px;border-radius:50%;background:#6b8a5a;flex-shrink:0;
}
.study-guided-banner-desc{margin:0 0 14px;font-size:12px;line-height:1.55;color:#626f57}
.study-route-stepper{
  position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
  align-items:start;gap:2px;margin:0 0 15px;padding:2px 0 0;
}
.route-track{
  position:absolute;top:21px;left:10%;right:10%;height:2px;
  border-radius:999px;background:#dde2cf;z-index:0;overflow:hidden;
}
.route-track-fill{
  height:100%;width:0;border-radius:999px;
  background:linear-gradient(90deg,#7c9c6b,#587449);
  transition:width .35s cubic-bezier(.22,1,.36,1);
}
.route-node{
  position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:6px;
  padding:0 2px;background:none;border:0;color:#6b745f;
  transition:transform .2s ease,color .2s ease;
}
.route-node:disabled{opacity:1;cursor:default}
.route-medallion{
  position:relative;width:40px;height:40px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  background:#fffef9;border:2px solid #d7ddc7;color:#7e8b70;
  box-shadow:0 2px 6px #4c5b3e18;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.route-avatar-img{
  width:100%;height:100%;border-radius:50%;object-fit:cover;display:block;
}
.route-done-badge{
  position:absolute;right:-2px;bottom:-2px;width:15px;height:15px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  background:#5c7c4d;color:#fffdf6;font:700 9px/1 var(--sans);
  border:1.5px solid #fffef9;box-shadow:0 1px 3px #2e452430;
}
.route-label{
  font-size:11.5px;line-height:1.25;letter-spacing:.4px;white-space:nowrap;
  font-family:var(--serif);color:#656f59;
  transition:color .2s ease;
}
.route-node.is-done .route-medallion{
  border-color:#88a875;
  box-shadow:0 2px 7px #4b683c1c;
}
.route-node.is-done .route-label{color:#445f39;font-weight:500}
.route-node.is-current .route-medallion{
  border-color:#537145;
  transform:scale(1.08);
  box-shadow:0 0 0 3.5px #66835429,0 5px 12px #3f573432;
}
.route-node.is-current .route-label{color:#354e2c;font-weight:600}
.route-node.is-clickable{cursor:pointer}
.route-node.is-clickable:hover .route-medallion{transform:translateY(-2px) scale(1.1)}
.route-node.is-clickable:hover .route-label{color:#354e2c}
.study-route-cta{
  width:100%;padding:9.5px 16px;border-radius:10px;font-size:13px;font-weight:500;letter-spacing:.7px;
  background:linear-gradient(135deg,#6b865b 0%,#536d45 100%);
  box-shadow:inset 0 1px 0 #ffffff30,0 4px 12px #455c3824;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.study-route-cta:hover{
  transform:translateY(-1px);filter:brightness(1.03);
  box-shadow:inset 0 1px 0 #ffffff38,0 6px 16px #455c3830;
}

/* Integrated Q&A inside Companion Card */
.study-qa-section{padding-top:11px;border-top:1px dashed #e2dece}
.study-qa-divider{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}
.study-qa-divider #study-qa-status{margin:0;font-size:11px;color:#7a826c}
.study-messages{
  max-height:min(230px,32vh);padding:10px;margin-bottom:9px;
  border:1px solid #e9e3d2;border-radius:11px;background:#f8f6ed;
}
.study-messages::-webkit-scrollbar{width:6px}
.study-messages::-webkit-scrollbar-thumb{background:#ccd2be;border-radius:999px}
.study-messages::-webkit-scrollbar-track{background:transparent}
#study-question-form{margin-top:0}
.study-compose-box{
  border:1px solid #dfd9c7;border-radius:11px;background:#fffef9;padding:7px 9px 7px 11px;
  transition:border-color .2s ease,box-shadow .2s ease;
}
.study-compose-box:focus-within{border-color:#7d9369;box-shadow:0 0 0 3px #7d93691d}
.study-compose-box #study-question{
  border:0;background:transparent;padding:2px 0;min-height:44px;max-height:110px;resize:none;
  font-size:12px;line-height:1.7;outline:none;
}
.study-compose-box .study-compose-footer{margin-top:5px;padding-top:5px;border-top:1px solid #f0ece0}
.study-compose-box .primary{border-radius:8px;padding:5px 13px;font-size:12px}
.study-suggestions{
  display:flex!important;flex-wrap:wrap;align-items:center;gap:6px;margin:9px 0 7px;
}
.study-suggestions button{
  width:auto!important;flex:0 1 auto;padding:4px 10px;border-radius:999px;
  border:1px solid #e4dcc6;background:#fffdf6;font-size:11px;color:#686c58;line-height:1.45;
}
.study-suggestions button:hover{background:#eef2e4;border-color:#c9d6b6;color:var(--green-dark)}
.study-suggestions-refresh{
  border:0!important;background:none!important;padding:2px 4px!important;
  font-size:11px!important;color:#8a7557!important;margin-left:auto;
}
.study-suggestions-refresh:hover{color:var(--green-dark)!important;text-decoration:underline;background:none!important}
.study-learning-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.study-learning-actions button{
  padding:4px 10px;border-radius:999px;border:1px solid #dfe2cf;background:#f7f8ef;
  font-size:11px;color:#58664d;transition:background .15s ease;
}
.study-learning-actions button:hover{background:#e9efdd}
#study-learning-note{margin:7px 0 0;font-size:10px}

/* Compact Recitation Card in Right Column */
.study-practice-compact{margin-top:0!important;padding:18px;border-radius:15px}
.study-practice-head{
  display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;
  margin-bottom:12px;
}
.study-practice-head h2{margin:0;font-size:16px;display:flex;align-items:center;gap:5px}
.study-practice-compact .practice-tabs{margin:0;flex:1;max-width:210px}
.study-practice-compact .practice-overview{margin:6px 0 12px;gap:16px}
.study-practice-compact .progress-ring{width:84px;height:84px;padding:6px}
.study-practice-compact .progress-ring strong{font-size:20px}
.study-practice-compact .study-memory-meter{margin:0 0 12px;padding:8px 10px}
.study-practice-actions{display:grid;gap:8px}
.study-practice-actions .full{margin-top:0!important;padding:8px 14px;border-radius:9px}

@media(max-width:960px){
  .study-layout{grid-template-columns:1fr}
}
@media(max-width:680px){
  .study-messages{max-height:min(260px,40vh)}
}

/* Scroll-bounded reading panes & structured appreciation cards */
.reading-pane{
  max-height:330px;overflow-y:auto;overscroll-behavior:contain;
  padding:18px 20px 22px;scrollbar-width:thin;scrollbar-color:#ccd2be transparent;
}
.reading-pane::-webkit-scrollbar{width:6px}
.reading-pane::-webkit-scrollbar-thumb{background:#ccd2be;border-radius:999px}
.reading-pane::-webkit-scrollbar-track{background:transparent}
.study-appreciation{white-space:normal;font-family:var(--sans);line-height:1.75}
.appreciation-lead{
  padding:11px 14px;margin-bottom:12px;border-radius:10px;
  border-left:3px solid #7d9468;background:#f2f5ea;
}
.appreciation-kicker{display:block;font-size:11px;font-weight:600;color:var(--green-dark);margin-bottom:4px}
.appreciation-lead p{margin:0;font-size:13px;line-height:1.85;color:#3d4a39}
.appreciation-points{display:grid;gap:10px}
.appreciation-point-card{
  padding:12px 14px;border-radius:10px;border:1px solid #e7e1cf;background:#fffdf8;
}
.appreciation-point-head{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.appreciation-point-reason{margin:0 0 8px;font-size:12.5px;line-height:1.8;color:#4f5748}
.appreciation-evidence-list{display:grid;gap:7px;padding-top:7px;border-top:1px dashed #ebe6d7}
.appreciation-evidence-row blockquote{
  margin:0 0 3px;padding-left:9px;border-left:2px solid #c5af8d;
  font:14px/1.75 var(--serif);color:var(--ink);
}
.appreciation-evidence-row p{margin:0;font-size:12px;line-height:1.75;color:var(--muted)}
@media(max-width:680px){.reading-pane{max-height:360px}}
.task-memory-strip{margin:10px 0 14px;padding:10px 12px;border-radius:9px;background:#f8f7ef;border:1px solid #e9e4d3}
.practice-summary{min-width:0}
.practice-summary strong{color:var(--green-dark);font-size:14px}
.practice-summary .small-note{margin:6px 0 0}
.practice-summary .small-note:empty{display:none}

@media(max-width:860px){
  .review-workspace{grid-template-columns:1fr}
  .review-queue-panel{order:2}
  .review-desk-panel{order:1}
}
@media(max-width:640px){
  .settlement-panel{grid-template-columns:1fr;text-align:center}
  .settlement-ring-wrap{margin-inline:auto}
  .settlement-title-row,.settlement-meta-row{justify-content:center}
  .rating-grid{grid-template-columns:1fr}
}
@media(max-width:420px){.topbar nav{flex-wrap:wrap;justify-content:flex-start}.topbar .nav{flex:1 0 auto;padding-inline:5px}}
@media(prefers-reduced-motion:reduce){
  .vitality-arc,.battery-fill,.review-goal-fill,.review-card,.review-empty-state,#review-result{animation:none!important;transition:none!important}
  .battery-fill::after,.pulse-warn,.pulse-ok{animation:none!important}
}

/* Song-Aesthetic Auth & Account Switcher Dialog */
#profile-dialog.auth-dialog{
  padding:0;width:min(760px,calc(100vw - 28px));max-width:760px;
  border:1px solid #d6d4bf;border-radius:20px;overflow:hidden;
  background:#fffef9;box-shadow:0 28px 80px #2b352445,0 4px 16px #3c462f1c;
}
#profile-dialog.auth-dialog::backdrop{
  background:radial-gradient(circle at 50% 35%,#2f3a2954,#1c23187a);
  backdrop-filter:blur(5px);
}
.auth-shell{
  display:grid;grid-template-columns:288px minmax(0,1fr);min-height:456px;
}
.auth-showcase{
  position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;
  padding:30px 26px 26px;color:#30422b;border-right:1px solid #e4e1cf;
  background:
    linear-gradient(165deg,#eef3e3eb 0%,#f6f3e6e6 58%,#efe8d5eb 100%),
    url('/static/assets/ink-landscape.webp') 62% 100%/cover no-repeat;
}
.auth-showcase::after{
  content:'';position:absolute;z-index:-1;right:-14px;top:-14px;width:124px;height:124px;
  background:url('/static/assets/guided-reading-watercolor.webp') right bottom/200% 200% no-repeat;
  opacity:.82;pointer-events:none;
}
.auth-showcase-top{display:flex;align-items:center;gap:10px}
.auth-seal{width:32px;height:37px;font-size:22px}
.auth-eyebrow{font:600 10.5px var(--serif);letter-spacing:2px;color:#6f785f}
.auth-showcase-copy{margin:18px 0}
.auth-showcase-copy h3{
  font:600 25px/1.45 var(--serif);color:#273b24;letter-spacing:1.2px;margin:0 0 10px;
}
.auth-showcase-copy p{
  margin:0;font-size:12.5px;line-height:1.8;color:#5a654f;
}
.auth-highlights{
  list-style:none;margin:0;padding:14px 0 0;border-top:1px dashed #ced6bf;display:grid;gap:11px;
}
.auth-highlights li{display:flex;align-items:flex-start;gap:9px}
.auth-highlights li>span{
  width:22px;height:22px;border-radius:50%;flex-shrink:0;margin-top:1px;
  display:grid;place-items:center;background:#ffffffba;border:1px solid #ced8bf;
  color:#4f6d43;font-size:11px;
}
.auth-highlights strong{display:block;font-size:12px;color:#2f442a;line-height:1.35}
.auth-highlights small{display:block;font-size:11px;color:#68735c;line-height:1.45;margin-top:1px}

.auth-panel{
  display:flex;flex-direction:column;justify-content:center;padding:30px 32px 26px;
  background:linear-gradient(180deg,#fffef9 0%,#fbf9f1 100%);
}
.auth-panel-head{margin-bottom:16px}
.auth-panel-head h2{font:600 22px/1.35 var(--serif);color:#2b3a27;margin:0 0 4px;letter-spacing:.6px}
.auth-panel-head p{margin:0;font-size:12.5px;color:#767c68}

.auth-tabs{
  display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin-bottom:18px;
  border-radius:11px;background:#f0efe3;border:1px solid #e3e0cf;
}
.auth-tabs button{
  padding:7px 12px;border-radius:8px;background:transparent;color:#69705c;
  font-size:13px;font-weight:500;transition:background .18s ease,color .18s ease,box-shadow .18s ease;
}
.auth-tabs button.active{
  background:#fffef9;color:#36512c;font-weight:600;
  box-shadow:0 2px 6px #404d3314;
}

.auth-form{display:grid;gap:13px}
.auth-field{display:grid;gap:5px}
.auth-field label{font-size:12px;font-weight:500;color:#4a5340;margin:0;display:flex;align-items:center;gap:6px}
.auth-field label small{font-weight:400;font-size:11px;color:#8b907c}
.auth-field input,.auth-field select{
  width:100%;padding:9.5px 12px;border-radius:10px;border:1px solid #dad6c4;
  background:#fffefb;font-size:13px;color:var(--ink);
  transition:border-color .18s ease,box-shadow .18s ease;
}
.auth-field input:focus,.auth-field select:focus{
  outline:none;border-color:#6d885c;box-shadow:0 0 0 3px #6d885c1f;
}
.auth-pwd-wrap{position:relative;display:flex;align-items:center}
.auth-pwd-wrap input{padding-right:54px}
.pwd-toggle{
  position:absolute;right:7px;padding:4px 8px;border-radius:6px;
  background:#f3f1e6;color:#5c664f;font-size:11px;line-height:1.2;
}
.pwd-toggle:hover{background:#e7e5d6;color:#354b2c}

.pwd-rules{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}
.pwd-rules span{
  display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:999px;
  font-size:11px;background:#f4f2e8;color:#7c826e;border:1px solid #e5e2d2;
  transition:background .18s ease,color .18s ease,border-color .18s ease;
}
.pwd-rules span::before{content:'○';font-size:10px}
.pwd-rules span[data-ok="true"]{
  background:#e7f0dc;color:#3b5c31;border-color:#bdd1a8;
}
.pwd-rules span[data-ok="true"]::before{content:'✓';font-weight:700}

.auth-row-2{display:grid;grid-template-columns:1.25fr 1fr;gap:10px}
.auth-submit{
  margin-top:4px;padding:10.5px 18px;border-radius:11px;font-size:13.5px;font-weight:500;letter-spacing:.6px;
  background:linear-gradient(135deg,#688458 0%,#4f6941 100%);
  box-shadow:inset 0 1px 0 #ffffff33,0 5px 14px #445b3726;
}
.auth-switch-hint{
  margin:2px 0 0;text-align:center;font-size:12px;color:#797f6c;
}
.auth-switch-hint .text-button{padding:0 3px;font-size:12px;font-weight:500}
.auth-feedback{margin:10px 0 0;font-size:12px;text-align:center}
.auth-feedback:empty{display:none}
.auth-success{
  margin:10px 0 0;padding:8px 12px;border-radius:9px;text-align:center;
  background:#e9f2df;border:1px solid #c5d9b2;color:#38582f;font-size:12px;
}

/* Logged-in Account Management View */
.account-shell{
  padding:26px 28px 22px;max-width:500px;margin:0 auto;
  background:linear-gradient(180deg,#fffef9 0%,#faf8ef 100%);
}
#profile-dialog.auth-dialog:has(#auth-account-view:not([hidden])){
  width:min(490px,calc(100vw - 28px));
}
.account-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;
  padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid #e8e4d4;
}
.account-identity{display:flex;align-items:center;gap:13px}
.account-avatar{width:48px;height:48px;border:2px solid #d7dec6;box-shadow:0 3px 9px #47543918}
.account-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.account-title-row h2{margin:0;font:600 20px/1.3 var(--serif);color:#2b3a27}
.account-badge{
  padding:2px 9px;border-radius:999px;font-size:11px;font-family:var(--sans);
  background:#eef3e4;border:1px solid #cfe0bd;color:#45633b;
}
.account-identity p{margin:3px 0 0;font-size:12px}
.account-tabs{margin-bottom:16px}
.account-footer{
  margin-top:20px;padding-top:15px;border-top:1px dashed #e2dece;
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
}
.logout-button{
  padding:7px 14px;border-radius:9px;font-size:12px;font-weight:500;
  background:#fbf1ed;border:1px solid #e5c6bc;color:#994836;
  transition:background .18s ease,border-color .18s ease;
}
.logout-button:hover{background:#f5e2db;border-color:#d8aba0}

@media(max-width:700px){
  .auth-shell{grid-template-columns:1fr;min-height:0}
  .auth-showcase{padding:20px 22px 16px;border-right:0;border-bottom:1px solid #e4e1cf}
  .auth-highlights{display:none}
  .auth-showcase-copy{margin:10px 0 0}
  .auth-showcase-copy h3{font-size:20px}
  .auth-showcase-copy h3 br{display:none}
  .auth-panel{padding:22px 20px 20px}
  .auth-row-2{grid-template-columns:1fr}
}

.library-controls {
  display: grid; gap: 14px; padding: 16px; margin: 12px 0 22px;
  border: 1px solid var(--line); border-radius: 12px;
  background: linear-gradient(118deg, #f0f1e5, #fcf9ed);
}
.library-dynasties, .library-search { display: flex; align-items: center; gap: 8px; }
.library-dynasties { flex-wrap: wrap; gap: 6px; }
.library-dynasties button {
  padding: 6px 12px; border: 1px solid #dedfcd; border-radius: 7px;
  background: #fffdf6; color: var(--green-dark); white-space: nowrap;
}
.library-category-count { margin-inline-start: 6px; opacity: .7; font-size: .76em; font-variant-numeric: tabular-nums; }
.library-dynasties button:hover { background: var(--soft); }
.library-dynasties button[aria-pressed="true"] {
  border-color: var(--green); background: var(--green-dark); color: var(--card);
}
.library-search { width: min(100%, 340px); }
.library-search input {
  flex: 1; width: 100%; min-width: 0; padding: 7px 12px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--card);
}
.library-search button { flex: none; }
.library-filter-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.library-authors, .library-author-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.library-authors select {
  max-width: 170px; border: 1px solid var(--line); border-radius: 7px; padding: 6px 9px; background: var(--card);
}
.library-author-links button {
  border: 1px solid transparent; border-radius: 15px; padding: 4px 11px; background: #e7ead9; color: var(--green-dark);
}
.library-author-links button[aria-pressed="true"] { border-color: #9da988; background: #dfe7d0; }
.poem-card .tag.library-emotion { background: #e7ecdd; color: #455c3e; }
.collection-view .poem-title-button { overflow-wrap: anywhere; }
.study-recordings { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--green-dark); }
.study-recordings select {
  max-width: min(58vw, 260px); padding: 4px 8px; border: 1px solid var(--line);
  border-radius: 6px; background: var(--card);
}
.recording-verse { max-width: 560px; margin: 0 auto 12px; color: var(--green-dark); font-size: 13px; }
.recording-verse p { margin: 4px 0 0; }
@media(max-width:680px) {
  .library-controls { padding: 12px; }
  .library-filter-row { align-items: stretch; flex-direction: column; }
  .library-dynasties button { padding-inline: 8px; }
  .library-search { width: 100%; }
}

/* ==========================================================================
   Cangci Visual & Crisp Native Typography Polish
   ========================================================================== */
h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 600;
}

/* 1. Topbar & App Shell Harmony */
.app-shell {
  background: linear-gradient(180deg, #fdfbf5fa, #faf7eefc);
  border-color: #e4dfd0;
  box-shadow: 0 14px 44px rgba(72, 82, 54, 0.09), 0 2px 6px rgba(96, 88, 66, 0.05);
}
.topbar {
  background: linear-gradient(110deg, #fffefaf5, #f9f6ecf5);
  border-bottom-color: #e8e3d4;
}
.topbar .nav {
  color: #5c6352;
  font-size: 13.5px;
  padding: 9px 16px;
  border-radius: 10px;
  transition: background .18s ease, color .18s ease;
}
.topbar .nav:hover {
  background: #f1efe3;
  color: #354731;
}
.topbar .nav.active {
  color: #8c5432;
  background: linear-gradient(180deg, #f8efe0, #f2e5cf);
  box-shadow: inset 0 -2px 0 #b87c4b, 0 1px 4px rgba(154, 108, 62, 0.12);
  font-weight: 500;
}
.profile-button {
  border-color: #dfd9c6;
  background: #fffefa;
  color: #4d5846;
  box-shadow: 0 1px 3px rgba(72, 84, 58, 0.05);
  transition: border-color .18s ease, background .18s ease;
}
.profile-button:hover {
  border-color: #bfc9ad;
  background: #f8f9f1;
}

/* 2. Reading Card & Poetry Panel */
@font-face {
  font-family: 'Cangci Reading Serif';
  src: url('/static/assets/noto-serif-poetry.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
.reading-card {
  border: 1px solid #e2dcc9;
  border-radius: 16px;
  background: #fffefb;
  box-shadow: 0 8px 28px rgba(76, 86, 58, 0.07), 0 1px 3px rgba(96, 88, 66, 0.04);
}
.poem-original-panel {
  --reading-serif: 'Cangci Reading Serif', 'Noto Serif CJK SC', 'Songti SC', STSong, SimSun, serif;
  position: relative;
  padding: 38px 36px 24px;
  min-height: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 254, 249, 0.96), rgba(252, 249, 240, 0.88) 68%, rgba(248, 244, 232, 0.74)),
    url('/static/assets/ink-landscape.webp') 70% 100% / cover no-repeat;
  border-bottom: 1px solid #ece6d7;
}
.poem-original-panel::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(206, 193, 165, 0.32);
  border-radius: 11px;
  pointer-events: none;
  z-index: 0;
}
.poem-original-panel > * {
  position: relative;
  z-index: 1;
}
.poem-original-panel::after {
  top: 0;
  right: 0;
  opacity: .22;
}
.poem-cloud {
  position: absolute;
  left: 26px;
  top: 17px;
  font-size: 21px;
  color: #dec9a0;
  opacity: .5;
}
.poem-pinyin-toggle {
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #dfd7c3;
  background: rgba(255, 253, 247, 0.9);
  color: #5f6d55;
  font: 500 12px/1.3 var(--sans);
  backdrop-filter: blur(4px);
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.poem-pinyin-toggle:hover {
  background: #f0f4e7;
  border-color: #b7c8a6;
  color: var(--green-dark);
}
.poem-pinyin-toggle[aria-pressed="false"] {
  background: #f6f3e8;
  color: #827760;
}
.poem-original-panel h1 {
  max-width: 680px;
  font-family: var(--reading-serif);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .035em;
  color: #232b22;
  margin: 0 auto 7px;
  text-wrap: balance;
}
.poem-original-panel .author-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 16px;
  border: 1px solid #e3d6bc;
  background: rgba(252, 247, 236, 0.88);
  border-radius: 999px;
  color: #796b52;
  font: 12.5px/1.6 var(--sans);
  letter-spacing: .04em;
  margin: 0 0 14px;
}
.study-preface {
  max-width: 580px;
  margin: 4px auto 22px;
  padding: 10px 16px;
  border-left: 2.5px solid #cdb892;
  background: rgba(252, 249, 240, 0.75);
  border-radius: 0 8px 8px 0;
  text-align: left;
}
.study-preface-original {
  color: #656c5b;
  font: 13.5px/1.9 var(--sans);
}

/* 3. Crisp, Natural-Spacing Poetry Text & Ruby Pinyin */
.study-original {
  max-width: 640px;
  max-height: clamp(10rem, 38svh, 21rem);
  margin: 0 auto;
  padding: 4px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #a6b294 transparent;
  font-family: var(--reading-serif);
  font-size: clamp(20px, 1.65vw, 25px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: .015em;
  color: #263325;
}
.study-original:focus-visible {
  outline: 2px solid #81936d;
  border-radius: 4px;
}
.study-original .poem-stanza + .poem-stanza {
  margin-top: 12px;
  padding-top: 0;
  border-top: 0;
}
.study-original .poem-line {
  text-wrap: pretty;
}
.study-original .poem-line + .poem-line {
  margin-top: 7px;
}
.study-original ruby {
  ruby-align: center;
  ruby-position: over;
  margin-inline: .025em;
}
.study-original rt {
  font: 400 .44em/1.2 var(--sans);
  color: #5e6c51;
  letter-spacing: 0;
  user-select: none;
}
.study-original .poem-punct {
  font-feature-settings: 'halt';
  letter-spacing: 0;
}
.study-original.is-pinyin-hidden rt {
  display: none;
}
.study-original.is-pinyin-hidden ruby {
  margin-inline: 0;
}

/* Interactive Timed Verse Highlight */
.study-original .poem-verse.audio-verse {
  display: inline-block;
  max-width: 100%;
  padding: 0 .1em;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.study-original .audio-verse:hover {
  background-color: #eef0e3;
}
.study-original .audio-verse:focus-visible {
  outline: 2px solid #81936d;
  outline-offset: 2px;
}
.study-original .audio-verse[aria-current="true"] {
  background-color: #e5ead4;
  color: #293c24;
}
.study-original .audio-verse[aria-current="true"] rt {
  color: #3f6037;
}
.poem-end-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
  font: 12px var(--sans);
  color: #b7a989;
}
.poem-end-mark::before,
.poem-end-mark::after {
  content: '';
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(190, 174, 140, 0.55), transparent);
}

/* Crisp Ruby in Guided Reading Page Too */
.guided-recitation-verse {
  font-family: var(--sans);
  color: #262e25;
}
.guided-recitation-verse ruby {
  display: ruby;
  ruby-align: center;
  margin-inline: 0.08em;
}
.guided-recitation-verse rt {
  font: 400 11px/1.25 var(--sans);
  color: #6a7c5f;
}

/* 4. Custom Ink-Aesthetic Audio Player */
#study-listening {
  margin: 0 auto 15px;
  max-width: 400px;
}
#study-listening .recitation-control {
  margin: 0;
}
#study-listening .recitation-control > .small-note:empty {
  display: none;
}
#study-listening .recitation-player {
  box-shadow: 0 2px 6px rgba(74, 88, 56, 0.06);
}
#study-listening .recitation-seek {
  min-width: 32px;
}
.recitation-control {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
}
.recitation-player {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(440px, 100%);
  padding: 6px 14px 6px 7px;
  border-radius: 999px;
  border: 1px solid #dfd7c3;
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 4px 14px rgba(74, 88, 56, 0.08), inset 0 1px 0 #ffffff;
  backdrop-filter: blur(6px);
}
.recitation-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 999px;
  font: 500 12.5px/1.2 var(--sans);
  background: linear-gradient(135deg, #688257 0%, #4f6a42 100%);
  border: 1px solid #536d45;
  color: #fffef7;
  box-shadow: 0 2px 8px rgba(68, 92, 54, 0.2);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.recitation-play-btn::before {
  content: '▶';
  font-size: 9.5px;
  line-height: 1;
}
.recitation-play-btn.is-playing::before {
  content: '❚❚';
  font-size: 9px;
  letter-spacing: -1px;
}
.recitation-play-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 4px 12px rgba(68, 92, 54, 0.26);
}
.recitation-seek {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  min-width: 90px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    #668255 0%,
    #668255 var(--seek-pct, 0%),
    #e4e0d0 var(--seek-pct, 0%),
    #e4e0d0 100%
  );
  cursor: pointer;
}
.recitation-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #4e6941;
  border: 2px solid #fffef8;
  box-shadow: 0 1px 4px rgba(48, 68, 38, 0.32);
  cursor: pointer;
  transition: transform .15s ease;
}
.recitation-seek::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.recitation-seek::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #4e6941;
  border: 2px solid #fffef8;
  box-shadow: 0 1px 4px rgba(48, 68, 38, 0.32);
  cursor: pointer;
}
.recitation-time {
  flex-shrink: 0;
  font: 500 11.5px/1 var(--sans);
  font-variant-numeric: tabular-nums;
  color: #6b7260;
}
.recitation-speed {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid #dfd8c4;
  background: #f6f3e8;
  color: #55644a;
  font: 500 11px/1.2 var(--sans);
  font-variant-numeric: tabular-nums;
  transition: background .15s ease, border-color .15s ease;
}
.recitation-speed:hover {
  background: #e9efe0;
  border-color: #b9c8a8;
  color: var(--green-dark);
}

/* 5. Reading Tabs, Translation & Study Materials Polish */
.reading-tabs {
  background: #faf7ee;
  border-bottom: 1px solid #e7e1d1;
  padding: 0 18px;
  gap: 6px;
}
.reading-tabs button {
  font: 500 13px/1.4 var(--sans);
  color: #6e7363;
  padding: 14px 10px 12px;
  border-bottom: 2.5px solid transparent;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.reading-tabs button:hover:not(:disabled) {
  color: #3f5539;
  background: rgba(242, 237, 224, 0.55);
}
.reading-tabs button[aria-selected="true"] {
  color: #8f5732;
  border-color: #b47743;
  background: #fffdf8;
  font-weight: 600;
}
.reading-tabs button:disabled {
  opacity: .42;
}
.reading-tab-body {
  padding: 16px 18px 18px;
  background: #fffefb;
}
.reading-pane {
  padding: 20px 22px 24px;
  border: 1px solid #ebe5d6;
  border-radius: 12px;
  background: linear-gradient(180deg, #fdfbf4f2, #faf7ecf0), url('/static/assets/ink-landscape.webp') 85% 100% / auto 170px no-repeat;
}
.reading-pane h2 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: #2c3a29;
  margin-bottom: 12px;
}
.study-translation {
  font: 14.5px/2.05 var(--sans);
  color: #2f382d;
}
.study-annotations {
  font-size: 13.5px;
  line-height: 1.95;
  gap: 12px 18px;
}
.study-annotations dt {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  color: #355033;
}
.study-annotations dd {
  color: #374035;
}
.materials-card {
  border-color: #e2dcc9;
  border-radius: 13px;
  background: #fffefb;
  padding: 14px 20px;
}

/* 6. Right Companion & Practice Cards Polish */
.study-questions, .study-practice-card {
  border-color: #e2dcc9;
  border-radius: 16px;
  background: linear-gradient(160deg, #fffefb, #faf7ee);
  box-shadow: 0 6px 22px rgba(76, 86, 58, 0.06), 0 1px 3px rgba(96, 88, 66, 0.03);
}
.study-guided-banner {
  border-radius: 14px;
}
.study-compose-box {
  border-color: #dcd5c1;
  border-radius: 12px;
  background: #fffefa;
}
.study-practice-compact {
  border-radius: 16px;
}

/* Responsive adjustments */
@media (min-width: 1600px) {
  .poem-original-panel { padding: 40px 42px 25px; }
}
@media (max-width: 1150px) {
  .poem-original-panel { padding: 38px 22px 24px; }
}
@media (max-width: 680px) {
  .poem-original-panel { padding: 42px 12px 20px; }
  .poem-original-panel::before { inset: 8px; }
  .poem-pinyin-toggle { top: 14px; right: 14px; padding: 4px 10px; font-size: 11px; }
  .poem-original-panel h1 { font-size: 25px; }
  .study-original { font-size: clamp(17px, 4.9vw, 21px); }
  .study-original rt { font-size: max(9px, .44em); }
  .study-original .poem-line + .poem-line { margin-top: 5px; }
  #study-listening { max-width: 360px; margin-bottom: 12px; }
  #study-listening .recitation-player { gap: 6px; padding: 5px 7px 5px 5px; }
  #study-listening .recitation-play-btn { padding-inline: 8px; }
  #study-listening .recitation-seek { margin: 0; }
  #study-listening .recitation-speed { padding-inline: 5px; }
  .recitation-player { gap: 8px; padding: 6px 10px 6px 6px; }
  .recitation-play-btn { padding: 6px 11px; font-size: 11.5px; }
  .recitation-time { font-size: 10.5px; }
}
@media (max-width: 360px) {
  .study-original { max-height: clamp(10rem, 28svh, 21rem); }
}

/* Discover */
/* Noto Serif SC Regular, split by Unicode coverage for the discovery page. */

@font-face {
  font-family: 'Cangci Discovery Serif';
  src: url('/static/assets/discover-serif.woff2?v=2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  unicode-range: U+0020-007E, U+00B7, U+3001-3002, U+4E00, U+4E03, U+4E07-4E0B, U+4E0D-4E0E, U+4E14-4E16, U+4E18, U+4E1A, U+4E1C-4E1D, U+4E24,
    U+4E2D, U+4E30, U+4E34, U+4E39-4E3B, U+4E3E, U+4E43, U+4E45, U+4E49, U+4E4B-4E4C, U+4E50, U+4E58, U+4E5D,
    U+4E5F, U+4E61, U+4E66, U+4E71, U+4E86, U+4E88-4E89, U+4E8B-4E8C, U+4E8E, U+4E91, U+4E94-4E95, U+4EA4, U+4EA6,
    U+4EAC-4EAD, U+4EB2, U+4EBA, U+4EC1, U+4ECA, U+4ECD-4ECE, U+4ED6, U+4ED8-4ED9, U+4EE3-4EE5, U+4EF2, U+4EFB, U+4EFD,
    U+4F11, U+4F17, U+4F1A, U+4F20, U+4F24, U+4F2F, U+4F34, U+4F3C, U+4F46, U+4F4E-4F4F, U+4F55, U+4F59,
    U+4F5B-4F5C, U+4F60, U+4F73, U+4F7F, U+4F8D, U+4F9D, U+4FAF, U+4FBF, U+4FD7, U+4FE1, U+4FEE, U+4FF1,
    U+5012, U+501A, U+501F, U+503E, U+504F, U+5076, U+508D, U+50AC, U+50E7, U+513F, U+5143-5144, U+5148-5149,
    U+5165, U+5168, U+516B-516E, U+5170-5171, U+5173-5176, U+517C, U+5185, U+518D, U+5199, U+519B, U+51A0, U+51A5,
    U+51AC, U+51B0, U+51B5, U+51B7, U+51C0, U+51C4, U+51C9, U+51E0, U+51E4, U+51ED, U+51FA, U+5206,
    U+5218, U+521D, U+522B, U+5230, U+524D, U+5251, U+529B, U+529F, U+52A8, U+52B3, U+5316-5317, U+5341,
    U+5343, U+5348, U+534A, U+534E, U+5357, U+5360, U+5367, U+5371, U+5373-5374, U+5377, U+537F, U+5386,
    U+539F, U+53BB, U+53BF, U+53C2, U+53C8, U+53CA-53CC, U+53D1, U+53D4, U+53D6, U+53D8, U+53DF, U+53E3-53E5,
    U+53EA, U+53EF-53F0, U+53F2, U+53F6, U+53F8-53F9, U+5404, U+5408, U+540C-540E, U+5411, U+541B, U+541F, U+542B-542C,
    U+5434, U+5439, U+543E, U+5448, U+5468, U+5473, U+547C-547D, U+548C, U+548F, U+54C0, U+5510, U+5531,
    U+557C, U+559C, U+55DF, U+5609, U+56DB, U+56DE, U+56E0, U+56ED, U+56FD-56FE, U+5706, U+571F, U+5723,
    U+5728, U+5730, U+5750, U+575F, U+5782, U+57CE, U+5802, U+582A, U+5858, U+585E, U+5899, U+58A8,
    U+58C1, U+58EB, U+58EE, U+58F0, U+5904, U+590D, U+590F, U+5915-5916, U+591A, U+591C, U+5927, U+5929-592B,
    U+5931, U+5934, U+5947-5949, U+5973, U+597D, U+5982, U+5986-5987, U+5999, U+59CB, U+5B50, U+5B57-5B59, U+5B64,
    U+5B66, U+5B81, U+5B88-5B89, U+5B97-5B98, U+5B9A, U+5B9C-5B9E, U+5BA2, U+5BA4, U+5BAB, U+5BB5-5BB6, U+5BB9, U+5BBF,
    U+5BC2, U+5BC4, U+5BD2, U+5BE1, U+5BF8-5BFB, U+5BFF, U+5C01, U+5C06, U+5C0A, U+5C0F, U+5C11, U+5C14,
    U+5C18, U+5C1A, U+5C31, U+5C3A, U+5C3D, U+5C45, U+5C4B, U+5C4F, U+5C71, U+5C81-5C82, U+5CA9, U+5CAD,
    U+5CB3, U+5CB8, U+5CF0, U+5DCD, U+5DDD-5DDE, U+5DF2, U+5E02, U+5E06, U+5E08, U+5E18, U+5E1D, U+5E26,
    U+5E2D, U+5E38, U+5E55, U+5E72-5E74, U+5E76, U+5E7D, U+5E7F, U+5E8A, U+5E90, U+5E93-5E95, U+5E99, U+5E9C,
    U+5EA6, U+5EAD, U+5EB5, U+5F00, U+5F02, U+5F04, U+5F15, U+5F1F-5F20, U+5F26, U+5F39-5F3A, U+5F52-5F53, U+5F62,
    U+5F69, U+5F71, U+5F80-5F81, U+5F84-5F85, U+5F90, U+5F92, U+5F97, U+5FA1, U+5FAE, U+5FB7, U+5FC3, U+5FC5-5FC6,
    U+5FD7-5FD8, U+5FE7, U+5FF5, U+5FFD, U+6000, U+6005, U+600E, U+601C-601D, U+6025, U+6028, U+603B, U+604B,
    U+6050, U+6068-6069, U+606F, U+60A0, U+60B2, U+60C5, U+60CA, U+60DC, U+60DF, U+60F3, U+6101, U+610F,
    U+611F, U+613F, U+620F-6211, U+6218, U+6237, U+623F-6240, U+624B, U+624D, U+626C, U+6276, U+627F, U+628A,
    U+6295, U+6298, U+62A5, U+62B1, U+62C2, U+62DB, U+62DF, U+6301, U+6307, U+633D, U+63A0, U+63A5,
    U+63A8, U+63B7, U+643A, U+6447, U+6536, U+653E, U+6545, U+6559, U+6562-6563, U+6570, U+6587, U+658B,
    U+6597, U+659C, U+65AD, U+65B0, U+65B9, U+65E0, U+65E5, U+65E7, U+65E9, U+65F6, U+660E-660F, U+6613-6614,
    U+661F-6620, U+6625, U+6628, U+662F, U+663C, U+6653, U+665A, U+6668, U+666F, U+6674, U+6682, U+6696-6697,
    U+66AE, U+66F2, U+66F4, U+66F9, U+66FE, U+6700, U+6708-6709, U+671B, U+671D, U+671F, U+6728, U+672A,
    U+672C, U+6731, U+673A, U+6742, U+674E, U+6751, U+675C, U+6761, U+6765, U+6768, U+676F, U+677E,
    U+6781, U+6795, U+6797, U+679D, U+67CF, U+67D3, U+67F3, U+6811, U+6816, U+6837, U+6839, U+6842-6843,
    U+6850-6851, U+6865, U+6881, U+6885, U+68A6, U+68EE, U+695A, U+697C, U+6A2A, U+6B21-6B22, U+6B32, U+6B4C,
    U+6B62-6B66, U+6B7B, U+6B8B, U+6BBF, U+6BCD, U+6BCF, U+6BD4, U+6C0F, U+6C11, U+6C14, U+6C34, U+6C38,
    U+6C42, U+6C49, U+6C5D, U+6C5F-6C60, U+6C88-6C89, U+6C99, U+6CA7, U+6CB3, U+6CC9-6CCA, U+6CD5, U+6CDB, U+6CE2,
    U+6CE5, U+6CEA, U+6CFD, U+6D17, U+6D1B, U+6D1E, U+6D32, U+6D41, U+6D45, U+6D53, U+6D63, U+6D66,
    U+6D6A, U+6D6E, U+6D77, U+6D88, U+6DA7, U+6DAF, U+6DE1, U+6DEE, U+6DF1, U+6DFB, U+6E05, U+6E10,
    U+6E14, U+6E21, U+6E38, U+6E56, U+6E58, U+6E7F, U+6E90, U+6E9C, U+6EAA, U+6EE1, U+6F2B, U+6F6E,
    U+706B, U+706F, U+7075, U+70B9, U+70DB, U+70DF, U+7136, U+7167, U+71D5, U+7231, U+7236, U+7247,
    U+7256, U+725B, U+7269, U+72B9, U+72C2, U+72EC, U+7384, U+7389, U+738B, U+73A0, U+73B0, U+73E0,
    U+7406, U+7434, U+743C, U+7476, U+7518, U+751A, U+751F, U+7528, U+7530-7531, U+753B, U+7559, U+758F,
    U+7591, U+75C5, U+75D5, U+767B, U+767D-767E, U+7684, U+7686-7687, U+76C8, U+76D6, U+76D8, U+76EE, U+76F4,
    U+76F8, U+7701, U+7709, U+770B, U+771F-7720, U+773C, U+7761, U+77E5, U+77ED, U+77F3, U+7834, U+78A7,
    U+793A, U+793E, U+795E, U+7960, U+7985, U+79BB, U+79C0, U+79CB, U+79CD, U+79E6, U+79EF-79F0, U+79FB,
    U+7A00, U+7A77, U+7A7A, U+7A97, U+7ACB, U+7ADF-7AE0, U+7AE5, U+7AEF, U+7AF9, U+7B11, U+7B14, U+7B2C,
    U+7B54, U+7B5B, U+7BA1, U+7BC7, U+7CBE, U+7D20, U+7D2B, U+7EA2, U+7EA6, U+7EB5, U+7EB7, U+7EC6,
    U+7EC8, U+7ECF, U+7ED3, U+7ED5, U+7EDD, U+7EE3, U+7EFF, U+7F18, U+7F51, U+7F57, U+7F62, U+7F8E,
    U+7FA4, U+7FBD, U+7FC1, U+7FE0, U+7FFB, U+8001, U+8005, U+800C, U+804A, U+80A0, U+80AF, U+80DC,
    U+80E1, U+80FD, U+81E3, U+81EA, U+81F3, U+820D, U+821E-821F, U+8239, U+826F, U+8272, U+8282, U+82B1,
    U+82B3, U+82CD, U+82CF, U+82D4, U+82E5-82E6, U+82F1, U+8305, U+832B, U+8336, U+8349, U+8350, U+8352,
    U+8361, U+836F, U+8377, U+83AB, U+83B2, U+83BA, U+83CA, U+8427, U+843D, U+8457, U+8499, U+84EC,
    U+8584, U+85CF, U+864E, U+865A, U+865E, U+867D, U+86DB, U+8700, U+8718, U+8776, U+884C, U+8863,
    U+8870, U+8896, U+88AB, U+88B7, U+897F, U+8981, U+89C1-89C2, U+89C9, U+89D2, U+89E3, U+8A00, U+8BA1,
    U+8BB0, U+8BB8, U+8BBA, U+8BBF, U+8BC6, U+8BCD, U+8BD5, U+8BD7, U+8BED, U+8BF4, U+8BF8, U+8BFB,
    U+8C01, U+8C03, U+8C08, U+8C22, U+8C37, U+8D1F, U+8D24, U+8D2B, U+8D35, U+8D4B, U+8D4F, U+8D60,
    U+8D64, U+8D70, U+8D74-8D75, U+8D77, U+8D8A, U+8DB3, U+8DEF, U+8E0F, U+8EAB, U+8F66, U+8F69, U+8F6C,
    U+8F7B, U+8F7D, U+8F9E, U+8FB9, U+8FC7, U+8FCE, U+8FD1, U+8FD8-8FD9, U+8FDC, U+8FDE-8FDF, U+8FF7, U+8FF9,
    U+8FFD, U+9001, U+9009, U+9010, U+901A, U+9022, U+9047, U+904D, U+9053, U+9057, U+9063, U+9065,
    U+90A3, U+90BB, U+90C1, U+90CA, U+90CE, U+90ED, U+90FD, U+9152, U+916C, U+9189, U+9192, U+91C7,
    U+91CC-91CE, U+91D1, U+9493, U+949F, U+94B1, U+94F6, U+9526, U+955C, U+957F, U+95E8, U+95EE, U+95F2,
    U+95F4, U+95FB, U+9601, U+9611, U+9619, U+9633-9634, U+9636, U+9648, U+9662, U+9664, U+9675, U+968F-9690,
    U+9694, U+96BE, U+96C1, U+96C4, U+96C6, U+96E8, U+96EA, U+96F6-96F7, U+96FE, U+971C, U+971E, U+9732,
    U+9752, U+9759, U+975E, U+9762, U+97F3, U+97F5, U+987B, U+987E, U+9882, U+9891, U+9898, U+989C,
    U+98CE, U+98D0, U+98D8, U+98DE-98DF, U+996E, U+9980, U+9986, U+9996, U+9999, U+9A6C, U+9A91, U+9AA8,
    U+9AD8, U+9B13, U+9B42, U+9C7C, U+9E1F, U+9E21, U+9E23, U+9E25, U+9E3F, U+9E64, U+9EC4, U+9F13,
    U+9F50, U+9F99, U+FF01, U+FF08-FF09, U+FF0C, U+FF1F;
}

@font-face {
  font-family: 'Cangci Discovery Serif';
  src: url('/static/assets/discover-serif-01.woff2?v=2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  unicode-range: U+00A4, U+03B5, U+2014, U+201C-201D, U+2022, U+2026, U+2460-2464, U+25A0-25A1, U+25C7, U+25CB, U+3005, U+300A-300D,
    U+3010-3011, U+3014-3017, U+30B3, U+30CA, U+3128, U+3432, U+347E, U+3509, U+3529, U+35F3, U+35F5, U+3632,
    U+36D9, U+36F9, U+3736, U+3762, U+37D9, U+380A, U+381D, U+3858, U+3867, U+38A0, U+39D0-39D1, U+3A4E,
    U+3AF2, U+3B68, U+3B95, U+3C65, U+3CAA, U+3CFA, U+3D89, U+3E5C, U+3E60, U+3E84, U+40C5, U+4149,
    U+4197, U+41D3, U+41F2, U+424B, U+42DE, U+4328, U+4337, U+4339, U+4350, U+4360, U+4365, U+4473,
    U+44D6, U+4577, U+45D6, U+4670, U+46D2, U+4729, U+475F, U+47CE, U+47E4, U+481E, U+4825, U+4A50,
    U+4AA7, U+4BC4, U+4C50, U+4D16, U+4E01, U+4E10-4E11, U+4E13, U+4E19, U+4E1B, U+4E1E, U+4E22, U+4E25,
    U+4E27, U+4E2A-4E2B, U+4E31-4E32, U+4E38, U+4E3D, U+4E42, U+4E48, U+4E4D-4E4F, U+4E54, U+4E56, U+4E59, U+4E5E,
    U+4E60, U+4E70, U+4E73, U+4E7E, U+4E8F, U+4E92, U+4E98, U+4E9A-4E9B, U+4E9F, U+4EA1-4EA2, U+4EA5, U+4EA7-4EA9,
    U+4EAB, U+4EAE, U+4EB3, U+4EB5-4EB6, U+4EB8-4EB9, U+4EBF-4EC0, U+4EC3-4EC7, U+4ECB, U+4ED1, U+4ED3-4ED5, U+4ED7, U+4EDD-4EDF,
    U+4EEA, U+4EF0, U+4EF3, U+4EF7, U+4EFF, U+4F01, U+4F0A, U+4F0D-4F10, U+4F18-4F19, U+4F1B, U+4F1E-4F1F, U+4F25-4F27,
    U+4F2A-4F2B, U+4F30, U+4F36, U+4F38, U+4F3A, U+4F3D, U+4F4D, U+4F50-4F51, U+4F53, U+4F57, U+4F5A, U+4F5E-4F5F,
    U+4F63, U+4F65, U+4F69-4F6A, U+4F6F, U+4F76, U+4F7A-4F7B, U+4F83-4F84, U+4F88-4F89, U+4F8B, U+4F8F, U+4F91, U+4F94,
    U+4F98, U+4F9B-4F9C, U+4FA0, U+4FA3, U+4FA5-4FAA, U+4FAC-4FAE, U+4FB5, U+4FC3-4FC4, U+4FCA, U+4FCE-4FCF, U+4FD1, U+4FD8,
    U+4FDA-4FDF, U+4FE3, U+4FE6, U+4FE8-4FEA, U+4FED, U+4FEF, U+4FF2, U+4FF6, U+4FF8, U+4FFA, U+4FFE, U+5005,
    U+500D, U+500F, U+5014-5016, U+5018-5019, U+501C, U+5021, U+5025-5026, U+5028-502A, U+502C-502E, U+503A, U+503C, U+5043,
    U+5047-5048, U+504E, U+5053, U+5055, U+505A, U+505C, U+5065, U+5069-506A, U+506C-506D, U+5077, U+507B, U+507E-5080,
    U+5085, U+5092, U+509E, U+50A5, U+50A7-50A9, U+50B2, U+50BA, U+50C7, U+50CA, U+50CF, U+50D6, U+50DA-50DD,
    U+50E6, U+50E9, U+50EE, U+50F0, U+50F5, U+50FB, U+50FD, U+5103, U+5106-5107, U+510B, U+5112-5113, U+5117,
    U+5121, U+5124, U+5135, U+5140-5141, U+5145-5146, U+514B, U+514D, U+5151, U+5154-5156, U+515A, U+515C, U+5162,
    U+5177-5179, U+517B, U+517D, U+5180-5181, U+5188-5189, U+518C, U+5192, U+5195, U+5197, U+519C, U+51A2, U+51A4,
    U+51AF, U+51B1-51B3, U+51B6, U+51BB, U+51BD, U+51C6, U+51CA-51CC, U+51CF, U+51D1, U+51D8, U+51DB, U+51DD,
    U+51E1, U+51EB, U+51EF-51F0, U+51F6, U+51F8-51F9, U+51FB, U+51FD, U+51FF-5201, U+5203, U+5207-5208, U+520A, U+520D-520E,
    U+5211-5213, U+5216-5217, U+5219-521B, U+5220, U+5224, U+5228-5229, U+522C, U+522E, U+5232-5233, U+5236-523B, U+523F, U+5242-5243,
    U+524A, U+524C, U+5254, U+5256, U+525C, U+5261, U+5265, U+5267, U+5269-526A, U+526F, U+5272, U+5278,
    U+527D, U+527F, U+5284, U+5288, U+5293, U+5296, U+5298-5299, U+529D-529E, U+52A0-52A1, U+52A3, U+52A9-52AD, U+52B1-52B2,
    U+52BE-52BF, U+52C3, U+52C5, U+52C7, U+52C9, U+52CB, U+52CD, U+52D2, U+52D6, U+52D8, U+52DF-52E0, U+52E4,
    U+52FA, U+52FE-5300, U+5305-5306, U+5308-5309, U+530D, U+530F-5310, U+5315, U+5319, U+531D, U+5320-5321, U+5323, U+5326,
    U+532A, U+532E, U+5339-533B, U+533E-533F, U+5345, U+5347, U+5349, U+534F-5353, U+5355-5356, U+535A, U+535C, U+535E-535F,
    U+5361-5362, U+5364, U+5366, U+5368, U+536B, U+536E-5370, U+5375, U+5378, U+537C, U+5382, U+5384-5385, U+5389,
    U+538B-538D, U+5393-5396, U+5398, U+539A, U+539D, U+53A2, U+53A5-53A6, U+53A8-53A9, U+53AE, U+53C6-53C7, U+53C9, U+53CD,
    U+53D7, U+53D9, U+53DB, U+53E0, U+53E6, U+53E8-53E9, U+53EB-53EE, U+53F1, U+53F3, U+53F5, U+53F7, U+53FD,
    U+5401, U+5403, U+5406, U+5409-540A, U+540F-5410, U+5413, U+5415, U+541D-541E, U+5420, U+5426-5428, U+542A, U+542D-5430,
    U+5437-5438, U+543B-543C, U+5440, U+5443, U+5446, U+544A, U+5450, U+5453, U+5455-5458, U+545C, U+5462, U+5464,
    U+5466, U+5471, U+5474-5476, U+547B, U+547F-5480, U+5482, U+5484, U+5486, U+548B, U+548D-548E, U+5492, U+549A-549B,
    U+54A2, U+54A4, U+54A8, U+54AB-54AC, U+54AE, U+54B1-54B3, U+54B8, U+54BB, U+54BD, U+54BF, U+54C1-54C2, U+54C4,
    U+54C6-54C9, U+54CD, U+54D1, U+54D3, U+54D7, U+54D9, U+54DD, U+54E2, U+54E5-54E8, U+54EA, U+54ED-54EE, U+54F2-54F3,
    U+54FA, U+54FD, U+5501, U+5507, U+550F, U+5522, U+5524, U+5527, U+552B;
}

@font-face {
  font-family: 'Cangci Discovery Serif';
  src: url('/static/assets/discover-serif-02.woff2?v=2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  unicode-range: U+552E-552F, U+5533, U+5536, U+553C, U+553E, U+5541, U+5544-5546, U+5551, U+5555-5556, U+555C, U+5567, U+556C-556E,
    U+5578, U+557B, U+557E, U+5581-5584, U+5587, U+5589-558B, U+558F, U+5591, U+5594, U+5598-5599, U+559D, U+559F,
    U+55A3-55A4, U+55A7, U+55B7, U+55BB, U+55C3, U+55C5, U+55C8-55C9, U+55D1-55D2, U+55D4, U+55DC, U+55E1, U+55E3-55E5,
    U+55EB, U+55F7, U+55FD-55FE, U+5604-5605, U+5608, U+560F-5610, U+5612, U+5618, U+5624, U+5631-5632, U+5634, U+5636-5637,
    U+5639, U+563B, U+563F-5640, U+5642, U+564C-564E, U+5652, U+5659, U+5664, U+5668-566D, U+5685, U+5698, U+56A3,
    U+56AC-56AD, U+56B1, U+56BC, U+56CA-56CB, U+56DA, U+56DD, U+56E2, U+56EB, U+56F0, U+56F4-56F5, U+56F7, U+56F9-56FA,
    U+56FF, U+5701, U+5703-5704, U+5708-570A, U+571B-571C, U+571E, U+5729-572A, U+572D-572F, U+5733, U+5739-573B, U+5740, U+5742,
    U+5747, U+574A-574B, U+574E-574F, U+5751, U+5757, U+575A-575B, U+575D-575E, U+5760-5761, U+5764, U+5766, U+576A-576B, U+5770,
    U+5773, U+577B-577C, U+5784-5786, U+578B, U+5792-5793, U+579E, U+57A0, U+57A2-57A4, U+57A9, U+57AB, U+57C2-57C3, U+57CB,
    U+57CF, U+57D2, U+57D4, U+57D9, U+57DF-57E0, U+57E4, U+57ED, U+57EF, U+57F8-57FD, U+5804, U+5806-5807, U+580B,
    U+580D, U+5811, U+5815, U+5819, U+581E, U+5820, U+5824, U+5830, U+5832, U+5835, U+584C-584D, U+5851,
    U+5854, U+586B, U+587E, U+5880-5881, U+5883, U+5885, U+5893, U+589E-589F, U+58A6, U+58A9, U+58BA, U+58C5,
    U+58D1-58D2, U+58D5-58D6, U+58DD, U+58E4, U+58EC, U+58F3, U+58F6, U+58F8-58F9, U+5907, U+590C, U+5910, U+5914,
    U+5919, U+591F, U+5924, U+592D-592E, U+5937-593A, U+5941-5942, U+5944, U+594B, U+594E-594F, U+5951, U+5954-5957, U+595A,
    U+5960, U+5962, U+5965, U+596B, U+5974, U+5976, U+5978-5979, U+5983-5984, U+598D, U+5992-5993, U+5996, U+59A3,
    U+59A5, U+59A8-59AB, U+59AE, U+59B2, U+59B7, U+59B9, U+59BB, U+59BE, U+59CA, U+59D0-59D1, U+59D3-59D4, U+59D7,
    U+59DA, U+59DC-59DD, U+59E3-59E5, U+59E8, U+59EC, U+59EE, U+59F1, U+59F9, U+59FB, U+59FF-5A01, U+5A03-5A09, U+5A11,
    U+5A13, U+5A16, U+5A18, U+5A1C, U+5A1F, U+5A23, U+5A25, U+5A29, U+5A31-5A32, U+5A34, U+5A36, U+5A3C,
    U+5A40, U+5A46, U+5A49, U+5A50, U+5A5A, U+5A5E, U+5A62, U+5A67, U+5A6A, U+5A74-5A75, U+5A77, U+5A7A,
    U+5A7F, U+5A92, U+5A95, U+5A9A-5A9B, U+5AAA, U+5AAD-5AAE, U+5AB2, U+5AB5, U+5AB8, U+5ABE-5ABF, U+5AC1-5AC2, U+5AC4,
    U+5AC9, U+5ACC, U+5ACF, U+5AD2, U+5AD4, U+5AD6, U+5ADA-5ADC, U+5AE0-5AE1, U+5AE3, U+5AE6, U+5AE9, U+5AEB,
    U+5AED, U+5AF1, U+5B04, U+5B09, U+5B1B, U+5B32, U+5B34, U+5B3F-5B40, U+5B51, U+5B53-5B55, U+5B5A-5B5D, U+5B5F,
    U+5B63, U+5B65, U+5B69, U+5B70-5B71, U+5B73, U+5B7A, U+5B7D, U+5B83, U+5B85, U+5B87, U+5B8B-5B8C, U+5B8F,
    U+5B93, U+5B95, U+5B99, U+5B9B, U+5BA0-5BA1, U+5BA3, U+5BA5-5BA6, U+5BAA, U+5BAC, U+5BB0, U+5BB3-5BB4, U+5BB8,
    U+5BBD-5BBE, U+5BC5-5BC7, U+5BCC, U+5BD0, U+5BD3-5BD4, U+5BD6, U+5BD8, U+5BDD-5BDF, U+5BE4-5BE5, U+5BE8, U+5BEE, U+5BF0-5BF1,
    U+5BFC, U+5C04, U+5C09, U+5C16, U+5C1D, U+5C24, U+5C27, U+5C2A, U+5C35, U+5C38-5C39, U+5C3B-5C3C, U+5C3E,
    U+5C40, U+5C42-5C43, U+5C48, U+5C4A, U+5C50-5C51, U+5C55, U+5C5E-5C61, U+5C63, U+5C65-5C67, U+5C6F, U+5C79-5C7A, U+5C7C,
    U+5C7F, U+5C88, U+5C8C, U+5C8F-5C91, U+5C96-5C9B, U+5CA3, U+5CA7, U+5CAB, U+5CB0-5CB1, U+5CB5, U+5CB7, U+5CBF,
    U+5CC4, U+5CCB, U+5CD2, U+5CD9, U+5CE1, U+5CE3-5CE6, U+5CE8-5CEA, U+5CED, U+5CFB, U+5D04, U+5D06-5D07, U+5D0E,
    U+5D12, U+5D14, U+5D16, U+5D19-5D1B, U+5D23-5D24, U+5D26-5D27, U+5D29, U+5D2D-5D2F, U+5D34, U+5D37, U+5D42, U+5D47,
    U+5D4A-5D4C, U+5D4E, U+5D53, U+5D58, U+5D5A, U+5D5D, U+5D69, U+5D6B-5D6C, U+5D6F, U+5D72, U+5D77-5D78, U+5D82,
    U+5D8A, U+5D92-5D93, U+5D95, U+5D99, U+5D9D, U+5D9F, U+5DAA, U+5DAD, U+5DB0-5DB1, U+5DB7, U+5DBE, U+5DC0,
    U+5DC3, U+5DC5, U+5DC7, U+5DC9, U+5DD1, U+5DE1-5DE2, U+5DE5-5DE9, U+5DEB, U+5DEE, U+5DF1, U+5DF3-5DF4, U+5DF7,
    U+5DFD-5DFE, U+5E01, U+5E03, U+5E05, U+5E0C, U+5E0F-5E11, U+5E14-5E16, U+5E19-5E1C, U+5E1F, U+5E21, U+5E29, U+5E2E,
    U+5E31, U+5E37, U+5E3B-5E3D, U+5E42, U+5E44-5E45, U+5E4C, U+5E54, U+5E59, U+5E5B, U+5E5E, U+5E61-5E62, U+5E6A,
    U+5E6E, U+5E70, U+5E77-5E78, U+5E7A-5E7C, U+5E84, U+5E86-5E87, U+5E8F, U+5E91, U+5E96-5E97, U+5E9A, U+5E9E-5EA0, U+5EA4,
    U+5EA7, U+5EB3, U+5EB6-5EB8, U+5EBE, U+5EC9-5ECA, U+5ECC, U+5ED3, U+5ED6, U+5ED9, U+5EDB, U+5EE5, U+5EE8,
    U+5EEA, U+5EF6-5EF7, U+5EFA-5EFB, U+5EFF, U+5F01;
}

@font-face {
  font-family: 'Cangci Discovery Serif';
  src: url('/static/assets/discover-serif-03.woff2?v=2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  unicode-range: U+5F03, U+5F07-5F08, U+5F0A-5F0B, U+5F0F, U+5F11, U+5F13, U+5F17-5F18, U+5F1B, U+5F22, U+5F25, U+5F27-5F29, U+5F2D-5F2F,
    U+5F31, U+5F38, U+5F3C, U+5F40, U+5F4A, U+5F55-5F58, U+5F5D, U+5F61, U+5F64, U+5F66, U+5F6A, U+5F6C-5F6D,
    U+5F6F-5F70, U+5F74, U+5F77, U+5F79, U+5F7B-5F7C, U+5F82, U+5F87-5F8C, U+5F93, U+5F95, U+5F98-5F99, U+5F9C, U+5FA8,
    U+5FAA, U+5FAC-5FAD, U+5FB5, U+5FBC-5FBD, U+5FC4, U+5FC9, U+5FCC-5FCD, U+5FCF, U+5FD2, U+5FD6, U+5FD9, U+5FDD,
    U+5FE0-5FE1, U+5FE4, U+5FEA-5FEB, U+5FED, U+5FF1, U+5FF3, U+5FFA-5FFC, U+5FFE-5FFF, U+6001, U+6003, U+6006, U+600A,
    U+600D, U+600F, U+6012, U+6014-6016, U+6019, U+601B, U+6020-6021, U+6026-6027, U+602A-602B, U+602F, U+6033, U+6035,
    U+603C, U+603F, U+6041-6043, U+604A, U+604D, U+6052-6053, U+6055, U+6059-605A, U+605D, U+6062-6064, U+6067, U+606A-606D,
    U+6070, U+6073, U+6076, U+6078-607D, U+6081, U+6083-6084, U+6089-608A, U+608C-608D, U+6090, U+6094, U+6096, U+609A,
    U+609F, U+60A3-60A4, U+60A6, U+60AB-60B0, U+60B4, U+60B8, U+60BB-60BC, U+60C0, U+60C6-60C7, U+60CB, U+60D1, U+60D3-60D5,
    U+60D8-60DB, U+60DD, U+60E0, U+60E3, U+60E7-60E9, U+60EB-60F0, U+60F6, U+60F8-60FA, U+6100, U+6106, U+6108-610A, U+610D,
    U+6110, U+6112, U+6114-6115, U+611A, U+6120, U+6124, U+6127, U+612B, U+6141, U+6146-6148, U+614A, U+614E,
    U+6151, U+6155, U+615C-615E, U+6162, U+6167-6168, U+6170, U+6175, U+6177, U+6180, U+618B, U+618D-618E, U+6194,
    U+6197, U+6199, U+61A7-61A9, U+61BA, U+61BE, U+61C2-61C3, U+61C8, U+61CA-61CB, U+61D1-61D2, U+61D4, U+61E6, U+61F5,
    U+61F9, U+61FD, U+61FF, U+6206, U+6208, U+620A-620E, U+6212, U+6215-6216, U+621A-621B, U+621F, U+6221-6222, U+622A,
    U+622E, U+6233-6234, U+623A, U+623D-623E, U+6241, U+6243, U+6245-624A, U+624C, U+624E, U+6251, U+6253, U+6258-6259,
    U+625B, U+6263, U+6267, U+6269-626B, U+626E-6270, U+6273, U+6279, U+627C, U+627E, U+6280, U+6284, U+6286,
    U+6289, U+6291-6292, U+6294, U+6296-6297, U+629A-629B, U+629F, U+62A1-62A2, U+62A4, U+62AB-62AC, U+62B5, U+62B7, U+62B9-62BA,
    U+62BC-62BD, U+62C4-62CA, U+62CC-62D0, U+62D2-62D4, U+62D6-62DA, U+62DC, U+62E2-62E3, U+62E5-62E6, U+62E8-62E9, U+62EC-62EF, U+62F1, U+62F3,
    U+62F6, U+62FC-62FF, U+6302, U+6308-6309, U+630D, U+6310-6311, U+631A-631B, U+631D-6321, U+6323-6326, U+6328, U+632A-632B, U+632F,
    U+6332, U+6339-633A, U+633C, U+6342, U+6346, U+6349, U+634B, U+634D-6350, U+6355, U+635F, U+6361-6363, U+6367,
    U+6369, U+636D-636E, U+6372, U+6376-6377, U+637A-637B, U+6380, U+6387-638A, U+638C, U+638E, U+6390, U+6392, U+6394,
    U+6396, U+6398, U+63A2-63A3, U+63A7, U+63A9-63AA, U+63AC, U+63B3, U+63B8, U+63BE-63BF, U+63C4, U+63C6, U+63C9,
    U+63CE-63D0, U+63D2, U+63D4, U+63D6, U+63DC, U+63E1, U+63E3, U+63E9, U+63EB, U+63ED, U+63F4, U+63F6,
    U+63FD-63FE, U+6400-6402, U+6405-6406, U+640A, U+640F-6410, U+6413-6414, U+6418, U+641C, U+641E, U+6422, U+6426, U+642C-642D,
    U+6430, U+6434, U+643D, U+6444-6446, U+644A, U+6458, U+645B, U+645D, U+6467, U+6469, U+646D, U+6475,
    U+6478-6479, U+647D, U+6484, U+6487, U+6491-6492, U+6495, U+649A, U+649E, U+64A4, U+64A6, U+64A9, U+64AD-64AE,
    U+64B0, U+64B7, U+64BC, U+64C2, U+64C5, U+64CD-64CE, U+64D0, U+64D2, U+64D7-64D8, U+64DE, U+64E2, U+64E6,
    U+64EA, U+64FF-6500, U+6512, U+6518, U+6527, U+652B, U+652F, U+6532, U+6534, U+6538-6539, U+653B, U+653F,
    U+6548, U+654C, U+654F, U+6551, U+6555-6556, U+655B, U+655D-655E, U+6566-6567, U+6569, U+656C, U+6572, U+6574,
    U+6576-6577, U+657B, U+6581, U+6583, U+658C, U+6590-6591, U+6593, U+6599, U+659B, U+659D, U+659F, U+65A1,
    U+65A4-65A5, U+65A7, U+65A9, U+65AB, U+65AF, U+65B2, U+65B5-65B6, U+65BC-65BE, U+65C1, U+65C3-65C6, U+65CB-65CC, U+65CE-65D0,
    U+65D2-65D3, U+65D6-65D7, U+65DB, U+65E1-65E2, U+65E6, U+65E8, U+65EC-65ED, U+65F0-65F1, U+65F7-65F8, U+65FA-65FB, U+6602-6603, U+6606,
    U+6609-660A, U+660C, U+6615, U+6619, U+661C, U+6621, U+6627, U+6629-662A, U+662D, U+6631, U+6635-6636, U+663A,
    U+663D-663E, U+6641, U+6643, U+664B-664C, U+664F, U+6652, U+6654-6656, U+665E, U+6661-6662, U+6664, U+6666, U+666C,
    U+666E, U+6670, U+6673, U+6676-6677, U+667A-667C, U+6684-6685, U+6687, U+668C-668D, U+6691, U+669D, U+66A7-66A8, U+66B4,
    U+66BE, U+66C0, U+66C8;
}

@font-face {
  font-family: 'Cangci Discovery Serif';
  src: url('/static/assets/discover-serif-04.woff2?v=2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  unicode-range: U+66D9-66DD, U+66E6, U+66E9, U+66F0, U+66F3, U+66F6-66F7, U+66FC, U+66FF, U+6702, U+6705, U+670B, U+670D,
    U+6713-6715, U+6717-6718, U+6726, U+672B, U+672D, U+672F, U+6734-6735, U+673D, U+6740, U+6743, U+6745-6746, U+6749,
    U+674C, U+674F-6750, U+6753, U+6756-6757, U+6759, U+675E-6760, U+676A, U+676D, U+6770, U+6772-6773, U+6775-6777, U+677B-677C,
    U+677F, U+6784, U+6787, U+6789, U+678B-678C, U+6790, U+6792, U+6798, U+679A, U+679C, U+679E, U+67A2-67A3,
    U+67A5, U+67A8, U+67AA-67AB, U+67AD, U+67AF-67B0, U+67B2-67B3, U+67B5-67B9, U+67BB, U+67BF, U+67C1-67C2, U+67C4, U+67C8,
    U+67D0-67D1, U+67D4, U+67D8-67DA, U+67DD-67DE, U+67E2, U+67E5, U+67E9, U+67EC, U+67EE-67F1, U+67F4, U+67FD, U+67FF-6800,
    U+6805, U+6807-680B, U+680E-680F, U+6813, U+6817-6818, U+681D, U+6821, U+6829-682A, U+682F, U+6832-6833, U+6838, U+683C-683E,
    U+6840-6841, U+6844-6845, U+6848-6849, U+6853-6855, U+6861-6862, U+6867-6869, U+6874, U+6877, U+688F, U+6893, U+6897, U+68A0,
    U+68A2, U+68A7-68A8, U+68AD, U+68AF-68B0, U+68B3, U+68B5, U+68C0-68C2, U+68C9, U+68CB, U+68CD-68CE, U+68D0, U+68D2,
    U+68D5, U+68D8, U+68DA, U+68E0, U+68E3, U+68E8, U+68F0-68F1, U+68F9-68FA, U+68FC, U+6900, U+6905, U+690D-690E,
    U+6912, U+691F-6920, U+692E, U+6930, U+6937, U+6939, U+693D, U+693F, U+6942, U+6959, U+695B, U+695D-695E,
    U+6960, U+6963, U+6965-6966, U+6969, U+696B, U+696E-696F, U+6977-6979, U+6982, U+6984, U+6986-6988, U+6994-6995, U+699B-699D,
    U+69AD, U+69B1, U+69B4, U+69B7, U+69BB-69BC, U+69BE, U+69C1, U+69C3, U+69C5, U+69CA, U+69CC, U+69CE,
    U+69D0, U+69D4, U+69DB-69DC, U+69DF-69E0, U+69E9, U+69ED, U+69F1-69F2, U+69FD, U+69FF, U+6A0A, U+6A17-6A18, U+6A1B,
    U+6A1F, U+6A21, U+6A28, U+6A2F, U+6A31, U+6A35, U+6A3D-6A3E, U+6A44, U+6A50-6A51, U+6A58-6A59, U+6A66, U+6A71,
    U+6A79, U+6A80, U+6A84, U+6A8E, U+6A90, U+6A97, U+6AA0, U+6AA5, U+6AA8, U+6ABD, U+6AC2, U+6ACB,
    U+6ADC, U+6AFD, U+6B03, U+6B20, U+6B23-6B24, U+6B27, U+6B2C, U+6B37-6B3B, U+6B3E-6B3F, U+6B43, U+6B46-6B4A, U+6B54,
    U+6B57-6B59, U+6B5B-6B5C, U+6B60, U+6B67, U+6B6A, U+6B79, U+6B7C, U+6B7E, U+6B80-6B84, U+6B86-6B87, U+6B89-6B8A, U+6B8D,
    U+6B91-6B92, U+6B96, U+6B9A-6B9B, U+6BA1, U+6BA3, U+6BAA, U+6BB3, U+6BB5, U+6BB7, U+6BBD, U+6BC1-6BC2, U+6BC5,
    U+6BCB, U+6BD2-6BD3, U+6BD5, U+6BD7, U+6BD9, U+6BDB, U+6BE1, U+6BEB-6BEC, U+6BEF-6BF0, U+6BF3, U+6BF5-6BF9, U+6BFE,
    U+6C04-6C05, U+6C09, U+6C0D, U+6C10, U+6C13, U+6C1B, U+6C24, U+6C32, U+6C35, U+6C40-6C41, U+6C47, U+6C4B,
    U+6C4D-6C4E, U+6C50, U+6C55, U+6C57, U+6C5B-6C5C, U+6C5E, U+6C61, U+6C64, U+6C67-6C6A, U+6C6D, U+6C70, U+6C72,
    U+6C74, U+6C76, U+6C79, U+6C7E, U+6C81-6C86, U+6C8C-6C8D, U+6C90, U+6C93-6C95, U+6C9A-6C9C, U+6C9F, U+6CA1, U+6CA3-6CA6,
    U+6CAA-6CAC, U+6CAE, U+6CB1, U+6CB4, U+6CB8-6CB9, U+6CBB-6CBF, U+6CC2, U+6CC4, U+6CCC, U+6CD0, U+6CD2-6CD3, U+6CD6-6CD7,
    U+6CDA, U+6CDE, U+6CE0-6CE1, U+6CE3, U+6CE8, U+6CEB-6CF1, U+6CF3, U+6CF7-6CF8, U+6CFA-6CFC, U+6CFE, U+6D01, U+6D04,
    U+6D0B, U+6D0E, U+6D12, U+6D19, U+6D25, U+6D27, U+6D2A-6D2B, U+6D2E, U+6D33-6D35, U+6D3A-6D3E, U+6D43, U+6D46-6D4B,
    U+6D4D-6D52, U+6D54, U+6D59-6D5A, U+6D5E, U+6D65, U+6D69, U+6D6F, U+6D72, U+6D74, U+6D78, U+6D7C, U+6D82,
    U+6D85, U+6D89, U+6D8C, U+6D8E, U+6D91, U+6D93-6D96, U+6D98, U+6D9B, U+6D9D, U+6D9F, U+6DA1, U+6DA3-6DA4,
    U+6DA6, U+6DA8-6DAA, U+6DB2, U+6DB4-6DB5, U+6DB7-6DB8, U+6DBF-6DC0, U+6DC4-6DC8, U+6DCB, U+6DD1, U+6DD6, U+6DD8-6DD9, U+6DDD-6DDE,
    U+6DE4, U+6DE6, U+6DE9, U+6DEB-6DEC, U+6DEF-6DF0, U+6DF3, U+6DF7, U+6DF9, U+6DFC, U+6E02, U+6E0A, U+6E0C-6E0E,
    U+6E11, U+6E17, U+6E1A, U+6E1D, U+6E1F-6E20, U+6E23-6E25, U+6E29, U+6E2D, U+6E2F-6E30, U+6E32, U+6E34, U+6E3A,
    U+6E3C, U+6E43-6E44, U+6E4B, U+6E4D, U+6E51, U+6E53-6E54, U+6E5B-6E5C, U+6E5F, U+6E62, U+6E69, U+6E6B, U+6E6E,
    U+6E71-6E74, U+6E7E, U+6E81, U+6E83, U+6E85-6E86, U+6E89, U+6E98, U+6E9F, U+6EA2, U+6EA5, U+6EA7, U+6EAF,
    U+6EB2, U+6EB6-6EB7, U+6EBA, U+6EBD, U+6EC1-6EC3, U+6EC7, U+6EC9, U+6ECB, U+6ECF, U+6ED1, U+6ED3-6ED5, U+6EDA,
    U+6EDE-6EDF, U+6EE5-6EE6, U+6EE8-6EEA, U+6EF4, U+6EF7, U+6EF9, U+6F02, U+6F06, U+6F09, U+6F0F, U+6F13-6F15, U+6F18-6F19,
    U+6F20, U+6F2A, U+6F2D, U+6F31, U+6F33, U+6F3E, U+6F40, U+6F46-6F48, U+6F4B;
}

@font-face {
  font-family: 'Cangci Discovery Serif';
  src: url('/static/assets/discover-serif-05.woff2?v=2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  unicode-range: U+6F4D, U+6F4F, U+6F58, U+6F5C, U+6F5E, U+6F62, U+6F66, U+6F6D, U+6F74, U+6F78, U+6F7A, U+6F7C,
    U+6F7E, U+6F82, U+6F84, U+6F88, U+6F8C-6F8E, U+6F92, U+6F9C, U+6FA1, U+6FA5, U+6FA7-6FA8, U+6FB3, U+6FB6,
    U+6FB9, U+6FC0, U+6FC2, U+6FC8, U+6FCA, U+6FCE, U+6FD1-6FD2, U+6FD9, U+6FE0-6FE1, U+6FE9, U+6FEC, U+6FEE-6FEF,
    U+700D, U+7011, U+701A-701B, U+7023, U+702B, U+7039-703A, U+703C, U+7042, U+704A, U+704C, U+704F, U+705E,
    U+7068, U+706D, U+7070, U+7076, U+7078, U+707A, U+707C, U+707E-7080, U+7085, U+7089-708A, U+708E, U+7092,
    U+7095-7096, U+7099, U+709C, U+70A4, U+70AB-70B1, U+70B3, U+70B7, U+70BC-70BD, U+70C1-70C2, U+70C8, U+70D4, U+70D8-70D9,
    U+70DC-70DD, U+70E6-70E8, U+70EC-70ED, U+70EF, U+70F1, U+70F9, U+70FD, U+7109, U+7115, U+7118-711A, U+711C, U+7126,
    U+7130-7131, U+7145, U+714C, U+714E, U+7156, U+715C, U+715E, U+7160, U+7164, U+7166, U+7168, U+716E,
    U+717D, U+7184, U+718A, U+718F, U+7194, U+7199, U+719F-71A0, U+71A2, U+71A8, U+71AC, U+71B3, U+71B9-71BB,
    U+71C3-71C4, U+71CB, U+71CE, U+71D0, U+71D4, U+71E0, U+71E5, U+71E7, U+71EE, U+7206, U+721D, U+7222,
    U+7228, U+722A, U+722C, U+7230, U+7235, U+7237, U+7239, U+723B, U+723D, U+7242, U+7248-7249, U+724C-724D,
    U+7252, U+7259, U+725D, U+725F, U+7261-7262, U+7267, U+726F, U+7272, U+7275, U+7277, U+7279-727A, U+727F-7282,
    U+728A, U+728D, U+7292, U+72A0, U+72AC, U+72AF, U+72B4, U+72B6-72B7, U+72C4, U+72C8-72C9, U+72CB, U+72CE,
    U+72D0, U+72D6-72D7, U+72D9, U+72DE, U+72E0-72E1, U+72E5, U+72E8-72E9, U+72ED-72F1, U+72F7-72F8, U+72FA-72FC, U+730A-730B, U+730E,
    U+7316-7317, U+731B-731D, U+7325, U+7327, U+7329-732C, U+732E, U+7330-7331, U+7334, U+7337, U+733E-733F, U+7349, U+734D,
    U+7350, U+7352, U+7357, U+7360, U+7366, U+736C-736D, U+736F, U+737E, U+7383, U+7387, U+738E, U+7391,
    U+7395-7397, U+7399-739B, U+73A1, U+73A6, U+73A9, U+73AB, U+73AF, U+73B2-73B3, U+73B7, U+73BA-73BB, U+73C0, U+73C2,
    U+73C9-73CA, U+73CD, U+73D1, U+73D3, U+73DE, U+73E3, U+73E5, U+73E9-73EA, U+73ED-73EE, U+73F0, U+73F5, U+7403,
    U+7405, U+7409-740A, U+740F-7410, U+7416, U+741A-741B, U+7422, U+7424-7426, U+7428, U+742A, U+742C, U+742E-7430, U+7432-7433,
    U+7435-7436, U+7440-7441, U+7451, U+7455, U+7457, U+7459-745C, U+745E-745F, U+746F-7471, U+7473, U+747E-7480, U+7483, U+7486-7488,
    U+748B, U+748E, U+7490, U+749A, U+749C, U+749E-74A0, U+74A7-74A8, U+74AA, U+74B9, U+74C8, U+74D3, U+74D8,
    U+74DB-74DC, U+74E0, U+74E2-74E3, U+74E6, U+74EE-74EF, U+74F4, U+74F6-74F7, U+74FF, U+7503-7504, U+750D, U+7511, U+7513-7514,
    U+751C, U+7521, U+7525, U+752A-752D, U+7532-7533, U+7535, U+7537-7538, U+753A, U+753F-7540, U+7545, U+7547-7548, U+754B-754C,
    U+754E-754F, U+7554, U+755A-755C, U+7564-7566, U+756A, U+756C, U+756F, U+7572, U+7574, U+7578-757A, U+757F, U+7583,
    U+7586, U+758B, U+758E, U+7590, U+7597, U+759A, U+759F-75A3, U+75A5, U+75AB, U+75AE, U+75B2, U+75B4-75B5,
    U+75B9, U+75BC-75BE, U+75C1-75C2, U+75C7-75C8, U+75CA, U+75CD, U+75D2, U+75D8, U+75DB, U+75DE, U+75E1, U+75F4,
    U+75F9, U+75FC, U+75FF, U+7601, U+7605, U+760F, U+7616-7617, U+761D, U+7620, U+7622, U+7624, U+7626,
    U+7633-7635, U+7638, U+763C, U+763F, U+7648, U+7656-7657, U+766B, U+766F, U+7678, U+7682, U+7688, U+768B,
    U+768E, U+7691, U+7693, U+7696, U+7699, U+769E, U+76A4, U+76A6, U+76AA, U+76AE, U+76B1, U+76B4,
    U+76B7, U+76BF, U+76C2, U+76C6, U+76CA, U+76CC-76D2, U+76D7, U+76DB, U+76DF, U+76E5-76E6, U+76E9, U+76EC,
    U+76F1-76F2, U+76FB-76FC, U+76FE, U+7704, U+7707, U+770A, U+7715, U+7719-771A, U+7722, U+7726, U+7729, U+772F,
    U+7734-7735, U+7737-773A, U+7740-7741, U+7746-7747, U+774A, U+774E, U+7750, U+775A-775B, U+7762-7763, U+7765-7766, U+7768-7769, U+776B,
    U+7779, U+777D, U+777F-7780, U+778B-778D, U+7791-7792, U+77A0, U+77A2, U+77A5, U+77A9-77AA, U+77AC-77AD, U+77B0, U+77B3,
    U+77B7, U+77BB, U+77BD, U+77BF, U+77CD, U+77D7, U+77DB-77DC, U+77DE, U+77E2-77E3, U+77E7, U+77E9, U+77EB,
    U+77EE, U+77F0-77F1, U+77F6, U+77FB-77FC, U+77FE-7800, U+7802, U+780C-780D, U+7811-7812, U+7814, U+7816, U+781A, U+7822,
    U+7825, U+7827, U+782D, U+782F-7830, U+783A-783B, U+783E, U+7840, U+784E, U+7855-7856, U+7859, U+785D, U+7860,
    U+786B-786C, U+786E, U+7887, U+788C-788E, U+7891, U+7897, U+789B, U+789F, U+78A3, U+78B0, U+78BE, U+78C1,
    U+78C5, U+78C8, U+78CA-78CB, U+78D0, U+78D4, U+78E5, U+78E8, U+78EC, U+78F4-78F7, U+78FB, U+7907, U+790C,
    U+791A-791B, U+7921, U+7927, U+7934, U+793C-793D, U+7940-7941, U+7945, U+7947-7948, U+794E;
}

@font-face {
  font-family: 'Cangci Discovery Serif';
  src: url('/static/assets/discover-serif-06.woff2?v=2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  unicode-range: U+7950, U+7953, U+7956-7957, U+795A-795D, U+7962, U+7965, U+7968, U+796D, U+796F, U+7972, U+7977-7978, U+797A,
    U+7980-7981, U+7984, U+7986, U+798A-798B, U+798F, U+79A7, U+79AB, U+79B3, U+79B9-79BA, U+79BD-79BE, U+79C1, U+79C3,
    U+79C9, U+79D1-79D2, U+79D5-79D6, U+79D8, U+79DF, U+79E3-79E4, U+79E7, U+79E9-79ED, U+79FD-79FE, U+7A02, U+7A0A-7A0E, U+7A14,
    U+7A17, U+7A1A-7A1B, U+7A20, U+7A33-7A34, U+7A37, U+7A3B-7A3D, U+7A3F, U+7A46, U+7A48-7A4A, U+7A51, U+7A57, U+7A6B,
    U+7A6E, U+7A70, U+7A74, U+7A76, U+7A79, U+7A7D, U+7A7F, U+7A81, U+7A83-7A85, U+7A88, U+7A8A, U+7A8C-7A8D,
    U+7A91-7A92, U+7A95-7A96, U+7A98, U+7A9C-7A9D, U+7A9F-7AA0, U+7AA3, U+7AA5-7AA6, U+7AA8, U+7AAD, U+7AB8, U+7ABF, U+7AC1,
    U+7AD1, U+7AD6, U+7AD9-7ADA, U+7ADE, U+7AE2-7AE3, U+7AE6, U+7AED-7AEE, U+7AFA, U+7AFD, U+7AFF, U+7B03-7B04, U+7B07-7B08,
    U+7B0B, U+7B0F, U+7B15, U+7B19, U+7B1B, U+7B1E, U+7B20, U+7B25-7B26, U+7B2B, U+7B2E-7B2F, U+7B33-7B34, U+7B38,
    U+7B3A, U+7B3C, U+7B3E, U+7B47-7B4C, U+7B4F-7B52, U+7B56, U+7B5A, U+7B5C-7B5D, U+7B60, U+7B65-7B66, U+7B69, U+7B6D-7B6F,
    U+7B71-7B73, U+7B75, U+7B79, U+7B7C, U+7B7E-7B80, U+7B84, U+7B8E, U+7B90-7B91, U+7B93-7B95, U+7B97-7B98, U+7B9C-7B9D, U+7BA0,
    U+7BA6-7BAD, U+7BAF, U+7BB1, U+7BB3-7BB4, U+7BB8, U+7BC1-7BC2, U+7BC6, U+7BC8, U+7BCC, U+7BD1, U+7BD8-7BDA, U+7BDD,
    U+7BE1, U+7BE5-7BE6, U+7BEA, U+7BEE, U+7BF1-7BF2, U+7BF4, U+7BF7, U+7BFD-7BFF, U+7C01, U+7C03, U+7C07, U+7C09,
    U+7C0C, U+7C0F, U+7C16, U+7C1F, U+7C26-7C27, U+7C2A, U+7C34, U+7C38, U+7C3F-7C41, U+7C4D, U+7C53, U+7C5E,
    U+7C6F, U+7C73-7C74, U+7C79, U+7C7B, U+7C83, U+7C89, U+7C92, U+7C95, U+7C97-7C98, U+7C9C-7C9D, U+7C9F, U+7CA4-7CA5,
    U+7CAA, U+7CAE, U+7CB1-7CB3, U+7CB9, U+7CBB-7CBD, U+7CC1, U+7CC5, U+7CC7-7CC8, U+7CCA, U+7CD5-7CD7, U+7CD9, U+7CDC,
    U+7CDF-7CE0, U+7CF3, U+7CF5, U+7CFB, U+7D22, U+7D27, U+7D2F, U+7D53, U+7D56, U+7D5C, U+7D6E, U+7D77,
    U+7D8D, U+7DA6, U+7DAE, U+7DB5, U+7DB7, U+7DCC, U+7DFA, U+7E06, U+7E20, U+7E22, U+7E3B, U+7E41,
    U+7E44, U+7E47, U+7E56-7E57, U+7E59, U+7E63, U+7E6B, U+7E82, U+7E91, U+7E9B, U+7EA0-7EA1, U+7EA3-7EA5, U+7EA7-7EB4,
    U+7EB6, U+7EB8-7EC5, U+7EC7, U+7EC9-7ECE, U+7ED0, U+7ED2, U+7ED4, U+7ED6, U+7ED8-7EDC, U+7EDE-7EE2, U+7EE4-7EEB, U+7EED-7EF0,
    U+7EF3-7EFE, U+7F00-7F01, U+7F03-7F0B, U+7F11-7F17, U+7F19-7F1D, U+7F1F-7F21, U+7F23-7F26, U+7F28-7F32, U+7F34-7F36, U+7F38, U+7F3A, U+7F42,
    U+7F44-7F45, U+7F4D, U+7F54-7F55, U+7F58, U+7F5A-7F5B, U+7F5D, U+7F5F, U+7F61, U+7F65, U+7F68-7F6A, U+7F6E, U+7F72-7F74,
    U+7F76, U+7F79, U+7F7B, U+7F7D-7F7E, U+7F81, U+7F83, U+7F87, U+7F8A, U+7F8C, U+7F94, U+7F96, U+7F9A,
    U+7F9D-7F9E, U+7FA1, U+7FAF, U+7FB2, U+7FB8-7FB9, U+7FBF-7FC0, U+7FC3, U+7FC5, U+7FCA, U+7FCC, U+7FCE, U+7FD4-7FD5,
    U+7FD8, U+7FDA-7FDB, U+7FDF, U+7FE1, U+7FE3, U+7FE5-7FE6, U+7FE9, U+7FEE, U+7FF0-7FF1, U+7FF3, U+7FFC, U+7FFE,
    U+8000, U+8003-8004, U+8006, U+800B, U+800D, U+8010-8012, U+8015, U+8017-8018, U+801C, U+801E, U+8026, U+8028,
    U+8030, U+8033, U+8036, U+8038, U+803B, U+803D, U+803F, U+8042-8043, U+8046, U+804B-804C, U+8052, U+8054,
    U+8058, U+805A, U+8069-806A, U+8071, U+807F, U+8083-8084, U+8086-8087, U+8089, U+808B-808C, U+8093, U+8096, U+8098,
    U+809A, U+809D, U+80A1-80A2, U+80A4-80A5, U+80A9-80AA, U+80AC, U+80AE, U+80B1-80B2, U+80B4, U+80B8, U+80BA, U+80BE-80BF,
    U+80C1, U+80C3-80C4, U+80C6, U+80CC, U+80CE-80CF, U+80D6, U+80DA, U+80DD-80DE, U+80E4-80E5, U+80E7, U+80EA-80EB, U+80ED,
    U+80EF, U+80F6, U+80F8, U+80FC, U+8101-8102, U+8106, U+8109-810A, U+810D, U+810F-8111, U+8114, U+811A, U+811E,
    U+8129, U+812F-8131, U+8138, U+813E, U+8146, U+814A-814B, U+8150-8151, U+8153-8155, U+8165, U+816D-8170, U+8174, U+8179,
    U+817B-817C, U+817E-817F, U+8182, U+8188, U+818A, U+818F, U+8191, U+819C-819D, U+81A2, U+81B0, U+81B3-81B4, U+81BA-81BB,
    U+81C2-81C3, U+81C6, U+81CA, U+81D2, U+81DB, U+81DD-81DE, U+81E7;
}

@font-face {
  font-family: 'Cangci Discovery Serif';
  src: url('/static/assets/discover-serif-07.woff2?v=2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  unicode-range: U+81EC-81ED, U+81F2, U+81F4, U+81FB-81FC, U+81FE-8202, U+8204-8206, U+820C, U+8210, U+8212, U+821B-821C, U+8220, U+8223,
    U+822A-822C, U+8230-8238, U+823B, U+8245, U+8247, U+824B, U+824E, U+8256, U+8258, U+825F, U+8268, U+826E,
    U+8270, U+8273, U+827A, U+827E, U+8283-8284, U+828A-828B, U+828D-828E, U+8292, U+8297, U+8299, U+829C-829D, U+829F,
    U+82A1, U+82A5-82A6, U+82A8, U+82AA-82AE, U+82B0, U+82B7-82B9, U+82BD-82BE, U+82C7, U+82CB-82CC, U+82CE, U+82D1-82D3, U+82D5,
    U+82D7, U+82DB-82DC, U+82DE-82DF, U+82E1-82E3, U+82EB, U+82F4, U+82F9, U+82FB, U+82FE, U+8301-8304, U+8306-8309, U+830E-830F,
    U+8311, U+8314-8315, U+8317, U+831C-831D, U+8327-8328, U+832D, U+832F, U+8331, U+8335, U+8338-8339, U+8340, U+8342-8347,
    U+834F, U+8351, U+8354, U+8359-835C, U+835E, U+8360, U+8363-8367, U+8369-836B, U+837B-837C, U+8382, U+8385-8386, U+8389,
    U+838B, U+838E, U+8392-8393, U+8398-8399, U+839E, U+83A0, U+83A9-83AA, U+83B0-83B1, U+83B3, U+83B7-83B9, U+83BC-83BD, U+83C0-83C1,
    U+83C5, U+83C7, U+83C9, U+83CC, U+83D1, U+83D4, U+83D6, U+83D8, U+83DC, U+83DF, U+83E1, U+83E9,
    U+83F0-83F2, U+83F4, U+83F9, U+83FC-83FD, U+8401, U+8403-8404, U+840B-840F, U+8411, U+841A, U+841D, U+8424-8426, U+8428,
    U+8431, U+8438-8439, U+843C, U+8446, U+8451, U+845A-845B, U+8461, U+8463, U+8469, U+846B-846D, U+8471, U+8473,
    U+8475, U+8479-847A, U+8482, U+8487, U+8489, U+848B-848C, U+849C, U+84A6, U+84A8, U+84AF, U+84B1-84B3, U+84B8-84BB,
    U+84BF, U+84C1-84C2, U+84C4, U+84C9-84CA, U+84CD, U+84CF-84D1, U+84D3, U+84D8, U+84DD, U+84DF-84E0, U+84E6, U+84FA,
    U+84FC, U+84FF-8500, U+850C, U+8511, U+8513-8514, U+8517, U+851A, U+8521, U+852B-852C, U+8537, U+853A-853D, U+8543,
    U+8548-854A, U+8556, U+8559, U+855E, U+8561, U+8563-8564, U+8568, U+8572, U+8574, U+857A, U+857E, U+8585,
    U+8587, U+858B, U+858F, U+8596, U+8599, U+859B-859D, U+85A0, U+85A4, U+85A7-85A8, U+85AA, U+85AE, U+85B0,
    U+85B6, U+85C1-85C2, U+85C9, U+85D0, U+85D3, U+85D5, U+85DC, U+85E4, U+85E9, U+85FB, U+85FE-85FF, U+8605,
    U+860B, U+8616, U+8624, U+8627, U+8629, U+8638, U+863C, U+8640, U+864F-8652, U+8654, U+8661-8662, U+8665,
    U+866B-866C, U+866E, U+8671, U+8679-867A, U+867E-8681, U+8683, U+868A-868D, U+868F, U+8693, U+8695, U+869D, U+86A4,
    U+86A9-86AA, U+86AC, U+86AF, U+86B1, U+86BA, U+86BF, U+86C4, U+86C6-86C7, U+86C9-86CA, U+86CE, U+86D1, U+86D9,
    U+86DF, U+86E4, U+86E9, U+86EC, U+86EE, U+86F0-86F1, U+86F3, U+86F8-86F9, U+86FE, U+8702-8703, U+8707, U+8709,
    U+870B, U+870D, U+8711-8713, U+8715, U+8717, U+871A, U+871C, U+871E, U+8721, U+8723, U+8725, U+8729,
    U+872E, U+8733-8734, U+8737, U+873A-873C, U+873F, U+8747, U+8749, U+874C, U+874E, U+8757, U+8759, U+8760,
    U+8763-8765, U+876E, U+8774, U+8779, U+877C, U+8780, U+8783, U+878A, U+878D, U+8793, U+8797-8798, U+87A3,
    U+87AB, U+87AD, U+87AF, U+87B3-87B4, U+87BA, U+87C0, U+87C6, U+87C9-87CB, U+87CF, U+87DB, U+87E0, U+87E2,
    U+87EA-87EB, U+87F9, U+87FE, U+8803, U+880B, U+8813, U+8816, U+881B, U+8821-8822, U+8832, U+8839, U+8840,
    U+8845, U+884D, U+8852, U+8854, U+8856-8857, U+8859, U+8861-8862, U+8865, U+8868-8869, U+886B-886C, U+886E, U+8871-8872,
    U+8877, U+887C-887F, U+8881-8882, U+8884-8886, U+8888, U+888B, U+888D, U+8892, U+889C-889D, U+88A4, U+88A8, U+88AA,
    U+88AD, U+88AF, U+88B4, U+88C0-88C2, U+88C5-88C6, U+88C8, U+88CC, U+88D3-88D5, U+88D8-88D9, U+88DB, U+88DF, U+88E4,
    U+88E8, U+88EF, U+88F2-88F4, U+88F8-88F9, U+88FC-88FE, U+8909, U+890B, U+8910, U+8912-8913, U+891A, U+8925-8926, U+892A-892B,
    U+892D, U+8930, U+8935-8937, U+893E, U+8941, U+8944, U+8946, U+894C, U+8955, U+895A, U+895C, U+895E-895F,
    U+8966, U+896B, U+8976, U+897C, U+8982-8983, U+8986, U+8989, U+89C4-89C8, U+89CA-89CC, U+89CF-89D1, U+89D6, U+89DA,
    U+89DC, U+89DE, U+89E5-89E6, U+89EB, U+89EE, U+89F1, U+89F3, U+8A07, U+8A1A, U+8A3E, U+8A44-8A45, U+8A48,
    U+8A5F, U+8A76, U+8A79, U+8A89-8A8A, U+8A93, U+8AE0, U+8B07, U+8B26, U+8B49, U+8B54, U+8B63, U+8B66,
    U+8B6C, U+8BA2-8BAF, U+8BB2-8BB7, U+8BB9, U+8BBC-8BBE, U+8BC0-8BC4, U+8BC7-8BC9, U+8BCB, U+8BCE-8BD2, U+8BD4, U+8BD8-8BDE;
}

@font-face {
  font-family: 'Cangci Discovery Serif';
  src: url('/static/assets/discover-serif-08.woff2?v=2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  unicode-range: U+8BDF-8BE7, U+8BE9, U+8BEB-8BEC, U+8BEE-8BF3, U+8BF5, U+8BF7, U+8BF9-8BFA, U+8BFC, U+8BFE, U+8C00, U+8C04-8C07, U+8C0A-8C17,
    U+8C19, U+8C1B-8C1C, U+8C1F-8C21, U+8C23-8C2A, U+8C2C-8C32, U+8C34-8C36, U+8C3A, U+8C3D, U+8C3F-8C41, U+8C46, U+8C49, U+8C4B-8C4C,
    U+8C55, U+8C57, U+8C5A, U+8C61-8C62, U+8C6A-8C6B, U+8C6D, U+8C73, U+8C78-8C7A, U+8C82, U+8C85, U+8C89, U+8C8C,
    U+8C90, U+8C94, U+8CE8, U+8D1D-8D1E, U+8D21-8D23, U+8D25-8D2A, U+8D2C-8D34, U+8D36-8D41, U+8D43-8D44, U+8D46, U+8D48-8D4A, U+8D4C-8D4E,
    U+8D50-8D53, U+8D56, U+8D58, U+8D5A-8D5C, U+8D5E, U+8D61-8D63, U+8D66-8D67, U+8D69-8D6B, U+8D6D, U+8D73, U+8D76, U+8D81,
    U+8D84-8D85, U+8D8B, U+8D8D, U+8D91, U+8D96, U+8DA0, U+8DA3, U+8DAB, U+8DB1, U+8DB5, U+8DBA, U+8DBC,
    U+8DBE, U+8DC2-8DC4, U+8DC6, U+8DCB-8DCC, U+8DCE-8DCF, U+8DD1, U+8DD5-8DD7, U+8DDA-8DDB, U+8DDD-8DDE, U+8DE3, U+8DE7-8DE8, U+8DEA-8DEC,
    U+8DF3, U+8DF5, U+8DF8-8DF9, U+8DFB-8DFD, U+8E06, U+8E09-8E0A, U+8E0C, U+8E14, U+8E18, U+8E1D-8E20, U+8E22-8E23, U+8E25,
    U+8E2A, U+8E2C, U+8E2F, U+8E35, U+8E3D, U+8E40-8E42, U+8E44-8E45, U+8E47-8E4B, U+8E50-8E52, U+8E59, U+8E61, U+8E6C-8E6D,
    U+8E70, U+8E72, U+8E74, U+8E76, U+8E81, U+8E85, U+8E87, U+8E8F-8E90, U+8E94, U+8E9E, U+8EA3, U+8EA9,
    U+8EAC-8EAD, U+8EAF, U+8EB2, U+8EF7, U+8F00, U+8F18, U+8F20, U+8F53, U+8F65, U+8F67-8F68, U+8F6A-8F6B, U+8F6D-8F70,
    U+8F72-8F74, U+8F76, U+8F78-8F7A, U+8F7C, U+8F7E-8F80, U+8F82-8F8B, U+8F8D-8F91, U+8F93-8F9C, U+8F9F, U+8FA3, U+8FA8-8FA9, U+8FAB,
    U+8FB0-8FB1, U+8FBD-8FBE, U+8FC1-8FC2, U+8FC4-8FC5, U+8FC8, U+8FCD, U+8FD0, U+8FD3-8FD5, U+8FDB, U+8FDD, U+8FE2, U+8FE4-8FE6,
    U+8FE8-8FEB, U+8FED, U+8FF0, U+8FF3, U+8FF8, U+8FFC, U+9000, U+9002-9006, U+900A-900D, U+900F, U+9011-9012, U+9014,
    U+9016-9017, U+901D-9021, U+9024, U+9026, U+902D-902E, U+9035-9036, U+9038, U+903B-903C, U+903E, U+9041-9042, U+9044, U+904C,
    U+904F-9052, U+9058, U+905D, U+9068, U+906B, U+906D-906E, U+9075-9076, U+907D, U+907F-9080, U+9082-9083, U+9085, U+9088,
    U+9091, U+9093, U+9095, U+9097, U+9099, U+909B, U+90A0, U+90A2, U+90A6, U+90AA, U+90AE-90AF, U+90B1,
    U+90B3-90B5, U+90B8-90BA, U+90BD, U+90C4-90C5, U+90C7, U+90D1, U+90D7, U+90DB, U+90DD, U+90E1-90E2, U+90E4, U+90E7-90E8,
    U+90EA-90EB, U+90F4, U+90F8, U+90FE-90FF, U+9102, U+9118-9119, U+911B-911C, U+911E, U+9120, U+9123, U+9131, U+9142-9143,
    U+9146, U+9149-914E, U+9156-9157, U+915D, U+9161-9166, U+9169-916A, U+9171-9172, U+9174, U+9177-917A, U+917D-917F, U+9181, U+9185-9187,
    U+918A-918B, U+918D, U+9190-9191, U+91A2, U+91A8, U+91AA, U+91AE-91B0, U+91B3-91B5, U+91BA, U+91BD-91BF, U+91CA, U+91CF-91D0,
    U+91DC, U+91ED, U+924F, U+9274, U+92AE, U+92CB, U+92D7, U+930D, U+934A, U+9367, U+936A, U+9397,
    U+93C1, U+93D6, U+93EC, U+946B, U+9488-9489, U+948F, U+9496-9497, U+949A, U+949C-949D, U+94A2, U+94A4-94A7, U+94A9,
    U+94AD, U+94B2-94B5, U+94BA-94BB, U+94BF, U+94C1, U+94C3-94C5, U+94C9, U+94CD-94CF, U+94D2-94D3, U+94D7, U+94D9, U+94DB-94DD,
    U+94E0, U+94E2, U+94E6, U+94E8-94E9, U+94EB, U+94ED-94EE, U+94F2, U+94F8, U+94FA, U+94FE-9501, U+9504-9505, U+9508-9509,
    U+950B, U+9510, U+9519, U+951C, U+9521-9525, U+952D, U+952F, U+9531, U+9535, U+9537-9538, U+953A-953C, U+9542,
    U+9547-954A, U+954C, U+9550, U+9552, U+9555, U+955B, U+955D-955E, U+9561-9562, U+956A-956C, U+956E-9570, U+9573-9575, U+9592,
    U+959F, U+95A4, U+95A7, U+95C7, U+95EA, U+95EC-95ED, U+95EF-95F1, U+95F3, U+95F5, U+95F7-95FA, U+95FC-95FE, U+9600,
    U+9602-9607, U+9609-960F;
}

@font-face {
  font-family: 'Cangci Discovery Serif';
  src: url('/static/assets/discover-serif-09.woff2?v=2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  unicode-range: U+9610, U+9612-9617, U+961B-961C, U+961F, U+9621, U+9628, U+962A, U+962E, U+9630-9632, U+9635, U+963B, U+963D,
    U+963F-9640, U+9642, U+9644-9647, U+9649, U+964B-964D, U+9650, U+9654-9655, U+965B-965C, U+965F, U+9661, U+9668-966C, U+9672,
    U+9676-9677, U+9684-9686, U+9688, U+968B, U+968D, U+9697-9699, U+969C, U+96A7, U+96A9, U+96B0, U+96B3, U+96B6,
    U+96BC-96BD, U+96C0, U+96C5, U+96C7, U+96C9-96CA, U+96CC-96CF, U+96D2, U+96D5, U+96D8, U+96E0, U+96E9, U+96F0-96F1,
    U+96F3, U+96F9, U+9700-9702, U+9704-9709, U+970D-970F, U+9713, U+9716, U+9719, U+971D, U+9720-9721, U+9724, U+972A,
    U+972D, U+9730, U+9736, U+9738-9739, U+973E, U+9753, U+9756, U+9758, U+975B, U+9760-9761, U+9765, U+9769,
    U+976B, U+9773-9774, U+9777-9778, U+9785, U+978B, U+978D, U+9793, U+9798, U+979A, U+979E, U+97A0, U+97A6,
    U+97AB, U+97AD-97AF, U+97B2, U+97B5-97B6, U+97BF, U+97C2, U+97C6, U+97CE, U+97D0, U+97D8, U+97E6, U+97E8-97ED,
    U+97F6, U+980B, U+9816, U+9829, U+9833, U+9851, U+9876-9877, U+9879-987A, U+987D, U+987F-9881, U+9883-988A, U+988D-9890,
    U+9892-9894, U+9896-9897, U+9899, U+989D, U+98A0-98A4, U+98A6-98A7, U+98C2, U+98CF, U+98D2-98D7, U+98D9-98DA, U+98E1, U+98E7-98E8,
    U+990D, U+9910, U+9929, U+992E, U+9954-9955, U+9964-9967, U+996A-996D, U+996F-9972, U+9974-9977, U+997C, U+997F, U+9981-9982,
    U+9985, U+9988, U+998B-998C, U+998F-9991, U+9994, U+9997-9998, U+999E, U+99A5, U+99A8, U+99B2, U+99EC, U+9A00,
    U+9A15, U+9A54, U+9A69, U+9A6D-9A82, U+9A84-9A88, U+9A8A-9A8C, U+9A8E-9A90, U+9A93, U+9A95-9A96, U+9A98-9A9B, U+9A9D-9A9E, U+9AA0-9AA2,
    U+9AA4-9AA7, U+9AAD, U+9AB0, U+9AB8-9AB9, U+9ABC, U+9AC0, U+9AC5, U+9AC7, U+9ACB, U+9AD1, U+9AD3, U+9AE0-9AE1,
    U+9AE3, U+9AE6, U+9AEA-9AEB, U+9AED, U+9AEF, U+9AF4, U+9AF9, U+9AFB, U+9AFD, U+9B03, U+9B05, U+9B08,
    U+9B10-9B12, U+9B17-9B19, U+9B1F, U+9B23, U+9B28, U+9B2F, U+9B32, U+9B3B-9B3C, U+9B41, U+9B43-9B45, U+9B47-9B49, U+9B4D,
    U+9B4F, U+9B51, U+9B54, U+9B6B, U+9BC8, U+9C4F, U+9C53, U+9C60, U+9C80-9C82, U+9C88, U+9C8A-9C8B, U+9C8D,
    U+9C91, U+9C94, U+9C97, U+9C99, U+9C9B-9C9C, U+9CA0, U+9CA4, U+9CA7, U+9CA9, U+9CAB, U+9CAD, U+9CB0,
    U+9CB2, U+9CB5, U+9CB8, U+9CBB, U+9CC0, U+9CC3-9CC5, U+9CCA, U+9CCC-9CCD, U+9CCF, U+9CD6-9CD7, U+9CD9, U+9CDC-9CDE,
    U+9CE3, U+9D02, U+9D08, U+9D39, U+9D8B, U+9D92, U+9D97, U+9DA2, U+9DC3, U+9DC7, U+9DD5, U+9DFE,
    U+9E02, U+9E10, U+9E12, U+9E20, U+9E22, U+9E24, U+9E26, U+9E29-9E2A, U+9E2C-9E33, U+9E36-9E3A, U+9E3D-9E3E, U+9E41-9E4A,
    U+9E4C-9E4F, U+9E51, U+9E53-9E54, U+9E56-9E5A, U+9E5C, U+9E60-9E63, U+9E65-9E67, U+9E69-9E6B, U+9E6D, U+9E6F-9E70, U+9E73-9E74, U+9E7E-9E7F,
    U+9E83-9E84, U+9E87-9E88, U+9E8B, U+9E91-9E93, U+9E9D, U+9E9F, U+9EA4, U+9EA6, U+9EB0, U+9EB8-9EB9, U+9EBB, U+9EBE,
    U+9EC1, U+9EC9-9ECA, U+9ECD-9ECF, U+9ED1, U+9ED4, U+9ED8, U+9EDB-9EDD, U+9EDF-9EE0, U+9EE5, U+9EE9, U+9EEE-9EEF, U+9EFB-9EFC,
    U+9EFE, U+9F0B-9F0E, U+9F10, U+9F17, U+9F19, U+9F20, U+9F22, U+9F2A, U+9F2F, U+9F37, U+9F39, U+9F3B,
    U+9F3E, U+9F4C, U+9F51, U+9F7F-9F81, U+9F83-9F84, U+9F86, U+9F88-9F8A, U+9F8C, U+9F9A-9F9B, U+9F9F-9FA0, U+FA0C, U+FF0A,
    U+FF0E, U+FF1A-FF1C, U+FF1E, U+23E23, U+26221, U+2A8FB, U+2AA58, U+2B128, U+2B138, U+2B4E7, U+2B50E, U+2B536,
    U+2B5AE-2B5AF, U+2B61D, U+2B627-2B628, U+2BB83, U+2BD87, U+2BE29, U+2C1F9, U+2C2A4, U+2C618, U+2C621, U+2C64B, U+2C7FD,
    U+2CA0E, U+2CAA9, U+2CB2E, U+2CB41, U+2CBB1, U+2CBCE, U+2CD02, U+2CD0A, U+2CD8D, U+2CE1A, U+2CE23, U+2CE26;
}

/* Use the smaller subset for the initial discovery headings and default recommendations. */
@font-face {
  font-family: 'Cangci Discovery Serif';
  src: url('/static/assets/discover-serif-home.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  unicode-range: U+0020-007E, U+00B7, U+3001-3002, U+4E00, U+4E03, U+4E09-4E0B, U+4E0D-4E0E, U+4E14-4E15, U+4E1C, U+4E2D, U+4E34, U+4E3A,
    U+4E3E, U+4E4B, U+4E5D, U+4E61, U+4E86, U+4E8C, U+4E94, U+4EA6, U+4EAD, U+4EB2, U+4EBA, U+4ECA,
    U+4EE4, U+4EFB, U+4EFD, U+4F46, U+4F4E, U+4F5B-4F5C, U+4F60, U+5012, U+508D, U+5149, U+516B, U+516D-516E,
    U+5171, U+5176, U+517C, U+51B7, U+51FA, U+522B, U+5230, U+524D, U+5316-5317, U+5341, U+5343, U+5357,
    U+5371, U+53BB, U+53D1, U+53DF, U+53E3, U+53E5, U+53EF-53F0, U+540C-540D, U+5411, U+542C, U+548C, U+548F,
    U+557C, U+56DB, U+56DE, U+56FD, U+5706, U+5728, U+5730, U+5750, U+575F, U+5782, U+5802, U+58F0,
    U+5904, U+590D, U+5916, U+591A, U+591C, U+5927, U+5929, U+5934, U+5947, U+5987, U+5B50, U+5B57,
    U+5B89, U+5BB6, U+5BBF, U+5BD2, U+5BE1, U+5BFA-5BFB, U+5C0F, U+5C11, U+5C18, U+5C3A, U+5C3D, U+5C71,
    U+5DCD, U+5DF2, U+5E8A, U+5E93-5E94, U+5F00, U+5F04, U+5F52-5F53, U+5F71, U+5F85, U+5FA1, U+5FAE, U+5FC3,
    U+5FD7, U+5FFD, U+6000, U+600E, U+601D, U+604B, U+6050, U+60C5, U+60CA, U+60F3, U+610F, U+620F-6211,
    U+6237, U+6240, U+624B, U+6276, U+6298, U+63A0, U+63A8, U+63B7, U+6545, U+6562, U+65B9, U+65E0,
    U+65E5, U+65F6, U+660E, U+661F, U+6625, U+6628, U+662F, U+6653, U+6674, U+6696, U+66F2, U+66F4,
    U+66F9, U+6708-6709, U+671B, U+671D, U+6751, U+6765, U+6768, U+677E, U+6795, U+6797, U+679D, U+67CF,
    U+67D3, U+67F3, U+6811, U+6837, U+6839, U+6865, U+68A6, U+68EE, U+697C, U+6B32, U+6B4C, U+6B62,
    U+6B8B, U+6C34, U+6C5F-6C60, U+6C99, U+6CB3, U+6CC9, U+6CE2, U+6CE5, U+6D6E, U+6D77, U+6DF1, U+6E05,
    U+6E9C, U+6EAA, U+6EE1, U+70B9, U+70DF, U+7136, U+7167, U+71D5, U+7231, U+7256, U+725B, U+73A0,
    U+73B0, U+751F, U+753B, U+7591, U+767D-767E, U+7684, U+7686, U+76F4, U+76F8, U+770B, U+7720, U+7761,
    U+77E5, U+77F3, U+79BB, U+79CB, U+7A7A, U+7A97, U+7ACB, U+7AE5, U+7AF9, U+7B54, U+7B5B, U+7D20,
    U+7EA2, U+7ED5, U+7EDD, U+7EFF, U+7F51, U+7FFB, U+81EA, U+8272, U+82B1, U+82E6, U+8336, U+8349,
    U+8350, U+83AB, U+83B2, U+83BA, U+843D, U+85CF, U+86DB, U+8718, U+8776, U+884C, U+88AB, U+88B7,
    U+897F, U+8981, U+89C1, U+89C9, U+89E3, U+8A00, U+8BCD, U+8BD7, U+8BED, U+8BFB, U+8D77, U+8DEF,
    U+8EAB, U+8FD1, U+8FD8-8FD9, U+8FDC, U+8FDF, U+8FF9, U+9001, U+9009, U+9053, U+9057, U+9065, U+90C1,
    U+91C7, U+91CC-91CE, U+91D1, U+95EE, U+95F2, U+95FB, U+9636, U+968F, U+96E8, U+96EA, U+971C, U+9752,
    U+9759, U+9882, U+9898, U+98CE, U+98D0, U+98DE, U+9996, U+9999, U+9A91, U+9AD8, U+9C7C, U+9E1F,
    U+9E21, U+9E23, U+9EC4, U+FF08-FF09, U+FF0C, U+FF1F;
}

body.discovery-screen {
  --discover-serif: 'Cangci Discovery Serif', 'Songti SC', 'Noto Serif CJK SC', STSong, SimSun, serif;
}

.discovery-screen #discovery-workspace {
  gap: 16px;
}

.discovery-screen #filter-sidebar {
  border-color: #e8dfcc;
  background: linear-gradient(#fcf9f0, #f8f3e7);
}

.discovery-screen #filter-sidebar h2,
.discovery-screen #discovery-hero h1,
.discovery-screen .result-heading-main h2,
.discovery-screen .poem-card h3,
.discovery-screen .poem-card .poem-text {
  font-family: var(--discover-serif);
  font-weight: 400;
  font-synthesis: none;
  color: #263a26;
}

.discovery-screen #filter-sidebar h2 {
  margin-bottom: 13px;
  letter-spacing: .045em;
}

.discovery-screen #filter-sidebar label {
  color: #514c3e;
}

.discovery-screen .sidebar-landscape {
  background:
    linear-gradient(#f8f3e7, transparent 65%),
    url('/static/assets/discover-card-illustrations.webp') 0 100% / 300% 200% no-repeat;
}

.discovery-screen #discover-panel #discovery-hero {
  padding: 11px 25px 9px;
  border: 1px solid #eee5cf;
  border-radius: 13px;
  background:
    linear-gradient(90deg, #fbf5e9e8 0%, #fbf5e9c4 38%, #fbf5e92b 74%, #fbf5e900),
    #f5eddb url('/static/assets/discover-lakeside.webp') center 61% / cover no-repeat;
  box-shadow: none;
}

.discovery-screen #discovery-hero::before {
  content: none;
}

.discovery-screen #discover-panel #discovery-hero h1 {
  margin: 1px 0 4px;
  font-size: clamp(24px, 2.05vw, 32px);
  line-height: 1.38;
  letter-spacing: .065em;
}

.discovery-screen #discovery-hero .hero-copy > p {
  color: #635b46;
  font-size: 12px;
  margin-bottom: 6px;
}

.discovery-screen #discovery-hero .emotion-search {
  max-width: 830px;
}

.discovery-screen #discovery-hero .emotion-search-row {
  padding-block: 2px;
  background: #fffdf7ef;
  border-color: #e5dac0;
}

.discovery-screen #discovery-hero .emotion-examples button {
  background: #fbf7e8ec;
  border-color: #e9dec5;
  color: #545538;
}

.discovery-screen #discover-panel > .section-heading {
  margin: 11px 4px 4px;
}

.discovery-screen .result-heading-main h2 {
  font-size: clamp(21px, 1.8vw, 28px);
  letter-spacing: .04em;
}

.discovery-screen #discover-panel .active-filters {
  margin: 0 4px 11px;
  padding-bottom: 8px;
  border-color: #e8dfcf;
}

.discovery-screen #discover-panel .filter-label {
  background: #efecdb;
  color: #4c563e;
  border-color: transparent;
}

.discovery-screen #discover-panel .poem-grid {
  gap: 16px;
  margin-inline: 4px 0;
}

.discovery-screen .poem-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: 6px;
  min-height: 240px;
  padding: 11px 22px 13px;
  border-color: #e8decc;
  border-radius: 15px;
  background: linear-gradient(130deg, #fdfaf3, #f8f2e5);
  box-shadow: 0 3px 12px #67553b0c;
}

.discovery-screen .poem-card::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 29px;
  right: -7px;
  left: auto;
  bottom: auto;
  width: min(37%, 132px);
  height: auto;
  aspect-ratio: 1;
  border: 0;
  border-radius: 0;
  background: url('/static/assets/discover-card-illustrations.webp') 0 0 / 300% 200% no-repeat;
  opacity: .68;
  pointer-events: none;
}

.discovery-screen .poem-card:nth-child(6n + 2)::before { background-position: 50% 0; }
.discovery-screen .poem-card:nth-child(6n + 3)::before { background-position: 100% 0; }
.discovery-screen .poem-card:nth-child(6n + 4)::before { background-position: 0 100%; }
.discovery-screen .poem-card:nth-child(6n + 5)::before { background-position: 50% 100%; }
.discovery-screen .poem-card:nth-child(6n + 6)::before { background-position: 100% 100%; }

.discovery-screen .poem-card .card-main {
  min-height: 0;
}

.discovery-screen .poem-card .card-kicker {
  color: #716d5c;
  margin-bottom: 2px;
  line-height: 1.5;
}

.discovery-screen .poem-card .card-grade {
  color: #765c33;
  background: #f5ebd4;
}

.discovery-screen .poem-card h3 {
  margin-bottom: 3px;
  font-size: clamp(21px, 1.65vw, 25px);
  line-height: 1.37;
  letter-spacing: .045em;
  overflow-wrap: anywhere;
}

.discovery-screen .poem-card .author {
  color: #695f4e;
  margin-bottom: 5px;
  border-color: #e8decc;
}

.discovery-screen .poem-card .poem-text {
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: .035em;
  white-space: normal;
  background: none;
}

.discovery-screen .poem-card .tags {
  gap: 4px 6px;
  margin-bottom: 5px;
}

.discovery-screen .poem-card .reason {
  color: #6f6d5d;
}

.discovery-screen .poem-card .card-action {
  margin-top: 7px;
}

.discovery-screen .poem-card .read-button {
  border-color: #dfd1b7;
  color: #51553d;
  background: #fcf8ed;
}

/* Poetry library */
.library-screen #discover-panel > .section-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  min-height: var(--page-banner-height);
  padding: 24px 36px;
  margin: 0;
  border: 1px solid #e5d9bd;
  border-radius: 14px;
  background:
    linear-gradient(90deg, #fbf5e7 3%, #fbf5e7ee 24%, #fbf5e74f 50%, transparent 80%),
    #f5eddb url('/static/assets/library-riverside.webp') right 54% / cover no-repeat;
}

.library-screen .result-heading-main h2 {
  margin: 0;
  color: #2b432e;
  font: 400 clamp(32px, 3vw, 45px)/1.12 var(--page-title-serif);
  font-synthesis: none;
  letter-spacing: .12em;
}

.library-screen .result-heading-main .leaf-mark {
  align-self: center;
  margin-inline-end: 4px;
  color: #7e8e65;
  font-size: .6em;
}

.library-screen #discover-panel .result-actions {
  justify-content: flex-start;
  max-width: 100%;
  gap: 9px 13px;
  flex-wrap: wrap;
  color: #555849;
}

.library-screen #result-count {
  color: #555849;
  font-size: 13px;
}

.library-screen .result-actions .text-button {
  padding: 3px 8px;
  border: 1px solid #e4d7bb;
  border-radius: 6px;
  background: #fffbefad;
  color: #496144;
}

.library-screen .result-actions .text-button:hover {
  background: #f0eddc;
}

.library-screen .library-controls {
  gap: 12px;
  padding: 15px 17px 13px;
  margin: 16px 0 17px;
  border-color: #e6dfce;
  background: linear-gradient(120deg, #fffdf7, #f8f6eb);
}

.library-dynasty-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.library-filter-label {
  flex: none;
  color: #5c644d;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.library-dynasty-row > .library-filter-label {
  padding-block: 7px;
}

.library-screen .library-dynasties {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px;
}

.library-screen .library-dynasties button {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  padding: 5px 9px;
  border-color: #e8e1cf;
  border-radius: 6px;
  color: #3d513a;
  font-size: 12px;
}

.library-screen .library-category-count {
  margin: 0;
  font-size: 10px;
  color: #5a644f;
  opacity: 1;
}

.library-screen .library-dynasties button[aria-pressed="true"] {
  border-color: #3e5940;
  background: #3e5940;
  color: #fffdf3;
}

.library-screen button[aria-pressed="true"] > .library-category-count {
  color: #efefdc;
}

.library-screen .library-filter-row {
  gap: 10px 20px;
  padding-top: 12px;
  border-top: 1px solid #ece5d5;
}

.library-screen .library-authors {
  gap: 7px 12px;
}

.library-screen .library-authors select {
  width: auto;
  min-width: 118px;
  max-width: min(100%, 184px);
  min-height: 38px;
  border-color: #e1dfce;
}

.library-screen .library-author-links button {
  border-color: #e3e5d4;
  background: #f1f2e7;
  font-size: 12px;
}

.library-screen .library-author-links button[aria-pressed="true"] {
  border-color: #92a380;
  background: #e1e8d4;
}

.library-screen .library-search {
  width: min(100%, 388px);
}

.library-screen .library-search input,
.library-screen .library-search button {
  min-height: 38px;
  padding-block: 6px;
}

.library-screen .poem-grid {
  gap: 15px;
}

.library-screen .poem-card {
  position: relative;
  padding: 16px 20px 15px;
  border-color: #e5dfcf;
  border-radius: 12px;
  background: linear-gradient(155deg, #fffdf7 35%, #f8f5e9);
  box-shadow: 0 3px 10px #554a2f0b;
}

.library-screen .poem-card::before {
  content: '';
  top: 0;
  left: 20px;
  width: 32px;
  height: 2px;
  border: 0;
  border-radius: 0 0 2px 2px;
  background: #a78554;
  opacity: .7;
}

.library-screen .card-main {
  min-height: 181px;
}

.library-screen .poem-card .card-kicker {
  margin-bottom: 5px;
  color: #676958;
  font-size: 10px;
}

.library-screen .poem-card .card-grade {
  background: #f3ebd7;
  color: #735d37;
}

.library-screen .poem-card h3 {
  margin-bottom: 4px;
  color: #304632;
  font-size: clamp(18px, 1.55vw, 23px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .025em;
}

.library-screen .poem-card .author {
  margin-bottom: 7px;
  color: #6a604f;
}

.library-screen .poem-card .poem-text {
  margin-bottom: 7px;
  color: #45483a;
  font-size: 14px;
  line-height: 1.75;
}

.library-screen .poem-card .tags {
  margin-bottom: 0;
}

.library-screen .poem-card .tag {
  font-size: 11px;
  color: #625c44;
}

.library-screen .poem-card .tag.library-emotion {
  color: #3e563a;
}

.library-screen .poem-card .card-action {
  margin-top: auto;
  padding-top: 13px;
}

.library-screen .poem-card .read-button {
  border-color: #e0d5bb;
  color: #435840;
}

@media (max-width: 1100px) {
  .library-screen .library-dynasties { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .library-screen #discover-panel > .section-heading {
    padding: 17px;
    background:
      linear-gradient(90deg, #fbf5e7 3%, #fbf5e7ed 34%, #fbf5e74f 76%),
      #f5eddb url('/static/assets/library-riverside.webp') right 54% / cover no-repeat;
  }
  .library-screen .library-controls { padding: 12px; margin-block: 12px; }
  .library-dynasty-row { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .library-dynasty-row > .library-filter-label { padding-block: 0; }
  .library-screen .library-dynasties { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .library-screen .library-dynasties button { padding-inline: 7px; }
  .library-screen .library-search { width: 100%; }
  .library-screen .poem-grid { gap: 11px; }
  .library-screen .poem-card { padding: 14px 15px; }
  .library-screen .card-main { min-height: 0; }
}

@media (max-width: 360px) {
  .library-screen .library-dynasties { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .discovery-screen #discovery-workspace {
    grid-template-columns: 192px minmax(0, 1fr);
  }

  .discovery-screen #filter-sidebar {
    min-height: 720px;
  }

  .discovery-screen #filter-sidebar select {
    padding-block: 7px;
  }

  .discovery-screen #filter-sidebar #recommend {
    padding-block: 9px;
  }

}

@media (max-width: 760px) {
  .discovery-screen #discovery-workspace {
    gap: 13px;
  }

  .discovery-screen #discover-panel #discovery-hero {
    padding: 14px;
    background-position: 62% 60%;
  }

  .discovery-screen #discover-panel #discovery-hero h1 {
    max-width: none;
    font-size: 24px;
    letter-spacing: .025em;
  }

  .discovery-screen #discover-panel .poem-grid {
    margin-inline: 0;
    gap: 12px;
  }

  .discovery-screen .poem-card {
    min-height: 0;
    padding-inline: 16px;
  }

  .discovery-screen .poem-card::before {
    opacity: .5;
  }
}

@font-face {
  font-family: 'Cangci Page Titles';
  src: url('/static/assets/page-titles.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
}

/* Shared frame and insets for the main navigation pages. */
:root {
  --site-gutter: clamp(8px, 2vw, 24px);
  --site-width: min(1440px, calc(100% - 2 * var(--site-gutter)));
  --page-gutter: clamp(12px, 1.7vw, 24px);
  --page-top: clamp(12px, 1.45vw, 20px);
  --page-banner-height: 162px;
  --page-title-serif: 'Cangci Page Titles', 'Songti SC', 'Noto Serif CJK SC', SimSun, serif;
}

html { scrollbar-gutter: stable; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.site-intro {
  width: var(--site-width);
  max-width: none;
  padding-inline: var(--page-gutter);
}

.app-shell {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  width: var(--site-width);
  max-width: none;
  margin: 0 auto var(--site-gutter);
}

.app-shell > :is(.workspace, .study-page, .review-page) {
  width: 100%;
  padding: var(--page-top) var(--page-gutter) 22px;
}

.app-shell > .study-page { padding-top: 0; }

.app-shell > .site-footer {
  margin-top: auto;
  margin-inline: var(--page-gutter);
}

.review-goal-bar { --page-illustration: url('/static/assets/review-mountain-path.webp'); }
.collection-banner { --page-illustration: url('/static/assets/collection-bamboo-books.webp'); }

.review-goal-bar,
.collection-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  min-height: var(--page-banner-height);
  padding: 19px clamp(16px, 2.6vw, 36px);
  margin-bottom: 16px;
  border: 1px solid #e5d9bd;
  border-radius: 14px;
  background:
    linear-gradient(90deg, #fbf5e7 3%, #fbf5e7ef 26%, #fbf5e748 63%, transparent 85%),
    #f5eddb var(--page-illustration) right 67% / cover no-repeat;
}

.review-goal-bar { background-position: 0 0, right 54%; }

.review-goal-title-row h1,
.collection-banner h1 {
  margin: 0;
  color: #2d4731;
  font: 400 clamp(30px, 3vw, 43px)/1.13 var(--page-title-serif);
  font-synthesis: none;
  letter-spacing: .085em;
}

.collection-banner .collection-tabs {
  gap: 5px;
  padding: 3px;
  margin: 0;
  border: 1px solid #e3d7bd;
  border-radius: 9px;
  background: #fffaf0cf;
}

.collection-banner .collection-tabs button {
  padding: 5px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #535b46;
  white-space: nowrap;
}

.collection-banner .collection-tabs button:hover { background: #f1edde; }

.collection-banner .collection-tabs button.selected {
  border-color: #5b7654;
  background: #4a6544;
  color: #fffdf4;
}

.collection-panel :is(.task-list, .history-list) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  align-items: start;
}

.collection-panel :is(.task-list, .history-list) > .empty { grid-column: 1 / -1; }

.collection-panel :is(.task-card, .history-card, .stat) {
  min-width: 0;
  padding: clamp(14px, 1.7vw, 21px);
  border: 1px solid #e5decb;
  border-radius: 12px;
  background: linear-gradient(150deg, #fffef9 45%, #f9f6eb);
  box-shadow: 0 3px 12px #5b52350a;
}

.collection-panel .task-top { align-items: flex-start; }

.collection-panel .task-top > div { min-width: 0; }

.collection-panel .task-card h3 {
  color: #304932;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.collection-panel .task-meta { gap: 4px 12px; margin-block: 12px; color: #5d6554; }

.collection-panel .task-actions { gap: 7px 14px; }

.collection-panel .task-actions .text-button { color: #536948; }

.collection-panel .task-card pre { overflow-wrap: anywhere; }

.collection-panel .stats { gap: 12px; margin-block: 0 12px; }

.collection-panel .history-card { overflow-wrap: anywhere; }

@media (max-width: 760px) {
  :root { --page-banner-height: 139px; }

  .review-goal-bar,
  .collection-banner {
    gap: 10px;
    margin-bottom: 12px;
    background-image:
      linear-gradient(90deg, #fbf5e7 2%, #fbf5e7ed 46%, #fbf5e789 90%),
      var(--page-illustration);
  }

  .collection-panel :is(.task-list, .history-list) { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .collection-panel .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
}
