   .textarea-container {
            margin: 0.5rem 0;
        }
        .textarea-container textarea {
            width: 100%;
            min-height: 180px;
            padding: 0.75rem;
            border: 1px solid #ced4da;
            border-radius: 4px;
            font-family: 'Courier New', monospace;
            font-size: 0.95rem;
            line-height: 1.6;
            resize: vertical;
            transition: border-color 0.15s ease;
        }
        .textarea-container textarea:focus {
            border-color: var(--primary-color, #0d6efd);
            outline: 0;
            box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
        }
        .textarea-container textarea[readonly] {
            background-color: #f8f9fa;
        }
        .toolbar-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 0.75rem 0;
        }
        .toolbar-actions .btn {
            flex: 0 1 auto;
        }
        .stats-row {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            padding: 0.5rem 0;
            font-size: 0.9rem;
            color: var(--text-muted, #6c757d);
        }
        .stats-row .stat-item {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
        .stats-row .stat-item i {
            width: 1.2rem;
            text-align: center;
        }
        .option-group {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 1rem;
            margin: 0.75rem 0;
            padding: 0.75rem 1rem;
            background-color: #f8f9fa;
            border-radius: 6px;
            border: 1px solid #e9ecef;
        }
        .option-group .form-check {
            margin-bottom: 0;
        }
        .option-group .form-check-input {
            margin-top: 0.2rem;
        }
        .example-btn {
            background-color: rgba(70, 130, 180, 0.08);
            border: 1px solid rgba(70, 130, 180, 0.2);
            border-radius: 4px;
            padding: 0.4rem 0.75rem;
            font-size: 0.85rem;
            color: var(--primary-color, #0d6efd);
            cursor: pointer;
            transition: all 0.2s;
            font-family: 'Courier New', monospace;
            white-space: nowrap;
        }
        .example-btn:hover {
            background-color: rgba(70, 130, 180, 0.18);
            transform: translateY(-1px);
        }
        .privacy-note {
            font-size: 0.9rem;
            background-color: #e7f3ff;
            border: 1px solid #b8daff;
            color: #004085;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            margin: 0.75rem 0;
        }
        .warning-note {
            background-color: #fff3cd;
            border: 1px solid #ffeeba;
            color: #856404;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            margin: 0.75rem 0;
            display: none;
        }
        .result-container {
            margin-top: 1.5rem;
        }
        .result-container .result-title {
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            color: var(--accent-color, #2c3e50);
        }
        .result-stats {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            font-size: 0.9rem;
            color: var(--text-muted, #6c757d);
            margin-bottom: 0.5rem;
        }
        .comparison-preview {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            margin: 1.5rem 0;
            padding: 1rem;
            background-color: #f8f9fa;
            border-radius: 6px;
            border: 1px solid #e9ecef;
        }
        .comparison-preview .preview-col {
            flex: 1 1 40%;
            min-width: 200px;
        }
        .comparison-preview .preview-col h6 {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-muted, #6c757d);
            margin-bottom: 0.25rem;
        }
        .comparison-preview .preview-col pre {
            background-color: #fff;
            border: 1px solid #dee2e6;
            border-radius: 4px;
            padding: 0.5rem 0.75rem;
            font-size: 0.85rem;
            max-height: 150px;
            overflow: auto;
            margin: 0;
            font-family: 'Courier New', monospace;
            white-space: pre-wrap;
        }
        .inline-code {
            background-color: rgba(0,0,0,0.05);
            padding: 0.1rem 0.3rem;
            border-radius: 3px;
            font-family: 'Courier New', monospace;
            font-size: 0.9rem;
        }
        .property-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
            font-size: 0.95rem;
        }
        .property-table th, .property-table td {
            padding: 0.6rem 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color, #dee2e6);
        }
        .property-table th {
            background-color: var(--light-gray, #f8f9fa);
            font-weight: 600;
        }
        .property-table tr:nth-child(even) {
            background-color: rgba(70, 130, 180, 0.04);
        }
        .math-box {
            background-color: rgba(70, 130, 180, 0.05);
            border-left: 3px solid var(--primary-color, #0d6efd);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        .author-bio {
            background-color: #f8f9fa;
            border-left: 4px solid var(--primary-color, #0d6efd);
            padding: 1.2rem;
            margin: 2rem 0;
            border-radius: 0 8px 8px 0;
        }
        .authority-note {
            font-size: 0.85rem;
            color: var(--text-muted, #6c757d);
            border-top: 1px solid var(--border-color, #dee2e6);
            padding-top: 1rem;
            margin-top: 1rem;
            text-align: right;
        }
        .case-study {
            background-color: #f0f7fa;
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-left: 5px solid var(--primary-color, #0d6efd);
        }
        .key-point {
            font-weight: 500;
            color: var(--accent-color, #2c3e50);
        }
        .deep-dive {
            margin: 1.8rem 0;
        }
        .deep-dive p {
            text-align: justify;
        }
        .subsection-title {
            font-weight: 600;
            margin-top: 2rem;
            margin-bottom: 1rem;
            color: var(--accent-color, #2c3e50);
            font-size: 1.2rem;
        }
        .tool-header .lead {
            font-size: 1.05rem;
        }
        .function-examples {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 0.75rem 0;
        }
        .footer .social-icons .social-icon {
            display: inline-block;
            width: 36px;
            height: 36px;
            line-height: 36px;
            text-align: center;
            background-color: rgba(255,255,255,0.1);
            border-radius: 50%;
            color: #fff;
            transition: background-color 0.2s;
            margin-right: 0.5rem;
        }
        .footer .social-icons .social-icon:hover {
            background-color: rgba(255,255,255,0.2);
        }
        @media (max-width: 576px) {
            .comparison-preview {
                flex-direction: column;
                gap: 1rem;
            }
            .comparison-preview .preview-col {
                flex: 1 1 auto;
            }
            .option-group {
                flex-direction: column;
                align-items: flex-start;
            }
            .toolbar-actions .btn {
                flex: 1 1 auto;
            }
        }