.soil-alerts-hero {
  margin-top: 1.25rem;
}

.soil-alerts-hero .section__header {
  flex-wrap: nowrap;
  align-items: flex-start;
}

.soil-alerts-hero .section__header > :first-child {
  min-width: 0;
  flex: 1 1 auto;
}

.soil-alerts-hero__actions {
  margin-left: auto;
  flex: 0 0 auto;
  align-self: flex-start;
}

.soil-alert-grid {
  margin-top: 1.2rem;
}

.soil-alert-card__status {
  margin-top: 0.55rem;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(20, 36, 51, 0.08);
  background: rgba(255, 255, 255, 0.56);
}

.soil-alert-card__status--none {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(20, 36, 51, 0.1);
}

.soil-alert-card__status--configured {
  background: rgba(55, 115, 163, 0.1);
  border-color: rgba(55, 115, 163, 0.24);
}

.soil-alert-card__status--triggered {
  background: rgba(238, 122, 87, 0.12);
  border-color: rgba(238, 122, 87, 0.28);
}

.soil-alert-card__status-label {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.soil-alert-card__status-message {
  margin: 0.35rem 0 0;
  font-weight: 700;
  line-height: 1.55;
}

.soil-alert-card__status-detail {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.soil-alert-card__rule-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.soil-alert-card__rule {
  padding-top: 0.7rem;
  border-top: 1px solid rgba(20, 36, 51, 0.08);
}

.soil-alert-card__rule-threshold {
  margin: 0;
  font-weight: 700;
}

.soil-alert-card__rule-message {
  margin: 0.3rem 0 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

@media (max-width: 760px) {
  .soil-alerts-hero .section__header {
    flex-wrap: wrap;
  }

  .soil-alerts-hero__actions {
    margin-left: 0;
  }
}
