/* Academia ETERNI · acabado premium de producción */
:root{
  --eterni-ivory:#f8f5f0;
  --eterni-cream:#f1ebe4;
  --eterni-plum:#3f2947;
  --eterni-plum-soft:#6f5a75;
  --eterni-gold-premium:#b08a4a;
  --eterni-sage-premium:#74836f;
  --eterni-premium-line:rgba(63,41,71,.11);
  --eterni-premium-shadow:0 22px 55px rgba(47,33,51,.09);
}

/* Panel del alumno */
body[data-student-page="panel"]{background:var(--eterni-ivory)}
body[data-student-page="panel"] .student-dashboard-hero{
  background:var(--eterni-cream);
  border-bottom:1px solid rgba(176,138,74,.18);
}
body[data-student-page="panel"] .dashboard-date-card,
body[data-student-page="panel"] .summary-card,
body[data-student-page="panel"] .dashboard-panel,
body[data-student-page="panel"] .quick-access-grid>a,
body[data-student-page="panel"] .student-dynamic-card,
body[data-student-page="panel"] .student-loading-row{
  border-color:var(--eterni-premium-line);
  background:#fff;
  box-shadow:var(--eterni-premium-shadow);
}
body[data-student-page="panel"] .summary-card{position:relative;overflow:hidden}
body[data-student-page="panel"] .summary-card::before{
  content:"";position:absolute;top:0;left:20px;right:20px;height:2px;
  background:var(--eterni-gold-premium);opacity:.72;
}
body[data-student-page="panel"] .summary-card strong,
body[data-student-page="panel"] .student-dashboard-hero h1{color:var(--eterni-plum)}
body[data-student-page="panel"] .quick-access-grid>a{
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
body[data-student-page="panel"] .quick-access-grid>a:hover{
  transform:translateY(-3px);border-color:rgba(176,138,74,.34);
  box-shadow:0 26px 60px rgba(47,33,51,.12);
}
body[data-student-page="panel"] .ixchel-dashboard-card{
  background:var(--eterni-plum);
  border:1px solid rgba(176,138,74,.30);
  box-shadow:0 28px 65px rgba(47,33,51,.16);
}

/* Comunidad IXCHEL */
.ixchel-page{background:var(--eterni-ivory)}
.ixchel-page .ixchel-hero{
  background:var(--eterni-plum);
  border-bottom:1px solid rgba(224,194,137,.22);
}
.ixchel-page .ixchel-week-badge{
  background:#51395a;border-color:rgba(232,207,161,.24);
  box-shadow:0 24px 60px rgba(24,14,27,.22);
}
.ixchel-page .ixchel-hero-meta span{
  background:#51395a;border:1px solid rgba(255,255,255,.09);
}
.ixchel-page .ixchel-daily-panel,
.ixchel-page .ixchel-spotify-card,
.ixchel-page .ixchel-manual-download-card,
.ixchel-page .ixchel-chat-card,
.ixchel-page .ixchel-archive-card,
.ixchel-page .ixchel-values-card{
  background:#fff;border-color:var(--eterni-premium-line);
  box-shadow:var(--eterni-premium-shadow);backdrop-filter:none;
}
.ixchel-page .ixchel-phrase-card{
  background:#f5ecdf;border-color:rgba(176,138,74,.25);box-shadow:none;
}
.ixchel-page .ixchel-manual-cover-placeholder{background:var(--eterni-plum)}
.ixchel-page .ixchel-day-button{background:#fff;border-color:var(--eterni-premium-line)}
.ixchel-page .ixchel-day-button.active{
  background:var(--eterni-plum);border-color:var(--eterni-plum);
}
.ixchel-page .ixchel-chat-guideline{
  border-left:3px solid var(--eterni-gold-premium);background:#f8f4ed;
}

/* Administración IXCHEL */
.admin-body{background:#f7f4ef}
.admin-body .admin-sidebar{
  background:var(--eterni-plum);border-right:1px solid rgba(176,138,74,.20);
}
.admin-body .admin-sidebar nav a.active{
  background:#59405f;box-shadow:inset 3px 0 0 var(--eterni-gold-premium);
}
.admin-body .admin-panel-card,
.admin-body .ixchel-admin-form,
.admin-body .ixchel-admin-help,
.admin-body .ixchel-admin-history{
  background:#fff;border-color:var(--eterni-premium-line);
  box-shadow:var(--eterni-premium-shadow);
}
.admin-body .ixchel-admin-spotify-block,
.admin-body .ixchel-admin-manual-block,
.admin-body .ixchel-admin-daily-block{
  background:#faf8f5;border-color:var(--eterni-premium-line);
}
.admin-body .admin-primary-button{
  background:var(--eterni-plum);border-color:var(--eterni-plum);
}
.admin-body .admin-secondary-button{
  border-color:rgba(63,41,71,.16);background:#fff;
}
.admin-body input:focus,
.admin-body textarea:focus,
.admin-body select:focus{
  outline:2px solid rgba(176,138,74,.28);border-color:var(--eterni-gold-premium);
}

@media(max-width:760px){
  body[data-student-page="panel"] .student-dashboard-hero{padding-top:48px}
  .ixchel-page .ixchel-hero{padding-top:48px}
}


/* =========================================================
   Panel del alumno · refinamiento premium de producción
   ========================================================= */
body[data-student-page="panel"].student-app .student-dashboard-hero{
  padding-top:42px;
  padding-bottom:24px;
  background:
    radial-gradient(circle at 88% 14%,rgba(176,138,74,.10),transparent 31%),
    linear-gradient(180deg,#f3ede6 0%,#f7f3ee 100%);
}
body[data-student-page="panel"].student-app .dashboard-hero-grid{
  grid-template-columns:minmax(0,1.55fr) minmax(310px,.62fr);
  gap:32px;
  align-items:center;
}
body[data-student-page="panel"].student-app .student-dashboard-hero h1{
  max-width:830px;
  margin:10px 0 10px;
  font-size:clamp(54px,5.7vw,86px);
  line-height:.88;
  letter-spacing:-.045em;
  text-wrap:balance;
}
body[data-student-page="panel"].student-app .dashboard-welcome-copy{
  max-width:720px;
  margin:0;
  font-size:17px;
  line-height:1.65;
}
body[data-student-page="panel"].student-app .dashboard-inspiration{
  max-width:680px;
  margin:15px 0 0;
  padding-left:15px;
  border-left:2px solid rgba(176,138,74,.55);
  color:#776b76;
  font-family:"Cormorant Garamond",serif;
  font-size:18px;
  font-style:italic;
  line-height:1.4;
}
body[data-student-page="panel"].student-app .dashboard-date-card{
  min-height:132px;
  padding:24px 26px;
  border-radius:22px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
body[data-student-page="panel"].student-app .dashboard-date-card>span{
  color:#766a76;
  font-size:12px;
  font-weight:700;
}
body[data-student-page="panel"].student-app .dashboard-date-card>strong{
  margin:8px 0 5px;
  color:var(--eterni-plum);
  font-family:"Cormorant Garamond",serif;
  font-size:32px;
  line-height:1;
}
body[data-student-page="panel"].student-app .dashboard-date-card>small{
  color:#827783;
  line-height:1.45;
}
body[data-student-page="panel"].student-app .dashboard-summary-grid{gap:16px}
body[data-student-page="panel"].student-app .summary-card{
  min-height:142px;
  padding:21px 22px 20px;
  border-radius:21px;
}
body[data-student-page="panel"].student-app .summary-card::before{
  left:22px;right:22px;height:2px;opacity:.65;
}
body[data-student-page="panel"].student-app .summary-card .summary-icon{
  position:absolute;
  top:16px;
  right:18px;
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border:1px solid rgba(176,138,74,.22);
  border-radius:9px;
  color:#aa8348;
  background:#fbf7f0;
  font-size:8px;
  font-weight:900;
  letter-spacing:.08em;
}
body[data-student-page="panel"].student-app .summary-card>span:not(.summary-icon){
  display:block;
  padding-right:34px;
  color:#6f6470;
  font-size:11px;
  font-weight:700;
}
body[data-student-page="panel"].student-app .summary-card strong{
  margin:14px 0 6px;
  font-family:"Cormorant Garamond",serif;
  font-size:38px;
  font-weight:700;
  line-height:.95;
}
body[data-student-page="panel"].student-app .summary-card small{
  color:#817682;
  font-size:10px;
  line-height:1.45;
}
body[data-student-page="panel"].student-app .dashboard-main-grid{
  grid-template-columns:minmax(0,1.85fr) minmax(280px,.55fr);
  gap:20px;
}
body[data-student-page="panel"].student-app .continue-learning-card{
  min-height:410px;
  overflow:hidden;
  border-radius:26px;
}
body[data-student-page="panel"].student-app .continue-learning-card>img{
  filter:saturate(.92) contrast(.98);
}
body[data-student-page="panel"].student-app .continue-learning-overlay{
  background:linear-gradient(90deg,rgba(39,25,43,.88) 0%,rgba(39,25,43,.66) 37%,rgba(39,25,43,.20) 66%,rgba(39,25,43,.04) 100%);
}
body[data-student-page="panel"].student-app .continue-learning-copy{
  max-width:600px;
  padding:44px 46px;
}
body[data-student-page="panel"].student-app .continue-learning-copy h2{
  margin:12px 0 10px;
  font-size:clamp(44px,4.1vw,64px);
  line-height:.94;
}
body[data-student-page="panel"].student-app .continue-learning-copy p{
  max-width:510px;
  font-size:15px;
  line-height:1.45;
}
body[data-student-page="panel"].student-app .dashboard-side-column{
  gap:16px;
}
body[data-student-page="panel"].student-app .dashboard-panel{
  padding:25px;
  border-radius:22px;
}
body[data-student-page="panel"].student-app #studentNextStepPanel{
  min-height:242px;
  justify-content:center;
}
body[data-student-page="panel"].student-app #studentNextStepPanel h3{
  margin:12px 0 8px;
  font-family:"Cormorant Garamond",serif;
  font-size:27px;
  line-height:1.05;
}
body[data-student-page="panel"].student-app .academy-side-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  margin-top:18px;
  padding:10px 15px;
  border-radius:12px;
  color:#fff;
  background:var(--eterni-plum);
  font-size:10px;
  font-weight:850;
}
body[data-student-page="panel"].student-app .dashboard-recent-panel{
  min-height:132px;
  background:linear-gradient(145deg,#fffdfa,#f8f3eb);
}
body[data-student-page="panel"].student-app .dashboard-recent-panel h3{
  margin:12px 0 5px;
  color:var(--eterni-plum);
  font-family:"Cormorant Garamond",serif;
  font-size:22px;
  line-height:1.1;
}
body[data-student-page="panel"].student-app .dashboard-recent-panel p{
  color:#766b76;
  font-size:11px;
  line-height:1.5;
}
body[data-student-page="panel"].student-app .dashboard-two-column{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:start;
  gap:20px;
}
body[data-student-page="panel"].student-app .compact-heading h2{
  margin-top:7px;
  font-size:42px;
  line-height:1;
}
body[data-student-page="panel"].student-app .academy-program-preview-card{
  min-height:84px;
  padding:13px 14px;
  border-radius:18px;
  box-shadow:0 10px 26px rgba(47,33,51,.045);
}
body[data-student-page="panel"].student-app .academy-program-preview-card>img{
  width:72px;
  height:62px;
  border-radius:13px;
}
body[data-student-page="panel"].student-app .academy-program-preview-copy h4{
  font-size:14px;
}
body[data-student-page="panel"].student-app .academy-library-preview-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
body[data-student-page="panel"].student-app .academy-library-preview-card{
  grid-template-columns:82px minmax(0,1fr);
  min-height:132px;
  padding:13px;
  border-radius:19px;
  box-shadow:0 10px 26px rgba(47,33,51,.045);
}
body[data-student-page="panel"].student-app .academy-library-cover{
  width:82px;
  height:108px;
}
body[data-student-page="panel"].student-app .academy-library-preview-copy strong{
  font-size:23px;
}
body[data-student-page="panel"].student-app .academy-library-preview-copy em{
  color:var(--eterni-plum);
  font-size:9px;
}
body[data-student-page="panel"].student-app .ixchel-dashboard-card{
  min-height:142px;
  padding:25px 28px;
  border-radius:25px;
}
body[data-student-page="panel"].student-app .ixchel-dashboard-card h2{
  font-size:31px;
}
body[data-student-page="panel"].student-app .quick-access-section{
  padding-top:24px;
}
body[data-student-page="panel"].student-app .quick-access-grid{
  gap:14px;
}
body[data-student-page="panel"].student-app .quick-access-grid>a{
  min-height:150px;
  padding:21px 22px;
  border-radius:20px;
}
body[data-student-page="panel"].student-app .quick-access-grid>a>span{
  display:grid;
  place-items:center;
  width:31px;
  height:31px;
  margin-bottom:16px;
  border:1px solid rgba(176,138,74,.25);
  border-radius:10px;
  background:#fbf6ee;
  color:#a87d3f;
  font-size:9px;
}
body[data-student-page="panel"].student-app .quick-access-grid>a>strong{
  font-size:25px;
  line-height:1;
}
body[data-student-page="panel"].student-app .quick-access-grid>a>small{
  min-height:34px;
  margin-top:9px;
  line-height:1.5;
}
body[data-student-page="panel"].student-app .quick-access-grid>a>b{
  display:block;
  margin-top:12px;
  color:var(--eterni-plum);
  font-size:9px;
  font-weight:850;
}

@media(max-width:1120px){
  body[data-student-page="panel"].student-app .dashboard-hero-grid,
  body[data-student-page="panel"].student-app .dashboard-main-grid{
    grid-template-columns:1fr;
  }
  body[data-student-page="panel"].student-app .dashboard-side-column{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body[data-student-page="panel"].student-app #studentNextStepPanel,
  body[data-student-page="panel"].student-app .dashboard-recent-panel{
    min-height:170px;
  }
}
@media(max-width:820px){
  body[data-student-page="panel"].student-app .dashboard-two-column,
  body[data-student-page="panel"].student-app .academy-library-preview-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:620px){
  body[data-student-page="panel"].student-app .student-dashboard-hero{
    padding-top:28px;
  }
  body[data-student-page="panel"].student-app .student-dashboard-hero h1{
    font-size:50px;
  }
  body[data-student-page="panel"].student-app .dashboard-inspiration{
    font-size:16px;
  }
  body[data-student-page="panel"].student-app .dashboard-side-column{
    grid-template-columns:1fr;
  }
  body[data-student-page="panel"].student-app .continue-learning-card{
    min-height:440px;
  }
  body[data-student-page="panel"].student-app .continue-learning-copy{
    padding:30px 24px;
  }
  body[data-student-page="panel"].student-app .quick-access-grid{
    grid-template-columns:1fr;
  }
  body[data-student-page="panel"].student-app .quick-access-grid>a{
    min-height:126px;
  }
}


/* Panel del alumno · color suave por bloques */
:root{
  --eterni-tint-plum:#fbf7fc;
  --eterni-tint-rose:#fcf6f3;
  --eterni-tint-sage:#f5f8f3;
  --eterni-tint-gold:#fbf8f1;
  --eterni-tint-lilac:#f8f4fb;
}

body[data-student-page="panel"] .dashboard-date-card{
  background:linear-gradient(180deg, #fff, var(--eterni-tint-plum));
}

body[data-student-page="panel"] .summary-card:nth-child(1){
  background:linear-gradient(180deg, #fff, var(--eterni-tint-rose));
}
body[data-student-page="panel"] .summary-card:nth-child(2){
  background:linear-gradient(180deg, #fff, var(--eterni-tint-lilac));
}
body[data-student-page="panel"] .summary-card:nth-child(3){
  background:linear-gradient(180deg, #fff, var(--eterni-tint-sage));
}
body[data-student-page="panel"] .summary-card:nth-child(4){
  background:linear-gradient(180deg, #fff, var(--eterni-tint-gold));
}

body[data-student-page="panel"] .dashboard-panel.upcoming-panel{
  background:linear-gradient(180deg, #fff, var(--eterni-tint-lilac));
}
body[data-student-page="panel"] .dashboard-panel.dashboard-recent-panel{
  background:linear-gradient(180deg, #fff, var(--eterni-tint-sage));
}

body[data-student-page="panel"] .academy-program-preview-card,
body[data-student-page="panel"] .academy-library-preview-card,
body[data-student-page="panel"] .student-clean-empty{
  border:1px solid var(--eterni-premium-line);
  box-shadow:var(--eterni-premium-shadow);
}

body[data-student-page="panel"] .academy-program-preview-card:nth-child(odd){
  background:linear-gradient(180deg, #fff, var(--eterni-tint-rose));
}
body[data-student-page="panel"] .academy-program-preview-card:nth-child(even){
  background:linear-gradient(180deg, #fff, var(--eterni-tint-lilac));
}

body[data-student-page="panel"] .academy-library-preview-card:nth-child(1){
  background:linear-gradient(180deg, #fff, var(--eterni-tint-gold));
}
body[data-student-page="panel"] .academy-library-preview-card:nth-child(2){
  background:linear-gradient(180deg, #fff, var(--eterni-tint-sage));
}
body[data-student-page="panel"] .academy-library-preview-card:nth-child(3){
  background:linear-gradient(180deg, #fff, var(--eterni-tint-rose));
}

body[data-student-page="panel"] .quick-access-grid > a:nth-child(1){
  background:linear-gradient(180deg, #fff, var(--eterni-tint-rose));
}
body[data-student-page="panel"] .quick-access-grid > a:nth-child(2){
  background:linear-gradient(180deg, #fff, var(--eterni-tint-gold));
}
body[data-student-page="panel"] .quick-access-grid > a:nth-child(3){
  background:linear-gradient(180deg, #fff, var(--eterni-tint-sage));
}
body[data-student-page="panel"] .quick-access-grid > a:nth-child(4){
  background:linear-gradient(180deg, #fff, var(--eterni-tint-lilac));
}

body[data-student-page="panel"] .quick-access-grid > a strong,
body[data-student-page="panel"] .academy-program-preview-copy h4,
body[data-student-page="panel"] .academy-library-preview-copy strong{
  color:var(--eterni-plum);
}

body[data-student-page="panel"] .academy-program-preview-card:hover,
body[data-student-page="panel"] .academy-library-preview-card:hover,
body[data-student-page="panel"] .dashboard-date-card:hover,
body[data-student-page="panel"] .summary-card:hover{
  box-shadow:0 26px 60px rgba(47,33,51,.12);
  transform:translateY(-2px);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

body[data-student-page="panel"] .academy-program-preview-card,
body[data-student-page="panel"] .academy-library-preview-card,
body[data-student-page="panel"] .dashboard-date-card,
body[data-student-page="panel"] .summary-card{
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

body[data-student-page="panel"] .academy-library-cover{
  background:rgba(255,255,255,.72);
  border:1px solid rgba(176,138,74,.18);
}

body[data-student-page="panel"] .quick-access-grid > a b,
body[data-student-page="panel"] .academy-library-preview-copy em{
  color:var(--eterni-plum);
}
