*{box-sizing:border-box}.course-shell{min-height:100vh;background:#f6f8fb;color:#172033;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.course-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:24px;padding:16px 4%;background:#fff;border-bottom:1px solid #e5e9f0}.brand{font-weight:900;color:#173b63;text-decoration:none;font-size:1.1rem;white-space:nowrap}.course-heading{min-width:0}.course-heading h1{margin:3px 0;font-size:clamp(1.25rem,2.2vw,1.9rem)}.course-heading p{margin:0;color:#697386;font-size:.9rem}.eyebrow,.section-kicker{font-size:.7rem;text-transform:uppercase;letter-spacing:.12em;color:#16856b;font-weight:900}.back{margin-left:auto;text-decoration:none;color:#173b63;font-weight:800;white-space:nowrap}.course-grid{display:grid;grid-template-columns:310px minmax(0,1fr);max-width:1600px;margin:auto;min-height:calc(100vh - 76px)}.course-sidebar{background:#fff;border-right:1px solid #e5e9f0;position:sticky;top:76px;height:calc(100vh - 76px);overflow:auto;padding:18px 14px}.course-sidebar input{width:100%;padding:11px 12px;border:1px solid #dce2ea;border-radius:9px;margin-bottom:12px;font:inherit;outline:none}.course-sidebar input:focus{border-color:#16856b;box-shadow:0 0 0 3px rgba(22,133,107,.1)}.sidebar-progress{padding:13px;margin-bottom:14px;background:#f0f8f5;border:1px solid #dcefe8;border-radius:11px}.sidebar-progress>div:first-child{display:flex;justify-content:space-between;gap:10px}.sidebar-progress strong{font-size:.83rem}.sidebar-progress span{color:#087a61;font-weight:900}.progress{height:6px;background:#e4e8ee;border-radius:99px;margin-top:9px;overflow:hidden}.progress i{display:block;height:100%;background:#16856b;transition:width .25s ease}.topic-group{border-bottom:1px solid #edf0f4;padding:7px 0}.topic-group summary{padding:9px 8px;cursor:pointer;list-style:none;font-size:.78rem;text-transform:uppercase;letter-spacing:.07em;color:#697386;font-weight:900}.topic-group summary::-webkit-details-marker{display:none}.topic-group summary span{float:right;background:#f0f3f7;border-radius:999px;padding:2px 7px;font-size:.68em}.lesson-link{display:flex;width:100%;gap:9px;align-items:flex-start;text-align:left;border:0;background:transparent;padding:9px 8px;border-radius:8px;color:#445066;cursor:pointer;font:inherit;line-height:1.35}.lesson-link span{font-size:.68rem;color:#8b96a8;min-width:24px;padding-top:1px}.lesson-link em{font-style:normal}.lesson-link:hover,.lesson-link.active{background:#eef6f3;color:#087a61}.lesson-link.active{font-weight:800}.lesson-link.completed span{color:#16856b;font-weight:900}.course-grid main{padding:34px 4% 70px}.lesson-head{max-width:1050px;margin:0 auto 16px;color:#687387;font-size:.86rem}.lesson-head>div:first-child{display:flex;justify-content:space-between;gap:12px}.lesson-head strong{color:#173b63}.lesson-card{max-width:1050px;margin:auto;background:#fff;border:1px solid #e5e9f0;border-radius:16px;padding:clamp(22px,4vw,46px);box-shadow:0 12px 40px rgba(20,32,50,.06)}.lesson-card h2{font-size:clamp(1.8rem,4vw,2.8rem);margin:4px 0 12px;color:#172033}.lesson-card h3{margin:28px 0 10px;color:#172033}.lead{font-size:1.08rem;line-height:1.8;color:#566176}.lesson-status{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.lesson-badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#eef2f7;color:#59667b;font-size:.75rem;font-weight:900}.complete-btn,.exercise-actions button,.lab-actions button,.copy-code{padding:10px 14px;border:1px solid #d9dfe8;border-radius:9px;background:#fff;color:#173b63;font-weight:800;cursor:pointer}.complete-btn:hover,.exercise-actions button:hover,.lab-actions button:hover,.copy-code:hover{background:#f5f8fb}.complete-btn:disabled{cursor:default;background:#eaf8f2;border-color:#bfe5d6;color:#087a61}.learning-box,.zero-box{padding:19px 21px;background:#f7fafc;border:1px solid #e4e9ef;border-radius:11px;margin-top:22px}.zero-box{background:#f0f8f5;border-color:#d4ebe3}.zero-box p{line-height:1.75;color:#435067}.zero-box p:last-child{margin-bottom:0}.zero-note{padding-top:12px;border-top:1px solid #dcefe8}.learning-box h3{margin:0}.learning-box ul{margin-bottom:0}.lesson-card li{margin:8px 0;line-height:1.55}.lesson-card p{line-height:1.7}.examples-section{margin-top:30px}.example-stack{display:grid;grid-template-columns:1fr;gap:18px;margin-top:14px}.example-card{border:1px solid #dfe5ec;border-radius:12px;overflow:hidden;background:#fff}.example-label{padding:11px 15px;background:#f4f7fa;border-bottom:1px solid #e1e6ed;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:#16856b;font-weight:900}.lesson-card pre{margin:0;max-width:100%;background:#101827;color:#e9eef7;border-radius:11px;padding:18px;overflow-x:auto;overflow-y:auto;min-height:120px;line-height:1.6;font-size:.88rem;white-space:pre;tab-size:4}.example-card pre{border-radius:0;min-height:0;max-height:520px}.copy-code{margin:10px 12px}.try-panel{margin-top:28px;padding:21px;border-left:4px solid #16856b;background:#f0f8f5;border-radius:8px}.try-panel h3{margin:4px 0}.try-panel p{margin-bottom:8px;color:#536176}.line-by-line{padding-left:25px}.line-by-line li{margin:11px 0}.line-by-line code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px 14px;border:1px solid #e2e7ee;border-radius:8px;background:#f8fafc;color:#3e4a60;font:inherit;line-height:1.6}.real-example{margin-top:25px;padding:20px;border:1px solid #dce5ef;border-radius:11px;background:#f8fafc}.real-example h3{margin-top:4px}.exercise{margin-top:28px;padding:21px;border-left:4px solid #16856b;background:#f0f8f5;border-radius:9px}.exercise h3{margin:4px 0 10px}.exercise ol{padding-left:22px}.exercise li p{margin:6px 0 14px}.exercise label{display:block;margin-top:18px;font-weight:800;font-size:.9rem}.exercise textarea{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #ccd5e1;border-radius:9px;resize:vertical;font:inherit;line-height:1.5;background:#fff}.exercise-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:11px}.exercise-actions .primary,.lab-actions .lab-run{background:#173b63;color:#fff;border-color:#173b63}.exercise-status{min-height:1.4em;color:#087a61;font-weight:800}.solution{margin-top:22px;padding:18px;border:1px solid #e5e9f0;border-radius:11px;background:#fbfcfe}.solution summary{cursor:pointer;font-weight:900;color:#173b63}.solution pre{margin-top:14px}.mistakes{margin-top:22px;padding:18px;border-radius:11px;background:#fff7ed;border:1px solid #f1dfc7}.challenge{margin-top:22px;padding:19px;border-radius:11px;background:#f5f7ff;border:1px solid #dfe5f6}.lab{margin-top:30px}.lab-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:12px}.lab-head h3{margin:4px 0 6px}.lab-head p{margin:0;color:#697386;line-height:1.6}.lab-actions{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0}.lab iframe{display:block;width:100%;height:560px;border:1px solid #dce2ea;border-radius:11px;background:#fff}.lab-status{margin:8px 0 0;color:#687387;font-size:.9rem}.lab-reference pre{margin-top:12px}.quiz{margin-top:32px}.q{padding:16px 0;border-top:1px solid #edf0f4}.q button{display:block;width:100%;margin:7px 0;padding:11px 14px;border:1px solid #d9dfe8;background:#fff;border-radius:9px;text-align:left;cursor:pointer;font:inherit}.q button:hover{background:#f5f8fb}.q button.correct{border-color:#16856b;background:#eaf8f2}.q button.wrong{border-color:#c95a5a;background:#fff1f1}.quiz-feedback{min-height:1.4em;font-weight:800;color:#59667b}.reference-box{margin-top:28px;padding:19px;border:1px solid #dce5ef;border-radius:11px;background:#f8fafc}.reference-box h3{margin:4px 0}.reference-note{color:#697386;line-height:1.6}.lesson-nav{display:flex;justify-content:space-between;gap:12px;margin-top:32px;padding-top:22px;border-top:1px solid #edf0f4}.lesson-nav button{padding:12px 18px;border:0;border-radius:9px;background:#173b63;color:#fff;font-weight:800;cursor:pointer}.lesson-nav button:disabled{opacity:.35;cursor:not-allowed}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:900px){.course-header{position:static;flex-wrap:wrap}.back{margin-left:0}.course-grid{grid-template-columns:1fr}.course-sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid #e5e9f0}.course-grid main{padding:22px 4% 50px}.lab iframe{height:500px}.lab-head,.lesson-status{align-items:flex-start;flex-direction:column}.complete-btn,.lab-actions{width:100%}.lab-actions button{flex:1}}@media(max-width:560px){.course-header{gap:12px}.lesson-card{border-radius:11px;padding:20px}.lesson-nav button{flex:1}.lesson-head>div:first-child{align-items:flex-start;flex-direction:column}.example-card pre{font-size:.8rem;padding:14px}}
