.hiw-automation-panel {
  flex: 1;
  min-height: 260px;
  margin-top: 18px;
  padding: 22px 22px 18px;
  border: 1px solid #dceaff;
  border-radius: 20px;
  background: linear-gradient(145deg, #f7fbff, #edf5ff 72%, #f9fcff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hiw-automation-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.hiw-automation-kicker {
  color: #3980dd;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.hiw-automation-heading h3 {
  margin: 5px 0 0;
  color: #142b4d;
  font-size: 20px;
  line-height: 1.2;
}

.hiw-live-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid #ccebdc;
  border-radius: 999px;
  background: #f5fff9;
  color: #16814d;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.hiw-live-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #20bb72;
  box-shadow: 0 0 0 4px rgba(32, 187, 114, 0.12);
}

.hiw-automation-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
}

.hiw-automation-line {
  position: absolute;
  top: 17px;
  right: 30px;
  left: 30px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #9bc4f4 0 8px, transparent 8px 14px);
}

.hiw-automation-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-align: center;
}

.hiw-automation-node-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 5px solid #f5faff;
  border-radius: 50%;
  background: #287bed;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(40, 123, 237, 0.24);
}

.hiw-automation-node--orange .hiw-automation-node-icon { background: #f39a22; box-shadow: 0 4px 12px rgba(243, 154, 34, 0.24); }
.hiw-automation-node--green .hiw-automation-node-icon { background: #18ad6c; box-shadow: 0 4px 12px rgba(24, 173, 108, 0.24); }

.hiw-automation-node strong,
.hiw-automation-node small {
  display: block;
}

.hiw-automation-node strong {
  color: #193558;
  font-size: 13px;
}

.hiw-automation-node small {
  margin-top: 4px;
  color: #7890ad;
  font-size: 11px;
}

.hiw-automation-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #d9e8f8;
  color: #7890ad;
  font-size: 11px;
  text-align: center;
}

.hiw-automation-footer b {
  display: block;
  margin-bottom: 3px;
  color: #287bed;
  font-size: 18px;
}

.section-how-it-works .hiw-flow-card {
  justify-content: flex-start;
  gap: 10px;
}

.hiw-automation-kicker {
  letter-spacing: 0;
}

@media (max-width: 600px) {
  .hiw-automation-panel {
    min-height: 0;
    margin-top: 8px;
    padding: 16px 10px;
  }

  .hiw-automation-heading {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hiw-automation-heading h3 {
    font-size: 18px;
  }

  .hiw-automation-track {
    gap: 8px;
    margin-top: 24px;
  }

  .hiw-automation-node strong {
    font-size: 12px;
  }

  .hiw-automation-node small {
    overflow-wrap: anywhere;
  }
}
