/* ── Besoin Énergétique Journalier — styles ── */

.dej-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 520px) {
  .dej-grid-2 { grid-template-columns: 1fr; }
}

.dej-fieldset {
  border: none;
  padding: 0;
  margin: 0;
}
.dej-fieldset legend {
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.dej-radio-row {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin-top: 0.3rem;
}
.dej-radio-row label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  font-weight: 400;
}

.dej-hint {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.3rem;
  font-style: italic;
}

.dej-subhead {
  font-size: 1rem;
  font-weight: 600;
  color: #0066cc;
  margin: 1.2rem 0 0.6rem;
  border-bottom: 1px solid #dde6f0;
  padding-bottom: 0.3rem;
}

.dej-training-grid {
  background: #f0f6ff;
  border: 1px solid #cce0ff;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
}
.dej-session-row {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 1rem;
}
@media (max-width: 600px) {
  .dej-session-row { grid-template-columns: 1fr 1fr; }
  .dej-session-row > label:last-child { grid-column: 1 / -1; }
}

/* ── Result cards ── */
.dej-result-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.dej-card {
  background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
  border-radius: 14px;
  padding: 1.2rem 1rem;
  color: #fff;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,102,204,0.18);
  transition: transform .18s;
}
.dej-card:hover { transform: translateY(-3px); }
.dej-card.highlight {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  box-shadow: 0 4px 18px rgba(5,150,105,0.25);
}
.dej-card.warn {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}
.dej-card-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: .85;
  margin-bottom: 0.5rem;
}
.dej-card-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.dej-card-unit {
  font-size: 0.85rem;
  opacity: .8;
  margin-top: 0.2rem;
}

/* ── Summary box ── */
.dej-summary-box {
  background: #f0f9ff;
  border-left: 4px solid #0066cc;
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  line-height: 1.7;
}
.dej-summary-box strong { color: #0066cc; }

/* ── Intro ── */
.intro {
  background: #f8faff;
  border-left: 4px solid #0066cc;
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  font-size: 0.97rem;
  line-height: 1.7;
}

/* ── Table scroll ── */
.table-scroll { overflow-x: auto; margin: 0.5rem 0 1rem; }
.fc-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.fc-table th {
  background: #eef4ff;
  color: #003d80;
  font-weight: 700;
  padding: 0.55rem 0.8rem;
  border-bottom: 2px solid #c3d9ff;
  text-align: left;
}
.fc-table td {
  padding: 0.5rem 0.8rem;
  border-bottom: 1px solid #e8f0fc;
}
.fc-table tr:last-child td { border-bottom: none; }
.fc-table tr:hover td { background: #f3f8ff; }

/* ── Note orange ── */
.note.note-orange {
  background: #fffbeb;
  border-left: 4px solid #d97706;
  border-radius: 0 10px 10px 0;
  padding: 0.9rem 1.1rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 1rem 0;
}
.note.note-orange svg { flex-shrink: 0; color: #d97706; }
