/* Stable supplier filters, aligned with the controls used on the Tasks page. */
.sup-page {
  max-width: none;
}

.sup-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(2, minmax(160px, 1fr));
  gap: 12px;
  align-items: stretch;
}

.sup-bar > input[type="search"],
.sup-bar > select {
  width: 100%;
  min-width: 0;
  height: 42px;
  box-sizing: border-box;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-chip);
  background: var(--panel);
  color: var(--text);
  font-size: 12px;
}

.sup-modes {
  width: 100%;
  min-width: 0;
  height: 42px;
  box-sizing: border-box;
  margin-left: 0;
  border-radius: var(--r-chip);
}

.sup-modes button {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 8px;
}

@media (max-width: 980px) {
  .sup-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sup-bar > input[type="search"],
  .sup-modes {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .sup-bar {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .sup-bar > input[type="search"],
  .sup-modes {
    grid-column: auto;
  }
}
