/* Constituent pitches occupy a separate lane, leaving original beats intact. */
[data-cl-tone-toggle][hidden]{display:none!important}
.preview-controls [data-cl-tone-toggle]{
  align-self:center!important;margin-block:0!important;
  position:relative;top:-7px;
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
  background:#fff;color:#17191d;border:1px solid #cfd3da;border-radius:7px;
  padding:5px 9px;font-size:13px;white-space:nowrap;cursor:pointer
}
.preview-controls [data-cl-tone-toggle][aria-pressed="true"]{background:#202226;color:#fff;border-color:#202226}
:is(#preview,[data-cl-id="preview"]).preview-mobile-emulation .preview-controls > button[data-cl-tone-toggle]{
  /* Match the outer height of the mobile segments, including their borders. */
  box-sizing:border-box!important;align-self:center!important;top:0!important;
  height:38px!important;min-height:38px!important;max-height:38px!important;
  margin-block:0!important;padding-block:0!important;
}
@media(max-width:660px){
  .cl-inline-score.ce-wp-viewer :is(#preview,[data-cl-id="preview"]) .preview-controls > button[data-cl-tone-toggle]{
    /* The public segments are 30px plus their two borders. Keep the original row space. */
    box-sizing:border-box!important;align-self:center!important;top:0!important;
    height:32px!important;min-height:32px!important;max-height:32px!important;
    margin-block:2px!important;padding-block:0!important;
  }
}
.cl-tone-lane{
  position:relative;grid-column:1/-1;grid-row:2;min-width:0;
  min-height:var(--cl-tone-min-height,0px);align-self:start;margin:0 0 8px
}
.rhythm-event-board.cl-has-tone-lane{grid-template-rows:minmax(42px,auto) auto 30px}
.rhythm-event-board.cl-has-tone-lane.code-only{grid-template-rows:minmax(42px,auto) auto}
.rhythm-event-board.cl-has-tone-lane>.rhythm-event-note,
.rhythm-event-board.cl-has-tone-lane>.beam-image-group{grid-row:3}
.rhythm-event-board.cl-has-tone-lane>.cl-tone-lane{margin-bottom:16px}
.cl-tone-card{position:absolute;top:0;width:64px;color:#17191d}
.cl-tone-label{display:none}
.cl-tone-staff{display:block;width:64px;max-width:100%;height:auto;overflow:visible}
.cl-tone-lane.cl-tone-wrap{display:flex;gap:5px 4px;flex-wrap:wrap;align-items:flex-end}
.cl-tone-wrap .cl-tone-card{position:static;flex:0 0 64px;max-width:100%;min-width:0}
.cl-tone-wrap .cl-tone-label{display:block;text-align:center;overflow-wrap:anywhere;font-size:11px;line-height:1.2;font-weight:700}
