:root { font: 16px/1.5 system-ui, sans-serif; color: #eeeae1; background: #171714; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 52rem; margin: auto; padding: clamp(1rem, 5vw, 3rem); }
header { margin-bottom: 1.5rem; }
.brand, a { color: #edc982; }
.brand { font-weight: 700; }
h1 { font: 700 clamp(2.2rem, 6vw, 3.6rem)/1.08 Georgia, serif; margin: .4em 0 .3em; }
p { margin: .5rem 0 1rem; }
[hidden] { display: none !important; }
form { display: grid; gap: 1.1rem; padding: clamp(1rem, 4vw, 2rem); background: #23231f; border: 1px solid #575247; border-radius: .75rem; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; align-content: start; gap: .35rem; }
input:not([type=checkbox]), select, textarea { width: 100%; background: #171714; color: inherit; font: inherit; border: 1px solid #817a6b; border-radius: .35rem; padding: .65rem; }
fieldset { margin: 0; border: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: .35rem; }
.pick { display: flex; align-items: start; gap: .6rem; padding: .35rem 0; }
input[type=checkbox] { margin: .26rem 0 0; width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
button { justify-self: start; background: #edc982; color: #171714; border: 0; border-radius: .35rem; padding: .75rem 1.15rem; font: inherit; font-weight: bold; cursor: pointer; }
:focus-visible { outline: 2px solid #edc982; outline-offset: 3px; }
.note { color: #d2ccc0; font-size: .94rem; }
@media (max-width: 35rem) { .row { grid-template-columns: 1fr; } button { width: 100%; } }
