:root {
  color-scheme: dark;
  background: #142820;
  color: #fbf5e8;
  font-family: system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; }
main { width: min(100% - 32px, 430px); margin: clamp(28px, 12vh, 100px) auto; }
header { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; font-size: 1.2rem; font-weight: 750; }
header img { border-radius: 7px; }
section { padding: clamp(14px, 5vw, 26px); border: 1px solid #5a7769; border-radius: 14px; background: #1c352a; }
h1 { margin: 0; font-size: 1.6rem; line-height: 1.15; }
p { margin-block: 10px; line-height: 1.45; color: #ccdfd1; overflow-wrap: anywhere; }
form, nav { display: grid; gap: 10px; margin-top: 16px; }
nav:has(> :not([hidden])) { margin-top: 14px; }
nav:not(:has(> :not([hidden]))) { display: none; }
label { display: grid; gap: 5px; font-weight: 650; }
input, button, a { min-height: 44px; padding: 9px 11px; border-radius: 7px; font: inherit; }
input { width: 100%; min-width: 0; border: 1px solid #879f91; background: #142820; color: #fbf5e8; }
button, a { display: grid; place-items: center; border: 1px solid #81968b; background: transparent; color: #fbf5e8; text-decoration: none; text-align: center; cursor: pointer; }
button.primary { border-color: transparent; background: #e4c88e; color: #19291d; font-weight: 750; }
button:disabled { opacity: .55; cursor: wait; }
button#finish { width: 100%; }
:focus-visible { outline: 2px solid #f2d69b; outline-offset: 3px; }
#error { color: #ffb4ae; }
[hidden] { display: none !important; }
