/* ============================================================
   生活圈（周边服务 OSM 快照 + 周边房产 MLS，两套地图共用一套脚本）
   ============================================================ */

/* ---- 地址自动补全（复用租赁发布页的 address_autocomplete.js） ---- */
.ps-address-field { position: relative; flex: 1 1 0; min-width: 0; }
/* 地址框外面多包了一层 .ps-address-field（给自动补全下拉做定位），
   此时 input 不再是 .ps-search 的 flex 子项，后面 .ps-page .ps-search-input 的
   width:0 / flex:1 若生效，输入框就只剩 padding + 24px 圆角 → 看起来是个小圆圈。
   用 (0,3,0) 压过它，恢复整行宽度。 */
.ps-page .ps-address-field .ps-search-input {
  width: 100%;
  flex: none;
  min-width: 0;
  box-sizing: border-box;
}
#address-suggestions {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 1500;
  margin-top: 4px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(32, 33, 36, .18);
  overflow: hidden;
}
#address-suggestions:empty { display: none; }
/* 建议项的内联样式来自共用的 address_autocomplete.js（租赁页也在用），
   这里只在本页把边框收成整齐的分隔线，不改共用脚本 */
#address-suggestions button { border: 0 !important; border-bottom: 1px solid #eef0f3 !important; }
#address-suggestions button:last-child { border-bottom: 0 !important; }
#address-suggestions button:hover, #address-suggestions button[aria-selected="true"] { background: #e8f4fd !important; }
.ps-address-status { margin: -4px 0 10px; font-size: 12px; color: #5f6368; min-height: 0; }
#address-google-credit { margin: -6px 0 10px; font-size: 10px; color: #9aa0a6; }
#address-google-credit[hidden] { display: none; }

.ps-section-title {
  margin: 26px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8eaed;
  font-size: 1.15rem;
  font-weight: 700;
  color: #27323f;
  scroll-margin-top: 76px;
}

.ps-page { padding-bottom: 48px; }

/* ---- 顶部切换 ---- */
.ps-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin: 0 0 16px;
  max-width: 320px;
  background: #eef1f5;
  border-radius: 12px;
}
.ps-tab {
  flex: 1;
  padding: 9px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #5f6368;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.ps-tab:hover { color: #1967d2; }
.ps-tab.is-active {
  background: #fff;
  color: #1967d2;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(60, 64, 67, .16);
}

.ps-panel.is-hidden { display: none; }

/* 生活圈：两个按钮切换，一次只显示一块内容，避免页面过长 */
.ps-tabs-nearby { max-width: 420px; }
.ps-tabs-nearby .ps-tab { font-size: 0.95rem; padding: 10px 12px; }

.ps-intro {
  margin: 0 0 18px;
  padding: 12px 14px;
  background: #f4f8ff;
  border-left: 3px solid #4285f4;
  border-radius: 0 10px 10px 0;
  color: #3c4a5c;
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ---- 分组 ---- */
.ps-group {
  margin-bottom: 22px;
  scroll-margin-top: 76px;
}

/* 顶部快速跳转 */
.ps-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}
.ps-jump a {
  padding: 6px 12px;
  border: 1px solid #e3e7ec;
  border-radius: 16px;
  background: #fff;
  color: #3c4043;
  font-size: 0.8rem;
  text-decoration: none;
  white-space: nowrap;
}
.ps-jump a:hover {
  background: #f1f6fd;
  border-color: #c6dafc;
  color: #1967d2;
}

.ps-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #202124;
}
.ps-group-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #f1f3f4;
  font-size: 0.95rem;
  line-height: 1;
}
.ps-group-count {
  padding: 1px 8px;
  border-radius: 10px;
  background: #e8f0fe;
  color: #1967d2;
  font-size: 0.72rem;
  font-weight: 600;
}

/* 分组图标的配色（与首页方块色系呼应） */
.ps-accent-red    { background: #fdecec; }
.ps-accent-amber  { background: #fef4e3; }
.ps-accent-blue   { background: #e8f2fe; }
.ps-accent-rose   { background: #fdeef3; }
.ps-accent-green  { background: #e9f7ee; }
.ps-accent-indigo { background: #eeeffb; }
.ps-accent-slate  { background: #eef1f5; }
.ps-accent-cyan   { background: #e6f6f8; }

/* ---- 电话行 ---- */
.ps-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #e8ebef;
  border: 1px solid #e8ebef;
  border-radius: 14px;
  overflow: hidden;
}
.ps-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
}
.ps-row-main { flex: 1; min-width: 0; }
.ps-row-name {
  font-size: 0.94rem;
  font-weight: 500;
  color: #202124;
  line-height: 1.4;
  word-break: break-word;
}
.ps-row-note {
  margin-top: 3px;
  font-size: 0.78rem;
  color: #70757a;
  line-height: 1.55;
}
.ps-row-link {
  display: inline-block;
  margin-top: 5px;
  margin-right: 12px;
  font-size: 0.76rem;
  color: #1967d2;
  text-decoration: none;
}
.ps-row-link:hover { text-decoration: underline; }

.ps-row-phone {
  flex: none;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 20px;
  background: #e8f0fe;
  color: #1967d2;
  font-size: 0.86rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}
.ps-row-phone:hover { background: #d2e3fc; }

/* 注意：根目录 static/base.css 里有一条老规则
   `form input[type="text"] { width:80%; max-width:300px }`，
   特异性 (0,1,2) 高于单个类选择器，会把地址框压成 300px。
   这里统一用 `.ps-page .ps-search-input` (0,2,0) 压过它。 */
.ps-panel { width: 100%; }

.ps-search {
  display: flex;
  width: 100%;
  gap: 8px;
  margin-bottom: 10px;
}
.ps-page .ps-search-input {
  /* flex-basis:0 + width:0：彻底摆脱 base.css 里 `form input[type="text"]{width:80%}`
     带来的固有宽度，否则输入框会把同一行右侧的「查周边」按钮挤出屏幕 */
  flex: 1 1 0;
  width: 0;
  max-width: 100%;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid #dadce0;
  border-radius: 24px;
  background: #fff;
  font-size: 0.92rem;
  font-family: inherit;
  color: #202124;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.ps-search-input:focus {
  border-color: #4285f4;
  box-shadow: 0 0 0 3px rgba(66, 133, 244, .14);
}
.ps-search-input::placeholder { color: #9aa0a6; }
.ps-search-btn {
  flex: none;
  padding: 0 20px;
  border: 0;
  border-radius: 24px;
  background: #4285f4;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.ps-search-btn:hover { background: #1967d2; }

/* 地址留空时按钮自动取当前位置：常态只有一行说明，定位失败才出现重试入口 */
.ps-locate-hint {
  margin: 10px 0 12px;
  font-size: 0.78rem;
  color: #80868b;
  line-height: 1.55;
}
.ps-locate-retry {
  display: inline-block;
  margin: -4px 0 12px;
  padding: 6px 14px;
  border: 1px solid #c6dafc;
  border-radius: 18px;
  background: #f1f6fd;
  color: #1967d2;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.ps-locate-retry[hidden] { display: none; }
.ps-tabs-nearby .ps-tab:disabled { opacity: .6; cursor: default; }

/* ---- 范围选择 ---- */
.ps-radius {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ps-radius::-webkit-scrollbar { display: none; }
.ps-radius-label { flex: none; font-size: 0.78rem; color: #5f6368; }
.ps-radius-chip {
  flex: none;
  padding: 6px 14px;
  border: 1px solid #dadce0;
  border-radius: 16px;
  background: #fff;
  color: #3c4043;
  font-size: 0.8rem;
  text-decoration: none;
}
.ps-radius-chip:hover { background: #f1f6fd; border-color: #c6dafc; }
.ps-radius-chip.is-active {
  background: #e8f0fe;
  border-color: #4285f4;
  color: #1967d2;
  font-weight: 600;
}

/* ---- 定位结果条 ---- */
.ps-loc {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid #e8ebef;
  border-radius: 14px;
}
.ps-loc-pin { flex: none; font-size: 1.1rem; }
.ps-loc-body { min-width: 0; }
.ps-loc-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.94rem;
  font-weight: 600;
  color: #202124;
  word-break: break-word;
}
.ps-loc-badge {
  flex: none;
  padding: 1px 7px;
  border-radius: 8px;
  background: #e6f4ea;
  color: #137333;
  font-size: 0.68rem;
  font-weight: 600;
}
.ps-loc-sub {
  margin-top: 2px;
  font-size: 0.78rem;
  color: #70757a;
}

/* ---- 周边服务列表（简洁紧凑版）----
   分组纵向排列、桌面组内地点两列（手机单列），每条 POI 只占一行
   （名称 / OSM 外链小图标 / 距离）；点行仍由共用的 listing_nearby.js 定位到地图。
   不用「两列分组」：各组条数不同会留下大片空白，反而不整齐。 */
.ps-service-groups { display: block; }
.ps-service-group { margin-bottom: 14px; }
.ps-service-group:last-child { margin-bottom: 0; }
.ps-service-group .ps-group-title { margin-bottom: 6px; font-size: 13px; }
.ps-service-group .ps-group-icon { width: 22px; height: 22px; border-radius: 7px; font-size: 12px; }
.ps-service-group .ps-group-count { padding: 1px 6px; font-size: 10px; }

.ps-poi-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: #e8ebef; border: 1px solid #e8ebef; border-radius: 10px; overflow: hidden;
}
/* 奇数条时最后一条横跨两列，避免右下角出现灰色空格 */
.ps-poi:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ps-poi {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; background: #fff; min-width: 0;
}
.ps-poi.is-mappable { cursor: pointer; transition: background .15s; }
.ps-poi.is-mappable:hover { background: #f5f9ff; }
.ps-poi.is-mappable:focus-visible { outline: 2px solid #1967d2; outline-offset: -2px; }
.ps-poi-name {
  flex: 1 1 auto; min-width: 0;
  font-size: 12.5px; font-weight: 500; color: #2b3138; line-height: 1.4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ps-poi-osm {
  flex: none; padding: 2px 3px; color: #aeb6be;
  font-size: 12px; line-height: 1; text-decoration: none;
}
.ps-poi-osm:hover { color: #1967d2; }
.ps-poi-dist {
  flex: none; padding: 1px 6px; border-radius: 8px;
  background: #f1f3f4; color: #6b7681; font-size: 10.5px;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

@media (max-width: 700px) {
  .ps-poi-list { grid-template-columns: 1fr; }
  .ps-poi:last-child:nth-child(odd) { grid-column: auto; }
}

/* ---- 加载状态 ---- */
.ps-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  background: #f4f8ff;
  border: 1px solid #dce8fb;
  border-radius: 12px;
  color: #3c4a5c;
  font-size: 0.86rem;
  line-height: 1.6;
}
.ps-status[hidden] { display: none; }
.ps-status.is-error {
  background: #fef7e0;
  border-color: #fce8b2;
  color: #8a6100;
}
.ps-spinner {
  flex: none;
  width: 16px;
  height: 16px;
  border: 2px solid #c6dafc;
  border-top-color: #4285f4;
  border-radius: 50%;
  animation: ps-spin .8s linear infinite;
}
.ps-status.is-error .ps-spinner { display: none; }
@keyframes ps-spin { to { transform: rotate(360deg); } }

/* ---- 空态 / 提示 ---- */
.ps-empty {
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: #fef7e0;
  color: #8a6100;
  font-size: 0.86rem;
  line-height: 1.6;
}

.ps-placeholder {
  padding: 32px 20px;
  border: 1px dashed #d5dae1;
  border-radius: 16px;
  background: #fbfcfe;
  text-align: center;
}
.ps-placeholder-icon { font-size: 2rem; margin-bottom: 8px; }
.ps-placeholder p {
  margin: 0 0 6px;
  color: #3c4a5c;
  font-size: 0.9rem;
  line-height: 1.65;
}
.ps-placeholder-sub { color: #80868b !important; font-size: 0.78rem !important; }

.ps-disclaimer {
  margin: 24px 0 0;
  padding-top: 14px;
  border-top: 1px solid #eef0f3;
  color: #9aa0a6;
  font-size: 0.74rem;
  line-height: 1.7;
}
.ps-disclaimer a { color: #1967d2; text-decoration: none; }
.ps-disclaimer a:hover { text-decoration: underline; }

/* ---- 移动端 ---- */
@media (max-width: 480px) {
  .ps-tabs { max-width: none; }
  .ps-row { padding: 11px 12px; gap: 10px; }
  .ps-row-name { font-size: 0.9rem; }
  .ps-row-phone { font-size: 0.8rem; padding: 5px 10px; }
  .ps-search { flex-wrap: wrap; }
  .ps-address-field { flex: 1 1 100%; }
  .ps-search-input { flex: 1 1 100%; }
  .ps-search-btn { flex: 1 1 100%; padding: 11px 20px; }
  /* 窄屏时按钮换行到输入框下方，浮层下拉会盖住它；改成顺排把按钮推下去，
     下拉展开时页面只会临时变高，不会出现「按钮被切一半」的观感 */
  #address-suggestions { position: static; }
}

/* ============================================================
   周边房产（MLS）· 简洁版
   列表=地址/大价格主行 + 一句规格 + 一行弱信息；详情=大价格锚点 +
   房源信息网格 + 紧凑过往记录。状态统一用左侧色条 / 价格色 / 小徽章。
   ============================================================ */
.ps-props-map { height: 340px; border-radius: 12px; border: 1px solid #e8ebef; overflow: hidden; margin: 14px 0 18px; background: #eef1f4; }
.ps-price-marker-container { background: none; border: none; }
.ps-price-marker {
  padding: 2px 7px; border-radius: 5px; border: 1px solid transparent;
  font-size: 11px; font-weight: 700; white-space: nowrap; color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .28); text-align: center;
}
.ps-price-active   { background: #0e7a70; border-color: #0a5f58; }
.ps-price-sold     { background: #c0392b; border-color: #962d22; }
.ps-price-pending  { background: #e67e22; border-color: #b96015; }
.ps-price-marker:hover { transform: scale(1.08); }
.ps-prop-cluster { background: none; border: none; }
.ps-prop-cluster-badge {
  display: flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border: 3px solid #fff; border-radius: 50%; background: #2f4a52; color: #fff;
  font-size: 13px; font-weight: 700; box-sizing: border-box; box-shadow: 0 2px 8px rgba(35, 58, 60, .35);
}

/* 地图小弹层：只留地址、价格、一句规格和入口 */
.ps-prop-popup .leaflet-popup-content { margin: 12px 14px; min-width: 210px; line-height: 1.5; }
.ps-prop-popup-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ps-prop-popup-head strong { font-size: 14px; color: #202a33; line-height: 1.35; }
.ps-prop-popup-price { font-size: 15px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ps-prop-popup-sub { margin-top: 4px; color: #6b7681; font-size: 12px; }
.ps-prop-detail-btn {
  display: block; width: 100%; margin-top: 10px; padding: 7px 0;
  border: none; border-radius: 8px; background: #1967d2; color: #fff;
  font: inherit; font-size: 12px; font-weight: 600; cursor: pointer;
}
.ps-prop-detail-btn:hover { background: #1558b0; }

/* ---- 具体信息弹窗（桌面居中卡片 / 手机底部抽屉） ---- */
.ps-prop-modal {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(20, 28, 36, 0.52);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.ps-prop-modal[hidden] { display: none; }
.ps-prop-modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: min(86vh, 760px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}
.ps-prop-modal-close {
  position: absolute; top: 12px; right: 14px;
  width: 30px; height: 30px; border: none; border-radius: 50%;
  background: #f1f3f5; color: #6b7681; font-size: 18px; line-height: 1; cursor: pointer;
}
.ps-prop-modal-close:hover { background: #e5e9ed; }
.ps-prop-modal-body { font-size: 13px; color: #2b3138; }
.ps-prop-detail-loading { color: #9aa3ac; padding: 18px 0; text-align: center; }

/* 头部：地址 + 状态；MLS / 挂牌性质 / 城市收成一行弱信息 */
.ps-prop-modal-head { padding-right: 34px; margin-bottom: 14px; }
.ps-prop-head-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.ps-prop-head-top strong { font-size: 17px; font-weight: 700; line-height: 1.35; word-break: break-word; }
.ps-prop-head-badge { font-size: 11px; padding: 2px 8px; }
.ps-prop-head-sub { margin-top: 5px; color: #8b949e; font-size: 12px; }
.ps-prop-mls-link { color: #1967d2; text-decoration: none; }
.ps-prop-mls-link:hover { text-decoration: underline; }

/* 大价格：详情的视觉锚点，交易要点收在副行 */
.ps-prop-price-hero {
  margin: 0 0 16px; padding: 12px 14px;
  border: 1px solid #eef1f4; border-radius: 12px; background: #f7f9fb;
}
.ps-prop-price-hero-main { display: flex; align-items: baseline; gap: 9px; }
.ps-prop-price-hero-value {
  font-size: 24px; font-weight: 800; letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums; line-height: 1.2;
}
.ps-prop-price-hero-active  .ps-prop-price-hero-value { color: #0e7a70; }
.ps-prop-price-hero-pending .ps-prop-price-hero-value { color: #d2691e; }
.ps-prop-price-hero-sold    .ps-prop-price-hero-value { color: #c0392b; }
.ps-prop-price-hero-label { font-size: 12px; color: #8b949e; }
.ps-prop-price-hero-notes { margin-top: 5px; color: #6b7681; font-size: 12px; line-height: 1.55; }

/* ---- 详情：多图轮播（无图时整个图区不渲染） ---- */
.ps-prop-gallery { position: relative; margin: 0 0 16px; border-radius: 12px; overflow: hidden; background: #f2f4f6; }
.ps-prop-gallery[hidden] { display: none; }
.ps-prop-gallery-stage { position: relative; height: 250px; cursor: pointer; }
.ps-prop-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #f2f4f6; opacity: 0; transition: opacity .18s ease; font-size: 0; color: transparent; }
.ps-prop-slide.is-active { opacity: 1; }
.ps-prop-slide.is-broken { display: none; }
.ps-prop-gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border: none; border-radius: 50%;
  background: rgba(0, 0, 0, .45); color: #fff; font-size: 20px; line-height: 1; cursor: pointer;
}
.ps-prop-gallery-prev { left: 8px; }
.ps-prop-gallery-next { right: 8px; }
.ps-prop-gallery-count { position: absolute; right: 10px; bottom: 8px; padding: 2px 8px; border-radius: 10px; background: rgba(0, 0, 0, .5); color: #fff; font-size: 11px; }
.ps-prop-gallery-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 5px; }
.ps-prop-gallery-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.ps-prop-gallery-dots i.is-active { background: #fff; }

/* ---- 详情：分区标题 + 只列有值项的字段网格 ---- */
.ps-prop-section { margin: 16px 0 0; }
.ps-prop-section-title { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: #37424d; }
.ps-prop-section-count { padding: 0 7px; border-radius: 8px; background: #eef2f6; color: #6b7681; font-size: 11px; font-weight: 600; }
.ps-prop-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: #eef1f4; border: 1px solid #eef1f4; border-radius: 10px; overflow: hidden;
}
.ps-prop-field { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 8px 11px; background: #fff; font-size: 12.5px; }
.ps-prop-field span { color: #8b949e; white-space: nowrap; }
.ps-prop-field strong { color: #2b3138; font-weight: 600; text-align: right; word-break: break-word; }

/* ---- 详情：同址过往记录（桌面三列 / 手机两行，不再横向滚动） ---- */
.ps-hist-list { border: 1px solid #eef1f4; border-radius: 10px; overflow: hidden; }
.ps-hist-row {
  display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 2px 10px;
  padding: 8px 11px; background: #fff; border-bottom: 1px solid #f1f3f5; font-size: 12px;
}
.ps-hist-row:last-child { border-bottom: 0; }
.ps-hist-date { color: #8b949e; font-variant-numeric: tabular-nums; }
.ps-hist-price { color: #2b3138; font-weight: 600; font-variant-numeric: tabular-nums; }
.ps-hist-arrow { margin: 0 2px; color: #b3bcc5; }
.ps-hist-dom { grid-column: 1 / -1; color: #9aa3ac; font-size: 11px; }
@media (min-width: 481px) {
  .ps-hist-row { grid-template-columns: 92px minmax(0, 1fr) auto; align-items: baseline; }
  .ps-hist-dom { grid-column: auto; text-align: right; }
}

/* ---- 详情：咨询地产经纪报名表单 ---- */
.ps-prop-inquiry { margin-top: 18px; padding: 14px; border: 1px solid #e8ebef; border-radius: 12px; background: #f8fafc; }
.ps-prop-inquiry .ps-prop-section-title { margin-bottom: 10px; }
.ps-inq-identity { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.ps-inq-avatar {
  flex: none; width: 44px; height: 44px; padding: 0; overflow: hidden;
  border: 1px dashed #c9d1d9; border-radius: 50%; background: #fff;
  color: #9aa3ac; font-size: 20px; cursor: pointer;
}
.ps-inq-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ps-inq-input {
  width: 100%; box-sizing: border-box; padding: 9px 11px; margin-bottom: 8px;
  border: 1px solid #dfe4e9; border-radius: 8px; background: #fff;
  font: inherit; font-size: 13px; color: #2b3138;
}
.ps-inq-input:focus { outline: none; border-color: #4285f4; box-shadow: 0 0 0 3px rgba(66, 133, 244, .12); }
.ps-inq-identity .ps-inq-input { margin-bottom: 0; flex: 1 1 0; min-width: 0; }
/* base.css 的 form input[type="text"] { max-width:300px } 会压窄弹窗里的文本框，
   用 (0,2,0) 选择器显式覆盖（与生活圈地址框同一个坑） */
.ps-prop-modal .ps-inq-input { max-width: none; }
.ps-inq-question { resize: vertical; min-height: 64px; }
.ps-inq-wx {
  display: block; width: 100%; margin-bottom: 8px; padding: 9px;
  border: 1px solid #07a854; border-radius: 8px; background: #eaf8f0;
  color: #07813f; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.ps-inq-wx[hidden] { display: none; }
.ps-inq-submit {
  display: block; width: 100%; padding: 10px; border: none; border-radius: 8px;
  background: #1967d2; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.ps-inq-submit:disabled { opacity: .6; cursor: default; }
.ps-inq-status { margin-top: 8px; min-height: 16px; font-size: 12px; color: #07813f; }
.ps-inq-status.is-error { color: #c0392b; }

/* ---- 周边房产列表：一条卡片三层信息（地址+价格 / 规格 / 时间·MLS·状态） ---- */
.ps-prop-group-head { margin-bottom: 10px; }
.ps-prop-group-note { margin: -6px 0 10px; color: #8b949e; font-size: 12px; }
.ps-prop-list { display: flex; flex-direction: column; gap: 8px; }
.ps-prop-row {
  display: block; position: relative; width: 100%; text-align: left;
  padding: 11px 14px 11px 15px;
  border: 1px solid #e8ebef; border-left: 3px solid #0e7a70; border-radius: 10px;
  background: #fff; font: inherit; color: inherit; cursor: pointer;
  transition: box-shadow .15s, border-color .15s;
}
.ps-prop-row-pending { border-left-color: #e67e22; }
.ps-prop-row-sold    { border-left-color: #c0392b; }
.ps-prop-row-active  { border-left-color: #0e7a70; }
.ps-prop-row:hover { border-color: #c9dcf5; box-shadow: 0 2px 8px rgba(30, 60, 90, .08); }
.ps-prop-row:focus-visible { outline: 2px solid #1967d2; outline-offset: 2px; }
.ps-prop-row.is-collapsed { display: none; }
.ps-prop-line-main { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ps-prop-address { font-size: 14px; font-weight: 600; color: #202a33; line-height: 1.35; word-break: break-word; }
.ps-prop-price { font-size: 15px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ps-prop-price-active  { color: #0e7a70; }
.ps-prop-price-pending { color: #d2691e; }
.ps-prop-price-sold    { color: #c0392b; }
.ps-prop-specs { display: block; margin-top: 4px; color: #4d5964; font-size: 12.5px; line-height: 1.45; }
.ps-prop-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 6px; color: #9aa3ac; font-size: 11.5px; }
.ps-prop-status { padding: 1px 7px; border-radius: 8px; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.ps-prop-status-pending { color: #a85b0b; background: #fff2e2; }
.ps-prop-status-sold    { color: #9c2f22; background: #fdeceb; }
.ps-prop-status-active  { color: #0b6b62; background: #e5f5f2; }
.ps-prop-none { padding: 14px; border: 1px dashed #dde2e8; border-radius: 10px; color: #8b949e; font-size: 13px; text-align: center; }
.ps-prop-more {
  display: block; width: 100%; margin-top: 10px; padding: 9px;
  border: 1px solid #e8ebef; border-radius: 9px; background: #f8fafc;
  color: #1967d2; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.ps-prop-more:hover { background: #eef4fd; }

/* ---- 手机：地址与价格各占一行，详情弹窗变底部抽屉 ---- */
@media (max-width: 480px) {
  .ps-prop-line-main { flex-direction: column; gap: 2px; }
  .ps-prop-price { font-size: 16px; }
  .ps-prop-field { padding: 7px 9px; font-size: 11.5px; }
  .ps-prop-gallery-stage { height: 200px; }
  .ps-prop-modal { padding: 0; align-items: flex-end; }
  .ps-prop-modal-card {
    width: 100%; max-height: 88vh; border-radius: 16px 16px 0 0;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .ps-prop-modal-close { top: 8px; right: 10px; }
}
