/* =====================================================================
   style.css — 原稿用紙の枚数 ツール固有の微調整のみ。
   共通スタイルは /_shared/shirugear.css に任せる。
   ===================================================================== */

/* 入力欄はリサイズ可・等幅寄りで貼り付けやすく */
#in-text {
  min-height: 180px;
  resize: vertical;
  line-height: 1.7;
}

/* チェックボックス行 */
.sg-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  cursor: pointer;
}
.sg-check input {
  width: 1.05em;
  height: 1.05em;
}

/* 結果グリッド */
.mpc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.mpc-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 14px 10px;
  border: 1px solid var(--sg-border, #e5e7eb);
  border-radius: 10px;
  text-align: center;
}
.mpc-cell--main {
  border-color: var(--sg-primary, #3b5bdb);
  background: color-mix(in srgb, var(--sg-primary, #3b5bdb) 6%, transparent);
}
.mpc-cell__label {
  font-size: 0.8rem;
  color: var(--sg-muted, #777);
}
.mpc-cell__value {
  font-size: 1.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.mpc-cell--main .mpc-cell__value {
  color: var(--sg-primary, #3b5bdb);
}
.mpc-cell__unit {
  font-size: 0.8rem;
  color: var(--sg-muted, #777);
}
