/* Larger type and stronger secondary text throughout the map preview. */
body.map-embed>header,body.map-embed .sidebar,body.map-embed .toolbar .search,body.map-embed #reset,body.map-embed .map-legend,body.map-embed #searchBounds{display:none!important}
body.map-embed main{height:100dvh}
body.map-embed .map-area{width:100%;height:100%!important}
body.map-embed .toolbar{right:18px}
body.map-embed .chips{top:80px}
.embed-map-open{position:absolute;right:20px;bottom:20px;z-index:800;border:1px solid #1b1e22;border-radius:28px;background:#fc0;color:#1b1e22;padding:14px 22px;font-size:16px;font-weight:700;box-shadow:0 3px 15px #17384730}
@media(max-width:700px){body.map-embed .chips{top:60px}.embed-map-open{right:12px;bottom:16px;padding:12px 18px;font-size:14px}}
@media(max-width:360px){body.map-embed .chips{top:104px}}
.brand.logo{gap:10px;flex-shrink:0;letter-spacing:0}
.brand.logo svg{width:46px;height:46px;display:block}
.brand.logo .gp{font-size:15px;font-weight:700;background:#fc0;color:#1b1e22;padding:1px 8px;border-radius:6px;line-height:1.5}
.brand.logo b{font-family:'Black Han Sans',sans-serif;font-weight:400;font-synthesis:none;font-size:31px;line-height:1;position:relative;top:.1em;margin-left:4px;color:#1b1e22}
.brand.logo b i{font-family:'IBM Plex Sans KR',sans-serif;font-style:normal;font-weight:600;font-size:.6em;color:#adb9c6;margin-left:3px}
@media(max-width:700px){.brand.logo{gap:6px}.brand.logo svg{width:34px;height:34px}.brand.logo b{font-size:22px;margin-left:2px}.brand.logo .gp{font-size:13px;padding:1px 6px}}
@media(max-width:360px){.brand.logo{gap:4px}.brand.logo .gp{padding:1px 4px}.brand.logo b i{display:none}}
.sheet-handle{display:none}
@media(max-width:700px){
  .sidebar{height:var(--sheet-height,38px);border-radius:18px 18px 0 0;box-shadow:0 -4px 22px #19384224;transition:height .32s cubic-bezier(.2,.75,.25,1);overflow:hidden}
  .sidebar.sheet-dragging{transition:none;user-select:none}
  .sheet-handle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;flex:none;height:38px;cursor:ns-resize;touch-action:none;outline-offset:-3px}
  .sheet-handle span{width:42px;height:5px;background:#a4b5bd;border-radius:8px}
  .sheet-handle small{font-size:11px;color:#607782}
  .sidebar .sidebar-top{padding-top:0;flex:none}
  .sidebar #list{min-height:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .map-area{height:calc(100% - var(--sheet-height,38px) + 20px);transition:height .22s ease}
  body.sheet-resizing .map-area{transition:none}
}
.detail .gallery{display:block;overflow:visible;scroll-snap-type:none;background:#f3f6f7}
.gallery-main{width:100%;aspect-ratio:4/3;background:#e4eaed;display:grid;place-items:center;overflow:hidden}
.detail .gallery .gallery-main img{display:block;width:100%;height:100%;object-fit:contain;flex:none}
.gallery-status{text-align:right;font-size:13px;color:#526a76;padding:8px 16px 0}
.gallery-thumbnails{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:12px 16px 16px}
.gallery-thumbnails button{padding:2px;overflow:hidden;border:2px solid transparent;border-radius:6px;background:white;aspect-ratio:4/3}
.gallery-thumbnails button.selected{border-color:#087bc9;box-shadow:0 0 0 1px #087bc9}
.detail .gallery .gallery-thumbnails img{display:block;width:100%;height:100%;object-fit:cover;flex:none}
.gallery-main .no-photo{height:auto;padding:20px;font-size:14px}
.gallery-thumbnails .no-photo{font-size:10px;height:100%;width:100%;display:grid;place-items:center}
:root{--side:400px;--muted:#5d7078}
body{font-size:16px}
.type-tabs button{font-size:16px;min-height:44px}
.type-hint{font-size:13px}
.list-title h1{font-size:17px}.list-title h1 b{font-size:28px}.list-title h1 small{font-size:14px}
.list-title select{font-size:14px;max-width:145px;padding:6px 0}
.list-title{padding-bottom:14px}
.source-status{font-size:12px;flex-wrap:wrap;line-height:1.6}
#scope,#scope button{font-size:14px}
.card{padding:22px 20px}.card-place{font-size:16px}.card-id{font-size:13px;color:#60747c}
.card-price{font-size:30px;line-height:1.5}.card-price small{font-size:14px}
.deposit{font-size:14px;color:#5d7078}.specs{font-size:14px;gap:9px 12px;line-height:1.55}.specs span{color:#63767e}
.thumb{width:88px;height:88px}.card-tags{flex-wrap:wrap}.tag{font-size:13px;padding:4px 7px}
.card-note{font-size:14px;line-height:1.7;color:#5d7078;white-space:normal;overflow-wrap:anywhere}
.toolbar>button,.toolbar select,.search input{font-size:15px}.toolbar>button,.toolbar>select,.search,.deal-tabs{height:46px}
.deal-tabs button{font-size:14px}.search{width:280px}.search kbd{font-size:12px}
.chips{top:80px}.chips button{font-size:13px;padding:7px 10px}
.bounds-button{font-size:14px}.mobile-toggle{font-size:13px}
.location-note b{font-size:13px}.location-note div span{font-size:12px;color:#5d7078;line-height:1.6;max-width:420px}
.legend-deal,.map-legend{font-size:12px}
.cluster.cluster-summary{width:156px;height:116px;padding:12px 10px 9px;gap:7px}
.cluster-summary .cluster-heading>span{font-size:13px;color:#536b77}
.cluster-summary .cluster-heading>b{font-size:24px}.cluster-summary .cluster-heading small{font-size:12px}
.cluster-summary .cluster-deal>span{font-size:13px}.cluster-summary .cluster-deal strong{font-size:17px}
.cluster-summary .cluster-types{font-size:12px;white-space:normal;line-height:1.5;letter-spacing:-.3px}
.filter-heading h2{font-size:24px}.filter-panel>p,.filter-panel .filter-hint{font-size:14px}
.filter-panel legend{font-size:16px}.choice-grid button{font-size:15px;min-height:48px}
.filter-footer>button{font-size:16px}.filter-heading button{width:40px;height:40px}
.detail{width:430px}.detail .card-price{font-size:34px}.detail h2{font-size:26px}
.eyebrow{font-size:12px}.detail-heading p,.detail dl,.detail-note,.detail-links a{font-size:15px;line-height:1.8}
.detail h3{font-size:18px}.detail dt{color:#627780}
@media(max-width:1100px){:root{--side:360px}.toolbar .search{width:100%}.chips{top:128px}}
@media(max-width:700px){
  .card{padding:20px 16px}.sidebar-top{padding-top:14px}.type-tabs button{font-size:15px}
  .list-title h1{font-size:16px}.list-title select{font-size:13px}
  .source-status{font-size:11px}.toolbar>button,.toolbar select,.search input,.deal-tabs button{font-size:13px}
  .toolbar>button,.toolbar>select,.search,.deal-tabs,.toolbar .search{height:42px}
  .toolbar{gap:4px}
  .toolbar .search{display:none}
  .search kbd{display:none}
  .toolbar #reset{display:none}
  .toolbar>select{width:86px;max-width:86px;padding:0 4px;font-size:12px}
  .deal-tabs{flex:1;min-width:108px;padding:3px;gap:0}
  .deal-tabs button{flex:1;padding:0 5px;font-size:12px}
  .toolbar>button[data-panel]{min-width:42px;padding:0 7px;font-size:12px}
  .toolbar>button[data-panel] span{display:none}
  .chips{top:60px}.chips button{font-size:12px}.map-actions{top:115px}
  .location-note b{font-size:12px}.location-note div span{font-size:11px;max-width:none}
  .bounds-button,.mobile-toggle{display:none!important}
  .detail{width:100%}.choice-grid button{font-size:14px}
}
@media(max-width:360px){
  .toolbar{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}
  .toolbar .search{grid-column:1/-1}
  .toolbar>select{grid-column:span 2;width:100%;max-width:none}
  .toolbar .deal-tabs{grid-column:span 4}
  .toolbar>button[data-panel]{grid-column:span 2}
  .toolbar #reset{grid-column:span 2;width:100%}
  .chips{top:104px}.map-actions{top:155px}
}

/* Administrative area labels: count + area first, transaction breakdown second. */
.cluster.cluster-summary.area-pill{width:140px;height:76px;padding:7px 8px;gap:5px;border-radius:18px;overflow:visible;background:#fff}
.area-pill.cluster-summary::before{display:none}
.area-pill.cluster-summary .cluster-heading{justify-content:flex-start;gap:8px}
.area-pill.cluster-summary .cluster-heading>span{font-size:16px;font-weight:600;color:#203b48;white-space:nowrap}
.area-pill.cluster-summary .cluster-heading>b{order:-1;display:flex;align-items:center;justify-content:center;min-width:38px;height:34px;padding:0 5px;border-radius:18px;background:#203b48;color:white;font-size:17px;box-sizing:border-box}
.area-pill.cluster-summary.rent .cluster-heading>b{background:#087bc9}
.area-pill.cluster-summary.sale .cluster-heading>b{background:#bd572b}
.area-pill.cluster-summary .cluster-heading small{display:none}
.area-pill.cluster-summary .cluster-deal{padding:3px 4px;font-size:10px}
.area-pill.cluster-summary .cluster-deal>span{font-size:10px}
.area-pill.cluster-summary .cluster-deal strong{font-size:12px}
.area-pill.cluster-summary .cluster-types{display:none}

/* Desktop browsing: regional map on the left, two-column comparison list on the right. */
@media(min-width:701px){
  body:not(.map-embed) main{padding-top:78px}
  body:not(.map-embed) .map-area{order:1;flex:0 0 43%;width:43%;height:100%}
  body:not(.map-embed) .sidebar{order:2;flex:1;min-width:0;width:auto;box-shadow:-3px 0 12px #162b3710;border-left:1px solid #dce5e8}
  body:not(.map-embed) .toolbar{position:fixed;left:18px;right:18px;top:92px;flex-wrap:nowrap;gap:8px}
  body:not(.map-embed) .toolbar .search{width:250px;flex-shrink:1}
  body:not(.map-embed) .toolbar>select{flex-shrink:0}
  body:not(.map-embed) .chips{position:fixed;top:164px;left:16px;right:auto;max-width:calc(43% - 75px)}
  body:not(.map-embed) .filter-panel{position:fixed;top:146px;right:20px;max-height:calc(100dvh - 166px);overflow:auto}
  body:not(.map-embed) .map-actions{top:20px;right:14px}
  body:not(.map-embed) .sidebar-top{padding:16px 18px 12px;display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}
  body:not(.map-embed) .type-tabs{width:100%;max-width:360px;padding-bottom:0}
  body:not(.map-embed) .list-title{flex:1;min-width:240px;padding-bottom:0}
  body:not(.map-embed) #scope{width:100%;padding-top:0}
  body:not(.map-embed) #list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}
  body:not(.map-embed) #list .empty{grid-column:1/-1}
  body:not(.map-embed) .card{display:grid;grid-template-columns:110px minmax(0,1fr);grid-template-rows:auto 1fr auto auto;gap:5px 12px;min-width:0;padding:16px 14px;border-right:1px solid var(--line);border-left:3px solid transparent}
  body:not(.map-embed) .card.selected{border-left-color:var(--blue)}
  body:not(.map-embed) .card-top{grid-column:2;grid-row:1;margin:0;gap:3px;min-width:0}
  body:not(.map-embed) .card-place{font-size:14px;line-height:1.5;white-space:nowrap}
  body:not(.map-embed) .card-id{display:block;font-size:11px;margin-left:0;font-weight:400}
  body:not(.map-embed) .save{font-size:23px;align-self:start;flex-shrink:0}
  body:not(.map-embed) .card-layout{display:contents}
  body:not(.map-embed) .card-summary{grid-column:2;grid-row:2;min-width:0}
  body:not(.map-embed) .thumb{grid-column:1;grid-row:1/5;width:110px;height:110px;align-self:start;object-fit:cover;border-radius:6px}
  body:not(.map-embed) .card-price{font-size:25px;line-height:1.35;white-space:nowrap}
  body:not(.map-embed) .card-price small{font-size:12px;margin-right:4px}
  body:not(.map-embed) .deposit{font-size:12px;margin-bottom:6px}
  body:not(.map-embed) .deposit strong{margin-left:3px}
  body:not(.map-embed) .specs{font-size:12px;gap:3px 8px;line-height:1.5}
  body:not(.map-embed) .specs b{margin-left:4px}
  body:not(.map-embed) .card-tags{grid-column:2;grid-row:3;margin-top:0;gap:4px}
  body:not(.map-embed) .tag{font-size:10px;padding:3px 4px}
  body:not(.map-embed) .card-note{grid-column:2;grid-row:4;margin-top:0;font-size:12px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
  body:not(.map-embed) .detail{left:auto;right:0;top:78px;width:min(510px,57%);box-shadow:-7px 0 30px #142e4026}
  body:not(.map-embed) .map-legend{right:14px;left:14px;bottom:16px;justify-content:center;flex-wrap:wrap}
  body:not(.map-embed) .bounds-button{bottom:78px}
}
@media(min-width:701px) and (max-width:1199px){
  body:not(.map-embed) .map-area{flex-basis:40%;width:40%}
  body:not(.map-embed) .toolbar .search{display:none}
  body:not(.map-embed) #list{grid-template-columns:1fr}
  body:not(.map-embed) .card{grid-template-columns:120px minmax(0,1fr)}
  body:not(.map-embed) .thumb{width:120px;height:120px}
  body:not(.map-embed) .card-id{display:inline;margin-left:6px}
  body:not(.map-embed) .card-place{font-size:16px}
  body:not(.map-embed) .card-price{font-size:28px}
  body:not(.map-embed) .specs{font-size:14px}
}
@media(min-width:1200px){
  body:not(.map-embed) .card{grid-template-columns:clamp(110px,8vw,150px) minmax(0,1fr)}
  body:not(.map-embed) .thumb{width:clamp(110px,8vw,150px);height:clamp(110px,8vw,150px)}
  body:not(.map-embed) .card-place{font-size:clamp(14px,.9vw,17px)}
  body:not(.map-embed) .card-id{font-size:12px}
  body:not(.map-embed) .card-price{font-size:clamp(25px,1.6vw,30px)}
  body:not(.map-embed) .specs,body:not(.map-embed) .deposit{font-size:clamp(12px,.75vw,14px)}
  body:not(.map-embed) .tag{font-size:clamp(10px,.65vw,12px)}
  body:not(.map-embed) .card-note{font-size:clamp(12px,.75vw,14px)}
}
@media(min-width:701px){body:not(.map-embed) .filter-panel{left:min(560px,calc(100vw - 380px));right:auto;width:360px}}
@media(min-width:701px){body:not(.map-embed) .filter-panel{z-index:1200}}
@media(min-width:701px){
  body:not(.map-embed) .toolbar .type-tabs{width:auto;max-width:none;height:46px;flex-shrink:0;gap:2px;padding:4px;border:1px solid #e1e8e9;border-radius:6px;background:white;box-shadow:0 3px 10px #132f4012}
  body:not(.map-embed) .toolbar .type-tabs button{flex:none;min-height:0;padding:0 12px;font-size:14px;background:white;border-radius:4px}
  body:not(.map-embed) .toolbar .type-tabs button.on{background:var(--ink);color:white}
}
@media(min-width:701px) and (max-width:1199px){
  body:not(.map-embed) .toolbar #reset{display:none}
  body:not(.map-embed) .toolbar .type-tabs button{font-size:13px;padding:0 8px}
  body:not(.map-embed) .toolbar>select{padding-left:8px;padding-right:8px}
  body:not(.map-embed) .toolbar>button{font-size:13px;padding:0 9px}
}
@media(min-width:701px){
  .toolbar>button[data-panel]{display:inline-flex;align-items:center;justify-content:space-between;gap:14px}
  .toolbar>button[data-panel]>span{display:block;flex:none;width:6px;height:6px;margin-left:0;font-size:0;line-height:0;border-right:1.5px solid #83949b;border-bottom:1.5px solid #83949b;transform:translateY(-2px) rotate(45deg)}
}
@media(min-width:701px){
  body:not(.map-embed) .toolbar .search{width:300px;min-width:300px}
  body:not(.map-embed) .toolbar>select{appearance:none;-webkit-appearance:none;padding:0 34px 0 14px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%235a707a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center}
}
@media(min-width:701px) and (max-width:1199px){body:not(.map-embed) .toolbar .search{display:none}}
@media(min-width:701px){
  body:not(.map-embed) .sidebar-top{display:none}
  .toolbar-results{margin-left:auto;display:flex;align-items:center;gap:14px;flex-shrink:0;white-space:nowrap}
  body:not(.map-embed) .toolbar-results .list-title{flex:none;min-width:0;gap:16px}
  .toolbar-results .list-title h1{font-size:14px}
  .toolbar-results .list-title h1 b{font-size:23px;padding-left:4px}
  .toolbar-results .list-title select{height:42px;max-width:136px;font-size:13px;padding:0 5px;color:#536b76}
  body:not(.map-embed) .toolbar-results #scope{width:auto;padding:0;font-size:12px}
  .toolbar-results #scope button{padding:8px 10px;border:1px solid #d7e5ec;background:#f4f9fc;font-size:12px}
}
@media(min-width:1600px) and (max-width:1799px){.toolbar-results .scope-label{display:none}.toolbar-results{gap:8px}.toolbar-results .list-title{gap:8px!important}}
@media(min-width:701px) and (max-width:1599px){
  body:not(.map-embed) main{padding-top:126px}
  body:not(.map-embed) .toolbar{flex-wrap:wrap;row-gap:5px}
  .toolbar-results{flex-basis:100%;justify-content:flex-end;height:38px}
  .toolbar-results .list-title select{height:34px}
  body:not(.map-embed) .detail{top:126px}
  body:not(.map-embed) .chips{top:212px}
}
.tag.sold-label{background:#44535d;color:white;font-weight:700}
.card.sold .thumb{filter:grayscale(.7)}
.detail-heading .sold-notice{padding:12px;border:1px solid #d6dfe4;background:#f2f5f7;color:#44535d;font-size:14px}
.sold-notice strong{display:block;margin-bottom:3px}
/* Compact map cards: region, description, core specs, then one price row. */
.card .card-top .card-place{display:flex;align-items:center;gap:7px;min-width:0;white-space:normal;flex-wrap:wrap;font-size:13px;line-height:1.4;color:#627780}
.card .card-top .card-id{display:inline;margin:0;font-size:12px;font-weight:500;color:#627780;white-space:nowrap}
.card .card-region{font-size:13px}
.card-description{font-size:16px;font-weight:600;line-height:1.5;color:#203b48;margin-bottom:5px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card .card-summary{min-width:0;container-type:inline-size}
.card .specs{display:flex;flex-wrap:wrap;gap:3px 0;margin:0 0 5px;font-size:13px;line-height:1.5}
.card .specs span{white-space:nowrap;color:#63767e}
.card .specs span+span::before{content:' ';display:inline-block;height:10px;border-left:1px solid #d8e1e5;margin:0 7px}
.card .specs b{margin-left:0;font-weight:500}
.card .specs .area-metric{font-size:11px;font-weight:400;color:#63767e}
.card .card-area-specs{gap:3px 12px}
.card .card-area-specs span+span::before{display:none}
.card .card-pricing{display:flex;align-items:baseline;justify-content:flex-start;gap:clamp(12px,8cqi,28px);border-top:1px solid var(--line);padding-top:4px;color:var(--blue)}
.card .card-pricing .card-price{font-size:clamp(18px,10cqi,26px);line-height:1.4;white-space:nowrap}
.card .card-pricing small{font-size:11px;font-weight:400;margin-right:4px;color:inherit}
.card .card-pricing .deposit{display:flex;align-items:baseline;margin:0;white-space:nowrap;font-size:clamp(13px,7cqi,18px);color:var(--blue)}
.card .card-pricing .card-price.sale{color:var(--orange)}
.card .card-pricing .deposit strong{margin:0;font-weight:600}
@media(min-width:701px){
  body:not(.map-embed) .card{grid-template-columns:112px minmax(0,1fr);grid-template-rows:auto auto auto;align-content:start;row-gap:3px;padding:12px}
  body:not(.map-embed) .thumb{grid-row:1/4;width:112px;height:112px}
  body:not(.map-embed) .card-description{font-size:clamp(15px,.9vw,17px)}
}
@media(max-width:700px){
  .card{display:grid;grid-template-columns:88px minmax(0,1fr);align-content:start;gap:3px 10px;padding:12px}
  .card .card-top{grid-column:2;margin:0;gap:4px}
  .card .card-layout{display:contents}
  .card .card-summary{grid-column:2;grid-row:2}
  .card .thumb{grid-column:1;grid-row:1/4;align-self:start;width:88px;height:100px;object-fit:cover}
  .card .card-tags{grid-column:2;margin-top:0}
  .card .save{font-size:23px;flex-shrink:0}
  .card .specs{font-size:12px}
}
nav .site-map-ai,nav .site-map-nav{display:inline-flex;align-items:center;white-space:nowrap;padding:8px 0;background:transparent;color:var(--ink);font-size:14px;font-weight:600;line-height:1.5}nav a.site-map-ai:hover,nav a.site-map-nav:hover{text-decoration:underline;text-underline-offset:5px}.map-ai-short{display:none}
@media(max-width:700px){nav .site-map-nav{display:none}nav .site-map-ai{display:inline-flex;padding:7px 6px;font-size:11px}.site-map-ai .map-ai-full{display:none}.site-map-ai .map-ai-short{display:inline}}
:root{color-scheme:only light}
