
.notebook-page{--paper:#f1ede3;--sheet:#fbfaf3;--ink:#374331;--muted:#747a6b;--olive:#657653;--brick:#a5382c;--line:#d0d3c5;--sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;--mono:"SFMono-Regular",Consolas,monospace}
.writing-entry{background:#f8f7ef}.writing-entry .icon{color:var(--olive);background:#e6e8da}.writing-link-label{font-size:11px;color:var(--olive);flex-shrink:0;border-bottom:1px solid #a8b198;padding-bottom:3px}
.notebook-page{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}.notebook-page *{box-sizing:border-box}.notebook-page a{color:inherit;text-decoration:none}.notebook-page button{font-family:inherit}.notebook-page a:focus-visible,.notebook-page button:focus-visible,.notebook-page summary:focus-visible{outline:2px solid var(--brick);outline-offset:5px}.notebook-header{max-width:1120px;margin:0 auto;padding:27px 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.notebook-brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:600;letter-spacing:-.3px}.notebook-brand img{width:35px;height:35px;object-fit:cover;border-radius:50%}.brand-dot{color:var(--brick)}.notebook-header nav{display:flex;gap:27px;font-size:13px}.notebook-header nav a{padding:8px 0;color:var(--muted)}.notebook-header nav a[aria-current]{color:var(--ink);border-bottom:1px solid var(--olive)}.notebook-index{width:calc(100% - 40px);max-width:560px;margin:0 auto;padding:38px 0 100px}.eyebrow{font-size:12px;letter-spacing:2px;color:var(--olive);margin:0 0 22px}.index-intro h1{font-size:30px;letter-spacing:-.5px;line-height:1.3;margin:0;font-weight:600}.index-description{font-size:16px;line-height:1.95;color:var(--muted);margin:0}.index-intro{margin-bottom:36px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.section-heading h2{font-size:14px;font-weight:500;letter-spacing:1px;margin:0}.section-heading>span{font-size:12px;color:var(--muted)}.article-entry{display:block;padding:26px 0 30px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.note-cover{position:relative;background:#e2e8d6;border:1px solid #c7d0b9;aspect-ratio:1;overflow:hidden;padding:21px 20px;border-radius:5px}.cover-label{display:block;font-size:11px;letter-spacing:1px;color:#738060}.note-cover strong{display:block;font-size:52px;font-weight:500;letter-spacing:-3px;margin:14px 0 4px;line-height:1}.cover-saying{font-size:13px;line-height:1.65}.cover-stroke{position:absolute;right:-12px;bottom:29px;width:113px;height:4px;border-radius:100%;background:#a5382c;transform:rotate(-35deg);opacity:.7}.article-entry-text{padding:5px 0}.article-meta{display:flex;gap:13px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--muted);line-height:1.6}.article-meta>span:first-child{color:var(--olive)}.article-entry h2{font-size:23px;line-height:1.6;letter-spacing:-.4px;font-weight:600;margin:12px 0}.article-entry p{font-size:16px;line-height:1.9;color:var(--muted);margin:0 0 20px}.read-link{display:inline-block;font-size:13px;border-bottom:1px solid #98a28a;padding-bottom:4px;color:var(--olive)}.article-entry:hover .read-link{color:var(--brick);border-color:currentColor}.article-entry:hover .note-cover{border-color:#899b74}.index-small-note{font-size:12px;color:#8a9080;line-height:1.8;margin-top:23px}.notebook-footer{width:calc(100% - 40px);max-width:560px;padding:25px 0 35px;margin:0 auto;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:12px;color:var(--muted)}.notebook-footer a{border-bottom:1px solid #b3bbaa;padding-bottom:3px}.article-shell{max-width:1120px;margin:0 auto;padding:34px 32px 0}.back-link{font-size:12px;color:var(--muted)!important;display:inline-block;border-bottom:1px solid #b4bba9;padding-bottom:4px}.article-header{max-width:800px;margin:44px 0 47px 205px}.article-header h1{font-size:37px;font-weight:600;line-height:1.5;letter-spacing:-1.1px;margin:18px 0}.article-deck{font-size:17px;line-height:1.9;color:var(--muted);margin:0 0 25px;max-width:680px}.byline{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.byline img{width:26px;height:26px;border-radius:50%;object-fit:cover}.byline-divider{color:#b1b6a7}.draft-tag{font-size:10px;border:1px solid #c9cfbd;padding:1px 6px;border-radius:4px}.article-layout{display:grid;grid-template-columns:165px minmax(0,680px);gap:40px;align-items:start}.article-toc{position:sticky;top:32px}.article-toc summary{font-size:12px;letter-spacing:1px;color:var(--muted);list-style:none}.article-toc summary::-webkit-details-marker{display:none}.article-toc nav{border-left:1px solid var(--line);display:flex;flex-direction:column;margin:17px 0 0;padding:0 0 0 15px;gap:17px}.article-toc nav a{font-size:12px;line-height:1.65;color:var(--muted)}.article-toc nav a:hover,.article-toc nav a.active{color:var(--brick)}.article-prose{font-size:16px;line-height:2;color:#424c3c;min-width:0}.article-prose p{margin:0 0 19px}.article-prose section{scroll-margin-top:30px;margin-top:48px}.article-prose h2{font-size:24px;line-height:1.5;font-weight:500;letter-spacing:-.4px;margin:0 0 22px;color:var(--ink)}.article-prose h3{font-size:17px;font-weight:600;line-height:1.7;margin:26px 0 10px}.article-prose strong{font-weight:600}.opening-note{padding:19px 23px 20px;background:#e5eadc;border-left:3px solid #8d9e78;margin-bottom:30px}.opening-note>span{display:block;color:var(--olive);font-size:11px;letter-spacing:1px;margin-bottom:7px}.opening-note p{margin:0;font-size:16px;line-height:1.9}.article-prose .caption{font-size:12px;line-height:1.8;color:#858b7b;margin-top:-4px}.article-prose blockquote{margin:30px 0 24px;padding:0 0 0 22px;border-left:2px solid #b89077;color:#805e48;font-size:22px;line-height:1.8;letter-spacing:-.5px}.brief-list{margin:0 0 26px}.brief-list>div{display:grid;grid-template-columns:135px 1fr;border-bottom:1px solid var(--line);padding:14px 0;gap:20px}.brief-list dt{font-size:14px;font-weight:600;color:var(--olive)}.brief-list dd{font-size:14px;margin:0;color:var(--muted);line-height:1.9}.prompt-note{padding:20px 22px;background:var(--sheet);border:1px solid #d5d8c8;border-radius:8px}.prompt-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:12px;color:var(--muted);margin-bottom:17px}.copy-prompt{border:1px solid #b4c0a5;color:var(--olive);border-radius:5px;padding:7px 11px;background:#eff2e8;cursor:pointer;font-size:11px;white-space:nowrap;min-height:32px}.copy-prompt:hover{border-color:var(--olive)}.prompt-note pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--sans);font-size:14px;line-height:2;margin:0;color:#58644e}.copy-feedback{font-size:11px;line-height:1.5;color:var(--olive);margin:0!important}.copy-feedback:not(:empty){margin-top:10px!important}.article-prose ul{padding-left:22px}.article-prose li{padding-left:3px;margin:13px 0}.reference-links{display:grid;border-top:1px solid var(--line)}.reference-links>a{display:flex;justify-content:space-between;align-items:center;gap:17px;padding:16px 0;border-bottom:1px solid var(--line)}.reference-links strong{font-size:14px;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#a5ae98}.reference-links span{font-size:12px;color:var(--muted);text-align:right}.reference-links a:hover strong{color:var(--brick)}.article-end{border-top:1px solid var(--line);margin:56px 0 75px;padding-top:22px;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:var(--muted)}.article-end a{text-decoration:underline;text-underline-offset:4px}
@media(max-width:820px){.article-header{margin-left:0;max-width:700px}.article-layout{grid-template-columns:1fr;gap:26px}.article-toc{position:static;background:#ffffff28;border-bottom:1px solid var(--line);padding:0 0 20px}.article-toc nav{flex-direction:row;flex-wrap:wrap;gap:10px 22px;border:0;padding:0;margin-top:14px}.article-toc nav a{font-size:12px}.article-shell{max-width:740px}.article-header h1{font-size:34px}.article-header{margin-top:32px;margin-bottom:32px}}
@media(max-width:560px){.notebook-header{padding:20px 21px}.notebook-brand{font-size:16px;gap:8px}.notebook-brand img{width:29px;height:29px}.notebook-header nav{gap:18px;font-size:12px}.notebook-index{padding:30px 0 65px}.index-intro h1{font-size:28px;letter-spacing:-.5px}.index-description{font-size:14px;line-height:1.9}.index-intro{margin-bottom:30px}.eyebrow{font-size:10px;letter-spacing:1.8px;margin-bottom:16px}.section-heading{margin-bottom:11px}.section-heading h2{font-size:13px}.section-heading>span{font-size:10px}.article-entry{grid-template-columns:1fr;gap:20px;padding:20px 0 25px}.note-cover{aspect-ratio:auto;height:157px;padding:18px 22px}.note-cover strong{font-size:45px;margin:13px 0}.cover-saying{position:absolute;right:26px;top:57px;font-size:14px}.cover-stroke{right:16px;bottom:22px;width:85px}.article-entry h2{font-size:23px;margin-top:10px}.article-entry h2 br{display:none}.article-entry p{font-size:16px}.article-meta{font-size:11px;gap:10px}.notebook-footer{padding:23px 0 28px;font-size:12px}.notebook-footer>span{display:none}.article-shell{padding:26px 22px 0}.article-header h1{font-size:28px;line-height:1.55;letter-spacing:-.8px}.article-header h1 br{display:none}.article-deck{font-size:15px}.byline{font-size:10px;gap:7px}.article-prose{font-size:16px;line-height:1.95}.article-prose h2{font-size:22px;margin-bottom:18px}.article-prose section{margin-top:38px}.opening-note{padding:16px 18px}.opening-note p{font-size:15px}.article-prose blockquote{font-size:19px;padding-left:17px}.brief-list>div{grid-template-columns:1fr;gap:4px;padding:12px 0}.brief-list dd{font-size:14px}.prompt-note{padding:17px 16px}.prompt-heading{font-size:10px}.prompt-note pre{font-size:14px}.reference-links>a{align-items:flex-start;flex-direction:column;gap:4px}.reference-links span{font-size:11px}.article-end{margin-bottom:55px;font-size:11px}.writing-link-label{font-size:10px}}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}

/* Page navigation lives on the left; language controls stay on the right. */
.site-topbar{display:flex;align-items:center;justify-content:space-between;gap:24px}
.link-page>.site-topbar{margin:-15px 0 24px}
.site-topbar .site-tabs{display:flex;align-items:center;gap:20px;margin:0;font-family:var(--sans);font-size:13px;line-height:1.5}
.site-topbar .site-tabs>a{display:block;min-height:35px;padding:7px 0 6px;color:#7b826f;border-bottom:1px solid transparent}
.site-topbar .site-tabs>a[aria-current="page"]{color:#3d4a34;border-bottom-color:#7c8a6c}
.site-topbar .site-tabs>a:hover{color:#a5382c}
.site-topbar .language-switcher{display:flex;align-items:center;justify-content:flex-end;gap:5px;margin:0;font-family:var(--sans);font-size:12px;line-height:1;color:#7b826f}
.site-topbar .language-switcher>a{display:grid;place-items:center;min-width:34px;min-height:34px;padding:0;border:0;border-radius:6px;color:inherit}
.site-topbar .language-switcher>span{color:#a4a796;font-size:11px}
.site-topbar .language-switcher>a:hover{background:#ffffff65;color:#a5382c}
.notebook-header.site-topbar{width:calc(100% - 40px);max-width:560px;margin:25px auto 24px;padding:0;border:0}
@media(max-width:560px){.link-page>.site-topbar{margin:-15px 0 24px}.site-topbar{gap:20px}.site-topbar .site-tabs{gap:18px;font-size:12px}.site-topbar .language-switcher{font-size:11px}}

.imported-note>h2{scroll-margin-top:30px;margin-top:48px}.imported-note>h2:first-child{margin-top:0}.imported-note img{display:block;width:100%;max-width:100%;height:auto;border-radius:6px;margin:26px auto}.imported-note p>a>img{max-width:440px}.imported-note hr{border:0;border-top:1px solid var(--line);margin:42px 0}.imported-note p>a{color:#687c55;text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}.imported-note code{font-family:var(--mono);font-size:.85em;overflow-wrap:anywhere}.imported-note blockquote{font-size:16px;background:#fbfaf3;padding:18px 21px;border-radius:0 6px 6px 0}.imported-note blockquote p{margin:0}.imported-note .prompt-note{margin:24px 0}

/* Responsive YouTube demo players. */
.embedded-demo{width:100%;aspect-ratio:16/9;margin:28px 0;background:#171717;border-radius:8px;overflow:hidden}.embedded-demo iframe{display:block;width:100%;height:100%;border:0}

/* Keep navigation stationary when switching between the homepage and notes. */
html{scrollbar-gutter:stable}.featured-video{margin-top:0;margin-bottom:32px}.article-entry h2 a:hover{color:var(--brick)}
@media(max-width:480px){.link-page>.site-topbar{margin:-13px 0 23px}.notebook-header.site-topbar{width:calc(100% - 32px);margin-top:16px;margin-bottom:23px}.notebook-index,.notebook-footer{width:calc(100% - 32px)}}

/* Notes archive: year heading and whitespace, without repeated footer rules. */
.notebook-index .archive-year{font-size:20px;line-height:1.5;letter-spacing:0;font-weight:500;color:var(--muted)}
.notebook-index .index-intro{margin-bottom:24px}
.post-list .article-entry{border:0;padding:0 0 30px}
.post-list .article-entry+.article-entry{padding-top:32px}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Start the table of contents beside the title, rather than below it. */
.article-with-toc .article-layout{grid-template-areas:"toc heading" "toc body";column-gap:40px;row-gap:32px;grid-template-rows:auto 1fr}
.article-with-toc .article-header{grid-area:heading;max-width:none;margin:0}
.article-with-toc .article-toc{grid-area:toc;padding-top:3px}
.article-with-toc .article-prose{grid-area:body}
.article-with-toc .article-toc summary{font-size:13px;letter-spacing:0}
.article-with-toc .article-toc nav a{font-size:13px}
@media(min-width:821px){.article-with-toc .article-toc summary{cursor:default}}
@media(max-width:820px){
.article-with-toc .article-layout{grid-template-areas:"heading" "toc" "body";grid-template-rows:auto auto 1fr;row-gap:26px}
.article-with-toc .article-toc{padding-top:0;background:none}
.article-with-toc .article-toc summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;min-height:32px;color:var(--olive)}
.article-with-toc .article-toc summary::after{content:"";width:7px;height:7px;margin-right:4px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg)}
.article-with-toc .article-toc details[open] summary::after{transform:rotate(225deg)}
}

.imported-note ol{padding-left:24px}.imported-note pre{white-space:pre-wrap;overflow-wrap:anywhere}.imported-note li>p{margin-bottom:8px}
