:root {
  color-scheme: dark;
  font: 100%/1.55 system-ui, sans-serif;
  color: #eef5f4;
  background: #101d26;
}
* { box-sizing: border-box; }
main { width: min(100% - 2rem, 42rem); margin: clamp(2rem, 8vw, 5rem) auto; }
h1 { font: 700 clamp(2.7rem, 8vw, 4.5rem)/1 Georgia, serif; margin: 0; }
header p, small { color: #b8cbcf; }
form { background: #182933; padding: clamp(1rem, 4vw, 2rem); border: 1px solid #3e565e; border-radius: .8rem; }
label { display: block; font-weight: 650; }
input, select { display: block; width: 100%; padding: .65rem; margin: .3rem 0 0; border: 1px solid #658088; border-radius: .35rem; background: #101d26; color: inherit; font: inherit; }
select {
  appearance: none;
  padding-right: 2rem;
  background-image: linear-gradient(45deg, transparent 50%, #b8cbcf 50%), linear-gradient(135deg, #b8cbcf 50%, transparent 50%);
  background-position: right 1.15rem center, right .85rem center;
  background-size: .3rem .3rem;
  background-repeat: no-repeat;
}
.settings { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .8rem; margin: 1.25rem 0; }
small { display: block; margin-top: .35rem; font-size: .9rem; }
button, #download { width: fit-content; padding: .6rem 1rem; background: #98e5cd; color: #102821; border: none; border-radius: .35rem; font: inherit; font-weight: 700; }
button { display: block; margin-top: 1.35rem; cursor: pointer; }
button:disabled { opacity: .65; cursor: wait; }
#download:not([hidden]) { display: inline-block; }
:focus-visible { outline: 2px solid #ffd184; outline-offset: 3px; }
