@charset "UTF-8";
/* =====================================================================
   배리어프리 하단바
   - content_fix.css 이후에 로드되어야 한다 (기존 스타일 덮어쓰기)
   ===================================================================== */

/* ---------- 1. 하단바로 흡수된 기존 내비 숨김 ---------- */
/* 처음으로 · 이전으로 (상단 우측) → 하단바로 이동 */
.sub_footer_wrap .bottom_gnb { display: none !important; }
/* 저시력모드 전환 → 하단바 고대비모드로 대체 */
.mode_change,
.mode_change_low { display: none !important; }

/* ---------- 2. 하단바 ----------
   바는 position:fixed 라 문서 흐름에 자리를 차지하지 않는다.
   body 에 padding 을 주면 height:100%(common.css) 와 더해져
   문서가 1080 을 넘어 스크롤이 생기므로 주지 않는다.
   바에 가리는 화면은 해당 화면에서 개별 조정한다. */
#bf_bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 92px;
  z-index: 9000;
  box-sizing: border-box;
  padding: 10px 24px;
  background: #000;
  display: flex;
  align-items: stretch;
  gap: 14px;
}

#bf_bar .bf_btn {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  background: #000;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 10px;
  font-family: inherit;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

/* 눌린 동안은 켜짐과 같은 모양으로 뒤집는다 — 회색을 쓰지 않는다 */
#bf_bar .bf_btn:active { background: #fff; color: #000; }
#bf_bar .bf_btn:active .bf_ico { color: #000; }
#bf_bar .bf_btn:active .bf_ico_img { filter: none; }

/* 켜짐 상태 (고대비 등).
   흰 바탕에 검은 글자로 뒤집는다. 노랑을 쓰지 않는 이유 —
   고대비 모드는 검정과 흰색만 쓴다. 색으로 상태를 알리면
   색을 못 가리는 사람에게는 아무 표시도 아니다. */
#bf_bar .bf_btn.bf_on {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* 라벨 + 상태값 묶음 — 기본은 가로 배치, bf_wrap 에서 세로로 바뀐다 */
#bf_bar .bf_txt {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

#bf_bar .bf_label { white-space: nowrap; }

/* 버튼 우측 상태값 (3단계 / 100% / 꺼짐) */
#bf_bar .bf_state {
  font-size: 17px;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
}
#bf_bar .bf_btn.bf_on .bf_state { color: #000; }
#bf_bar .bf_state:empty { display: none; }

/* ---------- 3. 아이콘 ----------
   처음으로·이전으로는 기존 화면에서 쓰던 이미지를 그대로 쓴다.
   원본이 어두운 색이라 검은 바 위에서는 invert 로 흰색으로 뒤집는다.
   나머지는 문자 기호를 쓴다. */
#bf_bar .bf_ico_img {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  object-fit: contain;
  display: block;
  filter: invert(1) brightness(1.8);
}

#bf_bar .bf_ico {
  flex: 0 0 auto;
  font-size: 30px;
  line-height: 1;
  font-style: normal;
  color: #fff;
}

/* 켜짐(흰 배경) 상태에서는 검게 */
#bf_bar .bf_btn.bf_on .bf_ico { color: #000; }
#bf_bar .bf_btn.bf_on .bf_ico_img { filter: none; }

/* ---------- 4. 언어 선택 (기존 #lang_select 를 바 안으로 이동) ---------- */
#bf_lang_slot {
  margin-left: auto;
  display: flex;
  align-items: stretch;
}

#bf_bar #lang_select {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  display: flex;
  align-items: stretch;
}

#bf_bar #lang_select .select_wrap {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
  box-shadow: none;
  white-space: nowrap;
  /* 저시력 테마는 지구본 배경을 주석 처리해 두어 여기서 직접 지정한다 */
  background-image: url('/images/icon_language.png');
  background-repeat: no-repeat;
  background-position: 18px center;
  background-color: #000;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 10px;
  padding: 0 68px 0 60px;             /* 좌 60 지구본 / 우 68 화살표 */
  font-size: 24px;
  font-weight: 700;
}

/* 화살표를 흰색으로.
   일반은 검정(_b), 저시력은 흰색(_w) 이미지를 써서 그대로 두면
   한쪽이 반전돼 안 보인다. 검정으로 통일한 뒤 한 번만 반전한다. */
#bf_bar #lang_select .select_wrap:after {
  background-image: url('/images/icon_language_arrow_b.png');
  right: 18px;
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
  filter: invert(1) brightness(2);
}

/* 색은 지정하지 않는다.
   일반은 content.css(흰 바탕·검은 글자), 고대비는 content_low.css
   (검은 바탕·흰 글자·흰 테두리)가 각각 그린다.
   여기서 배경을 고정하면 고대비에서 흰 바탕에 흰 글자가 되어 안 보인다. */
#bf_bar #lang_select .option_wrap {
  position: absolute;
  left: 0;
  right: 0;                  /* 아래 Language 버튼과 같은 폭으로 */
  bottom: calc(100% + 20px);
  box-sizing: border-box;
  border-radius: 12px;
  padding: 8px;
}

/* 테마 CSS 가 항목 폭을 170px 로 고정해 두어 버튼 폭을 넘길 수 있다 */
#bf_bar #lang_select .lang_option {
  width: 100%;
  box-sizing: border-box;
}

/* =====================================================================
   5. 폭 자동 맞춤
   번역문이 길어 한 줄에 안 들어가면 bf.js 가 클래스를 붙인다.
   1단계 bf_compact : 글자·여백 축소
   2단계 bf_wrap    : 라벨과 상태값을 위아래 두 줄로
   언어별로 값을 따로 잡지 않고 실제 렌더 폭으로 판단한다.
   ===================================================================== */

/* ---- 1단계 : 축소 ---- */
#bf_bar.bf_compact { gap: 8px; padding: 10px 14px; }

#bf_bar.bf_compact .bf_btn { padding: 0 14px; gap: 8px; font-size: 20px; }
#bf_bar.bf_compact .bf_txt { gap: 7px; }
#bf_bar.bf_compact .bf_ico { font-size: 24px; }
#bf_bar.bf_compact .bf_ico_img { width: 24px; height: 24px; }
#bf_bar.bf_compact .bf_state { font-size: 14px; }

#bf_bar.bf_compact #lang_select .select_wrap {
  font-size: 20px;
  padding: 0 46px;
  background-size: 26px auto;
  background-position: 12px center;
}
#bf_bar.bf_compact #lang_select .select_wrap:after { right: 12px; }

/* ---- 2단계 : 라벨·상태값 두 줄 ---- */
#bf_bar.bf_wrap .bf_btn { padding: 0 12px; gap: 8px; font-size: 18px; }

#bf_bar.bf_wrap .bf_txt {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
}

/* 라벨 자체도 필요하면 두 줄로 흘린다 */
#bf_bar.bf_wrap .bf_label {
  white-space: normal;
  line-height: 1.15;
  text-align: left;
  max-width: 9em;
}

#bf_bar.bf_wrap .bf_state { font-size: 13px; }
#bf_bar.bf_wrap .bf_ico { font-size: 22px; }
#bf_bar.bf_wrap .bf_ico_img { width: 22px; height: 22px; }

#bf_bar.bf_wrap #lang_select .select_wrap {
  font-size: 18px;
  padding: 0 40px;
  background-size: 22px auto;
  background-position: 10px center;
}
#bf_bar.bf_wrap #lang_select .select_wrap:after {
  right: 10px;
  width: 22px;
  height: 22px;
}

/* =====================================================================
   6. 모달 (직원호출 · 소리설정 · 무동작 안내)
   마크업은 bf.jsp 에 있고 bf.js 가 보이고 감추기만 한다.
   하단바보다 위에 떠야 하므로 z-index 를 더 높인다.
   ===================================================================== */
.bf_modal_dim {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(0, 0, 0, .65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.bf_modal {
  box-sizing: border-box;
  min-width: 640px;
  max-width: 90vw;
  padding: 48px 64px;
  border-radius: 18px;
  background: #fff;
  color: #12161c;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
}

.bf_modal h2 {
  margin: 0 0 18px;
  font-size: 40px;
  font-weight: 700;
}

.bf_modal p {
  margin: 8px 0;
  font-size: 24px;
  line-height: 1.5;
}

.bf_modal .bf_phone {
  margin: 16px 0 6px;
  font-size: 64px;
  font-weight: 800;
  letter-spacing: 2px;
}

.bf_modal .bf_sub {
  font-size: 22px;
  color: #5a6070;
}

.bf_modal_btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 28px;
}

.bf_modal_btns button {
  min-width: 200px;
  padding: 20px 48px;
  border: 0;
  border-radius: 12px;
  background: #12161c;
  color: #fff;
  font-family: inherit;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
}

.bf_modal_btns button:active { opacity: .8; }

/* ---- 고대비일 때 ----
   bf.js 가 <html> 에 bf_hc 를 붙인다.
   흰 바탕에 순수 검정을 써서 대비를 최대(21:1)로 올린다. */
.bf_hc .bf_modal { color: #000; }
.bf_hc .bf_modal .bf_sub { color: #000; }
.bf_hc .bf_modal_btns button { background: #000; color: #fff; }

/* =====================================================================
   7. 초점 표시
   common.css 46 줄에서 outline:none 을 걸어 두어 !important 가 필요하다.
   방향키로 옮겼을 때만 붙는 클래스다 — 터치로 누른 뒤에는 띄우지 않는다.
   기존 테두리가 있으면 색만 바꾸고, 없는 요소만 안쪽에 파란 선을 표시한다.
   ===================================================================== */
.bf_focus {
  outline: 4px solid #0b5fff !important;
  outline-offset: -4px !important;
  border-color: #0b5fff !important;
  box-shadow: none !important;
  z-index: 1;
}

/* z-index 는 자리가 잡힌 요소에만 먹으므로 static 인 것은 띄워 줘야 한다.
   그렇다고 여기서 일괄로 relative 를 주면 absolute 로 앉혀 둔 것까지
   흐름 안으로 돌아와 옆과 아래를 밀어낸다 (자동이체 단추가 그랬다).
   그래서 원래 static 인 것에만 bf.js 가 이 클래스를 붙인다. */
.bf_focus_raise {
  position: relative;
}

/* 참고 화면의 파란색을 사용한다. 기존 흰 테두리의 두께·모양은 유지한다. */
.bf_hc .bf_focus {
  outline: 5px solid #2e9bff !important;
  outline-offset: -5px !important;
  border-color: #2e9bff !important;
}
.bf_focus_border { border-color: #0b5fff !important; }
.bf_hc .bf_focus_border { border-color: #2e9bff !important; }
.bf_focus.bf_focus_border_owner { outline: none !important; }

/* 작은 직접 텍스트의 웹 표시 하한. 실제 글자 높이 7.25mm는 단말에서 별도 측정한다. */
.bf_min_text { font-size: 28px !important; }

/* =====================================================================
   8. 소리설정 모달
   예제(bf.css 255~286)와 같은 모양이다.
   음량은 [−] 계단형 막대 5칸 [＋], 속도는 세 단계를 바로 고른다.
   ===================================================================== */
.bf_vol_stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 22px 0 10px;
}

.bf_modal .bf_vol_stepper .bf_step {
  width: 72px;
  height: 72px;
  min-width: 72px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #20323f;
  color: #fff;
  position: relative;
  font-family: inherit;
  cursor: pointer;
}

/* +/− 는 글꼴에 기대지 않고 도형으로 그린다 — 글꼴이 없는 단말에서 깨진다 */
.bf_modal .bf_vol_stepper .bf_step i {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 30px;
  height: 5px;
  border-radius: 3px;
  background: currentColor;
}

.bf_modal .bf_vol_stepper .bf_step.bf_plus i:after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 30px;
  border-radius: 3px;
  background: currentColor;
}

.bf_modal .bf_vol_stepper .bf_step[disabled] { opacity: .35; cursor: default; }

.bf_vol_bars { display: flex; align-items: flex-end; gap: 10px; }
.bf_vol_bars .bf_seg { width: 64px; border-radius: 8px; background: #e1e4ea; }
.bf_vol_bars .bf_seg.on { background: #12161c; }

.bf_speed_row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 6px;
}

.bf_speed_row .bf_speed_label { font-size: 22px; color: #5a6070; margin-right: 6px; }

.bf_speed_row button {
  min-width: 130px;
  padding: 16px 20px;
  border: 2px solid #c2c7d0;
  border-radius: 12px;
  background: #fff;
  color: #12161c;
  font-family: inherit;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
}

.bf_speed_row button.bf_on { background: #12161c; color: #fff; border-color: #12161c; }

/* 고대비 */
.bf_hc .bf_modal .bf_vol_stepper .bf_step { background: #000; color: #fff; border: 2px solid #000; }
/* 꺼진 칸은 흰 바탕 + 검은 테두리, 켜진 칸은 검게 채운다.
   회색으로 흐리게 두면 고대비에서 있는지 없는지 알 수 없다. */
.bf_hc .bf_vol_bars .bf_seg { background: #fff; border: 3px solid #000; }
.bf_hc .bf_vol_bars .bf_seg.on { background: #000; }
.bf_hc .bf_speed_row .bf_speed_label { color: #000; }
.bf_hc .bf_speed_row button { background: #fff; color: #000; border-color: #000; }
.bf_hc .bf_speed_row button.bf_on { background: #000; color: #fff; border-color: #000; }

/* =====================================================================
   9. 확대해서 화면을 끌고 다니는 동안
   bf.js 가 <html> 에 bf_panning 을 붙인다 (확대 배율이 1 을 넘을 때만).

   메뉴 카드가 <a> 라 누른 채 움직이면 브라우저가 링크를 끌어,
   반투명한 그림이 손을 따라다니고 화면은 그대로 서 있는다.
   글자도 파랗게 잡히므로 같이 막는다.
   ===================================================================== */
.bf_panning #wrap,
.bf_panning #wrap * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.bf_panning #wrap a,
.bf_panning #wrap img {
  -webkit-user-drag: none;
  user-drag: none;
}

/* 손 모양으로 끌 수 있다는 것을 알린다 */
.bf_panning #wrap { cursor: grab; }
.bf_panning #wrap:active { cursor: grabbing; }

/* =====================================================================
   10. 무동작 안내
   화면을 가리지 않도록 하단바 바로 위에 띠로 띄운다.
   모달로 막으면 조작하려던 사람이 한 번 더 눌러야 한다.
   ===================================================================== */
#bf_idle_toast {
  position: fixed;
  left: 50%;
  bottom: 116px;                 /* 하단바(92) 위 24 */
  transform: translateX(-50%);
  z-index: 10600;                /* 모달(9500)보다 위 — 모달을 열어 둔 채 시간이 갈 수 있다 */
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 26px 30px 26px 38px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 18px;
  background: #111318;
  color: #fff;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .45);
}

#bf_idle_toast .bf_idle_txt {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.45;
}

#bf_idle_toast .bf_idle_num {
  margin-right: 4px;
  color: #ffe94a;
  font-size: 40px;
  font-weight: 800;
}

#bf_idle_toast .bf_idle_x {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  border: 2px solid #fff;
  border-radius: 14px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 28px;
  cursor: pointer;
}

/* 고대비에서는 검은 바탕에 흰 테두리·흰 글자만 쓴다 */
.bf_hc #bf_idle_toast { background: #000; border-color: #fff; }
.bf_hc #bf_idle_toast .bf_idle_num { color: #fff; }

/* 3차 시각 보완: 기존 문구·컨트롤·업무 이벤트는 유지한다. */
/* 일반 모드의 기존 빨강/회색 계열을 같은 계열의 충분히 어두운 색으로 보정. */
html:not(.bf_hc) .alim_talk .sub_tit,
html:not(.bf_hc) .number_modal_wrap .alarm_txt2,
html:not(.bf_hc) #carbon_neutrality_pop_1 .bottom_txt,
html:not(.bf_hc) #carbon_neutrality_pop_2 .alarm_pop p span.red,
html:not(.bf_hc) .card_announce .before_select_text .title,
html:not(.bf_hc) .card_announce .before_select_text .warn,
html:not(.bf_hc) .check_privacy_list .price,
html:not(.bf_hc) .check_privacy_list .price span,
html:not(.bf_hc) .regular_pay_14_wrap .left .item .add_txt .price,
html:not(.bf_hc) .chk_selpay_list .selpay_num .add_txt .price,
html:not(.bf_hc) .regular_pay_right .pay_num .add_txt .price,
html:not(.bf_hc) .regular_pay_list .regular_pay .add_txt .price,
html:not(.bf_hc) .info_text span { color: #b71c1c; }

html:not(.bf_hc) .number_modal_wrap .phone_num_input,
html:not(.bf_hc) #carbon_neutrality_wrap .text_wrap { color: #555; }
html:not(.bf_hc) #carbon_neutrality_pop_2 .alarm_pop p span.skyblue { color: #005a9e; }
html:not(.bf_hc) .check_list_top .name,
html:not(.bf_hc) .check_list_top .name span,
html:not(.bf_hc) .sel_list_top .name { color: #705900; }
html:not(.bf_hc) .key_skip,
html:not(.bf_hc) .keypad ul li a.back,
html:not(.bf_hc) #carbon_neutrality_pop_1 .deny { background-color: #595959; }
html:not(.bf_hc) .key_approve,
html:not(.bf_hc) .all_pay,
html:not(.bf_hc) .card_pay:not(.disabled),
html:not(.bf_hc) .installment_wrap .top_wrap button.active,
html:not(.bf_hc) .chk_selpay_list .selpay_num .tit .nonpay { background-color: #b71c1c; }
html:not(.bf_hc) .total_sel { background-color: #014294; }

/* 기존 카드사 이름을 이미지 속 작은 글씨 대신 동일한 텍스트로 표시한다. */
.card_installment_info_wrap .card_btn_wrap button {
  font-size: 30px;
  font-weight: 700;
  background-image: none;
  position: relative;
}
.card_announce.after_select > .head {
  font-size: 32px !important;
  background-image: none !important;
  line-height: 1.4;
}
.info_wrap.card_announce .info .sec,
.info_wrap.card_announce .info .sec * { font-size: max(28px, 1em) !important; line-height: 1.35; }
.info_wrap.card_announce.after_select { padding-bottom: 140px; }
.info_wrap.card_announce.after_select .info { overflow-y: auto; }
.invalid_card_wrap .box > .head { font-size: 28px !important; width: 210px !important; flex-shrink: 0; }
.invalid_card_wrap .body { line-height: 30px; }

/* 색을 보지 않아도 선택을 구분하는 도형. 새 문구/DOM/클릭 동작은 없다. */
.installment_wrap .top_wrap button { position: relative; }
.card_installment_info_wrap .card_btn_wrap button.active::after,
.installment_wrap .top_wrap button.active::after {
  content: '';
  position: absolute;
  right: 9px;
  top: 7px;
  width: 9px;
  height: 16px;
  border: solid currentColor;
  border-width: 0 4px 4px 0;
  transform: rotate(45deg);
  pointer-events: none;
}
html:not(.bf_hc) .card_installment_info_wrap .card_btn_wrap button.active {
  color: #b71c1c;
  border-color: #b71c1c;
}

/* 비동기 조회로 삽입되는 글자에도 적용. 페이지별 목록/정렬/선택 범위 유지. */
.chk_selpay_list .selpay_num .tit .nonpay,
.chk_selpay_list .selpay_num .tit .sel_month,
.chk_selpay_list .selpay_num .add_txt .date,
.chk_selpay_list .selpay_num .add_txt .divided_date,
.chk_selpay_list .selpay_num .add_txt .price,
.chk_selpay_list .selpay_num .add_txt .price span,
.chk_selpay_list .selpay_num .add_txt .detail .txt,
.chk_selpay_list .selpay_num .add_txt .detail .plus { font-size: 28px; }
.chk_selpay_list .selpay_num .tit { height: 55px; line-height: 55px; }
.chk_selpay_list .selpay_num .add_txt { padding: 4px 0; }
.chk_selpay_list .selpay_num .add_txt p.price { font-size: 28px; margin-bottom: 0; }
.chk_selpay_list .selpay_num .add_txt .divided_date { line-height: 32px; letter-spacing: -1px; }
.chk_selpay_list .selpay_num .add_txt .detail .txt { font-size: 24px; line-height: 28px; letter-spacing: -1px; }
.chk_selpay_list .selpay_num .add_txt .detail .plus { margin: 0 5px; flex-shrink: 0; }
.bf_hc .chk_selpay_list .selpay_num .add_txt .detail .plus { background: #000; color: #fff; }
.regular_pay_14_wrap .left .item .add_txt .date,
.regular_pay_14_wrap .left .item .add_txt .month { font-size: 30px; line-height: 34px; }

/* 페이지 화살표는 기존 위치/크기를 유지하고 배경과 외곽선만 보정한다. */
html .swiper-button-next,
html .swiper-button-prev {
  background: #414141;
  color: #fff;
  box-shadow: inset 0 0 0 3px #fff;
}
.bf_hc .swiper-button-next,
.bf_hc .swiper-button-prev { background: #000; }

/* 일괄납부와 보험별 납부에 같은 선택 가능 스타일을 적용한다. */
html:not(.bf_hc) .regular_pay_left a:not(.disabled),
html:not(.bf_hc) .regular_pay_right a:not(.disabled) { border-color: #014294; }
html:not(.bf_hc) .regular_pay_left a:not(.disabled) .regular_pay > .tit,
html:not(.bf_hc) .regular_pay_right a:not(.disabled) .pay_num > .tit { background-color: #e2ebf8; }
html.bf_hc .regular_pay_left a:not(.disabled) { border-color: #fff; }
.regular_pay_14_wrap .left .item { box-shadow: none; border-radius: 0; }
.regular_pay_14_wrap .left .item .tit { border-radius: 0; }

/* 기존 조회 중 레이어 뒤로 자동이체 버튼이 비치지 않도록 한다. */
#common_loading_dim { background: #f7f8fc; }
.bf_hc #common_loading_dim { background: #000; }

/* 상세 안내는 하단바 위 공간에 맞추고, 긴 본문만 스크롤한다. */
#carbon_neutrality_pop_2 {
  --bf-detail-max-height: calc(100vh - 140px);
  top: calc((100% - 92px) / 2);
  height: auto;
  max-height: var(--bf-detail-max-height);
  box-sizing: border-box;
}
#carbon_neutrality_pop_2 .pop_content {
  display: flex;
  flex-direction: column;
  max-height: var(--bf-detail-max-height);
  padding: 24px 60px;
}
#carbon_neutrality_pop_2 .pop_content .alarm_tit {
  flex-shrink: 0;
  margin-bottom: 12px;
  padding-bottom: 16px;
}
#carbon_neutrality_pop_2 .pop_txt {
  min-height: 0;
  margin-top: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
#carbon_neutrality_pop_2 .alarm_pop p { line-height: 1.3; }
#carbon_neutrality_pop_2 .btn_wrap { flex-shrink: 0; margin: 16px 0 0; }
#carbon_neutrality_pop_2 .Btn { height: 100px; line-height: 94px; }

/* 고대비 한 칸 지우기: 키 폭에 맞춰 기존 글자를 키 안에 표시한다. */
.bf_hc .keypad ul li a.back { display: inline-flex; align-items: center; justify-content: center; }
.bf_hc .keypad ul li a.back i { font-size: 28px; line-height: 1.2; letter-spacing: -1px; white-space: nowrap; }
.bf_hc .number_wrap .keypad ul li a.back i { max-width: 110px; white-space: normal; word-break: keep-all; }

/* 이미지의 글자/QR/배치를 유지하는 표시 필터. 원본 파일은 변경하지 않는다. */
html:not(.bf_hc) #carbon_neutrality_pop .content_wrap img {
  filter: url('/images/bf-carbon-contrast.svg#normal');
}
.bf_hc #carbon_neutrality_pop .content_wrap img {
  filter: url('/images/bf-carbon-contrast.svg#high');
}

/* 9번: 한국어 홈 기준 문구(32px)에 맞춘 텍스트 하한. */
html.bf_text_ko body { font-size: 32px; }
html.bf_text_ko .bf_min_text { font-size: 32px !important; }
html.bf_text_ko .info_wrap.card_announce .info .sec,
html.bf_text_ko .info_wrap.card_announce .info .sec * { font-size: max(32px, 1em) !important; }
html.bf_text_ko .invalid_card_wrap .box > .head { font-size: 32px !important; }
html.bf_text_ko.bf_hc .keypad ul li a.back i { font-size: 32px; }

/* 9번: 확대된 상세 금액을 카드 안에 유지하고 한국어 목록을 4열·2행으로 표시한다. */
html #sub_content.six_card_months .swiper { height: 520px; margin-top: -30px; }
html .six_card_months .chk_selpay_list a, html .six_card_months .chk_selpay_list a.on { height: 240px; margin-top: 6px; margin-bottom: 6px; }
html .six_card_months .chk_selpay_list .selpay_num .add_txt .detail .txt { line-height: 35px; }
html .six_card_months .chk_selpay_list .selpay_num .add_txt .divided_date { word-break: keep-all; }
html #sub_content.six_card_months > .page { top: -5px; height: 48px; line-height: 48px; }

/* 동의 본문 확대 후에도 하단 안내와 선택 버튼을 팝업 안에 둔다. */
html.bf_text_ko #carbon_neutrality_pop_1 { top: calc((100% - 92px) / 2); height: auto; max-height: calc(100vh - 116px); }
html.bf_text_ko #carbon_neutrality_pop_1 .pop_content { padding: 28px 60px; }
html.bf_text_ko #carbon_neutrality_pop_1 .alarm_tit { margin-bottom: 20px; padding-bottom: 20px; }
html.bf_text_ko #carbon_neutrality_pop_1 .agree_txt { margin: 20px 0 24px; }
html.bf_text_ko #carbon_neutrality_pop_1 .btn_wrap { margin-top: 0; }
html.bf_text_ko #carbon_neutrality_pop_1 .bottom_txt { margin-top: 14px; }

/* 확대된 카드 아래에 회차 안내를 배치하고 하단 조작과 간격을 확보한다. */
html #sub_content.six_card_months .settlement_wrap { position: fixed; bottom: 218px; height: auto; }
html #sub_content.six_card_months > .btn_wrap { top: -8px; }
html #sub_content.six_card_months .sel_list_top .top_date { bottom: -55px; }

html .six_card_months .chk_selpay_list .selpay_num .tit { height: 46px; line-height: 46px; }
html .six_card_months .chk_selpay_list .selpay_num .add_txt p.price { line-height: 38px; }

html .six_card_months .chk_selpay_list .selpay_num .tit .nonpay,
html .six_card_months .chk_selpay_list .selpay_num .tit .sel_month { width: auto; min-width: 100px; padding: 0 6px; margin-left: 10px; margin-right: 10px; }

/* 한 페이지 8개: 긴 금액을 위한 카드 폭과 상세 금액 간격. */
html .six_card_months .chk_selpay_list a,
html .six_card_months .chk_selpay_list a.on { width: 428px; }
html .six_card_months .chk_selpay_list .selpay_num .add_txt .detail .plus { flex-shrink: 0; width: 20px; margin: 0 4px; }
html .six_card_months .chk_selpay_list .selpay_num .add_txt .divided_date { line-height: 35px; }

/* 27번: 선택한 카드 안내만 표시하고, 하단 안내 높이를 제외한 공간에서 스크롤한다. */

html.bf_text_ko .info_wrap.card_announce.after_select[style*="display: flex"] { display:grid !important; grid-template-columns:200px minmax(0,1fr); grid-template-rows:minmax(0,1fr) auto; gap:16px 0; padding:20px 10px 10px; }
html.bf_text_ko .info_wrap.card_announce.after_select > .head { width:auto; }
html.bf_text_ko .info_wrap.card_announce.after_select .info { width:auto; height:auto; min-height:0; overflow-y:auto; padding-left:20px; }
html.bf_text_ko .info_wrap.card_announce.after_select .info::-webkit-scrollbar { width:18px; }
html.bf_text_ko .info_wrap.card_announce.after_select .info::-webkit-scrollbar-thumb { background:#666; border:4px solid transparent; background-clip:padding-box; border-radius:9px; }
html.bf_text_ko .info_wrap.card_announce.after_select .invalid_card_wrap { position:static; grid-column:1 / -1; padding:0; }
html.bf_text_ko .card_announce.after_select .invalid_card_wrap .box > .head { width:244px !important; padding-left:40px; background-position:4px 6px; }
html.bf_text_ko .card_announce.after_select .invalid_card_wrap .body { line-height:1.3; padding-left:16px; }

/* 4차 9번: 문장 속 숫자는 최소 36px이며 더 큰 글자는 상속한다. 입력 숫자의 44px 하한은 유지한다. */
html.bf_text_ko bf-text { display: inline; }
html.bf_text_ko bf-number {
  display: inline;
  font-size: max(36px, 1em) !important;
  line-height: inherit;
}
html.bf_text_ko input.bf_min_number { font-size: 44px !important; }
html.bf_text_ko .number_left { position: relative; }
html.bf_text_ko input.bf_custom_placeholder::placeholder { color: transparent !important; opacity: 0; }
html.bf_text_ko .bf_number_placeholder { position: absolute; display: none; pointer-events: none; align-items: center; justify-content: center; text-align: center; box-sizing: border-box; padding: 0 10px; line-height: 1.3; }
html.bf_text_ko input:placeholder-shown + .bf_number_placeholder { display: flex; }
html.bf_text_ko .info_wrap.card_announce .info .sec bf-number { font-size: max(36px, 1em) !important; }

/* 큰 숫자를 담는 월별 카드: 한 페이지 8개를 유지하며 상세 금액은 한 줄씩 표시한다. */
html #sub_content.six_card_months .swiper { height: 632px; margin-top: -55px; }
html .six_card_months .chk_selpay_list a,
html .six_card_months .chk_selpay_list a.on { height: 294px; }
html .six_card_months .chk_selpay_list .selpay_num .tit { height: 79px; line-height: 79px; }
html .six_card_months .chk_selpay_list .selpay_num .tit .nonpay,
html .six_card_months .chk_selpay_list .selpay_num .tit .sel_month { height: 48px; line-height: 48px; }
html .six_card_months .chk_selpay_list .selpay_num .add_txt { padding: 0 10px; }
html .six_card_months .chk_selpay_list .selpay_num .add_txt .divided_date { line-height: 44px; margin-bottom: 0; }
html .six_card_months .chk_selpay_list .selpay_num .add_txt p.price { line-height: 48px; }
html .six_card_months .chk_selpay_list .selpay_num .add_txt .detail { display: flex; flex-direction: column; position: relative; padding-left: 16px; }
html .six_card_months .chk_selpay_list .selpay_num .add_txt .detail .txt { width: 100%; display: flex; justify-content: space-between; align-items: baseline; line-height: 44px; white-space: nowrap; }
html .six_card_months .chk_selpay_list .selpay_num .add_txt .detail .txt br { display: none; }
html .six_card_months .chk_selpay_list .selpay_num .add_txt .detail .plus { position: absolute; left: -6px; bottom: 0; margin: 0; line-height: 44px; }
html #sub_content.six_card_months > .page { position: fixed; top: 164px; left: 80px; width: 220px; }
html #sub_content.six_card_months .sel_list_top .top_btn { top: -48px; }
html #sub_content.six_card_months > .btn_wrap { position: fixed; top: auto; bottom: 106px; left: 0; width: 100%; }
html #sub_content.six_card_months > .btn_wrap a { height: 90px; line-height: 84px; }
html #sub_content.six_card_months .settlement_wrap { bottom: 180px; }
/* 분할납부의 추가 안내는 카드와 겹치지 않는 상·하단 여백에 둔다. */
html #sub_content.six_card_months .sel_list_top .top_radio { position: fixed; top: 65px; bottom: auto; left: auto; right: 80px; width: 750px; justify-content: flex-end; }
html #sub_content.six_card_months .sel_list_top .top_date { position: fixed; bottom: 108px; left: 80px; width: 440px; flex-direction: column; align-items: flex-start; }
html #sub_content.six_card_months .sel_list_top .top_date p { height: 44px; line-height: 44px; }
html #sub_content.six_card_months .sel_list_top .top_date .end { margin-left: 0; }
html #sub_content.six_card_months .sel_list_top .top_date .end:before { display: none; }
html #sub_content.six_card_months .selpay_alarm { position: fixed; top: 6px; left: auto; right: 80px; }
html #sub_content.six_card_months .settlement_info_icon_wrap { position: fixed; top: 70px; right: 80px; margin: 0; }
html #sub_content.six_card_months .settlement_noti_wrap { position: fixed; bottom: 102px; right: 80px; width: 465px; }
html #sub_content.six_card_months .settlement_noti_wrap .type { line-height: 32px; white-space: normal; word-break: keep-all; }

/* 4차 31번: 납부 확인 팝업의 명시적인 닫기 버튼. */
.ent_601020M.layer_popup.payment > .payment_popup_close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 2px solid #014294;
  border-radius: 8px;
  background: #fff;
  color: #014294;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
}
html.bf_hc .ent_601020M.layer_popup.payment > .payment_popup_close {
  border-color: #fff;
  background: #000;
  color: #fff;
}

/* 4차 32번: 선택 기간 제목의 줄바꿈 방지 및 일반 화면 명도대비 보완. */
.sel_list_top .top_date p > span:first-child {
  white-space: nowrap;
  flex-shrink: 0;
}
html:not(.bf_hc) .sel_list_top .top_date p > span:first-child { color: #595959; }

/* 최종 납부 확인: 체크 표시와 확인함 문구를 한 줄로 유지한다. */
.mark_txt.pay > div:last-child { flex-shrink: 0; }
.mark_txt.pay .skin_form.check { white-space: nowrap; }
.mark_txt.pay label[for="yes"] { white-space: nowrap; }
/* 수수료 안내와 확인함을 묶어 상단 납부 정보와 중앙을 맞춘다. */
html.bf_text_ko .mark_txt.pay {
  width: 1440px;
  margin-left: auto;
  margin-right: auto;
  gap: 32px;
}
html.bf_text_ko .mark_txt.pay .normal { white-space: nowrap; }

/* 사업자 납부: 날짜의 숫자 최소 크기를 유지하며 보험별 카드 폭을 확보한다. */
#sub_content.ent_601020M .regular_pay_head .head_title:first-child { width: 535px; margin-right: 47px; flex-shrink: 0; }
#sub_content.ent_601020M .regular_pay_head .head_title:nth-child(3) { width: 380px; }
#sub_content.ent_601020M .regular_pay_left a { width: 535px; height: 220px; }
#sub_content.ent_601020M .regular_pay_left .regular_pay .tit { height: 105px; line-height: 50px; }
#sub_content.ent_601020M .bulk_period { display: block; line-height: 48px; }
#sub_content.ent_601020M .bulk_period > span:first-child { margin-left: 0; }
#sub_content.ent_601020M .regular_pay_right a,
#sub_content.ent_601020M .regular_pay_right .divided_section { width: 380px; }

/* 고대비 팝업 경계: 내부 크기와 버튼 위치를 바꾸지 않는 흰색 테두리. */
html.bf_hc .layer_dim { background: rgba(0, 0, 0, 0.8); }
html.bf_hc .layer_popup,
html.bf_hc .bf_modal { outline: 3px solid #fff; outline-offset: 0; }

/* 체납 안내가 최소 글자 크기에서도 한 줄로 들어갈 너비. */
.ent_601020M.layer_popup.payment { left: 180px; right: 180px; }
.ent_601020M.layer_popup.payment .settlement_split_03_noti { white-space: nowrap; }


/* 사업자 회차 선택: 3열 × 2행으로 기간과 개월 수를 온전히 표시한다. */
html.bf_text_ko .ent_602S .chk_selpay_list a,
html.bf_text_ko .ent_602S .chk_selpay_list a.on { width: 570px; }
html.bf_text_ko .ent_602S .chk_selpay_list .selpay_num .add_txt .divided_date { white-space: nowrap; }
html.bf_text_ko .ent_602S .swiper { overflow: hidden; }

/* 전자영수증 안내를 한 줄로 읽을 수 있도록 팝업 폭을 확보한다. */
html.bf_text_ko #electronic_receipt_confirm_pop { left: 160px; right: 160px; }
html.bf_text_ko #electronic_receipt_confirm_pop p:nth-of-type(2) { white-space: nowrap; }

/* 참여 동의 문구는 줄바꿈 없이 유지하고 옆 안내 버튼에 나머지 공간을 배분한다. */
#carbon_neutrality_wrap .skin_form.check { flex-shrink: 0; white-space: nowrap; }
#carbon_neutrality_wrap .skin_form.check label { white-space: nowrap; }

/* 개인 납부 항목: 페이지당 3열 × 2행, 넓어진 날짜·금액 영역. */
.person_payment_items .check_num_list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.person_payment_items .check_num_list > a { width: 100%; height: 300px; margin: 0; }
.person_payment_items .payment_item_pages { position: fixed; top: 250px; right: 60px; display: flex; align-items: center; gap: 16px; }
.person_payment_items .payment_item_pages button { min-height: 52px; padding: 4px 16px; font-size: 32px; border: 2px solid #014294; border-radius: 8px; background: #fff; color: #014294; }
.person_payment_items .page_count { font-size: 32px; }
.person_payment_items .payment_item_pages button:disabled { opacity: .45; }
html.bf_hc .person_payment_items .payment_item_pages button { background: #000; color: #fff; border-color: #fff; }

/* 모든 언어의 월·회차 목록: 한 페이지 6개. */
html #sub_content.six_card_months .chk_selpay_list a,
html #sub_content.six_card_months .chk_selpay_list a.on { width: 570px; }
html #sub_content.six_card_months .swiper { overflow: hidden; }
html #sub_content.six_card_months .chk_selpay_list .divided_date { white-space: nowrap; }

/* 사업장 선택도 납부 항목과 같은 3열 × 2행 페이지를 사용한다. */
.business_item_pages .busi_num_list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; float: none; margin-left: 0; }
.business_item_pages .busi_num_list > a { width: 100%; height: 300px; margin: 0; }
.business_item_pages .payment_item_pages { position: fixed; top: 250px; right: 60px; display: flex; align-items: center; gap: 16px; }
.business_item_pages .payment_item_pages button { min-height: 52px; padding: 4px 16px; font-size: 32px; border: 2px solid #014294; border-radius: 8px; background: #fff; color: #014294; }
.business_item_pages .page_count { font-size: 32px; }
.business_item_pages .payment_item_pages button:disabled { opacity: .45; }
html.bf_hc .business_item_pages .payment_item_pages button { background: #000; color: #fff; border-color: #fff; }
