/* Reflowing reader pages; independent of TIM and homepage animation. */
.reader-page{max-width:850px;margin:0 auto;color:#23344a;font-size:17px;line-height:1.72}
.reader-page *{box-sizing:border-box}
.reader-top{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:28px}
.reader-top a{color:#16466f;font-weight:700;text-decoration:none}
.reader-download{border:1px solid #a6c5df;background:#e8f2fa;padding:8px 14px;border-radius:6px}
.reader-eyebrow{font-size:12px;letter-spacing:.15em;font-weight:700;color:#397099}
.reader-intro{border-bottom:1px solid #c9dbe8;margin:0 0 28px;padding-bottom:12px}
.reader-page h1{color:#142d4e;font-size:clamp(27px,4vw,37px);line-height:1.2;margin:0 0 20px}
.reader-page h2{color:#173e62;font-size:clamp(21px,2.8vw,26px);line-height:1.3;margin:29px 0 14px}
.reader-page p{margin:0 0 18px}
.reader-page figure{margin:24px auto;text-align:center}
.reader-page figure img{display:block;width:100%;max-width:680px;height:auto;margin:auto}
.reader-page figcaption{font-size:14px;color:#536780}
.reader-formula{background:#f1f6fa;border-left:3px solid #8bb0ce;border-radius:3px;padding:10px 14px;margin:14px 0;font-family:Georgia,serif;white-space:normal;overflow-wrap:anywhere}
.reader-footnote{background:#f0f6fb;border-left:3px solid #7da6c4;padding:13px 15px;font-size:14px;line-height:1.6;margin:22px 0}
.reader-toc{background:#f1f6fa;border:1px solid #b9d0e4;border-radius:7px;padding:12px 15px;overflow-x:auto;max-width:100%}
.reader-toc pre{font-size:13px;line-height:1.6;white-space:pre;margin:0;min-width:max-content;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
@media(max-width:600px){.reader-page{font-size:16px}.reader-toc pre{font-size:12px}.reader-top{margin-bottom:18px}}
