/* Sistema pedagógico común para los 45 cursos y sus cinco estaciones. */
body[data-screen="module"]{
  --ped-ink:#082b55;
  --ped-copy:#405873;
  --ped-line:#cbdbea;
  --ped-blue:#1558a0;
  --ped-cyan:#1399bd;
  --ped-green:#17835d;
  --ped-gold:#b76d0c;
}
.learning-compass{
  --station-color:var(--ped-blue);
  margin:0 0 16px;
  border-top:3px solid var(--station-color);
  border-bottom:1px solid var(--ped-line);
  background:#fff;
}
.learning-lab-principle{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 16px;background:linear-gradient(90deg,#f0f8fd,#f6f2fb 52%,#eef8f4);border-bottom:1px solid #d6e2ec}
.learning-lab-principle>span{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:#fff;color:var(--station-color);border:1px solid color-mix(in srgb,var(--station-color) 25%,#fff)}
.learning-lab-principle>span .icon{width:22px;height:22px}
.learning-lab-principle small{display:block;color:#4e6b84;font-size:9px;font-weight:850}
.learning-lab-principle b{display:block;margin:2px 0;color:#082b55;font-size:16px}
.learning-lab-principle p{margin:0;color:#4c657b;font-size:11px}
.learning-lab-principle>strong{padding:7px 11px;border-radius:6px;background:var(--station-color);color:#fff;font-size:10px;white-space:nowrap}
.learning-compass.s1{--station-color:var(--ped-cyan)}
.learning-compass.s2{--station-color:var(--ped-blue)}
.learning-compass.s3{--station-color:#6858a1}
.learning-compass.s4{--station-color:var(--ped-gold)}
.learning-compass.s5{--station-color:var(--ped-green)}
.learning-compass-head{
  display:grid;
  grid-template-columns:36px minmax(0,1fr) auto auto;
  align-items:center;
  gap:12px;
  padding:14px 16px 12px;
}
.learning-compass-head>span{
  width:34px;height:34px;display:grid;place-items:center;
  color:#fff;background:var(--station-color);border-radius:7px;
}
.learning-compass-head>span .icon{width:18px;height:18px}
.learning-compass-head small,.activity-primer small{
  display:block;color:#61758b;font-size:10px;font-weight:800;letter-spacing:0;text-transform:uppercase;
}
.learning-compass-head b{display:block;color:var(--ped-ink);font-size:16px}
.learning-compass-head em{
  font-style:normal;font-size:12px;font-weight:700;color:var(--station-color);
  border-left:1px solid var(--ped-line);padding-left:14px;
}
.learning-capacity{padding:6px 12px;border-left:1px solid var(--ped-line);border-right:1px solid var(--ped-line)}
.learning-capacity small{font-size:8px}
.learning-capacity b{font-size:11px;color:var(--station-color)}
.learning-compass ol{
  list-style:none;margin:0;padding:0 16px 14px;
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;
}
.learning-compass li{
  min-width:0;display:grid;grid-template-columns:24px 22px minmax(0,1fr);
  align-items:center;gap:8px;padding:10px 12px;border-left:1px solid var(--ped-line);
}
.learning-compass li:first-child{border-left:0;padding-left:0}
.learning-compass li:last-child{padding-right:0}
.learning-compass-number{
  width:24px;height:24px;border:1px solid var(--station-color);border-radius:50%;
  display:grid;place-items:center;color:var(--station-color);font-size:11px;font-weight:800;
}
.learning-compass li>.icon{width:18px;height:18px;color:var(--station-color)}
.learning-compass li small{display:block;color:#6a7d91;font-size:10px}
.learning-compass li b{display:block;color:var(--ped-ink);font-size:12px;line-height:1.3}
.activity-primer{
  --station-color:var(--ped-blue);
  display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:12px;
  margin:0 0 16px;padding:14px 16px;background:#f7fafc;border:1px solid var(--ped-line);border-radius:7px;
}
.activity-primer-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:color-mix(in srgb,var(--station-color) 12%,white);color:var(--station-color);border:1px solid color-mix(in srgb,var(--station-color) 28%,white)}
.activity-primer-icon .icon{width:23px;height:23px}
.activity-primer.s1{--station-color:var(--ped-cyan)}
.activity-primer.s2{--station-color:var(--ped-blue)}
.activity-primer.s3{--station-color:#6858a1}
.activity-primer.s4{--station-color:var(--ped-gold)}
.activity-primer.s5{--station-color:var(--ped-green)}
.activity-primer-index{
  min-width:104px;padding:9px 12px;background:var(--station-color);color:#fff;border-radius:6px;
  font-size:12px;font-weight:800;text-align:center;
}
.activity-primer h2{margin:2px 0 2px;font-size:18px;color:var(--ped-ink);letter-spacing:0}
.activity-primer p{margin:0;color:var(--ped-copy);font-size:12px;line-height:1.45}
.activity-primer-status{display:flex;align-items:center;gap:6px;color:var(--station-color);font-size:11px;font-weight:800}
.activity-primer-status .icon{width:17px;height:17px}
body[data-screen="module"] .station-body,
body[data-screen="module"] .work-zone{font-family:'Atkinson Hyperlegible','Inter',Arial,sans-serif}
body[data-screen="module"] .station-body h1,
body[data-screen="module"] .station-body h2,
body[data-screen="module"] .station-body h3,
body[data-screen="module"] .station-body h4{letter-spacing:0}
body[data-screen="module"] .work-card,
body[data-screen="module"] .soft{border-radius:7px;box-shadow:0 1px 3px rgba(8,43,85,.06)}
body[data-screen="module"] .work-card p,
body[data-screen="module"] .soft p{max-width:76ch}
body[data-screen="module"] button.primary,
body[data-screen="module"] a.primary{min-height:44px;font-weight:800}

/* Paleta pastel editorial: clara, adulta y consistente en todas las estaciones. */
body[data-screen="module"] .station-body>.work-zone{
  border-color:#d7e2ed;
  background:#f8fbfd;
  box-shadow:0 8px 24px rgba(8,43,85,.06);
}
body[data-screen="module"] .station-body.s1>.work-zone{background:#f2fbfb}
body[data-screen="module"] .station-body.s2>.work-zone{background:#f3f8fd}
body[data-screen="module"] .station-body.s3>.work-zone{background:#f8f5fc}
body[data-screen="module"] .station-body.s4>.work-zone{background:#fff9f0}
body[data-screen="module"] .station-body.s5>.work-zone{background:#f2faf6}
body[data-screen="module"] .work-card{
  border-color:#d7e2ed;
  background:#fff;
}
body[data-screen="module"] .work-card-hero{
  background:#f3edff;
  border-color:#d9c8f3;
  box-shadow:inset 4px 0 0 #8067b7,0 2px 7px rgba(72,52,112,.07);
}
body[data-screen="module"] .work-card-hero .work-ico{background:#8067b7}
body[data-screen="module"] .work-grid-2>.work-card:nth-child(1),
body[data-screen="module"] .work-grid-3>.work-card:nth-child(1){background:#edf8f4;border-color:#cce8dd}
body[data-screen="module"] .work-grid-2>.work-card:nth-child(1) .work-ico,
body[data-screen="module"] .work-grid-3>.work-card:nth-child(1) .work-ico{background:#d9f2e8;color:#16785a}
body[data-screen="module"] .work-grid-2>.work-card:nth-child(2),
body[data-screen="module"] .work-grid-3>.work-card:nth-child(2){background:#eef5fc;border-color:#cfdfef}
body[data-screen="module"] .work-grid-2>.work-card:nth-child(2) .work-ico,
body[data-screen="module"] .work-grid-3>.work-card:nth-child(2) .work-ico{background:#dceafa;color:#1558a0}
body[data-screen="module"] .work-grid-3>.work-card:nth-child(3){background:#fff5e7;border-color:#efdcbf}
body[data-screen="module"] .work-grid-3>.work-card:nth-child(3) .work-ico{background:#f8e6c9;color:#9b5c0b}
body[data-screen="module"] .work-card-activity{
  background:#fff;
  border-color:#d5e0eb;
  box-shadow:0 5px 16px rgba(8,43,85,.06);
}
body[data-screen="module"] .work-activity-head>.work-ico{background:#e5f0fb;color:#1558a0}

/* Situaciones integradoras: controles y tarjetas más escaneables. */
body[data-station="3"] .work-zone .integration-tabs{
  padding:5px;
  gap:5px;
  border:1px solid #d5e0eb;
  border-radius:8px;
  background:#eef4f8;
}
body[data-station="3"] .work-zone .integration-tabs button{
  min-height:42px;
  border:1px solid transparent;
  border-radius:6px;
  background:#e8f1fb;
  color:#174d82;
}
body[data-station="3"] .work-zone .integration-tabs button:nth-child(2){background:#eeeafd;color:#5b4795}
body[data-station="3"] .work-zone .integration-tabs button:nth-child(3){background:#e8f6ef;color:#176a50}
body[data-station="3"] .work-zone .integration-tabs button.active{
  background:#67559d;
  border-color:#59478e;
  color:#fff;
  box-shadow:0 3px 8px rgba(80,61,130,.18);
}
body[data-station="3"] .integration-select{
  margin:12px 0;
  padding:14px 16px;
  border:1px solid #cfe2ee;
  border-radius:7px;
  background:#eef8fb;
}
body[data-station="3"] .integration-select select{background:#fff;border-color:#bed4e5;box-shadow:none}
body[data-station="3"] .situation-card{
  border-color:#d4dfea;
  border-radius:8px;
  box-shadow:0 3px 10px rgba(8,43,85,.07);
}
body[data-station="3"] .situation-card:nth-child(3n+1) .situation-copy{background:#f1f8fd}
body[data-station="3"] .situation-card:nth-child(3n+2) .situation-copy{background:#f6f1fc}
body[data-station="3"] .situation-card:nth-child(3n) .situation-copy{background:#eef8f4}
body[data-station="3"] .situation-card.selected{
  border-color:#8067b7;
  box-shadow:0 0 0 2px #e1d8f2,0 5px 14px rgba(71,50,116,.12);
}
body[data-station="3"] .situation-photo{background:#e8f0f6}
body[data-station="3"] .situation-photo img{display:block;object-fit:cover}
body[data-station="3"] .situation-photo>span{background:#67559d}
body[data-station="3"] .situation-copy h4{color:#173f69}
body[data-station="3"] .situation-cta{background:#386fa5;border-radius:6px;font-weight:800}
body[data-station="3"] .situation-card:nth-child(3n+2) .situation-cta{background:#67559d}
body[data-station="3"] .situation-card:nth-child(3n) .situation-cta{background:#27745a}
body[data-station="3"] .carousel-arrow{color:#67559d;border-color:#d8cfee;background:#faf8ff}

/* Formularios, evaluaciones y cierre comparten la misma lógica suave. */
body[data-screen="module"] .question-box,
body[data-screen="module"] .exam-intro,
body[data-screen="module"] #close-form,
body[data-screen="module"] .ae-evidence{
  background:#fff;
  border:1px solid #d5e0eb;
  border-left:4px solid var(--station-color,var(--ped-blue));
  border-radius:7px;
}
body[data-screen="module"] textarea,
body[data-screen="module"] select,
body[data-screen="module"] input:not([type="radio"]):not([type="checkbox"]){border-color:#c8d7e6;background:#fff}
body[data-screen="module"] textarea:focus,
body[data-screen="module"] select:focus,
body[data-screen="module"] input:focus{border-color:#557fa9;box-shadow:0 0 0 3px #dbeaf5}

/* Refinamiento inspirado en dashboards educativos Pro de Canva. */
body[data-screen="module"] .learning-compass,
body[data-screen="module"] .activity-primer{
  border-color:#d2deea;
  background:#fff;
  box-shadow:0 6px 18px rgba(18,55,88,.06);
}
body[data-screen="module"] .learning-compass{border-top:4px solid #48a9a6}
body[data-screen="module"] .learning-compass li:nth-child(1){background:#f1f8fd}
body[data-screen="module"] .learning-compass li:nth-child(2){background:#edf8f4}
body[data-screen="module"] .learning-compass li:nth-child(3){background:#f6f1fc}
body[data-screen="module"] .learning-compass li:nth-child(4){background:#fff5e7}
body[data-screen="module"] .learning-compass li{
  border-radius:6px;
  padding-top:11px;
  padding-bottom:11px;
}
body[data-screen="module"] .activity-primer{
  border-top:4px solid #527fb0;
  background:#f7fbfe;
}
body[data-screen="module"] .work-card{
  position:relative;
  overflow:hidden;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
body[data-screen="module"] .work-card:not(.work-card-hero)::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:4px;
  background:#8fcfc1;
}
body[data-screen="module"] .work-grid-2>.work-card:nth-child(2)::before,
body[data-screen="module"] .work-grid-3>.work-card:nth-child(2)::before{background:#8bb9e3}
body[data-screen="module"] .work-grid-3>.work-card:nth-child(3)::before{background:#e8ba71}
@media(hover:hover){
  body[data-screen="module"] .work-card:hover,
  body[data-station="3"] .situation-card:hover{
    border-color:#aebfd0;
    box-shadow:0 8px 20px rgba(18,55,88,.10);
    transform:translateY(-2px);
  }
}
body[data-station="3"] .integration-cards{gap:12px}
body[data-station="3"] .situation-copy{padding:13px 10px 10px}
body[data-station="3"] .situation-copy p{color:#50677f}
body[data-station="3"] .situation-cta{
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:9px 12px;
}
body[data-station="3"] .integration-pages{
  min-height:20px;
  margin:10px 0 6px;
  gap:10px;
}
body[data-station="3"] .integration-pages input,
body[data-station="3"] .integration-pages button{accent-color:#67559d}
body[data-station="3"] .integration-pages button{
  width:10px;
  height:10px;
  min-width:10px;
  min-height:10px;
  padding:0;
  border-radius:50%;
}
body[data-station="3"] .integration-pages button.active{
  width:26px;
  min-width:26px;
  border-radius:999px;
  background:#67559d;
}
body[data-station="3"] .integration-pages button:focus-visible{
  outline:3px solid #b9a8df;
  outline-offset:3px;
}

/* Ruta protagonista: encabezado breve y cinco etapas sin superposiciones. */
body[data-screen="module"] .route-panel.lr{
  padding:14px 16px 12px;
  border-radius:8px;
  overflow:visible;
}
body[data-screen="module"] .lr-head-compact{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) minmax(250px,34%);
  align-items:center;
  gap:12px;
  margin:0 0 14px;
  padding:12px 14px;
  border:1px solid #cfe0ee;
  border-radius:8px;
  background:#f2f8fc;
}
body[data-screen="module"] .lr-head-compact-icon{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#dcecf9;
  color:#1558a0;
}
body[data-screen="module"] .lr-head-compact-icon .work-ico,
body[data-screen="module"] .lr-head-compact-icon svg{width:24px;height:24px}
body[data-screen="module"] .lr-head-compact-copy{min-width:0}
body[data-screen="module"] .lr-head-compact-copy small{
  display:block;
  margin:0 0 2px;
  color:#247a73;
  font-size:11px;
  font-weight:900;
}
body[data-screen="module"] .lr-head-compact-copy h2{
  margin:0;
  color:#0b3a6b;
  font-size:21px;
  line-height:1.16;
  letter-spacing:0;
}
body[data-screen="module"] .lr-head-compact-copy p{
  margin:4px 0 0;
  color:#536b82;
  font-size:13px;
  line-height:1.35;
}
body[data-screen="module"] .lr-head-compact-key{
  min-width:0;
  padding-left:14px;
  border-left:1px solid #c9dbe9;
}
body[data-screen="module"] .lr-head-compact-key b{
  display:block;
  color:#315d87;
  font-size:12px;
  line-height:1.3;
}
body[data-screen="module"] .lr-head-compact-key span{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:5px;
  margin-top:8px;
}
body[data-screen="module"] .lr-head-compact-key i{height:5px;border-radius:4px;background:#7eb6f0}
body[data-screen="module"] .lr-head-compact-key i:nth-child(2){background:#eeb071}
body[data-screen="module"] .lr-head-compact-key i:nth-child(3){background:#a78bdb}
body[data-screen="module"] .lr-head-compact-key i:nth-child(4){background:#e7c45c}
body[data-screen="module"] .lr-head-compact-key i:nth-child(5){background:#72bf96}
body[data-screen="module"] .lr .lr-track{
  gap:10px !important;
  padding:0 !important;
}
body[data-screen="module"] .lr .lr-stop{padding:0 !important}
body[data-screen="module"] .lr .lr-node,
body[data-screen="module"] .lr .lr-stop.is-current .lr-node{
  top:8px !important;
  left:8px !important;
  width:34px !important;
  height:34px !important;
  transform:none !important;
  border-width:2px !important;
  font-size:14px !important;
}
body[data-screen="module"] .lr .lr-card.station{
  box-sizing:border-box;
  min-height:250px !important;
  border-radius:8px !important;
  border-width:1px !important;
  box-shadow:0 4px 12px rgba(18,55,88,.08) !important;
}
body[data-screen="module"] .lr .lr-stop.is-current .lr-card.station{
  border-width:2px !important;
  box-shadow:0 0 0 3px var(--lr-soft),0 7px 18px rgba(18,55,88,.11) !important;
}
body[data-screen="module"] .lr .lr-media{height:94px !important;margin:0 !important}
body[data-screen="module"] .lr .lr-body{
  min-height:154px;
  gap:5px !important;
  padding:10px !important;
}
body[data-screen="module"] .lr .lr-body>.work-ico{
  width:30px !important;
  height:30px !important;
  margin:0 !important;
}
body[data-screen="module"] .lr .lr-name{
  min-height:34px;
  font-size:13px !important;
  line-height:1.28 !important;
  letter-spacing:0 !important;
}
body[data-screen="module"] .lr .lr-purpose{
  min-height:31px;
  font-size:11px !important;
  line-height:1.35 !important;
}
body[data-screen="module"] .lr .lr-cta,
body[data-screen="module"] .lr .lr-state{
  min-height:38px !important;
  padding:7px 8px !important;
  border-radius:6px !important;
  font-size:11px !important;
}
body[data-screen="module"] .lr .lr-stop.is-current .lr-cta::after,
body[data-screen="module"] .lr .lr-stop.is-current .lr-state::after{display:none !important}
body[data-screen="module"] .lr .lr-cta-ico{
  width:24px !important;
  height:24px !important;
  flex:0 0 24px !important;
}
body[data-screen="module"] .lr .lr-cta-ico .work-ico,
body[data-screen="module"] .lr .lr-cta-ico svg{
  width:14px !important;
  height:14px !important;
  color:inherit !important;
  stroke:currentColor !important;
}
body[data-screen="module"] .lr .lr-progress{
  margin:12px 0 0 !important;
  padding:10px 12px !important;
  border-radius:7px !important;
}

/* Aprovechamiento global del espacio y jerarquía de actividades. */
body[data-screen="module"] .module-media{
  padding:14px;
  border-radius:8px;
  background:#f7fbfd;
}
body[data-screen="module"] .module-media-grid{grid-template-columns:1fr;gap:0}
body[data-screen="module"] .module-media-card{
  display:grid;
  grid-template-columns:minmax(280px,38%) minmax(0,1fr);
  min-height:250px;
  border-radius:8px;
  overflow:hidden;
}
body[data-screen="module"] .module-media-card>img{
  width:100%;
  height:100%;
  min-height:250px;
  object-fit:cover;
}
body[data-screen="module"] .module-media-card>div{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:18px;
}
body[data-screen="module"] .media-sequence{
  align-self:flex-start;
  margin:0 6px 7px 0;
  padding:4px 8px;
  border-radius:5px;
  background:#e8f2fb;
  color:#174f82;
  font-size:11px;
  font-weight:900;
}
body[data-screen="module"] .module-media-card .media-kind{align-self:flex-start}
body[data-screen="module"] .summary-columns.three,
body[data-screen="module"] .exam-brief,
body[data-screen="module"] .exam-summary-cards{
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr)) !important;
}
body[data-screen="module"] .summary-columns>.soft,
body[data-screen="module"] .exam-brief>article,
body[data-screen="module"] .exam-summary-cards>section{
  min-width:0;
  height:100%;
  border-radius:8px !important;
}

/* Progresión pastel: estado activo visible sin saturación azul. */
body[data-station="2"] .progression{background:#f8fbfd;border-color:#d5e2ec}
body[data-station="2"] .progression .learning-route{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
body[data-station="2"] .progression .learning-step{
  min-height:116px;
  padding:12px 8px 10px;
  border-radius:8px;
  background:#fff;
  border-color:#d8e3ec;
  box-shadow:0 2px 7px rgba(18,55,88,.06);
}
body[data-station="2"] .progression .learning-step.active{
  background:#e8f2fb !important;
  border:2px solid #74a6cf !important;
  box-shadow:inset 4px 0 0 #477da8,0 4px 10px rgba(18,55,88,.09) !important;
  color:#174f82 !important;
}
body[data-station="2"] .progression .learning-step.active b,
body[data-station="2"] .progression .learning-step.active>.icon{color:#174f82 !important}
body[data-station="2"] .progression .learning-step.active>span:first-child{
  min-width:32px;
  width:auto;
  padding:0 6px;
  background:#477da8 !important;
  color:#fff !important;
}
body[data-station="2"] .progression .learning-step>span:first-child{
  min-width:32px;
  width:auto;
  padding:0 6px;
  background:#dceafb;
  color:#174f82;
}
body[data-station="2"] .progression .learning-step:nth-child(2)>span:first-child{background:#e3effa;color:#1558a0}
body[data-station="2"] .progression .learning-step:nth-child(3)>span:first-child{background:#ece6f8;color:#65459b}
body[data-station="2"] .progression .learning-step:nth-child(4)>span:first-child{background:#f9ead3;color:#9b5c0b}
body[data-station="2"] .progression .learning-step:nth-child(5)>span:first-child{background:#dff2e9;color:#176a50}
body[data-station="2"] .progression .learning-step:nth-child(6)>span:first-child{background:#dff1f2;color:#17676d}
body[data-station="2"] .progression .learning-step:not(:last-child)::after{display:none}
body[data-station="2"] .progression .learning-step.active small{background:#fff;color:#174f82}
body[data-station="2"] .progression .info-strip{
  border-radius:7px;
  background:#edf5fa;
  color:#315b7e;
}

/* Situaciones integradoras: controles a ancho completo y medios siempre visibles. */
body[data-station="3"] .work-zone .integration-tabs{
  width:100%;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
body[data-station="3"] .work-zone .integration-tabs button{width:100%;min-width:0}
body[data-station="3"] .integration-select{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(180px,260px);
  align-items:center;
  gap:14px;
}
body[data-station="3"] .situation-photo{min-height:118px}
body[data-station="3"] .situation-photo img{width:100%;height:100%;min-height:118px}
body[data-station="3"] .situation-copy{min-height:116px;display:flex;flex-direction:column}
body[data-station="3"] .situation-cta{margin-top:auto}
@media(max-width:900px){
  body[data-screen="module"] .lr-head-compact{grid-template-columns:44px minmax(0,1fr)}
  body[data-screen="module"] .lr-head-compact-key{grid-column:1/-1;border-left:0;border-top:1px solid #c9dbe9;padding:9px 0 0}
  body[data-screen="module"] .lr .lr-card.station{min-height:230px !important}
  .learning-compass ol{grid-template-columns:repeat(2,minmax(0,1fr))}
  .learning-compass li:nth-child(3){border-left:0;padding-left:0;border-top:1px solid var(--ped-line)}
  .learning-compass li:nth-child(4){border-top:1px solid var(--ped-line)}
}
@media(max-width:620px){
  body[data-screen="module"] .route-panel.lr{padding:10px}
  body[data-screen="module"] .lr-head-compact{grid-template-columns:38px minmax(0,1fr);padding:10px}
  body[data-screen="module"] .lr-head-compact-icon{width:36px;height:36px}
  body[data-screen="module"] .lr-head-compact-copy h2{font-size:18px}
  body[data-screen="module"] .lr-head-compact-copy p{font-size:12px}
  body[data-screen="module"] .lr .lr-track{grid-template-columns:1fr !important}
  body[data-screen="module"] .lr .lr-card.station{min-height:0 !important;display:grid !important;grid-template-columns:112px minmax(0,1fr) !important}
  body[data-screen="module"] .lr .lr-media{height:100% !important;min-height:170px}
  body[data-screen="module"] .lr .lr-body{min-height:170px}
  body[data-screen="module"] .work-seq{
    display:grid;
    grid-template-columns:1fr;
    gap:6px;
    overflow:visible;
    padding:8px;
  }
  body[data-screen="module"] .work-seq-step{
    display:grid;
    grid-template-columns:24px 32px minmax(0,1fr);
    align-items:center;
    gap:8px;
    width:100%;
    min-height:48px;
    padding:6px 8px;
    border:1px solid #d8e4ee;
    border-radius:6px;
    background:#f8fbfd;
  }
  body[data-screen="module"] .work-seq-step b,
  body[data-screen="module"] .work-seq-step small{white-space:normal;overflow-wrap:anywhere}
  body[data-screen="module"] .work-seq-arrow{display:none}
  body[data-screen="module"] .module-media-card{grid-template-columns:1fr;min-height:0}
  body[data-screen="module"] .module-media-card>img{height:180px;min-height:180px}
  body[data-screen="module"] .module-media-card>div{padding:14px}
  body[data-station="2"] .progression .learning-route{grid-template-columns:1fr}
  body[data-station="3"] .work-zone .integration-tabs{grid-template-columns:1fr}
  body[data-station="3"] .integration-select{grid-template-columns:1fr}
  .learning-compass-head{grid-template-columns:34px minmax(0,1fr)}
  .learning-compass-head em{grid-column:1/-1;border-left:0;border-top:1px solid var(--ped-line);padding:9px 0 0}
  .learning-compass ol{grid-template-columns:1fr}
  .learning-compass li,.learning-compass li:first-child,.learning-compass li:last-child{border-left:0;border-top:1px solid var(--ped-line);padding:10px 0}
  .activity-primer{grid-template-columns:1fr;gap:8px}
  .activity-primer-index{justify-self:start;min-width:0}
  .activity-primer-status{justify-self:start}
}
.achievement-start{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 24px;margin:0 0 16px;padding:16px 18px;border:1px solid #b9d8ef;border-left:4px solid #1684c7;border-radius:8px;background:#f1f8fd;color:#123d68}
.achievement-start small,.achievement-progress header small{display:block;color:#176c9f;font-size:10px;font-weight:800}
.achievement-start h3,.achievement-progress h3{margin:3px 0 5px;color:#082f61}
.achievement-start p,.achievement-progress p{margin:0;color:#49677f;font-size:12px}
.achievement-start>strong{grid-row:1/span 2;grid-column:2;font-size:30px;color:#087c79}
.achievement-start>span{grid-column:2;font-size:10px;color:#567187;text-align:right}
.achievement-progress{margin:0 0 18px;border:1px solid #c9dceb;border-radius:8px;background:#fff;overflow:hidden}
.achievement-progress>header{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:16px 18px;background:#eef7fb;border-bottom:1px solid #c9dceb}
.achievement-total{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.achievement-total span,.achievement-total b{min-width:74px;text-align:center;font-size:19px;color:#0b4779}
.achievement-total b{color:#087c79}
.achievement-total small{display:block;margin-top:2px;color:#60778a;font-size:9px}
.achievement-total i{font-style:normal;color:#6b8498}
.achievement-table-wrap{overflow-x:auto}
.achievement-progress table{width:100%;border-collapse:collapse;font-size:12px}
.achievement-progress th,.achievement-progress td{padding:12px 14px;border-bottom:1px solid #e3edf4;text-align:center;vertical-align:middle}
.achievement-progress thead th{background:#f8fbfd;color:#385a73;font-size:10px;text-transform:uppercase}
.achievement-progress tbody th{max-width:410px;text-align:left;color:#173f67;font-weight:650}
.achievement-progress tbody th span{display:block;margin-bottom:3px;color:#1684c7;font-size:10px;font-weight:850}
.achievement-progress td small{display:block;margin-top:3px;color:#708495;font-size:9px}
.achievement-gain.is-positive{color:#087c62;font-weight:850}
.achievement-note{padding:11px 16px!important;background:#f8fbfd}
@media(max-width:760px){.achievement-progress>header{align-items:flex-start;flex-direction:column}.achievement-total{width:100%;justify-content:space-between}.achievement-start{grid-template-columns:1fr}.achievement-start>strong,.achievement-start>span{grid-column:1;grid-row:auto;text-align:left}.achievement-progress th,.achievement-progress td{min-width:95px}.achievement-progress tbody th{min-width:220px}}

/* Pestañas AE estables: el estado activo no desplaza la barra ni el contenido. */
body[data-station="2"] .ae-info .tabs.compact{display:flex;align-items:stretch;justify-content:flex-start;gap:6px;width:100%;min-height:50px;padding:5px;margin:0 0 14px;overflow-x:auto;overflow-y:hidden;border:1px solid #c8d9e8;border-radius:8px;background:#eaf2f9;scrollbar-width:thin}
body[data-station="2"] .ae-info .tabs.compact button{flex:0 0 72px;width:72px;min-width:72px;min-height:40px;height:40px;margin:0;padding:0 10px;border:1px solid #d4e1ec;border-radius:6px;background:#f7fbfe;color:#245c8f;box-shadow:none;line-height:1;transform:none}
body[data-station="2"] .ae-info .tabs.compact button.active{border-color:#3979ad;background:#3979ad;color:#fff;box-shadow:inset 0 -3px 0 rgba(8,47,97,.22);transform:none}
body[data-station="2"] .ae-info .tabs.compact+.eyebrow{display:flex;align-items:center;min-height:18px;margin-top:0}
.student-decision-callout{display:flex;align-items:center;gap:12px;margin:14px 0;padding:14px 16px;border:1px solid #c7ddeb;border-left:4px solid #247f86;border-radius:7px;background:#eef8f7;color:#174c5c}
.student-decision-callout>.icon{width:28px;height:28px;color:#247f86}
.student-decision-callout small{display:block;color:#247f86;font-size:9px;font-weight:900}
.student-decision-callout b{display:block;margin:2px 0;color:#123d5d;font-size:15px}
.student-decision-callout p{margin:0;color:#4f687b;font-size:11px}

/* Evaluación final: tablero educativo Pro, equilibrado y sin saturación amarilla. */
body[data-station="4"] .achievement-start{background:#eef7fb;border-color:#bdd8e8;border-left-color:#188f91}
body[data-station="4"] .exam-brief .exam-important{background:#f5f2fb !important;border-color:#d9cfee !important;color:#4e4672}
body[data-station="4"] .exam-brief .exam-important h3{color:#51458b}
body[data-station="4"] .exam-brief .exam-important li,body[data-station="4"] .exam-brief .exam-important p{color:#514b68}
body[data-station="4"] .exam-path{background:#f4f8fb;border-color:#cddde9}
body[data-station="4"] .exam-path-goal{background:#eef8f4;border-color:#b9dfd0}
body[data-station="4"] .exam-path-goal .exam-path-n{background:#24836a}
body[data-station="4"] .exam-card-total{background:#eef8f4 !important;border-color:#b9dfd0 !important}
body[data-station="4"] .exam-total-chip{background:#eef8f4;border-color:#b9dfd0;color:#26725f}
.exam-visual{min-width:220px;margin:0;padding:14px;border:1px solid #d6cfeb;border-radius:10px;background:#fff}
.exam-visual-icons{display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:10px}
.exam-visual-icons>span{width:44px;height:44px;display:grid;place-items:center;border-radius:10px;background:#e9f2fb;color:#225f99}
.exam-visual-icons>span:nth-of-type(2){background:#f0ebfa;color:#66529a}
.exam-visual-icons>span:nth-of-type(3){background:#e6f5ef;color:#247a62}
.exam-visual-icons .exam-ico{display:grid;place-items:center}
.exam-visual-icons .icon{width:22px;height:22px}
.exam-visual-icons i{color:#7890a5;font-style:normal}
.exam-visual figcaption b{display:block;color:#173f69;font-size:12px;text-align:center}
.exam-visual figcaption small{margin-top:4px;color:#5c6e81;text-align:center;font-size:10px;line-height:1.35}
@media(max-width:760px){.learning-lab-principle{grid-template-columns:auto 1fr}.learning-lab-principle>strong{grid-column:1/-1;justify-self:start}.learning-capacity{grid-column:2;border-right:0;padding-right:0}.activity-primer{grid-template-columns:auto 1fr}.activity-primer-icon{grid-row:1/span 2}.activity-primer-index{justify-self:start}.activity-primer>div,.activity-primer-status{grid-column:1/-1}.exam-visual{min-width:0;width:100%}}

/* La acción y la evidencia usan el cuadrante completo; los límites de lectura quedan dentro del texto. */
body[data-screen="module"] .work-zone-s2 .ae-challenge,
body[data-screen="module"] .work-zone-s2 .act-task,
body[data-screen="module"] .act-now,
body[data-screen="module"] #video-lectura-oficio,
body[data-screen="module"] #video-lectura-oficio .vis-fig,
body[data-screen="module"] #video-lectura-oficio .vis-video,
body[data-screen="module"] #video-lectura-oficio video{width:100%;max-width:none;min-width:0;box-sizing:border-box}
body[data-screen="module"] .act-now>div{flex:1;min-width:0}
body[data-screen="module"] .act-now .act-prompt-title{max-width:none;text-wrap:balance}
body[data-screen="module"] #video-lectura-oficio .vis-frame{width:100%;max-width:none;max-height:min(62vh,560px)}
body[data-screen="module"] #video-lectura-oficio video{aspect-ratio:16/7;max-height:min(62vh,560px);object-fit:cover}

/* Cierre evaluativo: 25 preguntas + una situación integradora, con jerarquía de hito. */
.exam-course-plan{display:grid;grid-template-columns:minmax(280px,1fr) auto 260px;align-items:center;gap:12px 24px;margin:4px 0 18px;padding:0 0 0 20px;overflow:hidden;border:1px solid #cbddec;border-left:5px solid #e29a29;border-radius:8px;background:linear-gradient(110deg,#f5faff 0 64%,#fff7e9 64%);box-shadow:0 6px 18px rgba(20,62,96,.09)}
.exam-course-plan-title{display:flex;align-items:center;gap:14px;min-width:0}
.exam-course-plan-title>.exam-ico{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:8px;background:#fff0d2;color:#b66f0d}
.exam-course-plan-title>.exam-ico .icon{width:25px;height:25px}
.exam-course-plan-title span{display:block;color:#3975a5;font-size:10px;font-weight:900}
.exam-course-plan-title h3{margin:2px 0 3px;color:#0b3a6b;font-size:20px}
.exam-course-plan-title p{margin:0;color:#526d83;font-size:12px}
.exam-course-plan-metrics{display:flex;align-items:center;gap:10px}
.exam-course-plan-metrics article{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:9px;min-width:142px;padding:11px 13px;border:1px solid #d2e2ee;border-radius:8px;background:#fff}
.exam-course-plan-metrics article:last-child{border-color:#efd9ac;background:#fffaf1}
.exam-course-plan-metrics strong{color:#176da6;font-size:28px;line-height:1}
.exam-course-plan-metrics article:last-child strong{color:#bd7513}
.exam-course-plan-metrics span{color:#3e5c73;font-size:11px;font-weight:800;line-height:1.2}
.exam-course-plan-metrics>i{color:#7490a6;font-size:20px;font-style:normal;font-weight:800}
.exam-course-plan>small{grid-column:1/3;display:flex;align-items:center;gap:8px;padding:10px 0 16px;border-top:1px solid #dce8f1;color:#4f6a80;font-size:11px;font-weight:700}
.exam-course-plan>small .exam-ico{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:#e5f1fb;color:#176da6;flex:0 0 26px}
.exam-course-plan>small .icon{width:15px;height:15px}
.exam-assessment-photo{grid-column:3;grid-row:1/3;align-self:stretch;min-height:180px;margin:0;position:relative;overflow:hidden;background:radial-gradient(circle at 68% 34%,#fff9df 0 18%,#e9f3ff 58%,#dbeaff 100%)}
.exam-assessment-photo img{display:block;width:100%;height:136px;margin:4px auto 0;object-fit:contain;filter:drop-shadow(0 8px 12px rgba(30,63,105,.24))}
.exam-assessment-photo::after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,rgba(5,43,79,.94))}
.exam-near-badge{position:absolute;z-index:2;top:12px;left:12px;padding:5px 9px;border:1px solid #e9bf61;border-radius:999px;background:rgba(255,255,255,.94);color:#9b610b;font-size:10px;font-weight:900;text-transform:uppercase;box-shadow:0 3px 8px rgba(74,54,18,.12)}
.exam-assessment-photo figcaption{position:absolute;z-index:1;left:14px;right:14px;bottom:12px;display:flex;align-items:center;gap:10px;color:#fff}
.exam-assessment-photo figcaption>.exam-ico{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:9px;background:#fff;color:#1774b8}
.exam-assessment-photo figcaption .icon{width:19px;height:19px}
.exam-assessment-photo figcaption b,.exam-assessment-photo figcaption small{display:block;color:#fff}
.exam-assessment-photo figcaption b{font-size:12px}.exam-assessment-photo figcaption small{font-size:10px;line-height:1.3;margin-top:2px}
@media(max-width:1120px){.exam-course-plan{grid-template-columns:minmax(260px,1fr) 245px;padding-left:18px}.exam-course-plan-metrics{grid-column:1}.exam-assessment-photo{grid-column:2;grid-row:1/4}.exam-course-plan>small{grid-column:1}}
@media(max-width:760px){.exam-course-plan{grid-template-columns:1fr;padding:16px;background:#f5faff}.exam-course-plan-metrics{grid-column:1}.exam-assessment-photo{grid-column:1;grid-row:auto;min-height:210px;border-radius:8px}.exam-assessment-photo img{height:166px}.exam-course-plan>small{grid-column:1;padding-bottom:0}.exam-course-plan-title{align-items:flex-start}}
@media(max-width:560px){.exam-course-plan{padding:14px}.exam-course-plan-metrics{display:grid;grid-template-columns:1fr}.exam-course-plan-metrics article{width:100%}.exam-course-plan-metrics>i{display:none}}
.exam-course-plan{grid-template-columns:minmax(0,1fr) auto 260px;padding:24px;gap:20px 24px;background:#f4f9fc;border-left:5px solid #dba329;overflow:visible}
.exam-course-plan-title h3{font-size:22px;line-height:1.25}
.exam-course-plan-title p{font-size:13px;line-height:1.5}
.exam-course-plan-metrics article{min-width:112px;padding:12px;box-shadow:0 2px 6px rgba(20,62,96,.05)}
.exam-course-plan>small{padding:14px 0 0;margin:0}
.exam-assessment-photo{min-height:260px;background:transparent;overflow:visible;display:grid;grid-template-rows:28px 172px auto;justify-items:center;gap:10px}
.exam-assessment-photo::after{display:none}
.exam-assessment-photo img{grid-row:2;width:210px;max-width:100%;height:172px;margin:0;object-fit:contain;transform:none;filter:drop-shadow(0 3px 2px rgba(88,62,16,.16));animation:examTrophyCrispFloat 4s ease-in-out infinite;image-rendering:auto}
@keyframes examTrophyCrispFloat{0%,100%{translate:0 0}50%{translate:0 -8px}}
.exam-near-badge{position:static;grid-row:1;align-self:center;border-radius:6px;background:#fff8dc;box-shadow:none}
.exam-assessment-photo figcaption{position:static;grid-row:3;width:100%;max-width:260px;color:#0b3a6b;align-items:flex-start}
.exam-assessment-photo figcaption b{color:#0b3a6b;font-size:14px}
.exam-assessment-photo figcaption small{color:#526d83;font-size:12px;line-height:1.5}
@keyframes examTrophyFloat{0%,100%{transform:translateY(3px) rotate(-2deg);filter:drop-shadow(0 12px 7px rgba(88,62,16,.22))}50%{transform:translateY(-9px) rotate(2deg);filter:drop-shadow(0 24px 12px rgba(88,62,16,.12))}}
@media(max-width:1200px){.exam-course-plan{grid-template-columns:minmax(0,1fr) 240px}.exam-course-plan-metrics{grid-column:1;flex-wrap:wrap}.exam-assessment-photo{grid-column:2;grid-row:1/4}.exam-course-plan>small{grid-column:1}}
@media(max-width:760px){.exam-course-plan{grid-template-columns:minmax(0,1fr);padding:18px}.exam-assessment-photo{grid-column:1;grid-row:auto;width:100%;min-height:260px}.exam-course-plan-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.exam-course-plan-metrics article{min-width:0;grid-template-columns:1fr;gap:8px;padding:10px}.exam-course-plan-metrics>i{display:none}.exam-course-plan-metrics article strong{font-size:26px}.exam-course-plan-title h3{font-size:20px}}
@media(prefers-reduced-motion:reduce){.exam-assessment-photo img{animation:none}}

/* Global activity redesign: fill the available quadrant with calm, scannable cards. */
body[data-screen="module"] .work-activity-head{padding:14px 16px;border:1px solid #c9ddec;border-left:5px solid var(--station-color,#3979ad);border-radius:8px;background:#f5faff}
body[data-screen="module"] .work-activity-head .work-ico{width:46px;height:46px;border-radius:8px;background:#dfeefa;color:#174f82}
body[data-screen="module"] .work-activity-head h3{font-size:18px;color:#103d69}
body[data-screen="module"] .act-contract{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:10px;border:1px solid #cbdce9;border-radius:8px;background:#f4f8fb;overflow:visible}
body[data-screen="module"] .act-contract>div,body[data-screen="module"] .act-contract>p{width:100%;max-width:none!important;min-height:92px;padding:14px 15px;border:1px solid #d3e1ec;border-top:4px solid #8bb9df;border-radius:7px;background:#fff;box-shadow:0 3px 9px rgba(18,55,88,.05)}
body[data-screen="module"] .act-contract>div:nth-child(2){background:#f5f2fb;border-top-color:#b5a2db}
body[data-screen="module"] .act-contract>div:nth-child(3){background:#eef8f7;border-top-color:#86c9bd}
body[data-screen="module"] .act-contract>div:nth-child(4){background:#eef5fb;border-top-color:#8bb9df}
body[data-screen="module"] .act-contract>div:nth-child(5){background:#fff8eb;border-top-color:#e6bd78}
body[data-screen="module"] .act-contract>div:nth-child(6){background:#f1f8f3;border-top-color:#93c9a7}
body[data-screen="module"] .act-contract b{font-size:12px;color:#123f6b}
body[data-screen="module"] .act-contract span,body[data-screen="module"] .act-contract p{font-size:13px;line-height:1.5;color:#274861}
body[data-screen="module"] .act-contract>p{grid-column:1/-1;min-height:0;padding:13px 15px;border-left:5px solid #4aa58b;border-top:1px solid #cce4da;background:#edf8f3}

/* Station 1 response uses the full content width. */
body[data-station="1"] .ctx-reply>div{flex:1 1 auto;width:100%;min-width:0}
body[data-station="1"] .ctx-reply form,body[data-station="1"] .ctx-reply label,body[data-station="1"] .ctx-reply textarea{width:100%;max-width:none}
body[data-station="1"] .ctx-reply textarea{min-height:150px}
body[data-station="1"] .ctx-reply .form-bottom{width:100%}
body[data-station="1"] .ctx-activity #context-form,body[data-station="1"] .ctx-activity #context-form>label,body[data-station="1"] .ctx-activity #context-form textarea,body[data-station="1"] .ctx-activity #context-form .form-bottom{width:100%;max-width:none}
body[data-station="1"] .ctx-activity #context-form textarea{min-height:150px;resize:vertical}

/* Station 2 numbers remain readable on pastel surfaces. */
body[data-station="2"] .progression .learning-step>span:first-child,body[data-station="2"] .progression .learning-step.active>span:first-child{min-width:40px;width:auto;height:34px;padding:0 8px;border:1px solid #b8cfe2!important;background:#e5f1fa!important;color:#164f7c!important;font-weight:900}
body[data-station="2"] .progression .learning-step:nth-child(2)>span:first-child{background:#e7f1fb!important;color:#245e8f!important}
body[data-station="2"] .progression .learning-step:nth-child(3)>span:first-child{background:#eee9f8!important;color:#60488f!important;border-color:#d3c7e9!important}
body[data-station="2"] .progression .learning-step:nth-child(4)>span:first-child{background:#fff0d9!important;color:#8b570f!important;border-color:#ecd1a6!important}
body[data-station="2"] .progression .learning-step:nth-child(5)>span:first-child{background:#e2f3ea!important;color:#17674f!important;border-color:#bddfce!important}
body[data-station="2"] .progression .learning-step:nth-child(6)>span:first-child{background:#e1f2f2!important;color:#17636a!important;border-color:#bddddd!important}
body[data-station="2"] .progression .learning-step.active{background:#f0f7fc!important;border-color:#79a9cd!important}

/* Action routes are a first-class pedagogical landmark. */
body[data-screen="module"] .ped-route{width:100%;padding:10px;gap:8px;border:1px solid #c8dbe9;border-radius:8px;background:#f5f9fc;box-shadow:0 4px 12px rgba(18,55,88,.05)}
body[data-screen="module"] .ped-route-item{min-height:54px;padding:8px 12px;border:1px solid #d4e2ec;border-radius:7px;background:#fff}
body[data-screen="module"] .ped-route-item[data-state="current"]{border-color:#9fcfe1;background:#eaf8fb;box-shadow:inset 4px 0 0 #37a5be}
body[data-screen="module"] .ped-route-item .ped-num{background:#dcebf6!important;color:#174f7b!important;border:1px solid #b9d1e3}
body[data-screen="module"] .ped-route-item[data-state="current"] .ped-num{background:#cceff4!important;color:#0d6675!important}

/* Station 5 presents evaluation as an important learning milestone. */
body[data-station="5"] .s5-eval-banner{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(0,1.35fr);align-items:center;gap:22px;margin:0 0 12px;padding:18px 20px;border:1px solid #c9ddec;border-left:6px solid #66529a;border-radius:9px;background:#f7f5fb;box-shadow:0 6px 18px rgba(51,45,91,.07)}
body[data-station="5"] .s5-eval-copy span{font-size:10px;font-weight:900;color:#6a5797}
body[data-station="5"] .s5-eval-copy h2{margin:4px 0 5px;font-size:22px;color:#173f69}
body[data-station="5"] .s5-eval-copy p{margin:0;color:#536a7d;font-size:12px;line-height:1.45}
body[data-station="5"] .s5-eval-milestones{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:8px}
body[data-station="5"] .s5-eval-milestones article{min-height:92px;padding:12px 10px;border:1px solid #d4e1eb;border-radius:8px;background:#fff;text-align:center}
body[data-station="5"] .s5-eval-milestones article:nth-of-type(2){background:#eef8f7;border-color:#c9e5df}
body[data-station="5"] .s5-eval-milestones article:nth-of-type(3){background:#fff7e9;border-color:#eedab6}
body[data-station="5"] .s5-eval-milestones .icon{display:block;width:25px;height:25px;margin:0 auto 7px;color:#3979ad}
body[data-station="5"] .s5-eval-milestones article:nth-of-type(2) .icon{color:#27806a}
body[data-station="5"] .s5-eval-milestones article:nth-of-type(3) .icon{color:#a96c17}
body[data-station="5"] .s5-eval-milestones b{display:block;color:#173f69;font-size:12px}
body[data-station="5"] .s5-eval-milestones small{display:block;margin-top:3px;color:#667b8e;font-size:10px}
body[data-station="5"] .s5-eval-milestones>i{color:#8da4b7;font-style:normal;font-weight:900}

/* Canva-like bulb treatment, without reducing text contrast. */
.recuerda.remember .recuerda-rail{background:#dff4ee!important}
.recuerda.remember .ampolleta{border:2px solid #f2c65d;border-radius:16px;background:#fff3b8;box-shadow:0 7px 0 #f0bd45,0 10px 20px rgba(181,126,19,.18)}
.recuerda.remember .ampolleta-photo{width:64px;height:64px;padding:5px;filter:saturate(1.3) contrast(1.05) drop-shadow(0 4px 7px rgba(202,139,19,.30))}
.recuerda.remember .recuerda-paper{border-left:4px solid #efbd45;background:#fffaf0}

@media(max-width:800px){body[data-screen="module"] .act-contract{grid-template-columns:1fr}body[data-screen="module"] .act-contract>p{grid-column:1}body[data-station="5"] .s5-eval-banner{grid-template-columns:1fr}body[data-station="5"] .s5-eval-milestones{grid-template-columns:1fr}body[data-station="5"] .s5-eval-milestones>i{display:none}}

/* Keep the restored progress report action visually consistent with dashboard commands. */
.dash-widgets article>a{grid-column:2/4;justify-self:end;padding:4px 0;color:#075fd6;font-size:12px;font-weight:800;text-decoration:none}
.dash-widgets article>a:hover{text-decoration:underline}

/* Transversal activity signage for every 3rd- and 4th-year station. */
body[data-screen="module"] .ordered-activity{position:relative;overflow:hidden;border-color:#ceddea;background:#fff;container-type:inline-size}
body[data-screen="module"] .activity-order-badge{display:grid;grid-template-columns:66px 42px minmax(0,1fr);align-items:center;gap:12px;width:100%;min-height:72px;margin:0 0 16px;padding:8px 14px 8px 8px;border:1px solid #d6e3ed;border-radius:8px;background:#fff;color:#173f69;box-shadow:0 4px 12px rgba(28,74,117,.06)}
body[data-screen="module"] .activity-order-badge>strong{display:grid;place-items:center;align-self:stretch;min-height:54px;border-radius:7px;background:#e3f1fa;color:#174f7b;font-size:32px;font-weight:900;line-height:1;font-variant-numeric:tabular-nums}
body[data-screen="module"] .activity-order-badge>span{display:grid;place-items:center;width:42px;height:42px;border-radius:7px;background:#fff2d9;color:#b66d0e}
body[data-screen="module"] .activity-order-badge>span .icon{width:24px;height:24px}
body[data-screen="module"] .activity-order-badge>div{display:flex;min-width:0;flex-direction:column;gap:2px}
body[data-screen="module"] .activity-order-badge b{color:#164a78;font-size:13px;font-weight:900;letter-spacing:0}
body[data-screen="module"] .activity-order-badge small{color:#526d86;font-size:12px;line-height:1.3}
body[data-screen="module"] .activity-tone-2>.activity-order-badge>strong{background:#eee9f8;color:#60488f}
body[data-screen="module"] .activity-tone-2>.activity-order-badge>span{background:#e9f6f2;color:#217a65}
body[data-screen="module"] .activity-tone-3>.activity-order-badge>strong{background:#e1f2f2;color:#17636a}
body[data-screen="module"] .activity-tone-3>.activity-order-badge>span{background:#fff0d9;color:#9f6515}
body[data-screen="module"] .activity-tone-4>.activity-order-badge>strong{background:#fff0d9;color:#8b570f}
body[data-screen="module"] .activity-tone-4>.activity-order-badge>span{background:#e7f1fb;color:#245e8f}
body[data-screen="module"] .activity-tone-5>.activity-order-badge>strong{background:#f8e8ee;color:#8d4964}
body[data-screen="module"] .activity-tone-5>.activity-order-badge>span{background:#e5f3ea;color:#17674f}
@container(max-width:260px){body[data-screen="module"] .activity-order-badge{grid-template-columns:54px 36px;gap:8px;padding:7px}body[data-screen="module"] .activity-order-badge>strong{min-height:46px;font-size:26px}body[data-screen="module"] .activity-order-badge>span{width:36px;height:36px}body[data-screen="module"] .activity-order-badge>div{grid-column:1/-1;padding:2px 3px 1px}body[data-screen="module"] .activity-order-badge small{font-size:10px}}
@media(max-width:580px){body[data-screen="module"] .activity-order-badge{grid-template-columns:54px 36px minmax(0,1fr);gap:9px;min-height:64px;padding:7px}body[data-screen="module"] .activity-order-badge>strong{min-height:48px;font-size:26px}body[data-screen="module"] .activity-order-badge>span{width:36px;height:36px}body[data-screen="module"] .activity-order-badge small{font-size:11px}}

/* Ruta de foco: permite retomar una actividad sin releer toda la pantalla. */
body[data-screen="module"] .ordered-activity{--focus:#157a68;--focus-soft:#e5f5ef;--focus-line:#b9dfd2}
body[data-screen="module"][data-station="1"] .ordered-activity{--focus:#2879b2;--focus-soft:#e8f3fb;--focus-line:#bad7eb}
body[data-screen="module"][data-station="2"] .ordered-activity{--focus:#7a58b4;--focus-soft:#f0eafa;--focus-line:#d7c7ee}
body[data-screen="module"][data-station="3"] .ordered-activity{--focus:#087f78;--focus-soft:#e4f5f2;--focus-line:#b8dfda}
body[data-screen="module"][data-station="4"] .ordered-activity{--focus:#b36b08;--focus-soft:#fff2dc;--focus-line:#eed09e}

/* Evaluación final: base serena; el dorado queda reservado para el logro. */
body[data-screen="module"][data-station="4"] .station-body.s4>.work-zone{
  background:#f5f9fc;
  border-color:#cbdce9;
}
body[data-screen="module"][data-station="4"] .activity-primer.s4{
  --station-color:#176da6;
  border-top-color:#2e82b8;
  background:linear-gradient(90deg,#f5faff,#fff);
}
body[data-screen="module"][data-station="4"] .activity-primer.s4 .activity-primer-icon{
  background:#e8f3fb;
  border-color:#bdd8ea;
}
body[data-screen="module"][data-station="4"] .activity-primer.s4 .activity-primer-index{
  background:#176da6;
  box-shadow:0 4px 10px rgba(23,109,166,.18);
}
body[data-screen="module"][data-station="4"] .activity-primer.s4 .activity-primer-status{
  color:#16725f;
}
body[data-screen="module"][data-station="4"] .work-zone>.exam-title{
  padding:16px 18px;
  border:1px solid #d2e1ec;
  border-left:5px solid #2e82b8;
  border-radius:8px;
  background:#fff;
  box-shadow:0 4px 14px rgba(18,55,88,.05);
}
body[data-screen="module"][data-station="4"] .exam-title .big-number.s4{
  background:#176da6!important;
  box-shadow:0 5px 12px rgba(23,109,166,.2);
}
body[data-screen="module"][data-station="4"] .exam-pill{
  background:#e8f3fb;
  color:#176da6;
  border:1px solid #bdd8ea;
}
body[data-screen="module"][data-station="4"] .exam-title .eyebrow{color:#176da6}
body[data-screen="module"][data-station="4"] .exam-title .time{
  color:#176da6;
  background:#eef7fc;
  border-color:#c8deed;
}
body[data-screen="module"][data-station="5"] .ordered-activity{--focus:#26754d;--focus-soft:#e8f5ed;--focus-line:#bedfc9}
body[data-screen="module"] .activity-focus{grid-template-columns:66px 48px minmax(0,1fr) auto;margin-bottom:0;border-top:4px solid var(--focus);border-radius:8px 8px 0 0;background:linear-gradient(90deg,var(--focus-soft),#fff 34%)}
body[data-screen="module"] .activity-focus>strong{color:var(--focus)}
body[data-screen="module"] .activity-focus-main-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--focus-line);border-radius:10px;background:#fff;color:var(--focus)}
body[data-screen="module"] .activity-focus-main-icon .icon{width:23px;height:23px}
body[data-screen="module"] .activity-focus-title em{font-style:normal;color:#0c6b59}
body[data-screen="module"] .activity-focus-title em{color:var(--focus)}
body[data-screen="module"] .activity-focus-title>b{font-size:16px;line-height:1.25}
body[data-screen="module"] .activity-focus-time{display:flex;flex-direction:row;align-items:center;gap:8px;padding:8px 12px;border-left:1px solid #d5e1eb;color:#345b7e}
body[data-screen="module"] .activity-focus-time>.icon{width:22px;height:22px;color:var(--focus)}
body[data-screen="module"] .activity-focus-time span{display:flex;flex-direction:column}
body[data-screen="module"] .activity-focus-time small{font-size:9px;font-weight:800}
body[data-screen="module"] .activity-focus-time b{font-size:13px;color:#173f69}
body[data-screen="module"] .activity-focus-guide{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;gap:0;margin:0 0 18px;border:1px solid #d6e3ed;border-top:0;border-radius:0 0 8px 8px;background:#f7fafc}
body[data-screen="module"] .activity-focus-guide>div{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;padding:12px 14px;border-right:1px solid #d6e3ed}
body[data-screen="module"] .activity-focus-guide>div>i{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--focus-soft);color:var(--focus);font-style:normal}
body[data-screen="module"] .activity-focus-guide>div>i .icon{width:18px;height:18px}
body[data-screen="module"] .activity-focus-guide small{display:block;margin-bottom:3px;color:#587188;font-size:9px;font-weight:900}
body[data-screen="module"] .activity-focus-guide b{display:block;color:#173f69;font-size:12px;line-height:1.4}
body[data-screen="module"] .activity-focus-signal{display:flex;align-items:center;justify-content:center;gap:7px;min-width:142px;padding:10px 14px;background:var(--focus-soft);color:var(--focus);font-size:10px;font-weight:900}
body[data-screen="module"] .activity-focus-signal .icon{width:18px;height:18px}
body[data-screen="module"] button.activity-focus-signal{border:0;cursor:pointer;font-family:inherit;transition:background .16s ease,color .16s ease,box-shadow .16s ease}
body[data-screen="module"] button.activity-focus-signal .icon:last-child{width:14px;height:14px}
body[data-screen="module"] button.activity-focus-signal:hover,
body[data-screen="module"] button.activity-focus-signal:focus-visible{background:#d2eee3!important;box-shadow:inset 0 0 0 2px #279574;outline:0}
body[data-screen="module"] button.activity-focus-signal.is-selected{background:#17785b!important;color:#fff!important;box-shadow:inset 0 0 0 2px #0f5f47}
body[data-screen="module"] button.activity-focus-signal:disabled{cursor:not-allowed;opacity:.58}
body[data-screen="module"] button.activity-delivery-signal{background:#edf7f3!important;color:#27705a!important;box-shadow:inset 0 0 0 1px #9bcab9}
body[data-screen="module"] button.activity-delivery-signal.is-ready{background:#d9f2e8!important;color:#126d51!important;box-shadow:inset 0 0 0 2px #3aa783,0 4px 12px rgba(35,139,103,.15)}
body[data-screen="module"] button.activity-delivery-signal.is-delivered{background:#147657!important;color:#fff!important;box-shadow:inset 0 0 0 2px #0d5a42}
body[data-screen="module"] .ordered-activity.is-delivered{border-color:#55aa8c!important;box-shadow:0 0 0 2px rgba(35,145,105,.12)!important}
body[data-screen="module"] .activity-delivery-receipt{display:flex;align-items:center;gap:10px;margin:-6px 0 14px;padding:10px 14px;border:1px solid #66b99b;border-left:5px solid #16815f;border-radius:9px;background:#eaf9f3;color:#126a4f;box-shadow:0 4px 12px rgba(28,128,91,.1)}
body[data-screen="module"] .activity-delivery-receipt[hidden]{display:none!important}
body[data-screen="module"] .activity-delivery-receipt>.icon{width:25px;height:25px;padding:4px;border-radius:50%;background:#16815f;color:#fff}
body[data-screen="module"] .activity-delivery-receipt span{display:flex;flex-direction:column;gap:1px}body[data-screen="module"] .activity-delivery-receipt b{font-size:11px}body[data-screen="module"] .activity-delivery-receipt small{font-size:9px;color:#47796a}

/* Shared response composer for every delivery activity across the course catalog. */
body[data-screen="module"] .activity-response-composer{position:relative;margin:-2px 0 18px;padding:18px;border:1px solid #91c8ba;border-left:5px solid #168168;border-radius:8px;background:linear-gradient(135deg,#f7fcfb 0%,#eef8f5 58%,#f8fbff 100%);box-shadow:0 8px 22px rgba(25,102,82,.1)}
body[data-screen="module"] .activity-response-composer>.activity-delivery-signal{width:100%;min-height:46px;margin-top:14px;border-radius:8px;justify-content:center}
body[data-screen="module"] .activity-direct-instruction{display:flex;align-items:center;gap:10px;margin:10px 0;padding:11px 14px;border:1px solid #bad8ee;border-left:5px solid #2278bd;border-radius:8px;background:#f4f9fd;color:#173f69}
body[data-screen="module"] .activity-direct-instruction.is-activity{border-color:#d8c7ee;border-left-color:#7748b5;background:#f8f4fc;color:#432873}
body[data-screen="module"] .activity-direct-icon{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:9px;background:#dfeefa;color:#176cae}
body[data-screen="module"] .activity-direct-instruction.is-activity .activity-direct-icon{background:#eadff6;color:#7142aa}
body[data-screen="module"] .activity-direct-icon .icon{width:19px;height:19px}
body[data-screen="module"] .activity-direct-instruction>span:last-child{min-width:0}
body[data-screen="module"] .activity-direct-instruction small{display:block;margin-bottom:2px;color:#42739b;font-size:9px;font-weight:900;letter-spacing:.04em}
body[data-screen="module"] .activity-direct-instruction.is-activity small{color:#76529f}
body[data-screen="module"] .activity-direct-instruction b{display:block;font-size:13px;line-height:1.4}
body[data-screen="module"] .station-instruction-banner{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:14px;margin:14px 0;padding:15px 17px;border:1px solid #83c7c3;border-left:6px solid #12847e;border-radius:8px;background:#f0faf9;color:#173f60;box-shadow:0 7px 18px rgba(21,105,104,.12)}
body[data-screen="module"] .station-instruction-banner::after{content:"";position:absolute;inset:5px;border:1px solid rgba(18,132,126,.1);border-radius:5px;pointer-events:none}
body[data-screen="module"] .station-instruction-icon{position:relative;z-index:1;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#12847e;color:#fff;box-shadow:0 5px 12px rgba(18,132,126,.24)}
body[data-screen="module"] .station-instruction-icon .icon{width:23px;height:23px}
body[data-screen="module"] .station-instruction-banner>div{position:relative;z-index:1;min-width:0}
body[data-screen="module"] .station-instruction-banner small{display:block;margin-bottom:3px;color:#277571;font-size:9px;font-weight:900}
body[data-screen="module"] .station-instruction-banner b{display:block;color:#103e68;font-size:15px;line-height:1.3}
body[data-screen="module"] .station-instruction-banner p{margin:4px 0 0;color:#3d6577;font-size:11px;line-height:1.5}
body[data-screen="module"] .station-instruction-count{position:relative;z-index:1;padding:8px 11px;border:1px solid #75bbb7;border-radius:7px;background:#fff;color:#126e69;font-size:10px;font-weight:900;white-space:nowrap;box-shadow:0 3px 8px rgba(21,105,104,.08)}
@media(max-width:640px){body[data-screen="module"] .station-instruction-banner{grid-template-columns:42px minmax(0,1fr);gap:11px;padding:13px}body[data-screen="module"] .station-instruction-icon{width:40px;height:40px}body[data-screen="module"] .station-instruction-count{grid-column:2;justify-self:start}}
body[data-screen="module"] .instruction-showcase{--instruction-accent:#12847e;--instruction-soft:#e9faf6;--instruction-wave:#c9f3e9;position:relative;isolation:isolate;overflow:hidden;border:1px solid color-mix(in srgb,var(--instruction-accent) 30%,#d9e7ed)!important;border-left:7px solid var(--instruction-accent)!important;border-radius:8px!important;background:linear-gradient(110deg,#fff 0%,var(--instruction-soft) 72%,var(--instruction-wave) 100%)!important;box-shadow:0 8px 20px color-mix(in srgb,var(--instruction-accent) 14%,transparent)!important}
body[data-screen="module"] .instruction-showcase::before{content:"";position:absolute;z-index:-1;right:-4%;bottom:-80%;width:48%;height:135%;border-radius:50% 0 0 0;background:color-mix(in srgb,var(--instruction-wave) 72%,transparent);pointer-events:none}
body[data-screen="module"] .instruction-showcase.tone-blue{--instruction-accent:#1684d8;--instruction-soft:#edf7ff;--instruction-wave:#cfeaff}
body[data-screen="module"] .instruction-showcase.tone-violet{--instruction-accent:#7450dc;--instruction-soft:#f5f1ff;--instruction-wave:#e3d9ff}
body[data-screen="module"] .instruction-showcase>div>small,body[data-screen="module"] .az-pattern-lead.instruction-showcase small{display:inline-block;width:max-content;max-width:100%;margin:0 0 5px;padding:3px 9px;border-radius:999px;background:color-mix(in srgb,var(--instruction-accent) 14%,#fff);color:color-mix(in srgb,var(--instruction-accent) 78%,#16445d);font-size:9px;font-weight:950;line-height:1.2}
body[data-screen="module"] .station-instruction-banner{grid-template-columns:58px minmax(0,1fr) auto;gap:17px;padding:18px 20px}
body[data-screen="module"] .station-instruction-icon{width:56px;height:56px;background:var(--instruction-accent);box-shadow:0 7px 17px color-mix(in srgb,var(--instruction-accent) 30%,transparent)}
body[data-screen="module"] .station-instruction-icon .icon{width:28px;height:28px}
body[data-screen="module"] .station-instruction-banner b{font-size:18px}
body[data-screen="module"] .station-instruction-banner p{font-size:12px}
body[data-screen="module"] .station-instruction-count{display:flex;align-items:center;gap:9px;padding:10px 14px;border-color:color-mix(in srgb,var(--instruction-accent) 42%,#d9e7ed);color:var(--instruction-accent)}
body[data-screen="module"] .station-instruction-count .icon{width:22px;height:22px}
body[data-screen="module"] .station-instruction-count b{font-size:12px;white-space:nowrap}
body[data-screen="module"] .az-instruction.instruction-showcase{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:17px;margin:14px 0;padding:18px 20px}
body[data-screen="module"] .az-instruction.instruction-showcase>span,body[data-screen="module"] .az-instruction.instruction-showcase>aside{display:grid;place-items:center;width:56px;height:56px;border:1px solid color-mix(in srgb,var(--instruction-accent) 26%,#fff);border-radius:8px;background:#fff;color:var(--instruction-accent);box-shadow:0 6px 14px color-mix(in srgb,var(--instruction-accent) 19%,transparent)}
body[data-screen="module"] .az-instruction.instruction-showcase .icon{width:29px;height:29px}
body[data-screen="module"] .az-instruction.instruction-showcase h2{font-size:20px;line-height:1.22}
body[data-screen="module"] .az-instruction.instruction-showcase p{font-size:12px;line-height:1.5}
body[data-screen="module"] .az-pattern-lead.instruction-showcase{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:17px;width:100%;padding:17px 19px}
body[data-screen="module"] .az-pattern-lead.instruction-showcase .az-pattern-ico{width:56px;height:56px;border-radius:8px;background:#fff;color:var(--instruction-accent);box-shadow:0 6px 14px color-mix(in srgb,var(--instruction-accent) 20%,transparent)}
body[data-screen="module"] .az-pattern-lead.instruction-showcase h3{font-size:20px!important;line-height:1.22}
body[data-screen="module"] .az-pattern-lead.instruction-showcase p{font-size:12px!important;line-height:1.5}
@media(max-width:640px){body[data-screen="module"] .station-instruction-banner,body[data-screen="module"] .az-instruction.instruction-showcase{grid-template-columns:46px minmax(0,1fr);gap:12px;padding:14px}body[data-screen="module"] .station-instruction-icon,body[data-screen="module"] .az-instruction.instruction-showcase>span{width:44px;height:44px}body[data-screen="module"] .station-instruction-count{grid-column:2;justify-self:start}body[data-screen="module"] .az-instruction.instruction-showcase>aside{display:none}body[data-screen="module"] .az-pattern-lead.instruction-showcase{grid-template-columns:46px minmax(0,1fr);gap:12px;padding:14px}body[data-screen="module"] .az-pattern-lead.instruction-showcase .az-pattern-ico{width:44px;height:44px}body[data-screen="module"] .station-instruction-banner b,body[data-screen="module"] .az-instruction.instruction-showcase h2,body[data-screen="module"] .az-pattern-lead.instruction-showcase h3{font-size:16px!important}}
body[data-screen="module"] .activity-response-head{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:start;gap:12px;margin-bottom:14px}
body[data-screen="module"] .activity-response-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:8px;background:#168168;color:#fff;box-shadow:0 5px 12px rgba(22,129,104,.22)}
body[data-screen="module"] .activity-response-icon .icon{width:22px;height:22px}
body[data-screen="module"] .activity-response-head small{display:block;margin:1px 0 3px;color:#168168;font-size:9px;font-weight:900}
body[data-screen="module"] .activity-response-head h3{margin:0;color:#103d61;font-size:17px;line-height:1.25}
body[data-screen="module"] .activity-response-head p{margin:4px 0 0;color:#526f83;font-size:11px;line-height:1.45}
body[data-screen="module"] .activity-autosave{display:inline-flex;align-items:center;gap:5px;padding:7px 9px;border:1px solid #b8dcd2;border-radius:7px;background:#fff;color:#25725d;font-size:9px;font-weight:850;white-space:nowrap}
body[data-screen="module"] .activity-autosave .icon{width:14px;height:14px}
body[data-screen="module"] .activity-response-prompts{display:flex;align-items:center;gap:8px;margin:0 0 11px;padding:9px 11px;border:1px solid #d7e8e3;border-radius:7px;background:#fff;color:#315c67;font-size:10px;font-weight:800}
body[data-screen="module"] .activity-response-prompts span{display:flex;align-items:center;gap:6px}
body[data-screen="module"] .activity-response-prompts b{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#dff2ec;color:#14745b}
body[data-screen="module"] .activity-response-prompts i{display:grid;place-items:center;color:#6e9f94}
body[data-screen="module"] .activity-response-prompts .icon{width:14px;height:14px}
body[data-screen="module"] .activity-response-field{display:block;margin:0}
body[data-screen="module"] .activity-response-field>span{display:block;margin:0 0 6px;color:#173f69;font-size:11px;font-weight:900}
body[data-screen="module"] .activity-response-field textarea{display:block;width:100%;min-height:118px;margin:0;padding:14px 16px;border:2px solid #95c8bc;border-radius:8px;background:#fff;color:#173f69;font:inherit;line-height:1.55;resize:vertical;box-shadow:inset 0 1px 3px rgba(19,63,73,.05);transition:border-color .2s,box-shadow .2s}
body[data-screen="module"] .activity-response-field textarea:focus{border-color:#168168;outline:0;box-shadow:0 0 0 4px rgba(22,129,104,.14)}
body[data-screen="module"] .activity-response-field>small{display:block;margin-top:5px;color:#60798a;font-size:9px;text-align:right}
@media(max-width:760px){body[data-screen="module"] .activity-response-composer{padding:14px}body[data-screen="module"] .activity-response-head{grid-template-columns:38px minmax(0,1fr)}body[data-screen="module"] .activity-autosave{grid-column:2;justify-self:start}body[data-screen="module"] .activity-response-prompts{align-items:flex-start;flex-direction:column}body[data-screen="module"] .activity-response-prompts i{display:none}}
body[data-screen="module"][data-station="5"] .activity-step-connector{display:grid;grid-template-columns:62px minmax(38px,1fr) minmax(290px,auto) minmax(38px,1fr) 70px;align-items:center;gap:10px;max-width:980px;margin:18px auto;padding:8px 14px;color:#174f78}
body[data-screen="module"][data-station="5"] .activity-step-connector>span{position:relative;display:grid;place-items:center;width:60px;height:60px;border:3px solid #38a888;border-radius:50%;background:#e8f8f2;color:#126d52;font-size:18px;font-weight:950;box-shadow:0 6px 16px rgba(26,126,94,.18)}
body[data-screen="module"][data-station="5"] .activity-step-connector>span small{font-size:6px;font-weight:900;line-height:1}.activity-step-connector .activity-step-from .icon{position:absolute;right:-4px;bottom:-2px;width:19px;height:19px;padding:3px;border-radius:50%;background:#14805e;color:#fff}
body[data-screen="module"][data-station="5"] .activity-step-connector>span:last-child{width:68px;height:68px;border-color:#1976c9;background:#e9f4ff;color:#155d9d;box-shadow:0 0 0 6px rgba(79,164,231,.12),0 7px 18px rgba(28,105,169,.24)}
.activity-step-connector .activity-step-to .icon{position:absolute;right:-5px;width:22px;height:22px;padding:4px;border-radius:50%;background:#1976c9;color:#fff}
body[data-screen="module"][data-station="5"] .activity-step-connector>i{height:4px;border-radius:4px;background:linear-gradient(90deg,#3cad8b,#3b8fd3);box-shadow:0 2px 5px rgba(31,119,151,.18)}
body[data-screen="module"][data-station="5"] .activity-step-connector>strong{padding:11px 20px;border:2px solid #246fa9;border-radius:12px;background:linear-gradient(135deg,#174f82,#1978a0);color:#fff;font-size:10px;text-align:center;line-height:1.4;box-shadow:0 9px 22px rgba(18,78,124,.24)}
body[data-screen="module"][data-station="5"] .activity-step-connector>strong small{display:block;margin-bottom:2px;color:#bfefff;font-size:8px;font-weight:900}.activity-step-connector>strong b{margin-right:5px;color:#fff4a8;font-size:14px}
@media(max-width:620px){body[data-screen="module"][data-station="5"] .activity-step-connector{grid-template-columns:50px 1fr 55px;margin:13px auto;padding:5px}body[data-screen="module"][data-station="5"] .activity-step-connector>i{display:none}body[data-screen="module"][data-station="5"] .activity-step-connector>span,body[data-screen="module"][data-station="5"] .activity-step-connector>span:last-child{width:50px;height:50px;font-size:14px}body[data-screen="module"][data-station="5"] .activity-step-connector>strong{padding:9px;border-radius:10px;font-size:8px}.activity-step-connector>strong b{display:block;font-size:12px}}
body[data-screen="module"] .activity-focus-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 0;padding:11px 13px;border:1px solid #d7e2eb;border-radius:7px;background:#f4f7fa;color:#49647d;font-size:11px;font-weight:700}
body[data-screen="module"] .activity-focus-footer>span{display:flex;align-items:center;gap:7px}
body[data-screen="module"] .activity-focus-footer .icon{width:17px;height:17px}
body[data-screen="module"] .activity-focus-footer.is-complete{border-color:#bfe1d4;background:#eaf7f1;color:#12664f}
body[data-screen="module"] .ordered-activity[data-activity-state="current"]{box-shadow:0 0 0 2px #e5eef6,0 6px 18px rgba(16,61,100,.08)}
@media(max-width:760px){body[data-screen="module"] .activity-focus{grid-template-columns:54px 36px minmax(0,1fr)}body[data-screen="module"] .activity-focus-time{grid-column:1/-1;border:0;border-top:1px solid #d6e3ed;padding-left:8px}body[data-screen="module"] .activity-focus-guide{grid-template-columns:1fr}body[data-screen="module"] .activity-focus-guide>div{border-right:0;border-bottom:1px solid #d6e3ed}body[data-screen="module"] .activity-focus-signal{justify-content:flex-start;min-width:0}body[data-screen="module"] .activity-focus-footer{align-items:flex-start;flex-direction:column}}

/* Caso profesional destacado y contextualizado en los 45 cursos. */
body[data-screen="module"] .ctx-case-featured{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(0,1.35fr);padding:0;border:1px solid #bcd2e6;border-left:5px solid #287bb9;background:#fff;box-shadow:0 10px 26px rgba(15,66,108,.11)}
body[data-screen="module"] .ctx-case-featured figure{position:relative;min-height:230px;margin:0;overflow:hidden;background:#dbeaf4}
body[data-screen="module"] .ctx-case-featured figure img{width:100%;height:100%;min-height:230px;object-fit:cover}
body[data-screen="module"] .ctx-case-featured figcaption{position:absolute;inset:auto 12px 12px;display:flex;align-items:center;gap:7px;width:max-content;max-width:calc(100% - 24px);padding:8px 10px;border-radius:6px;background:rgba(7,43,79,.88);color:#fff;font-size:10px;font-weight:800}
body[data-screen="module"] .ctx-case-featured figcaption .icon{width:17px;height:17px}
body[data-screen="module"] .ctx-case-featured .ctx-case-copy{display:flex;flex-direction:column;justify-content:center;padding:22px 24px}
body[data-screen="module"] .ctx-case-featured .ctx-case-kicker{align-self:flex-start;margin:2px 0 10px;padding:5px 8px;border-radius:5px;background:#e8f4fb;color:#146b9f;font-size:9px;font-weight:900}
body[data-screen="module"] .ctx-case-featured h3{margin:0 0 10px;font-size:22px;line-height:1.2;color:#082f59}
body[data-screen="module"] .ctx-case-featured p{margin:0;color:#3e5870;font-size:14px;line-height:1.55}
body[data-screen="module"] .ctx-case-cue{display:flex;align-items:flex-start;gap:8px;margin-top:16px;padding:10px 11px;border:1px solid #cde4d9;border-radius:7px;background:#eef8f3;color:#1d5f4b;font-size:11px;line-height:1.4}
body[data-screen="module"] .ctx-case-cue .icon{flex:0 0 auto;width:18px;height:18px}
@media(max-width:760px){body[data-screen="module"] .ctx-case-featured{grid-template-columns:1fr}body[data-screen="module"] .ctx-case-featured figure,body[data-screen="module"] .ctx-case-featured figure img{min-height:190px;height:190px}body[data-screen="module"] .ctx-case-featured .ctx-case-copy{padding:18px}body[data-screen="module"] .ctx-case-featured h3{font-size:19px}}

/* Estación 2: orientación visual, botonera AE y progresión escaneable. */
body[data-station="2"] .ae-layout{grid-template-columns:minmax(320px,.78fr) minmax(540px,1.22fr);gap:16px;align-items:stretch}
body[data-station="2"] .ae-info,body[data-station="2"] .progression{border:1px solid #cbdbe9;background:#fff;box-shadow:0 7px 20px rgba(16,57,94,.07)}
body[data-station="2"] .ae-info{padding:16px}
body[data-station="2"] .ae-info .tabs.compact{display:grid;grid-template-columns:repeat(auto-fit,minmax(84px,1fr));gap:7px;margin:0 0 14px;padding:6px;border:1px solid #cfdeea;border-radius:8px;background:#edf4f9}
body[data-station="2"] .ae-info .tabs.compact button{min-height:43px;border:1px solid #cbdbe8;border-radius:6px;background:#fff;color:#28577f;font-weight:900;box-shadow:none}
body[data-station="2"] .ae-info .tabs.compact button:hover:not(:disabled){border-color:#79a9ce;background:#f5faff}
body[data-station="2"] .ae-info .tabs.compact button.active{border-color:#327caf;background:#d9edf8;color:#104f79;box-shadow:inset 0 -4px 0 #3b86b8}
body[data-station="2"] .ae-context-visual{position:relative;height:180px;margin:0 0 16px;overflow:hidden;border:1px solid #c8d9e8;border-radius:8px;background:#dceaf3}
body[data-station="2"] .ae-context-visual img{display:block;width:100%;height:100%;object-fit:cover}
body[data-station="2"] .ae-context-visual figcaption{position:absolute;inset:auto 10px 10px;display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:6px;background:rgba(7,43,79,.88);color:#fff}
body[data-station="2"] .ae-context-visual figcaption .icon{width:19px;height:19px}
body[data-station="2"] .ae-context-visual figcaption small{display:block;font-size:8px;font-weight:850}
body[data-station="2"] .ae-context-visual figcaption b{display:block;font-size:11px}
body[data-station="2"] .ae-info>.eyebrow{display:inline-block;margin:0 0 8px;padding:5px 8px;border-radius:5px;background:#e8f4fb;color:#15658f}
body[data-station="2"] .ae-info>h2{font-size:20px;line-height:1.25;color:#082f59}
body[data-station="2"] .ae-info>p{color:#405b74;line-height:1.55}
body[data-station="2"] .ae-info details{border:1px solid #c7dced;border-radius:7px;background:#eef6fc}
body[data-station="2"] .ae-info details summary{color:#155b91;font-weight:800}
body[data-station="2"] .progression{padding:18px;background:#f8fbfd}
body[data-station="2"] .progression>h3{display:flex;align-items:center;gap:8px;margin:0 0 5px;color:#0b4f87;font-size:18px}
body[data-station="2"] .learning-route{gap:10px}
body[data-station="2"] .learning-step{min-height:158px;border:1px solid #cbdbe8;border-top:5px solid var(--step-color,#8cb4d4);border-radius:8px;background:#fff;box-shadow:0 3px 10px rgba(16,57,94,.06);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
body[data-station="2"] .learning-step:nth-child(2){--step-color:#8ea9d8}body[data-station="2"] .learning-step:nth-child(3){--step-color:#b49adb}body[data-station="2"] .learning-step:nth-child(4){--step-color:#e1b16f}body[data-station="2"] .learning-step:nth-child(5){--step-color:#78bf9d}body[data-station="2"] .learning-step:nth-child(6){--step-color:#71bbb8}
body[data-station="2"] .learning-step:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 7px 16px rgba(16,57,94,.11)}
body[data-station="2"] .learning-step.active{border-color:#4389bb;background:#edf7fc;box-shadow:0 0 0 2px #d2e8f6,0 6px 15px rgba(28,101,151,.11)}
body[data-station="2"] .learning-step.done{border-color:#72b99a;background:#eef8f3}
body[data-station="2"] .learning-step>span{background:color-mix(in srgb,var(--step-color,#8cb4d4) 22%,white);color:#164e78}
body[data-station="2"] .learning-step small{margin-top:auto;border-radius:999px;background:#eaf1f7;color:#49657d;font-weight:800}
body[data-station="2"] .learning-step.active small{background:#fff;color:#176894}
body[data-station="2"] .learning-step.done small{background:#d9f0e5;color:#12644c}
body[data-station="2"] .progression .info-strip{border-left:4px solid #46a18b;background:#eaf7f2;color:#275d50}
@media(max-width:980px){body[data-station="2"] .ae-layout{grid-template-columns:1fr}body[data-station="2"] .ae-context-visual{height:210px}}
@media(max-width:620px){body[data-station="2"] .ae-context-visual{height:170px}body[data-station="2"] .learning-route{grid-template-columns:1fr 1fr}body[data-station="2"] .learning-step{min-height:142px}}

/* Actividad e instrucciones: identidad por icono, con color contenido. */
body[data-screen="module"] .work-activity-head{position:relative;width:100%;min-height:86px;display:flex;align-items:center;gap:14px;padding:15px 18px;border:1px solid #bfd4e5;border-left:6px solid #2d7fb4;border-radius:8px;background:#fff;box-shadow:0 5px 15px rgba(15,62,100,.07)}
body[data-screen="module"] .work-activity-head::after{content:"ACTIVIDAD";position:absolute;inset:10px 14px auto auto;padding:4px 7px;border-radius:4px;background:#eaf4fa;color:#24658f;font-size:8px;font-weight:900}
body[data-screen="module"] .work-activity-head>.work-ico{position:relative;flex:0 0 52px;width:52px;height:52px;border-radius:50%;border:1px solid #acd1e6;background:#e6f4fb;color:#17658f;box-shadow:inset 0 0 0 6px #f5fbfe}
body[data-screen="module"] .work-activity-head>.work-ico svg{width:25px;height:25px}
body[data-screen="module"] .work-activity-head h3{margin:0 0 3px;font-size:19px;color:#0b3e69}
body[data-screen="module"] .work-activity-head p{margin:0;color:#526b81;font-size:12px}
body[data-screen="module"] .act-contract{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:10px;border:1px solid #d5e1ea;background:#f8fafc}
body[data-screen="module"] .act-contract>div,body[data-screen="module"] .act-contract>p{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:start;gap:10px;min-height:96px;padding:13px;border:1px solid #d8e2ea;border-top:1px solid #d8e2ea;border-radius:7px;background:#fff!important;box-shadow:none}
body[data-screen="module"] .act-contract>div>i,body[data-screen="module"] .act-contract>p>i{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;background:#e8f3fa;color:#236b98;font-style:normal}
body[data-screen="module"] .act-contract>div>i .work-ico,body[data-screen="module"] .act-contract>p>i .work-ico{width:22px;height:22px;background:transparent;color:inherit}
body[data-screen="module"] .act-contract>div:nth-child(2)>i{background:#f0ebf8;color:#6b5295}
body[data-screen="module"] .act-contract>div:nth-child(3)>i{background:#e8f5f1;color:#24755f}
body[data-screen="module"] .act-contract>div:nth-child(4)>i{background:#eaf2fa;color:#356d9c}
body[data-screen="module"] .act-contract>div:nth-child(5)>i{background:#fff3df;color:#a56b16}
body[data-screen="module"] .act-contract>div:nth-child(6)>i{background:#eaf6ee;color:#28734f}
body[data-screen="module"] .act-contract>div>span,body[data-screen="module"] .act-contract>p>span{display:block;min-width:0}
body[data-screen="module"] .act-contract b{display:block;margin:1px 0 5px;color:#173f67;font-size:11px}
body[data-screen="module"] .act-contract em{display:block;color:#3d5870;font-size:12px;font-style:normal;line-height:1.45}
body[data-screen="module"] .act-contract>p{grid-column:1/-1;min-height:64px;border-left:4px solid #58a78d;background:#fff!important}
body[data-screen="module"] .act-contract>p>i{background:#e6f5ee;color:#20725a}
@media(max-width:800px){body[data-screen="module"] .act-contract{grid-template-columns:1fr 1fr}body[data-screen="module"] .act-contract>p{grid-column:1/-1}}
@media(max-width:560px){body[data-screen="module"] .work-activity-head{align-items:flex-start;padding:14px}.work-activity-head::after{display:none}body[data-screen="module"] .act-contract{grid-template-columns:1fr}body[data-screen="module"] .act-contract>p{grid-column:1}}

/* Sistema transversal de navegacion pedagogica Aula TP */
body[data-screen="module"] .route-panel.lr{padding:14px!important;border-color:#bfd3e4!important;background:#f7fafc!important;box-shadow:0 8px 22px rgba(17,56,88,.07)!important}
body[data-screen="module"] .lr-head-compact{margin:0 0 12px!important;background:linear-gradient(100deg,#edf7ff,#f7fbff 62%,#edf9f4)!important;border-color:#c4dbea!important}
body[data-screen="module"] .lr-head-compact-copy h2{font-size:21px!important;letter-spacing:0!important}
body[data-screen="module"] .lr-head-compact-copy p{font-size:12px!important;line-height:1.35!important}
body[data-screen="module"] .lr-head-compact-key i{background:#d6e1ea!important}
body[data-screen="module"] .lr-head-compact-key i.is-done{background:#29936b!important}
body[data-screen="module"] .lr-head-compact-key i.is-here{background:#176bbb!important;box-shadow:0 0 0 2px #fff,0 0 0 4px #9bc7eb}
body[data-screen="module"] .lr .lr-track{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;padding:18px 0 4px!important}
body[data-screen="module"] .lr .lr-card.station{min-height:274px!important;padding:0!important;border-radius:12px!important;border-width:1px 1px 4px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 4px 12px rgba(16,54,85,.08)!important}
body[data-screen="module"] .lr .lr-card.station:hover{transform:translateY(-2px)!important;box-shadow:0 8px 18px rgba(16,54,85,.13)!important}
body[data-screen="module"] .lr .lr-card.station:active{transform:translateY(0)!important;box-shadow:0 2px 7px rgba(16,54,85,.12)!important}
body[data-screen="module"] .lr .lr-card.station:focus-visible{outline:3px solid #176bbb!important;outline-offset:3px!important}
body[data-screen="module"] .lr .lr-stop.is-current .lr-card.station{border-color:var(--lr)!important;border-width:2px 2px 5px!important;background:linear-gradient(180deg,var(--lr-soft),#fff 46%)!important;box-shadow:0 0 0 3px #fff,0 0 0 6px var(--lr-soft),0 8px 20px rgba(16,54,85,.13)!important}
body[data-screen="module"] .lr-card-photo{position:relative;display:block;width:100%;height:86px;flex:0 0 86px;overflow:hidden;background:var(--lr-soft)}
body[data-screen="module"] .lr-card-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .25s ease}
body[data-screen="module"] .lr-card.station:hover .lr-card-photo img{transform:scale(1.035)}
body[data-screen="module"] .lr-photo-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 42%,rgba(8,35,63,.7))}
body[data-screen="module"] .lr-photo-caption{position:absolute;left:10px;bottom:7px;padding:3px 7px;border-radius:5px;background:rgba(255,255,255,.94);color:var(--lr-ink);font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;box-shadow:0 2px 6px rgba(8,35,63,.15)}
body[data-screen="module"] .lr .lr-body{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;padding:10px 12px 11px!important;height:100%!important}
body[data-screen="module"] .lr-stage-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--lr-soft);color:var(--lr)}
body[data-screen="module"] .lr-stage-icon .work-ico,body[data-screen="module"] .lr-stage-icon svg{width:18px!important;height:18px!important}
body[data-screen="module"] .lr-action{font-size:9px!important;font-weight:900!important;text-transform:uppercase;color:var(--lr-ink)!important;letter-spacing:.04em}
body[data-screen="module"] .lr-name{font-size:13px!important;line-height:1.2!important;color:#102f55!important;min-height:31px!important}
body[data-screen="module"] .lr-purpose{font-size:10px!important;line-height:1.35!important;color:#4e657a!important;min-height:40px!important}
body[data-screen="module"] .lr-cta{margin-top:auto!important;width:100%!important;min-height:34px!important;padding:5px 8px!important;font-size:9px!important}
body[data-screen="module"] .lr-hint{font-size:9px!important;line-height:1.25!important;color:#174d7b!important}
body[data-screen="module"] .lr .lr-node{top:-14px!important}
body[data-screen="module"] .lr-stop.is-locked .lr-card.station{opacity:.72!important;filter:saturate(.55)!important}
body[data-screen="module"] .lr-context{margin:12px 0 0!important;padding:0!important;border:1px solid #c6dfd3!important;border-radius:9px!important;background:#f1faf6!important}
body[data-screen="module"] .lr-context summary{display:flex;align-items:center;gap:8px;padding:10px 12px;color:#176b50!important;font-size:11px;font-weight:800;cursor:pointer}
body[data-screen="module"] .lr-context summary .work-ico,body[data-screen="module"] .lr-context summary svg{width:17px;height:17px}
body[data-screen="module"] .lr-context p{margin:0;padding:0 12px 12px;font-size:11px;line-height:1.45;color:#35566a}
@media(max-width:1050px){body[data-screen="module"] .lr .lr-track{display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory;padding:18px 4px 10px!important}body[data-screen="module"] .lr .lr-stop{flex:0 0 220px!important;scroll-snap-align:start}}
@media(max-width:620px){body[data-screen="module"] .route-panel.lr{padding:10px!important}body[data-screen="module"] .lr .lr-stop{flex-basis:min(235px,76vw)!important}body[data-screen="module"] .lr .lr-card.station{min-height:264px!important;display:flex!important;grid-template-columns:none!important}body[data-screen="module"] .lr-card-photo{height:82px;flex-basis:82px}body[data-screen="module"] .lr .lr-body{min-height:176px!important}body[data-screen="module"] .bottom-nav{position:sticky;bottom:8px;z-index:20;padding:7px;border:1px solid #bfd3e4;border-radius:11px;background:rgba(247,251,255,.96);box-shadow:0 8px 24px rgba(10,43,76,.18);backdrop-filter:blur(8px)}body[data-screen="module"] .bottom-nav .primary{font-weight:800;box-shadow:0 4px 10px rgba(0,104,239,.2)}}

/* Jerarquia, agrupacion y continuidad comunes a los 45 cursos */
body[data-screen="module"] .module-main{width:100%;min-width:0}
body[data-screen="module"] .station-body{padding:clamp(14px,1.6vw,24px)!important}
body[data-screen="module"] .station-body>.activity-primer{margin-bottom:18px!important}
body[data-screen="module"] .ordered-activity{
  position:relative;
  margin:18px 0!important;
  padding:16px!important;
  border:1px solid #ccdbe8!important;
  border-left:5px solid var(--station-color,var(--ped-blue))!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:0 6px 18px rgba(12,48,80,.07)!important;
}
body[data-screen="module"] .ordered-activity+.ordered-activity{margin-top:24px!important}
body[data-screen="module"] .activity-order-badge{margin:-16px -16px 15px!important;border-radius:8px 8px 0 0!important;border-bottom:1px solid #cfdeea!important;background:#f2f7fb!important}
body[data-screen="module"] .activity-focus-guide{margin:0 0 16px!important;border:1px solid #d2e0eb!important;border-radius:8px!important;overflow:hidden!important;background:#fff!important}
body[data-screen="module"] .activity-focus-guide>div{background:#f8fbfd!important}
body[data-screen="module"] .activity-focus-guide>div+div{border-left:1px solid #d2e0eb!important}
body[data-screen="module"] .activity-focus-signal{background:#e8f5f0!important;color:#176d53!important}

/* Las tarjetas informativas permanecen visualmente estables; solo los controles se elevan. */
@media(hover:hover){
  body[data-screen="module"] .work-card:not(button):not(a):hover,
  body[data-screen="module"] .soft:not(button):not(a):hover{transform:none!important;box-shadow:0 1px 3px rgba(8,43,85,.06)!important}
}
body[data-screen="module"] button,
body[data-screen="module"] a.primary,
body[data-screen="module"] a.outline{min-height:44px;border-radius:8px;font-weight:800}
body[data-screen="module"] button.primary,
body[data-screen="module"] a.primary{background:#0869d7;border-color:#0869d7;color:#fff;box-shadow:0 4px 10px rgba(8,105,215,.22)}
body[data-screen="module"] button.primary:hover:not(:disabled),
body[data-screen="module"] a.primary:hover{background:#075bb9;border-color:#075bb9}
body[data-screen="module"] button:disabled,
body[data-screen="module"] [aria-disabled="true"]{opacity:.62;filter:saturate(.45)}
body[data-screen="module"] .bottom-nav{justify-content:flex-end;align-items:center;gap:10px;padding:12px 0;margin:22px 0 8px;border-top:1px solid #d5e1eb}
body[data-screen="module"] .bottom-nav .outline{margin-right:auto}
body[data-screen="module"] .bottom-nav .primary{min-width:min(100%,260px)}

/* Respuestas: seleccion y foco reconocibles tambien sin depender del color. */
body[data-screen="module"] .option,
body[data-screen="module"] .mcq-options .option,
body[data-screen="module"] .act-choices .option{position:relative;min-height:48px;border:1px solid #c8d8e6;background:#fff;box-shadow:none}
body[data-screen="module"] .option:has(input:checked),
body[data-screen="module"] .mcq-options .option:has(input:checked),
body[data-screen="module"] .act-choices .option:has(input:checked){padding-right:104px;border:2px solid #176bbb;background:#eef6ff;box-shadow:0 0 0 3px #dcecff}
body[data-screen="module"] .option:has(input:checked)::after,
body[data-screen="module"] .mcq-options .option:has(input:checked)::after,
body[data-screen="module"] .act-choices .option:has(input:checked)::after{content:"Seleccionada";position:absolute;right:10px;top:50%;transform:translateY(-50%);padding:3px 7px;border-radius:5px;background:#176bbb;color:#fff;font-size:9px;font-weight:900}
body[data-screen="module"] textarea{min-height:110px;border-radius:8px;line-height:1.55}
body[data-screen="module"] textarea:focus-visible,
body[data-screen="module"] input:focus-visible,
body[data-screen="module"] select:focus-visible{outline:3px solid #f2b529!important;outline-offset:2px!important}

/* Retroalimentacion distinguible de la consigna. */
body[data-screen="module"] .practice-result,
body[data-screen="module"] .feedback,
body[data-screen="module"] [class*="feedback-message"]{margin-top:14px;padding:13px 15px;border:1px solid #b9ddcf;border-left:5px solid #25825f;border-radius:8px;background:#eef9f4;color:#174f3f}
.connection-recovery{display:flex!important;min-height:300px;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;background:linear-gradient(145deg,#fff,#f2f8fc)!important}
.connection-recovery-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#e6f2fb;color:#176ba8}
.connection-recovery-icon .icon{width:28px;height:28px;animation:connection-spin 1.4s linear infinite}
.connection-recovery h2,.connection-recovery p{margin:0}.connection-recovery p{max-width:560px;color:#506b82}
.connection-recovery .primary,.connection-recovery .outline{min-width:190px;justify-content:center}
@keyframes connection-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.connection-recovery-icon .icon{animation:none}}

@media(max-width:760px){
  body[data-screen="module"] .ordered-activity{padding:12px!important;margin:14px 0!important}
  body[data-screen="module"] .activity-order-badge{margin:-12px -12px 12px!important}
  body[data-screen="module"] .activity-focus-guide{display:grid!important;grid-template-columns:1fr!important}
  body[data-screen="module"] .activity-focus-guide>div+div{border-left:0!important;border-top:1px solid #d2e0eb!important}
  body[data-screen="module"] .activity-focus-signal{width:100%;justify-content:center}
  body[data-screen="module"] .bottom-nav{bottom:10px!important;padding:8px!important;margin-bottom:86px!important}
  body[data-screen="module"] .bottom-nav .outline,
  body[data-screen="module"] .bottom-nav .primary{min-width:0;flex:1;font-size:11px;padding:9px 10px}
  body[data-screen="module"] .tools-fab,
  body[data-screen="module"] #aula-tools-fab{right:8px!important;bottom:82px!important;max-width:calc(100vw - 16px)!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;opacity:.9}
  body[data-screen="module"] .tools-fab:hover,
  body[data-screen="module"] #aula-tools-fab:hover,
  body[data-screen="module"] .tools-fab:focus-visible,
  body[data-screen="module"] #aula-tools-fab:focus-visible{opacity:1}
}

/* Progresion de apoyo: guiado, autonomia y cierre reflexivo */
body[data-screen="module"] .learning-support-level{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid #d5e1eb;background:#f8fbfd}
body[data-screen="module"] .learning-support-level>span{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:#e7f1fa;color:var(--station-color)}
body[data-screen="module"] .learning-support-level>span .icon{width:19px;height:19px}
body[data-screen="module"] .learning-support-level small{font-size:8px;font-weight:900;color:#61758b}
body[data-screen="module"] .learning-support-level b{display:block;font-size:12px;color:#143f69}
body[data-screen="module"] .learning-support-level p{margin:2px 0 0;font-size:10px;color:#50677d;line-height:1.35}
body[data-screen="module"] .learning-support-level>i{display:flex;gap:4px;width:96px}
body[data-screen="module"] .learning-support-level>i em{display:block;flex:1;height:5px;border-radius:4px;background:#d8e3ec}
body[data-screen="module"] .learning-support-level>i em.is-past{background:#83b9a4}
body[data-screen="module"] .learning-support-level>i em.is-current{background:var(--station-color);box-shadow:0 0 0 2px #fff,0 0 0 3px color-mix(in srgb,var(--station-color) 38%,#fff)}
body[data-station="4"] .learning-support-level{background:#f4f8fc;border-left:4px solid #3d6f9e}
body[data-station="5"] .learning-support-level{background:#eef8f3;border-left:4px solid #278064}

/* Evaluacion protegida: solo progreso, revision propia y entrega. */
body[data-station="4"] .exam-progress-summary{display:flex;align-items:center;gap:10px;margin:10px 0;padding:10px 12px;border:1px solid #c8d9e8;border-radius:8px;background:#f3f7fb;color:#254c70}
body[data-station="4"] .exam-progress-summary b{font-size:12px}
body[data-station="4"] .exam-progress-summary span{padding-left:10px;border-left:1px solid #b9ccdc;font-size:11px}
body[data-station="4"] .exam-progress-summary small{margin-left:auto;font-size:9px;font-weight:800;text-transform:uppercase;color:#5c7184}
body[data-station="4"] .q-number.review{position:relative;border-color:#b87316!important;background:#fff5e5!important;color:#8b5209!important}
body[data-station="4"] .q-number.review::after{content:"";position:absolute;right:3px;top:3px;width:7px;height:7px;border-radius:50%;background:#d3871f}
body[data-station="4"] .exam-review{background:#fff7e9!important;border:1px solid #e3bd7d!important;color:#8c570b!important;box-shadow:none!important}
body[data-station="4"] .exam-review.is-marked{background:#b76d0c!important;border-color:#9a5907!important;color:#fff!important}
body[data-station="4"] .act-feedback,
body[data-station="4"] .practice-result{display:none!important}
@media(max-width:620px){body[data-screen="module"] .learning-support-level{grid-template-columns:34px minmax(0,1fr)}body[data-screen="module"] .learning-support-level>i{grid-column:1/-1;width:100%}body[data-station="4"] .exam-progress-summary{flex-wrap:wrap}body[data-station="4"] .exam-progress-summary small{width:100%;margin-left:0}}

/* Estacion 5: conserva la guia de lectura a ancho completo en los 45 cursos. */
body[data-screen="module"][data-station="5"] .az-instruction.ordered-activity{
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  padding:16px!important;
  border-color:#b8d7ea!important;
  background:linear-gradient(135deg,#f5faff 0,#fff 62%)!important;
}
body[data-screen="module"][data-station="5"] .az-instruction.ordered-activity>.activity-focus,
body[data-screen="module"][data-station="5"] .az-instruction.ordered-activity>.activity-direct-instruction,
body[data-screen="module"][data-station="5"] .az-instruction.ordered-activity>.activity-continuity,
body[data-screen="module"][data-station="5"] .az-instruction.ordered-activity>.activity-focus-guide{
  grid-column:1/-1!important;
  width:100%!important;
  min-width:0!important;
}
body[data-screen="module"][data-station="5"] .az-instruction.ordered-activity>.activity-focus-guide{
  grid-template-columns:minmax(240px,1.2fr) minmax(220px,1fr) minmax(150px,.48fr)!important;
}
body[data-screen="module"][data-station="5"] .az-instruction.ordered-activity>span:not([class]){
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border:1px solid #b9d9ee;
  border-radius:10px;
  background:#eaf6ff;
  color:#176fba;
}
body[data-screen="module"][data-station="5"] .az-instruction.ordered-activity>div:not([class]){min-width:0}
body[data-screen="module"][data-station="5"] .az-instruction.ordered-activity>div:not([class]) h2{
  font-size:18px!important;
  line-height:1.25!important;
}
body[data-screen="module"][data-station="5"] .az-instruction.ordered-activity>div:not([class]) p{
  max-width:760px;
  font-size:12px!important;
  line-height:1.55!important;
}
@media(max-width:900px){
  body[data-screen="module"][data-station="5"] .az-instruction.ordered-activity>.activity-focus-guide{
    grid-template-columns:1fr 1fr!important;
  }
  body[data-screen="module"][data-station="5"] .az-instruction.ordered-activity .activity-focus-signal{
    grid-column:1/-1;
    width:100%;
  }
}
@media(max-width:620px){
  body[data-screen="module"][data-station="5"] .az-instruction.ordered-activity{
    grid-template-columns:40px minmax(0,1fr)!important;
    padding:12px!important;
  }
  body[data-screen="module"][data-station="5"] .az-instruction.ordered-activity>.activity-focus-guide{grid-template-columns:1fr!important}
  body[data-screen="module"][data-station="5"] .az-instruction.ordered-activity>span:not([class]){width:38px;height:38px}
}

/* Continuidad cognitiva: cada experiencia reutiliza la anterior. */
body[data-screen="module"] .activity-continuity{display:flex;align-items:center;gap:10px;margin:-2px 0 12px;padding:9px 11px;border:1px solid #d7e2eb;border-radius:7px;background:#f8fafc;color:#36566f}
body[data-screen="module"] .activity-continuity>.icon{width:19px;height:19px;flex:0 0 19px;color:#5c6fb0}
body[data-screen="module"] .activity-continuity span{min-width:0}
body[data-screen="module"] .activity-continuity small{font-size:8px;font-weight:900;color:#667b8f}
body[data-screen="module"] .activity-continuity b{display:block;font-size:10px;line-height:1.4;color:#264b68}
body[data-station="3"] .activity-continuity{border-color:#d6cbed;background:#f8f5fc}
body[data-station="3"] .activity-continuity>.icon{color:#7258a8}
body[data-station="4"] .activity-continuity{border-color:#d1dce7;background:#f4f7fa}
body[data-station="4"] .activity-continuity>.icon{color:#466b8c}
body[data-station="5"] .activity-continuity{border-color:#c9e2d7;background:#f1f9f5}
body[data-station="5"] .activity-continuity>.icon{color:#28795e}

/* Las alternativas comparten tratamiento para no sugerir respuestas por diseño. */
body[data-screen="module"] .mcq-options .option,
body[data-screen="module"] .act-choices .option,
body[data-screen="module"] .option{color:#173b5f;font-weight:600}
body[data-screen="module"] .mcq-options .option:not(:has(input:checked)),
body[data-screen="module"] .act-choices .option:not(:has(input:checked)),
body[data-screen="module"] .option:not(:has(input:checked)){background:#fff!important;border-color:#c8d8e6!important}
@media(max-width:620px){body[data-screen="module"] .activity-continuity{align-items:flex-start;margin-bottom:10px}}

body[data-screen="module"] .station-instruction-number{font-size:28px;font-weight:900;line-height:1;letter-spacing:0}
body[data-screen="module"] .work-zone-s1 .ctx-mission{display:grid;grid-template-columns:40px minmax(0,1fr) minmax(200px,23%);align-items:center;gap:18px;width:100%}
body[data-screen="module"] .ctx-mission-copy{min-width:0;width:100%}
body[data-screen="module"] .ctx-mission-copy p{width:100%;max-width:none;text-align:justify;text-align-last:start;line-height:1.65;overflow-wrap:anywhere}
body[data-screen="module"] .ctx-mission-copy p+p{margin-top:10px}
body[data-screen="module"] .ctx-mission-visual{min-width:0;width:100%;margin:0}
body[data-screen="module"] .ctx-mission-visual img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;border-radius:6px}
@media(max-width:760px){
 body[data-screen="module"] .work-zone-s1 .ctx-mission{position:relative;grid-template-columns:minmax(0,1fr);gap:12px;padding:16px;align-items:start}
 body[data-screen="module"] .ctx-mission>.work-ico{position:absolute;top:16px;left:16px}
 body[data-screen="module"] .ctx-mission-copy>.work-kicker,body[data-screen="module"] .ctx-mission-copy>h3{padding-left:52px}
 body[data-screen="module"] .ctx-mission-visual{max-width:440px;justify-self:center}
}
/* Shared instruction bands keep activity surfaces open and readable. */
body[data-screen="module"] :is(.context-station-heading,.context-activity-heading,.sequence-station-heading,.az-guided-intro,.az-guided>section>h3,.pg-stage>h3,.encargo-brief>header){
  --band-accent:#1684c5;--band-soft:#edf7ff;--band-edge:#acd3ed;
  border:1px solid var(--band-edge)!important;border-left:5px solid var(--band-accent)!important;border-radius:6px!important;
  background:linear-gradient(115deg,#fff 5%,var(--band-soft) 70%)!important;
  padding:18px 20px!important;margin-bottom:20px;box-shadow:none;min-width:0;overflow-wrap:anywhere;
}
body[data-screen="module"] :is(.context-station-heading,.context-activity-heading){--band-accent:var(--tab-accent,#087f82);--band-soft:var(--tab-soft,#eaf8f5);--band-edge:var(--tab-edge,#aedbd2)}
body[data-screen="module"] .sequence-station-heading{--band-accent:#087f82;--band-soft:#eaf8f5;--band-edge:#aedbd2}
body[data-screen="module"] .az-guided>.az-identify>h3{--band-accent:#8050af;--band-soft:#f5effb;--band-edge:#d8c7eb}
body[data-screen="module"] .az-guided>.az-response>h3{--band-accent:#a76a12;--band-soft:#fff7e7;--band-edge:#ead2a5}
body[data-screen="module"] .az-guided>.az-verify>h3{--band-accent:#247b55;--band-soft:#edf8f0;--band-edge:#b6dac4}
body[data-screen="module"] .pg-stage:nth-of-type(2)>h3{--band-accent:#087f82;--band-soft:#eaf8f5;--band-edge:#aedbd2}
body[data-screen="module"] .pg-stage:nth-of-type(3)>h3{--band-accent:#a34266;--band-soft:#fceff4;--band-edge:#e9c1d0}
body[data-screen="module"] .pg-stage:nth-of-type(4)>h3{--band-accent:#247b55;--band-soft:#edf8f0;--band-edge:#b6dac4}
@media(max-width:700px){body[data-screen="module"] :is(.context-station-heading,.context-activity-heading,.sequence-station-heading,.az-guided-intro,.az-guided>section>h3,.pg-stage>h3,.encargo-brief>header){padding:15px 14px!important}}
