/* The landscape continues around a calm, readable document surface. */
.document-page .reader-main { padding: 42px 0 90px; }
.reader-heading { padding: 30px 42px 36px; margin-bottom: 28px; border-radius: 24px; background: #f5faf5b8; backdrop-filter: blur(3px); }
.reader-back { display: inline-block; font-size: .9rem; font-weight: 650; margin-bottom: 30px; text-decoration: none; }
.reader-heading .eyebrow { color: #735111; margin-bottom: 12px; }
.reader-heading h1 { font-size: clamp(2rem, 4.5vw, 3.7rem); line-height: 1.12; max-width: 1000px; letter-spacing: -.035em; margin: 0 0 26px; }
.reader-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.reader-intro p { margin: 0; color: #36505e; font-size: 1rem; line-height: 1.65; }
.reader-intro .button { flex-shrink: 0; }
.reader-notice { margin: 24px 0 0; padding: 14px 18px; border-left: 3px solid #c39a45; background: #fff8e8b8; color: #61480f; border-radius: 0 8px 8px 0; font-size: .93rem; }
.reader-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 30px; }
.reader-paper { min-width: 0; border: 1px solid #ffffffbd; border-radius: 22px; padding: 44px clamp(24px, 4vw, 64px); background: #ffffffc7; backdrop-filter: blur(4px); box-shadow: 0 15px 50px #10364d0c; }
.document-body { max-width: 760px; margin: auto; color: #263e4c; font-size: 1rem; line-height: 1.85; overflow-wrap: anywhere; }
.document-body p { margin: 0 0 1em; }
.document-body h2, .document-body h3, .document-body h4 { font-family: inherit; line-height: 1.45; letter-spacing: -.015em; color: #123957; margin: 2em 0 .9em; }
.document-body h2 { font-size: 1.45rem; }
.document-body h3 { font-size: 1.18rem; }
.document-body h4 { font-size: 1.05rem; }
.document-body > :first-child { margin-top: 0; }
.document-body .source-item { padding-left: 1.15em; text-indent: -1.15em; }
.document-body .source-folio { color: #435c6b; text-align: right; font-size: .75rem; border-bottom: 1px solid #dce5e6; padding: 12px 0; margin: 24px 0; }
.document-body .source-field { border-bottom: 1px solid #a7b6bc; padding-bottom: 22px; font-weight: 650; max-width: 560px; }
.reader-aside { position: sticky; top: 125px; padding: 26px; border: 1px solid #ffffffa8; border-radius: 18px; background: #f6faf1bd; backdrop-filter: blur(3px); }
.reader-aside .eyebrow { font-size: .72rem; color: #735111; margin-bottom: 12px; }
.reader-aside nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .87rem; line-height: 1.5; padding: 13px 0; text-decoration: none; border-bottom: 1px solid #173c541c; }
.reader-aside nav a span { flex-shrink: 0; }
.reader-aside nav a[aria-current] { color: #00666a; font-weight: 750; }
.reader-aside-note { color: #36505e; font-size: .78rem; line-height: 1.65; margin: 22px 0 0; }
.reader-end { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #cedbdd; margin-top: 36px; padding-top: 24px; font-weight: 650; font-size: .9rem; }
.reader-end a { text-decoration: none; }
.document-page a:focus-visible { outline: 3px solid #008e95; outline-offset: 5px; }
@media (max-width: 950px) {
 .reader-layout { grid-template-columns: minmax(0, 1fr); }
 .reader-aside { position: static; }
 .reader-aside nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
 .reader-aside .eyebrow { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
 .document-page .reader-main { padding: 18px 0 44px; }
 .reader-heading { padding: 24px; border-radius: 16px; margin-bottom: 18px; }
 .reader-back { margin-bottom: 24px; }
 .reader-heading h1 { font-size: 2rem; }
 .reader-intro { align-items: stretch; flex-direction: column; gap: 20px; }
 .reader-intro .button { justify-content: center; font-size: .9rem; padding: 16px; }
 .reader-paper { padding: 26px 22px; border-radius: 16px; }
 .document-body { font-size: .96rem; line-height: 1.8; }
 .document-body h2 { font-size: 1.25rem; }
 .document-body h3 { font-size: 1.1rem; }
 .reader-aside nav { display: block; }
 .reader-end { flex-direction: column; }
}
@media print {
 .document-page { background: white; }
 .document-page::before, .scenic-background, .document-page .topbar, .document-page .header, .document-page footer, .reader-aside, .reader-intro, .reader-back, .reader-end { display: none !important; }
 .reader-main, .reader-heading, .reader-paper { margin: 0 !important; padding: 0 !important; background: white; border: 0; box-shadow: none; backdrop-filter: none; }
 .reader-heading h1 { font-size: 22pt; }
 .reader-layout { display: block; }
 .document-body { font-size: 10pt; line-height: 1.5; max-width: none; }
 .document-body h2, .document-body h3, .document-body h4 { break-after: avoid; }
 .document-body p { orphans: 3; widows: 3; }
}
