.plantan-tool {
  padding: clamp(1.2rem, 2.5vw, 2rem);
  border: 1px solid var(--color-line, rgba(28, 46, 36, 0.14));
  border-radius: var(--radius-md, 1.25rem);
  background: var(--color-white, #fffefb);
  box-shadow: 0 14px 34px rgba(28, 46, 36, 0.06);
}

.plantan-tool__fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 0.85rem;
}

.plantan-tool__field {
  display: grid;
  min-width: 0;
  gap: 0.4rem;
}

.plantan-tool__field label {
  color: var(--color-primary, #1c2e24);
  font-size: 0.82rem;
  font-weight: 800;
}

.plantan-tool__field input,
.plantan-tool__field select {
  width: 100%;
  min-height: 3rem;
  padding: 0.68rem 0.75rem;
  border: 1px solid rgba(28, 46, 36, 0.28);
  border-radius: 0.55rem;
  background: #fff;
}

.plantan-tool__field input:focus,
.plantan-tool__field select:focus {
  border-color: var(--color-terracotta, #c47b5b);
  box-shadow: 0 0 0 3px rgba(196, 123, 91, 0.14);
  outline: none;
}

.plantan-tool__status {
  min-height: 1.55rem;
  margin: 1.1rem 0 0.75rem;
  color: var(--color-muted, #4a534c);
  font-size: 0.9rem;
  font-weight: 700;
}

.plantan-matcher__results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.matcher-result {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--color-line, rgba(28, 46, 36, 0.14));
  border-radius: 0.85rem;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.matcher-result:hover {
  border-color: rgba(196, 123, 91, 0.55);
  color: inherit;
}

.matcher-result__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ede6d9;
}

.matcher-result__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.matcher-result__body {
  padding: 1rem;
}

.matcher-result h3 {
  margin-bottom: 0.35rem;
  font-size: 1.25rem;
}

.matcher-result p {
  margin-bottom: 0.7rem;
  color: var(--color-muted, #4a534c);
  font-size: 0.86rem;
}

.matcher-result__status {
  color: #6f3f2f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plantan-tool__tabs {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  padding: 0.35rem;
  overflow-x: auto;
  border-radius: 0.7rem;
  background: #ede6d9;
}

.plantan-tool__tabs button {
  min-height: 2.65rem;
  flex: 1;
  padding: 0.55rem 0.8rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: #1c2e24;
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.plantan-tool__tabs button[aria-selected="true"] {
  background: #1c2e24;
  color: #fffefb;
  box-shadow: 0 4px 12px rgba(28, 46, 36, 0.16);
}

.plantan-calculator [role="tabpanel"] h2 {
  font-size: clamp(1.55rem, 1.3rem + 0.7vw, 2rem);
}

.plantan-calculator__result {
  min-height: 4rem;
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid #c47b5b;
  border-radius: 0 0.65rem 0.65rem 0;
  background: #f6f1e7;
}

.plantan-calculator__result:empty {
  display: none;
}

.plantan-calculator__result strong {
  display: block;
  color: #1c2e24;
  font-family: Newsreader, Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.2;
}

.plantan-calculator__result span {
  display: block;
  margin-top: 0.35rem;
  color: #4a534c;
  font-size: 0.84rem;
}

.plantan-tool__disclaimer {
  margin: 1.4rem 0 0;
  color: #4a534c;
  font-size: 0.78rem;
}

@media (max-width: 880px) {
  .plantan-tool__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plantan-matcher__results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .plantan-tool__fields,
  .plantan-matcher__results {
    grid-template-columns: 1fr;
  }

  .plantan-tool__tabs button {
    flex: none;
  }
}

