:root {
            /* Theme Color: Amber & Teal Override */
            --color-amber: #ffb000;
            --color-amber-glow: rgba(255, 176, 0, 0.35);
            --color-teal: #14b8a6;
            --color-teal-glow: rgba(20, 184, 166, 0.35);
            --color-accent: #ffb000;
            --color-accent-glow: rgba(255, 176, 0, 0.35);
        }

        .sidebar-drawer .syllabus-item.active a {
            background: var(--color-accent) !important;
            box-shadow: 0 4px 20px var(--color-accent-glow) !important;
            color: var(--bg-color) !important;
        }

        .sidebar-drawer .syllabus-item.active a .syllabus-title {
            color: var(--bg-color) !important;
        }

        .sidebar-drawer .syllabus-item.active a .syllabus-desc {
            color: rgba(0, 0, 0, 0.6) !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-amber);
            background: rgba(255, 176, 0, 0.1);
            padding: 4px 10px;
            border-radius: 6px;
            border: 1px solid rgba(255, 176, 0, 0.2);
            text-shadow: 0 0 5px var(--color-amber-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: 'JetBrains Mono', monospace;
            font-size: 1.2rem;
            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);
        }

        .btn-mode {
            flex: 1;
            padding: 0.6rem;
            font-family: 'Outfit', sans-serif;
            font-weight: 600;
            background: rgba(255, 255, 255, 0.02);
            color: var(--text-muted);
            border: 1px solid var(--card-border);
            border-radius: 8px;
            cursor: pointer;
            transition: all var(--transition-speed) ease;
            font-size: 0.85rem;
            text-align: center;
        }

        .btn-mode.active {
            background: rgba(255, 176, 0, 0.15);
            color: var(--color-amber);
            border-color: rgba(255, 176, 0, 0.3);
        }

        /* Spreadsheet styling */
        .spreadsheet-container {
            width: 100%;
            overflow-x: auto;
            border: 1px solid var(--card-border);
            border-radius: 12px;
            background: rgba(0, 0, 0, 0.2);
            margin-bottom: 1.5rem;
        }

        .spreadsheet-table {
            width: 100%;
            border-collapse: collapse;
            font-family: 'Outfit', sans-serif;
            font-size: 0.88rem;
            text-align: left;
        }

        .spreadsheet-table th, .spreadsheet-table td {
            padding: 10px 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .spreadsheet-table th {
            background: rgba(255, 255, 255, 0.03);
            color: var(--text-muted);
            font-weight: 600;
            font-size: 0.78rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-bottom: 1px solid var(--card-border);
        }

        .spreadsheet-table td {
            color: var(--text-color);
        }

        .spreadsheet-table tr:hover td {
            background: rgba(255, 255, 255, 0.015);
        }

        .spreadsheet-table td.number {
            font-family: 'JetBrains Mono', monospace;
        }

        /* Control Input Group */
        .query-control-group {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 1.5rem;
            background: rgba(255, 255, 255, 0.01);
            border: 1px solid var(--card-border);
            padding: 1.25rem;
            border-radius: 12px;
        }

        .input-row {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .input-label {
            font-size: 0.82rem;
            font-weight: 600;
            color: var(--text-muted);
        }

        .select-field, .input-field {
            background: #08090d;
            border: 1px solid var(--card-border);
            border-radius: 8px;
            padding: 8px 12px;
            color: var(--text-color);
            font-family: 'Outfit', sans-serif;
            font-size: 0.85rem;
            outline: none;
            transition: all var(--transition-speed) ease;
        }

        .select-field:focus, .input-field:focus {
            border-color: var(--color-amber);
            background: rgba(255, 176, 0, 0.02);
        }

        /* Python terminal block styles */
        .terminal-block {
            background: #040508;
            border: 1px solid rgba(255, 176, 0, 0.25);
            border-radius: 12px;
            padding: 1.25rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.8rem;
            line-height: 1.6;
            color: #d1d5db;
            position: relative;
            box-shadow: 0 4px 20px rgba(0,0,0,0.5);
            margin-top: 1.5rem;
        }

        .terminal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            padding-bottom: 8px;
            margin-bottom: 10px;
            color: var(--color-amber);
            font-weight: bold;
            font-size: 0.72rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .terminal-dots {
            display: flex;
            gap: 6px;
        }

        .terminal-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
        }

        .kw { color: #f43f5e; } /* Python keywords */
        .func { color: #38bdf8; } /* Pandas APIs */
        .str { color: #10b981; } /* Strings */
        .comment { color: #6b7c93; font-style: italic; }

        /* Quiz option buttons */
        .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(20, 184, 166, 0.08);
            border-color: rgba(20, 184, 166, 0.3);
            color: var(--color-teal);
        }

        .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;
        }