/* 전역 테이블/게시판 스타일을 건드리지 않는 공시 전용 스타일 */
.bn-notice { color:#171717; background:#fff; font-family:"Malgun Gothic","Apple SD Gothic Neo",sans-serif; font-size:14px; line-height:1.7; max-width:950px; margin:0 auto; overflow-wrap:break-word; }
.bn-notice.bn-share { max-width:465px; }
.bn-notice *, .bn-notice *::before, .bn-notice *::after { box-sizing:border-box; }
.bn-notice .bn-heading { text-align:center; font-weight:500; font-size:21px; margin:6px 0 26px; line-height:1.5; letter-spacing:.02em; }
.bn-notice .bn-intro { text-indent:1.2em; white-space:normal; margin:0 0 22px; line-height:1.9; }
.bn-notice .bn-date { margin:0 0 8px; }
.bn-notice .bn-tables { display:grid; grid-template-columns:1fr 1fr; gap:18px; align-items:start; }
.bn-notice .bn-table-scroller { min-width:0; overflow-x:auto; }
.bn-notice table.bn-share-table, .bn-notice.bn-general table { width:100%; table-layout:auto; border-collapse:collapse; border-spacing:0; background:#fff; margin:0; border:1px solid #222 !important; }
.bn-notice table.bn-share-table th, .bn-notice table.bn-share-table td, .bn-notice.bn-general table th, .bn-notice.bn-general table td { border:1px solid #222; padding:6px 5px; font-size:12px; font-weight:400; text-align:center; vertical-align:middle; background:#fff; color:#111; line-height:1.35; }
.bn-notice table.bn-share-table tbody tr:last-child th, .bn-notice table.bn-share-table tbody tr:last-child td { border-bottom:1px solid #222 !important; }
.bn-notice table.bn-share-table th, .bn-notice table.bn-share-table td { white-space:nowrap; }
.bn-notice .bn-num { font-variant-numeric:tabular-nums; }
.bn-notice .bn-total th, .bn-notice .bn-total td { font-weight:500; }
.bn-notice.bn-general h2, .bn-notice.bn-general h3 { margin:12px 0; font-weight:600; font-size:1.3em; }
.bn-notice.bn-general p { margin:8px 0; }
.bn-notice.bn-general ul, .bn-notice.bn-general ol { margin:8px 0; padding-left:24px; }
.bn-notice.bn-general table { margin:12px 0; }
.bn-notice.bn-general table th, .bn-notice.bn-general table td { padding:7px; }
@media (max-width:800px) { .bn-notice .bn-tables { grid-template-columns:1fr; } .bn-notice .bn-heading { font-size:18px; } }
@media print { .bn-notice { max-width:none; } .bn-notice .bn-tables { grid-template-columns:1fr 1fr; gap:10px; } .bn-notice .bn-table-scroller { overflow:visible; } .bn-notice table { break-inside:avoid; } }

/* 임원변동: 행마다 신규/퇴임/변경을 혼합 가능 */
.bn-notice table.bn-officer-table{width:100%;border-collapse:collapse;background:#fff;margin:8px 0 20px;min-width:580px}
.bn-notice .bn-officer-table th,.bn-notice .bn-officer-table td{border:1px solid #222;padding:7px 6px;color:#111;background:#fff;text-align:center;font-weight:400;font-size:12px;line-height:1.45;vertical-align:middle}
.bn-notice .bn-officer-table th{background:#f8f8f8;font-weight:600}
.bn-notice .bn-general-body{margin-top:14px}.bn-notice.bn-general table{width:100%;border-collapse:collapse;margin:12px 0}.bn-notice.bn-general table td,.bn-notice.bn-general table th{border:1px solid #222;padding:6px 8px;text-align:center}
@media print{.bn-notice .bn-officer-table{min-width:0;font-size:10px}.bn-notice .bn-officer-table th,.bn-notice .bn-officer-table td{padding:3px;font-size:10px}}

/* 임원변동 전용: 머리글의 연한 파란색과 마지막 머리글 줄 아래 이중선 */
.bn-notice.bn-officer table.bn-officer-table {
    border:1px solid #222 !important;
}
.bn-notice.bn-officer table.bn-officer-table thead th {
    background-color:#e8f3e8 !important;
    color:#111 !important;
    font-weight:600 !important;
}
.bn-notice.bn-officer table.bn-officer-table thead tr:last-child th {
    border-bottom:3px double #222 !important;
}
.bn-notice.bn-officer table.bn-officer-table tbody tr:last-child > * {
    border-bottom:1px solid #222 !important;
}

/* 경영공시 전용: 좌우 재무제표 + 겸영사업 원본 서식. 다른 공시에는 영향 없음. */
.bn-notice.bn-financial { width:100%; max-width:950px; margin:0 auto; color:#161616; }
.bn-notice.bn-financial .bn-heading { font-size:21px; margin:6px 0 28px; text-align:center; }
.bn-notice.bn-financial .bn-intro { margin:0 0 26px; line-height:1.8; }
.bn-notice.bn-financial .bn-fin-section { margin:24px 0 35px; clear:both; }
.bn-notice.bn-financial .bn-fin-section h3 { font-size:17px; font-weight:600; margin:0 0 8px; line-height:1.5; }
.bn-notice.bn-financial .bn-fin-section h3 small { font-size:14px; font-weight:600; }
.bn-notice.bn-financial .bn-fin-unit { text-align:right; font-size:12px; margin:0 0 5px; line-height:1.3; }
.bn-notice.bn-financial .bn-fin-pair { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0; align-items:start; }
.bn-notice.bn-financial .bn-table-scroller { overflow-x:auto; min-width:0; }
.bn-notice.bn-financial table.bn-fin-table,
.bn-notice.bn-financial table.bn-fin-business { border-collapse:collapse; border-spacing:0; border:1px solid #222 !important; width:100%; margin:0; table-layout:fixed; background:#fff; }
.bn-notice.bn-financial table.bn-fin-table th,
.bn-notice.bn-financial table.bn-fin-table td,
.bn-notice.bn-financial table.bn-fin-business th,
.bn-notice.bn-financial table.bn-fin-business td { font-family:inherit; font-size:12px; line-height:1.35; border:1px solid #222 !important; color:#111; padding:4px 5px; text-align:center; vertical-align:middle; background:#fff; font-weight:400; overflow-wrap:anywhere; }
.bn-notice.bn-financial table.bn-fin-table tbody th { text-align:left; }
.bn-notice.bn-financial table.bn-fin-table thead th,
.bn-notice.bn-financial table.bn-fin-business thead th { background:#e8f3e8 !important; font-weight:600; }
.bn-notice.bn-financial table.bn-fin-table thead tr:last-child th,
.bn-notice.bn-financial table.bn-fin-business thead tr:last-child th { border-bottom:3px double #222 !important; }
.bn-notice.bn-financial table.bn-fin-table .bn-fin-number { text-align:right; font-variant-numeric:tabular-nums; }
.bn-notice.bn-financial table.bn-fin-table th:first-child { width:42%; }
.bn-notice.bn-financial table.bn-fin-table tbody tr:last-child > *,
.bn-notice.bn-financial table.bn-fin-business tbody tr:last-child > * { border-bottom:1px solid #222 !important; }
.bn-notice.bn-financial .bn-fin-business + .bn-fin-business { border-top:0 !important; }
.bn-notice.bn-financial table.bn-fin-business td { min-height:22px; }
.bn-notice.bn-financial table.bn-fin-business-sales th:nth-child(1),
.bn-notice.bn-financial table.bn-fin-business-sales th:nth-child(2) { width:19%; }
@media (max-width:720px) {
 .bn-notice.bn-financial .bn-fin-pair { grid-template-columns:1fr; gap:12px; }
 .bn-notice.bn-financial .bn-fin-section h3 { font-size:15px; }
 .bn-notice.bn-financial table.bn-fin-table th,.bn-notice.bn-financial table.bn-fin-table td,
 .bn-notice.bn-financial table.bn-fin-business th,.bn-notice.bn-financial table.bn-fin-business td { font-size:11px; padding:3px 2px; }
}
@media print {
 .bn-notice.bn-financial { max-width:none; }
 .bn-notice.bn-financial .bn-fin-pair { grid-template-columns:1fr 1fr; gap:0; }
 .bn-notice.bn-financial .bn-table-scroller { overflow:visible; }
 .bn-notice.bn-financial .bn-fin-section { break-inside:avoid; }
}

/* 경영공시 이미지 1: 임원현황 + 요약 재무제표 + 겸영사업 */
.bn-notice.bn-financial{max-width:690px!important}
.bn-notice.bn-financial .bn-fin-section .bn-date{font-size:16px;font-weight:600;margin:0 0 10px}
.bn-notice.bn-financial .bn-officer-table{width:100%;min-width:0;margin:0;border:1px solid #222;border-collapse:collapse}
.bn-notice.bn-financial .bn-officer-table th,.bn-notice.bn-financial .bn-officer-table td{border:1px solid #222;padding:4px 5px;font-size:12px;background:#fff;text-align:center;font-weight:400}
.bn-notice.bn-financial .bn-officer-table thead tr:last-child th{background:#e8f3e8;border-bottom:3px double #222}
/* 경영공시 이미지 2: 거래 실적과 주주현황 */
.bn-notice.bn-annual-trade{max-width:690px;margin:auto;color:#171717}
.bn-notice.bn-annual-trade .bn-annual-section{margin:26px 0 32px}
.bn-notice.bn-annual-trade .bn-annual-section h3{font-size:17px;font-weight:600;margin:0 0 8px}
.bn-notice.bn-annual-trade .bn-annual-section h3 small{font-size:14px;font-weight:400}
.bn-notice.bn-annual-trade .bn-annual-section h4{font-size:14px;font-weight:500;margin:9px 0 6px}
.bn-notice.bn-annual-trade .bn-fin-unit{text-align:right;font-size:12px;margin:0 0 5px}
.bn-notice.bn-annual-trade table.bn-annual-table{border-collapse:collapse;width:100%;border:1px solid #222!important;margin:0;table-layout:fixed}
.bn-notice.bn-annual-trade .bn-annual-table td,.bn-notice.bn-annual-trade .bn-annual-table th{padding:4px 3px;border:1px solid #222!important;color:#111;text-align:center;vertical-align:middle;font-size:12px;font-weight:400;overflow-wrap:anywhere;line-height:1.4}
.bn-notice.bn-annual-trade .bn-annual-table thead th{background:#e8f3e8!important;font-weight:600}
.bn-notice.bn-annual-trade .bn-annual-table thead tr:last-child th{border-bottom:3px double #222!important}
.bn-notice.bn-annual-trade .bn-annual-price{font-size:13px;line-height:1.65;margin:5px 0;overflow-wrap:anywhere}
.bn-notice.bn-annual-trade .bn-annual-total th,.bn-notice.bn-annual-trade .bn-annual-total td{font-weight:600}
@media(max-width:720px){.bn-notice.bn-annual-trade .bn-annual-table td,.bn-notice.bn-annual-trade .bn-annual-table th{font-size:11px;padding:3px 1px}}
@media print{.bn-notice.bn-annual-trade,.bn-notice.bn-financial{max-width:none!important}.bn-notice.bn-annual-trade .bn-annual-section{break-inside:avoid}}

/* v6: Reference image's single, continuous financial/business grids; double rule preserved. */
.bn-notice.bn-financial .bn-fin-unified {border-collapse:collapse!important;table-layout:fixed;width:100%;min-width:580px!important;margin:0!important;}
.bn-notice.bn-financial .bn-fin-unified col.bn-statement-name{width:18%;}
.bn-notice.bn-financial .bn-fin-unified col:not(.bn-statement-name){width:10.666%;}
.bn-notice.bn-financial .bn-fin-unified tbody th{font-weight:400!important;text-align:left;}
.bn-notice.bn-financial .bn-fin-unified thead tr:first-child th{font-weight:600!important;}
.bn-notice.bn-financial .bn-fin-unified td,.bn-notice.bn-financial .bn-fin-unified th{padding:3px 4px!important;line-height:1.27!important;}
.bn-notice.bn-financial .bn-fin-business-unified{table-layout:fixed;width:100%;min-width:530px!important;border-collapse:collapse;margin:0!important;}
.bn-notice.bn-financial .bn-fin-business-unified td,.bn-notice.bn-financial .bn-fin-business-unified th{padding:4px!important;font-weight:400;}
.bn-notice.bn-financial .bn-fin-business-unified .bn-business-header th{background:#e8f3e8!important;font-weight:600!important;}
.bn-notice.bn-financial .bn-fin-business-unified .bn-business-header + .bn-business-header th{border-bottom:3px double #222!important;}
.bn-notice.bn-financial .bn-fin-business-unified .bn-business-total th,.bn-notice.bn-financial .bn-fin-business-unified .bn-business-total td{font-weight:600!important;}
.bn-notice.bn-financial .bn-fin-business-unified .bn-business-number{color:#444;}
.bn-notice.bn-financial .bn-annual-table thead th{background:#e8f3e8!important;}
.bn-notice.bn-financial .bn-fin-table thead tr:last-child th{border-bottom:3px double #222!important;}
@media(max-width:720px){.bn-notice.bn-financial .bn-fin-unified,.bn-notice.bn-financial .bn-fin-business-unified{min-width:580px!important;}}

/* 경영공시 문서 안의 링크: 관리자 입력 주소를 클릭하여 이동 */
.bn-notice a[href]{color:#125ca9;text-decoration:underline;cursor:pointer;pointer-events:auto;overflow-wrap:anywhere;}
.bn-notice a[href]:hover,.bn-notice a[href]:focus{color:#093b78;text-decoration:underline;}
@media print{.bn-notice a[href]{color:#111;text-decoration:underline;}}

/* 사용자 지정 머리글 연두색: 주주변동 포함 모든 공시 표에 동일하게 적용 */
.bn-notice.bn-share table.bn-share-table thead th {
    background-color: #e8f3e8 !important;
    color: #111111;
    font-weight: 600;
}
.bn-notice.bn-general table thead th { background-color: #e8f3e8 !important; color: #111111; font-weight: 600; }

/* v10: 원본 경영공시의 거래가격 정보(삼산/전국/검색방법) */
.bn-notice.bn-annual-trade .bn-annual-price-method{margin-top:8px;font-weight:600}

/* v10.2: 겸영사업 원본 양식의 녹색 머리글을 확실히 고정 */
.bn-notice.bn-financial table.bn-fin-business-unified tr.bn-business-header > th,
.bn-notice.bn-financial table.bn-fin-business-unified th.bn-business-green {
    background-color:#e8f3e8 !important;
    color:#111111 !important;
    font-weight:600 !important;
}
.bn-notice.bn-financial table.bn-fin-business-unified tr.bn-business-header + tr.bn-business-header > th {
    border-bottom:3px double #222 !important;
}


/* v10.3: 겸영사업 사업자 정보 라벨(사업자/상호/대표자/전화번호/사업장 소재지) 연두색 */
.bn-notice.bn-financial table.bn-fin-business-unified th.bn-business-info-green {
    background-color:#e8f3e8 !important;
    color:#111111 !important;
    font-weight:600 !important;
}

/* 공개 상세 페이지에서 상위 게시판 스타일이 공시 문서 표를 덮지 않도록 복원 */
#middle.sub.company.business-view .tb-view.type02 .inner .bn-notice {color:#171717;}
#middle.sub.company.business-view .tb-view.type02 .inner .bn-notice.bn-share {max-width:465px;}
#middle.sub.company.business-view .tb-view.type02 .inner .bn-notice table {border:1px solid #222!important;}
#middle.sub.company.business-view .tb-view.type02 .inner .bn-notice table th,
#middle.sub.company.business-view .tb-view.type02 .inner .bn-notice table td {border:1px solid #222!important;color:#111;background:#fff;padding:6px 5px;font-size:12px;line-height:1.35;text-align:center;}
#middle.sub.company.business-view .tb-view.type02 .inner .bn-notice table thead th,
#middle.sub.company.business-view .tb-view.type02 .inner .bn-notice.bn-share table .bn-total th {background:#e8f3e8!important;}
#middle.sub.company.business-view .tb-view.type02 .inner .bn-notice table tr:hover td {background:#fff!important;}
