@charset "UTF-8";
.collection h1 {
  font-size:clamp(2.1rem,4vw,2.7rem);
  line-height:1.15;
}
.home-intro {
  max-width:900px;
  margin:0 auto;
  padding:55px 0 35px;
  text-align:center;
}
.home-intro .eyebrow {
  margin-bottom:20px;
}
.home-intro h1 {
  font-size:clamp(2.5rem,4.8vw,4.1rem);
  line-height:1.12;
}
.home-intro>p:last-child {
  max-width:620px;
  margin:22px auto 0;
  color:var(--muted);
  font-size:15px;
  line-height:1.8;
}
.home-paths {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  padding-bottom:16px;
}
.path-card {
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:10px;
  min-width:0;
}

.path-photo {
  aspect-ratio:3/2;
  background:var(--sage);
}
.path-photo img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.path-photo .image-error {
  min-height:100%;
}
.path-content {
  display:flex;
  flex-direction:column;
  flex:1;
  padding:28px 32px 30px;
}
.home-photo-note {
  font-size:12px;
  line-height:1.7;
  color:var(--muted);
  margin:0 0 36px;
}

.path-top {
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:20px;
}
.path-card h2 {
  font-size:32px;
  margin-bottom:14px;
}
.path-content>p {
  color:var(--muted);
  font-size:14px;
  line-height:1.8;
}
.path-card ul {
  list-style:none;
  margin:20px 0 26px;
  padding:0;
  font-size:13px;
  line-height:1.6;
}
.path-card li {
  padding-left:17px;
  position:relative;
  margin:8px 0;
}
.path-card li:before {
  content:'·';
  position:absolute;
  left:0;
  font-size:20px;
  line-height:1;
  color:#849573;
}
.path-card .button {
  align-self:flex-start;
  margin-top:auto;
  font-size:13px;
}
.path-card-green {
  background:var(--green);
  border-color:var(--green);
  color:var(--surface);
}
.path-card-green .eyebrow,
.path-card-green .path-content>p {
  color:#d4dfc8;
}
.path-card-green li:before {
  color:var(--lime);
}
.home-method {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:64px;
  padding:42px 0;
  border-top:1px solid var(--line);
  align-items:center;
}
.method-copy>.eyebrow {
  margin-bottom:13px;
}
.method-copy h2 {
  font-size:30px;
  max-width:440px;
}
.method-steps {
  list-style:none;
  margin:24px 0 0;
  padding:0;
}
.method-steps li {
  display:flex;
  gap:14px;
  margin:20px 0;
}
.method-steps li:last-child {
  margin-bottom:0;
}
.method-steps li>span {
  display:flex;
  align-items:center;
  justify-content:center;
  width:29px;
  height:29px;
  flex:none;
  border:1px solid #bbc8ae;
  border-radius:50%;
  font-size:12px;
  color:#617450;
}
.method-steps h3 {
  font-family:var(--sans);
  font-size:14px;
  font-weight:550;
  margin-bottom:4px;
}
.method-steps p {
  font-size:13px;
  line-height:1.75;
  color:var(--muted);
  max-width:395px;
}
.home-example {
  padding:30px;
  border-radius:9px;
  background:var(--sage);
  border:1px solid #d1dbc5;
  min-width:0;
}
.home-example h3 {
  font-family:var(--serif);
  font-size:30px;
  line-height:1.18;
  letter-spacing:-.02em;
  margin:15px 0 24px;
}
.example-features {
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  align-items:center;
}
.example-features>span {
  font-size:12px;
  background:var(--surface);
  padding:7px 10px;
  border:1px solid #c1cfb3;
  border-radius:5px;
}
.example-features b {
  font-size:14px;
  font-weight:400;
  color:var(--muted);
}
.example-result {
  display:flex;
  gap:14px;
  padding:20px 0 25px;
}
.example-arrow {
  font-size:28px;
  color:#7c9269;
  line-height:1;
}
.example-result strong {
  font-size:15px;
  font-weight:550;
  display:block;
}
.example-result p>span {
  display:block;
  font-size:13px;
  margin-top:5px;
  color:var(--muted);
}
.home-example>.text-link {
  font-size:12px;
  min-height:44px;
  align-items:center;
  max-width:100%;
}
.home-data-note {
  display:grid;
  grid-template-columns:260px 1fr;
  gap:30px;
  padding:25px 0 36px;
  border-top:1px solid var(--line);
}
.home-data-note h2 {
  font-size:24px;
}
.home-data-note p {
  font-size:13px;
  color:var(--muted);
  line-height:1.8;
  max-width:760px;
}
@media(max-width:800px) {
  .path-content {
    padding:25px;
  }
  .path-card h2 {
    font-size:28px;
  }
  .path-top {
    gap:11px;
  }
  .path-top .eyebrow {
    font-size:9px;
  }
  .home-method {
    gap:28px;
    grid-template-columns:1fr 1fr;
  }
  .home-example {
    padding:25px;
  }
  .home-data-note {
    grid-template-columns:210px 1fr;
  }
}
@media(max-width:600px) {
  .home-intro {
    padding:32px 0 26px;
  }
  .home-intro h1 {
    font-size:36px;
    line-height:1.14;
  }
  .home-intro .eyebrow {
    margin-bottom:18px;
  }
  .home-intro>p:last-child {
    font-size:15px;
    line-height:1.7;
    margin-top:19px;
  }
  .home-paths {
    grid-template-columns:minmax(0,1fr);
    gap:18px;
    padding-bottom:14px;
  }
  .path-content {
    padding:24px 21px;
  }
  .path-top {
    gap:12px;
    margin-bottom:17px;
  }
  .path-top .eyebrow {
    font-size:10px;
    letter-spacing:.12em;
  }
  .path-card h2 {
    font-size:29px;
    line-height:1.2;
  }
  .path-content>p,
  .path-card ul {
    font-size:14px;
    line-height:1.75;
  }
  .path-card ul {
    margin:15px 0 21px;
  }
  .path-card .button {
    width:100%;
    font-size:14px;
    gap:12px;
  }
  .home-method {
    grid-template-columns:minmax(0,1fr);
    gap:25px;
    padding:29px 0;
  }
  .method-copy h2 {
    font-size:30px;
  }
  .method-steps h3 {
    font-size:15px;
  }
  .method-steps p {
    font-size:14px;
  }
  .home-example {
    padding:24px 21px;
  }
  .home-example h3 {
    font-size:29px;
  }
  .example-features>span,
  .example-result p>span,
  .home-example>.text-link {
    font-size:13px;
  }
  .home-data-note {
    grid-template-columns:minmax(0,1fr);
    gap:14px;
    padding:25px 0 32px;
  }
  .home-data-note p {
    font-size:14px;
  }
  /* Keep all three destinations on one line, right aligned, with 44px targets. */
  .site-header nav {
    gap:3px;
  }
  .site-header nav a {
    padding-inline:9px;
  }
  .site-header nav a>span {
    display:none;
  }
}
.mobile-filter-toggle {
  display:none
}
@media (max-width:600px) {
  .search-grid:has(.tree-card:only-child), #atlas-results:has(.tree-card:only-child) {
    grid-template-columns:minmax(0,1fr);
  }
}
.detail-layout>* {
  min-width:0
}
.detail-jump {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:-9px 0 27px
}
.detail-jump a {
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:9px 18px;
  border:1px solid var(--line);
  border-radius:5px;
  background:var(--surface);
  font-size:13px
}
.detail-jump a:hover {
  background:var(--sage)
}
#gallery-heading,#botany-heading,#features-heading {
  scroll-margin-top:22px
}
.feature-result-link {
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:17px 20px;
  background:#193c32;
  color:#fffef9;
  font-size:12px;
  font-weight:550
}
.feature-result-link:hover {
  background:#2b5143
}
#search-result-heading {
  scroll-margin-top:24px
}
:root {
  --ink:#23362e;
  --green:#193c32;
  --muted:#647066;
  --paper:#f6f5ee;
  --surface:#fffef9;
  --line:#dcdfd4;
  --sage:#e6ebdc;
  --lime:#dbe8b1;
  --serif:Georgia,'Times New Roman',serif;
  --sans:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-family:var(--sans);
  color:var(--ink);
  background:var(--paper);
  font-synthesis:none;
  font-size:15px;
  line-height:1.6
}
* {
  box-sizing:border-box
}
body {
  margin:0
}
a {
  color:inherit;
  text-decoration:none
}
button,input,select {
  font:inherit;
  color:inherit
}
button,select {
  cursor:pointer
}
button {
  border:0
}
input,select {
  min-width:0
}
button:disabled {
  cursor:default;
  opacity:.45
}
button,a,input,select,summary {
  -webkit-tap-highlight-color:transparent
}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible {
  outline:3px solid #71915f;
  outline-offset:4px
}
input,select,button {
  border-radius:6px
}
button[hidden] {
  display:none
}
img {
  max-width:100%;
  display:block
}
h1,h2,h3,p {
  margin:0
}
h1,h2,h3 {
  font-weight:400
}
h1,h2 {
  font-family:var(--serif)
}
h1 {
  font-size:clamp(2.8rem,4.8vw,4.7rem);
  line-height:1.09;
  letter-spacing:-.045em
}
h1 em {
  font-weight:400;
  color:#687754
}
h2 {
  font-size:2.05rem;
  line-height:1.2;
  letter-spacing:-.025em
}
h3 {
  font-size:1.2rem
}
p {
  overflow-wrap:break-word
}
svg {
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.5
}
::selection {
  background:var(--lime)
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.skip-link {
  position:fixed;
  left:16px;
  top:-100px;
  background:var(--green);
  color:white;
  z-index:20;
  padding:12px
}
.skip-link:focus {
  top:12px
}
main:focus {
  outline:none
}
.site-header {
  max-width:1440px;
  margin:auto;
  padding:27px 5%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  border-bottom:1px solid var(--line)
}
.brand {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:17px;
  font-weight:650;
  letter-spacing:.15em;
  line-height:1.2
}
.brand small {
  display:block;
  font-size:10px;
  font-weight:400;
  letter-spacing:.035em;
  margin-top:7px;
  color:var(--muted)
}
.brand img {
  width:44px;
  height:44px
}
.site-header nav {
  display:flex;
  margin-left:auto;
  align-items:center;
  gap:6px;
  padding:5px;
  border:1px solid var(--line);
  border-radius:9px
}
.site-header nav a {
  font-size:13px;
  padding:9px 18px;
  border-radius:5px;
  font-weight:550;
  white-space:nowrap
}
.site-header nav a[aria-current=page] {
  background:var(--green);
  color:#fff
}
.site-header nav a:not([aria-current]):hover {
  background:var(--sage)
}
.site-header nav span {
  padding-left:10px
}
main {
  max-width:1288px;
  margin:auto;
  padding:0 36px
}
.eyebrow {
  font-size:10px;
  font-weight:650;
  letter-spacing:.18em;
  line-height:1.5;
  color:var(--muted);
  text-transform:uppercase
}
.eyebrow>span {
  display:inline-block;
  vertical-align:middle;
  width:19px;
  height:1px;
  background:currentColor;
  margin-right:8px
}
.lead {
  font-size:15px;
  color:var(--muted);
  line-height:1.8;
  max-width:470px
}
.text-link {
  font-size:12px;
  font-weight:550;
  border-bottom:1px solid #abb8a5;
  padding-bottom:6px;
  display:inline-flex;
  gap:25px
}
.text-link:hover {
  color:#577145
}

.collection {
  padding:40px 0 55px;
  border-top:0
}
.section-top {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:27px
}
.section-top .eyebrow {
  margin-bottom:8px
}
.section-top>p {
  font-size:12px;
  color:var(--muted);
  text-align:right
}
.atlas-toolbar {
  display:flex;
  gap:16px;
  align-items:stretch
}
.search-field {
  display:flex;
  gap:12px;
  align-items:center;
  background:var(--surface);
  border:1px solid var(--line);
  padding:0 15px;
  border-radius:7px;
  min-width:0;
  min-height:50px
}
.search-field svg {
  flex:none;
  color:#72816a;
  width:20px;
  height:20px
}
.search-field input {
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  padding:13px 0;
  font-size:13px;
  border-radius:0
}
.search-field:focus-within {
  outline:2px solid #71915f;
  outline-offset:2px
}
.search-field input:focus-visible {
  outline:none
}
.search-field input::-webkit-search-cancel-button {
  cursor:pointer
}
.search-field button {
  background:transparent;
  font-size:15px;
  padding:6px
}
.atlas-toolbar>.search-field {
  flex:1
}
.type-filter {
  display:flex;
  align-items:center;
  gap:15px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:7px;
  padding:0 12px 0 17px;
  font-size:12px;
  flex:0 0 270px
}
.type-filter>span {
  color:var(--muted)
}
select {
  background:var(--surface);
  border:1px solid var(--line);
  padding:11px 32px 11px 12px;
  font-size:12px;
  max-width:100%
}
.type-filter select {
  border:0;
  flex:1;
  padding-left:0
}
.results-line {
  display:flex;
  justify-content:space-between;
  gap:15px;
  font-size:11px;
  color:var(--muted);
  padding:19px 0 20px
}
.results-line span span {
  padding-left:8px
}
.card-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:23px
}
.tree-card {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:9px;
  overflow:hidden;
  transition:transform .2s,border-color .2s,box-shadow .2s;
  min-width:0
}
.tree-card:hover {
  transform:translateY(-3px);
  border-color:#9aa58a;
  box-shadow:0 7px 18px #2438280a
}
.tree-card>a {
  display:flex;
  flex-direction:column;
  height:100%
}
.card-photo {
  height:180px;
  position:relative;
  overflow:hidden;
  background:#e6e4d7
}
.card-photo img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .45s
}
.tree-card:hover .card-photo img {
  transform:scale(1.045)
}

.card-content {
  padding:17px 18px 20px
}
.card-meta {
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:9px;
  margin-bottom:10px
}
.card-meta>span:last-child {
  font-size:20px;
  line-height:1
}
.card-content h3 {
  font-family:var(--serif);
  font-size:26px;
  letter-spacing:-.02em;
  line-height:1.1;
  margin-bottom:5px
}
.species-name {
  font-size:11px;
  color:var(--muted);
  margin-bottom:2px
}
.latin {
  font-size:12px;
  font-style:italic;
  color:#64715c
}
.no-photo,.image-error {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:10px;
  text-align:center;
  min-height:130px;
  width:100%;
  height:100%;
  padding:18px;
  background:var(--sage);
  color:#56654c;
  font-size:12px
}
.no-photo>span {
  font-size:36px
}
.image-error {
  font-size:11px
}
.callout {
  display:flex;
  align-items:center;
  gap:30px;
  background:var(--green);
  color:#fafbf2;
  padding:38px 40px;
  border-radius:9px;
  margin:0 0 65px
}
.callout-number {
  font-family:var(--serif);
  font-size:56px;
  color:#98b292;
  align-self:start;
  line-height:1
}
.callout .eyebrow {
  color:#bac9a8;
  margin-bottom:8px
}
.callout h2 {
  font-size:29px;
  margin-bottom:10px
}
.callout p:not(.eyebrow) {
  font-size:12px;
  color:#d0dac8
}
.callout .button {
  margin-left:auto;
  flex:none
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  padding:13px 19px;
  background:var(--green);
  color:white;
  border:1px solid var(--green);
  border-radius:6px;
  font-size:12px;
  font-weight:550;
  min-height:46px;
  text-align:center
}
.button:hover {
  background:#2b5143
}
.button-light {
  background:var(--lime);
  border-color:var(--lime);
  color:var(--green)
}
.button-light:hover {
  background:#ebf3d1
}
.button-outline {
  background:transparent;
  color:var(--green);
  border-color:#abb7a0
}
.button-outline:hover {
  background:var(--sage)
}
.site-footer {
  max-width:1288px;
  margin:auto;
  padding:25px 36px 35px;
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  color:var(--muted);
  font-size:10px
}
.site-footer>a {
  letter-spacing:.18em;
  font-weight:650;
  color:var(--ink);
  font-size:11px
}
.search-intro {
  display:grid;
  grid-template-columns:1.25fr 1fr;
  gap:65px;
  align-items:end;
  padding:54px 0 39px
}
.search-intro .eyebrow {
  margin-bottom:21px
}
.search-intro h1 {
  font-size:clamp(2.8rem,3.65vw,3.8rem)
}
.search-intro .lead {
  font-size:13px;
  padding-bottom:5px;
  max-width:405px;
  justify-self:end
}
.search-intro .lead strong {
  font-weight:550;
  color:var(--ink)
}
.search-workspace {
  display:grid;
  grid-template-columns:340px minmax(0,1fr);
  gap:38px;
  padding:0 0 65px;
  align-items:start
}
.feature-panel {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:8px;
  overflow:hidden
}
.panel-heading {
  display:flex;
  gap:13px;
  align-items:center;
  padding:23px 20px 20px;
  border-bottom:1px solid var(--line)
}
.step-number {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:27px;
  width:27px;
  background:var(--sage);
  color:#5c7052;
  border-radius:50%;
  font-size:10px;
  flex:none
}
.panel-heading h2 {
  font-family:var(--sans);
  font-size:15px;
  font-weight:550;
  letter-spacing:-.02em
}
.panel-heading p {
  font-size:10px;
  color:var(--muted);
  margin-top:3px
}
.feature-tools {
  padding:18px 18px 15px;
  background:#f1f3eac9;
  border-bottom:1px solid var(--line)
}
.feature-tools .search-field {
  min-height:43px;
  padding:0 11px
}
.feature-tools input {
  font-size:12px;
  padding:11px 0
}
.cut-select {
  display:block;
  font-size:10px;
  color:var(--muted);
  margin-top:15px
}
.cut-select select {
  display:block;
  margin-top:6px;
  width:100%;
  font-size:12px
}
.microcopy {
  font-size:10px;
  line-height:1.6;
  color:var(--muted)
}
.feature-tools .microcopy {
  margin-top:10px
}
.feature-group {
  border-bottom:1px solid var(--line)
}
.feature-group:last-child {
  border-bottom:0
}
.feature-group summary {
  font-size:12px;
  font-weight:550;
  list-style:none;
  cursor:pointer;
  padding:16px 19px;
  display:flex;
  justify-content:space-between;
  gap:15px;
  align-items:center
}
.feature-group summary::-webkit-details-marker {
  display:none
}
.feature-group summary>span {
  font-size:10px;
  color:var(--muted);
  font-weight:400;
  display:flex;
  gap:12px;
  align-items:center
}
.feature-group summary i {
  font-size:17px;
  font-style:normal;
  transition:transform .2s
}
.feature-group[open] summary i {
  transform:rotate(180deg)
}
.feature-group>div {
  padding:0 9px 11px
}
.feature-option {
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px;
  border-radius:5px;
  cursor:pointer;
  position:relative;
  line-height:1.45
}
.feature-option:hover {
  background:#f1f4e8
}
.feature-option:has(input:checked) {
  background:var(--sage)
}
.feature-option input {
  accent-color:var(--green);
  width:17px;
  height:17px;
  flex:none;
  margin:0
}
.feature-option>span:nth-child(2) {
  flex:1;
  min-width:0
}
.feature-option b {
  font-size:12px;
  font-weight:400;
  overflow-wrap:anywhere
}
.feature-option small {
  display:block;
  font-size:9px;
  color:var(--muted);
  letter-spacing:.04em;
  margin-top:3px
}
.feature-count {
  font-size:10px;
  flex:none;
  border:1px solid var(--line);
  min-width:24px;
  text-align:center;
  border-radius:4px;
  color:var(--muted);
  background:var(--surface)
}
.feature-empty {
  padding:24px;
  font-size:13px
}
.feature-empty button {
  margin-top:15px
}
.selection-panel {
  padding:20px 22px;
  background:var(--sage);
  border:1px solid #d5dfc9;
  border-radius:8px
}
.selection-heading {
  display:flex;
  justify-content:space-between;
  gap:15px;
  align-items:center
}
.text-button {
  font-size:11px;
  text-decoration:underline;
  text-underline-offset:3px;
  background:transparent;
  padding:3px 0;
  min-height:26px
}
.text-button:hover:not(:disabled) {
  color:#55723a
}
.selection-empty {
  color:#687560;
  font-size:12px;
  margin-top:13px
}
.chips {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:14px
}
.chip {
  display:inline-flex;
  gap:12px;
  align-items:center;
  font-size:11px;
  padding:7px 10px;
  line-height:1.4;
  background:var(--surface);
  border:1px solid #c2cdb5;
  text-align:left;
  max-width:100%
}
.chip span {
  font-size:17px
}
.chip:hover {
  border-color:var(--green)
}
.results-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:29px 0 13px
}
.results-heading>div {
  display:flex;
  gap:11px;
  align-items:center
}
.results-heading h2 {
  font-size:27px
}
.results-heading>p {
  font-size:11px;
  color:var(--muted);
  text-align:right
}
.data-note {
  font-size:11px;
  color:var(--muted);
  line-height:1.7;
  padding-left:13px;
  border-left:2px solid #b9c4a7;
  margin:15px 0 24px;
  max-width:760px
}
.search-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px
}
.search-grid .card-photo {
  height:180px
}

.state-panel {
  text-align:center;
  padding:65px 28px;
  grid-column:1/-1;
  min-height:280px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:8px;
  margin:24px 0;
  gap:17px
}
.state-panel h1,.state-panel h2 {
  font-size:30px;
  max-width:480px
}
.state-panel p {
  max-width:540px;
  font-size:13px;
  color:var(--muted)
}
.state-panel .button {
  margin-top:10px
}
.state-symbol {
  font-size:37px;
  color:#809270
}
.notice {
  font-size:12px;
  margin:14px 0;
  color:#745c26
}
.breadcrumb {
  padding:29px 0 22px;
  display:flex;
  gap:20px;
  font-size:11px;
  color:var(--muted)
}
.breadcrumb>a {
  color:var(--green);
  font-weight:550
}
.detail-heading {
  display:flex;
  justify-content:space-between;
  gap:25px;
  align-items:center;
  margin:4px 0 18px
}
.detail-heading h1 {
  font-size:64px;
  margin:14px 0 12px
}
.detail-subtitle {
  color:var(--muted);
  font-size:16px
}
.detail-subtitle>span {
  padding:0 6px
}
.detail-layout {
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);
  gap:38px;
  align-items:start
}
.gallery-top {
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  margin-bottom:17px
}
.gallery-top h2 {
  font-size:26px
}
.gallery-top select {
  font-size:11px;
  padding:8px 26px 8px 10px
}
.main-photo {
  position:relative;
  background:#e5e3d7;
  border-radius:8px;
  overflow:hidden
}
.photo-frame {
  height:410px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#1e2925
}
.photo-frame>img {
  width:100%;
  height:100%;
  object-fit:contain
}
.enlarge-button {
  position:absolute;
  bottom:15px;
  right:15px;
  background:#fffef5ed;
  color:var(--green);
  padding:9px 12px;
  font-size:11px;
  display:flex;
  align-items:center;
  gap:15px
}
.enlarge-button span {
  font-size:19px;
  line-height:1
}
.gallery-caption {
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  padding:17px 0
}
.gallery-caption strong {
  display:block;
  font-size:13px;
  font-weight:550
}
.gallery-caption>div>span {
  font-size:10px;
  color:var(--muted);
  display:block;
  margin-top:2px
}
.gallery-controls {
  display:flex;
  align-items:center;
  gap:12px;
  flex:none
}
.icon-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--surface);
  border:1px solid var(--line);
  width:34px;
  height:34px;
  font-size:17px
}
.gallery-controls>span {
  font-size:11px;
  font-variant-numeric:tabular-nums
}
.gallery-thumbnails {
  display:flex;
  gap:9px;
  overflow-x:auto;
  padding:7px 3px 12px;
  margin:9px -3px 2px;
  scrollbar-width:thin;
  scrollbar-color:#aab7a0 transparent
}
.thumbnail {
  position:relative;
  flex:0 0 77px;
  width:77px;
  height:67px;
  padding:0;
  border:2px solid transparent;
  overflow:hidden;
  border-radius:5px;
  background:#e6e4d8
}
.thumbnail[aria-pressed=true] {
  border-color:var(--green);
  outline:2px solid #a3b58e;
  outline-offset:2px
}
.thumbnail img {
  width:100%;
  height:100%;
  object-fit:cover
}
.thumbnail>span {
  position:absolute;
  bottom:0;
  right:0;
  background:#fffdeeef;
  border-top-left-radius:4px;
  font-size:8px;
  padding:1px 4px
}
.thumbnail .image-error {
  min-height:0;
  font-size:8px;
  padding:4px
}
.file-details {
  font-size:10px;
  color:var(--muted)
}
.file-details summary {
  cursor:pointer;
  width:fit-content
}
.file-details p {
  overflow-wrap:anywhere;
  margin:8px 0
}
.file-details a {
  text-decoration:underline;
  text-underline-offset:3px
}
.shared-note {
  padding:10px 13px;
  border-radius:5px;
  background:var(--sage);
  font-size:11px;
  margin:0 0 10px
}
.botany-panel {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:8px;
  padding:27px
}
.botany-panel h2 {
  font-size:27px;
  margin:10px 0 21px
}
dl {
  margin:0
}
dl>div {
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:15px;
  padding:11px 0;
  border-bottom:1px solid #e8e9e1;
  font-size:12px
}
dt {
  color:var(--muted)
}
dd {
  margin:0;
  overflow-wrap:anywhere
}
dl>div:last-child {
  border-bottom:0
}
.botany-panel>.microcopy {
  border-top:1px solid var(--line);
  padding-top:17px;
  margin-top:13px
}
.raw-data {
  border-top:1px solid var(--line);
  padding-top:17px;
  margin-top:17px;
  font-size:11px
}
.raw-data summary {
  cursor:pointer
}
.raw-data dl>div {
  grid-template-columns:1fr auto
}
.raw-data dt {
  font-family:monospace;
  font-size:10px;
  overflow-wrap:anywhere
}
.raw-data .microcopy {
  margin-top:12px
}
.documented-features {
  padding:47px 0 45px
}
.detail-feature-grid {
  --feature-gap:20px;
  column-count:3;
  column-gap:var(--feature-gap)
}
.feature-facts {
  break-inside:avoid;
  margin-bottom:var(--feature-gap);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:8px;
  padding:22px
}
.feature-facts h3 {
  font-family:var(--serif);
  font-size:23px;
  border-bottom:1px solid var(--line);
  padding-bottom:12px
}
.feature-facts ul {
  padding:0;
  margin:4px 0 0;
  list-style:none
}
.feature-facts li {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid #edf0e6;
  font-size:12px
}
.feature-facts li:last-child {
  border:0;
  padding-bottom:0
}
.feature-facts abbr {
  font-size:8px;
  white-space:nowrap;
  text-decoration:none;
  color:var(--muted)
}
dialog {
  border:0;
  border-radius:10px;
  padding:0;
  width:min(1180px,94vw);
  max-width:94vw;
  max-height:94dvh;
  background:#15221c;
  color:#f9faf2;
  overflow:auto
}
dialog::backdrop {
  background:#14251de8;
  backdrop-filter:blur(4px)
}
body:has(dialog[open]) {
  overflow:hidden
}
.lightbox-bar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:15px 20px;
  font-size:13px
}
.lightbox-bar .icon-button {
  color:#f9faf2;
  background:#314439;
  border-color:#59674b;
  flex:none
}
.lightbox-image {
  height:calc(90dvh - 135px);
  min-height:200px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#0f1813
}
.lightbox-image img {
  width:100%;
  height:100%;
  object-fit:contain
}
.lightbox-bottom {
  padding:15px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:12px
}
.lightbox-bottom button {
  background:#314439;
  color:#f6f8ec;
  border:1px solid #59674b;
  padding:8px 15px;
  font-size:12px
}
.loading-dot {
  width:15px;
  height:15px;
  border:2px solid var(--line);
  border-top-color:var(--green);
  border-radius:50%;
  animation:spin .8s linear infinite
}
@keyframes spin {
  to {
    transform:rotate(360deg)
  }
}
@media(min-width:1440px) {
  .site-header {
    padding-left:76px;
    padding-right:76px
  }
}
@media(max-width:1100px) {
  .site-header {
    padding:23px 36px
  }

  .card-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px
  }
  .card-photo {
    height:175px
  }
  .search-workspace {
    grid-template-columns:300px minmax(0,1fr);
    gap:25px
  }
  .search-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .search-grid .card-photo {
    height:140px
  }
  .search-intro {
    gap:35px
  }
  .search-intro h1 {
    font-size:46px
  }
  .results-heading {
    align-items:start
  }
  .results-heading h2 {
    font-size:24px
  }
  .results-heading>p {
    max-width:120px
  }
  .selection-heading {
    align-items:start
  }
  .selection-heading .eyebrow {
    max-width:110px
  }
  .callout {
    gap:23px;
    padding:30px
  }
  .callout h2 {
    font-size:26px
  }
  .callout-number {
    font-size:46px
  }
  .detail-layout {
    gap:25px;
    grid-template-columns:1.5fr 1fr
  }
  .botany-panel {
    padding:22px
  }
  .photo-frame {
    height:350px
  }
  .detail-feature-grid {
    column-count:2
  }
}
@media(max-width:800px) {
  main {
    padding:0 24px
  }
  .site-header {
    padding:20px 24px
  }

  .text-link {
    font-size:11px;
    gap:14px
  }
  .card-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .card-photo {
    height:185px
  }
  .callout-number {
    display:none
  }
  .callout {
    flex-wrap:wrap
  }
  .callout .button {
    margin-left:0
  }
  .site-footer {
    padding:25px 24px
  }
  .site-footer>span:last-child {
    display:none
  }
  .search-intro {
    grid-template-columns:1fr;
    gap:22px;
    padding:37px 0 28px
  }
  .search-intro h1 {
    font-size:45px
  }
  .search-intro .lead {
    justify-self:start;
    max-width:600px
  }
  .search-workspace {
    grid-template-columns:280px minmax(0,1fr);
    gap:22px
  }
  .search-grid {
    grid-template-columns:1fr
  }
  .results-heading {
    flex-wrap:wrap;
    gap:10px
  }
  .results-heading>p {
    max-width:none;
    text-align:left
  }
  .selection-heading {
    flex-wrap:wrap;
    gap:6px
  }
  .selection-heading .eyebrow {
    max-width:none
  }
  .selection-panel {
    padding:17px
  }
  .detail-heading h1 {
    font-size:54px
  }
  .detail-heading>.button {
    max-width:200px
  }
  .detail-layout {
    grid-template-columns:1fr
  }
  .botany-panel dl {
    display:grid;
    grid-template-columns:1fr 1fr;
    column-gap:30px
  }
  .photo-frame {
    height:430px
  }
  .gallery-top {
    margin-bottom:16px
  }
  .detail-feature-grid {
    --feature-gap:16px
  }
  .documented-features .section-top {
    align-items:start
  }
  .documented-features .section-top>p {
    max-width:160px;
    font-size:10px
  }
}
@media(max-width:600px) {
  .site-header {
    padding:19px 20px 14px;
    flex-wrap:wrap;
    gap:19px
  }
  .brand {
    font-size:15px
  }
  .brand img {
    width:39px;
    height:39px
  }
  .brand small {
    font-size:9px
  }
  .site-header nav {
    width:auto;
    max-width:100%;
    gap:5px;
    padding:4px;
    justify-content:flex-end
  }
  .site-header nav a {
    flex:0 1 auto;
    text-align:center;
    padding:9px 12px;
    font-size:12px
  }
  .site-header nav a span {
    padding-left:6px
  }
  main {
    padding:0 20px
  }
  .text-link {
    font-size:11px
  }

  .collection {
    padding:29px 0 34px
  }
  .section-top {
    gap:15px;
    margin-bottom:22px;
    align-items:start
  }
  .section-top>p {
    display:none
  }
  h2 {
    font-size:28px
  }
  .eyebrow {
    font-size:9px
  }
  .atlas-toolbar {
    flex-direction:column;
    gap:11px
  }
  .type-filter {
    flex-basis:auto;
    min-height:43px
  }
  .type-filter select {
    padding-top:8px;
    padding-bottom:8px
  }
  .search-field {
    min-height:47px
  }
  .search-field input {
    font-size:12px
  }
  .results-line {
    font-size:10px;
    padding:17px 0
  }
  .card-grid {
    gap:13px
  }
  .card-photo {
    height:135px
  }
  .card-content {
    padding:13px 13px 17px
  }
  .card-content h3 {
    font-size:24px
  }
  .card-meta {
    font-size:8px;
    margin-bottom:8px;
    letter-spacing:.08em
  }
  .species-name,.latin {
    font-size:10px
  }

  .card-meta>span:last-child {
    font-size:17px
  }
  .callout {
    padding:27px 24px;
    margin-bottom:36px;
    gap:22px
  }
  .callout h2 {
    font-size:29px
  }
  .callout p:not(.eyebrow) {
    font-size:12px
  }
  .site-footer {
    padding:24px 20px;
    flex-wrap:wrap;
    gap:8px;
    font-size:9px
  }
  .site-footer>span {
    width:100%
  }
  .search-intro {
    padding:30px 0 26px;
    gap:21px
  }
  .search-intro h1 {
    font-size:40px
  }
  .search-intro .eyebrow {
    margin-bottom:17px
  }
  .search-intro .lead {
    font-size:12px
  }
  .search-workspace {
    display:flex;
    flex-direction:column;
    gap:25px;
    padding-bottom:37px
  }
  .feature-panel,.search-results {
    width:100%;
    min-width:0
  }
  .panel-heading {
    padding:18px
  }
  .feature-tools {
    padding:15px
  }
  .feature-tools .search-field input {
    font-size:13px
  }
  .feature-tools .microcopy {
    font-size:10px
  }
  .feature-group summary {
    padding:16px 18px;
    min-height:48px
  }
  .feature-option {
    padding:11px
  }
  .feature-option input {
    width:20px;
    height:20px
  }
  .feature-option b {
    font-size:13px
  }
  .feature-group>div {
    padding:0 10px 12px
  }
  #feature-list {
    max-height:360px;
    overflow:auto;
    overscroll-behavior:contain;
    border-bottom:1px solid var(--line)
  }
  .selection-heading {
    align-items:center;
    justify-content:space-between
  }
  .selection-panel {
    padding:18px
  }
  .chips {
    gap:7px
  }
  .chip {
    padding:8px 10px;
    font-size:11px;
    min-height:38px
  }
  .results-heading {
    flex-wrap:nowrap;
    align-items:center;
    margin:24px 0 14px;
    gap:12px
  }
  .results-heading h2 {
    font-size:25px
  }
  .results-heading>p {
    max-width:100px;
    text-align:right;
    font-size:10px
  }
  .results-heading>div {
    gap:8px
  }
  .data-note {
    font-size:10px;
    margin:13px 0 20px
  }
  .search-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:13px
  }
  .search-grid .card-photo {
    height:126px
  }

  .state-panel {
    padding:40px 20px;
    min-height:250px;
    margin:15px 0
  }
  .state-panel h1,.state-panel h2 {
    font-size:28px
  }
  .state-panel p {
    font-size:12px
  }
  .breadcrumb {
    padding:23px 0 19px;
    font-size:10px
  }
  .detail-heading {
    flex-direction:column;
    align-items:start;
    gap:16px;
    margin-bottom:18px
  }
  .detail-heading h1 {
    font-size:50px;
    margin:12px 0 10px
  }
  .detail-subtitle {
    font-size:14px
  }
  .detail-heading>.button {
    max-width:none;
    font-size:11px;
    padding:10px 15px
  }
  .gallery-top {
    align-items:center;
    gap:10px
  }
  .gallery-top h2 {
    font-size:24px;
    max-width:150px
  }
  .gallery-top select {
    max-width:165px;
    font-size:11px
  }
  .photo-frame {
    height:285px
  }
  .gallery-caption {
    gap:10px;
    align-items:start
  }
  .gallery-caption strong {
    font-size:12px
  }
  .gallery-caption>div>span {
    font-size:9px
  }
  .gallery-controls {
    gap:7px
  }
  .gallery-controls .icon-button {
    width:32px;
    height:34px
  }
  .gallery-controls>span {
    font-size:10px
  }
  .enlarge-button {
    bottom:10px;
    right:10px;
    font-size:10px;
    padding:7px 10px
  }
  .gallery-thumbnails {
    gap:9px
  }
  .thumbnail {
    flex-basis:70px;
    width:70px;
    height:60px
  }
  .botany-panel {
    padding:23px
  }
  .botany-panel dl {
    display:block
  }
  .botany-panel dl>div {
    font-size:12px;
    grid-template-columns:1fr 1.2fr
  }
  .documented-features {
    padding:32px 0
  }
  .documented-features .section-top {
    display:block
  }
  .documented-features .section-top>p {
    display:block;
    text-align:left;
    max-width:none;
    margin-top:12px
  }
  .detail-feature-grid {
    column-count:1;
    --feature-gap:14px
  }
  .feature-facts {
    padding:21px
  }
  .feature-facts li {
    font-size:12px
  }
  .feature-facts abbr {
    font-size:9px
  }
  .lightbox-bar {
    padding:12px;
    font-size:11px
  }
  .lightbox-bottom {
    padding:12px;
    font-size:11px
  }
  .lightbox-bottom button {
    padding:8px 10px;
    font-size:11px
  }
  .lightbox-image {
    height:calc(86dvh - 130px)
  }
  dialog {
    width:96vw;
    max-width:96vw;
    max-height:94dvh
  }
  .gallery-section>.microcopy {
    font-size:9px
  }
}
@media(max-width:360px) {
  main {
    padding:0 15px
  }
  .site-header {
    padding-left:15px;
    padding-right:15px
  }
  .card-content {
    padding:11px
  }
  .card-content h3 {
    font-size:22px
  }
  .card-photo {
    height:120px
  }
  .search-intro h1 {
    font-size:35px
  }
  .gallery-top {
    flex-wrap:wrap
  }
  .gallery-top h2 {
    max-width:none
  }
  .results-heading {
    flex-wrap:wrap
  }
  .results-heading>p {
    max-width:none;
    text-align:left
  }
  .photo-frame {
    height:240px
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}
/* Smartphone: Treffer zuerst zugänglich, Auswahl bei Bedarf öffnen. */
@media(max-width:600px) {
  .mobile-filter-toggle {
    display:flex;
    width:100%;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    min-height:50px;
    padding:12px 17px;
    background:var(--green);
    color:white;
    font-size:15px;
    font-weight:550
  }
  .mobile-filter-toggle>span:last-child {
    font-size:20px
  }
  .mobile-filter-toggle[aria-expanded=true]>span:last-child {
    transform:rotate(180deg)
  }
  .feature-panel[data-mobile-open=false] {
    display:none
  }
  .search-workspace {
    gap:18px
  }
  .search-intro h1 {
    font-size:37px;
    line-height:1.15
  }
  .search-intro .lead {
    font-size:15px;
    line-height:1.7
  }
  .site-header nav a {
    min-height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px
  }
  .eyebrow {
    font-size:11px
  }
  .text-link {
    font-size:13px;
    min-height:44px;
    align-items:center
  }
  .search-field input,.feature-tools .search-field input,.type-filter select,.cut-select select,.gallery-top select {
    font-size:16px;
    min-height:46px
  }
  .search-field {
    min-height:50px
  }
  .type-filter {
    font-size:13px;
    min-height:48px
  }
  .type-filter select {
    padding-right:20px
  }
  .type-filter>span {
    flex:none
  }
  .search-field button {
    min-width:44px;
    min-height:44px
  }
  .search-field:has(button:not([hidden])) input {
    min-width:0
  }
  .cut-select {
    font-size:13px
  }
  .microcopy,.feature-tools .microcopy,.gallery-section>.microcopy {
    font-size:12px;
    line-height:1.6
  }
  .panel-heading h2 {
    font-size:16px
  }
  .panel-heading p {
    font-size:12px
  }
  .feature-group summary {
    font-size:15px;
    min-height:48px
  }
  .feature-group summary>span {
    font-size:12px
  }
  .feature-option {
    min-height:52px;
    gap:12px
  }
  .feature-option b {
    font-size:15px
  }
  .feature-option small {
    font-size:11px
  }
  .feature-count {
    font-size:12px;
    min-width:27px
  }
  .feature-option input {
    width:21px;
    height:21px
  }
  #feature-list {
    max-height:min(48dvh,380px)
  }
  .feature-result-link {
    min-height:50px;
    font-size:14px
  }
  .feature-tools .microcopy {
    font-size:12px
  }
  .selection-heading .eyebrow {
    font-size:10px
  }
  .text-button {
    font-size:13px;
    min-height:44px
  }
  .selection-empty {
    font-size:14px
  }
  .chip {
    font-size:13px;
    min-height:44px;
    padding:10px 12px
  }
  .chip span {
    font-size:20px
  }
  .results-heading>p {
    font-size:12px;
    max-width:110px
  }
  .data-note {
    font-size:13px
  }
  .results-line {
    font-size:12px
  }
  .results-line>span {
    font-size:11px
  }
  .card-meta {
    font-size:10px;
    letter-spacing:.04em
  }
  .card-content h3 {
    font-size:25px
  }
  .species-name,.latin {
    font-size:12px;
    line-height:1.5
  }

  .card-content {
    padding:14px 12px 17px
  }
  .callout p:not(.eyebrow) {
    font-size:14px
  }
  .button,.detail-heading>.button {
    font-size:14px;
    min-height:46px
  }
  .state-panel p {
    font-size:14px
  }
  .breadcrumb {
    font-size:13px;
    align-items:center;
    padding:12px 0
  }
  .breadcrumb a {
    display:flex;
    align-items:center;
    min-height:44px
  }
  .detail-subtitle {
    font-size:16px;
    line-height:1.6
  }
  .gallery-top {
    flex-wrap:wrap
  }
  .gallery-top h2 {
    max-width:none;
    font-size:27px
  }
  .gallery-top select {
    max-width:100%;
    font-size:14px;
    min-height:44px
  }
  .gallery-caption {
    flex-wrap:wrap;
    gap:14px
  }
  .gallery-caption strong {
    font-size:15px
  }
  .gallery-caption>div>span {
    font-size:12px
  }
  .gallery-controls .icon-button {
    width:44px;
    height:44px
  }
  .gallery-controls>span {
    font-size:13px;
    min-width:42px;
    text-align:center
  }
  .gallery-controls {
    margin-left:auto;
    gap:10px
  }
  .enlarge-button {
    font-size:13px;
    min-height:44px;
    padding:9px 12px
  }
  .file-details {
    font-size:12px
  }
  .file-details summary,.file-details a {
    display:inline-flex;
    align-items:center;
    min-height:44px
  }
  .file-details a {
    font-size:13px
  }
  .shared-note {
    font-size:13px
  }
  .botany-panel dl>div {
    font-size:14px;
    padding:12px 0;
    grid-template-columns:1fr 1.15fr
  }
  .raw-data {
    font-size:13px
  }
  .raw-data summary {
    min-height:44px
  }
  .raw-data dt {
    font-size:12px
  }
  .documented-features .section-top>p {
    font-size:12px
  }
  .feature-facts li {
    font-size:14px;
    line-height:1.6
  }
  .feature-facts abbr {
    font-size:10px
  }
  .lightbox-bar {
    font-size:13px
  }
  .lightbox-bar .icon-button {
    width:44px;
    height:44px
  }
  .lightbox-bottom button {
    min-height:44px;
    font-size:13px
  }
  .lightbox-bottom {
    font-size:13px
  }
  .site-footer {
    font-size:11px
  }
}

/* Compact three-link navigation on narrow screens; keep right alignment. */
@media(max-width:600px) {
  .site-header nav {
    gap:3px;
  }
  .site-header nav a {
    padding-inline:9px;
  }
}

/* Prozentualer Vergleich: hohe Werte betonen, alle Arten zugänglich halten. */
.compact .card-content {
  display:flex;
  flex:1;
  flex-direction:column;
}
.compact h3 {
  overflow-wrap:anywhere;
}
.compact .latin {
  margin-bottom:15px;
}
.match-score {
  display:flex;
  align-items:center;
  gap:13px;
  margin-top:auto;
  padding-top:12px;
  border-top:1px solid var(--line);
  color:var(--green);
}
.match-score strong {
  flex:none;
  min-width:4.6ch;
  white-space:nowrap;
  font-size:27px;
  font-weight:650;
  line-height:1.2;
  font-variant-numeric:tabular-nums;
}
.match-score strong span {
  font-size:14px;
  font-weight:500;
}
.match-track {
  flex:1;
  height:8px;
  overflow:hidden;
  border-radius:20px;
  background:#dce1d5;
}
.match-track>span {
  display:block;
  height:100%;
  background:#738d65;
  border-radius:inherit;
}
.tree-card[data-match="high"] {
  background:#f3f7ec;
  border-color:#8aa178;
  box-shadow:0 2px 8px #233f3010;
}
.tree-card[data-match="high"] .match-track>span {
  background:var(--green);
}
.tree-card[data-match="medium"] {
  border-color:#b4c1a6;
}
.tree-card[data-match="none"] {
  background:#f2f1eb;
  border-color:#dcded5;
}
.tree-card[data-match="none"] .card-photo img {
  filter:grayscale(.7) saturate(.5);
  opacity:.65;
}
.tree-card[data-match="none"] .match-score {
  color:#5a665d;
}
.tree-card[data-match="none"]:hover {
  border-color:#8a9c84;
}
.results-order {
  margin:12px 0 8px;
  color:var(--green);
  font-size:12px;
  line-height:1.7;
}
.example-note {
  color:var(--muted);
  font-size:13px;
  line-height:1.7;
  margin:0 0 12px;
}
@media(max-width:600px) {
  .compact .card-content h3 {
    font-size:22px;
  }
  .compact .latin {
    font-size:11px;
    margin-bottom:12px;
  }
  .match-score {
    display:block;
    padding-top:10px;
  }
  .match-score strong {
    font-size:24px;
  }
  .match-score strong span {
    font-size:12px;
  }
  .match-track {
    height:7px;
    width:100%;
    margin-top:8px;
  }
  .results-order {
    font-size:13px;
  }
  .results-heading {
    display:block;
  }
  .results-heading>p {
    max-width:none;
    margin-top:8px;
    text-align:left;
  }
}

/* Kurze Einstiege und Hinweise bei Bedarf. */
.home-intro {
  padding:32px 0;
}
.home-intro h1,.search-intro h1 {
  font-size:clamp(2rem,4vw,2.7rem);
  line-height:1.15;
}
.path-content>p {
  margin-bottom:22px;
}
.search-intro {
  display:block;
  padding:32px 0 26px;
}
.match-help {
  margin:0 0 20px;
  color:var(--muted);
  font-size:13px;
}
.match-help summary {
  cursor:pointer;
  padding:10px 0;
  min-height:44px;
}
.match-help p {
  max-width:640px;
  padding:0 0 10px;
}

/* One dropdown treatment for atlas, identification and image galleries. */
.styled-select {
  position:relative;
  min-width:0;
  max-width:100%;
}
.styled-select select[hidden] { display:none }
.select-trigger {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  width:100%;
  min-height:46px;
  padding:11px 14px;
  border:1px solid #abb7a0;
  border-radius:8px;
  background:var(--surface);
  color:var(--green);
  font:inherit;
  font-size:14px;
  line-height:1.4;
  text-align:left;
  cursor:pointer;
  box-shadow:0 1px 2px #193c3208;
}
.select-trigger::after {
  content:'';
  flex:0 0 7px;
  width:7px;
  height:7px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:translateY(-2px) rotate(45deg);
}
.select-trigger:hover { background:#f0f3e9; border-color:var(--green) }
.select-trigger:focus-visible,.select-trigger[aria-expanded=true] {
  outline:2px solid var(--green);
  outline-offset:2px;
}
.select-trigger[aria-expanded=true]::after { transform:translateY(2px) rotate(225deg) }
.select-trigger:disabled { opacity:.5; cursor:not-allowed }
.select-value { overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.select-menu {
  position:fixed;
  z-index:100;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:6px;
  border:1px solid #abb7a0;
  border-radius:10px;
  background:var(--surface);
  color:var(--green);
  box-shadow:0 12px 32px #193c3226;
}
.select-menu[hidden] { display:none }
.select-option {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:42px;
  padding:10px 12px;
  border-radius:6px;
  font-size:14px;
  line-height:1.4;
  cursor:pointer;
}
.select-option:hover,.select-option.is-active { background:var(--sage) }
.select-option[aria-selected=true] { color:var(--green); font-weight:650; background:#e8eddd }
.select-option[aria-selected=true]::after { content:'✓'; flex:none }
.select-option[aria-disabled=true] { opacity:.45; cursor:not-allowed }
.type-filter { border:0; padding:0; background:transparent; gap:12px; flex-basis:300px }
.type-filter .styled-select { flex:1 }
.cut-select .styled-select { margin-top:6px; width:100% }
.gallery-top .styled-select { width:230px }
@media(max-width:600px) {
  .select-trigger,.select-option { font-size:16px; min-height:48px }
  .gallery-top .styled-select { width: min(100%,250px) }
}
