/* =====================================================================
   style.css — SI接頭辞の変換 ツール固有の微調整のみ。
   共通スタイルは /_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);
}

/* SI接頭辞 早見表 */
.sg-prefix-table {
  display: flex;
  flex-direction: column;
}
.sg-prefix-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sg-space-3, 12px);
  padding: 6px 0;
  border-bottom: 1px solid var(--sg-border, #e5e7eb);
}
.sg-prefix-row:last-child {
  border-bottom: 0;
}
.sg-prefix-row__name {
  font-weight: 600;
}
.sg-prefix-row__pow {
  font-variant-numeric: tabular-nums;
  color: var(--sg-muted, #777);
}
