/* ai-cost-accounting 記事固有の最小補正（method-fig.css の次に読み込む） */
/* 1) 本文 figure 内の .mf-flow が main.css / method-fig.css の li リセットに負けるのを戻す */
.article-section .mf .mf-flow > li {
  padding: 16px 16px 18px; border: 1px solid var(--mf-line); border-right: 0;
  counter-increment: mff; font-size: 12.5px; line-height: 1.7; color: var(--mf-ink-2);
}
.article-section .mf .mf-flow > li:last-child { border-right: 1px solid var(--mf-line); }
.article-section .mf .mf-flow > li.is-key { border-color: var(--mf-navy); color: #E6E9F0; }
/* 本文 ol の番号擬似要素（main.css）が図内 flow に重なるのを消す */
.article-section .mf .mf-flow > li::before { content: none !important; display: none !important; }
/* 2) 判断マトリクス表の列幅（短い列の1文字折返しを防ぐ） */
.acx-matrix { table-layout: fixed; }
.acx-matrix col.c-lv { width: 17%; }
.acx-matrix col.c-ax { width: 15%; }
.acx-matrix tbody th { white-space: normal; width: auto; }
@media (max-width: 720px) {
  .article-section .mf .mf-flow > li { border-right: 1px solid var(--mf-line); border-bottom: 0; }
  .article-section .mf .mf-flow > li:last-child { border-bottom: 1px solid var(--mf-line); }
  .acx-matrix { table-layout: auto; }
  /* 3) 縦積み表で caption が1文字幅に潰れるのを防ぐ */
  .article-section .mf .mf-table--stack caption { display: block; width: 100%; }
  /* 4) 縦積み表の行見出しが 22% 幅のまま残るのを全幅に戻す */
  .article-section .mf .mf-table--stack tbody th { width: 100%; }
}
