.diff-result {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 1.2rem;
            font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
            font-size: 0.95rem;
            line-height: 1.5;
            white-space: pre-wrap;
            word-break: break-word;
            border: 1px solid #e9ecef;
            max-height: 500px;
            overflow-y: auto;
        }
        .diff-result ins {
            background-color: #d4f8e8;
            color: #1e6f3f;
            text-decoration: none;
            border-radius: 3px;
            padding: 0 2px;
            font-weight: 500;
        }
        .diff-result del {
            background-color: #ffe0db;
            color: #b33;
            text-decoration: line-through;
            border-radius: 3px;
            padding: 0 2px;
        }
        .stats-card {
            background: white;
            border-radius: 12px;
            padding: 0.8rem 1rem;
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
            border: 1px solid #eef2f6;
        }
        .stat-number {
            font-size: 1.6rem;
            font-weight: 700;
            color: #2c3e66;
        }
        .legend-diff {
            display: inline-block;
            width: 24px;
            height: 18px;
            border-radius: 4px;
            margin-right: 6px;
            vertical-align: middle;
        }
        .legend-added { background-color: #d4f8e8; border: 1px solid #a3dfc4; }
        .legend-removed { background-color: #ffe0db; border: 1px solid #ffc4b5; }
        .textarea-diff {
            font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
            font-size: 0.9rem;
            line-height: 1.5;
        }
        .btn-swap {
            transition: transform 0.1s ease;
        }
        .btn-swap:active {
            transform: scale(0.96);
        }
        .comparison-header {
            font-weight: 600;
            margin-bottom: 0.5rem;
            font-size: 1rem;
        }
        .example-pill {
            background: #f0f2f5;
            border-radius: 30px;
            padding: 5px 12px;
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.2s;
        }
        .example-pill:hover {
            background: #e0e4e9;
            transform: translateY(-1px);
        }
        .privacy-badge {
            background: #e9f0fe;
            border-left: 3px solid #0d6efd;
            padding: 0.7rem 1rem;
            border-radius: 8px;
        }
        .authority-ref {
            font-size: 0.85rem;
            border-top: 1px solid #e2e8f0;
            margin-top: 2rem;
            padding-top: 1rem;
        }
        .deep-dive p {
            text-align: justify;
        }
        .textarea-sync {
            overflow-y: auto;
        }
        .robustness-demo {
            background: #fef9e6;
            border-left: 4px solid #ffc107;
        }
        .subscription-privacy-note {
            font-size: 0.75rem;
            color: #6c757d;
            margin-top: 0.5rem;
        }