/* Estructura común: los contenidos y controles originales se conservan. */
.ea-header { background:#071a2d; color:#fff; border-bottom:1px solid #26394c; }
.ea-header .head, .ea-header .header-row { height:auto; min-height:76px; padding:14px 0; flex-wrap:wrap; gap:12px 24px; }
.ea-header .brand { font-size:1.05rem; }
.ea-nav { display:flex; flex-wrap:wrap; align-items:center; gap:4px; }
.ea-nav a { display:inline-flex; align-items:center; min-height:44px; padding:9px 13px; border-radius:10px; color:#d5deea; text-decoration:none; font-size:.875rem; font-weight:650; }
.ea-nav a:hover, .ea-nav a[aria-current="page"] { color:#fff; background:#18334d; }
.ea-nav a:focus-visible { outline:2px solid #fff; outline-offset:3px; }
.ea-nav .ea-account { color:#10243e; background:#fff; margin-left:8px; }
.ea-nav .ea-account:hover { background:#e5f6f2; color:#10243e; }
.ea-header .progress { display:none; }
.ea-local { border-bottom:1px solid #d7e0e8; background:#fff; color:#40566c; }
.ea-local .shell { display:flex; gap:6px; overflow-x:auto; }
.ea-local a { flex:0 0 auto; padding:12px; font-size:.875rem; font-weight:650; text-decoration:none; }
.ea-local a:hover, .ea-local a:focus-visible { color:#0b6f69; background:#eaf4f3; }
.page-intro h1, .hero h1, .intro h1 { font-size:clamp(2rem,4vw,3rem); line-height:1.15; letter-spacing:-.035em; }
.intro:after { display:none; }
.intro-main, .intro, .hero-copy { padding:clamp(22px,3vw,34px); }
.page-intro .lede, .hero p { line-height:1.75; }
.page-nav a { font-size:.875rem; min-height:44px; }
.page-nav .shell { flex-wrap:wrap; }
.section { margin-top:40px; }
.section-note, .result-line, .intro-note, .fact-list li, .lesson-card p { font-size:.875rem; line-height:1.7; }
button, input, select { touch-action:manipulation; }
button:focus-visible, input:focus-visible, select:focus-visible { outline:2px solid #148b80; outline-offset:3px; }
@media(max-width:760px) {
 .ea-header .head, .ea-header .header-row { align-items:flex-start; }
 .ea-nav { width:100%; }
 .ea-nav a { flex:1 0 auto; justify-content:center; padding:8px 10px; }
 .ea-nav .ea-account { margin-left:0; }
 .page-nav .shell { flex-wrap:nowrap; }
 .hero-actions { gap:10px; }
}
@media(prefers-reduced-motion:reduce) {
 *, *::before, *::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; }
}
/* Controles de sincronización compartidos por las rutas heredadas. */
.ea-study-sync{margin:1.5rem auto;padding:1.25rem;max-width:1180px;background:#eaf8f6;border:1px solid #b9dcd8;border-radius:14px;color:#10243e;font-size:1rem;line-height:1.6}
.ea-study-sync p{margin:.5rem 0}.ea-study-sync div{display:flex;flex-wrap:wrap;gap:.7rem}
.ea-study-sync button,.ea-study-sync a{min-height:44px;padding:.6rem 1rem;border:1px solid #0b6f69;border-radius:8px;background:white;color:#0b6f69;font:inherit;font-weight:700;cursor:pointer}
.ea-study-sync button:disabled{opacity:.6;cursor:wait}
/* Prerrequisitos visibles sin convertir cada ficha en una pared de contenido. */
.curriculum-detail { margin-top: 1.25rem; border-top: 1px solid #dbe4ed; padding-top: 1rem; }
.curriculum-detail summary { cursor: pointer; color: #0b6f69; font-weight: 700; line-height: 1.6; padding: .5rem 0; }
.curriculum-body { line-height: 1.8; }
.curriculum-body h4 { margin: 1.2rem 0 .4rem; font-size: 1rem; }
.curriculum-body a { text-decoration: underline; text-underline-offset: 3px; }
.lesson-card[id] { scroll-margin-top: 90px; }
