.ai-llm-scope .lesson-content { width: 100%; min-width: 0; }
.ai-llm-scope .nn-lab { min-width: 0; }
:root[data-theme="dark"] .ai-llm-scope .nn-lab { --nn-chart-green: #80c9a3; }
.ai-llm-scope .nn-chart-wrap { height: 300px; width: 100%; margin-top: 22px; }
.ai-llm-scope .nn-chart-wrap canvas { width: 100%; height: 100%; display: block; }
.ai-llm-scope .nn-chart-pair { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; margin-top: 24px; }
.ai-llm-scope .nn-chart-pair .nn-chart-wrap { height: 250px; margin-top: 4px; }
.ai-llm-scope .nn-chart-label { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); }
.ai-llm-scope .nn-matrices { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 18px; }
.ai-llm-scope .nn-matrices .mf-table { font-family: var(--mono); font-size: 12px; }
.ai-llm-scope .nn-focus-row td { background: var(--accent-wash); color: var(--accent-deep); }
.ai-llm-scope .nn-test-result { color: var(--ink-soft); font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.ai-llm-scope .mf-controls input:disabled { opacity: .55; cursor: not-allowed; }
.ai-llm-scope .mf-formula { letter-spacing: 0; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .ai-llm-scope .nn-chart-pair,.ai-llm-scope .nn-matrices { grid-template-columns: minmax(0,1fr); }
  .ai-llm-scope .nn-chart-pair { gap: 24px; }
}
