@font-face{font-family:Vazirmatn;font-style:normal;font-weight:100 900;font-display:swap;src:url("catalog/Vazirmatn.woff2") format("woff2")}
:root{--bg:#f7f8fb;--panel:#fff;--line:#e9eaf0;--text:#242637;--muted:#7c8093;--red:#de304c;--red-dark:#be203c;--soft:#fff0f2;--shadow:0 8px 30px #292d4910}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Vazirmatn,Tahoma,sans-serif;line-height:1.9}a{color:inherit;text-decoration:none}button,a,input,textarea{ -webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:3px solid #f5a4b2;outline-offset:4px}header{min-height:96px;display:flex;justify-content:space-between;align-items:center;padding:22px 5%;border-bottom:1px solid var(--line);gap:20px;background:#fff}.brand{display:flex;align-items:center;gap:13px;font-weight:800;font-size:17px;letter-spacing:-.45px}.mark{display:grid;place-items:center;background:linear-gradient(145deg,#f2536d,#cf203e);color:white;border-radius:15px;width:48px;height:48px;font:900 24px monospace;box-shadow:0 5px 14px #de304c30}.brand small{display:block;color:#9295a4;font-size:8px;letter-spacing:1.7px;font-weight:500;direction:ltr;text-align:right;margin-top:4px}.brand small i{font-style:normal;color:var(--red)}nav{display:flex;align-items:center;gap:26px;font-size:12px;color:#636879;font-weight:600}nav a:hover{color:var(--red)}nav a:last-child{color:var(--red);border:1px solid #f3cbd3;border-radius:9px;padding:8px 16px}main{max-width:1440px;margin:auto;padding:32px 5% 80px}.hero{display:grid;grid-template-columns:1.05fr 1fr;gap:80px;align-items:center;padding:38px 0 65px}.tag{display:inline-block;font-size:11px;color:var(--red);font-weight:700;letter-spacing:.1px}.hero>.tag,.hero>div>.tag{border:1px solid #f5d5dc;background:#fff0f3;padding:5px 13px;border-radius:100px}h1{font-size:clamp(32px,4vw,55px);font-weight:900;line-height:1.6;letter-spacing:-1.7px;margin:18px 0}h1 em{color:var(--red);font-style:normal}.hero p{max-width:490px;color:#7a7e8c;font-size:14px;line-height:2.2;margin:18px 0 27px}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--red);color:white;border:1px solid transparent;border-radius:9px;padding:11px 22px;font:600 13px Vazirmatn,Tahoma,sans-serif;cursor:pointer;transition:background .18s,box-shadow .18s}.button,button:hover{box-shadow:0 5px 14px #de304c20}button:hover,.button:hover{background:var(--red-dark)}.secondary{background:#fff;border:1px solid #dedfe8;color:#62677b}.secondary:hover{background:#f2f3f8;box-shadow:none}.stats{display:flex;gap:37px;padding:29px 0 10px;color:var(--muted);font-size:11px}.stats>span{padding-left:28px;border-left:1px solid #e0e2e9}.stats>span:last-child{border:0}.stats b{display:block;font-size:26px;line-height:1.5;color:var(--text);font-weight:800}.codeart{border:1px solid #e1e4ed;border-radius:17px;background:#fff;box-shadow:0 25px 70px #363d5414;position:relative;transform:rotate(-2deg)}.codeart:before{content:'';position:absolute;inset:-35px;z-index:-1;background:radial-gradient(ellipse,#ffedf1,transparent 70%)}.codeart pre{padding:22px 30px 38px;font:13px/2.15 monospace;color:#4b526b;overflow:auto}.codeart i{color:#9ca1b1}.codeart span{color:#c22e5a}.codeart strong{color:#20876c;font-weight:500}.dots{padding:14px 20px;border-bottom:1px solid #eef0f5;color:#ef8899;letter-spacing:5px;font-size:9px;background:#fcfcfe;border-radius:17px 17px 0 0}.dots span{float:right;color:#969bab;letter-spacing:0;font-family:monospace}.floating{position:absolute;bottom:-17px;right:22px;background:#fff;border:1px solid #daeee4;color:#298460;padding:10px 18px;border-radius:10px;box-shadow:var(--shadow);font-size:11px;transform:rotate(2deg)}.sectionhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;padding-top:15px}.sectionhead h2{font-size:26px;letter-spacing:-.8px;margin:4px 0}.sectionhead input{max-width:280px;background:white!important}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card,.panel{background:var(--panel);border:1px solid var(--line);border-radius:15px;padding:25px}.card{transition:transform .2s,border-color .2s,box-shadow .2s;position:relative}.card:hover{border-color:#edbcc7;transform:translateY(-4px);box-shadow:0 12px 30px #353c5110}.courseicon{display:inline-grid;place-items:center;width:49px;height:49px;border-radius:13px;color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,white);font:bold 21px monospace;margin-left:12px}.card>.tag{float:left;color:#8b8fa0;font-size:10px;border:1px solid #e9eaf0;padding:3px 9px;border-radius:6px;margin-top:10px}.card h2{text-align:right;font-size:22px;line-height:1.5;margin:20px 0 10px;font-weight:800;letter-spacing:-.6px}.card p{color:var(--muted);font-size:12px;min-height:42px}.cardfoot{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #f0f1f5;padding-top:16px;margin-top:20px;font-size:10px;color:#969aaa}.cardfoot b{color:var(--red);font-size:11px}.muted{color:var(--muted);font-size:12px;margin-top:25px}footer{background:#fff;padding:24px;text-align:center;border-top:1px solid var(--line);color:#9498a7;font-size:11px}.auth{max-width:530px;margin:45px auto;background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow);padding:36px;border-radius:18px}.auth h1{font-size:29px;letter-spacing:-.8px}.auth p{color:var(--muted);font-size:13px}label{display:block;font-size:13px;color:#555a6b;margin-bottom:15px}input:not([type=radio]),textarea{display:block;width:100%;background:#fafbfe;color:var(--text);border:1px solid #e0e3eb;border-radius:8px;padding:11px 13px;font:inherit;font-size:13px;margin-top:7px}input:focus,textarea:focus{outline:2px solid #f7bac6;outline-offset:1px}input[type=email],input[type=password]{direction:ltr}.actions{display:flex;gap:10px;margin-top:23px}.notice{background:#fff0f2;color:#a82540!important;border:1px solid #f7d0da;padding:13px;border-radius:9px;font-size:13px}.notice:empty{display:none}.lessonhead{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px}.lessonhead .tag{background:var(--soft);padding:3px 12px;border-radius:6px;font-size:10px}.lessonhead h1{font-size:32px;letter-spacing:-.8px;margin:10px 0 0}.lessonhead>a{font-size:12px;color:var(--muted)}.learning-steps{display:flex;gap:35px;align-items:center;border:1px solid var(--line);background:#fff;padding:14px 22px;margin-bottom:23px;border-radius:11px;font-size:11px;color:#9297a7}.learning-steps span{display:flex;align-items:center;gap:9px}.learning-steps b{background:#f1f3f8;color:#9599aa;width:28px;height:28px;display:grid;place-items:center;border-radius:8px;font:600 11px monospace}.learning-steps .current{color:var(--red);font-weight:600}.learning-steps .current b{background:var(--soft);color:var(--red)}.workspace{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr);align-items:start;gap:23px}.panel h2{font-size:22px;letter-spacing:-.6px;margin:11px 0}.panel h3{font-size:16px;line-height:2}.lessontext{font-size:14px;line-height:2.4;color:#62677c}.task{background:#fff7f8;border:1px solid #f8dfe5;border-right:3px solid var(--red);border-radius:9px;padding:16px;margin:23px 0}.task b{font-size:12px;color:#c82d48}.task p{font-size:12px;margin-bottom:0;color:#7f6170}hr{border:0;border-top:1px solid var(--line);margin:26px 0}.option{display:flex;align-items:center;gap:10px;border:1px solid #e7e9ef;padding:11px 14px;border-radius:8px;margin-bottom:9px;background:#fff;cursor:pointer;font-size:13px}.option:hover{background:#fff8f9}.option:has(input:checked){border-color:#e57489;background:#fff2f5;color:#b92742}input[type=radio]{accent-color:var(--red)}.panel form>button{width:100%;margin-top:10px}.lab{border:1px solid #e0e3ed;border-radius:13px;overflow:hidden;background:#fff;box-shadow:0 8px 25px #262b4608;min-width:0}.labbar{padding:15px 19px;display:flex;gap:10px;justify-content:space-between;border-bottom:1px solid var(--line);font-size:11px;color:#52586c;background:#fff;font-weight:600}.labbar>span:last-child{font:11px monospace;background:#f1f3f8;border-radius:5px;padding:4px 8px;color:#858b9d}.live-dot{display:inline-block;background:#27b77b;width:7px;height:7px;border-radius:100%;margin-left:7px;box-shadow:0 0 0 3px #e4f7ee}.runtime{font-size:10px;line-height:1.9;color:#788298;padding:10px 18px;border-bottom:1px solid #e8edf6;background:#f8faff}.editor-shell{display:flex;direction:ltr;background:#fbfcff;min-height:275px}#line-numbers{margin:0;padding:22px 12px 22px 15px;text-align:right;min-width:44px;color:#b2b7c7;user-select:none;border-right:1px solid #edf0f6;font:13px/1.9 Consolas,monospace;overflow:hidden;max-height:340px}#editor{resize:vertical;min-height:275px;height:340px;border:0;border-radius:0;font:13px/1.9 Consolas,monospace;tab-size:2;padding:22px 16px;margin:0;white-space:pre;overflow:auto;flex:1;min-width:0;background:#fbfcff;color:#354363;outline:0}.labactions{padding:12px 15px;display:flex;align-items:center;gap:8px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}.labactions button{font-size:11px;padding:8px 13px}.labactions #run{margin-left:auto}.outputlabel{padding:11px 17px;background:#fff;color:#61687e;font-size:11px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.outputlabel small{font-size:8px;letter-spacing:1px;color:#a4aabd;display:block}.view-switch{display:flex;gap:3px;background:#f2f4f8;padding:3px;border-radius:6px}.view-switch button{font-size:9px;padding:4px 9px;background:transparent;color:#9399a9;box-shadow:none;border:0;border-radius:4px}.view-switch button.selected{background:#fff;color:var(--red);box-shadow:0 1px 4px #23304b10}.preview-surface{background:repeating-linear-gradient(45deg,#f4f5f9,#f4f5f9 8px,#f9fafc 8px,#f9fafc 16px);display:flex;justify-content:center;overflow:auto}#preview{display:block;flex-shrink:0;max-width:100%;width:100%;height:300px;background:white;border:0}#output{max-height:300px;overflow:auto;white-space:pre-wrap;padding:18px;margin:0;font:12px/1.9 Consolas,Tahoma,monospace;color:#52607b;background:#fbfcff}#output:empty{display:none}.success{background:#effbf4;border:1px solid #d1efde;color:#298763;font-size:12px;padding:11px;border-radius:8px;margin:16px 0}progress{width:100%;height:7px;accent-color:var(--red);border:0;border-radius:100px;background:#f2f3f7}progress::-webkit-progress-bar{background:#f2f3f7;border-radius:100px}progress::-webkit-progress-value{background:var(--red);border-radius:100px}table{width:100%;border-collapse:collapse;text-align:right}td,th{padding:14px;border-bottom:1px solid var(--line);font-size:12px}th{color:#949aaa;background:#fafbfe;font-weight:500}tr:hover td{background:#fff9fa}.tablewrap{overflow:auto}.sr{position:absolute;width:1px;height:1px;overflow:hidden}[hidden]{display:none!important}@media(min-width:1450px){main{padding-left:3%;padding-right:3%}}@media(max-width:1000px){header{flex-wrap:wrap}nav{gap:18px}.hero{gap:32px}.grid{grid-template-columns:repeat(2,1fr)}.workspace{grid-template-columns:1fr}.codeart pre{font-size:11px;padding:15px}.lessonhead{align-items:start}.lab{margin-top:0}}@media(max-width:600px){header{padding:18px 5%}main{padding:22px 5% 50px}.hero{grid-template-columns:1fr;padding:15px 0 42px;gap:38px}.grid{grid-template-columns:1fr;gap:15px}.brand{font-size:13px}.brand small{font-size:7px;letter-spacing:1px}.mark{width:42px;height:42px}nav{font-size:10px;gap:15px;width:100%;justify-content:space-between}nav a:last-child{padding:5px 9px}.hero h1{font-size:40px}.sectionhead{display:block}.sectionhead input{max-width:100%;margin-top:16px}.stats{gap:19px}.stats>span{padding-left:18px}.auth{padding:24px;margin:20px 0}.lessonhead{display:block}.lessonhead h1{font-size:27px}.lessonhead>a{display:block;margin-top:12px}.panel{padding:20px}.learning-steps{padding:12px;gap:12px;justify-content:space-between;font-size:9px}.learning-steps span{gap:5px}.learning-steps b{width:23px;height:23px;font-size:9px}.labactions{flex-wrap:wrap}.labactions button{font-size:10px;padding:8px 10px}.outputlabel{padding:10px 12px}.card{padding:23px}.hero p{font-size:13px}.actions button{padding:11px 14px}}
/* Academy 0.3: readable burgundy typography, vertical learning paths and language IDE. */
:root{--red:#a91c39;--red-dark:#86112c;--text:#642c3b;--muted:#865969;--soft:#fff0f3}body{font-size:16px;color:var(--text)}h1,h2,h3,h4{color:#711b31}nav{font-size:14px;color:#7e4354}.tag{font-size:13px;color:#991632}.brand{font-size:19px}.brand small{color:#8e6572}.hero p,.lessontext{font-size:17px;color:#724251}.card p{font-size:15px;color:#865666}.card h2{font-size:25px}.card>.tag{font-size:12px;color:#854c5d}.cardfoot{font-size:12px;color:#916577}.cardfoot b{font-size:13px}.sectionhead input{font-size:15px}.muted{font-size:14px}.stats{font-size:14px;color:#895366}.panel h3{font-size:18px}.task p{font-size:15px}.task b{font-size:14px;color:#9c1b38}.option{font-size:16px;color:#723b4b}label{font-size:15px;color:#723b4b}button,.button{font-size:15px}.lessonhead>a{font-size:14px;color:#894a60}.lessonhead .tag{font-size:12px}.success,.notice{font-size:15px}.auth p{font-size:15px}.auth input{font-size:16px}.labbar{font-size:14px;color:#772c41}.runtime{font-size:12px;color:#835265;background:#fff8fa}.labactions button{font-size:13px}.learning-steps{font-size:13px;color:#985e71}.learning-steps .current{color:#981630}.outputlabel{font-size:13px;color:#76293e}.view-switch button{font-size:11px}.lesson-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:23px;align-items:start}.lesson-layout .workspace{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:20px}.lesson-path-sidebar{background:#fff;border:1px solid #eadfe4;border-radius:14px;padding:18px 13px;max-height:calc(100vh - 35px);overflow:auto;position:sticky;top:20px;scrollbar-width:thin;scrollbar-color:#d4aab8 #fff}.sidebar-title{padding:0 8px 18px;border-bottom:1px solid #f0e3e9;margin-bottom:12px}.sidebar-title h2{text-align:right;margin:6px 0;font-size:22px}.sidebar-title>a{font-size:12px;color:#a01c38}.roadmap-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:15px 0 30px}.roadmap-heading h1{margin:5px 0;font-size:45px}.roadmap-heading p{font-size:16px;color:#865166}.big-course-symbol{display:grid;place-items:center;background:color-mix(in srgb,var(--accent) 9%,white);color:var(--accent);width:100px;height:100px;border-radius:24px;font:bold 35px monospace;border:1px solid color-mix(in srgb,var(--accent) 15%,white)}.roadmap-page{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:30px;align-items:start;max-width:1100px;margin:0 auto}.roadmap-info{position:sticky;top:20px}.roadmap-info h2{font-size:22px}.roadmap-info p{font-size:14px;color:#855366}.roadmap-info .button{width:100%}.roadmap-info small{display:block;font-size:11px;color:#997a86;line-height:2}.source-link{display:block;color:#9e1532;font-size:13px;margin:18px 0}.path-legend{display:flex;flex-wrap:wrap;gap:22px;font-size:13px;margin-bottom:18px;color:#9d6276}.path-module{background:white;border:1px solid #ecdee5;border-radius:12px;margin-bottom:12px;overflow:hidden}.path-module>summary{display:flex;align-items:center;gap:13px;padding:17px 18px;cursor:pointer;list-style:none;user-select:none}.path-module>summary::-webkit-details-marker,.course-accordion>summary::-webkit-details-marker{display:none}.path-module>summary:focus-visible{outline:2px solid #b0294b;outline-offset:-3px}.path-module>summary b{display:block;font-size:15px;font-weight:700;color:#7d233e;text-align:right}.path-module>summary small{display:block;font-size:12px;color:#9b7180;margin-top:3px}.module-symbol{display:grid;place-items:center;width:35px;height:35px;flex-shrink:0;border-radius:10px;background:#fff0f4;color:#a22143;font:700 12px monospace}.module-chevron{margin-right:auto;color:#ac7c8d;transition:transform .2s;flex-shrink:0}.path-module[open]>summary .module-chevron,.course-accordion[open]>summary .module-chevron{transform:rotate(180deg)}.path-module[open]>summary{border-bottom:1px solid #f2e8ed;background:#fffafb}.vertical-path{list-style:none;margin:0;padding:12px 25px 16px}.path-step{display:flex;gap:15px;position:relative;min-height:80px;padding:12px 0}.path-step:not(:last-child):before{content:'';position:absolute;right:17px;top:44px;bottom:-16px;width:2px;background:#eddde4}.step-dot{display:grid;place-items:center;position:relative;z-index:1;width:35px;height:35px;flex-shrink:0;border-radius:50%;background:#f6f0f3;color:#a98594;border:2px solid white;box-shadow:0 0 0 1px #e6d7df;font-size:12px}.available>.step-dot{background:#a91c39;color:white;box-shadow:0 0 0 4px #fce7ed}.complete>.step-dot{background:#e2f6ec;color:#24845b;box-shadow:0 0 0 1px #c1e6d3}.complete:not(:last-child):before{background:#bbdfce}.path-step>a,.step-content{display:block;flex:1;min-width:0;padding-top:3px}.path-step b{display:block;font-size:15px;font-weight:600;line-height:1.8;color:#763749;overflow-wrap:anywhere;text-align:right}.path-step small{display:block;font-size:12px;line-height:1.8;color:#a17b89;margin-top:5px}.path-step.available b{color:#9e1434}.path-step.complete b{color:#49705d}.path-step.active>a{background:#fff0f4;border:1px solid #f1c8d5;border-radius:8px;padding:9px 11px;margin-top:-5px}.topic-reference{display:inline-block!important;flex:none!important;font-size:11px!important;color:#a73653!important;margin-top:5px;padding:1px 0!important}.planned b{color:#8c6977}.planned .step-dot{opacity:.8}.planned-module>summary .module-symbol{background:#f5f1f3;font-size:12px}.compact .path-module>summary{padding:12px 10px;gap:8px}.compact .module-symbol{width:27px;height:27px;font-size:11px;border-radius:8px}.compact .path-module>summary b{font-size:12px}.compact .path-module>summary small{font-size:10px}.compact .vertical-path{padding:8px 11px}.compact .path-step{gap:10px;min-height:74px}.compact .step-dot{width:27px;height:27px;font-size:10px}.compact .path-step:not(:last-child):before{right:13px;top:39px}.compact .path-step b{font-size:12px}.compact .path-step small{font-size:10px}.compact .topic-reference{font-size:10px!important}.reference-groups{padding:10px 20px}.reference-groups>details{padding:12px 0;border-bottom:1px solid #f0e4e9}.reference-groups summary{font-size:14px;cursor:pointer}.reference-links{display:flex;flex-wrap:wrap;gap:8px;padding-top:14px;direction:ltr}.reference-links a{font-size:12px;padding:6px 10px;background:#fcf5f8;border-radius:6px;color:#8b3450;max-width:100%;overflow-wrap:anywhere}.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.dashboard-heading h1{font-size:35px}.dashboard-heading p{color:#89566a}.dashboard-paths{max-width:1000px;margin:32px auto}.course-accordion{border:1px solid #eadfe5;background:white;border-radius:14px;margin-bottom:16px;box-shadow:0 5px 20px #54253b04;overflow:hidden}.course-accordion>summary{display:flex;gap:15px;align-items:center;list-style:none;cursor:pointer;padding:23px}.course-summary{display:flex;flex-direction:column;gap:5px}.course-summary>b{text-align:right;font-size:22px;color:#751c38}.course-summary>small{font-size:13px;color:#946176}.course-summary-progress{width:110px;margin-right:auto}.course-summary-progress progress{display:block;height:6px}.course-accordion>summary>.module-chevron{margin-right:10px}.course-accordion[open]>summary{border-bottom:1px solid #f2e6eb;background:linear-gradient(100deg,#fff,#fff7fa)}.accordion-content{padding:20px 25px}.ide-filebar{display:flex;justify-content:space-between;align-items:center;background:#f5f6fa;border-bottom:1px solid #e5e7ef;min-height:44px;padding-right:13px}.ide-file-tab{display:inline-flex;align-items:center;gap:9px;padding:12px 17px;background:white;border-top:2px solid #a91c39;border-right:1px solid #e4e6ee;font:13px Consolas,monospace;color:#5d3045}.file-language-icon{font-weight:bold;color:#b32d4f}#file-dirty{width:6px;height:6px;border-radius:50%;display:inline-block}#file-dirty.dirty{background:#b93d5d}.ide-shortcut{font:10px Consolas,monospace;color:#a08e9b}.ide-tools{padding:7px 12px;display:flex;justify-content:space-between;align-items:center;gap:8px;background:white;border-bottom:1px solid #eeeff4}.ide-tools>div{display:flex;gap:3px;align-items:center}.ide-tools button{padding:5px 8px;font-size:11px;background:transparent;color:#8a5064;box-shadow:none;border:1px solid transparent;border-radius:5px}.ide-tools button:hover{background:#fff1f5;border-color:#f1d8e2}.font-controls{font:12px Consolas,monospace;color:#845169;gap:6px!important}#ide-editor{height:380px;min-height:300px;width:100%;direction:ltr;text-align:left;font-feature-settings:'liga' 0}#ide-editor .ace_scroller,#ide-editor .ace_content{direction:ltr;text-align:left}#ide-editor .ace_gutter{background:#f8f9fc;color:#9fa8ba;border-right:1px solid #edf0f5}#ide-editor .ace_gutter-active-line{background:#f1e8ee}#ide-editor .ace_marker-layer .ace_active-line{background:#fcf3f6}#ide-editor .ace_cursor{color:#ad2d51}#ide-editor.ace-tomorrow-night .ace_gutter{background:#252a34;border-color:#333c4b;color:#7e8799}#ide-editor.ace-tomorrow-night .ace_marker-layer .ace_active-line{background:#30333d}.ide-statusbar{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:8px 13px;border-top:1px solid #e8e5ef;background:#fff3f6;color:#92314f;font:10px/1.6 Consolas,monospace}.ide-statusbar #ide-status{margin-left:auto;font:10px Vazirmatn,Tahoma,sans-serif}.ide-dark .ide-filebar{background:#272b35}.ide-dark .ide-file-tab{background:#1d2028;color:#d9d9e4;border-right-color:#353947}.ide-expanded{position:fixed;inset:12px;z-index:1000;overflow:auto;box-shadow:0 0 0 100vmax #21101e90}.ide-expanded #ide-editor{height:55vh}.ide-expanded #preview{height:30vh}.ide-expanded .runtime{display:none}.ide-expanded .labbar{position:sticky;top:0;z-index:2}td,th{font-size:14px;color:#82495f}.roadmap-info .source-link:hover,.topic-reference:hover{text-decoration:underline}summary:focus-visible{outline:2px solid #ae3152;outline-offset:-2px}@media(min-width:1450px){body:has(.lesson-layout) main{max-width:1800px;padding-left:3%;padding-right:3%}}@media(max-width:1250px){.lesson-layout{grid-template-columns:220px minmax(0,1fr);gap:17px}.lesson-layout .workspace{grid-template-columns:1fr}.lesson-path-sidebar{top:12px}.lab{margin-top:0}}@media(max-width:850px){.lesson-layout{grid-template-columns:1fr}.lesson-path-sidebar{position:static;max-height:320px;order:2}.roadmap-page{grid-template-columns:1fr}.roadmap-info{position:static;order:-1}.roadmap-info p{margin:6px 0}.dashboard-heading{display:block}.course-summary-progress{display:none}.brand{font-size:16px}}@media(max-width:600px){body{font-size:15px}.hero p,.lessontext{font-size:16px}.card p{font-size:15px}nav{font-size:12px;gap:8px}.brand{font-size:14px}.stats{font-size:12px}.learning-steps{font-size:10px;gap:5px}.course-accordion>summary{padding:17px 13px;gap:9px}.course-summary>b{font-size:20px}.course-summary>small{font-size:11px}.courseicon{margin:0;width:42px;height:42px}.accordion-content{padding:12px}.path-module>summary{padding:14px 12px;gap:9px}.path-module>summary b{font-size:14px}.vertical-path{padding:9px 14px}.path-step b{font-size:14px}.path-step small{font-size:11px}.ide-shortcut{display:none}.ide-tools button{font-size:10px;padding:5px}.ide-tools{padding:7px}.ide-statusbar{gap:9px}#ide-status{flex-basis:100%;margin-left:0!important}#ide-editor{height:340px}.ide-expanded{inset:4px}.roadmap-heading h1{font-size:34px}.big-course-symbol{width:70px;height:70px;font-size:26px}.option{font-size:15px}.runtime{font-size:11px}.labactions button{font-size:12px}}
/* 0.4 — balanced light palette and emerald/crimson night mode */
:root{--text:#2e3540;--muted:#717c88;--green:#17845e;--green-soft:#eaf7f0;--red:#b42d48;--red-dark:#96223b;--line:#e5e9ef;--soft:#fff0f3;--bg:#f6f8fb;--panel:#fff}
body{color:var(--text)}h1,h2,h3,h4{color:#29313d}nav{color:#5b6674}.brand{color:#303845}.brand small{color:#83909b}.hero p,.lessontext{color:#505c69}.card p,.muted,.stats,.auth p,.dashboard-heading p,.roadmap-heading p{color:#75808d}.card h2,.cardfoot,.panel h2,.panel h3,.course-summary>b,.sidebar-title h2{color:#303a46}.stats b{color:#26323c}.card>.tag{color:#5c6d76;background:#f5f8f9;border-color:#e6edef}.task{background:#f1f9f5;border-color:#d8eee2;border-right-color:var(--green)}.task b{color:#12704d}.task p{color:#46665b}.option,label{color:#45525f}.option:hover{background:#f8fafc}.option:has(input:checked){background:#fff2f5;color:#9d2440;border-color:#db8fa0}.learning-steps{color:#79858e}.learning-steps .current{color:#187b59}.learning-steps .current b{background:#e8f6ee;color:#187b59}.lessonhead>a,.sidebar-title>a{color:#31785c}.runtime{background:#f6f9fb;color:#647985;border-color:#e7edf1}.path-module>summary b{color:#42515c}.path-module>summary small,.course-summary>small{color:#7d8b92}.path-step b{color:#46535e}.path-step small{color:#859199}.path-step.available b{color:#166e50}.available>.step-dot{background:#16835d;box-shadow:0 0 0 4px #e4f4ec}.path-step.active>a{background:#eef8f3;border-color:#c9e7d9}.planned b{color:#7f8a93}.module-chevron{color:#9aa5af}.planned .step-dot{filter:grayscale(1);opacity:.75}.path-legend{color:#6f7d88}.roadmap-info p{color:#697781}.roadmap-info small{color:#8a969f}.path-module[open]>summary{background:#fafbfc;border-color:#e9edf1}.planned-module>summary .module-symbol{background:#f0f3f5}.course-accordion[open]>summary{background:linear-gradient(100deg,#fff,#f5faf7)}.topic-reference{color:#4f7a66!important}.reference-links a{background:#f3f8f6;color:#376a52}.reference-groups>details{border-color:#e8edef}.path-module,.course-accordion,.lesson-path-sidebar{border-color:#e2e8ed}.sidebar-title{border-color:#e9eef1}.course-accordion{box-shadow:0 5px 20px #1d364a04}.ide-tools button{color:#5f6e7c}.ide-file-tab{color:#526675}.font-controls{color:#586b79}.ide-statusbar{background:#eef7f3;border-color:#dcece3;color:#39715a}.ide-statusbar #ide-status{color:#648073}.ide-tools button:hover{background:#f0f6f3;border-color:#e0ece5}.labbar{color:#485b67}.outputlabel{color:#586b77}.ide-shortcut{color:#97a2ad}.view-switch button.selected{color:#187b59}.success,.notice-success{background:#eaf8f0!important;border:1px solid #c7ead7!important;color:#16744f!important}.notice:not(.notice-success){color:#a12c42!important}.tablewrap td,.tablewrap th{color:#56636e}.tablewrap tr:hover td{background:#f4f8f6}
.theme-toggle{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;background:#f2f5f8;border:1px solid #e4e9ef;color:#536371;box-shadow:none;white-space:nowrap;font-size:12px;border-radius:9px}.theme-toggle:hover{background:#e9f2ed;color:#217052;box-shadow:none}.theme-icon{font-size:18px;line-height:1}.theme-toggle:focus-visible{outline-color:#72be9d}.ide-dark .ide-tools,.ide-dark .labbar{background:#232936}.ide-dark .ide-tools button,.ide-dark .font-controls,.ide-dark .labbar{color:#b8c4d2}
html[data-theme=dark]{--bg:#10161e;--panel:#19222d;--text:#d5dfe9;--muted:#8b9cab;--line:#2a3644;--red:#ee657d;--red-dark:#d74b66;--soft:#33222e;--green:#51d39c;--green-soft:#17372d;--shadow:0 12px 30px #0002;color-scheme:dark}
html[data-theme=dark] body{background:radial-gradient(ellipse at 90% 0,#13352b44,transparent 40%),var(--bg);color:var(--text)}
html[data-theme=dark] header,html[data-theme=dark] footer{background:#141d27;border-color:#293645}
html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3,html[data-theme=dark] h4,html[data-theme=dark] .brand{color:#e2eaf3}
html[data-theme=dark] .brand small{color:#74899b}html[data-theme=dark] .brand small i{color:#5ad4a3}
html[data-theme=dark] nav{color:#a1b0bf}html[data-theme=dark] nav a:hover{color:#5bdaa8}html[data-theme=dark] nav a:last-child{border-color:#633344;color:#f69aab;background:#30212c}
html[data-theme=dark] .theme-toggle{background:#1d342d;border-color:#305847;color:#7ee4b4}html[data-theme=dark] .theme-toggle:hover{background:#28473b}
html[data-theme=dark] .mark{background:linear-gradient(145deg,#ef6b81,#bf3653);box-shadow:0 5px 18px #df3e6125}
html[data-theme=dark] .hero p,html[data-theme=dark] .lessontext{color:#afbdca}
html[data-theme=dark] .hero>div>.tag{border-color:#305a49;background:#19352c;color:#6de1ae}
html[data-theme=dark] .hero h1 em{color:#5bd7a4}html[data-theme=dark] .hero .button{background:#d9516d;color:#fff}
html[data-theme=dark] .stats{color:#8c9fad}html[data-theme=dark] .stats b{color:#ecf3f8}html[data-theme=dark] .stats>span{border-color:#2b3a48}
html[data-theme=dark] .card,html[data-theme=dark] .panel,html[data-theme=dark] .auth{background:#19222d;border-color:#2a3846}html[data-theme=dark] .card:hover{border-color:#436f5a;box-shadow:0 10px 25px #0002}
html[data-theme=dark] .card h2,html[data-theme=dark] .cardfoot{color:#d3dfe9}html[data-theme=dark] .card p{color:#99acbb}html[data-theme=dark] .card>.tag{background:#20322d;border-color:#314a40;color:#8fd4b2}
html[data-theme=dark] .courseicon,html[data-theme=dark] .big-course-symbol{background:#24323b;border-color:#3b4b59}
html[data-theme=dark] .cardfoot{border-color:#2b3947}html[data-theme=dark] .cardfoot span{color:#8297a7}html[data-theme=dark] .cardfoot b{color:#68d5a6}
html[data-theme=dark] .codeart{background:linear-gradient(145deg,#1b2b33,#16202c);border-color:#354d56;box-shadow:0 25px 70px #0003}html[data-theme=dark] .codeart:before{background:radial-gradient(ellipse,#28533c55,transparent 70%)}
html[data-theme=dark] .codeart pre{color:#bed3e6}html[data-theme=dark] .codeart strong{color:#78dfad}html[data-theme=dark] .codeart i{color:#6e8c9a}html[data-theme=dark] .codeart span{color:#f28ca2}
html[data-theme=dark] .dots{background:#1e2c36;border-color:#31414d;color:#f48ba0}html[data-theme=dark] .dots span{color:#89a4b6}html[data-theme=dark] .floating{background:#1c352c;border-color:#386d50;color:#8ce2b7}
html[data-theme=dark] input:not([type=radio]),html[data-theme=dark] textarea,html[data-theme=dark] .sectionhead input{background:#121c27!important;border-color:#354756;color:#dce8f1}html[data-theme=dark] input::placeholder{color:#728696}
html[data-theme=dark] input:focus,html[data-theme=dark] textarea:focus{outline-color:#348e69}html[data-theme=dark] label,html[data-theme=dark] .option{color:#c1ceda}
html[data-theme=dark] .secondary{background:#24313d;border-color:#3a4b59;color:#bfd0dc}html[data-theme=dark] .secondary:hover{background:#2c3f49}
html[data-theme=dark] button:not(.secondary):not(.theme-toggle):not(.ide-tools button):not(.view-switch button),html[data-theme=dark] .button:not(.secondary){color:#fff}
html[data-theme=dark] .option{background:#1c2733;border-color:#354351}html[data-theme=dark] .option:hover{background:#21342e}html[data-theme=dark] .option:has(input:checked){background:#203c31;border-color:#4fbd8c;color:#96ebbe}html[data-theme=dark] input[type=radio]{accent-color:#58d49e}
html[data-theme=dark] .task{background:#1a322a;border-color:#2d5140;border-right-color:#4bcb92}html[data-theme=dark] .task b{color:#71dfaa}html[data-theme=dark] .task p{color:#a2c5b5}
html[data-theme=dark] .learning-steps{background:#19242f;border-color:#30404f;color:#8e9fad}html[data-theme=dark] .learning-steps b{background:#283744;color:#93a6b6}html[data-theme=dark] .learning-steps .current{color:#76e1b0}html[data-theme=dark] .learning-steps .current b{background:#234738;color:#84ecba}
html[data-theme=dark] .lessonhead .tag{background:#302431;color:#f096ac}html[data-theme=dark] .lessonhead>a,html[data-theme=dark] .sidebar-title>a{color:#7bcca7}
html[data-theme=dark] .lesson-path-sidebar,html[data-theme=dark] .path-module,html[data-theme=dark] .course-accordion{background:#18232e;border-color:#2e3d4b}
html[data-theme=dark] .lesson-path-sidebar{scrollbar-color:#3e6357 #18232e}html[data-theme=dark] .sidebar-title{border-color:#2b3c49}
html[data-theme=dark] .path-module[open]>summary{background:#1d2c37;border-color:#30404d}html[data-theme=dark] .path-module>summary b{color:#c9dae6}html[data-theme=dark] .path-module>summary small{color:#8da5b6}
html[data-theme=dark] .module-symbol{background:#382733;color:#f29ab0}html[data-theme=dark] .planned-module>summary .module-symbol{background:#283340}html[data-theme=dark] .module-chevron{color:#7e99a9}
html[data-theme=dark] .path-step b{color:#bed1df}html[data-theme=dark] .path-step small{color:#809bab}html[data-theme=dark] .planned b{color:#8fa5b5}
html[data-theme=dark] .path-step:not(:last-child):before{background:#354654}html[data-theme=dark] .step-dot{background:#273645;color:#8c9faf;border-color:#18232e;box-shadow:0 0 0 1px #3a4a57}
html[data-theme=dark] .available>.step-dot{background:#2d9d6a;color:#e9fff2;box-shadow:0 0 0 4px #234638}html[data-theme=dark] .complete>.step-dot{background:#234a37;color:#7de7b1;box-shadow:0 0 0 1px #427b5a}
html[data-theme=dark] .complete:not(:last-child):before{background:#3b7558}html[data-theme=dark] .path-step.available b,html[data-theme=dark] .path-step.complete b{color:#87dcb4}
html[data-theme=dark] .path-step.active>a{background:#213e32;border-color:#396e51}html[data-theme=dark] .topic-reference{color:#73bd9b!important}
html[data-theme=dark] .course-accordion[open]>summary{background:linear-gradient(100deg,#1a2632,#20382f);border-color:#345044}html[data-theme=dark] .course-summary>b{color:#deebf3}html[data-theme=dark] .course-summary>small{color:#94b1a7}
html[data-theme=dark] .reference-groups>details{border-color:#32414e}html[data-theme=dark] .reference-links a{background:#223a30;color:#a5d6bc}html[data-theme=dark] .roadmap-info p{color:#a9bcc9}html[data-theme=dark] .roadmap-info small{color:#78919f}html[data-theme=dark] .source-link{color:#e68ca4}
html[data-theme=dark] .lab{background:#18222c;border-color:#334452}html[data-theme=dark] .labbar,html[data-theme=dark] .ide-tools{background:#1d2b36;border-color:#334450;color:#bed3de}html[data-theme=dark] .labbar>span:last-child{background:#293c49;color:#9bb6c8}
html[data-theme=dark] .ide-filebar{background:#16212b;border-color:#2c3e4a}html[data-theme=dark] .ide-file-tab{background:#202b35;color:#d6e3ed;border-color:#394b58;border-top-color:#ee6f89}
html[data-theme=dark] .ide-tools button,html[data-theme=dark] .font-controls{color:#afc3d1}html[data-theme=dark] .ide-tools button:hover{background:#294234;border-color:#3d5b49}html[data-theme=dark] .ide-shortcut{color:#6e8a9e}
html[data-theme=dark] .ide-statusbar{background:#1c382c;border-color:#31503e;color:#8ad6ae}html[data-theme=dark] .ide-statusbar #ide-status{color:#84b99f}html[data-theme=dark] .runtime{background:#192d32;border-color:#2f444a;color:#8db4be}
html[data-theme=dark] .labactions,html[data-theme=dark] .outputlabel{background:#1b2a35;border-color:#314552;color:#a5c0cf}html[data-theme=dark] .view-switch{background:#14222b}html[data-theme=dark] .view-switch button{color:#8ba8b9}html[data-theme=dark] .view-switch button.selected{background:#2a4939;color:#93dfb7}
html[data-theme=dark] #output{background:#121f28;color:#90d7b5}html[data-theme=dark] .preview-surface{background:repeating-linear-gradient(45deg,#15232c,#15232c 8px,#1b2c35 8px,#1b2c35 16px)}
html[data-theme=dark] .editor-shell,html[data-theme=dark] #editor{background:#182531;color:#c8dce9}html[data-theme=dark] #line-numbers{background:#1c2b37;color:#668698;border-color:#304552}
html[data-theme=dark] .success,html[data-theme=dark] .notice-success{background:#1c3a2b!important;border-color:#36694a!important;color:#88e1ae!important}html[data-theme=dark] .notice:not(.notice-success){background:#3b2330;border-color:#733d50;color:#ffacc1!important}
html[data-theme=dark] .tablewrap td,html[data-theme=dark] .tablewrap th{color:#b7cbd8;border-color:#31424e}html[data-theme=dark] .tablewrap th{background:#1e2c37}html[data-theme=dark] .tablewrap tr:hover td{background:#223c30}
html[data-theme=dark] .muted,html[data-theme=dark] .auth p,html[data-theme=dark] .dashboard-heading p,html[data-theme=dark] .roadmap-heading p,html[data-theme=dark] .path-legend{color:#8fa8b7}html[data-theme=dark] footer{color:#7895a7}html[data-theme=dark] progress,html[data-theme=dark] progress::-webkit-progress-bar{background:#2c3e47}html[data-theme=dark] progress::-webkit-progress-value{background:#4bc18b}html[data-theme=dark] progress{accent-color:#4bc18b}
@media(max-width:600px){nav{flex-wrap:wrap;justify-content:flex-start;gap:12px}nav .theme-toggle{order:1;margin-right:auto;font-size:11px;padding:6px 9px}.theme-icon{font-size:16px}}
/* 0.6 — deeper learning content */
.lessontext{white-space:pre-line;font-size:17px;line-height:2.5}.code-explained{border-top:1px solid var(--line);padding-top:16px;margin-top:22px}.code-explained h3{font-size:17px}.code-explained ol{padding-right:22px}.code-explained li{padding:10px 0 16px;border-bottom:1px dashed var(--line)}.code-explained li::marker{color:var(--green);font-weight:bold}.code-explained code{display:block;text-align:left;direction:ltr;white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f6fa;border:1px solid #e4eaf0;border-radius:7px;padding:10px 12px;font:12px/1.8 Consolas,monospace;color:#38546b}.code-explained p{font-size:14px;line-height:2.2;color:#596b78;margin:9px 0 0}.lesson-tip{padding:16px 18px;background:#fff8e9;border:1px solid #f1e2bc;border-radius:10px;margin-top:22px}.lesson-tip>b{font-size:13px;color:#8b6925}.lesson-tip p{font-size:14px;line-height:2.1;color:#7c6a42;margin:7px 0 0}.expected-result{margin-top:15px;padding-top:12px;border-top:1px solid #cce3d7}.expected-result>b{font-size:12px}.advanced-outline{border:1px dashed #d9e1e8;border-radius:10px;padding:16px;margin-top:24px;color:#7b8794}.advanced-outline>summary{font-size:13px;cursor:pointer}.advanced-outline>p{font-size:12px;line-height:2}.advanced-outline>details{margin-top:12px}.advanced-outline>details>summary{font-size:12px;cursor:pointer}.advanced-outline ul{font:12px/2 Consolas,Tahoma,monospace}.lesson-layout .lab{position:sticky;top:16px}.lab.ide-expanded{position:fixed;top:12px}.code-explained li:last-child{border-bottom:0}html[data-theme=dark] .code-explained code{background:#14232f;border-color:#314858;color:#abc5db}html[data-theme=dark] .code-explained p{color:#a0b7c7}html[data-theme=dark] .lesson-tip{background:#302b1f;border-color:#605337}html[data-theme=dark] .lesson-tip>b{color:#d9bb76}html[data-theme=dark] .lesson-tip p{color:#bfb08c}html[data-theme=dark] .expected-result{border-color:#355f48}html[data-theme=dark] .advanced-outline{border-color:#394d5e;color:#879eaf}@media(max-width:1250px){.lesson-layout .lab{position:static}.lab.ide-expanded{position:fixed}}@media(prefers-reduced-motion:reduce){.lesson-layout .lab{scroll-behavior:auto}}
/* 0.7 — code is code throughout the reading experience. */
.lessontext{white-space:normal}.lesson-paragraph{font-size:16px;line-height:2.45;color:#526371;margin:12px 0 18px}.inline-code{display:inline!important;direction:ltr;unicode-bidi:isolate;font:500 .87em/1.7 Consolas,"Liberation Mono",monospace;color:#9d2b4a;background:#f8edf1;border:1px solid #ead6df;border-radius:4px;padding:1px 5px!important;box-shadow:none;overflow-wrap:anywhere}.lesson-code-block{margin:18px 0 22px;border:1px solid #dae3eb;border-radius:10px;overflow:hidden;background:#f8fafc;min-width:0}.lesson-code-block figcaption{display:flex;direction:ltr;align-items:center;justify-content:space-between;gap:10px;background:#edf2f7;padding:8px 12px;border-bottom:1px solid #dce5ed}.lesson-code-block figcaption>span{font:600 10px Consolas,monospace;color:#61788c;letter-spacing:.7px}.copy-lesson-code{background:white;border:1px solid #d7e2e8;color:#426957;font-size:10px;padding:4px 9px;box-shadow:none}.copy-lesson-code:hover{background:#e7f3ec;color:#276747}.readable-code{direction:ltr;text-align:left;white-space:pre;overflow:auto!important;max-height:460px;margin:0;font:13px/1.9 Consolas,"Liberation Mono",monospace;color:#334f66;padding:12px 0;tab-size:4;unicode-bidi:isolate;scrollbar-width:thin}.readable-code>code{display:block!important;white-space:pre!important;background:transparent!important;border:0!important;padding:0 16px!important;margin:0!important;color:inherit!important;font:inherit!important;border-radius:0!important}.readable-code .ace_static_highlight{font:13px/1.9 Consolas,"Liberation Mono",monospace!important;white-space:pre!important;background:transparent!important;direction:ltr;text-align:left}.readable-code .ace_gutter{color:#a4afbc;background:#f1f5f8!important;border-right:1px solid #e4ebf1;padding-right:9px!important}.readable-code .ace_line{min-height:1.9em}.code-explained .lesson-code-block{margin:10px 0}.code-explained .lesson-paragraph{font-size:14px}.task .lesson-paragraph,.lesson-tip .lesson-paragraph{font-size:14px}.expected-result .lesson-paragraph{font-size:13px}.coverage-count{display:inline-block;font-size:11px;color:#358160;background:#edf8f1;padding:3px 8px;border-radius:6px}.coverage-details{margin-top:22px;border:1px solid var(--line);border-radius:10px;padding:15px}.coverage-details>summary{font-size:13px;color:#638174;cursor:pointer}.coverage-details ul{padding-right:20px}.coverage-details li{font-size:12px;line-height:2.3;color:#718c7f}html[data-theme=dark] .lesson-paragraph{color:#a8bece}html[data-theme=dark] .inline-code{color:#ee9fb5;background:#312936;border-color:#51414f}html[data-theme=dark] .lesson-code-block{background:#14232e;border-color:#314758}html[data-theme=dark] .lesson-code-block figcaption{background:#1b303c;border-color:#344b58}html[data-theme=dark] .lesson-code-block figcaption>span{color:#88a9bf}html[data-theme=dark] .copy-lesson-code{background:#213f31;border-color:#38634b;color:#a3d9b9}html[data-theme=dark] .readable-code{color:#bfd2e2}html[data-theme=dark] .readable-code .ace_gutter{background:#1b2c38!important;border-color:#2a4353;color:#577c96}html[data-theme=dark] .readable-code .ace_keyword,html[data-theme=dark] .readable-code .ace_storage{color:#ed91b7}html[data-theme=dark] .readable-code .ace_string{color:#9ed5ad}html[data-theme=dark] .readable-code .ace_constant{color:#e6bd84}html[data-theme=dark] .readable-code .ace_comment{color:#6f8f95;font-style:italic}html[data-theme=dark] .readable-code .ace_variable{color:#a8cdec}html[data-theme=dark] .readable-code .ace_support{color:#7ed6cc}html[data-theme=dark] .readable-code .ace_tag{color:#ef99ad}html[data-theme=dark] .readable-code .ace_entity{color:#89cde1}html[data-theme=dark] .readable-code .ace_static_highlight{color:#c4d7e7}html[data-theme=dark] .coverage-count{background:#244033;color:#8ed3ac}html[data-theme=dark] .coverage-details>summary,html[data-theme=dark] .coverage-details li{color:#8bac9e}@media(max-width:600px){.readable-code,.readable-code .ace_static_highlight{font-size:12px!important}.lesson-paragraph{font-size:15px}.inline-code{font-size:.85em}}

/* v0.9: readable lesson snippets follow the global theme, including Ace internals. */
:root[data-theme="dark"] .lesson-code-block{background:#151b23;border-color:#303d4e;color:#e5edf4}
:root[data-theme="dark"] .lesson-code-block figcaption{background:#1b2430;color:#b9c9da;border-color:#303d4e}
:root[data-theme="dark"] pre.readable-code,
:root[data-theme="dark"] pre.readable-code .ace_static_highlight,
:root[data-theme="dark"] pre.readable-code.ace-chrome,
:root[data-theme="dark"] pre.readable-code.ace-tomorrow-night{background:#151b23!important;color:#e5edf4!important}
:root[data-theme="dark"] pre.readable-code .ace_gutter{background:#1b2430!important;color:#94a9be!important;border-color:#303d4e}
:root[data-theme="dark"] .lesson-code-block .copy-lesson-code{background:#243243;color:#e4edf5;border-color:#40526a}
:root[data-theme="dark"] pre.readable-code .ace_comment{color:#a2b0bd}
:root[data-theme="dark"] .inline-code{background:#253244;color:#d3e8de;border-color:#394c62}
:root[data-theme="dark"] pre.readable-code > .ace-chrome,
:root[data-theme="dark"] pre.readable-code > .ace-tomorrow-night{background:#151b23!important;color:#e5edf4!important}
.readable-code,.readable-code .ace_static_highlight{font-size:14px!important}
@media(max-width:600px){.readable-code,.readable-code .ace_static_highlight{font-size:13px!important}}

.lesson-kind-tag{display:inline-block;padding:5px 12px;border:1px solid #d0e6db;background:#eff8f3;color:#276e50;border-radius:8px;font-size:13px;font-weight:700}html[data-theme=dark] .lesson-kind-tag{background:#203e32;border-color:#385d4d;color:#a2ddbc}

/* Membership navigation adapts to compact screens. */
header nav{flex-wrap:wrap;row-gap:12px}@media(max-width:600px){header nav{justify-content:flex-start;gap:10px 14px}header nav a{white-space:nowrap}}
