.fk-lesson-overlay{position:fixed;inset:0;z-index:9999;background:#f7f8fb;overflow:auto;display:none}.fk-lesson-overlay.open{display:block}.fk-lesson-shell{max-width:1100px;margin:0 auto;padding:26px 24px 80px}.fk-lesson-close{position:sticky;top:12px;z-index:2;border:1px solid #e2e5ec;background:rgba(255,255,255,.95);padding:10px 14px;border-radius:10px;cursor:pointer;box-shadow:0 4px 16px rgba(0,0,0,.05)}.fk-lesson-body{background:#fff;border:1px solid #e6e8ee;border-radius:20px;overflow:hidden;margin-top:14px}.fk-lesson-hero{padding:34px 42px;background:linear-gradient(135deg,#171b35,#4f46e5);color:#fff}.fk-lesson-hero>span{font-size:12px;letter-spacing:.06em;color:#dbe4ff}.fk-lesson-hero h1{font-size:34px;margin:9px 0;color:#fff}.fk-lesson-hero h2{font-size:18px;font-weight:500;color:#f4f6ff!important;margin:0 0 13px}.fk-lesson-body .fk-lesson-hero p{color:#eef2ff!important;opacity:1!important;line-height:1.7}.fk-meta{font-size:12px;color:#fde68a}.fk-lesson-body section{padding:28px 42px;border-top:1px solid #edf0f4}.fk-lesson-body section h2{font-size:22px;margin:0 0 16px}.fk-lesson-body p,.fk-lesson-body li{line-height:1.75;color:#4b5563}.fk-hook{font-size:17px;line-height:1.75;padding:17px 19px;background:#eef2ff;border-radius:12px;color:#3730a3;margin-bottom:16px}.fk-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.fk-two>div{background:#f8fafc;border-radius:12px;padding:15px}.fk-concepts{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.fk-concept{border:1px solid #e5e7eb;border-radius:12px;padding:15px}.fk-concept h4{margin:0 0 8px}.fk-analogy{background:#fffbeb;border-radius:9px;padding:10px;font-size:13px;line-height:1.6;color:#92400e}.fk-theory h3{margin-top:24px}.fk-theory code{background:#eef2f7;padding:2px 5px;border-radius:4px}.fk-tips{margin-top:18px;background:#ecfdf5;padding:15px;border-radius:12px}.fk-step{display:grid;grid-template-columns:38px 1fr;gap:12px;margin:16px 0}.fk-step-no{width:32px;height:32px;background:#4f46e5;color:white;border-radius:50%;display:grid;place-items:center;font-weight:700}.fk-step h4{margin:4px 0 8px}.fk-step pre{background:#111827;color:#d1fae5;border-radius:12px;padding:15px;overflow:auto;line-height:1.55}.fk-next{background:#eef2ff;color:#3730a3;padding:13px;border-radius:10px;margin-top:14px}.fk-homework{display:flex!important;flex-direction:column!important;gap:12px!important;max-height:470px;overflow-y:auto;overflow-x:hidden;padding:2px 8px 2px 2px;scrollbar-gutter:stable;scroll-behavior:smooth}.fk-hw{border:1px solid #e5e7eb;border-radius:12px;padding:16px;flex:0 0 auto;min-width:0;background:#fff}.fk-hw b{font-size:15px;line-height:1.45}.fk-hw span{float:none!important;display:inline-flex;margin-left:8px;font-size:11px;color:#f59e0b}.fk-hw p{margin-bottom:5px}.fk-hw small{color:#6b7280}.fk-fact{background:#fff7ed;border-radius:12px;padding:14px;margin:10px 0}.fk-resources a{color:#4f46e5}.fk-related-module img{width:96px!important;height:78px!important}.fk-step-related .fk-related-module img{width:68px!important;height:58px!important}.fk-lesson-body section>img,.fk-lesson-body .fk-theory>img,.fk-lesson-body .fk-step>div>img{display:block;width:min(92%,900px)!important;max-width:100%;height:auto!important;margin:18px auto;border-radius:12px;object-fit:contain}@media(max-width:720px){.fk-lesson-shell{padding:12px}.fk-lesson-hero,.fk-lesson-body section{padding:24px 20px}.fk-lesson-hero h1{font-size:27px}.fk-two,.fk-concepts{grid-template-columns:1fr}.fk-homework{max-height:420px}.fk-related-module img{width:84px!important;height:68px!important}.fk-step-related .fk-related-module img{width:62px!important;height:52px!important}.fk-lesson-body section>img,.fk-lesson-body .fk-theory>img,.fk-lesson-body .fk-step>div>img{width:100%!important}}