:root{--ink:#122c43;--muted:#556779;--paper:#f5f7fa;--line:#dce3eb;--accent:#007b70;--white:#fff;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--ink);background:var(--paper);font-size:16px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:inherit}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #147bad;outline-offset:4px}button:disabled{cursor:default}a{text-underline-offset:4px}h1,h2,h3,p{margin-top:0}p,li{line-height:1.7}h1{font-size:clamp(2.4rem,5vw,4rem);line-height:1.07;letter-spacing:-.045em;font-weight:700;margin-bottom:22px}h2{font-size:1.5rem;letter-spacing:-.025em}h3{font-size:1.15rem}button{border:0}main{max-width:1240px;margin:auto;padding:0 40px 48px}.topbar{height:90px;padding:0 max(40px,calc((100vw - 1160px)/2));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:white}.brand{display:flex;gap:13px;align-items:center;text-decoration:none;font-size:.75rem;letter-spacing:.12em;font-weight:700}.brand-symbol{letter-spacing:-.08em;font-size:1.35rem;background:var(--ink);color:white;padding:11px 10px;border-radius:9px}.brand-symbol span{color:#80ddc5;letter-spacing:0;padding-left:3px}.brand-sub{display:block;font-size:.9rem;letter-spacing:0;font-weight:400;margin-top:5px}.course-tag{font-size:.85rem;color:var(--muted);border:1px solid var(--line);padding:8px 13px;border-radius:30px}.intro{display:grid;grid-template-columns:1.6fr 1fr;gap:65px;align-items:center;padding:52px 0 38px}.eyebrow{font-size:.75rem;line-height:1.6;font-weight:700;letter-spacing:.12em;color:var(--accent);margin-bottom:18px}h1 span{color:var(--accent)}.lead{font-size:1.05rem;color:var(--muted);max-width:660px;margin-bottom:0;line-height:1.7}.intro-note{display:flex;gap:24px;align-items:center;border-left:1px solid #cbd6df;padding-left:35px}.note-number{font-size:4.5rem;font-weight:300;letter-spacing:-.06em;color:#245773}.intro-note strong{font-size:1rem}.intro-note p{color:var(--muted);font-size:.9rem;margin:8px 0 0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0}.section-heading h2{margin:0}.section-heading>span{font-size:.875rem;color:var(--muted)}.week-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.week-card{background:white;border:1px solid var(--line);border-radius:14px;text-decoration:none;padding:23px 24px 18px;display:flex;flex-direction:column;position:relative;overflow:hidden;transition:transform .18s,border-color .18s,box-shadow .18s}.week-card:hover{transform:translateY(-4px);border-color:var(--week-color);box-shadow:0 12px 25px #122c430c}.card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px}.badge-icon{width:49px;height:52px;display:grid;place-items:center;clip-path:polygon(50% 0,95% 24%,95% 75%,50% 100%,5% 75%,5% 24%);background:var(--week-light);color:var(--week-color)}.badge-icon svg{width:27px;height:27px}.week-counter{font-size:.75rem;font-weight:700;letter-spacing:.08em;color:var(--muted)}.week-card h3{font-size:1.3rem;line-height:1.25;letter-spacing:-.02em;margin-bottom:11px}.week-card p{font-size:.9rem;color:var(--muted);line-height:1.6;margin-bottom:20px}.card-footer{margin-top:auto;padding-top:14px;border-top:1px solid #e8edf1;display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:.8rem;color:var(--muted)}.card-footer strong{color:var(--week-color);font-size:.875rem}.learning-guide{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:32px;padding:22px 0;border-top:1px solid var(--line)}.guide-label{font-size:.7rem;letter-spacing:.1em;font-weight:700;color:var(--muted)}.learning-guide p{font-size:.85rem;margin:0}.learning-guide b{color:var(--accent);font-size:.75rem;margin-right:8px}footer{display:flex;justify-content:space-between;gap:20px;padding:24px max(40px,calc((100vw - 1160px)/2));border-top:1px solid var(--line);color:var(--muted);font-size:.75rem;line-height:1.7}.skip{position:fixed;top:-80px;left:20px;background:white;padding:12px;z-index:20}.skip:focus{top:10px}[hidden]{display:none!important}.breadcrumb{display:flex;gap:14px;color:var(--muted);font-size:.875rem;margin-top:28px}.breadcrumb a{text-decoration:none}.week-header{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:30px 0}.week-header h1{font-size:clamp(2rem,4vw,3rem);max-width:820px}.week-header .eyebrow{margin-bottom:12px;color:var(--week-color)}.large-badge .badge-icon{width:95px;height:104px}.large-badge svg{width:50px;height:50px}.tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin-bottom:30px;overflow-x:auto}.tab{padding:14px 3px;background:none;color:var(--muted);white-space:nowrap;border-bottom:3px solid transparent;font-size:.95rem}.tab.active{color:var(--week-color);border-color:var(--week-color);font-weight:650}.lesson-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:27px;margin-bottom:20px}.panel p:last-child{margin-bottom:0}.panel h2{font-size:1.35rem}.panel h3{margin-bottom:8px}.objectives{background:var(--ink);color:white;border:0}.objectives ul{padding-left:20px;margin-bottom:0}.objectives li{font-size:.95rem;margin-bottom:14px;color:#e0eaf2}.micro-label{font-size:.75rem;font-weight:700;letter-spacing:.09em;color:var(--week-color);margin-bottom:10px}.concept+.concept{border-top:1px solid var(--line);padding-top:24px;margin-top:24px}.concept p{color:var(--muted)}.callout{padding:18px 22px;background:var(--week-light);border-left:3px solid var(--week-color);border-radius:0 8px 8px 0;line-height:1.7;margin:20px 0}.callout p{margin:5px 0 0}.formula{font-family:Consolas,monospace;font-size:1rem;padding:18px;background:#f0f4f8;line-height:1.8;border-radius:8px;overflow:auto}.step{display:flex;gap:16px;margin:24px 0}.step-number{flex:none;background:var(--week-light);color:var(--week-color);font-weight:700;font-size:.8rem;width:30px;height:30px;display:grid;place-items:center;border-radius:50%}.step p{margin:0;color:var(--muted)}pre{background:#11283b;color:#e2edf6;padding:22px;border-radius:10px;overflow:auto;font-size:.86rem;line-height:1.75;tab-size:4}code{font-family:Consolas,monospace}.resource-list{display:grid;grid-template-columns:1fr 1fr;gap:16px}.resource{padding:23px;display:flex;flex-direction:column}.resource p{color:var(--muted);font-size:.9rem}.resource a{margin-top:auto;font-size:.9rem;font-weight:600;color:var(--accent)}.resource-type{font-size:.75rem;font-weight:650;letter-spacing:.08em;color:var(--muted);margin-bottom:12px}.week-navigation{display:flex;justify-content:space-between;gap:20px;margin-top:35px;border-top:1px solid var(--line);padding-top:25px;font-size:.875rem}.week-navigation a{text-decoration:none}.week-navigation a:nth-child(2){color:var(--muted)}.lab-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.field{display:flex;flex-direction:column;gap:8px;font-size:.9rem;margin-bottom:16px}.field input:not([type=range]),.field select{width:100%;border:1px solid #b9c7d3;border-radius:7px;padding:10px;background:white;color:var(--ink)}.field input[type=range]{width:100%;accent-color:var(--week-color);margin:12px 0}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.result-box{background:var(--week-light);border:1px solid var(--line);border-radius:10px;padding:22px}.result-box h3{margin-bottom:18px}.metric{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid #122c4315;font-size:.95rem}.metric strong{color:var(--week-color);font-size:1.1rem}.metric:last-child{border:0}.chart{width:100%;height:auto;display:block;background:white;border-radius:8px;border:1px solid var(--line);margin-bottom:15px}.chart text{font-family:Segoe UI,Arial,sans-serif;font-size:13px;fill:#556779}.quiz fieldset{border:0;padding:0;margin:25px 0}.quiz legend{font-weight:600;margin-bottom:14px;line-height:1.6}.option{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--line);padding:13px 16px;border-radius:8px;margin:9px 0;cursor:pointer;line-height:1.5}.option:has(input:checked){background:var(--week-light);border-color:var(--week-color)}.option input{margin-top:5px;accent-color:var(--week-color)}.primary{background:var(--ink);color:white;padding:12px 22px;border-radius:7px;font-weight:600;font-size:.9rem}.primary:hover{background:#215274}.feedback{padding:14px 18px;border-radius:8px;margin-top:15px;line-height:1.65;background:#eef3f7}.feedback.correct{background:#e4f5ed;color:#155238}.feedback.incorrect{background:#fff0de;color:#76430d}.feedback:empty{display:none}.quiz-summary{font-weight:600}.small{font-size:.875rem;color:var(--muted)}details{border:1px solid var(--line);border-radius:8px;padding:17px 20px;margin:18px 0}summary{cursor:pointer;font-weight:600}details p{margin-top:16px}ul{padding-left:22px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:.9rem;margin:15px 0}th,td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--line)}th{background:#f0f4f8;font-weight:600}.muted{color:var(--muted)}.checkline{display:flex;gap:10px;align-items:flex-start;padding:10px 0;line-height:1.5}.checkline input{margin-top:5px}.checkline input:checked+span{text-decoration:line-through;color:var(--muted)}@media(max-width:950px){.intro{grid-template-columns:1.6fr 1fr;gap:30px}.intro-note{display:block;padding-left:25px}.note-number{font-size:3rem}.week-grid{grid-template-columns:repeat(2,1fr)}.lesson-layout{grid-template-columns:1fr}.learning-guide{flex-wrap:wrap}.guide-label{width:100%}}@media(max-width:600px){main{padding:0 20px 30px}.topbar{padding:0 20px;height:76px}.course-tag{font-size:.75rem;padding:6px 10px}.brand{font-size:.65rem;gap:9px}.brand-sub{font-size:.8rem}.intro{display:block;padding:35px 0 22px}.intro-note{display:none}.intro h1{font-size:2.9rem}.eyebrow{font-size:.7rem}.section-heading{display:block}.section-heading h2{margin-bottom:8px;font-size:1.3rem}.week-grid{grid-template-columns:1fr;gap:15px}.week-card{padding:20px}.card-top{margin-bottom:16px}.week-card h3{font-size:1.3rem}.learning-guide{display:block}.learning-guide p{margin-top:10px}footer{padding:22px 20px;display:block}footer span{display:block;margin-bottom:6px}.large-badge{display:none}.week-header{padding:25px 0}.tabs{gap:20px}.tab{font-size:.875rem}.panel{padding:21px}.lab-grid,.resource-list{grid-template-columns:1fr}.week-navigation{flex-wrap:wrap;font-size:.8rem}.week-navigation a:nth-child(2){order:3;width:100%;text-align:center}.field-row{gap:12px}.lead{font-size:1rem}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Índice temático y lectura por subsecciones */
.topic-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:28px;align-items:start}.topic-sidebar{position:sticky;top:20px}.topic-index{padding:22px 16px;margin-bottom:16px}.topic-index>h2,.topic-index>.micro-label{margin-left:10px;margin-right:10px}.topic-index>h2{font-size:1.15rem;margin-bottom:20px}.topic-index ol{list-style:none;padding:0;margin:0}.topic-index li+li{margin-top:5px}.topic-index a{display:flex;gap:12px;align-items:flex-start;text-decoration:none;padding:13px 10px;border-radius:7px;font-size:.9rem;line-height:1.5;border:1px solid transparent}.topic-index a:hover{background:#f0f4f8}.topic-index a[aria-current]{background:var(--week-light);border-color:var(--week-color);font-weight:650;color:var(--week-color)}.topic-number{flex-shrink:0;font-size:.8rem;font-weight:700;padding-top:2px;min-width:25px;color:var(--week-color)}.weekly-objectives{background:white;font-size:.9rem;margin:0}.weekly-objectives li{margin-top:10px}.topic-article{padding:32px}.topic-meta{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.topic-meta p{margin:0}.topic-meta>span{color:var(--muted);font-size:.8rem}.topic-article>h2{font-size:clamp(1.55rem,2.6vw,2rem);line-height:1.22;letter-spacing:-.025em}.topic-goal{color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:26px}.topic-article section>p{color:#42596b}.topic-article h3{font-size:1.08rem}.topic-points{margin-top:25px}.topic-points li{margin-bottom:9px}.topic-article .callout{margin:26px 0}.topic-check{padding-top:5px}.topic-check>h3{line-height:1.6}.topic-check details{background:#f8fafc}.topic-navigation{display:flex;justify-content:space-between;align-items:center;gap:18px;border-top:1px solid var(--line);margin-top:26px;padding-top:23px}.topic-navigation a{text-decoration:none;font-size:.9rem}.topic-next{text-align:center;line-height:1.5}.topic-back{color:var(--muted)}.topic-reference{margin:0 0 20px}.topic-reference .formula{margin-top:18px}.topic-reference p{color:var(--muted)}@media(max-width:950px){.topic-layout{grid-template-columns:250px minmax(0,1fr);gap:18px}.topic-article{padding:24px}.topic-index{padding:18px 10px}}@media(max-width:720px){.topic-layout{grid-template-columns:1fr}.topic-sidebar{position:static}.topic-index ol{display:grid;grid-template-columns:1fr 1fr;gap:6px}.topic-index li+li{margin:0}.topic-index a{height:100%;font-size:.875rem}.weekly-objectives{margin-bottom:5px}.topic-article{padding:22px}.topic-goal{font-size:.95rem}.topic-navigation{gap:12px}}@media(max-width:420px){.topic-index ol{grid-template-columns:1fr}.topic-index a{padding:10px}.topic-navigation a{font-size:.85rem}.topic-next{padding:11px 14px}}

/* Apoyos visuales accesibles por tema */
.topic-reading,.topic-article,.lesson-layout>article{min-width:0}
.visual-support{margin:28px 0;padding-top:22px;border-top:1px solid var(--line)}
.visual-support>h3{font-size:1.2rem;line-height:1.4}
.visual-table-wrap{max-width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:9px;margin:18px 0;background:#fff}
.visual-table{margin:0;min-width:400px;font-size:.88rem;line-height:1.55}
.visual-table caption{text-align:left;padding:14px 16px;font-weight:650;color:var(--ink);background:#f5f8fb}
.visual-table thead th{background:var(--week-light);color:var(--ink)}
.visual-table tbody th{background:transparent;font-weight:600;min-width:100px}
.visual-table th,.visual-table td{vertical-align:top;padding:12px 14px}
.visual-table tr:last-child>*{border-bottom:0}
.visual-support figure{margin:22px 0;overflow-x:auto;border:1px solid var(--line);border-radius:10px;background:#f9fbfd}
.lesson-figure{width:100%;height:auto;min-width:540px;display:block;background:#fff}
.lesson-figure text{font-family:Segoe UI,Arial,sans-serif;fill:#233f54;font-size:16px}
.lesson-figure .figure-step{font-size:14px;fill:#08796e;font-weight:700}
.visual-support figcaption{padding:15px 18px;font-size:.875rem;line-height:1.65;color:var(--muted);border-top:1px solid var(--line)}
.visual-table-wrap:focus-visible,.visual-support figure:focus-visible{outline:3px solid #147bad;outline-offset:3px}
.panel.visual-support{padding-top:26px}
@media(max-width:600px){.visual-support{margin:24px 0}.visual-support figcaption{padding:12px 14px}.visual-table{font-size:.85rem}}

/* Controles y figuras de regresión del badge 2 */
#neuron-regression label { display:block; margin:1rem 0 .35rem; font-weight:600; }
#neuron-regression input[type="number"], #neuron-regression select { width:100%; max-width:32rem; padding:.65rem; border:1px solid #8da6b8; border-radius:.4rem; font:inherit; background:#fff; color:#122c43; }
#neuron-regression button { margin:.25rem .2rem .25rem 0; padding:.6rem .8rem; font:inherit; cursor:pointer; }
#neuron-regression svg text { font-family:inherit; }
