.td-inputs { display: grid; gap: 0 16px; }
@media (min-width: 760px) { .td-inputs { grid-template-columns: 1fr 1fr; } }
.td-inputs textarea { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .875rem; }
.td-opts { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: flex-end; }
.td-out { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; overflow: auto; max-height: 560px; background: #fff;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85rem; line-height: 1.55; }
.td-line { display: grid; grid-template-columns: 44px 44px 18px 1fr; white-space: pre-wrap; word-break: break-word; }
.td-line > span { padding: 0 6px; }
.td-line .n { color: #8a96a3; text-align: right; user-select: none; border-right: 1px solid var(--line); }
.td-line .s { text-align: center; user-select: none; }
.td-line.add { background: #e8f6ec; } .td-line.add .s { color: #1a7f3c; }
.td-line.del { background: #fdecec; } .td-line.del .s { color: #b42318; }
.td-words { padding: 12px 14px; white-space: pre-wrap; word-break: break-word; }
.td-words ins { background: #c9efd5; color: #0f5129; text-decoration: none; border-radius: 3px; }
.td-words del { background: #f9d3d3; color: #8a1c1c; border-radius: 3px; }
.td-same { padding: 14px; color: #1a7f3c; font-weight: 600; }
