
:root{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;color:#ebf2fa;background:#071321;line-height:1.6}*{box-sizing:border-box}body{margin:0}a{color:#e9c77f}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #f4ca79;outline-offset:3px}.wrap{width:min(1170px,calc(100% - 32px));margin:auto}.top{background:#0e2032;border-bottom:1px solid #314960;padding:18px 0}.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px}.logo{text-decoration:none;color:#fff;font-weight:800;letter-spacing:.1em}.logo b{color:#ebbd68}header h1{font-size:clamp(1.7rem,4vw,2.5rem);line-height:1.15;color:#f4cc79;margin:16px 0 4px}header p{color:#c1cfdb}.eyebrow{font-size:.78rem;color:#f6cb77;letter-spacing:.18em;font-weight:800}.intro{padding:24px 0 15px}.progress{background:#122c42;height:9px;border-radius:9px;overflow:hidden}.progress div{height:100%;background:#d3a65d;width:0;transition:width .2s}.small{font-size:.88rem;color:#b8ccdd}.layout{display:grid;grid-template-columns:275px minmax(0,1fr);gap:23px;padding:16px 0 50px}.sidebar,.panel,.end{background:#10273d;border:1px solid #38536e;border-radius:16px}.sidebar{padding:18px;align-self:start;max-height:77vh;overflow:auto}.sidebar h2{font-size:1.02rem;margin-top:0}.chapter{display:block;width:100%;text-align:left;color:#e4edf6;background:transparent;border:0;padding:9px 11px;border-radius:8px}.chapter:hover,.chapter.active{background:#284861}.chapter.done:after{content:' ✓';color:#86d6a9}.panel{padding:24px}.n{color:#ebbd68;font-weight:750;font-size:.78rem;letter-spacing:.1em}h2{line-height:1.2}.panel h2{color:#f5c879;margin-top:5px}.text p{margin:13px 0}.figure{margin:20px 0;background:#061a29;border-radius:12px;overflow:hidden;border:1px solid #36556b;position:relative}.figure img{display:block;width:100%;max-height:370px;object-fit:contain}.figure figcaption{font-size:.8rem;color:#bfd0df;padding:9px 13px}.figure:after{content:'YVM QUANT';font-size:12px;letter-spacing:.1em;color:rgba(255,235,185,.35);position:absolute;right:16px;bottom:46px;pointer-events:none}.quiz{border-top:1px solid #415770;margin-top:20px;padding-top:16px}.q{padding:17px;background:#152f47;border:1px solid #36546f;border-radius:12px;margin:12px 0}.q h4{font-size:.98rem;margin:0 0 10px}.choice{display:block;margin:7px 0;padding:8px;background:#203f5a;border-radius:7px}.choice:has(input:checked){background:#315877}.choice input{margin-right:10px}.btn{background:#294960;border:1px solid #61829b;color:#fff;padding:10px 16px;border-radius:9px;font-weight:700}.primary{background:#dfb96e;color:#092035;border:0}.btn:disabled{opacity:.4;cursor:not-allowed}.controls{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}.feedback{margin-top:9px;color:#bcead9}.error{color:#ffd5a8}.end{padding:24px;margin:20px 0 45px;border-color:#bb995d;background:#162e42}.end h2{color:#f3ca78}.cta{display:inline-block;text-decoration:none;border-radius:9px;background:#efc976;color:#092037;padding:12px 20px;font-weight:800}.footer{font-size:.8rem;color:#b8cad8;border-top:1px solid #274057;padding:22px 0}.hidden{display:none!important}@media(max-width:800px){.layout{grid-template-columns:1fr}.sidebar{max-height:255px}.panel{padding:17px}.wrap{width:min(100% - 24px,1170px)}}

.tv-resource{padding:16px 18px;margin:16px 0;border:1px solid #436579;border-radius:14px;background:rgba(27,62,83,.42)}.tv-resource h3{margin:0 0 8px}.tv-resource a{font-weight:700;color:#f3d59b}.tv-resource .small{font-size:.86rem;margin-top:10px}

.progress-tools{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
.progress-tools button,.import-progress{background:#174d86;border:1px solid #6da8d5;color:#fff;border-radius:9px;padding:10px 12px;font:inherit;cursor:pointer}
.import-progress input{display:block;font-size:.8rem;max-width:210px;margin-top:5px}

.toprt{display:flex;align-items:center;gap:14px}.lang{display:inline-flex;border:1px solid #61829b;border-radius:9px;overflow:hidden}.lang button{background:transparent;color:#e4edf6;border:0;padding:6px 12px;font-weight:800;letter-spacing:.06em}.lang button[aria-pressed=true]{background:#dfb96e;color:#092035}
