/* 부시 : 부동산 매매 시뮬레이션 — 스타일 (외부 폰트·프레임워크 없음) */
:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #1c2233;
  --muted: #5d6781;
  --line: #e3e7f0;
  --brand: #2f5bea;
  --brand-dark: #1f44bf;
  --brand-soft: #eaf0ff;
  --accent: #0fa47a;
  --accent-soft: #e6f7f1;
  --warn: #b45309;
  --warn-soft: #fff6e6;
  --danger: #c2410c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 16px rgba(16, 24, 40, .06);
  --maxw: 1080px;
  font-size: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); line-height: 1.65;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  word-break: keep-all; overflow-wrap: anywhere;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* 헤더 */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.08rem; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo { min-width: 0; }
.logo-mark { width: 30px; height: 30px; flex: none; display: block; }
.logo-text { display: flex; align-items: baseline; gap: 8px; min-width: 0; white-space: nowrap; }
.logo-text b { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.logo-sub { font-size: .84rem; font-weight: 600; color: var(--muted); padding-left: 8px; border-left: 1px solid var(--line); overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 380px) { .logo-text { gap: 6px; } .logo-sub { font-size: .74rem; padding-left: 6px; } }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 1rem; cursor: pointer; }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 60px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 12px 14px; }
}

.hero-brand { font-size: .92rem; font-weight: 700; color: var(--brand); margin: 10px 0 6px; }

/* 공통 */
main { padding: 28px 0 48px; }
h1 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.3; margin: 0 0 10px; letter-spacing: -0.02em; }
h2 { font-size: 1.3rem; margin: 32px 0 12px; letter-spacing: -0.01em; }
h3 { font-size: 1.08rem; margin: 22px 0 8px; }
p { margin: 0 0 12px; }
.lead { color: var(--muted); font-size: 1.05rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.badge.green { background: var(--accent-soft); color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--muted); }

/* 홈 */
.hero { padding: 26px 0 8px; }
.hero h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.calc-cards .card { display: flex; flex-direction: column; gap: 10px; transition: transform .15s ease, box-shadow .15s ease; }
.calc-cards .card:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(16,24,40,.10); }
.calc-cards h2 { margin: 4px 0 0; }
.calc-cards ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .95rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 20px; border-radius: 10px; border: 0; background: var(--brand); color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--brand-dark); text-decoration: none; }
.btn.secondary { background: #fff; color: var(--brand); border: 1px solid var(--brand); }
.btn.block { width: 100%; }
.rule-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rule-list li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: .95rem; }
.rule-list b { color: var(--brand-dark); }

/* 계산기 레이아웃 */
.calc-layout { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 980px) { .calc-layout { grid-template-columns: 1fr; } }
.form-card { position: sticky; top: 76px; }
@media (max-width: 980px) { .form-card { position: static; } }
fieldset { border: 0; padding: 0; margin: 0 0 16px; }
legend { font-weight: 800; font-size: 1rem; margin-bottom: 10px; color: var(--brand-dark); }
.field { margin-bottom: 12px; }
.field label, .field .label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 5px; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.field .reading { font-size: .82rem; color: var(--brand); margin-top: 3px; min-height: 1.1em; font-weight: 600; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap .unit { position: absolute; right: 12px; color: var(--muted); font-size: .9rem; pointer-events: none; }
input[type="text"], input[type="number"], input[type="date"], select {
  width: 100%; padding: 11px 12px; border: 1px solid #cfd6e4; border-radius: 10px; font-size: 1rem; background: #fff; color: var(--text); font-family: inherit;
}
.input-wrap input { padding-right: 52px; }
input:focus, select:focus { outline: 2px solid rgba(47, 91, 234, .25); border-color: var(--brand); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: .93rem; margin: 6px 0; cursor: pointer; }
.check input { margin-top: 4px; width: 17px; height: 17px; flex: none; }
.segmented { display: flex; flex-wrap: wrap; gap: 6px; }
.segmented label { flex: 1 1 auto; position: relative; }
/* 숨긴 라디오는 칩(label) 안에 겹쳐 둔다 — 기준 상자가 스크롤 상자 밖이면 누를 때 브라우저가 라디오를 보이게 하려고 바깥 틀까지 스크롤함(지도 앱이 위로 밀려 잘리던 버그) */
.segmented input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.segmented span { display: block; text-align: center; padding: 9px 10px; border: 1px solid #cfd6e4; border-radius: 10px; font-size: .9rem; cursor: pointer; background: #fff; font-weight: 600; }
.segmented input:checked + span { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.segmented input:focus-visible + span { outline: 2px solid var(--brand); }
details.more { border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 4px; }
details.more summary { cursor: pointer; font-weight: 700; color: var(--muted); font-size: .92rem; margin-bottom: 8px; }

/* 결과 */
.result-empty { text-align: center; color: var(--muted); padding: 40px 20px; }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
@media (max-width: 620px) { .summary { grid-template-columns: 1fr; } }
.stat { background: var(--brand-soft); border-radius: 12px; padding: 14px 16px; }
.stat.main { background: var(--brand); color: #fff; }
.stat.main .stat-label, .stat.main .stat-sub { color: rgba(255,255,255,.85); }
.stat.green { background: var(--accent-soft); }
.stat-label { font-size: .84rem; color: var(--muted); font-weight: 600; }
.stat-value { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; margin-top: 2px; }
.stat-sub { font-size: .8rem; color: var(--muted); }
table.breakdown { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.breakdown caption { text-align: left; font-weight: 800; font-size: 1.02rem; padding: 4px 0 10px; }
table.breakdown th, table.breakdown td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.breakdown th { font-weight: 600; width: 34%; }
table.breakdown td.amt { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; width: 24%; }
table.breakdown td.note { color: var(--muted); font-size: .82rem; }
table.breakdown tr.total th, table.breakdown tr.total td { border-top: 2px solid var(--text); font-weight: 800; background: #fafbff; }
table.breakdown tr.sub th { padding-left: 20px; font-weight: 500; color: var(--muted); }
table.breakdown tr.minus td.amt { color: var(--danger); }
.table-scroll { overflow-x: auto; }
@media (max-width: 560px) {
  table.breakdown td.note { display: none; }
  table.breakdown th { width: auto; }
}
.result-block { margin-bottom: 22px; }
.callout { border-radius: 12px; padding: 12px 14px; font-size: .9rem; margin: 10px 0; }
.callout.warn { background: var(--warn-soft); color: #7a3e06; border: 1px solid #f5d9a8; }
.callout.info { background: var(--brand-soft); color: #1d3a99; border: 1px solid #cfdcff; }
.callout ul { margin: 0; padding-left: 18px; }
.disclaimer { font-size: .84rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-top: 16px; }
.disclaimer strong { color: var(--text); }

/* 글(가이드) */
.article { max-width: 780px; }
.article h2 { border-left: 4px solid var(--brand); padding-left: 10px; }
.article table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: .93rem; background: #fff; }
.article th, .article td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.article thead th { background: var(--brand-soft); }
.article .meta { color: var(--muted); font-size: .88rem; margin-bottom: 18px; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 6px; }
.article .sources { font-size: .85rem; color: var(--muted); }
.guide-list { display: grid; gap: 14px; }
.guide-list .card h2, .guide-list .card h3 { margin: 0 0 6px; font-size: 1.12rem; }

/* 광고 자리 (승인 전에는 높이 0 — 레이아웃 흔들림 방지를 원하면 min-height 지정) */
.ad-slot { margin: 18px 0; min-height: 0; }
.ad-slot:empty { display: none; }

/* 푸터 */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 26px 0 34px; font-size: .88rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 10px; }
.footer-links a { color: var(--muted); }
.calc-cards .badge { align-self: flex-start; }

/* ---------- 단지 검색 (apt-search.js) ---------- */
.apt-search { margin: 18px 0; }
.apt-search .as-head h2 { margin: 0 0 4px; font-size: 1.15rem; }
.apt-search .as-head p { margin: 0 0 12px; }
.as-status { margin-top: 8px; min-height: 1.2em; }
.as-warn { color: var(--warn); }
.as-warn-inline { color: var(--danger); }
.as-tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: 1px 6px; border-radius: 6px; background: #eef0f5; color: var(--muted); vertical-align: middle; }
.as-tag.mock, .as-mock-badge { background: #fde68a; color: #7c2d12; }
.as-tag.est { background: #fff1e0; color: #9a4b00; }
.me-basis { margin: 0 0 8px; color: var(--ink, #222); }
.as-mock-badge { display: inline-block; font-weight: 800; font-size: .8rem; padding: 2px 8px; border-radius: 6px; margin-right: 4px; }
.as-card { margin-top: 14px; padding: 18px; }
.as-card.is-mock { border: 2px dashed #f59e0b; background: repeating-linear-gradient(-45deg, #fff, #fff 18px, #fffbeb 18px, #fffbeb 36px); }
.as-mock-banner { background: #fef3c7; border: 1px solid #f59e0b; color: #7c2d12; border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; font-size: .92rem; }
.as-title h3 { margin: 0 0 2px; font-size: 1.2rem; }
.as-title .as-addr { font-size: .9rem; }
.as-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.badge.red { background: #fee2e2; color: #b91c1c; }
.badge.orange { background: #ffedd5; color: #c2410c; }
.badge.gray { background: #eef0f5; color: var(--muted); }
.badge.blue { background: var(--brand-soft); color: var(--brand); }
.as-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0 12px; }
.as-facts div { background: #f8f9fc; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.as-facts dt { font-size: .78rem; color: var(--muted); }
.as-facts dd { margin: 0; font-weight: 700; }
.as-areas { display: flex; flex-wrap: wrap; gap: 6px; }
.as-areas label { cursor: pointer; position: relative; }
.as-areas input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; } /* 칩 안에 겹쳐 둠(위 .segmented 설명 참고) */
.as-areas span { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: .92rem; }
.as-areas input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.as-areas input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.as-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin: 12px 0; }
.as-stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.as-k { font-size: .82rem; color: var(--muted); font-weight: 600; }
.as-v { font-size: 1.25rem; font-weight: 800; }
.as-trades { width: 100%; border-collapse: collapse; font-size: .9rem; }
.as-trades th, .as-trades td { border-bottom: 1px solid var(--line); padding: 6px 8px; text-align: left; }
.as-trades td.amt { text-align: right; font-variant-numeric: tabular-nums; }
.as-trades caption { text-align: left; padding-bottom: 4px; }
.as-fill { margin: 12px 0 6px; }
.as-filled { color: var(--accent); margin: 8px 0 0; }
.as-notes { margin: 10px 0; padding-left: 18px; color: var(--muted); }
.as-src-err { color: var(--warn); margin: 4px 0; }
.as-official { color: var(--muted); margin: 4px 0; }
.as-official-stat .small a { white-space: nowrap; }
.as-src { margin: 6px 0 0; }
form.as-flash { outline: 3px solid #93c5fd; outline-offset: 2px; transition: outline-color 1s; }
@media (max-width: 640px) { .as-facts { grid-template-columns: repeat(2, 1fr); } }
.as-trades th:nth-child(3) { text-align: right; }
.as-trades td, .as-trades th { white-space: nowrap; }

/* ---------- 단지 지도 (map.html) ---------- */
.map-link { margin: 8px 0 0; padding: 10px 14px; background: var(--brand-soft); border-radius: 10px; }
.map-link a { font-weight: 700; }
/* 단지 지도 검색창 */
.ms-box { position: relative; }
.ms-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 1.05rem; pointer-events: none; opacity: .7; }
.ms-box input[type="search"] { width: 100%; padding: 14px 44px 14px 42px; font-size: 1.08rem; border: 1px solid #cfd6e4; border-radius: 12px; -webkit-appearance: none; appearance: none; }
.ms-box input[type="search"]::-webkit-search-cancel-button { display: none; }
.ms-box input[type="search"]:focus { outline: 3px solid rgba(47, 91, 234, .25); border-color: var(--brand); }
.ms-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: #eef1f7; color: var(--muted); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.ms-clear:hover { background: var(--line); color: var(--text); }
.ms-list { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, .16); max-height: min(440px, 60vh); overflow: auto; overscroll-behavior: contain; }
.ms-list li { padding: 9px 10px; border-radius: 8px; }
.ms-list .ms-opt { cursor: pointer; }
.ms-list .ms-opt.active { background: var(--brand-soft); box-shadow: inset 3px 0 0 var(--brand); }
.ms-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.ms-name mark { background: #fff1a8; color: inherit; padding: 0 1px; border-radius: 2px; }
.ms-hh { font-size: .8rem; color: var(--muted); }
.ms-addr { display: block; font-size: .85rem; color: var(--muted); }
.ms-addr mark { background: #fff1a8; color: inherit; }
.ms-group { font-size: .78rem; font-weight: 800; color: var(--brand-dark); padding: 8px 10px 4px !important; border-top: 1px solid var(--line); margin-top: 4px; }
.ms-group:first-child { border-top: 0; margin-top: 0; }
.ms-empty { color: var(--text); font-size: .92rem; line-height: 1.6; padding: 14px 12px !important; }
.ms-loading { color: var(--muted); font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.ms-note { color: var(--muted); font-size: .76rem; text-align: right; padding: 4px 10px !important; }
.ms-spin { width: 14px; height: 14px; border: 2px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: ms-spin .8s linear infinite; flex: none; }
@keyframes ms-spin { to { transform: rotate(360deg); } }
.map-sel-label { background: var(--brand-dark); color: #fff; font-size: .8rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
/* ---------- 단지 지도 앱 화면: 머리글 아래 전체 지도 + 떠 있는 검색창 + 왼쪽 패널(모바일은 아래 시트) ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.page-map { --hdr: 61px; --strip: 30px; --panel-w: 400px; --sheet-h: 68%; /* 모바일 아래 시트: 지도 영역의 68% ≈ 화면의 60% */ }
html:has(body.page-map), body.page-map { height: 100%; overflow: hidden; }
.map-main { display: block; padding: 0; }
.mapapp { position: relative; height: calc(100vh - var(--hdr) - var(--strip)); min-height: 320px; }
@supports (height: 100dvh) { .mapapp { height: calc(100dvh - var(--hdr) - var(--strip)); } }
/* overflow: clip = 잘라 내되 스크롤 상자가 아님 → 포커스·scrollIntoView 가 지도 틀을 밀어 올릴 수 없음(지원 안 하는 브라우저는 hidden + map.js 의 스크롤 되돌림) */
.mapapp-stage { position: absolute; inset: 0; overflow: hidden; overflow: clip; z-index: 0; background: #e9edf5; }
.map { width: 100%; height: min(72vh, 680px); min-height: 360px; background: #e9edf5; }
.page-map .map-box { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.page-map .map { width: 100%; height: 100%; min-height: 0; }
/* 패널이 열리면 지도는 가려지지 않은 부분만 차지(카카오 로고·확대 버튼·고른 단지 아이콘이 패널 밑에 숨지 않게) */
.mapapp[data-inset="side"] .map-box { left: var(--panel-w); }
.mapapp[data-inset="bottom"] .map-box { bottom: var(--sheet-h); }
.mapapp[data-inset="side"] .map-msg { left: var(--panel-w); } /* 지도 키·로드 실패 안내도 보이는 지도 영역 가운데로 */
.mapapp[data-inset="bottom"] .map-msg { bottom: var(--sheet-h); }
.map-msg { position: absolute; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; padding: 20px; background: #f3f5fa; overflow: auto; }
.page-map .map-msg { padding-top: 130px; }
.map-float { position: absolute; z-index: 40; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 6px 24px rgba(16, 24, 40, .18); }
.map-search { top: 12px; left: 12px; width: calc(var(--panel-w) - 24px); padding: 10px 12px 12px; }
.mf-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.mf-title { margin: 0; font-size: 1rem; font-weight: 800; color: var(--brand-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mf-tools { display: flex; gap: 6px; flex: none; }
.mf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 32px; padding: 0 12px; border: 1px solid #cfd6e4; border-radius: 999px; background: #fff;
  color: var(--text); font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.mf-btn:hover { background: var(--brand-soft); border-color: var(--brand); }
.mf-btn[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.mf-i { width: 32px; padding: 0; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 1rem; }
.page-map .ms-box input[type="search"] { padding: 11px 40px 11px 38px; font-size: 1rem; border-radius: 10px; }
.page-map .ms-icon { left: 12px; font-size: .95rem; }
.page-map .ms-list { max-height: min(480px, calc(100vh - var(--hdr) - var(--strip) - 140px)); }
.map-status { position: absolute; z-index: 20; top: 12px; left: var(--panel-w); right: 64px; max-width: 560px; width: max-content; margin: 0; padding: 6px 10px;
  background: rgba(255, 255, 255, .95); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); font-size: .8rem; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.map-status:empty { display: none; }
/* 내 위치 버튼(지도 오른쪽 아래 — 지도 칸(.map-box) 안이라 패널·모바일 시트가 열리면 보이는 지도 가장자리로 함께 이동) + 알림 + 내 위치 점 */
.map-locate { position: absolute; z-index: 15; right: 12px; bottom: 30px; width: 44px; height: 44px; padding: 0; display: flex; align-items: center; justify-content: center;
  border: 1px solid #cfd6e4; border-radius: 50%; background: #fff; color: var(--brand); box-shadow: 0 2px 10px rgba(16, 24, 40, .22); cursor: pointer; }
.map-locate:hover { background: var(--brand-soft); border-color: var(--brand); }
.map-locate:focus-visible { outline: 3px solid rgba(47, 91, 234, .35); }
.map-locate.is-busy svg { animation: map-locate-pulse 1s ease-in-out infinite; }
.map-locate.is-on { color: #fff; background: var(--brand); border-color: var(--brand); }
@keyframes map-locate-pulse { 50% { opacity: .35; } }
.map-toast { position: absolute; z-index: 16; left: 50%; bottom: 36px; transform: translateX(-50%); max-width: calc(100% - 140px); padding: 8px 14px; border-radius: 999px;
  background: rgba(17, 24, 39, .92); color: #fff; font-size: .84rem; line-height: 1.4; text-align: center; box-shadow: 0 4px 16px rgba(0, 0, 0, .2); }
.map-me-dot { width: 18px; height: 18px; border-radius: 50%; background: #1a73e8; border: 3px solid #fff; box-shadow: 0 0 0 7px rgba(26, 115, 232, .22), 0 1px 4px rgba(0, 0, 0, .35); pointer-events: none; }
.map-panel { position: absolute; z-index: 30; top: 0; bottom: 0; left: 0; width: var(--panel-w); display: flex; flex-direction: column; background: #fff;
  box-shadow: 4px 0 24px rgba(16, 24, 40, .16); padding-top: calc(var(--ms-h, 104px) + 22px);
  transform: translateX(-104%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s; }
.map-panel.is-open { transform: none; visibility: visible; transition: transform .28s ease, visibility 0s; }
.map-panel.is-dragging { transition: none; }
.mp-grip { display: none; }
.mp-head { display: flex; align-items: center; gap: 8px; padding: 0 14px 8px; border-bottom: 1px solid var(--line); flex: none; }
.mp-head h2 { flex: 1; margin: 0; font-size: 1.02rem; }
.mp-back { border: 0; background: none; padding: 4px 2px; color: var(--brand); font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
.mp-close { width: 34px; height: 34px; flex: none; border: 0; border-radius: 50%; background: #eef1f7; color: var(--text); font-size: 1.35rem; line-height: 1; cursor: pointer; }
.mp-close:hover { background: var(--line); }
.mp-body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 10px 14px 18px; -webkit-overflow-scrolling: touch; }
.mp-pane[hidden] { display: none; }
.mp-body .ad-slot { margin: 16px 0 0; }
.map-panel .as-card { margin-top: 2px; padding: 12px; box-shadow: none; }
.map-panel .as-facts { grid-template-columns: repeat(2, 1fr); }
.ml-results { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.map-info .lead { font-size: .95rem; margin-top: 0; }
.map-info h3 { font-size: .95rem; margin: 14px 0 4px; }
.map-info ul { padding-left: 18px; margin: 0; }
.map-info li { margin-bottom: 6px; }
.map-foot { margin: 14px 0 0; border-top: 1px solid var(--line); padding-top: 10px; }
.site-footer.map-strip { height: var(--strip); display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 14px; margin: 0;
  font-size: .75rem; white-space: nowrap; overflow: hidden; }
.map-strip .footer-links { display: flex; flex-wrap: nowrap; gap: 12px; margin: 0; overflow: hidden; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
@media (max-width: 1000px) { .page-map { --panel-w: 360px; } }
@media (max-width: 768px) {
  .page-map { --strip: 26px; }
  .map-search { top: 8px; left: 8px; right: 8px; width: auto; padding: 8px; display: flex; align-items: center; gap: 6px; }
  .map-search .ms-box { order: 1; flex: 1; min-width: 0; }
  .map-search .mf-head { order: 2; margin: 0; }
  .mf-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  /* 내 상황·목록·i = 56+40+40 + 간격 6×2 = 148px 고정 → 검색칸 200px 이상(390px 폭) */
  .mf-btn { height: 44px; padding: 0 4px; min-width: 0; width: 40px; font-size: .78rem; }
  #mp-me-btn { width: 56px; }
  .mf-btn .mf-lbl { display: none; }
  .page-map .ms-box input[type="search"] { font-size: 16px; padding: 12px 38px 12px 34px; } /* 16px: iOS 확대 방지 */
  .page-map .ms-icon { left: 10px; }
  .page-map .ms-list { right: -154px; max-height: 60vh; } /* 버튼 148px + 간격 6px 폭까지 넓게 */
  .ms-list li { padding: 11px 10px; }
  .ms-note { display: none; }
  .map-status { top: 70px; left: 8px; right: 8px; width: auto; max-width: none; font-size: .74rem; -webkit-line-clamp: 1; padding: 4px 8px; }
  .mapapp.has-panel .map-status { display: none; }
  .page-map .map-msg { padding-top: 80px; }
  .map-panel { top: auto; left: 0; right: 0; width: auto; height: var(--sheet-h); padding-top: 0; border-radius: 16px 16px 0 0;
    box-shadow: 0 -6px 24px rgba(16, 24, 40, .18); transform: translateY(104%); }
  .mp-grip { display: block; flex: none; width: 44px; height: 5px; margin: 8px auto 4px; border-radius: 3px; background: #cfd6e4; }
  .mp-head { padding-top: 2px; touch-action: none; }
  .map-strip .ms-copy { overflow: hidden; text-overflow: ellipsis; }
  .map-strip .footer-links a:not([href$="privacy.html"]) { display: none; }
}
.map-sample-badge { display: inline-block; background: #fde68a; color: #7c2d12; font-weight: 800; font-size: .8rem; padding: 2px 8px; border-radius: 6px; margin-right: 4px; }
.map.is-off { visibility: hidden; }
.map-msg[hidden] { display: none; }
.map-setup { max-width: 520px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; box-shadow: var(--shadow); }
.map-setup h2 { margin: 0 0 8px; font-size: 1.1rem; }
.map-setup ol { padding-left: 20px; margin: 8px 0; }
.map-setup code { background: #f1f3f8; padding: 1px 5px; border-radius: 4px; font-size: .85em; }
.map-panel .as-card { margin-top: 6px; padding: 12px; box-shadow: none; }
.map-panel .as-facts { grid-template-columns: repeat(2, 1fr); }
.as-go .btn { margin: 0 6px 6px 0; }
.as-sample-note { background: #fff7e6; border: 1px solid #f5c26b; color: #7c2d12; border-radius: 8px; padding: 6px 10px; margin: 0 0 8px; }
.map-bubble { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 64px; padding: 6px 10px; border-radius: 999px;
  border: 2px solid #fff; background: rgba(47, 91, 234, .9); color: #fff; font: inherit; line-height: 1.15; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.map-bubble b { font-size: .78rem; font-weight: 700; white-space: nowrap; }
.map-bubble span { font-size: .95rem; font-weight: 800; }
.map-bubble.sgg { min-width: 56px; padding: 4px 8px; background: rgba(15, 164, 122, .92); }
.ml-controls { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0; }
.ml-controls label { display: flex; flex-direction: column; font-size: .85rem; color: var(--muted); gap: 4px; }
.ml-controls select, .ml-controls input { padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: .95rem; min-width: 150px; background: #fff; }
.ml-results li button { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 9px 6px; cursor: pointer; font: inherit; color: inherit; }
.ml-results li button:hover, .ml-results li button:focus-visible { background: var(--brand-soft); }
.ml-results li span { display: block; }
.map-panel .ml-controls label { flex: 1 1 140px; }
.map-panel .ml-controls select { min-width: 0; width: 100%; }
.map-bubble.umd { min-width: 48px; padding: 3px 8px; background: rgba(217, 119, 6, .92); }
.map-bubble.umd b { font-size: .72rem; }
.map-bubble.umd span { font-size: .85rem; }
.map-bubble.sido { min-width: 50px; padding: 4px 8px; }
.map-bubble.sido b { font-size: .74rem; }
.map-bubble.sido span { font-size: .85rem; }
.map-bubble:hover, .map-bubble:focus-visible { background: #1f44bf; outline: none; position: relative; z-index: 10; }
/* 단지 카드: 불러오는 중 표시 */
.as-load { display: inline-block; width: 4.5em; height: .9em; border-radius: 6px; vertical-align: middle;
  background: linear-gradient(90deg, #e8ecf4 25%, #f4f6fb 50%, #e8ecf4 75%); background-size: 200% 100%; animation: as-shimmer 1.1s linear infinite; }
.as-loading { display: flex; align-items: center; gap: 8px; padding: 14px; margin: 10px 0; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted, #667); font-size: .92rem; }
.as-loading .as-load { width: 2.2em; }
@keyframes as-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .as-load { animation: none; } }
.as-retry .btn.small { padding: 4px 10px; font-size: .85rem; margin-left: 4px; }

/* ---- 내 상황 (me.html · 지도 패널 비교) ---- */
.me-layout .form-card { max-width: 100%; }
.me-break { margin: 14px 0; padding: 12px 14px; background: #f7f9fc; border-radius: 12px; }
.me-break h4 { margin: 0 0 8px; font-size: .95rem; color: #1e3a8a; }
.me-break ul { margin: 0; padding-left: 18px; }
.me-break li { margin: 4px 0; }
.me-break .me-total { margin-top: 8px; list-style: none; margin-left: -18px; padding-top: 8px; border-top: 1px dashed #cfd6e4; font-size: 1.05rem; }
.me-principal { margin: 6px 0 0; }
.me-next { margin-top: 14px; }
.me-sum { margin: 0 0 10px; }
.me-cta { margin: 10px 0 14px; padding: 12px 14px; background: #fffbe8; border: 1px solid #f0d78c; }
.me-cta .btn { margin-top: 4px; }
.me-cmp { margin: 12px 0 16px; padding: 12px; border: 1px solid #c5d4f7; border-radius: 12px; background: #f5f8ff; }
.me-cmp-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.me-cmp-head h3 { margin: 0; font-size: 1rem; color: #1e3a8a; }
.me-cmp-tabs { display: flex; gap: 4px; margin: 0 0 10px; flex-wrap: wrap; border-bottom: 1px solid #d7e0f5; padding-bottom: 0; }
.me-cmp-tab { flex: 1 1 auto; min-width: 0; padding: 8px 6px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: transparent; font-weight: 700; font-size: .86rem; color: var(--muted); cursor: pointer; font-family: inherit; border-radius: 8px 8px 0 0; }
.me-cmp-tab:hover { color: var(--brand); background: rgba(47,91,234,.06); }
.me-cmp-tab.is-on, .me-cmp-tab[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); }
.me-cmp-tab:focus-visible { outline: 2px solid rgba(47,91,234,.35); outline-offset: 1px; }
.me-cmp-panel[hidden] { display: none !important; }
.me-cmp-sum-hint { margin: 0; }
.me-break-title { margin: 0 0 6px; font-size: .95rem; }
.me-keep-seg { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.me-keep-tab { flex: 1 1 140px; padding: 8px 10px; border: 1px solid #cfd6e4; border-radius: 10px; background: #fff; font-weight: 600; font-size: .86rem; cursor: pointer; font-family: inherit; }
.me-keep-tab.is-on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
/* 하위 호환: 예전 클래스명 */
.me-tabs { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.me-tab { flex: 1 1 140px; padding: 8px 10px; border: 1px solid #cfd6e4; border-radius: 10px; background: #fff; font-weight: 600; font-size: .86rem; cursor: pointer; }
.me-tab.is-on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.me-cmp-cash, .me-side { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.me-cmp-cash > div, .me-side > div { background: #fff; border-radius: 10px; padding: 10px; }
.me-cmp-cash b, .me-side b { display: block; font-size: 1.05rem; margin-top: 2px; }
.me-ok b { color: #0f7b3a; }
.me-bad b { color: #c0392b; }
.me-gap { outline: 2px solid currentColor; }
.me-bars { margin: 6px 0 10px; }
.me-bar { display: flex; align-items: center; gap: 8px; margin: 4px 0; font-size: .78rem; color: #64748b; }
.me-bar i { display: block; height: 10px; border-radius: 6px; background: var(--brand); min-width: 4px; }
.me-loan-amount { margin: 0 0 10px; }
.me-loan-amount label { font-weight: 700; margin-right: 6px; }
.me-loan-wrap { display: inline-flex; position: relative; width: 9.5em; vertical-align: middle; }
.me-loan-wrap input { width: 100%; padding-right: 42px; }
.me-loan-hint { margin: 4px 0 0; }
.me-loan-warn { margin: 4px 0 0; color: var(--warn); }
.me-loan-ratios { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; }
.me-loan-ratios > li { background: #fff; border-radius: 10px; padding: 8px 10px; font-size: .9rem; }
.me-loan-targets b { font-size: 1.05rem; }
.me-loan-formula { margin: 0 0 8px; }
.me-loan-dsr-miss b { color: var(--warn); }
.me-loan-edit, .me-price-edit { margin-top: 8px; }
.me-loan-edit input, .me-price-edit input { width: 72px; padding: 4px 6px; border: 1px solid #cfd6e4; border-radius: 6px; }
.me-price-edit input { width: 96px; } /* 억 단위 매매가(예: 448,400)가 잘리지 않게 */
.me-cmp-go { margin: 12px 0 4px; }
.me-cx-box { position: relative; }
.me-cx-box .ms-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; max-height: 240px; overflow: auto; background: #fff; border: 1px solid #cfd6e4; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.12); margin: 4px 0 0; padding: 4px 0; list-style: none; }
.me-cx-box .ms-opt { padding: 8px 12px; cursor: pointer; }
.me-cx-box .ms-opt:hover, .me-cx-box .ms-opt:focus { background: var(--brand-soft); }
.me-cx-box .ms-name { display: block; font-weight: 600; }
.me-cx-box .ms-addr { display: block; font-size: .82rem; color: var(--muted); }
.me-cx-box input[type=search] { width: 100%; padding: 10px 12px; border: 1px solid #cfd6e4; border-radius: 10px; font: inherit; }
.map-me .me-break { font-size: .92rem; }
@media (max-width: 620px) {
  .me-cmp-cash, .me-side { grid-template-columns: 1fr; }
}
.hero-steps { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 4px; }
.hero-steps .card { flex: 1 1 220px; padding: 14px 16px; }
.hero-steps .step-n { display: inline-block; width: 24px; height: 24px; line-height: 24px; text-align: center; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: .85rem; margin-right: 6px; }


/* ---- 관리비(월 평균 추정) ---- */
.as-fee-box { margin-top: 12px; }
.as-fee, .as-fee.card-inner { padding: 10px 12px; border: 1px solid var(--border, #e5e7eb); border-radius: 10px; background: var(--card-bg, #fafafa); }
.as-fee .as-k { font-size: 12px; color: #6b7280; margin-bottom: 2px; }
.as-fee .as-v { font-size: 1.15rem; font-weight: 700; }
.as-fee-line { font-weight: 600; }
.as-fee-line small { font-weight: 400; }
.me-fee-edit { margin: 8px 0; }
.me-fee-edit input { width: 6.5em; }
.me-cmp-rows { margin-top: 6px; }

/* 내 상황 v2 — 보유 주택 카드 · 지도 보유주택 추가 */
.me-homes { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 12px; }
.me-homes-empty { margin: 0; padding: 10px 12px; background: #f7f9fc; border-radius: 10px; }
.me-home-card { border: 1px solid #cfd6e4; border-radius: 12px; padding: 12px; background: #fff; }
.me-home-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.me-home-fields { gap: 8px; }
.me-home-fields .field { margin-bottom: 0; }
.me-home-actions { margin-top: 8px; }
.me-home-adv { margin-top: 8px; }
.me-home-adv summary { cursor: pointer; }
.me-res-check { white-space: nowrap; }
.me-home-form { margin-top: 10px; padding: 12px; background: #f7f9fc; border: 1px dashed #cfd6e4; }
.me-panel-homes { margin: 0 0 10px; padding-left: 18px; }
.as-me-add { margin: 8px 0 4px; }
.as-me-add-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.me-add-own.is-done { opacity: .7; cursor: default; }


/* ---- 필드 도움말 (? 툴팁) ---- */
.help-tip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-left: 5px;
}
.help-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid #c5cce0;
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  flex: none;
  font-family: inherit;
}
.help-tip:hover, .help-tip:focus-visible, .help-tip.is-open {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-soft);
  outline: none;
}
.help-tip:focus-visible { box-shadow: 0 0 0 3px rgba(47, 91, 234, .22); }
.help-tip__bubble {
  position: absolute;
  z-index: 80;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  min-width: 180px;
  max-width: min(280px, 78vw);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #1c2233;
  color: #fff;
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .18);
  pointer-events: auto;
  word-break: keep-all;
}
.help-tip__bubble::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1c2233;
}
.help-tip__bubble.is-below {
  bottom: auto;
  top: calc(100% + 8px);
}
.help-tip__bubble.is-below::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: #1c2233;
}
.help-tip__bubble b { color: #fff; font-weight: 700; }
.help-tip-src { display: none !important; }
/* 라벨 안의 인라인 보조문구를 툴팁으로 옮긴 뒤 남는 여백 정리 */
label .muted.small.help-converted { display: none; }

/* 정책대출(대출 탭 일반/정책 전환 · 상품 목록) */
.me-loan-mode { display: flex; gap: 6px; margin: 0 0 10px; }
.me-loan-mode .me-keep-tab { flex: 1 1 0; min-width: 0; white-space: nowrap; }
.me-pol-basis { margin: 0 0 8px; }
.me-pol-need { margin: 0 0 8px; }
.me-break .me-pol-list, .me-pol-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; }
.me-pol-item { width: 100%; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 8px; row-gap: 2px; text-align: left;
  padding: 8px 10px; border: 1px solid #cfd6e4; border-radius: 10px; background: #fff; cursor: pointer; font-family: inherit; font-size: .88rem; color: inherit; }
.me-pol-item:hover:not([disabled]) { border-color: var(--brand); }
.me-pol-item:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.me-pol-item.is-on { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.me-pol-item[disabled] { cursor: default; background: #f7f8fa; color: #6b7280; }
.me-pol-st { grid-row: span 2; font-size: .74rem; font-weight: 700; padding: 3px 7px; border-radius: 999px; white-space: nowrap; }
.me-pol-item.st-ok .me-pol-st { background: #e3f6ea; color: #136c3a; }
.me-pol-item.st-no .me-pol-st { background: #fde8e8; color: #a32020; }
.me-pol-item.st-check .me-pol-st { background: #fff3dc; color: #8a5300; }
.me-pol-name { font-size: .9rem; }
.me-pol-why { color: #5b6474; grid-column: 2; }
.me-break .me-pol-notes { margin: 6px 0 0; padding-left: 18px; }
.me-pol-disclaimer { margin: 8px 0 0; padding: 6px 8px; background: #f7f8fa; border-radius: 8px; color: #4b5563; }
.me-cmp-loan-kind { margin: 6px 0 0; }
.me-loan-edit select { font: inherit; padding: 2px 4px; }
.me-policy .check { display: flex; margin: 6px 0; }

/* 지도 → 계산기 넘기기: 넘어온 값 안내, 지도에서 고른 단지 접기/펼치기, 대출 종류 판정 */
.handoff-note { margin: 0 0 12px; }
.handoff-note ul { margin: 6px 0 0; padding-left: 18px; }
.as-pick-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.as-pick-h { margin: 0; font-size: 1.15rem; }
.as-pick-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 4px 6px 4px 0; border: 0; background: none; font: inherit; font-weight: 700; color: inherit; cursor: pointer; border-radius: 8px; }
.as-pick-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.as-chev { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s; flex: none; }
.as-pick-toggle[aria-expanded="false"] .as-chev { transform: rotate(-45deg); }
.as-pick-act { font-weight: 600; color: var(--brand); border: 1px solid #cfdcff; border-radius: 999px; padding: 1px 8px; }
.as-pick-sum { margin: 0; color: #4b5563; }
.apt-search.is-collapsed { padding-bottom: 12px; }
.loan-kind-status { margin-top: 4px; line-height: 1.6; }
.lk-item b { font-weight: 700; }
.lk-ok b { color: #136c3a; } .lk-no b { color: #a32020; } .lk-check b { color: #8a5300; }
input.is-muted { color: #9ca3af; background: #f7f8fa; }

/* 방공제 줄(LTV 한도) + 보증보험(MCI/MCG) 체크 */
.me-room-line { margin-top: 4px; color: #4a5568; }
.me-room-lbl, .room-lbl { display: inline; font-weight: 600; font-size: inherit; margin: 0; }
.me-room-line.is-deduct .me-room-lbl, .room-lbl.is-deduct { color: #9a3412; }
.me-mci { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.me-mci label.check { margin: 0; }
.me-mci-why { flex: 1 1 220px; }
.mci-note { margin: -4px 0 10px 25px; }
#mci-wrap input:disabled + span { color: #94a3b8; }

/* 관리비 한 줄: 일시 조회 실패 시 다시 시도 */
.as-fee-retry { margin-left: .4em; padding: 1px 8px; font-size: .82em; border: 1px solid var(--line, #d0d5dd); border-radius: 999px; background: #fff; color: var(--accent, #2f5bea); cursor: pointer; }
.as-fee-retry:hover { background: #eef2ff; }
