/* ML SWE Interview Concept Review — shared chapter polish */
.main-content.mip-prep-root {
    max-width: 900px;
    margin-inline: auto;
}

.mip-chapter .section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.mip-chapter .section-nav button {
    cursor: pointer;
    border: 1px solid var(--tutorial-border-soft, #d1d5db);
    padding: 0.45rem 0.85rem;
    border-radius: 6px;
    background: white;
}

.mip-chapter .section-nav button.active {
    background: #4f46e5;
    color: white;
    border-color: #4f46e5;
}

.content-section.active {
    display: block !important;
}

.mip-deepen {
    border-left: 4px solid #4f46e5;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    background: #f8fafc;
    border-radius: 0 8px 8px 0;
}

.mip-deepen h3 {
    margin-top: 0;
}

.mip-pitfalls {
    border-left: 4px solid #b45309;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    background: #fffbeb;
    border-radius: 0 8px 8px 0;
}

.quiz-container .check-answer-btn,
.quiz-container .quiz-check-btn {
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
}
