/* 요양병원 평가정보 전용 스타일(방문요양 style.css·요양원 nh.css 와 독립, nh.css 의 구조를 lh- 접두사로 복제). 모바일 우선, 360px 가로 스크롤 없음. */
:root {
  /* Phase D-3: 값만 방문요양(style.css)과 같게. 변수 이름은 그대로. */
  --lh-text: #1f2937; --lh-muted: #475569; --lh-line: #dde3ee; --lh-bg: #ffffff; --lh-soft: #f5f7fb;
  --lh-navy: #14274e; --lh-navy-2: #1d3566;
  --lh-accent: #1f5fd6; --lh-accent-weak: #e9f0fc; --lh-warn-bg: #fff6e0; --lh-warn-line: #c98a00;
  --lh-focus: #b35c00;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.lh { margin: 0; color: var(--lh-text); background: var(--lh-bg); font: 17px/1.6 "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR",
  system-ui, -apple-system, "Segoe UI", sans-serif; overflow-wrap: anywhere; word-break: keep-all; }
.lh img, .lh table, .lh select, .lh input { max-width: 100%; }
.lh-wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.lh a { color: var(--lh-accent); }
.lh :focus-visible { outline: 3px solid var(--lh-focus); outline-offset: 2px; border-radius: 2px; }
#lh-main:focus { outline: none; }
.lh-skip { position: absolute; left: -9999px; top: 0; background: #000; color: #fff; padding: 8px 12px; z-index: 10; }
.lh-skip:focus { left: 8px; top: 8px; }
.lh-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.lh-header { border-bottom: 1px solid var(--lh-line); background: var(--lh-soft); }
.lh-header__inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding-top: 12px; padding-bottom: 12px; }
.lh-logo { font-weight: 700; font-size: 1.15rem; text-decoration: none; color: var(--lh-text) !important; }
.lh-tagline { margin: 0; color: var(--lh-muted); font-size: .9rem; }
.lh-h1 { font-size: 1.5rem; line-height: 1.35; margin: 20px 0 12px; }
.lh-h2 { font-size: 1.2rem; margin: 28px 0 10px; }
.lh-h3 { font-size: 1.05rem; margin: 0 0 8px; }
.lh-small { font-size: .875rem; color: var(--lh-muted); }
.lh-help { font-size: .875rem; color: var(--lh-muted); margin: 4px 0 0; }
.lh-scope { background: var(--lh-accent-weak); border-radius: 8px; padding: 12px 14px; }
.lh-scope p { margin: 0; }

/* 검색 조건 */
.lh-filters { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 16px 0; padding: 14px; border: 1px solid var(--lh-line); border-radius: 8px; }
.lh-field { display: flex; flex-direction: column; min-width: 0; }
.lh-field label { font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.lh-field select, .lh-field input { width: 100%; min-height: 48px; padding: 8px 10px; font: inherit; border: 1px solid #8a949e; border-radius: 6px; background: #fff; color: var(--lh-text); }
.lh-field select:disabled { background: var(--lh-soft); color: var(--lh-muted); }
.lh-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.lh-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 16px; border: 1px solid var(--lh-accent);
  border-radius: 6px; background: #fff; color: var(--lh-accent); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.lh-btn--primary { background: var(--lh-accent); color: #fff !important; }

/* 결과 카드 */
.lh-count { color: var(--lh-accent); }
.lh-range { font-size: .9rem; font-weight: 400; color: var(--lh-muted); }
.lh-cards { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
.lh-card { border: 1px solid var(--lh-line); border-radius: 8px; padding: 14px; min-width: 0; }
.lh-card__name { font-size: 1.1rem; margin: 0 0 2px; }
.lh-card__region { margin: 0 0 8px; color: var(--lh-muted); }
.lh-card__more { margin-top: 8px; }
.lh-dl { margin: 0; }
.lh-dl > div { display: grid; grid-template-columns: 1fr; gap: 0 12px; padding: 6px 0; border-top: 1px solid var(--lh-soft); }
.lh-dl dt { font-weight: 600; font-size: .9rem; color: var(--lh-muted); }
.lh-dl dd { margin: 0; min-width: 0; }
.lh-notice { background: var(--lh-warn-bg); border-left: 4px solid var(--lh-warn-line); padding: 8px 12px; border-radius: 4px; margin: 10px 0; }
.lh-review { color: #7a4b00; }
.lh-empty { background: var(--lh-soft); padding: 14px; border-radius: 8px; }
.lh-tag { display: inline-block; font-size: .8rem; font-weight: 600; border: 1px solid var(--lh-accent); color: var(--lh-accent); border-radius: 999px; padding: 0 8px; margin-left: 4px; }

/* 신뢰 표시: 색 + 기호 + 문자 */
.lh-trust { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 700; line-height: 1.4; padding: 1px 8px;
  border-radius: 999px; border: 1px solid; vertical-align: middle; white-space: nowrap; }
.lh-trust__mark { font-weight: 800; }
.lh-trust--official { color: #0b4a25; background: #e6f4ec; border-color: #2f7d4f; }
.lh-trust--explanation { color: #1d3f73; background: #e8eef9; border-color: #4a6fa8; }
.lh-trust--caregiver { color: #5a3a00; background: #fff1d6; border-color: #a26b00; }
.lh-trust--unverified { color: #4a4f55; background: #eef0f2; border-color: #7b838b; border-style: dashed; }
.lh-legend { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }

/* 페이지 이동 */
.lh-pager ul { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lh-pager a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px;
  border: 1px solid var(--lh-line); border-radius: 6px; text-decoration: none; }
.lh-pager a[aria-current="page"] { background: var(--lh-accent); color: #fff; border-color: var(--lh-accent); font-weight: 700; }
.lh-pager li[aria-hidden="true"] { display: inline-flex; align-items: center; padding: 0 4px; }

/* 상세 */
.lh-back { margin: 16px 0 0; }
.lh-section { border-top: 1px solid var(--lh-line); margin-top: 8px; }
.lh-table { width: 100%; border-collapse: collapse; margin: 8px 0; table-layout: fixed; }
.lh-table caption { text-align: left; font-size: .9rem; color: var(--lh-muted); padding-bottom: 4px; }
.lh-table th, .lh-table td { border: 1px solid var(--lh-line); padding: 8px; text-align: left; vertical-align: top; }
.lh-table thead th { background: var(--lh-soft); font-size: .9rem; }
.lh-history { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.lh-history__item { border: 1px solid var(--lh-line); border-radius: 8px; padding: 12px; min-width: 0; }
.lh-history__change { background: var(--lh-warn-bg); border: 1px dashed var(--lh-warn-line); border-radius: 8px; padding: 10px 12px; }
.lh-limits ul { padding-left: 20px; }
.lh-footer { margin-top: 40px; padding: 20px 0 32px; background: var(--lh-soft); border-top: 1px solid var(--lh-line); font-size: .9rem; }
.lh-footer__title { font-size: 1rem; margin: 0 0 8px; }

@media (min-width: 640px) {
  .lh-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lh-field--wide { grid-column: 1 / -1; }
  .lh-dl > div { grid-template-columns: minmax(9em, 30%) 1fr; }
}
@media (min-width: 960px) {
  .lh-filters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lh-field--wide { grid-column: span 2; }
  .lh-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* ---------------- Phase 2-C-4: 메뉴·비교·해설·보호자 질문 ---------------- */
.lh [hidden] { display: none !important; }  /* JS 가 켜기 전 버튼·도구는 숨김 유지(.lh-btn 의 display 보다 우선) */
.lh-table .lh-trust { white-space: normal; }
.lh-table--guide th, .lh-table--guide td { padding: 6px; font-size: .92rem; }
.lh-table--guide col.lh-col-no { width: 2.6em; }
.lh-nav { width: 100%; }
.lh-nav ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.lh-nav a { display: inline-block; padding: 6px 0; min-height: 32px; font-weight: 600; }
.lh-nav a[aria-current="page"] { color: var(--lh-text); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.lh-toc ol { padding-left: 20px; margin: 8px 0 16px; }
.lh-plain { margin: 0; padding-left: 18px; }
.lh-card__actions, .lh-detail__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.lh-card__actions .lh-card__more { margin-top: 0; }
.lh-cmp-toggle[aria-pressed="true"] { background: var(--lh-accent-weak); border-width: 2px; }
.lh-btn--disabled, .lh-btn[aria-disabled="true"] { opacity: .6; border-style: dashed; }
.lh-linkbtn { background: none; border: 0; padding: 4px 6px; min-height: 32px; color: var(--lh-accent); text-decoration: underline; font: inherit; cursor: pointer; }
.lh-cmpbar { border: 2px solid var(--lh-accent); border-radius: 8px; padding: 12px 14px; margin: 12px 0; background: #fff; }
.lh-cmpbar__title { font-size: 1rem; margin: 0 0 6px; }
.lh-cmpbar__list { margin: 0 0 6px; padding-left: 20px; }
.lh-cmpbar__msg:empty { display: none; }
.lh-cmpbar__msg { margin: 6px 0; font-weight: 600; }
.lh-cmpbar__actions { display: flex; flex-wrap: wrap; gap: 8px; }

.lh-areaguide { margin-top: 16px; padding: 12px; border: 1px solid var(--lh-line); border-radius: 8px; background: #fbfcfe; }
.lh-cq__notice { background: #fff1d6; border-left: 4px solid #a26b00; padding: 8px 12px; border-radius: 4px; }
.lh-cq__tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 12px; }
.lh-cq__tools .lh-help { flex-basis: 100%; margin: 0; }
.lh-cq__topic { border: 1px solid var(--lh-line); border-radius: 8px; margin: 8px 0; }
.lh-cq__topic > summary { cursor: pointer; padding: 10px 12px; min-height: 44px; font-weight: 600; }
.lh-cq__topic[open] > summary { border-bottom: 1px solid var(--lh-line); }
.lh-cq__list { margin: 8px 0; padding: 0 12px 0 32px; }
.lh-cq__list li { margin: 6px 0; }

.lh-cmp-cols { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
.lh-cmp-col { border: 1px solid var(--lh-line); border-radius: 8px; padding: 14px; min-width: 0; }
.lh-cautions { list-style: none; padding: 0; margin: 0; }
.lh-scroll { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
.lh-table--cmp { table-layout: auto; min-width: 100%; }
.lh-table--cmp th, .lh-table--cmp td { min-width: 6.5em; }
@media (min-width: 960px) {
  .lh-cmp-cols { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; }
}

@media print {
  .lh-noprint, .lh-skip, .lh-header nav, .lh-btn, .lh-cmpbar, .lh-cmp-toggle, .lh-back { display: none !important; }
  body.lh { font-size: 11pt; color: #000; }
  .lh-header { background: none; border: 0; }
  .lh-cq__topic { break-inside: avoid; border-color: #999; }
  .lh-cq__topic > summary { list-style: none; }
  .lh-footer { margin-top: 16px; background: none; }
  a { color: #000 !important; text-decoration: none; }
}

/* ---------------- Phase H-3A: 요양병원 전용 추가 ---------------- */
.lh-grade { display: inline-block; font-weight: 700; padding: 2px 10px; border-radius: 6px; border: 1px solid; white-space: nowrap; }
.lh-grade--graded { color: #0b3a6e; background: #e8f0fb; border-color: #3d6aa6; }
.lh-grade--excluded { color: #4a4f55; background: #f1f2f4; border-color: #7b838b; }
.lh-grade--none { color: #4a4f55; background: #fff; border-color: #7b838b; border-style: dashed; }
.lh-grade-line { margin: 4px 0 8px; font-size: 1.1rem; }
.lh-same ul { margin: 6px 0 0; padding-left: 20px; }
.lh-same .lh-h3 { margin-top: 0; }
.lh-sources { padding-left: 20px; }
.lh-sources li { margin: 6px 0; }
.lh-table--guide { table-layout: auto; min-width: 560px; }
.lh-scroll .lh-table--guide caption { position: sticky; left: 0; }

/* ---------------- Phase D-2: 상세 평가 요약 띠 · 검색 '조건 더보기' ---------------- */
.lh-evalband { margin: 0 0 12px; padding: 10px 14px; border: 2px solid var(--lh-accent); border-radius: 8px; background: #fff; }
.lh-evalband p { margin: 2px 0; }
.lh-evalband__main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.lh-evalband__grade-label { font-weight: 600; }
.lh-evalband__grade { display: inline-block; padding: 0 12px; border-radius: 6px; background: var(--lh-accent); color: #fff; font-size: 1.6rem; font-weight: 800; line-height: 1.35; }
.lh-evalband__text { font-weight: 700; }
.lh-evalband__total { color: var(--lh-muted); }
.lh-evalband__none { color: var(--lh-text); }
.lh-evalband .lh-grade { font-size: 1.4rem; padding: 0 12px; }
.lh-evalband__scale { font-weight: 600; color: var(--lh-text); }
.lh-more { grid-column: 1 / -1; }
.lh-more__toggle { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-height: 44px; font-weight: 600; color: var(--lh-accent); cursor: pointer; }
.lh-more[open] .lh-more__closed, .lh-more:not([open]) .lh-more__open { display: none; }
.lh-more__body { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 4px; }
@media (min-width: 640px) {
  .lh-more > summary { display: none; }
  .lh-more__body { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
}
/* 요양병원 추가 조건은 2개뿐이라 넓은 화면에서는 2칸만 차지(검색 버튼이 같은 줄에 오도록, 기존 배치와 같게) */
@media (min-width: 960px) { .lh-more { grid-column: span 2; } .lh-more__body { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------- Phase D-3: 세 서비스 공통 헤더·Footer (HOMIE) ---------------- */
.lh-header { background: var(--lh-navy); border-bottom: 0; color: #fff; }
.lh-header__inner { align-items: center; gap: 0 12px; padding-top: 0; padding-bottom: 0; }
.lh-header__inner > .lh-svc { order: -1; flex: 1 0 100%; border-bottom: 1px solid #24396a; }
.lh-logo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 17px; color: #fff !important; }
.lh-logo-mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--lh-accent); color: #fff; }
.lh-logo__text { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
.lh-logo__brand { font-size: 19px; font-weight: 800; letter-spacing: .03em; }
.lh-logo__dot { color: #9db8ea; }
.lh-logo__svc { font-weight: 600; color: #d6def0; }
.lh-header .lh-nav { width: auto; }
.lh-header .lh-nav ul { margin: 0; gap: 4px; }
.lh .lh-header .lh-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 8px; font-size: 15px;
  color: #d6def0; text-decoration: none; }
.lh .lh-header .lh-nav a:hover, .lh .lh-header .lh-nav a[aria-current="page"] { color: #fff; background: var(--lh-navy-2); }
@media (min-width: 900px) {
  .lh-header__inner { flex-wrap: nowrap; gap: 16px; min-height: 64px; padding-bottom: 0; }
  .lh-header__inner > .lh-svc { order: 0; flex: 0 1 auto; border-bottom: 0; }
  .lh-header .lh-nav { margin-left: auto; }
}
.lh-footer { padding: 24px 0 16px; color: var(--lh-muted); }
.lh-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.lh-footer__brand p { margin: 2px 0; }
.lh-footer__logo { font-size: 18px; font-weight: 800; letter-spacing: .03em; color: var(--lh-navy); }
.lh-footer__tagline { font-weight: 600; color: var(--lh-text); }
.lh-footer__op { color: var(--lh-text); }
.lh-footer__mail { font-weight: 600; overflow-wrap: anywhere; }
.lh-footer__notice { color: var(--lh-text); }
.lh-footer__copy { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--lh-line); font-size: 13px; }
@media (min-width: 900px) { .lh-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 32px; } }
/* Phase D-4B: Footer 개인정보처리방침 링크 — 줄 높이는 그대로 두고 터치 영역만 세로 44px로 넓힌다. */
.lh-footer__copy a { position: relative; text-underline-offset: 3px; }
.lh-footer__copy a::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); }
@media print { .lh-header { color: #000; } .lh-logo, .lh-logo__svc { color: #000 !important; } .lh-logo-mark { display: none; } }

/* ---------------- Phase H-5: 세 서비스 공통 서비스 메뉴(방문요양·요양원·요양병원) ---------------- */
.lh-svc { background: transparent; }
.lh-svc__list { list-style: none; margin: 0; padding: 2px 0; display: flex; flex-wrap: wrap; gap: 4px; }
.lh-svc__list li { margin: 0; }
.lh-svc__list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; font-size: 15px;
  font-weight: 600; color: #d6def0 !important; text-decoration: none; white-space: nowrap; }
.lh-svc__list a:hover { background: var(--lh-navy-2); color: #fff !important; }
.lh-svc__list a[aria-current="true"] { background: var(--lh-navy-2); color: #fff !important; text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 5px; }
.lh-svc__list a:focus-visible { outline: 3px solid #ffd166; outline-offset: 2px; }
@media print { .lh-svc { display: none !important; } }

/* ---------------- Phase C-1: 요양병원 비용 계산기(/long-term-care-hospital/cost) ---------------- */
.lh-cost-grid { margin-top: 8px; }
.lh-cost fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.lh-cost legend { font-weight: 600; font-size: .9rem; padding: 0; margin-bottom: 4px; }
.lh-radio { display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 400 !important; }
.lh-radio input { width: 1.25rem; height: 1.25rem; min-height: 0; margin: 0; flex: none; }
.lh-amount { display: flex; align-items: center; gap: 6px; min-width: 0; }
.lh-amount input { flex: 1 1 auto; min-width: 0; text-align: right; }
.lh-amount__unit { flex: none; color: var(--lh-muted); }
.lh-field input[type="range"] { min-height: 44px; padding: 0; border: 0; background: none; }
.lh-field output { font-weight: 700; }
.lh-err { color: #a30000; font-size: .875rem; font-weight: 600; margin: 4px 0 0; }
.lh-err:empty { display: none; }
.lh [aria-invalid="true"] { border-color: #a30000 !important; border-width: 2px !important; }
.lh-cost-example { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lh-tag--example { border-color: #a26b00; color: #5a3a00; background: #fff1d6; }
.lh-cost-extras { list-style: none; margin: 8px 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
.lh-cost-extra { border: 1px solid var(--lh-line); border-radius: 8px; padding: 12px; min-width: 0; }
.lh-cost-extra .lh-help { margin: 0 0 8px; }
.lh-cost-extra__row { display: grid; grid-template-columns: 1fr; gap: 8px; }
.lh-cost-actions { margin: 8px 0; }
.lh-cost-result { border-top: 2px solid var(--lh-accent); }
.lh-cost-dl dd { font-weight: 700; }
.lh-cost-dl dd .lh-plain, .lh-cost-how { font-weight: 400; }
.lh-cost-dl dd[data-complete="false"] { color: #7a4b00; }
.lh-cost-formula { margin-top: 12px; }
.lh-cost-formula ul { margin: 8px 0; padding: 0 12px 0 32px; }
.lh-cost-notice { font-weight: 600; }
.lh-cost-ref { table-layout: auto; }
.lh-cost-agencies { padding-left: 20px; }
.lh-cost-agencies li { margin: 8px 0; }
.lh-cost-check { list-style: none; padding: 0; margin: 8px 0; }
.lh-cost-check li { border-bottom: 1px solid var(--lh-soft); }
.lh-cost-check label { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; padding: 10px 0; cursor: pointer; }
.lh-cost-check input { width: 1.25rem; height: 1.25rem; margin: 2px 0 0; flex: none; }
.lh-cost-link { background: var(--lh-accent-weak); border-radius: 8px; padding: 12px 14px; margin: 12px 0; }
.lh-cost-link p { margin: 0 0 6px; }
/* 비용 안내 연결(검색 첫 화면) */
.lh-cost-entry { border: 2px solid var(--lh-accent); border-radius: 8px; padding: 10px 14px; margin: 12px 0; display: flex; flex-wrap: wrap;
  align-items: center; gap: 4px 10px; }
.lh-cost-entry a { font-weight: 700; font-size: 1.05rem; display: inline-flex; align-items: center; min-height: 44px; }
.lh-cost-entry__kind { font-size: .85rem; font-weight: 700; background: var(--lh-accent-weak); border-radius: 999px; padding: 0 10px; }
.lh-cost-entry__desc { flex-basis: 100%; font-size: .9rem; color: var(--lh-muted); }
.lh-cost-link__go { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.lh-cost-link__go + .lh-small { display: block; }
@media (min-width: 40em) {
  .lh-cost-extra__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 60em) {
  .lh-cost-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lh-cost-extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media print {
  .lh-cost-extra, .lh-cost-check li, .lh-cost-result { break-inside: avoid; }
  .lh-cost input[type="range"] { display: none; }
  .lh-toc { display: none !important; }
}

/* ---------------- Phase C-4: 요양병원 예상비용 안내(첫 화면 참고 범위) ---------------- */
.lh-cost-hero { border: 2px solid var(--lh-accent); border-radius: 12px; padding: 16px; margin: 12px 0 16px; background: #fff; }
.lh-cost-hero__label { margin: 0; font-weight: 700; }
.lh-cost-hero__amount { margin: 4px 0; font-size: clamp(1.6rem, 7vw, 2.25rem); font-weight: 800; line-height: 1.2; color: var(--lh-accent); }
.lh-cost-hero__exact { margin: 0; font-weight: 600; }
.lh-cost-hero__note { margin: 10px 0 0; background: var(--lh-warn-bg); border-left: 4px solid var(--lh-warn-line); padding: 6px 10px; border-radius: 4px; }
.lh-cost-hero__cond { margin: 8px 0 0; font-size: .9rem; color: var(--lh-muted); }
.lh-cost-hero__ref { margin: 10px 0 0; }
.lh-cost-hero[data-lh-status="check"] .lh-cost-hero__amount, .lh-cost-hero[data-lh-status="invalid"] .lh-cost-hero__amount { font-size: 1.5rem; }
.lh-cost-hero[data-lh-status="invalid"] .lh-cost-hero__amount { color: #a30000; }
.lh-cost-sum { margin-top: 12px; }
.lh-cost-sum dd { font-weight: 700; }
.lh-cost-sum dd .lh-small { font-weight: 400; }
.lh-cost-unknown { color: #7a4b00; }
.lh-cost-msg { margin: 10px 0 0; }
.lh-cost-ref__sel { background: var(--lh-accent-weak); font-weight: 700; }
.lh-cost-exact { border-top: 2px solid var(--lh-line); }
.lh-cost-cases { padding-left: 20px; }
.lh-cost-cases li { margin: 10px 0; }
.lh-cost-support dd { font-weight: 400; }
@media print {
  .lh-cost-hero { break-inside: avoid; }
}
