body:has(.course-chat),html:has(.course-chat){height:100%;overflow:hidden;overscroll-behavior:none}.course-portal:has(.course-chat){height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#181a1c;color:#eceeed;--canvas:#181a1c;--ink-1:#eceeed;--ink-2:#d3d6d3;--ink-3:#aeb3b0;--ink-4:#919792;--edge:#333837}.course-portal:has(.course-chat) .course-portal-header{flex-shrink:0;width:100%;max-width:1300px;height:72px;padding:18px 36px;border:0}.course-portal:has(.course-chat) .course-portal-content{flex:1;min-height:0;padding:0 36px;overflow:hidden}.course-file-dialog,.course-outline-sheet{--background:#181a1c;--foreground:#eceeed;--border:#34393a;--muted-foreground:#a4aba6;--primary:#d4efc2;--primary-foreground:#1c2a19;background:#181a1c;color:#eceeed}.course-chat{--background:#181a1c;--foreground:#eceeed;--card:#181a1c;--card-foreground:#eceeed;--muted:#2b3031;--muted-foreground:#a4aba6;--primary:#d4efc2;--primary-foreground:#1c2a19;--secondary:#2a302e;--secondary-foreground:#eef1ed;--accent:#303637;--accent-foreground:#eef1ed;--border:#34393a;--input:#3e4542;--ring:#bad5ad;--radius:12px;color:var(--foreground);display:grid;grid-template-columns:minmax(0,760px) 254px;grid-template-rows:minmax(0,1fr);gap:clamp(30px,6vw,90px);max-width:1140px;margin:0 auto;height:100%;min-height:0;overflow:hidden}.chat-conversation{min-width:0;min-height:0;display:flex;flex-direction:column;position:relative;padding-bottom:14px}.chat-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 0 18px;flex-shrink:0}.chat-toolbar h1{color:#d3ddd2;margin:0;font-size:13px;font-weight:500}.chat-toolbar>span{color:#87918a;font-size:11px}.chat-transcript{position:relative;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#434a46 transparent;padding:30px 16px 36px 0;display:flex;flex-direction:column;gap:30px}.chat-transcript:has(.chat-welcome):not(:has(.is-user)){justify-content:center}.chat-transcript>.is-assistant,.chat-transcript>.is-user{flex-shrink:0}.chat-transcript .is-assistant>div{font-size:15px;line-height:1.85;color:#d8dfd8;overflow:visible}.chat-transcript .is-user>div{font-size:14px;line-height:1.75;border-radius:16px 16px 4px 16px;background:#2b332e;color:#e2eddd}.chat-transcript .is-assistant{max-width:100%}.chat-transcript [data-streamdown=code-block]{max-width:100%;font-size:12px}.chat-transcript pre{white-space:pre-wrap;overflow-wrap:anywhere}.chat-transcript a{color:#c5deb7;text-underline-offset:4px}.chat-transcript blockquote{border-left:2px solid #52664c;padding-left:16px;color:#b5c3b1}.chat-transcript table{font-size:13px}.chat-welcome{max-width:490px;padding-bottom:30px}.chat-welcome h2{color:#e7ede4;font-size:clamp(27px,3vw,36px);line-height:1.3;letter-spacing:-.04em;font-weight:500;margin:0 0 22px}.chat-welcome p{margin:0 0 18px;color:#aab6aa;line-height:1.9}.chat-welcome p:last-child{color:#d3ded0}.chat-reset-done{color:#c4dbb5;font-size:13px}.chat-composer{flex-shrink:0;border:1px solid #414b43;border-radius:16px;background:#202623;overflow:hidden}.chat-composer:focus-within{border-color:#849b7b}.chat-composer-input{display:flex;align-items:flex-end;gap:10px;padding:12px 12px 12px 17px}.chat-composer textarea{background:transparent;border:0;outline:0;box-shadow:none;resize:none;min-height:35px;max-height:160px;padding:5px 0;font-size:14px;line-height:1.7;color:#e4ece3;field-sizing:content}.chat-composer textarea:focus-visible{box-shadow:none;outline:none}.chat-composer textarea::placeholder{color:#9da99f}.chat-composer-input>button{flex-shrink:0;color:#182018;background:#c5ddb5;border-radius:9px}.chat-composer-input>button:disabled{background:#384238;color:#84947e;opacity:1}.chat-suggestions{display:flex;flex-wrap:wrap;gap:7px;padding:12px 13px 0;max-height:190px;overflow:auto}.chat-suggestions>button{font-size:12px;line-height:1.6;text-align:left;padding:7px 12px;border:1px solid #47523f;color:#cadcc0;border-radius:8px;background:#283124;cursor:pointer}.chat-suggestions>button:hover{background:#35422d;border-color:#7e946f}.chat-suggestions>button:disabled{opacity:.5;cursor:wait}.chat-composer-note{color:#919a92;font-size:10px;line-height:1.6;text-align:center;padding-top:10px}.chat-thinking{display:flex;align-items:center;gap:10px;color:#a9b5aa;font-size:13px}.chat-thinking-dot{flex-shrink:0;display:inline-block;height:14px;width:14px;background:#bdd5ac;border-radius:50%;animation:course-pulse 1.6s ease-in-out infinite}@keyframes course-pulse{50%{opacity:.35}}@media (prefers-reduced-motion:reduce){.chat-thinking-dot{animation:none}}.chat-speaker{color:#b7c8ad;font-size:11px;font-weight:600}.chat-error{color:#e8c5a7;font-size:13px;line-height:1.8;padding:14px 0}.chat-muted{color:#a0af9b;font-size:12px}.chat-load-error{max-width:700px;margin:50px auto;display:grid;gap:20px;justify-items:start}.chat-latest{position:absolute;right:18px;bottom:150px;display:flex;align-items:center;gap:6px;border:1px solid #485645;background:#2b3528;color:#ccdfc2;border-radius:20px;padding:7px 13px;font-size:11px}.course-sidebar-desktop{min-height:0}.course-sidebar{height:100%;padding:16px 0 26px 24px;border-left:1px solid #2d352e;overflow:hidden;min-height:0;display:flex;flex-direction:column}.course-sidebar-heading{display:flex;flex-shrink:0;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:15px}.course-sidebar-heading h2{color:#cfdbca;font-size:13px;font-weight:500}.course-sidebar-heading>span{color:#8d9a88;font-size:10px}.course-sidebar>[data-slot=progress]{height:3px;background:#30372d;flex-shrink:0}.course-sidebar [data-slot=progress-indicator]{background:#a6c48c}.course-sidebar-outline{padding:27px 8px 20px 0;display:flex;flex:1;min-height:80px;overflow-y:auto;overscroll-behavior:contain;flex-direction:column;gap:20px;scrollbar-width:thin;scrollbar-color:#434a46 transparent}.course-sidebar-module{display:flex;gap:8px;align-items:baseline;width:100%;text-align:left;cursor:pointer;font-size:13px;line-height:1.6;color:#a2af9c}.course-sidebar-module>span:nth-child(2){flex:1}.course-sidebar-module>svg{flex-shrink:0;transition:transform .15s}.course-sidebar-module[aria-expanded=true]>svg{transform:rotate(180deg)}.course-sidebar-outline li small{display:block;font-size:10px;color:#98a293}.course-sidebar-module>span:first-child{font-size:10px;color:#9aaa90;min-width:15px}.course-sidebar section[data-current=true] .course-sidebar-module,.course-sidebar section[data-current=true] .course-sidebar-module>span{color:#c5d7b8}.course-sidebar-outline ol{list-style:none;padding:12px 0 0 24px;margin:0;display:flex;flex-direction:column;gap:12px}.course-sidebar-outline li button{display:flex;align-items:baseline;gap:8px;color:#a2af9c;text-align:left;font-size:13px;line-height:1.65;cursor:pointer}.course-sidebar-outline li button svg{flex-shrink:0}.course-sidebar button[aria-current=page]{color:#cadfbc}.course-lesson-dot{display:inline-block;width:4px;height:4px;border-radius:50%;background:currentColor;flex-shrink:0}.course-sidebar-help{flex-shrink:0;color:#9fab99;font-size:11px;text-align:left;cursor:pointer}.course-plugin{flex-shrink:1;display:flex;flex-direction:column;min-height:0;max-height:38%;border-top:1px solid #30372e;padding:20px 0 0}.course-plugin h3{color:#cfdbca;font-size:13px;font-weight:500}.course-plugin-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.course-plugin-status{display:flex;align-items:baseline;gap:6px;color:#a7b3a2;font-size:11px;line-height:1.65}.course-plugin-status>span{width:6px;height:6px;border-radius:50%;background:#71806a;flex-shrink:0}.course-plugin-status[data-linked=true]>span{background:#bdd5ac}.course-plugin-project{display:flex;align-items:baseline;gap:6px;color:#a7b3a2;font-size:11px;line-height:1.6;margin-top:8px;overflow-wrap:anywhere}.course-plugin-project svg{flex-shrink:0}.course-plugin-connect{color:#c5d7b8;font-size:11px;text-align:left;cursor:pointer;margin-top:8px;text-decoration:underline;text-underline-offset:3px}.course-plugin-checkpoints-heading{display:flex;justify-content:space-between;align-items:baseline;color:#9fab99;font-size:10px;margin:19px 0 10px}.course-plugin-checkpoints-heading h4{font-weight:400}.course-plugin-checkpoints{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#434a46 transparent}.course-plugin-checkpoints ol{list-style:none;padding:0 8px 0 0;margin:0}.course-plugin-checkpoints li+li{margin-top:6px}.course-plugin-checkpoints a{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:2px 8px;padding-block:3px;color:#c2cebc;font-size:11px;line-height:1.65}.course-plugin-checkpoints time{color:#8d9a88;font-size:10px}.course-plugin-note{color:#8d9a88;font-size:11px;line-height:1.7}.course-plugin-note button{text-decoration:underline;text-underline-offset:3px;cursor:pointer}.course-sidebar :is(button,a):hover{color:#daeccd}.course-sidebar button:disabled{opacity:.6;cursor:default}.chat-latest:focus-visible,.chat-suggestions button:focus-visible,.course-sidebar button:focus-visible{outline:2px solid #abc296;outline-offset:4px}.course-reset{display:flex;flex-shrink:0;align-items:center;gap:8px;padding-top:22px;color:#889781;font-size:11px;cursor:pointer}.sidebar-narrow{display:none}@media (max-width:900px){.course-chat{grid-template-columns:minmax(0,1fr) 210px;gap:24px}.course-portal:has(.course-chat) .course-portal-content{padding-inline:20px}.course-sidebar{padding-left:18px}.chat-toolbar>span{display:none}}.chat-composer-input>.chat-attach{background:transparent;color:#a9bca1}.chat-attached-files{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:10px 14px 0;margin:0;font-size:12px}.chat-attached-files li{display:flex;align-items:center;gap:8px;padding:5px 8px;background:#303a30;border-radius:6px;overflow-wrap:anywhere}.chat-attached-files button{cursor:pointer;padding:4px}.chat-agent-link{display:inline-block;margin-top:10px;font-size:12px}.course-sidebar-route{color:#9aa693;font-size:10px;line-height:1.7;padding:8px 0 16px}.course-sidebar-route a{color:#bfd0b4;text-decoration:underline;text-underline-offset:3px}.course-sidebar-help{font-size:13px}.course-sidebar-route{padding-bottom:12px}@media (max-height:600px){.course-sidebar{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#434a46 transparent}.course-sidebar-outline{flex:0 0 auto;overflow:visible}.course-plugin{flex-shrink:0;max-height:none}.course-plugin-checkpoints{overflow:visible}}.course-mobile-bar{display:none}.course-outline-sheet{width:min(90vw,360px);padding:36px 22px 20px}.course-outline-sheet .course-sidebar{padding:0;border:0}.chat-prompt{border:1px solid #465341;border-radius:12px;padding:18px;margin:14px 0;background:#222922}.chat-prompt-text{font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8;color:#e0e8db}.chat-prompt-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 22px;margin-top:16px}.chat-prompt-actions :is(button,a){display:inline-flex;align-items:center;gap:7px;font-size:12px;line-height:1.5;min-height:36px;color:#cce3bc;cursor:pointer}.chat-prompt-actions button{padding:7px 10px;border:1px solid #5d7052;border-radius:6px}.chat-prompt-actions button:disabled{opacity:.5;cursor:default}.chat-prompt-actions :is(button,a):focus-visible{outline:2px solid #c5ddb5;outline-offset:4px}.chat-file-preview{display:flex;align-items:center;gap:8px;text-align:left}.chat-file-preview>img{width:36px;height:36px;object-fit:cover;border-radius:4px}.chat-file-preview small{display:block;color:#afbeaa;font-size:10px}.course-file-dialog{max-width:min(90vw,850px)}.course-file-dialog>iframe{width:100%;height:65dvh;border:0}.course-file-dialog pre{max-height:60dvh;overflow:auto;white-space:pre-wrap;font-size:13px}.course-file-dialog .course-file-image{width:100%;height:auto;max-height:65dvh;object-fit:contain}.course-file-dialog a{display:inline-flex;align-items:center;gap:8px;color:#c5ddb5}.chat-transcript .katex-display{overflow-x:auto;overflow-y:hidden;padding:5px 0}.chat-send-status{font-size:12px;color:#b5c5ac}.chat-send-status button{margin-left:10px;color:#d4efc2;text-decoration:underline;cursor:pointer}.chat-access{color:#c4d0bd;line-height:1.8}.chat-access>p{margin-bottom:12px}@media (max-width:700px){.course-portal:has(.course-chat) .course-portal-header{height:60px;padding:12px 16px}.course-portal:has(.course-chat) .course-portal-content{padding-inline:16px}.course-chat{display:flex;flex-direction:column;gap:0}.course-sidebar-desktop{display:none}.course-mobile-bar{display:block;order:-1;flex-shrink:0;border-bottom:1px solid #30392e}.course-mobile-trigger{display:flex;justify-content:space-between;align-items:center;gap:18px;width:100%;min-height:58px;text-align:left;color:#d4e0cc;font-size:13px;padding:8px 0;cursor:pointer}.course-mobile-trigger small{display:block;font-size:11px;color:#a2af9c;margin-top:2px}.chat-conversation{flex:1;padding-bottom:max(8px,env(safe-area-inset-bottom))}.chat-transcript{padding:24px 2px 24px 0;gap:24px}.chat-transcript .is-assistant>div{font-size:15px}.chat-transcript .is-user>div{font-size:14px}.chat-welcome{padding-bottom:0}.chat-welcome h2{font-size:28px;margin-bottom:16px}.chat-welcome p{line-height:1.75;margin-bottom:14px}.chat-composer-input{padding:8px;gap:6px}.chat-composer-input>button{min-width:40px;min-height:42px}.chat-composer textarea{font-size:16px}.chat-composer-note{font-size:10px;padding-top:7px}.chat-suggestions{max-height:128px;padding:9px 10px 0}.chat-suggestions>button{min-height:42px;font-size:12px}.course-sidebar-help,.course-sidebar-module,.course-sidebar-outline li button{min-height:40px;align-items:center}.chat-prompt{padding:14px}.chat-prompt-actions :is(button,a){min-height:44px}}.course-link-address{color:#c0ccba;overflow-wrap:anywhere}.course-artifact-link{appearance:none;background:none;border:0;padding:0;color:inherit;font:inherit;text-align:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.course-artifact-link:disabled{cursor:wait}.course-file-dialog .course-open-link{background:#c5ddb5;color:#182018;border-color:#c5ddb5}