@font-face{font-family:Manrope;src:url('../assets/fonts/Manrope-Variable.woff2') format('woff2');font-weight:200 800;font-display:swap}
:root{--navy:#101c35;--blue:#245df2;--paper:#f8fbff;--muted:#53657d;--line:#dce5f2;--surface:#fff;--ink:#101c35}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 Manrope,Arial,sans-serif}a{color:var(--blue)}button,input,select{font:inherit}button,select{touch-action:manipulation}button{cursor:pointer}[hidden]{display:none!important}
:focus-visible{outline:3px solid #4979ff;outline-offset:3px}h2[tabindex="-1"]:focus{outline:none}.skip{position:absolute;top:-80px;left:16px;padding:12px;background:white;z-index:80}.skip:focus{top:12px}
.topbar{background:var(--navy)}.topbar nav{max-width:1280px;min-height:88px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:12px 24px;gap:24px}.brand{display:flex;align-items:center;gap:12px;width:222px;height:56px}.brand>img{object-fit:contain}.wordmark{width:162px;height:56px;overflow:hidden}.wordmark img{width:162px;height:81px;object-fit:contain;transform:translateY(-12px);filter:brightness(0) invert(1)}.entry{position:relative;overflow:hidden;isolation:isolate;display:inline-flex;align-items:center;gap:8px;flex:none;white-space:nowrap;background:linear-gradient(180deg,#ffe94d,#ffdf00 55%,#f5c800);color:var(--navy);text-decoration:none;border-radius:999px;padding:12px 28px;font-size:18px;font-weight:800;min-height:54px;box-shadow:0 12px 30px -12px rgba(255,223,0,.75),inset 0 1px 0 rgba(255,255,255,.6);animation:entry-pop .9s cubic-bezier(.16,1,.3,1) .2s both;transition:transform .2s,box-shadow .2s}.entry:before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:-70%;width:45%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.8),transparent);transform:skewX(-20deg);animation:entry-shine 3.8s ease-in-out 1s infinite}.entry:hover,.entry:focus-visible{transform:translateY(-2px);color:var(--navy);box-shadow:0 16px 34px -10px rgba(255,223,0,.95),inset 0 1px 0 rgba(255,255,255,.6)}.entry:focus-visible{outline:3px solid #fff;outline-offset:3px}@keyframes entry-pop{0%{opacity:0;transform:translateY(-14px)}to{opacity:1;transform:none}}@keyframes entry-shine{0%,55%{left:-70%}85%,to{left:130%}}
main{max-width:1280px;margin:auto;padding:28px 24px 80px}.breadcrumb ol{list-style:none;display:flex;flex-wrap:wrap;gap:12px;padding:0;font-size:13px;color:var(--muted)}.breadcrumb li+li:before{content:"/";margin-right:12px}
.hero{display:grid;grid-template-columns:1.4fr 1fr;align-items:center;gap:64px;padding:56px 0 64px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:var(--blue);font-size:12px;font-weight:800}h1{font-size:clamp(38px,4.5vw,60px);line-height:1.06;letter-spacing:-.055em;margin:16px 0 24px}h1 span{color:var(--blue)}.h1-eyebrow{display:block;line-height:1.4;margin-bottom:16px}.lead{max-width:580px;color:var(--muted);font-size:18px}.hero aside{border-left:2px solid var(--line);padding:8px 0 8px 32px;color:var(--muted);font-size:15px}.hero aside strong{color:var(--ink);font-size:19px}.chips{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.chips span{font-size:12px;font-weight:700;background:#edf3ff;border-radius:999px;padding:6px 12px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--surface);border:1px solid var(--line);border-radius:999px;min-height:44px;padding:11px 20px;font-weight:750;text-decoration:none;color:var(--ink)}.button.primary{background:var(--blue);border-color:var(--blue);color:#fff}.button:hover{filter:brightness(.96)}button:disabled{opacity:.5;cursor:not-allowed}
.quiz{--question-scale:1;--question-leading:1.6;position:relative;scroll-margin-top:16px;color:var(--ink)}.demo-note{border-left:3px solid var(--blue);padding:12px 16px;background:#edf3ff;color:#344865;font-size:14px;margin:0 0 20px}.demo-note strong{color:var(--navy)}.filters{display:flex;gap:16px;margin:0 0 20px}.filters label{font-size:12px;font-weight:800;flex:1;min-width:0}.filters select,.reading-panel select{display:block;width:100%;border:1px solid var(--line);border-radius:12px;padding:11px 32px 11px 12px;margin-top:8px;background:var(--surface);color:var(--ink);min-height:44px;font-size:14px}
.test-toolbar{background:var(--navy);color:#fff;border-radius:18px 18px 0 0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:14px 20px 12px;gap:12px}.quiz-top{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.timer{border:1px solid #60718f;border-radius:999px;display:flex;align-items:center;gap:6px;padding:4px 9px;font-variant-numeric:tabular-nums}.live-dot{width:6px;height:6px;border-radius:50%;background:#34d399}.question-tools{display:flex;gap:4px}.icon-button{min-height:44px;min-width:44px;background:transparent;border:1px solid transparent;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;color:inherit;font-weight:800;font-size:17px;padding:8px}.icon-button svg{width:22px;height:22px;flex:none}.icon-button:hover{background:#ffffff16}.icon-button[aria-pressed="true"]{color:#ffc13b;background:#ffc13b18}.icon-button[aria-pressed="true"] svg{fill:#ffc13b28}#reading{background:#f1f6ff;color:var(--blue)}progress{width:100%;height:7px;appearance:none;border:none;display:block;background:#263852;border-radius:999px}progress::-webkit-progress-bar{background:#263852;border-radius:999px}progress::-webkit-progress-value{background:#407aff;border-radius:999px}progress::-moz-progress-bar{background:#407aff;border-radius:999px}
.quiz-layout{display:grid;grid-template-columns:minmax(0,1fr) 256px;gap:20px;align-items:start}.question-stage{min-width:0;position:relative}.question{padding:26px 30px 32px;background:var(--surface);border:1px solid var(--line);border-radius:0 0 22px 22px;min-width:0}.question-state{position:absolute;right:24px;top:20px;background:#edf3ff;color:#53657d;font-size:11px;font-weight:750;border-radius:999px;padding:5px 12px;margin:0}.origin{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--blue);max-width:75%;margin:0 0 4px}.chapter{font-size:12px;color:var(--muted);max-width:90%;margin:0 0 24px}.question h2{font-size:calc(clamp(22px,2.2vw,29px)*var(--question-scale));font-weight:800;line-height:var(--question-leading);letter-spacing:-.02em;overflow-wrap:anywhere;margin:20px 0 22px;scroll-margin-top:32px}.question fieldset{border:0;padding:0;margin:0;min-width:0}.option{display:block;position:relative;min-height:56px;padding:15px 12px;border-bottom:1px solid var(--line);cursor:pointer;border-radius:8px 8px 0 0}.option:last-child{border-bottom:0}.option span{display:flex;gap:13px;align-items:baseline;font-size:calc(18px*var(--question-scale));line-height:var(--question-leading);overflow-wrap:anywhere}.option b{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;flex:0 0 26px;height:26px;background:var(--navy);color:white;border-radius:50%;font-size:12px;margin-top:3px}.option input{position:absolute;opacity:0;width:1px;height:1px}.option:has(input:focus-visible){outline:3px solid #4979ff;outline-offset:2px}.option:has(input:checked){background:#edf3ff}.option:has(input:checked) b{background:var(--blue)}.option.correct{background:#e6f8ee;color:#155d3d}.option.wrong{background:#fff0f0;color:#993347}.option.correct b{background:#18794d}.option.wrong b{background:#be3144}.option.correct:after{content:"✓ Correcta";font-size:12px;font-weight:800;margin-left:39px}.option.wrong:after{content:"× Tu respuesta";font-size:12px;font-weight:800;margin-left:39px}
.correction{border-top:1px solid var(--line);margin-top:24px;padding-top:20px;overflow-wrap:anywhere}.correction h3{font-size:15px;margin:20px 0 12px}.correction p{font-size:15px;max-width:72ch;line-height:1.75;white-space:pre-wrap}.answer-heading{padding:12px 16px;background:#edf3ff;border-radius:10px}.source-note{color:var(--muted);font-size:12px!important}
.question-panel{padding:20px 16px;border:1px solid var(--line);border-radius:0 0 18px 18px;background:var(--surface);position:sticky;top:16px}.question-panel summary{display:flex;justify-content:space-between;align-items:center;gap:8px;cursor:pointer;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;min-height:44px}.question-panel summary:after{content:"−"}.question-panel details:not([open]) summary:after{content:"+"}.question-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-height:420px;overflow-y:auto;padding:4px;margin:8px -4px 0}.question-number{position:relative;background:var(--surface);color:var(--ink);border:1px solid #b8c8df;border-radius:12px;min-height:44px;font-size:13px;font-weight:800}.question-number[aria-current]{outline:2px solid #6175ff;outline-offset:2px}.question-number.correct{background:#d1f5df;color:#155d3d}.question-number.wrong{background:#ffe2e7;color:#993347}.question-number.marked:after{content:"";position:absolute;right:3px;top:3px;width:6px;height:6px;border-radius:50%;background:#ad6d00}.map-legend{font-size:11px;color:var(--muted);display:flex;gap:10px;flex-wrap:wrap}#answered{font-size:12px;color:var(--muted);margin-bottom:0}
.status{min-height:28px;padding:12px 8px 0;color:var(--muted);font-size:13px}.quiz-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;background:var(--paper)}.nav-actions{display:flex;gap:10px}.finish{font-size:12px;padding:10px 14px;color:var(--muted)}.keyboard-note{font-size:11px;color:var(--muted);margin:0 8px 24px}.empty-state{padding:36px 24px;background:var(--surface);border:1px solid var(--line)}.empty-state h2{font-size:23px}.empty-state button{margin:6px}.note{font-size:13px;color:var(--muted)}.result{padding:24px;margin-top:12px;border:1px solid var(--line);border-radius:20px;background:var(--surface)}.result h2{font-size:28px}.result .button{margin:8px 8px 0 0}
.reading-panel{position:absolute;right:0;top:160px;width:min(340px,100%);padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:0 18px 50px #101c3520;z-index:30;color:var(--ink)}.panel-heading{display:flex;align-items:center;justify-content:space-between}.panel-heading h2{font-size:18px;margin:0}.reading-panel label{display:block;font-size:13px;font-weight:750;margin:16px 0 8px}.reading-panel input{width:100%;min-height:44px;accent-color:var(--blue)}.reading-panel output{float:right;color:var(--blue)}.reading-panel p{font-size:12px;color:var(--muted)}
.guide{display:grid;grid-template-columns:1fr 1fr;gap:32px 48px;padding:64px 0 0;margin-top:32px;border-top:1px solid var(--line)}.guide h2{font-size:21px;line-height:1.3}.guide p{font-size:15px;color:var(--muted)}footer{background:var(--navy);color:#becbe0;padding:24px;display:flex;justify-content:space-between;gap:20px;font-size:12px}footer a{color:#becbe0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.quiz.dark{--paper:#0d172b;--surface:#17243e;--ink:#edf4ff;--muted:#b4c3dc;--line:#374965;background:var(--paper)}.dark .chapter,.dark .source-note,.dark .status{color:var(--muted)}.dark .origin,.dark .reading-panel output{color:#98bcff}.dark .answer-heading,.dark .option:has(input:checked){background:#263b60}.dark .correction a{color:#98bcff}.dark .option.correct{background:#173d31;color:#b3f1cc}.dark .option.wrong{background:#502b39;color:#ffd0d8}
.demo-focused{overflow:hidden}.focus-mode{position:fixed;inset:0;z-index:60;background:var(--paper);padding:12px 20px calc(8px + env(safe-area-inset-bottom));height:100dvh;display:flex;flex-direction:column}.focus-mode .demo-note,.focus-mode .filters{display:none}.focus-mode .test-toolbar{border-radius:16px;flex:none}.focus-mode .quiz-layout{flex:1;min-height:0;margin-top:12px}.focus-mode .question-stage{height:100%;overflow:auto;scrollbar-gutter:stable}.focus-mode .question-panel{height:100%;position:static;overflow:auto;border-radius:16px}.focus-mode .question{border-radius:16px}.focus-mode .question-grid{max-height:none}.focus-mode .quiz-nav{position:sticky;bottom:0;z-index:10;padding:12px 8px;border-top:1px solid var(--line)}.focus-mode .reading-panel{position:fixed;right:24px;top:100px;max-height:calc(100dvh - 120px);overflow:auto}
@media(max-width:1000px){.quiz-layout{grid-template-columns:minmax(0,1fr) 224px}.test-toolbar{padding:12px}.question-tools{gap:2px}.hero{gap:32px}.question{padding:24px}.quiz-nav{flex-wrap:wrap}.finish{order:3}.nav-actions{margin-left:auto}}
@media(max-width:760px){.entry{padding:10px 20px;font-size:17px;min-height:50px}.entry-more{display:none}main{padding:18px 16px 48px}.topbar nav{padding:12px 16px;min-height:76px}.brand{width:190px;gap:8px}.wordmark,.wordmark img{width:136px}.hero{grid-template-columns:1fr;gap:24px;padding:32px 0}.hero aside{border-left:0;border-top:1px solid var(--line);padding:20px 0 0}.hero .lead{font-size:16px}.hero h1{font-size:44px}.filters{flex-wrap:wrap;gap:12px}.filters label{flex-basis:calc(50% - 12px)}.filters label:last-child{flex-basis:100%}.filters select{font-size:16px}.quiz-layout{grid-template-columns:1fr;gap:16px}.test-toolbar{gap:8px}.quiz-top{width:100%;justify-content:space-between}.question-tools{width:100%;justify-content:space-between}.icon-button{min-width:36px;padding:8px 6px}.question{padding:24px 18px}.question h2{font-size:calc(23px*var(--question-scale))}.option span{font-size:calc(17px*var(--question-scale))}.question-state{right:16px}.origin{max-width:70%}.chapter{max-width:100%}.question-panel{position:static;border-radius:16px}.question-grid{grid-template-columns:repeat(6,minmax(0,1fr));max-height:280px}.nav-actions{gap:8px}.button{padding:10px 14px;font-size:14px}.quiz-nav>.button.finish{order:3;width:100%;font-size:13px}.keyboard-note{line-height:1.8}.reading-panel{top:240px}.guide{grid-template-columns:1fr;gap:16px;padding-top:32px}.guide h2{font-size:20px}footer{flex-direction:column}.focus-mode{padding:8px 12px calc(8px + env(safe-area-inset-bottom))}.focus-mode .quiz-layout{display:block;overflow:auto}.focus-mode .question-stage{height:auto;overflow:visible;scrollbar-gutter:auto}.focus-mode .question-panel{height:auto;margin-top:16px}.focus-mode .reading-panel{right:12px;top:140px}.focus-mode .quiz-nav{position:static}.focus-mode .question h2{font-size:calc(22px*var(--question-scale))}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
.option.correct:has(input:checked){background:#e6f8ee;color:#155d3d}.option.correct:has(input:checked) b{background:#18794d}.option.wrong:has(input:checked){background:#fff0f0;color:#993347}.option.wrong:has(input:checked) b{background:#be3144}.dark .option.correct:has(input:checked){background:#173d31;color:#b3f1cc}.dark .option.wrong:has(input:checked){background:#502b39;color:#ffd0d8}
@media(min-width:761px){.focus-mode .question-stage{padding-bottom:84px}.focus-mode .quiz-nav{position:fixed;left:20px;right:296px;bottom:0;padding-bottom:calc(12px + env(safe-area-inset-bottom))}.focus-mode .keyboard-note{display:none}}
@media(min-width:761px) and (max-width:1000px){.focus-mode .quiz-nav{right:264px}}
@media(max-width:760px){.question-tools{display:grid;grid-template-columns:repeat(4,minmax(44px,1fr));gap:4px}.icon-button{min-width:44px}.focus-mode .quiz-layout{padding-bottom:136px}.focus-mode .quiz-nav{position:fixed;left:12px;right:12px;bottom:0;padding:8px 8px calc(8px + env(safe-area-inset-bottom));border:1px solid var(--line);border-radius:16px 16px 0 0;gap:8px}.focus-mode .quiz-nav>.button{font-size:12px;padding:8px 10px}.focus-mode .nav-actions .button{font-size:12px;padding:8px 10px}.focus-mode .quiz-nav>.button.finish{padding:4px 8px;min-height:44px}.focus-mode .keyboard-note{display:none}}
@media(max-width:380px){.topbar nav{gap:12px}.brand{width:176px}.wordmark,.wordmark img{width:122px}.entry{padding:10px 16px;font-size:16px;min-height:48px}.focus-mode .quiz-layout{padding-bottom:200px}}
.index-block{padding:8px 0 32px}.index-block h2{font-size:clamp(24px,3vw,32px);line-height:1.2;margin:0 0 8px}.index-block>p{color:var(--muted);max-width:72ch;margin:0 0 20px}
.topic-links{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px}.topic-links a{display:flex;flex-direction:column;gap:2px;min-height:44px;padding:12px 16px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);text-decoration:none;font-size:14px}.topic-links a:hover{border-color:var(--blue)}.topic-links span{color:var(--muted);font-size:12px}.topic-links.compact a{justify-content:center;font-weight:700}
.topic-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px;padding:8px 0 32px}.topic-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--surface);scroll-margin-top:16px}.topic-card h3{font-size:20px;line-height:1.3;margin:0}.topic-card p{margin:0;color:var(--muted);font-size:15px}.topic-card ul{margin:0;padding-left:20px;font-size:14px}.topic-card .button{margin-top:auto;text-align:center}
.hero aside .exam-list strong{font-size:15px}.exam-list{list-style:none;padding:0;margin:8px 0 12px;font-size:14px}.exam-list li{padding:6px 0;border-bottom:1px solid var(--line)}.exam-list li:last-child{border-bottom:0}
.guide-title{grid-column:1/-1;font-size:clamp(24px,3vw,32px)!important;margin:0}.guide h3{font-size:18px;line-height:1.3;margin:0 0 8px}
footer{flex-wrap:wrap;align-items:center}.footer-links{display:flex;flex-wrap:wrap;gap:8px 20px}
@media(max-width:760px){.topic-grid{grid-template-columns:1fr}.topic-card{padding:20px}.topic-links{grid-template-columns:1fr}}
/* 02-11-2026 · Explicación larga como en la app (mismos apartados y colores que .bf-expl de app.css). */
.correction .bf-explanation-card{position:relative;margin:18px 0 8px;padding:18px 20px 20px;background:#fff;border:1px solid #dbe5f1;border-left:4px solid #2563eb;border-radius:16px;box-shadow:0 1px 2px rgba(15,23,42,.04),0 10px 28px -24px rgba(15,23,42,.28);color:#1e293b}
.bf-explanation-heading{display:flex;align-items:center;gap:.55rem;margin-bottom:.85rem;padding-bottom:.7rem;border-bottom:1px solid #dbe5f1}.bf-explanation-title{color:#1d4ed8;font-size:.75rem;font-weight:800;line-height:1.2;letter-spacing:.14em;text-transform:uppercase}
.bf-explanation-prose{color:#1e293b;font-size:calc(16px*var(--question-scale));font-weight:450;line-height:var(--question-leading);overflow-wrap:anywhere}.bf-expl{max-width:82ch}
.correction .bf-expl p{white-space:normal;font-size:inherit;line-height:inherit;max-width:none;margin:.45em 0}.bf-expl ul{list-style:disc;padding-left:1.4em;margin:.5em 0}.bf-expl li{margin:.2em 0}.bf-expl strong{font-weight:800}
.correction .bf-expl .bf-section{margin:1.2rem 0 .55rem;padding:.62rem .78rem;border:1px solid #bfdbfe;border-left:4px solid #2563eb;border-radius:.65rem;background:#eff6ff;color:#17365d;font-size:.93rem;font-weight:900;line-height:1.35;letter-spacing:.035em;text-transform:uppercase}.correction .bf-expl .bf-section:first-child{margin-top:0}
.correction .bf-expl .bf-section-solution,.correction .bf-expl .bf-section-memory{color:#065f46;border-color:#86efac;border-left-color:#059669;background:#ecfdf5}
.correction .bf-expl .bf-section-exam{color:#92400e;border-color:#fcd34d;border-left-color:#d97706;background:#fffbeb}
.correction .bf-expl .bf-section-review,.correction .bf-expl .bf-section-traps{color:#9f1239;border-color:#fecdd3;border-left-color:#e11d48;background:#fff1f2}
.correction .bf-expl .bf-section-theory,.correction .bf-expl .bf-section-comparison{color:#075985;border-color:#bae6fd;border-left-color:#0284c7;background:#f0f9ff}
.bf-expl .bf-section-solution+p{padding:.72rem .82rem;border:1px solid #bbf7d0;border-radius:.7rem;background:#f0fdf4}
.bf-expl .bf-section-memory+p{padding:.78rem .88rem;border:1px solid #a7f3d0;border-radius:.7rem;background:#f0fdf4;color:#064e3b}
.bf-expl .bf-option-review,.bf-expl .bf-section-exam+ul,.bf-expl .bf-section-traps+ul{display:grid;gap:.45rem;padding-left:0;list-style:none}
.bf-expl .bf-option-review li{margin:0;padding:.55rem .7rem;border:1px solid #e2e8f0;border-radius:.7rem;background:rgba(255,255,255,.72)}.bf-option-letter{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin-right:4px;border-radius:50%;background:#be3144;color:#fff;font-size:11px;font-weight:800;vertical-align:1px}
.bf-expl .bf-section-traps+ul>li{margin:0;padding:.62rem .72rem;border-left:3px solid #fda4af;border-radius:.45rem;background:#fff7f8}.bf-expl .bf-section-traps+ul strong{color:#9f1239}
.bf-expl .bf-section-exam+ul>li{margin:0;padding:.62rem .72rem;border-left:3px solid #f59e0b;border-radius:.45rem;background:#fffcf2}.bf-expl .bf-section-exam+ul strong{color:#92400e}
.bf-expl .bf-table-wrap{overflow-x:auto;margin:.85rem 0 1rem;border:1px solid #b8c8dc;border-radius:.8rem;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.07);max-width:100%}
.bf-expl .bf-table{border-collapse:separate;border-spacing:0;width:100%;min-width:30rem;font-size:.9em;line-height:1.45;background:#fff}.bf-expl .bf-table th,.bf-expl .bf-table td{border-right:1px solid #d7e0ec;border-bottom:1px solid #d7e0ec;padding:.62rem .7rem;vertical-align:top;text-align:left;overflow-wrap:normal}.bf-expl .bf-table th:last-child,.bf-expl .bf-table td:last-child{border-right:0}.bf-expl .bf-table thead th{background:#17365d;color:#fff;font-weight:850}.bf-expl .bf-table tbody tr:nth-child(even){background:#f7fafc}.bf-expl .bf-table tbody td:first-child{background:#eff6ff;color:#17365d;font-weight:750}.bf-expl .bf-table tbody tr:last-child td{border-bottom:0}
/* Valoración de memoria (H69 de la app). */
.bf-fsrs-rate{border:1px solid #e2e8f0;border-radius:18px;background:#fff;padding:12px;display:flex;flex-direction:column;gap:10px;margin:16px 0 4px;color:#334155;animation:rate-in .45s cubic-bezier(.16,1,.3,1)}@keyframes rate-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.bf-fsrs-rate__head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 12px}.bf-fsrs-rate__title{font-size:13px;font-weight:800;color:#334155}.bf-fsrs-rate__hint{font-size:12px;font-weight:600;color:#64748b;line-height:1.35}
.bf-fsrs-rate__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.bf-fsrs-rate__btn{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:58px;padding:8px 4px;border-radius:14px;border:2px solid var(--bf-rate-border);background:var(--bf-rate-bg);color:var(--bf-rate-fg);font-family:inherit;cursor:pointer;transition:background-color .12s,box-shadow .12s,transform .08s}.bf-fsrs-rate__btn:hover:not(:disabled){background:var(--bf-rate-hover)}.bf-fsrs-rate__btn:active:not(:disabled){transform:scale(.97)}.bf-fsrs-rate__btn:disabled{cursor:not-allowed;opacity:.42;filter:saturate(.35)}.bf-fsrs-rate__btn.is-applied{box-shadow:0 0 0 3px var(--bf-rate-ring)}
.bf-fsrs-rate__label{font-size:14px;font-weight:800;line-height:1.1;text-align:center}.bf-fsrs-rate__ivl{font-size:12px;font-weight:700;opacity:.85;font-variant-numeric:tabular-nums;white-space:nowrap}.bf-fsrs-rate__key{position:absolute;top:4px;right:6px;font:700 10px/1 inherit;opacity:.45;border:0;background:none;padding:0}
.bf-fsrs-rate__btn--g1{--bf-rate-bg:#fff1f2;--bf-rate-hover:#ffe4e6;--bf-rate-border:#fecdd3;--bf-rate-fg:#be123c;--bf-rate-ring:#fb7185}.bf-fsrs-rate__btn--g2{--bf-rate-bg:#fffbeb;--bf-rate-hover:#fef3c7;--bf-rate-border:#fde68a;--bf-rate-fg:#b45309;--bf-rate-ring:#f59e0b}.bf-fsrs-rate__btn--g3{--bf-rate-bg:#ecfdf5;--bf-rate-hover:#d1fae5;--bf-rate-border:#a7f3d0;--bf-rate-fg:#047857;--bf-rate-ring:#10b981}.bf-fsrs-rate__btn--g4{--bf-rate-bg:#f0f9ff;--bf-rate-hover:#e0f2fe;--bf-rate-border:#bae6fd;--bf-rate-fg:#0369a1;--bf-rate-ring:#0ea5e9}
.correction .bf-fsrs-rate__note{margin:0;font-size:12px;color:#64748b;line-height:1.45;white-space:normal}
@media(hover:none),(max-width:640px){.bf-fsrs-rate__key{display:none}}@media(max-width:359px){.bf-fsrs-rate__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Modo oscuro del test. */
.dark .correction .bf-explanation-card,.dark .bf-fsrs-rate{background:#17243e;border-color:#374965;color:#e2ecfb}.dark .bf-explanation-prose,.dark .bf-fsrs-rate__title{color:#e2ecfb}.dark .bf-explanation-heading{border-color:#374965}.dark .bf-explanation-title{color:#98bcff}
.dark .correction .bf-expl .bf-section{background:rgba(37,99,235,.16);border-color:rgba(96,165,250,.35);color:#bfdbfe}.dark .correction .bf-expl :is(.bf-section-solution,.bf-section-memory){background:rgba(16,185,129,.14);border-color:rgba(16,185,129,.4);border-left-color:#10b981;color:#6ee7b7}.dark .correction .bf-expl .bf-section-exam{background:rgba(245,158,11,.12);border-color:rgba(245,158,11,.4);border-left-color:#f59e0b;color:#fcd34d}.dark .correction .bf-expl :is(.bf-section-review,.bf-section-traps){background:rgba(244,63,94,.14);border-color:rgba(244,63,94,.4);border-left-color:#f43f5e;color:#fda4af}.dark .correction .bf-expl :is(.bf-section-theory,.bf-section-comparison){background:rgba(14,165,233,.14);border-color:rgba(14,165,233,.4);border-left-color:#0ea5e9;color:#7dd3fc}
.dark .bf-expl :is(.bf-section-solution+p,.bf-section-memory+p){background:rgba(16,185,129,.1);border-color:rgba(16,185,129,.3);color:inherit}.dark .bf-expl .bf-option-review li{background:#1d2c4a;border-color:#374965}.dark .bf-expl .bf-section-traps+ul>li{background:rgba(244,63,94,.08)}.dark .bf-expl .bf-section-exam+ul>li{background:rgba(245,158,11,.08)}.dark .bf-expl .bf-section-exam+ul strong{color:#fcd34d}.dark .bf-expl .bf-section-traps+ul strong{color:#fda4af}.dark .bf-expl .bf-table-wrap,.dark .bf-expl .bf-table{background:#17243e;border-color:#374965}.dark .bf-expl .bf-table tbody tr:nth-child(even){background:#1b2a46}.dark .bf-expl .bf-table tbody td:first-child{background:#20345a;color:#dbeafe}.dark .bf-expl .bf-table :is(th,td){border-color:#374965}
/* Botones de ayuda. */
.help-button{font-size:18px!important;border:1px solid #60718f!important;border-radius:50%!important;min-width:40px!important;min-height:40px!important;width:40px;height:40px;align-self:center;animation:help-pulse 2.4s ease-in-out 1.5s 3}@keyframes help-pulse{0%,100%{box-shadow:0 0 0 0 rgba(255,193,59,0)}50%{box-shadow:0 0 0 6px rgba(255,193,59,.35)}}
.link-button{background:none;border:0;padding:0;color:var(--blue);font-weight:800;text-decoration:underline;cursor:pointer;font-size:inherit}
/* Guía de bienvenida con flechas. */
.guide-open{overflow:hidden}.guide-layer{position:fixed;inset:0;z-index:90}.guide-layer.is-centered{background:rgba(8,15,30,.66)}
.guide-spot{position:fixed;border-radius:14px;box-shadow:0 0 0 9999px rgba(8,15,30,.66),0 0 0 3px #ffdf00;pointer-events:none;transition:left .3s,top .3s,width .3s,height .3s;animation:spot-glow 1.6s ease-in-out infinite}.is-centered .guide-spot{display:none}@keyframes spot-glow{50%{box-shadow:0 0 0 9999px rgba(8,15,30,.66),0 0 0 6px rgba(255,223,0,.55)}}
.guide-card{position:fixed;width:min(400px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:22px 22px 18px;background:#fff;color:#101c35;border-radius:20px;box-shadow:0 30px 70px -20px rgba(0,0,0,.6);outline:none;transition:left .3s,top .3s}
.is-centered .guide-card{left:50%!important;top:50%!important;transform:translate(-50%,-50%);width:min(460px,calc(100vw - 32px))}
.guide-card.pop{animation:guide-pop .38s cubic-bezier(.16,1,.3,1)}.is-centered .guide-card.pop{animation:guide-pop-c .38s cubic-bezier(.16,1,.3,1)}@keyframes guide-pop{from{opacity:0;scale:.94}to{opacity:1;scale:1}}@keyframes guide-pop-c{from{opacity:0;transform:translate(-50%,-46%)}to{opacity:1;transform:translate(-50%,-50%)}}
.guide-arrow{position:fixed;width:28px;height:24px;margin-left:-14px;z-index:1;pointer-events:none}.is-centered .guide-arrow{display:none}.guide-arrow:before{content:"";position:absolute;left:0;width:28px;height:28px;background:#ffdf00;clip-path:polygon(50% 0,100% 100%,0 100%)}
.guide-arrow.up:before{top:0;animation:arrow-up .9s ease-in-out infinite}.guide-arrow.down:before{top:0;clip-path:polygon(0 0,100% 0,50% 100%);animation:arrow-down .9s ease-in-out infinite}
@keyframes arrow-up{50%{transform:translateY(-7px)}}@keyframes arrow-down{50%{transform:translateY(7px)}}
.guide-steps{list-style:none;margin:0;padding:0}.guide-step-count{margin:0 0 6px;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#245df2}.guide-steps h2{margin:0 0 8px;font-size:22px;line-height:1.2;letter-spacing:-.02em}.guide-steps p{margin:0;color:#3d4f6b;font-size:15px;line-height:1.55}
.guide-memory{display:none;margin-top:14px}.show-memory .guide-memory{display:block}.guide-curve{width:100%;height:auto;display:block;margin-bottom:8px;overflow:visible}.guide-curve path{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.curve-forget{stroke:#94a3b8;stroke-dasharray:6 6}.curve-review{stroke:#245df2;stroke-dasharray:700;stroke-dashoffset:700}.show-memory .curve-review{animation:curve-draw 2.6s ease-out .2s forwards}@keyframes curve-draw{to{stroke-dashoffset:0}}.curve-dots circle{fill:#ffdf00;stroke:#101c35;stroke-width:1.5;opacity:0}.show-memory .curve-dots circle{animation:dot-in .3s ease-out forwards}.show-memory .curve-dots circle:nth-child(1){animation-delay:.7s}.show-memory .curve-dots circle:nth-child(2){animation-delay:1.3s}.show-memory .curve-dots circle:nth-child(3){animation-delay:2.2s}@keyframes dot-in{to{opacity:1}}.guide-curve text{font-size:11px;font-weight:700;fill:#53657d;font-family:Manrope,Arial,sans-serif}
.guide-rate{margin:0;animation:none;padding:10px}.guide-rate .bf-fsrs-rate__btn{cursor:default;min-height:52px}.show-memory .guide-rate .bf-fsrs-rate__btn{animation:rate-tap 3.2s ease-in-out 1s infinite}.show-memory .guide-rate .bf-fsrs-rate__btn:nth-child(2){animation-delay:1.4s}.show-memory .guide-rate .bf-fsrs-rate__btn:nth-child(3){animation-delay:1.8s}.show-memory .guide-rate .bf-fsrs-rate__btn:nth-child(4){animation-delay:2.2s}@keyframes rate-tap{0%,12%,100%{transform:none;box-shadow:none}6%{transform:scale(1.06);box-shadow:0 0 0 3px var(--bf-rate-ring)}}
.guide-memory-note{margin:8px 0 0!important;font-size:12px!important;color:#53657d!important}
.guide-dots{display:flex;gap:5px;justify-content:center;margin:16px 0 12px}.guide-dots span{width:7px;height:7px;border-radius:50%;background:#d5deec;transition:width .2s,background .2s}.guide-dots span.on{width:20px;border-radius:5px;background:#245df2}
.guide-actions{display:flex;gap:8px;align-items:center}.guide-actions .primary{margin-left:auto}.guide-skip{border:0!important;background:none!important;color:#53657d!important;padding-left:4px!important;padding-right:4px!important;font-size:13px}
@media(max-width:760px){.guide-card{padding:18px 18px 14px}.guide-steps h2{font-size:20px}.guide-actions .button{padding:10px 12px;font-size:14px}}
.footer-contact{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px}.footer-social{display:inline-flex;align-items:center;gap:10px;font-weight:700}footer .social-btn{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;color:#fff;text-decoration:none;transition:transform .15s}.social-btn svg{width:22px;height:22px}.social-tg{background:#229ed9}.social-ig{background:radial-gradient(circle at 30% 107%,#fdf497 0,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%)}.social-btn:hover{transform:scale(1.08)}.social-btn:focus-visible{outline:3px solid #fff;outline-offset:2px}@media(prefers-reduced-motion:reduce){.social-btn{transition:none}.social-btn:hover{transform:none}}
