/* list-table の :widths: を有効にする（table-layout: auto が col 幅を無視するため） */
.rst-content table.docutils {
  table-layout: fixed;
  width: 100%;
}

/* fixed レイアウトでセルからはみ出さないよう折り返しを許可 */
.rst-content table.docutils td,
.rst-content table.docutils th {
  overflow-wrap: anywhere !important;
  word-break: break-all !important;
}

/*
 * white-space: nowrap が word-break より優先されるため、
 * セル内の全子孫要素（span.pre を含む）に normal を強制する。
 * basic.css の span.pre { white-space: nowrap } を上書き。
 */
.rst-content table.docutils td *,
.rst-content table.docutils th * {
  white-space: normal !important;
}
