.mh-instrument {
  --instrument-ink:#264d42;
  --instrument-paper:#edf4e9;
  --instrument-line:#bed0bc;
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap:.32rem;
  vertical-align:middle;
  flex:none;
  color:var(--instrument-ink);
}
.mh-instrument[data-instrument=violin]{--instrument-ink:#795025;--instrument-paper:#fbefd9;--instrument-line:#dcc096}
.mh-instrument[data-instrument=viola]{--instrument-ink:#66486d;--instrument-paper:#f3eaf3;--instrument-line:#d2bfd6}
.mh-instrument[data-instrument=cello]{--instrument-ink:#874537;--instrument-paper:#f8eae2;--instrument-line:#dfb9aa}
.mh-instrument[data-instrument=double-bass]{--instrument-ink:#635240;--instrument-paper:#f2eae1;--instrument-line:#cebfad}
.mh-instrument[data-instrument=conductor]{--instrument-ink:#14604a;--instrument-paper:#e7f1e6;--instrument-line:#b8d0ba}
.mh-instrument[data-instrument=piano]{--instrument-ink:#3e536d;--instrument-paper:#ebf0f8;--instrument-line:#bdcbdc}
.mh-instrument[data-instrument=guitar]{--instrument-ink:#765322;--instrument-paper:#f8efde;--instrument-line:#d9c394}
.mh-instrument[data-instrument=oud]{--instrument-ink:#4c622b;--instrument-paper:#edf2df;--instrument-line:#c6d3ab}
.mh-instrument[data-instrument=flute]{--instrument-ink:#23606a;--instrument-paper:#e6f2f2;--instrument-line:#b4d0d1}
.mh-instrument[data-instrument=clarinet]{--instrument-ink:#644e70;--instrument-paper:#f2ebf5;--instrument-line:#d3c4d9}
.mh-instrument .mh-instrument-mark {
  inline-size:var(--instrument-badge-size,1.85rem);
  block-size:var(--instrument-badge-size,1.85rem);
  border:1px solid var(--instrument-line);
  border-radius:.42rem;
  box-sizing:border-box;
  display:inline-grid;
  place-items:center;
  flex:none;
  background:linear-gradient(155deg,#fffdf5 3%,var(--instrument-paper) 100%);
  overflow:hidden;
}
.mh-instrument .mh-instrument-mark img{
  display:block;
  inline-size:100%;
  block-size:100%;
  object-fit:contain;
}
.mh-instrument .mh-instrument-label{font-size:.835rem;font-weight:700;white-space:nowrap}
.ec-dialog .mh-instrument-picker{
  margin:0;
  border:1px solid #c9d3bc;
  border-radius:.65rem;
  background:#f6f6ec;
  color:#284f3b;
}
.ec-dialog .mh-instrument-summary{
  position:relative;
  display:flex;
  align-items:center;
  gap:.5rem;
  padding:.45rem .7rem;
  min-height:44px;
  list-style:none;
  cursor:pointer;
  border-radius:.65rem;
  font-size:.94rem;
}
.ec-dialog .mh-instrument-summary::-webkit-details-marker{display:none}
.ec-dialog .mh-instrument-summary::after{
  content:'';
  border-block-end:2px solid currentColor;
  border-inline-end:2px solid currentColor;
  inline-size:.44rem;
  block-size:.44rem;
  margin-inline-start:.18rem;
  transform:rotate(45deg);
}
.ec-dialog .mh-instrument-picker[open]>.mh-instrument-summary::after{transform:rotate(225deg)}
.ec-dialog .mh-instrument-value{
  margin-inline-start:auto;
  font-size:.84rem;
  color:#526851;
}
.ec-dialog .mh-instrument-options{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.42rem;
  padding:.2rem .56rem .56rem;
}
.ec-dialog .mh-instrument-option{
  --instrument-badge-size:2.65rem;
  min-height:70px;
  min-width:0;
  padding:.3rem .45rem;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fffdf6;
  color:#264c41;
  border:1px solid #c5d0bd;
  border-radius:.62rem;
  text-align:center;
  font-size:.9rem;
}
.ec-dialog .mh-instrument-option>.mh-instrument{flex-direction:column;gap:.12rem}
.ec-dialog .mh-instrument-option .mh-instrument-mark{border:0;background:radial-gradient(var(--instrument-paper),#fffdf600 75%)}
.ec-dialog .mh-instrument-option[aria-pressed=true]{
  border-color:#347258;
  background:#e7efe3;
  box-shadow:inset 0 0 0 1px #347258;
}
.ec-dialog .mh-instrument-option:hover{background:#edf3e8}
.ec-dialog .ec-avatar-preview{display:inline-flex;align-items:center;gap:.26rem}
.ec-dialog .ec-identity-name{display:flex;gap:.35rem;align-items:center;flex-wrap:wrap}
.ec-dialog .ec-identity-name>h3{min-width:0}
@media(max-width:380px){
  .ec-dialog .mh-instrument-options{grid-template-columns:repeat(2,minmax(0,1fr))}
}
