@charset "UTF-8";

/*
 * 건설넷 낙찰 리스트 CSS — **자립 한 벌** (bbs/list.css base 에 기대지 않는다).
 *
 * 소비 화면: /nbbs(공사/용역) · /nbbs-pur(물품) · /nbbs-match(맞춤) — 낙찰 리스트 3형제.
 * 조건검색 폼(conditional-search)은 별 축 — bbs CSS base 를 쓴다.
 *
 * 구성 = 종전 입찰 base(css/igunsul/bbs/list.css)에서 낙찰이 실제 소비하던 규칙의 **사본**(fork —
 * 입찰측 CSS 리팩토링과의 결합 해제, 값은 동일) + 종전 낙찰 오버레이(라이브 대조 보정)의 병합.
 * 입찰 전용 블록(마감 배지 4종·내역서/협정/투찰 배지·읽음색 8종·입찰 일정 컬럼 폭·row_violet 등)은
 * 계승하지 않는다 — 낙찰에 그 마크업이 없다.
 *
 * 원천 계보: CI3 resource/common/css/{ij_layout,common_list,common,common_layout}.css ·
 * multiple_part_section.css. 라이브 대조 실측 주석은 원 위치의 것을 유지.
 */

/* ============ 컴포넌트: checkbox (공종 다중선택이 소비) ============ */
input.ij_checkbox[type="checkbox"] { position: absolute; opacity: 0; }
input.ij_checkbox[type="checkbox"] + div {
    margin-right: 4px; box-sizing: border-box; position: relative;
    padding-left: 20px; display: inline-block; line-height: 16px; vertical-align: baseline;
}
input.ij_checkbox[type="checkbox"] + div:hover { color: var(--brand-primary); cursor: pointer; }
input.ij_checkbox[type="checkbox"] + div:before {
    position: absolute; top: 1px; left: 0; display: inline-block; content: "";
    border: 1px solid var(--brand-primary); border-radius: 2px; background: #fff;
    box-sizing: border-box; width: 16px; height: 16px; cursor: pointer;
}
input.ij_checkbox[type="checkbox"]:checked + div { color: #333; }
input.ij_checkbox[type="checkbox"]:checked + div:after {
    position: absolute; top: 4px; left: 3px; display: inline-block; content: "";
    border-left: 2px solid #fff; border-bottom: 2px solid #fff;
    box-sizing: border-box; width: 10px; height: 6px; transform: rotate(-45deg);
}
input.ij_checkbox[type="checkbox"]:checked + div:before { background: var(--brand-primary); }

/* ============ 컴포넌트: select ============ */
div.ij_select { position: relative; display: inline-block; }
div.ij_select:before {
    content: ""; position: absolute; top: 13px; right: 8px; pointer-events: none;
    width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
    border-top: 5px solid #8491a7;
}
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: #fff;
    margin: 0; -webkit-appearance: none; -moz-appearance: none; appearance: none;
    border: 1px solid #aab6cb; outline: 0; vertical-align: -0.5px;
}
/* 크롬 핵: WebKit 에서 select vertical-align 을 baseline 로 (ij_layout.css 동일). 없으면 -0.5px 로 남음. */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    div.ij_select select { vertical-align: baseline; }
}
div.ij_select:hover:before { border-top: 5px solid #5c667b; }
div.ij_select:hover select { color: #5c667b; border: 1px solid #5c667b; }
div.ij_select:hover #selected_name { border: 1px solid #5c667b; color: #5c667b; }
div.ij_select input#selected_name:hover,
div.ij_select input#selected_name:focus { outline: none; cursor: auto; }
/* 커서 = auto(읽기 전용 칸이라 글자 위 I자 · 빈 곳 화살표) — 원문 전역 common_con_name.css:126 `#selected_name{cursor:auto !important}` 가 위 ij_layout.css:441~445 의 default 를 이긴다 */

/* ============ 컴포넌트: 검색 input ============ */
.ij_search { display: inline-block; font-size: 13px; }
.ij_search select { border-right: none !important; }
.ij_search input[type="text"] { border-left: none !important; margin-left: -3px !important; height: 30px; }
/* 검색 상자 강조 — CI3 ij_layout.js:101~115 가 select·input 의 mouseenter/focus 에 `.on` 을 붙이고 떼는 것을
   JS 없이 같은 조건(:hover·:focus)의 :has 로 건다(ij_layout.css:1254~1267 값 · 입찰 bbs/list.css 와 같은 처방). */
.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; }
.ij_search:has(select:hover, select:focus, input:hover, input:focus) div.ij_select::before { border-top: 5px solid #5c667b; }
.ij_search:has(select:hover, select:focus, input:hover, input:focus) input[type="text"].ij_input { border: 1px solid #5c667b !important; border-left: none !important; }
/* ij_layout.css input.ij_input[type=text] 충실 이식. */
.ij_input { 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; }

/* ① 검색 placeholder 색 — CI3 는 전역(common.css:3 `input::placeholder{color:#8491a7}` +
   ij_layout.css:1060 `.ij_input::placeholder`)으로 깔지만 재구축엔 util-search 것만 있어
   리스트 검색창이 브라우저 기본 회색으로 나왔다(라이브 대조). */
.list_type_nbid .ij_input::placeholder { color: #8491a7; }

/* ============ 통합검색 search_type2 (ij_layout.css + common_con_name.css) ============
   셀렉트+인풋이 보더로 이어지고, 돋보기 버튼이 인풋 우패딩(28px) 자리에 절대배치돼 "붙은 한 묶음"으로 보임. */
#search_text { width: 200px; }
.search_type2 { position: relative; }
.search_type2 input[type="text"] { width: 210px; padding: 4px 28px 5px 8px; }  /* #search_text(id) 200 이 폭 승 */
.search_type2 button {
    position: absolute; top: 0; right: 0; width: 28px; height: 30px; border: 0; cursor: pointer;
    background: url(/images/igunsul/icon/search-solid.svg) 6px 7px no-repeat;
    background-size: 15px;
}

/* ============ 컴포넌트: 아이콘 버튼 (낙찰 소비분: find·excel·top·list + em_green) ============ */
.ij_icon_btn {
    font-size: 13px; font-weight: 500; line-height: 28px; padding: 0 8px; color: #5c667b;
    border: 1px solid #aab6cb; background-color: #fff; box-sizing: border-box; vertical-align: baseline;
    cursor: pointer;
}
/* 아이콘 글리프: CI3 는 인라인 SVG(fill 상속)였으나, 무빌드 public 정책상 SVG 파일을 mask 로 얹고
   background-color 를 "fill" 로 써서 hover 색 전환까지 재현(인라인 SVG 를 Blade 에 박지 않음). */
.ij_icon_btn span {
    display: inline-block; margin-right: 5px; vertical-align: -2px; width: 14px; height: 14px;
    background-color: #5c667b;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: center; mask-position: center;
    -webkit-mask-size: contain; mask-size: contain;
}
.ij_icon_btn:hover { border: 1px solid #5c667b; color: #202020; }
.ij_icon_btn:hover span { background-color: #202020; }
.ij_icon_btn.excel span { width: 14px; height: 14px; -webkit-mask-image: url(/images/igunsul/icon/excel.svg); mask-image: url(/images/igunsul/icon/excel.svg); }
.ij_icon_btn.find span { width: 13px; height: 13px; -webkit-mask-image: url(/images/igunsul/icon/find.svg); mask-image: url(/images/igunsul/icon/find.svg); }
/* 지역업체찾기 버튼 글리프 — CI3 icn_local.svg(낙찰 상세 detail.css 와 같은 파일) */
.ij_icon_btn.local span { width: 13px; height: 13px; -webkit-mask-image: url(/images/igunsul/icon/icn_local.svg); mask-image: url(/images/igunsul/icon/icn_local.svg); }
/* 좁은 화면에서 「지역」 글자를 접는다 — CI3 전역 규칙(bbs/list.css:299 와 같은 값) */
/* 원문은 두 파일이 다 실린다 — common_list.css:7(≤1600) + common_con_name.css:10(≤1650) → 실효 ≤1650. */
/* 버튼 안 「지역」 글자 위도 손가락 — 원문 전역 common_con_name.css:2~4(bbs/list.css 와 같은 값) */
.narrow_hidden { cursor: pointer; }
@media screen and (max-width: 1650px) { .narrow_hidden { display: none; } }
/* 좁은 폭 표 칸 여백 — CI3 common_list.css:4~6(≤1300 · 컬럼 14개 이상일 때 5px 2px · 입찰 bbs/list.css 와 같은 규칙). 빠져 있어 1300 이하에서
   종목·지역 글줄이 여백 5px 만큼 더 접혀 행이 높아졌다(1280 폭 목록 높이 원문 669 ↔ 재구축 705). */
@media screen and (max-width: 1300px) { .ijContentWrap:not(.fewer_columns) .ij_table.type1.list table td { padding: 5px 2px; } }
/* 좁은 폭 검색·선택 폭 — CI3 common_list.css:10~17(≤1800 #search_code 67 · #search_text 110 · #align_select 85) +
   ij_layout.css:4266~4270(≤1750 `.search_type2 #search_text` 140 — id+class 라 110 을 이긴다). 원문 #search_code = 재구축 #search_by. */
@media screen and (max-width: 1800px) {
    #search_by { width: 67px; }
    #search_text { width: 110px; }
    #align_select { width: 85px; }
}
@media screen and (max-width: 1750px) {
    .search_type2 #search_text { width: 140px; }
}
/* 1순위업체 → 지역업체찾기 링크 손가락 커서 — 원문은 전역 reset.css:22 `a{cursor:pointer}` 가 준다(링크에 href 가 없다).
   재구축엔 그 전역 규칙이 없어 이 링크에만 같은 선언. */
.listWrap .firstCom2localComAnchor { cursor: pointer; }
/* 원문은 인라인 svg(viewBox 108.5×113.7)라 폭 13 이면 세로 13.61 — 13×13 상자에 contain 하면 5% 작아지고 0.6px 내려간다(bbs/list.css 와 같은 값) */
.ij_icon_btn.top span { width: 13px; height: 13.6px; -webkit-mask-image: url(/images/igunsul/icon/top.svg); mask-image: url(/images/igunsul/icon/top.svg); }
/* .list = 목록으로 보내는 버튼(맞춤입찰정보 등)의 햄버거 글리프. CI3 icn_list.svg. */
/* 크기·세로 = CI3 ij_layout.css:1824~1828(13×13 · -1px — 입찰과 같은 값). */
.ij_icon_btn.list span { width: 13px; height: 13px; vertical-align: -1px; -webkit-mask-image: url(/images/igunsul/icon/icn_list.svg); mask-image: url(/images/igunsul/icon/icn_list.svg); }
/* 보이는 아이콘 = 원문 13×13 span 안 인라인 svg(12.98×10.56 · 바닥이 기준선 아래 1px). 13×13 상자에 contain 하면 1.2px 위로 뜬다 → 상자 높이를 svg 높이로(bbs/list.css 와 같은 값) */
.ij_icon_btn.list span { height: 10.5625px; }
/* em_green — CI3 ij_layout.css 값 그대로(연녹 bg 포함) + hover 전환. 아이콘은 mask 라 fill 대신 background-color. */
.ij_icon_btn.em_green { color: #2fa630; border-color: #2fa630; background-color: #f0faef; }
.ij_icon_btn.em_green span { background-color: #2fa630; }
.ij_icon_btn.em_green:hover { color: #008501; border-color: #008501; background-color: #dff6dc; }
.ij_icon_btn.em_green:hover span { background-color: #008501; }

/* ============ 테이블: ij_table (type1 list) ============ */
.ij_table { position: relative; background-color: #fff; }
.ij_table table { width: 100%; }
.ij_table table th { border-top: 1px solid #8491a7; border-bottom: 1px solid #8491a7; font-weight: 500; }
.ij_table table td { border-bottom: 1px solid #aab6cb; }
.ij_table table th, .ij_table table td { padding: 9px 10px 10px 10px; height: 30px; }
.ij_table.type1 table { width: 100%; border-top: 1px solid #5c667b; }
.ij_table.type1 table th { padding: 9px 20px 10px 20px; font-weight: 500; background: #f1f5ff; border-top: none; }
.ij_table.type1 table td { padding: 9px 10px 10px 10px; }
.ij_table.type1 table th, .ij_table.type1 table td { border-bottom: 1px solid #aab6cb; text-align: left; }
/* .border 모디파이어: 셀 좌우 세로보더 (ij_layout.css .ij_table.border) — 표에 `border` 클래스 있을 때 */
.ij_table.border table th, .ij_table.border table td { border-left: 1px solid #aab6cb; border-right: 1px solid #aab6cb; }
/* 표 왼쪽 마감선 — CI3 common_layout.css `.list table`(실측: 첫 컬럼 셀 보더만으론 좌측이 빈다.
   라이브 대조 — freezeTable(고정헤더)·listWrap(본문)이 같이 있어야 좌측 끝선이 이어진다). */
.ij_table.list table { border-left: 1px solid #aab6cb; }
.freezeTable.ij_table { z-index: 1; }
.listWrap.ij_table { margin-top: -1px; }
.ij_table.type1.list table tr { height: 30px; }
.ij_table.type1.list table th { padding: 6px 0; text-align: center; font-weight: 700; }
/* th 안 p 마진 리셋 — 라이브는 전역 리셋(reset.css:4 `p{margin:0;padding:0}`)이 있는데 자립 한 벌엔 없어
   나의 투찰정보 2단 라벨(`<p>1순위 금액</p><p>나의투찰금액</p>`)이 브라우저 기본 p 마진(12px×2)으로
   th 를 43→77 로 키웠다(실측: 라이브 th p margin 0/0 · th 43). 상세 hover 표(nbbs/detail.css)도 같다. */
.ij_table.type1.list table th p { margin: 0; padding: 0; }
.ij_table.type1.list table td { padding: 5px 7px; line-height: 18px; }
/* 결과 없음 안내 셀 — `.center`(0,1,0) 만으로는 위 `.ij_table.type1 table td`(0,2,2) 의 text-align:left 를
   못 이긴다. 리스트 3종이 공유하는 자리라 여기서 셀렉터 무게를 맞춰 준다. */
.ij_table.type1.list table td.center { text-align: center; }
.ij_table.type1.list > table > tbody > tr:hover > td { background-color: #fff8e0; }
.ij_table.type1.list th, .ij_table.type1.list td, .ij_table.type1.list p, .ij_table.type1.list div {
    font-size: 12px;
    font-family: 돋움, Dotum, AppleSDGothicNeo-Regular, "맑은 고딕", "Malgun Gothic", 나눔고딕, 굴림, Gulim, "Apple SD Gothic Neo", sans-serif, verdana;
    letter-spacing: 0;
}
.ij_table.list .multi_ellipsis {
    text-align: left; overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
    -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-height: 1.5em; max-height: 4.5em;
}

/* ⑥ 짝수 행 줄무늬 — 라이브 `common_layout.css:126 .list table tr:nth-child(even){#fbfbfb}`
   (라이브 대조). tbody 기준이 아니라 table 하위 tr 기준이라 고정헤더(freezeTable)엔
   tbody 가 없어 영향 없음. */
.list_type_nbid .listWrap table tr:nth-child(even) { background-color: #fbfbfb; }

/* ============ 리스트 레이아웃 (common_list.css) ============ */
.ijMainContent .freezeWrap .freezeTable table { width: 100%; table-layout: fixed; }
.ijMainContent .freezeWrap { background: #fff; z-index: 2; }
/* 본문 표도 fixed 로 — freezeTable(고정헤더)과 동일 colgroup·동일 폭계산이라야 세로보더가 정확히 정렬.
   (라이브 본문 표도 계산값 fixed — 라이브 실측 · 1440·1829·2400 에서 머리·본문 칸 폭 1px 단위 같음 · 원문 CSS 에는 머리표 common_list.css:44 에만 있음) */
.list_type_nbid .listWrap table { table-layout: fixed; }

/* 공고목록 틀 고정(게시판설정 공통 freeze 에 'nbid') — 스크롤 시 freezeWrap(헤더·옵션바·컬럼헤더)이 상단에 붙어
   본문(listWrap)이 그 아래로 흘러간다. CI3 는 position:fixed + jQuery 스크롤 동기화였으나, 재구축은
   position:sticky 로 개선(입찰과 같은 방식) — 흐름 안에 남아 가로스크롤·padding 보정 JS 불필요, 세로만 자연 고정.
   고정 기준선 = --gnb-h(고정 헤더 높이) + --band-h(맞춤설정 밴드 실높이 — 밴드 JS 가 노출, 접힘 시 자동 0). */
.list_type_nbid .ijContentWrap.freeze .freezeWrap { position: sticky; top: calc(var(--gnb-h, 0px) + var(--band-h, 0px)); }
/* 문서 끝까지 내려도 그 자리 — 라이브(fixed)와 같은 결과(6곳 같은 처방).
   sticky 는 부모(ijContentWrap) 아래끝에 닿으면 밀려 올라가 상단 달력·배너 밑으로 들어갔다(전 나의방 1920×900 = 390→299).
   아래 margin 을 -200vh 로 두면 밀리기 시작점이 화면 높이 두 배만큼 내려간다(목록이 짧고 창이 낮으면 100vh 로 모자랐다 — 전 낙찰 창 480 실측). 다음 형제 margin-top 을 같은 만큼 올려(+ 원래 사이 -1px =
   listWrap 위 테두리 겹치기 · 나의방은 form 안 listWrap 이 같은 접힘에 든다) 겹친 margin 이 원래 -1px 로 접힌다 → 배치·문서 높이 그대로. */
.list_type_nbid .ijContentWrap.freeze .freezeWrap { margin-bottom: -200vh; }
.list_type_nbid .ijContentWrap.freeze .freezeWrap + * { margin-top: calc(200vh - 1px); }

/* freezeWrap BFC — 자식 마진이 래퍼 위로 새는 마진붕괴를 가둔다(밴드/헤더 사이 간격 안정).
   라이브(block)와 display 가 다르지만 **의도한 개선**이다. 상단 여백은 래퍼 자신의 margin 으로 —
   입찰 bbs/list.css 와 같은 처방: 첫 자식 마진을 0 으로 두고 같은 값(listHeader 20 · 조건검색 요약 24 = CI3 mt-4)을
   래퍼로 옮겨 rect 를 라이브와 맞춘다. 나의방 낙찰은 달력 스트립이 그 자리를 대신해 0(my-folder/calendar.css). */
.list_type_nbid .freezeWrap { display: flow-root; margin-top: 20px; }
.list_type_nbid .freezeWrap:has(> .searchSummary) { margin-top: 24px; }
.list_type_nbid .freezeWrap > .listHeader,
.list_type_nbid .freezeWrap > .searchSummary { margin-top: 0; }
/* 틀고정 + 머리 배너(.banner_ad top:-10px) — 원문은 freezeWrap 이 fixed(top 없음 = 첫 자리 고정 · header.js:231)라 머리가 헤더 아래 20 에
   남아 배너 윗단이 늘 보인다. 재구축 sticky 는 붙으면 테두리 위가 밴드 바닥에 닿아(바깥 margin 은 따라오지 않는다) 배너 위 10px 가
   밴드(z 400)·GNB 뒤로 간다(목록이 짧으면 스크롤 끝에서 늘 붙은 채라 눈에 띈다). 위 20 을 바깥 10 + 안쪽 10 으로
   나눠 붙어도 배너 윗단이 freezeWrap 흰 바탕 안에 든다 — 안 붙었을 때 보이는 자리는 같다(sticky 유지 · layout.css 무변경). */
.list_type_nbid .ijContentWrap.freeze .freezeWrap:has(> .listHeader > .banner_ad) { margin-top: 10px; padding-top: 10px; }

.listHeader { position: relative; margin-top: 20px; }
.listHeader h2 { display: inline-block; padding-right: 15px; margin: 0; }
.listHeader h2 label { padding-left: 10px; font-weight: 500; font-size: 16px; vertical-align: 1px; }
/* "낙찰정보 > 종목/지역" 구분 화살표(icn_location_arrow). 이미지 높이가 h2 라인박스를 32px 로 키움. */
.listHeader h2 span.arrow { display: inline-block; vertical-align: 2px; margin-left: 8px; }
.listHeader h2 span.arrow:before { content: url(/images/igunsul/icon/arrow-location.png); }
.listHeader .banner_ad { position: absolute; top: -10px; right: 0; }

.listHeaderOption { margin: 20px 0 10px; }
/* CI3 common_list.css:58~60 그대로 — clearfix 없음(입찰과 같은 처방 · 떠 있는 오른쪽 묶음 높이가 소수(30.25)인 폭에서
   clearfix 가 부모를 0.25 키워 아래 표 머리 윗선이 반 픽셀에 걸려 옅게 그려진다 · 원문은 떠 있는 오른쪽 묶음을 부모 높이에 넣지 않는다) */
.listHeaderOption .leftWrap { display: inline-block; }
.listHeaderOption .rightWrap { float: right; }
/* 버튼/컨트롤 간격은 CI3 처럼 inline 요소 사이의 HTML 공백뿐(별도 margin 규칙 없음). */

.listFooterOption { margin-top: 10px; }
.listFooterOption:after { content: ""; display: block; clear: both; }
.listFooterOption .fl_r { float: right; }

/* 페이징 (ij_layout.css .paging + common_list.css margin 오버라이드) — 낙찰 파샬은 CI3 형 페이저
   (10개 블록·dots 없음)라 dots 규칙은 계승하지 않는다. */
.paging { margin-top: 5px; margin-bottom: 20px; text-align: center; }
.paging_wrap { display: inline-block; }
.paging a {
    display: block; float: left; margin: 0 2px; width: 30px; height: 30px; line-height: 30px;
    border: 1px solid #d7dce5; color: #5c667b; font-weight: bold; box-sizing: border-box;
}
.paging a.act { color: var(--brand-primary); border: 1px solid var(--brand-primary); }
.paging .prev { margin-right: 8px; background: url(/images/shared/icon/arrow-prev.png) no-repeat center center; }
.paging .next { margin-left: 8px; background: url(/images/shared/icon/arrow-next.png) no-repeat center center; }

/* 공고명 딱지(.ij_tag) 스타일 단일 원천 = css/igunsul/bid/tag-badge.css (필터+공고명 공용). 여기 중복 정의 금지. */
.con_name_cancel { color: #bbb; text-decoration: line-through; } /* 원문 common_con_name.css:224 (입찰 list.css 와 같은 값) */

/* ============ CI3 common.css 유틸 이식 — 본문 셀 정렬·색 ============
   !important = CI3 common.css 원값 — td 기본 좌정렬(.ij_table.type1 table td)을 셀 단위로 뚫는 유틸이라
   세기가 규약의 일부다(빼면 `align` 속성처럼 진다). */
.ta-c, .center { text-align: center !important; }
.ta-l, .left   { text-align: left !important; }
.ta-r, .right  { text-align: right !important; }
.ta-cost       { text-align: right !important; }
.fc_blue_list  { color: #033399; }  /* 기초금액 파랑 */
.fc_red_list   { color: #ba011b; }  /* 추정가격 빨강 */
/* 공고번호 — 공고명 뒤 인라인(CI3 <label style="color:#5c667b">[n_num]</label>) */
.con_name_num  { color: #5c667b; }

/* ⑤ 금액 셀 우측 여백 — 라이브 `common.css .ta-cost{margin-right:4px}`(라이브 대조).
   기초금액·예정가격·1순위금액 숫자가 셀 우측 끝에 붙어 있었다. */
.list_type_nbid .ta-cost { margin-right: 4px; }

/* 방문 링크 색 (공사명) — 사이트 기본 + 게시판설정 읽음색 8종(CI3 common_list.css 이식).
   클래스 선택은 서버가 한다: 설정 있으면 listColor{style_color},
   없으면 사이트 기본. 입찰(bbs/list.css)에서 fork — 같은 회원 설정이 화면마다 갈리면 안 되는 값이라
   색값은 두 파일이 같아야 한다. 4/5 는 레거시에서도 기본색과 같은 값(코드 결번이 아니라 동색). */
.listDefaultigunsul:visited, .listDefaultigunsul.con_name_visit { color: #0E77C7 !important; }
.listColor1:visited, .listColor1.con_name_visit { color: #ca3636 !important; }
.listColor2:visited, .listColor2.con_name_visit { color: #003399 !important; }
.listColor3:visited, .listColor3.con_name_visit { color: #248600 !important; }
.listColor4:visited, .listColor4.con_name_visit { color: #0E77C7 !important; }
.listColor5:visited, .listColor5.con_name_visit { color: #0E77C7 !important; }
.listColor6:visited, .listColor6.con_name_visit { color: red !important; }
.listColor7:visited, .listColor7.con_name_visit { color: blue !important; }
.listColor8:visited, .listColor8.con_name_visit { color: #000000 !important; }

/* 공사명 마우스 올림 파랑 — 원문 전역 reset.css:25 `a:hover{color:#3267e9}`의 목록 몫(입찰 bbs/list.css 와 같은 줄). 읽음색 !important 가 이긴다. */
.listWrap a.con_name:hover { color: #3267e9; }

/* 재입찰 표기 · [공지] 강조 (CI3 `<font class='red'>` → common.css `.red{color:red}`) */
.con_name_rebid,
.con_name_notice { color: red !important; }

/* ============ 컬럼 폭 — CI3 common_list.css 이식 ============
   공용 컬럼(num·con_name·part·big_part·order·limit_local·init_exp_cost·yega_range·ipchal_date·tuchal_rate)
   + 낙찰 전용(N01~N07). CI3 도 common_list.css 한 벌 공유 — 값 동일성이 곧 파리티.
   브레이크포인트 3단: 기본 / 1500+ / 2000+ (CI3 common_list.css 기본 · :368 min-width 1500 · :421 min-width 2000 과 같은 경계).
   ⚠ 폭 하나가 틀리면 전 컬럼이 어긋난다 — table-layout:fixed 는 잉여폭을 지정폭 비례로 나눈다. */
.col_num           { width: 3%; }
.col_con_name      { width: 15%; }
.col_part          { width: 8%; }
.col_big_part      { width: 6%; }
.col_init_exp_cost { width: 100px; }
.col_order         { width: 7%; }
.col_yega_range    { width: 50px; }
.col_limit_local   { width: 45px; }
.col_tuchal_rate   { width: 55px; }
/* ⚠ 개찰일은 입찰과 같은 60px 이 라이브다 — nbid/list.css(75px)는 실리지 않는 자산이다(실측).
   연도(`26/07/31`)는 60px 안에서 라이브도 그대로 표시한다. */
.col_ipchal_date   { width: 60px; }
.col_yega_cost     { width: 95px; }   /* N01 예정가격 */
.col_yega_rate     { width: 80px; }   /* N02 예정가격사정률 */
.col_first_cost    { width: 100px; }  /* N03 1순위금액(&나의투찰금액) */
.col_init_rate     { width: 65px; }   /* N06 기초대비투찰률 */
.col_first_rate    { width: 120px; }  /* N04 1순위사정률(&나의투찰률) */
.col_first_company { width: 100px; }  /* N05 1순위업체 */
.col_total_company { width: 70px; }   /* N07 참여업체수(&나의순위) */
/* fewer_columns(칸 < 13 · 맞춤 낙찰 index 가 붙인다) — CI3 common_list.css:318(.fewer_columns 25% (0,2,0) 가 1500+ .col_con_name 20% 를 이긴다) ·
   종목 12%(common_list.css:319). (0,2,0) 이라 아래 미디어 블록의 `.col_con_name` 을 이긴다(원문 cascade 와 같은 승자). */
.fewer_columns .col_con_name { width: 25%; }
.fewer_columns .col_part     { width: 12%; }

/* 개수 셀렉트 — CI3 common_list.css:19 `#list_num_select{width:85px}` 는 ≤1900px 미디어쿼리 안(공용 id).
 * 1600 실측 라이브 85 ↔ 재구축 108(자동폭), 1920 이상 양쪽 108 — 나의방 판과 같은 처방. 낙찰 4화면(공사·물품·맞춤 2종) 공용. */
@media screen and (max-width: 1900px) {
    .list_type_nbid #list_num_select { width: 85px; }
}

@media screen and (min-width: 1500px) {
    .fewer_columns .col_part { width: 12%; }   /* CI3 common_list.css:369 */
    .col_num           { width: 3%; }
    .col_con_name      { width: 20%; }
    .col_part          { width: 10%; }
    .col_big_part      { width: 10%; }
    .col_init_exp_cost { width: 100px; }
    .col_order         { width: 8%; }
    .col_yega_range    { width: 90px; }
    .col_limit_local   { width: 80px; }
    .col_tuchal_rate   { width: 60px; }
    .col_ipchal_date   { width: 60px; }
    .col_yega_cost     { width: 95px; }
    .col_yega_rate     { width: 70px; }
    .col_first_cost    { width: 100px; }
    .col_init_rate     { width: 80px; }
    .col_first_rate    { width: 120px; }
    .col_first_company { width: 145px; }
    .col_total_company { width: 70px; }
}

@media screen and (min-width: 2000px) {
    .fewer_columns .col_part { width: 15%; }   /* CI3 common_list.css:422·524 */
    .col_num           { width: 2.5%; }
    .col_con_name      { width: 25%; }
    .col_part          { width: 9%; }
    .col_big_part      { width: 9%; }
    .col_init_exp_cost { width: 6%; }
    .col_order         { width: 8%; }
    .col_yega_range    { width: 5%; }
    .col_limit_local   { width: 4%; }
    .col_tuchal_rate   { width: 4%; }
    .col_ipchal_date   { width: 3%; }
    .col_yega_cost     { width: 5%; }
    .col_yega_rate     { width: 5%; }
    .col_first_cost    { width: 6%; }
    .col_init_rate     { width: 5%; }
    .col_first_rate    { width: 7%; }
    .col_first_company { width: 7%; }
    .col_total_company { width: 5%; }
}

/* 나의 투찰금액·사정률·순위 빨강(list-cell `fc_red2`) — CI3 common.css:27 그대로(전역 유틸 · 이 목록이 싣는 시트엔 정의가 없었다) */
.fc_red2 { color: #ff0000 !important; }

/* ============ 라이브 대조 보정 ============ */

/* 셀 우측정렬(CI3 ta-r 소비 셀 내부 div) */

/* ② 콘텐츠 좌우 여백 — 라이브(ij_layout.css:8)는 `width:95%; margin:0 auto`(뷰포트 비례·중앙).
   입찰 재구축의 `margin:0 48px`(1920 근사)와 달리 개찰은 라이브 규칙 그대로(라이브 대조).
   min-width 1200 = 좁힐 때 컬럼 짜부라짐 방지(라이브 .container 1200 parity — 입찰 base 동일 판단). */
.list_type_nbid .ijContentWrap { width: 95%; margin: 0 auto; min-width: 1200px; }

/* ④ 콘텐츠 최소 높이 — 라이브 `.ijMainContent{min-height:660px}`(ij_layout.css:2) 미이식이라
   결과가 적은 페이지에서 본문이 짧게 끝나고 푸터가 위로 붙었다. */
.ijMainContent.list_type_nbid { min-height: 660px; }
/* 틀고정이면 라이브 본문이 20px 위에서 시작(freezeWrap fixed — 보이는 내용 자리는 같음) → 640(bbs/list.css 와 같은 판단). */
.ijMainContent.list_type_nbid:has(> .ijContentWrap.freeze) { min-height: 640px; }
/* 틀고정 바닥 = 밴드 아래 660 — 원문은 freezeWrap 이 fixed 라 .ijMainContent(660)가 밴드 바로 아래에서 시작한다. 재구축은 pinStack 틈 메우기
   (layout-shell.js — 창이 문서보다 작으면 밴드 아래 테두리 · 크면 머리 위 테두리)에 따라 본문 상자가 0~20px 내려와, 결과가 짧으면 640 만으로는
   바닥이 원문 876 ↔ 866·856 으로 흔들렸다 → 감싸개(content-full)를 660 으로 못박는다(긴 목록·틀고정 아님은 이미 더 길어 무영향 · 맞춤 밴드(원문도 밴드 아래 660 · 짧은 결과 863·853 ↔ 873)도 같음 · 머리 배치가 다른 나의방(mw-1400)은 뺀다). */
body > :where(.site-header-fixed):has(> .part_local_setup) ~ main.site-main > .content-full:has(> .ijMainContent.list_type_nbid > .ijContentWrap.freeze:not(.mw-1400)) { min-height: 660px; }
/* 이때 바닥은 감싸개 하나가 정한다 — 본문 상자의 640(위)이 남으면 틀고정 머리 위 여백(목록 20 · 조건검색 결과 요약 24)만큼 바닥이 넘친다(조건검색 결과 880 ↔ 876) */
body > :where(.site-header-fixed):has(> .part_local_setup) ~ main.site-main > .content-full > .ijMainContent.list_type_nbid:has(> .ijContentWrap.freeze:not(.mw-1400)) { min-height: 0; }

/* 라이브는 `main` 없이 헤더 직후 콘텐츠 flush — full-width 리스트일 때 site-main 의 여백·최소 높이(원문 main.sub 값) 제거(아래·min-height 도 함께) */
main.site-main:has(> .content-full) { padding: 0; min-height: 0; }

/* ⑧ 본문 래퍼 하단 여백 — `.site-main{padding:40px 0}` 은 **재구축 전용 래퍼**의 값이고 라이브엔
   대응 요소가 없다(라이브는 main 자체가 없음). 하단 40px 이 남아 페이저 아래 공백이
   라이브보다 40px 크다(live 20px ↔ 재구축 60px). ※ layout.css 는 공동 계약이라 원본 미수정 —
   개찰 페이지만 :has() 로 덮는다. */
main.site-main:has(.list_type_nbid) { padding-bottom: 0; }

/* ⑦ 공고분류(태그) 버튼 — 개찰 존 덮어쓰기를 두지 않는다: 공용 bid/tag-filter.css 가
   원문 값(common_con_name.css:129 패딩 · ij_layout.css:395~407 화살표 = 테두리 버튼 기준 12·7)을 가져, right 8 로 덮으면 1px 어긋난다. */

/* ③ 표 좌측 세로선 보강 — 위 `.ij_table.list table` 과 같은 값(라이브 대조).
   고정헤더·본문 두 표가 같이 있어야 좌측 끝선이 이어진다. */
.list_type_nbid .freezeTable table,
.list_type_nbid .listWrap table { border-left: 1px solid #aab6cb; }

/* 라이브 ij 디자인 시스템은 content-box 가 기본(별도 border-box reset 없음). 재구축 전역 border-box 를
   이 리스트 래퍼 subtree 에서 되돌린다. 단 table 자체는 라이브도 border-box 이므로 제외.
   select/input/icon_btn 등 컴포넌트는 각자 border-box 를 명시 선언하므로 여기 영향 없음. */
.list_type_nbid .ijContentWrap,
.list_type_nbid .listHeader,
.list_type_nbid .listHeader h2,
.list_type_nbid .listHeaderOption,
.list_type_nbid .listHeaderOption .leftWrap,
.list_type_nbid .listHeaderOption .rightWrap,
.list_type_nbid .freezeWrap,
.list_type_nbid .freezeTable,
.list_type_nbid .freezeTable th,
.list_type_nbid .listWrap,
.list_type_nbid .listWrap td,
.list_type_nbid .listFooterOption,
.list_type_nbid col,
.list_type_nbid .listWrap tr,
.list_type_nbid .listWrap td .ta-cost,
.list_type_nbid .listWrap td .ta-r,
.list_type_nbid .paging,
.list_type_nbid .paging .paging_wrap,
.list_type_nbid .ij_search { box-sizing: content-box; }

/* 통합검색 래퍼는 라이브에서 position:relative */
.list_type_nbid .ij_search { position: relative; }

/* ── 공종 다중선택 컨트롤 ────────────────────────────────────────────
   CI3 `common/css/list/multiple_part_section.css` 미러 — 개찰 존 스코프만 추가(값은 그대로).
   레이어 열림/닫힘은 hide/visible 클래스(js/igunsul/nbbs/list.js 가 토글). */
.list_type_nbid #select_checkbox_section { position: relative; }
.list_type_nbid #selected_name {
    color: #8491a7;
    font-size: 13px;
    font-weight: 400;
    padding: 0 30px 0 8px;
    box-sizing: border-box;
    width: 93px;
    height: 30px;
    line-height: 30px;
    border: 1px solid #aab5cb;
    vertical-align: baseline;
}
.list_type_nbid #select_checkbox_container {
    position: absolute;
    z-index: 3;
    font-size: 13px;
    font-weight: 400;
    line-height: 3px;
    box-sizing: border-box;
    width: 100%;
    color: #8491a7;
    border-radius: 0;
    background-color: white;
    margin: 0;
    appearance: none;
    border: 1px solid #aab6cb;
    outline: 0;
    vertical-align: -0.5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}
.list_type_nbid #select_checkbox_container.hide { display: none; }
.list_type_nbid #select_checkbox_container.visible { display: block; }
.list_type_nbid #select_checkbox_form { padding: 3px 5px 3px 5px; }
.list_type_nbid .select_checkbox {
    display: inline-block;
    color: #8491a7;
}
.list_type_nbid .confirm_container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.list_type_nbid #search_form_btn {
    height: 20px;
    width: 100%;
    border: 0;
    border-top: 1px solid #dbdde1;
    box-sizing: border-box;
    text-align: center;
    color: #8491a7;
    background: #f4f6fa;
}
.list_type_nbid #search_form_btn:hover {
    color: #3267e9;
    background: #f1f5ff;
}
.list_type_nbid .chk_box_div {
    margin-bottom: 2px;
    margin-top: 2px;
}

/* ── 조건검색 결과 요약표 ──────────────────────────────────────────────────
   리스트는 풀폭이지만 요약만 1200 고정·중앙(CI3 `width:1200px;margin:0 auto`) — 라이브 대조로 확인된 축.
   제목 아톰(.ij_title)은 조건검색 폼과 동일값(리스트 페이지엔 conditional-search.css 가 없어 여기 이식). */
.searchSummary { width: 1200px; margin: 24px auto 0; }   /* 위 여백 = CI3 mt-4(24px) — 라이브 실측 */
.searchSummary .ij_title { font-size: 18px; font-weight: 700; margin: 0; color: #202020; }
.searchSummary h1.ij_title { font-size: 24px; }
.searchSummary .ij_title.ta-c { text-align: center; }
/* 요약 박스(CI3 인라인) + 표. 안쪽 박스도 mt-4 — 제목과의 간격 라이브 35px(실측). */
.searchSummary .searchSummary_box { margin-top: 24px; padding: 10px 25px; background: #f1f5ff; border: 1px solid #8491a7; }
.search_summary_table { width: 100%; text-align: left; }
.search_summary_table th { font-weight: 500; color: #202020; }

/* 표 배경 — 라이브는 이 div 에 인라인 `style="background: none"` 을 달아 **박스의 연한 파랑이
   표까지 비쳐 보이게** 한다. ij_table 기본 흰 배경이 남으면 박스 안이 흰 판으로 덮인다. */
.searchSummary .ij_table { background: none; }

.searchSummary .ij_table table th,
.searchSummary .ij_table table td {
    padding: 2px 8px;
    line-height: normal;
    border-top: 0;
    border-bottom: 0;
    /* border-box 라 패딩까지 포함한 값 — 라이브 행 34px(내용 30 + 위아래 2). */
    height: 34px;
    word-break: break-all;
    vertical-align: middle;
}
