:root{color-scheme:light;--paper:#fff;--ink:#202725;--muted:#69736f;--green:#215348;--line:#dce3df;--tint:#f1f6f3;--red:#ad483a}
*{box-sizing:border-box;letter-spacing:0}
html{scroll-behavior:smooth;scroll-padding-top:32px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"Noto Sans SC","Microsoft YaHei",sans-serif;font-size:16px;line-height:1.8}
a{color:inherit;text-decoration:none}
a:hover{color:var(--green)}
button,input{font:inherit}
button,input,a,summary{touch-action:manipulation}
:focus-visible{outline:3px solid #7ca99b;outline-offset:5px}
[hidden]{display:none!important}
.masthead,main,footer{width:min(1060px,calc(100% - 64px));margin-inline:auto}
.masthead{min-height:108px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}
.wordmark{font-family:Georgia,"Times New Roman",serif;font-size:23px;font-weight:700;color:var(--green);line-height:1.2;flex-shrink:0}
.wordmark span{display:block;font-family:"Noto Sans SC","Microsoft YaHei",sans-serif;font-size:11px;font-weight:400;margin-top:7px;color:var(--muted)}
nav{display:flex;gap:30px;font-size:14px}
nav a{padding-block:12px;border-bottom:1px solid transparent}
nav a:hover{border-color:var(--green)}
.intro{padding-top:48px}
.eyebrow{margin:0 0 12px;font-size:10px;color:var(--green);font-weight:700}
h1,h2,.reading-aside p{font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-weight:500}
h1{font-size:44px;line-height:1.3;margin:0 0 18px}
.intro-copy{margin:0 0 32px;color:var(--muted);font-size:15px}
.cover{margin:0}
.cover img{display:block;width:100%;height:auto;aspect-ratio:2.65;object-fit:cover;object-position:50% 55%;background:var(--tint)}
.cover figcaption{display:flex;justify-content:space-between;gap:16px;padding-top:12px;font-size:11px;color:var(--muted)}
.notes-section,.terms-section{padding-top:72px}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;padding-bottom:22px;border-bottom:2px solid var(--ink)}
.section-heading .eyebrow{margin-bottom:7px}
h2{margin:0;font-size:29px;line-height:1.45}
.section-meta{font-size:12px;color:var(--muted);white-space:nowrap}
.reading-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:40px}
.reading-aside{padding-top:30px}
.reading-aside p{font-size:23px;line-height:1.65;margin:0 0 16px}
.reading-aside>span{font-size:11px;color:var(--muted)}
details{border-bottom:1px solid var(--line)}
summary{list-style:none;display:grid;grid-template-columns:34px minmax(0,1fr) 20px;gap:14px;align-items:center;cursor:pointer;padding:24px 0}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";color:var(--green);font-size:22px;line-height:1;text-align:center}
details[open]>summary::after{content:"−"}
.note-number{font:italic 15px Georgia,serif;color:var(--muted);align-self:start;padding-top:5px}
.note-category{display:block;color:var(--red);font-size:10px;margin-bottom:5px}
.note-title{display:block;font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:21px;line-height:1.55}
.note-body{padding:0 34px 27px 48px;font-size:14px;line-height:2;color:#46534d}
.note-body>p{margin:0 0 15px}
.note-body>.practice{padding:15px 0 0;margin-bottom:0;border-top:1px dashed var(--line)}
.practice strong{display:block;font-size:11px;color:var(--green);font-weight:600;margin-bottom:3px}
.term-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0}
.segments{display:flex;border:1px solid var(--line);padding:3px;margin:0;min-width:0;border-radius:4px}
.segments label{position:relative;cursor:pointer}
.segments input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.segments span{display:block;padding:6px 19px;font-size:12px;border-radius:2px;white-space:nowrap}
.segments input:checked+span{background:var(--green);color:white}
.segments input:focus-visible+span{outline:2px solid var(--green);outline-offset:2px}
.search{width:260px;max-width:100%}
.search input{width:100%;height:42px;padding:9px 12px;border:1px solid var(--line);border-radius:3px;background:white;color:var(--ink);font-size:13px;appearance:auto}
.search input::placeholder{color:var(--muted)}
.term-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}
.term-table th,.term-table td{text-align:left;padding:16px 12px;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere}
.term-table thead th{font-size:11px;font-weight:400;background:var(--tint);color:#4b5a53}
.term-table thead th:first-child{width:30%}
.term-table thead th:nth-child(2){width:19%}
.term-table tbody th{font-family:Georgia,"Times New Roman",serif;font-size:16px;font-weight:400;color:var(--green)}
.term-table tbody td:last-child{color:var(--muted)}
.term-table tbody tr:hover{background:#fafcfb}
.empty-state{padding:40px 0;color:var(--muted);text-align:center}
.about-section{margin-top:72px;padding:38px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.about-section h2{font-size:25px}
.about-section>p:last-child{max-width:720px;margin:17px 0 0;font-size:14px;line-height:2;color:var(--muted)}
footer{display:flex;justify-content:space-between;gap:18px;padding-block:28px 44px;color:var(--muted);font-size:11px}
footer a{color:var(--green)}
.skip-link{position:absolute;top:-80px;left:20px;z-index:10;padding:10px 16px;background:var(--green);color:white}
.skip-link:focus{top:10px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:700px){
.masthead,main,footer{width:calc(100% - 36px)}
.masthead{min-height:88px;gap:16px}
.wordmark{font-size:19px}
.wordmark span{font-size:10px}
nav{gap:16px;font-size:12px}
.intro{padding-top:32px}
h1{font-size:34px}
.intro-copy{font-size:13px;max-width:290px}
.cover img{aspect-ratio:1.75;object-position:50% 55%}
.cover figcaption{font-size:10px}
.notes-section,.terms-section{padding-top:48px}
h2{font-size:25px}
.section-heading{padding-bottom:18px;gap:12px}
.section-meta{font-size:11px}
.reading-layout{grid-template-columns:minmax(0,1fr);gap:0}
.reading-aside{display:none}
summary{grid-template-columns:26px minmax(0,1fr) 18px;gap:10px;padding-block:22px}
.note-title{font-size:19px}
.note-body{padding:0 0 24px 36px;font-size:13px}
.term-toolbar{flex-wrap:wrap;gap:14px;padding:20px 0}
.segments{width:100%}
.segments label{flex:1}
.segments span{text-align:center;padding-inline:8px}
.search{width:100%}
.term-table{font-size:12px}
.term-table th,.term-table td{padding:14px 7px}
.term-table tbody th{font-size:14px}
.term-table thead th:first-child{width:31%}
.term-table thead th:nth-child(2){width:23%}
.about-section{margin-top:48px}
.about-section h2{font-size:22px}
footer{font-size:10px}
}
@media(max-width:360px){nav{gap:10px}.wordmark{font-size:17px}.note-title{font-size:18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
