
        :root {
            --primary-color: #2c7da0;
            --secondary-color: #a9d6e5;
            --accent-color: #01497c;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --success-color: #28a745;
            --warning-color: #ffc107;
            --math-color: #6f42c1;
            --calc-color: #e83e8c;
            --limit-exists: #198754;
            --limit-dne: #dc3545;
            --limit-undefined: #6c757d;
        }
         
        .page-header {
            background: linear-gradient(135deg, rgba(169, 214, 229, 0.4) 0%, rgba(44, 125, 160, 0.4) 100%);
            padding: 1.5rem 0;
            margin-bottom: 2rem;
            border-bottom: 1px solid rgba(44, 125, 160, 0.2);
            position: relative;
            overflow: hidden;      color: var(--text-color);
        } 
         
        .breadcrumb {
            background-color: transparent;
            padding: 0.5rem 0;
            margin-bottom: 0.5rem;
        }
        
        .breadcrumb-item a {
            color: var(--text-muted);
            text-decoration: none;
        }
        
        .breadcrumb-item.active {
            color: var(--text-color);
        }
         
        .math-input {
            font-family: 'Cambria Math', 'Latin Modern Math', STIXGeneral, serif;
            font-size: 1.1rem;
        }
        
        .input-group-text {
            background-color: var(--light-gray);
            border: 1px solid #ddd;
        }
         
        .math-result {
            padding: 12px;
            background-color: white;
            border-radius: 4px;
            border: 1px solid #eee;
            font-size: 1.1rem;
            font-family: 'Cambria Math', 'Latin Modern Math', STIXGeneral, serif;
            margin: 10px 0;
            text-align: center;
        }
        
        .math-equation {
            font-size: 1.3rem;
            padding: 15px;
            background-color: rgba(111, 66, 193, 0.05);
            border-left: 4px solid var(--math-color);
            border-radius: 4px;
            margin: 15px 0;
        }
        
        .plotly-container {
            position: relative;
            height: 500px;
            width: 100%;
            margin: 2rem 0;
        }
         
        .math-box {
            background-color: rgba(111, 66, 193, 0.05);
            border-left: 3px solid var(--math-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        
        .warning-box {
            background-color: rgba(255, 193, 7, 0.1);
            border-left: 3px solid var(--warning-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
       
        /* Responsive Adjustments */
        @media (max-width: 768px) {
 
            .plotly-container {
                height: 400px;
            }
        }
         
        /* Function examples */
        .function-examples {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        
        .example-btn {
            background-color: rgba(44, 125, 160, 0.1);
            border: 1px solid rgba(44, 125, 160, 0.2);
            border-radius: 4px;
            padding: 0.5rem 0.75rem;
            font-size: 0.9rem;
            color: var(--primary-color);
            cursor: pointer;
            transition: all 0.2s;
            font-family: 'Courier New', monospace;
        }
        
        .example-btn:hover {
            background-color: rgba(44, 125, 160, 0.2);
            transform: translateY(-2px);
        }
        
        /* Math notation */
        .math-notation {
            font-family: 'Cambria Math', 'Latin Modern Math', STIXGeneral, serif;
            font-size: 1.1rem;
        }
        
        /* Calculation steps */
        .calculation-step {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px dashed var(--border-color);
        }
        
        .step-title {
            font-weight: 600;
            color: var(--math-color);
            margin-bottom: 0.5rem;
        }
        
        /* Variable inputs */
        .variable-inputs {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1rem;
            margin: 1rem 0;
        }
        
        .variable-input-group {
            display: flex;
            flex-direction: column;
        }
        
        /* Limit result badge */
        .limit-result-badge {
            display: inline-block;
            padding: 0.5rem 1rem;
            border-radius: 6px;
            font-weight: 600;
            font-size: 1.2rem;
            margin: 0.5rem 0;
        }
        
        .limit-exists {
            background-color: rgba(25, 135, 84, 0.1);
            color: var(--limit-exists);
            border-left: 4px solid var(--limit-exists);
        }
        
        .limit-dne {
            background-color: rgba(220, 53, 69, 0.1);
            color: var(--limit-dne);
            border-left: 4px solid var(--limit-dne);
        }
        
        .limit-undefined {
            background-color: rgba(108, 117, 125, 0.1);
            color: var(--limit-undefined);
            border-left: 4px solid var(--limit-undefined);
        }
        
        /* Path table */
        .path-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        
        .path-table th, .path-table td {
            padding: 0.75rem;
            text-align: center;
            border: 1px solid var(--border-color);
        }
        
        .path-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        
        .path-table tr:nth-child(even) {
            background-color: rgba(44, 125, 160, 0.05);
        }
        
        /* Approach paths */
        .approach-paths {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        
        .path-btn {
            background-color: rgba(111, 66, 193, 0.1);
            border: 1px solid rgba(111, 66, 193, 0.2);
            border-radius: 4px;
            padding: 0.5rem 0.75rem;
            font-size: 0.9rem;
            color: var(--math-color);
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .path-btn:hover {
            background-color: rgba(111, 66, 193, 0.2);
        }
        
        .path-btn.active {
            background-color: var(--math-color);
            color: white;
        }
        
        /* Variable selector */
        .variable-selector {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }
        
        .var-btn {
            padding: 0.5rem 1rem;
            border: 1px solid var(--border-color);
            background-color: white;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .var-btn:hover {
            background-color: var(--light-gray);
        }
        
        .var-btn.active {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }
        
        .generating-indicator {
            display: none;
            text-align: center;
            padding: 1rem;
            color: var(--text-muted);
        }
        
        /* Ad container */
        .ad-container {
            margin-bottom: 1.5rem;
        }
        
        .ad-label {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }
        
        .ad-placeholder {
            border: 2px dashed var(--border-color);
            border-radius: 6px;
            padding: 2rem;
            text-align: center;
            color: var(--text-muted);
            background-color: var(--light-gray);
        }
        
        .path-result-item {
            margin-bottom: 1rem;
            padding: 1rem;
            background-color: white;
            border-radius: 6px;
            border: 1px solid var(--border-color);
        }
        
        .path-result-title {
            font-weight: 600;
            color: var(--math-color);
            margin-bottom: 0.5rem;
        }
        
        .path-result-value {
            font-family: 'Courier New', monospace;
            padding: 0.5rem;
            background-color: var(--light-gray);
            border-radius: 4px;
            margin: 0.5rem 0;
        }
    