.pdesc-pop[data-private-reference]{max-height:calc(100dvh - 24px);display:flex;flex-direction:column;overflow:hidden}
.pdesc-pop[data-private-reference] .pdesc-h{flex:none}
.pdesc-pop[data-private-reference] .pdesc-b{overflow:auto;min-height:0;overscroll-behavior:contain}
.book-casting-level{flex:none;padding:10px 14px;border-bottom:1px solid var(--border,#4a3f28);font-size:13.5px;line-height:1.4}
.book-casting-level b{color:var(--gold,#d4af37)}
.book-casting-level p{margin:4px 0 0}
.book-entry,.book-support,.book-crossrefs,.book-campaign{margin:0 0 16px}
.book-entry h3,.book-support h3,.book-crossrefs h3,.book-campaign h3{font-size:1.1em;margin:12px 0 4px;color:var(--gold,#d4af37)}
.book-citation,.book-label{font-size:.88em;color:var(--text2,#aaa)}
.book-label{font-weight:bold;letter-spacing:.03em}
.book-subhead{font-weight:bold}
.book-campaign{border-top:1px solid var(--border,#4a3f28);padding-top:8px}
.book-table-scroll{max-width:100%;overflow:auto;margin:8px 0}
.book-table{border-collapse:collapse;width:100%;font:inherit}
.book-table th,.book-table td{border:1px solid var(--border,#4a3f28);padding:4px 6px;text-align:left;vertical-align:top;white-space:normal}
.book-rule,.book-page-reference,.book-related-entry{border:1px solid var(--border,#4a3f28);border-radius:5px;padding:8px;margin:6px 0}
.book-rule summary,.book-page-reference summary,.book-related-entry summary{cursor:pointer;min-height:30px;line-height:30px}
.book-page-scroll{overflow:auto;max-height:60vh;background:#fff;color:#111;border:1px solid #888}
.book-page-scroll svg{display:block;height:auto;max-width:none;font-family:Georgia,'Times New Roman',serif;fill:#111}
.book-page-controls{display:flex;align-items:center;gap:8px;margin:8px 0}
.book-page-controls span{flex:1}
.pdesc-pop[data-private-reference] button:not(.pdesc-x){min-height:36px;min-width:36px;margin:4px;padding:6px 10px;cursor:pointer;font:inherit}
@media(max-width:600px){.book-rule,.book-page-reference{padding:5px}.book-table th,.book-table td{padding:4px}}
