.CourseMarkdown-module__8KTZDq__preview{background:var(--background);width:100%;max-width:none;height:100dvh;max-height:none;color:var(--foreground);border:0;margin:0;padding:0;position:fixed;inset:0}.CourseMarkdown-module__8KTZDq__preview::backdrop{background:var(--background)}.CourseMarkdown-module__8KTZDq__guard{flex-direction:column;height:100%;display:flex}.CourseMarkdown-module__8KTZDq__toolbar{z-index:2;border-bottom:1px solid var(--border);background:var(--card-bg);flex:none;align-items:center;gap:12px;padding:8px 16px;display:flex;position:relative}.CourseMarkdown-module__8KTZDq__title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:14px;overflow:hidden}.CourseMarkdown-module__8KTZDq__zoomControls{flex:none;align-items:center;gap:4px;display:flex}.CourseMarkdown-module__8KTZDq__iconButton{cursor:pointer;border-radius:10px;flex:none;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.CourseMarkdown-module__8KTZDq__iconButton:hover,.CourseMarkdown-module__8KTZDq__iconButton[aria-pressed=true]{background:var(--primary-subtle)}.CourseMarkdown-module__8KTZDq__iconButton:disabled{opacity:.35;cursor:not-allowed}.CourseMarkdown-module__8KTZDq__zoomSelect{border:1px solid var(--border);background-color:var(--background);width:174px;height:40px;color:var(--foreground);font-variant-numeric:tabular-nums;border-radius:10px;padding-left:12px;font-size:14px}.CourseMarkdown-module__8KTZDq__toolbar button:focus-visible,.CourseMarkdown-module__8KTZDq__zoomSelect:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.CourseMarkdown-module__8KTZDq__stage{overscroll-behavior:contain;scrollbar-gutter:stable both-edges;flex:1;min-width:0;min-height:0;padding:24px;overflow:auto}.CourseMarkdown-module__8KTZDq__stage:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.CourseMarkdown-module__8KTZDq__canvas{width:max-content;min-width:100%;min-height:100%;display:flex}.CourseMarkdown-module__8KTZDq__canvas img{object-fit:contain;flex:none;max-width:none;max-height:none;margin:auto;display:block}@media (max-width:640px){.CourseMarkdown-module__8KTZDq__toolbar{flex-wrap:wrap;gap:4px;padding:8px 12px}.CourseMarkdown-module__8KTZDq__title{flex-basis:calc(100% - 48px)}.CourseMarkdown-module__8KTZDq__zoomControls{order:1;justify-content:center;width:100%}.CourseMarkdown-module__8KTZDq__stage{padding:16px}}@media print{.CourseMarkdown-module__8KTZDq__preview{display:none!important}}
.CourseDocumentReader-module__0CQ7ja__reader{background:var(--background);width:100%;max-width:none;height:100dvh;max-height:none;color:var(--foreground);border:0;margin:0;padding:0;position:fixed;inset:0}.CourseDocumentReader-module__0CQ7ja__reader::backdrop{background:var(--background)}.CourseDocumentReader-module__0CQ7ja__guard{flex-direction:column;height:100%;display:flex}.CourseDocumentReader-module__0CQ7ja__toolbar{z-index:2;border-bottom:1px solid var(--border);background:var(--card-bg);flex:none;align-items:center;gap:16px;padding:12px 24px;display:flex;position:relative}.CourseDocumentReader-module__0CQ7ja__fontControls{flex:none;align-items:center;gap:4px;display:flex}.CourseDocumentReader-module__0CQ7ja__fontButton{cursor:pointer;border-radius:10px;flex:none;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.CourseDocumentReader-module__0CQ7ja__fontButton:hover{background:var(--primary-subtle)}.CourseDocumentReader-module__0CQ7ja__fontButton:disabled{opacity:.35;cursor:not-allowed}.CourseDocumentReader-module__0CQ7ja__fontSelect{border:1px solid var(--border);background-color:var(--background);width:100px;height:40px;color:var(--foreground);font-variant-numeric:tabular-nums;border-radius:10px;padding-left:12px;font-size:14px}.CourseDocumentReader-module__0CQ7ja__fontControls :focus-visible{outline:2px solid var(--accent);outline-offset:2px}.CourseDocumentReader-module__0CQ7ja__body{flex:1;min-height:0;display:flex}.CourseDocumentReader-module__0CQ7ja__scroll{overscroll-behavior:contain;flex:1;min-width:0;min-height:0;scroll-padding-top:24px;overflow:auto}.CourseDocumentReader-module__0CQ7ja__document{overflow-wrap:anywhere;width:100%;padding:40px 32px 96px}.CourseDocumentReader-module__0CQ7ja__watermarks{z-index:1;pointer-events:none;color:var(--text-muted);opacity:.16;grid-template-rows:repeat(6,minmax(0,1fr));grid-template-columns:repeat(5,minmax(0,1fr));place-items:center;display:grid;position:absolute;inset:64px 0 0;overflow:hidden}.CourseDocumentReader-module__0CQ7ja__watermarks span{text-align:center;overflow-wrap:anywhere;max-width:min(230px,100% - 20px);font-size:12px;line-height:1.7;transform:rotate(-24deg)}@media (max-width:1279px){.CourseDocumentReader-module__0CQ7ja__watermarks{grid-template-columns:repeat(3,minmax(0,1fr))}.CourseDocumentReader-module__0CQ7ja__watermarks span:nth-child(n+19){display:none}}@media (max-width:640px){.CourseDocumentReader-module__0CQ7ja__toolbar{flex-wrap:wrap;gap:8px;padding:10px 16px}.CourseDocumentReader-module__0CQ7ja__fontControls{order:1;justify-content:center;width:100%}.CourseDocumentReader-module__0CQ7ja__document{padding:24px 20px 64px}.CourseDocumentReader-module__0CQ7ja__watermarks{grid-template-columns:repeat(2,minmax(0,1fr))}.CourseDocumentReader-module__0CQ7ja__watermarks span{font-size:10px}.CourseDocumentReader-module__0CQ7ja__watermarks span:nth-child(n+13){display:none}}@media print{body:has(dialog[data-course-reader][open]) .CourseDocumentReader-module__0CQ7ja__reader{display:none!important}}
.StudyNotes-module__gHUNTW__wrap{gap:16px;display:grid;position:relative}.StudyNotes-module__gHUNTW__wrap[data-layout=inline]{grid-template-columns:minmax(0,1fr)}.StudyNotes-module__gHUNTW__wrap[data-layout=reader]{grid-template-columns:minmax(0,1fr) auto 320px;height:100%;min-height:0}.StudyNotes-module__gHUNTW__wrap[data-layout=reader][data-ai-collapsed=true]{grid-template-columns:minmax(0,1fr) auto 320px}.StudyNotes-module__gHUNTW__wrap[data-collapsed=true]{grid-template-columns:minmax(0,1fr) auto auto}.StudyNotes-module__gHUNTW__source{min-width:0;position:relative}.StudyNotes-module__gHUNTW__highlights{z-index:3;pointer-events:none;position:absolute;inset:0}.StudyNotes-module__gHUNTW__highlight{pointer-events:auto;background:color-mix(in srgb,var(--primary)42%,transparent);cursor:pointer;border:0;border-radius:3px;position:absolute}.StudyNotes-module__gHUNTW__highlight[data-study-kind=question]{background:color-mix(in srgb,var(--accent)32%,transparent)}.StudyNotes-module__gHUNTW__highlight[data-study-open=true]{box-shadow:inset 0 -2px 0 var(--accent)}.StudyNotes-module__gHUNTW__source .course-markdown{-webkit-user-select:text;user-select:text}.StudyNotes-module__gHUNTW__source .course-markdown p{-webkit-user-select:text;user-select:text}.StudyNotes-module__gHUNTW__source .course-markdown li{-webkit-user-select:text;user-select:text}.StudyNotes-module__gHUNTW__source .course-markdown h1{-webkit-user-select:text;user-select:text}.StudyNotes-module__gHUNTW__source .course-markdown h2{-webkit-user-select:text;user-select:text}.StudyNotes-module__gHUNTW__source .course-markdown h3{-webkit-user-select:text;user-select:text}.StudyNotes-module__gHUNTW__source .course-markdown blockquote{-webkit-user-select:text;user-select:text}.StudyNotes-module__gHUNTW__toolbar{z-index:80;border:1px solid var(--border);background:var(--card-bg);box-shadow:var(--shadow-lg);pointer-events:auto;border-radius:12px;gap:4px;padding:4px;display:flex;position:fixed}.StudyNotes-module__gHUNTW__toolbar button,.StudyNotes-module__gHUNTW__filters button,.StudyNotes-module__gHUNTW__askItem,.StudyNotes-module__gHUNTW__composer button,.StudyNotes-module__gHUNTW__reopen,.StudyNotes-module__gHUNTW__mobileLauncher,.StudyNotes-module__gHUNTW__row{cursor:pointer}.StudyNotes-module__gHUNTW__toolbar button{border-radius:8px;align-items:center;gap:4px;min-height:32px;padding:0 8px;font-size:12px;font-weight:700;display:inline-flex}.StudyNotes-module__gHUNTW__toolbar button:hover,.StudyNotes-module__gHUNTW__filters button[aria-pressed=true],.StudyNotes-module__gHUNTW__row[data-active=true]{background:var(--primary-subtle)}.StudyNotes-module__gHUNTW__panel{border:1px solid var(--border);background:var(--card-bg);border-radius:16px;flex-direction:column;align-self:start;gap:10px;min-width:0;max-height:70vh;padding:12px;display:flex;position:sticky;top:88px;overflow:auto}.StudyNotes-module__gHUNTW__wrap[data-layout=reader] .StudyNotes-module__gHUNTW__panel{border-width:0 0 0 1px;border-radius:0;max-height:calc(100dvh - 105px);top:16px}.StudyNotes-module__gHUNTW__panelHead,.StudyNotes-module__gHUNTW__filters,.StudyNotes-module__gHUNTW__toggle,.StudyNotes-module__gHUNTW__composer,.StudyNotes-module__gHUNTW__row{display:flex}.StudyNotes-module__gHUNTW__panelHead{justify-content:space-between;align-items:center}.StudyNotes-module__gHUNTW__filters{flex-wrap:wrap;gap:4px}.StudyNotes-module__gHUNTW__filters button,.StudyNotes-module__gHUNTW__askItem,.StudyNotes-module__gHUNTW__composer button{border-radius:999px;padding:4px 10px;font-size:12px}.StudyNotes-module__gHUNTW__filters button[aria-pressed=true]{font-weight:700}.StudyNotes-module__gHUNTW__toggle{color:var(--text-secondary);align-items:center;gap:6px;font-size:12px}.StudyNotes-module__gHUNTW__askItem{background:var(--primary);color:var(--primary-foreground);justify-content:center;font-weight:700}.StudyNotes-module__gHUNTW__composer{flex-direction:column;gap:6px}.StudyNotes-module__gHUNTW__composer blockquote,.StudyNotes-module__gHUNTW__row strong{color:var(--text-secondary);font-size:12px}.StudyNotes-module__gHUNTW__composer textarea{resize:vertical;border:1px solid var(--border);background:var(--background);border-radius:12px;width:100%;min-height:88px;padding:8px;font-size:14px}.StudyNotes-module__gHUNTW__composerActions{flex-flow:wrap;align-items:center;gap:8px;display:flex}.StudyNotes-module__gHUNTW__composer button{background:var(--foreground);color:var(--background)}.StudyNotes-module__gHUNTW__composerActions button:last-child{color:var(--text-secondary);background:0 0}.StudyNotes-module__gHUNTW__notice,.StudyNotes-module__gHUNTW__formError{border-radius:10px;align-items:center;gap:6px;padding:6px 8px;font-size:12px;font-weight:700;display:flex}.StudyNotes-module__gHUNTW__notice{color:var(--foreground);background:var(--primary-subtle)}.StudyNotes-module__gHUNTW__formError{color:var(--danger);background:var(--danger-bg)}.StudyNotes-module__gHUNTW__list{flex-shrink:0;gap:6px;max-height:30vh;display:grid;overflow:auto}.StudyNotes-module__gHUNTW__row{text-align:left;border-radius:12px;flex-direction:column;align-items:flex-start;gap:2px;padding:8px}.StudyNotes-module__gHUNTW__row span,.StudyNotes-module__gHUNTW__row em{color:var(--text-muted);font-size:11px;font-style:normal}.StudyNotes-module__gHUNTW__row strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.StudyNotes-module__gHUNTW__reopen{border:1px solid var(--border);background:var(--card-bg);min-height:44px;color:var(--foreground);white-space:nowrap;border-radius:12px;align-self:start;align-items:center;gap:4px;padding:8px 12px;font-size:12px;font-weight:700;display:inline-flex;position:sticky;top:88px}.StudyNotes-module__gHUNTW__reopen:hover{background:var(--primary-subtle)}.StudyNotes-module__gHUNTW__reopen:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.StudyNotes-module__gHUNTW__wrap[data-layout=reader] .StudyNotes-module__gHUNTW__reopen{top:16px}.StudyNotes-module__gHUNTW__mobileLauncher,.StudyNotes-module__gHUNTW__aiLauncher{display:none}.StudyNotes-module__gHUNTW__aiDock{border:1px solid var(--border);background:var(--card-bg);border-radius:16px;flex-direction:column;align-self:start;gap:8px;min-width:280px;max-width:320px;max-height:70vh;padding:12px;display:flex;position:sticky;top:88px;overflow:auto}.StudyNotes-module__gHUNTW__wrap[data-layout=reader] .StudyNotes-module__gHUNTW__aiDock{max-height:calc(100dvh - 105px);top:16px}.StudyNotes-module__gHUNTW__aiHide,.StudyNotes-module__gHUNTW__aiReopen{cursor:pointer;border-radius:999px;align-items:center;gap:4px;min-height:36px;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.StudyNotes-module__gHUNTW__aiReopen{border:1px solid var(--border);background:var(--card-bg);align-self:start;position:sticky;top:136px}.StudyNotes-module__gHUNTW__ai{flex-direction:column;gap:8px;min-height:280px;display:flex}.StudyNotes-module__gHUNTW__aiHead,.StudyNotes-module__gHUNTW__aiControls,.StudyNotes-module__gHUNTW__aiNotice{align-items:center;gap:6px;display:flex}.StudyNotes-module__gHUNTW__aiHead{justify-content:space-between;font-size:13px}.StudyNotes-module__gHUNTW__aiHead span,.StudyNotes-module__gHUNTW__aiStatus,.StudyNotes-module__gHUNTW__aiMeta{color:var(--text-muted);font-size:11px}.StudyNotes-module__gHUNTW__aiThread{flex-direction:column;gap:8px;min-height:120px;max-height:34vh;display:flex;overflow:auto}.StudyNotes-module__gHUNTW__aiMessage{background:var(--background);border-radius:12px;padding:8px;font-size:13px}.StudyNotes-module__gHUNTW__aiMessage[data-role=user]{background:var(--primary-subtle);align-self:end;max-width:92%}.StudyNotes-module__gHUNTW__aiComposer{flex-direction:column;gap:6px;display:flex}.StudyNotes-module__gHUNTW__aiComposer blockquote,.StudyNotes-module__gHUNTW__aiComposer label{color:var(--text-secondary);font-size:12px}.StudyNotes-module__gHUNTW__aiComposer textarea{resize:vertical;border:1px solid var(--border);background:var(--background);border-radius:12px;width:100%;min-height:72px;padding:8px;font-size:14px}.StudyNotes-module__gHUNTW__aiControls{justify-content:flex-end}.StudyNotes-module__gHUNTW__aiControls button,.StudyNotes-module__gHUNTW__aiHide{background:var(--foreground);color:var(--background)}.StudyNotes-module__gHUNTW__aiNotice{background:var(--primary-subtle);border-radius:10px;padding:6px 8px;font-size:12px;font-weight:700}.StudyNotes-module__gHUNTW__aiError{background:var(--danger-bg);color:var(--danger);border-radius:10px;padding:6px 8px;font-size:12px}.StudyNotes-module__gHUNTW__aiSheet{display:none}.StudyNotes-module__gHUNTW__inlineNotice{background:var(--primary-subtle);border-radius:10px;margin-top:12px;padding:6px 8px;font-size:12px;font-weight:700;display:inline-flex}.StudyNotes-module__gHUNTW__mobileOnly,.StudyNotes-module__gHUNTW__sheet{display:none}@media (min-width:801px){.StudyNotes-module__gHUNTW__wrap[data-layout=inline]:not([data-collapsed=true])[data-ai-collapsed=true]{grid-template-columns:minmax(0,1fr) auto 300px}.StudyNotes-module__gHUNTW__wrap[data-layout=inline][data-collapsed=true]:not([data-ai-collapsed=true]){grid-template-columns:minmax(0,1fr) 300px auto}.StudyNotes-module__gHUNTW__wrap[data-layout=reader][data-ai-collapsed=true]{grid-template-columns:minmax(0,1fr) auto 300px}.StudyNotes-module__gHUNTW__wrap[data-collapsed=true][data-ai-collapsed=true]{grid-template-columns:minmax(0,1fr) auto auto}.StudyNotes-module__gHUNTW__wrap:not([data-ai-collapsed=true]) .StudyNotes-module__gHUNTW__panel{display:none}}@media (min-width:1280px){.StudyNotes-module__gHUNTW__wrap[data-layout=inline]:not([data-collapsed=true]):not([data-ai-collapsed=true]),.StudyNotes-module__gHUNTW__wrap[data-layout=reader]:not([data-ai-collapsed=true]){grid-template-columns:minmax(0,1fr) 300px 300px}.StudyNotes-module__gHUNTW__wrap:not([data-ai-collapsed=true]) .StudyNotes-module__gHUNTW__panel{display:flex}}@media (max-width:800px){.StudyNotes-module__gHUNTW__wrap[data-layout=reader],.StudyNotes-module__gHUNTW__wrap[data-layout=inline]{grid-template-columns:minmax(0,1fr)}.StudyNotes-module__gHUNTW__panel,.StudyNotes-module__gHUNTW__reopen,.StudyNotes-module__gHUNTW__aiDock,.StudyNotes-module__gHUNTW__aiReopen{display:none}.StudyNotes-module__gHUNTW__sheet{z-index:100;background:color-mix(in srgb,var(--foreground)20%,transparent);align-items:flex-end;padding:8px;display:flex;position:fixed;inset:0}.StudyNotes-module__gHUNTW__sheet .StudyNotes-module__gHUNTW__panel{width:100%;max-height:85dvh;box-shadow:var(--shadow-xl);border-radius:16px;align-self:auto;display:flex;position:static;overflow:auto}.StudyNotes-module__gHUNTW__mobileLauncher,.StudyNotes-module__gHUNTW__mobileOnly,.StudyNotes-module__gHUNTW__aiLauncher{display:inline-flex}.StudyNotes-module__gHUNTW__aiSheet{z-index:95;border:1px solid var(--border);background:var(--card-bg);max-height:min(52dvh,420px);box-shadow:var(--shadow-xl);border-radius:16px;flex-direction:column;gap:8px;padding:12px;display:flex;position:fixed;bottom:12px;left:12px;right:12px;overflow:auto}.StudyNotes-module__gHUNTW__aiLauncher{background:var(--foreground);color:var(--background);border-radius:999px;align-items:center;gap:4px;padding:8px 12px;font-size:12px;font-weight:700}.StudyNotes-module__gHUNTW__desktopOnly{display:none}.StudyNotes-module__gHUNTW__mobileLaunchers{z-index:30;justify-content:flex-end;gap:8px;margin-top:12px;display:flex;position:sticky;bottom:12px}.StudyNotes-module__gHUNTW__mobileLauncher{background:var(--primary);color:var(--primary-foreground);border-radius:999px;padding:8px 14px;font-size:13px;font-weight:700}}
.CourseItemStudyPanel-module__Ky7Mha__study{z-index:2;scroll-margin-top:76px;position:relative;container-type:inline-size}.CourseItemStudyPanel-module__Ky7Mha__grid{align-items:start;gap:12px;margin-top:12px;display:grid}.CourseItemStudyPanel-module__Ky7Mha__video{width:100%;min-width:0}.CourseItemStudyPanel-module__Ky7Mha__files{border:1px solid var(--border-strong);background:var(--card-bg);border-radius:16px;min-width:0;padding:12px}.CourseItemStudyPanel-module__Ky7Mha__legend{color:var(--text-secondary);flex-wrap:wrap;gap:6px 14px;margin:10px 0;padding:0;font-size:12px;list-style:none;display:flex}.CourseItemStudyPanel-module__Ky7Mha__legend li{align-items:center;gap:6px;display:flex}.CourseItemStudyPanel-module__Ky7Mha__topicNumber{border:2px var(--topic-border,solid)var(--topic-color,var(--border-strong));width:19px;height:19px;color:var(--foreground);background:color-mix(in srgb,var(--topic-color,var(--border-strong))12%,var(--card-bg));border-radius:5px;flex:none;justify-content:center;align-items:center;font-size:10px;line-height:1;display:inline-flex}.CourseItemStudyPanel-module__Ky7Mha__fileList{gap:6px;margin-top:10px;display:grid}.CourseItemStudyPanel-module__Ky7Mha__file{border:1px solid var(--border);background:var(--background);border-radius:8px;align-items:center;gap:6px;min-width:0;min-height:40px;padding:5px 7px;display:flex}.CourseItemStudyPanel-module__Ky7Mha__file[data-grouped=true]{border:1px var(--topic-border)var(--topic-color);border-left-width:3px}.CourseItemStudyPanel-module__Ky7Mha__file:hover{background:var(--primary-subtle)}.CourseItemStudyPanel-module__Ky7Mha__document{border:1px solid var(--border);background:var(--background);overflow-wrap:anywhere;border-radius:16px;grid-column:1/-1;min-width:0;padding:16px}.CourseItemStudyPanel-module__Ky7Mha__study button:focus-visible,.CourseItemStudyPanel-module__Ky7Mha__study a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}@container (min-width:680px){.CourseItemStudyPanel-module__Ky7Mha__study[data-expanded=true] .CourseItemStudyPanel-module__Ky7Mha__grid[data-with-video=true][data-with-files=true]{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}.CourseItemStudyPanel-module__Ky7Mha__study[data-expanded=true] .CourseItemStudyPanel-module__Ky7Mha__grid[data-with-video=true][data-with-files=true][data-many-files=true]{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.CourseItemStudyPanel-module__Ky7Mha__fileList{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}.CourseItemStudyPanel-module__Ky7Mha__file{min-height:32px}}@media print{.CourseItemStudyPanel-module__Ky7Mha__document{display:none!important}}
