:root{color-scheme:light;--navy:#132d49;--ink:#213449;--muted:#5f7183;--line:#dbe3eb;--paper:#fff;--canvas:#f4f7fa;--blue:#245f91;--wash:#e9f1f8;--teal:#1a6c6c;--notice:#796132;--notice-bg:#fbf7ed;font-family:system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;font-synthesis:none;font-size:1rem}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);line-height:1.75}button,input{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}a{color:var(--blue);text-underline-offset:3px}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #cc9235;outline-offset:3px}button:disabled{cursor:default}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;left:18px;top:-70px;padding:8px 15px;background:#fff;z-index:10}.skip-link:focus{top:8px}.topbar{height:76px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:20px;position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-size:1.12rem;letter-spacing:.03em}.brand strong{font-weight:500}.brand-divider{color:#8aa3bc;margin:0 7px}.brand-mark{display:grid;place-items:center;border:1px solid #7d98b2;border-radius:8px;width:37px;height:37px;font-size:1.05rem;font-weight:600}.edition{font-size:0.875rem;color:#b9cada;white-space:nowrap}.workspace{display:grid;grid-template-columns:264px minmax(0,1fr);max-width:1540px;margin:auto;min-height:calc(100vh - 76px)}.sidebar{background:#fff;border-right:1px solid var(--line);padding:27px 20px 20px;position:sticky;top:76px;height:calc(100vh - 76px);overflow-y:auto;scrollbar-width:thin}.nav-label,.index-head h2{font-size:0.875rem;font-weight:600;margin:0 0 12px;color:var(--muted);letter-spacing:.04em}.category-link{display:flex;justify-content:space-between;align-items:center;gap:8px;text-decoration:none;color:var(--ink);padding:10px 12px;margin:3px 0;border-radius:6px;font-size:0.94rem}.category-link:hover{background:#f4f7fa}.category-link[aria-current=page]{background:var(--wash);color:var(--navy);font-weight:650;box-shadow:inset 3px 0 #285f8c}.nav-count{font-size:0.875rem;min-width:25px;text-align:right;color:var(--muted);font-variant-numeric:tabular-nums}.topic-link{margin-top:16px;border:1px solid var(--line);color:var(--teal);font-weight:600;align-items:flex-start}.topic-link span:last-child{font-size:1.2rem;line-height:1.4}.index-head{display:flex;align-items:baseline;justify-content:space-between;border-top:1px solid var(--line);padding-top:24px;margin-top:25px}.index-head h2{margin-bottom:10px}.index-head span{font-size:0.875rem;color:var(--muted)}#question-index{display:grid;gap:3px}.index-link{font-size:0.875rem;line-height:1.6;color:#536a7f;text-decoration:none;padding:7px 9px;border-radius:4px;overflow-wrap:anywhere}.index-link:hover,.index-link[aria-current=true]{background:#edf3f8;color:var(--navy)}.sidebar-note{font-size:0.875rem;color:var(--muted);line-height:1.7;margin:26px 10px 0}main{min-width:0;padding:30px clamp(22px,4vw,66px) 35px}.search-panel{margin-bottom:29px}.search-box{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #aebfce;border-radius:8px;padding:8px 9px 8px 17px;box-shadow:0 2px 5px #132d4905}.search-box svg{flex:none;color:#617d97}.search-box input{border:0;background:transparent;outline:none;color:var(--ink);padding:8px 0;min-width:0;flex:1;font-size:1rem;line-height:1.5}.search-box:focus-within{box-shadow:0 0 0 3px #245f9120;border-color:#477398}.search-box input:focus-visible{outline:none}.search-box button{background:var(--navy);border:0;border-radius:5px;color:#fff;padding:8px 23px;font-size:0.94rem;white-space:nowrap}.search-box button:hover{background:#264d70}.quick-terms{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:0.875rem;margin-top:11px}.quick-terms>span{color:var(--muted);margin-right:3px}.quick-terms button{border:0;background:transparent;color:#456780;font-size:0.875rem;padding:3px 7px;border-radius:4px}.quick-terms button:hover{background:#e2ecf4}.content-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:9px}.eyebrow{font-size:0.875rem;letter-spacing:.09em;color:var(--teal);margin:0 0 4px;font-weight:600}h1{font-size:1.55rem;line-height:1.4;margin:0;font-weight:670;color:var(--navy)}#result-status{font-size:0.875rem;color:var(--muted);margin:0;white-space:nowrap}.reading-note{font-size:0.875rem;line-height:1.7;color:var(--muted);margin:0 0 23px}.faq-card,.topic-section,.topic-intro{background:#fff;border:1px solid var(--line);border-radius:9px;margin-bottom:18px;padding:24px 28px;scroll-margin-top:98px}.card-meta{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:8px;font-size:0.875rem;color:var(--muted)}.origin-badge{border-radius:4px;padding:1px 7px;background:#eaf3f0;color:#326553;font-size:0.875rem}.origin-ai{background:#edf0f7;color:#596784}.question-title{font-size:1.12rem;line-height:1.65;margin:0 0 13px;font-weight:650}.question-title a{text-decoration:none;color:var(--navy)}.question-title a:hover{color:var(--blue);text-decoration:underline}.answer{margin:0 0 8px;font-size:1rem;line-height:1.9}.attribution{font-size:0.875rem;color:var(--muted);margin:7px 0 10px}.ai-notice{font-size:0.875rem;line-height:1.7;color:var(--notice);background:var(--notice-bg);border-left:2px solid #d7be82;padding:7px 10px;margin:10px 0 14px;overflow-wrap:anywhere}.faq-details{margin-top:14px;border-top:1px solid #e4eaf0;padding-top:11px}.faq-details>summary{font-size:0.9rem;color:var(--blue);cursor:pointer;width:fit-content;padding:3px 0}.faq-details[open]>summary{margin-bottom:18px}.source-point{margin:0 0 20px;padding-left:14px;border-left:2px solid #d6e2ec}.source-point p{margin:0 0 7px}.source-point .point-source{font-size:0.875rem;color:var(--muted)}.source-point .ai-notice{margin:8px 0 0}.section-label{font-size:0.9rem;font-weight:650;color:var(--navy);margin:23px 0 10px}.limits{font-size:0.9rem;color:#586671;margin:0}.sources{list-style:none;padding:0;margin:0;display:grid;gap:14px}.source-item{background:#f7f9fc;border:1px solid #e4eaf1;border-radius:6px;padding:12px 14px}.source-link{font-weight:600;font-size:0.9rem;line-height:1.6;text-decoration:none}.source-link:hover{text-decoration:underline}.link-kind{display:inline-block;font-weight:400;font-size:0.875rem;border:1px solid #ccd9e5;border-radius:3px;padding:0 5px;color:#597086;margin-right:7px;vertical-align:1px}.source-item p{font-size:0.875rem;color:var(--muted);line-height:1.7;margin:6px 0 0;overflow-wrap:anywhere}.related-label{font-size:0.875rem;color:#687c90;margin-left:6px;white-space:nowrap}.aliases{font-size:0.875rem;color:var(--muted);margin:18px 0 0}.topic-section h2{font-size:1.17rem;line-height:1.65;color:var(--navy);margin:0 0 18px}.topic-intro p{margin-top:0}.video-grid{list-style:none;margin:16px 0 12px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.video-grid a{display:block;text-decoration:none;background:#f0f5f9;border-radius:5px;padding:10px 12px;font-size:0.875rem}.video-grid a:hover{background:#e3edf5}.video-number{color:#798fa5;font-size:0.875rem;display:inline-block;margin-right:8px;font-variant-numeric:tabular-nums}.video-grid small{display:block;font-size:0.875rem;color:var(--muted);margin:3px 0 0 27px}.collection-link{font-size:0.875rem}.empty-state{padding:45px 24px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:9px}.empty-state h2{font-size:1.1rem}.empty-state p{color:var(--muted);font-size:0.94rem}.clear-button{border:1px solid #b9cbdc;color:var(--blue);background:#fff;border-radius:5px;padding:7px 17px}.match{background:#fff0bb;color:inherit;border-radius:2px;padding:0 1px}.faq-card:target,.topic-section:target{border-color:#4a7b9e;box-shadow:0 0 0 2px #4a7b9e14}footer{font-size:0.875rem;color:#748493;border-top:1px solid var(--line);margin-top:30px;padding-top:18px}.noscript-note{position:fixed;bottom:0;left:0;width:100%;background:#fff2cd;padding:15px;text-align:center;z-index:8}
@media(min-width:1500px){.workspace{border-left:1px solid var(--line);border-right:1px solid var(--line)}}
@media(max-width:1050px){.workspace{grid-template-columns:232px minmax(0,1fr)}.sidebar{padding:23px 15px}.faq-card,.topic-section,.topic-intro{padding:21px}.brand-divider{margin:0 3px}.topbar{padding:0 24px}.edition{font-size:0.875rem}}
@media(max-width:760px){.topbar{height:auto;min-height:66px;position:relative;padding:16px 18px;align-items:flex-start}.brand{font-size:1rem;gap:9px}.brand-mark{width:31px;height:31px}.brand strong{display:none}.brand-divider{display:none}.edition{white-space:normal;text-align:right;line-height:1.6;max-width:145px}.workspace{display:block}.sidebar{height:auto;position:relative;top:auto;border-right:0;border-bottom:1px solid var(--line);padding:13px 16px;overflow:visible}#category-nav{display:flex;gap:7px;overflow-x:auto;padding-bottom:3px}#category-nav .nav-label{display:none}.category-link{white-space:nowrap;padding:7px 11px;margin:0;font-size:0.875rem;gap:8px;border:1px solid #e1e8ee;flex:none}.category-link[aria-current=page]{box-shadow:none;border-color:#b7ccdf}.topic-link{margin-top:0}.topic-link span:last-child{font-size:1rem}.index-head,#question-index,.sidebar-note{display:none}main{padding:23px 17px}.search-panel{margin-bottom:22px}.search-box{gap:8px;padding-left:11px}.search-box input{font-size:1rem}.search-box input::placeholder{font-size:0.875rem}.search-box button{padding:8px 13px}.search-box svg{width:18px;height:18px}.quick-terms{gap:4px;font-size:0.875rem}.quick-terms>span{display:none}.content-heading{gap:12px;align-items:flex-start}h1{font-size:1.35rem}#result-status{font-size:0.875rem;padding-top:23px}.reading-note{font-size:0.875rem}.faq-card,.topic-section,.topic-intro{padding:20px 18px;border-radius:7px}.question-title{font-size:1.062rem}.answer{line-height:1.9}.video-grid{grid-template-columns:1fr}.source-point{padding-left:10px}.source-item{padding:11px}.faq-card,.topic-section{scroll-margin-top:18px}}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}

/* Reader-first question list and separately attributed answers. */
.question-row{background:#fff;border:1px solid var(--line);border-radius:7px;margin:0 0 10px}.question-row-link{display:block;text-decoration:none;padding:19px 23px}.question-row-link:hover{background:#edf4f9;border-radius:7px}.question-row h2{font-size:1.062rem;line-height:1.7;color:var(--navy);margin:0 0 5px;font-weight:600}.question-row p{font-size:0.875rem;color:var(--muted);margin:0}.back-link{padding:0;border:0;background:transparent;color:var(--blue);font-size:0.875rem;margin:0 0 21px}.faq-card .question-title{font-size:1.4rem;line-height:1.6;margin-bottom:12px}.faq-card>.attribution{padding-bottom:16px;margin-bottom:23px;border-bottom:1px solid var(--line);font-size:0.875rem}.source-point{margin:0 0 28px;padding-left:0;border:0}.point-label{font-size:0.94rem;line-height:1.7;font-weight:600;color:var(--teal);margin:0 0 9px}.point-text{font-size:1.062rem;line-height:1.95}.point-actions{margin-top:12px;display:flex;flex-wrap:wrap;gap:10px 20px;align-items:baseline}.read-original{font-size:0.9rem;text-decoration:none;border-bottom:1px solid #c3d4e2}.source-details{font-size:0.875rem;flex:1;min-width:140px}.source-details>summary{cursor:pointer;width:fit-content;color:var(--muted)}.source-details[open]{flex-basis:100%}.source-details .sources{margin-top:12px}.faq-card>.ai-notice{margin-top:24px}.origin-badge,.origin-ai{font-size:0.875rem}.attribution,.ai-notice,.source-item p,.sidebar-note{font-size:0.875rem}
@media(max-width:760px){.question-row-link{padding:16px 18px}.faq-card .question-title{font-size:1.22rem}.point-text{font-size:1rem}.point-actions{gap:10px 18px}.source-details{min-width:120px}.faq-card{padding:21px 19px}.attribution,.ai-notice,.source-item p{font-size:0.875rem}}

.reader-detail>.content-heading,.reader-detail>.reading-note{display:none}.reader-detail .faq-card:target{border-color:var(--line);box-shadow:none}
.video-library{border-top:3px solid var(--teal)}.video-library-title{margin:0 0 8px;color:var(--navy);font-size:1.12rem;line-height:1.6}.video-library .video-number{min-width:3.4em;font-weight:600;color:var(--teal)}.video-library .video-grid small{margin-left:0}.video-library .collection-link{display:inline-block;margin-top:5px;font-weight:600}
@media(max-width:760px){.topic-nav-active #question-index{display:flex;overflow:auto;gap:8px;padding-top:9px}.topic-nav-active .index-link{flex:none;white-space:nowrap;border:1px solid var(--line);padding:6px 10px}.topic-nav-active #category-nav{margin-bottom:5px}}

/* Keyword directories and source catalog; lists are paginated in the app. */
.copyright-banner{margin:0 0 22px;padding:15px 18px;background:#fff;border:1px solid var(--line);border-left:4px solid var(--teal);border-radius:7px;line-height:1.7;overflow-wrap:anywhere}.copyright-banner p{margin:0;font-size:0.875rem;color:var(--ink)}.copyright-banner .copyright-owner{margin-bottom:5px;color:var(--navy)}.copyright-owner strong{font-size:1rem;font-weight:650}.copyright-owner>span{display:inline-block;margin-left:4px;color:var(--muted)}
@media(max-width:760px){.copyright-banner{margin-bottom:18px;padding:13px 14px}.copyright-owner strong{font-size:0.94rem}}
.copyright-banner .copyright-feedback{margin-top:10px;padding-top:9px;border-top:1px solid var(--line);color:var(--teal);font-weight:500}
#keyword-nav{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.source-directory-link{margin-top:12px;font-weight:600;color:var(--teal)}
.search-intro{font-size:0.94rem;margin:0 0 12px;color:var(--muted)}
.result-group{margin:0 0 28px}.result-group-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:12px}.result-group-heading>h2{font-size:1rem;margin:0;color:var(--navy)}.result-group-heading>span{font-size:0.875rem;color:var(--muted)}
.keyword-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.keyword-card{display:block;background:#fff;border:1px solid var(--line);border-radius:7px;padding:17px 19px;text-decoration:none;overflow-wrap:anywhere}.keyword-card:hover{border-color:#8aaabd;background:#f5fafb}.keyword-card h2{font-size:1.08rem;line-height:1.6;margin:4px 0;color:var(--navy)}.keyword-card p,.keyword-type{font-size:0.875rem;color:var(--muted);margin:0}.keyword-type{color:var(--teal)}
.catalog-card{background:#fff;border:1px solid var(--line);border-radius:7px;padding:20px 23px;margin-bottom:12px;overflow-wrap:anywhere}.catalog-card h2{font-size:1.05rem;line-height:1.7;margin:7px 0}.catalog-card h2 a{text-decoration:none}.catalog-card h2 a:hover{text-decoration:underline}.catalog-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:0.875rem;color:var(--muted)}.reading-state{white-space:nowrap;color:#63747f}.body-read{color:#277264}.catalog-locator,.catalog-access,.catalog-attribution{margin:5px 0;font-size:0.875rem;color:var(--muted)}.catalog-access{color:#756546}.source-keywords{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}.source-keywords a,.source-keywords>span{font-size:0.875rem;background:var(--wash);padding:2px 9px;border-radius:4px;text-decoration:none}.source-keywords a:hover{background:#dceaf3}
.pagination{display:flex;align-items:center;justify-content:center;gap:15px;margin:20px 0;font-size:0.875rem;color:var(--muted)}.pagination button{border:1px solid #b9cbdc;background:#fff;border-radius:5px;padding:6px 12px;color:var(--blue);white-space:nowrap}.pagination button:disabled{opacity:.4}.pagination>span{text-align:center;font-variant-numeric:tabular-nums}.source-filters{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:22px}.source-filters button{background:#fff;border:1px solid var(--line);border-radius:5px;padding:6px 13px;font-size:0.875rem;color:var(--muted)}.source-filters button[aria-pressed=true]{background:var(--wash);border-color:#9ab4ca;color:var(--navy)}
@media(max-width:1050px){.keyword-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){#keyword-nav{display:flex;gap:7px;overflow-x:auto;margin-top:10px;padding-top:10px;padding-bottom:3px}#keyword-nav .nav-label{display:none}#keyword-nav .source-directory-link{margin:0}.keyword-grid{gap:9px}.keyword-card{padding:13px 14px}.keyword-card h2{font-size:1rem}.catalog-card{padding:17px 18px}.content-heading #result-status{white-space:normal;max-width:42%;text-align:right;padding-top:20px}.pagination{gap:8px;font-size:0.875rem}.pagination button{padding:6px 9px}.source-filters{gap:6px}.source-filters button{padding:5px 10px}}
@media(max-width:390px){.keyword-grid{grid-template-columns:1fr}}

/* People and stories: accessible HTML cards connected by decorative SVG. */
.people-directory-link{font-weight:650;color:var(--teal);background:#f0f6f4}.person-picker,.people-map,.people-relations{min-width:0;margin-bottom:26px}.person-picker{background:#fff;border:1px solid var(--line);border-radius:8px;padding:19px}.person-picker label{display:block;font-size:0.9rem;font-weight:600;margin-bottom:7px}.person-search-box{display:flex;gap:8px}.person-search-box input{width:100%;min-width:0;border:1px solid #b5c7d4;border-radius:5px;padding:8px 10px}.person-search-box button{flex:none;border:0;border-radius:5px;background:var(--teal);color:#fff;padding:8px 14px}.person-choice-details{margin-top:15px}.person-choice-details>summary{cursor:pointer;color:var(--blue);font-size:0.9rem}.person-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:12px}.person-choice{display:flex;flex-direction:column;align-items:flex-start;gap:3px;border:1px solid var(--line);border-radius:5px;padding:10px 12px;min-width:0;overflow-wrap:anywhere}.person-choice>a:first-child{font-weight:600;text-decoration:none}.person-choice>span{font-size:0.875rem;color:var(--muted)}.person-choice .add-person{font-size:0.875rem;margin-top:4px}.selected-people{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:14px;font-size:0.875rem}.selected-person{display:inline-flex;gap:12px;align-items:center;border-radius:5px;padding:5px 10px;background:#e8f2ed;color:var(--teal);overflow-wrap:anywhere}.selected-person>a{font-size:1.2rem;line-height:1;text-decoration:none}.people-map>h2,.people-relations>h2{font-size:1.13rem;color:var(--navy);margin:0 0 12px}.graph-rows{display:grid;gap:13px}.graph-row{display:grid;grid-template-columns:minmax(90px,140px) 110px minmax(0,1fr);align-items:center;min-width:0}.graph-people{display:grid;gap:7px;min-width:0}.person-node{display:block;background:#e8f2ed;border:1px solid #bad3c7;border-radius:7px;padding:8px 12px;text-align:center;color:var(--teal);font-weight:600;text-decoration:none;overflow-wrap:anywhere;min-width:0}.person-node:hover{background:#dceee3}.graph-edge,.relationship-edge{text-align:center;color:#688d89;font-size:0.875rem;line-height:1.4;min-width:0}.graph-edge>span,.relationship-edge>span{display:block;margin-bottom:5px}.graph-edge svg,.relationship-edge svg{display:block;width:100%;height:20px;stroke:#8ba9a1;stroke-width:2;fill:none}.graph-row .catalog-card{margin:0;padding:15px 18px;min-width:0}.graph-row .catalog-card h2{font-size:0.94rem;margin:5px 0}.graph-row .catalog-locator{font-size:0.875rem}.graph-text-alternative{font-size:0.875rem;margin:17px 0;overflow-wrap:anywhere}.graph-text-alternative summary{cursor:pointer;color:var(--blue)}.graph-text-alternative li{margin-bottom:9px}.person-relation{background:#fff;border:1px solid var(--line);border-radius:7px;padding:18px 21px;margin:14px 0;overflow-wrap:anywhere}.relationship-nodes{display:grid;grid-template-columns:minmax(0,1fr) 140px minmax(0,1fr);align-items:center;gap:8px}.relationship-edge svg{stroke:#587d71}.relation-uncertain{border-style:dashed;border-color:#ad9370}.relation-uncertain .relationship-edge{color:#886941}.relation-uncertain .relationship-edge svg{stroke:#ad9370;stroke-dasharray:6 5}.person-relation .relation-label{font-weight:600;color:var(--navy);margin:15px 0 5px}.person-relation blockquote{border-left:3px solid var(--line);padding-left:13px;margin:13px 0;font-size:0.94rem}.person-relation>p{font-size:0.875rem}.people-keyword-links{display:flex;flex-wrap:wrap;gap:10px 24px;font-size:0.875rem}.people-open-link{font-size:0.94rem;font-weight:600;color:var(--teal)}
@media(max-width:1050px){.graph-row{grid-template-columns:105px 85px minmax(0,1fr)}.person-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.relationship-nodes{grid-template-columns:minmax(0,1fr) 110px minmax(0,1fr)}}
@media(max-width:760px){.person-picker{padding:15px}.person-search-box{gap:6px}.person-search-box button{padding:7px 11px}.graph-row{grid-template-columns:minmax(0,1fr);border:1px solid var(--line);border-radius:8px;padding:14px;background:#f7fbf9}.graph-people{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.graph-people .person-node{max-width:100%;font-size:0.875rem}.graph-edge{display:flex;align-items:center;justify-content:center;gap:8px;height:37px}.graph-edge>span{margin:0}.graph-edge svg{width:26px;height:20px;transform:rotate(90deg)}.graph-row .catalog-card{padding:14px}.relationship-nodes{grid-template-columns:minmax(0,1fr) 96px minmax(0,1fr);gap:5px}.relationship-nodes .person-node{padding:7px;font-size:0.875rem}.person-relation{padding:15px}.person-choices{gap:7px}.person-choice{padding:9px 10px}.people-map>h2,.people-relations>h2{font-size:1.03rem}}

/* A quiet Chinese reading room: paper, ink, cinnabar and restrained rules. */
:root{--navy:#263c37;--ink:#343d35;--muted:#777567;--line:#dcd3c1;--paper:#fffdf7;--canvas:#f5f0e5;--blue:#32645a;--wash:#eee6d5;--teal:#356c60;--notice:#79633c;--notice-bg:#f7f0de;--seal:#994a39;--gold:#b6a173;--serif:"Noto Serif CJK SC","Source Han Serif SC","Songti SC","STSong","SimSun",serif}
body{background-color:var(--canvas);background-image:linear-gradient(90deg,#b6a17305 1px,transparent 1px);background-size:48px 48px}
.topbar{background:#f9f5ec;color:var(--navy);border-top:3px solid var(--seal);border-bottom:1px solid #cabea6;box-shadow:0 3px 12px #56432406;gap:22px}
.brand{color:var(--navy);letter-spacing:.06em;font-family:var(--serif);font-weight:600}.brand strong{font-size:0.96rem;color:#6e705f}.brand-divider{color:#b3a98e}.brand-mark{background:var(--seal);color:#fffaf0;border:1px solid #a95945;outline:1px solid #bb8a74;outline-offset:3px;border-radius:2px;font-family:var(--serif)}.edition{color:var(--muted);font-size:0.875rem}
.site-modes{display:flex;gap:6px;margin-left:auto;align-items:center}.site-modes a{display:block;color:#646858;text-decoration:none;font-size:0.875rem;padding:7px 13px;border:1px solid transparent;border-radius:2px;white-space:nowrap}.site-modes a:hover{color:var(--seal);background:#f0e8d8}.site-modes a[aria-current=page]{color:var(--seal);border-color:#cdbb99;background:#fffaf0;box-shadow:inset 0 -2px var(--seal)}
.workspace{max-width:1480px;border-color:#e4dccc}.sidebar{background:#fbf8ef;border-color:#ded4bf}.nav-label,.index-head h2{font-family:var(--serif);color:#756b55;letter-spacing:.08em}.category-link{border-radius:3px}.category-link:hover{background:#f0eadc}.category-link[aria-current=page]{background:#eee4d0;box-shadow:inset 3px 0 var(--seal);color:#664632}.nav-count{color:#91836a}.index-link:hover,.index-link[aria-current=true]{background:#efe6d4;color:#67533a}.topic-link,.people-directory-link{background:#f4efe2;border-color:#d7c8aa;color:#356455}.sidebar-note{color:#81745e}
main{background:#faf7ef99}.search-panel{margin-bottom:28px}.search-intro{color:#79705f}.search-box{background:#fffdf7;border-color:#c5b595;border-radius:4px;box-shadow:0 2px 6px #6a543507}.search-box:focus-within{border-color:#8d9b74;box-shadow:0 0 0 3px #59754f12}.search-box svg{color:#9a8969}.search-box button{background:var(--seal);border-radius:3px;padding-left:22px;padding-right:22px;letter-spacing:.08em}.search-box button:hover{background:#7e3b2c}.quick-terms button{color:#697761}.quick-terms button:hover{background:#ece7d7}
h1,.question-title,.question-row h2,.topic-section h2,.video-library-title,.people-map>h2,.people-relations>h2{font-family:var(--serif)}h1{font-weight:700;letter-spacing:.035em}.eyebrow{color:#8e7958;letter-spacing:.14em}.content-heading{padding-bottom:10px;border-bottom:1px solid var(--line);position:relative}.content-heading:after{content:"";position:absolute;bottom:-1px;left:0;width:44px;height:2px;background:var(--seal)}.reading-note{margin-top:12px;line-height:1.85}
.copyright-banner{background:#fffcf3;border-color:#d9caad;border-left:3px solid #a17d47;border-radius:3px;position:relative;padding:16px 20px;box-shadow:inset 0 0 0 4px #faf5e9}.copyright-banner .copyright-owner{color:#714d33;line-height:1.7}.copyright-owner strong{font-family:var(--serif);font-size:1.05rem;letter-spacing:.02em}.copyright-banner>p:not(.copyright-owner){color:#73674e;line-height:1.8}.copyright-banner .copyright-feedback{color:#326659;border-top-color:#e5dac4}
.question-row,.faq-card,.topic-section,.topic-intro,.keyword-card,.catalog-card,.person-picker,.person-relation{background:var(--paper);border-color:var(--line);border-radius:4px;box-shadow:0 2px 5px #57412803}.question-row{position:relative}.question-row:before,.question-row:after{content:"";position:absolute;width:7px;height:7px;pointer-events:none;opacity:.7}.question-row:before{top:6px;left:6px;border-left:1px solid var(--gold);border-top:1px solid var(--gold)}.question-row:after{bottom:6px;right:6px;border-right:1px solid var(--gold);border-bottom:1px solid var(--gold)}.question-row-link{padding:20px 25px}.question-row-link:hover{background:#f4efdf;border-radius:3px}.question-row h2{font-size:1.13rem;color:#334c40}.question-row p{color:#8b816e}.point-text{line-height:2}.point-label{color:#356c60}.read-original{border-bottom-color:#b2bfa0}.source-item{background:#f6f2e7;border-color:#e4dbc9;border-radius:3px}.link-kind{border-color:#d4c6a8;color:#81704f}.match{background:#efe0ae}.ai-notice{border-left-color:#b6a173;background:#f8f1de;color:#826947}.attribution{line-height:1.85}
.keyword-card:hover{background:#f3eedf;border-color:#aeaa83}.keyword-card h2,.catalog-card h2{font-family:var(--serif)}.catalog-meta,.catalog-locator,.catalog-attribution{color:#817661}.source-keywords a,.source-keywords>span{background:#eee9d9;color:#56715c;border-radius:3px}.source-keywords a:hover{background:#e4ddc8}.source-filters button,.pagination button,.clear-button{background:#fffaf0;border-color:#cdbd9d;color:#6f694e;border-radius:3px}.source-filters button[aria-pressed=true]{background:#eae1cb;border-color:#ac9b78;color:#684c30}.person-node,.selected-person{background:#edf0e2;border-color:#b8c4a5;color:#426952;border-radius:3px}.person-node:hover{background:#dfe7cf}.graph-edge,.relationship-edge{color:#8e946c}.graph-edge svg,.relationship-edge svg{stroke:#a3ac87}.person-search-box input{border-color:#cfc0a2;background:#fffdf7}.person-search-box button{background:#526e55;border-radius:3px}.person-choice{border-color:#dcd3bd;border-radius:3px}.relation-uncertain{border-color:#ac8d5f}.relation-uncertain .relationship-edge{color:#92713e}.relation-uncertain .relationship-edge svg{stroke:#ac8d5f}.video-grid a{background:#f2eddf;color:#4b6657}.video-grid a:hover{background:#e8e0cb}
.study-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0}.study-card{position:relative;display:flex;flex-direction:column;gap:14px;background:#fffcf4;border:1px solid #cfc1a2;padding:24px;box-shadow:inset 0 0 0 5px #f8f2e5;border-radius:3px;min-width:0}.study-card:before{content:"";position:absolute;top:0;left:22px;right:22px;height:2px;background:#bba575}.study-number{font-family:var(--serif);font-size:1.7rem;color:#aa7558;line-height:1.2;letter-spacing:.06em}.study-card-main{flex:1;min-width:0}.study-card h2{font-family:var(--serif);font-size:1.25rem;letter-spacing:.04em;margin:0 0 10px;color:#344c3e}.study-card p{font-size:0.9rem;color:#82765e;line-height:1.8;margin:6px 0}.study-card-actions{display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap}.study-card-actions a{font-size:0.875rem;text-underline-offset:5px}.study-card-actions a:first-child{color:var(--seal);font-weight:600}.study-collection-link{font-size:0.9rem}.study-intro{padding:18px 22px;border:1px solid var(--line);border-left:3px solid #a6926f;background:#fffaf0;border-radius:3px;margin:22px 0;line-height:1.85}.study-intro p{margin:4px 0;font-size:0.94rem}.study-supplements{margin-top:35px;padding-top:25px;border-top:1px solid #b8a57e}.study-supplements>h2{font-family:var(--serif);font-size:1.2rem;color:#80593d}.study-empty{padding:18px 22px;border:1px dashed #d0c4a8;color:#85765b;background:#f8f3e7;font-size:0.94rem}.study-other-link{margin:24px 0;padding-top:20px;border-top:1px solid var(--line);font-size:0.94rem}.study-sidebar-list{display:grid;gap:5px}.study-sidebar-list a{line-height:1.7}.study-sidebar-list .index-link[aria-current=page]{color:#845341;background:#eee4d0}footer{color:#8b7e65;border-color:#dbcfb8;line-height:1.9}
@media(min-width:761px) and (max-width:1100px){.topbar{gap:14px;padding:0 22px}.brand strong,.brand-divider{display:none}.site-modes a{padding:7px 9px}.edition{display:none}.study-card{padding:20px}.study-overview{gap:14px}}
@media(max-width:760px){.topbar{flex-wrap:wrap;gap:12px;padding:15px 18px 12px;min-height:104px}.brand{font-size:1.04rem}.edition{display:none}.site-modes{flex-basis:100%;margin:0;gap:8px}.site-modes a{padding:6px 12px;font-size:0.875rem}.sidebar{background:#faf5e9}.copyright-banner{padding:14px 16px;box-shadow:inset 0 0 0 3px #faf5e9}.copyright-owner strong{font-size:1rem}.copyright-banner p{font-size:0.875rem}.copyright-owner>span{margin-left:0}.copyright-banner .copyright-feedback{font-size:0.875rem}.study-overview{grid-template-columns:1fr;gap:15px;margin-top:20px}.study-card{padding:21px;gap:12px}.study-number{font-size:1.4rem}.study-card h2{font-size:1.2rem}.study-intro{padding:15px 17px}.study-sidebar-list{display:flex;overflow:auto;gap:8px}.study-sidebar-list a{white-space:nowrap;flex:none}.question-row h2{font-size:1.075rem}.question-row-link{padding:19px 21px}.graph-row{background:#f5f2e6}.content-heading{gap:10px}.search-box button{padding:8px 15px}}
@media(prefers-reduced-motion:no-preference){.question-row-link,.keyword-card,.site-modes a,.study-card a{transition:background-color .16s,color .16s,border-color .16s}}
.study-card-main{display:block;text-decoration:none}.study-card-main:hover h2{color:var(--seal)}.study-card-main .study-count{font-size:0.875rem;color:#88785c}.study-card-main .study-number{text-decoration:none}.study-card-main .study-description{color:#82765e}.study-card-actions{margin-top:auto}.study-supplement-link{border:1px solid var(--line);padding:15px 18px;background:var(--paper);border-radius:3px;margin-bottom:12px}

/* Book-like structure, quiet ornament and clear reading paths. */
:root{--muted:#6d6a5b;--line:#d8ceb9;--canvas:#f3eee2;--paper:#fffdf7}
body{background-image:linear-gradient(90deg,#89734d06 1px,transparent 1px);background-size:56px 56px}
.topbar{border-top:4px solid var(--seal);border-bottom:1px solid #b7a27b;box-shadow:0 4px 0 #f1eadc,0 5px 0 #d8cbb3,0 8px 18px #4b392808;background:#faf7ed}
.brand-mark{border-radius:1px;outline-offset:3px;box-shadow:inset 0 0 0 3px #a75b47;letter-spacing:0}
.brand{letter-spacing:.09em}.brand strong{letter-spacing:.12em;font-size:0.92rem}
.site-modes a{position:relative;padding:8px 15px;border-radius:1px;letter-spacing:.04em}
.site-modes a[aria-current=page]{border-color:#cfbd9a;background:#fffcf4;box-shadow:inset 0 -2px var(--seal)}
.site-modes a[aria-current=page]:after{content:"";position:absolute;width:4px;height:4px;background:var(--seal);transform:rotate(45deg);left:calc(50% - 2px);bottom:-4px;pointer-events:none}
.sidebar{background:linear-gradient(90deg,#fcf9f1 0,#fcf9f1 calc(100% - 6px),#f0e8d7 calc(100% - 6px),#f8f3e7 100%);padding-top:30px}
.sidebar .nav-label{display:flex;align-items:center;gap:9px;line-height:1.7;letter-spacing:.12em;color:#7a6242}
.sidebar .nav-label:before{content:"";width:4px;height:14px;background:#a55843;flex:none}
.category-link{border-radius:2px;padding-top:11px;padding-bottom:11px;line-height:1.7}
.category-link[aria-current=page]{background:#ede3cd;color:#674631;box-shadow:inset 3px 0 var(--seal),inset 0 1px #fff8e8,inset 0 -1px #ded1b5}
.index-link{color:#696c59}.index-link:hover{color:#654732}.index-head{border-top-style:double;border-top-width:3px;padding-top:20px}
main{padding-top:35px;background:#faf7efbb}
.copyright-banner{border-left:3px solid #9a7650;background:#fffdf6;box-shadow:inset 0 0 0 4px #f7f0e0,0 2px 6px #55402b03;padding:18px 22px}
.copyright-banner:after{content:"";position:absolute;top:9px;right:9px;width:12px;height:12px;border-top:1px solid #c6af84;border-right:1px solid #c6af84;pointer-events:none}
.copyright-banner p{font-size:0.875rem}.copyright-banner .copyright-owner{margin-bottom:6px}.copyright-owner strong{font-size:1.075rem;color:#6b4630}
.copyright-banner .copyright-feedback{color:#315c4e;border-top-color:#e4d6ba;margin-top:11px;padding-top:10px}
.search-panel{margin:27px 0 35px}.search-box{border-radius:2px;box-shadow:0 3px 0 #e8decc55;background:#fffefa;border-color:#b9a47b}
.search-box button{border:1px solid #8a4132;border-radius:2px;box-shadow:inset 0 0 0 2px #b46954;padding-top:9px;padding-bottom:9px}
.quick-terms{gap:5px 9px;margin-top:13px}.quick-terms button{border-bottom:1px solid #d9cdb5;border-radius:0;padding:3px 5px;line-height:1.55;color:#566553}
.quick-terms button:hover{color:#813f2e;border-bottom-color:#a1694b;background:#ede5d5}
.content-heading{padding:0 0 15px;margin-top:5px;border-bottom:1px solid #bdad8d}.content-heading:after{width:62px;height:3px;background:var(--seal);bottom:-2px}
.eyebrow{font-size:0.875rem;font-weight:500;color:#8b6f45;letter-spacing:.18em;margin-bottom:7px}
h1{font-size:1.72rem;letter-spacing:.075em;line-height:1.55}.reading-note{color:#6f6c5c;margin-top:15px;margin-bottom:26px;line-height:1.9}
.result-group-heading{padding-bottom:9px;border-bottom:1px solid #e1d7c3}.result-group-heading>h2{font-family:var(--serif);letter-spacing:.04em;font-size:1.05rem}
.question-row{border-color:#ddd1b8;border-radius:2px;box-shadow:0 2px 5px #59412a04;margin-bottom:13px}
.question-row:before{width:10px;height:10px;top:6px;left:6px;border-color:#c9b38c}.question-row:after{width:10px;height:10px;bottom:6px;right:6px;border-color:#c9b38c}
.question-row-link{padding:22px 28px;border-radius:1px}.question-row-link:hover{background:#f6f0e0;border-radius:1px}.question-row h2{font-size:1.13rem;letter-spacing:.02em;line-height:1.85;margin-bottom:6px}.question-row p{color:#7a715e}
.faq-card,.topic-section,.topic-intro{border-radius:2px;padding:28px 32px;box-shadow:0 3px 12px #49392004}
.faq-card .question-title{font-size:1.48rem;letter-spacing:.025em;line-height:1.75}.point-label{font-family:var(--serif);font-size:1.05rem;color:#416151}.point-text{line-height:2.05;color:#343d35}
.source-point+.source-point{border-top:1px solid #e5dac7;padding-top:26px}.source-item{border-radius:2px;background:#f8f4e9}.source-details>summary{color:#6a6855}.read-original{color:#416553}
.catalog-card{padding:23px 27px;border-radius:2px;border-color:#dbceb4;box-shadow:inset 3px 0 #eee5d2}.catalog-card h2{font-size:1.12rem;line-height:1.9;margin:9px 0}.catalog-card h2 a{color:#334f42}.catalog-meta,.catalog-locator,.catalog-attribution{color:#766e5e}
.source-keywords a,.source-keywords>span{border:1px solid #e1d6bd;background:#f4efdf;border-radius:2px;color:#57694e}
.keyword-card{border-radius:2px;padding:19px 21px;box-shadow:inset 0 3px #eee4ce}.keyword-card h2{font-size:1.1rem}.keyword-card:hover{box-shadow:inset 0 3px #ab8360}
.study-overview{gap:22px;margin-top:28px}
.study-card{padding:25px 26px 20px 31px;gap:18px;border-radius:2px;background:linear-gradient(90deg,#e5dac1 0,#e5dac1 4px,#f5eedc 4px,#f5eedc 9px,#fffdf6 9px,#fffdf6 100%);border-color:#cbb994;box-shadow:inset 0 0 0 5px #f9f4e8,0 4px 0 -1px #eee5d2,0 5px 0 -1px #d7c7a7,0 7px 13px #5d422b06}
.study-card:before{top:8px;left:16px;right:8px;bottom:8px;height:auto;border:1px solid #e4d8bf;border-left:0;background:none;pointer-events:none}
.study-card:after{content:"";position:absolute;width:14px;height:14px;right:11px;top:11px;border-top:1px solid #af9364;border-right:1px solid #af9364;pointer-events:none}
.study-card-main{display:grid;grid-template-columns:38px minmax(0,1fr);column-gap:17px;row-gap:12px;align-items:start;min-width:0;position:relative}
.study-card-main .study-number{display:grid;place-items:center;border:1px solid #b37f61;outline:1px solid #dec8a8;outline-offset:3px;min-height:44px;width:35px;color:#944f35;background:#fbf3e1;font-size:1.25rem;line-height:1.2;letter-spacing:.03em;margin-top:5px;font-variant-numeric:tabular-nums}
.study-card-main>div{min-width:0}.study-card h2{font-size:1.31rem;letter-spacing:.065em;line-height:1.65;margin-bottom:12px}.study-card p{font-size:0.89rem;line-height:1.9;color:#746b55}.study-card-main .study-count{color:#817056;line-height:1.8;margin-top:9px}
.study-card-main>span:last-child{grid-column:2;color:#416c57;font-size:1.25rem;line-height:1;margin-top:2px}
.study-card-actions{position:relative;margin-left:55px;border-top:1px solid #e7dcc5;padding-top:13px;gap:9px 17px}.study-card-actions a{font-size:0.875rem;line-height:1.7}.study-card-actions a:first-child{font-weight:500;color:#884b34}.study-card-actions a:hover{color:#663522}
.study-other-link{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 20px;padding:18px 22px;background:#f3eddf;border:1px solid #daceb5;border-radius:2px;text-decoration:none;color:#53604c}.study-other-link>span:first-child{font-family:var(--serif);font-size:1.06rem;font-weight:600;letter-spacing:.05em}.study-other-link>span:last-child{font-size:0.9rem;color:#817056}
.study-intro{padding:19px 23px;background:#fffcf3;border-radius:2px;border-left:3px solid #ad8a5d}.study-intro>a{display:inline-block;margin-bottom:8px;line-height:1.8}.study-intro>a+a{margin-left:22px}.study-intro p{color:#6d6b59}
.study-supplements{margin-top:40px;padding-top:22px;border-top:3px double #b6a17c}.study-supplements>h2{font-size:1.28rem;letter-spacing:.06em}.study-empty{border-radius:2px}
.video-grid a{border:1px solid #ded2b7;background:#f7f1e3;border-radius:2px}.video-library{border-top:3px double #829174}.person-picker,.person-relation,.person-node,.person-choice{border-radius:2px}.graph-row .catalog-card{box-shadow:none}
footer{border-top:3px double #cbb995;padding-top:22px;line-height:1.95;color:#756a55}
@media(min-width:761px) and (max-width:1100px){.topbar{gap:13px}.site-modes a{padding:8px 10px}.study-overview{gap:17px}.study-card{padding:21px 20px 18px 25px}.study-card-main{grid-template-columns:32px minmax(0,1fr);column-gap:13px}.study-card-main .study-number{width:29px;min-height:38px;font-size:1.1rem}.study-card h2{font-size:1.17rem}.study-card-actions{margin-left:45px}.faq-card,.topic-section,.topic-intro{padding:25px}}
@media(max-width:760px){.topbar{min-height:108px;padding:17px 18px 12px;gap:13px}.brand{font-size:1.02rem}.site-modes{gap:5px;flex-wrap:wrap}.site-modes a{font-size:0.875rem;padding:7px 10px;letter-spacing:.015em}.sidebar{padding:15px 16px 13px;background:#fbf6eb}.sidebar .nav-label{display:none}.category-link{padding:8px 11px;font-size:0.875rem}.category-link[aria-current=page]{box-shadow:inset 0 -2px #a34f39}.copyright-banner{padding:16px 17px}.copyright-owner strong{font-size:1rem}.copyright-banner .copyright-feedback{line-height:1.9}main{padding:26px 17px 30px}.search-panel{margin-top:25px;margin-bottom:30px}.search-box{padding:7px 8px 7px 11px}.search-box button{padding:8px 13px}.search-box input::placeholder{font-size:0.875rem}.quick-terms{gap:7px;margin-top:13px}h1{font-size:1.48rem;letter-spacing:.05em}.content-heading{padding-bottom:12px}.eyebrow{font-size:0.875rem}.reading-note{font-size:0.875rem;margin-top:15px}.study-overview{gap:21px;margin-top:24px}.study-card{padding:23px 23px 19px 28px}.study-card-main{grid-template-columns:33px minmax(0,1fr);gap:12px 15px}.study-card-main .study-number{width:30px;min-height:39px;font-size:1.13rem}.study-card h2{font-size:1.24rem}.study-card-actions{margin-left:48px}.study-card p{font-size:0.875rem}.study-other-link{padding:17px 19px}.study-intro{padding:17px 19px}.study-intro>a+a{margin-left:17px}.study-supplements>h2{font-size:1.17rem}.question-row-link{padding:20px 23px}.question-row h2{font-size:1.08rem}.faq-card,.topic-section,.topic-intro{padding:23px 20px}.faq-card .question-title{font-size:1.27rem}.point-label{font-size:1rem}.point-text{font-size:1rem}.catalog-card{padding:20px 21px}.catalog-card h2{font-size:1.05rem}.keyword-card{padding:16px 17px}.keyword-card h2{font-size:1.02rem}.source-point+.source-point{padding-top:23px}.graph-row .catalog-card{padding:14px}footer{margin-top:27px}}
@media(prefers-reduced-motion:no-preference){.study-card,.question-row,.keyword-card{transition:border-color .16s,box-shadow .16s}.study-card:hover{border-color:#ad8f61;box-shadow:inset 0 0 0 5px #f7efdd,0 4px 0 -1px #e9dfc9,0 5px 0 -1px #c6af87,0 7px 13px #5d422b08}}

/* Five visible sections, separate from the site name and page directories. */
:root{--topbar-height:144px}
.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:43px 62px;row-gap:12px;column-gap:22px;height:var(--topbar-height);min-height:0;padding:10px 32px 12px;align-items:center;justify-content:normal}
.topbar .brand{grid-column:1;grid-row:1;justify-self:start;min-width:0}.topbar .edition{grid-column:2;grid-row:1;display:block;text-align:right}
.topbar .site-modes{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;width:100%;height:100%;margin:0;align-items:stretch}
.topbar .site-modes a{display:flex;align-items:center;justify-content:center;text-align:center;position:relative;min-width:0;padding:10px 15px;background:#f3ecdc;border:1px solid #c7b38c;border-radius:2px;color:#485b4d;font-family:var(--serif);font-size:1.05rem;font-weight:600;line-height:1.55;letter-spacing:.08em;text-decoration:none;white-space:normal;box-shadow:inset 0 0 0 3px #faf5e9}
.topbar .site-modes a:before{content:"";position:absolute;left:6px;top:6px;width:6px;height:6px;border-top:1px solid #b09a71;border-left:1px solid #b09a71;pointer-events:none}
.topbar .site-modes a:hover{background:#ebe1cc;border-color:#a48a5d;color:#743e2f;box-shadow:inset 0 0 0 3px #f6eddc}
.topbar .site-modes a[aria-current=page]{background:#934d3a;border-color:#7e3c2b;color:#fff8e9;box-shadow:inset 0 0 0 3px #a9664f;font-weight:700}
.topbar .site-modes a[aria-current=page]:before{border-color:#dab79b}.topbar .site-modes a[aria-current=page]:after{width:7px;height:7px;left:calc(50% - 3.5px);bottom:-5px;background:#934d3a;border:1px solid #934d3a;transform:rotate(45deg)}
.workspace{min-height:calc(100vh - var(--topbar-height))}.sidebar{top:var(--topbar-height);height:calc(100vh - var(--topbar-height))}
.faq-card,.topic-section,.topic-intro,.catalog-card{scroll-margin-top:calc(var(--topbar-height) + 22px)}
@media(min-width:761px) and (max-width:1100px){.topbar{padding-left:22px;padding-right:22px;column-gap:16px}.topbar .site-modes{gap:8px}.topbar .site-modes a{font-size:0.95rem;padding:9px 10px;letter-spacing:.035em}.topbar .edition{font-size:0.875rem}.topbar .brand strong,.topbar .brand-divider{display:inline}}
@media(max-width:760px){.topbar{position:relative;height:auto;min-height:0;padding:15px 16px 15px;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:17px}.topbar .brand{grid-row:1;grid-column:1;line-height:1.6}.topbar .brand strong,.topbar .brand-divider{display:inline;font-size:0.875rem;letter-spacing:.035em}.topbar .edition{display:none}.topbar .site-modes{grid-row:2;grid-column:1;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;height:auto}.topbar .site-modes a{grid-column:span 2;min-height:48px;font-size:0.91rem;letter-spacing:.035em;padding:8px 5px;line-height:1.6}.topbar .site-modes a:nth-child(4),.topbar .site-modes a:nth-child(5){grid-column:span 3}.topbar .site-modes a:before{left:5px;top:5px;width:4px;height:4px}.topbar .site-modes a[aria-current=page]:after{width:5px;height:5px;left:calc(50% - 2.5px);bottom:-4px}.sidebar{position:relative;top:auto;height:auto}.workspace{min-height:0}.faq-card,.topic-section,.topic-intro,.catalog-card{scroll-margin-top:20px}}
@media(max-width:360px){.topbar{padding-left:12px;padding-right:12px}.topbar .brand strong,.topbar .brand-divider{display:none}.topbar .site-modes{gap:7px}.topbar .site-modes a{font-size:0.875rem;letter-spacing:0;padding-left:4px;padding-right:4px}}
:root{--record-ink:#28483e;--record-line:#c9b78f}
.learning-progress,.personal-intro,.import-preview{margin:20px 0 28px;padding:23px 26px;background:#f5efdf;border:1px solid var(--record-line);border-left:4px solid #476457;box-shadow:inset 0 0 0 5px #faf7ee}
.learning-progress{display:flex;justify-content:space-between;align-items:center;gap:20px}
.learning-progress p{margin:4px 0 8px}.learning-progress strong{font-size:1.75rem;color:var(--record-ink);font-family:Georgia,'Noto Serif CJK SC',serif}
.learning-progress .record-actions{max-width:50%;justify-content:flex-end}.record-small{font-size:0.875rem;line-height:1.75;color:#6b675c}
.record-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.record-actions button,.record-import,.record-primary{display:inline-flex;padding:9px 15px;align-items:center;border:1px solid #876f48;border-radius:3px;background:#fffaf0;color:#28483e;cursor:pointer;font:inherit;font-size:0.875rem;line-height:1.5;text-decoration:none}
.record-actions button[type=submit],.record-primary{background:#36584b;color:#fffaf0;border-color:#36584b}
.record-actions button:hover,.record-import:hover{background:#eee3ce}.record-actions button[type=submit]:hover,.record-primary:hover{background:#24473a;color:#fff}
.record-actions a{overflow-wrap:anywhere}.record-import{position:relative;overflow:hidden}.record-import input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.record-import:focus-within{outline:3px solid #b3764b;outline-offset:3px}
.record-editor{margin-top:20px;border-top:1px dashed #ccbea0;padding-top:13px}.record-editor summary{cursor:pointer;color:#36584b;font-size:0.875rem;font-weight:600;min-height:30px}.record-editor[open]{background:#faf6eb;padding:16px;border:1px solid #d8c8a7;border-left:3px solid #496953}
.record-editor form{margin-top:15px}.record-fields{display:flex;align-items:center;gap:16px;margin-bottom:13px}.record-editor label{display:block;color:#5b5547;font-size:0.875rem}.record-editor select{padding:8px 30px 8px 10px;border:1px solid #b6a783;background:#fffdf7;color:#29483b;border-radius:3px;font:inherit;font-size:0.875rem}
.record-editor textarea{display:block;box-sizing:border-box;width:100%;min-height:95px;margin:8px 0 12px;padding:12px;border:1px solid #b6a783;border-radius:3px;background:#fffdf7;resize:vertical;font:inherit;font-size:0.9375rem;line-height:1.8;color:#263c32}
.record-editor textarea:focus,.record-editor select:focus{outline:2px solid #456754;outline-offset:2px}.record-feedback,.record-message{font-size:0.875rem;line-height:1.75;color:#88432e}.record-feedback{flex:1;min-width:150px}.record-message:empty{display:none}.record-filters{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0}.record-filters button{border:1px solid #c7b893;padding:9px 14px;background:#fcf9f1;color:#395346;border-radius:3px;cursor:pointer;font:inherit;font-size:0.875rem}.record-filters [aria-pressed=true]{background:#36584b;color:#fffaf0;border-color:#36584b}
.personal-list{display:grid;gap:18px}.personal-note{white-space:pre-wrap}.personal-intro p{line-height:1.85}.personal-nav{margin-top:15px;border:1px solid #cbbb98!important}.import-preview{border-left-color:#9e4d35;background:#fff8e9}.import-preview h2{font-size:1.25rem}.study-intro a+a{margin-left:20px}
@media(max-width:760px){.learning-progress{display:block}.learning-progress .record-actions{max-width:none;justify-content:flex-start;margin-top:14px}.learning-progress,.personal-intro,.import-preview{padding:18px 17px;margin:17px 0 22px}.record-editor[open]{padding:12px}.record-actions{gap:10px}.record-feedback{min-width:100%;}.record-fields{justify-content:space-between}.record-actions button,.record-import,.record-primary{min-height:44px}.record-filters button{min-height:42px}}
.keyword-entry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:25px 0 32px}.keyword-entry{position:relative;display:block;padding:28px 23px;border:1px solid #c7b28a;border-top:3px double #a98b59;background:#fffaf0;box-shadow:inset 0 0 0 5px #f4eddf;color:#29483c;text-decoration:none}.keyword-entry:hover{border-color:#9f4f37;background:#fffdf6}.keyword-entry h2{font-family:var(--serif);font-size:1.375rem;letter-spacing:.08em;margin:14px 0}.keyword-entry p{font-size:0.875rem;line-height:1.9;color:#766b54}.entry-action{display:block;margin-top:25px;color:#96472e;font-size:0.875rem}.keyword-entry:focus-visible{outline:3px solid #426b54;outline-offset:4px}@media(max-width:960px){.keyword-entry-grid{grid-template-columns:1fr}.keyword-entry{padding:22px}.entry-action{margin-top:15px}}


/* Readable Chinese typography: scalable sizes, strong ink, unclipped navigation. */
:root{font-size:118.75%;--ink:#293b33;--muted:#514f43;--navy:#253e34;--blue:#255d4b;--teal:#2d5c49;--notice:#684622;--canvas:#f3eee3;--paper:#fffdf7;--sans:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",system-ui,-apple-system,"Segoe UI",sans-serif}
:root[data-text-size="normal"]{font-size:118.75%}
:root[data-text-size="large"]{font-size:131.25%}
:root[data-text-size="xlarge"]{font-size:150%}
body{font-family:var(--sans);font-weight:400;line-height:1.85;background-size:60px 60px}
button,input,select,textarea{font-family:var(--sans)}
a{color:var(--blue)}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #9b4c35;outline-offset:4px}
button,a,input,textarea,select,summary{touch-action:manipulation}
h1,h2,.question-title,.brand,.study-number{text-wrap:pretty}
.topbar{position:relative;top:auto;height:auto;min-height:0;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:1rem 1.5rem;padding:1rem clamp(1rem,2.4vw,2rem) 1.1rem}
.topbar .brand{font-size:1.12rem;line-height:1.7;letter-spacing:.04em;gap:.75rem;overflow-wrap:anywhere}
.topbar .brand strong{font-size:.95rem;color:#414f40;letter-spacing:.04em}.brand-divider{color:#806d4d}
.brand-mark{width:2rem;height:2rem;flex:none;font-size:1.05rem}
.header-tools{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.6rem 1rem;min-width:0}
.topbar .edition{display:block;color:#514d40;font-size:.875rem;white-space:normal;grid-area:auto;text-align:right}
.text-size-control{display:flex;align-items:center;gap:.2rem;padding:.22rem .3rem .22rem .6rem;border:1px solid #a89267;border-radius:3px;background:#fffdf5;color:#3a4b3e;box-shadow:inset 0 0 0 2px #f0e8d4}
.text-size-label{font-size:.875rem;font-weight:600;margin-right:.25rem;white-space:nowrap}
.text-size-control button{border:1px solid transparent;border-radius:2px;padding:.28rem .52rem;min-height:2.15rem;font-size:.875rem;line-height:1.4;color:#2d4b3b;background:transparent;font-weight:500;white-space:nowrap}
.text-size-control button:hover{background:#ece3cc;border-color:#a18c64}
.text-size-control button[aria-pressed="true"]{background:#365943;color:#fffef7;border-color:#274a37;box-shadow:inset 0 0 0 1px #65816c}
.topbar .site-modes{height:auto;grid-row:2;gap:.65rem;align-items:stretch}
.topbar .site-modes a{font-family:var(--sans);font-size:1rem;min-height:3.15rem;padding:.65rem .7rem;line-height:1.65;letter-spacing:.015em;color:#354b3b;overflow-wrap:anywhere}
.topbar .site-modes a[aria-current="page"]{color:#fffaf0}
.workspace{grid-template-columns:15rem minmax(0,1fr);max-width:1580px;min-height:0}
.sidebar{position:sticky;top:1rem;height:calc(100vh - 2rem);padding:1.4rem 1rem;align-self:start}
main{padding:1.8rem clamp(1.1rem,3.8vw,3.2rem) 2rem}
.sidebar .nav-label,.index-head h2{font-family:var(--sans);font-size:.9rem;font-weight:650;color:#59462f;letter-spacing:.03em}
.category-link{font-size:.94rem;padding:.55rem .55rem;overflow-wrap:anywhere;line-height:1.75}
.nav-count,.index-head span{font-size:.875rem;color:#514f43}
.index-link{font-size:.9rem;color:#40513f;line-height:1.85;padding:.45rem .4rem}
.sidebar-note{color:#514e41;line-height:1.9}
.copyright-banner{padding:1rem 1.15rem;border-color:#bdab86;box-shadow:inset 0 0 0 4px #f2ead8}
.copyright-banner p,.copyright-banner>p:not(.copyright-owner){color:#484936;font-size:.9rem;line-height:1.9}
.copyright-owner strong{font-size:1.05rem;line-height:1.8;color:#653f2b;font-family:var(--sans)}
.copyright-owner>span{color:#514e41}
.copyright-banner .copyright-feedback{font-size:.94rem;font-weight:600;color:#2f5844}
.search-panel{margin:1.5rem 0 1.8rem}.search-intro{font-size:1rem;font-weight:500;color:#354c3f;margin-bottom:.7rem}
.search-box{padding:.45rem .5rem .45rem .85rem;border:2px solid #9f8b60;gap:.6rem;background:#fffefa}
.search-box input{font-size:1rem;line-height:1.7;padding:.3rem 0}.search-box input::placeholder{color:#626255;opacity:1;font-size:1rem}
.search-box button{font-size:1rem;min-height:2.5rem;padding:.4rem 1rem}
.quick-terms,.quick-terms button{font-size:.9rem}.quick-terms button{color:#365442;min-height:2.15rem;padding:.15rem .4rem}
.quick-terms>span{color:#514f43}
.content-heading{flex-wrap:wrap;align-items:baseline;gap:.7rem}.eyebrow{font-size:.875rem;color:#685133;font-weight:600;letter-spacing:.08em}
h1{font-size:1.65rem;line-height:1.6}.reading-note{font-size:.95rem;color:#514f43;line-height:1.9}
#result-status{font-size:.875rem;color:#514f43;white-space:normal;padding:0}
.question-row-link{padding:1.15rem 1.4rem}.question-row h2{font-family:var(--sans);font-size:1.1rem;font-weight:650;line-height:1.85;letter-spacing:0}
.question-row p,.catalog-meta,.catalog-attribution,.catalog-access,.catalog-meta .reading-state,.keyword-card p,.keyword-entry p,.entry-action,.record-small,.record-editor label,.catalog-card .record-small{font-size:.9rem;color:#4e5343;line-height:1.85}
.faq-card,.topic-section,.topic-intro{padding:1.5rem 1.6rem}.faq-card .question-title{font-family:var(--sans);font-size:1.4rem;line-height:1.75;font-weight:650;letter-spacing:0}
.answer,.point-text{font-size:1rem;color:#293b33;line-height:1.95}.point-label{font-family:var(--sans);font-size:1rem;color:#315542;font-weight:650}
.point-actions{gap:.6rem 1rem}.read-original,.source-details,.source-link{font-size:.95rem}.source-details>summary{color:#345843;font-weight:600}
.attribution,.ai-notice,.aliases,.source-point .point-source,.source-item p,.limits{font-size:.9rem;line-height:1.9;color:#514f43}
.ai-notice{color:#674621}.source-link{color:#28533e}.link-kind,.related-label{font-size:.875rem;color:#4b5644}
.catalog-card{padding:1.2rem 1.4rem}.catalog-card h2{font-family:var(--sans);font-size:1.12rem;font-weight:650;line-height:1.85;margin:.45rem 0 .75rem}
.catalog-card h2 a{color:#244f3b}.source-keywords{gap:.45rem}.source-keywords a,.source-keywords>span{font-size:.9rem;color:#3c523c;border-color:#c8b889;background:#f1ead5;padding:.18rem .5rem;line-height:1.7}
.catalog-locator,.source-location{display:block;margin:.9rem 0 1rem;padding:.8rem 1rem;border:1px solid #9b9872;border-left:4px solid #577153;border-radius:3px;background:#f2f3e7;box-shadow:inset 0 0 0 3px #fcfcf2;color:#344832;font-size:.95rem;line-height:1.9;overflow-wrap:anywhere}
.source-location h3,.source-location h4,.source-location-title,.source-location>strong{display:block;margin:0 0 .4rem;font-family:var(--sans);font-size:1rem;font-weight:650;color:#2d4b34}
.source-location p,.source-location-path,.source-location-note,.source-location .catalog-locator{font-size:.95rem;color:#344832;line-height:1.9;margin:.35rem 0}
.source-location .catalog-locator{padding:0;border:0;background:transparent;box-shadow:none}
.source-location-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;margin-top:.7rem}
.source-location a{color:#234f3b;text-underline-offset:4px;font-weight:600}
.source-location button,.source-location-actions a{display:inline-flex;justify-content:center;align-items:center;padding:.45rem .7rem;font-size:.95rem;line-height:1.65;min-height:2.45rem;border:1px solid #697d5b;border-radius:2px;background:#fffef6;color:#285037;text-decoration:none;white-space:normal}
.source-location button:hover,.source-location-actions a:hover{background:#e4ead5;border-color:#345843}
.source-location img{max-width:100%;height:auto}
.study-card p,.study-card-main .study-count,.study-card-main .study-description,.study-other-link>span:last-child,.study-intro p,.study-card-actions a{font-size:.94rem;color:#514e3d;line-height:1.9}
.study-card-actions a:first-child{color:#7e3d2a;font-weight:600}.study-card h2{font-size:1.28rem;font-weight:700}.study-intro{padding:1rem 1.2rem}
.study-other-link>span:first-child{font-size:1.08rem;color:#34523d}.study-empty{color:#514e41}
.keyword-entry h2{font-size:1.25rem}.keyword-entry p,.entry-action{font-size:.95rem;color:#48513e}.entry-action{color:#7e3d2a;font-weight:600}
.keyword-card h2{font-size:1.1rem}.video-grid a{font-size:.95rem;color:#2e513d}.video-number,.video-grid small{font-size:.9rem;color:#4d553f}.video-grid a,.source-keywords a{min-height:2.25rem}
.graph-edge,.relationship-edge{font-size:.875rem;color:#50603e}.person-choice>span,.person-choice .add-person{font-size:.9rem;color:#43593f}
.record-editor summary,.record-editor label,.record-actions button,.record-import,.record-primary,.record-filters button,.record-editor select,.record-feedback,.record-message{font-size:.95rem;line-height:1.7}
.record-editor summary{min-height:2.3rem;color:#31513c}.record-editor textarea{font-size:1rem;min-height:6rem;line-height:1.9}.record-editor label{color:#4b503e}
.record-actions button,.record-import,.record-primary,.record-filters button{min-height:2.5rem;padding:.45rem .8rem}.record-fields{flex-wrap:wrap}.record-editor select{max-width:100%;min-width:0}.record-actions .record-primary{color:#fffaf0}
.record-feedback,.record-message{color:#813921}.learning-progress strong{font-size:1.6rem}.import-preview h2{font-size:1.2rem}
.source-filters button,.pagination button,.clear-button{font-size:.95rem;min-height:2.45rem}.pagination,.result-group-heading{flex-wrap:wrap}
footer{font-size:.9rem;color:#514d3e;line-height:1.95}.faq-card,.topic-section,.topic-intro,.catalog-card{scroll-margin-top:1.2rem}
@media(max-width:1100px){.workspace{grid-template-columns:13.5rem minmax(0,1fr)}main{padding-left:1.1rem;padding-right:1.1rem}.header-tools{gap:.45rem}.topbar .edition{display:none}.topbar .site-modes a{font-size:.95rem;padding:.55rem .35rem;letter-spacing:0}.study-overview{grid-template-columns:1fr}.person-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.workspace{display:block}.sidebar{position:relative;top:auto;height:auto;overflow:visible;padding:.9rem 1rem;border-right:0;border-bottom:1px solid var(--line)}#category-nav{display:flex;flex-wrap:wrap;gap:.4rem;overflow:visible;padding:0}#category-nav .nav-label,.sidebar .index-head,.sidebar #question-index,.sidebar-note{display:none}.category-link{white-space:normal;flex:0 1 auto;border:1px solid #cbbd9c;margin:0;font-size:.9rem;padding:.45rem .55rem}#keyword-nav{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.65rem;padding-top:.65rem}#keyword-nav .nav-label{display:none}#keyword-nav .category-link{margin:0}.study-sidebar-list{display:flex;flex-wrap:wrap;gap:.35rem;overflow:visible}.study-sidebar-list a{white-space:normal}.topbar{grid-template-columns:minmax(0,1fr);gap:.9rem}.topbar .brand{grid-column:1;grid-row:1}.header-tools{grid-column:1;grid-row:2;justify-content:flex-start}.topbar .site-modes{grid-row:3;grid-template-columns:repeat(6,minmax(0,1fr));gap:.55rem}.topbar .site-modes a{grid-column:span 2;font-size:.95rem;min-height:3rem;padding:.55rem .3rem}.topbar .site-modes a:nth-child(4),.topbar .site-modes a:nth-child(5){grid-column:span 3}.keyword-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-heading{margin-top:.5rem}.learning-progress{display:block}.learning-progress .record-actions{max-width:100%;justify-content:flex-start;margin-top:.7rem}}
@media(max-width:520px){.topbar{padding:.85rem .75rem 1rem}.topbar .brand strong,.topbar .brand-divider{display:inline;font-size:.875rem}.topbar .site-modes a{font-size:.875rem;line-height:1.7}.header-tools{width:100%}.text-size-control{width:100%;justify-content:space-between}.text-size-control button{padding:.35rem .65rem}.text-size-label{margin-right:auto}.brand{overflow-wrap:anywhere}main{padding:1.15rem .75rem 1.6rem}.copyright-banner{padding:.9rem}.copyright-owner strong{font-size:1rem}.copyright-banner .copyright-feedback{font-size:.94rem}.copyright-banner p{font-size:.9rem}.search-box{gap:.35rem;padding:.4rem}.search-box svg{display:none}.search-box input,.search-box input::placeholder{font-size:.95rem}.search-box button{padding:.4rem .65rem}.quick-terms{gap:.25rem}.quick-terms>span{display:block}.question-row-link,.catalog-card,.faq-card,.topic-section,.topic-intro{padding:1rem}.catalog-card h2{font-size:1.08rem}.catalog-locator,.source-location{padding:.7rem .75rem;line-height:1.95}.source-keywords a{font-size:.9rem}.keyword-grid,.keyword-entry-grid{grid-template-columns:1fr}.keyword-entry{padding:1.1rem}.record-editor[open]{padding:.75rem}.record-fields{gap:.5rem}.record-actions{gap:.6rem}.record-actions button,.record-import,.record-primary{max-width:100%;white-space:normal}.study-card{padding:1.1rem 1.1rem 1rem 1.5rem}.study-card-main{grid-template-columns:1.75rem minmax(0,1fr);column-gap:.8rem}.study-card-main .study-number{width:1.5rem;font-size:1.1rem}.study-card h2{font-size:1.2rem}.study-card-actions{margin-left:2.55rem;gap:.6rem}.study-intro>a+a{margin-left:0}.study-intro>a{display:block}.person-choices{grid-template-columns:1fr}.graph-row{grid-template-columns:1fr}.graph-edge{padding:.6rem}.relationship-nodes{grid-template-columns:1fr}.relationship-edge{padding:.4rem}h1{font-size:1.4rem}.result-group-heading{gap:.4rem}}
@media(max-width:380px){.topbar .site-modes{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar .site-modes a,.topbar .site-modes a:nth-child(4){grid-column:span 1}.topbar .site-modes a:nth-child(5){grid-column:1/-1}}
.header-tools{max-width:55vw}.topbar .edition{max-width:25rem}.topbar .brand>span:last-child{min-width:0}.nav-count{flex:none;min-width:2.1em;white-space:nowrap}.workspace{grid-template-columns:min(15rem,320px) minmax(0,1fr)}
.skip-link{top:0;transform:translateY(-160%)}.skip-link:focus{top:.4rem;transform:translateY(0)}
@media(max-width:900px){.header-tools{max-width:none;width:100%}.workspace{display:block}}
@media(max-width:900px){.sidebar #category-nav .category-link,.study-sidebar-list a{flex:0 1 auto;max-width:100%;min-width:0;white-space:normal}.category-link>span:not(.nav-count){min-width:0;overflow-wrap:anywhere}}
@media(forced-colors:active){.topbar .site-modes a[aria-current="page"],.text-size-control button[aria-pressed="true"]{outline:3px solid Highlight;outline-offset:-4px}.catalog-locator,.source-location{border:2px solid CanvasText}}

/* Supplemental sources and personal check marks have distinct labels as well as color. */
.study-jumps{display:flex;align-items:stretch;flex-wrap:wrap;gap:.65rem;margin:1rem 0 1.25rem}
.study-jumps button,.study-jumps a{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:2.7rem;padding:.55rem .85rem;border:1px solid #ab9368;border-radius:3px;background:#fffbef;color:#60492e;font-size:.95rem;line-height:1.65;font-weight:600;text-decoration:none}
.study-jumps [data-study-jump="supplements"]{border-color:#678577;background:#e9f1e9;color:#244d3c}.study-jumps [data-study-jump="supplements"]:hover{background:#dceadf}.study-jumps [data-study-jump="main"]:hover{background:#f2e8d0}
.study-supplements{margin-top:2rem;padding:1.3rem;border:1px solid #779884;border-left:5px solid #3e6c53;background:#edf4ec;box-shadow:inset 0 0 0 4px #f7fbf4;scroll-margin-top:1rem}
.study-supplements>h2{margin:.2rem 0 .8rem;color:#24513b;font-size:1.3rem;line-height:1.75}.study-supplements>p{color:#3b5743;font-size:.95rem;line-height:1.9}
.study-supplements>summary{cursor:pointer;color:#24513b;font-size:1.15rem;font-weight:650;line-height:1.8;padding:.25rem 0}.study-supplements>summary::marker{color:#426e51}.study-supplements[open]>summary{padding-bottom:.7rem;border-bottom:1px solid #bfd2bc;margin-bottom:1rem}
.study-supplements .catalog-card,.study-supplements .study-supplement-link{background:#fbfdf7;border-color:#b2c9b4;box-shadow:inset 3px 0 #d6e6d5}.study-supplements .catalog-card h2 a{color:#24523a}
.supplement-badge{display:inline-flex;align-items:center;padding:.15rem .5rem;border:1px solid #62876c;border-radius:3px;background:#e4f0e0;color:#275139;font-family:var(--sans);font-size:.875rem;font-weight:650;line-height:1.7}
.record-quick-row{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;margin-top:1rem;padding-top:.85rem;border-top:1px dashed #c6b992}
.record-quick{display:inline-flex;align-items:center;gap:.5rem;min-height:2.5rem;padding:.4rem .75rem;border:1px solid #7b8c6c;border-radius:3px;background:#fffef7;color:#31533a;font:inherit;font-size:.95rem;line-height:1.65;font-weight:600}
.record-check{display:inline-flex;align-items:center;justify-content:center;min-width:1.1em;font-size:1.15rem;line-height:1.1}.record-quick:hover{background:#eaf0e0}.record-quick[aria-pressed="true"]{background:#315f43;border-color:#274d35;color:#fffef7;box-shadow:inset 0 0 0 2px #537c5d}.record-quick[aria-pressed="true"]:hover{background:#224c34}
.record-toggle-feedback{font-size:.9rem;color:#425a3f;line-height:1.85}.record-toggle-feedback:empty{display:none}
.study-toc{position:relative;padding:1.3rem 1.5rem;margin:1.2rem 0 1.5rem;border:1px solid #af9970;border-top:3px double #937748;background:#fffaf0;box-shadow:inset 0 0 0 5px #f3ecd9}
.study-toc h2{font-family:var(--serif);font-size:1.25rem;line-height:1.8;margin:0 0 .7rem;color:#4d492f}.study-toc p{font-size:.95rem;color:#4e513f;line-height:1.85}.study-toc label{display:block;margin:.65rem 0 .3rem;font-size:.95rem;font-weight:600;color:#3c513b}
.study-toc [data-study-toc-search]{display:block;width:100%;min-width:0;border:1px solid #a4936f;background:#fffef8;border-radius:2px;color:#283e30;font:inherit;font-size:1rem;line-height:1.7;padding:.5rem .7rem;margin:.6rem 0}
.study-toc [data-study-toc-search]::placeholder{color:#5a604e;opacity:1}
.study-toc [data-study-toc-select]{display:block;width:100%;max-width:100%;min-width:0;font:inherit;font-size:.95rem;line-height:1.85;color:#294534;background:#fffef8;border:1px solid #a49676;border-radius:2px;padding:.35rem;min-height:12rem;margin:.6rem 0}
.study-toc [data-study-toc-select] option{padding:.4rem .5rem;white-space:normal;overflow-wrap:anywhere;line-height:1.8}.study-toc [data-study-toc-select] option:checked{background:#365d43 linear-gradient(0deg,#365d43,#365d43);color:#fffdf4}
.study-toc [data-study-toc-select]{height:16rem;max-height:65vh;overflow:auto}
.study-toc-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem 1rem;margin-top:.8rem}.study-toc-actions button,.study-toc-actions a{min-height:2.5rem;font:inherit;font-size:.95rem;line-height:1.65;padding:.45rem .85rem;border:1px solid #758760;border-radius:3px;background:#fffef7;color:#2d4b35;text-decoration:none}.study-toc-actions button[data-study-toc-go]{background:#365d43;border-color:#2b5036;color:#fffdf2}.study-toc-actions .record-quick[aria-pressed="true"]{background:#315f43;color:#fffef7;border-color:#274d35}
.study-index-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:.4rem;padding:.35rem 0;border-bottom:1px solid #e1d7c1;min-width:0}.study-index-title{display:block;padding:.3rem .2rem;min-width:0;font-size:.9rem;line-height:1.8;overflow-wrap:anywhere;color:#39523b;text-decoration:none}.study-index-title:hover{color:#7a3d2b;text-decoration:underline}.study-index-title[aria-current="true"]{background:#ede2c9;color:#70492e}
.study-index-check{display:grid;place-items:center;width:2rem;height:2rem;min-width:2rem;margin-top:.2rem;padding:0;border:1px solid #82916f;border-radius:3px;background:#fffdf4;color:#34543a;font:inherit;font-size:1rem;line-height:1}.study-index-check[aria-pressed="true"]{background:#315f43;border-color:#274d35;color:#fffef7}.study-index-check:hover{outline:2px solid #7b8f66;outline-offset:1px}
.study-toc-actions button[data-study-open]{background:#365d43;border-color:#2b5036;color:#fffdf2}.study-toc-actions button:disabled{opacity:.65;cursor:not-allowed}.study-supplements .result-group-heading{border-bottom-color:#b9d0b8}.study-supplements .result-group-heading h2{color:#24513b;font-size:1.2rem;line-height:1.8}.study-supplements .result-group-heading>span{color:#3b5743}
.study-toc-actions .record-quick-row{margin:0;padding:0;border:0}.toc-completion{min-width:0}
.study-supplements [data-study-extra-toggle]{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:2.6rem;margin:.4rem 0 1rem;padding:.5rem .9rem;border:1px solid #5c8067;border-radius:3px;background:#fffef5;color:#2b5039;font:inherit;font-size:.95rem;font-weight:600;line-height:1.7}.study-supplements [data-study-extra-toggle]:hover{background:#dfeadb;border-color:#315c3d}.supplement-entry{margin-top:.65rem}.supplement-entry>.supplement-badge{margin-bottom:.4rem}
.study-card-main:not(:has(.study-number)){grid-template-columns:minmax(0,1fr) auto;align-items:center}.study-card-main:not(:has(.study-number))>div{grid-column:1;grid-row:1}.study-card-main:not(:has(.study-number))>span:last-child{grid-column:2;grid-row:1;margin:0}

/* A quiet reading room: clear paper layers, ink and seal accents. */
body{background-image:none;background-color:#f2ede1}
.topbar{background:linear-gradient(180deg,#fcfaf3,#f8f3e7);border-bottom-color:#b9a578;box-shadow:0 3px 0 #ece1c9,0 4px 0 #d6c5a3}
.topbar .site-modes a{border-color:#c1ad85;background:#f2ecdc;box-shadow:inset 0 0 0 2px #fdf9ee}
.topbar .site-modes a:hover{border-color:#987645;background:#eae0ca}.topbar .site-modes a[aria-current="page"]{background:#914c39;border-color:#783927;box-shadow:inset 0 0 0 2px #b9755a;color:#fffaf0}
.workspace{background:#fbf8f0}.sidebar{background:linear-gradient(90deg,#fbf9f1 0,#fbf9f1 calc(100% - 5px),#e9dfca calc(100% - 5px),#f5efdf 100%)}
main{background:#faf7ee}.search-box{box-shadow:0 4px 0 #eae0ca66}.search-box:focus-within{box-shadow:0 0 0 3px #42644b25;border-color:#567452}
.question-row,.catalog-card,.source-detail,.topic-section,.topic-intro,.faq-card{background:#fffdf8;border-color:#d0c09e;box-shadow:0 2px 0 #ede5d288,0 5px 12px #57452b04}
.question-row:hover,.catalog-card:hover{border-color:#b29b6d}.catalog-card{box-shadow:inset 3px 0 #e4d6b8,0 3px 0 #efe8d888}
.study-card{box-shadow:inset 0 0 0 5px #f9f4e8,0 4px 0 -1px #ede2ca,0 5px 0 -1px #cdb890,0 8px 14px #55402508}
.source-found{display:flex;align-items:baseline;gap:.4rem;flex-wrap:wrap;padding:.55rem .75rem;margin:.7rem 0;border:1px solid #beaa7a;border-left:3px solid #a4593c;background:#faf0d8;color:#61462a;font-size:.95rem;line-height:1.8;font-weight:600}
.source-found a{color:#325b3e;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.source-tag-details{padding:.55rem 0;margin:.7rem 0;border-top:1px solid #ddd0b4;line-height:1.85}.source-tag-details>summary{cursor:pointer;color:#35533d;font-size:.95rem;font-weight:600;min-height:2.3rem;padding:.2rem 0}.source-tag-details[open]>summary{margin-bottom:.45rem}.source-tag-details p{font-size:.9rem;color:#545442;margin:.4rem 0 .7rem;line-height:1.85}.source-tag-details .source-keywords{margin-top:.55rem}

/* Each map edge joins a keyword and a document, never two inferred identities. */
.map-picker,.map-reading,.map-empty{padding:1.4rem 1.5rem;margin:1.1rem 0 1.6rem;border:1px solid #bcaa84;border-radius:3px;background:#fffdf6;box-shadow:inset 0 0 0 4px #f6efdc}
.map-picker{border-top:3px double #a78b58}.map-picker h2,.map-empty h2,.map-heading h2{font-family:var(--serif);font-size:1.25rem;font-weight:700;color:#2d4b37;line-height:1.8;margin:0 0 .7rem;letter-spacing:.025em}
.map-picker label{display:block;color:#3d503c;font-size:.95rem;font-weight:600;margin:.7rem 0 .35rem}
.map-search-row{display:flex;gap:.55rem;align-items:stretch}.map-search-row input{min-width:0;flex:1;font:inherit;font-size:1rem;border:1px solid #a38f67;border-radius:2px;background:#fffef9;color:#2c4333;padding:.55rem .75rem}.map-search-row input::placeholder{color:#5b614f;opacity:1}.map-search-row button{flex:none;border:1px solid #2c5239;border-radius:2px;background:#365c42;color:#fffdf2;padding:.45rem 1rem;font:inherit;font-size:.95rem;font-weight:600;min-height:2.7rem;line-height:1.65}
.map-pick-note,.map-empty p{font-size:.95rem;color:#4d5641;line-height:1.9;margin:.7rem 0 1rem}.map-candidates{display:flex;flex-wrap:wrap;align-items:stretch;gap:.6rem}.map-candidates .map-term{min-width:7rem}
.map-term{display:flex;flex-direction:column;gap:.15rem;min-width:0;padding:.55rem .65rem;border:1px solid #adbc9b;border-radius:3px;background:#f2f6ea;color:#2f4e35;text-decoration:none;line-height:1.7;overflow-wrap:anywhere;box-shadow:inset 0 2px #e2ead2}.map-term strong{font-size:.98rem;font-weight:650;line-height:1.8}.map-node-kind{display:block;font-size:.875rem;color:#526049;font-weight:500;line-height:1.65}.map-term-person{border-color:#c4a78d;background:#fbf1e6;box-shadow:inset 0 2px #ead8c1}.map-term-person .map-node-kind{color:#715439}.map-term-story{border-color:#c1b38b;background:#f9f3df;box-shadow:inset 0 2px #e8ddba}.map-term-story .map-node-kind{color:#6b5a35}.map-term:hover{border-color:#476a49;background:#e8f0dc;color:#24482e;box-shadow:inset 0 2px #9eaf7e}.map-term:focus-visible,.map-source:focus-visible{outline:3px solid #995236;outline-offset:4px}
.map-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.6rem 1rem;padding-bottom:.6rem;border-bottom:1px solid #cbb98f}.map-heading h2{margin:0}.map-heading>span{font-size:.9rem;color:#4f5842;line-height:1.8}.map-explanation{font-size:.95rem;line-height:1.9;color:#42533c;padding:.7rem .85rem;margin:.9rem 0;background:#f1f4e7;border-left:3px solid #6e895e}
.map-legend{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem .7rem;font-size:.9rem;line-height:1.8;color:#4e553f;margin:.9rem 0 1.4rem}.map-legend-term,.map-legend-source{padding:.15rem .45rem;border:1px solid #b4bd99;border-radius:2px;background:#f4f4e6;color:#375338}.map-legend-source{border-color:#b1a386;background:#fffaf0;color:#635035}
.connection-map{--map-flow:horizontal;display:grid;grid-template-columns:minmax(8rem,.72fr) minmax(0,1.45fr) minmax(0,1fr);gap:1.65rem 2.4rem;position:relative;min-width:0;isolation:isolate;padding:.8rem 0 1rem}
.map-lines{position:absolute;inset:0;width:100%;height:100%;fill:none;pointer-events:none;z-index:-1;overflow:visible}.map-lines path{fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.map-focus-line{stroke:#718959;stroke-width:2.4}.map-peer-line{stroke:#b2925d;stroke-width:2}
.map-focus{grid-column:1;align-self:center;min-width:0;padding:1rem .75rem;background:#355d43;border:1px solid #25462e;border-radius:3px;box-shadow:inset 0 0 0 3px #638167,0 3px 0 #dce3ca;color:#fffef3;text-align:center;overflow-wrap:anywhere}.map-focus .map-node-kind{color:#f1ead6;font-size:.875rem}.map-focus strong{display:block;font-family:var(--serif);font-size:1.28rem;font-weight:700;line-height:1.75;margin:.5rem 0 .7rem}.map-focus>a{display:block;color:#fff8dc;font-size:.875rem;font-weight:500;line-height:1.85;text-underline-offset:4px}
.map-source-row{display:contents}.map-source-wrap{grid-column:2;align-self:center;min-width:0}.map-source{position:relative;display:block;min-width:0;padding:.85rem .95rem;border:1px solid #af9970;border-radius:3px;background:#fffaf0;box-shadow:inset 0 0 0 3px #f0e6d0,0 2px 0 #e9dec6;color:#2d4d38;text-decoration:none;overflow-wrap:anywhere}.map-source:before{content:"";position:absolute;left:5px;top:5px;width:5px;height:5px;border-top:1px solid #ab8a50;border-left:1px solid #ab8a50;pointer-events:none}.map-source strong{display:block;font-size:1rem;line-height:1.85;font-weight:650;margin:.4rem 0 .5rem}.map-source:hover{border-color:#4e7250;background:#f6f8ec}.map-source-action{display:block;font-size:.9rem;font-weight:600;color:#6f4b2e;line-height:1.8}.map-source-caveat{font-size:.875rem;line-height:1.85;color:#684e31;margin:.6rem .3rem 0}
.map-peer-wrap{grid-column:3;align-self:center;min-width:0}.map-peer-label{display:block;color:#65573d;font-size:.875rem;line-height:1.8;margin:0 0 .55rem}.map-peers{display:grid;gap:.65rem;min-width:0}.map-more-terms{display:block;margin:.65rem 0 0;font-size:.875rem;color:#4f6345;line-height:1.8;text-underline-offset:3px}.map-no-peers{padding:.7rem;border:1px dashed #c6c5a8;background:#faf9ed;color:#596249;font-size:.9rem;line-height:1.8}
.map-focus{align-self:start;margin-top:1.5rem}.map-peer{flex-direction:row;align-items:baseline;gap:.45rem;padding:.45rem .55rem}.map-peer .map-node-kind{flex:none;font-size:.875rem}.map-peer strong{font-size:.95rem;line-height:1.8}
.map-pages{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.7rem;margin:1.2rem 0;padding-top:1rem;border-top:1px solid #d9ceb5}.map-pages button{border:1px solid #8d9b76;border-radius:3px;background:#fffdf3;color:#34593a;padding:.45rem .8rem;min-height:2.5rem;font:inherit;font-size:.95rem;font-weight:600;line-height:1.7}.map-pages button:disabled{color:#67675a;background:#eeecdf;border-color:#b6b49f;cursor:not-allowed}.map-pages>span{font-size:.9rem;color:#4d5841;line-height:1.8}.map-limit{font-size:.9rem;line-height:1.9;color:#4f5844;padding-top:.75rem;border-top:1px solid #ddd4bd;margin-bottom:0}
@media(max-width:1200px){.connection-map{grid-template-columns:minmax(7rem,.75fr) minmax(0,1.4fr) minmax(0,1fr);column-gap:1.6rem}.map-source{padding:.7rem}.map-term{padding:.45rem .55rem}.map-focus{padding:.8rem .6rem}}
@media(max-width:1050px){.connection-map{--map-flow:vertical;display:block;padding:.7rem 0 .5rem}.map-focus{max-width:23rem;margin:0 0 1.75rem 1.3rem;grid-row:auto!important;text-align:left;padding:1rem}.map-focus strong{margin:.35rem 0 .45rem}.map-source-row{display:block;margin:1.4rem 0 1.8rem 1.3rem;padding:0 0 1rem}.map-source-wrap{margin-left:0}.map-peer-wrap{margin:1.35rem 0 0 1rem}.map-peer-label{display:inline-block;position:relative;z-index:1;background:#fffdf6;padding:.1rem .3rem;margin:0 0 .65rem}.map-peers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.map-more-terms{margin-top:.75rem}.map-reading{padding:1.15rem 1.2rem}}
@media(max-width:600px){.map-picker,.map-reading,.map-empty{padding:1rem;margin:1rem 0 1.2rem}.map-heading h2,.map-picker h2,.map-empty h2{font-size:1.15rem}.map-search-row{gap:.4rem}.map-search-row input{padding:.5rem .6rem;font-size:.95rem}.map-search-row button{padding:.4rem .6rem}.map-candidates{gap:.45rem}.map-candidates .map-term{min-width:0;flex:1 1 8rem}.map-candidates .map-term strong{font-size:.95rem}.map-explanation{padding:.65rem .7rem}.map-legend{gap:.4rem;font-size:.875rem}.map-peer-wrap{margin-left:.55rem}.map-peers{grid-template-columns:1fr}.map-source-row{margin-left:1.1rem}.map-focus{margin-left:1.1rem;max-width:none}.map-source strong{font-size:1rem}.map-pages>span{flex-basis:100%;order:3}.map-focus>a{font-size:.9rem}.map-node-kind{font-size:.875rem}}
.keyword-story-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem 1rem;padding:1rem 1.15rem;margin:1rem 0 1.4rem;border:1px solid #b9aa85;border-left:4px solid #6f855e;border-radius:3px;background:#f2f2e5;box-shadow:inset 0 0 0 3px #fcfbf0}.keyword-story-filter label{display:flex;flex-direction:column;gap:.4rem;min-width:0;font-size:.95rem;font-weight:600;color:#37513b;line-height:1.8}.keyword-story-filter select{display:block;width:100%;max-width:100%;min-width:0;font:inherit;font-size:.95rem;line-height:1.8;padding:.5rem 1.6rem .5rem .6rem;border:1px solid #9ba384;border-radius:3px;background:#fffef8;color:#304933;min-height:2.6rem;text-overflow:ellipsis}.keyword-story-filter>p,.keyword-story-filter>.filter-note{grid-column:1/-1;margin:.1rem 0 0;font-size:.9rem;line-height:1.9;color:#535944;font-weight:400}.keyword-story-filter option{font:inherit;color:#304933;background:#fffef8}.keyword-story-filter select:focus-visible{outline:3px solid #995236;outline-offset:3px}
@media(max-width:700px){.keyword-story-filter{grid-template-columns:1fr;padding:.9rem}.keyword-story-filter select{font-size:.95rem}}
.keyword-story-filter{display:block}.keyword-story-filter>h2{font-family:var(--sans);font-size:1.12rem;line-height:1.8;margin:0 0 .6rem;color:#31503b}.keyword-story-filter>p{margin:.4rem 0 .8rem}.keyword-filter-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem 1rem}
@media(max-width:700px){.keyword-filter-fields{grid-template-columns:1fr}}
.source-detail{padding:1.5rem 1.6rem;background:#fffdf7;border:1px solid #c7b58d;box-shadow:inset 0 0 0 5px #f7f1e2;overflow-wrap:anywhere}.source-detail>h2{margin:.3rem 0 1rem;font-family:var(--sans);font-size:1.3rem;color:#294631;line-height:1.8;font-weight:650}.source-detail .catalog-meta{margin-top:0}.source-location .source-location-title{font-size:1rem;font-weight:650;color:#2d4b34}.source-location-actions button{display:inline-flex;justify-content:center;align-items:center;padding:.45rem .7rem;font-size:.95rem;line-height:1.65;min-height:2.45rem;border:1px solid #697d5b;border-radius:2px;background:#fffef6;color:#285037;text-decoration:none;white-space:normal}.source-location-actions button:hover{background:#e4ead5;border-color:#345843}.copy-source-status{font-size:.9rem;line-height:1.8;color:#42563e}.source-alternatives{padding:1rem 1.1rem;margin:1rem 0 1.2rem;background:#edf4e9;border:1px solid #8aa57a;border-left:4px solid #4c774e;color:#344e36}.source-alternatives h3{font-family:var(--sans);font-size:1.08rem;line-height:1.8;margin:0 0 .5rem;color:#274d32}.source-alternatives p{font-size:.95rem;line-height:1.9}.source-alternatives a{font-weight:600;line-height:1.9}.source-alternatives p:last-child{margin-bottom:.3rem}
@media(max-width:900px){.study-sidebar-list:has(.study-index-row){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem}.study-index-row{padding:.35rem .45rem;background:#f7f2e5;border:1px solid #d6c9ac}}
@media(max-width:520px){.study-toc{padding:1rem}.study-toc-actions{display:grid;grid-template-columns:1fr;gap:.6rem}.study-toc-actions button,.study-toc-actions a{width:100%;justify-content:center;text-align:center}.study-toc [data-study-toc-select]{min-height:13rem}.study-supplements{padding:.85rem;border-left-width:4px}.study-supplements .catalog-card{padding:.9rem}.study-jumps{display:grid;grid-template-columns:1fr}.study-sidebar-list:has(.study-index-row){grid-template-columns:1fr}.record-quick-row{align-items:flex-start;gap:.5rem}.record-toggle-feedback{flex-basis:100%}.source-detail{padding:1rem}.source-alternatives{padding:.8rem}.source-detail>h2{font-size:1.15rem}}

/* Compact browsing preserves the chosen font size and reveals tools on demand. */
[hidden]{display:none!important}
.topbar{padding-top:.65rem;padding-bottom:.75rem;row-gap:.65rem}.topbar .site-modes a{min-height:2.7rem;padding:.45rem .6rem;letter-spacing:.025em;font-family:var(--sans)}
main{padding-top:1rem;padding-bottom:1.4rem}.sidebar{padding-top:1rem}.sidebar .category-link{padding-top:.45rem;padding-bottom:.45rem}
.copyright-banner{padding:.55rem .8rem;margin:0 0 .85rem;box-shadow:inset 0 0 0 2px #f2ead8}.copyright-banner .copyright-owner{margin:0}.copyright-owner strong{font-size:.95rem;line-height:1.7}.copyright-banner p,.copyright-banner>p:not(.copyright-owner){font-size:.9rem;line-height:1.65;margin:.12rem 0}.copyright-banner .copyright-feedback{font-size:.9rem;line-height:1.65;margin:.2rem 0 0;padding-top:.25rem}.copyright-banner details{font-size:.9rem;line-height:1.65;margin:.15rem 0 0}.copyright-banner summary{cursor:pointer;color:#36553d;min-height:2rem;width:fit-content;padding:.2rem 0}.copyright-banner details p{margin:.3rem 0}.copyright-banner a{font-weight:600}
.search-panel{margin:.7rem 0 1rem}.search-intro{margin:0 0 .3rem;font-size:.95rem;line-height:1.7}.search-box{padding:.2rem .35rem .2rem .65rem;box-shadow:none}.search-box button{min-height:2.35rem;padding:.3rem .75rem}.quick-terms{margin-top:.3rem;gap:.15rem .45rem}.quick-terms button{min-height:2rem;padding:.1rem .25rem}
.content-heading{padding-bottom:.4rem;margin:.25rem 0 .5rem;gap:.35rem .7rem}.content-heading h1{font-size:1.45rem;line-height:1.55}.eyebrow{margin-bottom:.1rem;line-height:1.6}.reading-note{margin:.35rem 0 .85rem;line-height:1.75}.result-group{margin-bottom:1.2rem}.result-group-heading{margin-bottom:.45rem;padding-bottom:.3rem;gap:.3rem .75rem}
.question-row{margin-bottom:.45rem}.question-row-link{padding:.65rem .9rem}.question-row h2{line-height:1.65;margin:0 0 .15rem}.question-row p{line-height:1.7}.keyword-grid{gap:.5rem}.keyword-card{padding:.6rem .8rem}.keyword-card h2{margin:.15rem 0;line-height:1.6}.keyword-card p{line-height:1.7}
.keyword-entry-grid{gap:.65rem;margin:.75rem 0 1rem}.keyword-entry{padding:.85rem 1rem;box-shadow:inset 0 0 0 3px #f4eddf}.keyword-entry h2{margin:.25rem 0;font-size:1.2rem}.keyword-entry p{margin:.25rem 0;line-height:1.7}.entry-action{margin-top:.4rem;min-height:2rem;line-height:1.7}.keyword-story-filter{padding:.7rem .85rem;margin:.6rem 0 .9rem}.keyword-story-filter>h2{margin:0 0 .25rem;font-size:1.05rem}.keyword-story-filter>p{margin:.25rem 0 .5rem;line-height:1.75}.keyword-filter-fields{gap:.5rem .75rem}.keyword-story-filter select{min-height:2.5rem;padding:.3rem 1.5rem .3rem .5rem}
.study-overview{gap:.7rem;margin:.7rem 0 1rem}.study-card{padding:.85rem 1rem .75rem 1.2rem;gap:.5rem}.study-card-main{column-gap:.7rem;row-gap:.3rem}.study-card h2{font-size:1.2rem;line-height:1.6;margin:0 0 .25rem}.study-card p,.study-card-main .study-count{margin:.15rem 0;line-height:1.7}.study-card-actions{padding-top:.45rem;gap:.35rem .7rem}.study-card-actions a{min-height:2rem;line-height:1.7}.study-intro{padding:.45rem .75rem;margin:.55rem 0;border-left-width:3px}.study-intro>a{margin:0;line-height:1.7;min-height:2rem;padding:.15rem 0}.study-intro p{margin:.15rem 0;line-height:1.75}
.learning-progress,.personal-intro,.import-preview{padding:.65rem .85rem;margin:.65rem 0 .9rem;box-shadow:inset 0 0 0 2px #faf7ee}.learning-progress{gap:.45rem .8rem;flex-wrap:wrap}.learning-progress strong{font-size:1.2rem}.learning-progress p{margin:.1rem 0;line-height:1.7}.learning-progress .record-actions{margin:0;max-width:none;gap:.4rem}.learning-progress details{font-size:.9rem;line-height:1.7}.learning-progress details>summary{cursor:pointer;min-height:2rem;padding:.15rem 0;color:#38573f}.learning-progress details[open]{flex-basis:100%}.personal-intro p{margin:.35rem 0;line-height:1.75}.record-filters{margin:.65rem 0;gap:.4rem}.personal-list{gap:.5rem}.record-actions{gap:.5rem .7rem}.record-actions button,.record-import,.record-primary,.record-filters button{padding:.35rem .65rem;min-height:2.35rem}
.study-jumps{gap:.4rem;margin:.6rem 0}.study-jumps button,.study-jumps a{min-height:2.35rem;padding:.35rem .6rem}.study-supplements{padding:.7rem .85rem;margin-top:1rem;box-shadow:inset 0 0 0 2px #f7fbf4}.study-supplements>summary{padding:.2rem 0;font-size:1.05rem;line-height:1.7;min-height:2.3rem}.study-supplements[open]>summary{padding-bottom:.4rem;margin-bottom:.5rem}.study-supplements>p{margin:.35rem 0 .65rem;line-height:1.75}
.map-picker,.map-reading,.map-empty{padding:.8rem 1rem;margin:.65rem 0 .9rem;box-shadow:inset 0 0 0 2px #f6efdc}.map-picker h2,.map-empty h2,.map-heading h2{font-size:1.15rem;line-height:1.65;margin-bottom:.3rem}.map-picker label{margin:.3rem 0 .2rem;line-height:1.7}.map-pick-note,.map-empty p{margin:.4rem 0 .6rem;line-height:1.75}.map-search-row input{padding:.35rem .55rem}.map-search-row button{min-height:2.5rem;padding:.3rem .65rem}.map-candidates{gap:.4rem}.map-term{padding:.35rem .5rem}.map-term strong{line-height:1.65}.map-heading{padding-bottom:.35rem}.map-explanation{padding:.45rem .6rem;margin:.5rem 0;line-height:1.75}.map-legend{margin:.45rem 0 .7rem}.map-source{padding:.6rem .7rem}.map-source strong{margin:.2rem 0 .3rem;line-height:1.7}.map-source-caveat{margin:.3rem .15rem 0;line-height:1.7}.map-pages{margin:.65rem 0;padding-top:.6rem}.map-limit{padding-top:.5rem;line-height:1.75}
.catalog-card.source-compact{padding:.6rem .8rem;margin-bottom:.45rem;border-radius:2px;box-shadow:inset 2px 0 #e4d6b8;min-width:0}.source-compact .catalog-meta{gap:.15rem .7rem;font-size:.875rem;line-height:1.65}.source-compact h2{font-size:1.08rem;line-height:1.65;margin:.15rem 0 .25rem}
.source-compact .source-location-inline{display:block;margin:.2rem 0 .3rem;padding:.2rem .5rem;border:0;border-left:2px solid #768d6c;border-radius:0;background:#f1f3e9;box-shadow:none;color:#344832;font-size:.9rem;line-height:1.65;overflow-wrap:anywhere}.source-compact .source-location-inline p{margin:0}.source-compact .source-location-inline strong{font-size:inherit;line-height:inherit}.source-compact .source-location-inline a{font-weight:600}.source-compact .catalog-access,.source-compact .catalog-attribution{font-size:.9rem;line-height:1.7;margin:.2rem 0}.source-compact .source-found{display:inline;margin:0 .45rem 0 0;padding:0;border:0;background:transparent;font-size:.9rem;line-height:1.65;font-weight:500;color:#61462a}
.source-tools{display:flex;align-items:flex-start;flex-wrap:wrap;gap:.1rem .9rem;margin-top:.25rem;padding-top:.2rem;border-top:1px solid #e1d8c2;min-width:0}.source-tools>.record-quick-row{margin:0;padding:0;border:0;gap:.4rem;align-items:center;flex:0 1 auto}.source-tools .record-quick{min-height:44px;padding:.25rem .45rem;font-size:.9rem;gap:.3rem;line-height:1.65}.source-tools .record-check{font-size:1rem}.source-tools .record-toggle-feedback{font-size:.9rem;line-height:1.65}
.source-tools>.record-editor,.source-tools>.source-tag-details{flex:0 1 auto;min-width:0;margin:0;padding:0;border:0;line-height:1.7}.source-tools>.record-editor>summary,.source-tools>.source-tag-details>summary{display:list-item;min-height:44px;width:fit-content;padding:.4rem 0;font-size:.9rem;line-height:1.65;font-weight:600;color:#35533d;cursor:pointer}.source-tools>.record-editor[open],.source-tools>.source-tag-details[open]{flex:1 0 100%;order:2;width:100%;padding:.5rem .65rem;border:1px solid #d8c8a7;border-left:3px solid #496953;background:#faf6eb}.source-tools>.record-editor[open]>summary,.source-tools>.source-tag-details[open]>summary{min-height:2rem;padding:0;margin:0 0 .35rem}.source-tools .record-editor form{margin-top:.4rem}.source-tools .record-fields{margin-bottom:.5rem;gap:.5rem .8rem}.source-tools .record-editor textarea{margin:.3rem 0 .5rem;min-height:5rem;padding:.5rem}.source-tools .source-tag-details p{margin:.2rem 0 .4rem;line-height:1.7}.source-tools .source-keywords{gap:.35rem;margin:.3rem 0 0}.source-tools .source-keywords a,.source-tools .source-keywords>span{min-height:2.2rem;padding:.2rem .4rem;line-height:1.65}.source-compact .source-tools:empty,.source-compact .catalog-attribution:empty,.source-compact .catalog-access:empty{display:none}
.pagination{margin:.75rem 0;gap:.5rem .8rem}.pagination button{min-height:2.35rem;padding:.3rem .6rem}footer{margin-top:1.2rem;padding-top:.7rem;line-height:1.75}footer p{margin:.4rem 0}

.source-title-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.15rem .65rem;min-width:0}.source-title-row>h2{flex:1 1 15rem;min-width:0}.source-open{display:inline-flex;align-items:center;justify-content:center;gap:.25rem;min-height:44px;padding:.2rem .45rem;border:1px solid #a8b196;border-radius:2px;background:#f4f6eb;color:#2e5138;font-size:.9rem;font-weight:600;line-height:1.65;text-decoration:none}.source-open:hover{background:#e5ecd7;border-color:#55734e}.source-tools .source-more{display:inline-flex;align-items:center;min-height:44px;padding:.25rem 0;font-size:.9rem;line-height:1.65}.question-return{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:44px;padding:.35rem .75rem;margin:0 0 .65rem;border:1px solid #466444;border-radius:2px;background:#f2f5e9;color:#2b4d34;font:inherit;font-size:.95rem;font-weight:650;line-height:1.7;text-decoration:none}.question-return:hover{background:#e1ead2;border-color:#294d32}.is-recent{outline:2px solid #967242;outline-offset:1px}.recent-label{display:inline-block;margin:0 .4rem .15rem 0;padding:.08rem .35rem;background:#f0e2bd;color:#694624;font-size:.875rem;line-height:1.65;font-weight:600}

/* Leave room for the persistent article picker after an in-page jump. */
@media(max-width:1279px){body[data-study-outline=true] .source-compact,body[data-study-outline=true] #study-main,body[data-study-outline=true] #study-supplements{scroll-margin-top:calc(3.6rem + 2px)}}
@media(min-width:1100px){.copyright-banner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.1rem .8rem;align-items:center}.copyright-banner .copyright-owner{grid-column:1/-1}.copyright-banner>p:not(.copyright-owner){margin:0}.copyright-banner .copyright-feedback{margin:0;padding:0;border:0}.copyright-banner .copyright-feedback>summary{min-height:44px;display:flex;align-items:center;gap:.25rem;padding:.2rem 0;font-size:.9rem;white-space:nowrap}.copyright-banner .copyright-feedback>summary:before{content:'▸';font-size:.85em}.copyright-banner .copyright-feedback[open]{grid-column:1/-1;border-top:1px solid #e5dac4;padding-top:.2rem}.copyright-banner .copyright-feedback[open]>summary:before{content:'▾'}}
body[data-view=learn] .content-heading .eyebrow{display:none}body[data-view=learn] .content-heading{margin-top:.2rem;padding-bottom:.3rem}body[data-view=learn] .reading-note{margin:.3rem 0 .55rem}body[data-view=learn] .learning-progress{padding:.35rem .7rem;margin:.5rem 0 .65rem}
.study-card-main:has(.study-number){grid-template-columns:1.75rem minmax(0,1fr) 1rem;align-items:center}.study-card-main:has(.study-number)>span:last-child{grid-column:3;grid-row:1;margin:0;align-self:center}.study-card-main:has(.study-number)>.study-number{grid-column:1;grid-row:1;align-self:start}.study-card-main:has(.study-number)>div{grid-column:2;grid-row:1}

/* Keep article selection beside the text instead of below the section menu. */
.study-outline{display:none;min-width:0;background:#f7f4e8;border-right:1px solid #cfc1a1;color:#304a36}.study-outline-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.3rem .5rem;margin:0 0 .5rem;padding-bottom:.4rem;border-bottom:2px solid #b49560}.study-outline h2{margin:0;font-size:1rem;font-family:var(--sans);font-weight:650;line-height:1.65;color:#405237}.study-outline-head p,.study-outline-head span,.study-outline-count{margin:0;font-size:.875rem;line-height:1.65;color:#55563f}.study-outline label{display:block;font-size:.9rem;font-weight:600;line-height:1.7;margin:.25rem 0}.study-outline input[type=search],.study-outline input[type=text]{display:block;width:100%;max-width:100%;min-width:0;padding:.35rem .45rem;min-height:2.35rem;margin:.35rem 0 .4rem;border:1px solid #a99973;border-radius:2px;background:#fffdf7;color:#2b4934;font:inherit;font-size:.9rem}.study-outline p{font-size:.875rem;line-height:1.7;margin:.3rem 0 .45rem}.study-outline input::placeholder{color:#5c614e;opacity:1}
.study-outline-list{display:grid;gap:0;min-width:0}.study-outline .study-index-row{gap:.3rem;padding:.3rem 0;align-items:center;background:transparent;border:0;border-bottom:1px solid #ded4bc}.study-outline .study-index-title{padding:.15rem .2rem;font-size:.9rem;line-height:1.6;white-space:normal;overflow-wrap:anywhere}.study-outline .study-index-title[aria-current=true]{box-shadow:inset 3px 0 #9c533d;padding-left:.4rem;background:#ebe0c6}.study-outline .study-index-check{width:44px;height:44px;min-width:44px;margin:0;font-size:.95rem;background:#fffdf4}.study-outline .study-index-check[aria-pressed=true]{background:#315f43;color:#fffef7}
.study-outline .study-index-title{border:0;border-radius:0;background:transparent;text-align:left;font-family:var(--sans);cursor:pointer}.study-outline .outline-supplement{font-size:.875rem;color:#586548}.study-outline-list{align-content:start;flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.study-outline-head,.study-outline label,.study-outline input,.study-outline>p{flex:none}
.study-outline-toggle,.study-outline-close{display:none;align-items:center;justify-content:center;gap:.4rem;min-height:44px;padding:.3rem .6rem;border:1px solid #6a825d;border-radius:2px;background:#fffef5;color:#315437;font:inherit;font-size:.95rem;font-weight:600;line-height:1.65;cursor:pointer}.study-outline-toggle{margin:0 0 .6rem;box-shadow:0 2px 0 #e3d8bd}.study-outline-close{margin-left:auto;background:#f6edda;color:#624930;border-color:#a98c61}
@media(min-width:1280px){body[data-study-outline=true] .workspace{grid-template-columns:clamp(200px,14vw,245px) clamp(245px,19vw,300px) minmax(0,1fr);max-width:1760px}body[data-study-outline=true] .study-outline{display:flex;flex-direction:column;position:sticky;top:0;height:100vh;height:100dvh;overflow:hidden;padding:.7rem .6rem .9rem}body[data-study-outline=true] .sidebar{top:0;height:100vh;height:100dvh;padding-left:.7rem;padding-right:.7rem}body[data-study-outline=true] main{padding:1rem clamp(.85rem,1.8vw,1.6rem) 1.4rem}}
@media(max-width:1279px){body[data-study-outline=true] .study-outline-toggle{display:inline-flex;position:sticky;top:.35rem;z-index:4;background:#fff9e9}body[data-study-outline=true][data-outline-open=true] .study-outline{display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;width:min(24rem,100vw);height:100vh;height:100dvh;overflow:hidden;z-index:20;padding:.75rem .85rem 1rem;box-shadow:8px 0 35px #40352140}body[data-study-outline=true][data-outline-open=true] .study-outline-close{display:inline-flex}.study-outline .study-index-row{grid-template-columns:minmax(0,1fr) auto}}
@media(max-width:900px){.topbar{gap:.55rem}.topbar .site-modes{gap:.35rem}.topbar .site-modes a{min-height:2.6rem;padding:.35rem .25rem}.sidebar{padding:.55rem .75rem}.sidebar .category-link{padding:.3rem .45rem}.learning-progress{display:flex}.learning-progress .record-actions{margin:0}.study-overview{gap:.7rem}.map-reading{padding:.75rem}.map-source-row{margin-top:.7rem;margin-bottom:1rem}.map-peers{gap:.4rem}}
@media(max-width:520px){main{padding:.8rem .6rem 1.2rem}.copyright-banner{padding:.5rem .65rem}.copyright-banner .copyright-feedback{font-size:.9rem}.copyright-owner strong{font-size:.95rem}.content-heading h1{font-size:1.35rem}.question-row-link{padding:.6rem .7rem}.catalog-card.source-compact,.study-supplements .catalog-card.source-compact{padding:.55rem .65rem}.source-compact h2{font-size:1.05rem}.source-tools{column-gap:.7rem}.source-tools .record-toggle-feedback{flex-basis:auto}.source-tools>.record-editor[open],.source-tools>.source-tag-details[open]{padding:.45rem .5rem}.source-tools .record-fields{display:block}.source-tools .record-fields label{margin-bottom:.35rem}.study-jumps{display:flex;flex-wrap:wrap}.study-card{padding:.8rem .9rem .75rem 1.15rem}.study-card-actions{margin-left:0}.study-intro>a{display:inline-block}.study-intro>a+a{margin-left:.7rem}.map-picker,.map-reading,.map-empty{padding:.7rem .75rem}.keyword-entry{padding:.7rem .85rem}.learning-progress,.personal-intro,.import-preview{padding:.55rem .7rem}}





/* PERSON_GRAPH_STYLE_START */
/* Person-to-person map. Canvas is deterministic and idle without an animation loop. */
.person-graph{min-width:0;color:var(--ink,#25443a)}
.pg-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin:.35rem 0 .6rem}.pg-heading h2{margin:0 0 .25rem;font-size:1.25rem;line-height:1.5}.pg-heading p{margin:0;font-size:.88rem;line-height:1.6;color:#4b574e}
.pg-controls{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin:.6rem 0}.pg-controls button,.pg-name-buttons button,.pg-related button,.pg-center-link{min-height:44px;border:1px solid #a6b5a5;background:#faf7ee;color:#274a40;padding:.35rem .65rem;font:inherit;cursor:pointer;line-height:1.45;text-decoration:none}.pg-controls button:hover,.pg-name-buttons button:hover,.pg-related button:hover{background:#e3ece3;border-color:#476856}.pg-controls [aria-pressed=true]{background:#355b4b;color:#fff7e8;border-color:#355b4b}.pg-depth{display:inline-flex;gap:.25rem}.pg-lines{display:inline-flex;align-items:center;gap:.3rem;font-size:.9rem;min-height:44px}.pg-lines input{width:19px;height:19px;accent-color:#345b4c}
.pg-guide{font-size:.88rem;line-height:1.7;margin:.45rem 0 .7rem;color:#49574d}.pg-guide strong{font-weight:600}.pg-warning{background:#f7ecd1;border-left:3px solid #a7783b;padding:.45rem .6rem;font-size:.9rem}
.pg-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(225px,29%);gap:.65rem;align-items:stretch}.pg-stage{height:clamp(390px,58vh,600px);position:relative;overflow:hidden;border:1px solid #7b8d74;border-radius:3px;background:radial-gradient(ellipse at 50% 40%,#183c38 0,#102b2b 68%,#0e2224 100%)}.pg-canvas{display:block;touch-action:none;cursor:grab;outline-offset:-4px}.pg-canvas:focus-visible{outline:3px solid #e8c285}.pg-canvas-status{position:absolute;pointer-events:none;top:0;left:0;right:0;margin:0;padding:.5rem .65rem;background:linear-gradient(#102829ed,#1028297a);color:#eee2cb;font-size:.82rem;line-height:1.5}.pg-tooltip{position:absolute;pointer-events:none;background:#f9f2e1;border:1px solid #d5b273;box-shadow:0 2px 5px #0005;padding:.2rem .4rem;color:#193d35;font-size:.95rem;white-space:normal;max-width:calc(100% - 16px);z-index:2}.pg-legend{position:absolute;pointer-events:none;bottom:0;left:0;right:0;display:flex;flex-wrap:wrap;gap:.5rem 1rem;padding:.45rem .65rem;background:#0e2429df;color:#ece2ce;font-size:.8rem;line-height:1.5}.pg-legend span{display:flex;align-items:center;gap:.35rem}.pg-legend i{display:inline-block;width:20px;height:0;border-top:2px solid #d9b474}.pg-legend .pg-key-co{border-top:2px dashed #7faeaa}.pg-legend .pg-key-node{width:7px;height:7px;border:0;border-radius:50%;background:#a0cabc}
.pg-evidence{height:clamp(390px,58vh,600px);overflow:auto;border:1px solid #d6c6a5;background:#fffdf5;padding:.75rem;overscroll-behavior:contain}.pg-evidence h3{font-size:1.12rem;line-height:1.6;margin:0 0 .45rem}.pg-evidence h4{font-size:.95rem;line-height:1.6;margin:.7rem 0 .3rem}.pg-evidence p{font-size:.88rem;line-height:1.7;margin:.3rem 0 .6rem;color:#43564a}.pg-evidence a{color:#276257;text-underline-offset:3px}.pg-center-link{display:inline-flex;align-items:center;background:#dfece2;font-size:.9rem;font-weight:600}.pg-related{display:flex;flex-wrap:wrap;gap:.3rem}.pg-related button{font-size:.85rem;text-align:left}.pg-source{border-top:1px solid #daccad;padding:.55rem 0}.pg-source h4{margin:0 0 .3rem}.pg-source a{font-size:.88rem;line-height:1.85;display:inline-block;margin-right:.45rem}.pg-source blockquote{margin:.5rem 0;padding:.3rem .6rem;border-left:3px solid #a8864e;background:#f3ecdc;font-size:.9rem;line-height:1.8;color:#354838}.pg-relation-kind{font-weight:600}.pg-locator{overflow-wrap:anywhere}
.pg-name-directory{margin:.65rem 0;border:1px solid #d5c7a6;padding:.3rem .65rem;background:#faf8ef}.pg-name-directory>summary{min-height:44px;line-height:1.7;display:list-item;padding:.4rem 0;cursor:pointer;font-size:.95rem;font-weight:600}.pg-name-buttons{display:flex;flex-wrap:wrap;gap:.4rem;padding:.4rem 0;max-height:320px;overflow:auto}.pg-name-buttons button{font-size:.9rem}
.person-graph:fullscreen{background:#f7f3e7;padding:1rem;overflow:auto}.person-graph:fullscreen .pg-stage,.person-graph:fullscreen .pg-evidence{height:calc(100vh - 220px);min-height:360px}.person-graph:fullscreen .pg-workspace{grid-template-columns:minmax(0,1fr) minmax(260px,25%)}
@media(max-width:1050px){.pg-workspace{grid-template-columns:minmax(0,1fr) minmax(210px,32%)}.pg-evidence{padding:.55rem}}
@media(max-width:780px){.pg-heading{display:block}.pg-heading .question-return{margin-top:.45rem}.pg-workspace{grid-template-columns:minmax(0,1fr)}.pg-stage{height:420px}.pg-evidence{height:auto;max-height:400px;min-height:115px}.pg-controls{gap:.3rem}.pg-guide{font-size:.9rem}.person-graph:fullscreen .pg-workspace{grid-template-columns:minmax(0,1fr)}.person-graph:fullscreen .pg-stage{height:55vh;min-height:320px}.person-graph:fullscreen .pg-evidence{height:auto;min-height:110px;max-height:30vh}}
@media(prefers-reduced-motion:reduce){.person-graph *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.pg-identity{border-left:2px solid #a8864e;padding-left:.5rem;margin:.5rem 0}.pg-identity>summary{min-height:44px;cursor:pointer;font-size:.9rem;line-height:1.65;padding:.3rem 0}

.pg-scope-notice{margin:.25rem 0 .55rem;font-size:.9rem;line-height:1.7;color:#42554a}.pg-scope-notice summary{min-height:36px;cursor:pointer;font-weight:600}.pg-scope-notice p{margin:.2rem 0 .5rem}

/* Quiet book-like borders; readable text and compact controls take precedence. */
.person-map-picker{margin:.4rem 0 .8rem;min-width:0}
.map-mobile-story{display:none}
body[data-view=map][data-map-scoped=true] .content-heading,body[data-view=map][data-map-scoped=true] #reading-note,body[data-view=map][data-map-scoped=true] .copyright-banner{display:none}
.person-map-picker form{display:flex;align-items:center;gap:.7rem;padding:.5rem .65rem;background:#f1eee1;border:1px solid #c9b993;border-left:3px solid #667e69}
.person-map-picker label{font-size:.95rem;font-weight:600;white-space:nowrap}
.person-map-picker .map-search-row{display:flex;gap:.45rem;flex:1;min-width:0}
.person-map-picker input{width:100%;min-width:0;font:inherit;font-size:.95rem;min-height:44px;border:1px solid #aeb299;background:#fffdf6;color:#294b3c;border-radius:2px}
.person-map-picker button{font:inherit;font-size:.95rem;min-height:44px;border:1px solid #355c49;background:#355c49;color:#fffbed;border-radius:2px;white-space:nowrap}
.person-map-matches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;margin:.5rem 0}
.person-map-matches a{display:flex;flex-wrap:wrap;gap:.15rem .5rem;align-items:center;padding:.4rem .6rem;min-height:44px;background:#fffdf5;border:1px solid #b9c3aa;color:#315342;text-decoration:none}
.person-map-matches span{font-size:.88rem;line-height:1.65;color:#585d48}
.map-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin:.85rem 0}
.map-story-choice{position:relative;display:flex;flex-direction:column;justify-content:center;gap:.2rem;min-height:100px;padding:.65rem .8rem;border:1px solid #c6b38a;background:linear-gradient(135deg,#fffdf6,#f4eedf);box-shadow:inset 0 0 0 3px #fffaf0;text-decoration:none;color:#31523f;overflow-wrap:anywhere}
.map-story-choice:before{content:'';position:absolute;top:6px;left:6px;width:9px;height:9px;border-top:1px solid #b29a65;border-left:1px solid #b29a65;pointer-events:none}
.map-story-choice strong{font-size:1.05rem;line-height:1.65;font-family:var(--serif)}
.map-story-choice span{font-size:.88rem;line-height:1.65;color:#5e5b45}
.map-story-choice:hover,.person-map-matches a:hover{background:#eaf0e2;border-color:#687e5b}
body[data-view=map] .content-heading .eyebrow{display:none}
body[data-view=map] .reading-note{margin-bottom:.5rem}
.pg-stage{box-shadow:inset 0 0 0 4px #233e37,0 2px 8px #334c3320;border:1px solid #a98b58;border-radius:2px}
.pg-stage:before,.pg-stage:after{content:'';position:absolute;z-index:1;width:16px;height:16px;pointer-events:none;border-color:#bd9c63;border-style:solid}
.pg-stage:before{left:6px;top:6px;border-width:1px 0 0 1px}.pg-stage:after{right:6px;bottom:6px;border-width:0 1px 1px 0}
.pg-canvas-status,.pg-legend{font-size:max(16px,.88rem)}
.pg-evidence{border-color:#bdac85;box-shadow:inset 0 0 0 3px #f6efde;scrollbar-width:thin}
.pg-evidence p,.pg-related button,.pg-source a,.pg-scope-notice{font-size:max(16px,.9rem)}
.pg-controls button{box-shadow:inset 0 0 0 2px #fffdf4}
.pg-controls [aria-pressed=true]{box-shadow:inset 0 0 0 2px #65816a}
.pg-controls button:focus-visible,.pg-name-buttons button:focus-visible,.person-map-picker a:focus-visible{outline:3px solid #a97541;outline-offset:2px}
.keyword-story-filter{background:linear-gradient(110deg,#edf1e5,#f5f3e7);border-left-color:#59795f}
.question-row,.study-card,.keyword-entry{border-color:#c7b58d}
.topbar{border-top-color:#964e38;box-shadow:0 2px 7px #4b3a2020}
.topbar .site-modes a[aria-current=page]{background:linear-gradient(110deg,#904931,#a05a41);box-shadow:inset 0 0 0 3px #b67e61}
@media(min-width:1280px){body[data-view=map] .workspace{max-width:1760px;grid-template-columns:clamp(215px,16vw,275px) minmax(0,1fr)}body[data-view=map] main{padding-left:1.2rem;padding-right:1.2rem}}
@media(max-width:1050px){.map-story-grid,.person-map-matches{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){body[data-view=map] #category-nav>.category-link,body[data-view=map] #category-nav>.record-small{display:none}.map-mobile-story{display:flex;align-items:center;gap:.5rem;width:100%;font-size:.95rem;font-weight:600}.map-mobile-story select{flex:1;min-width:0;max-width:100%;min-height:44px;font:inherit;font-size:.95rem;border:1px solid #ab9770;padding:.3rem;background:#fffdf5;color:#31503e}body[data-view=map] .copyright-banner{font-size:.88rem}body[data-view=map][data-map-scoped=true] .copyright-banner{display:none}.pg-guide{margin:.25rem 0;font-size:.88rem}.pg-scope-notice{margin:.25rem 0}.pg-heading h2{font-size:1.12rem}.pg-heading p{font-size:.88rem;line-height:1.55}.pg-controls{gap:.3rem;margin:.35rem 0}.pg-heading .question-return{padding:.2rem .5rem;min-height:44px;font-size:.88rem;margin:.25rem 0}.pg-controls button,.pg-lines{font-size:.88rem}.pg-controls button{padding:.25rem .5rem}}
@media(max-width:600px){.person-map-picker form{display:block}.person-map-picker label{display:block;margin-bottom:.3rem;white-space:normal}.map-story-grid,.person-map-matches{grid-template-columns:1fr}.map-story-choice{min-height:82px}.pg-controls button{max-width:100%;white-space:normal}.pg-depth{flex-wrap:wrap}.pg-legend{gap:.25rem .7rem}.pg-canvas-status{padding:.5rem;max-width:100%}.person-map-picker .map-search-row{gap:.3rem}.person-map-picker button{padding:.3rem .5rem}.pg-evidence{overflow-wrap:anywhere}.pg-source a{overflow-wrap:anywhere}}

/* PERSON_GRAPH_STYLE_END */

/* READER_CATEGORY_COMPACT_R8: classification, selection feedback and dense lists */
.more-study-parent { margin-top: .6rem; border-top: 1px solid #d9c9a7; }
.more-study-child { padding-left: 1.2rem; }
.more-study-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.7rem; }
.more-study-card { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.35rem; align-content:start; padding:.8rem; border:1px solid #b5a27a; border-top:3px solid #476853; background:#fffdf7; color:#253f38; text-decoration:none; min-width:0; }
.more-study-card:nth-child(2) { border-top-color:#946043; }
.more-study-card:nth-child(3) { border-top-color:#8d794f; }
.more-study-name { font-weight:700; }
.more-study-card p { grid-column:1/-1; margin:.15rem 0; line-height:1.5; }
.more-study-card .entry-action { grid-column:1/-1; }
.more-study-count { white-space:nowrap; }
.more-study-tabs { display:flex; flex-wrap:wrap; gap:.4rem; margin:0 0 .6rem; }
.more-study-tab { display:inline-flex; align-items:center; gap:.5rem; min-height:44px; padding:.3rem .65rem; border:1px solid #af9c75; background:#f4efdf; color:#29483f; text-decoration:none; }
.more-study-tab[aria-current="page"] { background:#365c49; color:#fffdf6; border-color:#365c49; }
.more-study-tab .more-study-count { font-size:.88em; }
.more-study-card:focus-visible,.more-study-tab:focus-visible { outline:3px solid #965238; outline-offset:3px; }
.catalog-card.source-compact,.study-supplements .catalog-card.source-compact { padding:.35rem .65rem; margin-bottom:.3rem; }
.source-compact .catalog-meta { font-size:max(16px,.8rem); line-height:1.35; gap:.1rem .5rem; }
.source-compact h2,.source-compact .source-title-row h2 { font-size:max(17px,.95rem); line-height:1.45; margin:.08rem 0; }
.source-title-row { gap:.1rem .5rem; }
.source-compact .source-location-inline { font-size:max(16px,.84rem); line-height:1.45; padding:.1rem .35rem; margin:.1rem 0; }
.source-compact .catalog-access,.source-compact .catalog-attribution { font-size:max(16px,.84rem); line-height:1.45; margin:.1rem 0; }
.source-tools { gap:.1rem .65rem; margin-top:.12rem; padding-top:.12rem; }
.source-tools .record-quick,.source-tools>.record-editor>summary,.source-tools>.source-tag-details>summary,.source-compact .source-open,.source-tools .source-more { font-size:max(16px,.84rem); line-height:1.45; }
.question-row-link { padding:.45rem .7rem; }
.question-row h2 { font-size:max(17px,.98rem); line-height:1.5; margin:0 0 .1rem; }
.question-row p { font-size:max(16px,.84rem); line-height:1.45; }
.keyword-card { padding:.45rem .65rem; }
.keyword-card h2 { font-size:max(17px,.98rem); line-height:1.45; margin:.1rem 0; }
.keyword-card p,.keyword-card .keyword-type { font-size:max(16px,.84rem); line-height:1.45; }
.result-list { gap:.3rem; }
.catalog-card.source-compact.is-study-selected { background:#f7edce; border-color:#ad7750; box-shadow:inset 4px 0 #9e5136,0 0 0 1px #b7955e; }
.study-selection-bar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.2rem .5rem; margin:0 0 .2rem; padding:0 0 .15rem; border-bottom:1px solid #ccb582; }
.study-selection-label { font-size:max(16px,.84rem); line-height:1.45; font-weight:700; color:#78412c; }
.study-selection-actions { display:flex; gap:.35rem; flex-wrap:wrap; align-items:center; }
.study-selection-actions button { min-height:44px; padding:.15rem .5rem; background:#fff9e8; border:1px solid #ac855d; color:#4a5038; font-size:max(16px,.84rem); line-height:1.4; }
.study-selection-actions button:disabled { color:#746b59; border-color:#cbbf9d; background:#eee7d3; cursor:default; }
.study-selection-actions button:focus-visible { outline:3px solid #965238; outline-offset:2px; }
@media(hover:hover) and (pointer:fine) {
 .source-tools .record-quick,.source-tools>.record-editor>summary,.source-tools>.source-tag-details>summary,.source-compact .source-open,.source-tools .source-more { min-height:32px; padding-top:.15rem; padding-bottom:.15rem; }
 .study-selection-actions button { min-height:32px; }
}
@media(max-width:900px) { .more-study-cards { grid-template-columns:1fr; } .more-study-card { padding:.65rem; } }
@media(max-width:520px) { .study-selection-bar { align-items:flex-start; } .source-title-row>h2 { flex-basis:100%; } .source-compact .source-tools { column-gap:.6rem; } }
@media(forced-colors:active) { .catalog-card.source-compact.is-study-selected { outline:3px solid Highlight; } }
/* Mobile readers open the category chooser only when they need to switch. */
.sidebar-toggle { display:none; }
.study-directory-hint { display:block; margin-top:.12rem; color:#76513a; font-family:var(--sans); font-size:max(16px,.84rem); line-height:1.45; }
.source-point .point-kind { margin:.15rem 0 .2rem; font:600 max(15px,.8rem)/1.4 var(--sans); color:#6c6250; }
.point-actions { display:flex; align-items:flex-start; flex-wrap:wrap; gap:.5rem; }
.point-actions>.read-original { display:inline-flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:.08rem; min-height:44px; max-width:100%; padding:.35rem .7rem; border:1px solid #294d3a; border-radius:3px; background:#365d49; color:#fffdf5; text-decoration:none; font-family:var(--sans); font-size:max(16px,.88rem); line-height:1.4; overflow-wrap:anywhere; }
.point-actions>.read-original:hover { background:#284c39; color:#fff; }
.point-actions>.read-original small { color:#eef3df; font-size:.85em; font-weight:400; }
.point-actions>.source-details { margin:0; padding:0; border:0; }
.point-actions>.source-details>summary { display:list-item; min-height:44px; padding:.4rem .65rem; border:1px solid #a59677; border-radius:3px; background:#f8f3e7; color:#5c513a; font:600 max(16px,.85rem)/1.5 var(--sans); cursor:pointer; }
.point-actions>.source-details[open] { flex-basis:100%; }
.point-actions>.source-details[open]>summary { width:fit-content; margin-bottom:.45rem; }
.faq-card>.faq-details>summary { color:#63583f; padding:.3rem .5rem; border:1px solid #c3b594; background:#faf6eb; border-radius:3px; }
@media(max-width:760px) {
 .sidebar-toggle:not([hidden]) { display:flex; align-items:center; justify-content:space-between; gap:.6rem; width:calc(100% - 1.2rem); min-height:44px; margin:.55rem .6rem; padding:.3rem .55rem; border:1px solid #af9c75; border-left:3px solid #965238; background:#fffaf0; color:#29483f; text-align:left; font:inherit; font-size:max(16px,.85rem); line-height:1.45; }
 .sidebar-toggle [data-sidebar-current] { min-width:0; overflow-wrap:anywhere; font-weight:650; }
 .sidebar-toggle [data-sidebar-toggle-label] { flex:none; color:#82462f; }
 body:not([data-view="map"]) .sidebar { display:none; }
 body:not([data-view="map"])[data-sidebar-open="true"] .sidebar { display:block; max-height:55vh; max-height:55dvh; overflow-y:auto; border-bottom:1px solid #b6a47e; box-shadow:0 4px 8px #4b3a2014; }
 .topbar .site-modes a { font-size:max(16px,.82rem); min-height:44px; line-height:1.4; letter-spacing:0; }
 .study-selection-actions button,.source-tools .record-quick,.source-tools>.record-editor>summary,.source-tools>.source-tag-details>summary,.source-compact .source-open,.source-tools .source-more { min-height:44px; }
}
/* R8: people classification stays legible without enlarging every result. */
.keyword-relation-guide{font-size:max(14px,.78rem);line-height:1.5;margin:.5rem 0 0;color:#596557}
.keyword-card .keyword-type{display:inline-block;font-size:max(13px,.72rem);padding:.08rem .35rem;border-radius:3px;background:#eeeadd;color:#5d624e}
.keyword-tier-lead{border-left:3px solid #914c39;background:#fcf5e5}
.keyword-tier-lead .keyword-type{color:#843d2b;background:#f1dbc1}
.keyword-tier-direct .keyword-type{color:#234d3d;background:#dfece1}
.keyword-tier-indirect .keyword-type{color:#48577c;background:#e5e8f2}
.keyword-tier-mention .keyword-type{color:#68665d;background:#edebe5}
.keyword-card .keyword-person-path{font-size:max(13px,.72rem);line-height:1.45;color:#52614e;overflow-wrap:anywhere}

/* R8_FINAL_GRAPH_STYLES */
/* R8 graph relationship tiers and persistent in-page large-map preference. */
.pg-route-actions { display:flex; align-items:center; gap:.5rem; margin:0 0 .35rem; }
.pg-route-actions .question-return { min-height:44px; display:inline-flex; align-items:center; padding:.3rem .65rem; }
.pg-expand-default { display:inline-flex; align-items:center; gap:.35rem; min-height:44px; font-size:max(16px,.88rem); }
.pg-expand-default input { width:19px; height:19px; accent-color:#355b4b; }
.pg-stage,.pg-evidence { height:var(--pg-workspace-height,54vh); min-height:220px; }
.pg-legend .pg-key-indirect { border-top-color:#90badf; }
.pg-indirect-path { background:#eef3f6; border-left:3px solid #7395b2; padding:.35rem .55rem; margin:.6rem 0; }
.pg-indirect-path details { border-top:1px solid #c3d0d8; margin-top:.4rem; }
.pg-indirect-path summary { min-height:44px; padding:.35rem 0; line-height:1.65; cursor:pointer; font-weight:600; }
.pg-indirect-path p { overflow-wrap:anywhere; }
.pg-map-expanded { overflow:hidden; }
#results.pg-page-expanded,#results:fullscreen { position:fixed; inset:0; z-index:1200; width:100%; height:100dvh; max-width:none; margin:0; padding:.55rem .75rem; overflow:auto; background:#f7f3e7; }
#results.pg-page-expanded > :not(.person-graph),#results:fullscreen > :not(.person-graph) { display:none; }
#results.pg-page-expanded .person-graph,#results:fullscreen .person-graph { width:100%; max-width:none; }
#results.pg-page-expanded .pg-workspace,#results:fullscreen .pg-workspace { grid-template-columns:minmax(0,1fr) minmax(250px,27%); }
#results.pg-page-expanded .pg-stage,#results.pg-page-expanded .pg-evidence,#results:fullscreen .pg-stage,#results:fullscreen .pg-evidence { height:var(--pg-workspace-height,70dvh); min-height:220px; }
@media(max-width:780px) {
  .pg-stage { height:min(var(--pg-workspace-height,55dvh),60dvh); min-height:300px; }
  .pg-evidence { height:auto; max-height:42dvh; min-height:120px; }
  #results.pg-page-expanded,#results:fullscreen { padding:.4rem; }
  #results.pg-page-expanded .pg-workspace,#results:fullscreen .pg-workspace { grid-template-columns:minmax(0,1fr); }
  #results.pg-page-expanded .pg-stage,#results:fullscreen .pg-stage { height:min(var(--pg-workspace-height,55dvh),60dvh); min-height:220px; }
  #results.pg-page-expanded .pg-evidence,#results:fullscreen .pg-evidence { height:auto; min-height:120px; max-height:40dvh; }
}
.pg-role-scope { margin:.6rem 0; padding:.45rem .7rem; border-left:3px solid #95a38b; background:#f3f1e6; }
.pg-role-scope h4 { margin:.1rem 0; font-size:1rem; }
.pg-cross-source { color:#685a36; background:#f5eedb; padding:.25rem .4rem; font-size:.82rem; }
@media(max-width:780px) {
  .pg-controls { font-size:15px; }
  .pg-controls button { min-height:44px; padding:.3rem .5rem; }
  .pg-expand-default,.pg-lines { font-size:15px; }
  .pg-heading h2 { font-size:1.1rem; }
  .pg-heading p,.pg-guide { font-size:15px; }
  .pg-stage { min-height:220px; }
}

@media(max-width:760px){.study-outline .study-index-title{min-height:44px}}
.keyword-tier-title .keyword-type{background:#f4e7d7;color:#80572f}

/* R9: make the reading entry visually distinct from utilities and optional locators. */
.catalog-card.source-compact .source-title-row h2 a{color:#17577f;font-weight:750;text-decoration:underline;text-decoration-color:#a7c2d3;text-underline-offset:.2em;text-decoration-thickness:1px}
.catalog-card.source-compact .source-title-row h2 a:hover{color:#103f5d;text-decoration-color:currentColor}
.catalog-card.source-compact .source-title-row h2 a:focus-visible{outline:2px solid #17577f;outline-offset:3px}
.source-compact .catalog-meta{color:#766f63}
.source-tools>.source-locator-details{flex:0 1 auto;margin:0;padding:0;min-width:0;font-size:max(16px,.84rem)}
.source-tools>.source-locator-details>summary{width:fit-content;min-height:32px;padding:.15rem 0;line-height:1.45;cursor:pointer;color:#555b53;font-weight:500}
.source-tools>.source-locator-details[open]{flex:1 0 100%;order:2;padding:.3rem .5rem;border:1px solid #dad4c4;background:#faf8f0}
.source-locator-details .locator-help{margin:0 0 .2rem;color:#6e6b61;font-size:max(15px,.8rem)}
.series-related{margin:.6rem 0;border-top:1px solid #d6cbb5;padding:.5rem 0}
.series-related>summary{cursor:pointer;color:#6d573b;font-weight:650;min-height:36px}
.series-related>p{font-size:.9rem}
@media(pointer:coarse){.source-tools>.source-locator-details>summary{min-height:44px}}

/* Same-lecture reading versions: visible first choice, compact alternatives. */
.note-versions{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 8px}
.note-version{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border:1px solid #899b94;border-radius:3px;background:#f4f7f2;color:#24513f;font-size:.86em;font-weight:700;text-decoration:none;line-height:1.4;min-height:34px}
.note-version-primary{color:#fffaf1;background:#91462f;border-color:#91462f}
.note-version:hover{box-shadow:0 0 0 2px #be976657;text-decoration:underline}
.note-version-guide{font-size:.87em;color:#655b48;margin:8px 0 12px}
.result-group,.study-supplements{scroll-margin-top:18px}

.keyword-open-hint{display:block;font-size:.82em;color:#17577f;margin-top:5px}.source-match-basis{font-size:.78em;padding:2px 6px;background:#edf3f7;border:1px solid #beced8;color:#31586c;border-radius:3px}

/* Ink-blue reading titles, cinnabar primary entry, restrained cloud motif. */
.catalog-card.source-compact{background:linear-gradient(90deg,#f7f0df 0 3px,#fffdf8 3px);border-color:#d7c6a3;border-radius:3px;box-shadow:0 1px 2px #54422609}
.catalog-card.source-compact .source-title-row h2 a{text-decoration:none;color:#17577f;letter-spacing:.015em}
.catalog-card.source-compact .source-title-row h2 a:hover{text-decoration:underline;text-underline-offset:4px;color:#934b36}
.catalog-card.source-compact .source-title-row h2 a>span{font-size:.82em;color:#788d97}
.source-compact .source-tools{border-top-color:#e8dfcb}
.source-compact.is-study-selected{background:#f8edcb;border-color:#b88749;box-shadow:inset 4px 0 #984d37}
.content-heading{position:relative;padding-right:88px}
.content-heading::after{content:none;display:none}
.result-jumps{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px;padding:8px 10px;background:#f2eee2;border:1px solid #d9ccb2;border-radius:3px}
.result-jumps>span{font-size:.84em;color:#6f6550}
.result-jumps button{border:1px solid #aebbb2;background:#fbfdf8;color:#2e594b;padding:5px 9px;font-size:.88em;border-radius:3px;line-height:1.4;min-height:36px}
.result-jumps button:hover{background:#e6efe7;border-color:#678c77}
.result-jumps small{margin-left:6px;color:#6b7569;font-weight:400}
@media(max-width:600px){.content-heading{padding-right:0}.content-heading::after{content:none;display:none}.result-jumps{gap:6px}.result-jumps button,.note-version{min-height:44px}}
@media(forced-colors:active){.content-heading::after{content:none;display:none}.catalog-card.source-compact{background:Canvas}}

/* R10: scholar's reading desk — paper, ink, cinnabar and landscape linework.
   All ornaments are local CSS/SVG and sit outside reading/click targets. */
.topbar{background:#f8f3e7;border-top:3px solid #315a4e;border-bottom:1px solid #d7c7a7}
.brand-mark{border-radius:4px 2px 5px 2px;transform:rotate(-3deg);outline:1px solid #a5563d;outline-offset:3px;box-shadow:inset 0 0 0 2px #f8e8ca;background:#91452f;color:#fff9e9}
.brand{font-family:var(--serif);letter-spacing:.07em}
.site-modes a{border-color:#c9b587;background-color:#f8f2e2;box-shadow:inset 0 0 0 3px #fffaf0}
.sidebar,.study-outline{background-color:#f7f2e6;background-image:linear-gradient(90deg,transparent calc(100% - 7px),#dbcba747 calc(100% - 7px),#dbcba747 calc(100% - 6px),transparent calc(100% - 6px))}
.content-heading{padding-top:.55rem;border-bottom:2px solid #b19663}
.content-heading h1,.result-group-heading h2,.study-index-title{font-family:var(--serif);letter-spacing:.04em}
.content-heading h1{color:#25493f}
.content-heading::before{content:"";position:absolute;left:0;bottom:-4px;width:72px;height:5px;background:#984f38}
.content-heading::after{content:none;display:none}
.result-group-heading{position:relative;border-bottom:1px solid #c9b27b;padding-bottom:.45rem;padding-left:15px}
.result-group-heading::before{content:"";position:absolute;left:0;top:.55em;width:6px;height:16px;border:1px solid #a95a40;background:#a95a40;box-shadow:inset 0 0 0 1px #f9edcf}
.catalog-card.source-compact{border:1px solid #d5c299;border-left:3px solid #ad8950;border-radius:2px 7px 2px 2px;background:#fffdf7;box-shadow:0 2px 5px #6b512810}
.catalog-card.source-compact .source-title-row h2{padding-left:9px;border-left:2px solid #79928c}
.catalog-card.source-compact .source-title-row h2 a{color:#175777;font-weight:750}
.catalog-card.source-compact:hover{border-color:#b89b62;box-shadow:0 3px 9px #6b51281c}
.catalog-card.source-compact.is-study-selected{border-left-color:#984d37;background:#fbefcf;box-shadow:inset 3px 0 #984d37}
.note-version-primary{background:#934b35;border-color:#803e2c;box-shadow:inset 0 0 0 1px #e8bc8e66}
.note-version-status{font-size:.79em;line-height:1.45;color:#766850;margin:.2rem 0 .4rem}
.pg-relation-part{border-top:1px solid #cdb98d;margin-top:.65rem;padding-top:.5rem}
.pg-relation-part>h4{color:#855036;margin:.15rem 0;font-size:1em}
.pg-direction{font-size:.82em;color:#6d776b;margin:.1rem 0}
.pg-relation-kind{overflow-wrap:anywhere;line-height:1.8}
.pg-related button{white-space:normal;text-align:left;line-height:1.6}
.pg-stage{border:1px solid #a89057;box-shadow:inset 0 0 0 4px #d6b77d11,0 3px 10px #173b2e18}
footer{border-top:3px double #baa16d}
@media(max-width:760px){.topbar{background-size:cover,auto 125px}.brand{letter-spacing:.025em}.catalog-card.source-compact .source-title-row h2{padding-left:6px}.result-group-heading{padding-left:12px}.note-version-status{font-size:14px}}
@media(forced-colors:active){.topbar,.sidebar,.study-outline{background-image:none}.brand-mark{transform:none}.result-group-heading::before,.content-heading::before{display:none}}

/* Three reading rooms. Content geometry and progress remain shared. */
:root,[data-theme="ink"]{
  --ink:#283f37;--navy:#24483d;--muted:#6e7569;--blue:#1f5f7c;--teal:#346657;
  --canvas:#f2ede2;--paper:#fffdf7;--wash:#eee6d0;--line:#d8cbb0;
  --accent:#944d37;--accent-soft:#f4e9dc;--head-bg:#f8f3e7;--rail:#f6f1e5;
  --card:#fffdf8;--title:#1d5773;--selected:#f4ead0;--rule:#b9a078;
  --soft:#f5f0e4;--supplement:#edf4ed;--supplement-line:#9bb69e;
  --pg-bg:#12352f;--pg-ink:#fff4d8;--pg-edge:#dfbd75;--pg-indirect:#8dc7ec;
  --radius:5px;--shadow:0 2px 7px #62481f0a;
}
[data-theme="xuanqing"]{
  --ink:#263d55;--navy:#1b3e62;--muted:#587084;--blue:#146587;--teal:#13758b;
  --canvas:#eaf2f8;--paper:#f7fbff;--wash:#dcecf8;--line:#bfd6e5;
  --accent:#186d91;--accent-soft:#e1f3fa;--head-bg:#edf7fc;--rail:#edf5fb;
  --card:#fff;--title:#145886;--selected:#e2f3fc;--rule:#79accc;
  --soft:#edf5fa;--supplement:#edf7f8;--supplement-line:#8fbbc1;
  --pg-bg:#102b45;--pg-ink:#edf7ff;--pg-edge:#7cd2e9;--pg-indirect:#b9acf1;
  --radius:12px;--shadow:0 5px 18px #245f8610;
}
[data-theme="paper"]{
  --ink:#35424a;--navy:#344857;--muted:#6b757d;--blue:#406b85;--teal:#4a6d70;
  --canvas:#f1f3f5;--paper:#fff;--wash:#e8edf0;--line:#d8dfe3;
  --accent:#526e80;--accent-soft:#edf1f4;--head-bg:#f8f9fb;--rail:#f7f8fa;
  --card:#fff;--title:#365f7b;--selected:#eaf0f5;--rule:#bbc8d1;
  --soft:#f5f7f9;--supplement:#f1f6f4;--supplement-line:#b5c9c0;
  --pg-bg:#293b4a;--pg-ink:#f2f7fa;--pg-edge:#bdd3e6;--pg-indirect:#a2cdc8;
  --radius:7px;--shadow:0 1px 5px #27364706;
}
body{background:var(--canvas);color:var(--ink)}
.workspace,main{background:var(--paper)}
.topbar{background:var(--head-bg);background-image:none;border-top:3px solid var(--accent);border-bottom:1px solid var(--line);box-shadow:var(--shadow)}
.brand,.brand strong{color:var(--navy)}.brand-divider{color:var(--rule)}
.brand-mark{width:43px;height:43px;flex:none;transform:none;outline:none;border:1px solid var(--teal);border-radius:12px;background:var(--teal);color:#fffdf3;box-shadow:none}
.brand-mark svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.brand-mark .book-page{fill:#fffdf30c}
.brand-mark .book-moon{fill:#ead3a0;stroke:#ead3a0;stroke-width:1.15}
.brand-mark::before,.brand-mark::after{content:none}
.header-tools{gap:10px;flex-wrap:wrap;align-items:center;justify-content:flex-end}
.appearance-control{display:flex;align-items:center;gap:7px;padding:4px 8px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);color:var(--ink);font-size:.84rem;white-space:nowrap}
.appearance-control>span{font-weight:600}
.appearance-control select{font:inherit;font-weight:650;color:var(--navy);background:var(--card);padding:4px 22px 4px 6px;border:0;min-height:32px;cursor:pointer;max-width:155px}
.appearance-control select:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.edition{color:var(--muted)}
.text-size-control{background:var(--card);border-color:var(--line);border-radius:var(--radius)}
.text-size-control button{color:var(--ink);border-color:transparent;background:transparent}
.text-size-control button[aria-pressed=true]{background:var(--teal);color:white;border-color:var(--teal)}
.site-modes a{color:var(--navy);background:var(--soft);border:1px solid var(--line);box-shadow:none;border-radius:var(--radius)}
.site-modes a[aria-current=page],.site-modes a.is-active{background:var(--accent);color:white;border-color:var(--accent);box-shadow:inset 0 0 0 3px #ffffff25}
.site-modes a:hover{border-color:var(--accent)}
.site-modes a::before{border-color:var(--rule)}
.site-modes a[aria-current=page]::after{background:var(--accent)}
.sidebar,.study-outline{background:var(--rail);background-image:none;border-color:var(--line)}
.sidebar .nav-label,.index-head h2,.study-outline h2,.study-outline h3{color:var(--navy)}
.nav-label::before{background:var(--accent)}
.index-head,.study-index-list,.study-index-item,.topic-link,.index-link{border-color:var(--line)}
.category-link,.index-link,.study-index-title{color:var(--ink)}
.category-link:hover,.index-link:hover,.study-index-title:hover{background:var(--wash)}
.category-link[aria-current=page],.index-link[aria-current=true],.study-index-title[aria-current=true]{background:var(--wash);color:var(--navy);box-shadow:inset 3px 0 var(--accent);border-color:var(--line)}
.nav-count,.catalog-meta,.source-compact .catalog-meta,.study-index-meta,.sidebar-note,.study-outline p{color:var(--muted)}
.sidebar-toggle,.study-outline-toggle{color:var(--navy);background:var(--rail);border-color:var(--line)}
.copyright-banner{background:var(--card);border-color:var(--rule);box-shadow:inset 0 0 0 3px var(--soft)}
.copyright-owner,.copyright-owner strong{color:var(--accent)}
.copyright-banner p,.copyright-feedback summary{color:var(--ink)}
.search-box{background:var(--card);border-color:var(--rule);border-radius:var(--radius);box-shadow:none}
.search-box input{color:var(--ink)}.search-box input::placeholder{color:var(--muted)}
.search-box button{background:var(--accent);border-color:var(--accent);color:white;border-radius:calc(var(--radius) / 2)}
.search-box button:hover{filter:brightness(.92)}
.search-box svg{color:var(--muted)}.quick-terms button{color:var(--teal);border-color:var(--line)}
.quick-terms button:hover{background:var(--wash)}
.content-heading{padding-right:0;border-bottom:1px solid var(--rule);gap:12px;min-width:0}
.content-heading h1{color:var(--navy)}
.content-heading::after{content:none!important;display:none!important;background:none!important}
.content-heading::before{background:var(--accent);width:54px;height:3px;bottom:-2px}
.content-heading>div{min-width:0}.content-heading h1{overflow-wrap:anywhere}
#result-status{white-space:normal;text-align:right;color:var(--muted)}
.eyebrow,.reading-note{color:var(--muted)}
.result-group-heading{border-color:var(--line)}.result-group-heading::before{background:var(--accent);border-color:var(--accent);box-shadow:none}
.result-group-heading h2,.result-group h2,.topic-section h2,.study-group-title{color:var(--navy)}
.faq-card,.topic-section,.topic-intro,.keyword-card,.catalog-card,.source-item,.source-compact,.map-person-card,.story-card,.learning-card{background:var(--card);border-color:var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.catalog-card.source-compact{background:var(--card);border:1px solid var(--line);border-left:3px solid var(--rule);border-radius:var(--radius);box-shadow:var(--shadow)}
.catalog-card.source-compact .source-title-row h2{border-left:0;padding-left:0}
.catalog-card.source-compact .source-title-row h2 a,.catalog-title a,.question-title a{color:var(--title);font-weight:730}
.catalog-card.source-compact .source-title-row h2 a:hover,.question-title a:hover{color:var(--accent);text-decoration:underline}
.catalog-card.source-compact:hover{border-color:var(--rule);box-shadow:var(--shadow)}
.catalog-card.source-compact.is-study-selected{background:var(--selected);border-color:var(--accent);box-shadow:inset 3px 0 var(--accent)}
.study-selected-label,.source-selected-label{color:var(--accent);background:var(--selected)}
.source-tools,.source-point,.faq-details,.series-related,.pg-relation-part{border-color:var(--line)}
.source-locator,.source-locator-inline,.catalog-locator,.locator-line{background:var(--soft);color:var(--ink);border-color:var(--rule)}
.source-tools>.source-locator-details[open]{background:var(--soft);border-color:var(--line)}
.note-version{background:var(--soft);color:var(--teal);border-color:var(--rule);border-radius:calc(var(--radius) / 2)}
.note-version-primary{background:var(--accent);border-color:var(--accent);color:white;box-shadow:none}
.note-version-status,.note-version-guide{color:var(--muted)}
.study-supplements{background:var(--supplement);border-color:var(--supplement-line)}
.study-supplement-label{background:var(--supplement);border-color:var(--supplement-line);color:var(--teal)}
.result-jumps,.study-progress,.learning-progress{background:var(--soft);border-color:var(--line);border-radius:var(--radius);color:var(--ink)}
.question-return,.result-jumps button,.pagination button,.source-open,.learn-toggle,.study-toggle,.pg-controls button,.pg-related button,.pg-name-buttons button{background:var(--soft);color:var(--teal);border-color:var(--rule);border-radius:calc(var(--radius) / 2)}
.pg-controls button[aria-pressed=true]{background:var(--teal);color:white}
.pagination button:disabled{opacity:.42}.pg-evidence{background:var(--card);border-color:var(--line)}
.pg-evidence h3,.pg-evidence h4,.pg-heading h2{color:var(--navy)}.pg-evidence p,.pg-locator,.pg-guide,.pg-heading p{color:var(--muted)}
.pg-cross-stories{border-top:2px solid var(--rule);margin-top:18px;padding-top:12px}
.pg-cross-story{margin:10px 0;padding:10px;background:var(--soft);border:1px solid var(--line);border-radius:var(--radius)}
.pg-cross-story>a{display:inline-block;color:var(--title);font-weight:700}
.pg-cross-story blockquote{margin:.5rem 0;padding-left:.7rem;border-left:2px solid var(--rule);font-size:.9em;color:var(--ink)}
.pg-stage{background:var(--pg-bg);border-color:var(--rule);box-shadow:var(--shadow);border-radius:var(--radius)}
.pg-canvas-status,.pg-legend{color:var(--pg-ink)}.pg-legend{background:var(--pg-bg)}
.pg-key-confirmed{background:var(--pg-edge)}.pg-key-indirect{background:var(--pg-indirect)}
footer{border-color:var(--rule);color:var(--muted)}
[data-theme="xuanqing"] .topbar{background:radial-gradient(ellipse at 88% 0,#bce5f760,transparent 46%),linear-gradient(110deg,#f7fcff,#edf7fc);border-top-color:#3388af}
[data-theme="xuanqing"] .brand,[data-theme="xuanqing"] .content-heading h1,[data-theme="xuanqing"] .result-group-heading h2,[data-theme="xuanqing"] .study-index-title{font-family:"Microsoft YaHei",system-ui,sans-serif;letter-spacing:.03em}
[data-theme="xuanqing"] .brand-mark{background:linear-gradient(145deg,#23648a,#27889a);border-color:#519caf;border-radius:14px}
[data-theme="xuanqing"] .site-modes a::before,[data-theme="xuanqing"] .faq-card::before,[data-theme="xuanqing"] .faq-card::after{content:none}
[data-theme="xuanqing"] .copyright-banner{border-radius:12px;border-color:var(--line);box-shadow:none}
[data-theme="xuanqing"] .catalog-card.source-compact{border-left-color:#83b9d4}
[data-theme="paper"] .brand-mark{background:#637d8b;border-color:#637d8b;border-radius:50%}
[data-theme="paper"] .topbar{border-top-width:1px;box-shadow:none}
[data-theme="paper"] .site-modes a::before,[data-theme="paper"] .faq-card::before,[data-theme="paper"] .faq-card::after,[data-theme="paper"] .result-group-heading::before,[data-theme="paper"] .content-heading::before{content:none}
[data-theme="paper"] .result-group-heading{padding-left:0}
[data-theme="paper"] .copyright-banner{box-shadow:none;border-color:var(--line);border-radius:var(--radius)}
[data-theme="paper"] .catalog-card.source-compact{border-left-width:1px}
[data-theme="paper"] .brand,[data-theme="paper"] .content-heading h1{letter-spacing:.055em}
@media(max-width:1100px){.header-tools .edition{display:none}.header-tools{gap:7px}.appearance-control{font-size:.82rem}}
@media(max-width:760px){.header-tools{justify-content:flex-start;gap:7px}.appearance-control{padding:2px 6px}.appearance-control select{min-height:38px;max-width:145px}.brand-mark{width:36px;height:36px}.brand-mark svg{width:30px;height:30px}.content-heading{flex-wrap:wrap}#result-status{text-align:left}.catalog-card.source-compact .source-title-row h2{padding-left:0}}
@media(forced-colors:active){.topbar,.brand-mark,.catalog-card.source-compact{background:Canvas;color:CanvasText}.content-heading::before,.result-group-heading::before{display:none}}

.pg-cross-stories{margin-top:1.3em;padding-top:1em;border-top:2px solid var(--rule)}
.pg-cross-stories>h4{font-size:1.08em;color:var(--navy)}
.pg-cross-story{margin:.8em 0;padding:.8em;background:var(--soft);border:1px solid var(--line);border-radius:var(--radius)}
.pg-cross-link{display:block;font-weight:700;line-height:1.65;color:var(--title)}
.pg-cross-story summary{margin-top:.6em;color:var(--teal);cursor:pointer}
.pg-cross-stories .pg-cross-note{font-size:.88em;color:var(--muted)}
.pg-cross-stories .pg-cross-source{display:none}
/* Match the older layout selectors while replacing all reader-facing accents. */
[data-theme]{--seal:var(--accent);--gold:var(--rule);--notice:var(--muted);--notice-bg:var(--soft)}
[data-theme] .topbar .site-modes a{background:var(--soft);color:var(--navy);border-color:var(--line);border-radius:var(--radius);box-shadow:inset 0 0 0 2px var(--card)}
[data-theme] .topbar .site-modes a:hover{background:var(--wash);color:var(--navy);border-color:var(--rule);box-shadow:none}
[data-theme] .topbar .site-modes a[aria-current=page]{background:var(--accent);color:white;border-color:var(--accent);box-shadow:inset 0 0 0 3px #ffffff25}
[data-theme] .topbar .site-modes a[aria-current=page]::after{background:var(--accent);border-color:var(--accent)}
[data-theme] .topbar .site-modes a::before{border-color:var(--rule)}
[data-theme] .study-outline input[type=search],[data-theme] .study-outline input[type=text]{background:var(--card);border-color:var(--rule);color:var(--ink);border-radius:var(--radius)}
[data-theme] .study-outline-head{border-color:var(--rule)}
[data-theme] .study-intro{background:var(--soft);border-color:var(--line);border-left-color:var(--rule);border-radius:var(--radius)}
[data-theme] .study-jumps button,[data-theme] .study-jumps a{background:var(--soft);color:var(--navy);border-color:var(--rule);border-radius:var(--radius)}
[data-theme] .study-jumps [data-study-jump=supplements]{background:var(--supplement);color:var(--teal);border-color:var(--supplement-line)}
[data-theme] .study-jumps button:hover{background:var(--wash)}
[data-theme] .source-location-inline{background:var(--soft);border-color:var(--rule);color:var(--ink)}
[data-theme] .note-versions a{color:var(--teal);background:var(--soft);border-color:var(--rule);border-radius:var(--radius)}
[data-theme] .note-versions a.note-version-primary{color:white;background:var(--accent);border-color:var(--accent)}
[data-theme] .study-index-item.is-active .study-index-title,[data-theme] .study-index-title[aria-current=true]{background:var(--selected);color:var(--accent);border-color:var(--accent)}
[data-theme] .study-toc-check,[data-theme] .quick-study-button{background:var(--card);border-color:var(--rule);color:var(--teal)}
[data-theme=xuanqing] .topbar .site-modes a::before,[data-theme=paper] .topbar .site-modes a::before{content:none}
[data-theme=xuanqing] .topbar .site-modes a[aria-current=page]{background:linear-gradient(120deg,#215b88,#247f96);box-shadow:inset 0 0 0 2px #9ee2ef50,0 3px 12px #155d8118}
[data-theme=xuanqing] .topbar .site-modes a[aria-current=page]::after,[data-theme=paper] .topbar .site-modes a[aria-current=page]::after{content:none}
[data-theme=paper] .topbar .site-modes a{box-shadow:none;background:white}
[data-theme=paper] .topbar .site-modes a[aria-current=page]{background:#e7eef4;color:#2f5069;box-shadow:inset 0 -3px #708eaa;border-color:#b9cbd8}
[data-theme] a:focus-visible,[data-theme] button:focus-visible,[data-theme] summary:focus-visible{outline-color:var(--accent)}
[data-theme] .study-selection-label{color:var(--accent)}
[data-theme] .study-selection-bar{border-color:var(--line)}
[data-theme] .study-selection-actions button,[data-theme] .record-quick,[data-theme] .study-index-check{background:var(--card);color:var(--teal);border-color:var(--rule);border-radius:calc(var(--radius) / 2)}
[data-theme] .record-quick[aria-pressed=true],[data-theme] .study-index-check[aria-pressed=true]{background:var(--wash);color:var(--navy);border-color:var(--teal)}
[data-theme] .source-tools summary{color:var(--teal)}
[data-theme] .study-index-title[aria-current=true]{box-shadow:inset 3px 0 var(--accent)}

[data-theme] .pg-key-confirmed{border-top-color:var(--pg-edge)}
[data-theme] .pg-key-indirect{border-top-color:var(--pg-indirect)}
[data-theme] .sidebar-toggle,[data-theme] .study-outline-toggle{background:var(--rail);border-color:var(--line);color:var(--navy)}

/* Preview 6: paired controls share a stable touch area; glyph detail stays decorative. */
[data-theme] .header-tools{align-items:center}
[data-theme] .appearance-control,[data-theme] .text-size-control{box-sizing:border-box;min-height:52px;height:52px;padding:4px 8px;display:inline-flex;align-items:center;gap:6px;font-size:.88rem}
[data-theme] .appearance-control label,[data-theme] .text-size-label{font-size:inherit;line-height:1.3}
[data-theme] .appearance-control select,[data-theme] .text-size-control button{box-sizing:border-box;height:40px;min-height:40px;line-height:1.3;font-size:inherit;padding:4px 8px}
.brand-mark .mark-snow,.brand-mark .mark-wind{display:none}
[data-theme="paper"] .brand-mark .mark-moon{display:none}
[data-theme="paper"] .brand-mark .mark-snow{display:block}
[data-theme="xuanqing"] .brand-mark .mark-moon{display:none}
[data-theme="xuanqing"] .brand-mark .mark-wind{display:block}
.brand-mark .mark-moon{stroke-width:2.1}
.brand-mark .mark-snow{stroke-width:1.9}
@media(max-width:760px){
 [data-theme] .appearance-control,[data-theme] .text-size-control{height:46px;min-height:46px;padding:3px 5px;gap:3px;font-size:.8rem}
 [data-theme] .appearance-control select,[data-theme] .text-size-control button{height:38px;min-height:38px;padding:3px 6px}
}

/* Compact, account-grouped replay excerpts; evidence remains visible. */
.replay-links{display:grid;gap:10px;margin:10px 0;padding:10px 12px;border:1px solid var(--line);border-left:3px solid var(--accent,var(--teal));border-radius:5px;min-width:0;overflow-wrap:anywhere}
.replay-account,.replay-list,.replay-entry{min-width:0}
.replay-account+.replay-account{border-top:1px solid var(--line)}
.replay-links .replay-account-title{font-size:.94rem;font-weight:700;line-height:1.6;margin:0 0 3px;color:var(--ink)}
.replay-links .replay-list{display:grid;gap:5px;list-style:none;margin:0;padding:0}
.replay-links .replay-list>.replay-entry{margin:0;padding:0}
.replay-links .replay-open{display:flex;align-items:center;flex-wrap:wrap;gap:0 5px;min-height:44px;padding:6px 8px;border:1px solid var(--line);border-radius:3px;font-size:.94rem;font-weight:600;line-height:1.6;text-decoration:none;overflow-wrap:anywhere;min-width:0}
.replay-links .replay-open:hover{text-decoration:underline;background:var(--wash)}
.replay-links .replay-open>*{min-width:0;max-width:100%}
.replay-links .replay-evidence{font-size:.875rem;line-height:1.6;margin:3px 0 6px;color:var(--muted)}
.replay-links .replay-info{font-size:.875rem;line-height:1.65;margin:0}
.replay-links .replay-info>summary{min-height:36px;padding:5px 8px;color:var(--muted);cursor:pointer}
.replay-links .replay-info p{margin:4px 8px;overflow-wrap:anywhere}
.replay-links .replay-info ul{padding-left:1.5em;margin:4px 8px 6px}
.replay-links .replay-info li{line-height:1.65;margin:3px 0}
.replay-links .replay-overflow{font-size:.94rem;line-height:1.6;margin-top:5px}
.replay-links .replay-overflow>summary{min-height:44px;padding:9px 8px;color:var(--blue);cursor:pointer;border:1px solid var(--line);border-radius:3px}
.replay-links .replay-overflow[open]>summary{margin-bottom:5px}
.replay-links a:focus-visible,.replay-links summary:focus-visible{outline:3px solid var(--accent,var(--teal));outline-offset:2px}
@media(max-width:390px){.replay-links{padding:8px}.replay-links .replay-open{padding:6px}}

/* 058: preserve the complete desktop title when tools grow or font size changes. */
@media(min-width:901px){[data-theme] .topbar .brand{flex-shrink:0;min-width:max-content}[data-theme] .topbar .brand>span:last-child{flex-shrink:0;min-width:max-content;overflow:visible;white-space:nowrap}[data-theme] .topbar .header-tools{min-width:0;flex-wrap:wrap}}

/* Collection link consolidation; no source/progress deletion. */
.topic-collection .video-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px}.topic-collection .video-grid a{height:100%;padding:10px 12px;overflow-wrap:anywhere}.replay-audit-note{flex-basis:100%;line-height:1.6}.video-only-card .record-small{margin:8px 0 0}

/* Collection ordinals are distinct from the per-note button number. */
.replay-video-link{display:inline-flex!important;flex-direction:column;justify-content:center;align-items:center;gap:4px;white-space:normal!important;vertical-align:top}
.replay-collection-caption{display:block;font-size:.72em;line-height:1.4;font-weight:400;max-width:16em;text-align:center;color:inherit}
.note-versions{align-items:flex-start}
.learning-mode{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.learning-mode a{padding:10px 18px;border:1px solid var(--line,#a99a76);border-radius:5px;text-decoration:none;font-weight:700}
.learning-mode a[aria-current=page],.replay-collection-picker a[aria-current=page]{background:var(--accent,#345d4d);color:var(--paper,#fff)}
.replay-collection-picker{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.replay-collection-picker a{display:flex;gap:10px;padding:8px 12px;border:1px solid var(--line,#a99a76);border-radius:4px;text-decoration:none}
.replay-episode h2{font-size:1.05rem;line-height:1.65;overflow-wrap:anywhere}
.replay-episode{margin-bottom:10px}.replay-episodes{contain:layout style}
@media(max-width:600px){.replay-collection-picker a{flex:1 1 42%;justify-content:space-between}.replay-video-link{min-width:130px}.learning-mode a{flex:1;text-align:center}}

/* Collection-aligned learning cards; stable note and record identities. */
.replay-link-group{margin:12px 0}.replay-group-label{margin:0 0 8px;font-size:.88rem;font-weight:600;color:var(--muted)}
.replay-link-group .note-versions{margin-top:0}.replay-story-caption{display:block;font-size:.76rem;font-weight:400;margin-top:4px}
.replay-extra{margin:12px 0;padding:8px 12px;border:1px solid var(--border);border-radius:4px}.replay-extra summary{cursor:pointer;font-size:.88rem}
.collection-note-references{font-size:.86rem;line-height:1.9;margin:10px 0}.collection-note-references a{white-space:normal;margin-right:6px}
.associated-note{padding:12px 0;border-top:1px solid var(--border)}.associated-note h3{font-size:1rem}
.replay-audit-note{max-width:72ch;line-height:1.7}.study-index-title{text-align:left;line-height:1.65}
@media(max-width:600px){.replay-link-group .note-version{min-width:0;flex:1 1 145px}.collection-note-references{overflow-wrap:anywhere}}

/* 076: one reading route; written notes and replay links share a compact row. */
.source-links-row{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px;margin:12px 0}
.source-links-row>.note-versions,.source-links-row>.replay-link-group{margin:0;max-width:100%;min-width:0}
.source-links-row>.replay-link-group>.replay-group-label{display:none}
.source-links-row .note-versions{margin-top:0;margin-bottom:0}
.source-links-row>.replay-extra{flex-basis:100%;margin:2px 0}
.source-links-row .replay-audit-note{margin-bottom:0}
@media(max-width:600px){.source-links-row>.note-versions,.source-links-row>.replay-link-group{flex-basis:100%;width:100%}.source-links-row .note-version{min-width:0;flex:1 1 135px}}

/* 076 revision 2: source date notes sit below the complete button row. */
.source-links-row>.replay-audit-note{flex-basis:100%;width:100%;margin:0}
