:root { color-scheme: light dark; }
body { font-family: system-ui, sans-serif; line-height: 1.7; max-width: 40rem; margin: 0 auto; padding: 1rem; }
label { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem; margin: .5rem 0; }
input, select { font: inherit; width: 14rem; }
#result { border: 2px solid #5a8f4a; border-radius: .5rem; padding: .5rem 1rem; }
#tiles { font-size: 2rem; }
#error { color: #d33; }
footer { font-size: .85rem; margin-top: 2rem; }
