.jag-reader-shell{max-width:1040px;margin:0 auto}.jag-reader-header{padding:1.4rem 1.6rem;margin-bottom:1rem;border:1px solid #ddd;border-radius:8px;background:#faf9f6}.jag-reader-kicker{text-transform:uppercase;letter-spacing:.08em;font-size:.78rem;font-weight:700;margin-bottom:.35rem}.jag-reader-author{font-size:1.05rem;margin-bottom:.45rem}.jag-reader-meta{display:flex;gap:.65rem 1.2rem;flex-wrap:wrap;font-size:.92rem}.jag-reader-work-nav{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin:1rem 0}.jag-reader-work-nav label{font-weight:600}.jag-reader-work-nav select{min-width:300px;max-width:100%;padding:.45rem}.jag-reader-tools{position:sticky;top:32px;z-index:5;display:flex!important;align-items:center;gap:.45rem;flex-wrap:wrap;padding:.65rem .75rem;margin:0 0 1.25rem;background:rgba(255,255,255,.97);border:1px solid #ddd;border-radius:8px}.jag-reader-tools .jag-reader-tool{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto!important;width:auto!important;min-width:44px!important;max-width:64px;padding:.4rem .65rem!important;margin:0!important;line-height:1.2}.jag-reader-search-label{margin-left:.45rem;font-weight:600;white-space:nowrap}.jag-reader-tools .jag-reader-search{flex:1 1 280px!important;width:auto!important;min-width:220px;max-width:none!important;padding:.45rem .6rem;margin:0!important}.jag-reader-text{max-width:820px;margin:0 auto;font-size:1.08rem;line-height:1.75}.jag-reader-text p{margin:0 0 1.15em}.jag-reader-text h2,.jag-reader-text h3{margin-top:2em}.jag-reader-text mark{padding:0 .08em}.jag-reader-source{max-width:820px;margin:2rem auto 0;padding-top:1rem;border-top:1px solid #ddd;font-size:.9rem}.jag-reader-no-results{padding:.7rem 0;font-style:italic}@media(max-width:782px){.jag-reader-tools{top:0}}@media(max-width:600px){.jag-reader-header{padding:1rem}.jag-reader-tools{position:static}.jag-reader-search-label{margin-left:0;width:100%}.jag-reader-tools .jag-reader-search{flex-basis:100%!important;min-width:0}.jag-reader-text{font-size:1rem}.jag-reader-work-nav select{min-width:0;width:100%}}

.jag-reader-contents{margin:1rem 0;padding:.9rem 1rem;background:#faf9f6;border:1px solid #ddd;border-radius:8px}.jag-reader-contents summary{cursor:pointer;font-weight:600}.jag-reader-contents ul{display:flex;flex-wrap:wrap;gap:.4rem 1.25rem;list-style:none;margin:.75rem 0 0;padding:0}.jag-reader-text [id]{scroll-margin-top:110px}.jag-reader-text .sidenote{display:block;font-size:.85em;line-height:1.5;color:#555;margin-bottom:.4em;font-style:italic}.jag-reader-text .stpagenum{font-size:.72em;color:#666;margin-right:.25em}.jag-reader-text .footnote{padding:.5rem .75rem;margin:.75rem 0;border-left:2px solid #d1c7b1;font-size:.9em}.jag-reader-text .footnote p{margin:0}.jag-reader-text .smcap{font-variant:small-caps}.jag-reader-text .sp,.jag-reader-text .fn{font-size:.8em;vertical-align:super}.jag-reader-text table{width:100%;margin:1rem 0}.jag-reader-text td{border:0;padding:.25rem .5rem}.jag-reader-text .center{text-align:center}.jag-reader-section-heading{border-top:1px solid #ddd;padding-top:1rem}@media(max-width:600px){.jag-reader-text [id]{scroll-margin-top:25px}}

/* Reader typography is independent of the theme's root font size. */
.jag-reader-shell #jag-reader-text{--jag-reader-font-size:20px;font-size:var(--jag-reader-font-size)!important;line-height:1.75!important;max-width:820px!important;width:100%!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
.jag-reader-shell #jag-reader-text p,.jag-reader-shell #jag-reader-text li,.jag-reader-shell #jag-reader-text td{font-size:inherit!important;line-height:inherit!important}
.jag-reader-shell #jag-reader-text h2{font-size:1.5em!important;line-height:1.3!important}
.jag-reader-shell #jag-reader-text h3{font-size:1.25em!important;line-height:1.3!important}
@media(max-width:600px){.jag-reader-shell #jag-reader-text{--jag-reader-font-size:18px}}
/* Keep book contents visible when the theme applies menu styles to nav lists. */
.jag-reader-shell .jag-reader-contents nav{display:block!important;position:static!important;visibility:visible!important}
.jag-reader-shell .jag-reader-contents ul{display:flex!important;position:static!important;visibility:visible!important;height:auto!important;overflow:visible!important}
.jag-reader-shell .jag-reader-contents li{display:block!important;position:static!important;float:none!important;visibility:visible!important}
.jag-reader-shell .jag-reader-contents a{display:inline!important;visibility:visible!important}

/* Readable reader information and book navigation. */
.jag-reader-shell .jag-reader-header{font-size:16px!important;line-height:1.55!important;color:#252525!important}
.jag-reader-shell .jag-reader-kicker{font-size:14px!important;line-height:1.5!important;margin-bottom:10px}
.jag-reader-shell .jag-reader-author,.jag-reader-shell .jag-reader-author a{font-size:18px!important;line-height:1.5!important}
.jag-reader-shell .jag-reader-meta{font-size:16px!important;line-height:1.6!important;gap:10px 20px;margin-top:10px}
.jag-reader-shell .jag-reader-meta span,.jag-reader-shell .jag-reader-meta strong{font-size:inherit!important;line-height:inherit!important}
.jag-reader-shell .jag-reader-work-nav label,.jag-reader-shell .jag-reader-work-nav select{font-size:18px!important;line-height:1.5!important}
.jag-reader-shell .jag-reader-source{font-size:16px!important;line-height:1.6!important}
.jag-reader-shell .jag-reader-contents summary{font-size:18px!important;color:#252525!important}
.jag-reader-shell .jag-reader-contents nav{background:transparent!important;padding:0!important;margin:0!important}
.jag-reader-shell .jag-reader-contents ul{background:transparent!important;padding:0!important;margin:12px 0 0!important;gap:10px 22px!important}
.jag-reader-shell .jag-reader-contents li{background:transparent!important;padding:0!important;margin:0!important}
.jag-reader-shell .jag-reader-contents a,.jag-reader-shell .jag-reader-contents a:visited{font-size:18px!important;line-height:1.5!important;color:#165b78!important;background:transparent!important;text-shadow:none!important;text-decoration:underline!important;padding:0!important}
.jag-reader-shell .jag-reader-contents a:hover,.jag-reader-shell .jag-reader-contents a:focus{color:#103c50!important;text-decoration-thickness:2px!important}

/* Persistent access to the book menu, including on mobile. */
.jag-reader-shell .jag-reader-return-menu{position:fixed!important;right:20px!important;bottom:calc(20px + env(safe-area-inset-bottom,0px))!important;z-index:1000;display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;padding:12px 18px!important;border:1px solid #103c50!important;border-radius:6px;background:#165b78!important;color:#fff!important;font-size:16px!important;font-weight:700!important;line-height:1.3!important;text-decoration:none!important;text-shadow:none!important;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.jag-reader-shell .jag-reader-return-menu:hover{background:#103c50!important;color:#fff!important}
.jag-reader-shell .jag-reader-return-menu:focus-visible{outline:3px solid #d4ad42;outline-offset:3px}
#jag-reader-menu,#jag-reader-contents{scroll-margin-top:110px}
.jag-reader-shell{padding-bottom:90px}
@media(max-width:600px){.jag-reader-shell .jag-reader-return-menu{right:12px!important;bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;font-size:14px!important;padding:10px 14px!important}#jag-reader-menu,#jag-reader-contents{scroll-margin-top:25px}}
@media print{.jag-reader-shell .jag-reader-return-menu{display:none!important}}

/* Stephanus citations are quiet inline references, not separate blue headings. */
.jag-reader-shell #jag-reader-text .stpagenum{display:inline!important;float:none!important;font-size:13px!important;line-height:1.4!important;font-style:normal!important;color:#626262!important;white-space:nowrap;margin:0 6px 0 0!important;vertical-align:baseline}
.jag-reader-shell #jag-reader-text .stpagenum a,.jag-reader-shell #jag-reader-text .stpagenum a:visited{display:inline!important;font-size:inherit!important;line-height:inherit!important;font-weight:400!important;color:#626262!important;text-decoration:none!important;background:transparent!important}
.jag-reader-shell #jag-reader-text .stpagenum a[href]:hover,.jag-reader-shell #jag-reader-text .stpagenum a[href]:focus{text-decoration:underline!important;color:#165b78!important}

/* Expand chapter links beneath a book without filling the menu on arrival. */
.jag-reader-shell .jag-reader-chapter-menu{margin-top:6px;max-width:360px}
.jag-reader-shell .jag-reader-chapter-menu summary{font-size:16px!important;font-weight:400;cursor:pointer}
.jag-reader-shell .jag-reader-chapter-menu ul{gap:6px 14px!important;margin-top:8px!important}
.jag-reader-shell .jag-reader-chapter-menu a{font-size:16px!important}
.jag-reader-shell #jag-reader-text pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:inherit;line-height:inherit;background:transparent;padding:0;border:0}

.jag-reader-text .jag-reader-footnote{display:block;width:auto;max-width:none;padding:.5rem .75rem;margin:.75rem 0;border-left:2px solid #d1c7b1;font-size:.9em;line-height:1.5}.jag-reader-text .jag-reader-footnote p{width:auto;max-width:none;margin:0}

.jag-reader-text .jag-reader-notes{width:auto;max-width:none;font-size:.85em;line-height:1.5;border-top:1px solid #d1c7b1;margin:1rem 0;padding-top:.5rem}.jag-reader-text .jag-reader-notes ol{padding-left:1.5em}

.jag-reader-text .jag-reader-sidenote{display:block;float:none;width:auto;max-width:none;margin:.5em 0;font-size:.85em;line-height:1.4;font-style:italic}
.jag-reader-text .jag-reader-poem{margin:.75em 0}
.jag-reader-text .jag-reader-verse{display:block;float:none;width:auto;max-width:none}
.jag-reader-text .jag-reader-stanza{margin:.75em 0}
