:root{font-family:system-ui,-apple-system,'Malgun Gothic',sans-serif;color:#18243b;background:#f3f6fb}*{box-sizing:border-box}body{margin:0}main{max-width:960px;margin:auto;padding:24px 16px 60px}a{color:#185bbb}header{margin:24px 0}header b{letter-spacing:3px;font-size:24px}h1{font-size:27px}h2{font-size:19px}p{line-height:1.7;color:#53627b}.card{padding:22px;background:white;border-radius:16px;margin:20px 0}.fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}label{display:block;font-weight:650}input:not([type=checkbox]){display:block;width:100%;margin-top:7px;padding:12px;border:1px solid #aab8cb;border-radius:8px;font:inherit}.check{display:flex;align-items:flex-start;gap:9px;line-height:1.7}.check input{margin-top:7px}button{font:inherit;cursor:pointer;border:1px solid #b9c6d8;border-radius:9px;background:#fff;color:#16477f;padding:12px 16px}button:disabled{opacity:.5;cursor:default}#submit,#saveSignature{background:#2468e8;color:white;border:0}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}#status{padding:12px 16px;border-radius:10px;background:#eaf2ff;line-height:1.7}#paper{position:relative;width:100%;background:white;border:1px solid #d7deea}#template{width:100%;display:block}.fill{position:absolute;background:white;color:#111;white-space:nowrap;line-height:1.4;font-family:'Malgun Gothic',sans-serif;font-size:clamp(5px,1.35vw,13px)}#previewName{left:54%;top:11.15%;width:14%;height:1.8%}#previewRrn{left:79%;top:11.15%;width:14%;height:1.8%}#previewWorkDate{left:19%;top:21.65%;width:16.5%;height:1.35%;font-weight:bold;font-size:clamp(4px,1.1vw,11px)}#previewSignDate{left:39%;top:81.8%;width:24%;height:1.7%;text-align:center;font-weight:bold}#previewBottomName{left:66%;top:87.65%;width:13%;height:1.8%}.sig{position:absolute;border:1px dashed #2468e8;background:#eaf2ffee;color:#1856bd;font-size:clamp(7px,1.5vw,14px);padding:0;border-radius:4px;width:18%;height:3.1%;overflow:hidden}.sig img{width:100%;height:100%;object-fit:contain}#sig0{left:75%;top:78.8%}#sig1{left:79.5%;top:87.1%;width:14.4%;height:3.45%}dialog{width:min(650px,96vw);border:0;border-radius:18px;padding:20px}dialog::backdrop{background:#132035aa}#pad{width:100%;height:230px;display:block;touch-action:none;background:#fff;border:2px dashed #8caad4;border-radius:10px}#result{white-space:pre-line}#download{display:inline-block;margin-top:12px}#download[hidden]{display:none}@media(max-width:600px){.fields{grid-template-columns:1fr}.card{padding:16px}main{padding:16px 10px 40px}}

#sig2{position:static;display:block;width:min(100%,400px);height:130px;font-size:16px;border-radius:10px;margin:16px 0;background:#eef5ff}#sig2 img{object-fit:contain} .privacy-signature-preview{display:block;max-width:100%;width:380px;border:1px solid #ccd8e7;background:white;margin-top:12px;border-radius:8px}

#privacyStep,#contractStep{border:0;padding:0;margin:0;min-width:0}#privacyStep[hidden],#contractStep[hidden]{display:none}.step-legend{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.form-progress{display:flex;gap:12px;list-style:none;padding:0;margin:24px 0 12px}.form-progress li{flex:1;padding:12px 14px;border-radius:10px;background:#e7edf5;color:#63728a;font-size:14px}.form-progress li[aria-current=step]{background:#eaf2ff;color:#1856bd;font-weight:750;box-shadow:inset 0 -3px #2468e8}#stepStatus{font-weight:700;color:#304b70}.step-note{font-size:14px}#nextStep{background:#2468e8;color:white;border:0}#privacyHeading:focus,#contractHeading:focus{outline:2px solid #8caad4;outline-offset:5px}

header .company-logo{display:block;width:125px;height:40px;object-fit:contain;margin:0 0 14px}

.contract-delete-actions{margin-top:18px;padding-top:14px;border-top:1px solid #e4eaf3}.contract-delete{color:#a62929;border-color:#dfb3b3;background:#fff}.contract-delete-actions p{margin-bottom:0}
