/* 내 병원 진단 결과 리포트 — 피그마 v7.2 · 02B 결과 리포트 · 단독 페이지
   데스크톱 297:816 (본문 폭 895) · 모바일 308:714 (390, 좌우 20). 모든 클래스는 bf- 접두어.
   종이 #fafaf8 · 글자 #1f1d1a / #3b3833 / #57524b · 금색 글자 #7a5e2f · 선 #ddd8cd · 막대 바탕 #ebe7df
   데스크톱과 모바일 문구가 다른 곳은 .bf-d / .bf-m 두 벌 (860px에서 바뀜, site.css의 br.mb와 같은 기준) */

.bf {
  --ink: #1f1d1a; --body: #3b3833; --mute: #57524b; --gold: #7a5e2f; --gold-light: #c8a97e;
  --line: #ddd8cd; --track: #ebe7df; --gray: #b0aca3; --paper: #fafaf8;
  --grad: linear-gradient(90deg, #dcc39c, #b8955f);
  --green: #3f6d4c; --red: #b4493d;
  --inv: #efede6; --inv-sub: #d8d3c8; --inv-mute: #8f8a80;
  background: var(--paper);
  color: var(--body);
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
/* 피그마처럼 줄을 채워 쓴다 (site.css의 text-wrap: balance / pretty를 끈다) */
.bf * { text-wrap: wrap; }
.bf :where(h1, h2, h3, p, ul, ol, table, dl, dd) { margin: 0; }
.bf :where(ul, ol) { padding: 0; list-style: none; }
.bf :focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; border-radius: 3px; }
.bf b { font-weight: 700; }
.bf-wrap { width: 100%; max-width: calc(895px + 40px); margin: 0 auto; padding: 0 20px; }
.bf-m, .bf-only-m { display: none; }
.bf button { font: inherit; }

/* ---------------------------------------------------------------- 머리 (어두운 바탕) */
.bf-doc { padding: 28px 0 96px; background: #141311; color: var(--inv); }
.bf-doc__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid rgba(239, 237, 230, 0.14); }
.bf-doc__bar p { font-size: 13px; line-height: 1.6; color: var(--inv-mute); }
.bf-chip { flex: none; padding: 0; border: 0; background: none; font-size: 13px; font-weight: 500; line-height: 1.6; color: var(--inv); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bf-chip:hover { color: var(--gold-light); }
.bf-hero { padding-top: 64px; }
.bf-meta { font-size: 13px; font-weight: 700; line-height: 1.6; color: var(--gold-light); }
.bf-title { margin-top: 20px; font-size: 46px; font-weight: 300; line-height: 1.38; letter-spacing: -0.03em; color: var(--inv); }
.bf-title b { font-weight: 700; }
.bf-title em { font-style: normal; font-weight: 700; color: var(--gold-light); }
.bf-sum { margin-top: 48px; border: 1px solid #2a2824; border-radius: 12px; background: #131210; }
.bf-sum li { display: flex; gap: 24px; padding: 24px 28px; }
.bf-sum li + li { border-top: 1px solid #26241f; }
.bf-sum__k { flex: none; width: 96px; font-size: 13px; font-weight: 500; line-height: 2; color: var(--inv-mute); }
.bf-sum li.is-warn .bf-sum__k { color: #e0a57f; }
.bf-sum__v { font-size: 16px; line-height: 1.75; color: var(--inv); }
.bf-sum__note { margin-top: 14px; font-size: 12px; line-height: 1.6; color: #77726a; }

/* ---------------------------------------------------------------- 섹션 공통 (종이) */
.bf-sec { padding: 88px 0; border-top: 1px solid var(--line); background: var(--paper); }
.bf-lab { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.bf-lab p { font-size: 13px; font-weight: 700; line-height: 1.6; color: var(--gold); }
.bf-lab__r { font-size: 13px; font-weight: 500; line-height: 1.6; color: var(--mute); }
.bf-h { margin-top: 8px; font-size: 28px; font-weight: 400; line-height: 1.38; letter-spacing: -0.035em; color: var(--ink); }
.bf-h b { font-weight: 700; }
.bf-lead { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--body); }
.bf-note { margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--mute); }
.bf-note--end { margin-top: 20px; }

/* 숫자 칸 줄 (ledger): 위 검은 선, 칸 사이 옅은 선 */
.bf-led { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 28px; border-top: 1px solid var(--ink); }
.bf-led__c { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 18px 18px 6px 20px; border-left: 1px solid var(--line); }
.bf-led__c:first-child { padding-left: 0; border-left: 0; }
.bf-led__c h3 { font-size: 13px; font-weight: 400; line-height: 1.6; color: var(--mute); }
.bf-num { font-family: var(--f-num); font-size: 40px; font-weight: 400; line-height: 1.1; letter-spacing: 0; color: #211f1c; font-variant-numeric: tabular-nums; }
.bf-num small { margin-left: 1px; font-size: 15px; color: var(--body); }
.bf-num.is-up { color: var(--green); }
.bf-num.is-down { color: var(--red); }
.bf-num--txt { font-family: var(--f-sans); font-size: 24px; line-height: 1.83; color: var(--body); }
.bf-led__s { font-size: 13px; line-height: 1.6; color: var(--mute); }
.bf-mini { display: grid; gap: 6px; }
.bf-mini p { display: flex; align-items: center; gap: 10px; }
.bf-mini span { flex: none; width: 58px; font-size: 13px; line-height: 1.6; color: var(--mute); }
.bf-mini i { position: relative; flex: 1; max-width: 70px; height: 6px; border-radius: 3px; background: var(--track); overflow: hidden; }
.bf-mini b { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--gray); }
.bf-mini b.is-us { background: var(--grad); }
.bf-mini em { flex: none; width: 40px; margin-left: auto; font-style: normal; font-size: 13px; font-weight: 700; line-height: 1.6; color: #3a3833; text-align: right; }
.bf-track { position: relative; display: block; height: 6px; border-radius: 3px; background: var(--track); overflow: hidden; }
.bf-track i { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--grad); }

/* ---------------------------------------------------------------- 경쟁 병원 비교 (막대 표) */
.bf-bars { margin-top: 28px; border-top: 1px solid var(--ink); }
.bf-bars__th, .bf-bars li { display: grid; grid-template-columns: 304px minmax(0, 1fr) 72px; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.bf-bars__th { padding: 11px 0; }
.bf-bars__th span { font-size: 13px; font-weight: 500; line-height: 1.6; color: var(--mute); }
.bf-bars__th span:last-child { text-align: right; }
.bf-bars li { min-height: 56px; padding: 14px 0; }
.bf-bar__n { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bf-bar__n b { font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.bf-bar__n small { font-size: 13px; line-height: 1.5; color: var(--mute); }
.bf-bar__t { position: relative; display: block; height: 10px; border-radius: 5px; background: var(--track); overflow: hidden; }
.bf-bar__t i { position: absolute; inset: 0 auto 0 0; border-radius: 5px; background: var(--gray); }
.bf-bar__v { font-family: var(--f-num); font-size: 16px; line-height: 1.5; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.bf-bars li.is-us .bf-bar__n b { font-weight: 700; color: var(--gold); }
.bf-bars li.is-us .bf-bar__t i { background: var(--grad); }
.bf-bars li.is-us .bf-bar__v { font-weight: 500; color: var(--gold); }
.bf-facts { margin-top: 16px; font-size: 14px; line-height: 1.7; color: var(--body); }

/* ---------------------------------------------------------------- AI 답변 */
.bf-qs { margin-top: 28px; border-top: 1px solid var(--ink); }
.bf-qs li { display: flex; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bf-qs span { flex: none; width: 150px; font-size: 13px; font-weight: 700; line-height: 1.85; color: var(--gold); }
.bf-qs p { font-size: 15px; font-weight: 500; line-height: 1.65; color: var(--ink); }
.bf-aim { margin-top: 40px; border-top: 1px solid var(--ink); }
.bf-aim__th, .bf-aim li { display: grid; grid-template-columns: minmax(0, 1fr) calc(150px * var(--n, 3)) 110px; align-items: center; border-bottom: 1px solid var(--line); }
.bf-aim__th { padding: 11px 0; }
.bf-aim__th, .bf-aim__th .bf-eng { font-size: 13px; font-weight: 500; line-height: 1.6; color: var(--mute); }
.bf-aim__engs { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); align-items: center; }
.bf-aim__c { text-align: right; }
.bf-aim li { padding: 16px 0; }
.bf-aim li .bf-aim__h { font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.bf-aim li .bf-aim__c { font-family: var(--f-num); font-size: 16px; line-height: 1.5; color: var(--ink); }
.bf-aim li.is-us .bf-aim__h { font-weight: 700; color: var(--gold); }
.bf-aim li.is-us .bf-aim__c { font-weight: 500; color: var(--gold); }
.bf-eng { display: inline-flex; align-items: center; gap: 6px; }
.bf-eng__i { flex: none; width: 18px; height: 18px; border-radius: 4px; object-fit: contain; }
.bf-eng__i--claude { display: inline-block; background: #d97757; border-radius: 50%; }
.bf-dots { display: flex; gap: 6px; }
.bf-dots i { width: 8px; height: 8px; border-radius: 50%; background: #e3dfd6; }
.bf-dots i.is-us { background: var(--gold-light); }
.bf-dots i.is-on { background: var(--gray); }
.bf-quote { display: flex; flex-direction: column; gap: 10px; margin-top: 40px; padding: 24px 28px; border-radius: 14px; background: #efeae0; }
.bf-quote__k { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; line-height: 1.6; color: var(--gold); }
.bf-quote__k .bf-eng__i { width: 16px; height: 16px; }
.bf-quote__t { font-size: 15px; line-height: 1.75; color: #3a3631; }
.bf-quote__t b { color: var(--gold); }
.bf-quote__src { font-size: 13px; line-height: 1.6; color: var(--mute); }

/* ---------------------------------------------------------------- 검색어별 현황 */
.bf-table { margin-top: 28px; }
.bf-table[data-collapsed='true'] .is-more { display: none; }
.bf-kwt { width: 100%; border-collapse: collapse; table-layout: fixed; border-top: 1px solid var(--ink); }
.bf-kwt .c-cr { width: 104px; } .bf-kwt .c-vol { width: 92px; } .bf-kwt .c-rk { width: 72px; } .bf-kwt .c-ai { width: 76px; }
/* 검색어 칸만 왼쪽, 나머지 칸(들어갈 틈, 월 검색량, 순위, AI 답변)은 모두 가운데 */
.bf-kwt thead th:not(:first-child), .bf-kwt tbody td { text-align: center; }
.bf-kwt td.bf-vol, .bf-kwt th.bf-vol { padding-right: 0; text-align: center; }
.bf-kwt tbody tr { height: 56px; }
.bf-kwt th, .bf-kwt td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.bf-kwt thead th { padding: 11px 0; font-size: 13px; font-weight: 500; line-height: 1.6; color: var(--mute); white-space: nowrap; }
.bf-kwt .bf-vol { padding-right: 0; text-align: right; }
.bf-kwt .bf-c { text-align: center; }
.bf-kwt tbody th { padding-right: 12px; }
.bf-kwt tbody th button, .bf-kw button { padding: 0; border: 0; background: none; font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--ink); text-align: left; cursor: pointer; }
.bf-kwt tbody th button:hover, .bf-kw button:hover { text-decoration: underline; text-underline-offset: 3px; }
.bf-kwt tbody th span { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--mute); }
.bf-kwt td.bf-vol { font-family: var(--f-num); font-size: 15px; line-height: 1.5; color: #3a3631; }
.bf-kwt td.bf-vol.is-low { font-family: var(--f-sans); }
.bf-kwt td { font-size: 14px; line-height: 1.5; color: #3a3631; }
.bf-rank { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.bf-rank.is-top { color: var(--gold); }
.bf-crowd, .bf-yes, .bf-oth { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border: 1px solid transparent; border-radius: 99px; font-size: 12.5px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.bf-crowd { border-color: #b9b2a6; color: #5a554d; }
.bf-crowd.is-open { border-color: #2f6b45; background: #2f6b45; color: #fafaf8; font-weight: 700; }
.bf-crowd.is-hard { border-color: #1f1d1a; background: #1f1d1a; color: var(--inv); font-weight: 700; }
.bf-yes { border-color: var(--gold-light); background: var(--gold-light); color: var(--ink); font-weight: 700; }
.bf-oth { border-color: #cfc8bb; color: var(--body); }
.bf-no { font-size: 14px; color: var(--body); }
.bf-na { font-size: 12.5px; color: var(--mute); white-space: nowrap; }
.bf-kw, .bf-kw__wrap { display: none; }
/* 검색어 표 이름표 (PC, 휴대폰 공통 2026-09-22) */
.bf-kw__key { margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; background: #efede8; }
.bf-kw__key p { font-size: 13px; font-weight: 700; color: var(--ink); }
.bf-kw__key ul { display: grid; gap: 7px; margin-top: 8px; }
.bf-kw__key li { display: grid; grid-template-columns: 50px minmax(0, 1fr); align-items: center; gap: 8px; font-size: 13px; line-height: 1.4; color: #57524b; }
.bf-kw__key li > :first-child { justify-self: center; }
.m-rank { font-family: var(--f-num); font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.m-rank small { margin-left: 1px; font-family: var(--f-sans); font-size: 10.5px; font-weight: 500; color: var(--mute); }
.m-miss, .m-cite, .m-out, .m-unk { display: inline-flex; align-items: center; justify-content: center; height: 22px; padding: 0 7px; border-radius: 6px; font-style: normal; font-size: 12px; font-weight: 700; white-space: nowrap; }
.m-miss { background: #f2e3df; color: #9a4b41; }
.m-out { box-shadow: inset 0 0 0 1px #d9b8b1; color: #9a4b41; }
.m-cite { background: #c8a97e; color: #1a1409; }
/* 확인 어려움 (검색 실패·AI 요약 오래됨): 인용·빠짐과 같은 배지 모양, 판단을 담지 않는 회색 */
.m-unk { box-shadow: inset 0 0 0 1px #d6d0c5; color: #8a8478; font-weight: 500; }
.m-na { font-style: normal; font-size: 14px; color: #b9b2a6; }
.bf-kw__key { margin: 28px 0 20px; }
.bf-kw__key ul { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); column-gap: 20px; }
.bf-kwt .m-rank { font-size: 15px; }
.bf-kwt .bf-kwt__g th { padding-bottom: 6px; }
.bf-kwt th.is-g, .bf-kwt td.is-g { box-shadow: -1px 0 0 var(--line); }
.bf-kwt .bf-kwt__g th.is-g { font-weight: 700; color: #57524b; border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .bf-kw__key { margin-top: 20px; margin-bottom: 18px; } .bf-kw__key ul { grid-template-columns: minmax(0, 1fr); } }

.bf-kw__note { margin-top: 14px; font-size: 13px; line-height: 1.6; color: var(--mute); }
/* 우리 병원이 검색 결과에 없을 때: 부족한 곳이 바로 보이게 붉은색 */
.bf-miss { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #b5453c; }
.bf-miss::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.bf-more { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; margin-top: 24px; padding: 0 24px; border: 1px solid var(--ink); border-radius: 6px; background: none; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; transition: background 180ms ease; }
.bf-more:hover { background: rgba(26, 26, 26, 0.04); }
.bf-table[data-collapsed='false'] .bf-more { display: none; }
.bf-legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; }
.bf-legend > span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.6; color: var(--mute); }

/* ---------------------------------------------------------------- 홈페이지 점검 */
.bf-road { display: grid; gap: 8px; margin-top: 32px; }
.bf-road__out { display: none; }
.bf-road__bar { display: flex; height: 32px; border-radius: 99px; background: var(--track); overflow: hidden; }
.bf-road__bar > div { display: flex; align-items: center; justify-content: center; min-width: 0; font-size: 12px; font-weight: 700; line-height: 1.5; color: var(--ink); white-space: nowrap; }
.bf-road__bar .s0 { background: #2a2825; color: var(--inv); }
.bf-road__bar .s1 { background: #b8955f; }
.bf-road__bar .s2 { background: #c8a97e; }
.bf-road__bar .s3 { background: #dcc39c; }
.bf-road__bar .is-tiny span { font-size: 13px; }
.bf-road__scale { display: flex; justify-content: space-between; font-family: var(--f-num); font-size: 13px; line-height: 1.5; color: var(--mute); }
.bf-road__cap { font-size: 13px; line-height: 1.6; color: var(--mute); }
.bf-steps { display: grid; gap: 20px; margin-top: 48px; }
.bf-step { border: 1px solid #e3ded3; border-radius: 14px; background: #fafaf8; overflow: hidden; }
.bf-step__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; border-bottom: 1px solid #e3ded3; }
.bf-step__h b { font-size: 16px; line-height: 1.5; color: var(--ink); }
.bf-step__h span { font-size: 13px; font-weight: 700; line-height: 1.5; color: var(--gold); white-space: nowrap; }
.bf-fix { display: flex; align-items: center; gap: 24px; padding: 20px 24px; border-bottom: 1px solid #ece8df; }
.bf-fix:last-child { border-bottom: 0; }
.bf-fix > div { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; }
.bf-fix p { font-size: 15px; font-weight: 500; line-height: 23px; color: var(--ink); }
.bf-fix small { font-size: 13px; line-height: 21px; color: var(--mute); }
.bf-who { flex: none; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12.5px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.bf-who.is-site { background: #e3efe6; color: #2f6b45; }
.bf-who.is-need { background: #f3ecdd; color: var(--gold); }

/* ---------------------------------------------------------------- 다음 단계 (어두운 바탕) */
.bf-cta { padding: 96px 0; background: #141311; color: var(--inv); }
.bf-cta__t { font-size: 42px; font-weight: 300; line-height: 1.4; letter-spacing: -0.03em; color: var(--inv); }
.bf-cta__t em { font-style: normal; color: var(--gold-light); }
.bf-cta__t b { font-weight: 700; }
.bf-cta__p { margin-top: 20px; font-size: 17px; line-height: 1.7; color: var(--inv-sub); }
.bf-careful { margin-top: 6px; font-size: 14px; line-height: 1.7; color: var(--inv-mute); }
.bf-cta__k { margin-top: 72px; font-size: 13px; font-weight: 700; line-height: 1.6; color: var(--gold-light); }
.bf-cta__h { margin-top: 8px; font-size: 28px; font-weight: 300; line-height: 1.4; letter-spacing: -0.035em; color: var(--inv); }
.bf-cta__h b { font-weight: 700; }
.bf-cta__h--mr { line-height: 1.38; }
.bf-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 28px; border-top: 1px solid rgba(239, 237, 230, 0.32); }
.bf-flow li { display: flex; flex-direction: column; gap: 8px; padding: 20px 16px 16px 18px; border-left: 1px solid rgba(239, 237, 230, 0.12); }
.bf-flow li:first-child { padding-left: 0; border-left: 0; }
.bf-flow li > div { display: flex; flex-direction: column; gap: 8px; }
.bf-flow__when { font-size: 12px; font-weight: 700; line-height: 1.6; color: var(--gold-light); }
.bf-flow b { font-size: 18px; line-height: 1.45; color: var(--inv); }
.bf-flow p { font-size: 14px; line-height: 1.65; color: #b9b4aa; }
.bf-flow__note { margin-top: 16px; font-size: 14px; line-height: 1.7; color: var(--inv-mute); }

/* 월간 리포트 (종이 카드) */
.bf-mrc { margin-top: 28px; padding: 0 44px 36px; border-radius: 4px; background: var(--paper); color: var(--body); }
.bf-mrc__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 0 18px; border-bottom: 1px solid var(--ink); }
.bf-mrc__top div { display: flex; flex-direction: column; gap: 2px; }
.bf-mrc__top b { font-size: 17px; line-height: 26px; color: var(--ink); }
.bf-mrc__top div span { font-size: 13px; line-height: 1.6; color: var(--mute); }
.bf-ex { flex: none; font-size: 13px; font-weight: 500; line-height: 1.6; color: var(--gold); }
.bf-led--mrc { margin-top: 0; border-top: 0; }
.bf-led--mrc .bf-led__c { padding: 18px 16px 6px 18px; }
.bf-led--mrc .bf-led__c:first-child { padding-left: 0; }
.bf-led--mrc .bf-num { color: var(--ink); }
.bf-mrc__grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.bf-mrc__chart { display: flex; flex-direction: column; gap: 14px; }
.bf-mrc__label { font-size: 13px; font-weight: 700; line-height: 1.6; color: var(--gold); }
.bf-mrc__hint { font-size: 13px; line-height: 1.6; color: var(--mute); }
.bf-mrc__fill .bf-mrc__hint { margin-top: 12px; }
.bf-mrc__vs .bf-mrc__hint { margin-top: 20px; }
svg.bf-trend { display: block; max-width: 100%; height: auto; overflow: visible; }
.bf-trend__grid line { stroke: #e6e2d9; stroke-width: 1; stroke-dasharray: 3 4; }
.bf-trend__grid line.is-base { stroke: #d6d1c7; stroke-dasharray: none; }
.bf-trend__grid text, .bf-trend__x text { font-size: 13px; fill: var(--mute); }
.bf-trend__grid text { font-family: var(--f-num); }
.bf-trend__x text { font-family: var(--f-sans); }
.bf-trend__line { fill: none; stroke: #c8a97e; stroke-width: 2.2; stroke-dasharray: 6 5; }
.bf-trend__pt { fill: #fafaf8; stroke: #c8a97e; stroke-width: 1.5; }
.bf-trend__tag rect { fill: #f1ebe0; }
.bf-trend__tag text { font-family: var(--f-sans); font-size: 13px; font-weight: 500; fill: var(--gold); }
.bf-fill { width: 100%; margin-top: 14px; border-collapse: collapse; table-layout: fixed; border-top: 1px solid var(--ink); }
.bf-fill th, .bf-fill td { padding: 12px 0; line-height: 21px; border-bottom: 1px solid var(--line); text-align: center; }
.bf-fill thead th { padding: 9px 0; font-size: 13px; font-weight: 500; line-height: 1.6; color: var(--mute); }
.bf-fill thead th:first-child, .bf-fill tbody th { width: 46%; text-align: left; }
@media (max-width: 860px) { .bf-fill thead th:first-child, .bf-fill tbody th { width: 49%; } }
.bf-fill tbody th { font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.bf-st { font-style: normal; font-size: 13px; font-weight: 500; line-height: 1.5; color: var(--gold); }
.bf-mrc__vs { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.bf-bars--mini { margin-top: 14px; }
.bf-bars--mini li { grid-template-columns: 200px minmax(0, 1fr) 64px; }
.bf-bars--mini .bf-bar__n b { font-size: 14px; }
.bf-bars--mini .bf-bar__v { font-size: 15px; }

/* 환불 약속 */
.bf-refund { display: flex; flex-direction: column; gap: 10px; margin-top: 72px; padding-top: 28px; border-top: 1px solid rgba(239, 237, 230, 0.32); }
.bf-refund__k { font-size: 13px; font-weight: 700; line-height: 1.6; color: var(--gold-light); }
.bf-refund__h { font-size: 26px; font-weight: 300; line-height: 1.45; letter-spacing: -0.03em; color: var(--inv); }
.bf-refund__h mark { background: none; font-weight: 700; color: var(--gold-light); }
.bf-refund__p { font-size: 15px; line-height: 1.7; color: var(--inv-sub); }
.bf-refund__not { font-size: 13px; line-height: 1.7; color: var(--inv-mute); }

/* 경쟁 알림 (종이 카드) */
.bf-alert { display: flex; flex-direction: column; gap: 28px; margin-top: 64px; padding: 44px 48px 40px; border-radius: 12px; background: var(--paper); color: var(--body); }
.bf-alert__txt { display: flex; flex-direction: column; gap: 12px; }
.bf-alert__k { font-size: 13px; font-weight: 700; line-height: 1.6; color: var(--gold); }
.bf-alert__h { font-size: 28px; font-weight: 400; line-height: 1.42; letter-spacing: 0; color: var(--ink); }
.bf-alert__h em { font-style: normal; font-weight: 700; color: var(--gold); }
.bf-alert__p { font-size: 15px; line-height: 1.7; color: var(--body); }
.bf-alert__kwh { margin-top: 22px; font-size: 13px; font-weight: 500; line-height: 1.6; color: var(--mute); }
.bf-alert__kw { border-top: 1px solid var(--ink); }
.bf-alert__kw li { border-bottom: 1px solid var(--line); }
.bf-alert__kw label { display: flex; align-items: center; gap: 10px; padding: 13px 0; cursor: pointer; }
.bf-alert__kw label span { flex: 1; min-width: 0; font-size: 15px; font-weight: 500; line-height: 23px; color: var(--ink); }
.bf-alert__kw small { flex: none; font-size: 14px; color: var(--mute); }
.bf-alert input[type='checkbox'] { flex: none; width: 16px; height: 16px; margin: 0; accent-color: #1f1d1a; }
.bf-alert__form { display: flex; flex-direction: column; gap: 14px; }
.bf-alert__row { display: flex; gap: 8px; }
.bf-alert__row input { flex: 1; min-width: 0; height: 56px; padding: 0 16px 0 18px; border: 1px solid var(--line); border-radius: 8px; background: #fafaf8; font-size: 16px; color: var(--ink); }
.bf-alert__row input::placeholder { color: #6c675f; }
.bf-alert__row input:focus { outline: none; border-color: var(--gold-light); box-shadow: 0 0 0 3px rgba(200, 169, 126, 0.2); }
.bf-alert__row button { flex: none; height: 56px; padding: 0 26px; border: 0; border-radius: 8px; background: #211f1c; font-size: 16px; font-weight: 700; color: var(--inv); cursor: pointer; transition: background 180ms ease; }
.bf-alert__row button:hover { background: #1d1b18; }
.bf-alert__row button[disabled] { opacity: 0.5; cursor: default; }
.bf-consent-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; }
.bf-consent { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.5; color: var(--body); cursor: pointer; }
.bf-consent input[type='checkbox'] { accent-color: #1f1d1a; }
.bf-consent__more summary { list-style: none; font-size: 13px; line-height: 1.5; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bf-consent__more summary::-webkit-details-marker { display: none; }
.bf-consent__more[open] { flex-basis: 100%; }
.bf-consent__more[open] summary { display: inline-block; margin-left: 24px; }
.bf-consent__more dl { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 4px 12px; margin-top: 10px; font-size: 13px; line-height: 1.6; }
.bf-consent__more dt { color: var(--mute); }
.bf-consent__more dd { color: var(--body); }
.bf-consent__more p { margin-top: 6px; font-size: 13px; color: var(--mute); }
.bf-alert__msg { font-size: 12.5px; line-height: 1.6; color: var(--mute); }
.bf-alert__msg.is-ok { color: #2f6b45; }
.bf-alert__msg.is-err { color: var(--red); }

/* 마지막 버튼 */
.bf-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 72px; padding-top: 40px; border-top: 1px solid rgba(239, 237, 230, 0.32); }
.bf-actions__t { font-size: 20px; font-weight: 400; line-height: 1.38; color: var(--inv); }
.bf-actions__t b { font-weight: 700; }
.bf-actions__p { font-size: 15px; line-height: 1.6; color: var(--inv); opacity: 0.78; }
.bf-btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 28px; border-radius: 6px; background: var(--inv); font-size: 15px; font-weight: 700; line-height: 1.5; color: #211f1c; transition: background 180ms ease; }
.bf-btn:hover { background: #fafaf8; }
.bf-disclaimer { font-size: 12px; line-height: 1.6; color: var(--inv-mute); }

/* ---------------------------------------------------------------- 조사 방법 */
.bf-foot { padding: 72px 0; background: var(--paper); }
.bf-foot__k { font-size: 13px; font-weight: 700; line-height: 1.6; color: var(--gold); }
.bf-foot__h { margin-top: 8px; font-size: 26px; font-weight: 400; line-height: 1.4; letter-spacing: -0.035em; color: var(--ink); }
.bf-foot dl { margin-top: 24px; border-top: 1px solid var(--ink); }
.bf-foot dl > div { display: flex; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bf-foot dt { flex: none; width: 150px; font-size: 13px; font-weight: 700; line-height: 1.75; color: #3a3631; }
.bf-foot dd { font-size: 14px; line-height: 1.7; color: var(--body); }

/* ---------------------------------------------------------------- 휴대폰 (피그마 308:714) */
@media (max-width: 860px) {
  /* 웹 글꼴이 피그마보다 조금 넓어 줄바꿈 자리가 밀리지 않게 */
  .bf { letter-spacing: -0.01em; }
  .bf-d, .bf-only-d { display: none; }
  .bf-m { display: inline; }
  .bf-only-m { display: block; }

  .bf-doc { padding: 24px 0 64px; }
  .bf-doc__bar { align-items: flex-start; }
  .bf-hero { padding-top: 40px; }
  .bf-title { margin-top: 14px; font-size: 30px; }
  .bf-sum { margin-top: 32px; }
  .bf-sum li { flex-direction: column; gap: 6px; padding: 20px; }
  .bf-sum__k { width: auto; }
  .bf-sum__v { font-size: 15px; }

  .bf-sec { padding: 56px 0; }
  .bf-h { font-size: 24px; line-height: 1.4; }

  .bf-led { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bf-led__c { padding: 16px 0 16px 14px; }
  .bf-led__c:nth-child(odd) { padding: 16px 12px 16px 0; border-left: 0; }
  .bf-led__c:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .bf-mini span { width: 56px; }
  .bf-mini em { width: 34px; }

  .bf-bars__th { grid-template-columns: 60px minmax(0, 1fr) 40px; }
  .bf-bars li { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; }
  .bf-bars li .bf-bar__t { grid-column: 1 / -1; grid-row: 2; }
  .bf-bars--mini li { grid-template-columns: 62px minmax(0, 1fr) 48px; gap: 12px; }
  .bf-bars--mini li .bf-bar__t { grid-column: auto; grid-row: auto; }

  .bf-qs li { flex-direction: column; gap: 4px; }
  .bf-qs span { width: auto; }
  .bf-aim__th, .bf-aim li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; }
  .bf-aim__th { padding: 12px 0; }
  .bf-aim__engs { grid-column: 1 / -1; grid-row: 2; }
  .bf-aim li { row-gap: 12px; padding: 14px 0 16px; }
  .bf-aim li .bf-dots { padding-left: 2px; }
  .bf-quote { padding: 20px; }

  .bf-kwt { display: none; }
  /* 검색어 한눈에 보기 (2026-09-22): 한 줄에 검색어 하나. 칸은 검색 순위 2칸 + AI 답변 2칸, 표 읽는 법은 표 위에 */
  .bf-kw__wrap { display: block; }
  .bf-kw__head, .bf-kw li { display: grid; grid-template-columns: minmax(0, 1fr) repeat(var(--cols), 50px); align-items: center; }
  .bf-kw__head { row-gap: 4px; padding: 10px 0 8px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); font-size: 11.5px; line-height: 1.3; color: var(--mute); text-align: center; }
  .bf-kw__head .g0 { grid-row: span 2; align-self: end; text-align: left; font-size: 12px; }
  .bf-kw__head .g { padding-bottom: 4px; border-bottom: 1px solid var(--line); font-weight: 700; color: #57524b; }
  .bf-kw__head .s0 { display: none; }
  .bf-kw__head .is-ai, .bf-kw__c.is-ai { box-shadow: -1px 0 0 var(--line); }
  .bf-kw { display: block; }
  .bf-kw li { min-height: 58px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .bf-kw__k { display: grid; gap: 2px; min-width: 0; padding-right: 4px; }
  .bf-kw button { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 700; line-height: 1.4; text-align: left; }
  .bf-kw li.is-seen button { color: var(--gold); }
  .bf-kw__k > span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .bf-kw__k em { font-style: normal; font-weight: 600; color: #6c675f; }
  .bf-kw__k em.is-open { color: #2f6b45; }
  .bf-kw__k em.is-hard { color: #1f1d1a; }
  .bf-kw__c { display: grid; place-items: center; align-self: stretch; }

  .bf-kw__key .bf-kw__note { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(28, 25, 22, 0.08); }
  .bf-kw__note { margin-top: 14px; font-size: 13px; line-height: 1.6; color: var(--mute); }
  .bf-legend { flex-direction: column; align-items: flex-start; gap: 10px; }

  .bf-road__out { display: flex; justify-content: flex-end; gap: 8px; font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--gold); }
  .bf-road__bar { height: 28px; border-radius: 16px; }
  .bf-road__bar > div { font-size: 13px; }
  .bf-road__bar .is-tiny span { display: none; }
  .bf-steps { gap: 16px; }
  .bf-step__h { flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 18px; }
  .bf-fix { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 18px 18px; }

  .bf-cta { padding: 64px 0 72px; }
  .bf-cta__t { font-size: 28px; }
  .bf-cta__p { font-size: 16px; }
  .bf-cta__k { margin-top: 56px; }
  .bf-cta__h { font-size: 22px; line-height: 1.4; }
  .bf-flow { grid-template-columns: 1fr; }
  .bf-flow li { flex-direction: row; gap: 12px; padding: 16px 0; border-left: 0; border-bottom: 1px solid rgba(239, 237, 230, 0.12); }
  .bf-flow li:first-child { padding-left: 0; }
  .bf-flow__when { flex: none; width: 72px; line-height: 1.9; }
  .bf-flow li > div { flex: 1; gap: 4px; }
  .bf-mrc { padding: 0 16px 24px; }
  .bf-mrc__top { align-items: flex-start; }
  .bf-led--mrc .bf-led__c { padding: 16px 0 14px 14px; }
  .bf-led--mrc .bf-led__c:nth-child(odd) { padding: 16px 10px 14px 0; }
  .bf-mrc__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
  .bf-refund { margin-top: 56px; }
  .bf-refund__h { font-size: 22px; }
  .bf-alert { gap: 24px; margin-top: 64px; padding: 28px 20px; }
  .bf-alert__h { font-size: 22px; }
  .bf-alert__row { flex-direction: column; }
  .bf-alert__row input { flex: none; width: 100%; }
  .bf-alert__row button { width: 100%; }
  .bf-actions { margin-top: 56px; }
  .bf-actions__t { font-size: 18px; font-weight: 500; line-height: 1.5; }
  .bf-btn { width: 100%; height: 56px; }

  .bf-foot { padding: 56px 0; }
  .bf-foot__h { font-size: 22px; }
  .bf-foot dl > div { flex-direction: column; gap: 6px; padding: 16px 0; }
  .bf-foot dt { width: auto; }
}

@media print {
  .bf-alert, .bf-more, .bf-actions, .bf-chip, .rp-sticky, .rp-mbar { display: none !important; }
  .bf-table[data-collapsed='true'] .is-more { display: table-row; }
}
.bf-sum__basis { margin-top: 4px; }
/* 휴대폰 표: 칸이 좁아 확인 어려움 을 두 줄로 (11/4 캡처에서 글자가 겹침) */
.bf-kw__c .m-unk { width: 44px; height: auto; padding: 3px 0; white-space: normal; line-height: 1.25; font-size: 11px; text-align: center; }

/* 홈페이지 점검: '나머지 N개 항목 보기' (11/4: 기본 화살표·주황 테두리 대신 다른 접기 칸과 같은 모양) */
.bf-step__more { border-top: 1px solid #ece8df; }
.bf-step__more > summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--mute); }
.bf-step__more > summary::-webkit-details-marker { display: none; }
.bf-step__more > summary::after { content: '+'; font-size: 18px; font-weight: 400; }
.bf-step__more[open] > summary::after { content: '−'; }
.bf-step__more > summary:focus-visible { outline: 2px solid #8a6a35; outline-offset: -2px; }
.bf-step__more[open] > summary { border-bottom: 1px solid #ece8df; }
@media (max-width: 860px) { .bf-step__more > summary { padding: 14px 18px; } }

/* 휴대폰 검색어 표 (11/4): '검색 순위 | AI 답변' 구분선이 줄마다 위아래가 끊겨 칸마다 천장이 생긴 것처럼 보였다
   → 줄 안쪽 여백을 칸 안으로 옮겨, 구분선이 머리글부터 마지막 줄까지 한 줄로 이어지게 한다 */
@media (max-width: 860px) {
  .bf-kw__head { row-gap: 0; padding: 0; }
  .bf-kw__head > span { padding: 6px 0 8px; }
  .bf-kw__head .g { padding: 10px 0 5px; }
  .bf-kw__head .g0 { padding: 0 0 8px; }
  .bf-kw li { padding: 0; }
  .bf-kw__k { padding: 10px 4px 10px 0; }
  .bf-kw__c { padding: 10px 0; }
}

/* 홈페이지 점검 항목 배지: 급한 정도 (11/4 사장님 결정). 노출 막힘(빨강) · 시급(주황) · 개선 권장(금색) · 참고(회색 테두리) */
.bf-sev { flex: none; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12.5px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.bf-sev.is-critical { background: #b5453c; color: #fff; }
.bf-sev.is-high { background: #f6e2d4; color: #9a4a1c; }
.bf-sev.is-medium { background: #f3ecdd; color: #7a5a24; }
.bf-sev.is-low { box-shadow: inset 0 0 0 1px #d6d0c5; color: #8a8478; font-weight: 500; }

/* 마지막 안내: 메인 마지막 CTA와 같은 화면 (사전 신청하기만, 11/4) */
.bf-close { position: relative; overflow: hidden; padding: 120px 0 112px; background: #1b1a17; color: var(--inv); text-align: center; }
.bf-close__bg { position: absolute; inset: 0; z-index: 0; }
.bf-close__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; filter: sepia(0.25); }
.bf-close__bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 20%, rgba(200, 169, 126, 0.16), transparent 60%), linear-gradient(#141311, rgba(20, 19, 17, 0.45) 30%, rgba(20, 19, 17, 0.7)); }
.bf-close__in { position: relative; z-index: 1; }
.bf-close__h { font-size: clamp(32px, 4vw, 56px); font-weight: 300; line-height: 1.35; letter-spacing: -0.04em; color: var(--inv); }
.bf-close__h b { font-weight: 700; }
.bf-close__sub { margin-top: 22px; font-size: 17px; line-height: 1.6; color: var(--inv); opacity: 0.75; }
.bf-close__btn { margin-top: 36px; gap: 8px; }

/* 조사 기준: 접기 칸 (11/4) */
.bf-foot__more { margin-top: 8px; }
.bf-foot__more > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer; }
.bf-foot__more > summary::-webkit-details-marker { display: none; }
.bf-foot__more > summary::after { content: '+'; flex: none; font-size: 22px; font-weight: 300; color: var(--ink); }
.bf-foot__more[open] > summary::after { content: '−'; }
.bf-foot__more > summary .bf-foot__h { margin-top: 0; }
@media (max-width: 860px) {
  .bf-close { padding: 96px 0 88px; }
  .bf-close__h { font-size: 30px; letter-spacing: -0.03em; }
  .bf-close__sub { margin-top: 16px; font-size: 15.5px; }
  .bf-close__btn { width: auto; min-width: 220px; height: 54px; }
}
/* 월간 리포트 비교 막대: 휴대폰에서 상호가 한 글자씩 끊기지 않게 (11/4) */
@media (max-width: 860px) {
  .bf-bars--mini li { grid-template-columns: minmax(84px, max-content) minmax(0, 1fr) 52px; }
  .bf-bars--mini .bf-bar__n b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 9em; }
}
