.diff-meta { display: flex; gap: 2rem; margin-bottom: 1rem; font-size: 0.875rem; } .diff-view { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; } .diff-table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 0.8rem; } .diff-line td { padding: 0 0.5rem; white-space: pre; line-height: 1.6; } .diff-num { width: 50px; text-align: right; color: var(--text-muted); user-select: none; border-right: 1px solid var(--border); } .diff-sign { width: 20px; text-align: center; user-select: none; } .diff-content pre { margin: 0; font-family: inherit; font-size: inherit; } .diff-insert { background: #dcfce7; } .diff-insert .diff-sign { color: var(--success); } .diff-delete { background: #fef2f2; } .diff-delete .diff-sign { color: var(--danger); } [data-theme="dark"] .diff-insert { background: #0d2d17; } [data-theme="dark"] .diff-delete { background: #2d0d0d; } @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .diff-insert { background: #0d2d17; } :root:not([data-theme="light"]) .diff-delete { background: #2d0d0d; } }