:root { color-scheme: light dark; --text: #1d1d1f; --muted: #6e6e73; --bg: #ffffff; --accent: #0066cc; --line: #d2d2d7; }
@media (prefers-color-scheme: dark) { :root { --text: #f5f5f7; --muted: #a1a1a6; --bg: #000000; --accent: #2997ff; --line: #424245; } }
* { box-sizing: border-box; }
body { margin: 0; font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; color: var(--text); background: var(--bg); }
header, main, footer { max-width: 760px; margin: 0 auto; padding: 24px 20px; }
header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
header a.brand { font-weight: 600; text-decoration: none; color: var(--text); }
nav a, footer a { color: var(--accent); margin-right: 16px; }
h1 { font-size: 2.2rem; line-height: 1.15; margin: 0.4em 0; }
h2 { font-size: 1.35rem; margin-top: 2em; }
p.lead { font-size: 1.2rem; color: var(--muted); }
ul.values { padding-left: 1.2em; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* The check page (verify.html). A result is told by its words and its symbol; the colour only repeats it. */
:root { --panel: #f5f5f7; --good: #1a7f37; --caution: #b25000; --plain: #5f5f64; }
@media (prefers-color-scheme: dark) { :root { --panel: #1c1c1e; --good: #4cc26b; --caution: #ff9f45; --plain: #a1a1a6; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.button { display: inline-block; min-height: 44px; padding: 10px 22px; border: 0; border-radius: 12px; background: var(--accent); color: #ffffff; font: inherit; font-weight: 600; cursor: pointer; }
@media (prefers-color-scheme: dark) { .button { color: #000000; } }
input:focus-visible + .button, .button:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
.drop { margin: 1.5em 0; padding: 28px 20px; border: 2px dashed var(--line); border-radius: 16px; text-align: center; }
.drop-over { border-color: var(--accent); background: var(--panel); }
.note { color: var(--muted); font-size: 0.9rem; margin: 0.6em 0 0; }
.notice { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.notice strong { display: block; }
.panel { margin: 1.5em 0; padding: 4px 20px 12px; border-radius: 16px; background: var(--panel); }
.panel h2 { margin-top: 0.8em; }
.outcome { margin: 1.5em 0 1em; padding: 24px 20px; border-radius: 16px; background: var(--panel); text-align: center; }
.outcome h2 { margin: 0.5em 0 0.3em; font-size: 1.6rem; line-height: 1.2; }
.outcome h2:focus { outline: none; }
.outcome-icon { width: 64px; height: 64px; }
.outcome-unchanged .outcome-icon { color: var(--good); }
.outcome-changed .outcome-icon { color: var(--caution); }
.outcome-noSignature .outcome-icon { color: var(--plain); }
.caption { margin: 1.2em 0 0; color: var(--muted); font-size: 0.9rem; }
.key { margin: 0.2em 0 0; font-size: 1.25rem; font-weight: 600; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.match { padding: 12px 16px; border-left: 4px solid var(--good); background: var(--panel); }
.match-differs { border-left-color: var(--caution); }
h3 { font-size: 1.05rem; margin: 1.8em 0 0.4em; color: var(--muted); }
h3.caution { color: var(--text); }
dl.facts { margin: 0; display: grid; grid-template-columns: minmax(8em, auto) 1fr; }
dl.facts dt, dl.facts dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
dl.facts dd { color: var(--muted); text-align: end; padding-left: 16px; }
dl.facts dd span { display: block; }
dl.facts dd span.note { margin-top: 2px; }
@media (max-width: 480px) { dl.facts { grid-template-columns: 1fr; } dl.facts dt { border-bottom: 0; padding-bottom: 0; } dl.facts dd { text-align: start; padding-top: 2px; padding-left: 0; } }
#result .button { margin-top: 1.8em; }
nav a[aria-current="page"] { color: var(--text); text-decoration: none; font-weight: 600; }
