@font-face{font-family:Noto;src:url(noto-sans-thai-thai.woff2) format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:Noto;src:url(noto-sans-thai-latin.woff2) format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0000-00FF,U+2010-2027}
*{box-sizing:border-box}
:root{--ink:#25201c;--muted:#665b52;--line:#e8e0d7;--paper:#fffefa;--soft:#f9f5ef;--accent:#9c3024;--tint:#f4e4dc;--white:#fff;font-family:Noto,system-ui,sans-serif;color:var(--ink);line-height:1.55}
body,h1,h2,h3,p,dl,dd,figure{margin:0}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #245c4e;outline-offset:3px}
[hidden]{display:none!important}
body{min-height:100vh;display:flex;flex-direction:column;background:var(--paper)}
main{flex:1}
.shell{width:min(760px,calc(100% - 32px));margin-inline:auto}
.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.skip:focus{position:absolute;z-index:4;top:.35rem;left:.5rem;padding:.5rem;background:#fff}
.masthead{border-bottom:1px solid var(--line);background:var(--paper)}
.brand{display:inline-flex;align-items:center;white-space:nowrap;font-size:20px;font-weight:850;letter-spacing:-.045em}
.brand span{color:var(--accent)}
.brand-mark{width:24px;height:16px;margin-right:9px;border-radius:4px;background:var(--accent);position:relative;transform:rotate(-7deg)}
.brand-mark:after{content:"";position:absolute;left:6px;top:6px;width:4px;height:4px;border-radius:100%;background:white;box-shadow:8px 0 white}
.mast-inner{display:flex;justify-content:space-between;align-items:center;min-height:57px;gap:.5rem}
.mast-actions{display:flex;gap:5px;align-items:center}

.icon-tabler{display:inline-block;width:16px;height:16px;flex:none;vertical-align:middle}
.search .icon-tabler{width:19px;height:19px}
.icon-tabler-chevron-right{width:13px;height:13px}
h2{font-size:18px;line-height:1.35;font-weight:800}
.home-hero{background:var(--soft);margin:0 -16px;padding:26px 16px 21px;border-bottom:1px solid var(--line)}
.region,.page-title p{color:var(--muted);font-size:14px}
.home-hero h1,.page-title h1{font-size:33px;line-height:1.22;letter-spacing:-.035em;font-weight:850}
.home-hero h1{margin:7px 0 17px}
.home-hero h1::first-line{color:var(--ink)}
.search{height:46px;background:white;border:1px solid #d5c6b7;border-radius:8px;padding-left:12px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:14px}
.search button{border:0;display:grid;place-items:center;min-width:43px;height:100%;background:var(--accent);color:white;border-radius:0 7px 7px 0}
.home-categories,.areas,.home-list{margin-top:20px}
.section-title{display:flex;gap:6px;align-items:center;justify-content:space-between;margin-bottom:9px}
.section-title a{font-size:13px;color:var(--accent);font-weight:750}
.section-title span{font-size:13px;color:var(--muted)}
.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.category-grid a{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:8px 9px;min-height:44px;background:#fff;border:1px solid var(--line);border-radius:7px;font-size:14px;font-weight:750}
.category-grid .icon-tabler-chevron-right{color:var(--accent)}
.chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
.chips a{display:block;border:1px solid var(--line);border-radius:18px;padding:4px 9px;font-size:13px;background:#fff}
.home-list h2{margin-bottom:8px}
.crumb{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px;padding:13px 0 9px}
.crumb a{color:var(--accent);font-weight:650}
.page-title{margin:3px 0 14px}
.page-title p{margin-top:5px}
.profile-title h1{font-size:31px}
.filter{margin-bottom:17px}
.filters{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:6px}
.filters select{min-height:44px;width:100%;min-width:0;padding:6px 8px;border:1px solid var(--line);background:white;border-radius:7px;font-size:13px;color:var(--muted);display:flex;align-items:center;justify-content:space-between}
.listing{padding:10px 12px 12px;border:1px solid var(--line);border-radius:8px;background:white}
.listing h3{font-size:17px;line-height:1.35;font-weight:850}
.listing h3 a{display:flex;align-items:center;justify-content:space-between;gap:12px}
.listing h3 a .icon-tabler-chevron-right{color:var(--accent)}
.listing-meta{display:flex;align-items:center;gap:5px 12px;flex-wrap:wrap;margin-top:4px}
.listing-meta{font-size:14px;color:var(--muted)}
.listing-price{font-weight:750;color:var(--ink)}
.rating{white-space:nowrap;color:var(--ink);font-size:14px}
.rating .icon-tabler-star{color:#805719;width:14px;height:14px;vertical-align:-2px}
.rating span{color:var(--muted)}
.featured{border-color:#ddbaab;background:#fcf2ec;border-left:3px solid var(--accent)}
.ad{display:inline-block;background:#eed5c8;color:#792819;font-size:12px;font-weight:800;border-radius:4px;padding:2px 6px;margin-bottom:6px}
.ad.real{background:#e4eee6;color:#2f5a3c}
.owner-note{margin:0 0 8px;font-size:13px;color:var(--muted)}
.actions{display:flex;flex-wrap:wrap;gap:6px;align-items:stretch;margin-top:9px}
.actions :is(button,a){display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:44px;padding:6px 10px;border:1px solid #ddcfc3;border-radius:7px;background:white;font-size:13px;font-weight:750;white-space:nowrap;flex:1}
.actions .icon-tabler{width:16px;height:16px;flex:none}
.actions .icon-tabler-chevron-right{width:16px;height:16px}
.actions .phone{color:var(--accent);border-color:#dcc3b8}
.actions .detail{color:var(--ink)}
.actions .share{color:var(--muted);flex:0 0 auto}
.listing .actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(4.5rem,1fr));gap:6px}
.profile-title{margin-bottom:7px}
.profile-title .profile-price{color:var(--ink);font-size:16px;font-weight:800}
.profile-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 14px;margin-top:5px}
.profile-meta .profile-price{margin-top:0}
.profile-meta:empty{display:none}
.source{display:flex;flex-wrap:wrap;align-items:center;gap:5px 9px;margin-top:7px;font-size:13px;color:var(--muted)}
.source span:first-child{background:var(--tint);color:#762f24;padding:3px 6px;font-weight:750;border-radius:4px}
.profile-contact .actions{margin:11px 0 15px}
.profile-contact .actions :is(button,a){flex:1;min-height:44px}
.profile-contact .actions .phone{flex:1.65;background:var(--accent);color:white;border-color:var(--accent)}
.facts{min-width:0;background:#fff;border:1px solid var(--line);border-radius:8px;padding:12px}
.facts h2,.rents h2{margin-bottom:6px}
.facts dl>div,.rents dl>div{display:grid;gap:7px;grid-template-columns:100px 1fr;align-items:start;padding:7px 0;border-top:1px solid var(--line);font-size:14px}
.facts dl>div:first-child,.rents dl>div:first-child{border-top:0;padding-top:2px}
.facts dl>div:has(.online-links){align-items:center}
.facts dt,.rents dt{color:var(--muted);line-height:1.45}
.facts dd,.rents dd{font-weight:650;overflow-wrap:anywhere;line-height:1.45}
.rents dd{font-weight:750}
.fact-note{display:block;color:var(--muted);font-size:13px;font-weight:400}
.facts .online-links{display:flex;align-items:center;flex-wrap:wrap;gap:0 14px;margin-block:-7px}
.online-links .text-link{display:inline-flex;align-items:center;min-height:44px;font:inherit;font-weight:inherit}
.about p{font-size:16px}
.room{margin:12px 0;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:white}
.room img{width:100%;display:block;height:125px;object-fit:cover;object-position:50% 53%}
.room figcaption{color:var(--muted);font-size:12px;padding:4px 8px}
.rents dl>div{grid-template-columns:minmax(0,1fr) max-content}
.owner{margin:20px 0 13px;padding:10px 11px;background:var(--soft);border:1px solid var(--line);border-radius:8px}
.owner h2{font-size:14px;font-weight:800;margin-bottom:6px}
.owner-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.owner-actions a{display:flex;justify-content:center;align-items:center;text-align:center;min-height:44px;border:1px solid #e1c9be;background:white;color:var(--accent);border-radius:6px;font-size:13px;font-weight:750;padding:4px 6px}
.screen-footer{padding:9px 0;color:var(--muted);font-size:12px;border-top:1px solid var(--line);background:var(--paper)}

.mast-link,.menu summary{
 display:inline-flex;align-items:center;min-height:42px;border:1px solid var(--line);
 background:#fff;border-radius:7px;font-size:14px;font-weight:750;padding:0 9px;
}
.menu{position:relative}
.menu summary{cursor:pointer;list-style:none}
.menu summary::-webkit-details-marker{display:none}
.menu nav{position:absolute;z-index:2;inset-inline-end:0;top:calc(100% + 6px);width:13rem;display:grid;
 background:white;border:1px solid var(--line);border-radius:8px;padding:.25rem;box-shadow:0 7px 18px #4a322415}
.menu nav a{min-height:42px;padding:.5rem;display:flex;align-items:center;font-size:14px}
.menu nav a:hover{background:var(--tint)}
.search input{width:100%;min-width:0;border:0;background:transparent;padding:6px 5px 6px 0;font-size:16px;color:var(--ink)}
.search input:focus-visible{outline-offset:0}
.search input::placeholder{color:var(--muted);opacity:1}
.list-grid{display:grid;gap:7px}
.list-grid [data-listing]{min-width:0}
[data-empty]{margin:6px 0;padding:12px;background:var(--soft);border-radius:7px;color:var(--muted)}
.profile-content{display:grid;gap:8px;margin-top:12px}
.profile-content .room{margin:0}
.text-link{color:var(--accent);text-decoration:underline;text-underline-offset:2px;border:0;padding:0;background:none}
.foot-inner{display:flex;justify-content:space-between;gap:8px}
.owner-form{display:grid;gap:12px;padding:14px;border:1px solid var(--line);border-radius:9px;background:white}
.form-field{display:grid;gap:4px;min-width:0}
.form-field label span,.form-note{color:var(--muted);font-size:13px;font-weight:400}
.owner-form label{font-weight:750}
.owner-form input,.owner-form select,.owner-form textarea,dialog input{
 width:100%;min-height:44px;border:1px solid #cab9ad;border-radius:7px;padding:6px 9px;background:#fff;color:var(--ink)
}
.primary,.neutral{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:6px 12px;
 border:1px solid var(--accent);border-radius:7px;background:var(--accent);color:white;font-weight:750}
.neutral{border-color:var(--line);background:white;color:var(--ink)}
.owner-form .primary{width:100%}
.owner-form textarea{resize:vertical}
.form-business{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.form-business .text-link,.cancel-change{min-height:44px;font-size:14px;font-weight:650}
.form-business .text-link{flex:none}
.cancel-change{justify-self:start}
[data-form-result]:empty{margin-top:-12px}
[data-form-result]:not(:empty),#copy-status:not(:empty){color:var(--accent);font-weight:700}
.business-category{font-size:14px;color:var(--muted)}
.return-link{display:inline-flex;align-items:center;min-height:44px;color:var(--accent);text-decoration:underline;text-underline-offset:2px}
dialog{max-width:25rem;width:calc(100% - 28px);padding:18px;border:1px solid var(--line);border-radius:9px;color:var(--ink)}
dialog::backdrop{background:#21191585}
dialog p,dialog form,dialog input,dialog .primary{margin:6px 0}
.demo-destination{overflow-wrap:anywhere;padding:8px;border-radius:6px;background:var(--soft)}
.demo-map p{color:var(--muted);font-size:13px}
.map-drawing{display:grid;place-items:center;min-height:140px;border:1px solid #d8d9ca;border-radius:7px;background:
 linear-gradient(20deg,transparent 43%,#fff 44% 53%,transparent 54%),
 linear-gradient(106deg,transparent 49%,#fff 50% 58%,transparent 59%),
 linear-gradient(155deg,#e9eedf 45%,#ece8d9 46% 78%,#deeadb 79%)}
.map-drawing .icon-tabler-map-pin{width:30px;height:30px;color:var(--accent);fill:white}
#copy-link{gap:6px}
@media(max-width:350px){
 .actions :is(button,a){padding-inline:7px;gap:4px}
 .profile-contact .actions{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:4px}
 .profile-contact .actions:has(.phone):has(> :nth-child(3)){grid-template-columns:max-content minmax(0,1fr) minmax(0,1fr)}
 .profile-contact .actions :is(button,a){padding-inline:5px}
 .profile-contact .actions .icon-tabler{width:14px;height:14px}
 .facts:not(.rents) dl>div{grid-template-columns:76px minmax(0,1fr)}
}
@media(min-width:640px){
 .home-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:18px;margin-top:20px}
 .home-hero{margin-inline:0;border-radius:0 0 9px 9px;border-inline:1px solid var(--line)}
 .home-hero h1 br{display:none}
 .home-hero h1{max-width:34rem}
 .home-hero .search{max-width:34rem}
 .list-grid{grid-template-columns:1fr 1fr}
 .list-grid .featured{grid-column:1/-1}
 .profile-content{display:grid;grid-template-columns:1.1fr 1fr;align-items:start;gap:10px}
 .room img{height:163px}
 .owner-form{max-width:36rem}
}
