:root{--bg:#f8f4ee;--paper:#fffefc;--ink:#36271f;--sub:#766b63;--brown:#50382c;--copper:#a2734f;--border:#e8ddd3;--warm:#f6eee5;--good:#547358;--warn:#a34530;--shadow:0 14px 40px rgba(66,45,32,.07)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}body{margin:0;background:var(--bg);font-family:'Apple SD Gothic Neo','Noto Sans KR','Malgun Gothic',system-ui,-apple-system,sans-serif;color:var(--ink);line-height:1.65;font-size:16px;-webkit-font-smoothing:antialiased}input,textarea,button{font:inherit}button{cursor:pointer}p{word-break:keep-all}a{color:inherit;text-decoration:none}em{font-style:normal;color:var(--copper)}.skip{position:absolute;left:-9999px;top:8px}.skip:focus{left:8px;background:white;z-index:10}
.topbar{background:#fffdfa;border-bottom:1px solid var(--border)}.top-inner{width:min(730px,calc(100% - 32px));margin:auto;display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:68px}.brand{display:flex;align-items:center;gap:9px;font-weight:850;font-size:19px;line-height:1.1;white-space:nowrap}.brand small{display:block;color:var(--sub);font-weight:500;font-size:10px;letter-spacing:.01em;margin-top:5px}.brand-note{width:37px;height:37px;display:grid;place-items:center;border-radius:12px;background:#463124;color:#f2d2ab;font-size:23px}.top-label{font-size:13px;color:var(--sub);font-weight:650}
.container{max-width:730px;margin:0 auto;padding:0 16px 90px}.intro{text-align:center;padding:54px 6px 31px}.overline{font-size:11px;letter-spacing:.2em;color:var(--copper);font-weight:800}.intro h1{font-size:clamp(34px,6vw,46px);letter-spacing:-.07em;line-height:1.32;margin:15px 0 15px;font-weight:850}.intro p{font-size:16px;color:#6a5f55;margin:0;line-height:1.8}.intro-tags{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:22px}.intro-tags span{border:1px solid #e6d3bf;border-radius:99px;padding:6px 12px;font-size:12px;background:#fff9f2;color:#815c3a}
.privacy-note{background:#f3eadf;border-radius:14px;display:flex;gap:13px;padding:18px 19px;border:1px solid #e7d7c3}.privacy-note strong{font-size:14px}.privacy-note p{font-size:12.5px;margin:4px 0 0;color:#65584c;line-height:1.8}.lock-icon{width:30px;height:30px;border-radius:9px;background:#e1cbb2;display:grid;place-items:center;font-size:18px;flex-shrink:0;color:#604126}
.progress-area{padding:26px 7px 19px}.progress-info{display:flex;justify-content:space-between;align-items:center;font-size:14px}.progress-info span{color:var(--copper);font-weight:750}.progress-info strong{font-size:14px}.progress-track{height:7px;border-radius:30px;overflow:hidden;background:#ecdfd3;margin-top:13px}.progress-track span{display:block;height:100%;background:#9b6b49;width:25%;transition:width .25s}.step-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;font-size:11px;color:#988b81;margin-top:10px;text-align:center}.step-tabs .active{font-weight:850;color:#744b2e}
.form-step{background:var(--paper);padding:29px 28px 17px;border:1px solid var(--border);border-radius:19px;box-shadow:var(--shadow)}.form-step[hidden],.result[hidden],.other-input[hidden],.conditional-check[hidden],.step-actions [hidden]{display:none!important}.step-heading{display:flex;gap:12px;align-items:flex-start;padding-bottom:24px;border-bottom:1px solid #eee2d7}.step-number{width:39px;height:39px;display:grid;place-items:center;background:#f0e1d2;color:#8d6245;font-weight:900;border-radius:11px;flex-shrink:0}.step-heading h2{font-size:24px;line-height:1.45;margin:0;letter-spacing:-.055em}.step-heading p{color:var(--sub);font-size:13px;line-height:1.7;margin:6px 0 0}.field-block{border:0;margin:0;padding:21px 0;border-bottom:1px solid #f0eae3;min-width:0}.field-block:last-child{border-bottom:0}.field-block legend,.input-label{display:block;font-weight:800;font-size:15px;line-height:1.5;margin:0 0 11px;padding:0;width:100%}.required{font-style:normal;font-weight:700;font-size:11px;color:#a05a40;margin-left:5px}.optional{color:#8a8178;font-size:12px;font-weight:400;margin-left:4px}.choice-grid{display:grid;gap:10px}.choice-grid.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}.choice-grid.one-col{grid-template-columns:1fr}.choice{display:block;position:relative;cursor:pointer;min-width:0}.choice input{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:20px;height:20px;z-index:1;accent-color:var(--brown);cursor:pointer}.choice span{display:block;min-height:55px;padding:14px 12px 14px 42px;background:white;border:1.5px solid #e3d8cd;border-radius:11px;font-size:14px;font-weight:700;line-height:1.55;color:#554940;word-break:keep-all;transition:border-color .15s,background .15s}.choice span strong{font-size:15px;display:block}.choice span small{display:block;font-size:12px;color:#8c8178;font-weight:500;margin-top:2px}.choice input:checked+span{background:#f6e9dc;border-color:#936847;box-shadow:0 0 0 1px #936847 inset;color:#392719}.choice input:focus-visible+span{outline:3px solid #c19872;outline-offset:2px}.hint{font-size:12.5px;color:#82746a;line-height:1.65;margin:2px 0 12px}.other-input{display:block;margin:13px 0 0;font-size:13px;font-weight:700;color:#5d4a3a}.other-input input,.other-input textarea{margin-top:6px}
input:not([type]),input[type=text],input[type=date],textarea{background:#fff;width:100%;border:1.5px solid #d7c8bb;border-radius:10px;min-height:53px;font-size:16px;padding:12px 14px;color:var(--ink);appearance:none}textarea{min-height:98px;resize:vertical;line-height:1.7}input:focus,textarea:focus{border-color:#805837;outline:3px solid #ead0b9}input::placeholder,textarea::placeholder{color:#9a8e83}.photo-tip{padding:16px;border:1px solid #e5d3bf;background:#fbf2e8;border-radius:12px;margin:19px 0 2px}.photo-tip strong{font-size:14px}.photo-tip p{font-size:14px;margin:5px 0}.photo-tip small{display:block;color:#82705e;font-size:12px}.subhead{font-size:20px;letter-spacing:-.04em;margin:27px 0 4px}.consent-help{font-size:13px;color:#766a61;margin:0 0 3px}.consent-field legend{margin:0 0 6px}.letter{border-radius:7px;background:#e8d6c1;padding:3px 9px;margin-right:7px;color:#6a482f;font-size:13px}.conditional-check,.check-row{display:flex;gap:12px;padding:14px;align-items:flex-start;line-height:1.65;font-size:13px;border-radius:10px;border:1px solid #e7d9cb;background:#fffcf9;margin:10px 0 0;cursor:pointer}.conditional-check input,.check-row input{width:20px;height:20px;margin:1px 0 0;accent-color:var(--brown);flex:0 0 20px}.checks{margin-top:18px}.checks .check-row{font-size:13.5px;margin-bottom:10px}.smallprint{border-radius:12px;padding:17px;background:#f7f1eb;margin:21px 0 14px;color:#5d5047;font-size:12.5px}.smallprint h3{font-size:14px;color:#473326;margin:0 0 7px}.smallprint p{margin:0 0 9px}.smallprint p:last-child{margin:0}
.step-actions{display:flex;gap:10px;justify-content:space-between;padding:19px 2px 0}.btn{min-height:54px;padding:12px 22px;border-radius:11px;border:1px solid transparent;font-weight:800;text-align:center;touch-action:manipulation}.btn.primary{background:var(--brown);color:white;flex:1}.btn.primary:hover{background:#74503b}.btn.secondary{border-color:#d8c4b0;background:white;color:var(--brown)}.btn:focus-visible,.text-link:focus-visible{outline:3px solid #bf9265;outline-offset:2px}#prev-btn{width:34%}.step-actions .primary{max-width:100%}.step-actions[hidden]{display:none!important}.status{min-height:23px;color:var(--good);font-size:13px;font-weight:700;margin:12px 0}.status.error{color:#ac4430}.page-footer{text-align:center;margin:30px 0 0;font-size:12px;color:#90857d}.page-footer p{margin:5px 0}
.result{background:white;border:1px solid var(--border);border-radius:19px;box-shadow:var(--shadow);padding:32px 28px;text-align:center}.finish-badge{width:58px;height:58px;border-radius:50%;background:#e8f1e9;color:var(--good);font-size:33px;display:grid;place-items:center;margin:0 auto}.result h2{font-size:28px;margin:15px 0 8px}.result>p{font-size:14px;line-height:1.8;color:#6b5b4c}.result-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:24px}.result-actions .primary{grid-column:1/-1}.result-actions .btn{font-size:14px;padding:9px}.answer-preview{text-align:left;margin-top:20px;border:1px solid var(--border);border-radius:12px;overflow:hidden}.answer-preview summary{padding:14px;font-weight:700;cursor:pointer}.answer-preview pre{white-space:pre-wrap;word-break:break-word;background:#faf7f3;font:13px/1.75 system-ui,sans-serif;padding:16px;margin:0;border-top:1px solid var(--border)}.bottom-links{display:flex;justify-content:space-between;gap:9px;margin-top:18px}.text-link{background:none;border:0;text-decoration:underline;color:#72533d;font-size:13px;padding:8px}.text-link.danger{color:#ac4332}#print-summary{display:none}
@media(max-width:520px){.top-inner{min-height:64px}.container{padding:0 13px 76px}.intro{padding:26px 4px 18px}.intro h1{font-size:32px;margin:11px 0 10px}.intro p{font-size:13px}.intro-tags{margin-top:14px}.intro-tags span{padding:4px 10px;font-size:11px}.privacy-note{padding:12px}.progress-area{padding:17px 6px 13px}.form-step{padding:23px 16px 8px;border-radius:15px}.step-heading h2{font-size:22px}.choice-grid.two-col{gap:8px}.choice span{min-height:54px;padding:14px 9px 13px 39px;font-size:13px}.choice input{left:11px;width:18px;height:18px}.step-actions{position:sticky;bottom:0;z-index:2;background:linear-gradient(to bottom,rgba(248,244,238,.96),#f8f4ee);padding:14px 0 max(14px,env(safe-area-inset-bottom))}.btn{min-height:56px}.result{padding:24px 17px}.result-actions{grid-template-columns:1fr}.result-actions .primary{grid-column:auto}.bottom-links{flex-direction:column;align-items:center}.step-tabs{font-size:10px}}
@media print{@page{margin:15mm}body{background:white;font-size:12px}.topbar,.container,.skip{display:none!important}#print-summary{display:block!important;white-space:pre-wrap;word-break:break-word}#print-summary h1{font-size:23px;margin:0 0 7px}#print-summary p{color:#555;border-bottom:1px solid #bbb;padding-bottom:12px}#print-summary pre{white-space:pre-wrap;word-break:break-word;font-family:'Noto Sans KR',sans-serif;font-size:11px;line-height:1.75}}
