/* スケール（音階）構成音 — ツール固有のスタイル（共通は /_shared/otohakari.css） */
.sf-form { margin: 0; }
.sf-grid { grid-template-columns: minmax(7rem, 0.6fr) minmax(12rem, 1.4fr); }
.sf-detail { display: grid; grid-template-columns: max-content 1fr; gap: 0.2rem 1rem; margin: 0.7rem 0 0.9rem; font-size: 0.86rem; }
.sf-detail dt { color: var(--oh-dim); }
.sf-detail dd { margin: 0; font-family: var(--oh-mono); overflow-wrap: anywhere; }
.sf-errors { margin: 0.6rem 0; padding-left: 1.2em; }
/* 鍵盤：地の色に関係なく、白鍵と黒鍵の色は固定 */
.sf-kb svg { display: block; width: 100%; height: auto; }
.sf-w { fill: #f4f5f7; stroke: #6b7280; stroke-width: 1; }
.sf-b { fill: #1a1d24; stroke: #0b0d11; stroke-width: 1; }
.sf-w.is-on, .sf-b.is-on { fill: #f7c25c; }
.sf-w.is-tonic, .sf-b.is-tonic { fill: #f0a020; }
.sf-c { font: 8px var(--oh-mono); fill: #6b7280; text-anchor: middle; }
.sf-label { font: 700 8px var(--oh-mono); fill: #17120a; text-anchor: middle; }
.sf-deg { font: 7px var(--oh-mono); fill: #3a2a0a; text-anchor: middle; }
.sf-label.on-black { font-size: 6.5px; }
.sf-deg.on-black { font-size: 6px; }
.sf-kbnote { margin: 0.3rem 0 0.8rem; }
.sf-play { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.sf-play .oh-button:disabled { opacity: 0.45; cursor: default; filter: none; }
.sf-speed-label { margin-left: 0.4rem; }
.sf-speed { width: auto; padding-top: 0.35rem; padding-bottom: 0.35rem; }
.sf-volume { display: grid; grid-template-columns: auto minmax(0, 1fr) 3.2rem; align-items: center; gap: 0.3rem 0.8rem; margin: 0 0 1.5rem; }
.sf-volume input[type="range"] { accent-color: var(--oh-amber); }
.sf-volume .oh-hint { grid-column: 1 / -1; margin: 0; }
.sf-volume output { text-align: right; font-size: 0.9rem; }
.sf-table td { font-family: var(--oh-mono); white-space: nowrap; }
.sf-faq { margin-top: 1.5rem; }
@media (max-width: 480px) {
  .sf-grid { grid-template-columns: 1fr; }
  .sf-detail { grid-template-columns: 1fr; gap: 0; }
  .sf-detail dd { margin-bottom: 0.35rem; }
}
