:root {
            /* Algebra Rose Theme */
            --color-rose: #f43f5e;
            --color-rose-glow: rgba(244, 63, 94, 0.35);
            --color-accent: #f43f5e;
            --color-accent-glow: rgba(244, 63, 94, 0.35);

            --color-line1: #38bdf8; /* Cyan for Line 1 */
            --color-line2: #ffb000; /* Amber for Line 2 */
            --color-intersect: #a855f7; /* Purple for intersection */
        }

        .sidebar-drawer .syllabus-item.active a {
            background: var(--color-rose) !important;
            box-shadow: 0 4px 20px var(--color-rose-glow) !important;
        }

        section {
            margin-bottom: 6rem;
            scroll-margin-top: 2rem;
        }

        .section-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 1.75rem;
        }

        .section-tag {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.8rem;
            color: var(--color-rose);
            background: rgba(244, 63, 94, 0.1);
            padding: 4px 10px;
            border-radius: 6px;
            border: 1px solid rgba(244, 63, 94, 0.2);
            text-shadow: 0 0 5px var(--color-rose-glow);
        }

        .section-header h2 {
            font-size: 1.75rem;
            font-weight: 700;
        }

        .section-intro {
            color: var(--text-muted);
            margin-bottom: 2rem;
            line-height: 1.6;
            font-size: 1rem;
            max-width: 850px;
        }

        .equation-box {
            font-family: 'Outfit', sans-serif;
            font-size: 1.25rem;
            font-weight: 700;
            text-align: center;
            padding: 1.25rem;
            background: rgba(255, 255, 255, 0.015);
            border-radius: 16px;
            border: 1px dashed rgba(255, 255, 255, 0.06);
            margin-bottom: 1.5rem;
            color: var(--text-color);
            line-height: 1.8;
        }

        .slider-group {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .slider-row {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .slider-label {
            display: flex;
            justify-content: space-between;
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--text-muted);
        }

        .slider-row input[type="range"] {
            -webkit-appearance: none;
            width: 100%;
            height: 6px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 3px;
            outline: none;
            margin: 8px 0;
        }

        .slider-row.l1 input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: var(--color-line1);
            cursor: pointer;
            box-shadow: 0 0 6px var(--color-line1);
        }
        .slider-row.l2 input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: var(--color-line2);
            cursor: pointer;
            box-shadow: 0 0 6px var(--color-line2);
        }

        .formula-steps {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 12px;
            padding: 1.25rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.85rem;
            line-height: 1.6;
            color: var(--text-color);
            border: 1px solid var(--card-border);
        }

        .math-symbol {
            font-style: italic;
        }

        .quiz-option {
            background: rgba(255, 255, 255, 0.015);
            border: 1px solid var(--card-border);
            border-radius: 12px;
            padding: 1rem 1.25rem;
            margin-bottom: 0.75rem;
            cursor: pointer;
            transition: all var(--transition-speed) ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .quiz-option:hover {
            background: rgba(255, 255, 255, 0.04);
            border-color: rgba(255, 255, 255, 0.1);
            transform: translateX(4px);
        }

        .quiz-option.correct {
            background: rgba(16, 185, 129, 0.08);
            border-color: rgba(16, 185, 129, 0.3);
            color: #10b981;
        }

        .quiz-option.incorrect {
            background: rgba(244, 63, 94, 0.08);
            border-color: rgba(244, 63, 94, 0.3);
            color: #f43f5e;
        }

        .quiz-feedback {
            margin-top: 1rem;
            padding: 1rem;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--card-border);
            font-size: 0.9rem;
            line-height: 1.5;
            display: none;
        }

        .canvas-label {
            position: absolute;
            top: 10px;
            left: 10px;
            background: rgba(0, 0, 0, 0.6);
            color: var(--text-color);
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-family: 'JetBrains Mono', monospace;
            border: 1px solid var(--card-border);
            pointer-events: none;
            z-index: 10;
        }

        .state-banner {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 12px;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 1rem;
            width: fit-content;
        }
        .state-banner.unique {
            color: #38bdf8;
            background: rgba(56, 189, 248, 0.1);
            border: 1px solid rgba(56, 189, 248, 0.2);
        }
        .state-banner.parallel {
            color: #f43f5e;
            background: rgba(244, 63, 94, 0.1);
            border: 1px solid rgba(244, 63, 94, 0.2);
        }
        .state-banner.coincident {
            color: #ffb000;
            background: rgba(255, 176, 0, 0.1);
            border: 1px solid rgba(255, 176, 0, 0.2);
        }
        
        .matrix {
            display: inline-flex;
            align-items: center;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.95rem;
            margin: 0.5rem 0;
            vertical-align: middle;
        }
        .matrix-brackets {
            border-left: 2px solid var(--text-color);
            border-right: 2px solid var(--text-color);
            padding: 0 6px;
            display: flex;
            flex-direction: column;
            text-align: center;
        }