.headerWrap {
  position: relative;
  z-index: 1000;
  display: flex;
  padding: 12px 24px;
  margin: 0 -24px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--semi-color-border);

  > div {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }
}

.contentWrap {
  position: relative;
  display: flex;
  height: calc(100vh - 56px);
  margin: 0 -24px;
  flex-wrap: nowrap;

  main {
    padding: 24px;
    overflow: auto;
    flex: 1;

    &.isMobile {
      padding: 0 0 24px;
      overflow: hidden;

      > div {
        height: 100%;
        padding: 24px;
        margin-top: 71px;
        overflow: auto;
      }
    }

    :global {
      #diff-visual {
        del {
          color: #cb4000;
          text-decoration: none;
          list-style: none;
          background-color: #ffeaea;
        }

        del::before {
          position: relative;
          top: -2px;
          padding: 0 4px;
          font-weight: 400;
          color: #8a8f8d;
          text-decoration: none;
          content: '-';
        }

        ins {
          color: green;
          text-decoration: none;
          list-style: none;
          background-color: #e9ffe9;
        }

        ins::before {
          position: relative;
          top: -2px;
          padding: 0 4px;
          font-weight: 400;
          color: #8a8f8d;
          text-decoration: none;
          content: '+';
        }
      }
    }
  }

  aside {
    width: 240px;
    border-left: 1px solid var(--semi-color-border);
    overflow: auto;

    &.isMobile {
      position: absolute;
      top: 0;
      left: 0;
      display: flex;
      width: 100%;
      height: 71px;
      padding: 8px 24px;
      overflow: auto;
      border-left: 0;
      border-bottom: 1px solid var(--semi-color-border);
      flex-wrap: nowrap;
    }

    .item {
      display: flex;
      height: 54px;
      padding: 8px 12px;
      margin-top: 8px;
      white-space: nowrap;
      cursor: pointer;
      border-radius: var(--semi-border-radius-small);
      align-items: center;
      flex-direction: column;

      &.isMobile {
        margin: 0;
      }

      &:hover {
        color: var(--semi-color-text-1);
        background-color: var(--semi-color-fill-1);
      }

      &.selected {
        color: var(--semi-color-primary);
        background-color: var(--semi-color-primary-light-default);
      }
    }
  }
}
