/* 홈페이지 팝업(진단 첫 질문형) — tools/popup.py가 만든다(여기서 고치지 않는다) · 대표 10/22 · 디자인팀이 색 · 모양을 바꾼다 */
.ch-pop-bg{position:fixed;inset:0;z-index:9000;background:#163d3259}
.ch-pop{box-sizing:border-box;position:fixed;z-index:9001;left:50%;top:50%;transform:translate(-50%,-50%);width:min(640px,calc(100% - 32px));max-height:calc(100% - 32px);overflow:hidden auto;background:#fffefa;color:#163d32;border-radius:20px;padding:28px 26px 20px;box-shadow:0 30px 80px -20px #163d3299,0 2px 8px #163d3226;font-family:inherit;line-height:1.45}
.ch-pop *{box-sizing:border-box}
.ch-pop-x{position:absolute;right:8px;top:8px;width:40px;height:40px;border:0;border-radius:50%;background:transparent;color:#5d6d66;font:inherit;font-size:26px;line-height:1;cursor:pointer}
.ch-pop-x:hover,.ch-pop-x:focus-visible{background:#163d3214}
.ch-pop-eyebrow{margin:0 0 8px;font-size:12.5px;font-weight:800;letter-spacing:.06em;color:#b67a52}
.ch-pop-title{margin:0 0 12px;padding-right:32px;font-size:24px;font-weight:800;line-height:1.3;word-break:keep-all}
.ch-pop-lead{margin:0 0 12px;font-size:15px;color:#3f524a}
.ch-pop-opts{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}
.ch-pop-opt{display:flex;align-items:center;min-height:48px;padding:12px 16px;border:1.5px solid #163d3233;border-radius:12px;background:#fff;color:#163d32;font:inherit;font-size:15.5px;font-weight:700;line-height:1.35;text-align:left;text-decoration:none;cursor:pointer;word-break:keep-all;transition:background .15s,border-color .15s}
.ch-pop-opt:hover,.ch-pop-opt:focus-visible{border-color:#163d32;background:#163d320d}
.ch-pop-opt:focus-visible{outline:2px solid #b67a52;outline-offset:2px}
.ch-pop-opt2{position:relative;flex-direction:column;align-items:flex-start;gap:3px;padding:11px 44px 11px 16px}
.ch-pop-opt2 b{font-size:15.5px;font-weight:800;color:#163d32}
.ch-pop-opt2 span{font-size:13.5px;font-weight:400;color:#4b5d55;line-height:1.4}
.ch-pop-arrow2{position:absolute;right:16px;top:50%;transform:translateY(-54%);font-style:normal;font-size:30px;line-height:1;color:#163d3259;transition:color .15s,transform .15s}
.ch-pop-opt2:hover .ch-pop-arrow2,.ch-pop-opt2:focus-visible .ch-pop-arrow2{color:#163d32;transform:translate(4px,-54%)}
.ch-pop-step{display:flex;align-items:center;gap:10px;margin:0 0 10px}
.ch-pop-step i{flex:0 0 96px;height:5px;border-radius:999px;background:#163d3222;overflow:hidden}
.ch-pop-step i b{display:block;width:18%;height:100%;border-radius:999px;background:#b67a52}
.ch-pop-step span{font-size:12px;font-weight:700;color:#5d6d66;letter-spacing:.01em}
.ch-pop-two{display:flex;flex-direction:column;gap:10px}
.ch-pop-two .ch-pop-opt{position:relative;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;min-height:72px;padding:16px 56px 15px 20px;background:#163d32;border-color:#163d32;color:#fffefa}
.ch-pop-two .ch-pop-who{display:inline-block;padding:5px 14px;border-radius:999px;background:#935c37;color:#fff;font-size:16px;font-weight:900;line-height:1.3;letter-spacing:.01em;text-shadow:0 1px 1px #00000040}
.ch-pop-two .ch-pop-opt strong{display:block;margin-top:3px;font-size:17.5px;font-weight:800;line-height:1.5}
.ch-pop-two .ch-pop-opt small{display:block;font-size:13px;font-weight:400;color:#ffffffc7}
.ch-pop-two .ch-pop-arrow{position:absolute;right:20px;top:50%;transform:translateY(-54%);font-size:34px;line-height:1;color:#ffffff8c;transition:color .15s,transform .15s}
.ch-pop-two .ch-pop-opt:hover,.ch-pop-two .ch-pop-opt:focus-visible{background:#1f5243;border-color:#b67a52}
.ch-pop-two .ch-pop-opt:hover .ch-pop-arrow,.ch-pop-two .ch-pop-opt:focus-visible .ch-pop-arrow{color:#fff;transform:translate(4px,-54%)}
.ch-pop.is-fork{padding-top:46px}
.ch-pop.is-fork .ch-pop-title,.ch-pop.is-fork .ch-pop-foot{padding-left:21px}
.ch-pop.is-fork .ch-pop-foot{padding-right:21px}
.ch-pop-trust{margin:14px 0 0;padding:0;list-style:none;font-size:12.5px;color:#5d6d66;line-height:1.55}
.ch-pop-trust li{margin:0;padding:0 0 0 12px;position:relative}
.ch-pop-trust li::before{content:"";position:absolute;left:0;top:.6em;width:5px;height:5px;border-radius:50%;background:#b67a52}
.ch-pop-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;font-size:13px;flex-wrap:wrap}
.ch-pop-foot .ch-pop-back{text-decoration:none;font-weight:700;margin-right:2px}
.ch-pop-foot a,.ch-pop-foot button{border:0;background:transparent;padding:8px 0;font:inherit;font-size:13px;color:#163d32;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.ch-pop-foot .ch-pop-later{color:#5d6d66;margin-left:auto}
@media (max-width:767px){
 .ch-pop{width:calc(100% - 24px);max-height:min(calc(100vh - 24px),calc(100dvh - 24px));border-radius:18px;padding:20px 16px 14px}
 .ch-pop-title{font-size:21px}
 .ch-pop-opt{min-height:46px;padding:11px 14px;font-size:15px}
 .ch-pop-opts{gap:7px}
 .ch-pop-trust{margin-top:11px;font-size:12px}
 .ch-pop-br{display:none}
 .ch-pop-two .ch-pop-opt{min-height:64px;padding:13px 38px 12px 15px}
 .ch-pop-two .ch-pop-opt strong{font-size:15.5px}
 .ch-pop-two .ch-pop-who{font-size:15px;padding:4px 12px}
 .ch-pop-two .ch-pop-opt small{font-size:12px}
 .ch-pop-two .ch-pop-arrow{right:10px;font-size:28px}
 .ch-pop-opt2{padding:9px 34px 9px 13px;gap:2px}
 .ch-pop-opt2 b{font-size:14.5px}
 .ch-pop-opt2 span{font-size:12.5px;line-height:1.35}
 .ch-pop-arrow2{right:11px;font-size:26px}
 .ch-pop-lead{font-size:13.5px;margin-bottom:9px}
 .ch-pop-step{margin-bottom:8px}
 .ch-pop-step span{font-size:11px}
 .ch-pop.is-fork{padding-top:36px}
 .ch-pop.is-fork .ch-pop-title{font-size:20px;padding-left:16px}
 .ch-pop.is-fork .ch-pop-foot{padding:0 16px;font-size:12.5px}
}
@media print{.ch-pop,.ch-pop-bg{display:none!important}}
