/* V10 — readable Vietnamese typography, quiet surfaces, generous rhythm.
   Loaded last on every page; no changes to member data or publishing logic. */
:root{--bg:#faf9f5;--ink:#202420;--muted:#50594f;--line:#d8ddd2;--rust:#795536;--sage:#edf0e7;--forest:#304c3e}
html{scroll-padding-top:24px}body{background:var(--bg);color:var(--ink);font-size:17px;line-height:1.8}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}a,button{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[contenteditable]:focus-visible{outline:3px solid #795536;outline-offset:4px}input::placeholder,textarea::placeholder{color:#62685f;opacity:1}h1,h2,h3{color:#202420;letter-spacing:-.025em;line-height:1.35;text-wrap:balance}p{overflow-wrap:break-word}header{max-width:none;padding:18px max(4%,calc((100% - 1320px)/2));gap:22px;border-bottom:1px solid var(--line);background:#faf9f5}header .brand{font-size:27px;line-height:1.25;gap:14px}.brand small{font-size:9px;letter-spacing:1.5px;color:#39483d;margin-top:8px}header nav{gap:23px}header nav a{font-size:15px;color:#343c34;font-weight:600}header nav a.active{color:var(--forest)}.header-actions{gap:16px}.account-link,.saved-link{font-size:14px;color:#303b31}.account-link{padding:11px 14px;border-color:#bfc9bb}.brand-mark:has(img){width:112px;height:88px;flex-basis:112px}.brand-mark img{width:112px;height:88px;object-fit:contain}
main#home{max-width:1320px;margin:auto}.hero{min-height:0;padding:60px 4% 68px;gap:6%;grid-template-columns:1.08fr 1fr;align-items:center}.hero h1{font-size:clamp(42px,4.8vw,65px);line-height:1.3;margin:24px 0;letter-spacing:-.045em}.hero h1 em{color:#795536}.eyebrow{font-size:12px;line-height:1.8;font-weight:600;letter-spacing:1.5px;color:#795536}.hero-description{font-size:18px;line-height:1.95;max-width:510px;color:#333c34;margin-bottom:28px}.hero-photo-panel{height:520px;min-height:0;border-radius:16px;overflow:hidden}.hero-photo{width:100%;height:100%;object-fit:cover}.photo-caption{font-size:10px;letter-spacing:1.8px;color:#fff;background:#263b2ad9;padding:10px 15px;border-radius:4px;bottom:22px;left:50%;width:max-content;max-width:90%;transform:translateX(-50%);text-align:center}.button{font-size:16px;line-height:1.6;padding:14px 22px;min-height:48px;border-radius:6px}.primary{background:var(--forest);color:#fff;border-color:var(--forest)}.primary:hover{background:#21392c}.secondary{color:#263b2a;background:#f4f5ef;border-color:#b9c4b5}.text-link{font-size:15px;color:#304c3e;line-height:1.8}.hero .text-link{display:inline-block;margin:14px 0 0 18px}.hero-note{font-size:14px;line-height:1.8;color:#4b554b;margin-top:30px}.hero-note i{color:#738366}
.library-section{max-width:1320px;padding:64px 4%;margin:auto}.section-top{align-items:end;gap:26px}.section-top h2,.library-section>h2{font-size:clamp(32px,3.5vw,44px);margin:12px 0 0}.section-top>p{font-size:15px;line-height:1.85;color:#50594f}.library-toolbar{margin-top:30px;gap:24px;padding-bottom:18px;border-bottom:1px solid var(--line)}.tabs{gap:8px;flex-wrap:wrap}.tabs button{font-size:16px;color:#3c483d;padding:11px 20px;min-height:46px;border-radius:5px}.tabs button[aria-selected=true]{background:var(--forest);color:#fff}.search{font-size:16px;background:#fff;border:1px solid #c6cfc1;border-radius:6px;padding:10px 14px;min-height:46px}.search input{font-size:16px;color:#202420;min-width:0;width:100%}.library-notice{font-size:14px;color:#50594f;margin:18px 0 24px}.cards{gap:28px;align-items:start}.card{background:#fffefa;border:1px solid #d8ddd2;border-radius:10px;overflow:hidden;box-shadow:0 3px 14px #26352305}.card:hover{box-shadow:0 8px 24px #2635230c}.card img,.card-cover{object-fit:contain}.card h3{font-size:25px;line-height:1.5;color:#202420}.card p{font-size:15px;color:#50594f;line-height:1.8}.card .tag,.tag{font-size:11px;color:#795536;letter-spacing:1.2px}.card .text-link,.card button{font-size:15px}.card-body{padding:26px}.card img{background:#f0f1e9}.article-section{margin:0 4%;padding:72px 0;gap:6%;grid-template-columns:1fr 2.5fr;border-top:1px solid var(--line)}.article-section article{max-width:760px}.article-section h2{font-size:clamp(29px,3vw,39px);line-height:1.5;margin-top:0}.article-section article p{font-size:18px;line-height:1.95;color:#303830;margin-bottom:22px}.article-section article .lead{font-size:20px;color:#202420}.article-meta p,.article-meta p span{font-size:14px;line-height:1.9;color:#50594f}.article-section article h3{font-size:27px;margin-top:36px}.article-section .editor-note{font-size:14px;color:#50594f}.vertical-flower{color:#879475}.practice{margin:0 4% 60px;padding:42px 5%;border-radius:12px;background:#edf0e7;color:#263b2a}.practice>span:first-child{font-size:12px;letter-spacing:1.5px;color:#46583c}.practice p{font-size:clamp(23px,2.7vw,32px);line-height:1.65;color:#283e2d}.home-post-section{border-top:1px solid var(--line)}.closing{padding:68px 5%;background:#f0f2ea;border-top:1px solid var(--line)}.closing h2{font-size:clamp(29px,3vw,40px);line-height:1.6}.closing p{font-size:16px;color:#465046}.closing>span{color:#82916f}footer{padding:34px 5%;gap:24px}footer p{font-size:14px;color:#50594f}
/* Reader and member surfaces retain the same calm, legible hierarchy. */
dialog{background:#fffefa;color:#202420;border:1px solid #cdd5c6;border-radius:12px;padding:32px;max-width:min(900px,94vw)}dialog::backdrop{background:#18251b99}dialog p,.account-public-note{color:#333c34}.reader-body,.rich-document{font-size:20px;line-height:2;color:#202420}.reader-body p,.rich-document p{color:inherit}.reader-meta,.hint,.account-status,.reading-progress .hint,.community-panel .hint{font-size:14px;line-height:1.85;color:#50594f}.reading-progress{background:#f0f3e9;border:1px solid #cdd7c3;border-radius:8px;padding:14px;box-shadow:0 2px 8px #273d3508}.reading-progress button{font-size:14px}#reader>.close{background:#fffefa;border:1px solid #bdc7b7;color:#202420;z-index:20;min-width:44px;min-height:44px}#reader .reading-progress{top:56px}.reader-cover{object-fit:contain}.chapter-nav,.chapter-selector{font-size:16px}.community-panel{background:#f1f3ec;border-radius:9px}.community-panel input{font-size:16px}.profile-filter label,.profile-main label,.history-card p,#postsPanel label,.profile-header-link{font-size:15px}.profile-main h1{font-size:40px}.history-card{border-radius:9px}.history-card h3{font-size:26px}.profile-status{font-size:16px}.copy-main{padding-top:40px}.copy-main>p,.copy-status,.copy-counter,.copy-settings label{font-size:15px;color:#465046}.copy-settings{border-radius:9px}.copy-toolbar button,.copy-tools button{font-size:15px;min-height:44px}.copy-source,.copy-rich{color:#202420}.copy-rich{font-size:21px}.admin-main{font-size:17px}.admin-main label,.admin-main .hint,.admin-main table,.admin-main .status{font-size:15px}.admin-tabs button{font-size:15px}.admin-main input,.admin-main select,.admin-main textarea{font-size:16px}.rich-toolbar button,.rich-toolbar select{font-size:15px;min-height:40px}#toast{font-size:15px;background:#263b2a;color:#fff}.error{color:#8b3024}
@media(min-width:1101px){header{justify-content:space-between}.header-actions{flex-wrap:wrap;justify-content:flex-end;max-width:250px}header nav{gap:19px}.brand{flex-shrink:0}}
@media(max-width:1100px){header nav{order:3;width:100%;justify-content:center}.hero{gap:4%}.hero h1{font-size:46px}.hero-photo-panel{height:490px}.header-actions{margin-left:auto}.section-top>p{max-width:340px}}
@media(max-width:850px){.hero{grid-template-columns:1fr;padding-top:38px;gap:30px}.hero-copy{max-width:650px}.hero h1{font-size:clamp(40px,7vw,57px)}.hero-description{max-width:620px}.hero-photo-panel{height:380px}.hero-photo{object-position:center 57%}.hero-note{margin-top:22px}.section-top{display:block}.section-top>p{max-width:600px;margin-top:18px}.article-section{grid-template-columns:1fr;padding:48px 0;gap:18px}.article-meta p{margin:8px 0}.vertical-flower{display:none}.library-section{padding-top:44px;padding-bottom:48px}.library-toolbar{flex-wrap:wrap;align-items:stretch}.search{width:100%;max-width:none}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.practice{margin-bottom:40px}.history-card{gap:16px}}
@media(max-width:580px){body{font-size:17px}header{padding:12px 5%;gap:14px}.brand{font-size:22px;gap:10px}.brand small{font-size:8px;letter-spacing:.7px}.brand-mark:has(img){width:80px;height:72px;flex-basis:80px}.brand-mark img{width:80px;height:72px}.header-actions{width:100%;margin:0;justify-content:space-between;gap:10px}.account-link,.saved-link{font-size:14px}header nav{gap:8px 22px;justify-content:flex-start}header nav a{font-size:15px;padding:6px 0}.hero{padding:32px 5% 42px}.hero h1{font-size:40px;line-height:1.35;margin:20px 0}.hero-description{font-size:17px;line-height:1.9}.hero .text-link{margin-left:0;display:block;width:max-content;margin-top:18px}.hero-photo-panel{height:330px;border-radius:10px}.eyebrow{font-size:11px;letter-spacing:1.1px}.photo-caption{font-size:9px;letter-spacing:1px}.library-section{padding:38px 5%}.library-section h2{font-size:32px}.tabs button{padding:10px 16px}.cards{grid-template-columns:minmax(0,1fr);gap:24px}.card-body{padding:24px}.card h3{font-size:25px}.article-section{margin:0 5%}.article-section h2{font-size:28px}.article-section article p{font-size:17px;line-height:1.95}.article-section article .lead{font-size:19px}.practice{margin:0 5% 38px;padding:30px 24px}.practice p{font-size:23px}.practice-flower{display:none}.closing{padding:44px 5%}.closing h2{font-size:28px}footer{flex-wrap:wrap;padding:28px 5%}dialog{padding:20px;max-width:96vw;width:96vw}.reader-body,.rich-document{font-size:19px;line-height:1.95}.reading-progress{padding:12px}.reading-progress button{font-size:14px}.community-panel{padding:16px}.profile-main h1{font-size:32px}.copy-source,.copy-rich{font-size:20px}.copy-main h1{font-size:33px}.button{padding:12px 18px;font-size:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
.body-text{font-size:20px;line-height:2;color:#202420;max-width:760px}.copy-panel-head p,.copy-footnote{font-size:14px;color:#50594f}.copy-rich,.copy-rich[contenteditable]{color:#202420}.chapter-navigation,.reader-chapter-header label{font-size:16px}.chapter-article h3{font-size:27px}@media(max-width:580px){.body-text{font-size:19px;line-height:1.95}}
