textarea {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
  resize: vertical;
  width: 100%;
}

.seed-tools {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.35fr 1fr;
}

.seed-tools > section + section {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.seed-manual-form {
  display: grid;
  gap: 10px;
  grid-template-columns: 2fr 1fr;
}

.seed-manual-form label,
.seed-manual-form .wide {
  margin: 0;
}

.seed-manual-form label:nth-of-type(2),
.seed-manual-form .wide {
  grid-column: 1 / -1;
}

.checkbox-label {
  align-items: center;
  display: flex;
  gap: 8px;
}

.checkbox-label input {
  margin: 0;
  width: auto;
}

.xlsx-tools form {
  margin-bottom: 14px;
}

.xlsx-tools button,
.export-seeds {
  width: 100%;
}

.export-seeds {
  text-align: center;
}

.seed-filters {
  align-items: end;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  grid-template-columns: 2fr 1.4fr 1fr auto auto;
  margin-top: 24px;
  padding-top: 20px;
}

.seed-filters label {
  margin: 0;
}

.table-scroll {
  overflow-x: auto;
}

.seed-table {
  min-width: 980px;
}

.seed-table td:nth-child(3) {
  max-width: 340px;
  overflow-wrap: anywhere;
}

.seed-table td:nth-child(7) {
  max-width: 260px;
  white-space: normal;
}

.seed-state {
  border-radius: 99px;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
}

.seed-state.active {
  background: var(--accent2);
  color: var(--accent);
}

.seed-state.inactive {
  background: #edf0ee;
  color: var(--muted);
}

.import-report {
  background: #edf8f1;
  border: 1px solid #bddfca;
  border-radius: 12px;
  margin-top: 22px;
  padding: 16px;
}

.import-report.has-errors {
  background: #fff8e8;
  border-color: #eed699;
}

.import-report h3 {
  margin-top: 0;
}

.import-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.import-metrics span {
  background: white;
  border-radius: 8px;
  padding: 7px 10px;
}

.import-report details {
  margin-top: 14px;
}

.import-report summary {
  cursor: pointer;
  font-weight: 700;
}

@media (max-width: 900px) {
  .seed-tools,
  .seed-filters {
    grid-template-columns: 1fr;
  }

  .seed-tools > section + section {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 20px;
  }
}

@media (max-width: 600px) {
  .seed-manual-form {
    grid-template-columns: 1fr;
  }

  .seed-manual-form label,
  .seed-manual-form label:nth-of-type(2),
  .seed-manual-form .wide {
    grid-column: auto;
  }
}
