/* Research panel: bolder, easier-to-read type. The "본문연구" edge tab on the left of the map is bold, and it grows slightly and returns when a verse is clicked. */
html body #side-pane #panel, html body #side-pane #panel :is(p, li, dd, dt, td, th, span, div, a, em, blockquote):not(button):not(.hb):not(.gr) { font-weight: 600; }
html body #side-pane #panel :is(h1, h2, h3, h4, strong, b, summary, .rp-title) { font-weight: 800; }
html body #side-pane #panel :is(p, li, dd, dt, td) { color: #1f1710; }
html[data-theme="dark"] body #side-pane #panel :is(p, li, dd, dt, td) { color: #f3ebdd; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) body #side-pane #panel :is(p, li, dd, dt, td) { color: #f3ebdd; } }
html body .jb-research-edge-open, html body .jb-research-edge-open span { font-weight: 800 !important; color: #5a2d0c; }
html[data-theme="dark"] body .jb-research-edge-open, html[data-theme="dark"] body .jb-research-edge-open span { color: #ffe9c8; }
@keyframes jbc-tag-pop { 0% { transform: scale(1); } 35% { transform: scale(1.04); box-shadow: 0 0 0 2px rgba(194, 120, 50, .35); } 100% { transform: scale(1); } }
.jb-research-edge-open.jbc-pop { animation: jbc-tag-pop 520ms ease-out; transform-origin: left center; }
@media (prefers-reduced-motion: reduce) { .jb-research-edge-open.jbc-pop { animation: none; } }

@media print { body[data-ml-print] #ml-print-sheet img { max-height: 250mm; } body[data-ml-print] #ml-print-sheet .ml-print-credit { display: block !important; margin: 3mm 8mm 0; font-size: 8pt; line-height: 1.4; color: #222; text-align: center; } body[data-ml-print] #ml-print-sheet .ml-print-credit a { color: #222; text-decoration: none; } }

/* map print preview */
#ml-print-preview { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(30, 24, 18, .6); }
#ml-print-preview .mlpp-box { display: flex; flex-direction: column; width: min(760px, 100%); max-height: 100%; border-radius: 16px; background: var(--paper, #fffaf0); color: var(--ink, #2b2118); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); overflow: hidden; }
#ml-print-preview .mlpp-head { padding: 12px 18px 8px; } #ml-print-preview .mlpp-head strong { display: block; font-size: 16px; } #ml-print-preview .mlpp-head span { font-size: 12px; color: var(--ink-3, #7a6f64); }
#ml-print-preview .mlpp-page { flex: 1 1 auto; min-height: 0; overflow: auto; margin: 0 18px; padding: 12px; background: #fff; border: 1px solid rgba(0, 0, 0, .15); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04); text-align: center; }
#ml-print-preview .mlpp-page img { max-width: 100%; max-height: 62vh; width: auto; height: auto; border: 1px solid rgba(0, 0, 0, .25); }
#ml-print-preview .mlpp-credit { margin: 8px 0 0; font-size: 10.5px; line-height: 1.5; color: #333; } #ml-print-preview .mlpp-credit a { color: #333; }
#ml-print-preview .mlpp-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px 14px; }
:root[data-theme="dark"] #ml-print-preview .mlpp-box { background: #2a2622; color: #f1e7d7; }
@media print { #ml-print-preview { display: none !important; } }
