@charset "UTF-8";
/* 2026 온라인 국민심사 메인 팝업 (WEB-INF/views/front/main/_kmssPopup.jsp).
   웹접근성: JSP 본문 안 <style> 대신 head 에서 로드 - 소통24 메인(templates/front/Empty.jsp, index_v4 전용)
   모두의 토론회 팝업(#moduTalkPopup)과 함께 뜨면 PC 는 좌(토론회)·우(국민심사) 나란히 - 배치는 _kmssPopup.jsp 스크립트 */
#mainKmssPopup.main-kmss-popup-wrap{display:none;position:fixed;left:0;top:0;right:0;bottom:0;z-index:100001;background:rgba(0,0,0,.45);line-height:normal!important}
/* 높이를 토론회 팝업(폭 384px, 이미지 640:900 → 이미지 높이 540px)과 맞춤: 이미지 1080:1440 이 높이 540px 이 되는 폭 405px.
   화면 높이가 낮을 때도 두 팝업 모두 이미지 높이 = (화면높이 - 84px) 로 같이 줄어든다 */
#mainKmssPopup .main-kmss-popup{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;width:405px;max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);width:min(405px, calc(100vw - 32px), calc((100vh - 84px) * 1080 / 1440));width:min(405px, calc(100vw - 32px), calc((100dvh - 84px) * 1080 / 1440));background:#fff;box-shadow:0 12px 30px rgba(0,0,0,.25);outline:0;line-height:normal!important}
#mainKmssPopup .main-kmss-popup-img-wrap{position:relative;flex:0 1 auto;min-height:0;overflow:auto;line-height:0}
#mainKmssPopup .main-kmss-popup-img-wrap img{display:block;width:100%;height:auto}
/* 이미지 한 장을 위·아래 반으로 나눠 링크 (원본 1080x1440, 경계 y=720) */
#mainKmssPopup .main-kmss-popup-link{position:absolute;left:0;width:100%;height:50%;z-index:2;overflow:hidden;text-indent:-9999px}
#mainKmssPopup .main-kmss-popup-link.top{top:0}
#mainKmssPopup .main-kmss-popup-link.bottom{top:50%}
#mainKmssPopup .main-kmss-popup-link:focus{outline:3px solid #1a56db;outline-offset:-3px}
#mainKmssPopup .main-kmss-popup-bottom{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;background:#fff;border-top:1px solid #ddd;font-size:14px;line-height:normal!important}
#mainKmssPopup .main-kmss-popup-bottom .pop_check{display:flex;align-items:center;line-height:16px!important}
#mainKmssPopup .main-kmss-popup-bottom .pop_check input[type=checkbox]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;margin:0!important}
#mainKmssPopup .main-kmss-popup-bottom .pop_check input[type=checkbox]+label{display:inline-block!important;cursor:pointer!important;position:relative!important;font-size:14px!important;padding-left:25px!important;line-height:16px!important;margin:0!important;color:#333!important}
#mainKmssPopup .main-kmss-popup-bottom .pop_check input[type=checkbox]+label::before{content:""!important;display:block!important;position:absolute!important;left:0!important;top:50%!important;transform:translateY(-50%)!important;width:16px!important;height:16px!important;background:#fff!important;border:1px solid #a1a1a1!important;box-sizing:border-box!important}
#mainKmssPopup .main-kmss-popup-bottom .pop_check input[type=checkbox]:checked+label::before{background:url('/images/icon_check.png') center no-repeat #fff!important}
#mainKmssPopup .main-kmss-popup-bottom .pop_check input[type=checkbox]:focus+label{outline:2px solid #1a56db;outline-offset:2px}
#mainKmssPopup .main-kmss-popup-bottom button{min-width:64px;height:32px;background:#2a88d1;color:#fff;border:0;border-radius:3px;cursor:pointer;line-height:normal!important}
/* 토론회 팝업과 나란히 뜰 때: 딤 배경은 토론회 팝업 하나만, 국민심사는 상자만 */
#mainKmssPopup.is-dual{background:transparent;pointer-events:none}
#mainKmssPopup.is-dual .main-kmss-popup{pointer-events:auto}
@media (max-width:360px){
#mainKmssPopup .main-kmss-popup-bottom{padding:8px 10px}
#mainKmssPopup .main-kmss-popup-bottom .pop_check input[type=checkbox]+label{font-size:13px!important}
}
