/* Lot Motivation — atelier Défis */
.defis-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.defis-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}
@media (max-width: 720px) {
  .defis-form-grid {
    grid-template-columns: 1fr;
  }
}
.defis-form-grid .full {
  grid-column: 1 / -1;
}
.defis-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.defis-row {
  border: 1px solid var(--border, #e5e5e0);
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--card, #fff);
}
.defis-row-hd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.defis-row-hd b {
  font-size: 1.02rem;
}
.defis-pill {
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f0f4f8;
  color: #334;
}
.defis-pill.ok {
  background: #e8f5e9;
  color: #1b5e20;
}
.defis-pill.warn {
  background: #fff8e1;
  color: #6d4c00;
}
.defis-pill.muted {
  background: #eee;
  color: #555;
}
.defis-meta {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.45;
}
.defis-bar {
  height: 6px;
  border-radius: 4px;
  background: #e8e8e4;
  margin: 8px 0 6px;
  overflow: hidden;
}
.defis-bar > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #6b9bd1, #3d7eaa);
  border-radius: 4px;
  max-width: 100%;
}
.defis-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.defis-card-strip {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border, #e0e0dc);
  background: var(--card2, #fafaf8);
}
.defis-card-strip .defis-card-title {
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0 0 6px;
}
.defis-card-strip .defis-card-reward {
  font-size: 0.85rem;
  color: #555;
  margin-top: 6px;
}
.defis-card-strip .defis-card-days {
  font-size: 0.8rem;
  color: #666;
}