/* 더 미켈란 단지전문 v2 — 기획팀 프리뷰 시안(the-michelan-seocho-realestate-v2 index.html 의 <style>) 이식, 2026-12-04 */
:root {
  --white: #FFFFFF;
  --ink: #283544;
  --copper: #A86B4C;
  --mist: #F2F3F5;
  --line: #DDE1E5;
  --muted: #59636D;
  --serif: "Hahmlet", serif;
  --sans: "Pretendard", sans-serif;
  --number: "Syne", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
}
img:where(:not(.lxc,.lxc *)) { display: block; width: 100%; object-fit: cover; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.hero-photos {
  display: grid;
  grid-template-columns: 1fr 2.15fr 1fr;
  gap: 6px;
  height: 50vh;
  min-height: 330px;
  max-height: 680px;
  overflow: hidden;
}
.hero-photos img { height: 100%; }
.hero-photos img:first-child { object-position: center; }
.hero-photos img:nth-child(2) { object-position: center 52%; }
.hero-photos img:last-child { object-position: center; }
.hero-copy { padding: 38px 0 26px; }
.hero-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
h1:where(:not(.lxc,.lxc *)), h2:where(:not(.lxc,.lxc *)), h3:where(:not(.lxc,.lxc *)), p:where(:not(.lxc,.lxc *)) { margin-top: 0; }
h1:where(:not(.lxc,.lxc *)), h2:where(:not(.lxc,.lxc *)), h3:where(:not(.lxc,.lxc *)) { line-height: 1.3; }
h1:where(:not(.lxc,.lxc *)), .section-title {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -.035em;
}
h1:where(:not(.lxc,.lxc *)) { font-size: clamp(30px, 4vw, 48px); margin-bottom: 0; }
.hero-intro { margin: 0 0 16px; font-size: 18px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 10px 18px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  background: var(--white);
  color: var(--ink);
}
.button.primary { background: var(--ink); color: var(--white); }
.button:hover { opacity: .88; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.stat { display: flex; align-items: baseline; gap: 9px; }
.stat strong { font: 600 28px/1 var(--number); }
.stat span { font-size: 15px; color: var(--muted); }
.eyebrow {
  margin-bottom: 12px;
  color: var(--copper);
  font: 600 14px/1.4 var(--number);
  letter-spacing: .08em;
  text-transform: uppercase;
}
section:where(:not(.lxc,.lxc *)) { padding: 82px 0; }
section:nth-of-type(even):where(:not(.lxc,.lxc *)) { background: var(--mist); }
.section-head { max-width: 760px; margin-bottom: 30px; }
.section-title { margin-bottom: 12px; font-size: clamp(28px, 3.4vw, 40px); }
.section-lead { margin-bottom: 0; color: var(--muted); font-size: 17px; }
.area-track {
  display: grid;
  grid-auto-columns: minmax(260px, 1fr);
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-snap-type: x mandatory;
}
.area-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  scroll-snap-align: start;
}
.area-card h3 { margin-bottom: 20px; font-size: 21px; }
.area-card .area-num { font: 600 28px/1.2 var(--number); }
.area-card p { margin: 8px 0; }
.area-card .small { color: var(--muted); }
.scroll-hint { margin: 2px 0 22px; color: var(--muted); font-size: 14px; }
.table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
table:where(:not(.lxc,.lxc *)) { width: 100%; border-collapse: collapse; font-size: 14px; }
th:where(:not(.lxc,.lxc *)), td:where(:not(.lxc,.lxc *)) { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th:where(:not(.lxc,.lxc *)) { background: #F7F8F9; font-weight: 600; }
tbody tr:last-child td:where(:not(.lxc,.lxc *)) { border-bottom: 0; }
.source-note, .photo-note, .price-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.trade-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.highlight {
  padding: 18px;
  background: var(--white);
  border-top: 2px solid var(--copper);
}
.highlight span { display: block; color: var(--muted); font-size: 14px; }
.highlight strong { display: block; margin-top: 8px; font: 600 25px/1.3 var(--number); }
.graph-wrap { padding: 22px; border: 1px solid var(--line); background: var(--white); }
.graph-title { margin-bottom: 8px; font-size: 18px; }
.chart { display: block; width: 100%; height: auto; overflow: visible; }
.chart text { fill: var(--muted); font: 14px var(--sans); }
.chart .value { fill: var(--ink); font: 600 14px var(--sans); }
.chart .gridline { stroke: var(--line); stroke-width: 1; }
.chart .line { fill: none; stroke: var(--ink); stroke-width: 2.5; }
.chart .dot { fill: var(--copper); stroke: var(--white); stroke-width: 2; }
.listings { display: grid; gap: 18px; }
.listing {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) 1.1fr;
  border: 1px solid var(--line);
  background: var(--white);
}
.listing-photo { min-height: 300px; }
.listing-photo img { height: 100%; min-height: 300px; }
.listing-body { padding: 26px; }
.listing-type { display: inline-block; margin-bottom: 12px; padding: 4px 10px; border: 1px solid var(--ink); font-size: 14px; }
.listing h3 { margin-bottom: 8px; font-size: 24px; }
.listing-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 20px 0; }
.listing-facts div { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.listing-facts dt { color: var(--muted); font-size: 13px; }
.listing-facts dd { margin: 3px 0 0; }
.price { margin: 18px 0 0; font-size: 23px; font-weight: 700; }
.price-note { margin-top: 2px; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery figure { margin: 0; background: var(--white); }
.gallery img { aspect-ratio: 4 / 3; }
figcaption:where(:not(.lxc,.lxc *)) { padding: 10px 12px; font-size: 14px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
}
.feature h3 { margin-bottom: 8px; font-size: 19px; }
.feature p { margin-bottom: 0; color: var(--muted); }
.address-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}
.address-card address { font-style: normal; }
.map-links { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: start; }
.contact-panel { padding: 28px; background: var(--ink); color: var(--white); }
.contact-panel a { font: 600 28px/1.4 var(--number); color: var(--white); text-decoration: none; }
.contact-panel p { margin: 10px 0 0; color: #E2E6EA; }
form:where(:not(.lxc,.lxc *)) { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
label:where(:not(.lxc,.lxc *)), legend:where(:not(.lxc,.lxc *)) { font-weight: 600; }
input:where(:not(.lxc,.lxc *)), select:where(:not(.lxc,.lxc *)) {
  min-height: 48px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #BFC6CD;
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
}
fieldset:where(:not(.lxc,.lxc *)) { margin: 0; padding: 0; border: 0; }
.consent { display: flex; align-items: flex-start; gap: 9px; font-weight: 400; }
.consent input { width: 20px; min-height: 20px; margin-top: 3px; }
.form-message { min-height: 24px; margin: 0; color: var(--ink); font-weight: 600; }
.faq-list { display: grid; gap: 10px; }
details:where(:not(.lxc,.lxc *)) { padding: 18px 20px; border: 1px solid var(--line); background: var(--white); }
summary:where(:not(.lxc,.lxc *)) { cursor: pointer; font-weight: 600; }
details:where(:not(.lxc,.lxc *)) p { margin: 12px 0 0; color: var(--muted); }
footer { padding: 38px 0 96px; background: var(--ink); color: var(--white); }
footer p { margin: 0 0 9px; font-size: 13px; }
footer .legal { max-width: 900px; margin-top: 18px; color: #E2E6EA; }
footer a { color: var(--white); }
.mobile-bar { display: none; }
@media (max-width: 700px) {
  .wrap { width: min(100% - 32px, 560px); }
  .hero-photos { height: 42vh; min-height: 260px; grid-template-columns: .72fr 1.8fr .72fr; }
  .hero-copy { padding: 26px 0 20px; }
  .hero-top { grid-template-columns: 1fr; gap: 14px; }
  h1:where(:not(.lxc,.lxc *)) { font-size: 31px; }
  .hero-intro { font-size: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 16px 10px; margin-top: 22px; }
  .stat strong { font-size: 25px; }
  section:where(:not(.lxc,.lxc *)) { padding: 58px 0; }
  .section-head { margin-bottom: 22px; }
  .section-title { font-size: 29px; }
  .area-track { grid-auto-columns: minmax(78vw, 1fr); }
  .trade-highlights { grid-template-columns: 1fr; }
  .highlight { padding: 15px; }
  .highlight strong { font-size: 23px; }
  .graph-wrap { padding: 14px 10px; }
  .listing { grid-template-columns: 1fr; }
  .listing-photo, .listing-photo img { min-height: 230px; max-height: 320px; }
  .listing-body { padding: 20px; }
  .listing-facts { grid-template-columns: 1fr 1fr; gap: 9px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .gallery figcaption { padding: 8px; font-size: 13px; }
  .feature-grid { grid-template-columns: 1fr; }
  .address-card { grid-template-columns: 1fr; padding: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-panel { padding: 22px; }
  .mobile-bar {
    position: fixed;
    z-index: 10;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--white);
  }
  .mobile-bar .button { min-height: 46px; padding: 8px; }
  footer { padding-bottom: 115px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── 이식하며 더한 것(2026-12-04) ── */
/* 위 전역 img·h1·h2·h3·p·section·table·th·td·figcaption·form·label·legend·input·select·fieldset·details·summary 규칙은 큐레이팅 블록(.lxc) 안쪽에 번지지 않게
   :where(:not(.lxc,.lxc *)) 로 한정했다(값·우선순위는 그대로).
   .table-scroll·.trade-highlights·.highlight·.graph-wrap·.graph-title·.chart·.listings·.listing·.listing-*·.price·.price-note 규칙은
   남겨 두되 마크업이 없다(고정 실거래 숫자·그래프·표, 목업 물건 카드 제거 → 공용 큐레이팅 블록). */
/* 실거래 = 공용 큐레이팅 실거래 블록 — 회색 바탕(짝수 구역) 위라 시안 그래프 판(.graph-wrap)과 같은 흰 판·테두리에 올린다 */
#trades .lxc{padding:22px;border:1px solid var(--line);background:var(--white)}
@media (max-width:700px){#trades .lxc{padding:14px 10px}}
/* 매물 상세(/v2/property/{id}) 본문 — 시안에 머리줄이 없어(첫 화면 사진이 곧 머리글) 위쪽 여백만 */
.pp-main{padding:56px 0 80px}
@media (max-width:700px){.pp-main{padding:32px 0 60px}}
/* 큐레이팅 블록 색 토큰 — 테마 색(ink·copper·mist) */
html .lxc{--lx-gold:#283544;--lx-gold-em:#A86B4C;--lx-gold-tx:#A86B4C;--lx-gold-3:#F2F3F5;--lx-teal:#283544}
