.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;
        }
        .subsection-title {
            font-weight: 600;
            margin-top: 2rem;
            margin-bottom: 1rem;
            color: var(--accent-color);
            font-size: 1.2rem;
        }
        .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;
        }
        .function-examples {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        .example-btn {
            background-color: rgba(13, 110, 110, 0.1);
            border: 1px solid rgba(13, 110, 110, 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(13, 110, 110, 0.2);
            transform: translateY(-2px);
        }
        .math-notation {
            font-family: 'Cambria Math', 'Latin Modern Math', STIXGeneral, serif;
            font-size: 1.1rem;
        }
        .calculation-step {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px dashed var(--border-color);
        }
        .property-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        .property-table th, .property-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .property-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        .property-table tr:nth-child(even) {
            background-color: rgba(13, 110, 110, 0.05);
        }
        .graph-legend {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin-top: 1rem;
        }
        .legend-item {
            display: flex;
            align-items: center;
        }
        .legend-color {
            width: 20px;
            height: 4px;
            margin-right: 0.5rem;
        }
        .cauchy-color {
            background-color: rgba(13, 110, 110, 0.8);
        }
        .reference-line-color {
            background-color: rgba(232, 62, 140, 0.8);
        }
        .authority-note {
            font-size: 0.85rem;
            color: var(--text-muted);
            border-top: 1px solid var(--border-color);
            padding-top: 1rem;
            margin-top: 1rem;
            text-align: right;
        }
        .case-study {
            background-color: #f0f7f7;
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-left: 5px solid var(--primary-color);
        }
        .key-point {
            font-weight: 500;
            color: var(--accent-color);
        }
        .ascii-output {
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 6px;
            padding: 15px;
            font-family: 'Courier New', Courier, monospace;
            font-size: 10px;
            line-height: 1.1;
            white-space: pre;
            overflow-x: auto;
            max-height: 400px;
            resize: vertical;
            letter-spacing: 0;
        }
        .char-preview {
            font-family: 'Courier New', monospace;
            background: #eee;
            padding: 2px 5px;
            border-radius: 3px;
        }
        .upload-area {
            border: 2px dashed #ccc;
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            background-color: #fafafa;
            transition: border-color 0.2s, background-color 0.2s;
            cursor: pointer;
            position: relative;
            min-height: 180px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
        .upload-area:hover {
            border-color: var(--primary-color);
            background-color: #f0f7f7;
        }
        .upload-area i {
            font-size: 2.5rem;
            color: #6c757d;
            margin-bottom: 10px;
        }
        .upload-area .upload-text {
            font-weight: 500;
            color: #495057;
        }
        .upload-area .upload-hint {
            font-size: 0.85rem;
            color: #adb5bd;
        }
        .upload-area.has-image {
            border-color: var(--primary-color);
            background-color: #fff;
            padding: 10px;
        }
        .upload-area.has-image .upload-placeholder {
            display: none;
        }
        .upload-area .img-preview {
            max-width: 100%;
            max-height: 130px;
            border-radius: 6px;
            margin: 5px 0;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .upload-area .clear-image-btn {
            position: absolute;
            top: 5px;
            right: 5px;
            background: rgba(255,255,255,0.8);
            border: none;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #dc3545;
            cursor: pointer;
            transition: background 0.2s;
        }
        .upload-area .clear-image-btn:hover {
            background: white;
            color: #b02a37;
        }
        .author-bio {
            background-color: #f8f9fa;
            border-left: 4px solid var(--primary-color);
            padding: 1.2rem;
            margin: 2rem 0;
            border-radius: 0 8px 8px 0;
        }
        .author-bio img {
            width: 60px;
            height: 60px;
            object-fit: cover;
            border-radius: 50%;
            margin-right: 1rem;
        }
        .privacy-note {
            font-size: 0.9rem;
            background-color: #e7f3ff;
            border: 1px solid #b8daff;
            color: #004085;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            margin: 1rem 0;
        }