/* 우리 아파트 찾기 — 종이색 바탕, 먹선, 올리브 한 가지 */
.apt{--ink:#2A2A2A;--mute:#6B6B6B;--line:#C8C4BC;--paper:#F5F1E8;--ol:#4F6B2C;--ol-d:#33491C;--ol-l:#E8EEDC;max-width:1180px;margin:0 auto;padding:108px 20px 80px;color:var(--ink);font-family:Pretendard,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;word-break:keep-all}
.apt-head{border-bottom:2px solid var(--ink);padding-bottom:18px}
.apt-kicker{font-size:13px;color:var(--mute);margin:0 0 6px;letter-spacing:.5px}
.apt h1{font-family:'Noto Serif KR',serif;font-weight:500;font-size:34px;letter-spacing:-.6px;margin:0}
.apt-lead{max-width:720px;font-size:15.5px;line-height:1.75;margin:12px 0 0;color:#3D3D3D}
.apt-lead b{font-weight:600;color:var(--ol-d);font-variant-numeric:tabular-nums}
.apt-bar{display:flex;flex-wrap:wrap;gap:14px 28px;align-items:flex-end;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line)}
.apt-find{display:flex;align-items:baseline;gap:10px;font-size:14px;color:var(--mute)}
.apt-find input{width:340px;max-width:60vw;border:0;border-bottom:1px solid var(--ink);background:transparent;padding:6px 2px;font:inherit;font-size:16px;color:var(--ink);outline:none;border-radius:0}
.apt-find input:focus{border-bottom:2px solid var(--ol)}
.apt-legend{list-style:none;display:flex;flex-wrap:wrap;gap:6px 20px;margin:0;padding:0;font-size:13.5px}
.apt-legend li{display:flex;align-items:center;gap:7px}
.apt-legend b{font-weight:600;font-variant-numeric:tabular-nums}
.mk{display:inline-block;width:11px;height:11px;border-radius:50%;border:1.5px solid var(--ink);flex:none}
.mk.s2{background:var(--ol-d);border-color:var(--ol-d)}
.mk.s1{background:#9DB36B;border-color:var(--ol)}
.mk.s0{background:#fff;border-color:#B9B2A3;border-style:dashed}
.apt-body{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:34px;padding-top:22px;align-items:start}
.apt-map{margin:0;position:sticky;top:92px}
#aptSvg{width:100%;height:auto;display:block;background:var(--paper);border:1px solid var(--line)}
.apt-map figcaption{font-size:12.5px;color:var(--mute);margin-top:8px;line-height:1.6}
.apt-kakao{width:100%;height:520px;border:1px solid var(--line);margin-bottom:10px}
.rg{stroke:#fff;cursor:pointer;transition:fill .12s}
.rg:hover,.rg:focus{stroke:var(--ink);outline:none}
.rg.on{stroke:var(--ink)}
.rl{fill:var(--ink);pointer-events:none;text-anchor:middle;font-family:Pretendard,sans-serif}
.rl.n{fill:#4F4F4F;font-variant-numeric:tabular-nums}
.rl.w{fill:#fff}
.apt-side{min-width:0}
.apt-view{display:flex;gap:16px;align-items:baseline;font-size:13.5px;color:var(--mute);margin-bottom:8px}
.apt-view button{appearance:none;border:0;background:none;padding:2px 0;font:inherit;color:var(--mute);cursor:pointer;border-bottom:2px solid transparent}
.apt-view button.on{color:var(--ink);font-weight:600;border-bottom-color:var(--ol)}
.apt-side h2{text-align:left;font-family:'Noto Serif KR',serif;font-weight:500;font-size:23px;margin:0;letter-spacing:-.4px}
.apt-sub{font-size:14px;color:var(--mute);margin:6px 0 14px;line-height:1.6}
.apt-sub b{color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}
.apt-ratio{height:6px;background:#E4DFD3;margin:0 0 14px;display:flex}
.apt-ratio i{display:block;height:100%}
.apt-ratio .r2{background:var(--ol-d)}.apt-ratio .r1{background:#9DB36B}
.apt-tabs{display:flex;gap:18px;font-size:14px;border-bottom:1px solid var(--ink);margin-bottom:0}
.apt-tabs button{appearance:none;border:0;background:none;padding:8px 0;font:inherit;color:var(--mute);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px}
.apt-tabs button.on{color:var(--ink);font-weight:600;border-bottom-color:var(--ol)}
.apt-tbl{width:100%;border-collapse:collapse;font-size:14px}
.apt-tbl th{font-weight:500;color:var(--mute);font-size:12.5px;text-align:left;padding:8px 6px;border-bottom:1px solid var(--line)}
.apt-tbl td{padding:9px 6px;border-bottom:1px solid #E4DFD3;vertical-align:top}
.apt-tbl td.num,.apt-tbl th.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.apt-tbl tr.row{cursor:pointer}
.apt-tbl tr.row:hover td{background:#FBF8F1}
.apt-tbl tr.row.on td{background:var(--ol-l)}
.apt-tbl .nm{font-weight:500}
.apt-tbl .dg{color:var(--mute);font-size:12.5px}
.apt-det td{background:#FBF8F1;padding:14px 12px 16px;border-bottom:1px solid var(--ink)}
.apt-det dl{display:grid;grid-template-columns:auto 1fr auto 1fr;gap:4px 14px;margin:0 0 12px;font-size:13.5px}
.apt-det dt{color:var(--mute)}.apt-det dd{margin:0;font-variant-numeric:tabular-nums}
.apt-det p{margin:0 0 12px;font-size:13.5px;line-height:1.65;color:#3D3D3D}
.apt-act{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center}
.apt-go{display:inline-block;background:var(--ol);color:#fff;text-decoration:none;font-weight:600;font-size:14.5px;padding:10px 18px;border:1px solid var(--ol-d)}
.apt-go:hover{background:var(--ol-d)}
.apt-ln{font-size:13.5px;color:var(--ink);text-decoration:underline;text-underline-offset:3px;background:none;border:0;padding:0;font-family:inherit;cursor:pointer}
.apt-more{margin:12px 0 0;font-size:13.5px}
.apt-empty{font-size:14px;color:var(--mute);padding:18px 0}
.apt-how{margin-top:56px;border-top:2px solid var(--ink);padding-top:22px}
.apt-how h2{text-align:left;font-family:'Noto Serif KR',serif;font-weight:500;font-size:22px;margin:0 0 10px}
.apt-how table{width:100%;border-collapse:collapse;font-size:14.5px}
.apt-how th{width:34px;font-family:'Noto Serif KR',serif;font-weight:500;font-size:18px;text-align:left;vertical-align:top;padding:12px 0;border-bottom:1px solid var(--line)}
.apt-how td{padding:12px 14px 12px 0;border-bottom:1px solid var(--line);vertical-align:top;line-height:1.65}
.apt-how td:nth-child(2){width:210px;font-weight:600}
.apt-note{font-size:12.5px;color:var(--mute);margin-top:14px;line-height:1.7}
@media(max-width:880px){.apt{padding:88px 16px 60px}.apt h1{font-size:27px}.apt-body{grid-template-columns:1fr;gap:20px}.apt-map{position:static}.apt-how td:nth-child(2){width:120px}.apt-det dl{grid-template-columns:auto 1fr}.apt-tbl .hide-s{display:none}.apt-find input{width:200px}}

.apt-sig{max-width:720px;margin:14px 0 0;padding:10px 0 0 14px;border-left:3px solid var(--ol);font-size:14.5px;line-height:1.75;color:#3D3D3D}
.apt-sig b{font-family:'Noto Serif KR',serif;font-weight:500;font-size:18px;color:var(--ink);display:block;margin-bottom:2px}
.apt-sig a{color:var(--ol-d);text-underline-offset:3px}

.apt-findbox{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px 14px}
.apt-addr{appearance:none;border:1px solid var(--ink);background:#fff;color:var(--ink);font:inherit;font-size:14px;padding:7px 14px;cursor:pointer}
.apt-addr:hover{background:var(--ink);color:#fff}
.apt-addrmsg{flex-basis:100%;margin:0;font-size:13px;color:var(--mute);min-height:1em}

/* 읽기 쉬움 기준 */
.apt h1,.apt h2,.tw h1,.tw h2{text-wrap:balance}
.apt p,.apt td,.apt li,.tw p,.tw td,.tw li,.tw figcaption{text-wrap:pretty;word-break:keep-all}

/* 카카오 지도 위 표식 */
.apt-capk{font-size:12.5px;color:var(--mute);margin:8px 0 18px;line-height:1.6;min-height:1.6em}
.kreg{appearance:none;border:1px solid #B9B2A3;background:#fff;color:var(--ink);font-family:Pretendard,sans-serif;padding:0 9px;height:26px;cursor:pointer;line-height:24px;white-space:nowrap;display:flex;align-items:center;gap:6px}
.kreg b{font-size:12.5px;font-weight:600}.kreg span{font-size:12px;color:#6B6B6B;font-variant-numeric:tabular-nums}
.kreg.has{background:var(--ol);border-color:var(--ol-d);color:#fff}.kreg.has span{color:#E8EEDC}
.kreg:hover{border-color:var(--ink);outline:1px solid var(--ink)}
.ksido{appearance:none;border:0;background:var(--ol-d);color:#fff;font-family:Pretendard,sans-serif;width:78px;height:78px;border-radius:50%;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.25;box-shadow:0 0 0 3px rgba(255,255,255,.85)}
.ksido b{font-size:14px;font-weight:600}.ksido span{font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}.ksido em{font-style:normal;font-size:10.5px;color:#D5E2B8}
.kclu{appearance:none;border:2px solid #fff;background:#8A8577;color:#fff;font-family:Pretendard,sans-serif;font-size:12.5px;font-weight:600;min-width:32px;height:32px;padding:0 6px;border-radius:16px;cursor:pointer;font-variant-numeric:tabular-nums;box-shadow:0 0 0 1px #2A2A2A}
.kclu.has{background:var(--ol)}
.kpin{appearance:none;border:0;background:none;padding:0;cursor:pointer;display:flex;align-items:center;gap:4px;transform:translateX(-7px);font-family:Pretendard,sans-serif}
.kpin i{display:block;width:13px;height:13px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #2A2A2A;flex:none}
.kpin.s2 i{background:var(--ol-d)}.kpin.s1 i{background:#9DB36B}.kpin.s0 i{background:#fff;box-shadow:0 0 0 1px #9A9A9A;width:10px;height:10px}
.kpin span{font-size:12px;background:#fff;border:1px solid #2A2A2A;padding:1px 6px 2px;white-space:nowrap;color:#2A2A2A}
.kpin.s0 span{border-color:#B9B2A3;color:#4F4F4F}
.kpin.on i{width:17px;height:17px;box-shadow:0 0 0 2px #2A2A2A}.kpin.on span{background:#2A2A2A;color:#fff;font-weight:600}
.kfind{width:16px;height:16px;border:2px solid #2A2A2A;background:#fff;transform:translateX(-50%) rotate(45deg)}
@media(max-width:880px){.apt-kakao{height:380px}}

/* 2026-11-12 도면 열린 단지만 핀을 살린다 */
.kpin.off{opacity:.55}.kpin.off i{width:8px;height:8px;border-width:1px;box-shadow:0 0 0 1px #B9B2A3;background:#E6E1D6}.kpin.off.s1 i{background:#C9D3B4}
.kpin.s2 i{width:15px;height:15px}
.kclu em{font-style:normal;display:inline-block;margin-left:4px;background:var(--ol-d);border-radius:8px;padding:0 5px;font-size:11.5px}
.apt-grow{margin:14px 0 0;max-width:640px}.apt-grow-l{margin:0 0 6px;font-size:15px;line-height:1.7}
.apt-grow-t{width:100%;border-collapse:collapse;font-size:13px}.apt-grow-t caption{text-align:left;color:#6B6B6B;font-size:12.5px;padding:0 0 4px}
.apt-grow-t th{font-weight:400;color:#4F4F4F;width:64px;text-align:left;padding:3px 0;border-top:1px solid #DDD6C6;white-space:nowrap}
.apt-grow-t td{padding:3px 0 3px 8px;border-top:1px solid #DDD6C6}.apt-grow-t td span{display:block;height:8px;background:var(--ol-d)}.apt-grow-t td.num{width:64px;text-align:right;font-variant-numeric:tabular-nums}

/* ── 2026-11-12 집지니 시그니처 지도 표시(대표 지시 「해루낚처럼」): 로고의 「집」 네모 + 차콜·올리브·오트밀 세 색
   꼬리 끝(::before 삼각) 아래 점(::after)이 실제 자리. 해루낚처럼 흰 테두리·그림자로 밝은 지도 위에서도 또렷하게 */
.jt{position:relative;filter:drop-shadow(0 3px 6px rgba(20,20,20,.28))}
.jt::before{content:'';position:absolute;left:50%;bottom:-8px;margin-left:-6px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:8px solid #2A2A2A}
.ksido.jt,.kreg.jt,.kclu.jt{margin-bottom:6px}
.ksido.jt{width:auto;height:auto;min-width:84px;border-radius:10px;background:#2A2A2A;border:2px solid #F5F1E8;box-shadow:none;padding:8px 14px 9px;gap:2px}
.ksido.jt b{font-size:12.5px;font-weight:500;color:#D9D3C4;letter-spacing:.5px}
.ksido.jt span{font-size:20px;font-weight:700;color:#F5F1E8;letter-spacing:-.3px}
.ksido.jt em{margin-top:3px;background:var(--ol);color:#fff;font-size:11px;font-weight:600;padding:1px 8px 2px;border-radius:9px}
.kreg.jt{height:auto;padding:5px 10px 6px;border-radius:8px;background:#2A2A2A;border:2px solid #F5F1E8;color:#F5F1E8;gap:7px}
.kreg.jt b{color:#F5F1E8}.kreg.jt span{color:#D9D3C4}
.kreg.jt.has{background:#2A2A2A}.kreg.jt.has span{background:var(--ol);color:#fff;padding:0 6px;border-radius:8px}
.kreg.jt.has::before{border-top-color:#2A2A2A}
.kclu.jt{height:auto;min-width:36px;padding:5px 9px 6px;border-radius:9px;border:2px solid #F5F1E8;background:#2A2A2A;box-shadow:none;font-size:13px}
.kclu.jt.has{background:#2A2A2A}.kclu.jt em{background:var(--ol);border-radius:8px}
.kreg.jt:hover,.ksido.jt:hover,.kclu.jt:hover{outline:none;transform:translateY(-2px)}
/* 도면 열린 단지 = 「집」 로고 핀(올리브) */
.kpin.jt{transform:none;flex-direction:column;align-items:center;padding-bottom:7px}
.kpin.jt::before{border-top-color:var(--ol-d);bottom:auto;top:24px;margin-left:-5px;border-left-width:5px;border-right-width:5px;border-top-width:7px}
.kpin.jt i{width:24px;height:24px;border-radius:6px;border:2px solid #F5F1E8;background:var(--ol-d);box-shadow:none;color:#fff;font-style:normal;font-size:12.5px;font-weight:700;line-height:20px;text-align:center;font-family:Pretendard,sans-serif}
.kpin.jt span{position:absolute;left:calc(50% + 17px);top:2px;background:#F5F1E8;border:1px solid #2A2A2A;border-radius:4px}
.kpin.jt.on i{width:30px;height:30px;line-height:26px;font-size:15px;background:#2A2A2A;box-shadow:0 0 0 2px var(--ol)}
.kpin.jt.on::before{top:30px;border-top-color:#2A2A2A}
.kpin.jt.on span{left:calc(50% + 20px);top:4px;background:#2A2A2A;color:#fff}

/* 바탕 지도: 카카오 그림 조각만 종이색 흑백으로(표시·경계선은 그대로 또렷하게) */
.apt-kakao{border:1px solid #2A2A2A;background:#F1EDE4}
.apt-kakao img[src*="kakaocdn.net/api"],.apt-kakao img[src*="daumcdn.net/map"]{filter:grayscale(1) sepia(.22) contrast(.8) brightness(1.08)}
.kzoom{position:relative;height:0;z-index:5}
.kzoom button{position:absolute;right:10px;width:34px;height:34px;border:1px solid #2A2A2A;background:#F5F1E8;color:#2A2A2A;font:600 19px/30px Pretendard,sans-serif;cursor:pointer;padding:0}
.kzoom button:first-child{top:10px}.kzoom button:last-child{top:44px;border-top:0}
.kzoom button:hover{background:#2A2A2A;color:#F5F1E8}
.kzoom:has(+.apt-kakao[hidden]){display:none}
