/* Reading controls and quiet typography; source art is never hidden. */
.source-inline-ending{white-space:nowrap;font-size:var(--reading-size,20px)}.source-inline-ending .source-text{font-size:inherit;line-height:inherit}@media(max-width:700px){.source-inline-ending,.paper .source-inline-glyph{font-size:var(--reading-size,18px)}}
.paper .source-inline-fragment,.paper .source-inline-fragment>.source-text{display:inline;margin:0}.paper .source-inline-glyph{display:inline-flex;margin:0;vertical-align:baseline;font-size:var(--reading-size,20px)}.paper .source-inline-glyph img{display:inline;width:auto;height:1.1em;max-height:none;margin:0;vertical-align:baseline}
.reading-comfort{max-width:1180px;margin:14px auto 0;padding:0 28px;color:var(--star);font:13px/1.6 Arial,sans-serif}
.reading-comfort summary{cursor:pointer;min-height:44px;display:list-item;width:fit-content;padding:10px 0}
.comfort-options{display:flex;gap:24px;flex-wrap:wrap;align-items:center;padding:10px 0 18px;border-bottom:1px solid #8f806966}
.comfort-options fieldset{display:flex;gap:18px;flex-wrap:wrap;border:1px solid #8f8069;padding:8px 14px;border-radius:4px;margin:0}
.comfort-options legend{padding:0 6px}.comfort-options label{min-height:44px;display:flex;align-items:center;gap:9px;cursor:pointer}
.comfort-options input{width:18px;height:18px;accent-color:#805832}.comfort-focus{flex-wrap:wrap;max-width:340px}.comfort-focus small{flex-basis:100%;font-size:12px;color:var(--muted)}
html:has(#reading-large:checked){--reading-size:23px;--parallel-size:22px;--cjk-size:21px}
.paper p.source-text{font-size:var(--reading-size,20px);line-height:1.9}
.parallel-text{font-size:var(--parallel-size,20px);line-height:1.95}
.parallel-cell[lang=ja] .parallel-text,.parallel-cell[lang=zh] .parallel-text{font-size:var(--cjk-size,19px);line-height:2.05;letter-spacing:.025em}
html:has(#reading-focus:checked) [data-layer=editorial],html:has(#reading-focus:checked) .folio,html:has(#reading-focus:checked) .margin{display:none!important}
html[data-page=study]{--sky:#f3efe6;--panel:#eee7db;--star:#282c31;--muted:#545c65;--gold:#805832;--focus:#345982;color-scheme:light}
html[data-page=study] body{background:var(--sky)}
html[data-theme=day] .paper,.parallel-paper{background:#fbf8f1;border-color:#d9cfc0;box-shadow:none}
.study-main{padding-top:24px}.study-heading h1{font-size:clamp(32px,4vw,46px);margin:8px 0 12px}.study-heading h1 em{font-size:18px;margin-top:8px}
.study-heading>p:last-child{margin-bottom:12px}.study-toolbar{margin-top:16px}.alignment-notice{margin:12px 0 14px}
.study-main>.folio{margin:40px 0 24px;max-width:none}
.study-rail{border-color:#d9cfc0}.study-rail nav a{border-color:#a59c90}.column-labels{padding-top:12px;padding-bottom:12px}
.reading-layout{grid-template-columns:160px minmax(0,720px) 150px;gap:32px;padding-top:32px;max-width:1150px}
.paper{padding:38px 48px}.page-heading h1{font-size:38px}.source-block{margin-bottom:30px}
.companion:not([open]),.folio:not([open]){padding:16px 20px;box-shadow:none;background:#eae4d8;color:#34353a;border:1px solid #c9beac}
.companion:not([open]) .eyebrow,.folio:not([open]) summary .eyebrow{color:#775631}
.companion:not([open]) summary>span,.folio:not([open]) summary>span:last-child{font-size:21px;line-height:1.5}
html[data-theme=night] .companion:not([open]){background:#182037;color:#f3e6c4}
.source-block img{max-height:500px}.folio-art{max-height:430px;object-fit:contain}
@media(max-width:1100px){.reading-layout{grid-template-columns:145px minmax(0,720px);gap:24px}.margin{display:none}}
@media(max-width:700px){
 .reading-comfort{padding:0 22px;margin-top:4px}.comfort-options{gap:14px}.reading-layout{display:block;padding:18px 16px 0}
 .chapter-aside{display:block}.chapter-aside .contents{display:block;margin:0 0 14px}.chapter-aside .contents summary{padding:8px 0}
 .chapter-aside .back-link{margin-bottom:8px}.paper{padding:25px 23px}.paper p.source-text{font-size:var(--reading-size,19px);line-height:1.95}
 .study-main{padding-top:18px}.study-heading h1{font-size:32px}.parallel-text{font-size:var(--parallel-size,19px)}
 .parallel-cell[lang=ja] .parallel-text,.parallel-cell[lang=zh] .parallel-text{font-size:var(--cjk-size,18px)}
 .folio-art{max-height:350px}.companion:not([open]),.folio:not([open]){padding:14px 16px}
}
@media print{.reading-comfort{display:none!important}.source-text,.parallel-text{font-size:12pt!important}}

.study-heading .eyebrow{margin-bottom:8px}.study-heading h1 em{margin-top:4px}

/* Explicit source-bound production marks remain visible and selectable. */
.source-production-block{margin:22px 0;padding:10px 14px;border-inline-start:2px solid #b49c75;background:transparent}
.source-production-label{display:block;font:11px/1.7 Arial,sans-serif;color:var(--muted);margin:0 0 5px}
.source-production-block .source-text,.parallel-cell .parallel-text[data-source-production]{font:13px/1.8 ui-monospace,Consolas,monospace!important;letter-spacing:0;overflow-wrap:anywhere}
.source-production-block .source-text{margin:0}
.source-production-row .parallel-text-body{padding:12px 23px}
.source-production-row .parallel-text{margin:0}
.source-production-row .edition-absence{font:12px/1.7 Arial,sans-serif;margin:0}
.source-production-row .group-status{padding:8px 23px}
.source-production-row>.source-production-label{grid-column:1/-1;margin:4px 23px}
.source-production-row .edition-note{margin:4px 23px 14px;font:12px/1.8 Arial,sans-serif}
@media print{.source-production-block .source-text,.parallel-cell .parallel-text[data-source-production]{font-size:10pt!important}}
@media(max-width:700px){.source-production-row .parallel-text-body{padding-top:18px}}
.reading-tail{white-space:nowrap}
