/* 単曲線の要素 — ツール固有のスタイル（共通は /_shared/kanejaku.css） */
.cc-form { margin: 0 0 1.25rem; }
.cc-group { border: 0; border-top: var(--kj-rule) solid var(--kj-line-strong); margin: 0; padding: 0.9rem 0 0.1rem; min-width: 0; }
.cc-group legend { padding: 0 0.5rem 0 0; font-size: 1rem; }
.cc-group .kj-field { align-content: start; }
.cc-dms { display: grid; gap: 0.3rem; margin: 0 0 1.1rem; }
.cc-dms__inputs { display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem; }
.cc-dms__inputs label { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 800; }
.cc-dms__inputs .kj-input { width: 5.5rem; }
.cc-readouts { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
.cc-readouts .kj-readout { margin-bottom: 0.6rem; }
.cc-errors { margin: 0 0 1.25rem; padding-left: 0; list-style: none; }
.cc-key > * { font-weight: 800; background: var(--kj-hilite); }
#out-table th { font-weight: 700; }
#out-table td { white-space: nowrap; }
.cc-h2 { font-size: 1.1rem; margin: 1.4rem 0 0.4rem; }
#setout-table td, #setout-table th { white-space: nowrap; }
#setout-table .cc-main > * { font-weight: 800; }
.cc-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.cc-copied { font-size: 0.85rem; font-weight: 700; color: var(--kj-ink-soft); }
.cc-formula { font-family: var(--kj-mono); font-weight: 800; background: var(--kj-slab); border: 2px solid var(--kj-line-strong); border-left-width: 8px; padding: 0.6rem 0.9rem; line-height: 1.9; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  #quick-elements, #quick-chords, #setout-table { font-size: 0.78rem; }
  #quick-elements th, #quick-elements td, #quick-chords th, #quick-chords td, #setout-table th, #setout-table td { padding: 0.4rem 0.3rem; }
  #quick-chords thead th { white-space: normal; }
}
