/* Model Monitoring Tutorial Styles */
.toc-container { background: var(--bs-tertiary-bg, #f8f9fa); border-radius: 8px; padding: 20px 30px; border-left: 4px solid #d32f2f; }
.toc-container h5 { color: #d32f2f; }
.toc-container a { text-decoration: none; color: inherit; }
.toc-container a:hover { color: #d32f2f; }

.key-concept { background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%); border-radius: 8px; padding: 20px; margin: 20px 0; border-left: 4px solid #d32f2f; }
[data-bs-theme='dark'] .key-concept { background: linear-gradient(135deg, #b71c1c 0%, #c62828 100%); }
.key-concept h5 { color: #b71c1c; }
[data-bs-theme='dark'] .key-concept h5 { color: #ef9a9a; }

.formula-box, .concept-box { background: var(--bs-tertiary-bg, #fff); border: 1px solid var(--bs-border-color); border-radius: 8px; padding: 20px; height: 100%; }
.formula-box h5, .concept-box h5 { color: #b71c1c; border-bottom: 2px solid #d32f2f; padding-bottom: 10px; margin-bottom: 15px; }
.concept-box.highlight-box { border: 2px solid #d32f2f; background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%); }
[data-bs-theme='dark'] .concept-box.highlight-box { background: linear-gradient(135deg, #b71c1c 0%, #c62828 100%); }

.interview-tip { background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%); border-radius: 8px; padding: 20px; border-left: 4px solid #1976d2; }
[data-bs-theme='dark'] .interview-tip { background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%); }
.interview-tip h5 { color: #0d47a1; }
[data-bs-theme='dark'] .interview-tip h5 { color: #90caf9; }

.visualization-container { background: var(--bs-tertiary-bg, #fff); border: 1px solid var(--bs-border-color); border-radius: 8px; padding: 25px; }
.plot-wrapper { display: flex; justify-content: center; align-items: center; min-height: 300px; }

.tip-box { border-radius: 8px; padding: 20px; height: 100%; }
.tip-do { background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%); border-left: 4px solid #4caf50; }
.tip-do h5 { color: #2e7d32; }
.tip-dont { background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%); border-left: 4px solid #ff9800; }
.tip-dont h5 { color: #e65100; }

.accordion-button:not(.collapsed) { background-color: #ffebee; color: #b71c1c; }
[data-bs-theme='dark'] .accordion-button:not(.collapsed) { background-color: #b71c1c; color: #ef9a9a; }

pre { background: #282c34; border-radius: 8px; padding: 15px; overflow-x: auto; }
pre code { color: #abb2bf; font-size: 0.9em; }

/* Drift visualization */
.reference-dist { fill: #2196f3; fill-opacity: 0.4; stroke: #2196f3; stroke-width: 2; }
.current-dist { fill: #f44336; fill-opacity: 0.4; stroke: #f44336; stroke-width: 2; }
