
/* Capítulos extendidos: navegabilidad, citas, notas, dispositivos móviles. */
.academy-extension {border-top:2px solid #3f958a;margin-top:40px;padding-top:26px;max-width:100%;overflow-wrap:anywhere}
.academy-extension h2,.academy-newchapter h2 {font-size:clamp(1.35rem,2.5vw,1.8rem);scroll-margin-top:96px}
.academy-extension h3,.academy-newchapter h3 {font-size:1.15rem;line-height:1.45;margin-top:25px;color:#c9ffe9;scroll-margin-top:96px}
.academy-extension p,.academy-newchapter p,.academy-extension li,.academy-newchapter li {line-height:1.82}
.academy-precision-note {margin:18px 0;border:1px solid #4c827c;border-left:5px solid #87e5c5;border-radius:12px;padding:16px;background:#102d38;color:#eef9fc;line-height:1.68}
.academy-mini-toc{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:20px 0;padding:12px;border:1px solid #41677b;border-radius:12px;background:#0a1c29}
.academy-mini-toc strong{margin-right:8px}
.academy-mini-toc a{display:inline-flex;padding:6px 9px;background:#173e4a;border-radius:8px;color:#aef4e6}
.academy-citenum a{color:#9cf3cf;text-decoration:underline;white-space:nowrap}
.academy-citations li{padding:8px 4px;border-bottom:1px solid #305266;overflow-wrap:anywhere}
.academy-note-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:14px;margin:18px 0}
.academy-note{background:#19384a;border:1px solid #41697c;border-radius:12px;padding:16px;line-height:1.75}
.academy-checklist{padding-left:23px}
.academy-library-category{font-size:.78rem;letter-spacing:.05em;color:#9debd5;font-weight:800;text-transform:uppercase}
.academy-topic-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(285px,100%),1fr));gap:16px}
.academy-topic-grid .card{height:100%}
.academy-source-catalog li{padding:9px 0;border-bottom:1px solid #34546c}
.academy-newchapter pre{overflow-x:auto;background:#071825;padding:17px;border-radius:10px;max-width:100%}
.academy-newchapter pre code{white-space:pre;font-size:.88rem}
.academy-newchapter h2{border-top:1px solid #39546a;padding-top:23px;margin-top:35px}
.academy-newchapter .academy-topic-intro{font-size:1.12rem;color:#d8f6f1}
.academy-topic-search{width:100%;padding:14px;border:1px solid #71a4a3;border-radius:11px;background:#0b2130;color:#fff;font:inherit;margin-bottom:20px}
.academy-topic-search::placeholder{color:#b4cfd6}
.academy-topic-grid [hidden]{display:none!important}
.academy-stat{font-weight:700;color:#b6ffdc}
@media(max-width:680px){.academy-mini-toc{display:block}.academy-mini-toc a{margin:5px 4px}.academy-extension{margin-top:25px}.academy-topic-grid{grid-template-columns:minmax(0,1fr)}}
