:root{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Noto Sans KR',sans-serif;color:#223b52;background:#f7f8f8;font-size:16px}*{box-sizing:border-box}body{margin:0}main{width:min(100% - 24px,520px);margin:20px auto 35px}.sheet{background:#fff;border:1px solid #dbe1df;border-radius:20px;overflow:hidden;box-shadow:0 3px 15px #1d3b4210}.topbar{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#1e3858;padding:18px}.topbar label{color:#b9d0de;font-size:.875rem}.topbar input{display:block;background:#294d70;border:1px solid #54728c;border-radius:8px;width:100%;margin-top:6px;padding:12px;color:white;font:inherit;font-size:16px}.topbar input::placeholder{color:#a8c1d4}.content{padding:22px 18px 28px}header{text-align:center;padding:12px 0 20px;margin-bottom:20px;border-bottom:1px dashed #8cc4bd}.brand{font-size:1.15rem;color:#168d82;font-weight:800;letter-spacing:-.5px}.brand span{color:#223b52}.slogan{font-size:.875rem;font-weight:600;line-height:1.5;color:#416980;margin:10px 0 24px}h1{font-size:1.5rem;letter-spacing:-.7px;margin:0}header .english{font-size:.75rem;color:#68818d;margin:8px 0 0;line-height:1.5}.table{border:1px solid #dce3e2;border-radius:12px;overflow:hidden}.field{display:flex;position:relative;margin:0;border:0;border-bottom:1px solid #dce3e2;padding:0;min-width:0;min-height:50px;align-items:stretch}.field:last-child{border-bottom:0}.field>span,.field legend{background:#e6f4f1;color:#19877d;flex:0 0 88px;display:flex;align-items:center;padding:12px;font-size:.875rem;font-weight:700;border-right:1px solid #dce3e2}.field legend{position:absolute;top:0;bottom:0;left:0;width:88px;margin:0}.field>input{flex:1;min-width:0;width:0;border:0;padding:12px;font:inherit;font-size:16px;background:#fff;color:#2b3e4b}.field>input::placeholder{color:#a0acb0;font-size:.875rem}.field>input:focus{outline:2px solid #168d82;outline-offset:-2px}.chips{display:flex;flex-wrap:wrap;gap:7px;padding:9px 10px;margin-left:88px;align-items:center;min-height:50px}.chips label{position:relative;cursor:pointer}.chips input{position:absolute;opacity:0;width:100%;height:100%;margin:0}.chips span{display:block;border:1px solid #dce3e2;border-radius:24px;padding:7px 9px;font-size:.875rem;color:#65767d;background:#fff}.chips input:checked+span{background:#148f83;color:white;border-color:#148f83}.chips input:focus-visible+span{outline:2px solid #223b52;outline-offset:2px}.benefits{margin-top:24px;display:grid;gap:12px}.benefits>div{display:flex;gap:10px;background:#e7f4f1;border:1px solid #d8e9e5;border-radius:13px;padding:16px}.tick{background:#138f85;color:white;border-radius:50%;width:22px;height:22px;flex-shrink:0;text-align:center;line-height:22px}.benefits h2,.info h2{font-size:1rem;margin:0 0 5px}.benefits p,.info p{font-size:.875rem;line-height:1.75;color:#65767d;margin:0}.note{font-size:.75rem;color:#73838a;line-height:1.6;margin:10px 0}.info{margin-top:26px}.info h2:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:#168d82;margin-right:8px;vertical-align:middle}.info .note{font-size:.75rem;margin-top:8px}.gifts{display:grid;gap:9px;margin-top:14px}.gifts label{display:flex;gap:10px;align-items:center;border:1px solid #dce3e2;border-radius:11px;padding:13px;font-size:.875rem;cursor:pointer}.gifts input{width:18px;height:18px;margin:0;accent-color:#168d82}.signedtable{margin-top:24px}#applyDate{color:#168d82;font-weight:700}#customerName{font-weight:600}.signaturetitle{font-size:.875rem;color:#65767d;margin:16px 0 8px}.signaturebox{position:relative}canvas{display:block;width:100%;height:170px;border:1px dashed #c8d6d2;border-radius:12px;touch-action:none;background:#fff}.signaturebox button{position:absolute;right:10px;bottom:10px;background:white;color:#7c8a90;border:1px solid #dce3e2;border-radius:8px;padding:7px 12px;font-size:.875rem;cursor:pointer}.sigcaption{text-align:center}details{font-size:.875rem;line-height:1.8;margin:20px 0 14px;color:#65767d}summary{cursor:pointer;color:#223b52}details a{color:#168d82}.consent{display:flex;gap:9px;font-size:.875rem;line-height:1.6;margin:12px 0}.consent input{width:18px;height:18px;flex-shrink:0;accent-color:#168d82;margin-top:3px}.bottombrand{text-align:center;background:#1e3858;border-radius:30px;width:max-content;max-width:100%;padding:10px 18px;color:white;margin:24px auto 0;font-size:.875rem;font-weight:600}.actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0 38px}.actions button{border-radius:12px;padding:17px;font:inherit;font-weight:700;cursor:pointer;background:white;color:#223b52;border:1px solid #cbd7d4}#submit{background:#108f83;color:white;border-color:#108f83}#submit:disabled{opacity:.6}.outline{display:block;width:100%;text-align:center;border:1px dashed #628da0;border-radius:10px;background:white;color:#3c708b;text-decoration:none;font:inherit;font-size:.875rem;font-weight:700;padding:16px;margin:12px 0;cursor:pointer}#error{font-size:.875rem;color:#ad2828}dialog{border:1px solid #dce3e2;border-radius:16px;max-width:calc(100% - 24px);text-align:center;padding:24px;color:#223b52}dialog::backdrop{background:#122c4570}dialog h2{font-size:1.1rem}dialog p{font-size:.875rem}dialog a{color:#168d82}dialog img{display:block;margin:auto;max-width:100%;height:auto}.close{float:right;background:white;border:1px solid #dce3e2;border-radius:6px;padding:6px 12px;color:#223b52}.honey{display:none}@media(max-width:480px){main{width:100%;margin:0 auto 24px;padding:0 10px}.sheet{border-radius:0 0 18px 18px}.topbar{padding:16px 14px;gap:10px}.content{padding:22px 14px}.field>span,.field legend{flex-basis:80px;width:80px;padding:10px;font-size:.875rem}.chips{margin-left:80px;padding:8px;gap:5px}.chips span{padding:7px 8px;font-size:.875rem}.brand{font-size:1.1rem}.actions{margin-bottom:28px}}@media(max-width:350px){.chips{gap:4px}.chips span{padding:6px;font-size:.75rem}.content{padding:18px 10px}}

#qrcode{display:flex;justify-content:center;margin:18px auto}#qrcode canvas{width:256px;height:256px;border:0;border-radius:0}#saveQR{font:inherit;color:#168d82;border:1px solid #dce3e2;border-radius:8px;background:white;padding:10px 16px;cursor:pointer}
