/* TodayHousePrice compact app shell */
:root{--thp-topbar:58px;--thp-bottom:68px;--thp-blue:#245f82;--thp-ink:#17384e;--thp-line:#dce6ec;--thp-bg:#f4f7f9}
html{scroll-padding-top:72px}
html.thp-menu-open{overflow:hidden}
.site-header-shell{
  position:relative!important;z-index:8000!important;
  width:100%!important;max-width:none!important;
  margin:0!important;padding:0!important;
  background:#fff!important;
  box-shadow:0 1px 0 rgba(36,70,91,.10)!important;
}
.site-header-shell>.brand-header,
.site-header-shell>.market-indicators-wrapper,
.site-header-shell>.utility-bar,
.site-header-shell>.property-tabs,
.site-header-shell>.primary-nav,
.site-header-shell>.secondary-nav,
.site-header-shell>br{display:none!important}
.thp-appbar{
  height:var(--thp-topbar);
  display:flex;align-items:center;gap:10px;
  max-width:1180px;margin:0 auto;padding:0 16px;
  background:rgba(255,255,255,.98);
}
.thp-menu-btn{
  width:40px;height:40px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  padding:0!important;border:0!important;border-radius:12px!important;background:#f2f6f8!important;cursor:pointer;
}
.thp-menu-btn span{width:18px;height:2px;border-radius:2px;background:#24485f}
.thp-appbrand{display:flex;align-items:center;gap:8px;text-decoration:none!important;color:var(--thp-ink)!important;white-space:nowrap}
.thp-appbrand img{width:34px;height:34px;object-fit:contain;border-radius:10px}
.thp-appbrand strong{font-size:19px;font-weight:950;letter-spacing:-.05em}
.thp-asset-switch{display:flex;align-items:center;gap:4px;margin-left:18px;padding:4px;border-radius:12px;background:#f1f5f7}
.thp-asset-switch a{padding:7px 12px;border-radius:9px;color:#6a7d8b!important;font-size:12px;font-weight:850;text-decoration:none!important}
.thp-asset-switch a.is-active{background:#fff;color:#225f82!important;box-shadow:0 2px 8px rgba(30,67,91,.08)}
.thp-appbar-search{
  margin-left:auto;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;
  background:#f2f6f8;color:#24485f!important;text-decoration:none!important;font-size:25px;font-weight:700;
}
.thp-drawer-backdrop{position:fixed;inset:0;z-index:9997;background:rgba(17,34,45,.32);opacity:0;transition:opacity .18s}
.thp-drawer-backdrop.is-open{opacity:1}
.thp-app-drawer{
  position:fixed;z-index:9998;left:0;top:0;bottom:0;width:min(390px,88vw);overflow-y:auto;
  padding:18px 16px 28px;background:#fff;transform:translateX(-103%);transition:transform .22s ease;
  box-shadow:15px 0 40px rgba(20,45,61,.18);
}
.thp-app-drawer.is-open{transform:translateX(0)}
.thp-drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.thp-drawer-brand{display:flex;align-items:center;gap:10px;text-decoration:none!important;color:var(--thp-ink)!important}
.thp-drawer-brand img{width:42px;height:42px;border-radius:12px}
.thp-drawer-brand span{display:flex;flex-direction:column}
.thp-drawer-brand b{font-size:18px;letter-spacing:-.04em}
.thp-drawer-brand small{margin-top:2px;color:#8b99a3;font-size:12px}
#thp-menu-close{width:38px;height:38px;border:0;border-radius:11px;background:#f1f5f7;color:#496174;font-size:25px;cursor:pointer}
.thp-drawer-assets{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:5px;border-radius:13px;background:#eef3f6}
.thp-drawer-assets a{padding:9px 4px;border-radius:9px;text-align:center;color:#667b8b!important;text-decoration:none!important;font-size:12px;font-weight:900}
.thp-drawer-assets a.is-active{background:#fff;color:#245f82!important;box-shadow:0 2px 8px rgba(30,67,91,.08)}
.thp-drawer-section{padding:17px 2px 0}
.thp-drawer-section h3{margin:0 0 9px!important;color:#85939d!important;font-size:12px!important;font-weight:900!important;letter-spacing:.08em!important}
.thp-drawer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}
.thp-drawer-grid a{display:flex;min-height:72px;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1px solid #e1e9ee;border-radius:13px;background:#fff;color:#355166!important;text-decoration:none!important}
.thp-drawer-grid span{font-size:20px;color:#245f82}
.thp-drawer-grid b{font-size:12px}
.thp-drawer-list{border:1px solid #e1e9ee;border-radius:14px;overflow:hidden;background:#fff}
.thp-drawer-list a{position:relative;display:flex;min-height:42px;align-items:center;padding:0 36px 0 13px;border-bottom:1px solid #edf2f5;color:#314d61!important;text-decoration:none!important;font-size:12px;font-weight:780}
.thp-drawer-list a:last-child{border-bottom:0}
.thp-drawer-list em{position:absolute;right:13px;color:#9aa7b0;font-size:18px;font-style:normal}
.thp-drawer-list .drawer-logout-form{margin:0;padding:0;border:0}
.thp-drawer-list .drawer-logout-form button{
  position:relative;display:flex;width:100%;min-height:42px;align-items:center;
  padding:0 36px 0 13px;border:0;border-bottom:1px solid #edf2f5;background:#fff;
  color:#314d61;font-family:inherit;font-size:12px;font-weight:780;line-height:1.2;
  text-align:left;cursor:pointer;appearance:none;-webkit-appearance:none
}
.thp-drawer-list .drawer-logout-form button:hover{background:#f7fafb}
.thp-drawer-list .drawer-logout-form em{position:absolute;right:13px;color:#9aa7b0;font-size:18px;font-style:normal}
.thp-drawer-badge{margin-left:7px;padding:2px 5px;border-radius:8px;background:#dd5561;color:#fff;font-size:12px;font-style:normal}
.thp-drawer-market{display:flex;flex-wrap:wrap;gap:5px;margin-top:18px;padding:10px;border-radius:12px;background:#f3f7f9}
.thp-drawer-market span{padding:4px 7px;border-radius:8px;background:#fff;color:#7c8c98;font-size:12px}
.thp-drawer-market b{color:#345368}

/* simpler global bottom navigation */
.mobile-app-nav{
  position:fixed!important;z-index:9000!important;left:0!important;right:0!important;bottom:0!important;
  display:grid!important;grid-template-columns:repeat(5,1fr)!important;
  min-height:var(--thp-bottom)!important;padding:6px 8px calc(6px + env(safe-area-inset-bottom))!important;
  border-top:1px solid #dbe5eb!important;background:rgba(255,255,255,.98)!important;
  box-shadow:0 -5px 20px rgba(27,55,72,.08)!important;backdrop-filter:blur(12px);
}
.mobile-app-nav a{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;color:#8b99a4!important;text-decoration:none!important}
.mobile-app-nav__icon{display:flex!important;width:28px!important;height:25px!important;align-items:center!important;justify-content:center!important;border-radius:9px!important;font-size:18px!important}
.mobile-app-nav b{font-size:12px!important;font-weight:850!important}
.mobile-app-nav a.is-active{color:#245f82!important}
.mobile-app-nav a.is-active .mobile-app-nav__icon{background:#e8f2f7!important}
body:not(.map-home-v2){padding-bottom:calc(var(--thp-bottom) + 18px)!important}

@media(min-width:761px){
  .mobile-app-nav{display:none!important}
  body:not(.map-home-v2){padding-bottom:24px!important}
}
@media(max-width:760px){
  .thp-appbar{padding:0 9px;gap:7px}
  .thp-menu-btn,.thp-appbar-search{width:38px;height:38px}
  .thp-appbrand img{width:32px;height:32px}
  .thp-appbrand strong{font-size:17px}
  .thp-asset-switch{display:none}
}


@media(max-width:760px){
  html[data-page="apart_map_smart"] .mobile-app-nav{display:grid!important}
}


/* Desktop map home: persistent left navigation */
@media(min-width:1024px){
  html[data-page="apart_map_smart"]{
    --thp-desktop-sidebar:292px;
  }
  html[data-page="apart_map_smart"] .thp-appbar{
    max-width:none;
    margin:0;
    padding:0 18px;
  }
  html[data-page="apart_map_smart"] .thp-menu-btn{
    display:none!important;
  }
  html[data-page="apart_map_smart"] .thp-drawer-backdrop{
    display:none!important;
  }
  html[data-page="apart_map_smart"] .thp-app-drawer{
    z-index:7900;
    top:var(--thp-topbar);
    bottom:0;
    width:var(--thp-desktop-sidebar);
    padding:12px 12px 22px;
    border-right:1px solid #dbe5ea;
    background:#f8fafb;
    box-shadow:5px 0 18px rgba(28,57,74,.08);
    transform:none!important;
    transition:none!important;
  }
  html[data-page="apart_map_smart"] .thp-drawer-head,
  html[data-page="apart_map_smart"] .thp-drawer-assets{
    display:none;
  }
  html[data-page="apart_map_smart"] .thp-drawer-section{
    padding:12px 2px 0;
  }
  html[data-page="apart_map_smart"] .thp-drawer-section:first-of-type{
    padding-top:2px;
  }
  html[data-page="apart_map_smart"] .thp-drawer-section h3{
    margin-bottom:7px!important;
    padding-left:2px;
  }
  html[data-page="apart_map_smart"] .thp-drawer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
  }
  html[data-page="apart_map_smart"] .thp-drawer-grid a{
    min-height:54px;
    gap:3px;
    border-radius:11px;
    background:#fff;
  }
  html[data-page="apart_map_smart"] .thp-drawer-grid span{
    font-size:17px;
  }
  html[data-page="apart_map_smart"] .thp-drawer-grid b{
    font-size:12px;
  }
  html[data-page="apart_map_smart"] .thp-drawer-list{
    border-radius:11px;
  }
  html[data-page="apart_map_smart"] .thp-drawer-list a{
    min-height:36px;
    padding-left:12px;
    font-size:12px;
  }
  html[data-page="apart_map_smart"] .thp-drawer-list em{
    right:11px;
    font-size:16px;
  }
  html[data-page="apart_map_smart"] .thp-drawer-market{
    margin-top:12px;
    padding:8px;
  }
  html[data-page="apart_map_smart"] .thp-drawer-market span{
    font-size:12px;
  }
  html[data-page="apart_map_smart"].thp-menu-open{
    overflow:auto;
  }
}


/* Compact persistent desktop sidebar on shorter laptop screens */
@media(min-width:1024px) and (max-height:850px){
  html[data-page="apart_map_smart"] .thp-app-drawer{
    padding-top:8px;
    padding-bottom:14px;
  }
  html[data-page="apart_map_smart"] .thp-drawer-section{
    padding-top:7px;
  }
  html[data-page="apart_map_smart"] .thp-drawer-section h3{
    margin-bottom:5px!important;
  }
  html[data-page="apart_map_smart"] .thp-drawer-grid{
    gap:5px;
  }
  html[data-page="apart_map_smart"] .thp-drawer-grid a{
    min-height:46px;
  }
  html[data-page="apart_map_smart"] .thp-drawer-grid span{
    font-size:15px;
  }
  html[data-page="apart_map_smart"] .thp-drawer-list a{
    min-height:31px;
  }
  html[data-page="apart_map_smart"] .thp-drawer-market{
    display:none;
  }
}

/* Comfortable mobile app-bar targets */
@media(max-width:760px){
  .thp-menu-btn,.thp-appbar-search,#thp-menu-close{
    width:40px!important;
    height:40px!important;
  }
}


/* ===== Mobile readability pass 2026-09-28 ===== */
@media(max-width:760px){
  .mobile-app-nav{padding-top:7px!important}
  .mobile-app-nav a{gap:3px!important}
  .mobile-app-nav__icon{font-size:20px!important;height:27px!important}
  .mobile-app-nav b{font-size:12px!important;line-height:1.2}

  .thp-drawer-brand small{font-size:12px!important}
  .thp-drawer-assets a{font-size:12px!important}
  .thp-drawer-section h3{font-size:12px!important}
  .thp-drawer-grid b{font-size:12px!important}
  .thp-drawer-list a,.thp-drawer-list .drawer-logout-form button{font-size:13px!important;min-height:46px}
  .thp-drawer-badge{font-size:12px!important}
  .thp-drawer-market span{font-size:12px!important}
}

/* ===== Real-user cleanup pass 2026-09-28: desktop map sidebar readability ===== */
@media(min-width:1024px){
  html[data-page="apart_map_smart"] .thp-drawer-assets a{font-size:12px!important}
  html[data-page="apart_map_smart"] .thp-drawer-section h3{font-size:12px!important;margin-bottom:8px!important}
  html[data-page="apart_map_smart"] .thp-drawer-grid a{min-height:58px!important}
  html[data-page="apart_map_smart"] .thp-drawer-grid span{font-size:18px!important}
  html[data-page="apart_map_smart"] .thp-drawer-grid b{font-size:12px!important}
  html[data-page="apart_map_smart"] .thp-drawer-list a,html[data-page="apart_map_smart"] .thp-drawer-list .drawer-logout-form button{min-height:44px!important;font-size:13px!important}
  html[data-page="apart_map_smart"] .thp-drawer-market span{font-size:12px!important}
}



/* rank tabs restored in compact app shell */
html[data-page^="apart_todayhouseprice_rank_"] .site-header-shell > .rank-secondary-nav{
  display:block!important;
  width:calc(100% - 32px)!important;
  max-width:1180px!important;
  margin:8px auto 10px!important;
  padding:5px!important;
  border:1px solid #dfe7ed!important;
  border-radius:14px!important;
  background:#fff!important;
  overflow-x:auto!important;
  scrollbar-width:none;
}
html[data-page^="apart_todayhouseprice_rank_"] .site-header-shell > .rank-secondary-nav::-webkit-scrollbar{display:none}
html[data-page^="apart_todayhouseprice_rank_"] .site-header-shell > .rank-secondary-nav thead{
  display:table!important;
  width:100%!important;
  min-width:620px!important;
  table-layout:fixed!important;
}
html[data-page^="apart_todayhouseprice_rank_"] .site-header-shell > .rank-secondary-nav th{
  border:0!important;
  background:transparent!important;
  padding:0 2px!important;
}
html[data-page^="apart_todayhouseprice_rank_"] .site-header-shell > .rank-secondary-nav a,
html[data-page^="apart_todayhouseprice_rank_"] .site-header-shell > .rank-secondary-nav center{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:6px 8px!important;
  border-radius:9px!important;
  color:#5a7081!important;
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:850!important;
  text-decoration:none!important;
}
html[data-page^="apart_todayhouseprice_rank_"] .site-header-shell > .rank-secondary-nav th[style*="rgba(0, 0, 0, 0.3)"] a,
html[data-page^="apart_todayhouseprice_rank_"] .site-header-shell > .rank-secondary-nav th[style*="rgba(0, 0, 0, 0.3)"] center{
  background:#255f83!important;
  color:#fff!important;
}
@media (max-width:700px){
  html[data-page^="apart_todayhouseprice_rank_"] .site-header-shell > .rank-secondary-nav{
    width:calc(100% - 16px)!important;
    margin:6px auto 8px!important;
    padding:4px!important;
    border-radius:12px!important;
  }
  html[data-page^="apart_todayhouseprice_rank_"] .site-header-shell > .rank-secondary-nav thead{
    min-width:520px!important;
  }
  html[data-page^="apart_todayhouseprice_rank_"] .site-header-shell > .rank-secondary-nav a,
  html[data-page^="apart_todayhouseprice_rank_"] .site-header-shell > .rank-secondary-nav center{
    min-height:38px!important;
    padding:5px 6px!important;
    font-size:12px!important;
  }
}


/* global search overlay 2026-09-30 - reference style */
html.thp-search-open{overflow:hidden}
.thp-appbar-search{
  border:0!important;font-family:inherit!important;cursor:pointer!important;
  appearance:none;-webkit-appearance:none
}
.thp-search-backdrop{
  position:fixed;inset:0;z-index:10020;background:rgba(15,28,38,.30);
  opacity:0;transition:opacity .16s ease
}
.thp-search-backdrop.is-open{opacity:1}
.thp-search-panel{
  position:fixed;z-index:10021;top:18px;left:50%;
  width:min(760px,calc(100vw - 28px));height:min(860px,calc(100vh - 36px));
  overflow:hidden;transform:translate(-50%,-8px);opacity:0;
  border:1px solid #dde2e6;border-radius:22px;background:#fff;
  box-shadow:0 24px 80px rgba(18,43,59,.22);
  transition:opacity .16s ease,transform .16s ease
}
.thp-search-panel.is-open{transform:translate(-50%,0);opacity:1}
.thp-search-top{
  display:flex;align-items:center;gap:14px;padding:14px 16px;
  border-bottom:1px solid #edf0f2;background:#fff
}
.thp-search-close{
  flex:0 0 44px;width:44px;height:44px;border:0;background:transparent;
  color:#6f737b;font-size:32px;font-weight:300;line-height:1;cursor:pointer
}
.thp-search-input-wrap{
  display:flex;align-items:center;gap:8px;flex:1;height:54px;margin:0!important;padding:0 15px;
  border:2px solid #9ea5ae!important;border-radius:16px!important;background:#fff;
  box-shadow:0 1px 0 rgba(0,0,0,.04)
}
.thp-search-input-icon{color:#9096a0;font-size:26px;line-height:1}
.thp-search-input-wrap input{
  flex:1;min-width:0;height:48px!important;padding:0!important;border:0!important;outline:0!important;
  background:transparent!important;box-shadow:none!important;color:#222831!important;
  font-family:inherit!important;font-size:17px!important;font-weight:700!important
}
.thp-search-input-wrap input::placeholder{color:#9aa0aa;font-weight:600}
.thp-search-clear{
  flex:0 0 28px;width:28px;height:28px;border:0;border-radius:50%;background:#eef1f3;
  color:#7c838c;font-size:18px;line-height:26px;cursor:pointer
}
.thp-search-scroll{height:calc(100% - 83px);overflow-y:auto;overscroll-behavior:contain;padding:0 0 18px}
.thp-search-recent{padding:18px 20px 8px}
.thp-search-section-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  min-height:30px;margin-bottom:9px
}
.thp-search-section-head strong{color:#606771;font-size:13px;font-weight:900}
.thp-search-section-head button{
  border:0;background:transparent;color:#a0a6ae;font-size:12px;font-weight:750;cursor:pointer
}
.thp-search-section-head.is-popular{padding:18px 20px 8px;margin:0}
.thp-search-section-head.is-popular strong{font-size:14px}
.thp-search-section-head small{color:#a0a6ae;font-size:12px;font-weight:650;white-space:nowrap}
.thp-search-recent-chips{display:flex;flex-wrap:wrap;gap:8px}
.thp-search-chip{
  display:inline-flex;align-items:center;min-height:38px;border-radius:20px;background:#f5f6f7;overflow:hidden
}
.thp-search-chip button{border:0;background:transparent;font-family:inherit;cursor:pointer}
.thp-search-chip-go{padding:0 5px 0 14px;color:#3e444c;font-size:12px;font-weight:800}
.thp-search-chip-del{padding:0 11px 0 5px;color:#a1a6ae;font-size:18px;font-weight:400}
.thp-search-popular{padding-top:2px}
.thp-search-results{padding:0 14px}
.thp-search-item{
  display:flex;align-items:center;gap:12px;min-height:76px;padding:9px 10px;
  border-top:1px solid #f1f2f3;color:#222!important;text-decoration:none!important
}
.thp-search-item:first-child{border-top:0}
.thp-search-item:hover{border-radius:12px;background:#f8f9fa}
.thp-search-rank{
  flex:0 0 24px;width:24px;color:#a2a7af;font-size:14px;font-weight:900;text-align:center
}
.thp-search-building-icon{
  display:flex;flex:0 0 38px;width:38px;height:38px;align-items:center;justify-content:center;
  border-radius:12px;background:#f0f1f2;color:#50545b;font-size:21px;font-weight:900
}
.thp-search-item-body{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}
.thp-search-item-body strong{
  overflow:hidden;color:#17191d;font-size:15px;font-weight:950;text-overflow:ellipsis;white-space:nowrap
}
.thp-search-item-body small{
  overflow:hidden;color:#7b818a;font-size:12px;font-weight:650;text-overflow:ellipsis;white-space:nowrap
}
.thp-search-item-body em{
  overflow:hidden;color:#a0a5ac;font-size:12px;font-style:normal;text-overflow:ellipsis;white-space:nowrap
}
.thp-search-item-meta{
  display:flex;flex:0 0 auto;flex-direction:column;align-items:flex-end;gap:4px;text-align:right
}
.thp-search-item-meta b{
  padding:5px 8px;border-radius:12px;background:#f6f7f8;color:#5a6068;font-size:12px;font-weight:900
}
.thp-search-item:not(.is-popular) .thp-search-item-meta b{
  padding:0;background:transparent;color:#a1a6ad;font-size:22px;font-weight:500
}
.thp-search-item-meta small{color:#a0a6ae;font-size:12px}
.thp-search-loading,.thp-search-empty{padding:46px 15px;color:#9299a2;font-size:12px;font-weight:750;text-align:center}
@media(max-width:700px){
  .thp-search-backdrop{background:#fff}
  .thp-search-panel{
    top:0;bottom:0;width:100%;height:100%;max-height:none;border:0;border-radius:0;
    box-shadow:none;transform:translate(-50%,0)
  }
  .thp-search-top{gap:8px;padding:10px 10px 9px}
  .thp-search-close{flex-basis:40px;width:40px;height:44px;font-size:30px}
  .thp-search-input-wrap{height:50px;padding:0 12px;border-radius:14px!important}
  .thp-search-input-wrap input{height:44px!important;font-size:15px!important}
  .thp-search-input-icon{font-size:23px}
  .thp-search-scroll{height:calc(100% - 70px)}
  .thp-search-recent{padding:15px 16px 7px}
  .thp-search-section-head.is-popular{padding:16px 16px 7px}
  .thp-search-results{padding:0 8px}
  .thp-search-item{min-height:70px;padding:8px 8px;gap:9px}
  .thp-search-rank{flex-basis:22px;width:22px;font-size:13px}
  .thp-search-building-icon{flex-basis:36px;width:36px;height:36px}
  .thp-search-item-body strong{font-size:14px}
  .thp-search-item-body small{font-size:12px}
  .thp-search-item-meta b{font-size:12px}
}

/* Today regional transaction share CTA */
.thp-region-share-cta{
  display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;
  margin:15px 2px 1px;padding:12px 13px;border:1px solid #b9d8e6;border-radius:14px;
  background:linear-gradient(135deg,#eaf7fb 0%,#f8fcfe 52%,#eef8f5 100%);
  box-shadow:0 5px 14px rgba(32,103,137,.09);text-decoration:none!important;
}
.thp-region-share-cta-icon{
  display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;
  background:#24789a;color:#fff;font-size:19px;font-weight:950;box-shadow:0 4px 10px rgba(36,120,154,.18)
}
.thp-region-share-cta>span:nth-child(2){display:flex;min-width:0;flex-direction:column}
.thp-region-share-cta small{color:#2880a0;font-size:12px;font-weight:950;letter-spacing:.11em}
.thp-region-share-cta b{margin-top:2px;color:#173d54;font-size:13px!important;font-weight:950!important;letter-spacing:-.02em}
.thp-region-share-cta em{margin-top:2px;color:#78909c;font-size:12px;font-style:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.thp-region-share-cta>strong{color:#3b7995;font-size:18px;font-weight:900}
.thp-region-share-cta:hover{border-color:#8ec4d8;background:linear-gradient(135deg,#e3f5fb,#fff,#eaf8f2)}
@media(max-width:520px){
  .thp-region-share-cta{margin-top:12px;padding:10px 11px;grid-template-columns:38px minmax(0,1fr) auto}
  .thp-region-share-cta-icon{width:38px;height:38px;font-size:17px}
  .thp-region-share-cta b{font-size:12px!important}
  .thp-region-share-cta em{font-size:12px}
}

/* ===== Drawer CTA card: 금일 실거래 공유 2026-10-01 ===== */
.thp-app-drawer .thp-drawer-share-card-wrap{
  display:block!important;
  margin:10px 12px 12px!important;
  padding:0!important;
}
.thp-app-drawer .thp-drawer-share-card{
  display:grid!important;
  grid-template-columns:46px minmax(0,1fr) 18px!important;
  align-items:center!important;
  gap:11px!important;
  width:100%!important;
  min-height:76px!important;
  box-sizing:border-box!important;
  padding:12px 13px!important;
  border:1px solid #c7dee8!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,#eaf7fb 0%,#ffffff 56%,#eef8f4 100%)!important;
  box-shadow:0 7px 18px rgba(25,93,124,.10)!important;
  color:#173b51!important;
  text-decoration:none!important;
  overflow:hidden!important;
}
.thp-app-drawer .thp-drawer-share-card:hover,
.thp-app-drawer .thp-drawer-share-card:focus,
.thp-app-drawer .thp-drawer-share-card:visited{
  color:#173b51!important;
  text-decoration:none!important;
}
.thp-app-drawer .thp-drawer-share-card *{
  text-decoration:none!important;
}
.thp-app-drawer .thp-drawer-share-card__icon{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:46px!important;
  height:46px!important;
  border-radius:14px!important;
  background:linear-gradient(145deg,#277fa3,#1e6b8d)!important;
  color:#fff!important;
  font-size:20px!important;
  font-weight:950!important;
  line-height:1!important;
  box-shadow:0 4px 10px rgba(36,120,154,.20)!important;
}
.thp-app-drawer .thp-drawer-share-card__body{
  display:flex!important;
  min-width:0!important;
  flex-direction:column!important;
  align-items:flex-start!important;
}
.thp-app-drawer .thp-drawer-share-card__body small{
  display:block!important;
  margin:0!important;
  color:#2c809f!important;
  font-size:12px!important;
  font-weight:950!important;
  line-height:1.15!important;
  letter-spacing:.12em!important;
}
.thp-app-drawer .thp-drawer-share-card__body b{
  display:block!important;
  margin:3px 0 0!important;
  color:#173d54!important;
  font-size:15px!important;
  font-weight:950!important;
  line-height:1.2!important;
  letter-spacing:-.025em!important;
}
.thp-app-drawer .thp-drawer-share-card__body em{
  display:block!important;
  width:100%!important;
  margin:4px 0 0!important;
  color:#748b97!important;
  font-size:12px!important;
  font-style:normal!important;
  font-weight:700!important;
  line-height:1.3!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.thp-app-drawer .thp-drawer-share-card__arrow{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#4a8198!important;
  font-size:22px!important;
  font-weight:900!important;
  line-height:1!important;
}
.thp-app-drawer .thp-drawer-share-card:hover{
  border-color:#9fcddd!important;
  background:linear-gradient(135deg,#e2f5fb 0%,#fff 56%,#e8f7f0 100%)!important;
  transform:translateY(-1px);
}
@media(max-width:520px){
  .thp-app-drawer .thp-drawer-share-card-wrap{margin:9px 10px 11px!important}
  .thp-app-drawer .thp-drawer-share-card{
    grid-template-columns:42px minmax(0,1fr) 16px!important;
    min-height:70px!important;
    padding:11px 12px!important;
    border-radius:15px!important;
  }
  .thp-app-drawer .thp-drawer-share-card__icon{width:42px!important;height:42px!important;font-size:18px!important}
  .thp-app-drawer .thp-drawer-share-card__body b{font-size:14px!important}
  .thp-app-drawer .thp-drawer-share-card__body em{font-size:12px!important}
}

/* ===== Developer hub + compact drawer + account menu 2026-10-02 ===== */
.thp-account-btn{
  position:relative;flex:0 0 40px;width:40px;height:40px;padding:0!important;
  display:flex;align-items:center;justify-content:center;border:0!important;border-radius:12px!important;
  background:#f2f6f8!important;color:#24485f!important;cursor:pointer;appearance:none;-webkit-appearance:none
}
.thp-account-btn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.thp-account-btn.is-auth{background:#e9f3f8!important;color:#245f82!important}
.thp-account-status{position:absolute;right:5px;bottom:5px;width:8px;height:8px;border:2px solid #fff;border-radius:50%;background:#2f9c67}
.thp-account-backdrop{position:fixed;inset:0;z-index:10024;background:transparent;opacity:0;transition:opacity .15s}
.thp-account-backdrop.is-open{opacity:1}
.thp-account-menu{
  position:fixed;z-index:10025;top:calc(var(--thp-topbar) + 8px);right:max(12px,calc((100vw - 1180px)/2 + 12px));
  width:min(326px,calc(100vw - 24px));overflow:hidden;
  border:1px solid #dce5ea;border-radius:17px;background:#fff;
  box-shadow:0 18px 55px rgba(22,48,65,.20);opacity:0;transform:translateY(-5px);
  transition:opacity .15s ease,transform .15s ease
}
.thp-account-menu.is-open{opacity:1;transform:translateY(0)}
.thp-account-menu__head{display:flex;flex-direction:column;gap:4px;padding:17px 17px 14px;border-bottom:1px solid #edf2f5;background:#fbfcfd}
.thp-account-menu__head b{color:#203f53;font-size:15px;font-weight:950}
.thp-account-menu__head small{color:#81919d;font-size:12px;line-height:1.45}
.thp-account-menu__links{display:flex;flex-direction:column;padding:6px}
.thp-account-menu__links a{
  position:relative;display:flex;min-height:44px;align-items:center;padding:0 36px 0 12px;border-radius:10px;
  color:#314e62!important;text-decoration:none!important;font-size:13px;font-weight:800
}
.thp-account-menu__links a:hover{background:#f5f8fa}
.thp-account-menu__links a.is-primary{background:#edf5f9;color:#1d6288!important}
.thp-account-menu__links em{position:absolute;right:13px;color:#9aa8b2;font-size:18px;font-style:normal}
.thp-account-logout{margin:0;padding:0 6px 7px;border-top:1px solid #edf2f5}
.thp-account-logout button{
  width:100%;min-height:42px;margin-top:6px;padding:0 12px;border:0;border-radius:10px;background:#fff;
  color:#6e7f8a;font-family:inherit;font-size:12px;font-weight:800;text-align:left;cursor:pointer
}
.thp-account-logout button:hover{background:#f7f9fa}

.thp-drawer-section--groups{padding-top:14px!important}
.thp-drawer-groups{display:flex;flex-direction:column;gap:7px}
.thp-drawer-group{border:1px solid #e0e8ed;border-radius:13px;background:#fff;overflow:hidden}
.thp-drawer-group summary{
  position:relative;display:flex;min-height:58px;align-items:center;gap:10px;padding:8px 36px 8px 10px;
  list-style:none;cursor:pointer;user-select:none
}
.thp-drawer-group summary::-webkit-details-marker{display:none}
.thp-drawer-group summary>em{position:absolute;right:12px;color:#8da0ad;font-size:16px;font-style:normal;transition:transform .16s}
.thp-drawer-group[open] summary>em{transform:rotate(180deg)}
.thp-drawer-group[open] summary{border-bottom:1px solid #edf2f5;background:#f8fafb}
.thp-drawer-group__icon{
  display:flex;flex:0 0 34px;width:34px;height:34px;align-items:center;justify-content:center;
  border-radius:10px;background:#edf4f8;color:#245f82;font-size:16px;font-weight:950
}
.thp-drawer-group__copy{display:flex;min-width:0;flex-direction:column;gap:2px}
.thp-drawer-group__copy b{color:#294a60;font-size:13px;font-weight:930;letter-spacing:-.02em}
.thp-drawer-group__copy small{overflow:hidden;color:#8998a3;font-size:12px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}
.thp-drawer-group .thp-drawer-list{border:0;border-radius:0;background:#fff}
.thp-drawer-group .thp-drawer-list a{padding-left:14px}
.thp-drawer-developer{padding-top:14px!important}
.thp-developer-entry{
  position:relative;display:flex;min-height:62px;align-items:center;gap:10px;padding:8px 35px 8px 10px;
  border:1px solid #cfe0ea;border-radius:13px;background:#f0f7fa;color:#244d65!important;text-decoration:none!important
}
.thp-developer-entry:hover,.thp-developer-entry.is-active{border-color:#98bdd1;background:#e9f4f9}
.thp-developer-entry__icon{
  display:flex;flex:0 0 36px;width:36px;height:36px;align-items:center;justify-content:center;
  border-radius:10px;background:#245f82;color:#fff;font-size:12px;font-weight:950;letter-spacing:-.08em
}
.thp-developer-entry>span:not(.thp-developer-entry__icon){display:flex;min-width:0;flex-direction:column;gap:2px}
.thp-developer-entry b{color:#244d65;font-size:13px;font-weight:950}
.thp-developer-entry small{color:#718795;font-size:12px;font-weight:650;line-height:1.35}
.thp-developer-entry>em{position:absolute;right:12px;color:#7391a3;font-size:19px;font-style:normal}

@media(max-width:760px){
  .thp-account-btn{flex-basis:40px;width:40px;height:40px}
  .thp-account-menu{right:8px;top:calc(var(--thp-topbar) + 5px);width:calc(100vw - 16px);border-radius:16px}
  .thp-account-backdrop{background:rgba(15,28,38,.12)}
  .thp-drawer-group summary{min-height:62px}
  .thp-drawer-group__copy b,.thp-developer-entry b{font-size:13px}
  .thp-drawer-group__copy small,.thp-developer-entry small{font-size:12px}
}
@media(min-width:1024px){
  html[data-page="apart_map_smart"] .thp-drawer-group summary{min-height:56px}
  html[data-page="apart_map_smart"] .thp-drawer-group .thp-drawer-list a{min-height:40px!important;font-size:12px!important}
  html[data-page="apart_map_smart"] .thp-developer-entry{min-height:58px}
  html[data-page="apart_map_smart"] .thp-drawer-market{margin-top:10px}
}

/* Officetel / villa collection notice */
.thp-collection-notice{position:relative;z-index:70;width:min(1180px,calc(100% - 28px));margin:10px auto 0;border:1px solid #d8e5eb;border-radius:14px;background:#f8fbfd;box-shadow:0 4px 14px rgba(35,71,91,.04);overflow:hidden}
.thp-collection-notice[hidden]{display:none!important}
.thp-collection-notice__head{display:flex;align-items:center;gap:10px;min-height:48px;padding:9px 12px}
.thp-collection-notice__icon{display:inline-flex;flex:0 0 24px;width:24px;height:24px;align-items:center;justify-content:center;border-radius:50%;background:#dfeef5;color:#2e6f90;font-size:12px;font-weight:950}
.thp-collection-notice__title{display:flex;min-width:0;flex:1;align-items:baseline;gap:8px;flex-wrap:wrap}
.thp-collection-notice__title b{color:#294d62;font-size:13px;line-height:1.4}
.thp-collection-notice__title small{color:#788b96;font-size:12px;line-height:1.45}
.thp-collection-notice__toggle,.thp-collection-notice__close{border:0;background:transparent;color:#5e7888;font-family:inherit;font-size:12px;font-weight:850;cursor:pointer}
.thp-collection-notice__toggle{padding:7px 8px;border-radius:8px}
.thp-collection-notice__toggle:hover{background:#edf4f7}
.thp-collection-notice__close{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;border-radius:9px;font-size:19px;line-height:1}
.thp-collection-notice__close:hover{background:#eaf1f5}
.thp-collection-notice__body{padding:0 46px 12px}
.thp-collection-notice__body p{margin:0;color:#647c89;font-size:12px;line-height:1.6}
.thp-collection-notice.is-collapsed .thp-collection-notice__title small{display:none}
@media(max-width:760px){
  .thp-collection-notice{width:calc(100% - 16px);margin-top:8px;border-radius:12px}
  .thp-collection-notice__head{gap:8px;padding:8px 9px}
  .thp-collection-notice__title{align-items:flex-start;flex-direction:column;gap:1px}
  .thp-collection-notice__title b{font-size:13px}
  .thp-collection-notice__title small,.thp-collection-notice__body p{font-size:12px}
  .thp-collection-notice__toggle{padding:6px 4px;font-size:12px}
  .thp-collection-notice__body{padding:0 41px 10px}
}
/* Slim collection notice override */
.thp-collection-notice{margin-top:6px;border-radius:10px}
.thp-collection-notice__head{min-height:38px;padding:5px 10px;gap:8px;white-space:nowrap}
.thp-collection-notice__icon{flex:0 0 22px;width:22px;height:22px;font-size:12px}
.thp-collection-notice__head p{display:flex;min-width:0;flex:1;align-items:center;gap:8px;margin:0;overflow:hidden;color:#667d8b;font-size:12px;line-height:1.3}
.thp-collection-notice__head p b{flex:0 0 auto;color:#2c5369;font-size:12px}
.thp-collection-notice__head p span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.thp-collection-notice__close{flex:0 0 28px;width:28px;height:28px;font-size:18px}
.thp-collection-notice__title,.thp-collection-notice__toggle,.thp-collection-notice__body{display:none!important}
@media(max-width:760px){
 .thp-collection-notice{width:calc(100% - 12px);margin-top:5px}
 .thp-collection-notice__head{min-height:36px;padding:4px 8px}
 .thp-collection-notice__head p{gap:6px;font-size:12px}
 .thp-collection-notice__head p b{font-size:12px}
 .thp-collection-notice__head p span{display:none}
}

/* Desktop map: always keep global home / asset switch header visible */
@media(min-width:1024px){
  html[data-page="apart_map_smart"] .site-header-shell{
    display:block!important;
    position:relative!important;
    z-index:8000!important;
    width:100%!important;
    min-height:var(--thp-topbar)!important;
    height:auto!important;
    margin:0!important;
    overflow:visible!important;
    background:#fff!important;
  }
  html[data-page="apart_map_smart"] .thp-appbar{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    position:relative!important;
    z-index:8100!important;
    width:100%!important;
    max-width:none!important;
    height:var(--thp-topbar)!important;
    min-height:var(--thp-topbar)!important;
    box-sizing:border-box!important;
    margin:0!important;
    padding:0 16px!important;
    border-bottom:1px solid #e2e9ed;
    background:#fff!important;
  }
  html[data-page="apart_map_smart"] .thp-appbrand,
  html[data-page="apart_map_smart"] .thp-asset-switch{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
  }
  html[data-page="apart_map_smart"] .thp-appbrand{margin-left:0!important}
  html[data-page="apart_map_smart"] .thp-asset-switch{margin-left:14px!important}
  html[data-page="apart_map_smart"] .thp-app-drawer{
    top:var(--thp-topbar)!important;
  }
}

/* Map notice floats over map; only top appbar keeps a solid background */
html[data-page="apart_map_smart"] .site-header-shell{
  position:relative!important;
  z-index:8000!important;
  height:var(--thp-topbar)!important;
  min-height:var(--thp-topbar)!important;
  overflow:visible!important;
  background:#fff!important;
}
html[data-page="apart_map_smart"] .thp-appbar{
  position:relative!important;
  z-index:8100!important;
  background:#fff!important;
}
html[data-page="apart_map_smart"] .thp-collection-notice{
  position:absolute!important;
  z-index:8050!important;
  top:calc(var(--thp-topbar) + 6px)!important;
  margin:0!important;
  background:rgba(248,251,253,.97)!important;
  backdrop-filter:blur(6px);
}
@media(min-width:1024px){
  html[data-page="apart_map_smart"] .thp-collection-notice{
    left:calc(var(--thp-desktop-sidebar,292px) + 14px)!important;
    right:14px!important;
    width:auto!important;
  }
  html[data-page="apart_map_smart"].thp-collection-notice-visible .map-search-wrap{
    top:58px!important;
  }
}
@media(max-width:1023px){
  html[data-page="apart_map_smart"] .thp-collection-notice{
    left:6px!important;
    right:6px!important;
    width:auto!important;
  }
  html[data-page="apart_map_smart"].thp-collection-notice-visible .map-search-wrap{
    top:52px!important;
  }
}

/* Desktop typography floor: keep utility text readable */
@media(min-width:761px){
  small,.small,.label,sub,sup{font-size:12px!important}
}

/* Compact centered collection notice on desktop map */
@media(min-width:1024px){
  html[data-page="apart_map_smart"] .thp-collection-notice{
    left:calc(50% + 146px)!important;
    right:auto!important;
    width:max-content!important;
    max-width:calc(100% - 520px)!important;
    transform:translateX(-50%)!important;
  }
}
@media(min-width:761px) and (max-width:1023px){
  html[data-page="apart_map_smart"] .thp-collection-notice{
    left:50%!important;
    right:auto!important;
    width:max-content!important;
    max-width:calc(100% - 180px)!important;
    transform:translateX(-50%)!important;
  }
}

/* ===== Drawer information architecture refresh 2026-10-06 ===== */
.thp-drawer-my-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:13px 2px 0}
.thp-drawer-my-shortcuts a{display:grid;grid-template-columns:30px minmax(0,1fr);grid-template-rows:auto auto;column-gap:8px;align-items:center;min-height:54px;padding:9px 10px;border:1px solid #dfe8ed;border-radius:12px;background:#f9fbfc;color:#315267!important;text-decoration:none!important}
.thp-drawer-my-shortcuts a>span{grid-row:1/3;display:flex;width:30px;height:30px;align-items:center;justify-content:center;border-radius:9px;background:#eaf4f8;color:#24779d;font-size:17px;font-weight:900}
.thp-drawer-my-shortcuts a>b{align-self:end;font-size:12px;line-height:1.2}
.thp-drawer-my-shortcuts a>small{align-self:start;overflow:hidden;margin-top:2px;color:#8a9aa4;font-size:10px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
.thp-drawer-inline-badge{display:inline-flex!important;position:static!important;align-items:center!important;justify-content:center!important;margin-left:7px!important;padding:2px 5px!important;border-radius:999px!important;background:#eef2f5!important;color:#7b8c97!important;font-size:9px!important;font-weight:900!important;line-height:1!important;font-style:normal!important}
.thp-drawer-inline-badge.is-new{background:#e7f5ee!important;color:#188057!important}
@media(max-width:760px){
  .thp-drawer-my-shortcuts{padding-top:10px}
  .thp-drawer-my-shortcuts a{min-height:50px;padding:8px 9px}
  .thp-drawer-my-shortcuts a>small{font-size:10px}
}
