/* ============================================================
   ACADEMIA DE CRACKS · Parent dashboard (iter11)
   ============================================================
   Tono: calmo, padre que quiere entender sin ser invadido por flair.
   Paleta más neutra que el resto de la app — menos naranja, más gris.
   ============================================================ */

.pd-screen {
  background: #0d1117;
  color: var(--white);
}

.pd-screen .scroll {
  padding-top: 8px;
}

.pd-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 16px;
}

.pd-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: 1px solid rgba(255,255,255,0.1);
  background-size: cover;
  background-position: center;
}
.pd-avatar.has-photo { color: transparent; }

.pd-kicker {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
}
.pd-header h2 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
}
.pd-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

.pd-card {
  margin: 0 16px 12px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}

.pd-card h3 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  margin: 0 0 14px;
}

.pd-week-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.pd-stat {
  text-align: center;
  padding: 10px 6px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
}
.pd-stat-v {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}
.pd-stat-k {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pd-mood-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border-left: 3px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  font-size: 13px;
}
.pd-mood-icon { font-size: 22px; line-height: 1; }
.pd-mood-text { color: rgba(255,255,255,0.85); line-height: 1.4; }

.pd-archetype {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.pd-archetype-icon {
  font-size: 36px;
  line-height: 1;
}
.pd-archetype-label {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.pd-archetype-tag {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

.pd-pot-mini {
  padding: 10px 12px;
  background: rgba(255,158,0,0.06);
  border-radius: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pd-conf {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-left: auto;
}
.pd-conf-high   { color: #54d6ff; background: rgba(109,255,74,0.12); }
.pd-conf-medium { color: var(--orange); background: rgba(255,158,0,0.12); }
.pd-conf-low    { color: #ff8a8a; background: rgba(255,138,138,0.12); }

.pd-next-ach {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pd-next-ach-icon {
  font-size: 32px;
  line-height: 1;
  opacity: 0.6;
  filter: grayscale(0.4);
}
.pd-next-ach-label {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.pd-next-ach-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

.pd-health-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}
.pd-health-cell {
  text-align: center;
  padding: 10px 6px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
}
.pd-health-k {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.pd-health-v {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.pd-health-v.small { font-size: 13px; font-family: inherit; font-weight: 500; color: rgba(255,255,255,0.7); }

.pd-parents-note {
  margin-top: 8px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
}

.pd-recommendation {
  background: rgba(255,158,0,0.04);
  border-color: rgba(255,158,0,0.18);
}

.pd-reco-body {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.pd-reco-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
}
.pd-reco-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.pd-reco-text {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}

/* iter12: preguntas para tu hijo */
.pd-questions { background: rgba(140, 180, 255, 0.04); border-color: rgba(140, 180, 255, 0.15); }
.pd-questions-list { display: flex; flex-direction: column; gap: 10px; }
.pd-question {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border-left: 2px solid rgba(140, 180, 255, 0.4);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
}
.pd-question-icon { font-size: 18px; line-height: 1.3; flex-shrink: 0; }
.pd-question-text { flex: 1; }
.pd-questions-note {
  margin-top: 12px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  line-height: 1.5;
}
