@charset "UTF-8";
/* =====================================================================
 * KrxUnify.css — [2026-11-16] 화면 디자인 통합 1단계 (CSS 만, 화면 JSP 는 고치지 않음)
 *
 *  읽는 곳 : /eXPortal/jsp/common/KrxTheme.jspf (KrxModern.css 바로 다음) → 포털 화면 · 새 창 팝업 · 다이얼로그 모두
 *  적용 범위 : PC 테마(html.krxm) 만. 휴대폰(터치 768px 이하)은 예전 모바일 CSS 그대로
 *
 *  왜 : 목록 202개 화면을 같은 테마로 띄워 실제 모양 값을 재 보니 검색 상자 · 그리드 틀 · 쪽 번호는 이미 모두 같았고,
 *       아래 셋만 화면마다 달랐다.
 *   1) 목록 표가 세 가지 모양 : 그리드(jqGrid, 약 80화면) · 옛 목록 표(board_list, 24화면) · 카드 목록(kbd-list, 12화면)
 *      머리줄 바탕 #e1e7ee / #e9f0f5 / #f8f9fb, 머리줄 높이 44 / 44 / 18~36px, 행 높이 46 / 44 / 44px
 *   2) 입력 · 상세 표(board_view03 · 04)의 이름 칸 : 예방조치 · 모니터링 · 공매도 팝업은 여백 10px · 진한 회색,
 *      나머지 화면은 옛 아이콘 자리 왼쪽 여백 40px · 옅은 회색 · 13px
 *   3) 새 창 팝업의 [저장](btn_pop02) : 남색 34px · 모서리 8 — 다이얼로그 단추(청록 40px · 모서리 10)와 다름
 *
 *  기준 : 가장 많은 화면이 이미 쓰는 모양 (목록 = 그리드, 입력 표 = 예방조치 팝업, 단추 = 다이얼로그 단추줄)
 *  우선순위 : 모든 규칙 앞에 html.krxm:not(.ku-off):not(#_ku) — 테마(KrxModern)의 클래스 · :first-child 규칙보다 항상 이기게 (id 한 개 무게)
 *  되돌리기 : KrxTheme.jspf 의 KrxUnify.css 한 줄을 지우면 예전 그대로
 * ===================================================================== */

html.krxm:not(.ku-off):not(#_ku) {
	--ku-head-bg: #e1e7ee;      /* 그리드 머리줄 바탕 (KrxModern C안) */
	--ku-head-ink: #1f3142;     /* 그리드 머리줄 글자 (C안 실제 값) */
	--ku-head-vline: #d2dbe4;
	--ku-head-line: #b8c6d2;    /* 머리줄 아래 선 */
	--ku-cell-line: #e2e7ec;    /* 행 구분선 */
	--ku-cell-vline: #dce2e9;   /* 칸 구분선 */
	--ku-zebra: #f6f8fa;
	--ku-hover: #eef7fa;
	--ku-form-th-bg: #f4f6f9;   /* 입력 · 상세 표 이름 칸 */
	--ku-form-th-ink: #4b5563;
}

/* ---------------------------------------------------------------------
 * 1) 목록 표 = 그리드와 같은 모양
 *    옛 목록 표(board_list01~03) · 카드 목록(kbd-list) 의 머리줄 · 행을 jqGrid 와 같게
 *    (머리줄 44px · #e1e7ee · 진한 글자 12px, 행 46px · 13px · 줄무늬 · 칸 구분선)
 *    화면이 머리칸에 직접 색을 준 곳(style="background-color:… !important", 예: dumt 0009 적출기준 펼침 줄)은 그대로
 * --------------------------------------------------------------------- */
html.krxm:not(.ku-off):not(#_ku) body table.board_list01 > thead > tr > th,
html.krxm:not(.ku-off):not(#_ku) body table.board_list02 > thead > tr > th,
html.krxm:not(.ku-off):not(#_ku) body table.board_list03 > thead > tr > th,
html.krxm:not(.ku-off):not(#_ku) body table.board_list01 > tbody:first-child > tr:first-child > th,
html.krxm:not(.ku-off):not(#_ku) body table.board_list02 > tbody:first-child > tr:first-child > th,
html.krxm:not(.ku-off):not(#_ku) body table.board_list03 > tbody:first-child > tr:first-child > th,
html.krxm:not(.ku-off):not(#_ku) body .kbd table.kbd-list > thead > tr > th {
	height: 44px !important;
	padding-top: 0 !important; padding-bottom: 0 !important;
	background: var(--ku-head-bg) !important;
	color: var(--ku-head-ink) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	border-top: 0 !important; border-left: 0 !important; border-right: 0 !important;
	border-bottom: 1px solid var(--ku-head-line) !important;
	box-shadow: inset -1px 0 0 var(--ku-head-vline) !important;
	vertical-align: middle;
}
html.krxm:not(.ku-off):not(#_ku) body table.board_list01 > thead > tr > th:last-child,
html.krxm:not(.ku-off):not(#_ku) body table.board_list02 > thead > tr > th:last-child,
html.krxm:not(.ku-off):not(#_ku) body table.board_list03 > thead > tr > th:last-child,
html.krxm:not(.ku-off):not(#_ku) body .kbd table.kbd-list > thead > tr > th:last-child { box-shadow: none !important; }

html.krxm:not(.ku-off):not(#_ku) body table.board_list01 > tbody > tr > td,
html.krxm:not(.ku-off):not(#_ku) body table.board_list02 > tbody > tr > td,
html.krxm:not(.ku-off):not(#_ku) body table.board_list03 > tbody > tr > td,
html.krxm:not(.ku-off):not(#_ku) body .kbd table.kbd-list > tbody > tr > td {
	height: 46px;
	font-size: 13px;
	color: #111827 !important;
	border-top: 0 !important; border-left: 0 !important; border-right: 0 !important;
	border-bottom: 1px solid var(--ku-cell-line) !important;
	box-shadow: inset -1px 0 0 var(--ku-cell-vline);
	vertical-align: middle;
}
html.krxm:not(.ku-off):not(#_ku) body table.board_list01 > tbody > tr > td:last-child,
html.krxm:not(.ku-off):not(#_ku) body table.board_list02 > tbody > tr > td:last-child,
html.krxm:not(.ku-off):not(#_ku) body table.board_list03 > tbody > tr > td:last-child,
html.krxm:not(.ku-off):not(#_ku) body .kbd table.kbd-list > tbody > tr > td:last-child { box-shadow: none; }
/* 줄무늬 · 마우스 올림 (그리드와 같은 색 · 같은 줄 : 그리드는 맨 위 숨은 줄이 있어 둘째 줄부터 줄무늬) */
html.krxm:not(.ku-off):not(#_ku) body table.board_list01 > tbody > tr:nth-child(even) > td,
html.krxm:not(.ku-off):not(#_ku) body table.board_list02 > tbody > tr:nth-child(even) > td,
html.krxm:not(.ku-off):not(#_ku) body table.board_list03 > tbody > tr:nth-child(even) > td,
html.krxm:not(.ku-off):not(#_ku) body .kbd table.kbd-list > tbody > tr:nth-child(even) > td { background-color: var(--ku-zebra) !important; }
html.krxm:not(.ku-off):not(#_ku) body table.board_list01 > tbody > tr:hover > td,
html.krxm:not(.ku-off):not(#_ku) body table.board_list02 > tbody > tr:hover > td,
html.krxm:not(.ku-off):not(#_ku) body table.board_list03 > tbody > tr:hover > td,
html.krxm:not(.ku-off):not(#_ku) body .kbd table.kbd-list > tbody > tr:hover > td { background-color: var(--ku-hover) !important; }
/* 0건 안내 줄(한 칸짜리)은 줄무늬 없이 */
html.krxm:not(.ku-off):not(#_ku) body table.board_list01 > tbody > tr > td[colspan],
html.krxm:not(.ku-off):not(#_ku) body table.board_list02 > tbody > tr > td[colspan],
html.krxm:not(.ku-off):not(#_ku) body table.board_list03 > tbody > tr > td[colspan],
html.krxm:not(.ku-off):not(#_ku) body .kbd table.kbd-list > tbody > tr > td[colspan] { box-shadow: none; }
/* 카드 목록 틀 : 그리드 틀과 같은 테두리 (모서리 없음) */
html.krxm:not(.ku-off):not(#_ku) body .kbd .kbd-list-wrap { border-radius: 0 !important; padding: 0 !important; overflow: hidden; }
html.krxm:not(.ku-off):not(#_ku) body .kbd table.kbd-list { border-collapse: collapse; }

/* ---------------------------------------------------------------------
 * 2) 입력 · 상세 표(board_view03 · 04)의 이름 칸 : 모든 화면 · 팝업에서 같은 모양
 *    옛 아이콘 자리 왼쪽 여백 40px(아이콘은 테마가 이미 숨김) → 10px, 바탕 · 글자는 예방조치 팝업과 같게
 * --------------------------------------------------------------------- */
html.krxm:not(.ku-off):not(#_ku) body table.board_view03 th,
html.krxm:not(.ku-off):not(#_ku) body table.board_view04 th {
	padding: 8px 10px !important;
	background: var(--ku-form-th-bg) !important;
	color: var(--ku-form-th-ink) !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	line-height: 18px;
	vertical-align: middle;
	word-break: keep-all;
}
html.krxm:not(.ku-off):not(#_ku) body table.board_view03 th label, html.krxm:not(.ku-off):not(#_ku) body table.board_view03 th .tit,
html.krxm:not(.ku-off):not(#_ku) body table.board_view04 th label, html.krxm:not(.ku-off):not(#_ku) body table.board_view04 th .tit { font-size: inherit !important; font-weight: inherit !important; color: inherit !important; }
html.krxm:not(.ku-off):not(#_ku) body table.board_view03 th .rtxt, html.krxm:not(.ku-off):not(#_ku) body table.board_view04 th .rtxt { color: #c0392b !important; }
html.krxm:not(.ku-off):not(#_ku) body table.board_view03 td,
html.krxm:not(.ku-off):not(#_ku) body table.board_view04 td { padding: 6px 10px !important; vertical-align: middle; }

/* 팝업 안 입력칸 글자 : 13px 하나로 (예방조치 팝업만 12.5px 이던 것) */
html.krxm:not(.ku-off):not(#_ku) .ui-dialog .pop_content input[type=text],
html.krxm:not(.ku-off):not(#_ku) .ui-dialog .pop_content input[type=password],
html.krxm:not(.ku-off):not(#_ku) .ui-dialog .pop_content select,
html.krxm:not(.ku-off):not(#_ku) .ui-dialog .pop_content textarea,
html.krxm:not(.ku-off):not(#_ku) #pop_wrap .pop_content input[type=text],
html.krxm:not(.ku-off):not(#_ku) #pop_wrap .pop_content input[type=password],
html.krxm:not(.ku-off):not(#_ku) #pop_wrap .pop_content select,
html.krxm:not(.ku-off):not(#_ku) #pop_wrap .pop_content textarea { font-size: 13px !important; }

/* ---------------------------------------------------------------------
 * 3) 새 창 팝업 단추 = 다이얼로그 단추줄과 같은 모양 · 자리
 *    [저장 · 확인](btn_pop02) 은 청록 주 단추, [닫기](btn_pop01) 는 흰 테두리 단추 (KrxModern 이 이미 맞춤), 높이 40 · 모서리 10
 *    팝업 맨 아래 단추줄은 다이얼로그처럼 위 선 + 오른쪽 맞춤
 * --------------------------------------------------------------------- */
html.krxm:not(.ku-off):not(#_ku) .btn_pop02 {
	height: 40px !important; line-height: 38px; min-width: 88px; padding: 0 20px !important;
	border-radius: 10px !important; border: 1px solid var(--k-navy) !important;
	background: var(--k-navy) !important; color: #fff !important;
	font-size: 13.5px !important; font-weight: 600 !important; box-shadow: none !important;
}
html.krxm:not(.ku-off):not(#_ku) .btn_pop02:hover { background: var(--k-brand-h, #006680) !important; border-color: var(--k-brand-h, #006680) !important; color: #fff !important; }
html.krxm:not(.ku-off):not(#_ku) .btn_pop01 { font-size: 13.5px !important; padding: 0 20px !important; }
/* 다이얼로그 단추 글자도 13.5px 하나로 (예방조치 · 모니터링 · 공매도 팝업만 14px 이던 것) */
html.krxm:not(.ku-off):not(#_ku) .ui-dialog .ui-dialog-buttonpane button { font-size: 13.5px !important; }
html.krxm:not(.ku-off):not(#_ku) #pop_wrap > .pop_content > .btn_board_c:last-child,
html.krxm:not(.ku-off):not(#_ku) #pop_wrap > .pop_content > form > .btn_board_c:last-child,
html.krxm:not(.ku-off):not(#_ku) #pop_wrap > .btn_board_c:last-child {
	display: flex; justify-content: flex-end; gap: 8px;
	margin-top: 20px !important; padding-top: 14px; border-top: 1px solid var(--k-line2, #e2e7ec);
}
html.krxm:not(.ku-off):not(#_ku) #pop_wrap > .pop_content > .btn_board_c:last-child > *,
html.krxm:not(.ku-off):not(#_ku) #pop_wrap > .pop_content > form > .btn_board_c:last-child > *,
html.krxm:not(.ku-off):not(#_ku) #pop_wrap > .btn_board_c:last-child > * { margin: 0 !important; }
