/* BizDiff (TP482 Q764-B): two texts side by side. Theme variables only, so it follows the light and the dark theme. */
.biz-diff { border: 1px solid var(--biz-line); border-radius: var(--rz-border-radius); background: var(--rz-base-background-color); }
.biz-diff-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; font-weight: 600; font-size: .85rem;
                 border-bottom: 1px solid var(--biz-line); }
.biz-diff-head > span { padding: .45rem .75rem; color: var(--rz-text-title-color); }
.biz-diff-summary { padding: .35rem .75rem; font-size: .8rem; color: var(--rz-text-secondary-color); border-bottom: 1px solid var(--biz-line); }
.biz-diff-same { padding: .75rem; color: var(--rz-text-secondary-color); }
.biz-diff-body { font-family: var(--rz-text-code-font-family, ui-monospace, SFMono-Regular, Consolas, monospace); font-size: .8rem; line-height: 1.45; }
.biz-diff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
.biz-diff-cell { display: flex; gap: .5rem; padding: 0 .5rem; min-width: 0; color: var(--rz-text-color); }
.biz-diff-num { flex: none; width: 3.2em; text-align: right; color: var(--rz-text-disabled-color); user-select: none; }
.biz-diff-text { flex: 1 1 auto; min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.biz-diff-cell.is-added { background: var(--rz-success-lighter); }
.biz-diff-cell.is-removed { background: var(--rz-danger-lighter); }
.biz-diff-cell.is-changed { background: var(--rz-warning-lighter); }
.biz-diff-cell.is-empty { background: var(--rz-body-background-color); }
.biz-diff-word { background: var(--rz-warning-light); border-radius: 2px; }
.biz-diff-cell.is-added .biz-diff-word { background: var(--rz-success-light); }
.biz-diff-cell.is-removed .biz-diff-word { background: var(--rz-danger-light); }
.biz-diff-fold { padding: .2rem .75rem; text-align: center; font-size: .78rem; color: var(--rz-text-secondary-color);
                 background: var(--rz-body-background-color); border-top: 1px dashed var(--biz-line); border-bottom: 1px dashed var(--biz-line); }
