/* 0.13.2 · «Otra medida»: list of measures plus a field to type one's own (MegaProduct's 0 in the list).
   Row 1: list + unit (as every measure). Row 2: the typed measure, right under the list and as wide. */
.ndxcfg .ndxcfg-input-wrap.has-other {
  display: grid;
  grid-template-columns: minmax(0, 140px) auto;
  justify-content: start;
  align-items: center;
  column-gap: 6px;
  row-gap: 8px;
}
.ndxcfg .ndxcfg-input-wrap.has-other select.ndxcfg-m { grid-column: 1; grid-row: 1; width: 100%; max-width: none; }
.ndxcfg .ndxcfg-input-wrap.has-other .ndxcfg-unit { grid-column: 2; grid-row: 1; }
.ndxcfg .ndxcfg-input-wrap.has-other .ndxcfg-m-other { grid-column: 1; grid-row: 2; width: 100%; max-width: none; min-width: 0; }
.ndxcfg .ndxcfg-m-other[hidden] { display: none !important; }
@media (max-width: 575px) {
  .ndxcfg .ndxcfg-input-wrap.has-other { grid-template-columns: minmax(0, 1fr) auto; justify-content: stretch; }
}
