/* 隅木・谷木の勾配 — ツール固有のスタイル（共通は /_shared/kanejaku.css） */
.hr-form { margin: 0 0 1.25rem; }
.hr-group { border: 0; border-top: 2px solid var(--kj-line-strong); margin: 0; padding: 0.9rem 0 0.2rem; min-width: 0; }
.hr-group legend { padding: 0 0.5rem 0 0; }
.hr-readouts { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.hr-readouts .kj-readout { margin-bottom: 0.6rem; }
.hr-errors { margin: 0 0 1.25rem; padding-left: 1.2em; }
#out-table th { width: 10rem; background: var(--kj-slab); font-weight: 800; }
#out-table td { font-size: 0.88rem; overflow-wrap: anywhere; }
#out-coef td, #out-len-table td { font-family: var(--kj-mono); }
.hr-formula {
  font-family: var(--kj-mono);
  font-weight: 800;
  background: var(--kj-slab);
  border-left: 6px solid var(--kj-yellow);
  padding: 0.6rem 0.9rem;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
#quick-table tbody th, .hr-uses tbody th { white-space: nowrap; }
@media (max-width: 480px) {
  #out-table th { width: 6.5rem; }
  #quick-table, #out-len-table, .hr-uses { font-size: 0.76rem; }
  #quick-table th, #quick-table td, #out-len-table th, #out-len-table td, .hr-uses th, .hr-uses td { padding: 0.4rem 0.3rem; }
  #quick-table thead th, #out-len-table thead th { white-space: normal; }
}
.hr-form .kj-field { align-content: start; } /* 隣の欄に注記があっても入力欄を縦に伸ばさない */
