/* PTG browse-trees page (20261106-browse1). Uses the garden-editorial tokens. */
body.ptg-editorial[data-design] main.ptg-browse,.ptg-browse{display:block;max-width:1240px;width:auto;margin:0 auto;padding:0 20px 64px;background:none;color:inherit}
body.ptg-editorial[data-design] .ptg-browse>section{display:block;width:auto;max-width:none;margin:0;padding:0;grid-column:auto;min-height:0}
body.ptg-editorial[data-design] .ptg-browse>.browse-intro{padding:40px 0 18px;max-width:820px}
.ptg-browse .browse-intro{padding:40px 0 18px;max-width:820px}
.ptg-browse .browse-intro .eyebrow{font-size:13px;letter-spacing:.12em;font-weight:600;color:#527a45;margin:0 0 8px}
.ptg-browse .browse-intro h1{margin:0 0 12px;font-family:Georgia,serif;font-weight:400;font-size:clamp(32px,4.4vw,48px);line-height:1.15;color:#173f32}
.ptg-browse .browse-intro p{margin:0 0 8px;color:#5e6a61;font-size:17px;line-height:1.7}
.ptg-browse .browse-network{font-weight:600;color:#173f32}
.browse-controls{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:flex-end;padding:8px 0 12px}
.browse-filter{display:flex;flex-wrap:wrap;gap:8px}
.browse-filter button{min-height:44px;padding:0 16px;border-radius:999px;border:1px solid #b9c4b4;background:#fffefa;color:#173f32;font:inherit;font-weight:600;cursor:pointer}
.browse-filter button[aria-pressed="true"]{background:#173f32;border-color:#173f32;color:#fffefa}
.browse-search,.browse-stage{display:flex;flex-direction:column;gap:4px;font-size:14px;color:#26362d}
.browse-search{margin-left:auto}
.browse-search input,.browse-stage select{min-height:44px;padding:0 12px;border:1px solid #b9c4b4;border-radius:8px;font:inherit;background:#fffefa;min-width:220px}
.browse-count{margin:4px 0 14px;color:#5e6a61;font-size:15px}
.browse-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}
.browse-card{display:flex;flex-direction:column;background:#fffefa;border:1px solid #d7ded2;border-radius:12px;overflow:hidden}
.browse-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;background:#eef2e7}
.browse-body{display:flex;flex-direction:column;gap:4px;padding:16px;flex:1}
.browse-body p{margin:0}
.browse-source{align-self:flex-start;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.03em}
.browse-source.is-own{background:#e3f4e1;color:#1f5a2a}
.browse-source.is-network{background:#f4efe1;color:#6b5420}
.browse-name{margin:6px 0 0;font-size:20px;line-height:1.3;font-style:italic;color:#173f32;font-family:Georgia,serif;font-weight:400}
.browse-thai{color:#5e6a61;font-size:15px}
.browse-stage-line,.browse-size,.browse-qty{font-size:14px;color:#26362d}
.browse-checked{font-size:13px;color:#5e6a61}
.browse-actions{margin-top:auto;padding-top:12px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}
.browse-price{font-size:14px;color:#5e6a61}
.browse-btn{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;background:#173f32;color:#fffefa!important;font-weight:600;text-decoration:none!important}
.browse-btn:hover,.browse-btn:focus-visible{background:#102e25}
.browse-empty{margin:12px 0;padding:24px;border:1px dashed #8aa57c;border-radius:12px;color:#26362d;background:#fffefa}
.browse-more{margin-top:28px;padding:24px;border-radius:12px;background:#eef2e7}
.browse-more p{margin:0 0 12px}
.browse-more-actions{display:flex;flex-wrap:wrap;gap:12px;margin:0!important}
.ptg-browse .ptg-line-button{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:14px;background:#06803a;color:#fff!important;font-weight:600;text-decoration:none!important}
@media(max-width:700px){.browse-search{margin-left:0;width:100%}.browse-search input,.browse-stage select{min-width:0;width:100%}.browse-stage{width:100%}}
.browse-stage-line{display:flex;align-items:center;gap:8px}
.browse-stage-icon{flex:none;width:28px;height:27px;color:#173f32}
.browse-stage-line.stage-1 .browse-stage-icon{color:#6b5420}.browse-stage-line.stage-2 .browse-stage-icon{color:#8a6a1f}.browse-stage-line.stage-3 .browse-stage-icon{color:#527a45}.browse-stage-line.stage-4 .browse-stage-icon{color:#173f32}
.browse-stage-line b{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;margin-right:2px;border-radius:50%;background:#eef2e7;color:#173f32;font-size:12px}
.browse-legend{margin:8px 0 18px}
.browse-legend-box{padding:16px 18px;border:1px solid #d7ded2;border-radius:12px;background:#fffefa}
.browse-legend-box h2{margin:0 0 10px;font-size:15px;font-weight:700;color:#173f32;font-family:inherit}
.browse-legend-box ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}
.browse-legend-box button{width:100%;height:100%;display:flex;gap:10px;align-items:flex-start;text-align:left;padding:10px;border:1px solid transparent;border-radius:10px;background:#f6f8f2;color:#26362d;font:inherit;cursor:pointer}
.browse-legend-box button[aria-pressed="true"]{border-color:#173f32;background:#e3f4e1}
.browse-legend-box button:focus-visible{outline:3px solid #c6a14a;outline-offset:2px}
.browse-legend-icon{flex:none;width:36px;height:34px;color:#173f32}
.browse-legend-box .stage-1 .browse-legend-icon{color:#6b5420}.browse-legend-box .stage-2 .browse-legend-icon{color:#8a6a1f}.browse-legend-box .stage-3 .browse-legend-icon{color:#527a45}
.browse-legend-box span{display:flex;flex-direction:column;gap:2px}
.browse-legend-box strong{font-size:14px;color:#173f32}
.browse-legend-box small{font-size:12px;color:#5e6a61}
.browse-legend-box em{font-style:normal;font-size:13px;line-height:1.5;color:#26362d}
.browse-legend-hint{margin:10px 0 0;font-size:13px;color:#5e6a61}
/* Override the site's editorial heading and numbered-list styles inside the board. */
body.ptg-editorial[data-design] .ptg-browse .browse-legend-box h2{margin:0 0 10px;font-family:inherit;font-size:15px;line-height:1.4;font-weight:700;letter-spacing:0;color:#173f32}
body.ptg-editorial[data-design] .ptg-browse .browse-legend-box ol{counter-reset:none}
body.ptg-editorial[data-design] .ptg-browse .browse-legend-box ol>li{padding:0;margin:0;counter-increment:none}
body.ptg-editorial[data-design] .ptg-browse .browse-legend-box ol>li::before,body.ptg-editorial[data-design] .ptg-browse .browse-legend-box ol>li::marker{content:none;display:none}
body.ptg-editorial[data-design] .ptg-browse .browse-card h2.browse-name{margin:6px 0 0;font-family:Georgia,serif;font-size:21px;line-height:1.3;font-weight:400;letter-spacing:0}
body.ptg-editorial[data-design] .ptg-browse .browse-card .browse-body p{margin:0;line-height:1.55}
body.ptg-editorial[data-design] .ptg-browse .browse-card .browse-body{gap:6px}
.browse-src-icon{flex:none;width:18px;height:18px}
.browse-filter button{display:inline-flex;align-items:center;gap:8px}
.browse-filter button .browse-src-icon{width:20px;height:20px}
body.ptg-editorial[data-design] .ptg-browse .browse-source{display:inline-flex;align-items:center;gap:6px;line-height:1.35}
/* Compact stage legend (20:15): short chips, meanings on request. */
body.ptg-editorial[data-design] .ptg-browse .browse-legend-box{padding:12px 16px}
.browse-legend-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.browse-legend-title{font-size:14px;font-weight:700;color:#173f32}
body.ptg-editorial[data-design] .ptg-browse ol.browse-legend-chips{display:flex;flex-wrap:wrap;gap:8px;grid-template-columns:none}
body.ptg-editorial[data-design] .ptg-browse .browse-legend-chips button{width:auto;height:auto;align-items:center;gap:6px;min-height:40px;padding:4px 12px 4px 6px;border:1px solid #d7ded2;border-radius:999px;background:#f6f8f2;font-size:14px;font-weight:600;color:#173f32}
body.ptg-editorial[data-design] .ptg-browse .browse-legend-chips button[aria-pressed="true"]{border-color:#173f32;background:#e3f4e1}
body.ptg-editorial[data-design] .ptg-browse .browse-legend-chips span{display:inline;flex-direction:row}
.browse-legend-chips b{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;margin-right:3px;border-radius:50%;background:#fffefa;font-size:11px}
.browse-legend-chips .browse-legend-icon{width:28px;height:27px}
.browse-legend-more{margin-top:8px}
.browse-legend-more summary{display:inline-flex;align-items:center;gap:6px;min-height:36px;cursor:pointer;font-size:14px;font-weight:600;color:#527a45;text-decoration:underline;text-underline-offset:3px}
body.ptg-editorial[data-design] .ptg-browse ol.browse-legend-detail{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}
body.ptg-editorial[data-design] .ptg-browse ol.browse-legend-detail>li{display:flex;gap:10px;align-items:flex-start;padding:10px;border-radius:10px;background:#f6f8f2}
.browse-legend-detail div{display:flex;flex-direction:column;gap:2px}
.browse-legend-detail strong{font-size:14px;color:#173f32}
.browse-legend-detail small{font-size:12px;color:#5e6a61}
body.ptg-editorial[data-design] .ptg-browse .browse-legend-detail p{margin:0;font-size:13px;line-height:1.5;color:#26362d}
.browse-legend-detail .stage-1 .browse-legend-icon{color:#6b5420}.browse-legend-detail .stage-2 .browse-legend-icon{color:#8a6a1f}.browse-legend-detail .stage-3 .browse-legend-icon{color:#527a45}
body.ptg-editorial[data-design] .ptg-browse ol.browse-legend-detail>li::before{content:none;display:none}
/* Enquiry list (20:20) */
.browse-add{border:0;cursor:pointer;font:inherit;font-weight:600}
.browse-add.is-added{background:#e3f4e1!important;color:#1f5a2a!important;box-shadow:inset 0 0 0 2px #1f5a2a}
.browse-listbar{position:sticky;bottom:12px;z-index:20;margin-top:20px;background:#173f32;color:#fffefa;border-radius:14px;box-shadow:0 10px 30px rgba(16,46,37,.25)}
.browse-listbar-inner{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;padding:10px 12px}
.browse-listbar-toggle{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 10px;border:0;background:none;color:#fffefa;font:inherit;font-weight:600;cursor:pointer}
.browse-listbar-count{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;border-radius:50%;background:#c6a14a;color:#102e25;font-weight:700}
.browse-listbar .browse-send{background:#c6a14a;color:#102e25!important}
.browse-listpanel{padding:4px 14px 14px;background:#fffefa;color:#26362d;border-radius:0 0 14px 14px}
body.ptg-editorial[data-design] .ptg-browse .browse-listpanel ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;max-height:46vh;overflow:auto}
body.ptg-editorial[data-design] .ptg-browse .browse-listpanel ol>li::before{content:none;display:none}
.browse-listpanel li{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;padding:10px 0;border-bottom:1px solid #d7ded2}
.browse-listpanel li>div{flex:1 1 260px;display:flex;flex-direction:column}
.browse-listpanel li b{font-style:italic;font-family:Georgia,serif;font-weight:400;color:#173f32}
.browse-listpanel li small{color:#5e6a61;font-size:13px}
.browse-listpanel label{display:flex;flex-direction:column;font-size:13px;color:#5e6a61}
.browse-listpanel input{width:120px;min-height:40px;padding:0 10px;border:1px solid #b9c4b4;border-radius:8px;font:inherit}
.browse-remove{width:40px;height:40px;border:1px solid #d7ded2;border-radius:50%;background:#fffefa;color:#173f32;font-size:20px;cursor:pointer}
body.ptg-editorial[data-design] .ptg-browse .browse-listnote{margin:10px 0;font-size:14px;color:#5e6a61}
.browse-listactions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0}
.browse-clear{min-height:44px;padding:0 14px;border:0;background:none;color:#5e6a61;text-decoration:underline;font:inherit;cursor:pointer}
body.ptg-editorial[data-design] .ptg-browse .browse-listpanel ol>li{padding:8px 0;margin:0;min-height:0}
body.ptg-editorial[data-design] .ptg-browse .browse-listpanel li>div{gap:0}
/* Landing-page teaser (7 Nov): 8 trees inside the existing "Our trees" section */
body.ptg-editorial[data-design] .ptg-browse.ptg-browse-teaser{max-width:none;padding:0;margin:8px 0 0}
.browse-teaser-more{display:flex;justify-content:center;margin:24px 0 0}
.browse-teaser-more .browse-btn{min-height:48px;padding:0 26px}
/* Spacing fix (7 Nov): beat site-refinement.css "main > section" padding-block and buyer-extra.css "details" margin */
html body.ptg-editorial[data-design] .ptg-browse > section{padding-block:0}
html body.ptg-editorial[data-design] .ptg-browse > .browse-intro{padding:32px 0 8px}
html body.ptg-editorial[data-design] .ptg-browse .browse-legend-more{margin:6px 0 0}
html body.ptg-editorial[data-design] .ptg-browse .browse-legend-more:not([open]) summary{min-height:32px}
.browse-controls{padding:8px 0 4px}
.browse-legend{margin:8px 0 12px}
.browse-count{margin:4px 0 12px}
.browse-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html body.ptg-editorial[data-design] .ptg-browse .browse-controls{align-items:center}
html body.ptg-editorial[data-design] .ptg-browse .browse-search input{min-width:260px}
@media(max-width:700px){html body.ptg-editorial[data-design] .ptg-browse .browse-search input{min-width:0}}
/* /trees/ live board (7 Nov) */
html body.ptg-editorial[data-design] main > section.ptg-browse-trees{max-width:1240px;margin:0 auto;padding:40px 20px 24px}
.ptg-browse-trees .browse-head{margin:0 0 8px}
.ptg-browse-trees .browse-head .eyebrow{font-size:13px;letter-spacing:.12em;font-weight:600;color:#527a45;margin:0 0 6px}
html body.ptg-editorial[data-design] .ptg-browse-trees .browse-head h2{margin:0 0 6px;font-family:Georgia,serif;font-weight:400;font-size:clamp(28px,3.6vw,40px);line-height:1.2;color:#173f32}
.ptg-browse-trees .browse-network{margin:0;font-weight:600;color:#173f32}
/* Buyer-nursery note under the board on /trees/ (7 Nov) */
.browse-nursery-wrap{max-width:1240px;margin:0 auto 8px;padding:0 20px}
html body.ptg-editorial[data-design] .browse-nursery-wrap .buyer-nursery-entry{display:flex;flex-wrap:wrap;gap:12px 32px;align-items:center;justify-content:space-between;margin:0;padding:22px 24px;background:#eef2e7;border-left:4px solid #c6a14a;border-radius:0}
.browse-nursery-wrap .buyer-nursery-entry strong{display:block;color:#173f32;font-size:17px;margin-bottom:4px}
html body.ptg-editorial[data-design] .browse-nursery-wrap .buyer-nursery-entry p{margin:0;max-width:760px;color:#26362d}
.browse-nursery-wrap .buyer-nursery-entry a{color:#173f32;font-weight:600}

/* 7 Nov 2026: farm trees shown while live listings are empty */
.ptg-browse.is-fallback .browse-controls,.ptg-browse.is-fallback .browse-legend,.ptg-browse.is-fallback .browse-count{display:none}
.browse-fallback-note{margin:6px 0 16px;padding:12px 16px;border-left:3px solid var(--ge-gold,#c6a14a);background:var(--ge-wash,#eef2e7);font-size:14px;line-height:1.6}
.browse-fallback .browse-photo img{object-fit:cover}
.browse-fallback-ask{margin-top:18px}

/* 7 Nov 2026: smaller card buttons */
html body .browse-actions .browse-btn{min-height:38px;padding:0 15px;font-size:14px}
.browse-actions{gap:6px}

/* 7 Nov 2026: spec filters, specimen ref, CSV */
.browse-specs{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:flex-end;padding:0 0 12px}
.browse-spec{display:flex;flex-direction:column;gap:4px;font-size:13px;color:#26362d}
.browse-spec select{min-height:40px;padding:0 10px;border:1px solid #b9c4b4;border-radius:8px;font:inherit;font-size:14px;background:#fffefa;min-width:200px}
html body .browse-specs .browse-spec-reset{min-height:40px;padding:0 12px;border:0;background:none;color:#173f32;text-decoration:underline;font:inherit;font-size:14px;cursor:pointer}
.browse-ref{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:12.5px;color:#5e6a61;margin:4px 0 0}
.browse-ref code{font-family:ui-monospace,Menlo,monospace;font-size:12px;color:#26362d;background:#f1f4ee;border-radius:4px;padding:1px 5px;white-space:nowrap}
html body .browse-ref .browse-copy{min-height:28px;padding:0 10px;border:1px solid rgba(23,63,50,.3);border-radius:999px;background:#fffefa;color:#173f32;font:inherit;font-size:12px;cursor:pointer}
html body .browse-listactions .browse-csv{min-height:44px;padding:0 16px;border:1px solid #173f32;border-radius:999px;background:#fffefa;color:#173f32;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
@media(max-width:700px){.browse-spec{flex:1 1 45%}.browse-spec select{min-width:0;width:100%}}
.browse-specs[hidden]{display:none}
/* 7 Nov 2026: site tags */
.browse-tags{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0 0}
.browse-tag{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border-radius:999px;font-size:12px;font-weight:600;background:#eef3ec;color:#1f5a2a;border:1px solid rgba(31,90,42,.2)}
.browse-tag.tag-salt{background:#e8f1f6;color:#1d4f6b;border-color:rgba(29,79,107,.2)}
.browse-tag.tag-wind{background:#f3f1e8;color:#5c4f1d;border-color:rgba(92,79,29,.2)}

/* 8 Nov 2026 Thai name first on Thai pages */
.browse-name.browse-name-th{font-family:inherit;font-style:normal;font-weight:600;font-size:21px;line-height:1.35}
.browse-sci{margin:2px 0 0;font-family:Georgia,serif;font-style:italic;color:#5e6a61;font-size:15px;line-height:1.4}
