:root{color-scheme:dark;--bg:#0b1730;--primary:#152b50;--card:#10213d;--border:#293f60;--muted:#a5b6d0;--white:#f8fafc;--blue:#3b82f6;--light:#93c5fd}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--white);font:14px 'DM Sans',sans-serif}button,input,textarea,select{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button,a,summary{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--light);outline-offset:4px}header{border-bottom:1px solid #233550;background:#0d1b33}.header-inner{max-width:1240px;margin:auto;min-height:91px;display:flex;align-items:center;gap:25px;padding:0 24px}.brand{display:flex;align-items:center;gap:11px;font:800 27px Manrope,sans-serif;letter-spacing:-1.2px}.brand-dot{color:#69a6ff;margin-left:-10px}.logo{display:grid;place-items:center;background:var(--blue);border-radius:10px;width:39px;height:39px;font:700 22px monospace;letter-spacing:-4px;padding-right:4px}.academy-badge{border-left:1px solid var(--border);padding-left:24px;color:var(--muted);font-size:10px;letter-spacing:1.6px;font-weight:700}.header-right{margin-left:auto;display:flex;align-items:center;gap:22px}.beginner-label{color:#899dbd;font-size:12px}.avatar{background:#203b61;border:1px solid #375279;width:34px;height:34px;border-radius:50%;color:#c9dfff}.container{max-width:1240px;margin:auto;padding:0 24px}nav{display:flex;align-items:center;gap:8px;border-bottom:1px solid #203453;padding:22px 0 21px;margin-bottom:37px}nav a{padding:11px 18px;border-radius:7px;color:#aebed6;font-weight:600;display:flex;gap:9px;align-items:center}nav a:hover{background:#162c4b;color:white}nav a.active{background:#203e68;color:white;box-shadow:inset 0 0 0 1px #32517b}.nav-note{margin-left:auto;color:#91a6c5;font-size:12px;display:flex;align-items:center;gap:8px}.nav-note i{width:6px;height:6px;background:#80b5f3;border-radius:50%}.eyebrow{font-size:10px;letter-spacing:1.7px;color:var(--light);font-weight:700;margin:0 0 11px}h1,h2,h3{font-family:Manrope,sans-serif}h1{font-size:32px;letter-spacing:-1.1px;margin:0 0 10px;line-height:1.3}p{color:var(--muted);line-height:1.7;margin:0}h2{font-size:20px;letter-spacing:-.5px;margin:0}h3{margin:0;font-size:16px;letter-spacing:-.3px}.welcome{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.welcome-note{font-size:12px;color:#a8bbd6;display:flex;align-items:center;gap:10px}.welcome-note b{font-size:18px;color:#bdd7fb;font-weight:500}.progress-card{background:var(--primary);border:1px solid #2a456d;border-radius:12px;padding:29px 30px 26px;position:relative;box-shadow:0 8px 24px #030b1715}.card-top{display:flex;justify-content:space-between;align-items:center}.chapter-label{font-size:10px;letter-spacing:1.2px;color:var(--light);font-weight:700}.status{padding:5px 9px;border-radius:5px;background:#25426a;color:#c9defa;font-size:10px}.progress-card h2{font-size:25px;margin:12px 0 7px}.progress-card p{font-size:13px}.progress-meta{display:flex;justify-content:space-between;margin-top:27px;font-size:12px;color:#bfcee4}.progress-meta strong{color:white}progress{display:block;width:100%;height:7px;border:0;border-radius:10px;overflow:hidden;background:#314969;margin-top:10px}progress::-webkit-progress-bar{background:#314969}progress::-webkit-progress-value{background:var(--blue);border-radius:10px}progress::-moz-progress-bar{background:var(--blue)}.progress-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:24px;gap:18px}.next-lesson{font-size:12px;color:var(--muted)}.next-lesson strong{display:block;color:#edf4ff;font-weight:500;font-size:13px;margin-top:5px}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;gap:24px;min-height:43px;padding:0 18px;border-radius:7px;border:1px solid transparent;font-weight:600;font-size:12px}.primary{background:var(--blue);color:white;box-shadow:0 3px 7px #071a3330}.primary:hover{background:#5292fc}.secondary{background:#192e4d;border-color:#345071;color:#e6effe}.secondary:hover{background:#254267}.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:33px 0 17px}.section-title h2{font-size:17px}.section-title p{font-size:12px;margin-top:5px}.subtle-link{font-size:12px;color:var(--light)}.modes{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.mode{background:var(--card);border:1px solid #273d5d;border-radius:10px;padding:22px;transition:border-color .15s,background .15s;display:grid;grid-template-columns:36px 1fr 12px;gap:13px;align-items:start}.mode:hover{border-color:#557cac;background:#142947}.mode-icon{background:#1c375b;color:var(--light);width:35px;height:35px;display:grid;place-items:center;border-radius:8px;font:20px monospace}.mode h3{font-size:14px;margin:1px 0 6px}.mode p{font-size:12px;line-height:1.65}.arrow{color:#7697c4;margin-top:8px}.academy-head{margin-top:38px}.filters{display:flex;gap:4px;padding:3px;background:#0b192d;border:1px solid #253955;border-radius:7px}.filter{background:none;color:var(--muted);border:0;border-radius:4px;padding:7px 12px;font-size:11px}.filter.active{background:#263f61;color:white}.academy{border:1px solid #293f5d;border-radius:10px;overflow:hidden;background:#0e1e36}.chapter+ .chapter{border-top:1px solid #253b58}.chapter summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:16px;padding:20px 22px}.chapter summary::-webkit-details-marker{display:none}.chapter summary:hover{background:#142844}.chapter-num{width:34px;height:34px;border:1px solid #304c71;border-radius:8px;display:grid;place-items:center;color:#a6c9f5;font-size:12px}.chapter-title{flex:1}.chapter-title h3{font-size:13px;margin-bottom:4px}.chapter-title p{font-size:11px}.chapter-count{font-size:11px;color:#9cb1d0}.chevron{font-size:15px;color:#9eb6d8;margin-left:12px}.chapter[open] .chevron{transform:rotate(180deg)}.lesson-list{padding:0 22px 14px 72px}.lesson-row{display:flex;align-items:center;gap:12px;width:100%;background:transparent;color:#d2def0;border:0;border-top:1px solid #213652;text-align:left;padding:13px 0;font-size:12px}.lesson-row:hover{color:white}.lesson-state{width:19px;height:19px;border:1px solid #3a5376;border-radius:50%;font-size:10px;display:grid;place-items:center;color:var(--light)}.lesson-state.done{background:#244767;border-color:#487690}.lesson-time{margin-left:auto;color:#8ea5c6;font-size:11px}.lesson-row .subtle-link{min-width:51px;text-align:right;font-size:11px}.empty{padding:24px;color:var(--muted)}.academy-foot{display:flex;justify-content:space-between;margin-top:14px;color:#8098b9;font-size:11px}footer{margin-top:46px;border-top:1px solid #233751;padding:23px 0 28px;display:flex;gap:22px;align-items:center;color:#7e95b5;font-size:10px}footer span:last-child{margin-left:auto}.footer-brand{font-weight:700;font-size:13px;color:#b3c4dc}.workbench{display:grid;grid-template-columns:.85fr 1.15fr;gap:22px;margin-top:24px}.lesson-copy,.editor-card,.project-card{background:var(--card);border:1px solid var(--border);border-radius:10px;padding:25px}.lesson-copy h2{margin:12px 0}.lesson-copy p{font-size:14px}.lesson-copy pre{white-space:pre-wrap;background:#09162c;padding:18px;border-radius:6px;color:#c2ddff;line-height:1.8}.tip{padding:15px;margin-top:24px;background:#193353;border-left:2px solid #5997e8;font-size:12px;color:#bdd0e9;line-height:1.8}.editor-card{padding:0;overflow:hidden}.editor-title,.output-title{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;border-bottom:1px solid var(--border);font-size:12px;color:#b5c9e6}.editor-title span{color:#7793b9;font-size:10px}textarea{display:block;resize:vertical;width:100%;min-height:230px;background:#08152b;color:#d4e7ff;border:0;padding:22px;font:13px/1.8 Consolas,monospace;tab-size:4}.editor-actions{display:flex;justify-content:space-between;align-items:center;padding:13px 17px;background:#11243f;gap:12px}.editor-actions span{font-size:10px;color:#93a9c9}.output-title{border-top:1px solid var(--border);border-bottom:0;font-size:10px;letter-spacing:1px}.output{white-space:pre-wrap;overflow-wrap:anywhere;min-height:90px;margin:0;padding:5px 18px 22px;font:12px/1.7 Consolas,monospace;color:#c7d9ee}.lesson-actions{display:flex;justify-content:space-between;gap:12px;margin-top:23px}.projects{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:25px}.project-card h2{margin:20px 0 10px;font-size:19px}.project-card p{font-size:13px;margin-bottom:24px}.project-card .chapter-label{font-size:9px}dialog{max-width:420px;width:calc(100% - 32px);border:1px solid #456082;background:var(--card);color:white;border-radius:12px;padding:28px}dialog::backdrop{background:#020a19bb}dialog p{margin:10px 0 20px}dialog label{font-size:12px}dialog input{width:100%;margin-top:8px;padding:12px;border:1px solid #49658b;border-radius:5px;background:var(--bg);color:white}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.runtime-note{font-size:11px;margin-top:14px;color:#8fa6c6}.back{display:inline-block;color:var(--light);font-size:12px;margin-bottom:22px}
@media(min-width:1500px){.container,.header-inner{max-width:1280px}}@media(max-width:800px){.beginner-label,.nav-note{display:none}.modes{gap:10px}.mode{padding:17px;grid-template-columns:1fr}.mode .arrow{display:none}.workbench{grid-template-columns:1fr}.projects{grid-template-columns:1fr}.welcome-note{display:none}.academy-badge{font-size:9px}}@media(max-width:520px){.container,.header-inner{padding-left:18px;padding-right:18px}.header-inner{min-height:76px;gap:16px}.brand{font-size:24px}.academy-badge{padding-left:15px;font-size:8px;letter-spacing:1px}.header-right{margin-left:auto}.logo{width:34px;height:34px}nav{gap:2px;justify-content:space-between;padding:17px 0;margin-bottom:28px}nav a{padding:10px 9px;font-size:11px;gap:5px}h1{font-size:27px}.welcome p{font-size:13px}.progress-card{padding:22px}.progress-card h2{font-size:22px}.progress-bottom{align-items:stretch;flex-direction:column}.progress-bottom .primary{justify-content:space-between}.modes{grid-template-columns:1fr}.mode{grid-template-columns:35px 1fr 12px;gap:13px;padding:18px}.mode .arrow{display:block}.section-title{align-items:flex-start}.academy-head{flex-direction:column}.chapter summary{padding:17px 15px;gap:10px}.chapter-count{font-size:10px}.lesson-list{padding-left:25px;padding-right:15px}.lesson-row{font-size:11px}.lesson-time{font-size:10px}.academy-foot{gap:15px;font-size:10px}footer{gap:13px;flex-wrap:wrap}footer span:last-child{margin-left:0;width:100%}.lesson-actions{flex-wrap:wrap}.editor-actions span{max-width:130px}.header-right .avatar{width:29px;height:29px}}
