*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f5f8fc;color:#153a5c;font-family:Prompt,sans-serif}button,a{font:inherit}button{cursor:pointer}a{text-decoration:none}.masthead{max-width:1280px;margin:auto;padding:23px 25px;display:flex;align-items:center;justify-content:space-between;color:#164470}.brand{font-size:30px;font-weight:700}.brand small{font-size:11px;margin-left:12px;letter-spacing:1px}.edition{font-size:11px;letter-spacing:2px;color:#b18b4e}.welcome{max-width:1280px;margin:auto;padding:40px 24px 70px}.intro{margin-bottom:35px}.eyebrow{color:#a47a3e;font-size:11px;font-weight:600;letter-spacing:2px}.intro h1{font-size:clamp(30px,4.2vw,55px);line-height:1.4;margin:12px 0;color:#113b66}.intro h1 em{font-style:normal;color:#1870ae}.intro p{color:#64809a;font-size:15px}.start{display:inline-block;background:#123e70;color:#fff;border-radius:9px;padding:12px 22px;margin-top:15px}.welcome-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(230px,1fr);gap:20px;align-items:start}.hero{position:relative;height:485px;overflow:hidden;border-radius:18px;background:#123b62}.hero>img{width:100%;height:100%;object-fit:cover}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#092b52ed,transparent)}.hero-overlay{position:absolute;z-index:2;left:9%;top:20%;width:70%;color:white}.hero-overlay>span{font-size:12px;letter-spacing:1px}.hero-overlay h2{font-size:clamp(23px,3vw,40px);line-height:1.4;margin:25px 0}.hero-overlay button{border:0;border-radius:30px;padding:13px 22px;background:#e9bd62;color:#113252;font-weight:600}.arrow{position:absolute;z-index:3;top:48%;background:#fff;border:0;border-radius:50%;width:37px;height:37px;font-size:30px}.arrow.left{left:10px}.arrow.right{right:10px}.slide-number{position:absolute;bottom:20px;left:9%;color:white;z-index:3;font-size:12px}.side{background:#eaf3fc;border-radius:15px;padding:13px}.sidehead{display:flex;align-items:center;justify-content:space-between;gap:8px}.sidehead h3{font-size:18px;margin:4px 0 15px}.sidehead button{border:0;background:transparent;color:#1476bc;font-size:11px}.side-card{display:block;width:100%;text-align:left;border:1px solid #e0ebf4;background:white;border-radius:13px;padding:8px;margin-bottom:11px;color:#123c65}.side-card img{display:block;width:100%;height:100px;object-fit:cover;border-radius:8px}.side-card b{font-size:12px;line-height:1.5;display:block;margin:8px 3px}.side-card small{color:#1680c3;font-size:10px}.library{background:white;padding:78px max(24px,calc((100% - 1080px)/2)) 95px}.library h2{font-size:clamp(29px,4vw,42px);margin:10px 0}.library h2 span{display:block;color:#397aa9}.library-lead{color:#71899a;line-height:1.9;margin-bottom:40px}.article-entry{display:grid;grid-template-columns:55px 1fr 160px;gap:24px;border-top:1px solid #e5ebf0;padding:30px 0;align-items:center}.article-entry .num{font-size:28px;color:#c6a978}.article-entry h3{font-size:22px;margin:8px 0}.article-entry p{font-size:13px;color:#74899c;line-height:1.8}.article-entry button{border:0;background:none;padding:0;color:#1879b2;font-weight:600}.article-entry img{width:160px;height:105px;object-fit:cover;border-radius:10px}.reader{max-width:900px;margin:70px auto;padding:0 15px}.reader-heading{text-align:center;margin-bottom:35px}.reader-heading h2{font-size:35px;margin:8px 0}.reader-heading p{color:#78899a}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#123d6a;color:#fff;border-radius:10px 10px 0 0;padding:15px;font-size:12px}.toolbar>div{display:flex;flex-wrap:wrap;gap:8px}.toolbar button{border:1px solid #8eaec7;background:#fff;color:#173f6b;border-radius:7px;padding:8px}.book-shell{background:#e2eaf3;padding:25px;display:flex;justify-content:center}.page{width:min(100%,610px);min-height:850px;background:#fffefb;box-shadow:9px 13px 22px #163a5728;padding:65px 55px 60px;position:relative;font-family:'TH Sarabun New',Sarabun,serif;color:#193c5a}.page h2{font-size:31px;line-height:1.45;margin:12px 0 18px}.page h3{font-size:23px;line-height:1.5;margin:17px 0 7px}.page p{font-size:18px;line-height:1.8;margin:8px 0 12px}.page .kicker{font-size:13px;color:#ae884b;letter-spacing:1px}.page .folio{position:absolute;bottom:25px;left:0;right:0;text-align:center;font-size:12px;color:#8a9aaa}.page.cover{padding:0;background:#102f55}.cover img{width:100%;height:850px;object-fit:cover;display:block}.tocrow{width:100%;background:none;border:0;border-bottom:1px solid #e4e7e9;display:flex;justify-content:space-between;padding:17px 0;color:#164671;text-align:left;font-size:18px}.source{font-size:15px;overflow-wrap:anywhere;margin-bottom:19px}.source a{color:#126caa;text-decoration:underline;font-size:13px}.nav{display:flex;justify-content:space-between;align-items:center;margin:18px 0 45px}.nav button{border:1px solid #c4d5e2;border-radius:9px;background:white;padding:11px 17px;color:#154d7c}.nav button:disabled{opacity:.35}footer{text-align:center;padding:30px;background:#0e355c;color:#b7cbdc;font-size:12px}@media(max-width:800px){.welcome-grid{grid-template-columns:1fr}.side #sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.side-card{margin:0}.hero{height:350px}.article-entry{grid-template-columns:35px 1fr}.article-entry img{display:none}.toolbar{flex-direction:column}.page{min-height:700px;padding:38px 27px 55px}.cover img{height:700px}.page h2{font-size:26px}.page h3{font-size:20px}.page p{font-size:17px}}@media(max-width:420px){.brand small,.edition{display:none}.intro h1{font-size:29px}.hero-overlay{width:78%}.hero-overlay h2{font-size:24px}.hero{height:310px}.side #sidebar{grid-template-columns:1fr 1fr}.page{padding:30px 22px 55px}.cover img{height:620px}.nav button{font-size:12px;padding:9px}}@media print{.masthead,.welcome,.library,.reader-heading,.toolbar,.nav,footer{display:none!important}.reader{margin:0;max-width:none;padding:0}.book-shell{background:none;padding:0}.page{box-shadow:none;min-height:0;width:100%;padding:15mm}.page.cover{padding:0}.page.cover img{height:auto;max-height:270mm;object-fit:contain}}
/* YosSaWin header: logo and direct contact links */
.masthead .brand-logo{display:block;flex:0 1 320px;min-width:0}
.masthead .brand-logo img{display:block;width:100%;max-width:320px;height:auto;object-fit:contain}
.masthead .header-contact{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px}
.masthead .contact-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;padding:11px 17px;font-size:14px;font-weight:600;white-space:nowrap;transition:filter .2s ease}
.masthead .contact-link:hover,.masthead .contact-link:focus-visible{filter:brightness(.91)}
.masthead .line-link{background:#06c755;color:#fff}
.masthead .phone-link{background:#123e70;color:#fff}
@media(max-width:650px){.masthead{gap:14px;flex-wrap:wrap;justify-content:center;padding:15px 18px}.masthead .brand-logo{flex:0 1 260px}.masthead .header-contact{width:100%;justify-content:center;gap:8px}.masthead .contact-link{font-size:12px;padding:10px 12px}}
@media(max-width:380px){.masthead .contact-link{font-size:11px;padding:9px 10px}.masthead .contact-number{font-size:11px}}
@media print{.masthead{display:none!important}}

/* Book checklist continuation pages */
.page.checklist-page h2{font-size:25px;line-height:1.35;margin:13px 0 10px}
.page.checklist-page .checklist-note{font-size:16px;line-height:1.55;margin:4px 0 10px}
.page.checklist-page .checklist-part{font-size:13px;color:#8a6b42;margin:0 0 8px}
.checklist-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px;line-height:1.4}
.checklist-table th,.checklist-table td{border-bottom:1px solid #dce4eb;padding:9px 5px;vertical-align:top;overflow-wrap:anywhere}
.checklist-table th{background:#eff5f9;text-align:left;color:#194c72;font-weight:700}
.checklist-table th:first-child,.checklist-table td:first-child{width:30px;text-align:center}
.checklist-table th:nth-child(2),.checklist-table td:nth-child(2){width:38%}
.checklist-table .checkmark{font-size:19px;color:#194c72;line-height:1}
@media(max-width:600px){.page.checklist-page{padding:32px 18px 56px}.page.checklist-page h2{font-size:22px}.checklist-table{font-size:12px}.checklist-table th,.checklist-table td{padding:7px 4px}.checklist-table th:first-child,.checklist-table td:first-child{width:23px}}

/* Full-page checklist layout: distribute each checklist evenly within its book page. */
.page.checklist-page{display:flex;flex-direction:column;min-height:850px}
.page.checklist-page .checklist-table{height:510px;flex:0 0 510px}
.page.checklist-page .checklist-table tbody tr{height:auto}
.page.checklist-page .checklist-table th,.page.checklist-page .checklist-table td{vertical-align:middle}
.page.checklist-page .checklist-table th{height:39px}
@media(max-width:800px){.page.checklist-page{min-height:700px}.page.checklist-page .checklist-table{height:auto;flex:1 1 auto;min-height:420px}}
@media(max-width:420px){.page.checklist-page{min-height:700px}.page.checklist-page .checklist-table{min-height:440px}}
@media print{.page.checklist-page{min-height:260mm;break-after:page;page-break-after:always}.page.checklist-page .checklist-table{height:175mm;flex:0 0 175mm}}
