/* =====================================================================
   style.css — 風速の換算・風力階級 ツール固有の微調整のみ。
   共通スタイルは /_shared/shirugear.css に任せる（結果表示は sg-result）。
   ===================================================================== */

/* 結果値・内訳はタブ幅数字で桁を揃える */
.sg-result__value,
.sg-result-row__value {
  font-variant-numeric: tabular-nums;
}

/* 補助ラベルを入力直下に詰める */
.sg-field .sg-help {
  margin-top: var(--sg-space-1);
}

/* 入力側と一致する単位の行を強調 */
.sg-result-row.is-source {
  font-weight: 600;
  color: var(--sg-primary, #3b5bdb);
}

/* 風力階級の行を少し区切る */
.sg-result-row.is-beaufort {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--sg-border, #e5e7eb);
  font-weight: 600;
}

/* ビューフォート風力階級 早見表 */
.sg-scale-table {
  display: flex;
  flex-direction: column;
}
.sg-scale-row {
  padding: 8px 0;
  border-bottom: 1px solid var(--sg-border, #e5e7eb);
}
.sg-scale-row:last-child {
  border-bottom: 0;
}
.sg-scale-row__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
}
.sg-scale-row__grade {
  font-weight: 600;
  min-width: 4.5em;
}
.sg-scale-row__name {
  font-weight: 600;
  color: var(--sg-primary, #3b5bdb);
}
.sg-scale-row__range {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  color: var(--sg-muted, #777);
}
.sg-scale-row__feel {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--sg-muted, #777);
}
