/* 縦断曲線の計画高 — ツール固有のスタイル（共通は /_shared/kanejaku.css） */
.vc-form { margin: 0 0 1.25rem; }
.vc-group { border: 0; border-top: var(--kj-rule) solid var(--kj-line-strong); margin: 0; padding: 0.9rem 0 0.1rem; min-width: 0; }
.vc-group legend { padding: 0 0.5rem 0 0; font-size: 1rem; }
.vc-group .kj-field { align-content: start; }
.vc-readouts { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
.vc-readouts .kj-readout { margin-bottom: 0.6rem; }
.vc-errors { margin: 0 0 1.25rem; padding-left: 0; list-style: none; }
.vc-key > * { font-weight: 800; background: var(--kj-hilite); }
#out-table th { font-weight: 700; width: 38%; min-width: 7rem; }
#out-table td { white-space: normal; overflow-wrap: anywhere; }
.vc-figure { margin: 0 0 1.5rem; border: 2px solid var(--kj-line-strong); background: var(--kj-slab); padding: 0.5rem; }
.vc-figure svg { display: block; width: 100%; height: auto; }
.vc-grade { fill: none; stroke: var(--kj-muted); stroke-width: 1.5; stroke-dasharray: 6 4; }
.vc-curve { fill: none; stroke: var(--kj-ink); stroke-width: 3; stroke-linejoin: round; }
.vc-tick { stroke: var(--kj-line); stroke-width: 1; stroke-dasharray: 2 3; }
.vc-pt { fill: var(--kj-ink); }
.vc-pt--vip { fill: var(--kj-slab); stroke: var(--kj-ink); stroke-width: 2; }
.vc-pt--turn { fill: var(--kj-yellow); stroke: var(--kj-ink); stroke-width: 1.5; }
.vc-label { font-size: 12px; font-weight: 800; fill: var(--kj-ink); text-anchor: middle; font-family: var(--kj-mono); }
.vc-exag { font-size: 11px; fill: var(--kj-muted); text-anchor: end; font-family: var(--kj-mono); }
.vc-h2 { font-size: 1.1rem; margin: 1.4rem 0 0.4rem; }
#rows-table td, #rows-table th { white-space: nowrap; }
#rows-table .vc-main > * { font-weight: 800; }
.vc-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.vc-copied { font-size: 0.85rem; font-weight: 700; color: var(--kj-ink-soft); }
.vc-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-m, #quick-r, #rows-table { font-size: 0.76rem; }
  #quick-m th, #quick-m td, #quick-r th, #quick-r td, #rows-table th, #rows-table td { padding: 0.4rem 0.25rem; }
}
#quick-m tbody th, #quick-r tbody th { white-space: nowrap; }
