@charset "UTF-8";

/*
 * 건설넷 입찰 리스트(/bbs) — ij 디자인 시스템 포팅
 * 소스: CI3 resource/common/css/{ij_layout,common_list}.css (컴포넌트 + 리스트 레이아웃)
 * 정책: 기능 동등 + 깨끗한 재구축 — myroom/nbid/jungi/coaching/detail cruft 제거, /bbs 리스트만.
 * 색: 건설넷 #3267e9.
 */

/* ============ 컴포넌트: 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;
}
/* 파랑 고정 — CI3 body.jungi 초록 화이트리스트 밖 */
input.ij_checkbox[type="checkbox"] + div:hover { color: #3267e9; cursor: pointer; }
input.ij_checkbox[type="checkbox"] + div:before {
    position: absolute; top: 1px; left: 0; display: inline-block; content: "";
    border: 1px solid #3267e9; 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: #3267e9; }
/* 포커스 = 테두리 2px 검정 — 원문 common/css/ij_layout.css:313-321(체크 여부 무관). 행·공종 체크를 누르면 그 칸이 포커스를 받는다 */
input.ij_checkbox[type="checkbox"]:focus + div:before { border-width: 2px; border-color: black; }
input.ij_checkbox.single[type="checkbox"] + div { vertical-align: top; margin: 2px 0 0 5px; }

/* ============ 컴포넌트: 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: 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~112 가 select·input 의 mouseenter/focus 에 `.on` 을 붙이고 mouseout/focusout 에 뗀다.
   재구축은 JS 없이 같은 조건(상자 안 select·input 의 :hover · :focus)을 :has 로 건다 — 선택상자에 올리면 옆 입력칸 테두리도
   #5c667b(전엔 `.ij_search.on` 규칙만 있고 `.on` 을 붙이는 쪽이 없어 입력칸이 #aab6cb 그대로). */
.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 ij_layout.css:1060~1063(#search_text — 전엔 UA 기본 회색). */
input.ij_input[type="text"]::placeholder,
input.ij_input[type="password"]::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;
}

/* ============ 컴포넌트: 아이콘 버튼 ============ */
.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.choice span { width: 14px; height: 10px; vertical-align: 0; -webkit-mask-image: url(/images/igunsul/icon/choice.svg); mask-image: url(/images/igunsul/icon/choice.svg); }
.ij_icon_btn.my span { width: 13px; height: 10px; vertical-align: 0; -webkit-mask-image: url(/images/igunsul/icon/my.svg); mask-image: url(/images/igunsul/icon/my.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); }
/* 원문은 인라인 svg(viewBox 108.5×113.7)라 폭 13 이면 세로 13.61 — 13×13 상자에 contain 하면 5% 작아지고 0.6px 내려간다(nbbs/detail.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); }
.ij_icon_btn.tip span { width: 15px; height: 13px; -webkit-mask-image: url(/images/igunsul/icon/tip.svg); mask-image: url(/images/igunsul/icon/tip.svg); }
/* .list = 목록으로 보내는 버튼(맞춤낙찰정보 등)의 햄버거 글리프. CI3 icn_list.svg. */
/* 크기·세로 = CI3 ij_layout.css:1824~1828(13×13 · -1px · em_green — 전엔 14×12 라 버튼이 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 높이로 */
.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; }
/* em_red(공고관리 TIP 등 강조 버튼) — CI3 ij_layout.css 이식(연빨강 bg 포함, em_green 엔 없던 것).
   hover 는 CI3 가 span.tip(무클래스라 매칭 안 됨)으로 아이콘색이 안 바뀌는 quirk → 아이콘도 함께 어둡게 고침. */
.ij_icon_btn.em_red { color: #f84747; border-color: #f84747; background-color: #fbf1f1; }
.ij_icon_btn.em_red span { background-color: #f84747; }
.ij_icon_btn.em_red:hover { color: #d61313; border-color: #d71313; background-color: #ffe7e7; }
.ij_icon_btn.em_red:hover span { background-color: #d71313; }

/* ============ 테이블: 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`(실측: 첫 컬럼 셀 보더만으론 좌측이 빈다) */
.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; }
.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_layout.css .row_violet).
   hover 규칙보다 먼저 둔다: 강조 행에 마우스를 올리면 hover 색이 이겨야 한다(라이브 동일). */
.ij_table.type1.list > table > tbody > tr.row_violet > td { background-color: #eee9ff; }
.ij_table.type1.list > table > tbody > tr:hover > td { background-color: #fff8e0; }
/* 짝수 행 줄무늬 — 원문 `common_layout.css:126 .list table tr:nth-child(even){background-color:#fbfbfb}`(낙찰 nbbs/list.css ⑥ 같은 모양).
   행(tr)에 칠하므로 위 새공고·hover 의 칸(td) 배경이 그 위에 그려진다(원문도 td — ij_layout.css:642·646). 본문 listWrap 표는
   머리 행이 없어(머리는 freezeTable) 데이터 2·4…행이 음영 — 원문 /bid·/mybid_pur 실측과 같은 행. */
.list_type_bid .listWrap table tr:nth-child(even) { background-color: #fbfbfb; }
.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_list.css) ============ */
.ijMainContent .freezeWrap .freezeTable table { width: 100%; table-layout: fixed; }
.ijMainContent .freezeWrap { background: #fff; z-index: 2; }
/* 본문 표도 fixed 로 — freezeTable(고정헤더)과 동일 colgroup·동일 폭계산이라야 세로보더가 정확히 정렬.
   (라이브 listWrap 은 auto 라 콘텐츠에 따라 헤더/본문 컬럼선이 미세하게 어긋나는 quirk → 재구축은 fixed 로 개선) */
.list_type_bid .listWrap table { table-layout: fixed; }

/* 공고목록 틀 고정(게시판설정 공통 freeze 에 'bid') — 스크롤 시 freezeWrap(헤더·옵션바·컬럼헤더)이 상단에 붙어
   본문(listWrap)이 그 아래로 흘러간다. CI3 는 position:fixed + jQuery 스크롤 동기화(header.js: 가로 left 보정·
   listWrap padding 보정)였으나, 재구축은 position:sticky 로 개선 — 흐름 안에 남아 가로스크롤·padding 보정 JS 불필요,
   세로만 자연 고정. 사이트 상단 헤더는 fixed 아님(같이 스크롤) → top:0. z-index 는 위 .freezeWrap(2)로 본문 위에. */
/* 고정 기준선 = --gnb-h(고정 헤더 높이) + --band-h(맞춤설정 밴드 실높이 — 밴드 JS 가 노출, 접힘 시 자동 0).
   밴드는 header_band 자리 = 레이아웃 고정 묶음(CI3 #headerFixed 등가) 안이라 freezeWrap 은 그 아래에 붙는다. */
.list_type_bid .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_bid .ijContentWrap.freeze .freezeWrap { margin-bottom: -200vh; }
.list_type_bid .ijContentWrap.freeze .freezeWrap + * { margin-top: calc(200vh - 1px); }

/* freezeWrap BFC — 자식 마진이 래퍼 위로 새는 마진붕괴를 가둔다(밴드/헤더 사이 간격 안정).
   상단 20px 은 **래퍼 자신의 margin** 으로 둔다 — 라이브는 listHeader 의 margin-top:20 이 block 래퍼를 뚫고 나가
   freezeWrap rect 가 그 아래에서 시작(높이 134)하는데, BFC 가 그 마진을 안에 가두면 rect 가 20 위에서 시작하고
   높이 154 가 된다(실측 — 전 리스트 공통 Δ20). 첫 자식(listHeader / 조건검색 요약)의 마진을 0 으로 두고
   같은 값을 래퍼 margin 으로 옮기면 rect 는 라이브와 같고 BFC 는 그대로다. */
.list_type_bid .freezeWrap { display: flow-root; margin-top: 20px; }
.list_type_bid .freezeWrap > .listHeader { margin-top: 0; }
/* 조건검색 요약은 원문 래퍼 `div.mt-4`(common.css `.mt-4{margin-top:24px!important}`) — 래퍼 20 위에 4 를 더해 24. */
.list_type_bid .freezeWrap > .searchSummary { margin-top: 4px; }
/* 틀고정이 아니면 원문은 그 24 가 본문(.ijMainContent) 밖으로 접혀 본문이 24 아래에서 시작한다 — 4 를 래퍼 안에 두면
   본문이 4 위에서 시작해, 결과가 짧아 최소 높이 660 이 걸릴 때 풋터가 4 위로 붙는다. 24 를 래퍼 margin 으로(nbbs/list.css 와 같은 꼴). */
.list_type_bid .ijContentWrap:not(.freeze) > .freezeWrap:has(> .searchSummary) { margin-top: 24px; }
.list_type_bid .ijContentWrap:not(.freeze) > .freezeWrap > .searchSummary { margin-top: 0; }

.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; }

/* 조건검색 결과 요약(밴드↔옵션바 사이) — CI3 원문 이식.
   list 경로의 listHeader 를 대체하므로 같은 상단 여백. 표는 라벨/값 2열 × 4행(12/38/12/38 col).
   ── 제목은 형제 조건검색 폼과 동일 ij 아톰(.ij_title.ta-c). 리스트 페이지엔 conditional-search.css 가
   로딩 안 되므로(화면단위 자산) 그 아톰을 여기 이식(값은 동일: h1=24px 중앙 #202020). ── */
/* 리스트는 풀폭이지만 요약만 1200 고정·중앙(CI3 `width:1200px;margin:0 auto`) — 라이브 대조로 확인된 축. */
.searchSummary { width: 1200px; margin: 20px auto 0; }
.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 인라인) + 표(border_less slim: 무테두리·타이트 여백). 라이브 대조 확정값:
   th 는 중간굵기(500, 값 td=400), 셀 line-height 30 → 행 34px(=30 + 상하 padding 2). */
.searchSummary_box { margin-top: 24px; padding: 10px 25px;   /* 원문 상자 `div.mt-4` = 24px */
     background: #f1f5ff; border: 1px solid #8491a7; }
.search_summary_table { width: 100%; text-align: left; }
.search_summary_table th,
.search_summary_table td { line-height: 30px; padding: 2px 8px; vertical-align: middle; word-break: break-all; }
.search_summary_table th { font-weight: 500; color: #202020; }

/* CI3 common_list.css:58~60 그대로 — clearfix 없음(오른쪽 묶음 높이가 30.25 인 폭(2560 · 배율 2)에서 clearfix 가
   부모를 0.25 키워 아래 표 머리 윗선이 반 픽셀에 걸려 옅게 그려졌다 · 원문은 떠 있는 오른쪽 묶음을 부모 높이에 넣지 않는다) */
.listHeaderOption { margin: 20px 0 10px; }
.listHeaderOption .leftWrap { display: inline-block; }
.listHeaderOption .rightWrap { float: right; }
/* 버튼/컨트롤 간격은 CI3 처럼 inline 요소 사이의 HTML 공백뿐(별도 margin 규칙 없음).
   푸터(listFooterOption)와 동일 규칙 → 위·아래 간격 일치. margin-left 를 넣으면 위만 벌어짐. */

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

/* 페이징 (ij_layout.css .paging + common_list.css margin 오버라이드) */
.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;
}
/* 파랑 고정 — CI3 body.jungi 초록 화이트리스트 밖 */
.paging a.act { color: #3267e9; border: 1px solid #3267e9; }
/* Laravel 페이저는 페이지 많을 때 생략부호(…)를 낀다(CI3 엔 없음). float 대열에 끼워 순서 유지. */
.paging .dots { float: left; margin: 0 4px; height: 30px; line-height: 30px; color: #8491a7; }
.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 */

/* ============ CI3 common.css 유틸 이식 — 본문 셀 정렬·색 (미이식이라 정렬/색이 죽어있던 것 수정) ============
   list.css 는 /bbs 에서만 로드 → CI3 처럼 plain 단일클래스로. 값=CI3 common.css 실측. */
/* !important = CI3 common.css 원값 — td 기본 좌정렬(.ij_table.type1 table td)을 셀 단위로 뚫는 유틸이라
   세기가 규약의 일부다(빼면 `align` 속성처럼 진다. 분석 .ma_r 의 자체 left 를 덮는 것도 이 세기). */
.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; margin-right: 4px; }  /* CI3 common.css:65 — 금액 끝 4px 띄움 */
.fc_gray       { color: #777777; }  /* 공고번호(n_num) 등 부가 회색 */
.fc_gray2      { color: #8491a7; }
.fc_blue       { color: #3267e9; }  /* 등록마감 임박(≤5일, 대상 발주처만) 파랑 */
.fc_blue_list  { color: #033399; }  /* 기초금액 파랑 */
.fc_red_list   { color: #ba011b; }  /* 추정가격 빨강 */
.fc_red        { color: #cd1414; }  /* 현설일(현설필수) 빨강 */
.fc_red2       { color: #ff0000; }
.fc_green2     { color: #008501 !important; }  /* 투찰마감 임박(≤2일) 녹색 */
.bold          { font-weight: bold; }
/* 공고번호 — 공고명 뒤 인라인(CI3 <label style="color:#5c667b">[n_num]</label>) */
.con_name_num  { color: #5c667b; }

/* ============ 공고명 셀 버튼(내역서·협정) — CI3 .ij_badge(ij_layout.css) 이식 ============
   공고명+공고번호 뒤 인라인. contract=내역서(연빨강) / findhyeop=협정(브랜드 다크블루). */
.ij_badge {
    display: inline-block; box-sizing: border-box; height: 14px; line-height: 14px;
    padding: 1px 2px 14px 2px; vertical-align: baseline;
    font-size: 12px; color: #fff; white-space: nowrap; cursor: pointer;
    /* 폰트 스택은 CI3 원문 전체 — 축약하면 폴백 순서가 달라져 글자폭(=배지폭)이 어긋난다. */
    font-family: 돋움, Dotum, 'Noto Sans KR', AppleSDGothicNeo-Regular, '맑은 고딕', 'Malgun Gothic',
        나눔고딕, 굴림, Gulim, 'Apple SD Gothic Neo', sans-serif, verdana;
    -webkit-user-select: none; user-select: none;
}
.ij_badge.contract  { background-color: #fff7f7; border: 1px solid #bb595a; color: #bb595a; }
.ij_badge.contract:hover { background-color: #ffdddd; }
/* 파랑 고정 — CI3 body.jungi 초록 화이트리스트 밖 */
.ij_badge.findhyeop { background-color: #e5edfb; border: 1px solid #1449c9; color: #1449c9; }
.ij_badge.findhyeop:hover { background-color: #c3d9ff; }
.ij_badge.tuchal    { background-color: #f1f5ff; border: 1px solid #8491a7; color: #5c667b; padding: 1px 3px 14px 2px; }
.ij_badge.tuchal:hover { background-color: #dbedfd; }

/* 마감 배지 4종(등록/협정/PQ/현설) — **미완료가 회색 채움**, 완료(success)가 흰 바탕이다(CI3 ij_layout.css).
   할 일이 눈에 띄고 끝낸 일이 가라앉는 방향 — 뒤집어 읽기 쉬우니 주의. */
.ij_badge.regist, .ij_badge.hyeopjeong, .ij_badge.pq_end, .ij_badge.site_orien {
    color: #fff; border: 1px solid #8491a7; background-color: #8491a7;
}
.ij_badge.regist:hover, .ij_badge.hyeopjeong:hover, .ij_badge.pq_end:hover, .ij_badge.site_orien:hover {
    border-color: #5c667b; background-color: #5c667b;
}
.ij_badge.regist.success, .ij_badge.hyeopjeong.success, .ij_badge.pq_end.success, .ij_badge.site_orien.success {
    background-color: #fff; color: #8491a7; border: 1px solid #d7dce5;
}
.ij_badge.regist.success:hover, .ij_badge.hyeopjeong.success:hover,
.ij_badge.pq_end.success:hover, .ij_badge.site_orien.success:hover {
    color: #5c667b; border-color: #8491a7;
}

/* 방문 링크 색 (공사명) — 사이트 기본 + 게시판설정 읽음색 8종(CI3 common_list.css 이식).
   클래스 선택은 서버가 한다: 설정 있으면 listColor{style_color}, 없으면 사이트 기본.
   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}`(전기넷 reset_jungi.css 같은 값)의 목록 몫. 재구축엔 전역 a:hover 색이 없다.
   읽음색은 위 !important 가 그대로 이긴다(원문 `:visited !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_con_name.css:2~4·10~12(모든 화면에 싣는다).
   common_list.css:7 의 1600 보다 넓은 1650 이 이긴다 — 1601~1650 에서 「선택」「옮기기」「공고관리 TIP」이 숨는다. */
.narrow_hidden, .selectAll_show2 { cursor: pointer; }
@media screen and (max-width: 1650px) { .narrow_hidden { display: none; } }

/* 좁은 폭 표 칸 여백 — CI3 common_list.css:4~6 = common_con_name.css:7~9(≤1300 · 컬럼 14개 이상일 때 5px 2px). 빠져 있어 1300 이하에서
   공사명 글줄이 7px 여백만큼 더 접혀 행이 높아지고 푸터가 내려갔다(실측 1000px: 여백 7↔2 · 배지 116↔111). 리스트 가족 공용. */
@media screen and (max-width: 1300px) { .ijContentWrap:not(.fewer_columns) .ij_table.type1.list table td { padding: 5px 2px; } }

/* 좁은 폭 옵션바 — CI3 common_list.css:10~21(≤1800 검색 선택상자 67 · 검색칸 110 · ≤1800 정렬 · ≤1900 개수 선택상자 85) +
   ij_layout.css:4266~4270(≤1750 `.search_type2 #search_text` 140 — id 규칙보다 구체라 1750 이하에선 140 이 이긴다).
   원문 `#search_code` = 재구축 `#search_by`(같은 검색 기준 선택상자). 1366·1600 에서 검색칸 200·선택상자 96 으로
   남던 폭. 원문 id `#list_num_select`·`#align_select` = 재구축
   `select[name=list_count]`·`select[name=sort_by]`(id 없음 — 이름으로 잡는다).
   ⚠ 같은 ≤1800 블록의 `.list_type_bid .rightWrap div.ij_select select{padding-right:20px}` 는 옮기지 않는다 — 원문
   `list_type_bid` 는 /bid 리스트에만 있고 재구축 `list_type_bid` 는 리스트 가족 전체 훅이라, 옮기면
   맞춤·물품 맞춤 선택상자까지 20 이 된다(원문 30 · 실측).
   /bid 의 몫은 `/bbs` 에만 붙는 훅 `list_page_bid`(입찰 리스트 마크업의 ijMainContent)에 둔다(원문 common_list.css:13 그대로). */
@media screen and (max-width: 1800px) {
    #search_by { width: 67px; }
    #search_text { width: 110px; }
    .list_page_bid .rightWrap div.ij_select select { padding-right: 20px; }
}
@media screen and (max-width: 1750px) {
    .search_type2 #search_text { width: 140px; }
}
/* 개수·정렬 85 의 브레이크포인트가 다르다 — CI3 common_list.css:16·19(정렬 ≤1800 · 개수 ≤1900) · common_con_name.css:18·20(둘 다 ≤1800) 합. */
@media screen and (max-width: 1900px) {
    .rightWrap select[name="list_count"] { width: 85px; }
}
@media screen and (max-width: 1800px) {
    .rightWrap select[name="sort_by"] { width: 85px; }
}

/* ============ 컬럼 폭 (/bbs 리스트) — CI3 common_list.css 이식(3단 브레이크포인트, 라이브 실측 대조)
   가변컬럼: 고정값 아님 = %/px 혼합 + <1500 / 1500+ / 2000+ 3단 + fewer_columns(<14컬럼) 오버라이드 ============ */
.col_check                { width: 3%; }
.col_is_myroom            { width: 3%; }
.col_num                  { width: 3%; }
.col_con_name             { width: 15%; }
.col_part                 { width: 8%; }
.col_big_part             { width: 6%; }   /* 대업종(B03) — CI3 common_list.css:326 */
.col_init_exp_cost        { width: 100px; }
.col_cost_a               { width: 85px; } /* 후보 */
.col_const_cost           { width: 85px; }/* 후보 */
.col_order                { width: 7%; }
.col_yega_range           { width: 50px; }
.col_limit_local          { width: 45px; }
.col_site_orientation_date { width: 55px; }  /* 현설일(D01) */
.col_reg_end_date         { width: 60px; }  /* 등록마감일(D02) */
.col_join_end_date        { width: 60px; }  /* 협정마감일(D03) */
.col_bid_start_date       { width: 40px; }  /* 투찰시작일(D04) */
.col_bid_end_date         { width: 60px; }  /* 투찰마감일(D05) */
.col_ipchal_date          { width: 60px; }  /* 개찰일(D06) */
.col_reg_date             { width: 40px; }  /* 입력일(D07) */
.col_tuchal_rate          { width: 55px; }  /* 투찰률(I12) — CI3 common_list.css:335
    ⚠ 폭 하나가 틀리면 그 컬럼만이 아니라 **전 컬럼이 어긋난다** — table-layout:fixed 는 잉여폭을
    지정폭 비례로 나눠서, 지정 합이 다르면 배분이 통째로 달라진다(공사명 셀 줄바꿈까지 번진다). */
.fewer_columns .col_con_name { width: 25%; }
.fewer_columns .col_part     { width: 12%; }

@media screen and (min-width: 1500px) {
    .col_check         { width: 3%; }
    .col_num           { width: 3%; }
    .col_con_name      { width: 20%; }
    .col_part          { width: 10%; }
    .col_init_exp_cost { width: 100px; }
    .col_order         { width: 8%; }
    .col_yega_range    { width: 90px; }
    .col_limit_local   { width: 80px; }
    .col_site_orientation_date { width: 60px; }
    .col_reg_end_date  { width: 65px; }
    .col_join_end_date { width: 65px; }
    .col_bid_start_date { width: 60px; }
    .col_bid_end_date  { width: 65px; }
    .col_ipchal_date   { width: 60px; }
    .col_reg_date      { width: 45px; }
    .col_big_part      { width: 10%; }
    .col_tuchal_rate   { width: 60px; }
    .fewer_columns .col_part { width: 12%; }
}

@media screen and (min-width: 2000px) {
    .col_check         { width: 2.5%; }
    .col_num           { width: 2.5%; }
    .col_is_myroom     { width: 1.5%; }
    .col_con_name      { width: 25%; }
    .col_part          { width: 9%; }
    .col_init_exp_cost { width: 6%; }
    .col_order         { width: 8%; }
    .col_yega_range    { width: 5%; }
    .col_limit_local   { width: 4%; }
    .col_site_orientation_date { width: 3%; }
    .col_reg_end_date  { width: 4%; }
    .col_join_end_date { width: 4%; }
    .col_bid_start_date { width: 3%; }
    .col_bid_end_date  { width: 4%; }
    .col_ipchal_date   { width: 3%; }
    .col_reg_date      { width: 2.5%; }
    .col_big_part      { width: 9%; }
    .col_tuchal_rate   { width: 4%; }
    .fewer_columns .col_part { width: 15%; }
}

/* ============ 충실도 보정 ============ */

/* 라이브 구조: .ijMainContent 는 뷰포트 풀폭(x=0), 좌우 48px 거터는 .ijContentWrap margin 이 진다.
   content-full 은 .container(1200) 를 벗어나기 위한 풀폭 래퍼일 뿐(자체 여백 없음) — 거터를 여기 두면
   ijMainContent 가 48px 밀려 라이브(x=0)와 어긋나므로, 거터는 한 단계 안쪽 ijContentWrap 으로.
   (ijMainContent 자체는 손댈 규칙 없음 — content-full 안에서 풀폭 유지.) */
/* 거터 = CI3 ij_layout.css:8~12 `.ijMainContent .ijContentWrap{width:95%; min-width:1200px; margin:0 auto}` 그대로 — 옛 `margin: 0 48px` 는
   1920 에서만 95% 와 같았다(1366·1600 은 표가 28·16px 좁고 2560 은 32px 넓었다 · 네 폭 실측). */
.list_type_bid .ijContentWrap { width: 95%; margin: 0 auto; }

/* 좁은 폭 하한(라이브 CI3 parity) — 리스트 컬럼은 %/px 혼합 + table-layout:fixed 라 하한이 없으면
   뷰포트를 좁힐수록 컬럼이 짜부라지며 공사명·발주처가 글자 단위로 세로 줄바꿈된다. 라이브(.container 1200)는
   그 폭 아래로는 안 줄고 가로 스크롤로 넘긴다 → ijContentWrap 콘텐츠를 1200(=라이브 container·표 폭)으로 바닥.
   min-width 라 넓은 화면(>1200)은 무영향(풀폭 유지), 좁힐 때만 표 폭 고정 + 페이지 가로 스크롤.
   freezeTable(고정헤더)·listWrap(본문)이 같은 ijContentWrap 하위라 함께 1200 으로 바닥 → 컬럼선 정렬 유지. */
.list_type_bid .ijContentWrap { min-width: 1200px; }

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

/* 본문 최소 높이 · 풋터 자리 — 라이브 `.ijMainContent{min-height:660px}`(ij_layout.css · 전역) 미이식이라 결과가
   적거나 0행이면 풋터가 위로 붙었다(입찰·물품입찰·맞춤 입찰·G2B·한전 = list_type_bid). 틀고정이면 라이브는
   freezeWrap 이 fixed 라 첫 줄 margin 20px 이 본문 안으로 들어와 본문이 20px 위에서 시작한다(보이는 내용 자리는 같음)
   → 640. 개찰(list_type_nbid)은 nbbs/list.css ④ · 나의방·코칭은 my-folder/calendar.css. */
.ijMainContent.list_type_bid { min-height: 660px; }
/* 틀고정일 때 wrap 위 20 = padding — 원문은 freezeWrap 이 fixed 라 listHeader 의 margin 20 이 listWrap padding(153) 안에 들어 있어
   본문·wrap 이 밴드 바로 아래(213)에서 시작한다. 재구축은 sticky(흐름 안)라 freezeWrap 의 margin 20 이 wrap·본문 밖으로 새어
   233 에서 시작했다(실측). 틀고정이 아니면 원문도 margin 이 새어 236 이므로 그대로 둔다(BFC 로 가두면 페이저 아래 20 까지 갇혀 wrap 이 20 길어진다). */
.list_type_bid .ijContentWrap.freeze { padding-top: 20px; box-sizing: border-box; } /* border-box — 물려받는 min-height 660 에 padding 이 더해지지 않게(가로 padding 없어 폭 무영향) */
.list_type_bid .ijContentWrap.freeze > .freezeWrap { margin-top: 0; }
/* 페이저 → 풋터 간격 — `.site-main` 하단 40px 은 재구축 래퍼 값(라이브 대응 없음): 라이브 20 ↔ 60(nbbs/list.css ⑧ 동형). */
main.site-main:has(.ijMainContent.list_type_bid) { padding-bottom: 0; }

/* (구) 폼컨트롤 font/letter-spacing inherit 해킹 제거 — layout.css reset.css:5 이식이 요소별로
   -0.05em·긴 폰트스택을 직접 선언하므로 불필요. inherit 는 오히려 부모의 고정 -0.7px 을 물려받아 어긋났음. */

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

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