.diff-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--biz-gap)}
.diff-inputs label{font-weight:650;display:block;margin-bottom:.5em}
.diff-inputs textarea{width:100%;min-height:16em;resize:vertical;font:inherit;line-height:1.6;color:var(--biz-fg);background:var(--biz-bg);border:1px solid var(--biz-line);border-radius:8px;padding:.8em;caret-color:var(--biz-accent)}
.diff-inputs input[type=file]{max-width:100%;width:100%}
.diff-file-note{min-height:1.65em;font-size:.95em;color:var(--biz-muted)}
.diff-table-scroll{overflow:auto;border:1px solid var(--biz-line);border-radius:8px;scrollbar-color:var(--biz-muted) var(--biz-bg)}
.diff-table{border-collapse:collapse;min-width:68rem;width:100%;font-size:.95em;font-variant-numeric:tabular-nums}
.diff-table th,.diff-table td{text-align:left;vertical-align:top;padding:.7em;border-bottom:1px solid var(--biz-line);overflow-wrap:anywhere;max-width:26em;white-space:pre-wrap}
.diff-table th{background:var(--biz-soft);font-weight:650}
.diff-table caption{text-align:left;padding:.8em;color:var(--biz-muted)}
.diff-table tr[data-state=problem] td:first-child{color:#b42318;font-weight:700}
.dark .diff-table tr[data-state=problem] td:first-child{color:#ffb4ab}
.diff-table tr[data-state=changed] td:first-child{color:var(--biz-accent);font-weight:700}
.diff-controls{display:flex;flex-wrap:wrap;gap:.75em;align-items:center;margin:1.25em 0}
.diff-controls select{width:auto;min-width:10em;min-height:44px;font:inherit;color:var(--biz-fg);background:var(--biz-bg);border:1px solid var(--biz-line);border-radius:8px;padding:.5em}
#diff-report{min-height:12em;width:100%;resize:vertical}
@media(max-width:600px){.diff-inputs{grid-template-columns:1fr}.diff-table{min-width:62rem}}
