/* Plant safety pages (/plants/, /es/plantas/, /pt/plantas/, /tl/halaman/,
   /fr/plantes/) — reuses tokens from style.css, adds only what those pages
   need. Mobile-first; nothing here introduces horizontal scroll at 390px.
   Respects prefers-reduced-motion. */

.plant-page-wrap, .plants-hub-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 20px 60px;
  color: var(--ink);
  box-sizing: border-box;
}

.plant-page-wrap h1, .plants-hub-wrap h1 {
  font-family: var(--font-display);
  color: var(--green-deep);
  font-size: 1.4rem;
  line-height: 1.3;
  margin: 0 0 18px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.plants-hub-wrap h1 .icon { width: 1.1em; height: 1.1em; flex-shrink: 0; margin-top: 0.05em; }

.plant-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  color: var(--green-mid);
  text-decoration: none;
  font-size: 0.88rem;
}
.plant-back .icon { width: 16px; height: 16px; flex-shrink: 0; }

.plants-hub-lede { font-size: 0.95rem; line-height: 1.6; margin: 0 0 22px; color: var(--ink); }

.verdict-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 22px;
}
.verdict-card {
  flex: 1 1 140px;
  min-width: 0;
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  box-shadow: var(--shadow);
  box-sizing: border-box;
}
.verdict-icon { color: var(--terracotta-dark); display: flex; }
.verdict-icon .icon { width: 22px; height: 22px; }
.verdict-label { font-weight: 700; font-size: 0.95rem; color: var(--ink); }

.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.pill--toxic { background: var(--danger-bg); color: var(--danger-dark); }
.pill--safe { background: var(--safe-bg); color: var(--safe-text); }
.pill--nv { background: var(--warn-bg); color: var(--warn-text); border: 1px solid var(--warn); }

.plant-why { font-size: 0.95rem; line-height: 1.6; margin: 0 0 16px; }
.plant-species { font-size: 0.88rem; color: var(--ink-muted); margin: 0 0 22px; line-height: 1.55; }
.plant-species em { color: var(--ink); font-style: italic; }

.plant-action-block { margin: 0 0 24px; }
.plant-action-block h2 { font-family: var(--font-display); color: var(--green-deep); font-size: 1.08rem; margin: 0 0 10px; }
.plant-action-block ol { padding-left: 20px; margin: 0; }
.plant-action-block li { font-size: 0.9rem; line-height: 1.55; margin-bottom: 6px; }
.plant-action-block li.plant-emergency .em-line { display: block; margin-top: 2px; }
.plant-action-block li.plant-emergency a { font-weight: 600; }
.plant-action-safe-line {
  font-size: 0.9rem; line-height: 1.55; background: var(--safe-bg);
  border-radius: var(--radius-sm); padding: 12px 14px; margin: 0; color: var(--safe-text);
}

.plant-cta-band {
  background: var(--green-pale);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  margin: 0 0 26px;
  box-sizing: border-box;
}
.plant-cta-band p { margin: 0 0 14px; font-size: 0.95rem; }
.plant-cta-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.plant-cta-btn span { display: inline-flex; align-items: center; }
.plant-cta-btn .cta-arrow { width: 18px; height: 18px; transition: transform 0.15s ease; }
.plant-cta-btn:hover .cta-arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .plant-cta-btn .cta-arrow { transition: none; }
}

.plant-similar { margin: 0 0 24px; }
.plant-similar h2, .plants-group h2 {
  font-family: var(--font-display); color: var(--green-deep); font-size: 1.08rem;
  margin: 0 0 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.plant-similar ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.plant-similar li a { color: var(--green-mid); text-decoration: underline; font-size: 0.88rem; }

.count-badge {
  background: var(--border);
  color: var(--ink-muted);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 9px;
  white-space: nowrap;
}

.plants-search { margin: 0 0 24px; }
.plants-search input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--cream-card);
  color: var(--ink);
  font-size: 0.95rem;
  font-family: inherit;
}

.plants-group { margin: 0 0 26px; }
.plants-list { list-style: none; padding: 0; margin: 0; }
.plants-list li { border-bottom: 1px solid var(--border); }
.plants-list li a {
  display: block;
  padding: 11px 2px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
}
.plants-list li a:active { background: var(--green-pale); }
.plants-empty { font-size: 0.9rem; color: var(--ink-muted); margin: 0 0 24px; }

.plant-video { margin: 0 0 22px; text-align: center; }
.plant-video video {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 12px;
  background: #000;
}
.plant-video figcaption {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: 8px;
}

.plant-disclaimer {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.55;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin: 0 0 18px;
}
.plant-source { margin: 6px 0 0; }

/* Money block (Oct 1 2026): swaps + care line + the amber tip-jar card (style.css .tip-card). The verdict
   and safety copy above it stay the primary content; nothing here is above them. */
.plant-money-block {
  margin: 0 0 24px; padding: 14px 16px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: var(--green-pale);
}
.plant-money-block h2 { font-family: var(--font-display); color: var(--green-deep); font-size: 1.08rem; margin: 0 0 6px; }
.plant-money-block p { font-size: 0.88rem; line-height: 1.55; margin: 0 0 8px; color: var(--ink); }
.plant-money-block a { color: var(--green-mid); }
.swap-list { list-style: none; padding: 0; margin: 0 0 10px; }
.swap-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; padding: 9px 0; border-top: 1px solid var(--border); font-size: 0.92rem; }
.swap-list .swap-buy { font-size: 0.82rem; }
.plant-money-block .money-disclosure { font-size: 0.78rem; color: var(--ink-muted); margin-bottom: 8px; }
.plant-money-block .tip-card { margin: 4px 0 0; }
.plant-money-block .money-care { margin-bottom: 6px; }
.plant-money-safe { padding: 10px 14px; background: transparent; }
/* Country-aware money (Oct 1 2026): /js/geo.js adds html.geo-non-us for visitors
   outside the US. Default render (and any geo failure) = full block. */
html.geo-non-us [data-us-only] { display: none !important; }

/* Store card (Oct 1 2026): the brand-green card + solid button live in style.css (.plant-store-block,
   .store-nudge-card, .store-card-btn); this page only needs the spacing. */
.plant-store-block { margin: 0 0 24px; }

.plant-footer, .plants-hub-footer {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.85rem;
}
.plant-footer a, .plants-hub-footer a { color: var(--green-mid); display: inline-block; padding: 7px 2px; min-height: 24px; }
/* WCAG 2.2 AA 2.5.8: inline text links that sit alone in a row get a >=24px target. */
.plant-similar li a, .plant-lists li a, .swap-list .swap-buy, .swap-list .swap-name, .plant-back { display: inline-block; padding: 5px 0; min-height: 24px; }
.plant-source a, .plant-disclaimer a, .plant-aspca a { color: var(--green-mid); }
.plant-source a, .plant-qa a { padding: 2px 0; }
.plant-trust time { font-weight: 600; }
.notfound-actions { display: grid; gap: 10px; margin: 0 0 24px; }
.notfound-multi { font-size: 0.85rem; color: var(--ink-muted); margin: -10px 0 20px; }
.plant-footer p, .plants-hub-footer p { width: 100%; margin: 8px 0 0; color: var(--ink-muted); }

/* US head-term collection pages + species quick answers (Oct 1 2026) */
.pill--severe { background: var(--danger-dark); color: #fff; }
.coll-intro p { font-size: 0.95rem; line-height: 1.6; margin: 0 0 12px; color: var(--ink); }
.coll-list { list-style: none; padding: 0; margin: 0 0 28px; }
.coll-list li { border-bottom: 1px solid var(--border); padding: 12px 2px; line-height: 1.5; }
.coll-list li[hidden] { display: none; }
.coll-name { font-weight: 700; font-size: 0.98rem; color: var(--green-mid); text-decoration: underline; }
.coll-sci { font-size: 0.82rem; color: var(--ink-muted); margin-left: 6px; }
.coll-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 6px 0 4px; }
.coll-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--ink-muted); }
.coll-pill .pill { padding: 2px 8px; font-size: 0.7rem; }
.coll-why { display: block; font-size: 0.88rem; color: var(--ink); }
.coll-faq h2, .plant-qa h2, .plant-lists h2, .plant-why-h {
  font-family: var(--font-display); color: var(--green-deep); font-size: 1.08rem; margin: 0 0 10px;
}
.coll-faq h3, .plant-qa h3 { font-size: 0.95rem; margin: 14px 0 4px; color: var(--ink); }
.coll-faq p, .plant-qa p { font-size: 0.9rem; line-height: 1.55; margin: 0 0 6px; }
.coll-faq, .plant-qa, .plant-lists { margin: 0 0 24px; }
.plant-qa a, .plant-lists a { color: var(--green-mid); }
.plant-lists ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.plant-lists li a { font-size: 0.9rem; }
.plant-tier { font-size: 0.92rem; line-height: 1.55; margin: 0 0 10px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--danger-bg); color: var(--danger-dark); }
.plant-why-h { margin-top: 4px; }
.hub-lists { margin: 0 0 22px; }
/* NOT VERIFIED (Oct 1 2026): amber, never the green SAFE look */
.verdict-card--nv { border-color: var(--warn); }
.plant-nv-links { font-size: 0.88rem; line-height: 1.55; margin: 0 0 16px; }
.plant-nv-links a { color: var(--green-mid); padding: 2px 0; }
.coll-nv { margin: 0 0 28px; padding: 14px 16px; border: 1px solid var(--warn); border-radius: var(--radius-sm); background: var(--warn-bg); }
.coll-nv h2 { font-family: var(--font-display); color: var(--warn-text); font-size: 1.08rem; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.coll-nv p { font-size: 0.9rem; line-height: 1.55; margin: 0 0 8px; color: var(--ink); }
.coll-nv .coll-list { margin: 0; }
.coll-nv .coll-list li:last-child { border-bottom: 0; }
.plant-photo { margin: 0 0 20px; }
.plant-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); }
.plant-photo figcaption { font-size: 0.78rem; color: var(--ink-soft, #5b6b60); margin-top: 6px; }
.plant-photo a { color: var(--green-mid); }
.plant-depth { margin: 0 0 24px; }
.plant-depth h2 { font-family: var(--font-display); font-size: 1.15rem; margin: 22px 0 8px; }
.plant-depth h3 { font-size: 0.95rem; margin: 14px 0 4px; }
.plant-depth p, .plant-depth li { font-size: 0.92rem; line-height: 1.6; }
.plant-depth p { margin: 0 0 8px; }
.plant-depth ul, .plant-depth ol { margin: 0 0 10px; padding-left: 1.3em; }
.plant-depth a { color: var(--green-mid); }
.plant-propagate { margin: 0 0 24px; }
.plant-propagate h2 { font-family: var(--font-display); font-size: 1.15rem; margin: 22px 0 8px; }
.plant-propagate h3 { font-size: 0.95rem; margin: 14px 0 4px; }
.plant-propagate p, .plant-propagate li { font-size: 0.92rem; line-height: 1.6; }
.plant-propagate p { margin: 0 0 8px; }
.plant-propagate ul, .plant-propagate ol { margin: 0 0 10px; padding-left: 1.3em; }
.plant-propagate a { color: var(--green-mid); }
.plant-propagate .money-disclosure, .plant-propagate-reviewed { color: var(--ink-soft, #5b6b60); font-size: 0.84rem; }
.plant-depth-note, .plant-depth-reviewed { color: var(--ink-soft, #5b6b60); font-size: 0.84rem; }

/* Plant-problem pages (/problems/, /es/problemas/): reuses plants.css + style.css tokens. */
.symptom-answer {
  background: var(--green-pale); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 14px 16px; margin: 0 0 22px; box-sizing: border-box;
}
.symptom-answer h2 { font-family: var(--font-display); color: var(--green-deep); font-size: 1.0rem; margin: 0 0 6px; }
.symptom-answer p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--ink); }
.symptom-reviewed { font-size: 0.8rem; color: var(--ink-muted); margin: -8px 0 18px; }
.symptom-block { margin: 0 0 26px; }
.symptom-block > h2 { font-family: var(--font-display); color: var(--green-deep); font-size: 1.08rem; margin: 0 0 10px; }
.symptom-causes { list-style: none; padding: 0; margin: 0; counter-reset: cause; }
.symptom-causes li {
  counter-increment: cause; background: var(--cream-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 12px 14px; margin: 0 0 10px; box-shadow: var(--shadow);
}
.symptom-causes h3 { font-size: 0.98rem; margin: 0 0 4px; color: var(--ink); }
.symptom-causes h3::before { content: counter(cause) ". "; color: var(--green-mid); }
.symptom-causes p { margin: 0; font-size: 0.9rem; line-height: 1.55; }
.symptom-tell { font-weight: 700; color: var(--ink); }
.symptom-steps { padding-left: 22px; margin: 0; }
.symptom-steps li { font-size: 0.92rem; line-height: 1.6; margin: 0 0 8px; }
.symptom-list { padding-left: 20px; margin: 0; }
.symptom-list li { font-size: 0.92rem; line-height: 1.6; margin: 0 0 6px; }
.src-refs { font-size: 0.72rem; white-space: nowrap; margin-left: 4px; }
.src-refs a { color: var(--green-mid); text-decoration: none; padding: 0 1px; }
.symptom-pet {
  background: var(--warn-bg); border: 1px solid var(--warn); border-radius: var(--radius-md);
  padding: 14px 16px; margin: 0 0 26px;
}
.symptom-pet h2 { font-family: var(--font-display); color: var(--warn-text); font-size: 1.0rem; margin: 0 0 6px; }
.symptom-pet p { margin: 0 0 8px; font-size: 0.92rem; line-height: 1.55; color: var(--ink); }
.symptom-pet p:last-child { margin-bottom: 0; }
.symptom-pet a, .symptom-sources a, .symptom-species a { color: var(--green-mid); }
.symptom-species { margin: 0 0 24px; }
.symptom-species h2 { font-family: var(--font-display); color: var(--green-deep); font-size: 1.08rem; margin: 0 0 8px; }
.symptom-species ul { padding-left: 20px; margin: 0; }
.symptom-species li { font-size: 0.9rem; line-height: 1.55; margin: 0 0 6px; }
.symptom-sources { margin: 0 0 24px; }
.symptom-sources h2 { font-family: var(--font-display); color: var(--green-deep); font-size: 1.08rem; margin: 0 0 8px; }
.symptom-sources ol { padding-left: 24px; margin: 0; }
.symptom-sources li { font-size: 0.82rem; line-height: 1.5; margin: 0 0 5px; color: var(--ink-muted); word-break: break-word; }
.symptom-sources li:target { background: var(--warn-bg); }
.problem-group { margin: 0 0 22px; }
.problem-group h2 { font-family: var(--font-display); color: var(--green-deep); font-size: 1.08rem; margin: 0 0 8px; }
.problem-list { list-style: none; padding: 0; margin: 0; }
.problem-list li { border-bottom: 1px solid var(--border); padding: 11px 2px; line-height: 1.5; }
.problem-list a { font-weight: 700; color: var(--green-mid); text-decoration: underline; display: inline-block; padding: 3px 0; }
.problem-list span { display: block; font-size: 0.86rem; color: var(--ink-muted); }
.plants-hub-lede a { color: var(--green-mid); }
.hub-problems-link { margin: 0 0 22px; font-size: 0.95rem; }
.hub-problems-link a { color: var(--green-mid); font-weight: 700; padding: 5px 0; display: inline-block; }
