:root{--forest:#133f30;--deep:#0d2c23;--ink:#183129;--muted:#54665d;--lime:#d9ed9d;--paper:#f7f8f2;--line:#dce5d9;--white:#fff;--radius:17px}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Noto Sans Thai",Tahoma,sans-serif;font-size:15px;line-height:1.65}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}svg{width:21px;height:21px;display:inline-block;vertical-align:middle;flex:none}.shell{width:min(1220px,calc(100% - 72px));margin:auto}.header{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:2}.header-inner{min-height:78px;display:flex;gap:24px;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:11px;white-space:nowrap;font:800 21px "DM Sans",sans-serif;letter-spacing:-.65px}.brand b{color:#527849}.brand small{display:block;font:600 11px "Noto Sans Thai",sans-serif;letter-spacing:0;color:var(--muted);margin-top:3px}.brand-icon{display:grid;place-items:center;background:var(--forest);color:#e4f1b9;width:43px;height:43px;border-radius:12px}.brand-icon svg{width:26px;height:26px}.header nav{display:flex;gap:23px;align-items:center}.header nav a{font-weight:650;font-size:13px;white-space:nowrap;color:#42554b;padding:12px 0}.header nav a.active{color:#174c36;border-bottom:2px solid #6c965e}.button,.secondary{display:inline-flex;gap:8px;align-items:center;justify-content:center;padding:10px 17px;border-radius:9px;font-weight:750;border:1px solid transparent;min-height:43px;white-space:normal}.button{background:var(--forest);color:white}.button:hover{background:#20573f}.secondary{background:white;color:var(--forest);border-color:var(--line)}.secondary:hover{background:#edf3e7}.account{font-size:13px;white-space:nowrap}.menu-toggle{display:none}.hero{margin-top:27px;border-radius:23px;min-height:399px;display:flex;align-items:center;color:white;padding:48px 54px;background:linear-gradient(90deg,rgba(7,35,23,.96) 0%,rgba(11,46,30,.78) 38%,rgba(10,45,26,.06) 100%),url(assets/forest.jpg) center 58%/cover,var(--forest);overflow:hidden}.hero h1{font-size:clamp(36px,5.1vw,67px);letter-spacing:-.06em;line-height:1.12;margin:14px 0 12px;font-weight:800}.hero p{color:#edf6e8;margin:0 0 23px;font-size:clamp(14px,1.6vw,18px)}.eyebrow,.tag{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:750;border-radius:999px;padding:4px 10px;background:#e8f1dc;color:#305c37}.hero .eyebrow{background:#193e2e;color:#e6f3b9;border:1px solid #8ca780}.hero .button{background:var(--lime);color:var(--deep)}.hero .secondary{background:#173a2bd9;color:white;border-color:#a3b8a7}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:17px 0 34px}.shortcut{display:flex;align-items:center;gap:11px;background:white;border:1px solid var(--line);padding:13px;border-radius:13px;font-weight:750;min-width:0}.shortcut:hover,.card:hover{border-color:#8eab83}.shortcut span:first-child{color:var(--forest);background:#e9f0df;border-radius:10px;padding:8px;display:grid;place-items:center;flex:none}.shortcut small{display:block;color:var(--muted);font-weight:500}.shortcut .arrow{margin-left:auto;color:#527849}.section-title{display:flex;justify-content:space-between;gap:16px;align-items:end;margin:0 0 14px}.section-title h2,.page h1{margin:0;line-height:1.22;letter-spacing:-.04em}.section-title h2{font-size:29px}.section-title p,.page-intro{color:var(--muted);margin:5px 0 0}.text-link{font-weight:750;color:var(--forest)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.card,.panel{border:1px solid var(--line);background:white;border-radius:var(--radius);min-width:0}.card{overflow:hidden}.card img{display:block;height:156px;width:100%;object-fit:cover;background:#bbcfb5}.card-body,.panel{padding:19px}.card h3,.panel h2,.panel h3{margin:4px 0 7px;line-height:1.35}.card p,.panel p{margin:0 0 12px;color:var(--muted)}.price{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:10px;border-top:1px solid var(--line);font-weight:750}.price b{font-size:20px}.home-section{margin-bottom:38px}.page{padding:30px 0 48px;min-height:65vh}.page h1{font-size:clamp(30px,4vw,49px)}.page-head{margin:16px 0 22px}.crumb{font-size:13px;color:var(--muted)}.stack{display:grid;gap:14px}.detail{display:grid;grid-template-columns:minmax(0,1.16fr) minmax(0,1fr);gap:18px}.detail img{width:100%;max-height:370px;object-fit:cover;border-radius:var(--radius)}form{display:grid;gap:12px}label{display:grid;gap:4px;font-weight:650}label.check{display:flex;align-items:start;gap:8px}input,select,textarea{min-width:0;width:100%;padding:9px 11px;color:var(--ink);background:#fbfcf9;border:1px solid #bac9ba;border-radius:8px}input[type=checkbox]{width:auto;margin-top:7px}textarea{min-height:84px;resize:vertical}.inline{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.inline label{flex:1;min-width:min(180px,100%)}.notice{background:#edf4e7;border-radius:9px;padding:11px 14px;color:#335841}.notice.warn,.tag.warn{background:#fff0da;color:#784813}.notice.danger,.tag.danger{background:#fbe7e6;color:#962e2e}.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:13px 0}.facts div{padding:9px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.facts dt{font-size:12px;color:var(--muted)}.facts dd{margin:0;font-weight:700}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;min-width:450px}th,td{padding:10px;border-bottom:1px solid var(--line)}th{background:#edf3e9}.tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:15px}.tabs a[aria-current]{background:var(--forest);color:white}.metric{font-size:32px;font-weight:800;margin:0;color:var(--forest)}.map{min-height:250px;display:grid;place-items:center;background:repeating-linear-gradient(35deg,#dfedda 0 40px,#e9f2df 40px 80px);border-radius:12px;color:var(--forest);text-align:center}.map svg{width:48px;height:48px}.muted{color:var(--muted)}footer{background:#eaf0e5;padding:23px 0;color:#3e584b}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:13px}#toast{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);z-index:6;background:var(--deep);color:white;border-radius:10px;padding:10px 16px;max-width:calc(100% - 24px);width:max-content;box-shadow:0 6px 20px #0002}#toast:empty{display:none}
@media(max-width:1070px){.header-inner{gap:14px}.header nav{gap:12px}.shell{width:calc(100% - 44px)}.shortcut small{display:none}}
@media(max-width:850px){.menu-toggle{display:inline-flex;margin-left:auto}.header nav{display:none;position:absolute;top:100%;left:0;right:0;background:white;padding:12px 22px;border-bottom:1px solid var(--line);flex-wrap:wrap}.header nav.open{display:flex}.shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{padding:36px;min-height:340px}.shortcut small{display:block}}
@media(max-width:570px){.shell{width:calc(100% - 28px)}.header-inner{min-height:66px;gap:8px}.brand{font-size:16px;gap:7px}.brand-icon{width:33px;height:33px}.brand-icon svg{width:21px;height:21px}.brand small{font-size:9px}.account,.menu-toggle{font-size:11px;padding:5px 8px;min-height:35px}.account svg{display:none}.hero{margin-top:13px;padding:23px 17px;min-height:315px;border-radius:16px}.hero .actions .button,.hero .actions .secondary{font-size:12px;padding:7px 9px}.shortcuts{gap:7px;margin-bottom:25px}.shortcut{font-size:12px;gap:6px;padding:8px}.shortcut small,.shortcut .arrow{display:none}.shortcut span:first-child{padding:5px}.grid,.grid.two,.detail{grid-template-columns:1fr}.section-title h2{font-size:24px}.section-title .text-link{font-size:12px}.footer-inner{align-items:start;flex-direction:column;gap:6px}}
.label-codes{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:4px 0 12px}.qr{width:105px}.qr svg,.barcode svg{width:100%;height:auto}.barcode{width:155px}.detail .notice{margin-bottom:12px}
.header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.header-actions select{width:auto;max-width:110px;font-size:13px;padding:7px 6px;background:white}.header nav a{white-space:normal;text-align:center}.header nav{gap:14px}[dir=rtl] .shortcut .arrow{margin-left:0;margin-inline-start:auto}[dir=rtl] table{text-align:right}[dir=rtl] .hero{background-image:linear-gradient(270deg,rgba(7,35,23,.96) 0%,rgba(11,46,30,.78) 38%,rgba(10,45,26,.06) 100%),url(assets/forest.jpg)}[dir=rtl] .menu-toggle{margin-left:0;margin-inline-start:auto}
@media(max-width:1050px){.header nav{gap:9px}}
@media(max-width:950px){.menu-toggle{display:inline-flex;margin-inline-start:auto}.header nav{display:none;position:absolute;top:100%;left:0;right:0;background:white;padding:12px 22px;border-bottom:1px solid var(--line);flex-wrap:wrap}.header nav.open{display:flex}}
@media(max-width:570px){.header-inner{flex-wrap:wrap;row-gap:5px;padding-block:8px}.header-actions{gap:4px}.header-actions select{font-size:11px;max-width:78px;padding:4px 2px;min-height:35px}}
.product-photo-preview img{display:block;width:auto;max-width:min(100%,320px);max-height:200px;object-fit:contain;border-radius:10px}
.healing-leaves-photo{height:156px;display:grid;place-items:center;overflow:hidden;background:#f6f7ef}.healing-leaves-photo>span{height:100%;aspect-ratio:440/1375;overflow:hidden;position:relative}.healing-leaves-photo img{position:absolute;width:403%;max-width:none;height:auto;max-height:none;left:-159%;top:-73%;border-radius:0}.detail .healing-leaves-photo{height:330px;border-radius:var(--radius)}.product-photo-preview .healing-leaves-photo{height:165px;max-width:320px}.product-photo-preview .healing-leaves-photo img{width:403%;max-width:none;max-height:none}
.community-menu{display:grid;gap:12px;margin-bottom:20px}
.community-work-nav,.community-tools-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.community-work-nav a,.community-tools-nav a{min-height:48px;min-width:0;text-align:center;overflow-wrap:anywhere}
.community-menu a[aria-current=page]{background:var(--forest);border-color:var(--forest);color:white}
.community-tools{border:1px solid var(--line);border-radius:12px;background:white;padding:0 12px}
.community-tools summary,.community-filter summary{cursor:pointer;font-weight:750;min-height:46px;padding:10px 4px;color:var(--forest)}
.community-tools-nav{padding-bottom:12px}
.community-filter{padding-block:3px}
.community-filter form{padding:0 4px 12px}
.community-filter-fields{display:grid;grid-template-columns:minmax(0,1.3fr) repeat(2,minmax(0,1fr));gap:12px}
.community-filter-fields input{min-height:44px}
@media(max-width:570px){
  .community-work-nav a,.community-tools-nav a{padding:7px 5px;font-size:12px}
  .community-tools-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  .community-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .community-filter-fields label:first-child{grid-column:1/-1}
}

.work-table{table-layout:fixed;min-width:0;text-align:start}
.work-table th:nth-child(1){width:39%}.work-table th:nth-child(2){width:29%}
.work-table th,.work-table td{overflow-wrap:anywhere;vertical-align:top;text-align:start}
.work-table td strong,.work-table td small{display:block}
.work-order-number{display:block;color:var(--muted);font-size:.85em;margin-bottom:3px}
.work-table td .facts{grid-template-columns:minmax(0,1fr);gap:4px;margin:0}
.work-table td .facts div{padding:0;border:0}
.work-table td .secondary{margin-top:6px;min-height:44px;max-width:100%;padding:6px 9px}
.work-table-empty{color:var(--muted)}
@media(max-width:570px){
  .work-table th,.work-table td{padding:6px 4px;font-size:11px}
  .work-table td .facts dt,.work-table .tag{font-size:10px}
  .work-table .tag{padding:3px 5px;display:inline-block}
  .work-table td .secondary{width:100%;padding:5px 4px}
}
.community-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"heading" "navigation" "content";gap:14px}
.community-heading{grid-area:heading;margin:0;min-width:0}
.community-menu{grid-area:navigation;margin:0;align-self:start}
.community-menu-title{display:none}
.community-body{grid-area:content;min-width:0}
.community-menu a,.community-filter summary,.community-tools summary{touch-action:manipulation}
@media(max-width:570px){
  .community-shell{padding-top:20px}
  .community-heading h1{font-size:clamp(26px,8vw,34px)}
  .community-body .panel{padding-inline:12px}
}
@media(min-width:980px){
  .community-shell{width:calc(100% - clamp(44px,5vw,104px))}
  .community-layout{grid-template-columns:clamp(190px,17vw,248px) minmax(0,1fr);grid-template-areas:"navigation heading" "navigation content";gap:16px clamp(20px,3vw,40px)}
  .community-heading h1{font-size:clamp(32px,3.2vw,48px)}
  .community-menu{position:sticky;top:18px;max-height:calc(100vh - 36px);overflow:auto;padding:14px;border:1px solid var(--line);border-radius:var(--radius);background:white}
  .community-menu-title{display:block;margin:0 8px;font-weight:800}
  .community-work-nav,.community-tools-nav{grid-template-columns:minmax(0,1fr);gap:4px}
  .community-menu a{justify-content:start;text-align:start;min-height:44px;padding:8px 10px;border-color:transparent}
  .community-menu a[aria-current=page]{border-color:var(--forest)}
  .community-tools{padding:0;border:0;border-top:1px solid var(--line);border-radius:0}
  .community-tools summary{padding-inline:8px}
  .community-tools-nav{padding-bottom:0}
  .community-filter form{grid-template-columns:minmax(0,1fr) auto;align-items:end}
}
@media(min-width:1440px){
  .community-work-panels{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
}
.survey-toolbar{display:flex;gap:8px;flex-wrap:wrap}
.survey-layout{display:grid;gap:15px;align-items:start}
.survey-card{display:grid;grid-template-columns:108px minmax(0,1fr);gap:12px;border:1px solid var(--line);padding:12px;border-radius:12px;min-width:0}
.survey-card>img,.survey-no-photo{width:100%;height:108px;object-fit:cover;border-radius:8px;background:#eaf0e4}
.survey-no-photo{display:grid;place-items:center;color:var(--forest)}
.survey-no-photo svg{width:38px;height:38px}
.survey-card h3{margin:0;font-size:17px}
.survey-card p,.survey-card small{color:var(--muted);overflow-wrap:anywhere}
.survey-card .actions{gap:6px}
.survey-card .actions .secondary{min-height:42px;padding:5px 9px}
.survey-map{min-height:310px;position:relative;direction:ltr;border:1px solid var(--line);border-radius:12px;background:repeating-linear-gradient(0deg,transparent 0 29px,#cbdaca 30px 31px),repeating-linear-gradient(90deg,transparent 0 29px,#cbdaca 30px 31px),#edf4e8}
.survey-pin{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;width:42px;height:42px;color:white;background:var(--forest);border-radius:50%;box-shadow:0 0 0 3px white}
.survey-checks{display:flex;flex-wrap:wrap;gap:8px;border:1px solid var(--line);border-radius:8px;padding:10px;min-width:0}
.survey-checks legend{font-weight:700}
.survey-checks .check{padding:4px 8px;background:#edf4e7;border-radius:7px;min-height:34px}
.survey-photo-preview{display:flex;flex-wrap:wrap;gap:8px}
.survey-photo-preview img{width:120px;height:120px;object-fit:cover;border-radius:8px}
@media(min-width:1200px){.survey-layout{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}}
@media(max-width:570px){
  .survey-toolbar>*{flex:1}
  .survey-card{grid-template-columns:68px minmax(0,1fr);gap:8px}
  .survey-card>img,.survey-no-photo{height:76px}
  .survey-card .actions .secondary{min-height:40px;font-size:12px}
  .survey-map{min-height:240px}
}
