.action-card {
  margin: 16rpx 0;
  border: 1rpx solid #d7e2f1;
  border-radius: 18rpx;
  background: #fff;
  box-shadow: 0 10rpx 24rpx rgba(18, 62, 124, 0.06);
  overflow: hidden;

  &__header {
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 8rpx;
    align-items: center;
    padding: 24rpx 26rpx 18rpx;
    background: #edf5ff;
    color: #0f172a;
  }

  &__eyebrow {
    grid-column: 1 / -1;
    color: #123e7c;
    font-size: 22rpx;
    font-weight: 800;
  }

  &__title {
    color: #0f172a;
    font-size: 30rpx;
    font-weight: 800;
  }

  &__risk {
    padding: 6rpx 14rpx;
    border-radius: 999rpx;
    font-size: 21rpx;
    font-weight: 700;

    &.is-low { background: #ecfdf5; color: #047857; }
    &.is-medium { background: #fff7ed; color: #c2410c; }
    &.is-high { background: #fef2f2; color: #b91c1c; }
  }

  &__body {
    padding: 22rpx 26rpx;
  }

  &__desc {
    display: block;
    font-size: 26rpx;
    color: #334155;
    line-height: 1.55;
  }

  &__reason {
    display: block;
    margin-top: 10rpx;
    font-size: 23rpx;
    color: #64748b;
    line-height: 1.5;
  }

  &__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8rpx;
    margin-top: 14rpx;

    text {
      max-width: 100%;
      padding: 5rpx 12rpx;
      border-radius: 999rpx;
      background: #f1f5f9;
      color: #475569;
      font-size: 20rpx;
      font-weight: 700;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
  }

  &__warning {
    display: block;
    margin-top: 12rpx;
    color: #b91c1c;
    font-size: 22rpx;
    font-weight: 700;
    line-height: 1.45;
  }

  &__actions {
    display: flex;
    gap: 16rpx;
    padding: 0 26rpx 24rpx;
  }

  &__btn {
    flex: 1;
    text-align: center;
    height: 70rpx;
    border-radius: 999rpx;
    font-size: 25rpx;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;

    &.is-cancel {
      color: #64748b;
      background: #f8fafc;
      border: 1rpx solid #e2e8f0;
    }

    &.is-confirm {
      color: #ffffff;
      background: #123e7c;
      box-shadow: 0 8rpx 18rpx rgba(18, 62, 124, 0.18);
    }

    &.is-disabled {
      color: #94a3b8;
      background: #e5e7eb;
      box-shadow: none;
    }
  }
}
