.learning-stage-v2{--ink:#ecf7ef;--muted:#b5ccbe;--green:#60ddb0;--line:#294337;--surface:#0b1912;--surface-raised:#11241b;--guide-codi-bg:#122e21;--guide-codi-border:#3b6f55;--code-bg:#07130f;--code-text:#e3f6e9;--code-border:#2c5140;color:var(--ink);min-width:0}.learning-stage-v2 .course-experience-controls{align-items:center;gap:.5rem;max-width:none;margin:0 0 .85rem}.learning-stage-v2 .course-experience-controls button{border-color:var(--line);color:#b8d6c5;background:#0c1b14;width:44px;height:44px;min-height:44px}.learning-stage-v2 .course-experience-controls button[aria-pressed=true]{color:#81e6be;background:#132d21;border-color:#3e755a}.learning-stage-v2 .course-experience-controls .learning-codi-toggle{gap:.55rem;width:auto;padding-inline:1rem;font-size:.78rem;display:inline-flex}.learning-stage-v2 .course-stage{max-width:none;color:var(--ink);background:#08150f;border:1px solid #305140;border-radius:1.75rem;margin:0;padding:0;scroll-margin-top:1rem;position:relative;overflow:clip;box-shadow:0 18px 80px #0002}.learning-stage-v2 .course-stage-heading{border-bottom:1px solid var(--line);background:radial-gradient(at 100% 0,#1c493545,#0000 65%),#102219;padding:clamp(1.25rem,3vw,2rem)}.learning-stage-v2 .course-stage-meta{flex-wrap:wrap;align-items:center;gap:.8rem;margin-bottom:1rem;display:flex}.learning-stage-v2 .learning-mode-label{color:#7ae6b9;letter-spacing:.025em;align-items:center;gap:.55rem;font-size:.76rem;font-weight:700;display:inline-flex}.learning-stage-v2 .learning-mode-label>span{width:28px;height:28px;font-family:var(--font-mono,monospace);border:1px solid #3d7056;border-radius:.5rem;place-items:center;display:grid}.learning-stage-v2 .course-stage-meta .course-kicker{color:#a5bdb0;margin-left:auto;font-size:.7rem}.learning-stage-v2 .course-stage-meta .course-step-label{display:none}.learning-stage-v2 .course-stage .course-stage-heading h2{color:#eff9f3;letter-spacing:-.035em;overflow-wrap:anywhere;max-width:35ch;margin:0 0 .65rem;font-size:clamp(1.55rem,2.8vw,2.25rem);line-height:1.2}.learning-stage-v2 .course-stage-heading>p{color:#b6cebf;max-width:80ch;margin:0 0 1.25rem;font-size:.95rem}.learning-stage-v2 .course-stage progress{accent-color:#5bdeb0;background:#243b2f;border:0;border-radius:10px;height:4px;margin:0;display:block}.learning-stage-v2 .course-stage progress::-webkit-progress-bar{background:#243b2f}.learning-stage-v2 .course-stage progress::-webkit-progress-value{background:#5bdeb0}.learning-stage-v2 .course-stage progress::-moz-progress-bar{background:#5bdeb0}.learning-stage-v2 .learning-workspace{grid-template-columns:minmax(220px,.78fr) minmax(0,2fr);align-items:start;min-height:360px;display:grid}.learning-stage-v2 .course-dialogue{flex-direction:column;align-items:stretch;gap:1rem;min-width:0;margin:0;padding:1.75rem 1.25rem;scroll-margin-top:1rem;display:flex}.learning-stage-v2 .learning-codi-portrait{isolation:isolate;align-self:center;place-items:center;width:180px;min-height:180px;display:grid;position:relative}.learning-stage-v2 .learning-codi-orbit{z-index:-1;background:#42d69d19;border:1px solid #55e0ac30;border-radius:50%;width:128px;height:20px;position:absolute;bottom:8px}.learning-stage-v2 .learning-codi-portrait .course-robot{filter:drop-shadow(0 8px 18px #3ed29b1c);max-width:100%;animation:6s ease-in-out infinite learning-codi-breathe}.learning-stage-v2 .course-speech{flex:initial;color:#e8f6ee;min-width:0;box-shadow:none;background:#11281d;border:1px solid #315b43;border-radius:1.2rem;padding:1.1rem;font-size:.9rem}.learning-stage-v2 .course-speech:before{display:none}.learning-stage-v2 .course-speech>.course-kicker{color:#79dcb1;letter-spacing:.07em;font-size:.64rem}.learning-stage-v2 .course-message-text{color:#e5f4eb;margin-top:.65rem;font-size:.92rem;line-height:1.7}.learning-stage-v2 .course-message-space{color:#0000}.learning-stage-v2 .course-conversation-feedback strong{color:#ecfaf2}.learning-stage-v2 .course-conversation-feedback small{color:#b7d0bf;line-height:1.6}.learning-stage-v2 .course-speech-actions{gap:.5rem;margin-top:.75rem}.learning-stage-v2 .course-hint-button{color:#a0edcc;background:#1a3828;border:1px solid #46684f;border-radius:.65rem;min-height:44px;padding:.55rem .85rem}.learning-stage-v2 .course-speech .course-hint{color:#e0edcb;background:#233621;border-left:2px solid #b4d285;margin-top:1rem;padding:.85rem;font-size:.87rem}.learning-stage-v2 .course-dialogue[data-evaluation=correct] .course-speech{background:#123321;border-color:#55a876}.learning-stage-v2 .course-dialogue[data-evaluation=retry] .course-speech{background:#2b2a18;border-color:#93814a}.learning-stage-v2 .course-step-content{border-left:1px solid var(--line);color:#d8eade;background:#0b1a12;min-width:0;min-height:360px;margin:0;padding:clamp(1.25rem,3vw,2rem)}.learning-stage-v2 .learning-content-heading{border-bottom:1px solid var(--line);align-items:center;gap:.8rem;margin-bottom:1.5rem;padding-bottom:1.25rem;display:flex}.learning-stage-v2 .learning-content-symbol{color:#71e3b2;width:42px;height:42px;font:700 1.2rem var(--font-mono,monospace);background:#153323;border:1px solid #3b624b;border-radius:.85rem;flex:none;place-items:center;display:grid}.learning-stage-v2 .learning-content-heading>div>span{color:#d7f3e2;font-size:.83rem;font-weight:700}.learning-stage-v2 .learning-content-heading p{color:#aac4b5;margin:.2rem 0 0;font-size:.8rem;line-height:1.5}.learning-stage-v2 .course-step-content :is(h1,h2,h3,h4,h5,h6,legend){color:#eef9f1}.learning-stage-v2 .course-step-content :is(.prose,p,li,blockquote){color:#c2d9ca}.learning-stage-v2 .course-step-content :is(strong,b){color:#edfaf1}.learning-stage-v2 .course-step-content a{color:#76e4b4}.learning-stage-v2 .course-step-content .prose{max-width:75ch}.learning-stage-v2 .course-step-content fieldset{min-width:0}.learning-stage-v2 .course-step-content legend{margin-bottom:1.25rem;font-size:1.25rem}.learning-stage-v2 .course-options{gap:.75rem}.learning-stage-v2 .course-option{color:#e2f2e8;min-height:64px;box-shadow:none;background:#102219;border:1px solid #34513f;border-radius:1rem;align-items:center;padding:1rem 1.1rem}.learning-stage-v2 .course-option:hover{background:#153324;border-color:#58866a;transform:none}.learning-stage-v2 .course-option.selected{background:#17422d;border-color:#6bddaa;box-shadow:inset 3px 0 #6bddaa}.learning-stage-v2 .course-option input{accent-color:#5bdda7;margin:0}.learning-stage-v2 .course-ordering>li{background:#10271b;border-color:#35523f;border-radius:.85rem}.learning-stage-v2 .course-order-number{color:#a8efc8;background:#244a34}.learning-stage-v2 .course-matching-columns button{color:#ddf0e3;background:#10271b;border-color:#35523f;min-height:52px}.learning-stage-v2 .course-matching-columns button[aria-pressed=true]{background:#1a4830;border-color:#65dca2}.learning-stage-v2 .course-matching-columns button:disabled{opacity:.7}.learning-stage-v2 .course-solution{color:#d9eddf;background:#13271c;border-color:#3f634b}.learning-stage-v2 .course-controls{border-top:1px solid var(--line);background:#0c1c13;align-items:center;margin:0;padding:1.25rem clamp(1.25rem,3vw,2rem)}.learning-stage-v2 .course-stage :is(button,.button){min-height:44px;transition:background .16s,border-color .16s,box-shadow .16s}.learning-stage-v2 .course-stage .button{border-radius:.85rem;justify-content:center;align-items:center;gap:.5rem;padding:.7rem 1.1rem;font-size:.86rem;font-weight:700;text-decoration:none;display:inline-flex}.learning-stage-v2 .course-stage .button.primary{color:#062418;background:#50d8a5;border:1px solid #50d8a5;box-shadow:0 6px 24px #20b97e18}.learning-stage-v2 .course-stage .button.primary:hover:not(:disabled){background:#79e7be}.learning-stage-v2 .course-stage .button.secondary,.learning-stage-v2 .course-ordering button,.learning-stage-v2 .course-matched-pairs button{color:#cde8d6;background:#152b1e;border:1px solid #3a5a44}.learning-stage-v2 :is(button,.button):disabled{opacity:.5;cursor:not-allowed}.learning-stage-v2 :is(button,input,textarea,a,select,[tabindex]):focus-visible{outline-offset:4px;outline:2px solid #9aecc5}.learning-stage-v2 .course-step-content pre{color:#e1f4e7;background:#06110c;border-color:#2d4b39}.learning-stage-v2 .course-step-content code{color:inherit}.learning-stage-v2 .course-step-content :not(pre)>code{color:#b7f2ce;background:#183824}.learning-stage-v2 .course-step-content .course-question-code{background:#06110c}.learning-stage-v2 .course-playground{background:#08170f;border-color:#345842}.learning-stage-v2 .course-playground textarea{color:#e1f4e7;caret-color:#90ecc0;background:#06130d;border:1px solid #365e46;border-radius:.8rem;min-height:240px;font-size:.9rem}.learning-stage-v2 .course-playground-console{color:#d9efdf;background:#0d2417;border-color:#365c44}.learning-stage-v2 .course-stage[data-kind=playground] .learning-workspace{grid-template-columns:minmax(200px,.65fr) minmax(0,2.2fr)}.learning-stage-v2 .course-stage[data-kind=dialogue] .learning-workspace{display:block}.learning-stage-v2 .course-stage[data-kind=dialogue] .course-dialogue{flex-direction:row;align-items:center;gap:clamp(1.5rem,5vw,4rem);max-width:920px;margin:0 auto;padding:clamp(1.5rem,5vw,3.5rem)}.learning-stage-v2 .course-stage[data-kind=dialogue] .course-speech{flex:1;padding:1.75rem}.learning-stage-v2 .course-stage[data-kind=dialogue] .course-step-content{background:0 0;border:0;min-height:0;padding:0 2rem 1.5rem}.learning-stage-v2 .learning-dialogue-next{text-align:center;margin:0;font-size:.85rem}.learning-stage-v2 .course-stage[data-kind=dialogue] .learning-codi-portrait{width:200px}.learning-stage-v2[data-companion=hidden] .learning-codi-portrait{display:none}.learning-stage-v2 .course-screen-effect{z-index:2;border-radius:inherit;position:absolute}.learning-stage-v2 .course-encouragement-wave{border-width:2px;box-shadow:inset 0 0 45px #b7a66c22}.learning-stage-v2[data-effects=false] *,.learning-stage-v2[data-effects=false] :before,.learning-stage-v2[data-effects=false] :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}@keyframes learning-codi-breathe{0%,to{transform:translateY(0)rotate(-1deg)}50%{transform:translateY(-5px)rotate(1deg)}}@media (max-width:900px){.learning-stage-v2 .learning-workspace,.learning-stage-v2 .course-stage[data-kind=playground] .learning-workspace{grid-template-columns:minmax(190px,.7fr) minmax(0,1.8fr)}.learning-stage-v2 .course-dialogue{padding:1.25rem .9rem}.learning-stage-v2 .learning-codi-portrait{width:130px;min-height:135px}.learning-stage-v2 .learning-codi-portrait .course-robot{width:118px!important}.learning-stage-v2 .course-speech{padding:.9rem}.learning-stage-v2 .course-message-text{font-size:.86rem}}@media (max-width:680px){.learning-stage-v2 .course-stage{border-radius:1.25rem}.learning-stage-v2 .learning-workspace,.learning-stage-v2 .course-stage[data-kind=playground] .learning-workspace{flex-direction:column;min-height:0;display:flex}.learning-stage-v2 .course-dialogue{grid-template-columns:70px minmax(0,1fr);align-items:start;gap:.75rem;width:100%;padding:1rem;display:grid}.learning-stage-v2 .learning-codi-portrait{align-self:start;width:70px;min-height:90px;margin-top:.35rem}.learning-stage-v2 .learning-codi-portrait .course-robot{width:70px!important}.learning-stage-v2 .learning-codi-orbit{width:60px;bottom:8px}.learning-stage-v2 .course-speech{padding:.85rem;font-size:.85rem}.learning-stage-v2[data-companion=hidden] .course-dialogue{display:block}.learning-stage-v2 .course-step-content{border-left:0;border-top:1px solid var(--line);width:100%;min-height:0;padding:1.25rem}.learning-stage-v2 .learning-content-heading{margin-bottom:1.25rem}.learning-stage-v2 .course-stage[data-kind=dialogue] .course-dialogue{flex-direction:column;align-items:center;gap:1rem;padding:1.5rem;display:flex}.learning-stage-v2 .course-stage[data-kind=dialogue] .learning-codi-portrait{align-self:center;width:130px;min-height:140px}.learning-stage-v2 .course-stage[data-kind=dialogue] .learning-codi-portrait .course-robot{width:125px!important}.learning-stage-v2 .course-stage[data-kind=dialogue] .course-speech{width:100%;padding:1.25rem}.learning-stage-v2 .course-controls{flex-wrap:wrap;gap:.75rem;padding:1rem}.learning-stage-v2 .course-controls>div{flex:1}.learning-stage-v2 .course-controls .button{padding:.65rem .8rem;font-size:.8rem}.learning-stage-v2 .course-ordering>li{flex-wrap:wrap;padding:.85rem}.learning-stage-v2 .course-ordering>li>div{justify-content:flex-end;width:100%}.learning-stage-v2 .course-matching-columns{gap:.65rem}.learning-stage-v2 .course-matched-pairs li{flex-wrap:wrap}.learning-stage-v2 .course-stage-heading{padding:1.25rem}.learning-stage-v2 .course-stage-meta{gap:.5rem}.learning-stage-v2 .course-stage-meta .course-kicker{letter-spacing:.04em}}@media (prefers-reduced-motion:reduce){.learning-stage-v2 *,.learning-stage-v2 :before,.learning-stage-v2 :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.learning-stage-v2 .course-playground .cm-editor{color:#e1f4e7;background:#071710;border:1px solid #375b47;border-radius:.85rem;overflow:hidden}.learning-stage-v2 .course-playground .cm-content{caret-color:#7ee5b7}.learning-stage-v2 .course-playground .cm-gutters{color:#9eb9a8;background:#10241a;border-color:#34503e}.learning-stage-v2 .course-playground .cm-activeLine,.learning-stage-v2 .course-playground .cm-activeLineGutter{background:#183a28}.learning-stage-v2 .course-playground .cm-cursor{border-left-color:#9ff2cc}.learning-stage-v2 .course-playground .cm-selectionBackground{background:#2d6248}
.learning-stage-v2 .course-experience-controls .learning-focus-toggle{justify-content:center;align-items:center;gap:.6rem;width:auto;padding-inline:1rem;font-size:.78rem;display:inline-flex}.learning-stage-v2 .course-stage{--scene-accent:#70deb0;--scene-wash:#113225}.learning-stage-v2[data-effects=true] .course-stage{animation:.18s ease-out both learning-scene-enter}.learning-stage-v2 .course-stage[data-scene=conversation]{--scene-wash:#203d2b}.learning-stage-v2 .course-stage[data-scene=workbench]{--scene-wash:#132a24}.learning-stage-v2 .course-stage[data-scene=decisions]{--scene-wash:#1c3229;--scene-accent:#b2e3b1}.learning-stage-v2 .course-stage[data-scene=sequence]{--scene-wash:#203a2a;--scene-accent:#b6dfa0}.learning-stage-v2 .course-stage[data-scene=connections]{--scene-wash:#103532;--scene-accent:#81dcd3}.learning-stage-v2 .course-stage[data-scene=console]{--scene-wash:#102c30;--scene-accent:#86ded9}.learning-stage-v2 .course-stage .course-stage-heading{background:linear-gradient(105deg, var(--scene-wash), #0d2017 80%);position:relative}.learning-stage-v2 .learning-mode-label{color:var(--scene-accent)}.learning-stage-v2 .course-stage[data-scene=workbench] .course-step-content{background:linear-gradient(#698b7510 1px,#0000 1px) 0 0/100% 2.1rem,#0c1d15}.learning-stage-v2 .course-stage[data-scene=workbench] .course-step-content>.prose{background:#0f2419;border:1px solid #34523f;border-radius:1rem;max-width:78ch;padding:clamp(1rem,3vw,2rem)}.learning-stage-v2 .course-stage[data-scene=decisions] .course-options{counter-reset:learning-choice;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr))}.learning-stage-v2 .course-stage[data-scene=decisions] .course-option{counter-increment:learning-choice;align-items:flex-start;min-height:82px;padding:1.2rem}.learning-stage-v2 .course-stage[data-scene=decisions] .course-option input{margin-top:.2rem}.learning-stage-v2 .course-stage[data-scene=decisions] .course-option>span{line-height:1.65}.learning-stage-v2 .course-stage[data-scene=console] .learning-content-symbol{color:#a2ebe3;background:#153635;border-color:#457771}.learning-stage-v2 .course-stage[data-scene=console] .course-controls{background:#102521}.learning-stage-v2 .course-stage[data-scene=conversation] .course-dialogue{max-width:980px}.learning-stage-v2 .course-stage[data-scene=conversation] .course-speech{background:#193626;border-radius:1.5rem 1.5rem 1.5rem .4rem}.learning-stage-v2 .learning-codi-portrait .course-robot{transition:transform .22s ease-out;animation:none}.learning-stage-v2 .course-stage[data-attention=reading] .course-robot-eye{transform:translate(1.7px)}.learning-stage-v2 .course-stage[data-attention=thinking] .learning-codi-portrait .course-robot{transform:rotate(4deg)translateY(2px)}.learning-stage-v2 .course-stage[data-attention=considering] .learning-codi-portrait .course-robot{transform:rotate(-3deg)}.learning-stage-v2[data-effects=true] .course-stage[data-attention=celebrating] .learning-codi-portrait .course-robot{animation:.42s ease-out learning-codi-acknowledge}.learning-stage-v2 .course-stage[data-attention=encouraging] .learning-codi-portrait .course-robot{transform:rotate(-4deg)}.learning-stage-v2[data-focus=true] .learning-workspace,.learning-stage-v2[data-focus=true] .course-stage[data-scene] .learning-workspace{flex-direction:column;min-height:0;display:flex}.learning-stage-v2[data-focus=true] .course-stage[data-scene] .course-dialogue{grid-template-columns:78px minmax(0,1fr);align-items:center;gap:1rem;width:100%;max-width:none;padding:1rem 1.5rem;display:grid}.learning-stage-v2[data-focus=true] .course-stage[data-scene] .learning-codi-portrait{align-self:center;width:78px;min-height:85px;margin:0}.learning-stage-v2[data-focus=true] .course-stage[data-scene] .learning-codi-portrait .course-robot{width:78px!important}.learning-stage-v2[data-focus=true] .learning-codi-orbit{display:none}.learning-stage-v2[data-focus=true] .course-stage[data-scene] .course-speech{border-radius:1rem;padding:.85rem 1rem}.learning-stage-v2[data-focus=true] .course-stage .course-step-content{border-top:1px solid #2b4a37;border-left:0;width:100%;min-height:0}.learning-stage-v2[data-focus=true] .learning-content-heading{display:none}.learning-stage-v2[data-focus=true] .course-stage .course-stage-heading{padding-block:1rem}.learning-stage-v2[data-focus=true] .course-stage .course-stage-heading h2{max-width:none;font-size:1.3rem}.learning-stage-v2[data-focus=true] .course-stage-heading>p{margin-bottom:.75rem;font-size:.85rem}.learning-stage-v2[data-focus=true][data-companion=hidden] .course-stage[data-scene] .course-dialogue{display:block}.learning-stage-v2[data-focus=true][data-companion=hidden] .course-stage[data-scene] .learning-codi-portrait{display:none}@keyframes learning-scene-enter{0%{transform:translateY(4px)}to{transform:translateY(0)}}@keyframes learning-codi-acknowledge{0%,to{transform:translateY(0)}40%{transform:translateY(-9px)rotate(-4deg)}70%{transform:translateY(-2px)rotate(2deg)}}@media (max-width:680px){.learning-stage-v2 .course-experience-controls{flex-wrap:wrap;justify-content:flex-start}.learning-stage-v2 .course-experience-controls .learning-focus-toggle{margin-left:0}.learning-stage-v2 .course-stage[data-scene=decisions] .course-options{grid-template-columns:1fr}.learning-stage-v2[data-focus=true] .course-stage[data-scene] .course-dialogue{grid-template-columns:52px minmax(0,1fr);gap:.6rem;padding:.85rem}.learning-stage-v2[data-focus=true] .course-stage[data-scene] .learning-codi-portrait{width:52px;min-height:65px}.learning-stage-v2[data-focus=true] .course-stage[data-scene] .learning-codi-portrait .course-robot{width:52px!important}.learning-stage-v2[data-focus=true] .course-stage[data-scene] .course-speech{padding:.7rem}.learning-stage-v2 .course-stage[data-scene=workbench] .course-step-content>.prose{padding:1rem}}.learning-stage-v2[data-effects=false] .course-stage .learning-codi-portrait .course-robot{transform:none}@media (prefers-reduced-motion:reduce){.learning-stage-v2 .course-stage,.learning-stage-v2 .course-stage .learning-codi-portrait .course-robot{transition:none!important;animation:none!important;transform:none!important}}
