/* Native diagrams use the existing course fonts, colors, and 1280 × 720 grid. */
.reveal .ffn-parameter-share { display: block; width: 100%; height: 56px; margin: 0 0 16px; border: 0; box-shadow: none; }
.reveal .position-diagram, .reveal .teaching-diagram { width: 1152px; line-height: 0; }
.reveal .position-diagram > svg, .reveal .teaching-diagram > svg { display: block; overflow: visible; }
.reveal .position-formulas { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-bottom: 14px; }
.reveal .position-formulas .katex { font-size: 1em; }
.reveal .position-controls { display: flex; align-items: center; gap: 24px; margin-top: 8px; font-size: 30px; line-height: 1.4; }
.reveal .position-controls label { display: flex; align-items: center; gap: 18px; }
.reveal .position-controls input { width: 240px; accent-color: #7550b6; font: inherit; }
.reveal .position-controls button { padding: 8px 18px; border: 1px solid #bccbd7; border-radius: 8px; background: white; color: #142e4b; font: inherit; cursor: pointer; }
.reveal .position-controls button:disabled { opacity: 0.5; cursor: default; }
.reveal .position-controls output { min-width: 2ch; font-variant-numeric: tabular-nums; }
.reveal .position-table .katex { font-size: 1em; }
.reveal .position-table th, .reveal .position-table td { padding-top: 11px; padding-bottom: 11px; }
.reveal .position-equation { margin: 18px 0; }
.reveal .position-equation .katex { font-size: 1em; }
.reveal .position-compare th, .reveal .position-compare td { padding-top: 12px; padding-bottom: 12px; }
.reveal .position-compare th:first-child { width: 25%; }
.reveal .position-compare th:not(:first-child) { width: 37.5%; }
.reveal .position-answer { color: #147d73; }
html.reveal-print .position-controls { visibility: hidden; }
@media print { .reveal .position-controls { visibility: hidden; } }
