.reveal .compact-table table {
  font-size: 1em;
  margin: 0 auto 0.5em;
  table-layout: fixed;
  width: 100%;
}

.reveal .compact-table .table-header {
  border-bottom: 1px solid var(--clean-line);
  display: grid;
  font-weight: 700;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0.28em;
  padding: 0.3em 0.48em;
  text-align: center;
}

.reveal .compact-table table thead {
  display: none;
}

.reveal figcaption.quarto-uncaptioned {
  display: none;
}

.reveal .compact-table table th,
.reveal .compact-table table td {
  padding: 0.3em 0.48em;
  text-align: center;
  vertical-align: top;
}

.reveal .rate-table table th:first-child,
.reveal .rate-table table td:first-child {
  width: 25%;
}

.reveal .path-table table {
  font-size: 1em;
}

.reveal .path-table table th:first-child,
.reveal .path-table table td:first-child {
  width: 18%;
}

.reveal .discount-allocation-table table th,
.reveal .discount-allocation-table table td {
  padding-bottom: 0.08em;
  padding-top: 0.08em;
}

.reveal .policy-options li {
  margin-bottom: 0.12em;
}

.reveal .equation-box {
  background: var(--clean-surface-soft);
  border: 1px solid var(--clean-line);
  border-left: 5px solid var(--clean-accent);
  border-radius: 8px;
  margin: 0.4em auto;
  padding: 0.25em 0.65em;
  width: 82%;
}

.reveal .equation-box p {
  margin: 0.12em 0;
  text-align: center;
}

.reveal .concept-strip {
  display: grid;
  gap: 0.55em;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0.45em 0;
}

.reveal .concept-strip > div {
  background: var(--clean-surface-soft);
  border: 1px solid var(--clean-line);
  border-radius: 8px;
  padding: 0.48em 0.58em;
}

.reveal .concept-strip strong {
  color: var(--clean-heading);
}

.reveal .takeaway {
  background: var(--clean-surface-soft);
  border: 1px solid var(--clean-line);
  border-left: 5px solid var(--clean-accent);
  border-radius: 8px;
  margin: 0.5em auto;
  padding: 0.48em 0.68em;
}

.reveal .takeaway p {
  margin: 0;
}

.reveal .plot-sequence {
  display: grid;
}

.reveal .plot-sequence > .plot-stage {
  align-self: start;
  grid-area: 1 / 1;
  width: 100%;
}

.reveal .plot-sequence .cell,
.reveal .plot-sequence .cell-output-display,
.reveal .plot-sequence figure {
  margin-bottom: 0;
  margin-top: 0;
}

.reveal .jordan-mining-image {
  border-radius: 8px;
  display: block;
  margin: 0.35em auto 0;
  max-height: 64vh;
  object-fit: contain;
  width: 100%;
}

.reveal .neodymium-model-setup {
  column-gap: 1.1em;
}

.reveal .neodymium-model-setup li {
  margin-bottom: 0.12em;
}

.reveal .neodymium-model-image {
  border-radius: 8px;
  display: block;
  margin: 0.2em auto 0;
  max-height: 64vh;
  object-fit: cover;
  width: 100%;
}

.reveal .plot-72 img.quarto-figure,
.reveal .plot-72 .cell-output-display img {
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
  max-height: 58vh;
  object-fit: contain;
  width: 72% !important;
}

.reveal .plot-64 img.quarto-figure,
.reveal .plot-64 .cell-output-display img {
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
  max-height: 51vh;
  object-fit: contain;
  width: 64% !important;
}

.reveal .plot-82 img.quarto-figure,
.reveal .plot-82 .cell-output-display img {
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
  max-height: 60vh;
  object-fit: contain;
  width: 82% !important;
}

@media (max-width: 900px) {
  .reveal .concept-strip {
    grid-template-columns: 1fr;
  }
}
