/* =====================================================================
   style.css — 献血の次回可能日 ツール固有の微調整のみ。
   共通スタイルは /_shared/shirugear.css に任せる（結果表示は sg-result）。
   ===================================================================== */

/* 種類・性別の選択 */
.sg-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: var(--sg-space-1, 4px);
}
.sg-mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.95rem;
}

/* 結果の補足行（種類・性別・間隔） */
.sg-result__sub {
  margin-top: var(--sg-space-1, 4px);
  color: var(--sg-muted, #555);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* 種類別の間隔・次回可能日の一覧 */
.sg-chart {
  display: flex;
  flex-direction: column;
}
.sg-chart-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--sg-border, #e5e7eb);
}
.sg-chart-row__key {
  flex: 0 0 auto;
  font-weight: 600;
}
.sg-chart-row__key--wide {
  flex: 0 0 12em;
}
.sg-chart-row__val {
  flex: 1 1 auto;
  color: var(--sg-muted, #555);
  word-break: break-word;
}

/* YMYL 注意カード（健康）を少し目立たせる */
.sg-ymyl {
  border-left: 4px solid var(--sg-accent, #3b5bdb);
}

@media (max-width: 520px) {
  .sg-chart-row {
    flex-direction: column;
    gap: 2px;
  }
  .sg-chart-row__key--wide {
    flex: 0 0 auto;
  }
}
