:root { color-scheme: light dark; font-family: system-ui, sans-serif; }
body { margin: 0; display: grid; place-items: center; min-height: 100vh; }
main { width: min(32rem, 100%); padding: 2rem; box-sizing: border-box; }
h1 { font-size: 1.5rem; margin: 0 0 1rem; }
h2 { font-size: 1.1rem; margin: 1.75rem 0 0.5rem; }
.lead { margin-top: 0; }
label { display: block; margin: 1rem 0; }
label.check { display: flex; gap: 0.5rem; align-items: center; }
input:not([type="checkbox"]) { display: block; width: 100%; margin-top: 0.25rem; padding: 0.5rem; font: inherit; box-sizing: border-box; }
button { padding: 0.6rem 1.2rem; font: inherit; cursor: pointer; }
button:disabled { cursor: progress; }
button.quiet { background: none; border: none; padding: 0.6rem 0.5rem; text-decoration: underline; }
.note, .detail, .foot { font-size: 0.9rem; opacity: 0.8; }
.foot { margin-top: 2rem; }
#status { min-height: 1.5em; }
#status.error { color: #b3261e; }
.items { list-style: none; padding: 0; margin: 0; }
.items li { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent); }
.items .name { font-weight: 600; grid-column: 1; }
.items .detail { grid-column: 1; }
.items button { grid-column: 2; grid-row: 1 / span 2; }
/* `label { display: block }` would otherwise show a hidden element. */
[hidden] { display: none !important; }
.choices li { display: block; }
.choices label.check { margin: 0; }
