﻿/* Worked assignments keep equations, explanations, and answers easy to scan. */
.output-preview .calculation-equation { padding: 10px 12px; margin: 12px 0; background: #f4f7fb; border: 1px solid #dbe5ef; border-radius: 10px; overflow-x: auto; }
.output-preview .katex-display { margin: .6em 0; overflow-x: auto; overflow-y: hidden; padding: 5px 0; }
.output-preview .katex { font-size: 1.12em; }
.output-preview .calculation-final { color: #174c39; border-left: 4px solid #278360; padding: 10px 14px; background: #edf8f1; border-radius: 0 8px 8px 0; }
.output-preview .calculation-table { overflow-x: auto; margin: 16px 0; border: 1px solid #d5dfeb; border-radius: 10px; }
.output-preview .calculation-table table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.output-preview .calculation-table th, .output-preview .calculation-table td { padding: 10px 14px; border-bottom: 1px solid #e2e8ef; text-align: left; white-space: nowrap; }
.output-preview .calculation-table th { background: #eef3f9; font-weight: 700; }
.output-preview .calculation-table tr:last-child td { border-bottom: 0; }
.output-preview .calculation-table:focus-visible { outline: 3px solid #c99745; outline-offset: 2px; }
