/* Supplementary reading: old source documents remain intact for the legacy viewer. */
:root[data-section-document="legacy-text"] { background: var(--section-paper); color: var(--section-ink); }
:root[data-section-document="legacy-text"] body { box-sizing: border-box; width: auto !important; max-width: 1100px; margin: 0 auto; padding: 18px 24px; color: var(--section-ink) !important; background: var(--section-paper) !important; font: 1.25rem/1.45 Georgia, 'Times New Roman', serif; overflow-wrap: break-word; }
:root[data-section-document="legacy-text"] body font[color], :root[data-section-document="legacy-text"] body [style*="color:"] { color: inherit !important; }
:root[data-section-document="legacy-text"] body a, :root[data-section-document="legacy-text"] body a font[color] { color: var(--section-external-link) !important; }
:root[data-section-document="legacy-text"] body hr { border: 0; border-top: 1px solid var(--section-divider); }
:root[data-section-document="legacy-text"] body img, .reference-text img { max-width: 100%; height: auto; }
.reference-text { min-width: 0; max-width: 100%; overflow-wrap: break-word; }
.reference-text h1, .reference-text h2, .reference-text h3, .reference-text h4 { margin: 1em 0 .5em; padding: 0; color: var(--section-heading); text-shadow: none; line-height: 1.24; text-align: inherit; }
.reference-text h1 { font-size: 1.55em; } .reference-text h2 { font-size: 1.35em; } .reference-text h3 { font-size: 1.18em; }
.reference-text table { max-width: 100%; } .reference-overflow { max-width: 100%; overflow-x: auto; }
.reference-text :is(td,th) { padding: .25rem .45rem; color: var(--section-ink); border-color: var(--section-divider); }
.reference-text hr { border: 0; border-top: 1px solid var(--section-divider); }
.reference-text a { overflow-wrap: anywhere; }
.section-reference .hint { color: var(--section-muted); }
@media (max-width:720px){ :root[data-section-document="legacy-text"] body { padding: 10px 14px; font-size: 1.08rem; } }
