/* One viewport workspace; search modal styles are owned by the shared search component. */
body.hspm-page{overflow:hidden}
.hspm-page #footer,.hspm-page .page-title,.hspm-page .page-header{display:none}
.hspm-page #main,.hspm-page .page-wrapper{padding:0!important;margin:0!important;min-height:0}
.hspm-page #main>.row,.hspm-page #main .large-12.col{max-width:none;width:100%;padding:0}
.hspm{--hspm-top:96px;--hspm-search-height:132px;position:fixed;inset:var(--hspm-top) 0 0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:#fff;color:#2c2c2c;z-index:25;text-align:left;font-size:14px;line-height:1.5}
.hspm *{box-sizing:border-box}
.hspm :is(button,input,select){font:inherit}
.hspm button{margin:0;letter-spacing:0;text-transform:none;font-weight:500;cursor:pointer;line-height:1.4;min-height:40px;border:1px solid #ddd;border-radius:6px;background:#fff;color:#333;box-shadow:none}
.hspm button:disabled{opacity:.45;cursor:not-allowed}
.hspm :is(button,a,input,select):focus-visible{outline:2px solid #247006;outline-offset:3px}
.hspm [hidden]{display:none!important}
.hspm-results-panel{overflow:auto;overscroll-behavior:contain;min-width:0;height:100%;scrollbar-width:thin;background:#fff}
.hspm-search{position:sticky;top:0;z-index:8;background:#fff;padding:20px 24px 0;border-bottom:1px solid #eee}
.hspm .hs-search{margin:0;padding:0;max-width:none;min-width:0}
.hspm .hs-search__quick{padding:12px 0!important;margin:0;max-width:100%}
.hspm .hs-search__quick button{min-height:36px!important;height:36px!important}
.hspm .hs-search__selection{margin-bottom:12px}
.hspm-results-body{padding:16px 24px 64px}
.hspm-context{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;margin:0 0 12px}
.hspm-context a{color:#666;display:inline-flex;align-items:center;gap:6px}
.hspm-context button{min-height:32px;padding:4px 8px;font-size:12px}
.hspm h1{font-size:22px;line-height:1.35;margin:0 0 16px;font-weight:700;color:#2c2c2c}
.hspm-result-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px}
.hspm-result-tools strong{font-size:14px;font-weight:400}
.hspm-result-tools small{display:block;font-size:12px;color:#777;margin-top:4px}
.hspm-result-tools label{margin:0;max-width:42%}
.hspm-result-tools select{height:36px;min-height:36px;padding:4px 28px 4px 10px;margin:0;font-size:13px;border:1px solid #ddd;border-radius:4px;background-color:white;box-shadow:none}
.hspm-results{display:grid;gap:16px}
.hspm-card{display:grid;grid-template-columns:minmax(150px,42%) minmax(0,1fr);border:1px solid #e5e5e5;border-radius:6px;overflow:hidden;min-width:0;background:#fff;transition:border-color .15s}
.hspm-card:hover,.hspm-card.is-selected{border-color:#98ba87}
.hspm-card__photo{position:relative;min-height:195px;display:block;background:#eef1ed;overflow:hidden;color:#8ca181}
.hspm-card__photo>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;margin:0}
.hspm-card__photo--mosaic{min-height:220px}
.hspm-card__mosaic{position:absolute;inset:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(0,2fr) minmax(0,1fr);gap:2px;overflow:hidden}
.hspm-card__mosaic[data-photo-count="2"]{grid-template-columns:1fr}
.hspm-card__mosaic[data-photo-count="3"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.hspm-card__mosaic>img{position:static;display:block;min-height:0;min-width:0;width:100%;height:100%;margin:0;object-fit:cover}
.hspm-card__mosaic>img:first-child{grid-column:1/-1}
.hspm-card__photo>.hs-icon{position:absolute;top:40%;left:40%;font-size:36px}
.hspm-card__tier{position:absolute;left:0;top:12px;padding:3px 8px;background:#247006;color:#fff;font-size:11px;font-weight:600;border-radius:0 3px 3px 0}
.hspm-card__body{padding:16px;min-width:0;display:flex;flex-direction:column;gap:10px}
.hspm-card h2{font-size:15px;font-weight:600;line-height:1.5;color:#2c2c2c;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.hspm-card h2 a{color:inherit}
.hspm .hspm-verified{display:inline-block;width:18px;height:18px;margin:0 5px 0 0;vertical-align:-3px}
.hspm-facts{display:flex;gap:6px 10px;flex-wrap:wrap;align-items:center;font-size:13px;color:#777}
.hspm-fact{display:inline-flex;gap:5px;align-items:center;white-space:nowrap}
.hspm-fact--price,.hspm-fact--area{color:#247006;font-weight:600;font-size:15px}
.hspm-card__location{font-size:12px;color:#666;margin:0;display:flex;gap:5px;align-items:flex-start;line-height:1.5}
.hspm-card__location .hs-icon{font-size:16px;margin-top:1px;flex:none}
.hspm-card__footer{display:flex;gap:8px;align-items:center;margin-top:auto;padding-top:4px}
.hspm-card__footer small{font-size:11px;color:#999;flex:1}
.hspm-card>.hspm-card__footer{grid-column:1/-1;padding:10px 14px;border-top:1px solid #eee}
.hspm-card__seller{display:flex;flex-direction:column;flex:1;min-width:0}
.hspm-card__seller strong{font-size:12px;color:#333;font-weight:600}
.hspm-card__actions{display:flex;align-items:center;gap:8px;flex:none}
.hspm-card__excerpt{margin:0;color:#666;font-size:12px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hspm :is(button,a).hspm-card__phone{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:6px 10px;border:1px solid #247006;border-radius:5px;background:#247006;color:#fff;font-size:12px;white-space:nowrap;font-weight:600}
.hspm button.hspm-card__locate{font-size:18px;min-height:36px;height:36px;width:32px;padding:3px;color:#247006;border-color:#dce6d8}
.hspm button.hs-favorite-button{width:36px;height:36px;min-height:36px;min-width:36px;padding:6px;flex:none;font-size:21px;display:inline-flex;align-items:center;justify-content:center}
.hspm button.hs-favorite-button[aria-pressed=true]{color:#247006;background:#edf5e9}
.hspm-pagination{display:flex;gap:12px;justify-content:center;align-items:center;margin-top:20px;font-size:12px}
.hspm-pagination button{min-height:36px;padding:6px 10px;font-size:12px}
.hspm-empty{padding:32px 16px;text-align:center;background:#f7f8f7;border-radius:6px;color:#666}
.hspm-map-wrap{position:relative;min-width:0;height:100%;background:#e9eee7;overflow:hidden;border-left:1px solid #ddd}
.hspm-map{position:absolute;inset:0;width:100%;height:100%}
.hspm:is([data-list-state=loading],[data-marker-state=loading]) .hspm-map-wrap::after{content:'Đang tìm bất động sản…';position:absolute;top:70px;left:16px;z-index:4;padding:7px 12px;border-radius:5px;background:#ffffffed;box-shadow:0 1px 8px #0001;color:#666;font-size:12px;pointer-events:none}
.hspm-map-context{position:absolute;top:20px;left:50%;transform:translateX(-50%);display:flex;gap:8px;max-width:calc(100% - 110px);z-index:3}
.hspm-map-context button{border:none;box-shadow:0 2px 12px #0002;min-height:40px;padding:8px 16px;font-size:13px;white-space:nowrap}
.hspm-map-controls{position:absolute;top:20px;right:16px;display:grid;gap:10px;z-index:4}
.hspm-map-controls button{width:44px;height:44px;min-height:44px;display:flex;align-items:center;justify-content:center;border:0;border-radius:5px;box-shadow:0 2px 10px #0002;color:#505050;font-size:23px;padding:0}
.hspm-map-controls button[aria-pressed=true]{color:#247006;background:#edf5e9}
.hspm-map-controls button[aria-expanded=true]{color:#247006;background:#edf5e9}
html[data-hs-input=pointer] .hspm :is(.hspm-map-controls button,.hspm-tool-help button):focus{outline:none}
.hspm-tool-help{position:absolute;top:14px;right:74px;width:min(280px,calc(100% - 88px));z-index:8;background:#fff;border:1px solid #dfe5dc;border-radius:10px;box-shadow:0 5px 24px #18351220}
.hspm-tool-help::before{content:'';position:absolute;right:-12px;top:0;bottom:0;width:12px}
.hspm-tool-help::after{content:'';position:absolute;right:-6px;top:var(--hspm-help-arrow,20px);width:10px;height:10px;background:#fff;border-top:1px solid #dfe5dc;border-right:1px solid #dfe5dc;transform:rotate(45deg);pointer-events:none}
.hspm-tool-help__body{padding:14px;border-radius:inherit;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.hspm-tool-help__header{display:flex;align-items:flex-start;gap:6px;margin:0 0 5px}
.hspm-tool-help h2{display:flex;align-items:center;gap:8px;flex:1;min-width:0;font-size:14px;line-height:1.5;font-weight:600;margin:2px 0;color:#292f2b}
.hspm-tool-help h2 .hs-icon{color:#247006;font-size:18px;flex:none}
.hspm button.hspm-tool-help__close{display:flex;align-items:center;justify-content:center;flex:none;width:28px;height:28px;min-height:28px;padding:0;border:0;background:transparent;font-size:18px;color:#6b746d}
.hspm-tool-help__description{font-size:13px;line-height:1.5;color:#626c64;margin:0 0 12px}
.hspm-tool-help__demo{height:128px;overflow:hidden;background:#edf0e8;border-radius:6px;color:#247006}
.hspm-tool-help__demo>svg{display:block;width:100%;height:100%}
.hspm-help-block{fill:#e0e5d9}
.hspm-help-street{fill:none;stroke:#fff;stroke-width:9}
.hspm-help-draw-path{stroke:currentColor;stroke-width:2.5;fill:none;stroke-linejoin:round;stroke-linecap:round;stroke-dasharray:100;animation:hspm-help-draw 3.6s ease-in-out both paused}
.hspm-help-draw-fill{fill:currentColor;animation:hspm-help-fill 3.6s ease-in-out both paused}
.hspm-help-cursor{fill:#fff;stroke:currentColor;stroke-width:2;offset-path:path('M52 28L174 28L197 78L90 96Z');animation:hspm-help-cursor 3.6s ease-in-out both paused}
.hspm-help-zoom-in{transform-origin:center;animation:hspm-help-zoom-in 3.6s ease-in-out both paused}
.hspm-help-zoom-out{transform-origin:center;animation:hspm-help-zoom-out 3.6s ease-in-out both paused}
.hspm-help-window{fill:#fff;stroke:#dfe5dc}
.hspm-help-screen{fill:#edf0e8;stroke:currentColor}
.hspm-help-expand{transform-origin:center;animation:hspm-help-expand 3.6s ease-in-out both paused}
.hspm-tool-help[data-fullscreen=true] .hspm-help-expand{animation-name:hspm-help-collapse}
.hspm-tool-help__demo.is-playing :is(.hspm-help-draw-path,.hspm-help-draw-fill,.hspm-help-cursor,.hspm-help-zoom-in,.hspm-help-zoom-out,.hspm-help-expand){animation-play-state:running}
.hspm-tool-help__demo.is-still *{animation:none}
.hspm-tool-help__demo.is-still .hspm-help-draw-path{stroke-dashoffset:0}
.hspm-tool-help__demo.is-still .hspm-help-draw-fill{fill-opacity:.14}
.hspm-tool-help__demo.is-still .hspm-help-cursor{display:none}
.hspm-tool-help__footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;font-size:12px;color:#6b746d}
.hspm .hspm-tool-help__footer button{min-height:32px;padding:4px 0;border:0;background:transparent;color:#247006;font-size:12px}
@keyframes hspm-help-draw{0%,12%{stroke-dashoffset:100}65%,100%{stroke-dashoffset:0}}
@keyframes hspm-help-fill{0%,62%{fill-opacity:0}70%,100%{fill-opacity:.14}}
@keyframes hspm-help-cursor{0%,12%{offset-distance:0%;opacity:0}13%{offset-distance:0%;opacity:1}65%,84%{offset-distance:100%;opacity:1}90%,100%{offset-distance:100%;opacity:0}}
@keyframes hspm-help-zoom-in{0%,14%{transform:scale(1)}80%,100%{transform:scale(1.35)}}
@keyframes hspm-help-zoom-out{0%,14%{transform:scale(1.3)}80%,100%{transform:scale(.9)}}
@keyframes hspm-help-expand{0%,14%{transform:scale(.74)}80%,100%{transform:scale(.98)}}
@keyframes hspm-help-collapse{0%,14%{transform:scale(.98)}80%,100%{transform:scale(.74)}}
.hspm-draw-actions{position:absolute;left:16px;right:76px;top:70px;z-index:5;background:white;box-shadow:0 2px 12px #0002;padding:10px;border-radius:6px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:12px}
.hspm-draw-actions span{flex:1 1 100%}
.hspm-draw-actions button{padding:5px 12px;min-height:36px}
.hspm-draw-actions [data-map-finish-draw]{background:#247006;color:white;border-color:#247006}
.hspm-map-status{position:absolute;bottom:32px;left:16px;max-width:calc(100% - 90px);padding:10px 14px;background:#fff;border-radius:6px;box-shadow:0 2px 10px #0002;z-index:4;font-size:12px;display:flex;align-items:center;gap:10px}
.hspm-map-status.is-error{color:#9a3c17}
.hspm-map-status button{min-height:32px;font-size:12px;white-space:nowrap}
.hspm button.hspm-marker{--hspm-tag-fill:#fff;--hspm-tag-stroke:#247006;width:auto;min-height:30px;height:30px;padding:0;border:0;background:transparent;color:#247006;border-radius:18px;box-shadow:none;font-size:12px;font-weight:600;white-space:nowrap;line-height:22px}
.hspm-marker__face{display:flex;align-items:center;justify-content:center;gap:5px;min-height:30px;padding:3px 9px;border:1px solid var(--hspm-tag-stroke);border-radius:inherit;background:var(--hspm-tag-fill);box-shadow:0 2px 6px #0002;transform-origin:50% 100%;transition:transform 180ms cubic-bezier(.2,1.65,.35,1);pointer-events:none}
.hspm button.hspm-marker.is-selected{--hspm-tag-fill:#247006;color:white;z-index:5}
html[data-hs-input=pointer] .hspm button.hspm-marker:focus{outline:none}
.hspm button.hspm-marker--cluster{--hspm-tag-fill:#247006;--hspm-tag-stroke:#fff;color:white;border-radius:50%;width:40px;height:40px;min-height:40px;padding:0;font-size:13px}
.hspm-marker--cluster .hspm-marker__face{width:40px;height:40px;min-height:40px;padding:0;border-width:2px}
.hspm button.hspm-marker--project{--hspm-tag-stroke:#768d6b;color:#33442a}
@media(hover:hover) and (pointer:fine){.hspm button.hspm-marker:hover:not(.is-hover-reset){--hspm-tag-fill:#247006;color:white;z-index:5}}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.hspm-marker:hover:not(.is-hover-reset) .hspm-marker__face{transform:scale(1.08)}}
.hspm-marker--expanded{z-index:6}
.hspm .hspm-popup{z-index:7;font:inherit}
.hspm-popup[data-side=below]{flex-direction:column}
.hspm-popup[data-side=below] :is(.maplibregl-popup-tip,.mapboxgl-popup-tip){border:10px solid transparent;border-top-width:0;border-bottom-color:#fff}
.hspm-popup :is(.maplibregl-popup-content,.mapboxgl-popup-content){padding:0;background:transparent;box-shadow:none}
.hspm-selection{position:relative;width:var(--hspm-popup-width,360px);max-height:var(--hspm-popup-height,440px);background:#fff;box-shadow:0 4px 24px #0003;border:1px solid #eee;border-radius:8px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;display:flex;flex-direction:column}
.hspm-selection:focus{outline:none}
html[data-hs-input=keyboard] .hspm-selection:focus{outline:2px solid #247006;outline-offset:2px}
.hspm-selection__header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #eee;font-size:14px;flex-shrink:0;background:#fff}
.hspm-selection__header strong{color:#2c2c2c}
.hspm button.hspm-selection__close{display:flex;align-items:center;justify-content:center;border:0;min-height:36px;width:36px;padding:0;font-size:21px}
.hspm-selection>.hspm-card{border:0;border-radius:0;flex-shrink:0}
.hspm-card--compact{grid-template-columns:96px minmax(0,1fr)}
.hspm-card--compact .hspm-card__photo{min-height:132px}
.hspm-card--compact .hspm-card__body{padding:12px;gap:8px}
.hspm-card--compact h2{font-size:13px;-webkit-line-clamp:2}
.hspm-card--compact .hspm-fact{font-size:12px}
.hspm-card--compact .hspm-card__location{font-size:11px}
.hspm-inventory{overflow:auto;min-height:0;overscroll-behavior:contain;padding:0 12px 12px;scrollbar-width:thin}
.hspm-inventory .hspm-card{margin:10px 0}
.hspm-project-summary{padding:12px 0;display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px}
.hspm-project-summary a{color:#247006}
.hspm-project-facts{margin:0 0 12px;font-size:12px;color:#777;line-height:1.6}
.hspm .maplibregl-ctrl-bottom-right,.hspm .mapboxgl-ctrl-bottom-right{bottom:0;right:0}
.hspm .maplibregl-ctrl-attrib,.hspm .mapboxgl-ctrl-attrib{font-size:10px}
.hspm button.hspm-view-toggle{display:none}
.hspm:fullscreen,.hspm.hspm-fullscreen{inset:0!important;--hspm-top:0px!important;z-index:10000}
@media(min-width:769px) and (max-width:1100px){.hspm-search{padding:16px 16px 0}.hspm-results-body{padding:16px}.hspm-card{grid-template-columns:36% minmax(0,1fr)}.hspm-card__body{padding:12px}.hspm-card__photo{min-height:210px}.hspm-card h2{font-size:14px}}
@media(max-width:768px){
 .hspm-page .hs-chat-widget{bottom:calc(18px + env(safe-area-inset-bottom));right:12px}
 .hspm-page .hs-chat-trigger{width:44px;min-width:44px;height:44px;min-height:44px;justify-content:center;padding:4px}
 .hspm-page .hs-chat-trigger__label{display:none}
 .hspm{display:block}
 .hspm-search{position:absolute;top:0;left:0;right:0;padding:12px 12px 0;box-shadow:0 2px 6px #0001;z-index:9}
 .hspm .hs-search__quick{padding:10px 0!important}
 .hspm-results-panel{height:100%;padding-top:var(--hspm-search-height);padding-bottom:50px}
 .hspm-results-body{padding:16px 12px 70px}
 .hspm h1{font-size:20px}
 .hspm-map-wrap{position:absolute;inset:var(--hspm-search-height) 0 0;height:auto;border:0}
 .hspm[data-view=map] .hspm-results-body{visibility:hidden}
 .hspm[data-view=list] .hspm-map-wrap{visibility:hidden;pointer-events:none}
 .hspm[data-view=list] :is(.maplibregl-control-container,.mapboxgl-control-container){display:none}
 .hspm-map-context{top:12px;max-width:calc(100% - 88px);left:12px;transform:none}
 .hspm-map-context button{font-size:12px;padding:8px 10px;min-height:40px;white-space:normal}
 .hspm-map-controls{top:12px;right:12px;gap:8px}
 .hspm-map-controls button{width:48px;height:48px;min-height:48px}
 .hspm-tool-help__body{padding:12px}
 .hspm button.hspm-tool-help__close{width:44px;height:44px;min-height:44px;margin:-6px -6px 0 0}
 .hspm .hspm-tool-help__footer button{min-height:44px}
 .hspm .maplibregl-ctrl-bottom-right,.hspm .mapboxgl-ctrl-bottom-right{bottom:64px}
 .hspm button.hspm-view-toggle{position:absolute;bottom:calc(18px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 20px;background:#247006;color:white;border:1px solid #fff;border-radius:24px;box-shadow:0 3px 12px #0003;z-index:10;font-size:14px}
 .hspm-selection__header{padding:8px 12px}
 .hspm-map-status{bottom:calc(78px + env(safe-area-inset-bottom));left:8px;max-width:calc(100% - 72px)}
 .hspm-map-context [data-map-clear-polygon]{background:#edf5e9;color:#247006}
 .hspm-draw-actions{top:64px;left:12px;right:64px}
 .hspm-card{grid-template-columns:minmax(100px,35%) minmax(0,1fr)}
 .hspm-card__body{padding:12px;gap:8px}
 .hspm-card>.hspm-card__footer{flex-wrap:wrap;gap:8px;padding:10px}
 .hspm-card__seller{flex-basis:100%}
 .hspm-card__actions{margin-left:auto;max-width:100%}
 .hspm-card h2{font-size:14px}
 .hspm-card__photo{min-height:200px}
 .hspm-card--compact{grid-template-columns:96px minmax(0,1fr)}
 .hspm-card--compact .hspm-card__photo{min-height:132px}
 .hspm-result-tools{gap:8px}.hspm-result-tools label{max-width:46%}
}
@media(prefers-reduced-motion:reduce){.hspm *{scroll-behavior:auto;transition:none}}
@media(prefers-reduced-motion:reduce){.hspm-tool-help__demo *{animation:none!important}.hspm-help-draw-path{stroke-dashoffset:0}.hspm-help-draw-fill{fill-opacity:.14}.hspm-help-cursor{display:none}}
