.m4ml{color:#282326;line-height:1.85;margin:1rem auto 2.5rem}.m4ml h1,.m4ml h2{line-height:1.45;text-wrap:pretty}.m4ml h1{margin:.4em 0;font-size:clamp(1.8rem,4vw,2.8rem)}.m4ml h2{font-size:1.4rem;margin:1.5em 0 .35em}.m4ml p{margin:.4rem 0 1.1rem}.m4ml .m4ml-intro,.m4ml-source{color:#585157}.m4ml-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:1rem}.m4ml a{color:#8c1f35}.m4ml-card{display:flex;flex-direction:column;align-items:start;gap:.45rem;padding:1.25rem;border:1px solid #dfd6d4;border-top:4px solid #982739;border-radius:7px;text-decoration:none;background:#fff}.m4ml-card strong{font-size:1.45rem}.m4ml-card span{color:#40393b}.m4ml-card small{margin-top:auto}.m4ml a:hover,.m4ml summary:hover{text-decoration:underline}.m4ml-secondary a{display:inline-block;margin:.25rem 1rem .25rem 0}.m4ml-index{max-width:50rem;padding-inline-start:1.8rem}.m4ml-index li{padding:.7rem .3rem;border-bottom:1px solid #e4dddd}.m4ml-index li>a{font-size:1.16em;font-weight:700}.m4ml-index li p{margin:0;color:#514a4c}.m4ml-reading{max-width:49rem}.m4ml-opening{font-size:1.08em}.m4ml-summary,.m4ml-example{padding:1rem 1.15rem;margin:1.5rem 0;border-radius:6px}.m4ml-summary{background:#fbf2ed;border-inline-start:4px solid #94374b}.m4ml-example{background:#f5f7f8}.m4ml-summary h2,.m4ml-example h2{margin:0 0 .4rem}.m4ml-summary p:last-child,.m4ml-example p:last-child{margin-bottom:0}.m4ml summary{cursor:pointer;color:#8c1f35;font-weight:700}.m4ml-example ol{padding-inline-start:1.6rem}.m4ml-example li{margin:.4rem 0}.m4ml-source{font-size:.9em;overflow-wrap:anywhere}.m4ml-next{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;border-top:1px solid #ddd;padding-top:1rem}.m4ml-scroll{overflow-x:auto}.m4ml th,.m4ml td{padding:.55rem .7rem;border:1px solid #ded6d6;text-align:start}.m4ml th{background:#f7f2ef}.m4ml table{border-collapse:collapse;width:100%}.m4ml-crumb{font-size:.94rem}

.m4ml-figure{max-width:42rem;margin:1.1rem 0 1.6rem}.m4ml-figure img{display:block;width:100%;height:auto;border:1px solid #e0dcd4;border-radius:.6rem}.m4ml-figure figcaption{margin:.45rem .15rem;color:#524e50;font-size:.93rem;line-height:1.65}.m4ml-reading [id^="topic-"]{scroll-margin-top:6rem}.m4ml-index .m4ml-topics{margin:.25rem 0 .5rem}.m4ml-index .m4ml-topics li{padding:.12rem;border:0}.m4ml-index .m4ml-topics li>a{font-size:1rem;font-weight:400}.m4ml-topics ul{margin:.4rem 0;padding-inline-start:1.6rem}@media print{.m4ml-figure{break-inside:avoid}.m4ml-next,.m4ml-crumb{display:none}}
.m4ml-exam-directory{margin:2rem 0}.m4ml-exam-directory ul{columns:2 17rem;padding-inline-start:1.3rem}.m4ml-exam-directory li{break-inside:avoid;margin-bottom:.35rem}.m4ml-exam-topic{scroll-margin-top:6rem;border-inline-start:3px solid #dac4bf;padding:.3rem 1rem;margin:1.2rem 0}.m4ml-exam-topic:target{border-color:#982739;background:#fbf4ef}.m4ml-exam-topic h3{margin:.2rem 0;font-size:1.12rem}.m4ml-bank-links{margin:.8rem 0}.m4ml-bank-title{font-size:.94rem}.m4ml-bank-links ul{display:flex;flex-wrap:wrap;list-style:none;gap:.4rem;padding:0;margin:.4rem 0}.m4ml-bank-links li a{display:inline-block;padding:.2rem .6rem;border:1px solid #d8c9c8;border-radius:4px}.m4ml-exam-table th[scope=row]{white-space:nowrap}.m4ml-exam-table small{color:#64565b}
.m4ml-guide-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:.4rem 1.4rem;padding-inline-start:1.4rem}.m4ml-guide-list small{color:#5a5356;white-space:nowrap}.m4ml-guide-toc{background:#fbf7f3;border-radius:.5rem;padding:.5rem 1.2rem 1rem}.m4ml-guide-toc h2{margin-top:.4rem}.m4ml-guide-toc ol{margin:.4rem 0;padding-inline-start:1.55rem}.m4ml-unit,#thai-readings{scroll-margin-top:6rem}.m4ml-unit{margin:2rem 0}.m4ml-unit .mem,.m4ml-unit .trap{padding:.65rem .9rem;margin:.65rem 0;border-inline-start:.25rem solid #377168;background:#edf6f3}.m4ml-unit .trap{background:#fff3e8;border-color:#a35c22}.m4ml-unit .mem>b:first-child,.m4ml-unit .trap>b:first-child{margin-inline-end:.4rem}.m4ml-unit .scroll-table{overflow-x:auto;margin:1rem 0}.m4ml-unit td,.m4ml-unit th{vertical-align:top}.m4ml-unit .mini{font-size:.93em}.m4ml-unit .lunar{display:grid;grid-template-columns:repeat(3,1.7em);justify-content:center;text-align:center;line-height:1.25;font-size:1.65rem}.m4ml-unit .calendar{margin:1rem 0;padding:.8rem;background:#f7f5ee}.m4ml-unit figcaption{margin-top:.5rem}.m4ml-sources{margin:1.5rem 0}.m4ml-reader .options{line-height:2}.m4ml-reader .m4ml-example h3{margin:.25rem 0}

#social-readings,#math-readings,#chemistry-readings,#biology-readings{scroll-margin-top:6rem}
.m4ml-unit figure img{display:block;max-width:100%;height:auto}
.m4ml-source-order{max-width:50rem;background:#fbf7f3;border:1px solid #e4dddd;border-radius:.5rem;padding:.65rem 1rem;margin:1rem 0}
.m4ml-source-order ol{list-style:none;margin:0;padding-inline-start:1rem}
.m4ml-source-order nav>ol{padding-inline-start:0;margin-top:.6rem}
.m4ml-source-order nav>ol>li{border-top:1px solid #e4dddd}
.m4ml-source-order nav summary,.m4ml-source-order li>a{padding:.35rem 0}
.m4ml-source-order li>a{display:block}
