/* =====================================================================
   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-hr {
  border: none;
  border-top: 1px solid var(--sg-border, #e5e7eb);
  margin: var(--sg-space-4) 0;
}

/* 判定の可否カラー（総合判定・各内訳） */
.sg-result__value.is-ok {
  color: var(--sg-success, #2f9e44);
}
.sg-result__value.is-ng {
  color: var(--sg-danger, #e03131);
}
.sg-result-row__value.is-ng {
  color: var(--sg-danger, #e03131);
  font-weight: 600;
}

/* 代表的な基準の早見テーブル（静的・目安） */
.cl-reference__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 var(--sg-space-2, 8px);
  color: var(--sg-fg, #1a2230);
}
.cl-table-wrap {
  margin: var(--sg-space-3, 12px) 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cl-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 460px;
  font-size: 0.9rem;
}
.cl-table th,
.cl-table td {
  border: 1px solid var(--sg-border, #dde2ec);
  padding: var(--sg-space-2, 8px) var(--sg-space-3, 12px);
  text-align: left;
  vertical-align: top;
}
.cl-table thead th {
  background: var(--sg-surface-2, #f7f9fd);
  font-weight: 600;
  white-space: nowrap;
}
.cl-table tbody th {
  font-weight: 600;
  color: var(--sg-fg, #1a2230);
}
.cl-table td {
  color: var(--sg-muted, #5a6573);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* スーツケースの代表サイズ例プリセット（入力補助・目安） */
.cl-presets {
  margin-top: var(--sg-space-4, 16px);
}
.cl-preset-btns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sg-space-2, 8px);
  margin-top: var(--sg-space-2, 8px);
}
.cl-preset {
  appearance: none;
  cursor: pointer;
  border: 1px solid var(--sg-border, #dde2ec);
  background: var(--sg-surface-2, #f7f9fd);
  color: var(--sg-fg, #1a2230);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.cl-preset:hover {
  background: var(--sg-surface, #fff);
  border-color: var(--sg-accent, #3b5bdb);
}
.cl-preset:active {
  background: var(--sg-surface-2, #eef2fb);
}
.cl-preset:focus-visible {
  outline: 2px solid var(--sg-accent, #3b5bdb);
  outline-offset: 2px;
}
