/* =========================================================================
   MixSyn compatibility checker (Figma 1139:9223)
   Loaded with the tool only (library syngenta_theme/mixsyn).
   ========================================================================= */
.mixsyn__checker { padding-block: 76px 78px; background: #fff; text-align: center; }
.mixsyn__checker .eyebrow {
  margin-bottom: 30px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
}
.mixsyn__title {
  margin: 0 0 30px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.33;
  color: #2b3024;
}
.mixsyn__intro {
  max-width: 980px;
  margin: 0 auto 30px;
  font-size: 1.0625rem;
  line-height: 28px;
  color: #636e78;
}

.mixsyn__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px 36px;
  border: 1px solid #e5eaed;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 22px -8px rgba(13, 31, 13, 0.08);
  text-align: start;
}
.mixsyn__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mixsyn__field label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: #2b3024;
}
.mixsyn__field select {
  width: 100%;
  height: 58px;
  padding-block: 0; padding-inline: 18px 46px;
  border: 1px solid #e5eaed;
  border-radius: 12px;
  background: #fff var(--icon-chevron) right 18px center / 16px no-repeat;
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  font-size: 0.94rem;
  color: var(--syn-ink);
}
.mixsyn__field select:focus { outline: none; border-color: var(--syn-green-500); }
.mixsyn__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.mixsyn__help { margin: 0; max-width: 808px; font-size: 0.875rem; line-height: 22px; color: #636e78; }
.mixsyn__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 300px;
  min-height: 56px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--syn-orange);
  box-shadow: 0 10px 24px -6px rgba(26, 41, 15, 0.16);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
}
.mixsyn__submit:hover { background: var(--syn-orange-600); }
.mixsyn__submit-icon {
  width: 20px; height: 20px;
  background: #fff;
  -webkit-mask: var(--icon-search-plain) center / contain no-repeat;
  mask: var(--icon-search-plain) center / contain no-repeat;
}

/* Result band. */
.mixsyn__result-band { padding-block: 76px; background: #f4f7f9; }
.mixsyn__result-band .eyebrow {
  margin-bottom: 30px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
}
.mixsyn__result-grid {
  display: grid;
  grid-template-columns: minmax(0, 790px) minmax(0, 378px);
  justify-content: space-between;
  gap: 32px;
  align-items: stretch;
}
.mixsyn__result {
  padding: 34px 46px 30px;
  border-radius: 24px;
  background: #03084d;
  box-shadow: 0 10px 24px -6px rgba(26, 41, 15, 0.16);
  color: #fff;
}
/* The verdict colours the panel and its status dot. */
.mixsyn__result[data-status="compatible"] { background: #0e4d22; }
.mixsyn__result[data-status="caution"] { background: #5c3c05; }
.mixsyn__result[data-status="avoid"] { background: #5a1410; }
.mixsyn__status {
  display: block;
  width: 42px; height: 42px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #40e073;
}
.mixsyn__result[data-status="caution"] .mixsyn__status { background: var(--syn-amber); }
.mixsyn__result[data-status="avoid"] .mixsyn__status { background: #ff6b5e; }
.mixsyn__pair {
  margin: 0 0 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.mixsyn__result-title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  font-weight: 600;
  line-height: 40px;
  color: #fff;
}
.mixsyn__result-text { margin: 0 0 10px; max-width: 680px; font-size: 1rem; line-height: 27px; color: #d1dbf5; }
.mixsyn__result-note { margin: 0 0 10px; max-width: 680px; font-size: 0.875rem; line-height: 22px; color: #9eb2db; }
.mixsyn__steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 680px;
  margin: 0;
  padding: 10px 0 0;
}
.mixsyn__steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  line-height: 18px;
  color: #9eb2db;
}
.mixsyn__steps li span {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 14px;
  background: #3d4d94;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}
.mixsyn__steps li.is-current { color: #fff; }
.mixsyn__steps li.is-current span { background: #40e073; }

.mixsyn__legend {
  padding: 28px 32px;
  border: 1px solid #e5eaed;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 22px -8px rgba(13, 31, 13, 0.08);
}
.mixsyn__legend h3 {
  margin: 0 0 10px;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 30px;
  color: #2b3024;
}
.mixsyn__legend-item {
  position: relative;
  margin: 0;
  padding-block: 10px; padding-inline: 34px 0;
  font-size: 0.75rem;
  line-height: 18px;
  color: #636e78;
}
.mixsyn__legend-item::before {
  content: "";
  position: absolute;
  top: 13px;
  inset-inline-start: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
}
.mixsyn__legend-item strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2b3024;
}
.mixsyn__legend-item--compatible::before { background: #16a34a; }
.mixsyn__legend-item--caution::before { background: var(--syn-amber); }
.mixsyn__legend-item--avoid::before { background: #dc2626; }

/* Recette (Figma "État de résultat", 1139:9265): more air between the
   lines of the verdict and of the legend. */
.mixsyn__result { display: flex; flex-direction: column; padding: 44px 48px 40px; }
.mixsyn__status { margin-bottom: 22px; }
.mixsyn__result-title { margin-bottom: 22px; }
.mixsyn__result-text { margin-bottom: 14px; }
.mixsyn__result-note { margin-bottom: 26px; }
.mixsyn__steps { margin-top: auto; padding-top: 14px; }
.mixsyn__legend { padding: 34px 32px; }
.mixsyn__legend h3 { margin-bottom: 18px; }
.mixsyn__legend-item { padding-block: 14px; }
.mixsyn__legend-item::before { top: 15px; }
.mixsyn__legend-item strong { margin-bottom: 6px; }

/* Recette: the result keeps its two columns on tablets; on phones the two
   product choices and the steps stay side by side. */
@media (max-width: 720px) {
  .mixsyn__checker,
.mixsyn__result-band { padding-block: 48px; }
  .mixsyn__form { padding: 20px; }
  .mixsyn__row { gap: 12px; }
  .mixsyn__result-grid { grid-template-columns: minmax(0, 1fr); }
  .mixsyn__submit { min-width: 0; width: 100%; }
  .mixsyn__result { padding: 28px 22px; }
  .mixsyn__steps { gap: 8px 12px; }
  .mixsyn__steps li { font-size: 0.8rem; }
}
@media (max-width: 480px) {
  /* Recette (xs): one select per row, each at full width. */
  .mixsyn__row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
