:root { color-scheme: light; font-family: "Segoe UI", system-ui, sans-serif; color: #192c43; background: #eff4f9; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; padding: clamp(16px, 6vw, 64px); }
main { max-width: 38rem; margin: auto; background: #fff; border: 1px solid #d8e2ee; border-radius: 20px; padding: clamp(20px, 6vw, 44px); }
header { color: #1457a6; font-weight: 750; }
h1 { margin: 20px 0 8px; font-size: clamp(28px, 5vw, 40px); }
h2 { margin: 28px 0 8px; font-size: 20px; }
p, li { line-height: 1.55; overflow-wrap: anywhere; }
form { display: grid; gap: 10px; margin: 16px 0; }
label { font-weight: 600; }
input, button { min-height: 44px; font: inherit; border-radius: 8px; padding: 9px 13px; }
input { width: 100%; border: 1px solid #8194aa; }
input#code { font-family: monospace; font-size: 24px; letter-spacing: .35em; }
button { background: #1457a6; color: #fff; border: 1px solid transparent; font-weight: 650; cursor: pointer; }
button.secondary { background: #eff4f9; color: #163d65; }
button:disabled { opacity: .6; cursor: default; }
:focus-visible { outline: 3px solid #266bc0; outline-offset: 2px; }
#error { color: #a42020; }
#error:empty { display: none; }
