
:root{--coral:#E5533C;--coral-dark:#C8432E;--soft:#FBE9E5;--ink:#222;--muted:#6B6560;--line:#E6E1DC;--paper:#F7F5F3;--charcoal:#26282C;--tile-dark:#33363B}
*{box-sizing:border-box}
body{margin:0;background:#fff;color:var(--ink);font:400 18px/1.6 Anuphan,'Leelawadee UI',Tahoma,sans-serif}
a{color:inherit;text-decoration:none}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-family:'Bai Jamjuree',Anuphan,sans-serif;line-height:1.3}
.wrap{width:min(1120px,calc(100% - 32px));margin:auto}
.symbols{position:absolute;width:0;height:0;overflow:hidden}
/* ไอคอนสองโทนของโคเดก: p = สีหลัก s = สีรอง */
.p{fill:var(--coral);stroke:none}.s{fill:#F6A392;stroke:none}
.w{white-space:nowrap}
.hide-m{display:none}
/* กรอบคำพูดแบบการ์ตูน: นุ่ม มุมมน ไม่มีเส้นขอบ เงาบาง หางโค้ง */
.say{position:relative;display:inline-block;background:#fff;color:var(--ink);border-radius:22px;padding:9px 16px;font-weight:600;font-size:15.5px;line-height:1.4;filter:drop-shadow(0 4px 10px rgba(38,40,44,.13)) drop-shadow(0 1px 2px rgba(38,40,44,.08))}
.say .tail{position:absolute;display:block}
.say.down .tail{width:30px;height:20px;left:calc(50% - 8px);bottom:-17px}
.say.left .tail{width:20px;height:30px;left:-16px;top:50%;transform:translateY(-40%)}
.say.small{font-size:14.5px;font-weight:500;padding:6px 13px;border-radius:18px;filter:drop-shadow(0 3px 7px rgba(38,40,44,.11))}
.say.small.left .tail{width:16px;height:24px;left:-13px}
.say.big{font-size:17.5px;padding:12px 18px;border-radius:26px}
.land .say{background:#fff}
.mascot-col{display:flex;flex-direction:column;align-items:center;gap:12px;width:150px;justify-self:end}
.mascot-col .say{max-width:150px;text-align:center}
/* แถบหัว */
.top{border-bottom:1px solid var(--line);background:#fff}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:68px}
.brand{display:flex;align-items:center;gap:10px}
.brand img{width:40px;height:48px}
.brand b{font-family:'Bai Jamjuree',Anuphan,sans-serif;font-size:24px;display:block;line-height:1.1}
.brand small{font-size:13px;color:var(--muted)}
.district{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:6px 14px;border-radius:999px;background:var(--soft);color:var(--coral-dark);font-weight:600;font-size:16px;border:1px solid #F3C9BF}
.district svg{width:18px;height:18px}
/* หัวเรื่อง */
.hero{padding:26px 0 8px}
.hero h1{font-size:32px;letter-spacing:-.3px;overflow-wrap:anywhere}
.hero-row{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:10px;align-items:end;margin-top:8px}
.hero-row>div{min-width:0}
.hero p{color:var(--muted);font-size:17px}
.hero img{width:112px;height:140px}
.steps{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:12px;font-size:15px;color:var(--muted)}
.steps span{display:inline-flex;align-items:center;gap:7px}
.steps i{font-style:normal;width:22px;height:22px;border-radius:50%;background:var(--coral);color:#fff;font-size:13px;font-weight:700;display:inline-grid;place-items:center}
.search{display:flex;gap:8px;margin-top:18px}
.search input{flex:1;min-height:52px;border:1.5px solid var(--line);border-radius:12px;padding:10px 14px;font:inherit;font-size:17px}
.search button{width:52px;height:52px;border:0;border-radius:12px;background:var(--charcoal);color:#fff;display:grid;place-items:center}
/* กลุ่ม */
.group{padding:26px 0 6px}
.ghead{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.ghead img{width:44px;height:54px}
.ghead h2{font-size:24px}
.ghead p{font-size:15px;color:var(--muted);margin-top:2px}
.ghead .say{margin-top:4px}
.ghead>div{min-width:0}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tile{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 8px 12px;background:#fff;border:1px solid var(--line);border-radius:16px;text-align:center;min-height:112px}
.tile .ic{width:54px;height:54px;border-radius:50%;background:var(--soft);display:grid;place-items:center}
.tile .ic svg{width:30px;height:30px}
.tile .lb{font-size:15.5px;font-weight:600;line-height:1.3}
.tile:active{transform:translateY(1px)}
/* ที่ดิน บ้าน */
.land{margin:26px 0 0;background:var(--charcoal);color:#fff;border-radius:22px;padding:22px 18px}
.land .ghead h2{color:#FF8A75}
.land .ghead p{color:#C9C6C1}
.land h3{font-size:26px;margin-top:4px}
.land .stat{color:#C9C6C1;font-size:16px;margin:8px 0 14px}
.land .tile{background:var(--tile-dark);border-color:#3F434A;color:#fff}
.land .tile .ic{background:#3F434A}
.cta{display:flex;align-items:center;justify-content:center;min-height:54px;margin-top:14px;border-radius:12px;background:var(--coral);color:#fff;font-weight:700;font-size:18px}
/* ช่างแนะนำ */
.reco{padding:28px 0 8px}
.reco h2{font-size:24px}
.reco p.sub{color:var(--muted);font-size:15px;margin:2px 0 12px}
.cards{display:grid;gap:12px}
.card{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff}
.card .ic{width:52px;height:52px;border-radius:12px;background:var(--soft);display:grid;place-items:center}
.card .ic svg{width:30px;height:30px}
.card b{font-size:19px;display:block;line-height:1.3}
.card small{display:block;font-size:15px;color:var(--muted)}
.card .n{color:var(--coral-dark);font-weight:700;font-size:16px;display:block;margin-top:2px}
.card .arrow{color:var(--muted);font-size:22px}
/* ท้าย */
.foot{margin:28px 0 0;background:var(--paper);padding:22px 0 30px}
.foot .wrap{display:grid;grid-template-columns:84px minmax(0,1fr);gap:14px;align-items:center}
.foot img{width:84px;height:104px}
.foot h2{font-size:22px}
.foot p{font-size:15px;color:var(--muted);margin:4px 0 10px}
.ghost{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:8px 20px;border-radius:12px;border:2px solid var(--coral);color:var(--coral-dark);font-weight:700}
.trust{font-size:14px;color:var(--muted);margin-top:16px;grid-column:1/-1}
@media(min-width:1000px){
 .hero{padding:40px 0 10px}
 .hero h1{font-size:48px}
 .hero-row{grid-template-columns:minmax(0,1fr) 300px;gap:40px;margin-top:10px;align-items:center}
 .hero p{font-size:19px}
 .hero img{width:220px;height:275px}
 .mascot-col{width:300px;margin-top:-90px}
 .mascot-col .say{max-width:280px;font-size:18px;padding:12px 20px;border-radius:26px}
 .steps{font-size:16px;gap:10px 28px}
 .search{max-width:720px}
 .group{padding:34px 0 6px}
 .grid-9{grid-template-columns:repeat(9,minmax(0,1fr))}
 .grid-6{grid-template-columns:repeat(6,minmax(0,1fr))}
 .tile{min-height:122px}
 .land{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:32px;align-items:center;padding:30px}
 .land .grid-6{grid-template-columns:repeat(3,minmax(0,1fr))}
 .cards{grid-template-columns:1fr 1fr}
 .foot .wrap{grid-template-columns:104px 1fr auto;align-items:center}
 .foot img{width:104px;height:128px}
 .trust{grid-column:1/-1}
 .hide-m{display:inline}
}

/* เว็บจริง: คงหน้าตาต้นแบบ เพิ่มขนาดขั้นต่ำและการใช้งาน */
:root{--button:#C8432E;--water:#2F4A6B}html{scroll-behavior:smooth;scroll-padding-top:20px}button,input,select,textarea{font:inherit}button{cursor:pointer}button,a,input,select,textarea{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #26282C;outline-offset:4px}button:disabled{cursor:not-allowed}.skip{position:absolute;left:12px;top:-100px;background:white;color:#222;padding:12px;z-index:100}.skip:focus{top:8px}.notice{background:var(--soft);color:#663b32;padding:8px 16px;text-align:center;font-size:18px;line-height:1.5}.brand small,.district,.say,.say.small,.say.big,.hero p,.steps,.steps i,.search input,.ghead p,.tile .lb,.land .stat,.reco p.sub,.card small,.card .n,.foot p,.trust,.sample,.resident,.tag,.foot-links{font-size:18px}.mascot-col .say{font-size:18px}.steps i{background:var(--button);width:28px;height:28px;flex:none}.district{min-height:48px;font-family:inherit;cursor:pointer}.search input{min-width:0;width:100%}.search button{cursor:pointer}.cta{background:var(--button)}.cta:hover,.btn:hover{background:#A83524}.tile:hover{border-color:var(--coral);background:#fffaf8}.tile .w{white-space:normal}.tile .lb{overflow-wrap:anywhere}.tile .ic svg{flex:none}.land .tile:hover{background:#41454c}.brand{min-height:48px}.foot-links{display:flex;flex-wrap:wrap;gap:0 22px;grid-column:1/-1}.foot-links a{display:inline-flex;align-items:center;min-height:48px;text-decoration:underline;text-underline-offset:4px}.trust{margin-top:0}.sample{display:inline-block;border:1px solid var(--line);border-radius:7px;padding:0 7px;background:var(--paper);font-weight:400;color:var(--muted);white-space:nowrap}.crumbs{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--muted);margin-top:18px}.crumbs a{min-height:48px;display:inline-flex;align-items:center;text-decoration:underline}.page{padding-bottom:22px}.page-intro{padding:18px 0 25px;display:flex;gap:24px;align-items:center;justify-content:space-between}.page-intro h1{font-size:32px;margin-bottom:10px;overflow-wrap:anywhere}.page-intro p{color:var(--muted)}.page-guide{display:flex;flex-direction:column;align-items:center;width:140px;flex:none;gap:14px}.page-guide img{width:100px;height:125px;object-fit:contain}.page-guide .say{max-width:165px;text-align:center}.section{margin:26px 0}.section h2{font-size:26px;margin-bottom:10px}.section h3{font-size:22px}.section-note,.muted{color:var(--muted)}.tier-label{display:flex;align-items:center;gap:10px}.tier-label i{display:grid;place-items:center;border-radius:50%;width:36px;height:36px;color:white;background:var(--button);font-style:normal;flex:none}.pro-grid{display:grid;gap:18px;margin-top:18px}.pro-card{border:1px solid var(--line);border-radius:20px;padding:22px;background:#fff;min-width:0}.pro-card h2,.pro-card h3{font-size:24px;line-height:1.4}.place{color:var(--muted);margin-top:8px}.near{display:inline-block;border-radius:7px;background:var(--soft);color:#853c30;padding:0 7px}.availability{margin-top:12px;padding:8px 12px;background:var(--soft);border-radius:9px;color:#853c30;font-weight:700}.availability.wait{background:var(--paper);color:var(--ink)}.cost{font-weight:600;margin-top:12px}.count{font-weight:700;color:var(--coral-dark);margin-top:16px}.pro-card blockquote,.neighbor blockquote,.area-report blockquote{margin:14px 0 10px;padding-left:14px;border-left:3px solid var(--coral);font-size:20px}.resident{color:var(--muted)}.verified{color:#55504c;margin-top:3px}.tag{background:var(--paper);color:var(--ink);display:inline-block;border-radius:7px;padding:3px 8px;margin-bottom:12px}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:50px;border:1px solid var(--button);border-radius:11px;background:var(--button);color:#fff;font-weight:700;padding:10px 18px;text-align:center;line-height:1.5}.btn.secondary{color:var(--coral-dark);background:#fff;border-color:var(--coral-dark)}.btn.secondary:hover{background:var(--soft)}.actions>*{flex:1;min-width:100px}.actions .nav-btn{flex-basis:100%}.text-link{min-height:48px;display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:4px;color:var(--coral-dark);font-weight:600}.self-section{margin-top:28px;border-top:2px solid var(--line);padding-top:22px}.self-list{border:1px solid var(--line);border-radius:15px;overflow:hidden;margin-top:16px}.self-row{background:var(--paper);padding:18px;display:grid;gap:10px}.self-row+.self-row{border-top:1px solid var(--line)}.self-row h3{font-size:22px}.self-row .actions{margin-top:3px}.care,.medical-note{padding:16px 18px;border-radius:12px;background:var(--paper);margin-top:20px}.medical-note{background:var(--soft);border:1px solid #efc0b5}.ask-box{padding:22px;background:var(--paper);border:1px solid var(--line);border-radius:18px;margin-top:22px}.ask-box h2{font-size:24px}.field{display:flex;flex-direction:column;gap:8px;margin:18px 0;font-weight:600}.field input,.field select,.field textarea,select.selector{width:100%;max-width:100%;min-height:50px;background:white;border:1px solid #9d958d;border-radius:10px;padding:11px 13px;color:#222;line-height:1.6}.field textarea{resize:vertical;min-height:120px}.form-panel{max-width:760px;padding:22px;border:1px solid var(--line);border-radius:20px}.form-panel fieldset{border:1px solid var(--line);border-radius:12px;margin:20px 0;padding:15px}.form-panel legend{font-weight:600;padding:0 8px}.choice-set{display:flex;flex-wrap:wrap;gap:8px}.choice-set label,.check{display:flex;align-items:center;gap:10px;min-height:48px;border:1px solid var(--line);padding:8px 12px;border-radius:10px;cursor:pointer}.choice-set input,.check input{accent-color:var(--button);width:22px;height:22px;flex:none}.check{margin:20px 0}.form-message{padding:18px;background:var(--soft);border-radius:12px;margin-top:18px}.form-message:empty{display:none}input[type=file]{overflow:hidden}.facts{margin:14px 0 0}.facts div{border-top:1px solid var(--line);padding:12px 0}.facts dt{font-weight:600}.facts dd{margin:4px 0 0;color:var(--muted)}.profile-layout{display:grid;gap:24px}.neighbor{padding:20px 0;border-bottom:1px solid var(--line)}.neighbor time{display:block;color:var(--muted);margin-top:10px}.sticky-contact{position:sticky;bottom:0;background:#fff;padding:10px 16px;border-top:1px solid var(--line);z-index:10;box-shadow:0 -3px 12px #26282c0d}.sticky-contact .actions{max-width:760px;margin:0 auto}.area-grid{display:grid;gap:18px;margin-top:18px}.area-report{padding:22px;border:1px solid var(--line);border-radius:18px;min-width:0}.area-report h3{font-size:23px}.flood{display:flex;gap:16px;align-items:center;padding:18px 0}.person{width:72px;height:125px;flex:none;color:#26282C}.flood h3{font-size:26px}.flood .measure{margin-top:8px;color:var(--muted)}.flood.dry{background:#F7F5F3;border-radius:12px;padding:14px}.flood.unknown{border:2px dashed #aaa099;border-radius:12px;padding:14px}.qa{padding:18px 0;border-top:1px solid var(--line)}.qa h3{margin-bottom:8px}details.area-share{border:1px solid var(--line);border-radius:14px;padding:14px 18px;margin-top:24px}summary{cursor:pointer;min-height:48px;align-content:center;font-weight:600}.empty-state{text-align:center;padding:20px 0 45px;max-width:760px;margin:auto}.empty-state>img{width:170px;height:210px;object-fit:contain}.empty-state h1{font-size:32px;margin:18px 0 12px}.empty-state .actions{justify-content:center}.empty-state .actions>*{flex:initial}.about-copy{max-width:800px}.about-copy p,.about-copy li{margin:12px 0}.about-copy ul,.about-copy ol{padding-left:28px}.about-copy h2{margin-top:28px}dialog{max-width:min(620px,calc(100% - 32px));padding:25px;border:1px solid var(--line);border-radius:20px;color:#222}dialog::backdrop{background:#26282c80}dialog h2{font-size:26px;margin-bottom:12px}dialog .actions{justify-content:end}dialog button{min-height:48px}dialog p+p{margin-top:12px}.contact-value{font-weight:700;overflow-wrap:anywhere}dialog select{margin-top:15px}noscript p{padding:16px;background:var(--soft)}[hidden]{display:none!important}
@media(max-width:599px){.page-guide{width:86px}.page-guide img{width:75px;height:94px}.page-guide .say{display:none}.page-intro{gap:12px}.form-panel{padding:18px}.pro-card{padding:18px}.page-intro h1{font-size:30px}.tile .lb{word-break:normal}.foot .say{overflow-wrap:anywhere}.hero-row{grid-template-columns:minmax(0,1fr) 130px}.mascot-col{width:130px}.mascot-col .say{max-width:130px}}
@media(min-width:1000px){.pro-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-layout{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:36px}.sticky-contact{display:none}.area-grid{grid-template-columns:1fr 1fr}.page-intro h1{font-size:42px}.self-row{grid-template-columns:minmax(0,1fr) 320px;align-items:center;gap:25px}.self-row .actions{margin:0}.page-guide{width:190px}.page-guide img{width:125px;height:156px}.land .tile .lb{font-size:18px}.foot .wrap{grid-template-columns:104px minmax(0,1fr)}.hero p,.steps,.ghead p,.card small,.card .n,.reco p.sub{font-size:18px}}
.district{color:#A83524}
.ghost,.text-link{color:#B23A29}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* ฟอร์มบอกต่อจริง (site/recommend/) */
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.who-box{border:1px solid var(--line);border-radius:14px;padding:18px;margin:4px 0 22px;background:var(--paper)}
.who-box h2{font-size:24px;margin-bottom:6px}
.who-box .field{margin:14px 0}
.who-box .field:last-child{margin-bottom:0}
.line-btn{background:#06C755;border-color:#06C755;width:100%;margin-top:14px;font-size:19px}
.line-btn:hover{background:#05A847}
.small-note{font-size:16px;margin-top:10px}
button.text-link{background:none;border:0;padding:0;cursor:pointer;margin-top:4px}
.line-status{margin-top:12px;padding:12px 14px;background:#fff;border:1px solid var(--line);border-radius:10px;display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center}
.line-status .acts{flex-basis:100%}
.line-status button{background:none;border:0;padding:0 2px;min-height:44px;color:var(--coral-dark);font-weight:600;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.choice-head{font-weight:600;color:var(--muted);margin:14px 0 8px}
.choice-head:first-child{margin-top:0}
.field-error{display:block;color:#A83524;font-weight:600;margin-top:6px;font-size:17px}
.invalid input,.invalid select,.invalid textarea{border:2px solid #A83524}
fieldset.invalid{border-color:#A83524}
.form-message.error{background:#FDECEA;border:1px solid #F1B6AD}
