/* Added by tools/build_pages.py: share bar and stand-alone chapter pages */
.share{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:44px 0 0;padding-top:18px;border-top:1px solid var(--rule);font:500 14px Inter,system-ui,sans-serif}
.share .lbl{color:var(--muted);margin-right:4px}
.share a,.share button{font:600 14px Inter,system-ui,sans-serif;text-decoration:none;color:var(--ink);background:none;border:1px solid var(--rule);border-radius:999px;padding:7px 14px;min-height:38px;cursor:pointer;display:inline-flex;align-items:center}
.share a:hover,.share button:hover{border-color:var(--ink)}
.share+.pn,.share+.rel{margin-top:28px}
.full{font:500 14px/1.5 Inter,system-ui,sans-serif;color:var(--muted);margin:0 0 28px}
.full a{color:var(--red)}
/* Footnote pop-up (phones and touch screens): tap a number to read the note in place */
@media (max-width:760px),(pointer:coarse){sup.ref a{display:inline-block;padding:6px 5px;margin:-6px -2px;line-height:1}}
.fn-sheet{position:fixed;left:0;right:0;bottom:0;z-index:1000;background:var(--bg);color:var(--ink);border-top:2px solid var(--red);box-shadow:0 -8px 30px rgba(0,0,0,.25);padding:14px 16px calc(16px + env(safe-area-inset-bottom));max-height:60vh;overflow:auto;font:15px/1.55 Inter,system-ui,sans-serif}
.fn-sheet .fn-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;font-weight:600;color:var(--red)}
.fn-sheet button{font:600 14px Inter,system-ui,sans-serif;background:none;border:1px solid var(--rule);color:var(--ink);border-radius:999px;padding:6px 14px;min-height:36px;cursor:pointer}
.fn-sheet .rl a,.fn-sheet .fn-all{display:inline-block;margin:6px 10px 0 0;color:var(--red);word-break:break-word}
.fn-sheet .up{display:none}
@media (min-width:761px) and (pointer:fine){.fn-sheet{left:auto;right:24px;bottom:24px;width:420px;border:1px solid var(--rule);border-top:2px solid var(--red);border-radius:10px}}
