:root { color-scheme:light; --ink:#263d36; --muted:#68736a; --paper:#faf7ef; --size:32px; }
* { box-sizing:border-box; }
html { scroll-behavior:auto; scroll-padding-top:var(--reader-offset, 150px); }
body { margin:0; background:var(--paper); color:var(--ink); font:16px/1.7 system-ui,sans-serif; }
a { color:#286e60; text-underline-offset:4px; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline:3px solid #cc8b49; outline-offset:4px; }
.skip { position:absolute; left:12px; top:-100px; padding:10px; background:white; z-index:10; }
.skip:focus { top:10px; }
.atlas { display:flex; justify-content:space-between; gap:20px; padding:15px 28px; background:#213e35; font-size:14px; }
.atlas a { color:#fffdf7; text-decoration:none; }
.intro, .about, footer { max-width:900px; margin:auto; padding:34px 28px; }
.intro { padding-top:65px; }
h1 { font:clamp(44px,7vw,72px)/1.15 Georgia,serif; font-weight:400; margin:10px 0 22px; }
.eyebrow { font-size:12px; letter-spacing:.15em; text-transform:uppercase; color:#547569; font-weight:650; }
.lede { font:22px/1.65 Georgia,serif; max-width:730px; }
.metadata { color:var(--muted); font-size:13px; }
.toolbar { position:sticky; top:0; z-index:5; display:flex; flex-wrap:wrap; gap:16px; align-items:center; justify-content:center; padding:12px 20px; background:#f0f0e6f5; border-block:1px solid #d8ddd0; }
.toolbar label { display:flex; align-items:center; gap:8px; font-size:13px; }
select, button { font:inherit; color:var(--ink); padding:7px 10px; border:1px solid #b7c3b4; border-radius:5px; background:#fffdf7; }
button { cursor:pointer; } button:hover { background:#e5ecdf; }
input[type=range] { width:90px; accent-color:#286e60; }
#status, .notice { max-width:850px; margin:18px auto; padding:0 22px; color:var(--muted); font-size:13px; }
#manuscript { max-width:900px; margin:24px auto 60px; padding:0 28px; }
.folio { padding:34px 0 44px; border-bottom:1px solid #d4dbcd; scroll-margin-top:0; }
.folio-heading { display:flex; align-items:baseline; justify-content:space-between; gap:20px; margin-bottom:16px; }
.folio-heading h2 { font:24px Georgia,serif; font-weight:400; margin:0; }
.folio-heading a { font-size:12px; }
.folio-placeholder { color:var(--muted); min-height:60px; font-size:14px; }
.words { margin:0; font-size:var(--size); line-height:2.7; overflow-wrap:anywhere; }
.word { display:inline-block; margin:0 .16em; color:var(--ink); text-decoration:none; border-radius:3px; vertical-align:baseline; line-height:1.5; }
.word:hover { background:#e1e9d7; }
.word svg { height:1.5em; vertical-align:-.25em; fill:currentColor; overflow:visible; }
.word .eva { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; }
[data-display=both] .word { display:inline-flex; flex-direction:column; align-items:center; vertical-align:middle; }
[data-display=both] .word .eva { position:static; width:auto; height:auto; clip-path:none; overflow:visible; font:12px/1.3 ui-monospace,monospace; color:var(--muted); }
[data-display=eva] .word svg { display:none; }
[data-display=eva] .word .eva { position:static; width:auto; height:auto; clip-path:none; overflow:visible; font: .65em/1.6 ui-monospace,monospace; }
.about { border-top:2px solid #a5b7a2; font-size:15px; }
.about h2 { font:30px/1.3 Georgia,serif; }
.about p { color:#53675c; }
footer { font-size:13px; }
@media(max-width:600px) { .intro { padding-top:35px; } .toolbar { gap:10px; justify-content:flex-start; } #manuscript { padding:0 18px; } .words { line-height:2.5; } }
@media print { .atlas,.toolbar,#status,.about,footer,.folio-placeholder { display:none; } .intro { padding-top:0; } .folio { break-before:page; padding-top:10px; } .word { color:black; } .folio-heading a { display:none; } .words { font-size:26px; } }

.search-form { flex-basis:100%; display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; font-size:13px; }
#eva-query { min-width:180px; max-width:320px; flex:1; padding:8px; font:14px ui-monospace,monospace; color:var(--ink); background:white; border:1px solid #b7c3b4; border-radius:5px; }
#search-mode { max-width:180px; }
#match-position { min-width:40px; text-align:center; font-variant-numeric:tabular-nums; }
button:disabled { opacity:.45; cursor:default; }
.search-results-panel { max-width:900px; margin:auto; padding:0 28px; font-size:13px; }
#search-results { padding-left:24px; max-height:280px; overflow:auto; }
#search-results:empty { display:none; }
#search-results a { display:inline-block; padding:4px 0; font-family:ui-monospace,monospace; }
#search-status { color:var(--muted); }
.word.search-match { background:#f1e1a1; }
.navigation-target { outline:2px solid #9e5c2b; outline-offset:5px; border-radius:3px; }
@media print { .search-results-panel { display:none; } .word.search-match { background:none; } .navigation-target { outline:none; } }
@media(max-width:600px) { .search-form { justify-content:flex-start; } #eva-query { min-width:130px; } }
