/* diff2html styling — Andromeda Studio */
.d2h-wrapper { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; font-size: 12px; margin: 12px 0; border: 1px solid var(--ligne, #e2e8f0); border-radius: 8px; overflow: hidden; background: #fff; }
.d2h-file-header { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; font-weight: 600; color: #1e293b; }
.d2h-file-name { flex: 1; color: #0f172a; }
.d2h-tag { font-size: 10px; padding: 2px 6px; background: #e2e8f0; color: #475569; border-radius: 4px; font-weight: 500; }
.d2h-diff-table { width: 100%; border-collapse: collapse; line-height: 1.5; font-size: 11.5px; }
.d2h-diff-table th { background: #f1f5f9; padding: 4px 8px; text-align: left; font-size: 10px; color: #64748b; font-weight: 600; border-bottom: 1px solid #cbd5e1; }
.d2h-diff-table td { padding: 1px 8px; vertical-align: top; white-space: pre-wrap; word-break: break-all; }
.d2h-num { width: 44px; text-align: right; user-select: none; color: #94a3b8; font-size: 10.5px; border-right: 1px solid #e2e8f0; padding-right: 6px; }
.d2h-hunk-header { background: #eff6ff; color: #1e40af; font-weight: 600; padding: 4px 8px; border-top: 1px solid #bfdbfe; border-bottom: 1px solid #bfdbfe; }
.d2h-del { background: #fee2e2; color: #991b1b; }
.d2h-del .d2h-prefix { color: #dc2626; font-weight: bold; margin-right: 6px; }
.d2h-del .d2h-num { background: #fecaca; color: #b91c1c; }
.d2h-ins { background: #dcfce7; color: #166534; }
.d2h-ins .d2h-prefix { color: #16a34a; font-weight: bold; margin-right: 6px; }
.d2h-ins .d2h-num { background: #bbf7d0; color: #15803d; }
.d2h-context { background: #ffffff; color: #334155; }
.d2h-code { padding-left: 8px; }
.d2h-empty { padding: 24px; text-align: center; color: #64748b; font-style: italic; }
