.rule-eo {
  width: calc(100vw - #{$ix-marg-e});
  height: calc(100vh - #{$ix-marg-d});
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  @include gradient-v($g2-kevlar, $g0-obsidian);
  border-radius: 0 0 $radius $radius;

  .rule-eo-contents {
    padding-left: $ix-marg-d;
    padding-right: $ix-marg-d;
  }

  .condition-row {
    display: flex;
    flex-direction: column;
    background-color: $g5-pepper;
    border-radius: $radius;
    margin-bottom: 4px;
    padding: 10px;

    .period-count--container {
      display: flex;
      flex-direction: row;
      margin-bottom: 4px;
      align-items: center;
      .count-input,
      .period-input {
        flex: 100px;
      }
    }

    .status-levels--container {
      display: flex;
      flex-direction: row;
      align-items: center;
    }

    .tag-rule {
      display: flex;
      flex-direction: row;
    }
  }

  .sentence-frag {
    background-color: $g7-graphite;
    border-radius: $radius;
    font-size: 12px;
    padding: 0 9px;
    height: 30px;
    line-height: 26px;
    text-align: center;
    font-weight: bold;
  }

  .color-dropdown--item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .color-dropdown--swatch {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 5px;
  }
}
