:root{--navy:#082b70;--blue:#1559d6;--cyan:#22b5ec;--ink:#10213f;--muted:#61708b;--line:#dce5f1;--soft:#f4f8fd;--white:#fff;--danger:#b42318;--success:#067647;--shadow:0 20px 60px rgba(20,63,132,.12);--radius:20px}
*{box-sizing:border-box}html{font-size:16px;scroll-behavior:smooth}body{margin:0;color:var(--ink);background:linear-gradient(145deg,#f8fbff 0,#edf5ff 46%,#f9fcff 100%);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.55;min-height:100vh}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}.shell{min-height:100vh;display:grid;grid-template-columns:minmax(250px,330px) minmax(0,1fr)}.sidebar{background:linear-gradient(165deg,#061f50,#0b3c98 68%,#1268c8);color:#fff;padding:30px 28px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow:auto}.brand{display:flex;align-items:center;gap:14px}.brand img{width:66px;height:46px;object-fit:contain;background:#fff;border-radius:10px;padding:5px}.brand strong{display:block;font-size:1.05rem}.brand span{font-size:.82rem;color:#c8dcff}.sidebar-copy{margin:52px 0 30px}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-weight:750;font-size:.76rem;color:var(--blue);margin:0 0 10px}.sidebar .eyebrow{color:#8bd8ff}.sidebar h1{font-size:clamp(1.55rem,2.4vw,2.25rem);line-height:1.16;margin:0 0 16px}.sidebar p{color:#d2e2ff}.progress-list{list-style:none;padding:0;margin:10px 0 30px}.progress-list li{display:flex;gap:12px;align-items:center;color:#bdd0ee;padding:8px 0;font-size:.92rem}.progress-list .dot{width:24px;height:24px;border:1px solid #6f94cc;border-radius:50%;display:grid;place-items:center;font-size:.72rem}.progress-list li.active{color:#fff;font-weight:700}.progress-list li.active .dot{background:#fff;color:var(--navy);border-color:#fff}.progress-list li.done .dot{background:#37c7ef;border-color:#37c7ef;color:#04255d}.privacy-note{font-size:.8rem;margin-top:auto;color:#bcd1f2}.main{padding:32px clamp(18px,4vw,64px) 64px;min-width:0}.topbar{max-width:880px;margin:0 auto 20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.mobile-brand{display:none;align-items:center;gap:10px}.mobile-brand img{width:54px;height:40px;object-fit:contain}.lang-switch{display:inline-flex;background:#e7effa;border:1px solid #d4e1f1;border-radius:999px;padding:4px;gap:2px}.lang-switch button{border:0;background:transparent;color:#42526d;padding:8px 13px;border-radius:999px;font-weight:700;cursor:pointer}.lang-switch button.active{background:#fff;color:var(--navy);box-shadow:0 2px 10px rgba(10,55,125,.12)}.form-card{max-width:880px;margin:0 auto;background:rgba(255,255,255,.96);border:1px solid rgba(203,218,237,.85);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.form-head{padding:32px 36px 24px;border-bottom:1px solid var(--line)}.step-kicker{color:var(--blue);font-weight:750;font-size:.82rem;margin:0 0 6px}.form-head h2{font-size:clamp(1.55rem,3vw,2rem);line-height:1.25;margin:0 0 8px}.form-head p{color:var(--muted);margin:0;max-width:680px}.progress-bar{height:5px;background:#e8eef7}.progress-bar span{display:block;height:100%;background:linear-gradient(90deg,var(--blue),var(--cyan));transition:width .25s ease}.fields{padding:28px 36px;display:grid;gap:25px}.field{min-width:0}.field.hidden{display:none}.field-label{display:flex;align-items:flex-start;gap:8px;font-weight:720;margin-bottom:8px}.badge{font-size:.68rem;letter-spacing:.03em;border-radius:999px;padding:3px 8px;white-space:nowrap;margin-top:1px}.badge.required{background:#e8f0ff;color:#174ea6}.badge.recommended{background:#edf7f3;color:#08735a}.badge.optional{background:#f0f2f5;color:#667085}.help{display:block;color:var(--muted);font-size:.87rem;margin:-2px 0 9px}.input,.select,.textarea{width:100%;border:1px solid #bfcde0;border-radius:12px;background:#fff;color:var(--ink);padding:13px 14px;outline:0;transition:border-color .15s,box-shadow .15s}.textarea{min-height:104px;resize:vertical}.input:focus,.select:focus,.textarea:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(21,89,214,.12)}.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.choice{position:relative}.choice input{position:absolute;opacity:0;pointer-events:none}.choice label{display:flex;align-items:flex-start;gap:10px;border:1px solid #cbd8e9;border-radius:12px;padding:12px 13px;cursor:pointer;min-height:50px;background:#fff}.choice label:before{content:"";width:18px;height:18px;flex:0 0 18px;border:2px solid #9eb1ca;border-radius:50%;margin-top:1px}.choice.checkbox label:before{border-radius:5px}.choice input:checked+label{border-color:var(--blue);background:#f1f6ff;color:#073e97}.choice input:checked+label:before{border:5px solid var(--blue)}.choice.checkbox input:checked+label:before{background:var(--blue);border:4px solid var(--blue);box-shadow:inset 0 0 0 2px #fff}.choice input:focus-visible+label{outline:3px solid rgba(21,89,214,.25);outline-offset:2px}.error{color:var(--danger);font-size:.84rem;margin-top:7px}.field.invalid .input,.field.invalid .select,.field.invalid .textarea{border-color:var(--danger)}.field.invalid .choices label{border-color:#f1a7a2}.nav-row{display:flex;justify-content:space-between;gap:12px;padding:22px 36px 30px;border-top:1px solid var(--line)}.button{border:0;border-radius:12px;min-height:46px;padding:12px 19px;font-weight:750;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;gap:8px}.button.primary{background:linear-gradient(135deg,var(--blue),#0e79ce);color:#fff;box-shadow:0 7px 20px rgba(21,89,214,.2)}.button.secondary{background:#eef3f9;color:#1b3d6c}.button.ghost{background:transparent;color:#31527e}.button:focus-visible{outline:3px solid rgba(21,89,214,.28);outline-offset:2px}.button[disabled]{opacity:.5;cursor:not-allowed}.review-groups{padding:28px 36px;display:grid;gap:18px}.review-group{border:1px solid var(--line);border-radius:15px;padding:18px}.review-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.review-head h3{margin:0;font-size:1.05rem}.review-list{display:grid;grid-template-columns:1fr 1fr;gap:13px 22px;margin:0}.review-item dt{font-size:.78rem;color:var(--muted);font-weight:720}.review-item dd{margin:2px 0 0;overflow-wrap:anywhere}.empty{color:#8a96a9;font-style:italic}.notice{border-radius:12px;padding:13px 15px;font-size:.9rem}.notice.info{background:#edf5ff;color:#144889;border:1px solid #cfe1f7}.notice.warn{background:#fff6e8;color:#854d0e;border:1px solid #f4d5a0}.notice.success{background:#ecfdf3;color:var(--success);border:1px solid #abefc6}.consent-list{display:grid;gap:12px}.consent-item{display:flex;gap:11px;align-items:flex-start;border:1px solid var(--line);border-radius:12px;padding:13px}.consent-item input{width:20px;height:20px;margin-top:2px}.state-page{min-height:100vh;display:grid;place-items:center;padding:24px}.state-card{background:#fff;box-shadow:var(--shadow);border:1px solid var(--line);border-radius:24px;padding:42px;max-width:600px;text-align:center}.state-logo{width:210px;max-width:70%;height:auto}.state-card h1{font-size:clamp(1.8rem,5vw,2.7rem);line-height:1.15;margin:10px 0}.state-card p:not(.eyebrow){color:var(--muted);margin:0 0 24px}.dev-submit{background:#fff8e8;border:1px solid #f0d28a;color:#734b00;border-radius:12px;padding:14px;margin:0 36px 22px}.draft-bar{max-width:880px;margin:0 auto 12px;display:flex;justify-content:flex-end}.link-button{border:0;background:transparent;color:#315b94;text-decoration:underline;font-weight:650;cursor:pointer;padding:5px}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:820px){.shell{display:block}.sidebar{position:static;height:auto;padding:20px 18px 18px}.sidebar .brand,.sidebar-copy,.privacy-note{display:none}.progress-list{display:flex;margin:0;overflow:auto;gap:6px}.progress-list li{min-width:max-content;padding:5px 8px}.progress-list li span:last-child{display:none}.main{padding:16px 14px 40px}.mobile-brand{display:flex}.form-head,.fields,.review-groups{padding-left:22px;padding-right:22px}.nav-row{padding-left:22px;padding-right:22px}.dev-submit{margin-left:22px;margin-right:22px}.topbar{margin-bottom:12px}.clear-draft{font-size:.8rem;padding:7px 9px}}
@media(max-width:560px){.topbar{align-items:flex-start}.mobile-brand strong{font-size:.92rem}.lang-switch button{padding:7px 10px}.form-card{border-radius:16px}.form-head{padding-top:24px}.choices{grid-template-columns:1fr}.fields{gap:22px}.nav-row{position:sticky;bottom:0;background:rgba(255,255,255,.97);z-index:3}.nav-row .button{flex:1}.review-list{grid-template-columns:1fr}.state-card{padding:30px 22px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* V1.1 responsive hardening */
html,body{overflow-x:hidden}
button,input,select,textarea{max-width:100%}
.field-label{min-width:0}
.field-label label,.choice label,.help,.notice,.consent-item span{min-width:0;overflow-wrap:anywhere;word-break:normal}
.badge{flex:0 0 auto}
@media(max-width:820px){.progress-list{overflow:visible;justify-content:center}.progress-list li{min-width:38px;padding:5px 7px;justify-content:center}.main,.mobile-brand,.topbar{min-width:0}.clear-draft{min-height:44px;padding:8px 9px}}
@media(max-width:560px){.topbar{flex-wrap:wrap}.top-actions{width:100%;justify-content:space-between;gap:8px}.lang-switch{flex:0 0 auto}.lang-switch button{min-height:44px;padding:9px 11px}.form-head{padding:24px 18px 20px}.fields,.review-groups{padding-left:18px;padding-right:18px}.choice label{min-height:52px}.nav-row{padding:16px 18px max(16px,env(safe-area-inset-bottom))}.nav-row .button{min-width:0;min-height:48px}.review-head{align-items:flex-start}.review-head .button{min-height:44px;flex:0 0 auto}.state-card{width:100%;min-width:0}}
