@font-face{font-family:Noto;src:url('assets/fonts/noto-sans-thai-variable.woff2') format('woff2');font-weight:100 900;font-display:swap}@font-face{font-family:Noto;src:url('assets/fonts/noto-sans-thai-latin-variable.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0000-024F}*{box-sizing:border-box}:root{--green:#173d2d;--leaf:#365b43;--ink:#253c30;--muted:#60715f;--line:#d4ddce;--paper:#f8f7f1;--gold:#b29b63}html{scroll-behavior:smooth;scroll-padding-top:105px}body{margin:0;font-family:Noto,Arial,sans-serif;font-size:15px;line-height:1.65;background:var(--paper);color:var(--ink)}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}a{color:inherit;text-underline-offset:4px}button{cursor:pointer;color:inherit}button:disabled{opacity:.43;cursor:not-allowed}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #8da66c;outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid #75965d;outline-offset:2px}.wrap{width:min(1240px,calc(100% - 72px));margin:auto}.preview-note{padding:7px 22px;background:#ece6d6;text-align:center;font-size:11px;letter-spacing:.055em;color:#685931}.skip{position:fixed;top:-90px;left:12px;background:#fff;padding:12px;z-index:10}.skip:focus{top:10px}header{background:#fffefa;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.header-inner{min-height:93px;display:flex;align-items:center;gap:32px}.header-inner img{width:190px;height:auto;display:block}header nav{display:flex;gap:30px;align-items:center;margin-left:auto;font-size:13px}header nav>a{text-decoration:none;padding:12px 0;white-space:nowrap}header nav>a[aria-current]{color:var(--green);border-bottom:2px solid var(--green)}.header-shortlist{display:flex;gap:9px;align-items:center}.count{display:inline-flex;align-items:center;justify-content:center;min-width:26px;min-height:26px;padding:2px 7px;border-radius:50%;background:#e3ebdc;font-size:12px;font-weight:700}.languages{display:flex;gap:2px;border-left:1px solid var(--line);padding-left:22px}.languages button{background:none;border:0;padding:8px;font-size:12px}.languages button[aria-pressed=true]{font-weight:700;background:#e8eedf}.hero{padding:67px 0 38px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:.17em;line-height:1.6;margin:0 0 19px;color:#586c50}h1,h2,h3,p{margin-top:0}h1{font-family:Georgia,serif;font-size:clamp(42px,5vw,66px);font-weight:400;line-height:1.08;letter-spacing:-.035em;color:var(--green);margin-bottom:23px}.hero-copy{max-width:710px;font-size:17px;line-height:1.85;margin-bottom:12px;color:#4c6152}.hero-caption{font-size:12px;color:#586c50;margin:0}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.section-heading a{font-size:12px;color:#536a53}.section-heading h2{margin:0}h2{font-family:Georgia,serif;font-size:29px;line-height:1.3;letter-spacing:-.025em;font-weight:400;color:var(--green)}.purpose-section{padding:5px 0 38px}.purpose-section h2{font-size:23px}/* Text-only labels overlay the lower edge of the garden drawing. */
.purpose-landscape{margin:22px 0 0;isolation:isolate}
.landscape-art{position:relative;overflow:hidden;aspect-ratio:2.2;background:var(--paper)}
.landscape-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top;mix-blend-mode:multiply}
.purpose-grid{position:absolute;inset:auto 2% 1%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:18px;margin:0}
.purpose-card{position:relative;display:flex;align-items:center;justify-content:center;justify-self:center;width:100%;min-height:52px;padding:8px 6px;text-align:center;background:none;color:var(--green);border:0;border-radius:0;box-shadow:none;transition:color .2s ease}
.purpose-card strong{font-family:Georgia,serif;font-size:clamp(18px,2vw,25px);font-weight:400;line-height:1.3;transform-origin:center;transition:transform .2s ease}
.purpose-card:hover strong,.purpose-card:focus-visible strong{transform:scale(1.06)}
.purpose-card:hover,.purpose-card:focus-visible{color:#718653}
.purpose-card:active,.purpose-card[aria-pressed=true]{color:#667e4b}
.purpose-index,.purpose-card>span,.purpose-card small{display:none}
.purpose-landscape figcaption{margin-top:12px;color:var(--muted);font-size:12px}
.purpose-note{font-size:11px;color:#586c50;margin:16px 0 0;max-width:880px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:50px;align-items:start;padding:20px 0 60px}.explorer{min-width:0}.explorer .section-heading{margin:0 0 27px}.explorer .eyebrow{margin-bottom:10px}.result-total{font-size:12px;white-space:nowrap;color:var(--muted)}.search-label{font-size:12px;display:block;margin-bottom:8px;color:#4f6653}.searchbox{display:flex;align-items:center;gap:10px;border:1px solid #bdcbb7;background:#fffefa;padding:0 15px;min-height:54px}.searchbox>span{font-family:Arial;font-size:27px;color:#71836c}.searchbox input{width:100%;min-width:0;border:0;background:none;outline:none;font-size:14px;padding:12px 0}.searchbox button{border:0;background:none;text-decoration:underline;font-size:12px;min-height:42px}.searchbox input:focus{outline:none}.searchbox:focus-within{outline:2px solid #75965d;outline-offset:2px}.filter-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:17px 0}.filter-bar>label{display:flex;align-items:center;gap:8px;font-size:11px}.filter-bar select{background:transparent;border:0;border-bottom:1px solid #b9c8b1;border-radius:0;min-height:36px;max-width:190px;font-size:12px;color:var(--green)}.farm-filter input{accent-color:var(--green);width:16px;height:16px}.category-hint{padding:11px 0 16px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted);margin-bottom:0;min-height:55px}.tree-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:23px 0;border-bottom:1px solid var(--line)}.tree-name{margin:0;font-family:Georgia,serif;font-size:24px;font-style:italic;font-weight:400;color:var(--green);line-height:1.35;overflow-wrap:anywhere}.tree-common{margin:4px 0 0;font-size:12px;color:var(--muted)}.tree-meta{margin:9px 0 0;display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:10px;line-height:1.5;color:#586c50}.tree-meta a{text-decoration:none;border-bottom:1px solid #b6c5ab}.tree-meta a:hover{color:var(--green)}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#6c8759;margin-right:5px}.dot.reference{background:#aa956b}.tree-add{flex:none;min-height:41px;min-width:83px;border:1px solid #8ca17d;background:transparent;font-size:12px;padding:9px 12px}.tree-add:hover{background:#e7edde}.tree-add[aria-pressed=true]{background:var(--green);color:#fff;border-color:var(--green)}.reference-legend{margin:24px 0;font-size:11px;color:#586c50}.reference-legend p{margin-bottom:6px}.reference-legend strong{font-weight:600;color:#4b634b}.reference-legend strong:after{content:' · '}.editorial{font-size:11px;color:#586c50;line-height:1.8}.editorial summary{cursor:pointer;color:#526b50}.editorial p{margin-top:10px}.empty-search{padding:33px 22px;background:#edf1e7}.empty-search h3{font-family:Georgia,serif;font-size:24px;font-weight:400;margin-bottom:10px}.empty-search p{font-size:13px}.empty-search button{border:0;background:transparent;text-decoration:underline;padding:5px 0}.shortlist{position:sticky;top:120px;max-height:calc(100vh - 145px);overflow-y:auto;background:#fffefa;border:1px solid #cbd7c0;scroll-margin-top:110px}.shortlist-top{background:#edf1e6;padding:25px 25px 18px}.shortlist-top .eyebrow{font-size:9px;margin-bottom:12px}.shortlist-top h2{font-size:28px}.shortlist-top p:last-child{font-size:12px;color:#586c50;margin:10px 0 0}.shortlist-empty{padding:27px 25px 24px}.empty-mark{font-family:Georgia;font-size:28px;line-height:1;color:#8b9f78;display:inline-block;margin-bottom:10px}.shortlist-empty h3{font-family:Georgia,serif;font-size:23px;font-weight:400;margin-bottom:8px}.shortlist-empty p{font-size:12px;color:#586c50;margin:0}.shortlist-item{margin:0 25px;display:flex;justify-content:space-between;align-items:start;gap:10px;padding:16px 0;border-bottom:1px solid var(--line)}.shortlist-item strong{font-family:Georgia,serif;font-style:italic;font-size:18px;font-weight:400;line-height:1.4;display:block}.shortlist-item small{color:#586c50;font-size:10px}.shortlist-item button{border:0;background:none;font-size:22px;color:#586c50;padding:0 2px;min-height:28px;min-width:28px}.shortlist-detail{padding:0 25px 23px}.shortlist-detail label{font-size:11px;display:block;margin:15px 0 7px;color:#4f654e}.shortlist-detail small{font-weight:400;color:#586c50}.shortlist-detail input,.shortlist-detail textarea{width:100%;font-size:12px;padding:9px 10px;background:#fffefa;border:1px solid #cdd6c5;border-radius:0;color:var(--ink);resize:vertical}.save-note{font-size:10px;color:#586c50;margin:12px 0 17px}.primary{display:block;background:var(--green);color:#fff;border:1px solid var(--green);min-height:45px;padding:11px 17px;font-size:12px;font-weight:600;text-decoration:none;text-align:center}.shortlist-detail .primary{width:100%}.shortlist-tools{display:flex;gap:15px;justify-content:space-between;margin-top:10px}.shortlist-tools button,.undo{border:0;padding:7px 0;min-height:36px;background:none;text-decoration:underline;text-underline-offset:4px;font-size:10px}.undo{color:#526b3f}.next-step{border-top:1px solid var(--line);padding:42px 0 55px}.next-step h2{font-size:38px;line-height:1.2;margin-bottom:18px}.next-step p:not(.eyebrow){max-width:650px;color:#6a7e68;font-size:14px}.next-step a{font-size:13px}.footer-inner{display:flex;gap:20px;justify-content:space-between;padding:24px 0;border-top:1px solid var(--line);font-size:11px;color:#586c50}.footer-inner p{margin:0}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);background:#153d2d;color:#fff;padding:12px 23px;font-size:12px;box-shadow:0 8px 30px #173d2d25;z-index:20}.toast:empty{display:none}dialog{border:1px solid #becbb4;background:var(--paper);color:var(--ink);width:min(620px,calc(100% - 32px));padding:27px;max-height:90vh}dialog::backdrop{background:#0d241bbb}.dialog-top{display:flex;justify-content:space-between;gap:20px;align-items:center}.dialog-top .eyebrow{margin-bottom:12px}.dialog-top button{background:none;border:0;font-size:25px;min-width:32px;min-height:36px}dialog h2{font-size:32px;margin:3px 0 14px}dialog p{font-size:13px;color:#63745c}dialog label{font-size:11px}dialog textarea{width:100%;font:12px/1.65 Noto,sans-serif;border:1px solid #c8d3bf;background:#fffefa;color:#324d39;padding:14px;resize:vertical;margin-top:8px}.dialog-actions{display:flex;gap:12px;margin:16px 0;align-items:center}.secondary{font-size:12px;text-decoration:none;border-bottom:1px solid #6d8460;padding:10px 0}.small{font-size:11px!important}#print-area{display:none}[hidden]{display:none!important}:lang(th) h1,:lang(th) h2,:lang(th) .purpose-card strong,:lang(th) .shortlist-empty h3{font-family:Noto,sans-serif;letter-spacing:-.02em}:lang(th) h1{font-size:clamp(36px,4.5vw,58px);line-height:1.3}:lang(th) h2{font-size:25px}:lang(th) .purpose-card strong{font-size:24px}
@media(max-width:1100px){.wrap{width:calc(100% - 48px)}.header-inner{gap:18px}.header-inner img{width:160px}header nav{gap:18px}.languages{padding-left:10px}.workspace{gap:28px;grid-template-columns:minmax(0,1fr) 310px}.tree-name{font-size:22px}}
@media(max-width:800px){.header-inner{flex-wrap:wrap;padding:14px 0;gap:12px}.header-inner img{width:148px}.languages{margin-left:auto;border:0}header nav{order:3;width:100%;justify-content:space-between;margin:0;gap:12px}header nav>a{padding:6px 0;font-size:12px}.header-shortlist .count{min-width:22px;min-height:22px;font-size:10px}.hero{padding:40px 0 30px}.hero-copy{font-size:15px}.hero .eyebrow{font-size:9px}.purpose-grid{gap:8px;left:1%;right:1%}.purpose-card{padding:6px 3px;min-height:48px}.purpose-card strong,:lang(th) .purpose-card strong{font-size:17px}.workspace{grid-template-columns:1fr;padding-top:0;gap:34px}.shortlist{position:static;max-height:none;overflow:visible;scroll-margin-top:150px}.shortlist-top,.shortlist-detail,.shortlist-empty{padding-left:22px;padding-right:22px}.shortlist-item{margin-inline:22px}.tree-name{font-size:23px}.tree-row{padding:21px 0}.footer-inner{flex-direction:column;gap:8px}.purpose-section .section-heading{align-items:start;flex-wrap:wrap}.purpose-note{font-size:11px}.next-step h2{font-size:32px}}
@media(max-width:420px){.wrap{width:calc(100% - 36px)}.preview-note{font-size:9px}.header-inner img{width:135px}header nav{gap:9px}header nav>a{font-size:11px}.languages button{font-size:11px;padding:7px}.hero-copy{font-size:14px}.purpose-grid{gap:5px;left:1.5%;right:1.5%;bottom:0}.purpose-card{padding:6px 1px;min-height:44px}.landscape-art{aspect-ratio:2}.purpose-card strong,:lang(th) .purpose-card strong{font-size:13px;line-height:1.25}.filter-bar{gap:10px}.farm-filter{width:100%}.tree-row{gap:12px}.tree-name{font-size:21px}.tree-add{min-width:74px;padding:8px;font-size:11px}.tree-meta{font-size:10px}.section-heading h2{font-size:27px}.purpose-section h2{font-size:22px}.hero h1{font-size:44px}.hero-caption{font-size:11px}.dialog-actions{flex-direction:column;align-items:stretch}.dialog-actions a{text-align:center}dialog{padding:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}.purpose-card:hover strong,.purpose-card:focus-visible strong{transform:none}}
@media print{body{background:#fff;color:#111}header,footer,main>*,.preview-note,.toast,dialog,.skip{display:none!important}main,#print-area{display:block!important}#print-area{padding:12mm;font:12pt/1.7 Noto,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere}#print-area h1{font-size:24pt;color:#173d2d} @page{size:A4;margin:16mm}}

.shortlist-top{position:sticky;top:0;z-index:1}@media(max-width:800px){.shortlist-top{position:static}}

.culture-section{padding-block:8px 34px}.culture-section h2{margin-bottom:16px}.culture-section>p:not(.eyebrow){max-width:900px;font-size:14px;color:#586c50;line-height:1.8}.culture-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.culture-buttons button{background:#fffefa;border:1px solid #8b9f78;padding:12px 16px;color:#173d2d;font:inherit;font-size:13px;min-height:44px}.culture-buttons button[aria-pressed=true]{background:#173d2d;color:#fff}.cultural-meaning{font-size:13px;color:#596347;line-height:1.8;max-width:64ch;margin:10px 0!important}.cultural-meaning strong{font-weight:500}.filter-bar{flex-wrap:wrap}.tree-row>div{min-width:0}.tree-name{overflow-wrap:anywhere}@media(max-width:420px){.culture-buttons{display:grid}.culture-buttons button{text-align:left}.cultural-meaning{font-size:12px}.filter-bar>label{max-width:100%}.filter-bar select{max-width:100%}}

/* A short cultural doorway sits beside the name list; the full guide has its own page. */
.workspace{grid-template-areas:"explore culture" "explore shortlist";grid-template-rows:auto 1fr;column-gap:50px;row-gap:22px}
.explorer{grid-area:explore}.shortlist{grid-area:shortlist;align-self:start}
.culture-teaser{grid-area:culture;align-self:start;padding:25px;background:#edf1e6;border-top:2px solid #9caf8c}
.culture-teaser .eyebrow{font-size:9px;letter-spacing:.13em;margin-bottom:13px}
.culture-teaser h2{font-size:29px;line-height:1.25;margin:0 0 13px}
.culture-teaser>p:not(.eyebrow){font-size:13px;line-height:1.8;color:#50644e;margin:0 0 18px}
.culture-teaser a{display:inline-block;font-size:13px;font-weight:600;text-decoration:none;border-bottom:1px solid #6d8460;padding:4px 0;transition:color .2s}
.culture-teaser a:hover{color:#718653}
.culture-teaser .culture-teaser-note{font-size:10px!important;margin:16px 0 0!important}
@media(max-width:1100px){.workspace{column-gap:28px}}
@media(max-width:800px){.workspace{grid-template-areas:"culture" "explore" "shortlist";grid-template-rows:auto;row-gap:30px}.culture-teaser{padding:23px}.culture-teaser h2{font-size:26px}}

.catalogue-freshness{display:flex;align-items:baseline;justify-content:space-between;gap:15px;margin:0 0 20px;color:var(--muted);font-size:11px}.catalogue-freshness p{margin:0}.catalogue-freshness button{background:none;border:0;padding:5px 0;min-height:36px;text-decoration:underline;text-underline-offset:3px;white-space:nowrap;font-size:11px}.name-review-note{font-size:10px;color:#796b49;margin:7px 0}.show-more-names{width:100%;min-height:46px;padding:12px;border:1px solid var(--line);background:transparent;margin:22px 0;font-size:13px}.show-more-names:hover{background:#edf1e6}@media(max-width:420px){.catalogue-freshness{align-items:start;gap:10px}.catalogue-freshness p{max-width:65%}}

/* Localized plant-name hierarchy; central names stay unchanged. */
.tree-name.thai-name,.shortlist-item strong.thai-name{font-family:Noto,sans-serif;font-style:normal}.scientific-name{font-family:Georgia,serif;font-style:italic}.tree-common.scientific-name{font-size:14px}.shortlist-item small.scientific-name{display:block;font-size:12px}

.purpose-section .purpose-toolbar{justify-content:flex-end}

.selection-references{padding:28px 0 35px;border-top:1px solid var(--line)}.selection-references h2{font-size:22px}.selection-references ul{font-size:12px;line-height:1.9;color:var(--muted);padding-left:18px}.reference-label{display:inline-flex;align-items:center;gap:7px}
