* { box-sizing: border-box; }
body { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; margin: 0; padding: 1.5em; background: #fafafa; color: #222; }
main { max-width: 800px; margin: 0 auto; }
h1 { font-size: 1.4em; margin: 0 0 .3em; }
.muted { color: #666; }
fieldset { border: 1px solid #ccc; margin: 1em 0; padding: 1em; background: #fff; }
legend { padding: 0 .4em; font-size: .9em; color: #555; }
label { display: block; margin: .4em 0; }
input[type=text], select { width: 14em; padding: 4px 6px; font: inherit; }
input[type=file] { font: inherit; }
button { padding: .5em 1.2em; font: inherit; background: #222; color: #fff; border: 0; cursor: pointer; }
button:disabled { background: #888; cursor: not-allowed; }
#status { margin: 1em 0; padding: .8em; background: #fff; border: 1px solid #ccc; min-height: 1em; white-space: pre-wrap; }
#detect { margin-top: .4em; font-size: .9em; }
footer { margin-top: 2em; }
