/* Chinese medicine reading pages, 2026-10-04. */
.cm-page{max-width:960px;padding-bottom:36px;color:#162d40}
.cm-breadcrumb{font-size:14px;line-height:1.8;margin:6px 0 24px;overflow-wrap:anywhere}
.cm-kicker{font-size:14px!important;font-weight:700;letter-spacing:.08em;color:#006b76}
.cm-page h1{font-size:clamp(27px,3.4vw,38px);line-height:1.55;margin:12px 0}
.cm-subtitle{font-size:19px!important;color:#365564;margin:8px 0}
.cm-author{font-size:15px!important;margin:18px 0 24px}
.cm-switch{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}
.cm-switch a,.cm-switch span{padding:10px 16px;border:1px solid #487e86;border-radius:6px;text-decoration:none;font-size:16px}
.cm-switch [aria-current]{background:#006b76;color:#fff;font-weight:700}
.cm-toc{border:1px solid #9cb7bd;background:#f4f9fa;border-radius:10px;padding:22px 26px;margin:28px 0 36px}
.cm-toc h2{font-size:21px!important;margin:0 0 12px}
.cm-toc ul{list-style:none;padding:0;margin:0;columns:2;column-gap:28px}
.cm-toc li{break-inside:avoid;margin:0 0 8px;line-height:1.7}
.cm-toc a{display:inline-block;padding:3px 0}
.cm-body{font-size:18px;line-height:1.95;overflow-wrap:anywhere}
.cm-body p{font-size:18px;line-height:1.95;margin:1.1em 0}
.cm-body h2{font-size:25px;line-height:1.65;margin:2.2em 0 .8em;border-bottom:2px solid #9dbbbf;padding-bottom:10px;scroll-margin-top:20px}
.cm-body blockquote{margin:24px 0 10px;padding:18px 22px;border-left:4px solid #007b88;background:#f1f7f7;font-family:"Yu Mincho","Noto Serif CJK JP",serif;font-size:19px;line-height:1.95}
.cm-body .cm-caption{font-size:15px;line-height:1.8;color:#344e5c;margin:10px 0 22px}
.cm-body .cm-reference{font-size:16px;line-height:1.85}
.cm-body .cm-table-wrap{max-width:100%;overflow-x:auto;margin:24px 0 12px}
.cm-body table{border-collapse:collapse;width:100%;table-layout:fixed;border:2px solid #000;background:#fff;font-size:17px;line-height:1.85;color:#111}
.cm-body caption{text-align:left;font-weight:700;font-size:16px;margin-bottom:8px;color:#162d40}
.cm-body th,.cm-body td{border:2px solid #000;padding:14px 12px;vertical-align:top;overflow-wrap:anywhere}
.cm-body thead th{background:#e9f2f3;text-align:left;font-weight:700}
.cm-body tbody th{text-align:left;font-weight:700;background:#f6f9f9}
.cm-body th:first-child{width:22%}
.cm-cards{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:28px 0}
.cm-card{border:1px solid #9cb7bd;border-top:4px solid #007b88;border-radius:10px;background:#fff;padding:26px;display:flex;flex-direction:column;min-width:0}
.cm-card h2{font-size:24px;line-height:1.6;margin:14px 0}
.cm-card p{font-size:17px;line-height:1.85}
.cm-card .button{margin-top:auto;min-height:48px;justify-content:center}
.cm-label{font-weight:700;color:#006b76;font-size:15px}
.cm-related{margin-top:40px;border-top:1px solid #9cb7bd;padding-top:20px}
.cm-related a{display:inline-block;margin:6px 18px 6px 0;padding:5px 0}
.cm-body [id]{scroll-margin-top:20px}
@media(max-width:760px){.cm-cards{grid-template-columns:1fr}.cm-card{padding:22px}.cm-toc{padding:20px}.cm-toc ul{columns:1}.cm-body h2{font-size:23px}.cm-body blockquote{padding:16px}.cm-body p{font-size:17px}.cm-body table{font-size:15px}.cm-body th,.cm-body td{padding:10px 8px}.cm-body th:first-child{width:21%}.cm-breadcrumb{font-size:13px}.cm-subtitle{font-size:17px!important}}
@media print{.header,.footer,.cm-switch,.cm-related,.skip{display:none}.cm-page{max-width:none;padding:0}.cm-body h2{break-after:avoid}.cm-body table{break-inside:avoid}.cm-toc{break-inside:avoid}.cm-body p{font-size:11pt}.cm-body{font-size:11pt}.cm-body blockquote{font-size:12pt}a{color:inherit}}
