.note-document-header .doc-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px;margin-left:auto}.note-document-header .doc-actions span{display:inline;color:inherit;font-size:inherit}.note-document-header .doc-action{display:flex;align-items:center;gap:7px;height:40px;padding:0 14px;border:1px solid #dce2eb;border-radius:10px;background:#fff;color:#374151;font-size:13.5px;font-weight:700;line-height:1;cursor:pointer;white-space:nowrap;transition:border-color .16s,background .16s,color .16s}.note-document-header .doc-action i{font-size:18px}.note-document-header .doc-action:hover:not(:disabled){border-color:#c4cfdf;background:#f5f7fa;color:#1d4ed8}.note-document-header .doc-action:disabled{opacity:.5;cursor:not-allowed}.note-document-header .doc-action-turn{border-color:#c9d7f5;background:#eef3ff;color:#2f57b8}.note-document-header .doc-action-turn:hover:not(:disabled){border-color:#9fb9ef;background:#e3ebff;color:#22459c}.note-document-header .doc-turn-into[data-open] .doc-action-turn{border-color:#4778ee;background:#e3ebff;color:#22459c;box-shadow:0 0 0 3px #4778ee26}.doc-turn-into{position:relative}.doc-turn-menu{position:fixed;z-index:60;width:264px;padding:8px;transform:translate(-50%);border:1px solid #e2e7ef;border-radius:14px;background:#fff;box-shadow:0 18px 40px #1e293b1f,0 2px 6px #1e293b14;animation:doc-turn-in .16s ease-out}@keyframes doc-turn-in{0%{opacity:0;transform:translate(-50%,-6px)}to{opacity:1;transform:translate(-50%)}}.doc-turn-title{margin:4px 8px 8px;color:#8a94a6;font-size:12.5px;font-weight:600}.doc-turn-menu button{display:flex;align-items:center;gap:11px;width:100%;padding:9px 10px;border:0;border-radius:9px;background:transparent;color:#1f2937;font-size:14px;font-weight:600;text-align:left;cursor:pointer}.doc-turn-menu button:hover{background:#f1f5fd}.doc-turn-menu button img{width:22px;height:22px;flex:0 0 22px;object-fit:contain}.doc-turn-menu button span{display:inline;color:inherit;font-size:inherit}.doc-turn-sep{height:1px;margin:6px 8px;background:#eceff4}[data-theme=dark] .note-document-header .doc-action{border-color:#3a3a3a;background:#222;color:#d9d9d9}[data-theme=dark] .note-document-header .doc-action:hover:not(:disabled){border-color:#4a4a4a;background:#2b2b2b;color:#8ab4ff}[data-theme=dark] .note-document-header .doc-action-turn{border-color:#33507f;background:#1b2a45;color:#9dc0ff}[data-theme=dark] .note-document-header .doc-action-turn:hover:not(:disabled){border-color:#41639b;background:#213353;color:#b6d1ff}[data-theme=dark] .doc-turn-menu{border-color:#333;background:#1c1c1c;box-shadow:0 18px 40px #0009}[data-theme=dark] .doc-turn-title{color:#8b93a1}[data-theme=dark] .doc-turn-menu button{color:#e6e8ec}[data-theme=dark] .doc-turn-menu button:hover{background:#272727}[data-theme=dark] .doc-turn-sep{background:#2e2e2e}.app-shell.study-course-open>main{padding:0;background:#fff}.study-course-page{--sc-accent:#4778ee}.study-course-page .note-document-identity h1{margin:0;padding:3px 0;color:#202939;font-size:18px;font-weight:800;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-theme=dark] .study-course-page .note-document-identity h1{color:#f5f5f5}.sc-body{display:grid;grid-template-columns:302px minmax(0,1fr);gap:20px;height:calc(100vh - var(--global-header-height,0px) - 70px);min-height:0;padding:20px clamp(16px,3vw,36px) 24px;background:#fbfaf6}[data-theme=dark] .sc-body{background:#121212}.study-course-page.is-state .sc-body{grid-template-columns:minmax(0,1fr)}.sc-outline[hidden]{display:none}.sc-outline{display:flex;flex-direction:column;min-height:0;padding:14px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}.sc-outline-head{margin-bottom:8px;color:#171b27;font-size:14px;font-weight:800}.sc-progress-track{height:6px;margin-bottom:6px;border-radius:4px;background:#eceef2;overflow:hidden}.sc-progress-track>span{display:block;height:100%;border-radius:4px;background:linear-gradient(135deg,var(--sc-accent),#7da2ff);transition:width .45s cubic-bezier(.22,.9,.3,1)}.sc-progress-label{margin:0 0 12px;color:#7b8394;font-size:11.5px;font-weight:650}.sc-outline-scroll{flex:1;min-height:0;overflow-y:auto;scrollbar-color:#d8dadd transparent;scrollbar-width:thin}.sc-outline-scroll::-webkit-scrollbar{width:8px}.sc-outline-scroll::-webkit-scrollbar-thumb{border:2px solid #fff;border-radius:999px;background:#d8dadd}.sc-module{margin-bottom:9px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;overflow:hidden}.sc-module:hover{border-color:#cbd7e9}.sc-module-head{display:flex;align-items:center;gap:8px;width:100%;padding:10px 11px;border:0;background:transparent;text-align:left;cursor:pointer}.sc-module-chevron{flex:0 0 16px;color:#98a2b3;font-size:13px;transition:transform .25s ease}.sc-module.is-open .sc-module-chevron{transform:rotate(90deg)}.sc-module-copy{flex:1;min-width:0}.sc-module-copy strong{display:block;color:#171b27;font-size:13.5px;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-module-copy small{color:#7b8394;font-size:11.5px;font-weight:600}.sc-module-lessons{display:grid;grid-template-rows:0fr;transition:grid-template-rows .28s cubic-bezier(.22,.9,.3,1)}.sc-module.is-open .sc-module-lessons{grid-template-rows:1fr}.sc-module-lessons>div{min-height:0;overflow:hidden}.sc-lesson-tile{display:block;width:100%;padding:9px 11px;border:0;border-top:1px solid #f0f1f4;background:transparent;text-align:left;cursor:pointer;transition:background .15s,padding-left .15s}.sc-lesson-tile:hover{background:#f6f7f9;padding-left:14px}.sc-lesson-tile.is-selected{background:#eef3ff}.sc-lesson-tile.is-selected:hover{padding-left:11px}.sc-lesson-tile strong{display:block;color:#2b3140;font-size:13px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-lesson-status{color:#8a94a6;font-size:11.5px;font-weight:600}.sc-lesson-status.is-done{color:#2e9e5b}.sc-lesson{display:flex;flex-direction:column;min-width:0;min-height:0;padding:18px 20px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}.sc-lesson-head{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap}.sc-lesson-head h2{flex:1;min-width:160px;margin:0;color:#171b27;font-size:21px;font-weight:750;letter-spacing:-.012em}.sc-complete{display:flex;align-items:center;gap:7px;height:36px;padding:0 13px;border:1px solid #dce2eb;border-radius:10px;background:#fff;color:#374151;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap}.sc-complete:hover{border-color:#c4cfdf;background:#f5f7fa}.sc-complete.is-done{border-color:#a9dcbf;background:#e9f8ef;color:#1f7a45}.sc-tabs{display:flex;gap:8px;margin:14px 0 0}.sc-tab{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;padding:9px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;color:#5a6478;font-size:13px;font-weight:700;cursor:pointer;transition:background .18s,border-color .18s,color .18s}.sc-tab:hover{border-color:#c9d7f5;background:#f7f9ff}.sc-tab.is-active{border-color:#c9d7f5;background:#eef3ff;color:#2f57b8}.sc-tab-content{flex:1;min-height:0;margin-top:14px;overflow-y:auto;scrollbar-color:#d8dadd transparent;scrollbar-width:thin}.sc-tab-content::-webkit-scrollbar{width:8px}.sc-tab-content::-webkit-scrollbar-thumb{border:2px solid #fff;border-radius:999px;background:#d8dadd}.sc-prose{color:#3f4758;font-size:14.5px;line-height:1.62}.sc-prose h1,.sc-prose h2,.sc-prose h3{color:#171b27;font-weight:700;letter-spacing:-.012em}.sc-prose h1{margin:0 0 18px;font-size:26px;line-height:1.2}.sc-prose h2{margin:24px 0 12px;font-size:21px;line-height:1.24}.sc-prose h3{margin:20px 0 10px;font-size:17.5px;line-height:1.28}.sc-prose p{margin:0 0 13px}.sc-prose ul,.sc-prose ol{margin:6px 0 16px;padding-left:26px}.sc-prose li{margin:4px 0}.sc-prose li::marker{color:#c8ccd4}.sc-prose hr{height:1px;margin:28px 0;border:0;background:#dfe2e7}.sc-prose blockquote{margin:16px 0;padding:9px 16px;border-left:3px solid var(--sc-accent);border-radius:0 6px 6px 0;background:#f7f8fa;color:#4b5565}.sc-prose code{padding:2px 5px;border-radius:4px;background:#f0f1f3;color:#252a35;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9em}.sc-prose pre{margin:18px 0;padding:14px 16px;overflow:auto;border:1px solid #d8dde5;border-radius:8px;background:#f6f7f9;white-space:pre-wrap}.sc-prose pre code{padding:0;background:transparent;font-size:13px}.sc-prose table{width:100%;border-collapse:collapse;font-size:12.5px}.sc-prose .note-table-wrap{margin:22px 0;overflow-x:auto;border:1px solid #cfd3da;border-radius:6px}.sc-prose th,.sc-prose td{min-width:140px;padding:9px;border-right:1px solid #cfd3da;border-bottom:1px solid #cfd3da;text-align:left;vertical-align:top}.sc-prose th{background:#e9e9ea;color:#292d36;font-weight:700}.sc-list-title{margin:0 0 10px;color:#171b27;font-size:14px;font-weight:800}.sc-list{margin:0;padding-left:22px;color:#3f4758;font-size:14.5px;line-height:1.7}.sc-list li{margin-bottom:7px}.sc-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;height:100%;padding:40px 20px;color:#7b8394;text-align:center}.sc-state h2{margin:0;color:#171b27;font-size:18px}.sc-state p{margin:0;max-width:360px;font-size:14px;line-height:1.5}.sc-state .sc-state-glyph{font-size:32px}.sc-retry{padding:10px 18px;border:0;border-radius:10px;background:#4778ee;color:#fff;font-size:14px;font-weight:750;cursor:pointer}.sc-retry:hover{background:#3a67d8}[data-theme=dark] .sc-outline,[data-theme=dark] .sc-lesson{border-color:#2e2e2e;background:#181818}[data-theme=dark] .sc-outline-head,[data-theme=dark] .sc-module-copy strong,[data-theme=dark] .sc-lesson-head h2,[data-theme=dark] .sc-list-title,[data-theme=dark] .sc-state h2{color:#f2f4f8}[data-theme=dark] .sc-progress-track{background:#2a2a2a}[data-theme=dark] .sc-progress-label,[data-theme=dark] .sc-module-copy small,[data-theme=dark] .sc-lesson-status,[data-theme=dark] .sc-state{color:#8b93a1}[data-theme=dark] .sc-outline-scroll::-webkit-scrollbar-thumb,[data-theme=dark] .sc-tab-content::-webkit-scrollbar-thumb{border-color:#181818;background:#3a3a3a}[data-theme=dark] .sc-module{border-color:#2e2e2e;background:#1c1c1c}[data-theme=dark] .sc-module:hover{border-color:#3d3d3d}[data-theme=dark] .sc-lesson-tile{border-top-color:#262626}[data-theme=dark] .sc-lesson-tile strong{color:#d6d9e0}[data-theme=dark] .sc-lesson-tile:hover{background:#232323}[data-theme=dark] .sc-lesson-tile.is-selected{background:#1b2a45}[data-theme=dark] .sc-complete{border-color:#3a3a3a;background:#222;color:#d9d9d9}[data-theme=dark] .sc-complete:hover{border-color:#4a4a4a;background:#2b2b2b}[data-theme=dark] .sc-complete.is-done{border-color:#2c5c40;background:#14301f;color:#7ddba4}[data-theme=dark] .sc-tab{border-color:#2e2e2e;background:#1c1c1c;color:#a5adba}[data-theme=dark] .sc-tab:hover{border-color:#3d3d3d;background:#232323}[data-theme=dark] .sc-tab.is-active{border-color:#33507f;background:#1b2a45;color:#9dc0ff}[data-theme=dark] .sc-prose,[data-theme=dark] .sc-list{color:#d6d9e0}[data-theme=dark] .sc-prose h1,[data-theme=dark] .sc-prose h2,[data-theme=dark] .sc-prose h3{color:#f2f4f8}[data-theme=dark] .sc-prose li::marker{color:#5c6270}[data-theme=dark] .sc-prose hr{background:#333}[data-theme=dark] .sc-prose blockquote{background:#1e1e1e;color:#b9bfca}[data-theme=dark] .sc-prose code{background:#262626;color:#e6e8ec}[data-theme=dark] .sc-prose pre{border-color:#333;background:#1a1a1a;color:#e6e8ec}[data-theme=dark] .sc-prose .note-table-wrap{border-color:#3a3a3a}[data-theme=dark] .sc-prose th,[data-theme=dark] .sc-prose td{border-color:#333}[data-theme=dark] .sc-prose th{background:#242424;color:#e6e8ec}@media(max-width:1000px){.sc-body{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);height:auto;min-height:calc(100vh - var(--global-header-height,0px) - 70px);overflow:auto}.sc-outline{max-height:280px}.sc-lesson{min-height:60vh}}@media(max-width:700px){.note-document-header .doc-action span{display:none}.note-document-header .doc-action{padding:0 11px}.doc-turn-menu{width:min(264px,calc(100vw - 24px))}.sc-body{padding:12px 10px 18px}}@media(prefers-reduced-motion:reduce){.doc-turn-menu,.sc-progress-track>span,.sc-module-lessons{animation:none;transition:none}}
