
:root{--brand:#176b87;--dark:#0f4f68;--soft:#edf7fa;--ink:#173042;--muted:#607684;--line:#dce8ed}
*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:Pretendard,"Noto Sans KR",Arial,sans-serif;background:linear-gradient(180deg,#f3fafc 0,#fff 360px)}main{width:min(760px,calc(100% - 32px));margin:auto;padding:32px 0 70px}
.hero{padding:32px;border-radius:24px;color:#fff;background:linear-gradient(135deg,#176b87,#159a93);box-shadow:0 14px 36px rgba(23,107,135,.18);margin-bottom:30px}.badge{display:inline-block;padding:6px 12px;margin-bottom:12px;border-radius:99px;background:#ffffff2e;font-size:13px;font-weight:800}
h1{font-size:clamp(27px,6vw,38px);margin:0 0 10px;letter-spacing:-1.5px}.hero p{margin:0;line-height:1.65;opacity:.92}.title{display:flex;align-items:center;gap:11px;margin:32px 0 12px;font-size:19px;font-weight:850}.step{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:#fff;background:var(--brand);font-size:14px}
.helper{color:var(--muted);font-size:14px;margin:-5px 0 15px}.field{margin:15px 0}label{display:block;font-size:14px;font-weight:750;margin:0 0 8px}select,input{width:100%;height:52px;border:1px solid #cddde4;border-radius:12px;background:#fff;padding:0 14px;font-size:16px;color:var(--ink)}
.choices{display:flex;gap:9px;flex-wrap:wrap}.choice{position:relative}.choice input{position:absolute;opacity:0}.choice span{display:block;min-width:92px;padding:13px 20px;border:1px solid var(--line);border-radius:12px;background:#fff;text-align:center;cursor:pointer}.choice input:checked+span{border:2px solid var(--brand);padding:12px 19px;color:var(--brand);background:var(--soft);font-weight:850}
.notice{padding:15px 17px;border-radius:14px;background:#eaf6fb;color:#174b63;line-height:1.6;margin:15px 0}.tests{display:grid;gap:8px}.test{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer}.test input{width:19px;height:19px;accent-color:var(--brand)}
details{margin-top:10px;border:1px solid var(--line);border-radius:14px;background:#fff;padding:14px}summary{font-weight:800;cursor:pointer}.status{margin-top:18px}.progress{height:9px;border-radius:99px;background:#e4edf1;overflow:hidden}.bar{height:100%;width:0;background:#159a93;transition:.2s}.message{margin-top:10px;padding:12px 14px;border-radius:12px;background:#fff5db;color:#795b0b}.message.done{background:#e9f8ee;color:#1f6c3a}
.summary{padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:#f8fbfc;line-height:1.8}.submit{width:100%;height:55px;margin-top:18px;border:0;border-radius:13px;background:var(--brand);color:#fff;font-size:17px;font-weight:850;cursor:pointer}.submit:disabled{background:#b8c7cd;cursor:not-allowed}.privacy{color:var(--ink);font-size:16px;font-weight:700;line-height:1.7;margin-top:20px;padding:16px;border:2px solid var(--brand);background:var(--soft);border-radius:14px}details .tests{display:flex;flex-wrap:wrap;gap:6px 18px}details .test{border:0;padding:10px 0;margin:0}input:focus-visible,select:focus-visible,button:focus-visible,.choice input:focus-visible+span{outline:3px solid #159a93;outline-offset:3px}
.modal{display:none;position:fixed;inset:0;background:#17304270;align-items:center;justify-content:center;padding:22px}.modal.show{display:flex}.dialog{width:min(420px,100%);padding:26px;border-radius:20px;background:#fff;box-shadow:0 20px 60px #0003}.dialog h2{margin:0 0 12px}.dialog button{width:100%;height:48px;margin-top:15px;border:0;border-radius:12px;background:var(--brand);color:#fff;font-weight:800}
@media(max-width:640px){main{padding-top:16px}.hero{padding:24px 20px;border-radius:18px}.choice{flex:1}.choice span{min-width:0}}

[hidden]{display:none!important}fieldset{border:0;padding:0;margin:0}legend{font-weight:750;margin:16px 0 8px}.group{margin:16px 0}.group .tests{display:flex;flex-wrap:wrap}.group .test{flex:1 1 180px}dialog::backdrop{background:#17304280}a{color:#176b87}.error{color:#9e2626}button,input,select{touch-action:manipulation}