
/* Acciones rápidas de relaciones de proveedor: el servidor define qué acciones están disponibles. */
.supplier-relation-table {
  min-width: 1240px;
}

.supplier-relation-table th:nth-child(1),
.supplier-relation-table td:nth-child(1) {
  width: 28%;
}

.supplier-relation-table th:nth-child(2),
.supplier-relation-table td:nth-child(2) {
  width: 23%;
}

.supplier-relation-table th:nth-child(3),
.supplier-relation-table td:nth-child(3) {
  width: 15%;
}

.supplier-relation-table th:nth-child(4),
.supplier-relation-table td:nth-child(4) {
  width: 19%;
}

.supplier-relation-table th:nth-child(5),
.supplier-relation-table td:nth-child(5) {
  width: 15%;
}

.supplier-relation-table .table-action-cell {
  min-width: 210px;
}

.supplier-relation-quick-actions {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.supplier-relation-quick-actions .button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 38px;
  white-space: nowrap;
}

.supplier-relation-review-action {
  font-weight: 850;
}

.supplier-relation-more-actions-trigger {
  gap: 5px;
}

.supplier-relation-actions-menu {
  background: #fff;
  border: 1px solid #c9dacf;
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(24, 56, 39, 0.2);
  display: grid;
  gap: 3px;
  max-width: min(320px, calc(100vw - 20px));
  min-width: 244px;
  padding: 6px;
  position: fixed;
  z-index: 80;
}

.supplier-relation-actions-menu[hidden] {
  display: none;
}

.supplier-relation-actions-menu-item {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: none;
  color: #183827;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 780;
  line-height: 1.35;
  min-height: 42px;
  padding: 9px 10px;
  text-align: left;
  width: 100%;
}

.supplier-relation-actions-menu-item:hover,
.supplier-relation-actions-menu-item:focus-visible {
  background: #edf8f0;
  border-color: #b8d8c1;
  color: #123b23;
  outline: none;
}

.supplier-relation-actions-menu-item[data-tone="risk"] {
  color: #875000;
}

.supplier-relation-actions-menu-item[data-tone="risk"]:hover,
.supplier-relation-actions-menu-item[data-tone="risk"]:focus-visible {
  background: #fff7e8;
  border-color: #f0cd87;
  color: #6d4000;
}

.supplier-relation-actions-menu-item[data-tone="critical"] {
  color: #9b2727;
}

.supplier-relation-actions-menu-item[data-tone="critical"]:hover,
.supplier-relation-actions-menu-item[data-tone="critical"]:focus-visible {
  background: #fff1f1;
  border-color: #efc1c1;
  color: #7e1f1f;
}

.supplier-relation-actions-menu-separator {
  border-top: 1px solid #e2ece5;
  margin: 4px 3px;
}

.supplier-relation-actions-menu-empty {
  color: #5e7065;
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
  padding: 8px;
}

.supplier-relation-mobile-results {
  display: none;
}

.supplier-relation-action-modal {
  background: #fff;
  border: 1px solid #c9dacf;
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(21, 43, 30, 0.3);
  color: var(--ink);
  max-height: min(720px, calc(100vh - 28px));
  max-width: min(570px, calc(100vw - 28px));
  overflow: auto;
  padding: 0;
  width: 100%;
}

.supplier-relation-action-modal::backdrop {
  background: rgba(13, 30, 21, 0.52);
}

.supplier-relation-action-modal-form {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 22px;
}

.supplier-relation-action-modal-form > header {
  display: grid;
  gap: 5px;
}

.supplier-relation-action-modal-form h2,
.supplier-relation-action-modal-form p {
  margin: 0;
}

.supplier-relation-action-context {
  background: #f5faf6;
  border: 1px solid #dce9e0;
  border-radius: 10px;
  display: grid;
  gap: 9px 14px;
  grid-template-columns: minmax(126px, auto) minmax(0, 1fr);
  margin: 0;
  padding: 13px;
}

.supplier-relation-action-context dt {
  color: #53665a;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.supplier-relation-action-context dd {
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  overflow-wrap: anywhere;
}

.supplier-relation-action-reason,
.supplier-relation-action-note {
  display: grid;
  gap: 6px;
  margin: 0;
}

.supplier-relation-action-reason > span,
.supplier-relation-action-note > span {
  color: #31483a;
  font-size: 13px;
  font-weight: 850;
}

.supplier-relation-action-reason textarea,
.supplier-relation-action-note textarea {
  margin: 0;
  min-height: 76px;
  resize: vertical;
  width: 100%;
}

.supplier-relation-action-error {
  background: #fff1f1;
  border: 1px solid #efc1c1;
  border-radius: 9px;
  color: #861f1f;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 11px;
}

.supplier-relation-action-modal-actions {
  align-items: center;
  border-top: 1px solid #dce9e0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 2px;
  padding-top: 15px;
}

@media (max-width: 760px) {
  .supplier-relation-table-scroll {
    display: none;
  }

  .supplier-relation-mobile-results {
    display: grid;
    gap: 12px;
  }

  .supplier-relation-mobile-card {
    background: #fff;
    border: 1px solid #d4e4d9;
    border-left: 3px solid #76bd8d;
    border-radius: 12px;
    display: grid;
    gap: 12px;
    padding: 14px;
  }

  .supplier-relation-mobile-card-header {
    display: grid;
    gap: 12px;
  }

  .supplier-relation-mobile-card-section {
    border-top: 1px solid #e2ece5;
    display: grid;
    gap: 5px;
    padding-top: 11px;
  }

  .supplier-relation-mobile-card-section [data-relation-product] {
    display: grid;
    gap: 4px;
  }

  .supplier-relation-mobile-card-section [data-relation-product] .supplier-relation-side {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .supplier-relation-mobile-scope {
    border-top: 1px solid #e2ece5;
    padding-top: 11px;
  }

  .supplier-relation-mobile-detail {
    border-top: 1px dashed #bfd5c6;
    padding-top: 9px;
  }

  .supplier-relation-mobile-card-actions {
    border-top: 1px solid #dce9e0;
    padding-top: 12px;
  }

  .supplier-relation-mobile-card-actions .supplier-relation-quick-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .supplier-relation-mobile-card-actions .button {
    min-height: 44px;
    width: 100%;
  }

  .supplier-relation-mobile-offer-link {
    align-items: center;
    background: #f4fbf5;
    border: 1px solid #bad8c1;
    border-radius: 8px;
    color: #14532d;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    justify-content: center;
    min-height: 44px;
    padding: 0 12px;
    text-decoration: none;
  }
}

@media (max-width: 420px) {
  .supplier-relation-mobile-card {
    border-radius: 10px;
    padding: 12px;
  }

  .supplier-relation-mobile-card-actions .supplier-relation-quick-actions {
    grid-template-columns: 1fr;
  }

  .supplier-relation-action-modal-form,
  .supplier-relation-batch-modal-form {
    gap: 10px;
    padding: 12px;
  }

  .supplier-relation-action-context {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 10px;
  }

  .supplier-relation-action-context dd {
    margin-bottom: 3px;
  }

  .supplier-relation-action-note textarea {
    min-height: 64px;
  }

  .supplier-relation-action-modal-actions,
  .supplier-relation-batch-modal-actions {
    padding-top: 10px;
  }

  .supplier-relation-action-modal-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .supplier-relation-action-modal-actions .button {
    width: 100%;
  }
}

/* Flujo de revisión de relaciones: pasos independientes, sin forzar el alto de las tarjetas comparadas. */
.supplier-relation-flow {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  margin-inline: auto;
  max-width: 1180px;
  min-width: 0;
}

.supplier-relation-flow .supplier-relation-step,
.supplier-relation-flow .supplier-relation-step__content {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.supplier-relation-flow .supplier-relation-step {
  scroll-margin-top: 24px;
}

.supplier-relation-flow .supplier-relation-step--compare,
.supplier-relation-flow .supplier-relation-step--decision {
  border: 1px solid #d6e4da;
  border-radius: 14px;
  padding: clamp(16px, 2vw, 22px);
}

.supplier-relation-flow .supplier-relation-step--compare {
  background: #ffffff;
  border-top: 3px solid #79bf8d;
}

.supplier-relation-flow .supplier-relation-step--decision {
  background: #f8fbf9;
  border-top: 3px solid #4f8a62;
}

.supplier-relation-flow .supplier-relation-step--compare .supplier-relation-comparison,
.supplier-relation-flow .supplier-relation-step--decision .supplier-relation-decision-impact {
  margin: 0;
  max-width: none;
}

/* La comparación mantiene cuatro lecturas claras en escritorio y permite texto largo. */
.supplier-relation-comparison {
  max-width: 100%;
  overflow: visible;
}

.supplier-relation-comparison-grid > div {
  align-items: start;
  gap: 12px;
  grid-template-columns: minmax(116px, 0.7fr) minmax(0, 1.25fr) minmax(0, 1.25fr) minmax(156px, 0.9fr);
  min-width: 0;
  padding: 11px 0;
}

.supplier-relation-comparison-grid dt,
.supplier-relation-comparison-grid dd,
.supplier-relation-comparison-grid dd strong,
.supplier-relation-comparison-grid > div > :last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.supplier-relation-comparison-grid > div > :last-child {
  align-self: start;
  justify-self: start;
  max-width: 100%;
}

.supplier-relation-comparison-reference {
  background: #f4f8f5;
  border-radius: 8px;
  padding-inline: 10px !important;
}

.supplier-relation-comparison-reference-note {
  align-self: center !important;
  color: #46594d;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.45;
}

/* La opción de continuar es una elección compacta y clicable, también para el markup anterior. */
.supplier-relation-flow .supplier-relation-continue-option,
.supplier-relation-workflow .supplier-relation-next-pending {
  background: #f4f9f5;
  border: 1px solid #cfe0d4;
  border-radius: 10px;
  margin: 0;
  max-width: 680px;
  padding: 0;
}

.supplier-relation-flow .supplier-relation-continue-option label,
.supplier-relation-workflow .supplier-relation-next-pending label {
  align-items: start;
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: 20px minmax(0, 1fr);
  margin: 0;
  min-height: 52px;
  padding: 12px;
}

.supplier-relation-flow .supplier-relation-continue-option input[type="checkbox"],
.supplier-relation-workflow .supplier-relation-next-pending input[type="checkbox"] {
  accent-color: var(--accent-2);
  block-size: 18px;
  inline-size: 18px;
  margin: 2px 0 0;
}

.supplier-relation-flow .supplier-relation-continue-option label > :not(input),
.supplier-relation-workflow .supplier-relation-next-pending label > :not(input) {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.supplier-relation-flow .supplier-relation-continue-option small,
.supplier-relation-workflow .supplier-relation-next-pending small {
  color: #526359;
  line-height: 1.4;
}

/* Las dos decisiones son alternativas con jerarquía visible, no variaciones de un botón de riesgo. */
.supplier-relation-flow .supplier-relation-decision-grid {
  align-items: stretch;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  min-width: 0;
}

.supplier-relation-flow .supplier-relation-action {
  background: #ffffff;
  border: 1px solid #d6e4da;
  border-radius: 12px;
  display: grid;
  gap: 10px;
  margin: 0;
  min-inline-size: 0;
  padding: 15px;
}

.supplier-relation-flow .supplier-relation-action--link {
  border-top: 3px solid var(--accent-strong);
}

.supplier-relation-flow .supplier-relation-action--block {
  background: #fffaf0;
  border-color: #e5c983;
  border-top: 3px solid #c4861d;
}

.supplier-relation-flow .supplier-relation-action :is(button, .button) {
  justify-content: center;
  min-height: 44px;
  width: 100%;
}

.supplier-relation-flow .supplier-relation-action :is(button, .button):disabled {
  background: #e9efeb;
  border: 1px solid #cfdad2;
  color: #5b6a60;
  opacity: 1;
}

.supplier-relation-flow .supplier-relation-action :is(button, .button):focus-visible,
.supplier-relation-flow .supplier-relation-continue-option label:focus-within {
  outline: 3px solid var(--focus-ring-color);
  outline-offset: 3px;
}

/* El impacto queda subordinado a la decisión, dentro del tercer paso. */
.supplier-relation-flow .supplier-relation-step--decision .supplier-relation-decision-impact {
  background: #f2f8f4;
  border: 1px solid #d6e4da;
  border-radius: 10px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.supplier-relation-flow .supplier-relation-step--decision .supplier-relation-decision-impact .section-heading {
  margin-bottom: 0;
}

.supplier-relation-flow .supplier-relation-step--decision .supplier-relation-impact-details {
  margin-top: 0;
}

@media (max-width: 960px) {
  .supplier-relation-flow .supplier-relation-step--compare,
  .supplier-relation-flow .supplier-relation-step--decision {
    padding: 18px;
  }

  .supplier-relation-flow .supplier-relation-step--review .supplier-relation-editor,
  .supplier-relation-flow .supplier-relation-decision-grid {
    grid-template-columns: 1fr;
  }

  .supplier-relation-comparison-grid > div {
    grid-template-columns: minmax(104px, 0.65fr) minmax(0, 1fr);
  }

  .supplier-relation-comparison-grid dt {
    grid-row: span 2;
  }

  .supplier-relation-comparison-grid > div > :last-child {
    grid-column: 2 / -1;
  }

  .supplier-relation-comparison-reference-note {
    padding-top: 2px;
  }
}

@media (max-width: 640px) {
  .supplier-relation-flow {
    gap: 14px;
  }

  .supplier-relation-flow .supplier-relation-step--compare,
  .supplier-relation-flow .supplier-relation-step--decision {
    border-radius: 12px;
    padding: 14px;
  }

  .supplier-relation-comparison {
    border-radius: 9px;
    padding: 12px;
  }

  .supplier-relation-comparison-heading,
  .supplier-relation-comparison-actions {
    align-items: stretch;
    flex-wrap: wrap;
    width: 100%;
  }

  .supplier-relation-comparison-grid > div {
    gap: 7px;
    grid-template-columns: 1fr;
  }

  .supplier-relation-comparison-grid dt,
  .supplier-relation-comparison-grid > div > :last-child {
    grid-column: auto;
    grid-row: auto;
  }

  .supplier-relation-comparison-reference {
    padding-block: 10px !important;
  }

  .supplier-relation-flow .supplier-relation-continue-option,
  .supplier-relation-workflow .supplier-relation-next-pending {
    max-width: none;
  }

  .supplier-relation-flow .supplier-relation-action {
    padding: 14px;
  }

  .supplier-relation-flow .supplier-relation-step--decision .supplier-relation-decision-impact {
    padding: 12px;
  }
}

/* Selección por lote de grupos de relación: preparada para el conector de acciones masivas. */
.supplier-relation-table--batch {
  min-width: 1360px;
}

.supplier-relation-table--batch th:nth-child(1),
.supplier-relation-table--batch td:nth-child(1) {
  width: 6%;
}

.supplier-relation-table--batch th:nth-child(2),
.supplier-relation-table--batch td:nth-child(2) {
  width: 28%;
}

.supplier-relation-table--batch th:nth-child(3),
.supplier-relation-table--batch td:nth-child(3) {
  width: 22%;
}

.supplier-relation-table--batch th:nth-child(4),
.supplier-relation-table--batch td:nth-child(4) {
  width: 15%;
}

.supplier-relation-table--batch th:nth-child(5),
.supplier-relation-table--batch td:nth-child(5) {
  width: 17%;
}

.supplier-relation-table--batch th:nth-child(6),
.supplier-relation-table--batch td:nth-child(6) {
  width: 12%;
}

.supplier-relation-table--batch .supplier-relation-batch-selection-cell {
  min-width: 76px;
  padding-inline: 10px;
  text-align: center;
  vertical-align: middle;
}

.supplier-relation-table--batch .supplier-relation-product-row > td:first-child {
  border-left: 0;
}

.supplier-relation-table--batch .supplier-relation-product-row > td:nth-child(2) {
  border-left: 3px solid #76bd8d;
}

.supplier-relation-batch-select-all,
.supplier-relation-batch-select-control input {
  accent-color: var(--accent-strong);
  block-size: 19px;
  cursor: pointer;
  inline-size: 19px;
  margin: 0;
}

.supplier-relation-batch-select-control {
  align-items: center;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  min-height: 44px;
}

.supplier-relation-batch-select-all-control {
  align-items: center;
  color: #40554a;
  cursor: pointer;
  display: grid;
  font-size: 10px;
  font-weight: 850;
  gap: 5px;
  justify-items: center;
  letter-spacing: 0.025em;
  line-height: 1.2;
  text-transform: uppercase;
}

.supplier-relation-batch-ineligible {
  color: #5b6d62;
  display: grid;
  font-size: 11px;
  gap: 3px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: left;
}

.supplier-relation-batch-ineligible strong {
  color: #40554a;
  font-size: 10px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.supplier-relation-batch-bar {
  align-items: center;
  background: #f4fbf5;
  border: 1px solid #bad8c1;
  border-left: 4px solid var(--accent-strong);
  border-radius: 12px;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(230px, 1.45fr) minmax(260px, 1fr) auto;
  margin: 0 0 14px;
  padding: 15px 16px;
}

.supplier-relation-batch-bar[hidden],
.supplier-relation-batch-feedback [hidden] {
  display: none;
}

.supplier-relation-batch-summary {
  display: grid;
  gap: 4px;
}

.supplier-relation-batch-summary h3,
.supplier-relation-batch-summary p,
.supplier-relation-batch-feedback p,
.supplier-relation-batch-page-scope,
.supplier-relation-batch-warning {
  margin: 0;
}

.supplier-relation-batch-summary h3 {
  color: #163827;
  font-size: 17px;
}

.supplier-relation-batch-impact,
.supplier-relation-batch-modal-impact {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.supplier-relation-batch-impact > div,
.supplier-relation-batch-modal-impact > div {
  background: #fff;
  border: 1px solid #d3e5d8;
  border-radius: 9px;
  display: grid;
  gap: 3px;
  padding: 8px 9px;
}

.supplier-relation-batch-impact dt,
.supplier-relation-batch-modal-impact dt {
  color: #53665a;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.supplier-relation-batch-impact dd,
.supplier-relation-batch-modal-impact dd {
  color: #183827;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
}

.supplier-relation-batch-actions {
  display: flex;
  justify-content: flex-end;
}

.supplier-relation-batch-actions .button,
.supplier-relation-batch-modal-actions .button {
  min-height: 44px;
}

.supplier-relation-batch-feedback {
  margin: 0 0 14px;
}

.supplier-relation-batch-feedback p {
  border: 1px solid #bad8c1;
  border-radius: 10px;
  color: #183827;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 12px;
}

.supplier-relation-batch-feedback [data-relation-batch-feedback="error"] {
  background: #fff5f5;
  border-color: #efc1c1;
  color: #861f1f;
}

.supplier-relation-batch-feedback [data-relation-batch-feedback="partial"] {
  background: #fffaf0;
  border-color: #f0d8a1;
  color: #704513;
}

.supplier-relation-batch-modal {
  background: #fff;
  border: 1px solid #c9dacf;
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(21, 43, 30, 0.3);
  color: var(--ink);
  max-height: min(720px, calc(100vh - 28px));
  max-width: min(610px, calc(100vw - 28px));
  overflow: auto;
  padding: 0;
  width: 100%;
}

.supplier-relation-batch-modal::backdrop {
  background: rgba(13, 30, 21, 0.52);
}

.supplier-relation-batch-modal-form {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 22px;
}

.supplier-relation-batch-modal-form > header,
.supplier-relation-batch-reason,
.supplier-relation-batch-note {
  display: grid;
  gap: 6px;
}

.supplier-relation-batch-modal-form h2,
.supplier-relation-batch-modal-form p {
  margin: 0;
}

.supplier-relation-batch-modal-impact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.supplier-relation-batch-modal-impact--audit {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.supplier-relation-batch-page-scope {
  background: #f5faf6;
  border: 1px solid #dce9e0;
  border-radius: 9px;
  color: #385143;
  font-size: 13px;
  line-height: 1.45;
  padding: 10px 11px;
}

.supplier-relation-batch-reason,
.supplier-relation-batch-note {
  margin: 0;
}

.supplier-relation-batch-reason > span,
.supplier-relation-batch-note > span {
  color: #31483a;
  font-size: 13px;
  font-weight: 850;
}

.supplier-relation-batch-reason select,
.supplier-relation-batch-note textarea {
  margin: 0;
  min-height: 44px;
  width: 100%;
}

.supplier-relation-batch-note textarea {
  min-height: 86px;
  resize: vertical;
}

.supplier-relation-batch-warning {
  background: #fff8ea;
  border-left: 3px solid #d79216;
  color: #704513;
  font-size: 13px;
  line-height: 1.45;
  padding: 10px 11px;
}

.supplier-relation-batch-modal-actions {
  align-items: center;
  border-top: 1px solid #dce9e0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  padding-top: 15px;
}

.supplier-relation-batch-modal :is(button, input, select, textarea):focus-visible {
  outline: 3px solid var(--focus-ring-color);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .supplier-relation-batch-bar {
    align-items: stretch;
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .supplier-relation-batch-actions .button {
    width: 100%;
  }

  .supplier-relation-mobile-batch-selection {
    background: #f5faf6;
    border: 1px solid #dce9e0;
    border-radius: 10px;
    display: grid;
    gap: 7px;
    padding: 10px;
  }

  .supplier-relation-mobile-batch-select-all {
    align-items: center;
    background: #f4fbf5;
    border: 1px solid #bad8c1;
    border-radius: 10px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding: 10px 12px;
  }

  .supplier-relation-mobile-batch-select-all .supplier-relation-batch-select-all-control {
    font-size: 11px;
    gap: 8px;
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }

  .supplier-relation-mobile-batch-selection .supplier-relation-batch-ineligible {
    margin: 0;
  }
}

@media (max-width: 420px) {
  .supplier-relation-batch-impact,
  .supplier-relation-batch-modal-impact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .supplier-relation-batch-modal-form {
    padding: 16px;
  }

  .supplier-relation-batch-modal-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .supplier-relation-batch-modal-actions .button {
    width: 100%;
  }
}
