:root { color-scheme: light dark; font-family: system-ui, sans-serif; }
body { margin: 0; padding: 12px; }
main { max-width: 70rem; margin: 0 auto; }
label, textarea, input, button { display: block; margin: 6px 0; }
textarea { width: 100%; box-sizing: border-box; font-family: monospace; }
button { padding: 10px 16px; font-size: 1rem; }
#status { font-weight: bold; }
.digest { font-family: monospace; overflow-wrap: anywhere; }
.file { border-top: 2px solid; margin-top: 16px; }
h2, h3, li { overflow-wrap: anywhere; direction: ltr; unicode-bidi: isolate; }
.diff { font-family: monospace; font-size: 0.8rem; }
.row { display: flex; flex-wrap: wrap; }
.number { width: 3em; text-align: right; padding-right: 4px; opacity: 0.6; user-select: none; }
.sign { width: 1.2em; }
.code { flex: 1 1 0; min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; direction: ltr; unicode-bidi: bidi-override; tab-size: 4; }
.add { background: #1a7f3733; }
.del { background: #cf222e33; }
.hidden { background: #d4a72c; color: #000; font-weight: bold; }
.foreign { outline: 2px solid #d4a72c; }
.trailing { background: #d4a72c66; }
.note { flex-basis: 100%; font-style: italic; }
