@scope (#original-content) {

        .linear-functions-container h2 {
            font-size: 1.8rem !important;
            color: #2c3e50 !important;
            border-bottom: 2px solid #27ae60 !important;
            padding-bottom: 0.5rem !important;
            margin-top: 0 !important;
            text-align: center !important;
        }
        .linear-functions-container h3 {
            font-size: 1.4rem !important;
            color: #34495e !important;
            margin-top: 2.5rem !important;
        }
        .linear-functions-container p {
            font-size: 1rem !important;
            line-height: 1.6 !important;
            color: #555 !important;
        }
        .linear-functions-container .example-box {
            background-color: #ffffff !important;
            border: 1px solid #ecf0f1 !important;
            border-left: 5px solid #27ae60 !important;
            padding: 1.5rem !important;
            margin-top: 1rem !important;
            border-radius: 8px !important;
        }
        .linear-functions-container .interactive-form {
            display: flex !important;
            flex-wrap: wrap !important;
            gap: 1rem !important;
            align-items: center !important;
            justify-content: center !important;
            margin-top: 1rem !important;
        }
        .linear-functions-container input[type="number"] {
            padding: 0.6rem !important;
            border: 1px solid #bdc3c7 !important;
            border-radius: 6px !important;
            font-size: 1rem !important;
            width: 80px !important;
            text-align: center !important;
        }
        .linear-functions-container button {
            padding: 0.7rem 1.2rem !important;
            border: none !important;
            border-radius: 6px !important;
            background-color: #27ae60 !important;
            color: white !important;
            font-size: 1rem !important;
            font-weight: bold !important;
            cursor: pointer !important;
        }
        .linear-functions-container button:hover {
            background-color: #2ecc71 !important;
            transform: translateY(-2px) !important;
        }
        .linear-functions-container .result-box {
            margin-top: 1rem !important; padding: 1rem !important; border-radius: 6px !important; font-size: 1.1rem !important; font-weight: bold !important; background-color: #ecf0f1 !important; display: none !important; animation: fadeIn 0.5s ease-in-out !important;
        }
        .linear-functions-container .result-box.success { background-color: #e8f9f3 !important; color: #1abc9c !important; }
        .linear-functions-container .result-box.error { background-color: #fbeae5 !important; color: #e74c3c !important; }
        .linear-functions-container .result-box .explanation { font-weight: normal !important; font-size: 0.95rem !important; margin-top: 0.5rem !important; color: #34495e !important; }
        .linear-functions-container code { background-color: #e4e7e9 !important; padding: 0.2rem 0.4rem !important; border-radius: 4px !important; font-family: 'Courier New', Courier, monospace !important; }
        
        .practice-gate {
            text-align: center !important; margin: 3rem 0 !important; padding: 2rem !important; background-color: #e8f8f5 !important; border-radius: 8px !important;
        }
        .practice-gate h3 { margin-top: 0 !important; color: #16a085 !important; }
        .practice-gate-buttons { display: flex !important; justify-content: center !important; gap: 1.5rem !important; flex-wrap: wrap !important; }
        .practice-gate-buttons .practice-btn { padding: 0.8rem 1.5rem !important; font-size: 1.1rem !important; min-width: 200px !important; }
        .practice-btn.flashcard-btn { background-color: #3498db !important; }
        .practice-btn.quiz-btn { background-color: #e67e22 !important; }
        
        #funcPracticeArea, #funcFlashcardSection, #funcQuizSection { display: none !important; }

        .func-flashcard-section-wrapper { display: flex !important; flex-direction: column !important; align-items: center !important; }
        .func-flashcard-container { perspective: 1000px !important; width: 320px !important; height: 200px !important; cursor: pointer !important; margin-bottom: 1rem !important; }
        .func-flashcard { width: 100% !important; height: 100% !important; position: relative !important; transform-style: preserve-3d !important; transition: transform 0.6s !important; }
        .func-flashcard.is-flipped { transform: rotateY(180deg) !important; }
        .func-flashcard-face { position: absolute !important; width: 100% !important; height: 100% !important; backface-visibility: hidden !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; text-align: center !important; padding: 1rem !important; font-size: 1.2rem !important; border-radius: 10px !important; box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important; }
        .func-flashcard-front { background: #fff !important; border: 1px solid #3498db !important; color: #2c3e50 !important; }
        .func-flashcard-back { background: #3498db !important; color: white !important; transform: rotateY(180deg) !important; }
        .func-flashcard-nav { display: flex !important; justify-content: center !important; align-items: center !important; gap: 1.5rem !important; width: 100% !important; }
        #funcFlashcardCounter { color: #555 !important; font-size: 1rem !important; font-weight: bold !important; }
        
        .func-quiz-container { margin-top: 1rem !important; background-color: #fff !important; padding: 1.5rem !important; border-radius: 8px !important; border: 1px solid #ecf0f1 !important;}
        .func-quiz-question p { font-weight: bold !important; color: #34495e !important; }
        .func-quiz-options label { display: block !important; margin: 0.5rem 0 !important; padding: 0.75rem !important; border: 1px solid #bdc3c7 !important; border-radius: 6px !important; cursor: pointer !important; }
        .func-quiz-options label:hover { background-color: #f7f9f9 !important; }
        #funcQuizSubmitButton { background-color: #e67e22 !important; margin-top: 1rem !important; width: 100% !important; }

        @keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
    
}
