/* 창업 샘플 팝업 — 운영 진단 샘플 팝업(od.css)의 팝업 부품 규칙을 tools/s2s.py가 「.od」 → 「.chs」로만 바꿔 옮긴 것 (값은 그대로) */
.chs{--navy:#172E42; --navy-2:#1E3A54; --gold:#B09555; --gold-deep:#8E7642; --gold-soft:#F6F1E6;
    --bg:#F1F6F9; --ink:#16201B; --sub:#5A6B78; --mute:#8A99A5; --line:#DCE4EA;
    --card:#FFFFFF; --input-bg:#FCFDFF; --input-line:#CCD7E0; --green:#2F6B4F; --danger:#B3412E;
    --r:8px; --r-sm:6px;
    --font:"Hive","Pretendard","Noto Sans KR","Malgun Gothic","Apple SD Gothic Neo",sans-serif;
    color-scheme:light;}
.chs{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:15px;line-height:1.6;word-break:keep-all;-webkit-font-smoothing:antialiased}
.chs [hidden]{display:none !important}
.chs .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 26px;border-radius:7px;border:1px solid transparent;font-weight:700;font-size:16px;cursor:pointer;text-decoration:none;transition:background .15s,border-color .15s,transform .1s}
.chs .btn:active{transform:translateY(1px)}
.chs .btn-gold{background:var(--gold);color:#fff}
.chs .btn-gold:hover{background:var(--gold-deep)}
.chs .btn-gold[disabled]{background:#CFC3A6;cursor:not-allowed}
.chs .btn-ghost{background:transparent;color:var(--sub);border-color:var(--line)}
.chs .btn-ghost:hover{border-color:var(--sub);color:var(--ink)}
.chs .hero .copy .sub{margin-top:20px;color:#C3CEDA;font-size:17px;max-width:520px}
.chs .hero .copy .sum{margin:22px 0 30px;color:#E7DCC2;font-size:15px}
.chs .copy .main{margin:0;font-weight:800;letter-spacing:-.02em;line-height:1.25}
.chs .copy .sub{margin:12px 0 0;color:var(--sub);max-width:640px}
.chs .copy .sum{display:inline-flex;align-items:center;gap:10px;margin:16px 0 0;font-size:14px;font-weight:800;color:var(--gold-deep);letter-spacing:.01em}
.chs .copy .sum::before{content:"";width:22px;height:2px;background:var(--gold)}
.chs .section .copy .main{font-size:clamp(24px,3vw,32px)}
.chs .closing .copy .main{font-size:clamp(32px,4.6vw,50px);line-height:1.2;color:#fff}
.chs .closing .copy .sub{margin-top:16px;font-size:clamp(18px,2.1vw,22px);font-weight:700;color:#E7DCC2}
.chs .closing .copy .sum{margin-top:18px;font-size:15px;color:#E2C98D;line-height:1.5}
.chs .opt:focus-visible,.chs .btn:focus-visible,.chs .btn-text:focus-visible{outline:3px solid rgba(176,149,85,.45);outline-offset:2px}
.chs .rx .copy .main{font-size:22px}
.chs .rx .copy .sub{color:#5B4E30}
.chs .rx .copy .sum{margin-bottom:22px}
body.modal-open{overflow:hidden}
.chs .modal{position:fixed;inset:0;z-index:50;background:rgba(9,20,31,.72);display:flex;align-items:center;justify-content:center;padding:24px}
.chs .mbox{background:var(--bg);width:min(1040px,100%);max-height:calc(100vh - 48px);border-radius:10px;overflow:auto;box-shadow:0 30px 80px rgba(0,0,0,.4)}
.chs .mhead{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:28px 32px 20px;background:var(--navy);color:#fff}
.chs .mhead .copy .main{font-size:clamp(22px,2.8vw,30px);color:#fff}
.chs .mhead .copy .sub{color:#C3CEDA;margin-top:8px}
.chs .mhead .copy .sum{color:#E2C98D;margin-top:10px}
.chs .mclose{flex:0 0 auto;background:transparent;border:1px solid rgba(255,255,255,.35);color:#fff;border-radius:6px;min-height:42px;padding:0 14px;font-weight:700;cursor:pointer}
.chs .mclose:hover{background:rgba(255,255,255,.1)}
.chs .tabs{display:flex;gap:0;background:#fff;border-bottom:1px solid var(--line);padding:0 24px}
.chs .tabs button{background:none;border:0;border-bottom:3px solid transparent;padding:16px 14px 13px;font-weight:700;font-size:15px;color:var(--sub);cursor:pointer}
.chs .tabs button small{font-weight:600;color:var(--mute);margin-left:4px;white-space:nowrap}
.chs .tabs button[aria-selected="true"]{color:var(--ink);border-color:var(--gold)}
.chs .viewer{padding:18px 24px 24px}
.chs .vmeta{display:flex;justify-content:space-between;align-items:center;font-size:14px;color:var(--sub);margin-bottom:10px}
.chs .vmeta #vPage{font-weight:800;color:var(--ink);font-variant-numeric:tabular-nums}
.chs .vopen{display:flex;align-items:center;gap:10px}
.chs .vopen i{display:inline-block;width:120px;height:6px;background:#E4E9ED;border-radius:3px;overflow:hidden}
.chs .vopen i::after{content:"";display:block;height:100%;width:var(--open);background:var(--gold)}
.chs .vstage{position:relative;display:flex;align-items:center;justify-content:center;background:#DCE3E8;border-radius:8px;padding:18px 56px;min-height:420px}
.chs .vstage img{display:block;width:100%;max-width:560px;height:auto;aspect-ratio:952/1347;background:#EEF2F5;box-shadow:0 10px 30px rgba(23,46,66,.18)}
.chs .vnav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:#fff;font-size:22px;line-height:1;cursor:pointer;color:var(--navy)}
.chs .vnav.prev{left:8px}
.chs .vnav.next{right:8px}
.chs .vnav[disabled]{opacity:.35;cursor:default}
.chs .gate{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;background:linear-gradient(180deg,rgba(220,227,232,0) 0%,rgba(220,227,232,.55) 40%)}
.chs .gcard{background:#fff;border-radius:10px;max-width:440px;width:100%;padding:28px 26px 24px;box-shadow:0 20px 50px rgba(23,46,66,.25);text-align:left}
.chs .gcard .copy .main{font-size:21px;line-height:1.4}
.chs .gcard .copy .sub{margin-top:8px;font-size:14.5px}
.chs .gcard .copy .sum{margin-top:10px;font-size:13.5px}
.chs .gbtns{display:flex;flex-direction:column;gap:8px;margin-top:18px}
.chs .gbtns .btn{width:100%;min-height:50px}
.chs .thumbs{display:flex;gap:8px;overflow-x:auto;margin-top:14px;padding-bottom:4px}
.chs .thumbs button{flex:0 0 auto;width:52px;border:2px solid transparent;border-radius:4px;padding:0;background:#fff;cursor:pointer;position:relative}
.chs .thumbs button img{display:block;width:100%;aspect-ratio:952/1347;object-fit:cover;border-radius:2px}
.chs .thumbs button[aria-current="true"]{border-color:var(--gold)}
.chs .thumbs button.locked::after{content:"";position:absolute;inset:0;background:rgba(23,46,66,.35);border-radius:2px}
.chs .thumbs button span{position:absolute;bottom:2px;left:0;right:0;text-align:center;font-size:10px;font-weight:800;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.6);z-index:1}
@media (max-width:640px){.chs .hero .btn-gold{width:100%}
.chs .hero .copy .sub br{display:none}
.chs .actions .btn-gold{flex:1}
.chs .rx .btn{width:100%}
.chs .modal{padding:0}
.chs .mbox{max-height:100vh;height:100%;border-radius:0}
.chs .mhead{padding:20px 18px 16px}
.chs .tabs{padding:0 8px}
.chs .tabs button{font-size:14px;padding:14px 8px 11px}
.chs .tabs button small{display:block;margin:2px 0 0}
.chs .viewer{padding:12px 12px 20px}
.chs .vstage{padding:10px 6px;min-height:0}
.chs .vnav{width:38px;height:38px}
.chs .vopen i{width:70px}
.chs .closing .copy .sum{display:flex;align-items:flex-start}
.chs .closing .copy .sum::before{flex:0 0 22px;margin-top:10px}}
@media print{.chs #intro,.chs #flow,.chs .stepper,.chs .rx .btns,.chs .pages-est,.chs .modal,.chs .sent{display:none !important}
.chs{background:#fff}}
.chs .modal{z-index:120}
.chs #vOf{display:contents}
/* 10/17 — 휴대폰에서 화살표 · 닫기 누르는 자리 44픽셀 이상(보이는 크기는 운영 팝업 그대로 · 투명한 덧자리) */
.chs .mclose{position:relative}
@media (max-width:640px){.chs .vnav::after,.chs .mclose::after{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%)}}
