/* Readable type shared by the two independent collections. */
.notebook-page{--reading-ink:#292d27;--reading-muted:#56604f;--reading-soft:#626b5a;color:var(--reading-ink);font-family:Arial,'PingFang SC','Microsoft YaHei',sans-serif;-webkit-font-smoothing:antialiased}
html[data-theme="dark"] .notebook-page{--reading-ink:#eeece6;--reading-muted:#c7c3b9;--reading-soft:#b5b1a7;color:var(--reading-ink)}
.notebook-page .header nav a,.notebook-page .header nav button{font-size:14px}
.notebook-page .notebook-breadcrumb,.notebook-page .index-mark,.notebook-page .notebook-rule{font-size:13px;letter-spacing:.3px;line-height:1.7;color:var(--reading-muted)}
.notebook-page .notebook-hero .eyebrow,.notebook-page .featured-label .eyebrow,.notebook-page .featured-copy>.eyebrow,.notebook-page .featured-caption{font-size:12px;line-height:1.7;letter-spacing:1px;color:var(--reading-muted)}
.notebook-page .hero-subtitle{font-size:18px;line-height:1.9;color:var(--reading-muted);letter-spacing:.3px}
.notebook-page .notebook-intro{font-size:16px;line-height:1.95;color:var(--reading-muted);max-width:365px}
.notebook-page .notebook-layout{grid-template-columns:220px minmax(0,1fr);gap:5vw}
.notebook-page .search-label,.notebook-page .sidebar-caption{font-size:13px;line-height:1.7;color:var(--reading-muted);letter-spacing:.5px}
.notebook-page .search-wrap input{font-size:16px;line-height:1.6;color:var(--reading-ink)}
.notebook-page .search-wrap input::placeholder,.notebook-page .search-wrap kbd{color:var(--reading-soft);font-size:13px}
.notebook-page .notebook-sidebar button{font-size:15px;line-height:1.65;min-height:44px;color:var(--reading-muted);padding:10px 12px}
.notebook-page .notebook-sidebar button span{font-size:12px;opacity:1}
.notebook-page .notebook-sidebar button.active{font-weight:600;color:var(--reading-ink)}
.notebook-page .sidebar-bottom p,.notebook-page .sample-explainer{font-size:13px;line-height:1.9;color:var(--reading-soft)}
.notebook-page .featured-note{grid-template-columns:1.6fr 1fr}
.notebook-page .featured-copy{padding:30px}
.notebook-page .featured-copy h2{font-size:clamp(24px,2.3vw,32px);font-weight:500;line-height:1.6;letter-spacing:0;color:var(--reading-ink)}
.notebook-page .featured-copy p{font-size:16px;line-height:1.9;color:var(--reading-muted);max-width:38em}
.notebook-page .featured-foot{font-size:13px;line-height:1.7;color:var(--reading-muted)}
.notebook-page .collection-toolbar h2{font-size:21px;font-weight:500}
.notebook-page .collection-toolbar #collection-count,.notebook-page .sort-label,.notebook-page .sort-label select,.notebook-page .active-selection,.notebook-page .active-selection button{font-size:13px;line-height:1.7;color:var(--reading-muted)}
.notebook-page .notebook-entry{padding:28px 12px;grid-template-columns:30px minmax(0,1fr) 20px}
.notebook-page .entry-index{font-size:18px;color:var(--reading-soft)}
.notebook-page .entry-topline,.notebook-page .entry-type{font-size:12px;line-height:1.7;color:var(--reading-soft);letter-spacing:.3px;flex-wrap:wrap}
.notebook-page .entry-body h3{font-size:21px;line-height:1.65;font-weight:500;color:var(--reading-ink)}
.notebook-page .entry-body p{font-size:16px;line-height:1.9;color:var(--reading-muted)}
.notebook-page .entry-tags span{font-size:12px;line-height:1.6;color:var(--reading-muted);padding:4px 9px}
.notebook-page .collection-end p,.notebook-page .notebook-footer p,.notebook-page .notebook-footer>a:last-child{font-size:13px;line-height:1.8;color:var(--reading-muted)}
.notebook-page .notebook-empty p,.notebook-page .notebook-empty button{font-size:15px;line-height:1.9}
.notebook-page #note-reader{width:min(780px,92vw);max-height:88svh;padding:42px;overflow:auto;color:var(--reading-ink)}
.notebook-page #note-reader h2{font-size:30px;line-height:1.6;letter-spacing:0;padding-right:20px}
.notebook-page #note-reader h3{font-size:21px;line-height:1.7;margin-top:30px}
.notebook-page #note-reader p,.notebook-page #note-reader li{font-size:17px;line-height:2;color:var(--reading-muted)}
.notebook-page #note-reader .eyebrow,.notebook-page .reader-date,.notebook-page .reader-bottom{font-size:13px;line-height:1.8;color:var(--reading-soft);letter-spacing:.4px}
.notebook-page #note-reader pre{font-size:14px;line-height:1.8;overflow:auto;white-space:pre}
.notebook-page .reflection-art{color:#748368}
html[data-theme="dark"] .notebook-page .reflection-art{color:#c7c3b9}
/* The homepage archive uses the same contrast and readable labels. */
.notes{color:#292d27}.notes .notes-head p,.notes .section-label,.notes .demo-note,.notes .list-heading,.notes .article-card p,.notes .article-number,.notes .article-meta,.notes .article-arrow{color:#56604f}
.notes .notes-head p,.notes .article-card p{font-size:14px;line-height:1.8}.notes .article-card h3{font-size:18px;line-height:1.6}.notes #filters button,.notes #archive button{font-size:14px;line-height:1.7}.notes #filters button span,.notes .section-label,.notes .demo-note,.notes .list-heading,.notes .article-meta,.notes .archive-toggle,.notes .archive-entry-link,.notes .list-heading #all-notes-link{font-size:12px;line-height:1.7}.notes #articles{max-height:calc(100svh - 410px)}
html[data-theme="dark"] .notes{color:#eeece6}html[data-theme="dark"] .notes .notes-head p,html[data-theme="dark"] .notes .section-label,html[data-theme="dark"] .notes .demo-note,html[data-theme="dark"] .notes .list-heading,html[data-theme="dark"] .notes .article-card p,html[data-theme="dark"] .notes .article-number,html[data-theme="dark"] .notes .article-meta{color:#c7c3b9}
@media(max-width:1000px){.notebook-page .notebook-layout{grid-template-columns:185px minmax(0,1fr);gap:4vw}.notebook-page .featured-note{grid-template-columns:1fr}.notebook-page .feedback-art{display:none}.notebook-page .notebook-intro{max-width:290px}}
@media(max-width:680px){
 body .header{height:auto!important;min-height:100px;flex-wrap:wrap;gap:12px;padding:16px 6vw 14px!important;background:linear-gradient(#f3f2ed 85%,#f3f2ed00)}
 html[data-theme="dark"] body .header{background:linear-gradient(#191918 85%,#19191800)}
 body .header nav{width:100%;display:flex;justify-content:space-between;gap:12px!important}
 body .header nav a[href^="notes.html"],body .header nav a[href^="thoughts.html"]{display:block!important;font-size:14px!important;white-space:nowrap}
 body .header .brand{font-size:23px!important}
 body .header nav #language{font-size:12px}
 .notebook-page .header nav .current:after{bottom:-5px}
 .notebook-page .notebook-shell{width:88vw;padding-top:144px}
 .notebook-page .notebook-hero{padding-top:24px}.notebook-page h1{font-size:44px}
 .notebook-page .hero-subtitle{font-size:17px}.notebook-page .notebook-intro{font-size:15px;max-width:none}
 .notebook-page .notebook-rule{flex-wrap:wrap;gap:4px 16px;font-size:12px}
 .notebook-page .notebook-layout{display:block}
 .notebook-page .search-label{display:block;margin-bottom:10px}
 .notebook-page .notebook-sidebar button{font-size:14px;padding:10px 12px}
 .notebook-page .sidebar-caption{font-size:13px;margin-bottom:12px}
 .notebook-page .featured-label{gap:10px}.notebook-page .featured-caption{font-size:11px;letter-spacing:.4px}
 .notebook-page .featured-copy{padding:24px}.notebook-page .featured-copy h2{font-size:25px}.notebook-page .featured-copy p{font-size:15px}
 .notebook-page .collection-toolbar>div{flex-wrap:wrap;gap:5px 10px}.notebook-page .collection-toolbar{gap:12px}
 .notebook-page .notebook-entry{grid-template-columns:22px minmax(0,1fr) 15px;gap:9px;padding:25px 0}
 .notebook-page .entry-body h3{font-size:19px}.notebook-page .entry-body p{font-size:15px}
 .notebook-page .entry-topline{gap:7px}.notebook-page .entry-tags span{font-size:12px}
 .notebook-page #note-reader{padding:30px 22px}.notebook-page #note-reader h2{font-size:25px}.notebook-page #note-reader p{font-size:16px}
 .notes .article-card h3{font-size:17px}.notes .article-card p{font-size:14px}.notes #articles{max-height:none}
}
@media(max-width:680px){.notes .notes-head{gap:12px;align-items:flex-end}.notes .notes-head h2{white-space:nowrap}.notes .notes-head p{flex:0 0 auto;font-size:13px;white-space:nowrap;margin:0 0 3px}.notes .notes-head .eyebrow{font-size:10px;letter-spacing:1px}}
#detail p,#detail li{font-size:16px;line-height:2;color:#56604f}#detail h3{font-size:21px;line-height:1.7}#detail .eyebrow{font-size:12px;line-height:1.8}#detail pre{font-size:14px;line-height:1.8}html[data-theme="dark"] #detail p,html[data-theme="dark"] #detail li{color:#c7c3b9}
.notebook-page .entry-body h3,.notebook-page .featured-copy h2,.notebook-page #note-reader h2,.notebook-page #note-reader h3{font-weight:700;color:#111310}
.notebook-page .entry-body p,.notebook-page .featured-copy p,.notebook-page #note-reader p,.notebook-page #note-reader li{font-weight:500;color:#30342e}
html[data-theme="dark"] .notebook-page .entry-body h3,html[data-theme="dark"] .notebook-page .featured-copy h2,html[data-theme="dark"] .notebook-page #note-reader h2,html[data-theme="dark"] .notebook-page #note-reader h3{color:#fffdf7}
html[data-theme="dark"] .notebook-page .entry-body p,html[data-theme="dark"] .notebook-page .featured-copy p,html[data-theme="dark"] .notebook-page #note-reader p,html[data-theme="dark"] .notebook-page #note-reader li{color:#dedbd2}
