:not(.Flex) > .Flex.Flex-height-fill {
  height: 100%;
}

:not(.Flex) > .Flex.Flex-width-fill {
  width: 100%;
}

.Flex.Flex-vertical > .Flex.Flex-width-fill {
  align-self: stretch;
}

.Flex.Flex-vertical > .Flex.Flex-height-fill {
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: 0px;
}

.Flex.Flex-vertical > .Flex:not(.Flex-height-fill) {
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
}

.Flex.Flex-horizontal > .Flex.Flex-width-fill {
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: 0px;
}

.Flex.Flex-horizontal > .Flex.Flex-height-fill {
  align-self: stretch;
}

.Flex.Flex-horizontal > .Flex:not(.Flex-width-fill) {
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
}

.Flex:has(> .Flex.Flex-scroll) {
  overflow: hidden;
}
