:root {
  --ink: #16251f;
  --ink-soft: #52635d;
  --cream: #f6f2e9;
  --paper: #fffdf8;
  --line: #e7e0d3;
  --green: #143d31;
  --green-deep: #102f27;
  --lime: #c8f15a;
  --lime-soft: #eef9ca;
  --orange: #f3763b;
  --mono: "Space Mono", monospace;
  --display: "Space Grotesk", sans-serif;
  --body: "DM Sans", sans-serif;
  --shadow: 0 16px 40px rgba(35, 54, 45, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
body.lesson-open { overflow: hidden; }

.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 20; width: 240px; padding: 24px 16px;
  color: #d9e7e1; background: var(--green-deep); display: flex; flex-direction: column;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 28px; color: white; font: 700 19px var(--display); letter-spacing: -.5px; }
.brand > span:last-child span { color: var(--lime); }
.brand-mark { position: relative; display: grid; gap: 3px; width: 22px; }
.brand-mark span { height: 4px; border-radius: 8px; background: var(--lime); }
.brand-mark span:nth-child(2) { width: 15px; }
.brand-mark span:nth-child(3) { width: 8px; }
.close-sidebar { display: none; position: absolute; right: 18px; top: 18px; border: 0; color: white; background: transparent; font-size: 30px; }
.nav-label { margin: 4px 8px 9px; color: #85a096; font: 700 9px var(--mono); letter-spacing: 1.4px; }
.nav-label-spaced { margin-top: 28px; }
.side-link { display: flex; align-items: center; gap: 12px; margin: 2px 0; padding: 11px 10px; border-radius: 7px; color: #b8ccc4; font-size: 13px; font-weight: 600; }
.side-link:hover { color: white; background: rgba(255,255,255,.05); }
.side-link.active { color: var(--lime); background: rgba(200,241,90,.12); }
.side-link svg, .icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.sidebar-footer { display: flex; gap: 10px; align-items: center; margin-top: auto; padding: 14px 10px 4px; border-top: 1px solid rgba(255,255,255,.1); }
.streak-icon { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; color: var(--lime); background: rgba(200,241,90,.12); }
.sidebar-footer strong, .sidebar-footer span { display: block; font-size: 11px; }
.sidebar-footer span { margin-top: 3px; color: #88a198; font-size: 10px; }

.app-shell { margin-left: 240px; overflow: hidden; }
.topbar { display: flex; height: 68px; align-items: center; justify-content: space-between; padding: 0 5.5vw; border-bottom: 1px solid var(--line); background: rgba(255,253,248,.85); }
.breadcrumbs { display: flex; gap: 8px; color: #9a9e98; font-size: 12px; }
.breadcrumbs b { color: #c5c6c1; }.breadcrumbs strong { color: var(--green); }
.top-actions { display: flex; align-items: center; gap: 8px; }
.icon-button { position: relative; display: grid; width: 36px; height: 36px; place-items: center; border: 0; color: #74827d; background: transparent; }
.notification i { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border: 1px solid var(--paper); border-radius: 50%; background: var(--orange); }
.avatar { display: grid; width: 34px; height: 34px; margin-left: 8px; place-items: center; border-radius: 50%; color: white; background: var(--green); font: 700 10px var(--mono); }
.menu-toggle { display: none; padding: 0; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 4px; background: var(--green); }
.content { max-width: 1520px; margin: auto; padding: 0 5.5vw 72px; }

.hero { position: relative; display: grid; min-height: 420px; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 20px; padding: 54px 0 34px; }
.eyebrow, .section-kicker { color: #76847f; font: 700 9px var(--mono); letter-spacing: 1.4px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #6a7a74; }
.eyebrow span { width: 19px; height: 2px; background: var(--orange); }
h1, h2, h3 { margin: 0; font-family: var(--display); }
h1 { margin-top: 18px; font-size: clamp(43px, 5vw, 70px); letter-spacing: -4px; line-height: .98; }
h1 em { color: var(--orange); font-style: normal; }
.hero-copy p { max-width: 510px; margin: 22px 0; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 27px; }
.primary-btn { display: inline-flex; gap: 18px; align-items: center; padding: 14px 18px; border: 0; border-radius: 5px; color: white; background: var(--green); font-size: 13px; font-weight: 700; transition: transform .2s, background .2s; }
.primary-btn:hover { transform: translateY(-2px); background: #1a4d3e; }
.primary-btn span, .text-link span { color: var(--lime); font-size: 18px; }
.text-btn { display: flex; align-items: center; gap: 8px; color: var(--green); font-size: 12px; font-weight: 700; }
.text-btn i { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid #c9d0c5; border-radius: 50%; color: var(--orange); font-size: 8px; font-style: normal; }

.hero-visual { position: relative; height: 320px; overflow: hidden; border: 1px solid #e4dfd2; border-radius: 12px; background: #efeadd; }
.hero-code { position: absolute; top: 25px; left: 30px; color: #a7a497; font: 11px/2.35 var(--mono); opacity: .55; }
.hero-code span { margin-right: 16px; color: #c0baad; }.hero-code b { color: #6e887c; }.hero-code i { color: #bf927a; font-style: normal; }.hero-code u { color: #82935b; text-decoration: none; }
.branch-art { position: absolute; inset: 34px 10px 0; width: calc(100% - 20px); height: calc(100% - 34px); }
.line { fill: none; stroke-width: 3; }.main-line { stroke: #1b483a; }.branch-line { stroke: var(--orange); }
.node { stroke-width: 5; }.node-muted { fill: #d8dfcf; stroke: #6f8e82; }.node-hot { fill: var(--lime); stroke: var(--green); }.node-warm { fill: #f6ddbd; stroke: var(--orange); }
.branch-label { position: absolute; display: flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid #ddd5c7; border-radius: 5px; background: #faf6ee; color: var(--green); font: 700 10px var(--mono); }
.branch-label span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.label-main { right: 8%; bottom: 18%; }.label-feature { top: 23%; right: 24%; }.label-feature span { background: var(--orange); }

.dashboard-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 16px; margin-top: 8px; }
.progress-card, .continue-card, .module-card, .command-card { border: 1px solid var(--line); background: var(--paper); }
.progress-card { padding: 22px; }
.section-heading, .section-title-row { display: flex; align-items: flex-start; justify-content: space-between; }
.section-heading h2, .section-title-row h2 { margin-top: 7px; font-size: 22px; letter-spacing: -.7px; }
.more-button { border: 0; color: #9b9d94; background: transparent; }
.progress-summary { display: flex; align-items: center; gap: 36px; margin: 18px 0; }
.progress-ring { display: grid; width: 118px; height: 118px; place-items: center; border-radius: 50%; background: conic-gradient(var(--orange) calc(var(--progress) * 1%), #eee8dd 0); transform: rotate(-35deg); }
.progress-ring::before { position: absolute; width: 93px; height: 93px; border-radius: 50%; background: var(--paper); content: ""; }
.progress-ring div { position: relative; text-align: center; transform: rotate(35deg); }
.progress-ring strong, .progress-ring span { display: block; }.progress-ring strong { color: var(--green); font: 700 24px var(--display); }.progress-ring span { color: #98a099; font-size: 9px; }
.progress-stats { display: flex; gap: 28px; }
.progress-stats strong { display: block; color: var(--green); font: 700 27px var(--display); }
.progress-stats span { color: #86918d; font-size: 11px; line-height: 1.45; }
.next-goal { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.goal-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: var(--orange); background: #fae9dd; }
.next-goal span, .next-goal strong { display: block; }.next-goal span { color: #9b9f9b; font: 700 8px var(--mono); letter-spacing: 1px; }.next-goal strong { margin-top: 4px; font-size: 12px; }
.next-goal b { margin-left: auto; color: var(--orange); font: 700 11px var(--mono); }
.continue-card { position: relative; overflow: hidden; padding: 22px; color: white; background: var(--green); }
.card-number { position: absolute; right: 12px; bottom: -28px; color: rgba(255,255,255,.055); font: 700 150px var(--display); letter-spacing: -20px; }
.continue-card .section-kicker { color: var(--lime); }.continue-card h2 { margin-top: 11px; font-size: 26px; }.continue-card p { position: relative; max-width: 390px; color: #b6c8c1; font-size: 13px; line-height: 1.6; }
.lesson-meta { display: flex; gap: 18px; margin: 20px 0; color: #afc5bd; font-size: 10px; }
.lesson-footer { position: relative; display: flex; align-items: center; gap: 8px; color: #ccdad4; font: 11px var(--mono); }
.mini-progress { height: 4px; flex: 1; overflow: hidden; border-radius: 4px; background: rgba(188,210,200,.25); }.mini-progress span { display: block; height: 100%; border-radius: inherit; background: var(--lime); }
.lesson-launch { display: grid; width: 34px; height: 34px; margin-left: 10px; place-items: center; border: 0; border-radius: 50%; color: var(--green); background: var(--lime); font-size: 20px; }

.learning-path, .lab-section, .command-section { padding-top: 70px; }
.text-link { align-self: flex-end; color: var(--green); font-size: 12px; font-weight: 700; }.text-link span { margin-left: 7px; color: var(--orange); }
.path-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-top: 20px; }
.module-card { position: relative; min-height: 285px; padding: 16px; transition: transform .2s, box-shadow .2s; }
.module-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.module-top { display: flex; justify-content: space-between; color: #a3a69e; font: 700 10px var(--mono); }.module-top i { color: #729043; font-size: 9px; font-style: normal; }
.module-card.active { border-color: #b5ce73; }.module-card.active .module-top i { padding: 4px 6px; border-radius: 4px; color: #557129; background: var(--lime-soft); }
.module-icon { display: grid; width: 54px; height: 54px; margin: 22px 0 18px; place-items: center; border-radius: 50%; background: #e9f2c9; }
.module-icon svg { width: 35px; height: 35px; fill: none; stroke: #63803f; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.module-card.locked .module-icon { background: #f0ede6; }.module-card.locked .module-icon svg { stroke: #a3a79d; }
.module-label { color: #a1a39d; font: 700 8px var(--mono); letter-spacing: 1px; }.module-card h3 { margin: 7px 0; font-size: 17px; }.module-card p { margin: 0; color: #83908b; font-size: 11px; line-height: 1.55; }
.module-card footer { position: absolute; right: 16px; bottom: 16px; left: 16px; display: flex; align-items: center; gap: 9px; color: #8c968f; font-size: 9px; }.module-card footer b { color: var(--green); font: 700 9px var(--mono); }.module-card footer span { margin-left: auto; }

.lab-section .section-title-row p { margin: 8px 0 0; color: #82908a; font-size: 13px; }
.lab-status { display: flex; gap: 7px; align-items: center; color: #719230; font: 700 9px var(--mono); letter-spacing: .8px; }.lab-status i { width: 8px; height: 8px; border-radius: 50%; background: #a9d43d; box-shadow: 0 0 0 4px #edf6d4; }
.lab-grid { display: grid; grid-template-columns: 1.4fr .6fr; min-height: 350px; margin-top: 20px; }
.terminal-window { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border-radius: 7px 0 0 7px; background: #112d27; }
.terminal-bar { display: flex; height: 43px; align-items: center; justify-content: space-between; padding: 0 15px; color: #8ba29a; background: #0d241f; font: 10px var(--mono); }
.window-dots { display: flex; gap: 6px; }.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #f1794b; }.window-dots i:nth-child(2) { background: #e7c95d; }.window-dots i:nth-child(3) { background: #80af64; }
.terminal-bar button { border: 0; color: #8ca39a; background: transparent; font: 10px var(--mono); }
.terminal-output { min-height: 240px; flex: 1; overflow: auto; padding: 19px; color: #d6e3dd; font: 12px/1.7 var(--mono); }.terminal-output p { margin: 0 0 3px; }.terminal-comment { color: #6d9184; }.terminal-prompt, .terminal-input-row span { color: var(--lime); }.terminal-output b { color: #f8bd86; font-weight: 400; }
.terminal-input-row { display: flex; gap: 7px; align-items: center; padding: 13px 18px; border-top: 1px solid rgba(255,255,255,.09); color: white; font: 12px var(--mono); }
.terminal-input-row label { display: flex; flex: 0 0 auto; gap: 7px; align-items: center; }
.terminal-input-row input { display: block; min-width: 80px; flex: 1 1 auto; border: 0; outline: 0; color: white; background: transparent; caret-color: var(--lime); font: 12px var(--mono); }.terminal-input-row input::placeholder { color: #729088; }
.terminal-input-row button { border: 0; color: var(--lime); background: transparent; }
.mission-card { padding: 20px; border: 1px solid var(--line); border-left: 0; border-radius: 0 7px 7px 0; background: var(--paper); }
.mission-card h3 { margin: 8px 0; font-size: 19px; }.mission-card > p { color: #81908a; font-size: 11px; line-height: 1.55; }.mission-card code { color: var(--orange); font: 10px var(--mono); }
.mission-step { display: flex; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }.mission-step span { color: #a1a7a1; font: 10px var(--mono); }.mission-step div { flex: 1; }.mission-step b, .mission-step code { display: block; }.mission-step b { margin-bottom: 4px; font-size: 11px; }.mission-step i { color: #aab1ab; font-style: normal; }.mission-step .step-done { color: #7eaa31; }.mission-step.active i { color: var(--orange); }
.lab-hint { display: flex; gap: 7px; margin-top: 13px; padding: 10px; color: #8c958d; background: #f5f1e8; font-size: 10px; }

.filter-pills { display: flex; gap: 4px; align-self: end; }.filter { padding: 7px 10px; border: 0; border-radius: 20px; color: #83908a; background: transparent; font-size: 10px; font-weight: 700; }.filter.active { color: var(--green); background: #e5edca; }
.command-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px; }
.command-card { position: relative; padding: 16px; }.command-card code { color: var(--orange); font: 700 12px var(--mono); }.command-card p { margin: 11px 0 0; color: #89928d; font-size: 11px; }.copy-btn { position: absolute; top: 13px; right: 14px; border: 0; color: #9da59e; background: transparent; font-size: 16px; }.command-card.hidden { display: none; }

.challenge-banner { display: flex; align-items: center; gap: 18px; margin-top: 70px; padding: 25px 30px; color: white; background: var(--green); }
.challenge-icon { display: grid; width: 55px; height: 55px; place-items: center; border-radius: 50%; color: var(--lime); background: rgba(200,241,90,.12); font-size: 26px; }.challenge-banner .section-kicker { color: var(--lime); }.challenge-banner h2 { margin-top: 5px; font-size: 20px; }.challenge-banner p { margin: 6px 0 0; color: #b7c8c2; font-size: 11px; }.challenge-banner p b { color: var(--lime); }.challenge-banner a { margin-left: auto; padding: 12px 16px; border: 1px solid rgba(255,255,255,.23); border-radius: 5px; font-size: 11px; font-weight: 700; }.challenge-banner a span { margin-left: 12px; color: var(--lime); font-size: 16px; }
.page-footer { display: flex; justify-content: space-between; padding: 23px 5.5vw; border-top: 1px solid var(--line); color: #98a099; font-size: 10px; }.page-footer div { display: flex; gap: 16px; }
.toast { position: fixed; right: 25px; bottom: 25px; z-index: 30; padding: 11px 15px; border-radius: 4px; color: white; background: var(--green); font: 11px var(--mono); opacity: 0; transform: translateY(10px); transition: .25s; }.toast.visible { opacity: 1; transform: translateY(0); }

.lesson-overlay { position: fixed; inset: 0; z-index: 40; display: grid; padding: 24px; place-items: center; visibility: hidden; background: rgba(9, 28, 23, .68); opacity: 0; transition: opacity .25s, visibility .25s; }
.lesson-overlay.visible { visibility: visible; opacity: 1; }
.lesson-dialog { display: grid; width: min(1120px, 100%); height: min(760px, calc(100vh - 48px)); grid-template-columns: 280px 1fr; overflow: hidden; border-radius: 10px; background: var(--paper); box-shadow: 0 24px 80px rgba(7, 24, 19, .28); transform: translateY(14px); transition: transform .25s; }
.lesson-overlay.visible .lesson-dialog { transform: translateY(0); }
.lesson-sidebar { display: flex; min-height: 0; flex-direction: column; color: #d9e7e1; background: var(--green-deep); }
.lesson-sidebar-top { position: relative; padding: 28px 22px 17px; border-bottom: 1px solid rgba(255,255,255,.1); }
.lesson-sidebar-top .section-kicker { color: var(--lime); }
.lesson-sidebar h2 { margin-top: 9px; color: white; font-size: 23px; }
.lesson-sidebar p { margin: 6px 0 0; color: #8da59d; font-size: 11px; }
.lesson-close, .reader-close { border: 0; background: transparent; font-size: 28px; line-height: 1; }
.lesson-close { position: absolute; top: 18px; right: 16px; color: #9db4ac; }
.lesson-list { min-height: 0; flex: 1; overflow-y: auto; padding: 12px 9px; }
.lesson-list-button { display: grid; width: 100%; grid-template-columns: 27px 1fr; gap: 9px; align-items: start; padding: 11px 10px; border: 0; border-radius: 5px; color: #b8cbc4; background: transparent; text-align: left; }
.lesson-list-button:hover { background: rgba(255,255,255,.05); }
.lesson-list-button.active { color: white; background: rgba(200,241,90,.12); }
.lesson-list-button.unavailable { cursor: not-allowed; opacity: .48; }
.lesson-list-button.unavailable:hover { background: transparent; }
.lesson-list-button i { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid #6f8b82; border-radius: 50%; color: #91a79f; font: 700 9px var(--mono); font-style: normal; }
.lesson-list-button.completed i { border-color: var(--lime); color: var(--green); background: var(--lime); }
.lesson-list-button b, .lesson-list-button span { display: block; }
.lesson-list-button b { color: inherit; font-size: 11px; }
.lesson-list-button span { margin-top: 4px; color: #819a91; font-size: 9px; }
.lesson-sidebar-bottom { padding: 16px 20px 20px; border-top: 1px solid rgba(255,255,255,.1); color: #91a79f; font: 700 8px var(--mono); letter-spacing: 1px; }
.lesson-progress { height: 4px; margin-top: 9px; overflow: hidden; border-radius: 4px; background: rgba(255,255,255,.12); }.lesson-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--lime); transition: width .25s; }
.lesson-reader { display: flex; min-width: 0; min-height: 0; flex-direction: column; overflow: hidden; background: var(--paper); }
.lesson-reader-header { display: flex; min-height: 62px; align-items: center; gap: 14px; padding: 0 36px; border-bottom: 1px solid var(--line); }
.lesson-step { color: var(--orange); font: 700 9px var(--mono); letter-spacing: 1.3px; }.lesson-time { margin-left: auto; color: #9ba39d; font: 10px var(--mono); }
.reader-close { display: none; color: var(--green); }
.lesson-body { min-height: 0; flex: 1; overflow-y: auto; padding: 35px clamp(28px, 6vw, 76px); }
.lesson-body h1 { margin: 0 0 14px; color: var(--green); font-size: clamp(30px, 4vw, 42px); letter-spacing: -2px; line-height: 1.04; }
.lesson-body h2 { margin: 30px 0 11px; color: var(--green); font-size: 19px; }
.lesson-body p { color: #66766f; font-size: 14px; line-height: 1.75; }
.lesson-body strong { color: var(--green); }
.lesson-intro { max-width: 700px; font-size: 16px !important; }
.lesson-code { margin: 19px 0; padding: 16px 18px; overflow-x: auto; border-radius: 6px; color: #d8e7e1; background: #102e27; font: 12px/1.9 var(--mono); }.lesson-code b { color: var(--lime); }.lesson-code span { color: #83a097; }
.lesson-note { margin: 20px 0; padding: 14px 16px; border-left: 3px solid var(--orange); color: #64736d; background: #f7efe5; font-size: 13px; line-height: 1.6; }
.lesson-points { display: grid; gap: 9px; padding: 0; list-style: none; }.lesson-points li { padding-left: 22px; color: #66766f; font-size: 13px; line-height: 1.5; }.lesson-points li::before { position: absolute; margin-left: -21px; color: #7eaa31; content: "✓"; font-weight: 700; }
.lesson-quiz { margin-top: 26px; padding: 18px; border: 1px solid var(--line); background: #fbf8f1; }.lesson-quiz h3 { color: var(--green); font-size: 16px; }.lesson-quiz p { margin: 7px 0 12px; font-size: 12px; }
.quiz-option { display: block; width: 100%; margin-top: 7px; padding: 10px; border: 1px solid var(--line); border-radius: 4px; color: #60716b; background: white; text-align: left; font-size: 12px; }.quiz-option:hover { border-color: #a7be68; }.quiz-option.correct { border-color: #a5c154; color: #526b2c; background: #eff7d7; }.quiz-option.wrong { border-color: #e7a78d; color: #a34d2c; background: #fbebe4; }
.lesson-reader-footer { display: flex; flex: 0 0 auto; justify-content: space-between; gap: 10px; padding: 16px 36px; border-top: 1px solid var(--line); background: var(--paper); }
.lesson-primary, .lesson-secondary { padding: 11px 15px; border-radius: 4px; font-size: 12px; font-weight: 700; }.lesson-primary { border: 0; color: white; background: var(--green); }.lesson-primary span { margin-left: 12px; color: var(--lime); }.lesson-secondary { border: 1px solid var(--line); color: #78857f; background: transparent; }.lesson-secondary:disabled { visibility: hidden; }

@media (max-width: 1100px) {
  .sidebar { width: 210px; }.app-shell { margin-left: 210px; }
  .hero { grid-template-columns: 1fr; padding-top: 45px; }.hero-visual { height: 250px; }
  .path-grid, .command-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sidebar { width: 250px; transform: translateX(-100%); transition: transform .25s; }.sidebar.open { transform: translateX(0); }.close-sidebar, .menu-toggle { display: block; }
  .app-shell { margin-left: 0; }.topbar { padding: 0 20px; }.breadcrumbs { margin-right: auto; margin-left: 14px; }.breadcrumbs span, .breadcrumbs b { display: none; }
  .content { padding: 0 20px 50px; }.hero { min-height: 0; padding-top: 38px; }.hero-visual { height: 210px; }
  h1 { font-size: 49px; letter-spacing: -3px; }.hero-copy p { font-size: 14px; }.hero-actions { gap: 14px; }.text-btn { font-size: 0; }.text-btn i { font-size: 8px; }
  .progress-summary { gap: 22px; }.progress-stats { gap: 18px; }.progress-ring { width: 102px; height: 102px; }.progress-ring::before { width: 80px; height: 80px; }
  .path-grid, .command-grid { grid-template-columns: 1fr; }.module-card { min-height: 245px; }
  .section-title-row { gap: 16px; }.text-link { white-space: nowrap; font-size: 0; }.text-link span { font-size: 22px; }
  .lab-grid { grid-template-columns: 1fr; }.terminal-window { border-radius: 7px 7px 0 0; }.mission-card { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 7px 7px; }
  .filter-pills { display: none; }.challenge-banner { align-items: flex-start; padding: 20px; }.challenge-icon { display: none; }.challenge-banner a { padding: 10px; font-size: 0; }.challenge-banner a span { margin: 0; }
  .page-footer { display: block; padding: 20px; }.page-footer > span { display: block; margin-bottom: 7px; }.page-footer div { margin-top: 12px; }
  .lesson-overlay { padding: 0; }.lesson-dialog { width: 100%; height: 100vh; grid-template-columns: 1fr; border-radius: 0; }
  .lesson-sidebar { display: none; }.lesson-reader-header { padding: 0 20px; }.reader-close { display: block; margin-right: 3px; }.lesson-body { padding: 27px 20px; }.lesson-reader-footer { padding: 13px 20px; }
}
