/* Shared reading resources: quiet article typography, visible required reading. */
.resource-mobile-entry{display:none}
.article-entry.reference-entry{background:var(--green-light);border-color:var(--green);font-weight:700;color:var(--green)}
.learning-resources{margin-top:24px;padding-top:18px;border-top:1px solid var(--line);flex:none}
.learning-resources h2{font-size:13px;color:var(--muted);font-weight:500;margin:0 10px 10px}
.resource-entries{display:grid;gap:6px}
.resource-entry{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:10px;border-radius:6px;text-align:left;font-size:13px;line-height:1.6;color:var(--green)}
.resource-entry:hover{background:var(--surface)}
.resource-entry .guide-required{flex:none;font-size:10px}
.resources-books{margin:0 0 32px;padding:18px 0;border-block:1px solid var(--line);display:flex;align-items:center;gap:24px}
.resources-books h2{margin:0;white-space:nowrap}
.resources-books .resource-entries{display:flex;flex-wrap:wrap;gap:12px 28px}
.resources-books .resource-entry{gap:12px;font-size:14px}
.article-nav .article-entry{min-height:44px}
.article-nav .author-entry{background:#f5ddd0;color:#71432f;border-color:#c88d6a;font-weight:700;box-shadow:0 2px 5px #71432f18}
.article-nav .author-entry:hover{background:#efcfbd;border-color:#ae6d49}
.article-nav .author-entry:active{background:#e9c1aa;box-shadow:none}
.article-nav .author-entry:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.author-entry-avatar{width:28px;height:28px;flex:none;border-radius:6px;object-fit:contain}
.author-profile{padding:30px 36px 36px;max-width:760px;margin:auto}
.author-profile-header{display:flex;align-items:center;gap:24px;padding-bottom:26px;border-bottom:1px solid var(--line)}
.author-profile-header>img{width:120px;height:120px;flex:none;border-radius:14px;object-fit:contain}
.author-profile-header h3{font-size:30px;line-height:1.3;color:var(--green);margin:0 0 12px}
.author-profile-header h3 span{font:italic 24px var(--latin);margin-left:6px;white-space:nowrap}
.author-lead{font-size:18px;line-height:1.8;margin:0;color:var(--ink)}
.author-profile-body{font-size:17px;line-height:2;color:var(--ink)}
.author-profile-body p{margin:24px 0 0}
.author-contact{margin-top:36px;padding-top:28px;border-top:1px solid var(--line);text-align:center;color:var(--ink)}
.author-contact h3{margin:0 0 12px;font-size:24px;line-height:1.4;color:var(--green)}
.author-contact>p{margin:0 auto 20px;max-width:32em;font-size:17px;line-height:1.85}
.author-wechat-qr{display:block;width:min(100%,320px);height:auto;margin:0 auto 12px;background:#fff;object-fit:contain;border-radius:12px}
.author-qr-download{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 16px;color:var(--green);text-decoration:underline;text-underline-offset:4px;border-radius:8px}
.author-qr-download:hover{background:var(--surface)}
.author-qr-download:active{transform:translateY(1px)}
.author-qr-download:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.author-contact>.author-contact-hint{font-size:14px;margin:8px auto 0;color:var(--muted)}
:root[data-theme=night] .article-nav .author-entry{background:#533b30;color:#f2d6c4;border-color:#b2876f}
:root[data-theme=night] .article-nav .author-entry:hover{background:#644739}
:root[data-theme=night] .article-nav .author-entry:active{background:#72513f}
.dialog.article-dialog{height:auto;max-height:calc(100dvh - 40px);width:min(860px,100%)}
.article-dialog>.dialog-heading{padding:16px 26px;min-height:72px}
.article-dialog>.dialog-heading .icon-button{width:44px;height:44px}
.article-dialog .article-dialog-footer{padding:12px 26px;gap:12px}
.article-dialog .article-dialog-footer>span{font-size:12px;max-width:none}
.article-dialog .article-close-button{min-height:44px;font-size:14px;gap:8px;line-height:1.5}
.article-next{display:flex;align-items:center;text-align:left;gap:8px;min-height:44px;color:var(--green);font-size:14px}
.article-next:hover{text-decoration:underline;text-underline-offset:4px}
.article-scroll:focus-visible{outline:2px solid var(--green);outline-offset:-3px}
.resource-welcome{padding:24px 30px}
.resource-intro{font-size:21px;font-weight:700;line-height:1.7;color:var(--ink)}
.resource-help{margin-top:12px;font-size:15px;line-height:1.9;color:var(--muted)}
.resource-choices{margin-top:24px;border-top:1px solid var(--line)}
.resource-choice{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:24px;width:100%;padding:20px 4px;border-bottom:1px solid var(--line)}
.resource-choice:hover{background:var(--soft)}
.resource-choice strong{display:block;font-size:18px;color:var(--green)}
.resource-choice small{display:block;font-size:14px;color:var(--muted);line-height:1.8;margin-top:6px}
.resource-choice-side{display:flex;align-items:center;flex-direction:column;gap:8px;flex:none}
.resource-choice-side .guide-required{font-size:11px}
.resource-choice-side small{font-size:12px;margin:0;white-space:nowrap}
.affix-article{padding:28px 36px 36px;font-size:16px;line-height:1.95}
.affix-article p{margin:12px 0}
.affix-article header{max-width:680px}
.affix-article .resource-intro{margin-top:0;font-size:25px}
.article-toc{margin:28px 0 34px;padding:18px 20px;background:var(--soft);border:1px solid var(--line);border-radius:8px;display:grid}
.article-toc h3{font-size:14px;color:var(--muted);margin-bottom:8px}
.article-toc button{text-align:left;padding:8px 0;min-height:44px;font-size:15px;color:var(--green);text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:5px}
.article-toc button:hover{text-decoration-color:var(--green)}
.affix-article-section{margin-top:38px;scroll-margin-top:24px;outline-offset:5px}
.affix-article-section h3{font-size:21px;line-height:1.6;color:var(--green)}
.affix-article-section dl{margin:14px 0 0}
.affix-entry{padding:22px 0;border-bottom:1px solid var(--line)}
.affix-entry dt{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;line-height:1.5}
.affix-entry dt>b{font:700 25px/1.4 var(--latin);color:var(--green)}
.affix-entry dt>strong{font-size:16px}
.affix-entry dd{margin:0}
.affix-entry ul{padding-left:20px;margin:12px 0 0;color:var(--ink)}
.affix-entry li+li{margin-top:8px}
.affix-tip{margin-top:24px}
.affix-tip h4{font-size:17px;margin:0 0 8px;color:var(--green)}
.article-end-note{margin-top:32px;padding-top:20px;border-top:1px solid var(--line)}
.certificate-gallery{padding:0 36px 32px}
.certificate-gallery h3{font-size:21px;color:var(--green);margin-bottom:10px}
.certificate-gallery p{font-size:15px;line-height:1.9;color:var(--muted)}
.certificate-gallery figure{margin:24px 0 0}
.certificate-gallery button{display:block;padding:0;width:100%;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:#fff}
.certificate-gallery img{display:block;width:100%;height:auto}
.certificate-gallery figcaption{font-size:14px;color:var(--muted);margin-top:8px;text-align:center}
.dialog.certificate-dialog{width:min(1300px,100%)}
.certificate-original{padding:16px;background:var(--soft)}
.certificate-original img{display:block;width:100%;height:auto;max-width:1301px;margin:auto}
.dialog.reference-dialog{height:min(850px,calc(100dvh - 40px));width:min(960px,100%)}
.reference-controls{padding:16px 26px 12px;flex:none;border-bottom:1px solid var(--line);background:var(--surface)}
.reference-controls>label{display:block;font-size:14px;font-weight:700;margin-bottom:8px}
.reference-search{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:7px;background:var(--soft);padding:0 12px}
.reference-search:focus-within{border-color:var(--green)}
.reference-search input{width:100%;min-width:0;height:46px;border:0;background:transparent;font-size:16px;outline-offset:-3px}
.reference-search input::placeholder{color:var(--muted)}
.reference-search button{min-height:44px;flex:none;color:var(--green);font-size:14px;text-decoration:underline;text-underline-offset:4px}
.reference-filters{display:flex;gap:8px;margin-top:12px}
.reference-filters button{min-height:44px;padding:8px 24px;border:1px solid var(--line);border-radius:6px;font-size:14px}
.reference-filters button[aria-pressed=true]{background:var(--green);color:var(--surface);border-color:var(--green);font-weight:700}
.reference-results{padding:16px 26px 30px;flex:1}
.reference-count{font-size:14px;color:var(--muted);margin-bottom:18px}
.reference-section+.reference-section{margin-top:32px}
.reference-section h3{font-size:22px;margin-bottom:12px;color:var(--green)}
.reference-section h3 small{font-size:14px;font-weight:400;color:var(--muted);margin-left:8px}
.reference-section table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:15px;line-height:1.8}
.reference-section th,.reference-section td{padding:13px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.reference-section thead{background:var(--green-light);color:var(--green)}
.reference-section th:first-child{width:26%}
.reference-section th:nth-child(2){width:34%}
.reference-section tbody th{font-weight:500;background:var(--soft)}
.reference-section tbody th b{font:700 19px/1.6 var(--latin)}
.reference-section tbody th small{display:block;font-size:12px;color:var(--muted);font-weight:400}
.reference-section td{overflow-wrap:break-word;word-break:normal}
.reference-empty{padding:36px 0;font-size:16px}
.reference-empty button{margin-top:18px}
.reference-section .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* Author's original paragraph structure; no additional summary headings. */
.guide-section-number,.article-eyebrow{display:none}
.guide-section{display:block}
.guide-principle{border:1px solid var(--line);border-radius:6px}
.guide-principle>span{display:none}
.guide-article .guide-section p{font-size:16px}
.guide-article .guide-lead,.guide-article .guide-reminder,.guide-article .guide-copyright p{font-size:15px}
.author-guide-intro{padding:0 0 6px;line-height:1.9;font-size:17px;font-weight:600}
.author-guide-intro nav{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:8px}
.author-guide-intro button{min-height:44px;color:var(--green);font-size:14px;text-decoration:underline;text-underline-offset:4px}
.author-guide .guide-section{scroll-margin-top:24px}
.author-guide .guide-section p{margin-top:18px;line-height:2}
.article-nav .resource-mobile-entry{color:#513810;border:1px solid #b78930;border-bottom-color:#93651d;background:linear-gradient(180deg,#ffeab1 0%,#f0cb6c 100%);box-shadow:inset 0 1px 0 #fff4d5,0 3px 0 #aa7e2b,0 5px 9px #76551826;font-weight:800;transition:transform .12s,box-shadow .12s}
.article-nav .resource-mobile-entry:hover{background:linear-gradient(180deg,#fff0c6 0%,#f5d47e 100%)}
.article-nav .resource-mobile-entry:active{transform:translateY(2px);box-shadow:inset 0 1px 0 #fff4d5,0 1px 0 #aa7e2b}
.article-nav .resource-mobile-entry:focus-visible{outline:3px solid var(--green);outline-offset:5px}
@media(min-width:761px){.sidebar{overflow-y:auto}.sidebar>*{flex-shrink:0}.sidebar .nav-caption{margin-top:30px}.sidebar .sidebar-foot{padding-top:26px}.book-library-header .resource-mobile-entry{display:none}}
@media(min-width:761px) and (max-width:1100px){.topbar{flex-wrap:wrap;height:auto;min-height:114px;gap:8px 12px;padding-block:10px}.topbar .article-nav{order:5;flex:0 0 100%;justify-content:flex-end}.topbar .article-entry{font-size:13px}.topbar .top-actions{margin-left:auto}}
@media(max-width:760px){
  .sidebar .learning-resources{display:none}
  .article-nav .resource-mobile-entry{display:inline-flex}
  .topbar .article-nav,.book-library-header .article-nav{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:6px;width:100%;order:5;margin:0;flex-basis:100%}
  .topbar .article-entry,.book-library-header .article-entry{padding:8px;font-size:12px;min-height:44px;gap:5px}
  .article-nav :is(.author-entry,.resource-mobile-entry)>svg{display:none}
  .author-entry-avatar{width:24px;height:24px}
  .author-profile{padding:22px 20px 28px}
  .author-profile-header{display:grid;grid-template-columns:80px minmax(0,1fr);align-items:center;gap:16px;padding-bottom:22px}
  .author-profile-header>div{display:contents}
  .author-profile-header>img{width:80px;height:80px;border-radius:10px}
  .author-profile-header h3{font-size:24px;margin-bottom:10px}
  .author-profile-header h3 span{display:block;font-size:21px;margin:5px 0 0}
  .author-lead{font-size:16px;grid-column:1 / -1}
  .author-profile-body{font-size:16px;line-height:1.95}
  .topbar{min-height:120px;padding-block:9px;gap:8px}
  .resources-books{display:none}
  .dialog.article-dialog{max-height:calc(100dvh - 20px);border-radius:10px}
  .article-dialog>.dialog-heading{padding:10px 16px;min-height:64px;align-items:center}
  .article-dialog>.dialog-heading h2{font-size:17px;line-height:1.5}
  .article-dialog .article-dialog-footer{padding:10px 16px;flex-wrap:wrap;gap:8px}
  .article-dialog .article-dialog-footer>span{display:none}
  .article-dialog .article-dialog-footer .article-close-button{margin-left:auto;font-size:13px}
  .article-next{font-size:13px;flex:1}
  .resource-welcome{padding:18px 20px 24px}
  .resource-intro{font-size:19px}
  .resource-help{font-size:14px}
  .resource-choice{gap:14px;padding:16px 0}
  .resource-choice strong{font-size:17px}
  .resource-choice small{font-size:13px}
  .affix-article{padding:22px 20px 28px;font-size:16px;line-height:1.9}
  .affix-article .resource-intro{font-size:22px}
  .article-toc{padding:14px;margin:24px 0 28px}
  .article-toc button{font-size:14px}
  .affix-article-section h3{font-size:20px}
  .affix-entry dt{gap:8px}
  .affix-entry dt>b{font-size:24px}
  .certificate-gallery{padding:0 20px 26px}
  .certificate-original{padding:4px}
  .dialog.reference-dialog{height:calc(100dvh - 20px)}
  .reference-controls{padding:12px 16px}
  .reference-controls>label{font-size:13px}
  .reference-search{padding:0 8px;gap:6px}
  .reference-search>svg{width:17px}
  .reference-filters button{flex:1;padding:8px 12px}
  .reference-results{padding:14px 16px 24px}
  .reference-section table{font-size:14px}
  .reference-section th,.reference-section td{padding:11px 7px}
  .reference-section th:first-child{width:29%}
  .reference-section th:nth-child(2){width:30%}
  .reference-section tbody th b{font-size:17px}
  .guide-article .guide-section h3{font-size:18px}
  .guide-article .guide-reminder>b{font-size:15px}
}
@media(max-height:540px){.reference-dialog .reference-controls{padding-block:6px}.reference-filters{margin-top:4px}.reference-controls>label{display:none}.article-dialog>.dialog-heading{min-height:54px;padding-block:5px}}
