/* R8: shared inner-page rhythm; HOME header, HERO and modules stay unchanged. */
:root{--inner-entry-gap:104px;--inner-end-gap:80px;--reading-width:800px;--reading-height:clamp(360px,63vh,720px);--reader-heading-gap:32px;--reader-nav-gap:32px}
html body[data-type-b].inner-page .page>main{margin-top:0;padding-top:var(--inner-entry-gap);padding-bottom:var(--inner-end-gap)}
html body[data-type-b].inner-page .page>main>section:first-child{padding-top:0}
/* Restore the actual R6 Chinese raster and size, at full opacity, without pixel changes. */
.r5-handwritten-zh{--zh-scale:.60}
/* One column, one continuous text region for both editorial sections, including mobile. */
html body[data-type-b] main.r8-reader-page{width:100%;max-width:none;min-height:0;margin-inline:0}
html body[data-type-b] main.r8-reader-page>article{display:block;width:100%;max-width:var(--reading-width);margin-inline:auto}
html body[data-type-b] main.r8-reader-page .article-heading{padding:0;border:0;margin:0 0 var(--reader-heading-gap);display:block;max-width:none}
html body[data-type-b] main.r8-reader-page .material-article-title{font-size:43.2px!important;line-height:1.2!important;margin:16px 0 24px}
html body[data-type-b] main.r8-reader-page .focus-subtitle{font-size:24.3px!important;line-height:1.5!important;margin:0 0 20px}
html body[data-type-b] main.r8-reader-page .r8-focus-metadata{display:flex;flex-wrap:wrap;gap:4px 24px;margin:0}
html body[data-type-b] main.r8-reader-page .r8-focus-metadata p{font-size:var(--b-ui)!important;line-height:1.6!important;margin:0}
html body[data-type-b] main.r8-reader-page .r8-reading-window{height:var(--reading-height);max-height:none;overflow-y:auto;overflow-x:hidden;padding-right:20px;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#aaa transparent;scroll-behavior:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y pinch-zoom;border:0;border-top:1px solid #dedede;border-bottom:1px solid #dedede;border-radius:0;background:white;box-shadow:none;outline:none;padding-block:18px;scroll-padding-block:18px}
html body[data-type-b] main.r8-reader-page .r8-reading-window::-webkit-scrollbar{width:6px}
html body[data-type-b] main.r8-reader-page .r8-reading-window::-webkit-scrollbar-thumb{background:#aaa}
html body[data-type-b] main.r8-reader-page .r8-reading-window:focus-visible{outline:1px solid var(--accent);outline-offset:5px}
html body[data-type-b] main.r8-reader-page .article-return{margin:var(--reader-nav-gap) 0 0;padding-top:0;border-top:0}
/* Approved CONTACT option A. The left edge remains on the unchanged Logo axis. */
html body[data-type-b][data-contact-page] .page>main.standalone{padding-top:var(--inner-entry-gap);padding-bottom:var(--inner-end-gap)}
html body[data-type-b][data-contact-page] #contact.r7-contact-grid{grid-template-columns:minmax(0,40fr) minmax(0,60fr);gap:64px;max-width:none;margin-inline:0}
.r7-field :is(input,textarea){border:1px solid #c6c6c6;padding:12px 14px;background:white;min-height:58px}
.r7-field :is(input,textarea):focus{border:1px solid #626262}
.r7-field :is(input,textarea):focus-visible{border:1px solid var(--accent);outline:1px solid var(--accent);outline-offset:2px}
.r7-field [aria-invalid=true]{border:1px solid #973e32}
.r7-field textarea{min-height:240px}
@media(max-width:1100px){:root{--inner-entry-gap:80px;--inner-end-gap:64px}html body[data-type-b][data-contact-page] #contact.r7-contact-grid{grid-template-columns:minmax(0,1fr);gap:56px}}
@media(max-width:700px){
 :root{--inner-entry-gap:52px;--inner-end-gap:56px;--reading-height:clamp(280px,62vh,560px);--reader-heading-gap:28px;--reader-nav-gap:28px}
 @supports(height:1svh){:root{--reading-height:clamp(280px,62svh,560px)}}
 html body[data-type-b] main.r8-reader-page .material-article-title{font-size:35.1px!important;margin:14px 0 20px}
 html body[data-type-b] main.r8-reader-page .focus-subtitle{font-size:21.6px!important;margin-bottom:18px}
 html body[data-type-b] main.r8-reader-page .r8-reading-window{padding-right:12px;padding-block:14px;scroll-padding-block:14px}
 .r5-handwritten-zh{--zh-scale:.60}
 .r7-field textarea{min-height:210px}
}
@media print{html body[data-type-b] main.r8-reader-page .r8-reading-window{height:auto!important;overflow:visible!important;max-height:none!important}}
