/* IGE 공개 사이트 디자인 기준 한 장 — bugfix B49 (B48 STANDARD_APPROVED 공개 P01 ~ P16 값만) */
/*
 * 쓰는 법
 * - head.sub.php 가 모든 공통 CSS 뒤에 싣는다. 화면 CSS(본문 안 <link>, 스킨 <style>)는 이 파일보다 뒤에 오므로
 *   규칙마다 앞머리 `body:not(#ige-std)` (id 한 칸 무게)를 붙여 같은 선택자를 이긴다. `#ige-std` 라는 id 는 어디에도 없다.
 * - 선택자는 지금 그 모양을 가진 요소에만 닿게 화면 클래스로 좁게 쓴다(전역 button · a · input 재정의 없음).
 * - 머리글 · 하위 메뉴 줄(빨강 밑줄) · 오른쪽 상담 막대 · 하단 5칸 막대는 건드리지 않는다(B 몫).
 * - 값은 B48 values_public.json 「고른 값」 만 쓴다:
 *   청록 #0d7680 · 연청록 #e6f2f3(tokens --accent-teal-soft) · 입력칸 테두리 #e4e7e6(박람회 칸) ·
 *   정보 상자 #f3fbfa + #b8dcd8(후기 안내) · 주의 상자 #fffbeb→#fef3c7 + 왼쪽 #f59e0b 4px(교육청 상세 홈스테이) ·
 *   카드 테두리 #e8e8e8(교육청 목록 카드) · 표 머리 #f8f8f8 + 가로선 #cccccc(후기 허브 포인트 표) ·
 *   구역 제목 막대 linear-gradient(#0066cc, #5ba3f5) 4px(교육청 상세) · 미확인 배지 #f1f5f9/#334155 · 잠금 알약 #ffc107 · Noto Sans KR
 */

/* ── 0. 토큰 덮기 — 화면마다 다른 이름으로 박힌 강조색 · 글꼴 변수를 기준 값으로 (P01 · P14 · 카드 5) ── */
html:root {
  /* P01 휴대폰 짙은 청록(#0b4f54) → 청록 */
  --mb-teal: #0d7680;              /* faq_custom/mobile-board.css :root */
  --mdd-teal: #0d7680;             /* school-district/css/mobile-concept-district-detail.css :root(≤767) */
  --mcs-teal: #0d7680;             /* school/css/mobile-concept-school-pubsec.css · pubele.css :root(≤767) */
  /* P01 파트너 소식 짙은 초록(#176b5b) → 청록 */
  --fu10-green: #0d7680;
  --fu10-green-dark: #0d7680;
  /* 카드 5 관리형 주황 구분 색 → 청록 (주황은 주의 표시에만) */
  --tc-accent: #0d7680;
  --tc-accent-dark: #0d7680;
  --tc-accent-light: #0d7680;
  --tc-accent-soft: #e6f2f3;       /* tokens --accent-teal-soft */
  --tc-accent-muted: #e6f7f5;      /* tokens --teal-soft */
  --tc-accent-text: #0d7680;
  /* P14 글꼴 한 벌 — 세리프(Cormorant) · 기하(DM Sans · Plus Jakarta · Outfit · Pretendard) · 고정폭(JetBrains · Roboto Mono) 변수 */
  --font-display: 'Noto Sans KR', sans-serif;
  --font-body: 'Noto Sans KR', sans-serif;
  --font-mono: 'Noto Sans KR', sans-serif;
  --tc-font-display: 'Noto Sans KR', sans-serif;
  --hs-font-display: 'Noto Sans KR', sans-serif;
  --dc-mono: 'Noto Sans KR', sans-serif;
  --dc-sans: 'Noto Sans KR', sans-serif;
}
html body.page-bd,
html body.page-main { --mh-teal: #0d7680; }                       /* mobile-concept.css · hero-unified.css (≤767) */
html body.page-tc { --mh-a: #0d7680; --mh-a2: #0d7680; }          /* mobile-concept-tc.css (≤767) 주황 #d97706 */
html body .district-list-wrap { --mdl-teal: #0d7680; }            /* mobile-concept-district-list.css */
html body #school-info-temp { --c14-teal: #0d7680; }              /* school/css/mobile-concept-school-private.css */
html body .uc-section { --dc-mono: 'Noto Sans KR', sans-serif; --dc-sans: 'Noto Sans KR', sans-serif; }  /* district-compare.css 범위 정의 */

/* ── P01 머리 띠 — 청록 한 색 (DX-M-06 · DX-P-16) ── */
body:not(#ige-std) #school-info-temp header.sch-header,          /* 공립 #0f172a · 사립 자주 그라데이션 · 390 짙은 청록 */
body:not(#ige-std) .hero-masthead,                                /* 교육청 상세 남색 그라데이션 */
body:not(#ige-std) section.ps-hero,                               /* 사립 목록 남색 그라데이션 */
body:not(#ige-std).page-tc section.hero,                          /* 관리형 #0f172a */
body:not(#ige-std) .reco-wrap .reco-intro-hero {                  /* 학교 추천 청록→파랑 그라데이션 */
  background-color: #0d7680;
  background-image: none;
}
/* 레인 합침(B49 회귀 (라) 글자 대비): 청록 단색 띠 위 반투명 흰 글자(교육청 상세 설명 0.85 · 배지 0.9)는 4.5:1 아래로 떨어진다 — 흰색 그대로(5.4:1) */
body:not(#ige-std) .hero-masthead .hero-description,
body:not(#ige-std) .hero-masthead .meta-badge { color: #fff; }
@media (min-width: 768px) {
  body:not(#ige-std) #bo_list .ige-faq-container .faq-header {    /* FAQ 1280 파랑 그라데이션 상자(390 은 흰 머리라 그대로) */
    background-color: #0d7680;
    background-image: none;
  }
}

/* ── P04 켜진 칩 · 화면 안 탭 — 채움 알약 + 흰 글자 (DX-M-04 · DX-M-05 · DX-P-03 · DX-P-04) ── */
body:not(#ige-std) #bo_list .ige-faq-container .cat-filter.active,
body:not(#ige-std) #bo_list .ige-faq-container .cat-filter.active:hover,
body:not(#ige-std) .uc-region-chips .dc-chip--region.on,
body:not(#ige-std) .uc-sort-tabs .uc-sort-tab.on,
body:not(#ige-std) .school-toggle .toggle-btn.active,
body:not(#ige-std) #school-info-temp nav.nav-tabs ul > li > a.active,
body:not(#ige-std) .ps-preset-bar .ps-preset-chip.active,
body:not(#ige-std) .ps-province-switch .ps-province-option.active,
body:not(#ige-std).page-tc .filter-chips .filter-chip.is-active,
body:not(#ige-std).page-tc .sub-nav .sub-nav-chip.is-active,
body:not(#ige-std) .ige-review-sort a[aria-current="true"],
body:not(#ige-std) button.district-tab.active,
body:not(#ige-std) .form-box .form-box-inner.combo.type-btn input[type="radio"]:checked + label,
body:not(#ige-std) .form-box .form-box-inner.combo.type-btn input[type="checkbox"]:checked + label {
  background-color: #0d7680;
  background-image: none;
  border-color: #0d7680;
  color: #fff;
  border-radius: 999px;
}
body:not(#ige-std) #school-info-temp nav.nav-tabs ul > li > a.active { border-bottom-color: transparent; }  /* 공립 1280 검정 밑줄 3px 대신 */
/* 고르는 단추 · 지도 보기 단추(모양은 그대로 · 켜짐 색만 P01) */
body:not(#ige-std) .selection-item .btn-group .btn-option.active,
body:not(#ige-std) #school-info-temp .map-btn-box .map-btn.on {
  background-color: #0d7680;
  border-color: #0d7680;
  color: #fff;
}

/* ── P02 · P03 주 단추 — 청록 채움 + 흰 글자 · 모서리 12px · 높이 48px (DX-M-02 · DX-P-01 · DX-P-02) ── */
body:not(#ige-std) #bo_list .ige-faq-container .search-container button,
body:not(#ige-std) .ige-card-body .ige-btn.ige-btn-primary,
body:not(#ige-std) #fregister .btn_confirm .btn_submit,
body:not(#ige-std) #find_info .win_btn .btn_submit,
body:not(#ige-std) .reco-cta .reco-btn.reco-btn-primary,
body:not(#ige-std) #school-info-temp .sch-btn.btn-success,
body:not(#ige-std) #school-info-temp .sch-btn.btn-primary,
body:not(#ige-std) #school-info-temp .cta-section a.sch-btn,
body:not(#ige-std) .ige-404 .links a.primary,
body:not(#ige-std) .card-buttons .card-btn.btn-solid,
body:not(#ige-std) .compare-card .compare-btn,
body:not(#ige-std) .lemon-container .btn.btn-primary,
body:not(#ige-std) .lemon-container .btn.btn-cta,
body:not(#ige-std) .hero-buttons .btn.btn-primary,
body:not(#ige-std) .fu10-page-head a.fu10-button,
body:not(#ige-std) form.fu10-filter button,
body:not(#ige-std) .prep-cross-recommend a.btn-consult-secondary,
body:not(#ige-std) #toBoard .gate .acts a.btn,
body:not(#ige-std) .ss-copy a.ss-cta,
body:not(#ige-std) .cs-copy a.cs-cta,
body:not(#ige-std) .bs-copy a.bs-cta,
body:not(#ige-std) .ige-empty a.ige-empty__btn,                   /* P07 빈 상태 다음 행동 단추(아래 P07 블록) */
body:not(#ige-std) .mnf-inbox > .mnf-empty > a,                   /* 알림함 빈 상태 링크(lib/member_notify.lib.php 마크업 · 클래스 없음) */
body:not(#ige-std) .mnf-inbox > .mnf-empty > button.mnf-lnk {     /* 알림함 종류 거르기 0건 「전체 보기」 */
  background-color: #0d7680;
  background-image: none;
  border-color: #0d7680;
  color: #fff;
  border-radius: 12px;
  min-height: 48px;
  box-sizing: border-box;
}
/* 보조 단추 — 흰 바탕 + 청록 테두리 · 같은 크기 (P02 파트너 안내 「안내 보기」 모양 · P03 관심학교 등록) */
body:not(#ige-std) #fregister .btn_confirm .btn_close,
body:not(#ige-std) .reco-cta .reco-btn.reco-btn-ghost,
body:not(#ige-std) #school-info-temp .sch-btn.btn-outline,
body:not(#ige-std) #school-info-temp #btn_favorite,
body:not(#ige-std) #school-info-temp .btn_favorite,
body:not(#ige-std) .ige-404 .links a.ghost,
body:not(#ige-std) .uni-cta-band a.uni-cta-link {
  background-color: #fff;
  background-image: none;
  border: 1px solid #0d7680;
  color: #0d7680;
  border-radius: 12px;
  min-height: 48px;
  box-sizing: border-box;
}
/* 글자 정렬을 잃지 않게 — 높이만 키운 단추는 가운데 맞춤 */
body:not(#ige-std) .ige-404 .links a,
body:not(#ige-std) .card-buttons .card-btn.btn-solid,
body:not(#ige-std) .compare-card .compare-btn,
body:not(#ige-std) #toBoard .gate .acts a.btn,
body:not(#ige-std) .reco-cta .reco-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
body:not(#ige-std) .reco-cta .reco-btn { display: flex; }
body:not(#ige-std) .ige-404 .code { color: #0d7680; }             /* 404 큰 숫자 파랑 #1a5fb4 → 청록 (P01) */

/* ── P05 입력칸 · 목록 검색칸 · 정렬 선택 상자 — 흰 바탕 · 1px 연한 테두리 · 10px · 48px · 초점 청록 (DX-M-08 · DX-M-09 · DX-P-05 · DX-P-15) ── */
body:not(#ige-std) #container #bo_list #faq-search-input,
body:not(#ige-std) .ige-listing-search input.ige-listing-search-input,
body:not(#ige-std) .ps-toolbar-inner .ps-search-input,
body:not(#ige-std) .ps-toolbar-inner .ps-sort-select,
body:not(#ige-std) .ps-filters-inner .ps-filter-select,
body:not(#ige-std) .ps-district-filter-inner select,
body:not(#ige-std) form.fu10-filter select,
body:not(#ige-std) form.fu10-filter input,
body:not(#ige-std) .ige-form-group .ige-form-input,
body:not(#ige-std) .form-box .form-box-inner .ip-text,
body:not(#ige-std) .form-box .form-box-inner select,
body:not(#ige-std).page-tc .filter-search .filter-search-input,
body:not(#ige-std).page-tc .tc-f-select-wrap select,
body:not(#ige-std) .selection-item .select-box,
body:not(#ige-std) #find_info #info_fs .frm_input,
body:not(#ige-std) #sqa_sch .sch_wr .sch_input,
body:not(#ige-std) #school-info-temp select#roomType,
body:not(#ige-std) #school-info-temp select#radius {
  background-color: #fff;
  border: 1px solid #e4e7e6;
  border-radius: 10px;
  height: 48px;
  min-height: 48px;
  box-sizing: border-box;
}
body:not(#ige-std) #container #bo_list #faq-search-input:focus,
body:not(#ige-std) .ige-listing-search input.ige-listing-search-input:focus,
body:not(#ige-std) .ps-toolbar-inner .ps-search-input:focus,
body:not(#ige-std) .ps-toolbar-inner .ps-sort-select:focus,
body:not(#ige-std) .ps-filters-inner .ps-filter-select:focus,
body:not(#ige-std) .ps-district-filter-inner select:focus,
body:not(#ige-std) form.fu10-filter select:focus,
body:not(#ige-std) form.fu10-filter input:focus,
body:not(#ige-std) .ige-form-group .ige-form-input:focus,
body:not(#ige-std) .form-box .form-box-inner .ip-text:focus,
body:not(#ige-std) .form-box .form-box-inner select:focus,
body:not(#ige-std).page-tc .filter-search .filter-search-input:focus,
body:not(#ige-std).page-tc .tc-f-select-wrap select:focus,
body:not(#ige-std) .selection-item .select-box:focus,
body:not(#ige-std) #find_info #info_fs .frm_input:focus,
body:not(#ige-std) #sqa_sch .sch_wr .sch_input:focus,
body:not(#ige-std) #school-info-temp select#roomType:focus,
body:not(#ige-std) #school-info-temp select#radius:focus {
  border-color: #0d7680;
  outline: 2px solid #0d7680;
  outline-offset: 1px;
  box-shadow: none;
}

/* ── P06 안내 상자 — 정보 = 연청록 + 1px 청록 테두리, 주의 = 연노랑 + 왼쪽 주황 4px (DX-M-18 · DX-P-07) ── */
body:not(#ige-std) .ige-card-body .ige-partner-info,              /* 로그인 업체 안내(노랑 그라데이션 + 금색 선) → 정보 */
body:not(#ige-std) .ige-partner-body .ige-partner-info,
body:not(#ige-std) .programs-comment,                             /* 교육청 상세 프로그램 설명(회색 + 파랑 선) → 정보 */
body:not(#ige-std) #fregister > p {                               /* 가입 약관 안내(분홍 띠 흰 글자) → 정보 */
  background: #f3fbfa;
  border: 1px solid #b8dcd8;
  color: #000;
}
body:not(#ige-std) .ige-partner-info .ige-partner-info-icon { color: #0d7680; }
body:not(#ige-std) #school-info-temp .lock-access-hint {          /* 공립 상세 잠금 안내(연노랑 + 노랑 3px) → 주의 */
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 0;
  border-left: 4px solid #f59e0b;
  border-radius: 10px;
}

/* ── P07 빈 상태 · 찾을 수 없음 — 굵은 제목 한 줄 + 설명 한 줄 + 다음 행동 주 단추 하나 (DX-M-10 · DX-M-11 · DX-P-08 · R1-153) ──
 * 틀 = 없는 업체(/school-district/partner/?expert=없는 번호) 가운데 정렬 「제목 · 설명 · 단추」. 단추 색 · 모서리 · 높이는 위 P02 · P03 목록이 정한다.
 * 화면 마크업: <div class="ige-empty"><h3|p class="ige-empty__title">…</h3><p class="ige-empty__desc">…</p><a class="ige-empty__btn" href="기존 주소">…</a></div>
 *   (통합검색 0건 · 상품 문의 목록 · 마이페이지 1:1 상담). 마이페이지 알림함은 마크업이 lib 에 있어 같은 값을 .mnf-inbox > .mnf-empty 에 건다(제목 = b · 설명 = 글줄).
 * 글자색: 제목 #222(404 제목) · 설명 #555(404 설명, 흰 바탕 7.4:1). */
body:not(#ige-std) .ige-empty,
body:not(#ige-std) .mnf-inbox > .mnf-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: 32px 20px;
  background: none;
  text-align: center;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
body:not(#ige-std) .mnf-inbox > .mnf-empty { display: block; }  /* 설명이 글줄(텍스트 노드)이라 flex 로 두면 조각마다 줄이 갈린다 */
body:not(#ige-std) .mnf-inbox > .mnf-empty[hidden] { display: none; }
body:not(#ige-std) .mnf-inbox > .mnf-empty > br { display: none; }  /* 설명과 단추 사이 줄바꿈은 단추(블록 줄)가 대신한다 */
body:not(#ige-std) .ige-empty .ige-empty__title,
body:not(#ige-std) .mnf-inbox > .mnf-empty > b {
  display: block;
  margin: 0;
  color: #222;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}
body:not(#ige-std) .mnf-inbox > .mnf-empty > b { margin-bottom: 8px; }
body:not(#ige-std) .ige-empty .ige-empty__desc {
  display: block;
  margin: 0;
  color: #555;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}
body:not(#ige-std) .ige-empty a.ige-empty__btn,
body:not(#ige-std) .mnf-inbox > .mnf-empty > a,
body:not(#ige-std) .mnf-inbox > .mnf-empty > button.mnf-lnk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 0;
  padding: 0 24px;
  border: 1px solid #0d7680;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}
body:not(#ige-std) .mnf-inbox > .mnf-empty > a,
body:not(#ige-std) .mnf-inbox > .mnf-empty > button.mnf-lnk { display: flex; width: fit-content; margin: 16px auto 0; }
@media (max-width: 480px) {                                       /* 404 휴대폰과 같이 단추를 칸 폭으로 */
  body:not(#ige-std) .ige-empty a.ige-empty__btn,
  body:not(#ige-std) .mnf-inbox > .mnf-empty > a,
  body:not(#ige-std) .mnf-inbox > .mnf-empty > button.mnf-lnk { width: 100%; }
}

/* ── P08 카드 — 흰 바탕 · 1px 연한 테두리 · 모서리 12px (DX-M-17 · DX-P-06) ── */
body:not(#ige-std) .cards-4 a.card,                               /* 홈 안내 카드 14 ~ 16px */
body:not(#ige-std) a.district-card,                               /* 홈 교육청 카드(테두리 없음 · 24px) */
body:not(#ige-std) a.fps-card,                                    /* 홈 추천 사립 카드 */
body:not(#ige-std) .stats-row .stat-card,                         /* 교육청 상세 통계 카드 16px */
body:not(#ige-std) .livability-grid .facility-card,               /* 교육청 상세 시설 카드 8px */
body:not(#ige-std) .pcard.school-list-item,                       /* 교육청 상세 소속 사립 카드(보라 그라데이션) */
body:not(#ige-std) .ps-school-grid a.ps-school-card,              /* 사립 목록 카드 16px */
body:not(#ige-std) .total-search .list-module:not(.is_notice) {   /* 통합검색 결과 회색 사각 덩어리 */
  background-color: #fff;
  background-image: none;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
}
body:not(#ige-std) .pcard.school-list-item .crest {               /* 사립 표시 보라 → 청록 (DX-P-16) */
  background-color: #0d7680;
  background-image: none;
}

/* ── P09 표와 금액 — 회색 머리 #f8f8f8 + 가로선 #cccccc · 금액 검정 (DX-M-21 · DX-P-14) ── */
body:not(#ige-std) #fregister table th,
body:not(#ige-std) .calculator-container #cost-table-section table th {  /* 계산기 검정 머리 띠(tr 인라인 #0a1628 — th 가 덮음) */
  background-color: #f8f8f8;
  background-image: none;
  color: #000;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  border-left: 0;
  border-right: 0;
}
body:not(#ige-std) #fregister table td {
  border-top: 0;
  border-bottom: 1px solid #cccccc;
  border-left: 0;
  border-right: 0;
}
body:not(#ige-std) .tc-card-h .tc-card-cost,                         /* 관리형 카드 금액 주황 #b45309(--tc-accent) */
body:not(#ige-std).page-tc #tc_card_list .tc-card-h .tc-card-cost,  /* 390 mobile-concept-tc.css */
body:not(#ige-std) .dc-badge.dc-badge--tuition,
body:not(#ige-std) #uc-cards a.dc-card .dc-badge.dc-badge--tuition,  /* 390 교육청 목록 회색 #5d6c73 */
body:not(#ige-std) .ps-card-info .ps-card-tuition,
body:not(#ige-std) .rv-main-wrap span.point {
  color: #000;
}

/* ── P10 구역 제목 — 왼쪽 파랑 세로 막대 4px + 24px 굵게 (교육청 상세 .card-header 모양) (DX-M-23 · DX-P-13 · R1-128) ── */
body:not(#ige-std) .rv-main-content .rv-main-sub-title h3,        /* 후기 허브 가운데 25.75px */
body:not(#ige-std) .rv-main-latest > h2,
body:not(#ige-std) h2.pgl-sec-title,                              /* 파트너 안내 막대 없음 */
body:not(#ige-std).page-tc .section-head h2.section-title,        /* 관리형 27px 이모지 */
body:not(#ige-std).page-tc .prep-cross-recommend > h2,
body:not(#ige-std).page-tc h2.study-h2,
body:not(#ige-std).page-main .section-header h2.section-title,    /* 홈 40px 800 */
body:not(#ige-std) .ps-section-header h2.ps-section-title,        /* 사립 목록 세리프 24px */
body:not(#ige-std) #school-info-temp .card > .card-header h3 {    /* 학교 상세 카드 머리 18.72px */
  padding-left: 14px;
  background-image: linear-gradient(#0066cc, #5ba3f5);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 4px 28px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}
@media (max-width: 767px) {                                       /* 휴대폰은 교육청 상세 390 값(막대 18px · 16px 800) */
  body:not(#ige-std) .rv-main-content .rv-main-sub-title h3,
  body:not(#ige-std) .rv-main-latest > h2,
  body:not(#ige-std) h2.pgl-sec-title,
  body:not(#ige-std).page-tc .section-head h2.section-title,
  body:not(#ige-std).page-tc .prep-cross-recommend > h2,
  body:not(#ige-std).page-tc h2.study-h2,
  body:not(#ige-std).page-main .section-header h2.section-title,
  body:not(#ige-std) .ps-section-header h2.ps-section-title,
  body:not(#ige-std) #school-info-temp .card > .card-header h3 {
    padding-left: 12px;
    background-size: 4px 18px;
    font-size: 16px;
    font-weight: 800;
  }
}
/* 교육청 상세 학비 카드 안 「생활비용 안내」 제목(#living-cost-section > h3)도 같은 막대 + 굵은 글자 — 바로 다음 「특별 프로그램」 카드 머리와 한 모양(final.correction.2 F9).
   인라인 font-size 1.1rem · bold 를 이기려고 크기 · 굵기만 !important. 문구 · 표시 조건(app.js renderRentSection) 그대로 */
body:not(#ige-std) #living-cost-section > h3 {
  padding-left: 14px;
  background-image: linear-gradient(#0066cc, #5ba3f5);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 4px 28px;
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 1.3;
  color: #0a1628;
}
@media (max-width: 767px) {
  body:not(#ige-std) #living-cost-section > h3 {
    padding-left: 12px;
    background-size: 4px 18px;
    font-size: 16px !important;
    font-weight: 800 !important;
  }
}
body:not(#ige-std) .feature-section > h3 { color: #0a1628; }      /* 교육청 상세 소제목 파랑 #0066cc → 구역 제목과 같은 글자색 */

/* ── P11 본문 폭과 휴대폰 여백 — 1200px / 14px (DX-M-16 · DX-P-10) ── */
@media (min-width: 1024px) {
  body:not(#ige-std) .district-list-wrap .uc-section,             /* 교육청 목록 1100 */
  body:not(#ige-std) .pgl-wrap,                                   /* 파트너 안내 1100 */
  body:not(#ige-std) .page-body,                                  /* 교육청 상세 1300 */
  body:not(#ige-std) .ps-content,                                 /* 사립 목록 1240 */
  body:not(#ige-std) .rv-main-wrap {                              /* 후기 허브 1280 */
    max-width: 1200px;
  }
}
@media (max-width: 767px) {
  body:not(#ige-std) .cont-box,                                   /* 게시판 틀 10px */
  body:not(#ige-std) .rv-main-wrap {                              /* 후기 허브 20px */
    padding-left: 14px;
    padding-right: 14px;
    box-sizing: border-box;
  }
}

/* ── P12 확인 전 상태 배지 — 회색 #f1f5f9 / #334155 (DX-M-20) ── */
body:not(#ige-std) span.ru-unv {
  background-color: #f1f5f9;
  color: #334155;
}

/* ── P13 잠긴 칸 — 진노랑 알약 #ffc107 하나 (DX-M-19) ── */
body:not(#ige-std) #school-info-temp .lock-flag-btn { border-radius: 999px; }
body:not(#ige-std) #school-info-temp .going-flag-btn {           /* 진행회원 전용 금색 점선 (교육청 상세 .rank-lock 은 C2 가 school-district/css/style.css 에서 같은 값으로 고침) */
  background-color: #ffc107;
  color: #000;
  border: 1px solid #222222;
  border-radius: 999px;
}

/* ── P14 글꼴 — Noto Sans KR 한 벌 (DX-M-07 · DX-P-17) — 변수로 안 풀리는 곳만 ── */
body:not(#ige-std) #container_title span,                         /* 게시판 틀 제목 hd_harmony */
body:not(#ige-std) #school-info-temp h1.school-title,             /* 사립 상세 머리 제목 Cormorant(스킨 본문 <style>) */
body:not(#ige-std) .rv-main-wrap,
body:not(#ige-std) .rv-main-wrap h2,
body:not(#ige-std) .rv-main-wrap h3,
body:not(#ige-std) .rv-main-wrap .rv-main-btn,
body:not(#ige-std) .rv-main-wrap table th,
body:not(#ige-std) .rv-main-wrap table td,
body:not(#ige-std) .rv-main-wrap span.point,
body:not(#ige-std) .rv-latest-card span,
body:not(#ige-std) #school-info-temp .sch-btn,                    /* 학교 상세 Outfit */
body:not(#ige-std) #school-info-temp .metric-value,
body:not(#ige-std) #school-info-temp #btn_favorite,
body:not(#ige-std) #school-info-temp .btn_favorite,
body:not(#ige-std) .stats-row .stat-value,                        /* 교육청 상세 Inter */
body:not(#ige-std) .stats-row .stat-value span,
body:not(#ige-std) .pcard .crest,
body:not(#ige-std) .reco-wrap,                                    /* 학교 추천 Apple SD Gothic Neo */
body:not(#ige-std) .reco-wrap .badge,
body:not(#ige-std) .reco-wrap .num,
body:not(#ige-std) .reco-wrap .reco-btn,
body:not(#ige-std) .calculator-container,                         /* 계산기 Malgun Gothic */
body:not(#ige-std) .calculator-container table,
body:not(#ige-std) .calculator-container button,
body:not(#ige-std) .calculator-container select,
body:not(#ige-std) .calculator-container input,
body:not(#ige-std) .calc-login-banner span,
body:not(#ige-std) .calc-login-banner p,
body:not(#ige-std) .hero-stats .hero-stat .num {                  /* 관리형 Roboto Mono */
  font-family: 'Noto Sans KR', sans-serif;
}

/* ── R1-316 썸머캠프 휴대폰 안내 상자 좌우 여백 0 → 14px (P11 휴대폰 여백) ──
 * summercamp.php 는 B56 파일이라 거기서 고치지 않는다. 진행회원 전용 상자는 줄 안 style 의 margin 이라 !important 로만 덮인다(레인 지정 규칙 그대로). */
@media (max-width: 768px) {
  .sc-guide-banner, .sc-grade-notice, .sc-badge-legend { margin-left: 14px !important; margin-right: 14px !important; }
}

/* ── 레인 합침 — 회귀 (라) 글자 대비 지킴 ──
   기준 색(청록 띠 · 연청록 바탕 · 흰 카드)으로 바탕이 바뀐 자리에서, 그 위 옅은 글자가 4.5:1 아래로 내려간 곳만 글자 색을 한 단계 진하게 한다(크기 · 굵기 · 문구 그대로).
   8084 수리 전 · 후 측정(checks/devrun/regress_*.json)에서 새로 4.5 아래가 된 요소들. */
body:not(#ige-std) .mh-home .mh-care small { color: #e6f2f3; }                       /* 홈 휴대폰 관리형 단추 설명 4.11 → 4.9 */
body:not(#ige-std) #school-info-temp .school-header a#district-link { color: #fff; }  /* 학교 상세 청록 띠 위 교육청 링크 3.38 → 5.4 */
body:not(#ige-std) .about-stats .about-stats-note { color: #475569; }                /* 회사 소개 연청록 통계 띠 주석 4.16 → 6.9 */
body:not(#ige-std) .ige-login-card .ige-divider-text { color: #64748b; }             /* 로그인 카드 「간편 로그인 · 또는」 2.56 → 4.76 */
body:not(#ige-std) .nav-bar .nav-links a.nav-item:not(.active) { color: #64748b; }   /* 교육청 상세 PC 탭(꺼진 것) 2.56 → 4.76 */
body:not(#ige-std) #dp-vacancy .dp-vac-skelfoot { color: #64748b; }                 /* 학교 상세 잠긴 빈자리 칸 바닥 줄 2.56 → 4.76 */
body:not(#ige-std) .faq-question .question-meta .view-count { color: #5c636a; }     /* FAQ 질문 줄 조회 수 4.45 → 5.6 */

/* ── final.correction.1 F8 — 빠졌던 주 단추 · 안내 상자 세 곳 (P02 · P03 · P06 · P07) ──
   1) 홈 PC 첫 화면 입구 「교육청 찾기」 · 「학교 추천」(hero-unified.css 노랑 알약 → P02 청록 채움 + 흰 글자 · P03 12px/48px). 휴대폰은 이 입구를 숨긴다(그대로).
   2) 업체 상태 안내 5곳(school-district/partner/index.php .ige-pt-state — 없는 업체 · 공개 안 됨 · 서비스 없음): 「홈으로 돌아가기」 = 주 단추,
      없는 업체의 「교육청 목록」(lib/partner.lib.php 마크업) = 보조 단추. 두 단추 모두 줄 안 style 이라 !important 로만 덮인다.
   3) 비용 계산기 비로그인 가입 안내 세 상자(.calc-login-banner · #login-required-notice-top · #login-required-notice — 파랑 · 분홍 그라데이션)
      = P06 정보 상자, 안의 가입 링크 = 주 단추. 줄 안 style(calculator.js 가 만드는 상자 포함)이라 !important. 문구 · 링크 · 동작은 그대로. */
body:not(#ige-std) section.hero-redesign .hero-district-link {
  background: #0d7680;
  color: #fff;
  border-radius: 12px;
  min-height: 48px;
}
body:not(#ige-std) section.hero-redesign .hero-district-link small { color: #e6f2f3; }
body:not(#ige-std) section.hero-redesign .hero-district-link:hover { background: #0b6870; }
body:not(#ige-std) .ige-pt-state a[href="/"] {
  background: #0d7680 !important;
  color: #fff !important;
  border-radius: 12px !important;
  min-height: 48px;
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
body:not(#ige-std) .ige-pt-state a[href="/school-district/"] {
  background: #fff !important;
  border: 1px solid #0d7680 !important;
  color: #0d7680 !important;
  border-radius: 12px !important;
  min-height: 48px;
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
body:not(#ige-std) .calc-login-banner,
body:not(#ige-std) #login-required-notice-top,
body:not(#ige-std) #login-required-notice {
  background: #f3fbfa !important;
  border: 1px solid #b8dcd8 !important;
}
body:not(#ige-std) .calc-login-banner > div > span:first-child,
body:not(#ige-std) #login-required-notice-top > div:first-child,
body:not(#ige-std) #login-required-notice > div:first-child { color: #0d7680 !important; }
body:not(#ige-std) .calc-login-banner > a,
body:not(#ige-std) #login-required-notice-top > a,
body:not(#ige-std) #login-required-notice > a {
  background: #0d7680 !important;
  color: #fff !important;
  border-radius: 12px !important;
  min-height: 48px;
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
