/* /midi-to-sheet-music and /audio-to-sheet-music */
.sm-score { margin:12px 0; overflow-x:auto; }
/* Never display:none - the renderer measures this box's width before drawing into it. */
.sm-score:not(:empty) { background:#fff; border:1px solid #dde3e8; border-radius:8px; }
.sm-score svg { display:block; }
.local-tool .sm-parts { border:1px solid #dde3e8; border-radius:8px; padding:8px 14px 12px; margin:0 0 12px; display:flex; flex-wrap:wrap; gap:6px 18px; }
.local-tool .sm-parts legend { font-size:.9rem; color:#526459; width:auto; padding:0 6px; margin:0; }
.local-tool .sm-parts label { display:flex; align-items:center; gap:6px; font-size:.95rem; }
.sm-progress { display:none; margin:6px 0 12px; }
.sm-progress-header { display:flex; justify-content:space-between; color:#6c757d; font-size:.9rem; margin-bottom:6px; }
.sm-progress-track { height:10px; background:#e9ecef; border-radius:999px; overflow:hidden; border:1px solid #dde3e8; }
.sm-progress-bar { height:100%; width:0; background:linear-gradient(90deg,#28a745,#1c8f3c); transition:width .12s linear; }
