html.site-prose body.sciam{max-width:1320px;padding:38px 48px 56px}
.sciam>.header{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin-bottom:32px;padding-bottom:18px;border-bottom:1px solid var(--rule)}
.sciam>.header h1{margin:0;font-size:30px;line-height:1.25}.sciam>.header time{font-size:12px;white-space:nowrap}
.reading-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);column-gap:72px;align-items:start}
.scan-viewer{grid-column:1;grid-row:1;position:sticky;top:24px;min-width:0;background:var(--bg);z-index:2;display:flex;flex-direction:column;align-items:center}
#scan-link{display:flex;justify-content:center;width:100%;order:0;cursor:zoom-in}
#scan{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 170px);object-fit:contain}
.scan-toolbar{order:1;align-self:stretch;display:flex;align-items:center;gap:16px;margin-top:14px;font:11px/1.6 var(--sans);color:var(--fg-muted)}
#page-label{margin-right:auto}.scan-toolbar a{white-space:nowrap}.scan-toolbar .destination-icon{display:none}
.scan-toolbar button{font:inherit;background:none;border:0;padding:4px 0;color:var(--fg-muted);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.passage-controls[hidden]{display:none}
#reading{grid-column:2;grid-row:1;min-width:0;padding:4px 0 0;max-width:430px}
.note-group{position:relative;margin:0 0 25px;scroll-margin-top:40px}
.sciam .entry{display:block;margin:0 0 8px;font-size:19px;line-height:1.57;letter-spacing:0}
.sciam .entry .content p{margin:0 0 .55em}.sciam .entry .content p:last-child{margin:0}
.sciam .entry-meta{display:none}
.sciam .entry:first-child .entry-meta{display:flex;align-items:baseline;flex-direction:row;min-height:24px;margin-bottom:3px;padding-right:150px}
.sciam .ts{font:11px/1.6 var(--sans);font-variant-numeric:tabular-nums;color:var(--fg-muted);text-decoration:none}
.sciam .quote{margin:12px 0;padding:0;border:0;font:italic 18px/1.55 var(--serif)}
.page-links{position:absolute;right:0;top:0;display:flex;gap:12px;font:11px/1.6 var(--sans)}
.page-links a{color:var(--fg-muted)}.page-links a[aria-current]{color:var(--fg);text-decoration-thickness:1px}
.note-group::before{content:"";position:absolute;left:-19px;top:27px;bottom:0;width:1px;background:transparent;pointer-events:none}
.note-group.is-current::before{background:var(--border)}
.note-group.is-current .ts{color:var(--fg)}
@media(hover:hover){.scan-toolbar #pdf-link,.scan-toolbar #enlarge{opacity:0}.scan-viewer:hover .scan-toolbar #pdf-link,.scan-viewer:hover .scan-toolbar #enlarge,.scan-viewer:focus-within .scan-toolbar #pdf-link,.scan-viewer:focus-within .scan-toolbar #enlarge{opacity:1}}
@media(min-width:701px) and (max-width:1000px){html.site-prose body.sciam{padding:28px 28px 48px}.reading-layout{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);column-gap:40px}.sciam .entry{font-size:17px;line-height:1.55}.sciam .quote{font-size:16px}#scan{max-height:calc(100dvh - 185px)}.note-group::before{left:-15px}}
@media(max-width:700px){html.site-prose body.sciam{padding:24px 24px 40px}.sciam>.header{display:block;margin-bottom:20px;padding-bottom:14px}.sciam>.header h1{font-size:26px;margin-bottom:8px}.reading-layout{display:flex;flex-direction:column;gap:0}.scan-viewer{width:100%;top:0;padding:8px 0 10px;border-bottom:1px solid var(--rule)}#scan{height:28dvh;max-width:100%;width:auto;max-height:300px}.scan-toolbar{margin-top:6px;font-size:10px}#reading{width:100%;max-width:none;padding:24px 0 0 12px}.sciam .entry{font-size:18px;line-height:1.55}.sciam .quote{font-size:17px}.note-group{margin-bottom:24px;scroll-margin-top:calc(28dvh + 100px)}.note-group::before{left:-12px}}
@media print{.reading-layout{display:block}.scan-viewer,.page-links{display:none}#reading{max-width:none}.note-group::before{display:none}.sciam .entry{break-inside:avoid}}
.sciam .content p{white-space:normal}

.site-window.scan-reader .site-window-content{padding:0;overflow:auto}.scan-reader .scan-large{display:block;width:100%;height:auto;max-width:100%;cursor:zoom-in}.scan-reader .scan-large.is-zoomed{width:auto;max-width:none;cursor:zoom-out}
@media(min-width:701px){#scan-link{display:flex;justify-content:flex-end;overflow:visible;max-height:none}#scan{width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 170px)}}

.sciam>.header{padding-bottom:20px;margin-bottom:30px}
.sciam>.header h1{display:flex;align-items:baseline;gap:20px;font-size:32px;letter-spacing:-.015em}
.issue-year{font:16px/1.4 var(--serif);letter-spacing:0;color:var(--fg-muted)}
#reading{max-width:410px}
.sciam .entry{font-size:18px;line-height:1.6}
.sciam .content p{text-wrap:pretty;hyphens:manual}
.sciam .entry .content p{margin-bottom:.45em}
.sciam .entry{margin-bottom:6px}
.sciam .entry:first-child .entry-meta{min-height:21px;margin-bottom:5px}
.note-group{margin-bottom:26px}
.sciam .quote{font-size:17px;line-height:1.55;margin:12px 0 12px 12px}
.scan-toolbar{width:var(--scan-width,100%);max-width:100%;align-self:flex-end;margin-top:10px}
@media(min-width:701px) and (max-width:1000px){.sciam .entry{font-size:17px;line-height:1.58}.sciam .quote{font-size:16px}.sciam>.header h1{font-size:29px;gap:16px}}
@media(max-width:700px){.sciam>.header h1{font-size:27px;gap:14px}.issue-year{font-size:14px}#reading{max-width:none}.sciam .entry{font-size:18px}.scan-toolbar{align-self:center;width:100%}.sciam>.header{margin-bottom:18px}}

/* Match the printed folio to its reference in the active passage. */
#page-label .folio,.page-links a[aria-current]{font-weight:600;font-variant-numeric:tabular-nums;color:var(--fg)}
@media(min-width:701px){
 .scan-toolbar #page-label{order:1;margin-left:auto;margin-right:0;text-align:right}
 .note-group{scroll-margin-top:72px}
}

#page-label .folio{margin-inline-start:.65em}
