@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");:root{--brand-indigo:#3159e8;--brand-violet:#6d5efc;--brand-gradient:linear-gradient(135deg,var(--brand-indigo) 0%,var(--brand-violet) 100%);--brand-mint:#1fa77a;--brand-amber:#f2a33a;--brand-night:#141a2e;--blue:#3159e8;--ink:#20283d;--muted:#778095;--line:#e8ebf2;--bg:#f7f8fc;--sidebar:#fff;--radius:14px}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font-family:DM Sans,sans-serif;font-size:16px;line-height:1.5}button,input,select,textarea{font:inherit}button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;background:none;color:inherit}button:disabled{opacity:.4;cursor:not-allowed}button:hover:not(:disabled){filter:brightness(.97)}[contenteditable]:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid #91a9ff;outline-offset:3px}input,select,textarea{border:1px solid #dce1ec;border-radius:8px;padding:10px 12px;background:#fff;color:var(--ink);max-width:100%}textarea{resize:vertical;min-height:86px}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,p{margin:0}.brand,h1,h2,h3{font-family:Manrope,sans-serif}h1{font-size:32px;font-weight:800;letter-spacing:-1.1px;line-height:1.25}h2{font-size:19px;letter-spacing:-.4px}h2,h3{font-weight:750}h3{font-size:16px}p{color:var(--muted)}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;top:0;bottom:0;left:0;width:var(--sidebar-width,266px);background:var(--sidebar);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:32px 18px 20px;z-index:20;transition:width .22s ease,padding .22s ease}.brand{display:flex;align-items:center;font-size:28px;font-weight:800;padding:0 12px;gap:4px}.brand-text{min-width:0}.brand-mark{margin-right:10px;box-shadow:0 6px 14px -6px #3159e8aa}.lit-mark{display:inline-grid;place-items:center;flex-shrink:0;border-radius:29%;background:var(--brand-gradient);color:#fff}.lit-mark svg{display:block;width:100%;height:100%}.lit-word{font-family:Manrope,sans-serif;font-weight:800;letter-spacing:-.045em;color:var(--ink);line-height:1;white-space:nowrap}.lit-word-it{color:var(--blue)}.lit-logo{display:inline-flex;align-items:center;gap:.34em}.workspace-label{font-size:10px;letter-spacing:1.5px;color:#929aab;margin:17px 12px 33px}.main-nav{display:grid;grid-gap:6px;gap:6px}.main-nav button{padding:12px 13px;text-align:left;justify-content:flex-start;border-radius:8px;color:#70798d;font-size:14px;font-weight:550}.main-nav .selected{background:#edf1ff;color:var(--blue)}.nav-count{margin-left:auto;background:#e3e9ff;padding:0 7px;border-radius:5px;font-size:12px}.tree-heading{display:flex;align-items:center;justify-content:space-between;color:#9099ad;font-size:11px;letter-spacing:1.1px;font-weight:600;padding:0 10px;margin-top:30px;margin-bottom:10px}.icon{padding:5px;border-radius:6px;flex-shrink:0}.icon:hover{background:#eef1f7}.tree{overflow-y:auto;flex:1 1}.course-tree{display:flex;align-items:center;gap:5px;padding:10px 5px;border-radius:7px;font-size:14px}.course-tree.current{background:#f5f7fd}.tree-title{padding:0;justify-content:flex-start;text-align:left;flex:1 1;min-width:0;font-weight:600;overflow-wrap:anywhere}.course-tree small{color:#969eb0;font-size:11px}.course-dot{width:7px;height:7px;border-radius:50%;margin-right:3px;flex-shrink:0}.course-dot.blue{background:#4568eb}.course-dot.purple{background:#9360de}.course-dot.orange{background:#e99b41}.course-dot.green{background:#42a886}.group-tree{margin-left:23px;border-left:1px solid #edf0f6;padding-left:7px}.group-title{justify-content:flex-start;padding:9px 2px;font-size:13px;color:#6d778c;text-align:left;gap:6px;width:100%}.lesson-tree{display:flex;align-items:center;gap:8px;margin-left:12px;padding:8px 5px;border-radius:6px}.lesson-tree.current{background:#edf1ff;color:var(--blue)}.lesson-tree>button:last-of-type{font-size:12px;line-height:1.5;text-align:left;padding:0;justify-content:flex-start;flex:1 1}.lesson-check,.tree-check{border:1.5px solid #d3d9e5;border-radius:4px;width:15px;height:15px;padding:0;flex-shrink:0;color:#8c95a7}.checked{background:var(--blue);border-color:var(--blue);color:white}.active-dot{width:5px;height:5px;border-radius:50%;background:#e8a855}.sidebar-empty{font-size:13px;padding:12px;line-height:1.8}.sidebar-bottom{border-top:1px solid var(--line);padding-top:15px;margin-top:15px}.sidebar-bottom>button{font-size:14px;color:#737e92;padding:9px 12px;justify-content:flex-start}.local-note{display:flex;gap:10px;padding:17px 11px 0;font-size:13px;color:#667087}.local-note>span{height:8px;width:8px;border-radius:50%;background:#63b58c;margin-top:5px}.local-note small{display:block;font-size:11px;margin-top:3px;color:#969dae}.workspace{margin-left:var(--sidebar-width,266px);flex:1 1;min-width:0;transition:margin-left .22s ease}.topbar{height:76px;border-bottom:1px solid var(--line);background:#ffffffa8;justify-content:space-between;gap:18px;padding:0 40px}.breadcrumb,.topbar{display:flex;align-items:center}.breadcrumb{gap:12px;font-size:13px;color:#8a93a5;min-width:0}.breadcrumb strong{font-weight:550;color:#5e687d}.save-state{display:flex;align-items:center;gap:7px;font-size:11px;color:#8c96aa;white-space:nowrap}.save-state svg{color:#66a88b}main{max-width:1500px;padding:39px 40px 50px;margin:auto;min-height:calc(100vh - 130px)}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:30px}.eyebrow{font-size:10px;letter-spacing:1.8px;color:var(--blue);font-weight:650;margin-bottom:9px}.page-heading p{font-size:14px;margin-top:11px;max-width:600px;line-height:1.8}.actions{display:flex;gap:10px;flex-wrap:wrap;flex-shrink:0}.primary,.secondary{border-radius:8px;padding:10px 16px;font-size:13px;font-weight:600;white-space:nowrap;min-height:41px}.primary{background:var(--blue);color:white;box-shadow:0 3px 6px #3159e81c}.secondary{background:white;border:1px solid #dfe4ef;color:#58647b}.text-button{color:var(--blue);font-size:13px;font-weight:550;padding:0;line-height:1.7}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:17px;gap:17px;margin-bottom:34px}.stat{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px 22px 19px;position:relative;min-height:155px}.stat-icon{position:absolute;top:22px;right:19px;border-radius:9px;width:35px;height:35px;display:flex;align-items:center;justify-content:center}.course-symbol.blue,.stat-icon.blue{background:#edf1ff;color:#4a68dc}.course-symbol.green,.stat-icon.green{background:#eaf7f1;color:#42a47c}.course-symbol.orange,.stat-icon.orange{background:#fff4e8;color:#dc9a4e}.course-symbol.purple,.stat-icon.purple{background:#f3edff;color:#9460d7}.stat>span:not(.stat-icon){font-size:12px;color:#7c869c;display:block;margin-top:1px;padding-right:27px}.stat strong{font-family:Manrope,sans-serif;display:block;font-size:32px;font-weight:800;letter-spacing:-1px;margin-top:15px;line-height:1.3}.stat strong small{font-family:DM Sans,sans-serif;font-size:13px;color:#9ba3b4;font-weight:400;letter-spacing:0}.stat p{font-size:11px;margin-top:8px}.stat .meter{margin-top:16px}.meter{height:5px;background:#edf0f7;border-radius:20px;overflow:hidden}.meter>span{display:block;height:100%;background:var(--blue);border-radius:20px;transition:width .3s}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 20px}.section-heading h2>span{display:inline-block;background:#e9edf6;color:#8d98ac;border-radius:5px;font:12px DM Sans,sans-serif;margin-left:8px;padding:2px 7px;vertical-align:middle}.section-heading p{font-size:12px;margin-top:4px}.courses-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:21px;gap:21px}.course-card{border:1px solid var(--line);background:#fff;border-radius:var(--radius);padding:23px;transition:box-shadow .2s,transform .2s}.course-card:hover{box-shadow:0 6px 25px #26345c08;transform:translateY(-2px)}.card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.course-symbol{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:13px}.soft-tag{font-size:10px;color:#8a95a8;background:#f5f7fb;padding:5px 9px;border-radius:5px}.card-title{display:block;text-align:left;font-family:Manrope,sans-serif;font-size:19px;font-weight:750;padding:0;line-height:1.4;overflow-wrap:anywhere}.course-card>p{font-size:12px;line-height:1.8;margin-top:9px;min-height:44px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-meta{display:flex;gap:17px;margin:18px 0 24px;font-size:11px;color:#8a95a8}.card-meta>span{display:flex;gap:6px;align-items:center}.progress-label{display:flex;justify-content:space-between;font-size:11px;margin-bottom:9px;color:#8b95a9}.progress-label strong{color:var(--blue);font-weight:650}.card-footer{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#9aa3b6;border-top:1px solid #eff1f6;padding-top:15px;margin-top:20px;gap:8px}.card-footer .text-button{font-size:11px}.dashboard-bottom{display:grid;grid-template-columns:1.1fr 1fr;grid-gap:22px;gap:22px;margin-top:30px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:23px;margin-bottom:22px}.panel h2{font-size:16px}.subtle{font-size:10px;color:#99a2b5;letter-spacing:.5px;white-space:nowrap}.next-row{display:flex;width:100%;text-align:left;justify-content:flex-start;padding:16px 0;border-top:1px solid #f0f2f7;gap:13px}.step-number{font-size:12px;color:#97a6ce;background:#f4f6fc;border-radius:7px;width:33px;height:33px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.next-row>span:nth-child(2){flex:1 1}.next-row strong{font-weight:550;font-size:13px}.next-row small{display:block;font-size:10px;color:#9ba5b7;margin-top:3px}.priority{font-size:10px;padding:4px 8px;border-radius:5px;white-space:nowrap}.priority.alta{background:#fff3eb;color:#cd8b4b}.priority.media{background:#edf1ff;color:#6b83d4}.priority.baixa{background:#eff5f3;color:#729b8e}.bar-chart{display:flex;gap:8px;height:139px;padding-top:15px;padding-bottom:22px;border-bottom:1px solid #eef1f7}.bar-column{position:relative;flex:1 1;display:flex;align-items:flex-end;justify-content:center}.bar-column>span{width:100%;max-width:21px;background:#eef1f9;border-radius:4px 4px 0 0}.bar-column>span.filled{background:#7392f4}.bar-column small{position:absolute;bottom:-20px;font-size:9px;white-space:nowrap;color:#9ca5b8}.chart-caption{font-size:10px;margin-top:12px}.panel-empty{font-size:13px;color:var(--muted);padding:32px 0}.welcome{border:1px dashed #ccd6ee;background:linear-gradient(130deg,#f0f4ff,#fff);border-radius:16px;padding:40px;text-align:center}.welcome-icon{display:inline-flex;background:#e7edff;color:var(--blue);border-radius:20px;padding:18px;margin-bottom:18px}.welcome h2{font-size:25px;margin-bottom:12px}.welcome p{font-size:14px;max-width:520px;margin:0 auto 24px}.welcome .actions{justify-content:center}.welcome small{display:block;color:#94a0b7;font-size:12px;margin-top:20px}.workspace-footer{padding:17px 40px;border-top:1px solid var(--line);font-size:10px;color:#9fa8ba;justify-content:space-between}.alert,.workspace-footer{display:flex;align-items:center}.alert{gap:12px;border-radius:9px;font-size:14px;padding:13px 17px;margin-bottom:20px;overflow-wrap:anywhere}.alert>span:first-child{flex:1 1}.error{background:#fff0f1;color:#a6424d;border:1px solid #f4d9dc}.success{background:#e9f8f1;color:#358569}.warning{background:#fff8e9;color:#9a732d;border:1px solid #f4e9cd}.danger{color:#c1626e!important}.muted{color:var(--muted)}.course-overview{display:flex;align-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;padding:25px 28px;gap:40px;margin-bottom:22px}.course-overview>div:first-child{flex:1 1}.course-overview span{font-size:11px;color:#929db2;display:block}.course-overview strong{font-size:30px;display:block;margin:7px 0;font-family:Manrope;font-weight:750}.course-overview small{font-size:12px;font-family:DM Sans;color:#8e9ab0;font-weight:400;margin-left:7px}.course-settings{margin-bottom:30px;font-size:13px;color:#7c88a0}.course-settings summary{cursor:pointer;padding:5px 0}.course-settings>.form-grid{padding:15px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:15px;gap:15px}.full{grid-column:1/-1}.filters{display:flex;gap:10px;margin-bottom:22px}.filters label{display:flex;align-items:center;gap:8px;border:1px solid #dfe4ef;background:#fff;padding:0 12px;border-radius:8px;flex:1 1;color:#9ba6bc}.filters input{border:0;background:none;padding-left:0;width:100%;font-size:13px}.filters select{font-size:12px}.group-panel{border:1px solid var(--line);border-radius:12px;background:#fff;margin-bottom:18px;overflow:hidden}.group-header{display:flex;align-items:center;gap:11px;padding:19px 20px;border-bottom:1px solid #eef1f7;background:#fcfdff}.group-panel.collapsed .group-header{border-bottom:0}.drag-handle{cursor:-webkit-grab;cursor:grab;color:#b5becf;display:flex}.group-number{color:#8a9ac2;background:#eef2fd;font-size:12px;border-radius:6px;padding:5px 7px}.inline-title{border:0;background:none;font-family:Manrope;font-size:16px;font-weight:750;padding:0;flex:1 1;min-width:0;border-radius:0}.group-levels{display:flex;gap:18px;padding:11px 23px;background:#fcfdff;border-bottom:1px solid #eef1f7}.group-levels .field{display:flex;align-items:center;font-size:11px;margin:0;gap:9px}.group-levels select{padding:3px 8px;font-size:11px}.lesson-row{display:flex;align-items:center;gap:13px;padding:17px 23px;border-bottom:1px solid #f0f2f7}.lesson-check{width:21px;height:21px;border-radius:6px}.lesson-title{flex:1 1;text-align:left;justify-content:flex-start;display:block;padding:0;min-width:0}.lesson-title strong{font-size:14px;font-weight:550}.lesson-title small{display:block;color:#9aa5b8;font-size:11px;margin-top:4px}.importance-label{font-size:10px;color:#9aa4b7}.add-lesson{font-size:12px;color:#8b99b8;width:100%;justify-content:flex-start;padding:14px 23px}.lesson-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}.lesson-main-title{font-family:Manrope;font-size:30px;letter-spacing:-.8px;font-weight:800;margin-bottom:10px;line-height:1.3}.lesson-description,.lesson-main-title{width:100%;border:0;background:none;padding:0}.lesson-description{font-size:14px;color:#818ca4;min-height:50px;resize:vertical;margin-bottom:22px}.lesson-layout{display:grid;grid-template-columns:minmax(0,1fr) 262px;grid-gap:24px;gap:24px}.editor{border:1px solid #e0e5f0;border-radius:12px;overflow:hidden;background:white}.editor.is-focus{position:fixed;inset:0;z-index:40;display:flex;flex-direction:column;border:0;border-radius:0}.editor.is-focus>.toolbar{flex:none;padding-top:calc(12px + env(safe-area-inset-top, 0px));padding-left:max(14px,env(safe-area-inset-left,0px));padding-right:max(14px,env(safe-area-inset-right,0px))}.editor.is-focus>.code-editor,.editor.is-focus>.rich-editor{flex:1 1;min-height:0;overflow-y:auto;padding:48px max(24px,env(safe-area-inset-right,0px)) calc(64px + env(safe-area-inset-bottom, 0px)) max(24px,env(safe-area-inset-left,0px));font-size:18px}.toolbar .focus-toggle.is-on{color:var(--blue)}.toolbar{display:flex;align-items:center;gap:5px;padding:12px 14px;border-bottom:1px solid var(--line);background:#fdfdff;flex-wrap:wrap}.toolbar select{font-size:12px;padding:5px 7px;margin-right:8px;border-color:#edf0f6}.toolbar .icon{color:#7d89a2;padding:6px}.html-button{font-size:11px;margin-left:auto;color:#8d99b1;padding:5px 8px}.html-button.active{background:#edf1ff;color:var(--blue)}.speech-controls{gap:4px;margin-left:auto;flex-wrap:wrap}.speech-button,.speech-controls{display:inline-flex;align-items:center}.speech-button{gap:6px;font-size:11px;color:#8d99b1;padding:5px 8px;border-radius:8px}.speech-button.active,.speech-button:hover:not(:disabled){background:#edf1ff;color:var(--blue)}.speech-button:disabled{opacity:.55;cursor:not-allowed}.speech-error{font-size:11px;color:#b45309;max-width:280px;line-height:1.35}.toolbar .html-button{margin-left:0}.speech-button{cursor:pointer;border:1px solid transparent;background:transparent}.speech-button.speech-ai{border-color:#e4e9f5}.speech-settings-link{font-size:11px;display:inline;padding:0}.speech-source{font-size:10px;color:#64748b;padding:0 4px;white-space:nowrap}.speech-button.speech-ai-refresh{padding:5px 6px;border-color:#e4e9f5}[data-theme=dark] .speech-source{color:var(--muted)}[data-theme=dark] .speech-button.speech-ai-refresh{border-color:var(--line)}.speech-button .spin{animation:speech-spin .8s linear infinite}@keyframes speech-spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.speech-button .spin{animation:none}}[data-theme=dark] .speech-button.speech-ai{border-color:var(--line)}[data-theme=dark] .speech-error{color:#fbbf24}.rich-editor{padding:30px;min-height:440px;outline:none;line-height:1.85;font-size:16px;overflow-wrap:anywhere}.rich-editor:empty:before{content:attr(data-placeholder);color:#a2adc1;pointer-events:none}.rich-editor h1,.rich-editor h2,.rich-editor h3,.rich-editor h4{margin:1.5em 0 .6em}.rich-editor>:first-child{margin-top:0}.rich-editor p{color:#56637c;margin-bottom:1em}.rich-editor h2{font-size:23px}.rich-editor h3{font-size:19px}.rich-editor img{max-width:100%;height:auto}.rich-editor figure{margin:26px 0;text-align:center}.rich-editor figure a{display:block;text-decoration:none;border:0}.rich-editor figure img{display:block;margin:0 auto;max-width:100%;height:auto;border:1px solid var(--line,#dbe1ef);border-radius:12px;background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.06)}.rich-editor figure a img{cursor:zoom-in}.rich-editor figure a:focus-visible img{outline:2px solid #4b6bfb;outline-offset:3px}.rich-editor figcaption{margin:9px auto 0;max-width:62ch;font-size:14px;line-height:1.45;color:var(--muted,#778095)}@media (max-width:640px){.rich-editor figure{margin:20px 0}.rich-editor figure img{border-radius:9px}.rich-editor figcaption{font-size:13px}}.rich-editor pre{white-space:pre-wrap;padding:18px;background:#f3f5fb;border-radius:9px;font-size:14px}.rich-editor blockquote{margin:24px 0;padding:14px 20px;background:#f2f5ff;border-left:3px solid #7795ec;color:#687da9}.rich-editor table{border-collapse:collapse;max-width:100%}.rich-editor td,.rich-editor th{border:1px solid #dbe1ef;padding:8px}.code-editor{font-family:monospace;width:100%;min-height:440px;border:0;border-radius:0;padding:24px;font-size:14px}.editor-note{font-size:11px;color:#8e9ab3;padding:12px 20px;border-top:1px solid var(--line)}.detail-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;margin-bottom:16px}.detail-card h3{margin-bottom:15px;font-size:14px}.detail-card p{font-size:11px;margin-bottom:13px;line-height:1.7}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:500;color:#7c88a1;margin-bottom:16px}.field input,.field select,.field textarea{font-size:14px;font-weight:400;width:100%}.status-tag{display:inline-flex;font-size:11px;background:#f1f4f9;color:#8d99b0;border-radius:5px;padding:5px 9px;margin-bottom:17px}.status-tag.ongoing{color:#b38945;background:#fff7e9}.status-tag.done{color:#438f72;background:#eaf7f0}.full-width{width:100%;margin-bottom:17px}.dependency-picker{display:grid;grid-gap:12px;gap:12px;max-height:330px;overflow:auto}.dependency-picker label{display:flex;align-items:flex-start;gap:8px;font-size:12px;color:#7c89a4}.dependency-picker input{margin:4px 0 0;accent-color:var(--blue)}.dependency-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}.dependency-links button{font-size:12px;text-decoration:underline;padding:0}.support-section{margin-top:30px}.support-section h2{font-size:18px}.support-section>p{font-size:12px;margin:5px 0 15px}.source-row{display:flex;align-items:center;gap:13px;padding:15px;background:#fff;border:1px solid var(--line);border-radius:8px;margin-bottom:8px;color:#9ca8c0}.source-row a{flex:1 1;font-size:13px;overflow-wrap:anywhere}.source-row small{display:block;font-size:10px;color:#9ba7be;margin-top:3px}.source-form{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.source-form input{flex:1 1;min-width:140px;font-size:12px}.empty-state{text-align:center;padding:100px 30px;color:#9aa8c2}.empty-state h2{margin:15px 0;color:var(--ink)}dialog{border:0;border-radius:16px;padding:26px;max-width:680px;width:calc(100% - 32px);max-height:88vh;overflow:auto;color:var(--ink);box-shadow:0 20px 100px #17224230}dialog::-webkit-backdrop{background:#18254470;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}dialog::backdrop{background:#18254470;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}dialog>header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}dialog h2{font-size:21px}dialog .field{font-size:13px}dialog .muted{font-size:12px}.dialog-intro{font-size:14px;line-height:1.8;margin-bottom:23px}.dialog-footer{display:flex;gap:10px;justify-content:flex-end;border-top:1px solid var(--line);padding-top:20px;margin-top:23px;flex-wrap:wrap}.provider-fields{background:#f8faff;padding:17px;border-radius:10px;margin-bottom:15px}.provider-fields h3{margin-bottom:15px;font-size:14px}.provider-fields .field:last-child{margin-bottom:0}.checkbox-field{display:flex;gap:9px;align-items:center;font-size:14px;margin:20px 0}.batch-row input,.checkbox-field input{accent-color:var(--blue)}.proposal-list{max-height:48vh;overflow:auto}.proposal-group{border:1px solid var(--line);padding:15px;border-radius:10px;margin-bottom:15px}.proposal-group>input{font-weight:700;width:100%;margin-bottom:15px}.proposal-lesson{margin-top:12px;padding:12px;background:#f7f9fd;border-radius:8px}.proposal-lesson input,.proposal-lesson textarea{width:100%;font-size:13px;margin-bottom:8px}.proposal-lesson small{font-size:11px;color:#8f9cb6}.batch-list{max-height:45vh;overflow:auto;margin-top:18px}.batch-list h3{font-size:14px;margin:14px 0 9px}.batch-row{display:flex;align-items:flex-start;gap:10px;padding:12px;border-bottom:1px solid var(--line);font-size:14px}.batch-row input{margin-top:5px}.batch-row small{display:block;color:#8c9ab3;font-size:11px;margin-top:5px}.research-sources{margin-top:15px}.research-sources a{display:block;margin:7px 0;font-size:12px}.search-attribution{font-size:12px;margin-top:15px}.menu-toggle,.mobile-close{display:none}@media (min-width:1600px){main{padding-top:52px}.page-heading{margin-bottom:38px}.stats-grid{gap:24px}.stat{padding:26px}.courses-grid{gap:26px}}@media (max-width:1200px){.sidebar{width:var(--sidebar-width,235px);padding-left:12px;padding-right:12px}.workspace{margin-left:var(--sidebar-width,235px)}main{padding:30px 25px}.topbar{padding:0 25px}.page-heading{align-items:flex-start;flex-direction:column;gap:18px}.stats-grid{gap:12px}.stat{padding:18px 14px}.stat-icon{position:static;margin-bottom:12px;width:30px;height:30px}.stat>span:not(.stat-icon){padding:0}.stat strong{margin-top:9px;font-size:29px}.courses-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-bottom{grid-template-columns:1fr}.lesson-layout{grid-template-columns:minmax(0,1fr) 230px}.importance-label{display:none}.course-overview{gap:24px;padding:22px}.group-header{gap:8px}}@media (max-width:850px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:266px}.sidebar.open{transform:translateX(0)}.workspace{margin-left:0;transition:none}.mobile-close{display:flex;margin-left:auto}.menu-toggle{display:flex}.scrim{position:fixed;inset:0;background:#17223e50;z-index:19}.save-state{font-size:10px}.topbar{padding:0 20px;height:64px}.breadcrumb{gap:7px;font-size:11px}.crumb-lesson{display:none}.lesson-layout{grid-template-columns:minmax(0,1fr)}.lesson-layout>*{min-width:0}.lesson-details{display:grid;grid-template-columns:1fr 1fr;grid-gap:15px;gap:15px}.lesson-details .detail-card{margin:0}.lesson-details>.detail-card:last-of-type{grid-column:1/-1}.lesson-details>.text-button{justify-content:flex-start}.course-overview>div:last-child,.group-header .subtle{display:none}.rich-editor{min-height:350px}}@media (max-width:560px){main{padding:25px 16px 35px}h1{font-size:27px}.page-heading p{font-size:13px}.eyebrow{font-size:9px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:25px}.stat{min-height:155px}.stat-icon{position:absolute;top:15px;right:12px;width:26px;height:26px}.stat-icon svg{width:15px}.stat>span:not(.stat-icon){font-size:10px;padding-right:28px;min-height:31px}.stat strong{font-size:28px}.courses-grid{grid-template-columns:1fr;gap:15px}.course-card{padding:20px}.save-state{display:none}.welcome{padding:28px 18px}.welcome .actions{flex-direction:column}.welcome h2{font-size:23px}.section-heading{flex-wrap:wrap}.section-heading p{font-size:11px}.section-heading .subtle{font-size:9px}.panel{padding:19px}.dashboard-bottom{gap:0}.next-row{gap:9px}.next-row strong{font-size:12px}.next-row .priority{font-size:9px}.filters{flex-wrap:wrap}.filters label{flex-basis:100%}.filters select{width:calc(50% - 5px);padding:8px;font-size:11px}.course-overview{padding:18px;gap:15px}.course-overview strong{font-size:25px}.course-overview small{font-size:10px}.course-overview>div:nth-child(2){display:none}.group-header{padding:15px 12px;gap:6px}.group-number{font-size:10px}.inline-title{font-size:14px}.group-header .icon{padding:3px}.group-header .drag-handle{display:none}.group-levels{padding:10px 12px;gap:10px;flex-wrap:wrap}.group-levels .field{font-size:10px}.lesson-row{padding:14px 12px;gap:8px}.lesson-row>svg{display:none}.lesson-title strong{font-size:12px}.lesson-title small{font-size:10px}.lesson-row>.priority{display:none}.lesson-row .icon{padding:3px}.lesson-heading{flex-direction:column;align-items:flex-start}.lesson-main-title{font-size:26px}.rich-editor{padding:22px 18px}.toolbar{padding:9px;gap:2px}.toolbar select{max-width:95px}.toolbar .icon{padding:5px}.lesson-details{grid-template-columns:1fr}.lesson-details>.detail-card:last-of-type{grid-column:auto}.source-form{flex-direction:column}.workspace-footer{padding:15px 16px}.workspace-footer>span:first-child{max-width:230px}.form-grid{gap:10px}.primary,.secondary{padding:10px 13px;font-size:12px}.bar-chart{gap:5px}dialog{padding:20px}.dialog-footer{gap:8px}}@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}.course-tree small,.eyebrow,.local-note small,.nav-count,.save-state,.tree-heading,.workspace-label{font-size:12px}.group-title,.lesson-tree>button:last-of-type{font-size:14px}.page-heading p{font-size:16px}.breadcrumb,.primary,.secondary,.stat>span:not(.stat-icon),.text-button{font-size:14px}.add-lesson,.bar-column small,.batch-row small,.card-footer,.card-footer .text-button,.card-meta,.chart-caption,.course-overview small,.course-overview span,.date-note,.detail-card p,.editor-note,.group-levels .field,.group-levels select,.importance-label,.lesson-title small,.next-row small,.priority,.progress-label,.proposal-lesson small,.research-sources a,.section-heading p,.soft-tag,.source-row small,.stat p,.stat strong small,.status-tag,.subtle,.workspace-footer{font-size:12px}.course-card>p,.dependency-picker label,.field,.filters input,.filters select,.html-button,.lesson-description,.lesson-title strong,.next-row strong,.source-form input,.source-row a,.support-section>p,.toolbar select{font-size:14px}.stat{min-height:164px}.stat-icon{width:31px;height:31px;right:14px}.card-meta{gap:12px}.card-footer{flex-wrap:wrap}.next-row{gap:10px}.lesson-tree{padding-top:9px;padding-bottom:9px}.workspace-label{letter-spacing:.6px}.toolbar .icon{min-width:30px;min-height:30px}.stat>span:not(.stat-icon){max-width:145px;padding-right:0}.card-title,.lesson-title{overflow-wrap:anywhere}.source-form input{min-width:0}.subtle{white-space:normal;text-align:right}.workspace-footer>span:first-child{font-size:12px}.course-overview strong small{display:inline-block}.field input,.field select{min-height:40px}@media (max-width:1200px){.stat>span:not(.stat-icon){max-width:none;font-size:13px}.stat-icon{position:static}.stats-grid{gap:12px}.stat{min-height:180px}.group-title,.lesson-tree>button:last-of-type{font-size:13px}}@media (max-width:560px){.eyebrow{font-size:11px}.page-heading p{font-size:14px}.stat-icon{position:absolute}.stat>span:not(.stat-icon){max-width:108px;padding-right:13px;font-size:12px;min-height:44px}.stat{min-height:164px}.group-levels .field,.group-levels select,.stat p,.stat strong small{font-size:12px}.group-levels{gap:8px}.group-levels .field{flex:1 1;min-width:120px;align-items:flex-start;flex-direction:column}.lesson-title strong,.next-row strong{font-size:14px}.breadcrumb,.next-row .priority{font-size:12px}.primary,.secondary{font-size:14px}.section-heading .subtle{font-size:11px}.bar-column small{font-size:10px}.chart-caption,.course-overview small,.filters select{font-size:12px}.workspace-footer>span:first-child{max-width:270px}.importance-label{display:none}}.model-status{margin-top:8px;margin-bottom:14px;font-size:12px}.model-status p{font-size:12px;margin-bottom:6px}.database-summary{display:flex;gap:14px;align-items:center;padding:18px;background:#eef4ff;border-radius:12px;margin-bottom:24px;color:#3159e8}.database-summary p{font-size:13px;overflow-wrap:anywhere;margin-top:5px}.database-checklist{display:grid;grid-gap:12px;gap:12px;margin:24px 0}.database-checklist p{display:flex;align-items:flex-start;gap:9px;font-size:14px}.database-checklist svg{flex-shrink:0;color:#49a183;margin-top:2px}.card-top-actions{display:flex;align-items:center;gap:8px}.course-menu{position:relative}.course-menu-trigger{color:#8c96aa;min-width:34px;min-height:34px}.course-menu-popup{position:absolute;top:calc(100% + 7px);right:0;min-width:170px;padding:5px;background:#fff;border:1px solid #e1e6f0;border-radius:9px;box-shadow:0 8px 30px #19233a1a;z-index:8}.course-menu-popup button{width:100%;justify-content:flex-start;text-align:left;padding:10px 12px;font-size:14px;border-radius:5px;white-space:nowrap}.course-menu-popup button:focus,.course-menu-popup button:hover{background:#fff2f3}.primary.remove-course-button{background:#bf4754;box-shadow:none}.dialog-intro strong{color:#20283d}.planning-indicator{display:flex;align-items:center;gap:9px;padding:12px;background:#eff3ff;border:1px solid #dde6ff;border-radius:9px;color:#5372c5;font-size:13px;margin-top:17px;margin-bottom:17px}.planning-indicator strong{display:block;font-size:13px}.planning-indicator small{display:block;font-size:12px;color:#8294b8;margin-top:3px}.planning-indicator.ready{background:#edf8f2;border-color:#daeee3;color:#358569}.planning-indicator.failed{background:#fff2f3;border-color:#f3dfe3;color:#b05765}.planning-indicator .text-button{margin-left:auto}.planning-notification{flex-wrap:wrap}.spin{animation:planning-spin 1.6s linear infinite;flex-shrink:0}@keyframes planning-spin{to{transform:rotate(1turn)}}.provider-error-details{padding:16px;background:#fff5f5;border:1px solid #efdadf;border-radius:10px;margin-bottom:18px;font-size:13px;overflow-wrap:anywhere}.provider-error-details summary{font-weight:600;cursor:pointer;color:#ad4f60}.provider-error-details p{font-size:12px;margin-top:10px;color:#966777}.provider-error-details pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow:auto;background:#fff;border:1px solid #efdadf;border-radius:7px;padding:13px;font-size:12px;color:#6c4750;margin-bottom:0}@media (prefers-reduced-motion:reduce){.spin{animation:none}}.saved-credential{font-size:13px;color:#43876e;background:#edf8f3;padding:10px 12px;border-radius:7px;margin:12px 0}.generation-steps{display:flex;gap:14px;font-size:13px;padding:12px;background:#eff3ff;border-radius:8px;margin-bottom:18px;flex-wrap:wrap}.generation-steps strong{color:#3159e8}.generation-steps span{color:#8391ad}.topic-selection-tools{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:18px 0;font-size:13px;color:#768299}.topic-group{border:1px solid #e1e6f0;border-radius:10px;overflow:hidden;margin-bottom:16px}.topic-group-heading{gap:10px;align-items:center;background:#f4f7fe;font-size:15px}.topic-choice,.topic-group-heading{display:flex;padding:15px;cursor:pointer}.topic-choice{gap:12px;border-top:1px solid #edf0f6;align-items:flex-start}.topic-choice.chosen{background:#fbfcff}.topic-choice input,.topic-group-heading input{accent-color:#3159e8;width:18px;height:18px;flex-shrink:0;margin-top:3px}.topic-choice strong{font-size:14px;display:block}.topic-choice small{font-size:13px;display:block;color:#7b88a1;margin-top:4px;line-height:1.7}dialog.outline-review-dialog[open]{display:flex;flex-direction:column;height:min(850px,92dvh);max-height:92dvh;overflow:hidden}.outline-review-dialog>header{flex-shrink:0;margin-bottom:14px}.outline-review-dialog .generation-steps{flex-shrink:0;margin-bottom:10px}.outline-review-dialog .dialog-intro{flex-shrink:0;margin-bottom:10px;line-height:1.6}.outline-review-dialog .topic-selection-tools{flex-shrink:0;margin:6px 0 12px;gap:10px}.outline-review-dialog .proposal-list{flex:1 1;min-height:70px;max-height:none;overflow:auto}.outline-review-dialog .dialog-footer{flex-shrink:0;margin-top:10px;padding-top:10px;display:grid;grid-template-columns:auto 1fr}.outline-review-dialog .topic-provider{font-size:12px;margin:8px 0 0}.outline-review-dialog .field{flex-shrink:0;margin:8px 0}.outline-review-dialog .dialog-footer .primary{white-space:normal}@media(max-width:560px){.outline-review-dialog .topic-selection-tools>span{width:100%}.outline-review-dialog .topic-selection-tools .text-button{font-size:12px}.outline-review-dialog .dialog-footer{grid-template-columns:1fr}.outline-review-dialog .dialog-footer .primary{grid-row:1}.outline-review-dialog .dialog-footer .secondary{min-height:28px;padding:4px;font-size:12px}.outline-review-dialog .dialog-intro{font-size:13px}.outline-review-dialog .generation-steps{padding:9px;gap:6px;font-size:12px}}.learning-rationale{margin:20px 0}.learning-rationale li{margin:8px 0}.planning-indicator{flex-wrap:wrap}.planning-indicator.paused{background:#fff6e7;color:#815614}.planning-indicator .secondary{margin-left:auto;white-space:nowrap}.course-presentation{margin:0 0 24px;padding:28px;border:1px solid #dfe5fb;border-radius:20px;background:linear-gradient(125deg,#f0f3ff,#fff 65%)}.presentation-heading{display:flex;align-items:center;gap:14px}.presentation-heading h2{font-size:23px;margin:4px 0 0}.install-icon,.preference-icon,.presentation-symbol{flex-shrink:0;display:grid;place-items:center;width:52px;height:52px;background:#e4eaff;color:#3159e8;border-radius:16px}.course-facts{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.course-facts>span{display:inline-flex;gap:6px;align-items:center;font-size:12px;padding:7px 10px;border-radius:9px;color:#536181;background:#ffffffb8;border:1px solid #e6eaf5}.course-story{color:#52607b;font-size:15px;line-height:1.85;max-width:900px}.course-story p{margin:0 0 15px;white-space:pre-line;overflow-wrap:anywhere}.presentation-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;padding-top:8px}.learning-map{padding-top:12px}.learning-map h3{color:#222b43;margin-bottom:18px;font-size:16px}.learning-map-item{display:flex;align-items:flex-start;gap:14px;padding:12px 0}.learning-map-item>span{display:grid;place-items:center;font-size:12px;font-weight:700;border-radius:10px;background:#e9eeff;color:#3159e8;height:34px;width:34px;flex-shrink:0}.learning-map-item strong{color:#29344d;font-size:14px}.learning-map-item p{font-size:13px;margin:4px 0 0;line-height:1.7}.preferences-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:18px;gap:18px;margin-bottom:24px}.preference-card{background:white;border:1px solid var(--line);border-radius:20px;padding:24px;display:flex;gap:16px;align-items:center;text-align:left}.preference-card>span:nth-child(2){flex:1 1}.preference-card strong{display:block;color:var(--ink);font-size:16px;margin-bottom:6px}.preference-card small{display:block;color:var(--muted);font-size:13px;line-height:1.7}.install-card{display:flex;gap:20px;padding:28px;border:1px solid #dfe5fb;border-radius:20px;background:linear-gradient(130deg,#edf1ff,#fff);margin-bottom:28px}.install-card h2{font-size:25px;margin:8px 0}.install-card p{line-height:1.8;color:var(--muted);font-size:14px}.install-steps{padding-left:20px;line-height:1.9;color:#42506c;font-size:14px}.install-steps li{padding:5px 0}.install-steps svg{vertical-align:middle}.install-footnote{margin:18px 0 0;font-size:12px!important}.installed-note{display:flex;align-items:center;gap:8px;color:#269570!important}.connection-banner{padding:12px 16px;background:#fff3de;color:#765321;display:flex;gap:10px;font-size:13px;border-radius:12px;margin-bottom:15px}.mobile-tabs{display:none}@media(max-width:850px){html{scroll-padding-bottom:105px}body{-webkit-tap-highlight-color:transparent}.workspace{padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}.topbar{height:auto;min-height:64px;padding:calc(8px + env(safe-area-inset-top,0px)) 18px 8px;background:#f6f7fcf5;position:-webkit-sticky;position:sticky;top:0;z-index:15;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.breadcrumb{min-width:0;font-size:13px}.breadcrumb>span.topbar-mark+span,.breadcrumb>span:not(.topbar-mark):first-of-type,.breadcrumb>svg:first-of-type{display:none}.breadcrumb strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:calc(100vw - 115px)}.menu-toggle{background:white;border:1px solid #e6eaf4;border-radius:12px;width:40px;height:40px;margin-right:6px;flex-shrink:0}.mobile-tabs{position:fixed;z-index:18;bottom:0;left:0;right:0;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);padding:6px max(8px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left));background:#ffffffed;border-top:1px solid #e5e9f3;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:0 -5px 24px #22336508}.mobile-tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:54px;padding:0 2px;border:0;color:#8590a6;background:none;font-size:11px;font-weight:600;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:12px;touch-action:manipulation}.mobile-tabs button>span{display:grid;place-items:center;width:min(58px,100%);height:30px;border-radius:11px;flex-shrink:0}.mobile-tabs button[aria-current=page]{color:#3159e8}.mobile-tabs button[aria-current=page]>span{background:#edf1ff}.sidebar{padding-top:calc(24px + env(safe-area-inset-top,0px));padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}.workspace-footer{display:none}.preferences-grid{grid-template-columns:1fr}.course-presentation{padding:22px;border-radius:20px}}@media(max-width:560px){main{padding:20px 18px 30px}h1{font-size:29px;line-height:1.2;letter-spacing:-1px}.page-heading{gap:20px;margin-bottom:24px}.page-heading p{font-size:14px;line-height:1.75}.page-heading .actions{display:grid;grid-template-columns:1fr 1fr;width:100%;grid-gap:10px;gap:10px}.page-heading .actions button{justify-content:center;padding:12px 9px;font-size:12px;white-space:normal}.stats-grid{gap:10px}.stat{border-radius:18px;min-height:143px;padding:18px}.stat>span:not(.stat-icon){font-size:11px}.stat strong{font-size:30px}.course-card{border-radius:20px;padding:22px}.course-card h3{font-size:20px;line-height:1.3}.course-card>p{line-height:1.8}.course-presentation{padding:20px}.presentation-heading h2{font-size:21px}.course-facts{gap:6px}.course-facts>span{font-size:11px;padding:6px 8px}.presentation-actions{flex-direction:column;align-items:stretch;gap:8px}.presentation-actions button{justify-content:center;font-size:13px}.course-story{font-size:15px;line-height:1.85}.eyebrow{font-size:10px;letter-spacing:1.5px}button.primary,button.secondary{min-height:44px}.filters select,.group-levels select,input:not([type=checkbox]),select,textarea{font-size:16px}.lesson-main-title{font-size:27px!important}.inline-title{font-size:16px!important}.filters{gap:10px}.filters select{font-size:13px;min-height:44px}.lesson-row{min-height:78px}.lesson-title strong{font-size:14px;line-height:1.5}.lesson-title small{font-size:11px;line-height:1.5}.group-header .icon,.lesson-row .icon{min-width:32px;min-height:40px}.lesson-row input[type=checkbox]{width:24px;height:24px}.group-header .inline-title{min-width:0}.group-levels .field{font-size:11px;flex:1 1;min-width:110px}.group-levels select{width:100%}.lesson-heading .actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.lesson-heading .actions button{font-size:12px;justify-content:center;white-space:normal}.lesson-details{grid-template-columns:1fr}.planning-indicator{padding:14px;gap:10px;align-items:flex-start}.planning-indicator>div{flex:1 1;min-width:160px}.planning-indicator small{line-height:1.6;overflow-wrap:anywhere}.planning-indicator .secondary{width:100%;justify-content:center}.install-card{padding:22px;display:block}.install-icon{margin-bottom:20px}.install-card h2{font-size:24px}.install-steps{font-size:15px}.preference-card{padding:20px;gap:12px}.preference-card strong{font-size:15px}dialog{max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px)}}:root{color-scheme:light;--surface:#fff;--surface-soft:#f4f6fc;--reading:#34425c}.rationale-reading{margin:18px 0 26px;color:var(--reading);font-size:16px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}.sidebar-collapse-toggle{margin-left:auto;color:var(--muted)}.sidebar-collapse-toggle:hover{color:var(--ink);background:var(--surface-soft,#eef1f7)}:root[data-sidebar-collapsed=true] .sidebar{width:var(--sidebar-width,72px);padding:24px 10px 16px;overflow:hidden}:root[data-sidebar-collapsed=true] .workspace{margin-left:var(--sidebar-width,72px)}:root[data-sidebar-collapsed=true] .brand{padding:0;justify-content:center;flex-direction:column;gap:10px}:root[data-sidebar-collapsed=true] .brand-mark{margin-right:0}:root[data-sidebar-collapsed=true] .brand-text,:root[data-sidebar-collapsed=true] .nav-count,:root[data-sidebar-collapsed=true] .sidebar-bottom,:root[data-sidebar-collapsed=true] .tree,:root[data-sidebar-collapsed=true] .tree-heading,:root[data-sidebar-collapsed=true] .workspace-label{display:none}:root[data-sidebar-collapsed=true] .sidebar-collapse-toggle{margin:0}:root[data-sidebar-collapsed=true] .main-nav{gap:8px}:root[data-sidebar-collapsed=true] .main-nav button{justify-content:center;padding:12px 0;font-size:0;letter-spacing:0;gap:0}:root[data-sidebar-collapsed=true] .main-nav button svg{flex-shrink:0}:root[data-sidebar-collapsed=true] .main-nav .selected{background:#edf1ff}:root[data-theme=dark][data-sidebar-collapsed=true] .main-nav .selected{background:var(--surface-soft)}@media (max-width:850px){.sidebar-collapse-toggle{display:none}:root[data-sidebar-collapsed=true] .sidebar{width:266px;padding:32px 18px 20px;overflow:auto}:root[data-sidebar-collapsed=true] .brand{padding:0 12px;justify-content:flex-start;flex-direction:row}:root[data-sidebar-collapsed=true] .brand-mark{margin-right:10px}:root[data-sidebar-collapsed=true] .brand-text,:root[data-sidebar-collapsed=true] .nav-count,:root[data-sidebar-collapsed=true] .sidebar-bottom,:root[data-sidebar-collapsed=true] .tree,:root[data-sidebar-collapsed=true] .tree-heading,:root[data-sidebar-collapsed=true] .workspace-label{display:revert}:root[data-sidebar-collapsed=true] .tree-heading{display:flex}:root[data-sidebar-collapsed=true] .sidebar-bottom,:root[data-sidebar-collapsed=true] .tree{display:block}:root[data-sidebar-collapsed=true] .brand-text{display:inline}:root[data-sidebar-collapsed=true] .workspace-label{display:block}:root[data-sidebar-collapsed=true] .main-nav button{justify-content:flex-start;padding:12px 13px;font-size:14px}:root[data-sidebar-collapsed=true] .workspace{margin-left:0}}@media (prefers-reduced-motion:reduce){.sidebar,.workspace{transition:none}}.sidebar-resizer{position:absolute;z-index:2;top:0;right:-5px;bottom:0;width:10px;cursor:col-resize;touch-action:none;display:flex;justify-content:center;outline-offset:-2px}.sidebar-resizer>span{width:3px;background:transparent;border-radius:4px;transition:background .15s}.resizing-sidebar .sidebar-resizer>span,.sidebar-resizer:focus-visible>span,.sidebar-resizer:hover>span{background:var(--blue)}.sidebar-resizer:focus-visible{outline:2px solid var(--blue)}.resizing-sidebar,.resizing-sidebar *{cursor:col-resize!important;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.resizing-sidebar .sidebar,.resizing-sidebar .workspace{transition:none}.theme-select{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:13px;padding:8px 10px}.theme-select select{min-width:0;flex:1 1;padding:7px;font-size:13px}.theme-settings{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:24px;margin-bottom:24px}.theme-settings>p{font-size:14px;line-height:1.7;margin:8px 0 18px}.theme-options{display:flex;gap:10px}.theme-options button{flex:1 1;max-width:180px;flex-direction:column;padding:16px 10px;border:1px solid var(--line);border-radius:12px;font-size:14px;min-height:82px}.theme-options button[aria-pressed=true]{background:var(--surface-soft);border-color:var(--blue);color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}@media(max-width:850px){.sidebar-resizer{display:none}}:root[data-theme=dark]{color-scheme:dark;--bg:#101522;--sidebar:#171e2e;--ink:#e6ebf5;--muted:#a4b0c8;--line:#303d54;--blue:#9ab2ff;--surface:#1b2435;--surface-soft:#24314a;--reading:#d1dbec}[data-theme=dark] :is(.stat,.course-card,.panel,.course-overview,.group-panel,.editor,.detail-card,.source-row,.material-row,.course-menu-popup,.preference-card,dialog){background:var(--surface);color:var(--ink);border-color:var(--line)}[data-theme=dark] :is(input,textarea,select){background:var(--sidebar);color:var(--ink);border-color:var(--line)}[data-theme=dark] :is(input,textarea)::placeholder{color:#94a3bd;opacity:1}[data-theme=dark] :is(.lesson-main-title,.lesson-description,.inline-title,.filters input){background:transparent}[data-theme=dark] :is(.topbar,.mobile-tabs){background:#171e2ef5;border-color:var(--line)}[data-theme=dark] :is(.secondary,.menu-toggle){background:var(--surface);border-color:var(--line);color:#d0daf0}[data-theme=dark] :is(.primary,.checked){background:#3e5edb;color:#fff}[data-theme=dark] .checked{border-color:#758ff1}[data-theme=dark] .primary.remove-course-button{background:#a33448}[data-theme=dark] :is(.main-nav .selected,.lesson-tree.current,.course-tree.current,.icon:hover,.html-button.active,.speech-button.active,.topic-choice.chosen){background:var(--surface-soft);color:var(--blue)}[data-theme=dark] :is(.nav-count,.section-heading h2>span,.step-number,.soft-tag,.group-number,.status-tag,.meter,.bar-column>span){background:#2a3853;color:#bac9e7}[data-theme=dark] .bar-column>span.filled{background:#8ca5ff}[data-theme=dark] :is(.group-header,.group-levels,.toolbar,.provider-fields,.proposal-lesson,.topic-group-heading){background:var(--sidebar);border-color:var(--line)}[data-theme=dark] :is(.group-tree,.lesson-row,.card-footer,.dialog-footer,.sidebar-bottom,.topic-group,.topic-choice,.rich-editor td,.rich-editor th){border-color:var(--line)}[data-theme=dark] :is(.filters label,.provider-error-details pre){background:var(--sidebar);border-color:var(--line);color:var(--ink)}[data-theme=dark] :is(.tree-check,.lesson-check){border-color:#7889a6}[data-theme=dark] :is(.workspace-label,.tree-heading,.main-nav button:not(.selected),.group-title,.sidebar-bottom>button,.course-tree small,.local-note,.local-note small,.breadcrumb,.breadcrumb strong,.save-state,.stat>span:not(.stat-icon),.stat strong small,.card-meta,.progress-label,.card-footer,.subtle,.next-row small,.bar-column small,.welcome small,.workspace-footer,.course-overview span,.course-overview small,.course-settings,.lesson-title small,.importance-label,.add-lesson,.lesson-description,.toolbar .icon,.html-button,.speech-button,.editor-note,.field,.dependency-picker label,.source-row small,.empty-state,.proposal-lesson small,.batch-row small,.course-menu-trigger,.planning-indicator small,.generation-steps span,.topic-selection-tools,.topic-choice small){color:var(--muted)}[data-theme=dark] :is(.rich-editor p,.course-story,.install-steps){color:var(--reading)}[data-theme=dark] :is(.dialog-intro strong,.learning-map h3,.learning-map-item strong){color:var(--ink)}[data-theme=dark] :is(.rich-editor pre,.rich-editor blockquote){background:var(--sidebar);color:var(--reading)}[data-theme=dark] .rich-editor:empty:before{color:#94a3bd}[data-theme=dark] :is(.welcome,.course-presentation,.install-card){background:linear-gradient(125deg,#222e49,var(--surface));border-color:#394965}[data-theme=dark] :is(.presentation-symbol,.install-icon,.preference-icon,.welcome-icon,.learning-map-item>span,.stat-icon.blue,.course-symbol.blue,.priority.media,.generation-steps,.database-summary){background:#283858;color:#adc1ff}[data-theme=dark] .course-facts>span{background:#1b253bbb;border-color:var(--line);color:#c0cde7}[data-theme=dark] .generation-steps strong{color:var(--blue)}[data-theme=dark] :is(.stat-icon.green,.course-symbol.green,.priority.baixa){background:#193e38;color:#92d9bc}[data-theme=dark] :is(.stat-icon.orange,.course-symbol.orange,.priority.alta){background:#443325;color:#f1c58f}[data-theme=dark] :is(.stat-icon.purple,.course-symbol.purple){background:#3b2f54;color:#cbb1ff}[data-theme=dark] :is(.success,.planning-indicator.ready,.status-tag.done,.saved-credential){background:#18382f;border-color:#355b4d;color:#9fdbc0}[data-theme=dark] :is(.warning,.planning-indicator.paused,.status-tag.ongoing,.connection-banner){background:#3b3020;border-color:#645135;color:#f0d094}[data-theme=dark] :is(.error,.planning-indicator.failed,.provider-error-details){background:#3c2633;border-color:#684351;color:#ffc0ce}[data-theme=dark] .danger{color:#ffacbd!important}[data-theme=dark] .provider-error-details :is(summary,p,pre){color:#ffc0ce}[data-theme=dark] .course-menu-popup button:focus,[data-theme=dark] .course-menu-popup button:hover{background:#3c2633}[data-theme=dark] .planning-indicator:not(.ready):not(.failed):not(.paused){background:#223350;border-color:#3a5076;color:#b4c9ff}[data-theme=dark] .mobile-tabs button{color:var(--muted)}[data-theme=dark] .mobile-tabs button[aria-current=page]{color:var(--blue)}[data-theme=dark] .mobile-tabs button[aria-current=page]>span{background:var(--surface-soft)}[data-theme=dark] .installed-note{color:#9fdbc0!important}[data-theme=dark] dialog::-webkit-backdrop{background:#030715b3}[data-theme=dark] .scrim,[data-theme=dark] dialog::backdrop{background:#030715b3}.archived-course{border-style:dashed}.archived-note{padding:12px;margin-top:14px;border-radius:10px;background:var(--surface-soft);color:var(--muted);font-size:13px;line-height:1.65}.course-menu-popup .course-visibility-item:focus,.course-menu-popup .course-visibility-item:hover,.course-menu-popup button.course-visibility-item:focus,.course-menu-popup button.course-visibility-item:hover,[data-theme=dark] .course-menu-popup .course-visibility-item:focus,[data-theme=dark] .course-menu-popup .course-visibility-item:hover,[data-theme=dark] .course-menu-popup button.course-visibility-item:focus,[data-theme=dark] .course-menu-popup button.course-visibility-item:hover{background:var(--surface-soft);color:var(--ink)}.rich-editor mark{--hl:rgba(255,213,0,.42);background:var(--hl);color:inherit;border-radius:3px;padding:0 1px;-webkit-box-decoration-break:clone;box-decoration-break:clone}.rich-editor mark.hl-green{--hl:rgba(74,222,128,.38)}.rich-editor mark.hl-blue{--hl:rgba(96,165,250,.38)}.rich-editor mark.hl-pink{--hl:rgba(244,114,182,.36)}.rich-editor mark.hl-orange{--hl:rgba(251,146,60,.42)}[data-theme=dark] .rich-editor mark{--hl:rgba(250,204,21,.30)}[data-theme=dark] .rich-editor mark.hl-green{--hl:rgba(74,222,128,.27)}[data-theme=dark] .rich-editor mark.hl-blue{--hl:rgba(96,165,250,.32)}[data-theme=dark] .rich-editor mark.hl-pink{--hl:rgba(244,114,182,.30)}[data-theme=dark] .rich-editor mark.hl-orange{--hl:rgba(251,146,60,.32)}.highlight-toolbar{position:fixed;z-index:80;display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:999px;background:var(--surface,#fff);color:var(--ink);border:1px solid var(--line);box-shadow:0 12px 32px rgba(15,23,42,.22);transform:translate(-50%,calc(-100% - 10px));animation:highlight-pop .12s ease-out}.highlight-toolbar.below{transform:translate(-50%,10px)}@keyframes highlight-pop{0%{opacity:0}to{opacity:1}}.highlight-toolbar .highlight-label{display:inline-flex;color:var(--muted);padding:0 2px 0 4px}.highlight-swatch{width:22px;height:22px;padding:0;border-radius:50%;background:var(--swatch);border:2px solid var(--surface,#fff);box-shadow:0 0 0 1px rgba(0,0,0,.12);transition:transform .1s}.highlight-swatch:hover{transform:scale(1.12)}.highlight-swatch[aria-pressed=true]{box-shadow:0 0 0 2px var(--blue)}.highlight-remove:focus-visible,.highlight-swatch:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.highlight-remove{width:28px;height:28px;padding:0;border-radius:50%;color:var(--muted);border-left:1px solid var(--line);border-radius:0 999px 999px 0;margin-left:2px}.highlight-remove:hover{color:var(--ink);background:var(--surface-soft)}.toolbar .icon.highlighter-button{display:inline-flex;align-items:center;gap:4px}.toolbar .highlighter-button>i{width:10px;height:10px;border-radius:50%;background:var(--swatch);display:inline-block}@media (prefers-reduced-motion:reduce){.highlight-toolbar{animation:none}.highlight-swatch{transition:none}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.editor-unlock{font-size:12px;padding:5px 10px;min-height:30px}.editor-edit-actions,.editor-unlock{display:inline-flex;align-items:center;gap:6px}.editor-edit-actions .primary,.editor-edit-actions .secondary{font-size:12px;padding:5px 12px;min-height:30px}.rich-editor.is-locked{cursor:text;-webkit-user-select:text;-moz-user-select:text;user-select:text}[data-theme=dark] .editor-unlock{background:var(--surface);border-color:var(--line);color:var(--ink)}.materials-section{margin-top:28px}.materials-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:4px}.materials-header h2{margin:0}.materials-header>div>p{font-size:12px;margin:5px 0 0;color:var(--muted)}.materials-filter{display:inline-flex;padding:3px;gap:2px;border:1px solid var(--line);border-radius:999px;background:color-mix(in srgb,var(--surface-soft,#f3f6fc) 40%,#fff)}.materials-filter button{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:var(--muted);font-size:12px;padding:6px 12px;border-radius:999px;min-height:30px}.materials-filter button.active{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px #17224218}.materials-filter-count{font-size:10px;font-weight:600;min-width:16px;padding:1px 6px;border-radius:999px;background:#e8eef8;color:#5b6f99}.materials-filter button.active .materials-filter-count{background:color-mix(in srgb,var(--blue) 18%,transparent);color:var(--blue)}.material-favorite{flex:0 0 auto;opacity:.45;color:#9aa8c2}.material-favorite.on,.material-row:hover .material-favorite{opacity:1}.material-favorite.on{color:#e6a700}.material-row.is-favorite{border-color:color-mix(in srgb,#e6a700 28%,var(--line))}[data-theme=dark] .materials-filter{background:var(--sidebar);border-color:var(--line)}[data-theme=dark] .materials-filter button.active{background:var(--surface-soft);color:var(--ink);box-shadow:none}[data-theme=dark] .materials-filter-count{background:#2a3853;color:#bac9e7}[data-theme=dark] .material-favorite{color:var(--muted)}[data-theme=dark] .material-favorite.on{color:#f5cc5a}[data-theme=dark] .material-row.is-favorite{border-color:color-mix(in srgb,#f5cc5a 30%,var(--line))}.materials-empty{font-size:12px;color:var(--muted);margin:0 0 12px;padding:14px 16px;border:1px dashed var(--line);border-radius:10px;background:transparent}.materials-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.material-row{display:flex;align-items:center;gap:12px;padding:10px 12px;background:#fff;border:1px solid var(--line);border-radius:10px;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease}.material-row:hover{border-color:color-mix(in srgb,var(--blue) 45%,var(--line));box-shadow:0 1px 0 color-mix(in srgb,var(--blue) 12%,transparent);background:color-mix(in srgb,var(--surface-soft,#f3f6fc) 55%,#fff)}.material-icon{flex:0 0 auto;width:34px;height:34px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;background:#eef2fb;color:#5b6f99}.material-icon[data-kind=pdf]{background:#fde8e8;color:#c24646}.material-icon[data-kind=video]{background:#fdecef;color:#c23b5a}.material-icon[data-kind=article]{background:#e8f0fe;color:#3b6fd8}.material-icon[data-kind=doc]{background:#e8f5ef;color:#2f8a5b}.material-icon[data-kind=image]{background:#f3eefc;color:#7a4fc7}.material-icon[data-kind=other]{background:#eef2fb;color:#5b6f99}.material-body{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:2px}.material-title{font-size:13px;font-weight:560;color:var(--ink);overflow-wrap:anywhere;line-height:1.35}.material-title:hover{color:var(--blue);text-decoration:underline}.material-meta{font-size:11px;color:#9ba7be;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.material-open,.material-remove{flex:0 0 auto;opacity:.55}.material-open:focus-visible,.material-remove:focus-visible,.material-row:hover .material-open,.material-row:hover .material-remove{opacity:1}.lesson-notes-card{margin-top:22px;margin-bottom:4px}.lesson-notes-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:4px}.lesson-notes-header h3{display:inline-flex;align-items:center;gap:8px;margin:0}.lesson-notes-status{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:var(--muted);min-height:18px;opacity:0;transition:opacity .2s ease}.lesson-notes-status.visible{opacity:1}.lesson-notes-hint{font-size:12px;color:var(--muted);margin:0 0 10px}.lesson-notes-input{width:100%;min-height:140px;resize:vertical;font-size:13px;line-height:1.55;padding:12px 14px;border-radius:10px;border:1px solid var(--line);background:color-mix(in srgb,var(--sidebar,#f7f9fc) 80%,#fff);color:var(--ink);font-family:inherit}.lesson-notes-input:focus{outline:2px solid color-mix(in srgb,var(--blue) 35%,transparent);outline-offset:1px}[data-theme=dark] .material-row{background:var(--surface);border-color:var(--line)}[data-theme=dark] .material-row:hover{background:var(--surface-soft);border-color:color-mix(in srgb,var(--blue) 40%,var(--line));box-shadow:none}[data-theme=dark] .material-icon{background:#24314a;color:#9ab2ff}[data-theme=dark] .material-icon[data-kind=pdf],[data-theme=dark] .material-icon[data-kind=video]{background:#3c2633;color:#ffacbd}[data-theme=dark] .material-icon[data-kind=article]{background:#283858;color:#adc1ff}[data-theme=dark] .material-icon[data-kind=doc]{background:#193e38;color:#92d9bc}[data-theme=dark] .material-icon[data-kind=image]{background:#3b2f54;color:#cbb1ff}[data-theme=dark] .material-meta{color:var(--muted)}[data-theme=dark] .material-title{color:var(--ink)}[data-theme=dark] .lesson-notes-input{background:var(--sidebar);border-color:var(--line);color:var(--ink)}[data-theme=dark] .materials-empty{color:var(--muted);border-color:var(--line)}.landing-logo{font-weight:800;font-size:1.25rem;text-decoration:none;color:var(--fg);background:linear-gradient(120deg,#6d5efc,#32d4ff,#ff6bcb);-webkit-background-clip:text;background-clip:text;color:transparent}.auth-page{min-height:100vh;display:grid;place-items:center;padding:1.5rem;background:radial-gradient(circle at 20% 0,#6d5efc22,transparent 40%),var(--bg);color:var(--fg)}.auth-card{width:min(420px,100%);padding:1.75rem;border-radius:1.25rem;background:color-mix(in srgb,var(--bg) 92%,#fff);border:1px solid color-mix(in srgb,var(--fg) 12%,transparent);box-shadow:0 16px 40px #0002}.auth-card h1{margin:.75rem 0 1rem;font-size:1.5rem}.auth-form{gap:.85rem}.auth-form,.auth-form label{display:flex;flex-direction:column}.auth-form label{gap:.35rem;font-size:.9rem}.auth-form input:not([type]),.auth-form input[type=email],.auth-form input[type=password],.auth-form input[type=text]{padding:.65rem .75rem;border-radius:.65rem;border:1px solid color-mix(in srgb,var(--fg) 18%,transparent);background:transparent;color:var(--fg)}.auth-form button,.auth-google{padding:.7rem 1rem;border-radius:.75rem;border:0;background:linear-gradient(120deg,#6d5efc,#3b82f6);color:#fff;font-weight:600;cursor:pointer}.auth-google{background:color-mix(in srgb,var(--fg) 8%,transparent);color:var(--fg);border:1px solid color-mix(in srgb,var(--fg) 15%,transparent)}.auth-divider{text-align:center;opacity:.55;margin:.5rem 0;font-size:.85rem}.auth-error{color:#e11d48;font-size:.9rem;margin:0}.auth-links{display:flex;justify-content:space-between;gap:1rem;margin-top:1rem;font-size:.9rem}.auth-links a{color:inherit}.auth-check{flex-direction:row!important;align-items:flex-start;gap:.5rem!important}.auth-note{font-size:.8rem;opacity:.65;margin-top:1rem}.legal-page{max-width:720px;margin:0 auto;padding:2rem 1.25rem 4rem;line-height:1.65;color:var(--fg)}.legal-page a{color:inherit}.legal-page h1{margin-top:1rem}.auth-page{--fg:var(--ink);--auth-field-bg:var(--surface,#fff);--auth-field-border:#c5cbd8;--auth-ring:#6d5efc55;color:var(--ink)}[data-theme=dark] .auth-page{--auth-field-bg:#0c111c;--auth-field-border:#46536d;--auth-ring:#8b80ff66}.auth-wrap{width:min(420px,100%);display:flex;flex-direction:column;gap:.75rem}.auth-back{align-self:flex-start;color:var(--muted);text-decoration:none;font-size:.9rem;font-weight:600;padding:.25rem 0}.auth-back:focus-visible,.auth-back:hover{color:var(--ink);text-decoration:underline}.auth-card{width:100%;background:var(--surface,#fff);border:1px solid var(--line)}.auth-logo{display:inline-flex;text-decoration:none!important}.auth-form label{color:var(--ink);font-weight:600}.auth-form input:not([type]),.auth-form input[type=email],.auth-form input[type=password],.auth-form input[type=text]{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;width:100%;box-sizing:border-box;min-height:46px;padding:.7rem .85rem;font:inherit;font-size:16px;font-weight:400;line-height:1.3;color:var(--ink);-webkit-text-fill-color:var(--ink);caret-color:#6d5efc;background:var(--auth-field-bg);background-clip:padding-box;border:1px solid var(--auth-field-border);border-radius:.7rem;box-shadow:inset 0 1px 2px #0000000f;color-scheme:light dark;transition:border-color .15s,box-shadow .15s}.auth-form input::placeholder{color:var(--muted);-webkit-text-fill-color:var(--muted);opacity:1}.auth-form input:hover{border-color:color-mix(in srgb,var(--auth-field-border) 60%,var(--ink))}.auth-form input:focus,.auth-form input:focus-visible{outline:none;border-color:#6d5efc;box-shadow:0 0 0 3px var(--auth-ring)}.auth-form input:-webkit-autofill{-webkit-box-shadow:0 0 0 40px var(--auth-field-bg) inset;-webkit-text-fill-color:var(--ink)}.auth-password{position:relative;display:block}.auth-password input{padding-right:2.9rem!important}.auth-form .auth-password-toggle,.auth-password-toggle{position:absolute;right:.35rem;top:50%;transform:translateY(-50%);width:2.25rem;height:2.25rem;padding:0;display:grid;place-items:center;border:0;border-radius:.5rem;background:transparent;color:var(--muted);box-shadow:none}.auth-password-toggle:hover{color:var(--ink);background:color-mix(in srgb,var(--ink) 8%,transparent)}.auth-password-toggle:focus-visible{outline:2px solid #6d5efc;outline-offset:1px}.auth-google{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:44px;padding:0 16px;margin-bottom:.5rem;border-radius:.75rem;cursor:pointer;background:#fff;color:#1f1f1f;border:1px solid #747775;box-shadow:none;font-family:Roboto,Helvetica Neue,Arial,sans-serif;font-size:14px;font-weight:500;letter-spacing:.25px}.auth-google:hover:not(:disabled){background:#f8f9fa;box-shadow:0 1px 2px #3c40434d,0 1px 3px 1px #3c404326}.auth-google:focus-visible{outline:2px solid #4285f4;outline-offset:2px}.auth-google:disabled{opacity:.6;cursor:default}.auth-google-icon{display:inline-flex;width:18px;height:18px;flex:none}[data-theme=dark] .auth-google{background:#131314;color:#e3e3e3;border-color:#8e918f}[data-theme=dark] .auth-google:hover:not(:disabled){background:#1f1f20}.rich-editor{line-height:1.8;overflow-wrap:break-word}.rich-editor>:not(table):not(pre){max-width:68ch;margin-left:auto;margin-right:auto}.rich-editor>:is(table,pre){max-width:min(100%,68ch);margin-left:auto;margin-right:auto}.rich-editor :is(p,li){text-align:start;-webkit-hyphens:manual;hyphens:manual}.rich-editor.is-justified :is(p,li){text-align:justify;text-justify:inter-word;-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-chars:7 3 3;text-wrap:pretty}.rich-editor :is(h1,h2,h3,h4,h5,h6,pre,code,table,th,td,figcaption),.rich-editor.is-justified :is(td,th) :is(p,li){text-align:start;-webkit-hyphens:manual;hyphens:manual}.toolbar .icon.justify-toggle{display:inline-grid;place-items:center;border-radius:8px}.toolbar .icon.justify-toggle:hover{color:var(--ink)}.toolbar .icon.justify-toggle.is-on{color:var(--blue);background:rgba(49,89,232,.09)}[data-theme=dark] .toolbar .icon.justify-toggle.is-on{color:#9fb4ff;background:rgba(159,180,255,.14)}.back-to-top{display:none}@media (max-width:850px){.mobile-tabs,.topbar{transition:transform .26s ease,box-shadow .26s ease;will-change:transform}.chrome-hidden .topbar{transform:translateY(calc(-100% - 2px));box-shadow:none}.chrome-hidden .mobile-tabs{transform:translateY(calc(100% + 2px));box-shadow:none}.back-to-top{display:grid;place-items:center;position:fixed;z-index:17;right:max(14px,env(safe-area-inset-right,0px));bottom:calc(env(safe-area-inset-bottom, 0px) + 79px);width:40px;height:40px;padding:0;border-radius:50%;border:1px solid #ffffff40;color:#fff;background:rgba(32,40,61,.5);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 6px 18px rgba(15,23,42,.18);opacity:0;transform:translateY(8px) scale(.9);pointer-events:none;transition:opacity .2s ease,transform .2s ease,bottom .26s ease}.back-to-top.is-visible{opacity:.82;transform:none;pointer-events:auto}.back-to-top.is-visible:active{opacity:1}.chrome-hidden .back-to-top{bottom:calc(env(safe-area-inset-bottom, 0px) + 18px)}body:has(.highlight-toolbar) .back-to-top{opacity:0;pointer-events:none}[data-theme=dark] .back-to-top{background:rgba(148,163,196,.28);border-color:#ffffff26}}@media (max-width:850px) and (prefers-reduced-motion:reduce){.back-to-top,.mobile-tabs,.topbar{transition:none}}@media (max-width:560px){.rich-editor.is-justified li{text-align:start}}.learning-rationale li :is(button,a){text-align:left}.speech-error .speech-settings-link{font-size:inherit;font-weight:700}.provider-fields .provider-hint{margin:0 0 12px;font-size:13px;line-height:1.5}.planning-indicator.failed small.planning-failure-reason{color:#b05765;opacity:.9}[data-theme=dark] .planning-indicator.failed small.planning-failure-reason{color:inherit}.notice-dismiss{flex-shrink:0;width:26px;height:26px;min-width:26px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:6px;background:transparent;color:inherit;opacity:.55;cursor:pointer}.notice-dismiss:focus-visible,.notice-dismiss:hover{opacity:1;background:rgba(0,0,0,.06)}[data-theme=dark] .notice-dismiss:focus-visible,[data-theme=dark] .notice-dismiss:hover{background:rgba(255,255,255,.08)}.planning-indicator .text-button+.notice-dismiss{margin-left:2px}.alert.success .notice-dismiss,.planning-notification .text-button{margin-left:auto}.planning-notification .text-button+.notice-dismiss{margin-left:0}.planning-indicator.ready>span{flex:1 1;min-width:0}.planning-indicator.failed,.planning-indicator.ready{flex-wrap:nowrap}.planning-indicator.failed>div{flex:1 1;min-width:0}@media (max-width:720px){.planning-indicator.failed .text-button,.planning-indicator.ready .text-button{white-space:nowrap}.planning-indicator .notice-dismiss{align-self:flex-start;margin-top:-3px;margin-right:-4px}}.inline-title.read-only,.lesson-main-title.read-only{margin:0 0 10px;overflow-wrap:anywhere}.inline-title.read-only{margin:0}.lesson-description.read-only{min-height:0;white-space:pre-wrap}.shared-mark{flex:none;color:var(--muted)}.shared-course-origin{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;color:var(--muted);margin-top:6px}.course-card>p.shared-course-origin{min-height:0;margin-top:6px;font-size:12px;line-height:1.5}.read-only-tag{display:inline-flex;align-items:center;gap:4px;margin-left:4px}.classroom-courses-section{margin-top:30px}.classroom-courses-section .section-heading{margin-bottom:16px}.shared-course{border-style:dashed}.shared-lesson-card p{display:flex;align-items:center;gap:6px}.field-hint{display:block;font-size:12px;font-weight:400;color:var(--muted);line-height:1.6;margin-top:4px}.profile-settings h2{font-size:16px}.profile-settings .theme-options button[aria-pressed=true]{font-weight:650}.classroom-form h2{margin-bottom:16px}.classroom-form textarea{resize:vertical}.classroom-courses{border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin:0 0 16px;display:grid;grid-gap:10px;gap:10px}.classroom-courses legend{font-size:12px;font-weight:500;color:#7c88a1;padding:0 6px}.classroom-courses label{display:flex;align-items:center;gap:10px;font-size:14px}.classroom-courses p{font-size:13px;color:var(--muted);margin:0}.classroom-form .dialog-footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;align-items:center}.classroom-form .dialog-footer .danger{margin-right:auto}.classroom-grid{margin-bottom:24px}.classroom-card.current{border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}.classroom-course-list{font-size:12px;color:var(--muted);line-height:1.7;margin-top:12px;min-height:0}.classroom-progress .section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:18px}.classroom-progress .section-heading h2{margin-top:6px}.classroom-progress .panel-empty{display:flex;align-items:center;gap:8px}.progress-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.progress-table{width:100%;border-collapse:collapse;font-size:13px;min-width:520px}.progress-table td,.progress-table th{text-align:left;padding:12px 10px;border-bottom:1px solid var(--line);vertical-align:middle}.progress-table thead th{font-size:11px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.3px}.progress-table tbody th{font-weight:500}.progress-table tbody th .text-button{padding:0;text-align:left}.progress-table td .meter{margin-top:6px;min-width:80px}.progress-table td small{display:block;color:var(--muted);font-size:11px}.cell-percent{font-weight:650}.pending-student{display:flex;flex-direction:column;color:var(--muted);overflow-wrap:anywhere}.pending-student small{font-size:11px}.student-total{text-align:right}.student-total strong{display:block;font-family:Manrope,sans-serif;font-size:28px}.student-total small{font-size:12px;color:var(--muted)}.student-course{padding:18px 0;border-top:1px solid var(--line)}.student-course .meter{margin:8px 0 14px}.student-group h3{font-size:13px;margin:12px 0 8px}.student-group ul{list-style:none;padding:0;margin:0;display:grid;grid-gap:6px;gap:6px}.student-group li{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:13px}.student-group .status-tag{margin:0;gap:4px;align-items:center;min-width:112px}.student-group small{color:var(--muted);font-size:11px}.student-lesson-title{flex:1 1;min-width:160px}[data-theme=dark] :is(.classroom-courses legend,.classroom-courses p,.progress-table thead th){color:var(--muted)}[data-theme=dark] :is(.progress-table th,.progress-table td,.student-course,.classroom-courses){border-color:var(--line)}@media (max-width:560px){.student-total{text-align:left}.classroom-form .dialog-footer .danger{margin-right:0;width:100%;justify-content:flex-start}}.admin-viewer{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 22px}.admin-viewer .field{margin:0;min-width:260px;max-width:100%}.admin-viewer .read-only-tag{margin:0}.api-credit-note{font-size:13px;line-height:1.55;padding:10px 12px;border-radius:10px;background:#fff7e9;color:#7a5a20;border:1px solid #f3dfb6;margin:0 0 14px}.api-credit-note strong{color:inherit}.preferred-field{margin-bottom:12px}.provider-list{display:grid;grid-gap:8px;gap:8px;margin-bottom:14px}.provider-list .provider-fields{padding:0;margin:0;border:1px solid var(--line);background:var(--surface,#fff);border-radius:12px;overflow:hidden}.provider-list .provider-fields[open]{border-color:#c9d5fb;box-shadow:0 4px 18px #26345c0d}.provider-fields>summary{list-style:none;display:flex;align-items:center;gap:10px;padding:10px 14px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.provider-fields>summary::-webkit-details-marker{display:none}.provider-fields>summary h3{margin:0;font-size:14px;flex:1 1;min-width:0}.provider-badge{width:28px;height:28px;flex:none;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;font-weight:750;font-size:13px;color:#fff;background:#64748b}.provider-google{background:#4285f4}.provider-openai{background:#10a37f}.provider-anthropic{background:#d97757}.provider-xai{background:#111827}.provider-meta{background:#0866ff}.provider-state{font-size:11px;padding:3px 8px;border-radius:999px;background:#f1f4f9;color:#8d99b0;white-space:nowrap}.provider-state.on{background:#eaf7f0;color:#438f72}.provider-chevron{color:var(--muted);transition:transform .15s;flex:none}.provider-fields[open] .provider-chevron{transform:rotate(180deg)}.provider-body{padding:2px 14px 12px}.provider-body .saved-credential{margin:0 0 10px;padding:7px 10px;font-size:12px}.provider-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px;align-items:start}.provider-grid .field{margin-bottom:6px}.provider-grid .model-status{font-size:11px;margin:0}.provider-body .provider-hint{margin:4px 0 0;font-size:12px;line-height:1.5}@media (max-width:560px){.provider-grid{grid-template-columns:1fr}}[data-theme=dark] .api-credit-note{background:#3b3020;border-color:#645135;color:#f0d094}[data-theme=dark] .provider-list .provider-fields{background:var(--sidebar);border-color:var(--line)}[data-theme=dark] .provider-list .provider-fields[open]{border-color:#3a5076}[data-theme=dark] .provider-state{background:#2a3853;color:#bac9e7}[data-theme=dark] .provider-state.on{background:#18382f;color:#9fdbc0}[data-theme=dark] .provider-xai{background:#e5e7eb;color:#111827}.onboarding-dialog{max-width:560px}.onboarding-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;background:#eef2ff;color:var(--blue);margin-bottom:12px}.onboarding-points{list-style:none;padding:0;margin:4px 0 18px;display:grid;grid-gap:10px;gap:10px}.onboarding-points li{display:flex;gap:9px;align-items:flex-start;font-size:14px;line-height:1.55}.onboarding-points svg{flex:none;margin-top:3px;color:#438f72}.onboarding-step{min-height:200px}.onboarding-step h3{font-size:18px;margin:4px 0 8px}.onboarding-count{font-size:11px;letter-spacing:.4px;text-transform:uppercase;color:var(--muted);display:block}.onboarding-dots{display:flex;gap:6px;justify-content:center;margin:6px 0 14px}.onboarding-dots span{width:7px;height:7px;border-radius:50%;background:var(--line)}.onboarding-dots span.on{background:var(--blue);width:20px;border-radius:4px}.onboarding .dialog-footer{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;align-items:center}.onboarding .dialog-footer .text-button{margin-right:auto}[data-theme=dark] .onboarding-icon{background:#283858;color:#adc1ff}[data-theme=dark] .onboarding-points svg{color:#9fdbc0}.sidebar-bottom{display:grid;grid-gap:4px;gap:4px}.sidebar-links{display:grid;grid-gap:1px;gap:1px}.sidebar-links button{justify-content:flex-start;gap:10px;font-size:13.5px;color:#737e92;padding:8px 10px;border-radius:8px;width:100%}.sidebar-links button:hover{background:#f3f5fa;color:var(--ink)}.sidebar-bottom .theme-select{padding:6px 10px 10px}.account-menu{padding:10px 6px 0 10px;border-top:1px solid var(--line);margin-top:2px}.account-menu,.account-user{display:flex;align-items:center;gap:10px}.account-user{min-width:0;flex:1 1}.account-avatar{width:30px;height:30px;flex:none;border-radius:50%;object-fit:cover;display:inline-flex;align-items:center;justify-content:center;background:#e8eeff;color:var(--blue);font-size:12px;font-weight:700}.account-name{font-size:14px;font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-signout{color:var(--muted);flex:none}.account-signout:hover{color:#c2415d}[data-theme=dark] .sidebar-links button{color:var(--muted)}[data-theme=dark] .sidebar-links button:hover{background:var(--surface-soft);color:var(--ink)}[data-theme=dark] .account-avatar{background:#283858;color:#adc1ff}[data-theme=dark] .account-menu{border-color:var(--line)}.course-hero{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;gap:26px;min-height:210px;margin-bottom:24px;padding:34px 36px 30px;border:1px solid #e1e6f5;border-radius:24px;background:radial-gradient(120% 140% at 100% 0,var(--hero-tint) 0,transparent 55%),linear-gradient(135deg,var(--hero-wash) 0,#fff 70%)}.course-hero.hero-blue{--hero-tint:#dfe6ff;--hero-wash:#f1f4ff}.course-hero.hero-purple{--hero-tint:#ebe0ff;--hero-wash:#f6f1ff}.course-hero.hero-orange{--hero-tint:#ffe5cf;--hero-wash:#fff6ee}.course-hero.hero-green{--hero-tint:#d6f2e2;--hero-wash:#effaf4}.course-hero-body{position:relative;z-index:1;min-width:0;max-width:820px}.course-hero .eyebrow{margin-bottom:12px}.course-hero h1{font-size:clamp(26px,2.6vw,38px);line-height:1.14;letter-spacing:-.9px;text-wrap:balance}.course-hero h1,.course-hero-summary{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.course-hero-summary{margin-top:12px;max-width:680px;color:#5a6782;font-size:15px;line-height:1.7}.course-hero-actions{position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 18px;padding-top:20px;border-top:1px solid #20283d14}.course-hero-actions .actions{display:flex;flex-wrap:wrap;gap:10px}.course-hero.has-cover .course-hero-actions{border-top-color:#ffffff26}[data-theme=dark] .course-hero:not(.has-cover) .course-hero-actions{border-top-color:var(--line)}.cover-controls{display:flex;gap:8px}.cover-button{position:relative;display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border:1px solid #dfe4f2;border-radius:999px;background:#ffffffcc;color:#4a5672;font-size:12px;font-weight:650;cursor:pointer;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.cover-button:hover{color:var(--blue);border-color:#c9d4fb}.cover-button.busy{opacity:.7;cursor:progress}.cover-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.cover-button:has(input:focus-visible){outline:2px solid var(--blue);outline-offset:2px}.course-hero.has-cover{min-height:320px;border-color:transparent;background:#0d1220;box-shadow:0 18px 50px -24px #0d122099}.course-hero-cover{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover}.course-hero.has-cover:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#0a0e1af2,#0a0e1ab3 50%,#0a0e1a33),linear-gradient(90deg,#0a0e1aa6,#0a0e1a40 60%,transparent 85%)}.course-hero.has-cover h1{color:#fff;text-shadow:0 2px 18px #0a0e1a80}.course-hero.has-cover .eyebrow{color:#c7d4ff}.course-hero.has-cover :is(.course-hero-summary,.shared-course-origin){color:#e3e8f4d9}.course-hero.has-cover :is(.secondary,.cover-button){background:#ffffff1f;border-color:#ffffff40;color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.course-hero.has-cover :is(.secondary,.cover-button):hover{background:#ffffff33;color:#fff}[data-theme=dark] .course-hero:not(.has-cover){border-color:var(--line);background:radial-gradient(120% 140% at 100% 0,#2a3a63 0,transparent 55%),linear-gradient(135deg,#1d2740 0,var(--surface) 70%)}[data-theme=dark] .course-hero:not(.has-cover) .course-hero-summary{color:var(--muted)}[data-theme=dark] .course-hero:not(.has-cover) .cover-button{background:var(--surface-soft);border-color:var(--line);color:#d0daf0}@media(max-width:850px){.course-hero{gap:22px;padding:26px 24px 22px}.course-hero h1{-webkit-line-clamp:3}.course-hero-actions{flex-direction:column;align-items:stretch}.course-hero.has-cover{min-height:300px;justify-content:flex-end}}@media(max-width:560px){.course-hero{border-radius:20px;padding:22px 18px 18px;min-height:0}.course-hero h1{font-size:24px;letter-spacing:-.6px}.course-hero-summary{font-size:14px;line-height:1.65}.course-hero-actions .actions{display:grid;grid-template-columns:1fr 1fr}.course-hero-actions .actions button{justify-content:center;padding:12px 9px;font-size:12px;min-width:0;white-space:normal;line-height:1.25;text-align:center}.course-hero-actions .actions button svg{flex-shrink:0}.cover-controls{justify-content:flex-start}}.dash-hero{position:relative;overflow:hidden;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:32px;padding:36px 40px;margin-bottom:28px;border-radius:22px;color:#fff;background:radial-gradient(120% 150% at 100% 0,#8f80ff 0,transparent 55%),var(--brand-gradient);box-shadow:0 26px 50px -30px #3159e8b8}.dash-hero-glyph{position:absolute;z-index:-1;right:250px;bottom:-130px;width:360px;height:360px;color:#fff;opacity:.07;pointer-events:none}.dash-hero-text{min-width:0}.dash-hero .eyebrow{color:#d3dbff}.dash-hero h1{color:#fff}.dash-hero p{color:#e4e9ff;font-size:15px;line-height:1.7;max-width:560px;margin-top:10px}.dash-hero .actions{margin-top:24px}.dash-hero .primary,[data-theme=dark] .dash-hero .primary{background:#fff;color:var(--brand-indigo);box-shadow:0 10px 20px -12px #0b1640}.dash-hero .secondary,[data-theme=dark] .dash-hero .secondary{background:#ffffff1c;border:1px solid #ffffff4d;color:#fff}.dash-hero-ring{position:relative;flex-shrink:0;width:152px;height:152px;border-radius:50%;display:grid;place-content:center;text-align:center;background:#ffffff12}.dash-hero-ring:before{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(#fff calc(var(--p, 0) * 1%),#ffffff33 0);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 11px),#000 calc(100% - 10px));mask:radial-gradient(farthest-side,transparent calc(100% - 11px),#000 calc(100% - 10px))}.dash-hero-ring strong{font-family:Manrope,sans-serif;font-size:38px;font-weight:800;letter-spacing:-.04em;line-height:1}.dash-hero-ring strong small{font-size:17px;margin-left:1px}.dash-hero-ring span{font-size:11px;color:#dfe5ff;margin-top:6px}[data-theme=dark] .dash-hero{background:radial-gradient(120% 150% at 100% 0,#6a5be0 0,transparent 55%),linear-gradient(135deg,#2643c4,#5546d8);box-shadow:0 26px 50px -30px #000}.meter>span{background:var(--brand-gradient)}.bar-column>span.filled{background:linear-gradient(180deg,var(--brand-violet),var(--brand-indigo))}[data-theme=dark] .bar-column>span.filled{background:linear-gradient(180deg,#a99cff,#7f9bff)}.step-number{background:#eef1ff;color:var(--brand-indigo);font-weight:700}.next-row:first-of-type .step-number,[data-theme=dark] .next-row:first-of-type .step-number{background:var(--brand-gradient);color:#fff}.course-symbol.purple,.stat-icon.purple{background:#f0eeff;color:var(--brand-violet)}.course-symbol.green,.stat-icon.green{color:var(--brand-mint)}.course-symbol.orange,.stat-icon.orange{color:var(--brand-amber)}.stat{transition:border-color .2s,box-shadow .2s}.stat:hover{border-color:#d5dcf3;box-shadow:0 8px 24px -16px #26345c40}.footer-logo{opacity:.85}.topbar-mark{display:none}@media (max-width:850px){.topbar-mark{display:inline-grid}}@media (max-width:1200px){.dash-hero{padding:30px;gap:24px}.dash-hero-ring{width:128px;height:128px}.dash-hero-ring strong{font-size:32px}}@media (max-width:720px){.dash-hero{flex-direction:column;align-items:stretch;padding:24px 22px;border-radius:18px;margin-bottom:22px}.dash-hero-text h1{padding-right:86px}.dash-hero p{font-size:14px}.dash-hero .actions{display:grid;grid-template-columns:1fr 1fr}.dash-hero .actions button{justify-content:center}.dash-hero-ring{position:absolute;top:20px;right:18px;width:76px;height:76px}.dash-hero-ring:before{-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 7px),#000 calc(100% - 6px));mask:radial-gradient(farthest-side,transparent calc(100% - 7px),#000 calc(100% - 6px))}.dash-hero-ring strong{font-size:20px}.dash-hero-ring strong small{font-size:11px}.dash-hero-ring span{display:none}.dash-hero-glyph{right:-60px;bottom:-110px;width:280px;height:280px}}.danger-text{color:#c2410c}.flip{transform:rotate(180deg)}.stars{display:inline-flex;gap:1px;vertical-align:middle}.star{position:relative;display:inline-block;flex-shrink:0}.star .star-empty{color:#d5dbe7;display:block}.star-fill{position:absolute;inset:0 auto 0 0;overflow:hidden;color:var(--brand-amber)}.star-fill svg{fill:var(--brand-amber);display:block}.market-avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-weight:700;flex-shrink:0}.market-avatar,.market-heading h1{font-family:Manrope,sans-serif}.market-toolbar{gap:10px;margin-bottom:14px;flex-wrap:wrap}.market-search,.market-toolbar{display:flex;align-items:center}.market-search{flex:1 1 320px;gap:8px;border:1px solid #dce1ec;background:#fff;border-radius:10px;padding:0 12px;color:var(--muted)}.market-search:focus-within{outline:3px solid #91a9ff;outline-offset:2px}.market-search input{border:0;padding:11px 0;flex:1 1;min-width:0;background:transparent;outline:none}.market-filter-toggle.on{border-color:var(--blue);color:var(--blue)}.market-filter-toggle .nav-count{margin-left:2px}.market-sort{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}.market-sort select{padding:9px 10px;font-size:13px}.market-filters{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end;padding:16px;margin-bottom:14px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.market-filters .field{margin:0;min-width:160px}.market-check{display:flex;align-items:center;gap:8px;font-size:13px;padding-bottom:10px;cursor:pointer}.market-check input{width:16px;height:16px}.market-filters .text-button{padding-bottom:10px}.market-categories{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 10px;margin-bottom:6px;scrollbar-width:thin}.market-categories button{white-space:nowrap;padding:7px 13px;border-radius:999px;border:1px solid var(--line);background:#fff;font-size:13px;color:#58647b}.market-categories button span{font-size:11px;color:var(--muted)}.market-categories button.selected{background:var(--blue);border-color:var(--blue);color:#fff}.market-categories button.selected span{color:#ffffffcc}.market-results-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin-bottom:16px}.market-active-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 6px 4px 10px;border-radius:999px;background:#eef2ff;color:var(--blue);font-size:12px;font-weight:600}.market-active-chip button{padding:2px;border-radius:50%;color:inherit}.market-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));grid-gap:20px;gap:20px}.market-card{display:flex;flex-direction:column;border:1px solid var(--line);background:#fff;border-radius:var(--radius);overflow:hidden;transition:box-shadow .2s,transform .2s}.market-card:hover{box-shadow:0 8px 28px #26345c12;transform:translateY(-2px)}.market-card.market-unpublished{opacity:.75}.market-card-cover{position:relative;display:block;padding:0;width:100%}.market-cover{position:relative;aspect-ratio:16/8;width:100%;overflow:hidden;background:radial-gradient(120% 140% at 100% 0,var(--hero-tint,#dfe6ff) 0,transparent 60%),linear-gradient(135deg,var(--hero-wash,#f1f4ff) 0,#fff 80%)}.market-cover.hero-blue{--hero-tint:#dfe6ff;--hero-wash:#f1f4ff}.market-cover.hero-purple{--hero-tint:#ebe0ff;--hero-wash:#f6f1ff}.market-cover.hero-orange{--hero-tint:#ffe5cf;--hero-wash:#fff6ee}.market-cover.hero-green{--hero-tint:#d6f2e2;--hero-wash:#effaf4}.market-cover img{width:100%;height:100%;object-fit:cover;display:block}.market-cover-art{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--blue);opacity:.55}.market-price-badge{right:10px;background:#fff;color:var(--brand-mint);font-weight:700;font-size:12px;padding:4px 10px;box-shadow:0 2px 8px #1d2a4a1f}.market-flag,.market-price-badge{position:absolute;top:10px;border-radius:999px}.market-flag{left:10px;display:inline-flex;align-items:center;gap:4px;background:#141a2ecc;color:#fff;font-size:11px;font-weight:600;padding:4px 9px}.market-flag.used{background:#1fa77ae6}.market-card-body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:8px;flex:1 1}.market-card-body .card-title{font-size:17px}.market-card-body .card-meta{margin:auto 0 0;padding-top:6px}.market-card-tags{display:flex;gap:6px;flex-wrap:wrap}.market-chip{font-size:11px;font-weight:600;padding:3px 9px;border-radius:6px;background:#eef2ff;color:var(--blue)}.market-chip.subtle{background:#f3f5f9;color:#6b7590}.market-author-link{display:inline-flex;align-items:center;gap:7px;padding:0;font-size:13px;color:#58647b;justify-content:flex-start;text-align:left}.market-author-link:hover{color:var(--blue)}.market-author-link.big{font-size:14px;margin-top:4px}.market-summary{font-size:13px;line-height:1.6;color:#5d677d;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.market-rating-line{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}.market-rating-line strong{color:#b4690e;font-size:14px}a.market-rating-line:hover span{text-decoration:underline}.market-empty{margin-top:20px}.market-loading{padding:60px 0;text-align:center;color:var(--muted)}.market-detail{max-width:1180px}.market-back{margin-bottom:16px}.market-banner{padding:10px 14px;border-radius:10px;background:#fff7e6;color:#8a5a00;font-size:13px;margin-bottom:14px;border:1px solid #f6dfb0}.market-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);grid-gap:28px;gap:28px;align-items:center;padding:30px;border-radius:24px;border:1px solid #e1e6f5;background:radial-gradient(120% 140% at 100% 0,var(--hero-tint) 0,transparent 55%),linear-gradient(135deg,var(--hero-wash) 0,#fff 70%);margin-bottom:28px}.market-hero.hero-blue{--hero-tint:#dfe6ff;--hero-wash:#f1f4ff}.market-hero.hero-purple{--hero-tint:#ebe0ff;--hero-wash:#f6f1ff}.market-hero.hero-orange{--hero-tint:#ffe5cf;--hero-wash:#fff6ee}.market-hero.hero-green{--hero-tint:#d6f2e2;--hero-wash:#effaf4}.market-hero-text{display:flex;flex-direction:column;gap:10px;min-width:0}.market-hero h1{font-family:Manrope,sans-serif;font-size:clamp(26px,3.2vw,36px);line-height:1.2;margin:4px 0 0;overflow-wrap:anywhere}.market-hero-summary{font-size:16px;line-height:1.6;color:#4d576d;margin:0}.market-hero-meta{display:flex;flex-wrap:wrap;gap:16px;align-items:center;font-size:13px;color:var(--muted)}.market-hero-meta>span{display:inline-flex;align-items:center;gap:6px}.market-hero-cover{border-radius:16px;box-shadow:0 10px 30px #26345c1a;aspect-ratio:16/10}.market-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;grid-gap:32px;gap:32px;align-items:start}.market-detail-main{min-width:0}.market-section{padding:0 0 28px;margin-bottom:28px;border-bottom:1px solid var(--line)}.market-section:last-child{border-bottom:0}.market-section h2{font-family:Manrope,sans-serif;font-size:20px;margin:0 0 14px}.market-section>p{font-size:15px;line-height:1.8;margin:0 0 12px;white-space:pre-line}.market-section-head{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:14px}.market-section-head h2{margin:0}.market-section-head .text-button{margin-left:auto}.market-learn{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px 22px;gap:10px 22px}.market-learn li{display:flex;gap:9px;font-size:14px;line-height:1.5}.market-learn svg{color:var(--brand-mint);flex-shrink:0;margin-top:2px}.market-prereq{margin:0;padding-left:20px;font-size:14px;line-height:1.8}.market-outline{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}.market-module+.market-module{border-top:1px solid var(--line)}.market-module-head{width:100%;justify-content:flex-start;padding:14px 16px;gap:12px;text-align:left;background:#fafbfe}.market-module.open .market-module-head{background:#f3f6fd}.market-module-head strong{flex:1 1;font-size:14px}.market-module-head .muted{font-size:12px;white-space:nowrap}.market-module-index{font-family:Manrope,sans-serif;font-weight:750;color:var(--blue);font-size:13px}.market-lessons{list-style:none;margin:0;padding:6px 16px 12px 46px}.market-lessons li{display:flex;gap:10px;padding:9px 0;font-size:14px;align-items:flex-start}.market-lessons li+li{border-top:1px dashed var(--line)}.market-lessons li>svg{color:var(--muted);flex-shrink:0;margin-top:3px}.market-lessons li>div{flex:1 1;min-width:0}.market-lessons p{margin:3px 0 0;font-size:13px;color:#6b7590;line-height:1.6}.market-lessons li>.muted{font-size:12px;white-space:nowrap}.market-tags{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.market-tag{display:inline-flex;align-items:center;gap:5px;font-size:12px;padding:4px 10px;border-radius:999px;background:#f3f5f9;color:#58647b}.market-author-card{display:flex;gap:16px;align-items:center}.market-author-card>div{display:flex;flex-direction:column;gap:3px;align-items:flex-start;font-size:13px}.market-author-card strong{font-size:16px}.rating-summary{display:grid;grid-template-columns:auto minmax(0,1fr);grid-gap:28px;gap:28px;align-items:center;padding:18px;border:1px solid var(--line);border-radius:12px;background:#fff;margin-bottom:18px}.rating-big{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:120px;font-size:12px;color:var(--muted)}.rating-big strong{font-family:Manrope,sans-serif;font-size:44px;line-height:1;color:var(--ink)}.rating-bars{display:flex;flex-direction:column;gap:4px}.rating-bar{display:grid;grid-template-columns:40px minmax(0,1fr) 30px;grid-gap:10px;gap:10px;align-items:center;padding:3px 6px;border-radius:6px;font-size:12px;color:#58647b}.rating-bar>span:first-child{display:inline-flex;align-items:center;gap:3px}.rating-bar>span:first-child svg{color:var(--brand-amber);fill:var(--brand-amber)}.rating-bar.selected{background:#eef2ff}.rating-bar:disabled{opacity:.55;cursor:default}.rating-track{height:8px;border-radius:99px;background:#edf0f6;overflow:hidden}.rating-track>span{display:block;height:100%;background:var(--brand-amber);border-radius:99px}.rating-count{text-align:right}.review-form{display:flex;flex-direction:column;gap:10px;padding:18px;border:1px solid #dbe3fb;background:#f8faff;border-radius:12px;margin-bottom:18px}.review-form .field{margin:0}.review-form .actions{justify-content:flex-end}.review-form .muted{margin:0}.review-done{flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:wrap}.review-done>div:first-child{display:flex;align-items:center;gap:10px}.star-picker{display:flex;align-items:center;gap:2px;flex-wrap:wrap}.star-picker button{padding:3px;color:#ccd3e1;border-radius:6px}.star-picker button.on{color:var(--brand-amber)}.star-picker button.on svg{fill:var(--brand-amber)}.star-picker-label{margin-left:10px;font-size:13px;color:var(--muted)}.field-count{align-self:flex-end;font-size:11px;color:var(--muted);font-weight:400}.market-review-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:6px 0 4px}.review{display:flex;gap:12px;padding:16px 0;border-top:1px solid var(--line)}.review.mine{border-top:0;padding-top:0}.review>div{flex:1 1;min-width:0}.review header{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}.review header strong{font-size:14px}.review time{font-size:12px;color:var(--muted)}.review p{margin:6px 0 0;font-size:14px;line-height:1.7;white-space:pre-line;overflow-wrap:anywhere}.market-more{margin-top:10px}.market-no-reviews{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:14px}.market-buy{position:-webkit-sticky;position:sticky;top:84px}.market-buy-card{display:flex;flex-direction:column;gap:12px;padding:20px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 8px 30px #26345c0d}.market-buy-card .primary,.market-buy-card .secondary{width:100%}.market-buy-card>.text-button{align-self:center}.market-buy-price{display:flex;flex-direction:column;gap:2px}.market-buy-price strong{font-family:Manrope,sans-serif;font-size:30px;color:var(--brand-mint)}.market-buy-note,.market-buy-price .muted{font-size:12px;margin:0}.market-used-note{display:flex;align-items:center;gap:6px;margin:0;font-size:13px;color:var(--brand-mint);font-weight:600}.market-facts{margin:6px 0 0;padding-top:12px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:9px}.market-facts>div{display:flex;justify-content:space-between;gap:12px;font-size:13px}.market-facts dt{display:flex;align-items:center;gap:8px;color:var(--muted)}.market-facts dd{margin:0;font-weight:600;text-align:right}.soft-tag.market-live{color:var(--brand-mint);background:#e8f7f0}.publish-dialog{max-width:720px}.publish-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px}.pick-course-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.pick-course-list button{width:100%;justify-content:flex-start;gap:12px;text-align:left;padding:12px;border:1px solid var(--line);border-radius:12px}.pick-course-list button:hover:not(:disabled){border-color:var(--blue)}.pick-course-list .course-symbol{width:40px;height:40px;border-radius:11px;flex-shrink:0}.pick-course-text{display:flex;flex-direction:column;flex:1 1;min-width:0}.pick-course-text small{color:var(--muted);font-size:12px}@media (max-width:1100px){.market-detail-layout{grid-template-columns:minmax(0,1fr)}.market-buy{position:static;order:-1}}@media (max-width:850px){.market-hero{grid-template-columns:minmax(0,1fr);padding:20px}.market-hero-cover{order:-1}}@media (max-width:560px){.market-toolbar{gap:8px}.market-search{flex-basis:100%}.market-sort span{display:none}.market-filters .field{min-width:calc(50% - 7px);flex:1 1}.market-learn{grid-template-columns:minmax(0,1fr)}.market-lessons{padding-left:16px}.rating-summary{gap:14px}.publish-grid,.rating-summary{grid-template-columns:minmax(0,1fr)}.publish-grid{gap:0}.market-grid{grid-template-columns:minmax(0,1fr)}}[data-theme=dark] :is(.market-card,.market-filters,.market-outline,.rating-summary,.market-buy-card,.market-search,.market-categories button){background:var(--surface);border-color:var(--line);color:var(--ink)}[data-theme=dark] .market-categories button.selected{background:#3e5edb;border-color:#3e5edb;color:#fff}[data-theme=dark] :is(.market-module-head){background:var(--surface)}[data-theme=dark] .market-module.open .market-module-head{background:var(--surface-soft)}[data-theme=dark] :is(.market-chip,.market-active-chip,.rating-bar.selected){background:var(--surface-soft);color:var(--blue)}[data-theme=dark] :is(.market-chip.subtle,.market-tag){background:var(--surface-soft);color:var(--muted)}[data-theme=dark] :is(.market-summary,.market-hero-summary,.market-lessons p,.market-author-link,.rating-bar){color:var(--muted)}[data-theme=dark] .market-hero{border-color:var(--line);background:radial-gradient(120% 140% at 100% 0,#2a3a66 0,transparent 55%),linear-gradient(135deg,#1e2940 0,var(--surface) 70%)}[data-theme=dark] .market-cover{background:radial-gradient(120% 140% at 100% 0,#2a3a66 0,transparent 60%),linear-gradient(135deg,#1e2940 0,var(--surface) 80%)}[data-theme=dark] .market-price-badge{background:var(--surface)}[data-theme=dark] .review-form{background:#1e2a42;border-color:var(--line)}[data-theme=dark] .rating-track{background:var(--surface-soft)}[data-theme=dark] .star .star-empty{color:#45526c}[data-theme=dark] .market-banner{background:#3a2f12;border-color:#5c4a1a;color:#f6d48a}[data-theme=dark] .market-rating-line strong{color:#f2b45a}[data-theme=dark] .pick-course-list button{border-color:var(--line)}[data-theme=dark] .soft-tag.market-live{background:#163a2e}.share-link-row{display:flex;gap:8px;align-items:stretch}.share-link-row input{flex:1 1;min-width:0;font-size:14px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:var(--bg)}.share-link-row .primary{display:inline-flex;align-items:center;gap:6px}a.button-link{display:inline-flex;align-items:center;text-decoration:none}.share-course-item svg{flex-shrink:0}.public-listing{min-height:100vh;background:var(--bg)}.public-listing-bar{position:-webkit-sticky;position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px max(16px,calc((100vw - 1180px) / 2));background:#ffffffe8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}.public-listing-bar>a{display:inline-flex}.public-listing-main{max-width:1180px;margin:0 auto;padding:28px 16px 64px}.public-listing .market-detail{margin:0 auto}.public-listing .market-buy{top:84px}a.primary,a.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}a.primary{color:#fff}a.primary:hover{color:#fff;filter:brightness(1.05)}.review-guest p{margin:0}.market-banner.ok{background:#e8f7f0;border-color:#bfe6d4;color:#11694c}@media (max-width:560px){.public-listing-bar .secondary{display:none}.public-listing-main{padding-top:18px}}[data-theme=dark] .public-listing-bar{background:#171e2ef0;border-color:var(--line)}[data-theme=dark] .market-banner.ok{background:#163a2e;border-color:#1f5a45;color:#9be3c4}.planning-indicator-actions{margin-left:auto;display:flex;flex-wrap:wrap;gap:8px}.planning-indicator-actions .secondary{margin-left:0}.planning-indicator-actions .danger-text{color:#b4232c}[data-theme=dark] .planning-indicator-actions .danger-text{color:#ff9a9f}.ai-usage-panel{margin-top:8px}.ai-usage-panel .section-heading{align-items:flex-start;gap:12px}.ai-usage-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.ai-usage-actions select{font:inherit;font-size:12px;padding:6px 8px;border:1px solid var(--line);border-radius:8px;background:transparent;color:inherit}.ai-usage-actions button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid var(--line);border-radius:8px;color:var(--muted)}.ai-usage-actions .spin{animation:speech-spin .8s linear infinite}@media (prefers-reduced-motion:reduce){.ai-usage-actions .spin{animation:none}}.ai-usage-stats{margin:18px 0 22px}.ai-usage-stats .stat{min-height:130px}.ai-usage-stats .stat strong{font-size:27px}.ai-unpriced{color:#c2410c;font-size:11px}.ai-usage-body{display:grid;grid-template-columns:1fr 1.1fr;grid-gap:26px;gap:26px;align-items:start}.ai-usage-chart{gap:3px}.ai-kind-list{list-style:none;margin:18px 0 0;padding:0}.ai-kind-list li{display:grid;grid-template-columns:1fr auto;grid-gap:2px 12px;gap:2px 12px;padding:10px 0;border-top:1px solid #f0f2f7;font-size:13px}.ai-kind-list small{grid-column:1;font-size:10px;color:#9ba5b7}.ai-kind-list strong{grid-column:2;grid-row:1/span 2;align-self:center;font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.ai-model-table{font-size:12px;min-width:0}.ai-model-row{display:grid;grid-template-columns:minmax(0,2fr) 1fr 1fr 1fr;grid-gap:8px;gap:8px;padding:11px 0;border-top:1px solid #f0f2f7;align-items:center;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.ai-model-row.head{border-top:0;font-size:10px;color:#99a2b5;letter-spacing:.4px;text-transform:uppercase;padding-top:0}.ai-model-row>span:not(:first-child){text-align:right}.ai-model-row strong{display:block;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-model-row small{display:block;font-size:10px;color:#9ba5b7;margin-top:2px}.ai-source{font-size:10px}.ai-source.provider{color:#2f855a}.ai-source.default{color:#4a68dc}.ai-source.user{color:#9460d7}.ai-source.none{color:#c2410c}.ai-prices .provider-body{display:grid;grid-gap:12px;gap:12px}.ai-rate{max-width:260px}.ai-price-row{border-top:1px solid var(--line);padding-top:12px}.ai-price-title strong{display:block;font-size:13px;overflow-wrap:anywhere}.ai-price-title small{font-size:11px;color:var(--muted)}.ai-price-fields{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px;margin-top:8px}.ai-price-fields label{display:grid;grid-gap:4px;gap:4px;font-size:11px;color:var(--muted)}.ai-price-fields input{width:110px;font:inherit;font-size:13px;padding:7px 9px;border:1px solid var(--line);border-radius:8px}.ai-price-status{font-size:11px;margin-top:6px}[data-theme=dark] :is(.ai-kind-list li,.ai-model-row){border-color:var(--line)}[data-theme=dark] .ai-source.none,[data-theme=dark] .ai-unpriced{color:#fbbf24}[data-theme=dark] .ai-source.provider{color:#92d9bc}[data-theme=dark] .ai-source.default{color:#a5b8ff}[data-theme=dark] .ai-source.user{color:#cbb1ff}@media (max-width:900px){.ai-usage-body{grid-template-columns:1fr}.ai-usage-panel .section-heading{flex-wrap:wrap}}@media (max-width:560px){.ai-model-row{grid-template-columns:minmax(0,1.6fr) 1fr 1fr}.ai-model-row>span:nth-child(3){display:none}.ai-price-fields input{width:96px}}.speech-controls.has-player{flex:1 1 380px;min-width:0;flex-wrap:nowrap}.speech-player{display:flex;align-items:center;gap:6px;flex:1 1 auto;min-width:0;padding:6px 8px;border-radius:10px;background:var(--surface-soft,#f4f6fc)}.speech-player .speech-button{padding:5px 6px}.speech-player .speech-play{width:30px;height:30px;justify-content:center;border-radius:50%;padding:0}.speech-skip{position:relative}.speech-skip small{font-size:9px;font-weight:700;line-height:1}.speech-time{font-size:11px;color:var(--muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;min-width:34px;text-align:center}.speech-seek{flex:1 1 auto;min-width:60px;height:4px;margin:0 4px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:999px;padding:0;border:0;background:linear-gradient(to right,var(--blue) var(--pct,0),var(--line) var(--pct,0))}.speech-seek::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:14px;height:14px;border-radius:50%;background:var(--blue);border:2px solid var(--surface,#fff);box-shadow:0 1px 4px rgba(15,23,42,.25)}.speech-seek::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:var(--blue);border:2px solid var(--surface,#fff)}.speech-seek:focus-visible{outline:2px solid var(--blue);outline-offset:4px}@media (max-width:560px){.speech-player{flex-wrap:wrap}.speech-seek{order:-1;flex-basis:100%;margin:6px 0 4px}}@media (min-width:851px){.topbar{position:-webkit-sticky;position:sticky;top:0;z-index:15;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}}.topbar-back{display:inline-flex;align-items:center;gap:6px;flex:none;padding:6px 12px 6px 9px;border-radius:999px;font-size:13px;font-weight:600;color:var(--blue);background:var(--surface-soft,#edf1ff);border:1px solid var(--line);cursor:pointer}.topbar-back:hover{border-color:var(--blue)}.back-fab{position:fixed;z-index:17;display:grid;place-items:center;left:calc(var(--sidebar-width, 266px) + 20px);bottom:24px;width:40px;height:40px;padding:0;border-radius:50%;cursor:pointer;color:var(--blue);background:var(--surface,#fff);border:1px solid var(--line);box-shadow:0 6px 18px rgba(15,23,42,.18);opacity:.9;transition:opacity .2s ease,transform .2s ease,bottom .26s ease}.back-fab:hover{opacity:1;transform:translateY(-1px)}@media (max-width:850px){.topbar-back{padding:6px}.topbar-back span{display:none}.back-fab{left:max(14px,env(safe-area-inset-left,0px));bottom:calc(env(safe-area-inset-bottom, 0px) + 79px)}.chrome-hidden .back-fab{bottom:calc(env(safe-area-inset-bottom, 0px) + 18px)}.back-fab{color:#fff;background:rgba(32,40,61,.5);border-color:#ffffff40;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);opacity:.82}[data-theme=dark] .back-fab{background:rgba(148,163,196,.28);border-color:#ffffff26}}body:has(.highlight-toolbar) .back-fab{opacity:0;pointer-events:none}@media (prefers-reduced-motion:reduce){.back-fab{transition:none}}@media (max-width:1200px) and (min-width:851px){.back-fab{left:calc(var(--sidebar-width, 235px) + 20px)}}@media (min-width:851px){:root[data-sidebar-collapsed=true] .back-fab{left:calc(var(--sidebar-width, 72px) + 20px)}.back-to-top{display:grid;place-items:center;position:fixed;z-index:17;right:max(20px,env(safe-area-inset-right,0px));bottom:24px;width:40px;height:40px;padding:0;border-radius:50%;cursor:pointer;color:var(--blue);background:var(--surface,#fff);border:1px solid var(--line);box-shadow:0 6px 18px rgba(15,23,42,.18);opacity:0;transform:translateY(8px) scale(.9);pointer-events:none;transition:opacity .2s ease,transform .2s ease}.back-to-top.is-visible{opacity:.9;transform:none;pointer-events:auto}.back-to-top.is-visible:hover{opacity:1}[data-theme=dark] .back-to-top{background:var(--surface-soft)}}@media (min-width:851px){body:has(.highlight-toolbar) .back-to-top{opacity:0;pointer-events:none}}@media (min-width:851px) and (prefers-reduced-motion:reduce){.back-to-top{transition:none}}[data-theme=dark] .speech-player .speech-button:hover:not(:disabled){background:var(--surface);color:var(--blue)}[data-theme=dark] .back-fab{background:var(--surface-soft)}.stripe-settings h2{display:flex;align-items:center;gap:8px;font-size:16px}.stripe-steps{margin:0 0 18px;padding-left:20px;display:grid;grid-gap:12px;gap:12px;font-size:14px;line-height:1.6}.stripe-steps li strong{display:block;color:var(--ink)}.stripe-steps li span{color:var(--muted)}.stripe-steps a{color:var(--blue);display:inline-flex;align-items:center;gap:3px}.stripe-settings code,.stripe-steps code{font-size:12.5px;background:var(--surface-soft);padding:1px 5px;border-radius:5px}.stripe-key-form .field{margin-bottom:10px;max-width:520px}.stripe-key-form .actions{display:flex;gap:10px;flex-wrap:wrap}.stripe-connected{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);margin-bottom:12px}.stripe-connected>svg{color:var(--brand-mint,#0f9d6b);flex:none;margin-top:2px}.stripe-connected strong{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:15px}.stripe-connected small{display:block;color:var(--muted);font-size:13px;margin-top:3px;word-break:break-word}.soft-tag.stripe-live{color:#0f7a54;background:#e3f6ee}.soft-tag.stripe-test{color:#9a5b00;background:#fff3dc}.stripe-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.stripe-errors,.stripe-settings>.alert{margin-top:12px}.course-price{border:0;padding:0;margin:0 0 16px;min-width:0}.course-price legend{padding:0;margin-bottom:7px;font-size:12px;font-weight:500;color:#7c88a1}.price-options button{min-height:44px;padding:10px;max-width:140px}.price-options button:disabled{opacity:.5;cursor:not-allowed}.price-input{display:flex;align-items:center;gap:8px;margin-top:10px;max-width:220px;font-size:14px;color:var(--ink)}.price-input input{flex:1 1;min-width:0;font-size:16px}.price-error{color:#c2410c}.course-price .text-button{padding:0;font-size:12px}.market-purchased{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--brand-mint,#0f9d6b)}[data-theme=dark] .soft-tag.stripe-live{background:#163a2e;color:#7fe0b5}[data-theme=dark] .soft-tag.stripe-test{background:#3a2f16;color:#f3c56b}