:root { font: 16px/1.5 system-ui, sans-serif; color: #172a3d; background: #f3f6f9; }
main { max-width: 39rem; margin: 3rem auto; padding: 2rem; background: white; border-radius: .75rem; }
form:not([hidden]) { display: grid; gap: .75rem; }
label { display: grid; gap: .2rem; }
.consent { display: flex; align-items: baseline; gap: .5rem; }
input, button { font: inherit; padding: .5rem .75rem; border: 1px solid #71869b; border-radius: .3rem; }
button { color: white; background: #005966; justify-self: start; cursor: pointer; }
button:disabled { opacity: .7; cursor: wait; }
.loading::after { content: ''; display: inline-block; margin-left: .5rem; width: .65rem; height: .65rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
#error { color: #a02221; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .loading::after { animation: none; } }
