.ingredient-toolbar { display: flex; gap: 12px; max-width: 680px; margin-bottom: 14px; }
.ingredient-toolbar .field { flex: 1; min-width: 0; }
.result-count { min-height: 1.4em; margin-bottom: 18px; color: var(--text-soft); font-size: 0.84rem; }
.ingredient-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ingredient-card { display: flex; min-height: 118px; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease; }
.ingredient-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 55%, white); box-shadow: var(--shadow); }
.ingredient-name { color: var(--text); font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.ingredient-card-bottom { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; color: var(--text-soft); font-size: 0.82rem; }
.ingredient-count { white-space: nowrap; }
.ingredient-arrow { color: var(--accent-dark); font-weight: 650; white-space: nowrap; }
#ingredient-results[aria-busy="true"] { opacity: 0.72; }
@media (max-width: 900px) { .ingredient-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ingredient-grid { grid-template-columns: 1fr; } .ingredient-toolbar { align-items: stretch; } }
