.mhfb {
  --fb-dark:#193a31; --fb-muted:#536d60; --fb-line:#ccd9c9; --fb-paper:#fffdf6;
  container:mh-fingerboard / inline-size;
  box-sizing:border-box; min-width:0; max-width:100%; margin:.4rem 0;
  border:1px solid var(--fb-line); border-radius:.7rem; background:var(--fb-paper);
  color:var(--fb-dark); text-align:start; font:400 .93rem/1.45 Tahoma,Arial,sans-serif;
  isolation:isolate;
}
.mhfb *, .mhfb *::before, .mhfb *::after {box-sizing:border-box;}
.mhfb [hidden] {display:none !important;}
.mhfb > .mhfb-summary {
  display:flex; align-items:center; gap:.52rem; min-height:44px;
  padding:.28rem .7rem; background:linear-gradient(105deg,#f4f5e9,#fffdf6 74%);
  border-radius:inherit; cursor:pointer; list-style:none; color:var(--fb-dark); text-align:start;
}
.mhfb-summary::-webkit-details-marker {display:none;}
.mhfb .mhfb-icon {
  display:block; flex:0 0 auto; width:1.28rem; height:1.28rem; fill:none; stroke:currentColor;
  stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round;
}
.mhfb .mhfb-summary > .mhfb-icon {
  width:1.75rem; height:1.75rem; padding:.2rem; border:1px solid #b9ccba;
  border-radius:.4rem; background:#e5eee1; color:#305b48;
}
.mhfb .mhfb-summary strong {font-size:.95rem; line-height:1.35; color:inherit; font-weight:700;}
.mhfb .mhfb-part {min-width:0; margin-inline-start:auto; color:#677261; font-size:.79rem;}
.mhfb .mhfb-chevron {
  width:.43rem; height:.43rem; margin-inline-start:.15rem; margin-inline-end:.15rem; flex:none;
  transform:rotate(45deg); border-bottom:1.7px solid #667d6b; border-right:1.7px solid #667d6b;
}
.mhfb[open] > .mhfb-summary {border-radius:.7rem .7rem 0 0; border-bottom:1px solid #dce2d4;}
.mhfb[open] .mhfb-chevron {transform:rotate(225deg);}
.mhfb .mhfb-panel {padding:.46rem .62rem .4rem; color:var(--fb-dark);}
.mhfb .mhfb-head {
  display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between;
  min-width:0; min-height:44px; gap:.2rem .5rem; margin:0 0 .3rem;
}
.mhfb .mhfb-current {display:flex; flex-wrap:wrap; align-items:baseline; min-width:0; gap:.1rem .65rem;}
.mhfb .mhfb-pitch {display:flex; align-items:baseline; gap:.33rem; color:#1a4736;}
.mhfb .mhfb-latin {
  display:inline-block; font:600 1.55rem/1.1 Georgia,'Times New Roman',serif;
  font-variant-numeric:lining-nums tabular-nums; letter-spacing:-.03em;
}
.mhfb .mhfb-sol {font-size:.86rem; font-weight:700;}
.mhfb .mhfb-cue,.mhfb .mhfb-chord-note {font-size:.82rem; color:#536954;}
.mhfb .mhfb-live-chord {color:#3c5d49;font-weight:650;font-size:.82rem;}
.mhfb .mhfb-tools {display:flex; align-items:center; flex-wrap:wrap; gap:.17rem;}
.mhfb .mhfb-tools button,.mhfb .mhfb-choice {
  display:inline-flex; align-items:center; justify-content:center; gap:.28rem;
  min-height:44px; min-width:44px; margin:0; border:1px solid transparent; border-radius:.45rem;
  color:#205c46; background:transparent; font:650 .81rem/1.35 Tahoma,Arial,sans-serif;
  cursor:pointer; touch-action:manipulation;
}
.mhfb .mhfb-tools button {padding:.15rem .38rem;}
.mhfb .mhfb-tools .mhfb-sample {padding:.2rem;}
.mhfb .mhfb-tools .mhfb-sample .mhfb-icon {width:1.2rem;height:1.2rem;}
.mhfb .mhfb-tools .mhfb-guide-toggle {gap:.25rem; color:#465e4f; padding-inline:.4rem; font-size:.76rem;}
.mhfb .mhfb-guide-toggle .mhfb-icon {width:1.05rem;height:1.05rem;}
.mhfb .mhfb-tools .mhfb-guide-toggle[aria-pressed=true] {color:#205c46; background:#e9efe3; border-color:#c7d4c2;}
.mhfb .mhfb-action .mhfb-icon {width:1rem;height:1rem;}
.mhfb .mhfb-chord {display:flex; gap:.2rem; align-items:center; flex-wrap:wrap; margin:0 0 .25rem;}
.mhfb .mhfb-choice {border-color:#bacbb9; padding:.14rem .48rem; font-family:Arial,sans-serif;}
.mhfb .mhfb-choice[aria-pressed=true]{background:#254e3f; color:#fff; border-color:#254e3f;}
.mhfb .mhfb-board {
  position:relative; min-width:0; width:100%; overflow:hidden; border:1px solid #344b3d; border-radius:.5rem;
  background:linear-gradient(165deg,#284035,#192b23); box-shadow:inset 0 0 12px #09201740;
}
.mhfb .mhfb-svg {display:block; width:100%; height:210px;}
.mhfb .mhfb-string-name {fill:#f1e4c7; font:700 12px/1 Tahoma,Arial,sans-serif;}
.mhfb .mhfb-string-pitch {fill:#c0cdbd; font:600 9.5px/1 Arial,sans-serif;}
.mhfb .mhfb-fingernum {fill:#173d2c; font:700 14px/1 Arial,sans-serif; text-anchor:middle;}
.mhfb .mhfb-guide-line {fill:none;stroke:#d8c6a4;stroke-width:2.4;opacity:.32;}
.mhfb .mhfb-rail-note {visibility:hidden;}
.mhfb :is(.mhfb-rail-landmark,.mhfb-rail-current) {visibility:visible;}
.mhfb .mhfb-rail-note rect {display:none;}
.mhfb .mhfb-rail-note text {
  fill:#a6b7ac; stroke:#203029; stroke-width:2px; stroke-linejoin:round; paint-order:stroke;
  font:500 10px/1 Arial,sans-serif;
}
.mhfb .mhfb-rail-current rect {display:block; fill:#d5edc9;}
.mhfb .mhfb-rail-current text {fill:#193629; stroke:none; font-size:13px; font-weight:750;}
.mhfb .mhfb-open-current .mhfb-string-pitch {fill:#d6f6cb; font-size:12px; font-weight:750;}
@container mh-fingerboard (min-width:500px) {
  .mhfb .mhfb-rail-landmark:not(.mhfb-rail-current) text {font-size:11px;}
  .mhfb .mhfb-rail-current text {font-size:14px;}
}
.mhfb .mhfb-rows {position:absolute; inset:0;}
.mhfb .mhfb-row, .mhfb .mhfb-row:disabled {
  position:absolute; inset-inline:0; display:block; width:100%; min-width:0; min-height:0; margin:0; padding:0;
  border:0; border-radius:0; box-shadow:none; background:transparent; opacity:1; touch-action:manipulation;
}
.mhfb .mhfb-row:not(:disabled){cursor:crosshair;}
.mhfb .mhfb-row:disabled {pointer-events:none;}
.mhfb :is(.mhfb-summary,.mhfb-choice,.mhfb-tools button):focus-visible {outline:3px solid #a27527; outline-offset:1px;}
.mhfb .mhfb-row:focus-visible {background:#dff7d21a;outline:2px solid #ffd68a; outline-offset:-3px;}
.mhfb .mhfb-foot {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.16rem .45rem;
  padding:.31rem .04rem 0; color:var(--fb-muted); font-size:.75rem; line-height:1.5;
}
.mhfb .mhfb-next {display:inline-flex; align-items:center; gap:.28rem; white-space:nowrap;}
.mhfb .mhfb-next bdi {color:#334638;font:700 .8rem/1 Arial,sans-serif;font-variant-numeric:tabular-nums;}
.mhfb .mhfb-key {display:inline-block; width:.66rem; height:.66rem; border:1.4px dashed #5b735c; border-radius:50%;}
.mhfb .mhfb-next-nomark .mhfb-key {visibility:hidden;}
.mhfb .mhfb-signature {font-weight:700; color:#855319;}
.mhfb .mhfb-spelling {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:0 .5rem;
  margin-top:.2rem; border-top:1px solid #e2e7da; color:#415c4b; font-size:.82rem;
}
.mhfb .mhfb-spelling-toggle {
  display:inline-flex; align-items:center; gap:.48rem; min-height:44px; padding:.15rem .18rem; margin:0;
  border:0; background:transparent; color:#2c5946; font:650 .82rem/1.4 Tahoma,Arial,sans-serif; cursor:pointer;
}
.mhfb .mhfb-spelling-toggle::after {
  content:''; width:.4rem; height:.4rem; border-bottom:1.5px solid; border-left:1.5px solid; transform:rotate(-45deg);
}
.mhfb .mhfb-spelling-toggle[aria-expanded=true]::after {transform:rotate(135deg);}
.mhfb .mhfb-spelling-toggle:focus-visible,.mhfb .mhfb-spelling-mode:focus-visible {outline:2px solid #9d7120; outline-offset:1px;}
.mhfb .mhfb-equivalent {display:inline-flex; flex-wrap:wrap; align-items:baseline; gap:.3rem;}
.mhfb .mhfb-equivalent bdi {color:#254b38; font-weight:700;}
.mhfb .mhfb-spelling-panel {
  flex:1 0 100%; min-width:0; padding:.55rem .65rem; border:1px solid #dbe4d4; border-radius:.55rem;
  background:#f5f7ee; font-size:.86rem; line-height:1.58;
}
.mhfb .mhfb-spelling-panel p {margin:.28rem 0 0;}
.mhfb .mhfb-mode-hint {color:#526956;}
.mhfb .mhfb-spelling-label {display:flex; flex-wrap:wrap; align-items:center; gap:.35rem .55rem; font-weight:650;}
.mhfb .mhfb-spelling-mode {max-width:100%; min-height:44px; margin:0; padding:.2rem .45rem; font:inherit; background:#fffefa; color:#254b38; border:1px solid #aebfaa; border-radius:.4rem;}
.mhfb .mhfb-sr {
  position:absolute; inline-size:1px; block-size:1px; margin:-1px; padding:0; overflow:hidden;
  clip-path:inset(50%); white-space:nowrap;
}
@media (hover:hover) {
  .mhfb > .mhfb-summary:hover,.mhfb .mhfb-tools button:hover,.mhfb .mhfb-choice:not([aria-pressed=true]):hover {background:#e9efe2;}
  .mhfb .mhfb-row:not(:disabled):hover {background:#eaf8dd0c;}
}
@container mh-fingerboard (max-width:410px) {
  .mhfb .mhfb-panel {padding:.28rem .35rem .27rem;}
  .mhfb .mhfb-head {gap:0 .2rem;}
  .mhfb .mhfb-current {gap:0 .35rem;}
  .mhfb .mhfb-cue {font-size:.78rem;}
  .mhfb .mhfb-latin {font-size:1.27rem;}
  .mhfb .mhfb-tools .mhfb-action {font-size:.75rem; padding-inline:.14rem;}
  .mhfb .mhfb-tools .mhfb-action .mhfb-icon {display:none;}
}
@media(forced-colors:active) {
  .mhfb .mhfb-board,.mhfb .mhfb-svg {forced-color-adjust:none;}
  .mhfb .mhfb-key,.mhfb .mhfb-chevron {border-color:CanvasText;}
}
