/* Measure notes in the original paginated score. */
#notePins {
  position:absolute;
  inset:0;
  pointer-events:none;
}
#notePins .mh-note-pin {
  position:absolute;
  z-index:3;
  width:30px;
  height:30px;
  min-height:0;
  min-width:0;
  transform:translate(-50%,-85%);
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#694316;
  line-height:1;
  cursor:pointer;
  pointer-events:auto;
  touch-action:manipulation;
}
#notePins .mh-note-pin::before {
  content:"";
  position:absolute;
  inset:5px;
  background:#fff2cf;
  border:1px solid #bd9451;
  border-radius:6px;
  box-shadow:0 1px 2px #482d1a3b;
  z-index:-1;
}
#notePins .mh-note-pin:hover::before,
#notePins .mh-note-pin:focus-visible::before {background:#ffe5a3}
#notePins .mh-note-pin:focus-visible {outline:2px solid #254d80;outline-offset:0}
#notePins .notePinIcon {display:block;width:13px;height:13px;pointer-events:none}
#notePins .notePinCount {
  position:absolute;
  top:1px;
  right:-1px;
  min-width:13px;
  height:13px;
  box-sizing:border-box;
  padding:0 2px;
  display:grid;
  place-items:center;
  border:1px solid #936426;
  border-radius:9px;
  background:#fff8e9;
  color:#653a09;
  font:700 9px/1 Arial,sans-serif;
  direction:ltr;
}
.mhn-reader-open {overflow:hidden}
.mhn-reader-dialog {
  position:fixed;
  inset:0;
  box-sizing:border-box;
  width:min(32rem,calc(100vw - 2rem));
  max-width:calc(100vw - 2rem);
  max-height:calc(100vh - 3rem);
  max-height:calc(100dvh - 3rem);
  padding:0;
  margin:auto;
  border:0;
  border-radius:.9rem;
  color:#213730;
  background:transparent;
  font:inherit;
  text-align:start;
  overscroll-behavior:contain;
  box-shadow:0 17px 64px #10262044;
}
.mhn-reader-dialog:not([open]),.mhn-reader-dialog [hidden] {display:none!important}
.mhn-reader-dialog::backdrop {background:#12241dc4}
.mhn-reader-card {
  box-sizing:border-box;
  padding:1rem 1.2rem 1.15rem;
  background:#fffdf6;
  border:1px solid #c6cfc1;
  border-radius:.9rem;
  max-height:calc(100vh - 3rem);
  max-height:calc(100dvh - 3rem);
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.mhn-reader-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.7rem;
  padding:0 0 .65rem;
  border-bottom:1px solid #dbe0d2;
}
.mhn-reader-head h2 {margin:0;font:inherit;font-size:1.16rem;font-weight:750}
.mhn-reader-close,.mhn-reader-edit {
  cursor:pointer;
  min-height:2.5rem;
  font:inherit;
  color:#225447;
  padding:.25rem .65rem;
  border:1px solid #bdc9ba;
  border-radius:.45rem;
  background:#f3f5ed;
}
.mhn-reader-dialog :focus-visible {outline:3px solid #39745f;outline-offset:2px}
.mhn-reader-list {
  min-height:0;
  overflow:auto;
  overscroll-behavior:contain;
  margin:0;
  padding:.12rem 0 0;
  list-style:none;
}
.mhn-reader-list li {padding:.58rem .12rem .55rem}
.mhn-reader-list li+li {border-top:1px solid #dbe0d2}
.mhn-reader-meta {display:flex;align-items:center;justify-content:space-between;gap:.8rem;color:#5b6b5d;font-size:.84rem}
.mhn-reader-edit {background:transparent;border:0;font-size:.87rem;text-decoration:underline;text-underline-offset:.18em}
.mhn-reader-text {margin:.12rem 0 .18rem;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;text-align:start}
.mhn-reader-empty {margin:1rem 0 .2rem}
.mhn-reader-dialog.mhn-reader-fallback {
  z-index:100000;
  inset:0;
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  border-radius:0;
  display:grid;
  place-items:center;
  background:#12241dc4;
}
.mhn-reader-fallback .mhn-reader-card {width:min(32rem,calc(100vw - 2rem))}
.mhn-share {display:flex;gap:.25rem;align-items:center;flex-wrap:wrap;max-width:100%}
.mhn-share-status {font-size:.82rem;color:#415a51}
.mhn-share-status:empty {display:none}
.mhn-share-copy {display:grid;gap:.35rem;width:100%;min-width:0}
.mhn-share-field {box-sizing:border-box;width:100%;min-width:0;border:1px solid #a8b8a9;border-radius:.4rem;padding:.45rem .6rem;background:white;color:#223c31;line-height:1.55;font-family:inherit}
.mhn-share-copy button {justify-self:start}
.mhn-reader-actions,.mhn-review-info,.mhn-review-actions {display:flex;gap:.45rem;align-items:center;flex-wrap:wrap}
.mhn-reader-actions {justify-content:flex-end;min-width:0}
.mhn-review {margin:1rem 0;padding:1rem 0 .45rem;border-top:1px solid #cbd3c8}
.mhn-review-list {list-style:none;margin:0;padding:0}
.mhn-review-row {display:flex;align-items:center;justify-content:space-between;gap:.7rem;border-bottom:1px solid #dce2d6;padding:.54rem 0;flex-wrap:wrap}
.mhn-review-title {font-weight:700;color:#53446d}
.mhn-review-actions .mhn-button {min-height:2.32rem}
