.basic-math-topic .basic-statistics-section .study-table-wrap table { min-width: 820px; table-layout: fixed; }
.basic-math-topic .basic-statistics-section .study-table-wrap th:nth-child(1) { width: 12%; }
.basic-math-topic .basic-statistics-section .study-table-wrap th:nth-child(2) { width: 35%; }
.basic-math-topic .basic-statistics-section .study-table-wrap th:nth-child(3) { width: 20%; }
.basic-math-topic .basic-statistics-section .study-table-wrap th:nth-child(4) { width: 33%; }
.basic-math-topic .basic-statistics-section .study-table-wrap th,
.basic-math-topic .basic-statistics-section .study-table-wrap td { padding: .55rem .65rem; line-height: 1.65; }
.basic-math-topic .basic-statistics-section td .math-inline,
.basic-math-topic .basic-statistics-section td .math-inline mjx-container { max-width: none; overflow: visible; }
.basic-math-topic .ce-intuition-table table { table-layout: fixed; }
.basic-math-topic .ce-intuition-table th:nth-child(1) { width: 30%; }
.basic-math-topic .ce-intuition-table th:nth-child(2) { width: 28%; }
.basic-math-topic .ce-intuition-table th:nth-child(3) { width: 42%; }
.basic-math-topic .information-theory-overview table,
.basic-math-topic .rl-formula-table table { table-layout: fixed; }
.basic-math-topic .information-theory-overview th:nth-child(1) { width: 17%; }
.basic-math-topic .information-theory-overview th:nth-child(2) { width: 18%; }
.basic-math-topic .information-theory-overview th:nth-child(3) { width: 32%; }
.basic-math-topic .information-theory-overview th:nth-child(4) { width: 33%; }
.basic-math-topic .information-theory-example table { min-width: 680px; table-layout: fixed; }
.basic-math-topic .information-theory-example th:nth-child(1) { width: 24%; }
.basic-math-topic .information-theory-example th:nth-child(2) { width: 61%; }
.basic-math-topic .information-theory-example th:nth-child(3) { width: 15%; }
.basic-math-topic .information-theory-overview td .math-inline,
.basic-math-topic .information-theory-overview td .math-inline mjx-container,
.basic-math-topic .information-theory-example td .math-inline,
.basic-math-topic .information-theory-example td .math-inline mjx-container { max-width: none; overflow: visible; }

.basic-math-topic :is(.information-theory-overview, .rl-formula-table) {
  container-type: inline-size;
  margin: .7rem 0;
  overflow-wrap: anywhere;
}
.basic-math-topic :is(.information-theory-overview, .rl-formula-table) :is(th, td) { padding: .4rem .55rem; }
.basic-math-topic .rl-formula-table th:nth-child(1) { width: 13%; }
.basic-math-topic .rl-formula-table th:nth-child(2) { width: 39%; }
.basic-math-topic .rl-formula-table th:nth-child(3) { width: 27%; }
.basic-math-topic .rl-formula-table th:nth-child(4) { width: 21%; }
.basic-math-topic .rl-formula-notation li { margin-block: .2rem; }

@media (max-width: 700px) {
  .basic-math-topic .study-article :is([id="3-information-theory"], [id="4-rl"], [id="5-softmax-stability-tricks"]) {
    scroll-margin-top: 10rem;
  }
}

@container (max-width: 690px) {
  .basic-math-topic :is(.information-theory-overview, .rl-formula-table) :is(table, tbody, tr, td) {
    display: block;
  }
  .basic-math-topic :is(.information-theory-overview, .rl-formula-table) thead {
    position: absolute;
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
  .basic-math-topic :is(.information-theory-overview, .rl-formula-table) tbody tr {
    margin-bottom: .55rem;
    border: 1px solid var(--study-line);
    border-radius: 6px;
  }
  .basic-math-topic :is(.information-theory-overview, .rl-formula-table) td { border: 0; }
  .basic-math-topic :is(.information-theory-overview, .rl-formula-table) td:first-child {
    background: var(--study-panel);
  }
  .basic-math-topic :is(.information-theory-overview, .rl-formula-table) td:not(:first-child)::before {
    display: block;
    color: var(--study-muted);
    content: attr(data-label);
    font-size: .75rem;
    font-weight: 650;
  }
}
