.qm-footnote-marker{vertical-align:super;font-size:.7em;line-height:0;white-space:nowrap}.qm-footnote-marker button{display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:28px;margin:0 2px;padding:2px 5px;border:1px solid var(--line,#9aac9e);border-radius:7px;background:var(--pale,#edf3ee);color:var(--green,#20583f);font:750 11px/1.2 system-ui;vertical-align:middle;cursor:pointer}.qm-footnote-marker button:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.qm-footnote-dialog{width:min(560px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--line,#a7bbb0);border-radius:22px;background:var(--surface,#fff);color:var(--ink,#193429);box-shadow:0 24px 70px #06150c66;overflow:hidden}.qm-footnote-dialog::backdrop{background:#0b241ba8;backdrop-filter:blur(3px)}.qm-footnote-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px;border-bottom:1px solid var(--line);background:var(--surface,#fff)}.qm-footnote-dialog header small{font:700 10px/1.5 system-ui;letter-spacing:.09em;color:var(--muted)}.qm-footnote-dialog h2{font:750 24px/1.3 system-ui;margin:6px 0 0;color:inherit}.qm-footnote-dialog #qmFootnoteClose{flex:none;min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:13px;background:var(--pale);color:var(--ink);font:700 26px/1 system-ui;cursor:pointer}.qm-footnote-body{padding:18px 20px 22px;max-height:calc(100dvh - 165px);overflow:auto;overscroll-behavior:contain}.qm-footnote-body #qmFootnoteSubtitle{font:600 13px/1.6 system-ui;color:var(--muted);margin:0 0 18px}.qm-footnote-body section>small{display:block;font:700 12px/1.6 system-ui;color:var(--green);margin-bottom:6px}.qm-footnote-body section>p{font:400 18px/1.85 system-ui;color:var(--ink);margin:0 0 20px;overflow-wrap:anywhere}.qm-footnote-origin,.qm-footnote-unavailable{font:400 15px/1.7 system-ui;color:var(--muted);margin:0 0 18px}.qm-footnote-body #qmFootnoteReference{font:400 12px/1.6 system-ui;color:var(--muted);border-top:1px solid var(--line);padding-top:14px;margin:0}.qm-search-reference-open,.qm-search-open-label{display:block;border:0;padding:0;background:none;color:inherit;font:inherit;text-align:inherit;width:100%;cursor:pointer}.qm-search-open-label{margin-top:12px;color:var(--muted);font:500 12px/1.5 system-ui}.qm-search-reference-open{min-height:32px}.qm-search-verse .qm-search-excerpt{cursor:pointer}
html[data-theme=night] .qm-footnote-dialog,html[data-theme=night] .qm-footnote-dialog>header{background:#111b15!important;color:#d0d5c8!important;border-color:#405347!important;text-shadow:none!important}html[data-theme=night] .qm-footnote-marker button,html[data-theme=night] #qmFootnoteClose{background:#23382b!important;color:#d0dfce!important;border-color:#506951!important;box-shadow:none!important}html[data-theme=night] .qm-footnote-body section>p{color:#d0d5c8!important}html[data-theme=night] .qm-footnote-body :is(small,#qmFootnoteSubtitle,#qmFootnoteReference,.qm-footnote-origin,.qm-footnote-unavailable){color:#b4c1b0!important}
@media(max-width:360px){.qm-footnote-dialog>header{padding:16px}.qm-footnote-body{padding:16px}.qm-footnote-dialog h2{font-size:22px}}
