/* Current needs — RFQ-style panels on alt band */

.needs-stack {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 768px) {
  .needs-stack {
    grid-template-columns: repeat(2, 1fr);
  }

  .needs-stack > .needs-card:last-child {
    grid-column: 1 / -1;
  }
}

.needs-card {
  margin: 0;
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.needs-card-title {
  margin: 0 0 1rem;
  font-family: var(--font-display-face), serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

/* Horizontal rule under headline (Canola + Red lentils only) */
.needs-card--title-rule .needs-card-title {
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
}

.needs-card--title-rule .needs-product {
  margin: 0 0 1rem;
}

.needs-product {
  margin: -0.35rem 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.needs-subhead {
  margin: 1.25rem 0 0.75rem;
  font-family: var(--font-body-face), sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.needs-subhead:first-of-type {
  margin-top: 0;
}

.needs-subhead--table {
  margin-top: 1.5rem;
}

.needs-dl {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.needs-dl-row {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
}

@media (max-width: 479px) {
  .needs-dl-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

.needs-dl dt {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.needs-dl dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text);
}

.needs-table-wrap {
  overflow-x: auto;
  margin: 0;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.needs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.45;
  background: var(--bg);
}

.needs-table th,
.needs-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.needs-table thead th {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-bottom-color: var(--border);
}

.needs-table tbody tr:last-child th,
.needs-table tbody tr:last-child td {
  border-bottom: none;
}

.needs-table tbody th[scope="row"] {
  font-weight: 600;
  color: var(--text);
  width: 38%;
}

.needs-table td {
  color: var(--text);
}

html.dark .needs-table thead th {
  background: var(--sage);
}
