/* Reading view for journal articles: opt-in, Kindle-like. Nothing here changes the normal pages. */
.rd-open { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 9px 16px; border: 1.5px solid #111; border-radius: 999px; background: #fff; color: #111; font: 500 15px/1 Poppins, system-ui, sans-serif; cursor: pointer; }
.rd-open:hover, .rd-open:focus-visible { background: #111; color: #fff; }
.rd-open svg { width: 18px; height: 18px; }
.rd-sheet { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 900; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; background: #1b1a17; color: #f4efe3; box-shadow: 0 10px 30px rgba(0,0,0,.35); font: 15px/1.4 Poppins, system-ui, sans-serif; }
.rd-sheet p { margin: 0; flex: 1 1 200px; }
.rd-sheet button { font: 600 14px/1 Poppins, system-ui, sans-serif; padding: 10px 14px; border-radius: 999px; border: 0; cursor: pointer; }
.rd-sheet .go { background: #f4efe3; color: #1b1a17; }
.rd-sheet .no { background: transparent; color: #f4efe3; text-decoration: underline; }
@media (min-width: 761px) { .rd-sheet { left: auto; right: 20px; bottom: 20px; width: 380px; } }

html.rd-lock, html.rd-lock body { overflow: hidden; }
.rd { --bg: #fbf8f1; --ink: #2a2722; --mut: #7a7467; --line: #e5ded0; --card: #fffdf8; --fs: 20px; --lh: 1.72; --ff: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font-family: var(--ff); }
.rd[data-theme=sepia] { --bg: #f2e8d0; --ink: #43341f; --mut: #86745a; --line: #dccfae; --card: #f7eed9; }
.rd[data-theme=night] { --bg: #14161a; --ink: #d9d4c8; --mut: #8d897f; --line: #2a2d33; --card: #1b1e23; }
.rd[data-font=sans] { --ff: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.rd[data-gap=relaxed] { --lh: 1.95; }
.rd button { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.rd-bar { display: flex; align-items: center; gap: 4px; padding: 6px 8px; border-bottom: 1px solid var(--line); background: var(--bg); }
.rd-bar .rd-t { flex: 1; text-align: center; font: 13px/1.2 system-ui, sans-serif; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 6px; }
.rd-btn { appearance: none; border: 0; background: transparent; color: var(--ink); min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 10px; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.rd-btn:hover, .rd-btn:focus-visible, .rd-btn[aria-expanded=true] { background: var(--line); }
.rd-btn b { font-weight: 600; }
.rd-prog { height: 3px; background: transparent; }
.rd-prog i { display: block; height: 100%; width: 0; background: var(--ink); opacity: .55; transition: width .12s linear; }
.rd-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.rd-article { max-width: 36rem; margin: 0 auto; padding: 28px 22px 12px; }
.rd-kicker { margin: 0 0 10px; font: 500 12.5px/1.3 system-ui, sans-serif; letter-spacing: .02em; color: var(--mut); }
.rd-article h1 { margin: 0 0 22px; font: 700 calc(var(--fs) * 1.55)/1.18 var(--ff); letter-spacing: -.01em; color: var(--ink); }
.rd-body { font-size: var(--fs); line-height: var(--lh); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.rd-body p { margin: 0 0 1.05em; }
.rd-body h2, .rd-body h3, .rd-body h4 { margin: 1.7em 0 .5em; line-height: 1.25; font-family: var(--ff); color: var(--ink); }
.rd-body h2 { font-size: 1.3em; } .rd-body h3 { font-size: 1.15em; } .rd-body h4 { font-size: 1em; font-style: italic; }
.rd-body a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rd-body ul, .rd-body ol { margin: 0 0 1.05em; padding-left: 1.3em; } .rd-body li { margin: 0 0 .4em; }
.rd-body img { max-width: 100%; height: auto; display: block; margin: 1.2em auto; border-radius: 4px; }
.rd[data-theme=night] .rd-body img { opacity: .9; }
.rd-body .cc-table-wrap { overflow-x: auto; margin: 1.2em 0; }
.rd-body .cc-table-wrap table { display: table; min-width: 100%; margin: 0; }
.rd-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.2em 0; font-size: .85em; line-height: 1.45; }
.rd-body td, .rd-body th { border: 1px solid var(--line); padding: 6px 8px; vertical-align: top; }
.rd-body blockquote { margin: 1.2em 0; padding: 0 0 0 1em; border-left: 3px solid var(--line); color: var(--mut); }
.rd-body iframe, .rd-body embed { display: none; }
.rd-nav { max-width: 36rem; margin: 0 auto; padding: 10px 22px 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rd-nav button { text-align: left; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 14px; padding: 12px 14px; min-height: 64px; cursor: pointer; font: 15px/1.3 var(--ff); }
.rd-nav button small { display: block; font: 12px/1.2 system-ui, sans-serif; color: var(--mut); margin-bottom: 4px; }
.rd-nav button:hover, .rd-nav button:focus-visible { border-color: var(--ink); }
.rd-nav .next { text-align: right; grid-column: 2; } .rd-nav .prev { grid-column: 1; }
.rd-panel { position: absolute; top: 56px; right: 8px; z-index: 5; width: min(320px, calc(100% - 16px)); padding: 14px; border-radius: 14px; background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(0,0,0,.25); font: 14px/1.3 system-ui, sans-serif; }
.rd-panel h2 { margin: 0 0 8px; font: 600 12px/1 system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--mut); }
.rd-row { display: flex; gap: 8px; align-items: center; margin: 0 0 14px; }
.rd-row:last-child { margin-bottom: 0; }
.rd-seg { flex: 1; display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.rd-seg button { flex: 1; min-height: 44px; border: 0; background: transparent; color: var(--ink); font-size: 14px; cursor: pointer; }
.rd-seg button[aria-pressed=true] { background: var(--ink); color: var(--bg); }
.rd-sw button { position: relative; }
.rd-sw [data-v=paper] { background: #fbf8f1; color: #2a2722; } .rd-sw [data-v=sepia] { background: #f2e8d0; color: #43341f; } .rd-sw [data-v=night] { background: #14161a; color: #d9d4c8; }
.rd-sw button[aria-pressed=true] { outline: 2px solid var(--ink); outline-offset: -3px; background-clip: padding-box; }
.rd-sw [data-v=paper][aria-pressed=true] { background: #fbf8f1; color: #2a2722; } .rd-sw [data-v=sepia][aria-pressed=true] { background: #f2e8d0; color: #43341f; } .rd-sw [data-v=night][aria-pressed=true] { background: #14161a; color: #d9d4c8; }
.rd-size { display: flex; align-items: center; gap: 8px; width: 100%; }
.rd-size .rd-btn { border: 1px solid var(--line); }
.rd-size output { flex: 1; text-align: center; color: var(--mut); }
.rd-issues { position: absolute; top: 56px; left: 8px; z-index: 5; width: min(340px, calc(100% - 16px)); max-height: calc(100% - 72px); overflow-y: auto; padding: 8px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(0,0,0,.25); font: 15px/1.3 system-ui, sans-serif; }
.rd-issues a { display: block; padding: 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.rd-issues a:hover, .rd-issues a:focus-visible { background: var(--line); }
.rd-issues a[aria-current] { font-weight: 700; }
.rd-issues small { color: var(--mut); margin-left: 6px; }
@media (prefers-reduced-motion: reduce) { .rd-prog i { transition: none; } }
@media (min-width: 900px) { .rd { --fs: 21px; } .rd-article { padding-top: 48px; } }
