/* Farmers market chalkboard for the label decoder */
.chalk-tool .tool__result {
  background: var(--ink);
  color: var(--surface);
  border: 8px solid color-mix(in srgb, var(--ink) 70%, var(--brand));
  border-radius: var(--radius);
  box-shadow: inset 0 0 40px color-mix(in srgb, var(--surface) 6%, transparent);
}
.chalk-tool .tool__result .tool__result-head,
.chalk-tool .tool__result .tool__result-body {
  background: var(--ink);
}
.chalk-tool .tool__result .result-label,
.chalk-tool .tool__result .result-sub,
.chalk-tool .tool__result .note {
  color: color-mix(in srgb, var(--surface) 78%, transparent);
}
.chalk-tool .tool__result .result-value {
  color: var(--surface);
  letter-spacing: 0.01em;
}
.chalk-tool .tool__result a {
  color: var(--surface);
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 3px;
}
.chalk-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.chalk-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed color-mix(in srgb, var(--surface) 30%, transparent);
  color: var(--surface);
}
.chalk-list li:last-child { border-bottom: 0; }
.chalk-list li > span:first-child { flex: 1 1 auto; }
.chalk-list li > .num {
  flex: none;
  align-self: center;
  height: auto;
  width: auto;
  text-align: right;
  font-weight: 600;
  padding: 0.05rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}
.chalk-yes {
  background: var(--brand);
  color: var(--surface);
}
.chalk-no {
  border: 1px solid color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--surface);
}
.chalk-na {
  color: color-mix(in srgb, var(--surface) 65%, transparent);
  font-style: italic;
  font-weight: 400;
}
.chalk-tool select { min-width: 220px; }
@media (min-width: 761px) {
  .chalk-tool .tool__panel {
    position: sticky;
    top: 24px;
    align-self: start;
  }
}
/* Produce residue table: keep the findings column tight */
lg-table table th:last-child,
lg-table table td:last-child {
  max-width: 16rem;
}
.aff-box a[rel~="sponsored"] {
  color: color-mix(in srgb, var(--brand) 70%, #000);
}
@media (max-width: 480px) {
  .chalk-list li { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .chalk-list li > .num { align-self: flex-start; }
}