:root { color-scheme: light dark; }
body { box-sizing: border-box; max-width: 40em; min-height: 100vh; margin: 0 auto; padding: 1em; display: flex; flex-direction: column; }
main { flex: 1; }
header, header nav { display: flex; flex-wrap: wrap; gap: .3em 1em; justify-content: space-between; }
nav.crumbs { margin: 1.5em 0 0; color: GrayText; }
ul.choices, ul.tiles { list-style: none; padding: 0; }
ul.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; }
ul.tiles li.wide { grid-column: 1 / -1; }
ul.tiles li { position: relative; padding: 1.2em .6em; text-align: center; border: 1px solid GrayText; }
ul.tiles a::after { content: ""; position: absolute; inset: 0; }
ul.tiles span { display: block; margin-top: .3em; font-size: .85em; }
ul.choices a { display: block; padding: .8em; margin-bottom: .5em; border: 1px solid GrayText; }
footer { text-align: center; color: GrayText; }
label, input:not([type=hidden]), select, textarea { display: block; }
label { margin-bottom: 1em; }
label input, label select, label textarea { margin-top: .4em; }
form.filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 1em; margin-bottom: 1em; }
form.filter label, form.filter button { margin-bottom: 0; }
button { background: ButtonFace; color: ButtonText; border: 1px solid GrayText; }
button.link { all: unset; color: LinkText; text-decoration: underline; cursor: pointer; }
form.inline { display: inline; }
table.stats { margin-bottom: 1em; border-collapse: collapse; }
table.stats th, table.stats td { padding: .35em 0; border-bottom: 1px solid color-mix(in srgb, GrayText 35%, transparent); }
table.stats th { font-weight: normal; text-align: left; }
table.stats td { text-align: right; }
pre { overflow-x: auto; }
svg { max-width: 100%; height: auto; }
table { width: 100%; text-align: left; }
.muted { color: GrayText; }
.ok { color: light-dark(#060, #6c6); }
.error { color: light-dark(#a00, #f88); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 0; }
input[type=checkbox] { display: inline; margin: 0 .3em 0 0; }
