/* Block 05: compact top alignment and the original five-step color sequence. */
.sewes-audit {
  padding-top: 56px;
}

.sewes-audit__top {
  align-items: start;
}

.sewes-audit__lower {
  margin-top: 28px;
}

.sewes-audit__flow::before {
  top: 145px;
}

.sewes-audit__step {
  grid-template-rows: 72px 130px auto;
  gap: 8px;
}

.sewes-audit__node {
  min-height: 130px;
  gap: 8px;
  padding: 14px 8px;
  border-radius: 12px;
  background: #e9f5f3;
  box-shadow: none;
}

.sewes-audit__step:nth-child(2) .sewes-audit__node,
.sewes-audit__step:nth-child(3) .sewes-audit__node {
  background: #fff1ed;
}

.sewes-audit__symbol {
  color: #092759;
}

.sewes-audit__step:nth-child(2) .sewes-audit__symbol,
.sewes-audit__step:nth-child(3) .sewes-audit__symbol {
  color: #f45120;
}

.sewes-audit__symbol svg {
  width: 38px;
  height: 38px;
}

.sewes-audit__label {
  font-size: clamp(14px, 1.11vw, 16px);
}

.sewes-audit__caption {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.4;
}

.sewes-audit__step:nth-child(2) .sewes-audit__caption,
.sewes-audit__step:nth-child(3) .sewes-audit__caption {
  color: #f45120;
}

.sewes-audit__exclamation {
  background: #ff632f;
  color: #fff;
}

@media (max-width: 1100px) {
  .sewes-audit__lower {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 899px) {
  .sewes-audit {
    padding-top: 40px;
  }

  .sewes-audit__lower {
    margin-top: 24px;
  }

  .sewes-audit__step {
    grid-template-columns: minmax(110px, 150px) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 8px 16px;
    align-items: center;
  }

  .sewes-audit__node {
    min-height: 112px;
  }

  .sewes-audit__symbol svg {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 599px) {
  .sewes-audit {
    padding-top: 32px;
  }

  .sewes-audit__step {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 4px 12px;
  }

  .sewes-audit__node {
    min-height: 106px;
    padding: 9px 5px;
  }

  .sewes-audit__symbol svg {
    width: 30px;
    height: 30px;
  }

  .sewes-audit__label {
    font-size: 13px;
  }

  .sewes-audit__caption {
    margin: 0;
    font-size: 13px;
  }
}
