/* =====================================================================
   style.css — cron式ビルダー ツール固有の微調整のみ。
   共通スタイルは /_shared/shirugear.css に任せる（結果表示は sg-result）。
   ===================================================================== */

/* フィールド編集の並び */
.cb-builder {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: var(--sg-space-1, 4px);
}
.cb-field {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--sg-border, #e5e7eb);
}
.cb-field__name {
  flex: 0 0 3em;
  font-weight: 600;
}
.cb-field__controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.cb-field__controls .sg-select {
  min-width: 9em;
}
.cb-field__controls .cb-num {
  width: 5em;
}
.cb-field__controls .cb-in-list {
  width: 11em;
}
.cb-dash {
  color: var(--sg-muted, #777);
}

/* cron式の出力を等幅で見やすく */
#cron-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
  word-break: break-word;
}

/* エラー表示 */
.cb-error {
  margin-top: var(--sg-space-2, 8px);
  color: var(--sg-danger, #c0392b);
  font-size: 0.9rem;
  font-weight: 600;
}

/* 説明 */
.cb-explain__text {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0.2em 0 0;
}

/* 直近の実行予定 */
.cb-next__list {
  margin: 0.3em 0 0;
  padding-left: 1.4em;
  line-height: 1.9;
}
.cb-next__list li {
  font-variant-numeric: tabular-nums;
}

/* 早見表（nato-phonetic 準拠の最小スタイル） */
.sg-chart {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2px 16px;
}
.sg-chart-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid var(--sg-border, #e5e7eb);
}
.sg-chart-row__key {
  flex: 0 0 3em;
  font-weight: 600;
}
.sg-chart-row__val {
  flex: 1 1 auto;
  color: var(--sg-muted, #555);
}
