  :root {
    --accent: #2563EB;
    --accent-dark: #1E3A8A;
    --accent-light: #EEF4FF;
    --ink: #1f2328;
    --gray-700: #444;
    --gray-600: #666;
    --gray-500: #686c70;   /* 2026-10-15(6단계): 흰 바탕 대비 4.5:1 이상(예전 #808388 3.8:1) */
    --gray-400: #5f6368;   /* 2026-10-15(6단계): 예전 #9aa0a6 2.6:1 */
    --gray-300: #ccc;
    --gray-200: #e2e2e2;
    --gray-100: #f5f6f7;
  }
  * { box-sizing: border-box; }
  /* 2026-09-15: 브라우저 기본 체크박스(문화재보호구역/건축물이력/범죄주의구간의 -toggle,
     마케팅 동의, 비교함 추가 등)는 여태 accent-color를 지정 안 해서 브라우저 기본값(파란색)
     그대로 나왔다. .category-checkbox는 appearance:none으로 직접 그리는 커스텀 토글이라
     accent-color의 영향을 받지 않으므로 이 규칙과 충돌하지 않는다. */
  input[type=checkbox] { accent-color: var(--accent); }
  /* 2026-09-30: --side = 데스크톱 결과 패널 폭(50%, 최소 560px). --hdr/--maph = 모바일 검색 후 헤더 높이/지도 띠 높이(JS가 --hdr 갱신). */
  :root { --side: 440px; --hdr: 64px; --maph: 35dvh; }   /* 2026-10-15(UI 개편 2단계): 데스크톱 결과 패널 440px(예전 max(560px, 50%)) */
  html, body { margin: 0; padding: 0; height: 100%; font-family: -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; color: var(--ink); }
  body { position: relative; overscroll-behavior: none; }

  /* ---------------- fullscreen map (base layer) ---------------- */
  #map { position: fixed; inset: 0; z-index: 0; background: #eef1ee; }
  /* 2026-10-12: 카카오 지도 SDK를 못 불러왔을 때 지도 자리에 내는 안내 한 줄(지도가 붙으면 지운다) */
  #mapNotice { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; font-size: var(--fs-0_8125rem, 0.875rem); line-height: 1.6; color: #555; }
  #mapNotice[hidden] { display: none; }
  /* 2026-10-15(UI 개편 1단계): 지도 구석 저작자 표시(OSM ODbL·연속지적도 CC BY·브이월드 로고) -- 검색 뒤에만. 데스크톱 오른쪽 아래, 휴대폰도 오른쪽 아래(왼쪽 아래는 카카오 로고·축척). */
  #mapCredit { position: absolute; right: 6px; bottom: 6px; z-index: 3; max-width: calc(100% - 12px); padding: 2px 6px; border-radius: 4px; background: rgba(255,255,255,.88); font-size: 0.625rem; line-height: 1.5; color: #444; display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; justify-content: flex-end; }
  #mapCredit a { color: #444; }
  #mapCredit img { height: 12px; width: auto; display: block; }
  body:not(.searched) #mapCredit { display: none; }
  @media (max-width: 767px) { #mapCredit { right: 4px; bottom: 4px; max-width: calc(100% - 150px); padding: 1px 4px; font-size: 0.5625rem; line-height: 1.35; } #mapCredit img { height: 10px; } body.map-folded #mapCredit { display: none; } }

  /* ---------------- floating search bar ---------------- */
  #searchbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: #fff; box-shadow: 0 2px 16px rgba(0,0,0,.12);
    padding: calc(10px + env(safe-area-inset-top)) calc(14px + env(safe-area-inset-right)) 12px calc(14px + env(safe-area-inset-left));
  }
  /* flex-wrap so #headerNav (added 2026-09-15) drops to its own line on narrow screens
     instead of squeezing the tagline -- stays on one line with the title at desktop widths. */
  #searchbar .title-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
  #searchbar h1 { font-size: 1.0625rem; margin: 0; color: var(--accent-dark); }
  #searchbar .headline { font-size: var(--fs-0_9375rem, 1rem); font-weight: 600; color: var(--ink); margin: 0 0 3px; }
  #searchbar .tagline { display: block; font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-600); margin-bottom: 8px; }
  /* about.html/data-sources.html were previously reachable only via small footer links at the
     bottom of the page -- added here so they're visible without scrolling. */
  #headerNav { display: flex; gap: 10px; margin-left: auto; }
  #headerNav a { font-size: var(--fs-0_9375rem, 1rem); color: #444; text-decoration: none; white-space: nowrap; } /* 2026-09-30: 15px·#444 */
  #headerNav a.nav-guide { font-weight: 700; }
  #headerNav a:hover { color: var(--accent-dark); text-decoration: underline; }
  /* 2026-10-10: 메뉴가 네 개가 되어 360px 이하에서는 둘째 줄로 내려간다 -- 이 폭에서만 간격·글자를 조금 줄여 한 줄에 */
  @media (max-width: 365px) { #searchbar .title-row { gap: 4px; } #headerNav { gap: 7px; } #headerNav a { font-size: 0.875rem; letter-spacing: -0.4px; } }
  #searchrow { display: flex; gap: 8px; }
  /* font-size stays >=16px on purpose: iOS Safari auto-zooms the page on focus for inputs below 16px */
  #addr { flex: 1 1 auto; min-width: 0; padding: 10px 12px; font-size: 1.0625rem; border: 1px solid var(--gray-300); border-radius: 8px; }
  #addr:focus { outline: 2px solid var(--accent-light); border-color: var(--accent); }
  #go { flex: none; padding: 10px 16px; font-size: 0.875rem; background: var(--accent); color: #fff; border: none; border-radius: 8px; cursor: pointer; }
  #go:hover { background: var(--accent-dark); }
  #go:disabled { background: var(--gray-300); cursor: default; }
  #radiusgroup { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
  .radius-btn { padding: 6px 10px; font-size: var(--fs-0_75rem, 0.875rem); border: 1px solid var(--gray-300); background: #fff; border-radius: 14px; cursor: pointer; color: var(--gray-700); }
  .radius-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
  #searchmsg { width: 100%; font-size: var(--fs-0_75rem, 0.875rem); color: #b3261e; margin-top: 6px; min-height: 14px; }
  /* 2026-09-30: 반경별 걸리는 시간(분당 약 67m·시속 4km 기준 대략값, 5km는 차로). 버튼 안 두 번째 줄은 모바일만. */
  .radius-time { display: none; }
  @media (max-width: 767px) {
    .radius-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; }
    .radius-time { display: block; font-size: var(--fs-0_8125rem, 0.875rem); letter-spacing: -0.6px; white-space: nowrap; opacity: .9; }

  }

  /* 2026-09-29: 검색 후 압축 헤더 -- performFullSearch 성공 시 body.searched. 히어로 카피·반경 칩·
     상단 링크를 숨기고 [로고][주소][반경 select][검색] 한 줄(약 60px)로 줄인다. 되돌리는 경로는 없다
     (압축 상태에서 재검색만 되면 됨, 사용자 결정). */
  body.searched #searchbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    padding-top: calc(10px + env(safe-area-inset-top)); padding-bottom: 10px; }
  body.searched #searchbar .title-row { margin: 0; flex: none; }
  body.searched #searchbar h1 { font-size: 1.0625rem; white-space: nowrap; }
  body.searched #headerNav, body.searched #searchbar .headline, body.searched #searchbar .tagline { display: none; }
  /* 2026-10-15(UI 개편 1단계): select 대신 칩 한 줄(헤더 둘째 줄, 다섯 칸 같은 폭, 두 줄 글자 -- 거리/걸리는 시간) */
  body.searched #radiusgroup { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; width: 100%; margin-top: 0; }
  body.searched .radius-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 44px; padding: 2px 0; font-size: 0.875rem; line-height: 1.2; border-radius: 10px; }
  body.searched .radius-time { display: block; font-size: var(--fs-0_7812rem, 0.875rem); white-space: nowrap; opacity: .9; }
  body.searched #searchrow { flex: 1 1 0; min-width: 0; gap: 6px; }
  body.searched #addr { padding: 8px 10px; }
  body.searched #go { padding: 8px 14px; }
  body.searched #searchmsg { margin-top: 0; min-height: 0; }
  body.searched #searchmsg:empty { display: none; }
  /* 2026-10-08(미리보기): 주소 후보 목록 */
  #geoChoice { width: 100%; margin-top: 6px; background: #fff; border: 1px solid var(--gray-300); border-radius: 8px;
    padding: 10px 12px; max-height: 50vh; overflow-y: auto; box-sizing: border-box; }
  #geoChoice .gc-msg { font-size: var(--fs-0_8125rem, 0.875rem); color: var(--gray-700); margin-bottom: 6px; line-height: 1.5; }
  #geoChoice .gc-list { display: flex; flex-direction: column; gap: 4px; }
  #geoChoice .gc-item { display: block; width: 100%; text-align: left; padding: 8px 10px; border: 1px solid var(--gray-200);
    background: #fff; border-radius: 6px; cursor: pointer; font-size: 0.875rem; color: var(--gray-800, #222); }
  #geoChoice .gc-item:hover, #geoChoice .gc-item:focus { border-color: var(--accent); outline: none; }
  #geoChoice .gc-sub { display: block; font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-500, #777); margin-top: 2px; }
  #geoChoice .gc-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-500, #777); }
  #reportProgress { margin-top: 10px; }
  #reportProgress .rp-bar { height: 8px; background: var(--gray-200); border-radius: 4px; overflow: hidden; }
  #reportProgress .rp-fill { height: 100%; width: 0; background: var(--accent); transition: width .3s; }
  #reportProgress .rp-text { margin-top: 6px; font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-600, #555); line-height: 1.5; }
  #geoChoice .gc-more, #geoChoice .gc-close { border: 1px solid var(--gray-300); background: #fff; border-radius: 6px; padding: 5px 10px; font-size: var(--fs-0_75rem, 0.875rem); cursor: pointer; }

  /* ---------------- floating status badge on the map ---------------- */
  #status {
    position: fixed; top: calc(160px + env(safe-area-inset-top)); left: 14px; z-index: 900;
    background: #fff; border-radius: 20px; box-shadow: 0 2px 10px rgba(0,0,0,.15);
    padding: 7px 14px; font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-700); max-width: calc(100vw - 28px);
  }

  /* ---------------- quick actions: save current address / open comparison ---------------- */
  @media (max-width: 767px) { body.searched #status { top: calc(68px + env(safe-area-inset-top)); max-width: calc(100vw - 118px); } }
  #quickActions {
    position: fixed; top: calc(204px + env(safe-area-inset-top)); left: 14px; z-index: 900;
    display: flex; gap: 8px; flex-wrap: wrap; max-width: calc(100vw - 28px);
  }
  @media (max-width: 767px) { body.searched #quickActions { top: calc(110px + env(safe-area-inset-top)); } }
  .quick-btn {
    background: #fff; border: 1px solid var(--gray-300); border-radius: 16px;
    padding: 6px 12px; font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-700); cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
  }
  .quick-btn.saved { border-color: var(--accent); color: var(--accent-dark); }

  /* ---------------- map legend: cluster badges + zone boundary colors ----------------
     2026-09-15: neither the clustered-count badges nor the colored zone outlines
     (heritage/district-plan/development/crime, see ZONE_COLOR* constants below) had
     any on-screen explanation. Bottom-left, above the sheet's collapsed peek on mobile
     (72px) so it doesn't get covered by it; on desktop the sheet no longer overlays the
     map, so it can sit lower (see media query further down). */
  #legendToggle {
    /* z-index 1001, not the site's usual 900: on mobile this button's bottom-left
       position falls inside #sheet's grid cell, and #sheet is a CSS Grid item with
       z-index:1000 on position:static -- Grid's special rule makes a non-auto z-index
       create a stacking context even without positioning, so 900 would paint under it.
       (Desktop no longer shares a cell with #sheet -- see 880px media query below --
       but the same z-index is harmless there since it just sits above the map.) */
    position: fixed; left: 14px; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 1001;
    background: #fff; border: 1px solid var(--gray-300); border-radius: 16px;
    padding: 6px 12px; font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-700); cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
  }
  #legendPanel {
    position: fixed; left: 14px; bottom: calc(128px + env(safe-area-inset-bottom)); z-index: 1001;
    background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.15);
    padding: 10px 12px; font-size: var(--fs-0_7188rem, 0.875rem); color: var(--gray-700); width: 230px; line-height: 1.5;
  }
  #legendPanel h3 { margin: 0 0 6px; font-size: var(--fs-0_75rem, 0.875rem); color: var(--ink); }
  #legendPanel .legend-row { display: flex; align-items: flex-start; gap: 7px; margin-bottom: 6px; }
  #legendPanel .legend-row:last-child { margin-bottom: 0; }
  #legendPanel .legend-swatch { flex: none; margin-top: 2px; }
  #legendPanel .legend-cluster-dot {
    width: 15px; height: 15px; border-radius: 50%; background: var(--gray-400);
    color: #fff; font-size: var(--fs-0_5625rem, 0.875rem); display: flex; align-items: center; justify-content: center;
  }
  #legendPanel .legend-line {
    width: 15px; height: 0; border-top: 3px solid; margin-top: 6px;
  }
  #legendPanel .legend-caption { color: var(--gray-500); margin-top: 4px; }
  #legendPanel .legend-pin-dot { width: 15px; height: 15px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
  #legendPanel .legend-radius { width: 15px; height: 15px; border-radius: 50%; border: 1.5px dashed var(--accent); background: rgba(37, 99, 235, .06); }

  /* ---------------- 검색 주소 핀 (kakao.maps.CustomOverlay content) ----------------
     2026-09-29: 📍 이모지 대신 딥그린 원형 핀 + "검색한 주소" 라벨. 오버레이 앵커는 원의 중심
     (36x36 박스의 0.5/0.5)이고 라벨은 absolute라 앵커 계산에 영향이 없다. */
  .search-pin { position: relative; width: 36px; height: 36px; cursor: pointer; }
  /* 2026-09-29(2단계): 주변 클러스터와 겹칠 때 구분되도록 흰 헤일로(4px) + 라벨을 흰 바탕·딥그린 글자·그림자로.
     클러스터 위치를 옮기는(오프셋) 방식은 실제 좌표를 왜곡해서 쓰지 않았다. z-order는 SEARCH_PIN_Z로 이미 최상단. */
  .search-pin-dot {
    width: 36px; height: 36px; border-radius: 50%; background: var(--accent);
    border: 3px solid #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.85), 0 3px 12px rgba(0,0,0,.4);
    display: flex; align-items: center; justify-content: center;
  }
  .search-pin-dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
  .search-pin-label {
    position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%);
    background: #fff; color: var(--accent-dark); font-size: var(--fs-0_75rem, 0.875rem); font-weight: 700; white-space: nowrap;
    padding: 4px 10px; border-radius: 12px; border: 1.5px solid var(--accent); box-shadow: 0 2px 8px rgba(0,0,0,.3);
  }
  .popup-zoom { margin: 6px 0 0 10px; padding: 0; border: none; background: none; color: var(--accent); font-size: var(--fs-0_75rem, 0.875rem); text-decoration: underline; cursor: pointer; }

  /* ---------------- 지도 레이어 버튼/패널 (2026-09-29, 구 "① 확인할 항목 선택") ----------------
     모바일: 버튼은 상태 칩과 같은 줄 오른쪽, 패널은 바텀시트(#sheet z 1000 위, 모달 1100 아래).
     데스크톱: 지도 컬럼 오른쪽 위(880px 미디어쿼리), 상태 칩은 버튼 왼쪽으로 비켜 선다. */
  #layerToggle {
    position: fixed; top: calc(68px + env(safe-area-inset-top)); right: 14px; z-index: 1001;
    background: #fff; border: 1px solid var(--gray-300); border-radius: 18px;
    padding: 7px 14px; font-size: var(--fs-0_7812rem, 0.875rem); font-weight: 600; color: var(--accent-dark); cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
  }
  #layerToggle[aria-expanded="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
  #layerBackdrop { position: fixed; inset: 0; background: rgba(0,0,0,.3); z-index: 1040; }
  #layerPanel {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1050;
    max-height: 75vh; max-height: 75dvh; overflow-y: auto; -webkit-overflow-scrolling: touch;
    background: #fff; border-radius: 16px 16px 0 0; box-shadow: 0 -6px 24px rgba(0,0,0,.18);
    padding: 14px calc(16px + env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));
  }
  #layerPanel[hidden], #layerBackdrop[hidden], #layerToggle[hidden] { display: none; }
  .layer-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
  .layer-title { font-size: 0.875rem; font-weight: 700; color: var(--ink); }
  .layer-head .toggleall { margin-left: auto; }
  .layer-close { border: none; background: none; font-size: 1.25rem; line-height: 1; color: var(--gray-400); cursor: pointer; padding: 2px 4px; }
  .layer-close:hover { color: var(--gray-700); }
  #layerPanel .group-sub-title { margin-top: 12px; }
  .cats-zero-toggle { display: inline-block; margin: 4px 0 0 8px; padding: 0; font-size: var(--fs-0_75rem, 0.875rem); color: var(--accent); background: none; border: none; cursor: pointer; text-decoration: underline; }
  .cats-zero-list[hidden] { display: none; }
  .crime-group-row { display: flex; align-items: center; gap: 8px; }
  .crime-group-more { margin-left: auto; padding: 0; font-size: var(--fs-0_7188rem, 0.875rem); color: var(--accent); background: none; border: none; cursor: pointer; text-decoration: underline; }
  .crime-group-more::after { content: ' ▾'; font-size: var(--fs-0_5625rem, 0.875rem); }
  .crime-group-more[aria-expanded="true"]::after { content: ' ▴'; }
  .crime-group-sub { padding-left: 22px; }
  .crime-group-note { margin: 2px 0 4px 22px; font-size: 13px; line-height: 1.5; color: var(--gray-600, #4b5563); }
  .crime-group-sub[hidden] { display: none; }
  @media (min-width: 768px) {
    /* 2026-09-15: 데스크톱은 좌측 사이드바(#sheet, 콘텐츠) + 우측 지도 2컬럼 레이아웃인데,
       left:14px 고정 위치는 모바일(맵 위에 시트가 겹치는 1컬럼) 기준이라 데스크톱에서는
       사이드바 안쪽에 떠서 스크롤되는 본문 텍스트와 겹쳤다. 지도 컬럼의 좌하단으로 옮긴다
       -- 우하단은 Leaflet 기본 attribution 컨트롤과, 좌상단은 기본 zoom 컨트롤과 겹치므로
       피했다. left 값은 body의 grid-template-columns 1번째 트랙과 동일한 clamp라서
       사이드바 폭이 바뀌어도 항상 지도 컬럼 경계에 붙는다. */
    #legendToggle { left: calc(var(--side) + 16px); bottom: 16px; }
    #legendPanel { left: calc(var(--side) + 16px); bottom: 56px; }
  }

  /* ---------------- sheet: bottom sheet (mobile) / sidebar body (desktop) ---------------- */
  #sheet {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
    height: 78vh; height: 78dvh; /* dvh (dynamic viewport height) accounts for iOS Safari's collapsing toolbar; vh is the fallback for older browsers */
    background: #fff; border-radius: 16px 16px 0 0;
    box-shadow: 0 -6px 24px rgba(0,0,0,.16);
    display: flex; flex-direction: column;
    padding-bottom: env(safe-area-inset-bottom); /* keep content clear of the home-indicator bar */
    transform: translateY(calc(100% - 72px));
    transition: transform .28s cubic-bezier(.22,.8,.28,1);
  }
  #sheet.dragging { transition: none; }
  #sheet.expanded { transform: translateY(0); }

  #sheetHandle { flex: none; padding: 10px 18px 8px; cursor: grab; touch-action: none; user-select: none; }
  #sheetHandle .bar { display: block; width: 38px; height: 4px; border-radius: 2px; background: var(--gray-300); margin: 0 auto 8px; }
  #peekSummary { font-size: var(--fs-0_8125rem, 0.875rem); color: var(--gray-700); text-align: center; }
  #peekSummary strong { color: var(--accent-dark); }

  #sheetBody { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 calc(16px + env(safe-area-inset-right)) 28px calc(16px + env(safe-area-inset-left)); }
  /* 2026-09-30: 결과 섹션 바로가기(#sectionNav) -- 시트 안, 스크롤 영역 위 한 줄. 현재 섹션은 aria-current로 표시. */
  #sectionNav { flex: none; display: flex; gap: 6px; padding: 2px calc(16px + env(safe-area-inset-right)) 0 calc(16px + env(safe-area-inset-left)); border-bottom: 1px solid var(--gray-200); background: #fff; overflow-x: auto; scrollbar-width: none; }
  #sectionNav::-webkit-scrollbar { display: none; }
  #sectionNav[hidden] { display: none; }
  #sectionNav a { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 10px; font-size: 0.875rem; color: var(--gray-700); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
  #sectionNav a[aria-current="true"] { color: var(--accent-dark); font-weight: 700; border-bottom-color: var(--accent-dark); }
  #sectionNav a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
  /* ---------------- 2026-09-30 모바일 지도 띠 ----------------
     검색 후 시트가 펼쳐진 상태(body.sheet-open)에서는 지도를 화면 위쪽 띠(--maph, 35%)로만 보여 주고 나머지를 결과 패널에
     쓴다. "지도 접기"(body.map-folded)면 띠 높이 0. 시트를 끌어내리면(sheet-open 해제) 예전처럼 지도 전체 화면.
     지도는 한 번 눌러야 끌기·확대가 된다(setMapInteractive) -- 패널을 만지면 다시 잠근다. */
  #mapFoldBtn { display: none; }
  #mapActivateHint { display: none; }
  @media (max-width: 767px) {
    body.searched.sheet-open #map { top: var(--hdr); bottom: auto; height: var(--maph); }
    body.searched.sheet-open #sheet { height: calc(100dvh - var(--hdr) - var(--maph)); border-radius: 12px 12px 0 0; }
    /* 2026-10-20(m2): 전체 단계에서도 지도 띠(--maph)는 그대로 -- 시트가 transform으로 올라가 덮는다(높이를 바꾸지 않아 화면 밀림 없음) */
    body.searched.sheet-open:not(.sheet-peek):not(.sheet-drag) #sheet { height: 100vh; height: 100dvh; transform: translateY(var(--sheety, 0px)) !important; transition: transform .28s cubic-bezier(.22,.8,.28,1); }
    body.searched.sheet-open:not(.sheet-peek):not(.sheet-drag) #sheetBody { padding-bottom: calc(76px + env(safe-area-inset-bottom) + var(--sheety, 0px)); scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom) + var(--sheety, 0px)); }
    body.searched.sheet-open.map-folded #status, body.searched.sheet-open.map-folded #layerToggle,
    body.searched.sheet-open.map-folded #legendToggle, body.searched.sheet-open.map-folded #legendPanel { display: none; }
    body.searched.sheet-open #legendToggle { bottom: auto; top: calc(var(--hdr) + var(--maph) - 40px); }
    body.searched.sheet-open #legendPanel { bottom: auto; top: calc(var(--hdr) + 8px); max-height: calc(var(--maph) - 56px); overflow-y: auto; }
    body.searched #mapFoldBtn { display: flex; flex: none; align-items: center; min-height: 44px; margin-left: auto; padding: 0 4px 0 10px; border: none; background: none; font: inherit; font-size: 0.875rem; color: var(--accent-dark); text-decoration: underline; cursor: pointer; white-space: nowrap; }
    body.searched.sheet-open:not(.map-folded) #mapActivateHint:not([hidden]) {
      display: block; position: fixed; right: 14px; top: calc(var(--hdr) + var(--maph) - 42px); z-index: 900;
      background: rgba(255,255,255,.95); color: var(--gray-700); font-size: var(--fs-0_8125rem, 0.875rem); padding: 6px 12px; border-radius: 16px;
      box-shadow: 0 2px 8px rgba(0,0,0,.15); pointer-events: none; white-space: nowrap;
    }
    #sectionNav a { flex: 0 1 auto; }
  }
  /* 2026-09-30: 실거래 목록 -- 이 집 기준(같은 단지·비슷한 면적) 묶음 */
  #re-basis { font-size: var(--fs-0_8125rem, 0.875rem); color: #666; margin: 0 0 8px; }
  #re-basis[hidden], #re-showall[hidden] { display: none; }
  .re-kind { display: inline-block; font-size: var(--fs-0_75rem, 0.875rem); font-weight: 700; color: var(--gray-700); border: 1px solid #999; border-radius: 4px; padding: 0 5px; margin-right: 6px; vertical-align: 1px; }
  .re-group-title { font-size: var(--fs-0_9375rem, 1rem); font-weight: 700; color: var(--gray-700); margin: 12px 0 6px; }
  .re-group-title:first-child { margin-top: 0; }
  .re-group-title .n { font-weight: 400; color: #666; margin-left: 4px; font-size: var(--fs-0_8125rem, 0.875rem); }
  .re-empty { font-size: var(--fs-0_9375rem, 1rem); color: #555; background: var(--gray-100); border-radius: 8px; padding: 12px 14px; line-height: 1.6; }
  #re-showall { display: block; width: 100%; min-height: 44px; margin-top: 10px; font: inherit; font-size: var(--fs-0_9375rem, 1rem); color: var(--accent-dark); background: #fff; border: 1px solid var(--gray-300); border-radius: 8px; cursor: pointer; }
  /* ---------------- 2026-09-30 모바일(≤879px) 결과 화면 넓히기 -- 데스크톱은 영향 없음 ----------------
     · 검색 후 헤더: 1줄 [주소][검색], 2줄 반경 버튼 5개(44px). 로고는 화면에서만 숨김(스크린리더용으로 남김).
     · 결과를 아래로 스크롤하면 헤더·지도를 접고(body.map-folded) 맨 위에 얇은 줄(#mapMiniBar: 주소 · 반경 [지도 보기])만 남긴다.
       탭(#sectionNav)은 그 바로 아래(시트 맨 위)에 고정. 맨 위로 올리거나 [지도 보기]를 누르면 다시 펼친다.
     · 시트 손잡이와 "반경 ○m 내 확인된 항목" 줄은 숨김, 지도 범례는 레이어 패널 안(#layerLegend)으로. */
  #mapMiniBar { display: none; }
  #layerLegend { display: none; }
  @media (max-width: 767px) {
    body.searched #searchbar { display: block; padding: calc(8px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) 8px calc(12px + env(safe-area-inset-left)); }
    body.searched #searchbar .title-row { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    body.searched #searchrow { gap: 8px; }
    body.searched #addr, body.searched #go { min-height: 44px; }
    body.searched #radiusgroup { display: flex; flex-wrap: nowrap; gap: 6px; margin-top: 8px; }
    body.searched .radius-btn { flex: 1 1 0; min-height: 44px; padding: 0 2px; font-size: 0.875rem; border-radius: 10px; }
    body.searched.sheet-open #sheetHandle { display: none; }
    /* 2026-10-20(m2): 전체 단계에서 머리줄을 숨기지 않는다(시트가 덮음 -- display:none이 아래 요소를 밀던 것 없앰) */
    body.searched.sheet-open.map-folded #mapMiniBar {
      display: flex; align-items: center; gap: 8px; position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
      background: #fff; border-bottom: 1px solid var(--gray-200); font-size: 0.875rem; color: var(--gray-700);
      padding: env(safe-area-inset-top) calc(12px + env(safe-area-inset-right)) 0 calc(16px + env(safe-area-inset-left));
    }
    #mapMiniBar .mini-text { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #mapMiniBar button { flex: none; min-height: 44px; padding: 0 6px; border: none; background: none; font: inherit; font-size: 0.875rem; color: var(--accent-dark); text-decoration: underline; cursor: pointer; }
    body.searched.sheet-open.map-folded #mapFoldBtn { display: none; }
    #legendToggle, #legendPanel { display: none !important; }
    #layerLegend { display: block; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--gray-200); font-size: var(--fs-0_7812rem, 0.875rem); color: var(--gray-700); line-height: 1.5; }
    #layerLegend h3 { margin: 0 0 6px; font-size: var(--fs-0_8125rem, 0.875rem); }
    #layerLegend .legend-row { display: flex; align-items: flex-start; gap: 7px; margin-bottom: 6px; }
    #layerLegend .legend-swatch { flex: none; margin-top: 2px; }
    #layerLegend .legend-cluster-dot { width: 15px; height: 15px; border-radius: 50%; background: var(--gray-400); color: #fff; font-size: var(--fs-0_5625rem, 0.875rem); display: flex; align-items: center; justify-content: center; }
    #layerLegend .legend-line { width: 15px; height: 0; border-top: 3px solid; margin-top: 6px; }
    #layerLegend .legend-pin-dot { width: 15px; height: 15px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
    #layerLegend .legend-radius { width: 15px; height: 15px; border-radius: 50%; border: 1.5px dashed var(--accent); background: rgba(37, 99, 235, .06); }
    #layerLegend .legend-caption { color: #666; margin-top: 4px; }
    .search-pin-label { bottom: calc(100% + 16px); } /* 숫자 묶음 마커와 덜 겹치게 조금 위로 */
    body.popup-open .search-pin-label { visibility: hidden; } /* 2026-10-06: 팝업이 열려 있는 동안 이름표가 팝업 위에 겹치지 않게(모바일만) */
    /* 헤더가 두 줄(주소·반경)로 늘어 상태 칩·레이어 버튼을 헤더 바로 아래(지도 띠 안)로 옮긴다 */
    body.searched.sheet-open #status { top: calc(var(--hdr) + 10px); }
    body.searched.sheet-open #layerToggle { top: calc(var(--hdr) + 8px); }
    /* 2026-09-30: 반경 버튼 두 줄(거리/걸리는 시간) -- 다섯 버튼을 같은 폭으로(글자 폭에 끌려 늘어나 5km가 잘리던 문제),
       헤더 좌우 여백·버튼 간격을 조금 줄여 390px에서 "도보 약 15분"이 한 줄에 들어가게 한다 */
    body.searched #searchbar { padding-left: calc(10px + env(safe-area-inset-left)); padding-right: calc(10px + env(safe-area-inset-right)); }
    body.searched #radiusgroup { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
    body.searched .radius-btn { min-width: 0; padding: 0; }
  }
  @media (max-width: 380px) {
    /* 더 좁은 화면(아이폰 SE·미니 등): 시간 줄이 버튼보다 길면 "도보 / 약 15분"으로 줄바꿈("약 15분"은 붙여 둠) */
    .radius-time { white-space: normal; }
    body.searched .radius-btn { padding: 4px 0; }
  }
  /* 2026-09-30: 등기부 PDF가 없는 사람용 접이식 안내 -- 본문 16px, 눌리는 제목 44px 이상 */
  .deedpdf-help { margin: 0 0 12px; border: 1px solid var(--gray-200); border-radius: 8px; background: #fff; }
  .deedpdf-help summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 14px; font-size: 1.0625rem; font-weight: 600; color: var(--gray-700); cursor: pointer; list-style: none; }
  .deedpdf-help summary::-webkit-details-marker { display: none; }
  .deedpdf-help summary::after { content: '+'; font-weight: 400; color: #666; font-size: 1.125rem; }
  .deedpdf-help[open] summary::after { content: '−'; }
  .deedpdf-help-body { padding: 0 14px 14px; font-size: 1.0625rem; color: var(--gray-700); line-height: 1.6; }
  .deedpdf-help-body h4 { font-size: 1.0625rem; margin: 10px 0 4px; color: var(--ink); }
  .deedpdf-help-body ol { margin: 0; padding-left: 22px; }
  .deedpdf-help-body li { margin-bottom: 4px; }
  .deedpdf-help-body p { margin: 0 0 6px; }
  .deedpdf-help-note { display: block; font-size: var(--fs-0_9375rem, 1rem); color: #555; }
  .deedpdf-help-warn { font-size: var(--fs-0_9375rem, 1rem); color: #555; background: var(--gray-100); border-radius: 6px; padding: 8px 10px; margin-top: 8px !important; }
  .deedpdf-help-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; }
  .deedpdf-help-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.0625rem; color: var(--accent); text-decoration: underline; }
  #sheetBody section { padding: 14px 0; border-bottom: 1px solid var(--gray-200); }
  #sheetBody section:last-of-type { border-bottom: none; }
  #sheetBody h2 { font-size: var(--fs-0_8438rem, 0.875rem); margin: 0 0 10px; color: var(--gray-700); display: flex; align-items: center; justify-content: space-between; }

  /* ---------------- 2026-09-14 UI 정리: "위험·안전 정보" vs "개발·규제 정보" 2그룹 분리로
     시작(안 A 채택). API 응답 구조는 그대로 두고 순수 표시 레이어(헤더/서브헤더/캡션)만
     추가했었다. 2026-09-18: "개발·규제 정보" 상위 그룹을 폐지하고 그 5개 항목을 "위험·안전
     정보"의 가치영향 하위그룹으로 흡수(사용자 요청) -- .group은 이제 1개만 남았지만 클래스는
     그대로 재사용(추가 그룹이 생길 수 있어 제거하지 않음). ---------------- */
  .group { }
  .group-title { font-size: var(--fs-0_9375rem, 1rem); font-weight: 700; color: var(--accent-dark); margin: 4px 0 6px; padding-top: 18px; border-top: 2px solid var(--gray-200); }
  .group:first-of-type .group-title { border-top: none; padding-top: 0; }
  .group-sub-title { font-size: var(--fs-0_75rem, 0.875rem); font-weight: 600; color: var(--gray-600); margin: 14px 0 6px; }
  .group-sub-title:first-of-type { margin-top: 0; }
  /* 2026-10-01: 결과 맨 위 "검색한 주소" 줄, 새 검색 중에는 이전 결과를 흐리게 */
  .searched-addr { font-size: var(--fs-0_9375rem, 1rem); font-weight: 600; color: var(--ink, #222); padding: 10px 12px; margin: 0 0 10px; background: var(--gray-100, #f3f4f6); border-radius: 8px; }
  body.results-pending #sheetBody > *:not(#searchedAddr):not(#serviceDesc) { opacity: .35; pointer-events: none; }
  .group-caption { font-size: var(--fs-0_6875rem, 0.875rem); color: var(--gray-400); line-height: 1.5; padding: 10px 0 0; }
  /* 2026-10-01: 외부 조회 실패 안내(서버 group 'unavailable') -- 확인 결과가 아니라 회색으로 구분 */
  .summary-item.pt-unavailable { color: var(--gray-600); }

  /* 2026-09-16: "② 확인 결과"를 가치영향/참고용 두 하위그룹으로 나눌 때 쓰는 구분선 --
     .group-title의 border-top 톤을 그대로 재사용하되, 최상위 그룹 사이보다 옅게(gray-100). */
  .hs-supergroup-divider { border-top: 1px solid var(--gray-100); margin: 18px 0 4px; }

  #serviceDesc { font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-500); line-height: 1.6; }
  /* ---------------- 2026-09-30 검색 전 첫 화면(body에 .searched가 없을 때만 보이는 요소들) ---------------- */
  .landing-desc { margin: 0 0 14px; font-size: 1.0625rem; color: #444; line-height: 1.65; }
  .landing-features-title { font-size: var(--fs-0_9375rem, 1rem); font-weight: 700; color: var(--gray-700); margin-bottom: 6px; }
  .landing-features { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
  .landing-features li { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; color: #444; line-height: 1.5; }
  .landing-features svg { flex: none; color: #666; margin-top: 2px; }
  .landing-features li { align-items: flex-start; } /* 2026-10-10: 두 줄로 넘어가는 항목은 아이콘을 첫 줄에 맞춘다 */
  .example-btn { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 6px; width: 100%; min-height: 48px; padding: 8px 12px; font: inherit; font-size: 1.0625rem; font-weight: 700; color: var(--accent-dark); background: #fff; border: 1.5px solid var(--accent); border-radius: 10px; cursor: pointer; }
  #serviceDesc .example-btn { margin-bottom: 14px; }
  /* 2026-10-15(UI 개편 1단계): "집 밖에서 확인할 수 있는 것" 5칸 카드 -- 휴대폰 한 열(아이콘 + 굵은 제목 · 설명), 768px 이상 두 열 */
  h2.landing-features-title { margin: 2px 0 6px; font-size: var(--fs-0_9375rem, 1rem); font-weight: 700; color: var(--gray-700); }
  .landing-features { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 0 0 10px; }
  .landing-features li.lf-card { display: flex; align-items: flex-start; gap: 8px; padding: 7px 12px; border: 1px solid var(--gray-200); border-radius: 10px; background: #fff; font-size: var(--fs-0_8438rem, 0.875rem); line-height: 1.45; color: #444; }
  .landing-features li.lf-card svg { flex: none; margin-top: 1px; width: 18px; height: 18px; color: #555; }
  .landing-features li.lf-card b { font-size: var(--fs-0_9062rem, 1rem); color: var(--ink); }
  @media (min-width: 600px) { .landing-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  #landingRegistryCard { margin-top: 0; padding: 9px 14px; }
  #serviceDesc .example-btn { margin-bottom: 10px; min-height: 44px; padding: 5px 12px; font-size: var(--fs-0_9375rem, 1rem); }
  /* 반경 칩 시간 글자가 370~380px에서 세 줄로 접히지 않게(그보다 좁으면 예전처럼 줄바꿈) */
  @media (min-width: 370px) and (max-width: 380px) { .radius-time { white-space: nowrap !important; font-size: var(--fs-0_75rem, 0.875rem) !important; letter-spacing: -0.8px !important; } }
  /* 검색 전 첫 화면 여백 줄이기(섹션 위아래·바닥글) -- 검색 뒤 결과 화면 여백은 그대로 */
  body:not(.searched) #serviceDesc { padding-bottom: 8px; border-bottom: none; }
  body:not(.searched) #privacyfaq { padding: 4px 0 6px; }
  body:not(.searched) footer#disclaimer { padding-top: 8px; }
  .landing-features li.lf-card { padding: 5px 12px; line-height: 1.4; }
  footer#disclaimer .foot-updated { display: inline-block !important; margin: 0 0 0 4px !important; }
  /* 부제 한 줄 */
  #searchbar .tagline { font-size: var(--fs-0_8125rem, 0.875rem); }
  #landingRegistryCard .gc-title { margin: 0; font-size: 1.0625rem; }
  #landingRegistryCard .gc-kicker { margin-top: 2px; font-size: 0.875rem; text-decoration: underline; text-underline-offset: 3px; } /* 2026-10-10: 안내 맨 위(검색창 바로 아래)로 옮김 */
  .example-card { margin: 0 0 10px; padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: 10px; background: #fff; }
  .example-card[hidden] { display: none; }
  .example-card { cursor: pointer; }
  /* 2026-10-15(PageSpeed CLS): 카드가 나올 첫 화면이면 그리기 전에 자리를 잡아 둔다(보이지 않게) -- 데이터가 오면 카드를 보이고 자리 잡기를 푼다 */
  .example-card.ec-reserve { display: block !important; visibility: hidden; min-height: 509px; }
  @media (max-width: 600px) { .example-card.ec-reserve { min-height: 766px; } }
  .example-card .example-btn { margin: 8px 0 2px; min-height: 44px; }
  .example-card:hover { border-color: var(--accent); }
  .ec-title { font-size: 1.0625rem; font-weight: 700; color: var(--ink); line-height: 1.5; }
  .ec-asof { font-size: var(--fs-0_8125rem, 0.875rem); font-weight: 400; color: #666; white-space: nowrap; }
  .ec-rows { margin: 8px 0 0; }
  .ec-rows dt { font-size: var(--fs-0_8125rem, 0.875rem); font-weight: 600; color: #555; margin-top: 6px; }
  .ec-rows dt:first-child { margin-top: 0; }
  .ec-rows dd { margin: 1px 0 0; font-size: var(--fs-0_9375rem, 1rem); color: #444; line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; }
  .landing-features a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
  .example-btn:hover { background: var(--accent-light); }
  .example-btn .example-addr { font-weight: 400; font-size: 0.875rem; color: #555; }
  .guide-card { display: block; margin-top: 12px; padding: 14px 16px; border-radius: 10px; background: var(--accent-light); color: var(--accent-dark); text-decoration: none; border: 1px solid #C7D7FE; }
  .guide-card:hover { border-color: var(--accent); }
  .guide-card .gc-kicker { display: block; font-size: 0.875rem; color: #334155; }
  .guide-card .gc-title { display: block; margin-top: 2px; font-size: 1.0625rem; font-weight: 700; }
  #trustLine { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: var(--fs-0_9375rem, 1rem); color: #444; }
  #trustLine svg { flex: none; color: #666; }
  body.searched #trustLine { display: none; }
  /* 2026-10-21(m6, 새 대문 시안 3판): 검색 전 첫 화면. 검색 뒤(body.searched)·검색 중(body.searching)·등기부 확인 페이지(body.registry-page, build.py가 이 파일로 만듦)는 예전 규칙 그대로 */
  :root { --hero-bg: #F5F8FF; }
  body:not(.searched):not(.searching):not(.registry-page) #searchbar { background: var(--hero-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='%23c9d8d1' stroke-width='1.2'%3E%3Cpath d='M-10 60 C80 50 140 90 230 70 S360 40 420 60'/%3E%3Cpath d='M-10 170 C70 150 150 200 250 175 S350 150 420 165'/%3E%3Cpath d='M60 -10 C70 80 40 160 70 310'/%3E%3Cpath d='M190 -10 C180 90 215 180 195 310'/%3E%3Cpath d='M320 -10 C335 100 300 200 330 310'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat; }
  body:not(.searched):not(.searching):not(.registry-page) #sheet, body:not(.searched):not(.searching):not(.registry-page) #sheetBody { background: var(--hero-bg); }
  body:not(.searched):not(.searching):not(.registry-page) #searchbar .headline { font-size: 1.625rem; line-height: 1.3; font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 4px; word-break: keep-all; }
  body:not(.searched):not(.searching):not(.registry-page) #searchbar .tagline { font-size: var(--fs-0_9375rem, 1rem); color: #444; margin-bottom: 12px; }
  #searchbar .tagline a { color: var(--accent-dark); }
  body:not(.searched):not(.searching):not(.registry-page) #searchrow { background: #fff; border: 2px solid var(--accent); border-radius: 14px; padding: 6px 6px 6px 10px; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.10); }
  body:not(.searched):not(.searching):not(.registry-page) #addr { border: 0; outline: none; background: transparent; padding: 8px 4px; }
  body:not(.searched):not(.searching):not(.registry-page) #go { min-height: 48px; padding: 0 18px; border-radius: 10px; font-size: 1rem; font-weight: 700; }
  #radChip { display: none; }
  body:not(.searched):not(.searching):not(.registry-page) #radChip { display: inline-flex; align-items: center; min-height: 40px; margin-top: 8px; padding: 0 12px; border: 1px solid var(--gray-300); border-radius: 999px; background: #fff; color: #444; font: inherit; font-size: 0.875rem; white-space: nowrap; cursor: pointer; }
  body:not(.searched):not(.searching):not(.registry-page):not(.rad-open) #radiusgroup { display: none !important; }
  body:not(.searched):not(.searching):not(.registry-page).rad-open #radiusgroup { margin-top: 6px; }
  body:not(.searched):not(.searching):not(.registry-page) #trustLine { margin-top: 6px; font-size: var(--fs-0_8125rem, 0.875rem); }
  #navMenu { display: none; }
  @media (max-width: 600px) {
    body:not(.searched):not(.searching):not(.registry-page) #headerNav { display: none; }
    body:not(.searched):not(.searching):not(.registry-page) #navMenu { display: block; order: 9; margin-left: 2px; position: relative; }
    body:not(.searched):not(.searching):not(.registry-page) #searchbar .fs-ctl { margin-left: auto !important; }
  }
  #navMenu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 1.375rem; color: var(--accent-dark); border-radius: 8px; }
  #navMenu summary::-webkit-details-marker { display: none; }
  #navMenu .nm-list { position: absolute; right: 0; top: 46px; z-index: 1200; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gray-200); border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,0.08); min-width: 11em; padding: 4px 0; }
  #navMenu .nm-list a { padding: 0 16px; min-height: 44px; display: flex; align-items: center; font-size: var(--fs-0_9375rem, 1rem); color: #444; text-decoration: none; }
  body:not(.searched) #landingFeaturesTitle, body:not(.searched) #landingFeatures { display: none; }
  .area-cards-title { margin: 4px 0 8px; font-size: var(--fs-0_9375rem, 1rem); font-weight: 700; color: #444; }
  #areaCards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; }
  #areaCards .ac-card { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; padding: 10px; min-height: 60px; color: var(--ink); text-decoration: none; }
  #areaCards .ac-card svg { color: var(--accent); }
  #areaCards .ac-card b { display: block; font-size: var(--fs-0_9375rem, 1rem); }
  #areaCards .ac-card span span { display: block; font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-600); line-height: 1.35; }
  #areaCards .ac-sample { background: var(--accent-light); border-color: #C7D7FE; color: var(--accent-dark); }
  #areaCards .ac-sample svg, #areaCards .ac-sample span span { color: var(--accent-dark); }
  @media (min-width: 768px) {
    body:not(.searched):not(.searching):not(.registry-page) #searchbar .headline { font-size: 2.25rem; margin-top: 18px; }
    body:not(.searched):not(.searching):not(.registry-page) #searchbar .tagline { font-size: 1.0625rem; }
    #areaCards { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
    #areaCards .ac-card { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 14px 6px; min-height: 120px; }
  }
  body.searched #areaCards, body.searched .area-cards-title { display: none; }
  @media (max-width: 420px) { #headerNav { gap: 8px; flex-wrap: wrap; row-gap: 0; } #headerNav a { font-size: 0.875rem; letter-spacing: -0.3px; } }   /* 메뉴 5개(샘플 리포트)가 좁은 화면에서 넘치지 않게 */
  body:not(.searched) #resection { display: none; } /* 검색 전 빈 "최근 실거래가" 섹션 숨김 */
  body:not(.searched):not(.searching) #status { display: none; } /* 왼쪽 검색창과 겹치는 "주소를 검색해 주세요" 알약 */
  #mapIntroCard { display: none; }
  @media (min-width: 768px) {
    /* 2026-09-30 데스크톱 검색 전: 빈 오류 메시지 자리 숨김·헤더 아래 여백 축소, 반경 칩에 걸리는 시간(두 줄) */
    body:not(.searched):not(.searching) #searchmsg:empty { display: none; }
    body:not(.searched):not(.searching) #searchbar { padding-bottom: 10px; }
    body:not(.searched) #radiusgroup { gap: 8px; }
    body:not(.searched) .radius-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 96px; min-height: 44px; padding: 4px 12px; border-radius: 10px; font-size: 0.875rem; line-height: 1.25; }
    body:not(.searched) .radius-time { display: block; font-size: var(--fs-0_8125rem, 0.875rem); opacity: .9; white-space: nowrap; }
  }
  /* 2026-10-10(사용자 요청): 검색 전에는 빈 칸을 보이지 않는다 -- 반경 선택(기본 500m로 검색, 결과 화면에서 바꾼다),
     빈 "상세 정보" 제목, 데스크톱의 빈 지도·지도 범례·지도 안내 카드(#mapIntroCard는 이제 늘 숨김).
     지도는 자리와 크기를 그대로 둔 채 가리기만 한다(display:none이면 카카오 지도가 크기 0으로 만들어진다). 그 위로 검색창과
     안내를 한 단(가운데 720px)으로 펼친다. 검색을 시작하면(body.searching) 예전 2단 화면이고, 검색 뒤(body.searched) 규칙은 그대로다. */
  /* 2026-10-15(UI 개편 1단계): 반경 칩은 검색 전에도 보인다(위 10-10 결정 중 반경 선택 숨김만 되돌림) */
  .radius-btn:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; }
  #searchbar .tagline { word-break: keep-all; } /* 낱말 중간에서 줄이 바뀌지 않게(검색 뒤에는 이 줄이 숨겨진다) */
  body:not(.searched) #group-risk { display: none; }
  /* 2026-10-10(사용자 결정): 등기부등본 블록은 검색 전 첫 화면에서 빼고 /jipcheck/registry/ 로(guide/build.py가 이 파일에서 만든다 --
     body.registry-page). 검색 뒤 결과 화면의 자리·동작은 그대로다. */
  body:not(.searched):not(.registry-page) #deedguide { display: none; }
  body.searching:not(.searched) #peekSummary { visibility: hidden; } /* 모바일 검색 중: "주소를 검색하면 결과가 여기에 표시됩니다" */
  @media (min-width: 768px) {
    body:not(.searched):not(.searching) #map { visibility: hidden; }
    body.jc-early #map { visibility: hidden; }   /* 2026-10-16: 공유 링크로 열 때 문서를 다 읽기 전 지도 자리 밀림 방지 */
    body:not(.searched):not(.searching) #legendToggle, body:not(.searched):not(.searching) #legendPanel { display: none; }
    body:not(.searched):not(.searching) #searchbar, body:not(.searched):not(.searching) #sheet { grid-column: 1 / 3; }
    body:not(.searched):not(.searching) #sheet { border-right: none; }
    body:not(.searched):not(.searching) #searchbar { padding-left: max(14px, calc(50% - 360px)); padding-right: max(14px, calc(50% - 360px)); }
    body:not(.searched):not(.searching) #sheetBody { padding-left: max(16px, calc(50% - 360px)); padding-right: max(16px, calc(50% - 360px)); }
  }
  @media (max-width: 767px) {
    /* 검색 전 모바일: 결과 패널을 헤더 바로 아래까지 펼쳐 안내가 스크롤 없이 보이게(지도는 검색 후에 띠로 나온다) */
    body:not(.searched):not(.searching) #sheet { top: var(--hdr); height: auto; transform: none !important; border-radius: 0; box-shadow: none; }
    body:not(.searched):not(.searching) #sheetHandle { display: none; }
    #radiusgroup { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
    .radius-btn { min-width: 0; padding: 0; min-height: 44px; font-size: 0.875rem; border-radius: 10px; }
    #searchbar { padding-left: calc(10px + env(safe-area-inset-left)); padding-right: calc(10px + env(safe-area-inset-right)); } /* 반경 버튼 두 줄 글자 폭 확보 */
    /* 검색 전 첫 화면 여백 줄이기: 빈 오류 메시지 자리 숨김, 헤더 아래·안내 섹션 위 여백 축소 -- 계약 가이드 카드까지 첫 화면에 */
    body:not(.searched):not(.searching) #searchmsg:empty { display: none; }
    body:not(.searched):not(.searching) #searchbar { padding-bottom: 6px; }
    body:not(.searched):not(.searching) #serviceDesc { padding-top: 6px; }
  }

  /* ---------------- 사이트 전체 프라이버시 배지: 검색/등기부등본 분석 모두 브라우저 안에서만
     처리된다는 점을 소개 문구 아래에서 상시 노출. 자물쇠 아이콘 등 장식 없이 텍스트로만,
     기존 accent 톤(accent-light 배경 + accent-dark 텍스트) 재사용 -- 새 색상 추가 없음. ---------------- */
  .trust-badge { margin-top: 8px; padding: 8px 10px; background: var(--accent-light); color: var(--accent-dark); border-radius: 8px; font-size: var(--fs-0_7188rem, 0.875rem); line-height: 1.5; }

  /* shared pictogram styling: every category icon renders in this one brand tone,
     never per-category color -- shape is the only thing that differs between categories
     (site-wide policy: category color = differentiation only, never a risk signal) */
  .picto { color: var(--accent); flex: none; display: inline-block; vertical-align: middle; }

  #hs-chips-value, #hs-chips-ref { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hs-none { font-size: var(--fs-0_7812rem, 0.875rem); color: var(--gray-500); background: var(--gray-100); padding: 9px 10px; border-radius: 8px; }
  .hs-chip { display: flex; flex-direction: column; min-width: 0; }
  .hs-chip-btn {
    display: flex; align-items: center; gap: 6px; padding: 10px 12px; border: 1px solid #e0e0e0;
    border-radius: 8px; background: #fafafa; cursor: pointer; font-size: var(--fs-0_8125rem, 0.875rem); color: var(--gray-700);
    width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .hs-chip-btn:hover { background: #ececec; }
  /* 2026-09-29: 누르면 목록이 펼쳐지는 칩은 오른쪽 ›, 동작 없는 칩은 테두리 없는 텍스트 태그 */
  .hs-chip-btn .hs-chip-arrow { margin-left: auto; color: var(--gray-400); font-size: 0.875rem; line-height: 1; }
  .hs-chip-tag { display: flex; align-items: center; gap: 6px; padding: 6px 2px; font-size: var(--fs-0_8125rem, 0.875rem); color: var(--gray-700); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hs-chip-tag .cnt { color: #444; } /* 2026-09-30: 본문과 같은 #444 */
  .hs-chip-btn .cnt { color: #444; }
  .hs-detail { margin-top: 5px; padding: 8px 10px; background: var(--gray-100); border-radius: 8px; font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-700); max-width: 320px; display: flex; flex-direction: column; }
  /* an explicit display:flex above always beats the browser's default [hidden]{display:none}
     (author styles win over user-agent styles regardless of selector specificity), so toggling
     the hidden attribute alone does nothing unless we restate it here -- same fix already
     applied to .modal-backdrop/.modal-panel below, just missing here and on #hs-allcats. */
  .hs-detail[hidden] { display: none; }
  .hs-history-badge { margin-left: 6px; font-size: var(--fs-0_6562rem, 0.875rem); color: var(--gray-500); font-weight: normal; }
  .hs-detail-row {
    display: flex; justify-content: space-between; gap: 10px; padding: 4px 4px; border-bottom: 1px dashed #ddd;
    border-radius: 6px; border-left: none; border-right: none; border-top: none;
    background: none; font: inherit; color: inherit; text-align: left; width: 100%; cursor: pointer;
  }
  .hs-detail-row:hover { background: #ececec; }
  .hs-detail-row .hs-detail-sub, .ur-row .hs-detail-sub { display: block; font-size: var(--fs-0_7188rem, 0.875rem); color: var(--gray-500); font-weight: 400; }
  .hs-detail-row:last-of-type { border-bottom: none; }
  .hs-detail-row span:first-child { flex: 1; }
  /* selection state on a LIST row is a neutral UI affordance (background + weight), not a risk
     signal -- distinct from map markers, which must never change color to show "selected" */
  .hs-detail-row.selected { background: var(--accent-light); font-weight: 700; }
  .hs-detail-more { margin-top: 4px; color: var(--gray-400); }
  .hs-detail-note { margin-top: 6px; padding-top: 6px; border-top: 1px dashed #ddd; color: var(--gray-400); font-size: var(--fs-0_6562rem, 0.875rem); line-height: 1.5; }
  .hs-detail-note a { color: inherit; text-decoration: underline; }
  /* 정비사업 목록: hs-detail-row와 같은 줄 레이아웃이지만 지도 마커로 이어지는 클릭이
     없는 순수 텍스트 목록이라 버튼이 아닌 일반 행으로 둔다(cursor:default). */
  .ur-row { display: flex; justify-content: space-between; gap: 10px; padding: 4px 4px; border-bottom: 1px dashed #ddd; font-size: var(--fs-0_7812rem, 0.875rem); color: var(--gray-700); }
  .ur-row:last-of-type { border-bottom: none; }
  .ur-row span:first-child { flex: 1; }
  /* 2026-09-15: "외 N건 더 확인됨"을 클릭 가능한 토글 버튼으로 -- hs-toggleall과 같은
     밑줄 링크 스타일에 방향이 바뀌는 화살표만 더했다(펼침 상태를 아이콘으로도 표시). */
  .ur-more-btn { display: inline-flex; align-items: center; gap: 3px; margin-top: 4px; font-size: var(--fs-0_75rem, 0.875rem); color: var(--accent); background: none; border: none; cursor: pointer; text-decoration: underline; padding: 0; }
  .ur-more-btn::after { content: '▾'; font-size: var(--fs-0_5625rem, 0.875rem); text-decoration: none; }
  .ur-more-btn.expanded::after { content: '▴'; }
  #hs-toggleall-value, #hs-toggleall-ref, #ds-toggleall { display: inline-block; margin-top: 10px; font-size: var(--fs-0_75rem, 0.875rem); color: var(--accent); background: none; border: none; cursor: pointer; text-decoration: underline; padding: 0; }
  #hs-allcats-value, #hs-allcats-ref, #ds-allcats { margin-top: 8px; display: flex; flex-direction: column; gap: 5px; }
  #hs-allcats-value[hidden], #hs-allcats-ref[hidden], #ds-allcats[hidden] { display: none; }
  #hs-toggleall-value[hidden] { display: none; }
  .hs-allrow { display: flex; align-items: center; gap: 8px; font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-500); background: var(--gray-100); padding: 5px 8px; border-radius: 6px; }
  .hs-allrow .hs-allstatus { margin-left: auto; color: var(--gray-400); }

  /* natural-language summary: plain descriptive sentences only, no risk wording/color/score --
     same neutral-tone policy as the rest of this file (see BRAND comment further down) */
  .summary-item {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: var(--fs-0_8125rem, 0.875rem); color: var(--gray-700); line-height: 1.5;
    background: #f7f7f7; padding: 12px 14px; border-radius: 8px;
  }

  .toggleall { font-size: var(--fs-0_6875rem, 0.875rem); color: var(--accent); cursor: pointer; text-decoration: underline; font-weight: normal; }

  /* 시군구 도시침수 참고정보: hs-toggleall/ur-row와 같은 기존 스타일을 그대로 재사용한다
     (새 시각 언어를 만들지 않음). */
  #floodstats-toggle { display: inline-block; margin-top: 8px; font-size: var(--fs-0_75rem, 0.875rem); color: var(--accent); background: none; border: none; cursor: pointer; text-decoration: underline; padding: 0; }
  #floodstats-toggle[hidden] { display: none; } /* 2026-10-01: 통계 조회 실패 때 숨김 */
  #floodstatstable { margin-top: 8px; display: flex; flex-direction: column; }
  /* 출처/면책 표기는 본문 문장과 분리해서 .note와 같은 톤(회색/작은 글씨)으로 -- 새 시각
     언어 추가 없이 #khugbox .note 등 기존 캡션 스타일 재사용 */
  #floodstatscaption { color: #666; font-size: var(--fs-0_8125rem, 0.875rem); margin-top: 4px; line-height: 1.5; } /* 2026-09-30: 출처 기준(13px·#666) */
  #floodinfowrap .flood-sub { font-size: var(--fs-0_8125rem, 0.875rem); font-weight: 600; color: #555; margin: 10px 0 6px; } /* 섹션 제목(13.5px 굵게)보다 한 단계 아래 */
  #floodinfowrap #floodstatswrap { margin-top: 16px; }
  #floodstatstable[hidden] { display: none; }
  #floodstatstable .ur-row > span:first-child { flex: none; white-space: nowrap; } /* 2026-09-30: 비율이 붙어 오른쪽이 길어져도 "30년 빈도"가 세로로 꺾이지 않게 */
  #catshelp { font-size: var(--fs-0_7188rem, 0.875rem); color: var(--gray-500); line-height: 1.5; margin-bottom: 8px; }
  /* 기존 <input type="checkbox">를 감추고 커스텀 토글로 교체 (2026-09-15) */
  .category-item { display: flex; align-items: center; gap: 10px; padding: 6px 8px; margin: 2px 0; font-size: var(--fs-0_7812rem, 0.875rem); cursor: pointer; border-radius: 6px; }
  .category-item:hover { background: var(--gray-100); } /* hover 시에도 클릭 가능함을 암시 */
  /* 2026-09-15: 0건/1건이상 항목이 똑같은 회색 톤이라 스캔하기 어렵다는 피드백 -- 건수가
     있는 항목은 라벨/숫자를 진하게+굵게, 0건 항목은 더 연하게(#999에 해당하는 --gray-400)
     처리해 리스트를 훑어봤을 때 "건수 있는 항목"이 바로 눈에 띄도록 했다. */
  .category-item .category-label { font-weight: 600; }
  .category-item.no-map { cursor: default; padding-left: 40px; } /* 체크박스 자리(체크박스+gap)만큼 들여 아이콘 줄을 맞춘다 */
  .category-item.no-map:hover { background: none; }
  .category-item .category-nomap { font-size: var(--fs-0_6875rem, 0.875rem); color: var(--gray-500); }
  .category-item .category-count { font-weight: 700; color: var(--ink); }
  .category-item.zero { color: var(--gray-400); cursor: default; }
  .category-item.zero:hover { background: none; }
  .category-item.zero .picto { color: var(--gray-400); }
  .category-item.zero .category-label { font-weight: 400; }
  .category-item.zero .category-count { font-weight: 400; color: var(--gray-400); }
  .category-checkbox {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;    /* Firefox는 이게 없으면 appearance:none을 무시하고
                                  기본(파란) 체크박스를 그대로 그림 */
    width: 22px;              /* 기존 16px → 22px로 확대 */
    height: 22px;
    margin: 0;
    border: 2px solid var(--gray-400);
    border-radius: 5px;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    transition: all 0.15s ease;
  }
  .category-checkbox:checked { background: var(--accent); border-color: var(--accent); } /* 검색 버튼/반경 버튼과 동일한 녹색 */
  .category-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  .category-checkbox:disabled { cursor: default; border-color: var(--gray-300); }
  .category-label { flex: 1; }
  .category-count { margin-left: auto; padding-left: 6px; font-variant-numeric: tabular-nums; } /* 숫자 정렬 깔끔하게 -- 색/굵기는 .category-item(.zero) .category-count에서 결정 */
  #khugbox, #ntsbox, #wetaxbox { font-size: var(--fs-0_7812rem, 0.875rem); background: var(--gray-100); border-radius: 8px; padding: 8px 10px; margin-top: 10px; }
  #khugbox .note, #ntsbox .note, #wetaxbox .note { color: #555; font-size: var(--fs-0_9375rem, 1rem); line-height: 1.6; margin-top: 4px; } /* 2026-09-30: 설명문 기준(15px·#555) */
  #khugwrap .deedguide-links > span { font-size: var(--fs-0_9375rem, 1rem); color: #555; line-height: 1.6; }
  #khugwrap .deedguide-links { margin-top: 10px; }
  /* 각 wrap 박스 사이 여백 -- 이전엔 buildinghistorywrap만 개별 지정돼 있어서 나머지
     wrap들(문화재보호구역 등)은 사이 간격이 없었다. 2026-09-14 그룹 재정리하면서 발견,
     같이 통일. 2026-09-22: #khugwrap이 이 목록에서 빠져 있어서 바로 위 형제 요소(주로
     hs-toggleall-value "전체 카테고리 보기" 버튼)에 여백 없이 붙어, "기타" 제목이 그 링크에
     바로 이어 붙어 보이는 문제가 있었다 -- 추가해서 통일. */
  #buildinghistorywrap, #heritagezonewrap, #districtplanzonewrap, #educationzonewrap, #developmentzonewrap,
  #crimezonewrap, #floodinfowrap, #urbanrenewalwrap, #urbanregenerationwrap, #khugwrap,
  #renewalzonewrap { margin-top: 14px; }
  .bh-toggle-label { display: flex; align-items: center; gap: 6px; margin: 4px 0; font-size: var(--fs-0_7812rem, 0.875rem); cursor: pointer; color: var(--gray-700); }

  /* ---------------- 실거래가 호가 비교: 판정 없이 사실 비교 문장만 ("높습니다/낮습니다"),
     방향에 따른 색상 구분 없음 -- 사이트 전체 중립 톤 정책과 동일 ---------------- */
  #pricecompare { margin-bottom: 12px; }
  .pc-input-row { display: flex; align-items: center; gap: 6px; }
  .pc-input-row input[type=number] { width: 64px; padding: 6px 8px; font-size: var(--fs-0_8125rem, 0.875rem); border: 1px solid var(--gray-300); border-radius: 6px; }
  .pc-input-row span { color: var(--gray-700); font-size: var(--fs-0_8125rem, 0.875rem); font-weight: 600; margin-right: 4px; }
  /* "예: 8,000" placeholder가 공용 64px 폭에서 잘려 보였다(사용자 지적, 2026-09-21). */
  #pt-manwon { width: 84px; }
  .pc-sentence { font-size: var(--fs-0_7812rem, 0.875rem); color: var(--gray-700); background: var(--gray-100); padding: 8px 10px; border-radius: 8px; line-height: 1.6; }
  .pc-note { font-size: var(--fs-0_6562rem, 0.875rem); color: var(--gray-400); margin-top: 5px; line-height: 1.5; }
  #pricecompare-empty { font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-400); }

  #retabs { display: flex; gap: 6px; margin-bottom: 10px; }
  #retabs button { padding: 6px 14px; font-size: var(--fs-0_7812rem, 0.875rem); border: 1px solid var(--gray-300); background: #fff; border-radius: 16px; cursor: pointer; color: var(--gray-700); }
  #retabs button.active { background: var(--accent); color: #fff; border-color: var(--accent); }
  #recards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
  .recard { border: 1px solid var(--gray-200); border-radius: 10px; padding: 10px 12px; background: #fff; }
  .recard .name { font-weight: 600; font-size: var(--fs-0_8125rem, 0.875rem); margin-bottom: 4px; }
  .recard .price { font-size: var(--fs-0_8438rem, 0.875rem); color: var(--accent-dark); font-weight: 700; margin-bottom: 4px; }
  .recard .meta { font-size: var(--fs-0_7188rem, 0.875rem); color: var(--gray-500); }
  #retotal { font-size: var(--fs-0_7188rem, 0.875rem); color: var(--gray-400); margin-top: 10px; }
  #resource { font-size: var(--fs-0_6875rem, 0.875rem); color: var(--gray-400); margin-top: 2px; }
  /* 2026-10-07: 출처 줄 아래 신고 기한 안내를 한 줄 더(줄바꿈 \n 그대로) */
  #resource, #pt-tiles-basis, #jeonsetrendbox .pt-desc { white-space: pre-line; }
  #reempty { font-size: var(--fs-0_7812rem, 0.875rem); color: var(--gray-400); padding: 16px 0; }

  /* 실거래가 카드 선택(계약 전 확인사항 비교 기준) -- 클릭 가능함을 커서로 암시, 선택된
     카드는 accent 테두리로 표시. 판정 색상이 아니라 "지금 고른 것" 표시라 중립 톤 정책과
     무관 (accent는 이미 버튼/선택 상태 전반에 쓰는 UI색). */
  .recard { cursor: pointer; }
  .recard.selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }

  /* ---------------- 계약 전 확인사항 ---------------- */
  #pretract-intro { font-size: var(--fs-0_9375rem, 1rem); color: #555; line-height: 1.6; margin: 0 0 10px; } /* 2026-09-30: 설명문 15px·#555 */
  #pttabs { display: flex; gap: 6px; margin-bottom: 10px; }
  #pttabs button { padding: 6px 14px; font-size: var(--fs-0_7812rem, 0.875rem); border: 1px solid var(--gray-300); background: #fff; border-radius: 16px; cursor: pointer; color: var(--gray-700); }
  #pttabs button.active { background: var(--accent); color: #fff; border-color: var(--accent); }
  #pt-listing-prompt { font-size: var(--fs-0_9375rem, 1rem); color: #555; line-height: 1.6; margin-bottom: 10px; }
  #pt-listing-selected { font-size: var(--fs-0_7812rem, 0.875rem); color: var(--gray-700); background: var(--gray-100); padding: 8px 10px; border-radius: 8px; margin-bottom: 10px; }
  #pt-listing-area-fixed { font-weight: 600; }
  #pt-area-select { font: inherit; color: inherit; font-weight: 600; border: 1px solid var(--gray-300); border-radius: 6px; padding: 1px 4px; background: #fff; }
  #pt-listing-hint { font-size: var(--fs-0_9375rem, 1rem); color: #555; line-height: 1.6; margin-top: 4px; }
  #pt-price-inputs { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: var(--fs-0_7812rem, 0.875rem); color: var(--gray-700); flex-wrap: wrap; }
  #pt-price-inputs label { color: var(--gray-600); flex: none; }
  #pt-confirmed, #pt-todo { display: flex; flex-direction: column; gap: 6px; }
  /* 2026-10-06: 함께 보면 확인할 것(교차 확인) -- 확인 항목과 같은 회색 카드, 색·아이콘 없이 왼쪽 회색 보더만(직접 확인 목록과 같은 결) */
  #pt-cross { margin-bottom: 12px; }
  #pt-cross[hidden] { display: none; }
  .pt-cross-title { font-size: 0.875rem; font-weight: 600; color: #555; margin: 2px 0 6px; }
  #pt-cross-list { display: flex; flex-direction: column; gap: 6px; }
  #pt-cross .summary-item { border-left: 3px solid var(--gray-300); }
  .pt-cross-src { background: none; border: none; padding: 0; margin-top: 4px; font: inherit; font-size: var(--fs-0_8125rem, 0.875rem); color: var(--accent); text-decoration: underline; cursor: pointer; text-align: left; }
  .pt-flash { outline: 2px solid var(--gray-400); outline-offset: 2px; transition: outline-color 1.2s; }
  /* 2026-09-30: 캡션을 두 클래스로 분리 -- .pt-item-caption = 출처·기준만 적힌 줄(작게, #666 = 흰 배경 5.7:1),
     .pt-desc = 내용이 있는 설명문(15px, 본문보다 약간 연한 #555 = 7.5:1). 어느 쪽인지는 ptCaptionHtml()이 정한다. */
  #pt-confirmed .pt-folded[hidden] { display: none; }
  .pt-more-btn { display: block; width: 100%; min-height: 44px; margin-top: 6px; padding: 8px 12px; font: inherit; font-size: var(--fs-0_9375rem, 1rem); color: var(--accent-dark); background: #fff; border: 1px solid var(--gray-200); border-radius: 8px; cursor: pointer; }
  .pt-more-btn:hover { background: var(--gray-100); }
  .pt-item-caption { font-size: var(--fs-0_8125rem, 0.875rem); color: #666; margin-top: 3px; line-height: 1.5; white-space: pre-line; } /* 캡션 안 줄바꿈(\n) 유지 -- 역전세 3개월 표본 안내 */
  .pt-desc { font-size: var(--fs-0_9375rem, 1rem); color: #555; margin-top: 4px; line-height: 1.6; white-space: pre-line; }
  .pt-pending { color: var(--gray-500); }
  .pt-land-needs { margin-top: 8px; font-size: var(--fs-0_8125rem, 0.875rem); color: var(--gray-600, #555); }
  .pt-land-needs summary { cursor: pointer; }
  .pt-land-needs ul { margin: 6px 0 0 18px; padding: 0; line-height: 1.6; }
  #pttabs button[hidden] { display: none; }
  /* 2026-09-23: 카드 항목 → 지도 이동. 클릭 가능한 항목만 커서·호버·오른쪽 작은 "지도" 표시를
     준다(과하지 않게 -- 배경색/테두리 강조 없이 todo 항목의 "바로가기" 링크와 같은 톤). 좌표가
     없어 이동할 수 없는 항목은 이 클래스가 안 붙어 기존 모양·기본 커서 그대로다. */
  .pt-maplink { cursor: pointer; transition: background-color .15s; }
  .pt-maplink:hover, .pt-maplink:focus-visible { background: #efefef; }
  .pt-maplink:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
  .pt-maplink-hint { margin-left: auto; flex: none; font-size: var(--fs-0_7188rem, 0.875rem); color: var(--accent); white-space: nowrap; }
  /* 2026-09-30: 줄 전체가 체크박스 라벨(누르는 영역 최소 44px). 목적지 링크는 라벨 밖 아래 줄에 따로 둔다. */
  .pt-todo-item { font-size: var(--fs-0_7812rem, 0.875rem); color: var(--gray-700); background: var(--gray-100); border-radius: 8px; line-height: 1.5; }
  .pt-todo-check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 10px 12px; cursor: pointer; }
  .pt-todo-check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--gray-700); cursor: pointer; }
  .pt-todo-body { flex: 1 1 auto; min-width: 0; }
  .pt-card-link { color: var(--accent); text-decoration: underline; }
  .air-year { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--gray-200); border-radius: 10px; font-size: var(--fs-0_8438rem, 0.875rem); line-height: 1.6; }
  .air-year-title { font-weight: 700; margin-bottom: 4px; }
  .air-year .air-far { color: var(--gray-700); margin-bottom: 4px; }
  .air-year .hs-detail-note { margin-top: 6px; }
  /* 2026-10-07 누가 살 집인가요?(미리보기 전용) + 생활 시설(고령) */
  #whoSection { margin: 10px 0 4px; padding: 10px 12px; border: 1px solid var(--gray-200); border-radius: 10px; }
  #whoSection .who-title { font-weight: 700; font-size: 0.875rem; margin-bottom: 6px; }
  #whoSection .who-chips { display: flex; flex-wrap: wrap; gap: 6px; }
  #whoSection .who-chip { min-height: 44px; padding: 0 14px; border: 1px solid var(--gray-300); border-radius: 22px; background: #fff; font-size: 0.875rem; color: var(--gray-700); cursor: pointer; }
  #whoSection .who-chip[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
  #whoSection .who-chip:disabled { color: var(--gray-400); background: var(--gray-100); cursor: default; }
  #livingwrap { margin-top: 10px; font-size: var(--fs-0_8438rem, 0.875rem); line-height: 1.6; }
  #livingwrap .living-title { font-weight: 700; margin-bottom: 4px; }
  #livingwrap ul { margin: 0; padding-left: 18px; }
  /* 2026-10-13(사용자 확인, 휴대폰): 화면 오른쪽 가장자리에 휴대폰·브라우저가 띄우는 둥근 손잡이가 줄 끝 글자(중학교·고등학교 줄)를 가렸다.
     손잡이는 이 페이지의 요소가 아니라 투명도를 바꿀 수 없어, 좁은 화면에서 줄 오른쪽에 여백 20px을 더 둔다(375·390px 실측: 글자 끝이 화면 끝에서 37px 이상 안쪽). */
  @media (max-width: 600px) { #livingwrap ul, #livingwrap .hs-detail-note { padding-right: 20px; } }
  #livingwrap .living-more { margin-top: 4px; }
  #livingwrap .living-fold { margin-top: 2px; }   /* 2026-11-12 학교 목록 접기 */
  #livingwrap .living-fold summary { padding: 10px 0; line-height: 20px; cursor: pointer; color: var(--gray-700); font-size: var(--fs-0_8125rem, 0.875rem); }
  #livingwrap .living-more summary { padding: 12px 0; line-height: 20px; cursor: pointer; color: var(--gray-700); font-size: var(--fs-0_8125rem, 0.875rem); }
  /* 2026-10-08 용어 풀이(미리보기): 물음표는 작게, 누르는 영역은 ::after로 44px. 말풍선은 겹쳐 떠서 화면 길이를 늘리지 않는다 */
  .gl-q { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin: 0 2px 0 3px; padding: 0; border: 1px solid var(--gray-300); border-radius: 50%; background: #fff; color: var(--gray-500); font-size: var(--fs-0_6562rem, 0.875rem); font-weight: 600; line-height: 1; vertical-align: 2px; cursor: pointer; position: relative; }
  .gl-q::after { content: ''; position: absolute; left: -14px; right: -14px; top: -14px; bottom: -14px; }
  .gl-q[aria-expanded="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
  #glPop { position: fixed; z-index: 3000; width: min(320px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--gray-200); border-radius: 10px; box-shadow: 0 6px 24px rgba(0,0,0,.16); padding: 10px 12px; font-size: var(--fs-0_8125rem, 0.875rem); line-height: 1.6; color: var(--gray-700); }
  #glPop.gl-sheet { left: 0 !important; right: 0; top: auto !important; bottom: 0; width: auto; border-radius: 14px 14px 0 0; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); }
  #glPop .gl-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
  #glPop .gl-x { min-width: 44px; min-height: 44px; margin: -10px -12px -6px 0; border: 0; background: none; font-size: var(--fs-0_9375rem, 1rem); color: var(--gray-500); cursor: pointer; }
  #glPop .gl-basis { margin-top: 6px; font-size: var(--fs-0_6875rem, 0.875rem); color: var(--gray-400); }
  #livingwrap .living-eq { margin-top: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--gray-300); border-radius: 8px; background: #fff; font-size: var(--fs-0_8125rem, 0.875rem); cursor: pointer; }
  .eq-flash { outline: 2px solid var(--accent); outline-offset: 2px; }
  /* 2026-10-07 "이 동네는"(행정동 인구·연령·1인 가구) -- 참고용 묶음 안, 처음엔 접힘 */
  .dong-stats { margin-top: 12px; border: 1px solid var(--gray-200); border-radius: 10px; font-size: var(--fs-0_8438rem, 0.875rem); line-height: 1.6; }
  .dong-stats > summary { padding: 10px 12px; font-weight: 700; cursor: pointer; min-height: 44px; box-sizing: border-box; }
  .dong-stats .dong-body { padding: 0 12px 10px; }
  /* 2026-10-18 작업 G: 접힌 머리에 해석·요약 줄(어르신 기준 글자 크기 -- 본문 크기), 숫자는 펼친 안 */
  .dong-stats .dong-lead { display: block; margin-top: 6px; font-weight: 400; font-size: 1.0625rem; line-height: 1.6; }
  .dong-stats .dong-lead > span { display: block; }
  .dong-stats .dong-more-hint { display: block; margin-top: 4px; font-weight: 400; font-size: 0.875rem; color: var(--gray-600); }
  .dong-stats[open] .dong-more-hint { display: none; }
  #rentmixbox { min-height: 3.2em; }
  #rentmixbox .summary-item { font-size: 1.0625rem; line-height: 1.6; }
  #rentmixbox .pt-desc { margin-top: 6px; }
  .dong-stats table { border-collapse: collapse; margin: 6px 0; font-size: var(--fs-0_8125rem, 0.875rem); }
  .dong-stats th, .dong-stats td { padding: 2px 10px 2px 0; text-align: right; font-weight: 400; }
  .dong-stats th:first-child, .dong-stats td:first-child { text-align: left; }
  .dong-stats thead th { color: var(--gray-600); font-size: var(--fs-0_75rem, 0.875rem); }
  #alertsection { margin-top: 14px; }
  .alert-open-btn { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; font-size: 0.875rem; color: var(--accent); background: var(--gray-50, #f7f7f7); border: 1px dashed var(--gray-300, #ccc); border-radius: 10px; cursor: pointer; text-align: left; }
  .alert-open-btn[aria-expanded="true"] { border-style: solid; }
  .alert-panel { margin-top: 8px; padding: 12px; border: 1px solid var(--gray-200); border-radius: 10px; font-size: var(--fs-0_8438rem, 0.875rem); line-height: 1.55; }
  .alert-desc { margin: 0 0 10px; color: var(--gray-700); }
  .alert-label { display: block; font-size: var(--fs-0_8125rem, 0.875rem); margin-bottom: 4px; }
  #alert-email { width: 100%; box-sizing: border-box; padding: 9px 10px; font-size: var(--fs-0_9375rem, 1rem); border: 1px solid var(--gray-300, #ccc); border-radius: 8px; }
  .alert-done { padding: 10px; background: var(--accent-light, #EEF4FF); border-radius: 8px; color: var(--ink, #222); }
  .re-type-note { margin: 6px 0 8px; padding: 8px 10px; font-size: var(--fs-0_8125rem, 0.875rem); line-height: 1.5; color: var(--gray-700); background: var(--gray-50, #f7f7f7); border-radius: 8px; }
  .re-type-note a { color: var(--accent); text-decoration: underline; }
  .hs-shelter-outside { display: flex; align-items: flex-start; gap: 6px; width: 100%; margin-top: 6px; padding: 8px 10px; text-align: left; font-size: var(--fs-0_8125rem, 0.875rem); line-height: 1.5; color: var(--gray-700); background: var(--gray-50, #f7f7f7); border: 1px solid var(--gray-200); border-radius: 8px; cursor: pointer; }
  .hs-shelter-outside .picto { flex: none; margin-top: 2px; color: var(--accent); }
  .hs-shelter-outside .hs-chip-arrow { color: var(--accent); white-space: nowrap; }
  .hs-shelter-outside.hs-outside-static { cursor: default; }
  .pt-todo-fold { padding: 0 12px 4px 42px; margin-top: -6px; }
  .pt-todo-fold > summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--accent); font-size: var(--fs-0_8125rem, 0.875rem); list-style: none; }
  .pt-todo-fold > summary::-webkit-details-marker { display: none; }
  .pt-todo-fold > summary::after { content: '▾'; margin-left: 4px; }
  .pt-todo-fold[open] > summary::after { content: '▴'; }
  .pt-todo-fold .pt-todo-link { padding-left: 0; margin-top: 0; }
  .pt-todo-link { display: flex; align-items: center; min-height: 44px; padding: 0 12px 0 42px; margin-top: -6px; color: var(--accent); text-decoration: underline; font-size: var(--fs-0_8125rem, 0.875rem); }
  #pt-none-wrap { margin-top: 10px; border: 1px solid var(--gray-200); border-radius: 8px; background: #fff; }
  #pt-none-wrap summary { cursor: pointer; padding: 9px 12px; font-size: var(--fs-0_7812rem, 0.875rem); font-weight: 600; color: var(--gray-700); list-style: none; }
  #pt-none-wrap summary::-webkit-details-marker { display: none; }
  #pt-none { padding: 0 12px 10px; font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-500); }
  #pt-none-wrap[hidden] { display: none; }

  /* 2026-09-29: 카드 구분은 색 배경이 아니라 선행 라벨 + 왼쪽 3px 보더로만(신호등 금지). 확인됨 = 딥그린 글자,
     직접 확인 = 회색 글자, 해당 없음 = 한 단계 더 옅게. 배경(#f7f7f7 / gray-100)은 기존 그대로. */
  /* 2026-09-30: 카드마다 붙던 "✓ 확인됨"(초록 체크·초록 왼쪽 보더)은 "문제없음"처럼 읽혀 제거 -- 섹션 제목에
     중립 회색 아이콘 + "데이터로 확인한 내용"으로 한 번만 둔다. "직접 확인" 태그도 줄마다 반복하지 않는다. */
  .pt-sec-label { display: flex; align-items: center; gap: 6px; }
  .pt-sec-label svg { flex: none; color: #666; }
  #pt-todo .pt-todo-item { border-left: 3px solid var(--gray-300); }
  /* HUG 가입 기준 참고 한 줄 -- 판정 없음, 값이 90%를 넘어도 색·강조 변화 없음 */
  .pt-hug-note { font-size: var(--fs-0_9375rem, 1rem); color: #555; line-height: 1.6; margin-top: 8px; }
  .pt-hug-note a { color: var(--accent); text-decoration: underline; white-space: nowrap; }
  #pt-none-wrap summary { color: var(--gray-500); font-weight: 500; }
  #pt-none { color: var(--gray-400); }

  /* 전세가율 숫자 타일: 세 칸 같은 스타일, 흰 배경·큰 숫자·작은 라벨, 강조색 없음 */
  #pt-tiles { margin-bottom: 8px; }
  .pt-lotmix { margin: 0 0 10px; padding: 8px 10px; border: 1px solid var(--gray-200, #e5e7eb); border-radius: 8px; }
  .pt-lotmix[hidden] { display: none; }
  .pt-lotmix p { margin: 0; }
  .pt-lotmix-h { font-size: var(--fs-0_75rem, 0.75rem); color: #666; }
  .pt-lotmix-v { font-weight: 600; margin-top: 2px !important; }
  .pt-lotmix-s { font-size: var(--fs-0_6875rem, 0.6875rem); color: #777; margin-top: 2px !important; }
  #pt-tiles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .pt-tiles-basis { font-size: var(--fs-0_6875rem, 0.875rem); color: #666; margin-bottom: 4px; }
  .pt-tile-sub { font-size: var(--fs-0_6562rem, 0.875rem); color: #666; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #pt-tiles[hidden] { display: none; }
  .pt-tile { background: #fff; border: 1px solid var(--gray-200); border-radius: 8px; padding: 8px 10px; min-width: 0; }
  .pt-tile-label { font-size: var(--fs-0_6875rem, 0.875rem); color: #666; }
  .pt-tile-value { font-size: 1.0625rem; font-weight: 700; color: var(--ink); margin-top: 2px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  @media (max-width: 480px) { .pt-tile-value { font-size: 0.875rem; } .pt-tile { padding: 7px 8px; } }

  /* 입력칸 라벨 */
  .pt-field { display: flex; flex-direction: column; gap: 3px; }
  .pt-field[hidden] { display: none; }
  .pt-field-label { font-size: var(--fs-0_8125rem, 0.875rem); font-weight: 600; color: var(--gray-700); }
  .pt-field-hint { font-size: var(--fs-0_9375rem, 1rem); color: #555; line-height: 1.6; }
  .pt-field-hint[hidden] { display: none; }
  #pt-price-inputs { align-items: flex-end; }

  /* ---------------- 등기부등본 가이드: 항상 노출되는 정적 교육 콘텐츠 ---------------- */
  #deedguide-intro { font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-500); line-height: 1.6; margin: 0 0 10px; }
  .deed-list { display: flex; flex-direction: column; gap: 6px; }
  .deed-item { border: 1px solid var(--gray-200); border-radius: 8px; background: #fff; }
  .deed-item summary {
    cursor: pointer; padding: 9px 12px; font-size: var(--fs-0_7812rem, 0.875rem); font-weight: 600; color: var(--gray-700);
    list-style: none; display: flex; align-items: center; justify-content: space-between;
  }
  .deed-item summary::-webkit-details-marker { display: none; }
  .deed-item summary::after { content: '+'; color: var(--gray-400); font-weight: 400; font-size: 0.875rem; }
  .deed-item[open] summary::after { content: '−'; }
  .deed-item p { margin: 0; padding: 0 12px 10px; font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-600); line-height: 1.6; }
  .deedguide-links { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; font-size: var(--fs-0_7188rem, 0.875rem); }
  .deedguide-links a { color: var(--accent); text-decoration: underline; }
  /* 2026-10-25: 등기부 섹션 확인할 곳 표 -- 넓은 화면은 3칸 표, 480px 아래는 줄마다 카드처럼 쌓는다. 색은 회색 단계만 */
  .deed-where-wrap { margin: 0 0 14px; }
  .deed-where { width: 100%; border-collapse: collapse; font-size: 0.875rem; line-height: 1.55; color: var(--ink); }
  .deed-where th, .deed-where td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--gray-200); }
  .deed-where thead th { font-size: var(--fs-0_8125rem, 0.875rem); font-weight: 600; color: var(--gray-600); background: var(--gray-100); }
  .deed-where tbody th { font-weight: 600; white-space: nowrap; }
  .deed-where a { color: var(--accent); text-decoration: underline; }
  .deed-where-note { font-size: var(--fs-0_8125rem, 0.875rem); color: var(--gray-600); margin: 8px 0 0; }
  @media (max-width: 480px) {
    .deed-where thead { display: none; }
    .deed-where, .deed-where tbody, .deed-where tr, .deed-where th, .deed-where td { display: block; width: auto; }
    .deed-where tr { padding: 8px 0; border-bottom: 1px solid var(--gray-200); }
    .deed-where th, .deed-where td { border: none; padding: 2px 0; white-space: normal; }
    .deed-where td::before { content: attr(data-label) " · "; color: var(--gray-600); }
  }

  /* 등기부등본 PDF 확인 도구: 사실 서술 톤(발견됨/발견되지 않음)만 사용, 판정 표현 없음
     -- 사이트 전체 중립 톤 정책과 동일. 결과·안내 요소를 전부 div로 둬서 위 .deed-item p
     규칙(패딩 등)이 우연히 겹쳐 적용되는 걸 피한다. */
  .deedpdf-body { padding: 0 12px 12px; }
  .deedpdf-privacy { font-size: var(--fs-0_7188rem, 0.875rem); color: var(--gray-500); background: var(--gray-100); padding: 7px 9px; border-radius: 6px; margin: 0 0 10px; line-height: 1.5; }
  /* 2026-09-29: 커스텀 업로드 영역 -- 실제 file input은 시각적으로만 숨기고(label/버튼 클릭 → input.click) 드롭 지원 */
  #deedpdf.deedpdf-body { padding: 0; margin-bottom: 12px; }
  .deedpdf-drop { border: 1.5px dashed var(--gray-300); border-radius: 10px; padding: 16px 12px 12px; text-align: center; background: #fff; transition: border-color .15s, background-color .15s; }
  .deedpdf-drop.dragover { border-color: var(--accent); background: var(--accent-light); }
  .deedpdf-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
  .deedpdf-pick { padding: 8px 16px; font-size: var(--fs-0_8125rem, 0.875rem); font-weight: 600; color: var(--accent-dark); background: #fff; border: 1px solid var(--accent); border-radius: 8px; cursor: pointer; }
  .deedpdf-pick:hover { background: var(--accent-light); }
  .deedpdf-pick:disabled { color: var(--gray-400); border-color: var(--gray-300); cursor: default; background: #fff; }
  .deedpdf-drop-hint { font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-500); margin-top: 6px; }
  .deedpdf-filename { font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-700); margin-top: 6px; word-break: break-all; }
  .deedpdf-filename[hidden] { display: none; }
  .deedpdf-drop .deedpdf-privacy { background: none; padding: 0; margin: 8px 0 0; font-size: var(--fs-0_6875rem, 0.875rem); color: var(--gray-400); }
  #deedpdf-status { font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-500); margin-top: 8px; }
  #deedpdf-result { margin-top: 8px; }
  .deedpdf-kw-item { font-size: var(--fs-0_7812rem, 0.875rem); color: var(--gray-700); background: var(--gray-100); padding: 7px 9px; border-radius: 6px; margin-bottom: 5px; line-height: 1.5; }
  .deedpdf-disclaimer { font-size: var(--fs-0_6562rem, 0.875rem); color: var(--gray-400); line-height: 1.5; margin-top: 8px; }
  /* 구조화 결과(2026-09-24): 사실 문장·표만, 판정 색 없음 */
  #deedpdf-structured { font-size: var(--fs-0_7812rem, 0.875rem); color: var(--gray-700); line-height: 1.55; }
  #deedpdf-structured h4 { font-size: var(--fs-0_7812rem, 0.875rem); margin: 12px 0 4px; color: var(--gray-800); }
  #deedpdf-structured table { width: 100%; border-collapse: collapse; font-size: var(--fs-0_7188rem, 0.875rem); margin: 4px 0 6px; }
  #deedpdf-structured th, #deedpdf-structured td { border: 1px solid var(--gray-200); padding: 4px 5px; text-align: left; vertical-align: top; }
  #deedpdf-structured th { background: var(--gray-100); font-weight: 600; color: var(--gray-600); }
  #deedpdf-structured td.num { text-align: right; white-space: nowrap; }
  #deedpdf-structured .deed-fact { background: var(--gray-100); padding: 7px 9px; border-radius: 6px; margin: 4px 0; }
  #deedpdf-structured .deed-caption { font-size: var(--fs-0_6875rem, 0.875rem); color: var(--gray-500); }
  #deedpdf-structured .deed-inputs { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 6px 0; }
  #deedpdf-structured .deed-inputs label { color: var(--gray-600); }
  #deedpdf-structured .deed-inputs input { width: 70px; }
  #deedpdf-error { font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-500); background: var(--gray-100); padding: 8px 9px; border-radius: 6px; margin-top: 8px; }

  /* ---------------- 2026-09-30 글자 크기 단계(계약 전 확인사항·전세가 추이·등기부·직접 확인 목록에만) ----------------
     제목 18 > 소제목 16(굵게) = 카드 본문 16 > 설명문 15(#555, 7.5:1) > 출처·기준 13(#666, 흰 배경 5.7:1 / 회색 카드 5.3:1).
     위 개별 규칙을 여기서 덮어쓴다 -- 되돌릴 때는 이 블록만 지우면 된다. */
  #pretract h2, #deedguide h2 { font-size: 1.125rem; color: var(--ink); }
  #pretract .group-sub-title, #resection .group-sub-title { font-size: 1.0625rem; font-weight: 700; color: var(--gray-700); }
  #pttabs button { font-size: var(--fs-0_9375rem, 1rem); padding: 8px 16px; }
  #pt-listing-selected { font-size: 1.0625rem; line-height: 1.6; }
  #pt-area-select { max-width: 100%; }
  #pt-price-inputs, #pt-price-inputs .pc-input-row span { font-size: 1.0625rem; }
  #pt-price-inputs .pc-input-row input[type=number] { font-size: 1.0625rem; width: 76px; padding: 8px; }
  #pt-price-inputs #pt-manwon { width: 96px; }
  #pt-price-inputs .pt-field-label { font-size: var(--fs-0_9375rem, 1rem); }
  #pretract .summary-item, #jeonsetrendbox .summary-item { font-size: 1.0625rem; line-height: 1.6; }
  #pretract .pt-maplink-hint { font-size: 0.875rem; }
  .pt-todo-item { font-size: 1.0625rem; line-height: 1.6; }
  .pt-todo-check input { width: 22px; height: 22px; margin-top: 2px; }
  .pt-todo-link { font-size: var(--fs-0_9375rem, 1rem); padding-left: 44px; }
  .pt-todo-fold { padding-left: 44px; }
  .pt-todo-fold > summary { font-size: var(--fs-0_9375rem, 1rem); }
  #pt-none-wrap summary { font-size: 1.0625rem; color: var(--gray-700); }
  #pt-none { font-size: var(--fs-0_9375rem, 1rem); color: #555; line-height: 1.6; }
  .pt-tiles-basis { font-size: var(--fs-0_8125rem, 0.875rem); }
  .pt-tile-label { font-size: var(--fs-0_8125rem, 0.875rem); }
  .pt-tile-value { font-size: 1.125rem; }
  .pt-tile-sub { font-size: var(--fs-0_8125rem, 0.875rem); white-space: normal; overflow: visible; }
  @media (max-width: 480px) { .pt-tile-value { font-size: 1.0625rem; } .pt-tile { padding: 8px; } }
  #deedguide-intro { font-size: var(--fs-0_9375rem, 1rem); color: #555; }
  #deedguide .deed-item summary { font-size: 1.0625rem; padding: 12px; }
  #deedguide .deed-item p { font-size: 1.0625rem; color: var(--gray-700); }
  #deedguide .deedguide-links { font-size: var(--fs-0_9375rem, 1rem); gap: 8px; }
  #deedguide .deedpdf-pick { font-size: 1.0625rem; padding: 10px 18px; }
  #deedguide .deedpdf-drop-hint, #deedguide .deedpdf-filename, #deedpdf-status, #deedpdf-error { font-size: var(--fs-0_9375rem, 1rem); color: #555; }
  #deedguide .deedpdf-drop .deedpdf-privacy { font-size: var(--fs-0_9375rem, 1rem); color: #555; line-height: 1.6; }
  #deedguide .deedpdf-kw-item, #deedpdf-structured { font-size: 1.0625rem; }
  #deedpdf-structured h4 { font-size: 1.0625rem; }
  #deedpdf-structured table { font-size: var(--fs-0_8125rem, 0.875rem); }
  #deedpdf-structured .deed-caption { font-size: var(--fs-0_8125rem, 0.875rem); color: #666; }
  #deedguide .deedpdf-disclaimer { font-size: var(--fs-0_9375rem, 1rem); color: #555; line-height: 1.6; }


  /* 2026-10-02: 0건 안내(확인 결과 맨 위 한 번) + "이 화면에 나오지 않는 것" 접는 영역. 위 글자 크기 단계를 따른다 --
     본문 16 / 설명문 15(#555, 7.5:1). 강조색·배경색 없이 회색 글자만. */
  .hs-zero-note { font-size: var(--fs-0_9375rem, 1rem); color: #555; line-height: 1.6; margin: 0 0 12px; }
  #notshown { margin: 18px 0 4px; }
  /* 2026-10-14 주변 변화(착공 기록·사용승인 전) */
  .cs-wrap { margin: 14px 0 4px; }
  .cs-wrap .cs-text { font-size: var(--fs-0_9375rem, 1rem); line-height: 1.6; }
  .cs-wrap .cs-note, .cs-wrap .cs-cap { font-size: var(--fs-0_8125rem, 0.875rem); color: #555; line-height: 1.6; margin-top: 2px; }
  /* 2026-10-14 집 안은 현장에서 확인하세요(미리보기) */
  .onsite-check { margin: 14px 0 4px; border: 1px solid var(--gray-200, #e5e7eb); border-radius: 8px; }
  .onsite-check summary { font-size: var(--fs-0_9375rem, 1rem); padding: 10px 12px; cursor: pointer; color: var(--gray-700, #374151); }
  .onsite-check ul { margin: 0; padding: 0 12px 12px 30px; font-size: var(--fs-0_9375rem, 1rem); line-height: 1.7; }
  /* 2026-10-14 확인·설명서 비선호시설 칸과 같은 범위(1km) -- 접힌 줄 */
  .form1km { margin: 12px 0 4px; border: 1px solid var(--gray-200, #e5e7eb); border-radius: 8px; }
  .form1km summary { font-size: var(--fs-0_9375rem, 1rem); padding: 10px 12px; cursor: pointer; color: var(--gray-700, #374151); }
  .form1km .f1-items { margin: 0; padding: 0 12px 6px 30px; font-size: var(--fs-0_9375rem, 1rem); line-height: 1.7; }
  .form1km .f1-notes { margin: 0; padding: 0 12px 12px 12px; font-size: var(--fs-0_8125rem, 0.875rem); color: #555; line-height: 1.6; }
  #notshown summary { font-size: 1.0625rem; padding: 12px; color: var(--gray-700); }
  #notshown ul { margin: 0; padding: 0 12px 12px 30px; font-size: var(--fs-0_9375rem, 1rem); color: #555; line-height: 1.7; }
  #notshown li + li { margin-top: 4px; }
  #notshown li b { font-weight: 600; color: var(--gray-700); }
  #glossaryAll { margin: 4px 0; }
  #glossaryAll summary { font-size: 1.0625rem; padding: 12px; color: var(--gray-700); }
  #glossaryAll .gl-all-count { font-size: var(--fs-0_8125rem, 0.875rem); color: var(--gray-500); }
  #glossaryAll dl { margin: 0; padding: 0 12px 12px; font-size: 0.875rem; line-height: 1.65; color: #555; }
  #glossaryAll dt { font-weight: 600; color: var(--gray-700); margin-top: 10px; }
  #glossaryAll dd { margin: 2px 0 0; }
  #glossaryAll .gl-basis { display: block; font-size: var(--fs-0_7188rem, 0.875rem); color: var(--gray-400); margin-top: 2px; }

  /* 2026-10-02: 두 주소 비교. 판정·점수·색 강조 없이 숫자와 사실만 -- 글자는 위 단계(본문 15~16, 출처 13 #666). */
  #cmpEntry { margin: 0 0 12px; }
  .cmp-open-btn { font-size: var(--fs-0_9375rem, 1rem); padding: 8px 14px; border: 1px solid var(--gray-300); border-radius: 8px; background: #fff; color: var(--gray-700); cursor: pointer; }
  #cmpForm { margin-top: 10px; }
  .cmp-form-label { display: block; font-size: var(--fs-0_9375rem, 1rem); color: var(--gray-700); margin-bottom: 6px; }
  .cmp-form-row { display: flex; gap: 8px; }
  .cmp-form-row input { flex: 1; min-width: 0; font-size: 1.0625rem; padding: 9px 10px; border: 1px solid var(--gray-300); border-radius: 8px; }
  .cmp-form-row button { font-size: var(--fs-0_9375rem, 1rem); padding: 9px 16px; border: none; border-radius: 8px; background: var(--accent); color: #fff; cursor: pointer; }
  .cmp-form-row button:disabled { background: var(--gray-300); cursor: default; }
  .cmp-form-note { font-size: var(--fs-0_8125rem, 0.875rem); color: #666; margin-top: 6px; line-height: 1.5; }
  .modal-panel.cmp-panel { width: min(880px, calc(100vw - 32px)); max-height: 90vh; max-height: 90dvh; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
  .cmp-head { position: relative; padding: 18px 20px 10px; border-bottom: 1px solid var(--gray-200); }
  .cmp-head .modal-title { font-size: 1.125rem; color: var(--ink); }
  .cmp-sub { font-size: var(--fs-0_9375rem, 1rem); color: #555; line-height: 1.6; margin: 0 0 8px; }
  .cmp-head .hs-zero-note { margin: 0 0 8px; }
  .cmp-diff { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-0_9375rem, 1rem); color: var(--gray-700); cursor: pointer; }
  .cmp-diff input { width: 20px; height: 20px; }
  #cmpBody { overflow-y: auto; flex: 1; padding: 0 20px 16px; }
  .cmp-table { border-collapse: collapse; width: 100%; font-size: var(--fs-0_9375rem, 1rem); table-layout: fixed; }
  .cmp-table th, .cmp-table td { padding: 9px 8px; border-bottom: 1px solid var(--gray-200); text-align: left; vertical-align: top; line-height: 1.5; overflow-wrap: anywhere; }
  .cmp-table thead th { position: sticky; top: 0; background: #fff; z-index: 1; font-size: 0.875rem; color: var(--ink); border-bottom: 1px solid var(--gray-300); }
  .cmp-table thead .cmp-ab { display: block; font-size: var(--fs-0_8125rem, 0.875rem); font-weight: 400; color: #666; }
  .cmp-table .cmp-corner { width: 30%; }
  .cmp-table th.cmp-k { font-weight: 600; color: var(--gray-700); }
  .cmp-table tr.cmp-group th { font-size: 1.0625rem; font-weight: 700; color: var(--ink); padding-top: 16px; border-bottom: 1px solid var(--gray-300); }
  .cmp-table td { color: var(--ink); }
  .cmp-table .cmp-v2 { display: block; font-size: 0.875rem; color: #555; }
  .cmp-none-diff { font-size: var(--fs-0_9375rem, 1rem); color: #555; padding: 12px 0; }
  .cmp-caption { font-size: var(--fs-0_8125rem, 0.875rem); color: #666; line-height: 1.6; margin-top: 10px; }
  /* 모바일: 가로 스크롤 없이 항목 이름은 한 줄 전체, 그 아래 주소 A·B 두 칸. 주소 머리는 위에 고정. */
  @media (max-width: 600px) {
    .modal-panel.cmp-panel, .modal-panel.cmp-panel.open { left: 0; top: 0; transform: none; width: 100vw; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; }
    .cmp-head { padding: 14px 16px 10px; }
    #cmpBody { padding: 0 16px 16px; }
    .cmp-table, .cmp-table thead, .cmp-table tbody { display: block; }
    .cmp-table thead { position: sticky; top: 0; z-index: 1; background: #fff; }
    .cmp-table thead th { position: static; }
    .cmp-table tr { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; border-bottom: 1px solid var(--gray-200); }
    .cmp-table tr[hidden] { display: none; }
    .cmp-table th, .cmp-table td { border-bottom: none; padding: 6px 0; }
    .cmp-table thead .cmp-corner { display: none; }
    .cmp-table th.cmp-k, .cmp-table tr.cmp-group th { grid-column: 1 / -1; padding-bottom: 0; }
    .cmp-table tr.cmp-group { border-bottom: 1px solid var(--gray-300); }
  }

  footer#disclaimer { font-size: var(--fs-0_6875rem, 0.875rem); color: var(--gray-400); line-height: 1.7; padding: 14px 0 4px; }
  footer#disclaimer a { color: var(--accent); text-decoration: underline; margin-right: 12px; }

  /* ---------------- map popup card (kakao.maps.CustomOverlay content) ---------------- */
  .map-popup {
    position: relative; background: #fff; border-radius: 10px; box-shadow: 0 6px 22px rgba(0,0,0,.2);
    padding: 12px 14px; min-width: 150px; max-width: 260px; font-family: inherit;
  }
  .map-popup::after {
    content: ''; position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%);
    border-width: 8px 8px 0 8px; border-style: solid; border-color: #fff transparent transparent transparent;
    filter: drop-shadow(0 3px 4px rgba(0,0,0,.1));
  }
  .map-popup .popup-close {
    position: absolute; top: 4px; right: 6px; border: none; background: none; cursor: pointer;
    font-size: var(--fs-0_9375rem, 1rem); line-height: 1; color: var(--gray-400); padding: 4px;
  }
  .map-popup .popup-close:hover { color: var(--gray-700); }
  .popup-title { font-weight: 700; margin-bottom: 5px; font-size: var(--fs-0_8125rem, 0.875rem); color: var(--accent-dark); border-left: 3px solid var(--accent); padding-left: 7px; padding-right: 16px; }
  .popup-row { font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-700); margin: 2px 0 2px 10px; }
  .popup-row a { color: var(--accent); }

  /* ---------------- modal: shared shell for the detail screen and the comparison screen ---------------- */
  #reportBackdrop { z-index: 2100 !important; } #reportPanel { z-index: 2200 !important; }   /* 2026-11-16: 첫 화면(z 2000) 위에서도 열리게 */
  .hv-pass, .pass-notify { margin: 12px 0; text-align: center; }
  .hv-pass[hidden], .pass-notify[hidden] { display: none; }
  .hv-pass-btn { min-height: 44px; padding: 0 16px; border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit; font-size: 15px; cursor: pointer; }
  .modal-backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 1100;
    opacity: 0; pointer-events: none; transition: opacity .2s;
  }
  .modal-backdrop.open { opacity: 1; pointer-events: auto; }
  .modal-backdrop[hidden] { display: none; }
  .modal-panel {
    position: fixed; left: 50%; top: 50%; transform: translate(-50%, -46%);
    width: min(440px, calc(100vw - 32px)); max-height: min(82vh, 640px); overflow-y: auto;
    background: #fff; border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.25); z-index: 1200;
    padding: 20px 20px 22px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .modal-panel.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
  .modal-panel[hidden] { display: none; }
  .modal-close {
    position: absolute; top: 10px; right: 12px; border: none; background: none;
    font-size: 1.25rem; line-height: 1; color: var(--gray-400); cursor: pointer; padding: 6px;
  }
  .modal-close:hover { color: var(--gray-700); }
  .modal-title { font-size: var(--fs-0_9375rem, 1rem); margin: 4px 24px 6px 0; color: var(--accent-dark); display: flex; align-items: center; gap: 8px; }
  .modal-title-badge { font-size: var(--fs-0_6875rem, 0.875rem); font-weight: normal; color: var(--gray-500); background: var(--gray-100); padding: 2px 8px; border-radius: 10px; }
  .modal-sub { font-size: var(--fs-0_7188rem, 0.875rem); color: var(--gray-500); line-height: 1.6; margin: 0 0 14px; }
  .detail-history-heading { font-size: var(--fs-0_7188rem, 0.875rem); font-weight: 600; color: var(--gray-600); margin: 4px 0 6px; }
  .detail-history-sep { border: none; border-top: 1px dashed var(--gray-200); margin: 14px 0; }

  /* detail screen content */
  .detail-meta { font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-500); margin-bottom: 12px; }
  .detail-rows { display: flex; flex-direction: column; gap: 6px; background: var(--gray-100); border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; }
  .detail-row { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-0_7812rem, 0.875rem); color: var(--gray-700); }
  .detail-row .detail-label { color: var(--gray-500); }
  .detail-empty { font-size: var(--fs-0_7812rem, 0.875rem); color: var(--gray-400); margin-bottom: 10px; }
  .detail-source { font-size: var(--fs-0_7188rem, 0.875rem); color: var(--gray-500); }
  .detail-source a { color: var(--accent); text-decoration: underline; }

  /* comparison screen content */
  .compare-empty { font-size: var(--fs-0_7812rem, 0.875rem); color: var(--gray-400); padding: 10px 0; }
  .compare-item { display: flex; align-items: center; gap: 8px; padding: 7px 4px; border-bottom: 1px solid var(--gray-200); font-size: var(--fs-0_7812rem, 0.875rem); }
  .compare-item-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .compare-remove { border: none; background: none; color: var(--gray-400); cursor: pointer; font-size: var(--fs-0_9375rem, 1rem); padding: 2px 6px; }
  .compare-remove:hover { color: #b3261e; }
  .primary-btn { display: block; width: 100%; margin-top: 12px; padding: 9px; background: var(--accent); color: #fff; border: none; border-radius: 8px; font-size: var(--fs-0_8125rem, 0.875rem); cursor: pointer; }
  .primary-btn:hover { background: var(--accent-dark); }
  .primary-btn:disabled { background: var(--gray-300); cursor: default; }
  /* 보조(아웃라인) 버튼 -- 주 버튼은 "상세 리포트 다운로드" 하나만 채워서 둔다 */
  .primary-btn.outline-btn { background: #fff; color: var(--accent-dark); border: 1px solid var(--accent); }
  .primary-btn.outline-btn:hover { background: var(--accent-light); }
  #compareTableWrap { margin-top: 14px; overflow-x: auto; }
  .compare-table { border-collapse: collapse; width: 100%; font-size: var(--fs-0_75rem, 0.875rem); }
  .compare-table th, .compare-table td { padding: 6px 8px; border-bottom: 1px solid var(--gray-200); text-align: left; white-space: nowrap; }
  .compare-table th { color: var(--gray-500); font-weight: 600; }

  /* ---------------- 상세 리포트 다운로드: 이메일 모달은 기존 .modal-backdrop/.modal-panel
     셸(detail/compare 화면과 동일)을 그대로 재사용하고, 폼 필드 스타일만 새로 추가한다. ---------------- */
  #reportsection { text-align: center; }
  .report-caption { font-size: var(--fs-0_7188rem, 0.875rem); color: var(--gray-500); margin-top: 6px; line-height: 1.5; }
  .report-field { margin-bottom: 10px; }
  .report-field label { display: block; font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-600); margin-bottom: 4px; }
  .report-field input[type=email] { width: 100%; padding: 9px 10px; font-size: 0.875rem; border: 1px solid var(--gray-300); border-radius: 8px; }
  .report-field input[type=email]:focus { outline: 2px solid var(--accent-light); border-color: var(--accent); }
  /* 허니팟: 실제 사용자 눈에는 안 보이지만 DOM에는 존재(display:none이 아님) -- 폼을 그대로
     파싱해 자동 채우는 단순 봇을 잡기 위함. */
  .hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .report-notice { font-size: var(--fs-0_7188rem, 0.875rem); color: var(--gray-600); line-height: 1.6; margin: 0 0 10px; padding: 8px 10px; background: var(--gray-100); border-radius: 6px; text-align: left; }
  .report-notice a { color: var(--accent); }
  .report-checkbox-row { display: flex; align-items: flex-start; gap: 7px; font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-600); margin: 4px 0 14px; cursor: pointer; line-height: 1.5; text-align: left; }
  .report-checkbox-row input { margin-top: 2px; flex: none; }
  .report-error { font-size: var(--fs-0_75rem, 0.875rem); color: #b3261e; margin-bottom: 8px; text-align: left; }
  /* 내 계약 검증 리포트(출시 예정) 안내 -- 중립 톤, 테두리 상자 하나 */
  #paidreportsection { margin-top: 14px; }
  .paid-report-box { border: 1px solid var(--gray-200); border-radius: 10px; padding: 12px 14px; }
  .paid-report-title { font-size: var(--fs-0_8438rem, 0.875rem); font-weight: 700; color: var(--gray-700); }
  .paid-report-desc { font-size: var(--fs-0_7812rem, 0.875rem); color: var(--gray-600); line-height: 1.6; margin-top: 4px; }
  .paid-report-price { font-size: var(--fs-0_8125rem, 0.875rem); font-weight: 600; color: var(--gray-700); margin-top: 8px; }
  #paidReportBtn[hidden] { display: none; }
  .compare-cat { display: flex; align-items: center; gap: 6px; color: var(--gray-700); }

  /* narrow phones: the 2-column chip grid gets too cramped for longer category names */
  @media (max-width: 480px) {
    #hs-chips-value, #hs-chips-ref { grid-template-columns: 1fr; }
  }

  /* ---------------- Desktop: 42%-wide sidebar (400-560px) + map fills the rest ---------------- */
  @media (min-width: 768px) {
    body { display: grid; grid-template-columns: var(--side) 1fr; grid-template-rows: auto 1fr; height: 100vh; overflow: hidden; }
    #map { position: relative; inset: auto; grid-column: 2; grid-row: 1 / 3; height: 100%; }
    #searchbar { position: static; grid-column: 1; grid-row: 1; box-shadow: none; border-bottom: 1px solid var(--gray-200); z-index: auto; }
    #sheet {
      position: static; grid-column: 1; grid-row: 2; width: 100%; height: auto; min-height: 0;
      transform: none !important; transition: none; border-radius: 0; box-shadow: none;
      border-right: 1px solid var(--gray-200); overflow: hidden;
    }
    #sheetHandle { display: none; }
    #status { top: 16px; left: auto; right: 104px; max-width: calc(100vw - var(--side) - 136px); }
    #quickActions { top: 58px; left: auto; right: 16px; }
    #layerToggle { top: 16px; right: 16px; }
    #layerBackdrop { display: none; }
    #layerPanel {
      left: auto; right: 16px; bottom: auto; top: 58px; width: 320px;
      max-height: calc(100vh - 80px); border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,.18);
      padding: 12px 14px 14px;
    }
  }

  /* ---------------- 2026-10-07 공개 전 점검 반영 ---------------- */
  /* 제목 옆 기준(전세가 추이 등) */
  .title-basis { font-size: var(--fs-0_75rem, 0.875rem); font-weight: 400; color: var(--gray-500); }
  /* 바닥 OSM 저작자 표시 링크 뒤 쉼표가 떨어지던 문제(바닥 링크 공통 오른쪽 여백) */
  footer#disclaimer a.osm-credit { margin-right: 0; }
  /* 결과 위 바로가기 줄(데이터 출처·이 화면에 나오지 않는 것) */
  #resultLinks { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 2px 0 8px; font-size: var(--fs-0_8125rem, 0.875rem); }
  #resultLinks[hidden] { display: none; }
  #resultLinks a { color: var(--accent); text-decoration: underline; display: inline-flex; align-items: center; min-height: 32px; }
  /* 모바일 누르는 영역 최소 44px(맨 아래 링크·"보기"류 단추·면적 선택·바깥 링크) -- 글자 크기·모양은 그대로, 높이만 넓힌다 */
  @media (max-width: 767px) {
    footer#disclaimer a:not(.osm-credit) { display: inline-flex; align-items: center; min-height: 44px; }
    footer#disclaimer a.osm-credit { padding: 16px 0; }
    #floodstats-toggle, #ds-toggleall, #hs-toggleall-value, #hs-toggleall-ref, .ur-more-btn, .pt-cross-src,
    .hs-detail-more, #deedguide a, #khugwrap a {
      display: inline-flex; align-items: center; min-height: 44px;
    }
    #hs-toggleall-value[hidden], #ds-toggleall[hidden], #floodstats-toggle[hidden] { display: none; }
    #pt-area-select { min-height: 44px; padding: 4px 6px; }
    .pt-hug-note a, #re-type-note a { padding: 15px 0; }   /* 문장 안 링크: 줄 높이는 그대로, 누르는 영역만 위아래로 */
    #resultLinks a { min-height: 44px; }
    #headerNav a { display: inline-flex; align-items: center; min-height: 44px; }
  }
  /* 2026-10-14: VWorld 로고 줄 -- 검색 결과가 있을 때만 보인다(첫 화면에서는 숨김). 좁은 화면에서는 글이 아래 줄로 넘어간다. */
  .vw-credit-after-search { display: none !important; }
  body.searched .vw-credit-after-search { display: flex !important; }

/* 2026-10-14 공개: 용어 풀이 "뜻" 버튼 */
.jc-term-btn{display:inline-flex;align-items:center;margin-left:6px;padding:1px 7px;border:1px solid var(--gray-300,#d1d5db);border-radius:999px;background:#fff;color:var(--gray-600,#4b5563);font-size:var(--fs-0_6875rem, 0.875rem);line-height:1.6;cursor:pointer;vertical-align:middle;white-space:nowrap}
.jc-term-btn[aria-expanded="true"]{background:var(--gray-100,#f3f4f6)}
.hs-chip>.jc-term-btn{align-self:flex-start;flex:0 0 auto;width:auto;margin:4px 0 2px 4px}
.jc-term-box{flex-basis:100%;margin:4px 0 8px;padding:10px 12px;border-radius:8px;background:var(--gray-50,#f9fafb);border:1px solid var(--gray-200,#e5e7eb);font-size:var(--fs-0_8125rem, 0.875rem);line-height:1.6;color:var(--gray-700,#374151)}
.jc-term-box b{display:block;margin-bottom:2px}
.jc-term-box p{margin:2px 0}
.jc-term-box .jc-term-basis{margin-top:4px;font-size:var(--fs-0_6875rem, 0.875rem);color:var(--gray-500,#6b7280)}
.jc-term-box .jc-term-one+.jc-term-one{margin-top:10px;padding-top:8px;border-top:1px dashed var(--gray-200,#e5e7eb)}
.jc-group-note{margin:2px 0 8px;font-size:var(--fs-0_75rem, 0.875rem);color:var(--gray-500,#6b7280)}
.gl-all-link{display:inline-block;padding:10px 0;font-size:0.875rem}
.map-popup .jc-popup-term{white-space:normal;max-width:240px;margin-top:4px;color:var(--gray-600,#4b5563)}
/* 2026-10-14: 카카오 덮개가 줄바꿈을 막아 긴 주소가 팝업 밖으로 잘리던 것(375px) -- 팝업 안은 줄바꿈 */
.map-popup{white-space:normal;width:min(260px,80vw);box-sizing:border-box}
.map-popup .popup-row{overflow-wrap:anywhere}
.map-popup .jc-popup-term a{white-space:nowrap}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .jc-term-btn{background:transparent}}

  /* ================= 2026-10-15(UI 개편 2단계): 지도 + 결과 패널, 결과 묶음 ================= */
  .bundle { padding: 14px 0 6px; border-bottom: 1px solid var(--gray-200); scroll-margin-top: 4px; }
  body:not(.searched) .bundle { display: none; }
  .bundle-title { margin: 0 0 8px; font-size: 1.1875rem; color: var(--ink); }
  .bundle-title-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  #b-summary { padding-top: 4px; }
  #b-summary .bsub { margin-top: 0; }
  .bsub { margin: 10px 0 12px; }
  .bsub[hidden] { display: none; }
  .b-folded { display: none !important; }
  .bsub > .b-more { display: block; width: 100%; margin-top: 8px; }
  .bsub > .b-more[hidden] { display: none; }
  /* 2026-10-30(사용자 지시, 미리보기): 결과 화면 표·그래프(외부 라이브러리 없이 SVG) */
  .jc-chart { margin: 0 0 16px; }
  /* 2026-11-18(개선 2차 4·5): 후기 검색 링크 · 임장 후보 · 이 근처 같은 유형 건물 */
  #jcAfter:empty { display: none; }
  .jca-box { margin: 14px 0 0; padding: 12px 14px; border: 1px solid var(--gray-200, #e5e7eb); border-radius: 10px; background: #fff; }
  .jca-h { margin: 0 0 6px; font-size: var(--fs-0_9375rem, .95rem); font-weight: 700; color: var(--ink); }
  .jca-n { margin: 6px 0 0; font-size: var(--fs-0_8125rem, .8125rem); color: var(--gray-600, #555); line-height: 1.5; }
  .jca-btns { display: flex; flex-wrap: wrap; gap: 8px; }
  .jca-btn { font: inherit; font-size: var(--fs-0_875rem, .875rem); min-height: 44px; padding: 6px 12px; border: 1px solid var(--gray-300, #d1d5db); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; }
  .jca-btn-p { border-color: var(--accent, #2563eb); color: var(--accent, #2563eb); font-weight: 600; }
  .jca-msg { margin: 6px 0 0; font-size: var(--fs-0_8125rem, .8125rem); color: var(--gray-700, #444); }
  .jca-tw { margin-top: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .jca-t { border-collapse: collapse; font-size: var(--fs-0_8125rem, .8125rem); min-width: 100%; }
  .jca-t th, .jca-t td { border-top: 1px solid var(--gray-200, #e5e7eb); padding: 6px 8px; text-align: left; vertical-align: top; line-height: 1.5; min-width: 120px; }
  .jca-t th[scope="row"] { color: var(--gray-600, #555); font-weight: 600; min-width: 92px; white-space: nowrap; }
  .jca-t thead th { font-weight: 700; color: var(--ink); }
  .jca-x { font: inherit; font-size: .75rem; margin-left: 4px; padding: 2px 6px; border: 1px solid var(--gray-300, #d1d5db); border-radius: 6px; background: #fff; cursor: pointer; min-height: 28px; }
  .jca-sim { list-style: none; margin: 0; padding: 0; }
  .jca-sim li { margin: 0; }
  .jca-sim button { display: block; width: 100%; text-align: left; font: inherit; font-size: var(--fs-0_875rem, .875rem); min-height: 44px; padding: 8px 0; border: 0; border-top: 1px solid var(--gray-100, #f3f4f6); background: none; color: var(--ink); cursor: pointer; line-height: 1.5; }
  .jca-sim li:first-child button { border-top: 0; }
  .jca-sim .jca-go { color: var(--accent, #2563eb); white-space: nowrap; }
  .jc-pub-area { margin: 0 0 6px; font-size: var(--fs-0_875rem, .875rem); color: var(--gray-700, #444); }   /* 2026-11-18(개선 2차 1) */
  .jc-pub-area select { font: inherit; color: inherit; font-weight: 600; border: 1px solid var(--gray-300); border-radius: 6px; padding: 2px 6px; background: #fff; max-width: 100%; min-height: 36px; }
  .jc-hug-t { margin: 0 0 4px; font-size: var(--fs-0_9375rem, 1rem); line-height: 1.6; color: var(--ink); }
  .jc-tl-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; font-size: var(--fs-0_8125rem, 0.875rem); color: var(--gray-700); }
  .jc-tl-key { display: inline-flex; align-items: center; gap: 4px; }
  .jc-tl-list { list-style: none; margin: 0 0 6px; padding: 0; }
  .jc-tl-list li { display: grid; grid-template-columns: 6.5em 5em 1fr; gap: 6px; padding: 5px 0; font-size: var(--fs-0_8125rem, 0.875rem); border-bottom: 1px solid var(--gray-100); }
  /* 2026-10-31(사용자 지시): 생활 한눈에·찾아본 항목 */
  #jcLifeCard { margin: 0 0 16px; padding: 12px 14px; background: var(--accent-light); border-radius: 10px; }
  #jcLifeCard[hidden], #jcZeroChips[hidden], #jcAirAvg[hidden] { display: none; }
  #jcAirAvg { margin: -8px 0 16px; padding: 0 2px; font-size: 0.875rem; line-height: 1.55; color: var(--ink); }
  #jcAirAvg .jc-air-s { margin-top: 2px; font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-600); }
  .jc-life-t { margin: 0 0 6px; font-size: var(--fs-0_9375rem, 1rem); font-weight: 700; color: var(--accent-dark); }
  .jc-life-r { display: grid; grid-template-columns: 20px minmax(5.5em, auto) 1fr auto; gap: 8px; align-items: baseline; padding: 5px 0; font-size: 0.875rem; line-height: 1.45; color: var(--accent-dark); }
  .jc-life-r svg { width: 16px; height: 16px; align-self: center; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .jc-life-n { min-width: 0; overflow-wrap: anywhere; color: var(--ink); }
  .jc-life-d { white-space: nowrap; font-weight: 600; }
  #jcZeroChips { margin: 0 0 10px; }
  .jc-zero-t { margin: 0 0 4px; font-size: var(--fs-0_8125rem, 0.875rem); color: var(--gray-600); }
  .jc-zero-row { display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .jc-zero-chip { flex: none; padding: 3px 9px; font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-600); background: var(--gray-100); border-radius: 999px; white-space: nowrap; }
  /* 2026-10-30(사용자 지시): 땅과 규제·주변 변화 표·카드 */
  .jc-view { margin: 0 0 14px; }
  .jc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
  .jc-chip { padding: 3px 9px; font-size: var(--fs-0_8125rem, 0.875rem); line-height: 1.5; color: var(--accent-dark); background: var(--accent-light); border-radius: 999px; }
  .jc-vtitle { margin: 0 0 6px; font-size: var(--fs-0_9375rem, 1rem); font-weight: 700; color: var(--ink); }
  .jc-tbl { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: var(--fs-0_8125rem, 0.875rem); line-height: 1.5; }
  .jc-tbl th, .jc-tbl td { padding: 7px 6px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
  .jc-tbl thead th { font-weight: 600; color: var(--gray-600); border-bottom: 1px solid var(--accent); }
  .jc-tbl tbody th { font-weight: 600; color: var(--ink); }
  .jc-tbl .jc-more-row td { padding: 0 6px 7px; border-bottom: 1px solid var(--gray-100); }
  .jc-tbl tr.jc-plain > * { border-bottom: 1px solid var(--gray-100); }
  .jc-tbl details.jc-more { margin: 0; padding: 0; }
  .jc-tbl details.jc-more:not([open]) { line-height: 1.4; }
  .jc-more > summary { cursor: pointer; font-size: var(--fs-0_8125rem, 0.875rem); color: var(--accent-dark); }
  .jc-more .summary-item { margin-top: 6px; }
  #jcLandZones { margin-top: 10px; }
  #jcLandZones > summary { cursor: pointer; font-size: var(--fs-0_8125rem, 0.875rem); color: var(--accent-dark); }
  .jc-dots { display: flex; gap: 4px; align-items: center; }
  .jc-dots i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--accent); box-sizing: border-box; }
  .jc-dots i.on { background: var(--accent); }
  .jc-dots-key { margin: 6px 0 0; font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-600); }
  .jc-info { margin-top: 6px; }
  .jc-info > summary { cursor: pointer; font-size: var(--fs-0_8125rem, 0.875rem); color: var(--accent-dark); }
  .jc-info p { margin: 4px 0 0; font-size: var(--fs-0_8125rem, 0.875rem); line-height: 1.55; color: var(--gray-700); }
  #b-change .fold-card[data-fc="urbanrenewalwrap"] .fc-src { display: none; }
  .jc-chart[hidden] { display: none; }
  .jc-ebars { display: flex; align-items: flex-end; gap: 3px; height: 36px; max-width: 420px; border-bottom: 1px solid var(--gray-200); }
  .jc-ebars i { flex: 1; min-height: 2px; background: var(--c4-link, #2563EB); border-radius: 2px 2px 0 0; }
  .jc-eaxis { display: flex; justify-content: space-between; max-width: 420px; margin: 4px 0 12px; font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-600); }
  .jc-chart-title { margin: 0 0 6px; font-size: var(--fs-0_9375rem, 1rem); font-weight: 700; color: var(--ink); }
  .jc-chart svg.jc-plot { display: block; width: 100%; max-width: 420px; height: auto; }
  .jc-chart-note { margin: 6px 0 0; font-size: var(--fs-0_8125rem, 0.875rem); line-height: 1.55; color: var(--gray-600); }
  .jc-chart-empty { margin: 0; font-size: var(--fs-0_9375rem, 1rem); line-height: 1.6; color: var(--gray-700); }
  .jc-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 4px; font-size: var(--fs-0_8125rem, 0.875rem); color: var(--gray-700); }
  .jc-legend span { display: inline-flex; align-items: center; gap: 5px; }
  .jc-mil { margin: 0 0 14px; padding: 12px 14px; background: var(--accent-light); border-radius: 10px; font-size: var(--fs-0_9375rem, 1rem); line-height: 1.6; color: var(--ink); }
  .jc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 16px; }
  .jc-card { padding: 10px; background: var(--gray-100); border-radius: 10px; min-width: 0; }
  .jc-card b { display: block; font-size: 1.0625rem; line-height: 1.3; color: var(--ink); }
  .jc-card span { display: block; margin-top: 2px; font-size: var(--fs-0_75rem, 0.875rem); color: var(--gray-600); }
  .jc-stack { margin: 0 0 16px; }
  .jc-stack svg { display: block; width: 100%; max-width: 560px; height: auto; }
  .jc-stack .jc-legend { margin: 6px 0 0; }
  .jc-stack .jc-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
  .jc-dongtab { width: 100%; max-width: 560px; border-collapse: collapse; font-size: 0.875rem; line-height: 1.4; }
  .jc-dongtab th, .jc-dongtab td { padding: 8px 6px; border-bottom: 1px solid var(--gray-200); text-align: right; }
  .jc-dongtab th { font-size: var(--fs-0_75rem, 0.875rem); font-weight: 400; color: var(--gray-600); vertical-align: bottom; }
  .jc-dongtab th:first-child, .jc-dongtab td:first-child { text-align: left; }
  .jc-dongtab tr.me td { background: var(--accent-light); font-weight: 600; }
  .jc-cmp { font-size: 0.75rem; color: var(--gray-500, #6b7280); }   /* 2026-11-15: 막대 범례의 시군구 값·호수 */
  /* 2026-11-15 가독성 개편 1단계(견본 3개): 카드 규칙 -- 제목 → 핵심 한 줄(22px 굵게) → 보충 줄(17px, 줄당 사실 하나) → 확인할 것 → 출처 한 줄(13px) */
  .jc2 { font-size: 17px; line-height: 1.6; color: var(--gray-900, #1f2328); }
  .jc2 .jc2-t { font-size: 15px; font-weight: 600; color: var(--gray-700, #374151); margin: 0 0 2px; }
  .jc2 .jc2-h { font-size: 22px; font-weight: 700; line-height: 1.4; margin: 0 0 4px; word-break: keep-all; }
  .jc2 .jc2-s { margin: 0; }
  .jc2 .jc2-k { font-size: 19px; font-weight: 700; margin: 10px 0 0; }
  .jc2 .jc2-chk { margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--gray-50, #f6f7f8); }
  .jc2 .jc2-chk b { display: block; font-size: 15px; }
  .jc2 .jc2-chk ul { margin: 2px 0 0; padding-left: 0; list-style: none; }
  .jc2 .jc2-chk li::before { content: '☐ '; }
  .jc2 .jc2-src { font-size: 13px; color: var(--gray-600, #4b5563); margin: 6px 0 0; line-height: 1.5; }
  .jc2 details.jc2-more summary { font-size: 15px; color: var(--accent); cursor: pointer; }
  .jc2 details.jc2-more { margin-top: 4px; font-size: 15px; }
  .jc2 .jc2-small { font-size: 14px; color: var(--gray-600, #4b5563); }
  .jc-fee-pick { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
  .jc-fee-a { font-size: 14px; padding: 4px 10px; border: 1px solid var(--gray-300, #d1d5db); border-radius: 999px; background: transparent; color: inherit; cursor: pointer; }
  .jc-fee-a.on { border-color: var(--accent); color: var(--accent); font-weight: 600; }
  .jc-fee-bars { display: flex; align-items: flex-end; gap: 4px; height: 110px; margin: 10px 0 2px; }
  .jc-fee-b { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-width: 0; }
  .jc-fee-bar { width: 70%; background: var(--accent); border-radius: 3px 3px 0 0; opacity: .8; }
  .jc-fee-m { font-size: 11px; color: var(--gray-600, #4b5563); margin-top: 3px; white-space: nowrap; }
  details.jc-term { display: inline; }
  details.jc-term > summary { display: inline; cursor: pointer; list-style: none; text-decoration: underline dotted; text-underline-offset: 3px; }
  details.jc-term > summary::-webkit-details-marker { display: none; }
  details.jc-term[open] .jc-term-tip { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--gray-700, #374151); }
  a.jc-tel { color: var(--accent); white-space: nowrap; }
  ol.jc-tl { list-style: none; display: flex; padding: 0; margin: 8px 0 4px; position: relative; }
  ol.jc-tl::before { content: ''; position: absolute; top: 7px; left: 16.6%; right: 16.6%; height: 2px; background: var(--gray-300, #d1d5db); }
  .jc-tl-i { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
  .jc-tl-d { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); margin-bottom: 4px; }
  .jc-tl-none .jc-tl-d { background: var(--gray-300, #d1d5db); }
  .jc-tl-k { font-size: 14px; color: var(--gray-600, #4b5563); }
  .jc-tl-v { font-size: 16px; font-weight: 600; }
  .jc-tl-who { font-size: 15px; margin: 4px 0 0; color: var(--gray-700, #374151); }
  .jc2 .jc2-note { font-size: 14px; color: var(--gray-600, #4b5563); margin: 6px 0 4px; }
  .jc2 table.jc2-tbl { width: 100%; border-collapse: collapse; font-size: 15px; table-layout: fixed; }
  .jc2 table.jc2-tbl th, .jc2 table.jc2-tbl td { text-align: left; padding: 5px 6px; border-bottom: 1px solid var(--gray-200, #e5e7eb); vertical-align: top; overflow-wrap: anywhere; }
  .jc2 table.jc2-tbl th:first-child, .jc2 table.jc2-tbl td:first-child { width: 4.6em; white-space: nowrap; }
  .jc2 table.jc2-tbl th { font-weight: 600; color: var(--gray-700, #374151); }
  #livingbox li.jc2-li { list-style: none; margin: 4px 0 10px -18px; }
  /* 2026-11-15 가독성 개편 2단계(입지 탭) */
  details.jc-life-more { margin: 4px 0 0; }
  .jc-crow { font-size: 17px; line-height: 1.6; }
  #jcBuildingTable .jc-facts th, #jcBuildingTable .jc-facts td { font-size: 17px; line-height: 1.6; }
  .jc-src13, .jc-chart-note.jc-src13 { font-size: 13px; color: var(--gray-600, #4b5563); }
  details.jc-life-more > summary { font-size: 15px; color: var(--accent); cursor: pointer; padding: 6px 0; }
  #jcLifeCard .jc-life-r { font-size: 17px; line-height: 1.6; }
  #jcAirAvg { font-size: 15px; line-height: 1.6; }
  #extrabox .cs-text, #safetybox .cs-text, #translinesbox .cs-text { font-size: 17px; line-height: 1.6; }
  #extrabox .cs-cap, #safetybox .cs-cap, #translinesbox .cs-cap { font-size: 13px; color: var(--gray-600, #4b5563); }
  .jc-numtab { margin-top: 6px; font-variant-numeric: tabular-nums; }
  .jc-numtab td:first-child { word-break: keep-all; }
  .jc-facts { width: 100%; max-width: 420px; border-collapse: collapse; font-size: var(--fs-0_9375rem, 1rem); line-height: 1.5; }
  .jc-facts th, .jc-facts td { padding: 8px 0; border-bottom: 1px solid var(--gray-200); text-align: left; vertical-align: top; }
  .jc-facts th { width: 6.5em; font-weight: 400; color: var(--gray-600); }
  .jc-facts td { color: var(--ink); }
  .bsub-title { margin: 0 0 6px; font-size: var(--fs-0_9375rem, 1rem); font-weight: 700; color: var(--gray-700); }
  .bundle .jc-group-note { margin: -2px 0 8px; }
  .bundle-empty { font-size: 0.875rem; color: #555; margin: 4px 0 8px; }
  /* 2026-10-20(m4): 입지 안의 "지난 기록"·"주변 변화" -- 묶음 안 소제목(선·위 여백 없이, 제목 한 단계 작게). 묶음 이름과 같은 소제목(건물·이 동네는)은 한 번만 보이게 */
  .bundle .bundle-in { padding: 6px 0 0; border-bottom: none; }
  .bundle-subtitle { font-size: 1.0625rem; color: var(--ink); margin: 10px 0 6px; }
  #b-building > .bsub > .bsub-title, #b-dong > .bsub > .bsub-title { display: none; }
  .bsub-ref { border: 1px solid var(--gray-200); border-radius: 8px; padding: 0 12px; }
  .bsub-ref > summary { min-height: 44px; display: flex; align-items: center; flex-wrap: wrap; gap: 0 4px; cursor: pointer; font-size: 0.875rem; font-weight: 600; color: var(--gray-700); }
  .bsub-ref-note { font-weight: 400; color: #555; }
  .bsub-ref #floodstatswrap > h3 { display: none; }
  #floodinfowrap { display: none !important; }
  .bundle .flood-sub { font-size: var(--fs-0_8125rem, 0.875rem); font-weight: 600; color: #555; margin: 4px 0 6px; }
  #b-land #heritagezonewrap > h2, #b-land #districtplanzonewrap > h2, #b-land #educationzonewrap > h2, #b-land #developmentzonewrap > h2, #b-land #renewalzonewrap > h2,
  #b-change #urbanrenewalwrap > h2, #b-change #urbanregenerationwrap > h2 { font-size: var(--fs-0_9375rem, 1rem); }
  #b-contract #pretract { padding-top: 0; border-bottom: none; }
  #b-contract #pretract > h2, #b-contract #khugwrap > h2 { display: none; }
  #hazardsummary { display: none !important; }
  .pt-slot { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
  .pt-slot[hidden], #pt-confirmed[hidden], #pt-confirmed-title[hidden] { display: none; }
  .pt-slot .summary-item { font-size: 1.0625rem; line-height: 1.6; }
  .pt-slot .pt-maplink-hint { font-size: 0.875rem; }
  .hs-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hs-chips[hidden] { display: none; }
  @media (max-width: 480px) { .hs-chips { grid-template-columns: 1fr; } }
  #corrLine[hidden] { display: none; }
  #corrLine { margin-top: 8px; }
  .no-map-note { display: block; margin-top: 4px; font-size: var(--fs-0_75rem, 0.875rem); color: #555; }
  #khugbox .khug-scope { color: #555; }
  #sectionNav a { flex: 0 0 auto; padding: 0 10px; }
  #sheetBody { overscroll-behavior: contain; }
  #sheetHandleLabel { display: none; }
  /* 휴대폰·태블릿(<=1023px) 검색 뒤: 지도는 위, 결과는 아래 시트. 시트 높이 = 접힘 25% / 절반 50% / 전체(머리줄도 숨김).
     JS(setSheetState)가 --maph(지도 높이)를 정하고, 시트 높이는 기존 규칙 calc(100dvh - --hdr - --maph)를 따른다. */
  @media (max-width: 767px) {
    body.searched #sheetHandle { display: block !important; padding: 6px 18px 6px; }
    body.searched #sheetHandle .bar { margin-bottom: 4px; }
    body.searched #peekSummary { display: none; }
    body.searched #sheetHandleLabel { display: block; text-align: center; font-size: var(--fs-0_8125rem, 0.875rem); color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
    body.searched #sheet { transition: height .22s ease; }
    body.searched #sheet.dragging { transition: none; }
    /* 2026-10-20(m2): 전체 단계 노치 여백은 --sheety(transform)로 -- 위 여백을 바꾸면 안쪽 글이 밀렸음 */
    body.searched.sheet-open #sheetHandle:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
  }
  /* 데스크톱(>=1024px): 왼쪽 결과 패널 440px + 오른쪽 지도(화면 높이 - 머리줄). 머리줄은 두 칸을 가로지른다. */
  @media (min-width: 768px) {
    body.searched #searchbar, body.searching #searchbar { grid-column: 1 / 3; }
    body.searched #map, body.searching #map { grid-row: 2; }
    body.searched #radiusgroup { width: auto; flex: none; grid-template-columns: repeat(5, 84px); }
    body.searched #searchrow { flex: 1 1 320px; max-width: 560px; }
    body.searched #status, body.searching #status { top: calc(var(--hdr) + 16px); }
    body.searched #layerToggle, body.searching #layerToggle { top: calc(var(--hdr) + 16px); }
    body.searched #quickActions, body.searching #quickActions { top: calc(var(--hdr) + 58px); }
    body.searched #layerPanel { top: calc(var(--hdr) + 58px); max-height: calc(100vh - var(--hdr) - 80px); }
  }

  /* ================= 2026-10-15(UI 개편 3단계): 요약 카드 · 접는 큰 카드 ================= */
  body.searched #searchedAddr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  #b-summary #onepage { display: none !important; }
  .sum-card { margin: 0 0 10px; padding: 10px 12px 8px; border: 1px solid var(--gray-200); border-radius: 10px; background: #fff; }
  .sum-card[hidden] { display: none; }
  /* 2026-10-16(미리보기): 한 장 요약 */
  .op-card { margin: 0 0 10px; padding: 8px 12px 6px; border: 1px solid var(--gray-200); border-radius: 10px; background: #fff; }
  .op-card[hidden] { display: none; }
  .op-head { font-size: var(--fs-0_9375rem, 1rem); font-weight: 700; color: var(--ink); cursor: pointer; min-height: 48px; display: flex; align-items: center; }   /* 2026-10-20(m1): 32→48px */
  .op-lines { list-style: none; margin: 2px 0 0; padding: 0; }
  .op-sum { margin: 6px 0 4px; padding: 10px 12px; border: 1px solid var(--gray-100, #F1F5F9); border-radius: 10px; }   /* 2026-10-17(A) 결론 요약 -- 색·아이콘 없음 */
  .op-sum-l { margin: 4px 0; font-size: 1.0625rem; line-height: 1.6; }
  .op-sum-l a { color: var(--accent); text-decoration: underline; }
  .pt-rights { margin: 12px 0 4px; }   /* 2026-10-17(C) */
  .pt-rights-h { font-weight: 600; margin: 0 0 6px; }
  .pt-rights-l { margin: 0; padding-left: 1.2em; line-height: 1.8; }
  .pt-rights-l a { color: var(--accent); text-decoration: underline; }
  .op-sum-wait { color: var(--gray-500, #686c70); }
  .next-action { margin-top: 6px; font-size: var(--fs-0_9375rem, 1rem); color: var(--gray-700, #3f4542); }   /* 2026-10-17(B) */
  .land-type-note { margin: 6px 0; padding: 8px 12px; font-size: 1rem; line-height: 1.5; background: var(--gray-50, #f7f7f7); border-radius: 8px; }   /* 2026-10-17 */
  .op-lines li { border-top: 1px solid var(--gray-100, #F1F5F9); }
  .op-line { display: block; width: 100%; padding: 6px 2px; border: none; background: none; font: inherit; text-align: left; cursor: pointer; color: #333; }
  .op-line:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
  .op-k { font-size: var(--fs-0_8125rem, 0.875rem); font-weight: 700; color: var(--gray-700); margin-right: 6px; }
  .op-v { display: block; font-size: 0.875rem; line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .op-v.op-v2 { display: -webkit-box; white-space: normal; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: keep-all; }   /* 건물·땅·구역은 2줄까지 */
  .op-src { display: block; font-size: var(--fs-0_6875rem, 0.875rem); color: #666; line-height: 1.35; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .op-foot { margin: 4px 0 0; font-size: var(--fs-0_75rem, 0.875rem); color: #555; }
  .op-foot button { border: none; background: none; padding: 0; font: inherit; color: var(--accent-dark); text-decoration: underline; cursor: pointer; min-height: 28px; }
  .sc-addr { font-size: 1.0625rem; font-weight: 700; color: var(--ink); line-height: 1.35; }
  .sc-meta { font-size: var(--fs-0_7812rem, 0.875rem); color: #555; line-height: 1.45; margin: 2px 0 4px; }
  .sc-lines { list-style: none; margin: 0; padding: 0; }
  .sc-lines li { border-top: 1px solid var(--gray-100, #F1F5F9); }
  .sc-line { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 40px; padding: 0 2px; border: none; background: none; font: inherit; text-align: left; cursor: pointer; color: var(--ink); }
  div.sc-line { cursor: default; }
  .sc-k { flex: none; width: 64px; font-size: 0.875rem; font-weight: 700; color: var(--gray-700); }
  .sc-v { flex: 1 1 auto; min-width: 0; font-size: 0.875rem; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sc-arrow { flex: none; color: #666; }
  .sc-line:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
  .sc-skel { display: inline-block; width: 60%; height: 12px; border-radius: 6px; background: linear-gradient(90deg, #e2e8f0 25%, #F8FAFC 50%, #e2e8f0 75%); background-size: 200% 100%; animation: scSkel 1.2s linear infinite; vertical-align: middle; }
  @keyframes scSkel { from { background-position: 200% 0; } to { background-position: -200% 0; } }
  @media (prefers-reduced-motion: reduce) { .sc-skel { animation: none; } }
  .sc-retry { min-height: 32px; padding: 0 8px; border: 1px solid var(--gray-300); border-radius: 6px; background: #fff; font: inherit; font-size: var(--fs-0_8125rem, 0.875rem); color: var(--accent-dark); cursor: pointer; }
  .sc-note { margin: 4px 0 0; font-size: var(--fs-0_75rem, 0.875rem); color: #555; line-height: 1.45; }
  .here-list ul { list-style: none; margin: 0; padding: 0; }
  .here-list li { display: flex; align-items: center; gap: 6px; font-size: 0.875rem; line-height: 1.6; padding: 4px 0; }
  .fold-card { margin: 8px 0; border: 1px solid var(--gray-200); border-radius: 10px; background: #fff; padding: 10px 12px; }
  .fold-card[hidden] { display: none !important; }
  body:not(.searched) .fold-card[data-fc="deedguide"] { display: none; }
  .fold-card.fc-collapsed > :not(.fc-head):not(.fc-src) { display: none !important; }
  .fold-card:not(.fc-collapsed) > .fc-src { display: none; }
  .fc-head { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center; }
  .fc-title { font-size: var(--fs-0_9375rem, 1rem); font-weight: 700; color: var(--ink); }
  .fc-sum { grid-column: 1 / 2; font-size: 0.875rem; color: #333; line-height: 1.5; }
  .fc-sum:empty { display: none; }
  .fc-toggle { grid-column: 2; grid-row: 1 / 3; min-height: 44px; padding: 0 10px; border: 1px solid var(--gray-300); border-radius: 8px; background: #fff; font: inherit; font-size: var(--fs-0_8438rem, 0.875rem); color: var(--accent-dark); cursor: pointer; white-space: nowrap; }
  .fold-card:not(.fc-collapsed) > .fc-head { margin-bottom: 8px; }
  .fc-src { margin-top: 6px; font-size: var(--fs-0_75rem, 0.875rem); color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fc-src[hidden] { display: none; }
  .fold-card > #pretract, .fold-card > #deedguide { padding-top: 0; border-bottom: none; }
  .fold-card > #urbanrenewalwrap > h2, .fold-card > #deedguide > h2#registry-upload { font-size: var(--fs-0_9375rem, 1rem); }

  /* ================= 2026-10-15(UI 개편 4단계): 지도 위 칩 한 줄 ================= */
  #mapChips { position: fixed; z-index: 950; display: flex; align-items: center; gap: 6px; height: 48px; overflow-x: auto; overflow-y: hidden;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; padding: 0 10px; }
  #mapChips::-webkit-scrollbar { display: none; }
  #mapChips[hidden] { display: none; }
  .mc-chip { flex: none; display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0 12px; border: 1px solid var(--gray-300); border-radius: 22px;
    background: #fff; font: inherit; font-size: 0.875rem; color: var(--gray-700); white-space: nowrap; cursor: pointer; box-shadow: 0 1px 6px rgba(0,0,0,.14); }
  .mc-chip[aria-checked="true"],
  .mc-chip[aria-pressed="true"] { border-color: var(--accent-dark); color: var(--accent-dark); font-weight: 700; box-shadow: inset 0 0 0 1px var(--accent-dark), 0 1px 6px rgba(0,0,0,.14); }
  .mc-chip.mc-off { color: #666; background: #F8FAFC; }
  .mc-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .mc-all { font-weight: 700; color: var(--accent-dark); }
  .mc-ic { display: inline-flex; gap: 2px; align-items: center; }
  .mc-ic:empty { display: none; }
  .mc-sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; border: 1px solid rgba(0,0,0,.2); }
  .mc-sep { flex: none; width: 1px; height: 26px; background: rgba(0,0,0,.18); margin: 0 2px; }
  .mc-label { flex: none; font-size: var(--fs-0_75rem, 0.875rem); color: #444; background: rgba(255,255,255,.9); padding: 2px 6px; border-radius: 8px; }
  .mc-presets { flex: none; display: flex; align-items: center; gap: 6px; }
  #mapChipNote { position: fixed; z-index: 960; left: 50%; transform: translateX(-50%); max-width: calc(100vw - 32px); background: rgba(33,37,35,.92); color: #fff;
    font-size: var(--fs-0_8125rem, 0.875rem); padding: 7px 12px; border-radius: 16px; pointer-events: none; text-align: center; }
  #mapChipNote[hidden] { display: none; }
  /* 상태 알약·"레이어" 단추·떠 있는 범례는 검색 뒤 칩 줄이 대신한다(검색 중에는 상태 알약 그대로) */
  body.searched:not(.results-pending) #status { display: none !important; }   /* 2026-10-15(5단계 고침): 검색 뒤에도 searching 클래스가 남아 데스크톱에서 칩 줄과 겹쳤다 -- 결과를 다시 받는 중(results-pending)일 때만 보인다 */
  body.searched #layerToggle, body.searched #legendToggle, body.searched #legendPanel { display: none !important; }
  #layerLegend { display: block; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--gray-200); font-size: var(--fs-0_7812rem, 0.875rem); color: var(--gray-700); line-height: 1.5; }
  #layerLegend h3 { margin: 0 0 6px; font-size: var(--fs-0_8125rem, 0.875rem); }
  #layerLegend .legend-row { display: flex; align-items: flex-start; gap: 7px; margin-bottom: 6px; }
  #layerLegend .legend-swatch { flex: none; margin-top: 2px; }
  #zoneLayers .zone-eq { display: flex; }
  @media (max-width: 767px) {
    #mapChips { top: calc(var(--hdr) + 4px); left: 0; right: 0; }
    #mapChipNote { top: calc(var(--hdr) + 58px); }
    body.searched.map-folded #mapChips { display: none; }
    body.searched #quickActions { top: calc(var(--hdr) + 58px) !important; }
    body.searched.sheet-open #mapActivateHint:not([hidden]) { top: calc(var(--hdr) + var(--maph) - 42px); }
  }
  @media (min-width: 768px) {
    /* 2026-10-15(4단계 마무리): 데스크톱은 두 줄 -- 1줄 모든 항목 + 다섯 묶음, 2줄 보기 기준 */
    #mapChips { top: calc(var(--hdr) + 8px); left: calc(var(--side) + 2px); right: 0; height: auto; flex-wrap: wrap; row-gap: 6px; overflow: visible; padding: 0 10px; }
    #mapChips .mc-sep { display: none; }
    #mapChips .mc-presets { flex-basis: 100%; }
    #mapChipNote { top: calc(var(--hdr) + 116px); left: calc(var(--side) + (100vw - var(--side)) / 2); }
    body.searched #quickActions { top: calc(var(--hdr) + 112px) !important; }
    body.searched #layerPanel { top: calc(var(--hdr) + 112px); max-height: calc(100vh - var(--hdr) - 130px); }
  }

  /* ================= 2026-10-15(UI 개편 5단계): 행동 버튼 · 공유 안내 · 최근 주소 ================= */
  .act-bar { display: flex; gap: 8px; }
  body:not(.searched) .act-bar { display: none !important; }
  .act-btn { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 0 8px; border: 1px solid var(--gray-300); border-radius: 10px; background: #fff;
    font: inherit; font-size: 0.875rem; font-weight: 600; color: var(--accent-dark); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .act-btn[data-act="report"] { background: var(--accent); border-color: var(--accent); color: #fff; }
  .act-btn:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; }
  .act-top { margin: 0 0 10px; }
  .act-btn[data-act="compare"] { flex-grow: 1.35; }   /* 375px에서 "다른 주소와 비교"가 잘리지 않게 */
  @media (max-width: 400px) { .act-btn { padding: 0 6px; font-size: var(--fs-0_8438rem, 0.875rem); } }
  @media (max-width: 400px) { .act-bar { gap: 6px; } .act-btn { flex: 1 1 auto; } .act-btn[data-act="compare"] { flex-grow: 1; } }   /* 2026-10-17: 375·360px에서 "가족에게 보내기"가 두 줄로 꺾이지 않게 -- 버튼 너비를 글자 길이에 맞춤 */
  .act-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1010; background: #fff; border-top: 1px solid var(--gray-200);
    padding: 6px calc(10px + env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) calc(10px + env(safe-area-inset-left)); box-shadow: 0 -2px 10px rgba(0,0,0,.08); }
  #shareNote { position: fixed; z-index: 1020; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); background: rgba(33,37,35,.94); color: #fff;
    font-size: var(--fs-0_8438rem, 0.875rem); line-height: 1.5; padding: 9px 14px; border-radius: 12px; text-align: center; }
  #shareNote[hidden] { display: none; }
  @media (max-width: 767px) {
    #actBarTop { display: none !important; }
    body.searched #sheetBody { padding-bottom: calc(76px + env(safe-area-inset-bottom)); scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom)); }   /* 2026-10-16: 펼친 목록 끝이 하단 버튼에 가리지 않게 */
    #shareNote { bottom: calc(72px + env(safe-area-inset-bottom)); }
    body.searched.sheet-open #mapActivateHint:not([hidden]) { z-index: 900; }
  }
  @media (min-width: 768px) {
    #actBarBottom { display: none !important; }
    #shareNote { top: auto; bottom: 24px; left: 50%; max-width: min(560px, calc(100vw - 32px)); }   /* 2026-10-15(5단계 마무리): 화면 아래 가운데 -- 요약 카드를 가리지 않게 */
  }
  #searchrow { position: relative; }
  #recentBox { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 1100; background: #fff; border: 1px solid var(--gray-300); border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,.14); padding: 6px 0 8px; }
  #recentBox[hidden] { display: none; }
  .rc-head { display: flex; align-items: center; padding: 0 12px; }
  .rc-title { font-size: var(--fs-0_8125rem, 0.875rem); font-weight: 700; color: var(--gray-700); }
  .rc-clear { margin-left: auto; min-height: 36px; border: none; background: none; font: inherit; font-size: var(--fs-0_8125rem, 0.875rem); color: var(--accent-dark); text-decoration: underline; cursor: pointer; }
  #recentList { list-style: none; margin: 0; padding: 0; }
  .rc-item { display: block; width: 100%; min-height: 44px; padding: 0 12px; border: none; background: none; text-align: left; font: inherit; font-size: var(--fs-0_9375rem, 1rem); color: var(--ink); cursor: pointer; }
  .rc-item:hover, .rc-item:focus-visible { background: var(--gray-100, #f3f4f3); }
  .rc-note { padding: 4px 12px 0; font-size: var(--fs-0_75rem, 0.875rem); color: #555; }

  /* ================= 2026-10-15(UI 개편 6단계): 큰 글씨 · 누르는 영역 48px ================= */
  body { font-size: 1.0625rem; line-height: 1.6; }
  body.rate-limited #status { display: block !important; }
  /* 단추·칩·탭·하단 바: 최소 48 x 48px */
  .act-btn, .mc-chip, #sectionNav a, .radius-btn, .who-chip, #go, #addr, .fc-toggle, .sc-line, .hs-chip-btn, .b-more, .pt-more-btn, .rc-item, .rc-clear,
  #pttabs button, #retabs button, #cmpOpenBtn, #cmpGo, .example-btn, #layerClose, .layer-close, .hs-shelter-outside, #sheetHandle,
  details > summary, #reportBtn, #paidReportBtn, .deedpdf-pick, .living-eq, .cats-zero-toggle, #hs-toggleall-ref, #ds-toggleall, .gl-all-link, #mapMiniShow {
    min-height: 48px; }
  #layerClose, .layer-close { min-width: 48px; }
  .cats-zero-toggle, #hs-toggleall-ref, #ds-toggleall, .gl-all-link { display: inline-flex; align-items: center; }
  #mapChips { height: 56px; }
  @media (min-width: 768px) { #mapChips { height: auto; } }
  /* 글 사이에 든 작은 단추(? · 뜻 · 세부)는 모양은 그대로 두고 누르는 영역만 48px로 넓힌다 */
  .gl-q, .jc-term-btn, .crime-group-more, .pt-cross-src, .ur-more-btn, #floodstats-toggle { position: relative; }
  .gl-q::after, .jc-term-btn::after, .crime-group-more::after, .pt-cross-src::after, .ur-more-btn::after, #floodstats-toggle::after {
    content: ''; position: absolute; left: 50%; top: 50%; width: max(100%, 48px); height: max(100%, 48px); transform: translate(-50%, -50%); }
  .crime-group-more::after { content: ''; }
  /* 2026-10-20(m1): "이 화면에 나오지 않는 것 보기"·지도 아래 출처 링크도 모양은 그대로, 누르는 영역만 높이 48px(옆 링크와 겹치지 않게 너비는 그대로) */
  .op-notshown, #mapCredit a { position: relative; }
  .op-notshown::after, #mapCredit a::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: max(100%, 48px); transform: translateY(-50%); }
  /* 2026-10-20(m1): 맨 위로 -- 화면 고정. 휴대폰은 아래 버튼 줄(약 64px) 위, PC는 왼쪽 목록 오른쪽 아래 */
  #toTopBtn { position: fixed; right: calc(14px + env(safe-area-inset-right)); bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 1015;
    min-height: 48px; min-width: 48px; padding: 0 16px; border: 1px solid var(--gray-300); border-radius: 24px; background: #fff; color: var(--accent-dark);
    font: inherit; font-size: var(--fs-0_9375rem, 1rem); font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.15); cursor: pointer; }
  #toTopBtn[hidden] { display: none; }
  #sectionNav a { min-width: 48px; }   /* 2026-10-20(m1): 한 글자 칩(땅)도 누르는 폭 48px */
  #toTopBtn:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; }
  @media (min-width: 768px) { #toTopBtn { right: auto; left: calc(var(--side) - 132px); bottom: 20px; } }
  .pt-todo-check input[type=checkbox], .category-item input[type=checkbox], .bh-toggle-label input[type=checkbox] { width: 22px; height: 22px; }
  .bh-toggle-label, .category-item { min-height: 48px; }
  #pt-eok, #pt-manwon, #pt-rent, #cmpAddrB { min-height: 48px; }
  /* 글자를 키웠을 때(html에 font-size가 붙음): 반경 칩 시간 글자는 줄바꿈 허용, 요약 이름 칸은 rem 폭, 단추 글자는 낱말 단위로 줄바꿈 */
  html[style*="font-size"] .radius-time { white-space: normal !important; letter-spacing: 0 !important; font-size: var(--fs-0_75rem, 0.875rem) !important; }
  .sc-k { width: 4.25rem; white-space: nowrap; }
  .act-btn, .sc-v, .mc-chip { word-break: keep-all; }
  .act-btn { white-space: normal; line-height: 1.15; overflow: visible; text-overflow: clip; }   /* 125%에서 "다른 주소와 비교"가 잘리지 않고 두 줄로 */
  /* 2026-10-15(6단계): 풀이 단추 ⓘ 하나로("?"·"뜻" 통일) -- 누르는 영역은 위 ::after로 48px */
  .gl-q, .jc-term-btn { display: inline-flex; align-items: center; justify-content: center; width: auto; height: auto; min-width: 0; margin: 0 2px 0 3px; padding: 0 2px;
    border: none !important; border-radius: 0; background: none !important; color: var(--accent-dark) !important; font-size: 1.05em; font-weight: 400; line-height: 1; vertical-align: baseline; cursor: pointer; }
  .gl-q[aria-expanded="true"], .jc-term-btn[aria-expanded="true"] { font-weight: 700; }
  .gl-q:focus-visible, .jc-term-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 50%; }
  .hs-chip > .jc-term-btn { align-self: center; margin: 0 0 0 4px; }

  /* ================= 2026-10-15(UI 개편 7단계): 화면 밀림 줄이기 ================= */
  /* 첫 결과가 다 올 때까지 요약 카드 아래는 자리만 두고 보이지 않게(나중에 채워지며 아래를 밀어 생기던 CLS) */
  body.first-pending .bundle:not(#b-summary), body.first-pending #b-summary .bsub, body.first-pending .fold-card[data-fc="deedguide"],
  body.first-pending #group-risk, body.first-pending #privacyfaq, body.first-pending #glossaryAll, body.first-pending #disclaimer,
  body.first-pending #resultLinks, body.first-pending #searchedAddr { visibility: hidden; }
  /* 2026-10-15(7단계-4): 거래 묶음 접기 */
  .recard.re-clip, .re-group-title.re-clip { display: none; }
  #reClipBtn[hidden] { display: none; }
  #reClipBtn { display: block; width: 100%; margin-top: 8px; }
  .pt-fold-body[hidden] { display: none; }
  .pt-item-toggle { display: inline-flex; align-items: center; min-height: 48px; margin-top: 2px; padding: 0 2px; border: none; background: none; font: inherit; font-size: 0.875rem; color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .group-sub-title:has(+ .fold-card[data-fc="jeonsetrendbox"]) { display: none; }
  #dongSrc { margin: 4px 0 0; }
  #dongSrc[hidden] { display: none; }
  /* 2026-10-15(7단계-5): 실거래 한 건 = 두 줄(최소 48px, 그 이상 키우지 않음). 아주 긴 가격은 숨기지 않고 줄을 바꾼다. */
  #recards { gap: 6px; }
  .recard { min-height: 48px; padding: 5px 12px; display: flex; flex-direction: column; justify-content: center; }
  .recard .re-l1 { font-size: var(--fs-0_8125rem, 0.875rem); line-height: 1.35; color: var(--gray-700); }
  .recard .re-l1.re-has-nm { display: flex; min-width: 0; }
  .recard .re-nm { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .recard .re-dt { flex: none; white-space: nowrap; }
  .recard .re-l2 { font-size: var(--fs-0_9375rem, 1rem); line-height: 1.35; font-weight: 700; color: var(--accent-dark); text-align: right; }
  /* 요약 카드 메타 줄은 375px에서 두 줄 -- 스켈레톤도 같은 높이 */
  @media (max-width: 600px) { .sc-meta { min-height: 2.9em; } }
  /* cls-hdr-1016 */ /* 2026-10-16(CLS): 결과 화면 머리줄·바로가기 줄 높이를 처음부터 고정(patch_header_chips.py) */
  body.searched.first-pending #sectionNav[hidden] { display: flex; }
  body.searched #searchbar .fs-ctl:empty { align-self: center; }
  @media (min-width: 768px) {
    body.searched #searchmsg, body.searched #searchmsg:empty { display: block; min-height: 1.2rem; min-height: 1lh; }
  }
  /* 2026-10-17: 첫 화면 "계약 전에 읽어 보세요" 줄(patch_landing_guides.py) */
  .landing-guides { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; margin: 8px 0 0; font-size: 0.875rem; line-height: 1.4; }
  .landing-guides .lg-title { flex-basis: 100%; font-weight: 700; color: var(--gray-700); margin-bottom: 2px; }
  .landing-guides a { display: inline-flex; align-items: center; min-height: 40px; color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ---- 2026-10-26 CC-4 결과 화면 개편 1차(머리·요약·스타일). body.cc4 일 때만 켜진다(CC4_ON). 시안 /data/notes/design-cc4/ ----
   색: #1E40AF 로고·주요 버튼·선택 탭·핀 / #2563EB 링크·hover만 / #0F172A 본문·건수 / 나머지 회색(#475569·#E2E8F0·#EEF4FF).
   카드 그림자·그라데이션·점 격자 없음. 섹션은 흰 바탕 + 8px 회색 띠, 목록은 구분선만, 모서리 8px. */
@font-face { font-family: "JC Sans KR"; font-style: normal; font-weight: 400; font-display: swap; src: url("/jipcheck/assets/fonts/jc-sans-kr-Regular.woff2") format("woff2"); }
@font-face { font-family: "JC Sans KR"; font-style: normal; font-weight: 700; font-display: swap; src: url("/jipcheck/assets/fonts/jc-sans-kr-Bold.woff2") format("woff2"); }
body.cc4 { --c4-brand: #1E40AF; --c4-link: #2563EB; --c4-ink: #0F172A; --c4-sub: #475569; --c4-line: #E2E8F0; --c4-band: #EEF4FF; }
body.cc4, body.cc4 button, body.cc4 input { font-family: "JC Sans KR", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
body.cc4.searched #sheetBody { color: var(--c4-ink); }
body.cc4.searched #sheetBody a { color: var(--c4-link); }
body.cc4.searched #sheetBody .bundle, body.cc4.searched #sheetBody .bsub, body.cc4.searched #sheetBody .summary-item,
body.cc4.searched #sheetBody .fold-card, body.cc4.searched #sheetBody .hs-chip, body.cc4.searched #sheetBody .act-btn { box-shadow: none !important; background-image: none !important; }
body.cc4.searched #sheetBody .fold-card, body.cc4.searched #sheetBody .summary-item { border-radius: 8px; }
body.cc4.searched #jcMain > .bundle { background: #fff; border: 0; border-bottom: 8px solid var(--c4-band); margin: 0 -16px; padding: 22px 16px 20px; }
body.cc4.searched #jcMain > .bundle .bundle-title { font-size: 1.25rem; font-weight: 700; color: var(--c4-ink); margin: 0 0 10px; }
body.cc4.searched #jcMain > #b-change > .bundle-title { font-size: 1.25rem; }
/* 시안에 없는 블록: 한 장 요약·한눈 요약 카드·옛 탭은 화면에서 뺀다(PDF 한 장 요약은 그대로) */
body.cc4.searched #onePager, body.cc4.searched #sumCard, body.cc4.searched #onepage, body.cc4.searched #sectionNav { display: none !important; }

/* 머리: 줄인 주소 + 영역 탭(밑줄형). #sheet 맨 위(스크롤 영역 밖)라 늘 보인다 */
#cc4Head { display: none; }
body.cc4.searched #cc4Head { display: block; flex: none; background: #fff; border-bottom: 1px solid var(--c4-line); }
#cc4Head .c4-row { display: flex; align-items: center; gap: 8px; padding: 10px 16px 2px; min-height: 40px; }
#cc4Head .c4-home { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; color: var(--c4-brand); flex: none; }
#cc4Head .c4-addr { flex: 0 1 auto; min-width: 0; border: 0; background: none; padding: 4px 2px; font-size: 1.0625rem; font-weight: 700; color: var(--c4-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; text-align: left; }
#cc4Head .c4-addr:hover { color: var(--c4-link); }
#cc4Head .c4-ex { flex: none; font-size: var(--fs-0_75rem, 0.875rem); color: var(--c4-sub); border: 1px solid var(--c4-line); border-radius: 4px; padding: 0 6px; }
#cc4Head .c4-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding: 0 8px; }
#cc4Head .c4-tabs::-webkit-scrollbar { display: none; }
#cc4Head .c4-tabs a { flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 8px; font-size: var(--fs-0_9375rem, 1rem); color: var(--c4-sub); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
#cc4Head .c4-tabs a b { color: var(--c4-ink); font-weight: 700; }
#cc4Head .c4-tabs a[aria-current="true"] { color: var(--c4-brand); font-weight: 700; border-bottom-color: var(--c4-brand); }
#cc4Head .c4-tabs a:hover { color: var(--c4-link); }
#cc4Head .c4-tabs a:focus-visible { outline: 2px solid var(--c4-brand); outline-offset: -2px; }
/* 검색창·반경: 머리의 주소를 누르면 열린다(다른 주소 검색·반경 바꾸기는 그대로 쓸 수 있게) */
body.cc4.searched:not(.cc4-search-open) #searchbar { display: none !important; }
@media (max-width: 767px) {
  body.cc4.searched #sheetHandle { display: none !important; }
  body.cc4.searched.cc4-mapview #sheetHandle { display: block !important; }
}
@media (min-width: 768px) { body.cc4.searched { --side: clamp(400px, 47vw, 860px); } }   /* PC: 왼쪽 목록을 넓힌다(시안 2열, 오른쪽 지도) */

/* 요약 */
#cc4Sum { display: none; }
body.cc4.searched #cc4Sum { display: block; }
#cc4Sum .c4-meta { font-size: 0.875rem; color: var(--c4-sub); line-height: 1.55; margin: 0 0 10px; }
#cc4Sum .c4-meta .c4-radius { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#cc4Sum .c4-meta .c4-radius:hover { color: var(--c4-link); }
#cc4Sum .c4-title { font-size: 1.625rem; line-height: 1.35; font-weight: 700; color: var(--c4-ink); margin: 0 0 12px; word-break: keep-all; }
#cc4Sum .c4-count { font-size: 1rem; line-height: 1.7; color: #334155; margin: 0 0 16px; word-break: keep-all; }
/* 2026-11-18(사용자 결정, 개선 1차 2·8단계): 비아파트 기본 사실 칸 · 이 집 임장 때 볼 것 · 현장 보기 */
#cc4NonApt:empty, #cc4Field:empty { display: none; }
.c4-na, .c4-field { margin: 0 0 14px; padding: 12px 14px; border: 1px solid #C7D7FE; border-radius: 12px; background: #fff; word-break: keep-all; }
.c4-na-h, .c4-field-h { margin: 0 0 6px; font-size: 1rem; font-weight: 700; color: #0F172A; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.c4-na ul, .c4-field ul { margin: 0; padding: 0; list-style: none; }
.c4-na li, .c4-field li { margin: 0; padding: 7px 0; border-top: 1px solid #EEF2F7; font-size: 0.9375rem; line-height: 1.6; color: #1F2937; }
.c4-na li:first-child, .c4-field li:first-child { border-top: 0; }
.c4-na-s { display: block; font-size: 0.8125rem; color: #475569; }
.c4-na li[data-tab] { cursor: pointer; } .c4-na-go { color: #1E40AF; font-weight: 700; white-space: nowrap; }
.c4-na-src { margin: 6px 0 0; font-size: 0.75rem; color: #64748B; }
.c4-field li b { display: block; font-size: 0.8125rem; font-weight: 600; color: #475569; }
.c4-field-go { font-size: 0.875rem; font-weight: 700; color: #1E40AF; text-decoration: none; white-space: nowrap; }
#jcFieldOnly { position: fixed; inset: 0; z-index: 9999; overflow-y: auto; background: #F8FAFC; padding: 16px; }
#jcFieldOnly[hidden] { display: none; }
/* 2026-11-18(개선 3차 4): 현장 모드 1단계 */
#jcFieldOnly .fo-ck { list-style: none; padding: 0; } #jcFieldOnly .fo-ck label { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; cursor: pointer; }
#jcFieldOnly .fo-ck input { width: 22px; height: 22px; flex: none; margin-top: 2px; }
#jcFieldOnly .fo-box { margin-top: 12px; padding: 12px; border: 1px solid #E2E8F0; border-radius: 10px; background: #fff; }
#jcFieldOnly .fo-h { margin: 0 0 8px; font-weight: 700; color: #0F172A; }
#jcFieldOnly .fo-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #C7D7FE; border-radius: 10px; background: #EEF4FF; color: #1E40AF; font: inherit; font-weight: 700; cursor: pointer; }
#jcFieldOnly .fo-mic-st { font-size: 0.875rem; color: #475569; } #jcFieldOnly .fo-noise { margin: 8px 0 0; padding-left: 18px; font-size: 0.9375rem; }
#jcFieldOnly .fo-note { margin: 6px 0 0; font-size: 0.8125rem; color: #64748B; }
#jcFieldOnly .fo-memo { width: 100%; box-sizing: border-box; font: inherit; padding: 8px; border: 1px solid #CBD5E1; border-radius: 8px; }
#jcFieldOnly .fo-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
#jcFieldOnly .fo-photos figure { margin: 0; } #jcFieldOnly .fo-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; display: block; }
#jcFieldOnly .fo-photos button { width: 100%; min-height: 32px; margin-top: 2px; border: 0; background: none; color: #475569; font: inherit; font-size: 0.8125rem; }
#jcFieldOnly .fo-share { margin-top: 8px; } #jcFieldOnly .fo-agg { margin: 8px 0 0; font-size: 0.9375rem; color: #0F172A; font-weight: 600; }
#jcFieldOnly .fo-del { display: block; width: 100%; min-height: 44px; margin-top: 12px; border: 0; background: none; color: #475569; font: inherit; text-decoration: underline; }
#jcFieldOnly .fo-addr { margin: 0 0 4px; font-size: 0.875rem; color: #475569; }
#jcFieldOnly .fo-t { margin: 0 0 12px; font-size: 1.25rem; font-weight: 800; color: #0F172A; }
#jcFieldOnly .fo-all { display: block; width: 100%; min-height: 48px; margin-top: 8px; border: 1px solid #C7D7FE; border-radius: 10px; background: #EEF4FF; color: #1E40AF; font: inherit; font-weight: 700; }
#cc4Sum .c4-glance { margin: 0 0 10px; padding: 8px 12px; border-radius: 8px; background: var(--c4-band); font-size: 0.875rem; line-height: 1.55; color: var(--c4-ink); word-break: keep-all; }
#cc4Sum .c4-count b { color: var(--c4-ink); }
/* 2026-11-01(2차) 화면 밀림: 요약 준비 전에는 아래 칸을 숨기고, 늦게 오는 칸은 자리를 잡아 둔다 */
body.c4-wait .bundle:not(#b-summary), body.c4-wait #b-summary .bsub, body.c4-wait #cc4MapSlot, body.c4-wait #cc4Areas, body.c4-wait #group-risk, body.c4-wait #privacyfaq, body.c4-wait #glossaryAll, body.c4-wait #disclaimer, body.c4-wait #resultLinks, body.c4-wait #searchedAddr, body.c4-wait #cc5Check, body.c4-wait #cc6Prep, body.c4-wait #cc4End { visibility: hidden; }
#cc4Sum .c4-glance-ph { visibility: hidden; }
.c4-first-ph { min-height: 320px; padding: 16px; border-radius: 10px; background: var(--c4-band); font-size: var(--fs-0_9375rem, 1rem); color: var(--c4-sub); }
body.cc4.searched #cc4Sum { min-height: 300px; }
#cc4Head .c4-row { min-height: 45px; }
#cc4Head .c4-tabs { min-height: 44px; }
@media (max-width: 767px) { body.cc4.searched .c4-next { display: none; } }   /* 2026-11-01(2차): 탭이 같은 일을 한다 -- 길이 줄이기 */
@media (min-width: 768px) { body.cc4.searched #cc4Sum { min-height: 240px; } }
body.c4-loading #jcLifeCard[hidden], body.c4-loading #jcFacilityChart[hidden], body.c4-loading #jcBuildingTable[hidden], body.c4-loading #jcTradeChart[hidden], body.c4-loading #jcDongChart[hidden] { display: block !important; min-height: 240px; padding: 12px; border-radius: 10px; background: var(--c4-band); }
body.c4-loading #jcLifeCard[hidden]::before, body.c4-loading #jcFacilityChart[hidden]::before, body.c4-loading #jcBuildingTable[hidden]::before, body.c4-loading #jcTradeChart[hidden]::before, body.c4-loading #jcDongChart[hidden]::before { content: '불러오는 중이에요'; font-size: var(--fs-0_9375rem, 1rem); color: var(--c4-sub); }
.c4-folded > *:not(.bundle-title):not(.bsub-title):not(h2):not(h3):not(.c4-sdate):not(.c4-foldbar) { display: none !important; }
.c4-foldbar { display: flex; align-items: center; gap: 10px; margin: 4px 0 8px; }
.c4-foldsum { flex: 1; min-width: 0; margin: 0; font-size: var(--fs-0_9375rem, 1rem); line-height: 1.5; color: var(--c4-sub); word-break: keep-all; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.c4-foldbtn { flex: none; min-height: 44px; padding: 0 14px; border: 1px solid var(--c4-line); border-radius: 8px; background: #fff; font: inherit; font-size: var(--fs-0_9375rem, 1rem); font-weight: 700; color: var(--c4-ink); cursor: pointer; }
.c4-foldable:not(.c4-folded) > .c4-foldbar .c4-foldsum { visibility: hidden; height: 0; }
#cc4Sum .c4-unavail, #cc4Unavail .c4-unavail { margin: 0 0 16px; padding: 12px; border: 1px solid #E2C48B; border-radius: 10px; background: #FFF9EC; }
#cc4Sum .c4-unavail p, #cc4Unavail .c4-unavail p { margin: 0 0 8px; font-size: 1rem; line-height: 1.6; color: #334155; word-break: keep-all; }
.c4-retry { min-height: 44px; padding: 0 16px; border: 1px solid #1E3A8A; border-radius: 8px; background: #fff; font: inherit; font-size: 1rem; font-weight: 700; color: #1E3A8A; cursor: pointer; }
.c4-retry:disabled { opacity: .6; cursor: default; }
.c4-retry-inline { display: block; margin-top: 8px; }
#cc4Sum .c4-wait { color: var(--c4-sub); }
#cc4MapSlot .c4-mini { pointer-events: none; position: relative; height: 180px; border-radius: 8px; overflow: hidden; background: var(--c4-band); margin: 0 0 10px; }
#cc4MapSlot .c4-mini svg { display: block; width: 100%; height: 100%; }
#cc4MapSlot .c4-mini .c4-mini-note { position: absolute; left: 8px; bottom: 6px; font-size: var(--fs-0_6875rem, 0.875rem); color: var(--c4-sub); background: #fff; border-radius: 4px; padding: 1px 6px; }
#cc4MapSlot .c4-mapbtn { display: block; width: 100%; min-height: 48px; border: 1px solid var(--c4-line); border-radius: 8px; background: #fff; color: var(--c4-ink); font-size: 1rem; font-weight: 700; cursor: pointer; margin: 0 0 6px; }
#cc4MapSlot .c4-mapbtn:hover { color: var(--c4-link); }
@media (min-width: 768px) { #cc4MapSlot .c4-mini, #cc4MapSlot .c4-mapbtn { display: none; } }   /* PC는 오른쪽에 지도가 있다 */
.c4-pin { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border: 1.5px solid var(--c4-brand, #1E40AF); border-radius: 6px; background: #fff; color: var(--c4-brand, #1E40AF); font-size: var(--fs-0_8125rem, 0.875rem); font-weight: 700; white-space: nowrap; }
.c4-pin.sel { background: var(--c4-brand, #1E40AF); color: #fff; }
.c4-pin svg { width: 14px; height: 14px; }
.c4-home-dot { position: absolute; transform: translate(-50%, -50%); width: 18px; height: 18px; border-radius: 50%; border: 4px solid var(--c4-brand, #1E40AF); background: #fff; }
.c4-home-lab { position: absolute; transform: translate(-50%, 0); font-size: var(--fs-0_75rem, 0.875rem); font-weight: 700; color: var(--c4-ink, #0F172A); background: #fff; border-radius: 4px; padding: 0 5px; }
/* 2026-10-26: 겹침 층(카카오 지도 위에도 같은 자리), 20m 미만을 합친 이 집 이름표, 이름표를 밀었을 때 실제 위치 점 */
#cc4MapSlot .c4-mini .c4-mini-lay { position: absolute; inset: 0; z-index: 2; }
#cc4MapSlot .c4-mini .c4-mini-note { z-index: 3; }
.c4-home-lab { white-space: nowrap; }
.c4-home-lab.near { border: 1.5px solid var(--c4-brand, #1E40AF); color: var(--c4-brand, #1E40AF); padding: 1px 6px; }
.c4-pt { position: absolute; transform: translate(-50%, -50%); width: 8px; height: 8px; border-radius: 50%; background: var(--c4-brand, #1E40AF); border: 1.5px solid #fff; }
.c4-pt[hidden] { display: none; }

/* 먼저 확인할 N가지 */
#cc4First { display: none; }
body.cc4.searched #cc4First:not([hidden]) { display: block; }
.c4-h { font-size: 1.25rem; font-weight: 700; color: var(--c4-ink); margin: 18px 0 2px; }
.c4-hsub { font-size: 0.875rem; color: var(--c4-sub); margin: 0 0 6px; }
.c4-first { list-style: none; margin: 0; padding: 0; }
.c4-first > li { border-bottom: 1px solid var(--c4-line); padding: 14px 0; }
.c4-first > li:last-child { border-bottom: 0; }
.c4-fhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.c4-fname { font-size: 1.0625rem; font-weight: 700; color: var(--c4-ink); }
.c4-fdist { font-size: 1.5rem; font-weight: 700; color: var(--c4-brand); white-space: nowrap; }
.c4-fdist.c4-here { font-size: 1rem; }
.c4-bar { position: relative; height: 4px; background: var(--c4-line); border-radius: 2px; margin: 8px 0 10px; }
.c4-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--c4-brand); border-radius: 2px; }
.c4-bar s { position: absolute; left: 50%; top: -4px; width: 1px; height: 12px; background: var(--c4-sub); }
.c4-bar-lab { display: flex; justify-content: space-between; font-size: var(--fs-0_6875rem, 0.875rem); color: var(--c4-sub); margin: -6px 0 8px; }
.c4-ftext { font-size: var(--fs-0_9375rem, 1rem); line-height: 1.65; color: #334155; margin: 0 0 4px; word-break: keep-all; }
.c4-fsrc { font-size: var(--fs-0_8125rem, 0.875rem); color: var(--c4-sub); margin: 0; }

/* 영역별 결과 */
#cc4Areas { display: none; }
body.cc4.searched #cc4Areas { display: block; }
.c4-areas { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c4-line); }
.c4-areas li { border-bottom: 1px solid var(--c4-line); }
.c4-areas button { display: grid; grid-template-columns: 1fr auto 14px; gap: 2px 10px; align-items: center; width: 100%; border: 0; background: none; padding: 12px 0; text-align: left; cursor: pointer; font: inherit; color: var(--c4-ink); }
.c4-areas .c4-an { font-weight: 700; font-size: 1rem; }
.c4-areas .c4-af { grid-column: 1 / 2; grid-row: 2; font-size: 0.875rem; color: var(--c4-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c4-areas .c4-ac { grid-column: 2; grid-row: 1 / 3; font-size: 0.875rem; font-weight: 700; color: var(--c4-ink); white-space: nowrap; }
.c4-areas .c4-ar { grid-column: 3; grid-row: 1 / 3; color: var(--c4-sub); }
.c4-areas button:hover .c4-an { color: var(--c4-link); }
.c4-reglink { display: inline-block; margin: 14px 0 4px; font-size: var(--fs-0_9375rem, 1rem); color: var(--c4-link); text-decoration: none; border: 0; background: none; padding: 0; cursor: pointer; font-family: inherit; }
.c4-reglink:hover { text-decoration: underline; }
@media (min-width: 768px) {
  .c4-areas button { grid-template-columns: 150px 1fr auto 14px; }
  .c4-areas .c4-af { grid-column: 2; grid-row: 1; }
  .c4-areas .c4-ac { grid-column: 3; grid-row: 1; }
  .c4-areas .c4-ar { grid-column: 4; grid-row: 1; }
  #cc4Sum .c4-title { font-size: 1.75rem; }   /* 2026-10-27(사용자 지시): 32→28px, 첫 화면에 "먼저 확인할 것"이 더 보이게 */
}

/* ---- 2026-10-27 CC-4 2차 4단계: 지도. 핀·칩·이 집·반경 안내, 휴대폰 전체 화면 지도, PC 목록 강조 ---- */
/* 2026-10-27(사용자 지시): 기본 지도에 흰 반투명 막(0.45) -- 지도 타일만 흰 바탕 위 불투명도 0.55로(= 흰 막 0.45).
   우리 핀·반경 원·이 집·마커는 타일이 아니라 그대로 진하다. 휴대폰 전체 화면 지도도 같은 #map이라 같이 적용 */
body.cc4.searched #map { background: #fff !important; }   /* 카카오가 #map에 바둑판 배경을 인라인으로 넣는다 */
body.cc4.searched #map img[src*="mts.kakaocdn.net"], body.cc4.searched #map img[src*="map.daumcdn.net"] { opacity: 0.55 !important; }
#c4MapUi { display: none; }
body.cc4.searched #c4MapUi { display: block; }
body.cc4.searched #mapChips, body.cc4.searched #layerToggle, body.cc4.searched #legendToggle, body.cc4.searched #legendPanel, body.cc4.searched #status { display: none !important; }
#c4MapLayer { position: absolute; z-index: 5; right: 16px; top: 16px; min-height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--c4-line); background: #fff;
  color: var(--c4-sub); font-size: var(--fs-0_8125rem, 0.875rem); cursor: pointer; }
#c4MapLayer:hover { color: var(--c4-link); }
#c4MapLayer:focus-visible { outline: 2px solid var(--c4-brand); outline-offset: 2px; }
body.cc4.cc4-mapview #layerPanel { z-index: 1700 !important; }
body.cc4.cc4-mapview #layerBackdrop { z-index: 1690 !important; }
#c4MapChips { position: absolute; z-index: 5; left: 16px; top: 16px; display: flex; gap: 8px; }
#c4MapChips button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--c4-line); background: #fff; color: var(--c4-ink); font-size: var(--fs-0_9375rem, 1rem); font-weight: 500; cursor: pointer; }
#c4MapChips button[aria-checked="true"] { background: var(--c4-brand); border-color: var(--c4-brand); color: #fff; font-weight: 700; }
#c4MapChips button:hover { color: var(--c4-link); }
#c4MapChips button[aria-checked="true"]:hover { color: #fff; }
#c4MapChips button:focus-visible, #c4MapCard button:focus-visible, #c4MapTop button:focus-visible, .c4-pin:focus-visible { outline: 2px solid var(--c4-brand); outline-offset: 2px; }
#c4MapNote { position: absolute; z-index: 5; left: 16px; bottom: 44px; padding: 4px 10px; border-radius: 6px; background: #fff; color: var(--c4-sub); font-size: var(--fs-0_8125rem, 0.875rem); }
#c4MapTop, #c4MapCard { display: none; }
/* 핀: [아이콘 + 짧은 이름 + 거리]. 감싼 칸은 크기 0(지점 위치), 단추는 그 가운데. 밀린 핀은 실제 위치에 작은 점 */
.c4-pinw { position: relative; width: 0; height: 0; }
.c4-pin { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px;
  white-space: nowrap; border-radius: 6px; border: 1.5px solid var(--c4-brand, #1E40AF); background: #fff; color: var(--c4-brand, #1E40AF);
  font: 700 0.875rem/1 "JC Sans KR", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; cursor: pointer; }
.c4-pinw.ref .c4-pin { border: 1px solid #C9D2CF; font-weight: 500; color: var(--c4-sub, #475569); }
.c4-pinw.ref .c4-pin .c4-ic { color: var(--c4-brand, #1E40AF); }
.c4-pinw.on .c4-pin { background: var(--c4-brand, #1E40AF); border-color: var(--c4-brand, #1E40AF); color: #fff; }
.c4-pinw.on .c4-pin .c4-ic { color: #fff; }
.c4-pdot { display: none; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--c4-brand, #1E40AF); border: 1.5px solid #fff; }
.c4-pinw.moved .c4-pdot { display: block; }
/* 이 집: 진한 초록 고리 + 아래 이름표 */
body.cc4 .search-pin.c4-home { width: 22px; height: 22px; }
body.cc4 .search-pin.c4-home .search-pin-dot { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--c4-brand); box-shadow: 0 0 0 2px #fff; animation: none; box-sizing: border-box; }
body.cc4 .search-pin.c4-home .search-pin-dot::before, body.cc4 .search-pin.c4-home .search-pin-dot::after { display: none; }
body.cc4 .search-pin.c4-home .search-pin-label { top: calc(100% + 4px) !important; bottom: auto !important; padding: 2px 6px; border-radius: 4px; border: 0; background: #fff; color: var(--c4-ink);
  font-size: var(--fs-0_8125rem, 0.875rem); font-weight: 700; box-shadow: none; }
/* 먼저 확인할 것: 위치가 있는 항목은 누르면 지도에서 보인다. 고른 항목은 왼쪽 3px 선 + 옅은 바탕 */
#cc4First .c4-first > li[data-k] { cursor: pointer; }
#cc4First .c4-first > li[data-k]:focus-visible { outline: 2px solid var(--c4-brand); outline-offset: 2px; }
#cc4First .c4-first > li[data-k] { margin: 0 -12px; padding-left: 12px; padding-right: 12px; }   /* 강조 때 글이 3px 선에 붙지 않게(글 자리는 그대로) */
#cc4First .c4-first > li.on { background: var(--c4-band); box-shadow: inset 3px 0 0 var(--c4-brand); }

/* 휴대폰(767px 이하): 전체 화면 지도 -- 위 막대(닫기·주소·반경), 칩, 아래 카드 */
@media (max-width: 767px) {
  body.cc4.searched:not(.cc4-mapview) #c4MapUi { display: none; }
  body.cc4.cc4-mapview #map { position: fixed !important; left: 0 !important; right: 0 !important; top: 0 !important; bottom: 0 !important; width: 100vw !important;
    height: 100vh !important; height: 100dvh !important; z-index: 1500; display: block !important; visibility: visible !important; transform: none !important; }
  body.cc4.cc4-mapview #sheet, body.cc4.cc4-mapview #actBarBottom, body.cc4.cc4-mapview #quickActions, body.cc4.cc4-mapview #searchbar,
  body.cc4.cc4-mapview #toTopBtn, body.cc4.cc4-mapview #mapCredit { display: none !important; }
  body.cc4.cc4-mapview #c4MapTop { display: flex; position: absolute; z-index: 6; left: 0; right: 0; top: 0; align-items: center; gap: 8px; min-height: 56px;
    padding: env(safe-area-inset-top) 16px 0 4px; background: #fff; border-bottom: 1px solid var(--c4-line); }
  #c4MapTop .c4-mt-x { flex: none; width: 48px; height: 48px; border: 0; background: none; font-size: 1.75rem; line-height: 1; color: var(--c4-ink); cursor: pointer; }
  #c4MapTop .c4-mt-a { flex: 1 1 auto; min-width: 0; font-size: 1.0625rem; color: var(--c4-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #c4MapTop .c4-mt-r { flex: none; font-size: 0.875rem; color: var(--c4-sub); }
  body.cc4.cc4-mapview #c4MapChips { top: calc(68px + env(safe-area-inset-top)); }
  body.cc4.cc4-mapview #c4MapLayer { top: calc(70px + env(safe-area-inset-top)); }
  body.cc4.cc4-mapview #c4MapNote { display: none; }
  body.cc4.cc4-mapview #c4MapCard { display: block; position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; max-height: 46vh; overflow-y: auto;
    padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); background: #fff; border-radius: 12px 12px 0 0; border-top: 1px solid var(--c4-line); }
  #c4MapCard .c4-mc-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  #c4MapCard .c4-mc-h b { font-size: 1.1875rem; color: var(--c4-ink); }
  #c4MapCard .c4-mc-d { flex: none; font-size: 1.5rem; font-weight: 700; color: var(--c4-brand); }
  #c4MapCard .c4-mc-t { margin: 8px 0 0; font-size: 1rem; line-height: 1.6; color: var(--c4-ink); }
  #c4MapCard .c4-mc-s { margin: 8px 0 0; font-size: var(--fs-0_8125rem, 0.875rem); color: var(--c4-sub); }
  #c4MapCard .c4-mc-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
  #c4MapCard .c4-mc-nav button { min-height: 48px; border: 1px solid var(--c4-line); border-radius: 8px; background: #fff; color: var(--c4-ink); font-size: var(--fs-0_9375rem, 1rem); cursor: pointer;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 8px; }
  #c4MapCard .c4-mc-nav button:disabled { color: #A9B3B0; cursor: default; }
}

/* ---- 2026-10-27 CC-4 2차 5단계: 영역 섹션 -- 제목 오른쪽 기준일, 한 줄 설명, 3줄 접기, 다음 섹션, 건물 첫 줄·자세히 보기 ---- */
body.cc4.searched #jcMain > .bundle { position: relative; }
body.cc4.searched #jcMain > .bundle > .bundle-title { padding-right: 132px; }
.c4-sdate { display: none; }
body.cc4.searched #jcMain > .bundle > .c4-sdate { display: block; position: absolute; right: 16px; top: 26px; font-size: var(--fs-0_8125rem, 0.875rem); color: var(--c4-sub); white-space: nowrap; }
body.cc4.searched #jcMain > .bundle > .c4-sdesc { margin: -6px 0 12px; font-size: var(--fs-0_9375rem, 1rem); color: var(--c4-sub); }
body.cc4.searched #jcMain > #b-facility > .jc-group-note { display: none; }   /* 습니다체 안내 -- 한 줄 설명으로 대신 */
body.cc4.searched .c4-next:hover { color: var(--c4-link); }
body.cc4.searched .c4-next { display: block; margin: 16px 0 4px; padding: 10px 0; border: 0; background: none; color: var(--c4-brand); font-size: var(--fs-0_9375rem, 1rem); font-weight: 700; cursor: pointer; }
body.cc4.searched .c4-next:focus-visible, body.cc4.searched .c4-bdetail > summary:focus-visible { outline: 2px solid var(--c4-brand); outline-offset: 2px; }
.c4-next { display: none; }
body.cc4.searched .c4-bfirst { margin: 0 0 12px; font-size: 1.0625rem; line-height: 1.6; color: var(--c4-ink); }
body.cc4.searched .c4-bdetail { margin: 8px 0 0; border-top: 1px solid var(--c4-line); }
body.cc4.searched .c4-bdetail > summary { min-height: 44px; display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--c4-ink); font-size: var(--fs-0_9375rem, 1rem); font-weight: 700; }
body.cc4.searched .c4-bdetail > summary .c4-bd-sub { font-weight: 400; color: var(--c4-sub); font-size: var(--fs-0_8125rem, 0.875rem); }
body:not(.cc4) .c4-bdetail > summary { display: none; }   /* CC-4를 끄면 예전처럼 늘 펼친 모습 */

/* ---- 2026-10-27 CC-4 2차 6단계: 버튼(종·비교·리포트 미리보기)·리포트 안내·끝 문구 ---- */
body.cc4.searched .act-btn[data-act="share"], body.cc4.searched #reportsection, body.cc4.searched #paidreportsection { display: none !important; }
body.cc4.searched .act-btn { border-radius: 8px; box-shadow: none; }
body.cc4.searched .act-btn.act-bell { flex: 0 0 48px; width: 48px; padding: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--c4-brand); background: #fff; border-color: var(--c4-line); }
body.cc4.searched .act-btn.act-bell[hidden] { display: none; }
body.cc4.searched .act-btn[data-act="compare"] { background: #fff; color: var(--c4-brand); border-color: var(--c4-brand); }
body.cc4.searched .act-btn[data-act="preview"] { background: var(--c4-brand); border-color: var(--c4-brand); color: #fff; font-weight: 700; flex-grow: 1.2; }
body.cc4.searched .act-btn:hover { color: var(--c4-link); }
body.cc4.searched .act-btn[data-act="preview"]:hover { color: #fff; }
body.cc4.searched .act-btn:focus-visible { outline: 2px solid var(--c4-brand); outline-offset: 2px; }
@media (min-width: 768px) {   /* PC: 왼쪽 주소 줄 오른쪽 끝(2026-10-27 사용자 지시 -- 지도 위에는 칩·레이어만). cc4PlaceActBar가 옮긴다 */
  body.cc4.searched #cc4Head #actBarTop { position: static; display: flex !important; flex: none; gap: 6px; width: auto; margin: 0 0 0 auto; padding: 0; background: none; border: 0; box-shadow: none; }
  body.cc4.searched #cc4Head #actBarTop .act-btn { flex: none; min-height: 40px; padding: 0 12px; font-size: 0.875rem; white-space: nowrap; }
  body.cc4.searched #cc4Head #actBarTop .act-btn.act-bell { width: 40px; flex-basis: 40px; padding: 0; }
}
/* 리포트 안내(준비 중) -- 옅은 회색 바탕, 결제·잠금 표시 없음 */
.c4-report { margin: 24px 0 8px; padding: 18px 16px; border-radius: 8px; background: var(--c4-band); }
.c4-report .c4-rh { margin: 0 0 6px; font-size: 1.0625rem; font-weight: 700; color: var(--c4-ink); }
.c4-report .c4-soon { margin-left: 4px; font-size: var(--fs-0_8125rem, 0.875rem); font-weight: 400; color: var(--c4-sub); }
.c4-report .c4-rt { margin: 0; font-size: var(--fs-0_9375rem, 1rem); line-height: 1.7; color: var(--c4-ink); }
.c4-report .c4-rlinks { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 10px 0 0; font-size: 0.875rem; }
.c4-report .c4-rlinks a, .c4-report .c4-rlinks button { min-height: 44px; display: inline-flex; align-items: center; padding: 0; border: 0; background: none; color: var(--c4-link); font-size: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.c4-report .c4-rlinks a:focus-visible, .c4-report .c4-rlinks button:focus-visible { outline: 2px solid var(--c4-brand); outline-offset: 2px; }
/* 끝 문구 */
#cc4End { display: none; }
body.cc4.searched #cc4End { display: block; margin: 0 -16px; padding: 24px 16px 96px; background: #fff; }
#cc4End p { margin: 0 0 6px; font-size: var(--fs-0_9375rem, 1rem); color: var(--c4-ink); }
#cc4End .c4-end-sub { font-size: var(--fs-0_8125rem, 0.875rem); color: var(--c4-sub); }
/* ---- 2026-10-28 CC-5: 계약 전 확인 9가지 카드(끝 문구 위). 상태는 두 가지만 -- 집체크에서 확인했어요(아래로 이동) / 여기서 확인해 보세요(기관 링크). 색·점수·판정 없음 ---- */
#cc5Check { display: none; }
/* 2026-11-18(정체성 4·5): 지정 구역 점검·땅 아래 -- 색으로 판정하지 않는다(글자만) */
#cc7Zones { display: none; }
.c4-fif { margin: 6px 0 0; font-size: 0.8125rem; color: #475569; }   /* 2026-11-19(4차 3) */
#cc8Risk[hidden] { display: none; } #cc8Risk { margin: 16px 0 0; }   /* 2026-11-19(4차 a) */
#cc8Risk .c8-risk { list-style: none; margin: 6px 0 0; padding: 0; border-top: 1px solid #E2E8F0; }
#cc8Risk .c8-risk li > button, #cc8Risk .c8-row { display: grid; grid-template-columns: 5.5em minmax(0, 1fr) auto; gap: 2px 10px; align-items: baseline; width: 100%; min-height: 48px; padding: 10px 0; border: 0; border-bottom: 1px solid #E2E8F0; background: none; font: inherit; text-align: left; color: inherit; cursor: pointer; }
#cc8Risk .c8-row { cursor: default; }
#cc8Risk .c8-n { font-weight: 700; color: var(--c4-ink, #0F172A); } #cc8Risk .c8-s { font-size: 0.9375rem; color: #334155; word-break: keep-all; }
#cc8Risk .c8-sub, #cc8Risk .c8-link { grid-column: 2 / 4; font-size: 0.8125rem; color: #475569; word-break: keep-all; } #cc8Risk .c8-link { color: var(--c4-link, #2563EB); font-weight: 700; text-decoration: none; }
#cc8Risk .c8-ar { color: #94A3B8; grid-column: 3; grid-row: 1; align-self: center; }   /* 2026-11-19: 아랫줄이 있어도 화살표는 첫 줄 오른쪽 */
#cc8Risk .c8-src { font-size: 0.75rem; color: #64748B; }
#cc8Risk .c8-retry { color: var(--c4-link, #2563EB); font-weight: 700; text-decoration: underline; cursor: pointer; }
body:not(.registry-page) #deedpdf { display: none; }   /* 2026-11-18(정체성 1 b) */
body.registry-page .deed-reglink { display: none; }
.deed-reglink { margin: 12px 0 0; font-size: 1rem; } .deed-reglink a { color: var(--c4-link, #2563EB); font-weight: 700; text-decoration: none; }
#cc7Zones .cc7-later { margin: 10px 0 0; font-size: 0.875rem; color: #64748B; } #cc7Zones .cc7-later summary { cursor: pointer; min-height: 32px; } #cc7Zones .cc7-later p { margin: 4px 0 0; }
body.cc4.searched #cc7Zones:not([hidden]) { display: block; margin: 0 -16px; padding: 20px 16px 8px; background: #fff; border-top: 8px solid var(--c4-band); }
#cc7Zones .cc7-sub { margin: 0 0 10px; font-size: 0.9375rem; color: var(--c4-sub); }
#cc7Zones .cc7-h { margin: 16px 0 6px; font-size: 1.0625rem; color: var(--c4-ink); }
#cc7Zones .cc7-list { list-style: none; margin: 0; padding: 0; }
#cc7Zones .cc7-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid #E2E8F0; }
#cc7Zones .z-n { font-weight: 700; color: var(--c4-ink); } #cc7Zones .z-s { font-size: 0.875rem; color: #475569; white-space: nowrap; }
#cc7Zones .z-hit .z-s { font-weight: 700; color: var(--c4-ink); }
#cc7Zones .z-t { grid-column: 1 / -1; font-size: 0.9375rem; color: #334155; word-break: keep-all; }
#cc7Zones .z-na .z-t, #cc7Zones .z-na .z-n { color: #64748B; }
#cc7Zones .z-src { grid-column: 1 / -1; font-size: 0.75rem; color: #64748B; word-break: keep-all; }
#cc7Zones .cc7-note { margin: 10px 0 0; font-size: 0.8125rem; color: #64748B; }
/* 2026-10-31(사용자 지시): 입주 준비 -- 9가지 아래, 안전 정보와 띠·배경으로 나눈다. 판정 없음 */
#cc6Prep { display: none; }
body.cc4.searched #cc6Prep { display: block; margin: 0 -16px; padding: 20px 16px; background: var(--c4-band); border-top: 8px solid #fff; }
#cc6Prep .c6-head { margin: 0 0 12px; font-size: 0.875rem; font-weight: 700; color: var(--c4-sub); }
#cc6Prep .c6-card { background: #fff; border-radius: 8px; padding: 14px; margin: 0 0 10px; }
#cc6Prep .c6-t { margin: 0 0 4px; font-size: 1rem; font-weight: 700; color: var(--c4-ink); }
#cc6Prep .c6-d { margin: 0 0 10px; font-size: 0.875rem; line-height: 1.55; color: var(--c4-ink); }
#cc6Prep .c6-btn { min-height: 44px; padding: 0 14px; border: 1px solid var(--c4-brand); border-radius: 8px; background: #fff; color: var(--c4-brand); font: inherit; font-size: 0.875rem; font-weight: 700; cursor: pointer; }
#cc6Prep .c6-ev { margin: -4px 0 10px; font-size: var(--fs-0_8125rem, 0.875rem); line-height: 1.55; color: var(--c4-sub); }
#cc6Prep .c6-note { margin: 10px 0 0; font-size: var(--fs-0_8125rem, 0.875rem); line-height: 1.5; color: var(--c4-sub); }
#cc5Direct { display: none; }
body.cc4.searched #cc5Direct { display: block; margin: 16px 0 0; padding: 12px 14px; background: #fff; border: 1px solid var(--c4-line); border-radius: 10px; }
#cc5Direct h3 { margin: 0 0 6px; font-size: 0.9375rem; color: var(--c4-ink); }
#cc5Direct ul { list-style: none; margin: 0; padding: 0; }
#cc5Direct li { padding: 6px 0; font-size: 0.875rem; line-height: 1.5; color: var(--c4-ink); }
#cc5Direct li + li { border-top: 1px solid var(--c4-line); }
#cc5Direct .c5d-t { display: block; }
#cc5Direct a { color: var(--c4-link); font-weight: 700; text-decoration: none; }
#cc5Direct a:hover { text-decoration: underline; }
/* 2026-11-09: 밤길 견본 카드(리포트 안내 바로 아래) */
.c4-nightcard { display: block; margin: 10px 0 0; padding: 12px 14px; border: 1px solid var(--c4-line); border-radius: 10px; background: #fff; color: var(--c4-ink); font-size: 0.875rem; line-height: 1.5; text-decoration: none; }
.c4-nightcard b { color: var(--c4-ink); }
.c4-nightcard .c4-nc-go { color: var(--c4-link); font-weight: 700; white-space: nowrap; }
/* 2026-11-09(미리보기 사본): 매물 설명에 잘 안 나오는 것 -- #1E40AF 머리띠 + 흰 바탕, 빨강 없음 */
#gapBox[hidden] { display: none !important; }
body.cc4.searched #gapBox { display: block; margin: 12px 0 14px; background: #fff; border: 1px solid #1E40AF; border-radius: 12px; overflow: hidden; }
#gapBox .gap-h { margin: 0; padding: 10px 14px; background: #1E40AF; color: #fff; font-size: 0.9375rem; font-weight: 700; }
#gapBox ul { list-style: none; margin: 0; padding: 0 14px; }
#gapBox li { padding: 10px 0; border-bottom: 1px solid var(--c4-line); }
#gapBox li:last-child { border-bottom: 0; }
#gapBox .gap-t { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--c4-ink); }
#gapBox .gap-s { margin: 2px 0 0; font-size: 0.75rem; line-height: 1.4; color: var(--c4-sub); }
/* 2026-11-15 가독성 개편 2단계(요약 탭): 핵심 줄 굵게·본문 17px·줄 간격 1.6·출처 13px(--c4-sub #475569, 흰 바탕 대비 6.3:1) */
#gapBox .gap-t { font-size: 19px; font-weight: 700; line-height: 1.45; }
#gapBox .gap-d { margin: 2px 0 0; font-size: 17px; line-height: 1.6; color: #334155; }
#gapBox .gap-s { font-size: 13px; line-height: 1.5; margin-top: 4px; }
#cc4Sum .c4-meta { font-size: 15px; }
#cc4Sum .c4-count { font-size: 17px; line-height: 1.6; margin: 0 0 4px; }
#cc4Sum .c4-count-last { margin-bottom: 16px; }
#cc4First .c4-ftext { font-size: 17px; line-height: 1.6; }
#cc4First .c4-fkey { font-size: 22px; font-weight: 700; line-height: 1.4; color: var(--c4-ink); margin: 2px 0 4px; word-break: keep-all; }
#cc4First .c4-fsrc { font-size: 13px; line-height: 1.5; margin-top: 4px; }
/* 2026-11-16(사용자 지시 1): 먼저 확인할 것 큰 카드 */
#cc4First { margin-top: 4px; }
#cc4First .c4-h { margin: 6px 0 8px; }
#cc4First .c4-bigs > li.c4-big { border: 1px solid var(--c4-line); border-radius: 12px; padding: 12px 14px; margin: 0 0 8px; background: var(--c4-card, #fff); cursor: pointer; }
#cc4First .c4-bigs > li.c4-big:focus-visible { outline: 2px solid var(--c4-brand); outline-offset: 2px; }
#cc4First .c4-big .c4-fname { font-size: 15px; font-weight: 600; color: var(--c4-sub); margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#cc4First .c4-badge { flex: none; padding: 2px 8px; border-radius: 999px; background: #FFF1E6; color: #9A3412; font-size: 14px; font-weight: 700; }
#cc4First .c4-big .c4-fkey { margin: 2px 0 4px; }
#cc4First .c4-big .c4-fsub { margin: 0 0 6px; font-size: 15px; line-height: 1.5; color: #334155; }   /* 2026-11-18 */
#cc4First .c4-big .c4-fmeta { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; color: var(--c4-sub); margin: 0; }
#cc4First .c4-big .c4-fgo { color: var(--c4-link); white-space: nowrap; }
#cc4First details.c4-more > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: var(--c4-link); font-size: 16px; }
#cc4First .c4-zero { font-size: 17px; line-height: 1.6; padding: 12px 14px; border-radius: 12px; background: var(--c4-band); margin: 6px 0 4px; }
#gapBox .gap-go { margin: 4px 0 0; padding: 0; border: 0; background: none; font: inherit; font-size: 0.8125rem; font-weight: 700; color: #1E40AF; cursor: pointer; }
body.cc4.searched #cc5Check { display: block; margin: 0 -16px; padding: 24px 16px 8px; background: #fff; border-top: 8px solid var(--c4-band); }
#cc5Check h3 { margin: 0 0 4px; font-size: 1.125rem; color: var(--c4-ink); }
#cc5Check .c5-sub { margin: 0 0 12px; font-size: 0.875rem; color: var(--c4-sub); }
#cc5Check ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c4-line); }
#cc5Check li { display: grid; grid-template-columns: 24px 1fr; gap: 2px 10px; padding: 14px 0; border-bottom: 1px solid var(--c4-line); }
#cc5Check .c5-n { grid-row: 1 / 4; width: 24px; height: 24px; border-radius: 50%; background: var(--c4-band); color: var(--c4-brand); font-size: var(--fs-0_8125rem, 0.875rem); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
#cc5Check .c5-t { font-weight: 700; font-size: 1rem; color: var(--c4-ink); }
#cc5Check .c5-d { font-size: 0.875rem; color: var(--c4-sub); line-height: 1.5; }
#cc5Check .c5-st { grid-column: 2; }
#cc5Check .c5-s { margin-top: 6px; font-size: 0.875rem; line-height: 1.6; color: var(--c4-ink); }
#cc5Check .c5-s b { font-weight: 700; color: var(--c4-brand); margin-right: 6px; }
#cc5Check .c5-s a, #cc5Check .c5-go { color: var(--c4-link); font: inherit; font-weight: 700; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
#cc5Check .c5-s a:hover, #cc5Check .c5-go:hover { text-decoration: underline; }
#cc5Check .c5-s a + a::before { content: '·'; color: var(--c4-sub); margin: 0 6px; font-weight: 400; display: inline-block; }
@media (min-width: 768px) { #cc5Check li { grid-template-columns: 24px 200px 1fr; } #cc5Check .c5-n { grid-row: 1 / 3; } #cc5Check .c5-t { grid-column: 2; } #cc5Check .c5-d { grid-column: 2; } #cc5Check .c5-st { grid-column: 3; grid-row: 1 / 3; } #cc5Check .c5-st .c5-s:first-child { margin-top: 0; } }

/* 2026-11-01(3차): 글자 최소(본문 16·보조 14)는 위 var(--fs-*)로. PDF 쪽은 원래 크기·색 그대로 */
.jc-pdf-page { --fs-0_8125rem:0.8125rem;--fs-0_9375rem:0.9375rem;--fs-0_75rem:0.75rem;--fs-0_7812rem:0.7812rem;--fs-0_7188rem:0.7188rem;--fs-0_5625rem:0.5625rem;--fs-0_8438rem:0.8438rem;--fs-0_6875rem:0.6875rem;--fs-0_9062rem:0.9062rem;--fs-0_6562rem:0.6562rem; --c4-link: #2563EB; --gray-400: #5f6368; }
/* 누르는 영역 44px. 문장 안 링크는 줄 간격을 그대로 두고 위아래로 넓힌다 */
#sheet button:not(.gl-q):not(.jc-term-btn), #sheet summary, #sheet select, #sheet input:not([type=checkbox]):not([type=radio]), #cc4Head a, #cc4Head button, #searchbar a, #searchbar button, #headerNav a, #actBarBottom button, #actBarTop button, #c4MapChips button { min-height: 44px; }
#sheet a.c5-go, #cc4Head a, #searchbar a, #headerNav a, #landingGuides a, #cc5Check .c5-s a, #notshown a { display: inline-flex; align-items: center; min-height: 44px; }
#sheet p a, #sheet li a, #sheet td a, #sheet .c4-ftext a, #disclaimer a { padding-block: 12px; }
.gl-q, .jc-term-btn, .c4-pin { position: relative; }
.c4-pin { position: absolute; }
.gl-q::after, .jc-term-btn::after, .c4-pin::after { content: ''; position: absolute; inset: -14px; }
.c4-pin::after { inset: -6px; }
/* 2026-11-01(휴대폰 점검): 맨 위로는 아이콘 원, 아래 고정 버튼 바로 위 */
#toTopBtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; border-radius: 50%; }
#toTopBtn[hidden] { display: none; }
@media (max-width: 767px) { #toTopBtn { bottom: calc(69px + env(safe-area-inset-bottom)); right: calc(10px + env(safe-area-inset-right)); } }
.jc-repair-tbl { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 0.875rem; line-height: 1.45; }
.jc-repair-tbl th, .jc-repair-tbl td { padding: 8px 4px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c4-line); word-break: keep-all; overflow-wrap: anywhere; font-weight: 400; }
.jc-repair-tbl thead th { color: var(--c4-sub); font-weight: 700; }
.jc-repair-tbl col.y { width: 58px; }
[data-sub="history.flood"].c4-flood-out { display: none !important; }
[data-sub="history.value"] > .bsub-title { display: none; }   /* 바로 위 묶음 제목과 같아 겹침 */
#floodSeoulNote { margin: 4px 0 0; font-size: 0.875rem; color: var(--c4-sub); }
#sheet .jc-errlink, #sheet .jc-errlink a, #disclaimer .foot-updated { font-size: 0.875rem !important; }
#sheet .jc-errlink a, #jcAirAvg a, #resultLinks a, #notshownLink a { display: inline-flex; align-items: center; min-height: 44px; }
#actBarTop .act-btn, #c4MapLayer { min-height: 44px; }
