/* =====================================================================
   style.css — 点滴の滴下数計算 ツール固有の微調整のみ。
   共通スタイルは /_shared/shirugear.css に任せる（結果表示は sg-result）。
   ===================================================================== */

/* モード切替 */
.sg-modes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: var(--sg-space-1, 4px);
}
.sg-mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.95rem;
}

/* 数値＋単位の横並び */
.sg-inline {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.sg-inline .sg-input:first-child {
  flex: 1 1 auto;
}
.sg-select {
  flex: 0 0 auto;
  width: auto;
}

/* YMYL 注意書き */
.sg-disclaimer {
  margin: var(--sg-space-3, 12px) 0 var(--sg-space-4, 16px);
  padding: 12px 14px;
  border: 1px solid var(--sg-border, #e5e7eb);
  border-left: 4px solid #e8590c;
  border-radius: 8px;
  background: var(--sg-card-bg, #fff);
  line-height: 1.75;
  font-size: 0.9rem;
}
.sg-disclaimer-mini {
  margin-top: 8px;
  color: var(--sg-muted, #777);
}

/* 結果の補助行（10秒あたり / 合計分） */
.sg-result__sub {
  margin-top: 4px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--sg-muted-fg, #555);
}

/* 計算式 */
.sg-formula {
  margin-top: var(--sg-space-3, 12px);
  padding-top: var(--sg-space-3, 12px);
  border-top: 1px solid var(--sg-border, #e5e7eb);
  font-size: 0.9rem;
  line-height: 1.7;
}
.sg-formula__line {
  margin: 2px 0;
  color: var(--sg-muted-fg, #555);
  word-break: break-word;
}

/* 早見メモ */
.sg-chart {
  display: flex;
  flex-direction: column;
}
.sg-chart-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--sg-border, #e5e7eb);
}
.sg-chart-row__key {
  flex: 0 0 4.5em;
  font-weight: 600;
}
.sg-chart-row__val {
  flex: 1 1 auto;
  color: var(--sg-muted, #555);
}
