@charset "UTF-8";

/* 내역서(statement) 화면 공통 골격 + 좌측 LNB — CI3 원문 메뉴가 쓰는 서브 레이아웃 등가.
   골격: LNB 200px + 간격 40px + 본문 960px = 컨테이너 1200px(CI3 main.sub 실측 — 공동도급·컨설팅 화면과 같은 폭).
   브랜드색은 var(--brand-primary) — 전기넷 fork 는 :root 토큰만 다르고 이 파일 내용은 같다.

   CI3 는 이 규칙들을 전역 선택자(main.sub .snb …)로 갖고 있다. 재구축은 전역을 건드리지 않도록
   화면 뿌리(.statement-sub) 아래로 내려 국소 복원한다 — 보이는 결과는 같고 새는 곳만 막힌다. */

/* 본문 바깥 여백은 레이아웃 `.site-main`(= CI3 `main.sub{padding:50px 0 150px}`)이 갖는다 — 여기서 더하지 않는다. */
.statement-sub { display: flex; align-items: flex-start; }

/* 원문 전역 content-box — CI3 는 box-sizing 전역 선언이 없고 재구축 사이트 레이어는 `* {border-box}` 다.
   rect 는 같아도 패딩·테두리 있는 요소의 computed 폭·높이가 갈린다(LNB h2·h3 · 제목 · 소제목 막대 ·
   홍보 문구 상자). 원문이 border-box 를 선언한 요소(선택상자·입력칸·탭 등)는 아래 화면 시트의 더 구체적인 규칙이 이긴다.
   ⚠ 뿌리는 대조한 화면만 — 같은 시트를 싣는 결제 화면(`.statement-apply-pay`)은 대조하지 않아 넣지 않는다.
   ⚠ 크롬 UA 가 border-box 로 두는 요소(table · select · button · input)는 원문도 UA 값 그대로라 뺀다(표 높이 1px).
   `:where()` 로 특이도를 뿌리 한 단계(0,1,0)에 묶어 화면 시트의 개별 box-sizing 선언이 늘 이긴다. */
.statement-lnb, .statement-lnb :where(*:not(table, select, button, input)),
.statement-info :where(*:not(table, select, button, input)), .statement-apply-list :where(*:not(table, select, button, input)),
.statement-my-apply-list :where(*:not(table, select, button, input)), .statement-my-coupon :where(*:not(table, select, button, input)),
.statement-final-winner :where(*:not(table, select, button, input)), .statement-contract-apply-list :where(*:not(table, select, button, input)),
.statement-contract-my-apply-list :where(*:not(table, select, button, input)), .statement-index :where(*:not(table, select, button, input)) {
    box-sizing: content-box;
}

.statement-lnb { flex: none; width: 200px; margin-right: 40px; }
.statement-lnb h2 { font-weight: 700; margin: 0 0 20px; padding: 0 0 20px 20px; border-bottom: 1px solid #8491a7; font-size: 24px; }
.statement-lnb h3 { margin-bottom: 10px; padding: 0 0 10px 20px; border-bottom: 1px solid #aab6cb; font-size: 18px; }
.statement-lnb section { margin-bottom: 30px; }
/* CI3 실측: li 는 width:100% + padding-left 라 200px 컬럼을 20px 넘친다(레거시 지오메트리 그대로).
   전역 border-box 리셋을 이기려면 content-box 명시가 필요하다. */
.statement-lnb ul li { width: 100%; box-sizing: content-box; padding: 0 0 10px 20px; }
.statement-lnb ul li:last-of-type { padding-bottom: 0; }
.statement-lnb ul li > a { display: block; cursor: pointer; }
.statement-lnb ul li:hover > a,
.statement-lnb ul li.on > a { color: var(--brand-primary, #3267e9); }

/* 단독 항목(서비스 소개) — CI3 는 h3 에 onclick 을 걸어 뒀다. a 로 승격해 키보드 초점을 준다. */
.statement-lnb h3.lnb-link a { font-size: inherit; font-weight: inherit; cursor: pointer; }
/* CI3 `h3 onclick … style="cursor: pointer"` — h3 상자 전체(200×37 · 패딩 포함)가 손가락·누르는 대상. a 를 h3 상자로 늘린다. */
.statement-lnb h3.lnb-link { position: relative; cursor: pointer; }
.statement-lnb h3.lnb-link a::after { content: ""; position: absolute; inset: 0; }
/* 켜짐 색은 h3 자신이 갖는다 — 원문 `common_layout.css:29` `main.sub .snb section h3.on{color}`(전 `:427` 초록) · a 는 상속(a 에만 주면 h3 테두리색(currentColor)이 갈린다). */
.statement-lnb h3.on { color: var(--brand-primary, #3267e9); }
.statement-lnb h3.lnb-link.on a { color: inherit; }

/* 고객센터 이미지(전화번호는 이미지 안 텍스트 — tel: 링크만 config 값). 원문은 그림에 규칙이 없다 —
   reset.css:9 `img{vertical-align:middle}` 인라인 그대로. */

/* 본문 영역 — CI3 main.sub .content(960px) 등가. */
.statement-content { width: 960px; }
/* 공용 표 래퍼 — CI3 ij_layout.css:541 `.ij_table{position:relative; background-color:#fff}`(전 ij_layout_jungi.css:517 같음). */
.statement-content:where(:not(.statement-apply-pay)) .ij_table { position: relative; background-color: #ffffff; }
.statement-content .con_header { position: relative; margin-bottom: 20px; }
.statement-content .con_header .title { font-size: 24px; font-weight: 500; }

/* ── 원문 공용 부품 — 목록 화면의 제목 줄·검색·날짜 묶음·탭 ──────────────────────────────
   원문 마크업(`.subtitle` + `float:right` 묶음 · `.ij_search.search_type2` · `div.ij_select` · `.ij_input_union` ·
   `div` 로 감싼 `ul.tab_menu.box.light.line.mb-0` + `.tab-w-5`/`.tab-w-2`)을 그대로 쓰고, 그 마크업에 닿는 원문 전역 규칙만
   본문 뿌리(.statement-content) 아래로 내려 국소 복원한다(값 = 원문 · 좌표). 화면마다 flex 로 다시 짜면
   css 층이 표시·위치·글자 크기로 갈린다. ⚠ 뿌리에서 결제 화면(`.statement-apply-pay` — 대조하지 않은 화면 · 같은 시트를 싣는다)을
   뺀다(입력칸 폭 규칙을 이긴다) · `:where()` 라 특이도는 그대로다. 전기넷 값은 `ij_layout_jungi.css` 가 같은 값이고 색만 브랜드색이다. */

/* 제목 줄 — `statement_com.css:59` `.subtitle{font-size:18px; font-weight:bold}` · 오른쪽 묶음 = 원문 인라인 `float:right` */
.statement-content:where(:not(.statement-apply-pay)) .subtitle { font-size: 18px; font-weight: bold; }
.statement-content:where(:not(.statement-apply-pay)) .subtitle_side { float: right; }

/* 버튼 기본 — `reset.css:25` button + `ij_layout.css:1332-1347` `button.ij_btn` */
.statement-content:where(:not(.statement-apply-pay)) .subtitle button.ij_btn {
    font-size: 13px; font-weight: 500; padding: 4px 8px 5px; color: #5c667b; border: 1px solid #aab6cb;
    box-sizing: border-box; vertical-align: baseline; background-color: #fff; cursor: pointer;
}
.statement-content:where(:not(.statement-apply-pay)) .subtitle button.ij_btn:hover { color: var(--brand-primary, #3267e9); border-color: var(--brand-primary, #3267e9); }

/* 선택상자 — `ij_layout.css:390-435,461-477` `div.ij_select` */
.statement-content:where(:not(.statement-apply-pay)) div.ij_select { position: relative; display: inline-block; }
.statement-content:where(:not(.statement-apply-pay)) div.ij_select::before {
    content: ""; position: absolute; top: 13px; right: 8px; pointer-events: none; font-weight: 900;
    width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #8491a7;
}
.statement-content:where(:not(.statement-apply-pay)) div.ij_select select {
    font-size: 13px; font-weight: 400; padding: 0 30px 0 8px; height: 30px; line-height: 26px; box-sizing: border-box;
    width: 100%; color: #8491a7; border-radius: 0; background-color: white; margin: 0;
    -webkit-appearance: none; -moz-appearance: none; appearance: none; border: 1px solid #aab6cb; outline: 0;
    vertical-align: baseline;   /* `:429-433` 크롬 핵 — 크롬은 -0.5px 대신 baseline */
}
.statement-content:where(:not(.statement-apply-pay)) div.ij_select:hover select { color: #5c667b; border: 1px solid #5c667b; }
/* hover 화살표 — `ij_layout.css:447-460` `div.ij_select:hover:before`(삼각형이 #5c667b 로 진해진다) */
.statement-content:where(:not(.statement-apply-pay)) div.ij_select:hover::before { border-top-color: #5c667b; }

/* 입력칸 — `ij_layout.css:1047-1078` `input.ij_input[type=text]` · `common.css:194` `.wd-200` */
.statement-content:where(:not(.statement-apply-pay)) input.ij_input[type="text"] {
    box-sizing: border-box; border: 1px solid #aab6cb; font-size: 13px; line-height: 19px; margin: 0;
    padding: 4px 8px 5px; width: 180px; vertical-align: baseline; outline: none;
}
.statement-content:where(:not(.statement-apply-pay)) input.ij_input[type="text"]::placeholder { color: #8491a7; }
.statement-content:where(:not(.statement-apply-pay)) input.ij_input[type="text"]:focus { border: 1px solid var(--brand-primary, #3267e9); }
.statement-content:where(:not(.statement-apply-pay)) .wd-200 { width: 200px !important; }

/* 검색 묶음 — `ij_layout.css:1239-1252` `.ij_search` · `:4246-4262` `.search_type2`
   (입력칸 `margin-left:-3px` = 선택상자와 입력칸 사이 인라인 공백을 메운다 · 두 상자가 한 테두리로 붙는다) */
.statement-content:where(:not(.statement-apply-pay)) .ij_search { display: inline-block; font-size: 13px; }
.statement-content:where(:not(.statement-apply-pay)) .ij_search select { border-right: none !important; }
.statement-content:where(:not(.statement-apply-pay)) .ij_search input[type="text"] { border-left: none !important; margin-left: -3px !important; height: 30px; }
.statement-content:where(:not(.statement-apply-pay)) .search_type2 { position: relative; }
/* 강조 — 원문은 JS(`ij_layout.js:102-111`)가 선택상자·입력칸에 마우스가 오르거나 초점이 가면 묶음에 `on` 을 붙이고
   `ij_layout.css:1254-1267` `.ij_search.on …` 이 두 상자 테두리·글자를 #5c667b 로 진하게 한다(돋보기 버튼 hover 는 제외).
   재구축은 같은 조건을 CSS `:has()` 로 건다 — JS 없이. */
.statement-content:where(:not(.statement-apply-pay)) .ij_search:has(select:hover, select:focus, input:hover, input:focus) div.ij_select select {
    border: 1px solid #5c667b !important; border-right: none !important; color: #5c667b;
}
.statement-content:where(:not(.statement-apply-pay)) .ij_search:has(select:hover, select:focus, input:hover, input:focus) div.ij_select::before { border-top-color: #5c667b; }
.statement-content:where(:not(.statement-apply-pay)) .ij_search:has(select:hover, select:focus, input:hover, input:focus) input.ij_input[type="text"] {
    border: 1px solid #5c667b !important; border-left: none !important;
}
.statement-content:where(:not(.statement-apply-pay)) .search_type2 input[type="text"] { padding: 4px 28px 5px 8px; }
.statement-content:where(:not(.statement-apply-pay)) .search_type2 button {
    position: absolute; top: 0; right: 0; width: 28px; height: 30px; padding: 0; border: 0; cursor: pointer;
    -webkit-appearance: none; appearance: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%235c667b' d='M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z'/%3E%3C/svg%3E") 6px 7px no-repeat;
    background-size: 15px;
}
/* 좁은 폭 — `common_con_name.css:13-19` `@media (max-width:1800px){#search_code{width:67px}}`(신청 목록 선택상자만 id 가 있다) */
@media screen and (max-width: 1800px) {
    .statement-content:where(:not(.statement-apply-pay)) #search_code { width: 67px; }
}

/* 날짜 묶음 — `ij_layout.css:1270-1281` `.ij_input_union` + 원문 인라인 입력칸 `border:none; width:90px; text-align:center` */
.statement-content:where(:not(.statement-apply-pay)) .ij_input_union { display: inline-block; border: 1px solid #aab6cb; font-size: 14px !important; white-space: nowrap; }
.statement-content:where(:not(.statement-apply-pay)) .ij_input_union input[type="text"] { border: none !important; text-align: center; width: 90px; }

/* 탭 — `ij_layout.css:2379-2424,2491-2502` `ul.tab_menu.box`(.line · .light) · `statement_com.css:60-61` `.tab-w-5`/`.tab-w-2` ·
   `common.css:241` `.mb-0` · li 흐름 = `reset.css:14` `ol,li{float:left}` · 래퍼 = 원문 인라인 `div style="margin:10px 0"` */
.statement-content:where(:not(.statement-apply-pay)) .tab_wrap { margin: 10px 0; }
.statement-content:where(:not(.statement-apply-pay)) ul.tab_menu.box { margin-bottom: 40px; overflow: visible; padding-left: 1px; }
.statement-content:where(:not(.statement-apply-pay)) ul.tab_menu.box::after { display: table; content: ""; clear: both; }
.statement-content:where(:not(.statement-apply-pay)) ul.tab_menu.box > li {
    float: left; width: 320px; box-sizing: border-box; margin-left: -1px; position: relative; overflow: visible;
}
.statement-content:where(:not(.statement-apply-pay)) ul.tab_menu.box > li > a {
    position: relative; box-sizing: border-box; width: 100%; height: 50px; display: inline-block; line-height: 46px;
    border: 1px solid #d7dce5; font-size: 18px; text-align: center; font-weight: 500; cursor: pointer;
}
.statement-content:where(:not(.statement-apply-pay)) ul.tab_menu.box > li:hover > a { color: var(--brand-primary, #3267e9); border: 1px solid var(--brand-primary, #3267e9); z-index: 1; }
.statement-content:where(:not(.statement-apply-pay)) ul.tab_menu.box > li.current > a {
    color: #fff; border: 1px solid var(--brand-primary, #3267e9); background-color: var(--brand-primary, #3267e9); z-index: 1;
}
.statement-content:where(:not(.statement-apply-pay)) ul.tab_menu.box.line > li.current > a { border: 1px solid var(--brand-primary, #3267e9); color: var(--brand-primary, #3267e9); background: #ffffff; }
.statement-content:where(:not(.statement-apply-pay)) ul.tab_menu.box.light > li > a { font-size: 14px; font-weight: 400; }
.statement-content:where(:not(.statement-apply-pay)) .tab-w-5 { width: calc(20% + 1px) !important; }
.statement-content:where(:not(.statement-apply-pay)) .tab-w-2 { width: calc(50% + 1px) !important; }
.statement-content:where(:not(.statement-apply-pay)) .mb-0 { margin-bottom: 0 !important; }

/* 전기넷 원문만 표 래퍼에 `green` 을 단다(`common_jungi.css:84` `.green{color:#248600 !important}` · 건설넷 원문엔 없다).
   보이는 글자는 칸·div 가 reset 으로 `#202020` 을 가져 그대로고, 표·행 같은 상속 요소의 computed 색만 초록이다.
   blade 는 건·전 같은 모양(fork)이라 사이트 선택자로 옮긴다. */
body[data-site="jungi"] .statement-apply-list .list_wrap,
body[data-site="jungi"] .statement-my-apply-list .list_wrap,
body[data-site="jungi"] .statement-final-winner .ij_table.company_manage,
body[data-site="jungi"] .statement-contract-apply-list .ij_table.apply_list,
body[data-site="jungi"] .statement-contract-my-apply-list .search_form > .ij_table {
    color: #248600 !important;
}
