:root{font-family:"Segoe UI",Arial,sans-serif;color:#1f2440;background:#f6f5fc;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #a48afa;outline-offset:2px}.site-shell{min-height:100vh}.site-header{height:74px;background:#fff;border-bottom:1px solid #e9e6f3;display:flex;align-items:center;gap:28px;padding:0 max(32px,calc((100vw - 1260px)/2));position:relative;z-index:2}.brand{display:flex;align-items:center;gap:10px;background:none;border:0;color:#202540;padding:0;text-align:left}.brand-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#6842df;color:white;font-weight:900;letter-spacing:-3px;padding-right:3px;font-size:19px;box-shadow:0 6px 14px #6842df33}.brand b,.brand small{display:block}.brand b{font-size:21px;letter-spacing:-.7px}.brand small{font-size:12px;color:#8790a7;margin-top:2px}.header-trail{font-size:13px;color:#8991a7;margin-left:24px}.account-pill{margin-left:auto;display:flex;align-items:center;gap:8px;border:1px solid #e8e5f0;background:#fff;padding:5px 12px 5px 5px;border-radius:999px;color:#4a4373;font-size:14px;font-weight:700}.account-avatar{width:31px;height:31px;display:grid;place-items:center;background:#eee9ff;border-radius:50%;color:#6742de}.page{max-width:1260px;padding:42px 32px 65px;margin:auto}.page-kicker{color:#6b48df;letter-spacing:1.7px;font-size:12px;font-weight:800}.page h1{font-size:clamp(32px,4vw,52px);letter-spacing:-1.6px;line-height:1.12;margin:11px 0}.page-lead{font-size:17px;line-height:1.6;color:#69738e;margin:0;max-width:60ch}.catalog-page{padding-top:64px}.language-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:19px;margin-top:35px}.language-card{background:#fff;border:1px solid #e7e3f0;border-radius:21px;box-shadow:0 11px 28px #2c236512;text-align:left}.python-card{padding:28px;display:grid;grid-template-columns:76px 1fr;column-gap:19px;align-content:start;position:relative;min-height:394px;color:inherit}.python-card:hover{border-color:#b9a8f7;transform:translateY(-2px);box-shadow:0 15px 35px #2c23651c}.language-icon{width:76px;height:76px;border-radius:20px;display:grid;place-items:center;font-size:28px;font-weight:900;letter-spacing:-1px}.py-icon{background:#e9e3ff;color:#6241cc}.js-icon{background:#fff0b7;color:#6b5500}.java-icon{background:#ffe4df;color:#ae503c}.cpp-icon{background:#dfefff;color:#3977bf;font-size:22px}.course-state{font-size:11px;font-weight:800;letter-spacing:1.5px;color:#7559d3}.language-card h2{font-size:27px;letter-spacing:-.7px;margin:7px 0 5px}.language-card p{margin:0;color:#79839b;font-size:15px}.card-progress{grid-column:1/-1;align-self:end;border-top:1px solid #edeaf4;padding-top:25px;margin-top:26px}.card-progress>span{display:block;color:#8e95aa;font-size:13px;margin-top:10px}.progress-head{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:15px;font-weight:700;color:#3c4262;margin-bottom:11px}.progress-head strong{color:#6742de;font-size:17px}.progress-rail{height:11px;background:#eeeaf9;border-radius:20px;overflow:hidden}.progress-rail span{display:block;height:100%;background:linear-gradient(90deg,#835eed,#ac8fff);border-radius:20px;transition:width .25s}.card-open{grid-column:1/-1;align-self:end;margin-top:23px;color:#6240d0;font-weight:800;font-size:15px}.card-open b{margin-left:8px}.other-languages{display:grid;gap:12px}.upcoming{padding:18px;display:flex;align-items:center;gap:16px;min-height:119px;box-shadow:none}.upcoming .language-icon{width:64px;height:64px;border-radius:16px;flex:none}.upcoming h2{font-size:19px;margin:3px 0}.upcoming p{font-size:13px}.upcoming .course-state{font-size:10px;color:#9c9bb0}.upcoming-progress{margin-left:auto;align-self:flex-start;background:#f3f1f8;color:#a3a0b0;border-radius:8px;padding:7px;font-size:13px;font-weight:700}
.back-button{border:0;background:transparent;color:#7053cf;font-size:14px;font-weight:700;padding:4px 0;margin-bottom:25px}.course-heading{display:flex;gap:19px;align-items:center}.course-heading-icon{width:76px;height:76px;flex:none;border-radius:21px;background:#e7e0ff;color:#6440d4;display:grid;place-items:center;font-size:29px;font-weight:900}.course-heading h1{margin:4px 0}.course-progress{margin:31px 0 42px;border:1px solid #e6e1f0;background:#fff;border-radius:17px;padding:23px 25px;box-shadow:0 7px 24px #3021640c}.course-statline{display:flex;justify-content:space-between;gap:10px;color:#7d859c;font-size:13px;margin-top:11px}.section-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:17px}.section-title h2{font-size:26px;letter-spacing:-.7px;margin:3px 0 0}.section-title>span{color:#8791a6;font-size:14px}.lesson-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.lesson-card{background:#fff;border:1px solid #e7e3f0;border-radius:16px;overflow:hidden;box-shadow:0 5px 20px #2c23650c}.lesson-card-title{width:100%;border:0;background:#fff;text-align:left;display:flex;align-items:center;gap:13px;padding:17px 18px;color:#222744}.lesson-id{width:43px;height:43px;border-radius:12px;display:grid;place-items:center;background:#eee9ff;color:#6d49db;font:700 14px Consolas,monospace;flex:none}.lesson-card-title b,.lesson-card-title small{display:block}.lesson-card-title b{font-size:17px}.lesson-card-title small{font-size:13px;color:#8a92a7;margin-top:4px}.lesson-chevron{margin-left:auto;font-size:21px;color:#8d86a8}.lesson-card-sections{padding:0 12px 12px;display:grid;gap:5px}.lesson-card-sections button{width:100%;border:0;border-radius:9px;background:#f8f7fc;display:flex;justify-content:space-between;align-items:center;text-align:left;padding:10px 12px;color:#5e6380;font-size:14px}.lesson-card-sections button:hover{background:#eee9fb}.lesson-card-sections button span:last-child{color:#9492a9;font-size:12px}.lesson-card-sections .homework-row{background:#6841df;color:#fff;font-weight:700}.lesson-card-sections .homework-row:hover{background:#5733cb}.lesson-card-sections .homework-row span:last-child{color:#ece5ff}.lesson-complete{padding:0 19px 13px;color:#5b9a51;font-size:13px;font-weight:700}
.lesson-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:30px}.lesson-heading h1{font-size:42px}.lesson-status{background:#ede8fb;color:#6545d1;border-radius:999px;font-size:13px;font-weight:700;padding:10px 14px;white-space:nowrap}.lesson-status.finished{background:#e6f6e9;color:#38894d}.lesson-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:22px;align-items:start}.lesson-menu,.lesson-content{border:1px solid #e5e1ee;background:#fff;border-radius:17px;box-shadow:0 8px 26px #2c23650d;overflow:hidden}.lesson-menu{padding:12px}.menu-top{display:flex;align-items:center;gap:11px;padding:11px 10px 20px;border-bottom:1px solid #eeebf4;margin-bottom:9px}.menu-number{background:#eee8ff;color:#6641d4;border-radius:10px;width:37px;height:37px;display:grid;place-items:center;font:700 13px Consolas,monospace}.menu-top b,.menu-top small{display:block}.menu-top b{font-size:14px}.menu-top small{font-size:12px;color:#9095ab;margin-top:4px}.section-button{width:100%;border:0;border-radius:9px;background:transparent;display:flex;justify-content:space-between;color:#6d718d;text-align:left;padding:13px 14px;font-size:15px}.section-button:hover{background:#f4f0ff}.section-button.active{background:#6841df;color:#fff;font-weight:700}.lesson-content{min-height:490px}.content-head{display:flex;align-items:center;gap:12px;padding:21px 27px;border-bottom:1px solid #eeebf4}.content-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#eee9ff;color:#6945da;font-size:23px;font-weight:800}.content-icon.class-icon{background:#e5f4ff;color:#3e83b8}.content-icon.home-icon{background:#f0e9ff;color:#6e46d5}.content-eyebrow{display:block;color:#8275b6;font-size:11px;letter-spacing:1.4px;font-weight:800}.content-head h2{font-size:18px;margin:4px 0 0;letter-spacing:-.25px}.slide-position,.task-status{margin-left:auto;color:#9593a6;font:13px Consolas,monospace}.task-status{font-family:inherit;font-weight:700;background:#f4f1fa;padding:7px 9px;border-radius:8px}.task-status.done{color:#418b58;background:#e5f5e9}.notes-body{padding:28px 32px 30px;min-height:345px}.slide-tag,.example-label,.reference-label{color:#7655d4;letter-spacing:1.3px;font-size:11px;font-weight:800}.notes-body h3{font-size:28px;letter-spacing:-.8px;margin:11px 0 13px}.notes-body p{font-size:17px;line-height:1.65;max-width:56ch;color:#505a76;margin:0 0 24px}.example-label{margin-bottom:8px}.example-code,.reference-box pre{background:#19233d;color:#e7eaff;padding:19px 22px;border-radius:11px;font:15px/1.7 Consolas,monospace;white-space:pre-wrap;overflow:auto;margin:0}.example-note{margin-top:17px;color:#6d748f;font-size:14px}.notes-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #eeebf4;padding:17px 26px}.slide-dots{display:flex;gap:7px}.slide-dot{border:0;padding:0;background:#d9d2ed;border-radius:999px;width:9px;height:9px}.slide-dot.current{width:25px;background:#754fe0}.notes-actions{display:flex;gap:9px}.notes-actions button{border:1px solid #e0dbea;background:#fff;border-radius:9px;padding:9px 13px;color:#6d628c;font-size:14px;font-weight:700}.notes-actions button:disabled{opacity:.45}.notes-actions .primary-small{background:#6841df;border-color:#6841df;color:#fff}.lesson-bottom{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#8990a4;font-size:14px;margin-top:19px}.lesson-bottom button{border:0;background:transparent;color:#6841df;font-size:14px;font-weight:800}
.task-body{padding:25px 28px 27px}.task-prompt{font-size:17px;line-height:1.6;color:#3f4a67;margin:0 0 18px}.reference-box{border:1px solid #e4e0ee;border-radius:12px;overflow:hidden;margin-bottom:23px}.reference-label{padding:12px 16px;background:#f5f2fd}.reference-box pre{border-radius:0}.independent-note{background:#f4f0ff;border-left:3px solid #8060e5;padding:12px 15px;color:#675a8c;font-size:14px;line-height:1.5;border-radius:0 8px 8px 0;margin-bottom:22px}.editor-heading{height:38px;background:#263350;border-radius:10px 10px 0 0;color:#dbe2f6;font:12px Consolas,monospace;padding:11px 15px;display:flex;justify-content:space-between}.editor-heading span:first-child{color:#b5ef9e}.editor{background:#19243b;border-radius:0 0 10px 10px;display:flex;position:relative;min-height:193px;overflow:hidden}.line-gutter{width:42px;padding:16px 7px 16px 0;color:#8291ad;text-align:right;flex:none;font:14px/26px Consolas,monospace;position:relative;z-index:2;user-select:none}.line-gutter span{display:block;height:26px}.line-gutter .wrong-line{color:#ff9aab;font-weight:800}.line-highlight{position:absolute;left:0;right:0;height:26px;background:#be53613d;pointer-events:none}.editor textarea{position:relative;z-index:1;background:transparent;color:#e3edff;width:100%;border:0;outline:0;resize:vertical;min-height:193px;padding:16px 14px 16px 8px;font:14px/26px Consolas,monospace;white-space:pre;tab-size:4;caret-color:#c9abff}.editor-tip{font-size:13px;color:#8b92a5;margin-top:12px}.feedback{display:grid;gap:5px;margin-top:13px;padding:13px 15px;border-radius:9px;font-size:14px;line-height:1.5}.feedback b{font-size:14px}.feedback code{font-family:Consolas,monospace;white-space:pre-wrap}.feedback.error{background:#fff0f3;color:#a04859}.feedback.success{background:#eaf8ec;color:#3b8350}.task-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:19px}.hint-control{border:0;background:none;color:#7054c9;font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:3px;padding:8px 0}.submit-button{border:0;background:#6841df;color:white;font-size:14px;font-weight:800;border-radius:9px;padding:12px 19px;box-shadow:0 6px 16px #6841df33}.submit-button:hover:not(:disabled){background:#5831ce}.concept-hint{background:#f5f2ff;color:#665888;border-radius:9px;padding:12px 14px;line-height:1.5;font-size:14px;margin-top:12px}.paste-message{color:#8c5d41;font-size:13px;margin:9px 0 0;min-height:17px}
.modal-backdrop{position:fixed;inset:0;background:#15112ca8;display:grid;place-items:center;z-index:20;padding:18px}.auth-modal{width:min(100%,420px);background:#fff;border-radius:19px;padding:30px;position:relative;box-shadow:0 25px 80px #0d082c4a}.close-modal{position:absolute;top:14px;right:17px;border:0;background:none;color:#9194a9;font-size:27px}.auth-logo{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:#6841df;color:#fff;font-weight:800;letter-spacing:-3px;padding-right:3px}.auth-modal h2{font-size:27px;letter-spacing:-.8px;margin:18px 0 5px}.auth-modal p{color:#747e97;font-size:15px;line-height:1.6;margin:0 0 18px}.auth-modal label{font-size:14px;font-weight:700;color:#4b526d;display:block;margin:13px 0}.auth-modal input{width:100%;display:block;margin-top:7px;border:1px solid #dedbe9;border-radius:9px;padding:11px 12px;font-size:15px}.auth-error{color:#a94356;min-height:18px;font-size:13px;margin:4px 0}.auth-submit{width:100%;border:0;background:#6841df;color:#fff;padding:12px;border-radius:9px;font-size:15px;font-weight:800}.auth-submit.muted{background:#f1eef9;color:#5c4c84}.auth-switch{text-align:center;color:#8a90a4;margin-top:19px;font-size:14px}.auth-switch button{border:0;background:none;color:#6946d6;font-size:14px;font-weight:800}.profile-stat{background:#f6f3fe;padding:15px;border-radius:9px;display:flex;justify-content:space-between;color:#6b6484;font-size:14px;margin-bottom:18px}.profile-stat strong{color:#6841df}
.progress-rail .progress-0{width:0%}.progress-rail .progress-10{width:10%}.progress-rail .progress-20{width:20%}.progress-rail .progress-30{width:30%}.progress-rail .progress-40{width:40%}.progress-rail .progress-50{width:50%}.progress-rail .progress-60{width:60%}.progress-rail .progress-70{width:70%}.progress-rail .progress-80{width:80%}.progress-rail .progress-90{width:90%}.progress-rail .progress-100{width:100%}
.progress-rail .progress-5{width:5%}.progress-rail .progress-15{width:15%}.progress-rail .progress-25{width:25%}.progress-rail .progress-35{width:35%}.progress-rail .progress-45{width:45%}.progress-rail .progress-55{width:55%}.progress-rail .progress-65{width:65%}.progress-rail .progress-75{width:75%}.progress-rail .progress-85{width:85%}.progress-rail .progress-95{width:95%}
.course-module{margin:0 0 46px}.module-heading{display:flex;align-items:center;gap:15px;border-top:1px solid #e4e0ee;padding-top:25px}.module-badge{width:49px;height:49px;border-radius:14px;display:grid;place-items:center;background:#6942df;color:#fff;font:700 16px Consolas,monospace;flex:none}.module-copy{min-width:0}.module-copy h2{font-size:27px;letter-spacing:-.7px;margin:4px 0}.module-copy p{font-size:14px;color:#7b849b;margin:0}.module-count{margin-left:auto;white-space:nowrap;background:#eee9fb;color:#6744cd;padding:9px 12px;border-radius:10px;font-weight:800;font-size:14px}.module-progress{max-width:360px;margin:18px 0 22px}.module-progress .progress-head{font-size:13px;margin-bottom:7px}.module-progress .progress-head strong{font-size:14px}.module-progress .progress-rail{height:8px}
.line-highlight{top:16px}.line-highlight.line-2{top:42px}.line-highlight.line-3{top:68px}.line-highlight.line-4{top:94px}.line-highlight.line-5{top:120px}.line-highlight.line-6{top:146px}.line-highlight.line-7{top:172px}.line-highlight.line-8{top:198px}.line-highlight.line-9{top:224px}.line-highlight.line-10{top:250px}.line-highlight.line-11{top:276px}.line-highlight.line-12{top:302px}
@media(max-width:1000px){.language-grid{grid-template-columns:1fr}.other-languages{grid-template-columns:repeat(3,minmax(0,1fr))}.upcoming{display:block;min-height:165px;position:relative}.upcoming .language-icon{width:54px;height:54px;font-size:21px;margin-bottom:9px}.upcoming h2{font-size:17px}.upcoming-progress{position:absolute;right:14px;top:14px}.lesson-layout{grid-template-columns:240px minmax(0,1fr)}.lesson-grid{gap:12px}}
@media(max-width:700px){.site-header{padding:0 17px;height:64px;gap:8px}.brand-icon{width:35px;height:35px;font-size:16px}.brand b{font-size:17px}.brand small,.header-trail{display:none}.account-pill{font-size:13px}.page{padding:27px 17px 45px}.catalog-page{padding-top:40px}.page h1{font-size:33px}.page-lead{font-size:15px}.language-grid{margin-top:24px}.python-card{min-height:340px;padding:20px;grid-template-columns:62px 1fr}.language-icon{width:62px;height:62px;border-radius:17px;font-size:23px}.language-card h2{font-size:22px}.language-card p{font-size:13px}.other-languages{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.upcoming{padding:11px;min-height:145px}.upcoming .language-icon{width:45px;height:45px;font-size:17px}.upcoming h2{font-size:14px}.upcoming p{font-size:11px}.course-heading-icon{width:60px;height:60px;font-size:24px}.course-heading{align-items:start}.course-progress{margin:24px 0 34px;padding:18px}.lesson-grid{grid-template-columns:1fr}.lesson-layout{grid-template-columns:1fr;gap:14px}.lesson-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:8px}.menu-top{grid-column:1/-1;margin-bottom:2px;padding:8px 6px 12px}.section-button{padding:10px 7px;display:block;text-align:center;font-size:12px}.section-button span:last-child{display:none}.lesson-heading{margin-bottom:20px}.lesson-heading h1{font-size:34px}.lesson-status{font-size:11px;padding:8px}.content-head{padding:16px}.content-head h2{font-size:16px}.notes-body,.task-body{padding:20px}.notes-body h3{font-size:23px}.notes-body p,.task-prompt{font-size:16px}.lesson-content{min-height:0}.notes-body{min-height:300px}.notes-footer{padding:13px 16px}.course-statline{font-size:12px}}
@media(max-width:420px){.other-languages{grid-template-columns:1fr}.upcoming{display:flex;min-height:90px}.upcoming .language-icon{margin:0;flex:none}.upcoming-progress{display:block}.language-card p{font-size:12px}.lesson-heading{display:block}.lesson-status{display:inline-block;margin-top:13px}.lesson-bottom{align-items:start}.lesson-bottom button{white-space:nowrap}.notes-actions button{font-size:12px;padding:8px}.section-button{font-size:11px}}
.progress-rail{display:block;width:100%;border:0;appearance:none;-webkit-appearance:none}.progress-rail::-webkit-progress-bar{background:#eeeaf9;border-radius:20px}.progress-rail::-webkit-progress-value{background:linear-gradient(90deg,#835eed,#ac8fff);border-radius:20px;transition:width .25s}.progress-rail::-moz-progress-bar{background:linear-gradient(90deg,#835eed,#ac8fff);border-radius:20px}
.catalog-subtitle{margin:47px 0 18px}.catalog-subtitle h2{font-size:26px;letter-spacing:-.7px;margin:5px 0}.vscode-card{display:grid;grid-template-columns:76px minmax(0,1fr);column-gap:19px;align-items:start;width:100%;padding:27px;min-height:250px;color:inherit}.vscode-card:hover{border-color:#9ac6f4;box-shadow:0 14px 33px #243c6b20}.vs-icon{background:#e0efff;color:#2872bb;font-family:Consolas,monospace;font-size:22px}.vscode-card .card-progress{margin-top:22px;padding-top:18px}.vscode-card .card-open{margin-top:15px}
.vscode-notes{min-height:205px}.os-section,.resource-list{border-top:1px solid #eeebf4;padding:24px 27px}.os-section h3,.resource-list h3,.quiz-block h3{font-size:18px;margin:0 0 14px}.os-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.os-card{background:#f8f7fd;border:1px solid #e8e3f3;border-radius:12px;padding:14px;min-width:0}.os-card>b{font-size:16px}.os-card p{font-size:13px;line-height:1.5;color:#656e86;min-height:78px;margin:8px 0 12px}.os-card a,.resource-list a{display:block;color:#6543d5;font-size:13px;font-weight:700;line-height:1.45;text-decoration:none;margin-top:10px}.os-card a:hover,.resource-list a:hover{text-decoration:underline}.resource-list{display:grid;gap:6px}.resource-list h3{margin-bottom:3px}.practice-check{display:flex;align-items:flex-start;gap:11px;padding:16px;background:#f1f8ff;border:1px solid #d8eafc;border-radius:11px;color:#2e5c86;font-size:15px;font-weight:700}.practice-check input{width:20px;height:20px;accent-color:#6841df;flex:none;margin:0}.practice-explain{color:#7b849a;font-size:13px;line-height:1.5;margin:9px 0 23px}.quiz-block{border-top:1px solid #ece8f4;padding-top:21px}.quiz-question{border:0;padding:0;margin:0 0 25px;min-width:0}.quiz-question legend{font-size:15px;font-weight:800;margin-bottom:10px;padding:0;color:#343b59}.quiz-choice{display:block;width:100%;padding:10px 13px;margin:7px 0;text-align:left;border:1px solid #e0deeb;background:#fff;border-radius:9px;color:#555e78;font-size:14px}.quiz-choice:hover{border-color:#aa97ed;background:#f8f5ff}.quiz-choice.selected{border-color:#6841df;background:#f1ecff;color:#5233bc;font-weight:800}.quiz-hint{background:#fff1f3;color:#a34758;padding:11px;border-radius:8px;font-size:13px;line-height:1.5;margin:8px 0}
@media(max-width:1000px){.os-grid{grid-template-columns:1fr}.os-card p{min-height:0}}@media(max-width:700px){.vscode-card{grid-template-columns:60px minmax(0,1fr);padding:19px;min-height:0}.vscode-card .language-icon{width:60px;height:60px;font-size:16px}.vscode-card h2{font-size:20px}.os-section,.resource-list{padding:19px}.catalog-subtitle{margin-top:34px}.catalog-subtitle h2{font-size:23px}}
.visual-example{margin:17px 0 3px;padding:15px;background:#f3f7ff;border:1px solid #dfeafc;border-radius:12px}.visual-example figcaption{font-size:12px;letter-spacing:.7px;text-transform:uppercase;font-weight:800;color:#5273a7;margin-bottom:11px}.visual-flow{display:flex;align-items:stretch;gap:6px}.visual-block{flex:1;min-width:0;padding:11px 9px;background:#fff;border:1px solid #d8e4f7;border-radius:9px;text-align:center;display:flex;flex-direction:column;justify-content:center;gap:4px}.visual-block b{font-size:12px;color:#5741ad}.visual-block span{font-size:13px;color:#3f526d;overflow-wrap:anywhere}.visual-arrow{display:flex;align-items:center;justify-content:center;flex:none;color:#7e66d8;font-size:18px;font-weight:800}@media(max-width:700px){.visual-flow{flex-wrap:wrap}.visual-block{flex-basis:40%}.visual-arrow{flex-basis:14px}.visual-example{padding:12px}}
.ad-preview{margin:60px auto 0;max-width:860px;min-height:136px;border:1px dashed #c9c4d7;background:#f9f8fc;border-radius:12px;padding:23px 28px;color:#9295a7;display:flex;flex-direction:column;justify-content:center;gap:9px;text-align:center}.ad-preview span{font-size:11px;letter-spacing:1.5px;font-weight:800}.ad-preview p{font-size:14px;line-height:1.5;margin:0}@media(max-width:700px){.ad-preview{margin-top:38px;min-height:112px;padding:18px}}
.site-footer { max-width: 1180px; width: calc(100% - 48px); margin: 48px auto 28px; padding-top: 20px; border-top: 1px solid #e4e4ee; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; color: #777d92; font-size: 13px; }
.site-footer a { color: #5b3ed7; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.policy-page { max-width: 850px; }
.policy-page .back-button { display: inline-block; margin-bottom: 24px; text-decoration: none; }
.policy-card { background: #fff; border: 1px solid #e7e6f1; border-radius: 18px; padding: 22px 26px; margin: 18px 0; }
.policy-card h2 { margin: 0 0 10px; font-size: 20px; }
.policy-card p { margin: 0; color: #535b70; line-height: 1.65; }
.policy-card a,.auth-terms a { color: #5b3ed7; text-decoration: underline; text-underline-offset: 2px; }
.auth-modal .auth-terms { line-height: 1.5; }
.policy-updated { color: #777d92; font-size: 13px; margin-top: 24px; }
@media (max-width: 640px) { .site-footer { width: calc(100% - 32px); flex-direction: column; } .policy-card { padding: 18px; } }
.exam-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:-10px 0 45px;padding:26px 30px;border-radius:18px;background:linear-gradient(120deg,#ece5ff,#f6f2ff);border:1px solid #e2d7ff}.exam-banner h2{font-size:25px;margin:6px 0 7px;letter-spacing:-.5px}.exam-banner p{margin:0;color:#626885;line-height:1.55;max-width:640px}.exam-banner button{border:0;border-radius:10px;background:#6841df;color:#fff;padding:13px 17px;font-weight:800;font-size:14px;white-space:nowrap}.exam-page{max-width:1000px}.exam-intro,.exam-result{margin-top:26px;padding:28px 30px;border:1px solid #e4dff0;border-radius:18px;background:#fff;box-shadow:0 8px 25px #2c23650c}.exam-intro h2{font-size:25px;margin:0 0 11px}.exam-intro p,.exam-result p{line-height:1.6;color:#5e6680;margin:0 0 16px}.exam-intro .submit-button{margin-top:7px}.exam-progress{display:flex;align-items:baseline;gap:9px;margin-bottom:11px}.exam-progress strong{font-size:27px;color:#6841df}.exam-progress span{color:#798096;font-size:14px}.exam-questions{display:grid;gap:17px;margin-top:23px}.exam-question{background:#fff;border:1px solid #e4dff0;border-radius:17px;padding:23px 26px;box-shadow:0 6px 20px #2c236509}.exam-question-top{display:flex;justify-content:space-between;gap:8px;color:#7655d4;font-size:11px;font-weight:800;letter-spacing:.8px;text-transform:uppercase}.exam-question h2{font-size:19px;margin:12px 0 16px;line-height:1.35}.exam-question .example-code{font-size:14px;margin-bottom:18px}.exam-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.exam-choice{border:1px solid #e2deed;background:#faf9fd;color:#4b526b;text-align:left;border-radius:10px;padding:12px 14px;font-size:14px;line-height:1.4}.exam-choice:hover{background:#f3efff;border-color:#ab96eb}.exam-choice.selected{background:#eee8ff;border-color:#6841df;color:#5536bd;font-weight:800}.exam-submit{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:25px 0 10px;color:#737b94;font-size:14px}.exam-message{padding:12px 15px;border-radius:10px;background:#fff0f3;color:#a04859;margin-top:17px}.exam-result-score{display:flex;align-items:center;gap:22px;margin:14px 0 18px}.exam-result-score>strong{width:90px;height:90px;border-radius:22px;background:#6841df;color:#fff;display:grid;place-items:center;font-size:52px;line-height:1}.exam-result-score h2{font-size:28px;margin:0 0 4px}.exam-result-score p{margin:0;color:#393f5c;font-weight:700}.exam-result-score small{display:block;color:#8c91a5;margin-top:5px}.exam-review{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:17px}.exam-review-card{background:#fff;border:1px solid #e4dff0;border-radius:13px;padding:18px 20px}.exam-review-card>div{display:flex;justify-content:space-between;gap:9px;align-items:start}.exam-review-card b{font-size:15px}.exam-review-card strong{white-space:nowrap;color:#6841df}.exam-review-card p{font-size:13px;line-height:1.5;color:#727a91;margin:9px 0 0}.exam-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:23px}.secondary-button{border:1px solid #dcd5ec;border-radius:9px;background:#fff;color:#6245bc;padding:12px 19px;font-size:14px;font-weight:800}.exam-history-note{font-size:13px;color:#858ca2;margin:13px 0 0}
@media(max-width:700px){.exam-banner{display:block;padding:22px;margin:0 0 37px}.exam-banner button{margin-top:16px}.exam-intro,.exam-result{padding:21px}.exam-question{padding:19px}.exam-choices,.exam-review{grid-template-columns:1fr}.exam-result-score>strong{width:70px;height:70px;font-size:42px}.exam-result-score h2{font-size:23px}}
.java-catalog-card{display:grid;grid-template-columns:55px minmax(0,1fr);align-items:start;gap:8px 12px;padding:16px;color:inherit;box-shadow:none;min-width:0}.java-catalog-card:hover{border-color:#e0a399;box-shadow:0 10px 24px #ae503c1c}.java-catalog-card .language-icon{width:55px;height:55px;border-radius:14px;font-size:23px}.java-catalog-card h2{font-size:19px;line-height:1.15;margin:2px 0 4px}.java-catalog-card p{font-size:12px}.java-catalog-card .course-state{font-size:9px;letter-spacing:1px}.java-catalog-card .card-progress{margin-top:4px;padding-top:10px}.java-catalog-card .progress-head{font-size:12px;margin-bottom:5px}.java-catalog-card .progress-head strong{font-size:13px}.java-catalog-card .card-progress>span{font-size:11px;margin-top:5px}.java-catalog-card .card-open{margin-top:2px;font-size:12px;color:#a64736}.java-lesson-page .editor textarea{min-height:240px}.java-lesson-page .editor{min-height:240px}
@media(max-width:700px){.java-catalog-card{grid-template-columns:1fr;gap:5px;padding:11px}.java-catalog-card .language-icon{width:45px;height:45px;font-size:18px}.java-catalog-card h2{font-size:15px}.java-catalog-card .course-state{font-size:8px}.java-catalog-card .card-open{font-size:11px}}
@media(max-width:420px){.java-catalog-card{grid-template-columns:55px minmax(0,1fr);padding:13px}.java-catalog-card .card-progress,.java-catalog-card .card-open{grid-column:1/-1}}
.javascript-catalog-card:hover{border-color:#e2c65d;box-shadow:0 10px 24px #bb9d3524}.javascript-catalog-card .card-open{color:#917315}.cpp-catalog-card:hover{border-color:#9fc4ec;box-shadow:0 10px 24px #3977bf1d}.cpp-catalog-card .card-open{color:#3977bf}
.reader-shortcuts{margin-top:38px;padding:24px 28px;background:#fff;border:1px solid #e7e3f0;border-radius:18px}.reader-shortcuts h2{font-size:23px;margin:8px 0}.reader-shortcuts p{color:#69738e;margin:0 0 18px}.reader-shortcuts nav,.static-landing nav{display:flex;flex-wrap:wrap;gap:9px}.reader-shortcuts a,.static-landing a{display:inline-block;padding:9px 13px;border-radius:9px;background:#f0eaff;color:#6240d0;font-weight:700;text-decoration:none}.reader-shortcuts a:hover,.static-landing a:hover{background:#e4daff}
.static-landing{max-width:880px;margin:9vh auto;padding:32px;color:#202540}.static-landing h1{font-size:clamp(30px,5vw,48px);line-height:1.13}.static-landing p{font-size:17px;line-height:1.6;color:#69738e}
.reader-page{max-width:920px}.reader-header-link{margin-left:auto;color:#6240d0;font-weight:700;text-decoration:none}.reader-breadcrumb{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#8991a7;font-size:13px;margin-bottom:27px}.reader-breadcrumb a{color:#6240d0;text-decoration:none}.reader-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:24px 0 38px}.reader-actions span{max-width:45ch;color:#788199;font-size:14px;line-height:1.5}.reader-primary{display:inline-block;background:#6841df;color:#fff;text-decoration:none;font-weight:800;padding:13px 18px;border-radius:10px}.reader-module,.reader-slide,.reader-exercise{background:#fff;border:1px solid #e7e3f0;border-radius:17px;padding:25px 28px;margin:20px 0;box-shadow:0 8px 24px #2c236509}.reader-module .module-heading{margin-bottom:16px}.reader-module .module-copy h2{margin:4px 0}.reader-lesson-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.reader-lesson-list li{min-width:0}.reader-lesson-list a{display:block;height:100%;border:1px solid #ebe7f3;border-radius:10px;padding:13px 15px;text-decoration:none;color:#242a48}.reader-lesson-list a:hover{border-color:#bca9f3;background:#faf8ff}.reader-lesson-list b,.reader-lesson-list span{display:block}.reader-lesson-list b{font-size:14px;line-height:1.35}.reader-lesson-list span{font-size:12px;color:#8089a1;margin-top:5px}.reader-slide h2,.reader-exercise h2{font-size:24px;margin:9px 0 12px}.reader-slide p,.reader-exercise p{color:#566077;line-height:1.65;font-size:16px}.reader-slide .example-code,.reader-exercise .example-code{white-space:pre-wrap;overflow-wrap:anywhere}.reader-note{padding:12px 15px;border-radius:9px;background:#f3efff;color:#554589!important}.reader-exercise>a,.reader-resources a,.reader-platforms a{color:#6240d0;font-weight:700;text-decoration:none}.reader-visual{border:1px solid #e7e2f3;border-radius:12px;padding:14px 16px;margin:16px 0}.reader-visual>b{display:block;font-size:12px;letter-spacing:1px;color:#6c50c9;text-transform:uppercase;margin-bottom:10px}.reader-visual>div{display:flex;gap:8px;flex-wrap:wrap}.reader-visual span{min-width:100px;flex:1;background:#f7f4ff;border-radius:8px;padding:11px}.reader-visual strong,.reader-visual small{display:block}.reader-visual small{margin-top:4px;color:#717b92}.reader-resources{display:grid;gap:9px;margin-top:18px}.reader-platforms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:18px}.reader-platforms>div{border:1px solid #e7e2f3;border-radius:10px;padding:14px}.reader-platforms p{font-size:13px;margin:7px 0}.reader-platforms a{font-size:13px}.reader-pagination{display:flex;justify-content:space-between;gap:12px;margin:30px 0}.reader-pagination a{color:#6240d0;font-weight:800;text-decoration:none}
@media(max-width:700px){.reader-shortcuts{padding:19px}.reader-lesson-list,.reader-platforms{grid-template-columns:1fr}.reader-module,.reader-slide,.reader-exercise{padding:20px}.reader-header-link{font-size:13px}.reader-actions{align-items:flex-start;flex-direction:column}}
.auth-modal{max-height:calc(100vh - 36px);overflow-y:auto}.auth-modal .auth-submit+.auth-submit{margin-top:9px}.recovery-code{font-family:Consolas,monospace;font-size:clamp(14px,3.8vw,19px);font-weight:800;line-height:1.5;overflow-wrap:anywhere;user-select:all;background:#f1edff;color:#4d2fb2;border:1px dashed #a997e1;border-radius:10px;padding:14px;margin:14px 0 17px;text-align:center;letter-spacing:.5px}
.auth-delete-link{display:block;margin:16px auto 0;background:none;border:0;color:#a74657;font-size:13px;text-decoration:underline}.auth-modal .auth-check{display:flex;align-items:flex-start;gap:9px;font-weight:400}.auth-modal .auth-check input{width:auto;display:inline-block;flex:none;margin:4px 0 0}.auth-modal .auth-submit.danger{background:#b43e54}
.language-switch{margin-left:auto;min-width:65px;height:38px;padding:0 8px;border:1px solid #ded9ee;border-radius:10px;background:#fff;color:#5035b4;font:700 13px "Segoe UI",Arial,sans-serif;cursor:pointer}.language-switch:focus-visible{outline:3px solid #a48afa;outline-offset:2px}.language-switch+.account-pill{margin-left:0}@media(max-width:700px){.site-header{gap:8px}.language-switch{min-width:58px;height:34px;padding:0 5px}.account-pill{padding-right:8px}}
.reader-language { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-left: auto; }
.reader-language a { color: inherit; text-decoration: none; padding: .35rem .55rem; border: 1px solid rgba(127, 139, 171, .35); border-radius: .55rem; font-size: .78rem; white-space: nowrap; }
.reader-language a[aria-current="page"] { color: #fff; background: #6246e5; border-color: #6246e5; }
@media (max-width: 720px) { .reader-language { order: 3; width: 100%; margin-left: 0; } }

.course-guide{margin:28px 0 36px;color:#303751}
.guide-intro,.guide-main,.guide-ending{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0}
.course-guide .guide-intro>div,.course-guide .guide-main>div,.course-guide .guide-ending>div{background:#fff;border:1px solid #e7e3f0;border-radius:16px;padding:21px 23px;min-width:0}
.course-guide h2{font-size:20px;line-height:1.25;margin:0 0 11px;letter-spacing:-.3px}
.course-guide p,.course-guide li{color:#59637c;font-size:15px;line-height:1.62}
.course-guide p{margin:8px 0 0}
.course-guide ul,.course-guide ol{margin:0;padding-left:21px}
.course-guide li+li{margin-top:8px}
.course-guide ol li b,.course-guide ol li span{display:block}
.course-guide ol li b{color:#303751}
.course-guide .guide-ending>div{background:#f3efff}
.static-landing{max-width:920px;margin:50px auto 80px;padding:0 24px;color:#29304b}
.static-landing h1{font-size:clamp(30px,5vw,48px);letter-spacing:-1.3px;line-height:1.1}
.static-landing h2{font-size:26px;margin:36px 0 15px}
.static-landing p{line-height:1.65;color:#59637c}
.landing-course-list{background:#fff;border:1px solid #e7e3f0;border-radius:18px;padding:2px 25px 18px;margin-top:30px}
.landing-course-list p+p{border-top:1px solid #ece9f5;padding-top:13px}
@media(max-width:700px){.guide-intro,.guide-main,.guide-ending{grid-template-columns:1fr}.course-guide .guide-intro>div,.course-guide .guide-main>div,.course-guide .guide-ending>div{padding:18px}.static-landing{margin:30px auto 60px;padding:0 17px}.landing-course-list{padding:2px 18px 15px}}
