/* =====================================================================
   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);
}

/* 子どもリスト */
.ca-children {
  display: flex;
  flex-direction: column;
  gap: var(--sg-space-3, 12px);
}

.ca-child {
  border: 1px solid var(--sg-border, #e5e7eb);
  border-radius: var(--sg-radius, 8px);
  padding: 12px 12px 8px;
}

.ca-child__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ca-child__title {
  font-size: 0.9rem;
  font-weight: 600;
}

.ca-remove {
  border: 1px solid var(--sg-border, #e5e7eb);
  background: transparent;
  color: var(--sg-muted, #777);
  border-radius: var(--sg-radius, 8px);
  padding: 4px 10px;
  font-size: 0.8rem;
  cursor: pointer;
}
.ca-remove:hover {
  color: #c92a2a;
  border-color: #c92a2a;
}
.ca-remove[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.ca-actions {
  margin-top: var(--sg-space-4, 16px);
}

.ca-add {
  width: 100%;
  padding: 10px 12px;
  border: 1px dashed var(--sg-primary, #3b5bdb);
  background: rgba(59, 91, 219, 0.06);
  color: var(--sg-primary, #3b5bdb);
  border-radius: var(--sg-radius, 8px);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}
.ca-add:hover {
  background: rgba(59, 91, 219, 0.12);
}
