:root {
  --blue:#00598e; --blue-dark:#00446d; --ink:#183444; --muted:#546b79;
  --bg:#f6f8fa; --line:#d8e2e8; --soft:#eaf3f8; color:var(--ink);
  background:var(--bg); font: 16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
* { box-sizing:border-box }
body { margin:0 } [hidden] {display:none!important}
header { background:white; border-bottom:1px solid var(--line) }
.bar { max-width:1160px; margin:auto; padding:22px 36px; display:flex; align-items:center; gap:24px }
.bar img {object-fit:contain} .bar span {border-left:1px solid #cfd9e0; padding-left:24px; font-size:20px; font-weight:700; letter-spacing:-.5px}
main { max-width:840px; padding:42px 30px 64px; margin:auto }
h1,h2,p { margin:0 } h1 {font-size:clamp(32px,5vw,42px); letter-spacing:-1.4px; line-height:1.15}
h2,legend {font-size:clamp(21px,3vw,27px); line-height:1.32; letter-spacing:-.6px; font-weight:700}
.intro p {font-size:18px; color:var(--muted); margin:12px 0 26px; max-width:640px}
aside {display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 24px; border-radius:16px; background:var(--soft); margin-bottom:20px}
aside p,.identity {color:var(--muted); margin-top:3px}
.handbook {color:var(--blue); font-weight:650; white-space:nowrap; text-underline-offset:3px}
.card {background:white; border:1px solid var(--line); border-radius:16px; padding:30px; box-shadow:0 3px 12px #18344405}
#preview,.step {font-size:14px; color:var(--muted); margin:0 0 12px}
#preview {padding-bottom:10px; border-bottom:1px solid var(--line)}
.identity {overflow-wrap:anywhere}
form,.choices {display:grid; gap:14px; margin-top:20px}
.fields {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px}
label.field {display:grid; gap:6px; font-weight:650}
button,input,select {font:inherit} select,input[type=text],input[type=date] {min-width:0; width:100%; padding:11px; border:1px solid #a8bac4; border-radius:8px; background:white; color:var(--ink)}
.choice {position:relative; -webkit-tap-highlight-color:transparent; display:flex; align-items:flex-start; gap:12px; padding:12px 15px; border:1px solid var(--line); border-radius:10px; cursor:pointer}
.choice:has(:checked) {border-color:var(--blue); background:var(--soft)}
.choice input {accent-color:var(--blue); width:19px; height:19px; margin:3px 0 0; flex-shrink:0}
.answer-feedback {
  position:absolute; inset:-1px; display:grid; place-items:center; border-radius:inherit;
  background:#e4f4e9; color:#175832; border:2px solid #358053; font-weight:700;
}
#heading {scroll-margin-top:16px}
button {background:var(--blue); color:white; border:0; border-radius:8px; padding:12px 20px; font-weight:650; cursor:pointer; justify-self:start; margin-top:8px}
button:hover {background:var(--blue-dark)} button:disabled {opacity:.65; cursor:wait}
fieldset {border:0; margin:0; padding:0; min-width:0} legend {padding:0}
progress {width:100%; height:7px; accent-color:var(--blue); margin:0 0 18px}
#message {margin-top:14px; color:var(--blue-dark); font-weight:600} #message:empty {margin:0} #message.error {color:#91381d}
:focus-visible {outline:3px solid #d39a15; outline-offset:3px}
.sr,.skip:not(:focus) {position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%)}
@media(max-width:580px){main {padding:26px 16px 44px}.bar{padding:14px 16px;gap:14px}.bar img{width:118px}.bar span{font-size:17px;padding-left:14px}.card{padding:20px}aside{align-items:flex-start;flex-direction:column;gap:10px}.fields{grid-template-columns:1fr}}

.field small {color:var(--muted);font-weight:400}
