:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#243344;background:#f7f8fa;font-synthesis:none;--green:#102942;--lime:#ffab50;--muted:#6b7582;--line:#e2e6ec;--white:#fff;--radius:16px}
.consent-choice{display:flex;align-items:flex-start;gap:10px;line-height:1.5}.consent-choice input{width:auto;flex:none;margin-top:4px}.consent-choice span{font-size:14px}
/* Shared typography keeps the saved lesson consistent with its editor. */
.lesson-prose { font-size:1rem; line-height:1.8; overflow-wrap:anywhere; color:#34495e; }
.lesson-prose :is(h1,h2,h3,h4,h5,h6) { color:#102942; font-weight:650; line-height:1.3; margin:1.6em 0 .65em; letter-spacing:-.025em; }
.lesson-prose h1 { font-size:2rem; }
.lesson-prose h2 { font-size:1.6rem; }
.lesson-prose h3 { font-size:1.3rem; }
.lesson-prose h4 { font-size:1.15rem; }
.lesson-prose :is(h5,h6) { font-size:1rem; }
.lesson-prose > :first-child { margin-top:0; }
.lesson-prose p { margin:0 0 1em; }
.lesson-prose p+p { margin-top:0; }
.lesson-prose :is(ul,ol) { padding-left:1.6em; margin:.8em 0 1.3em; }
.lesson-prose li { padding-left:.25em; margin:.35em 0; }
.lesson-prose li > p { margin:0; }
.lesson-prose li :is(ul,ol) { margin:.35em 0; }
.lesson-prose a { color:#155d9b; text-decoration:underline; text-underline-offset:3px; }
.lesson-prose a:hover { color:#a94b00; }
.lesson-prose blockquote { border-left:3px solid #ed943f; margin:1.3em 0; padding:.25em 1.2em; color:#54677b; }
.lesson-prose pre { white-space:pre-wrap; background:#f0f3f7; padding:1em; border-radius:8px; overflow:auto; }
.lesson-prose code { font-size:.9em; background:#f0f3f7; padding:.1em .25em; border-radius:3px; }
.lesson-prose pre code { padding:0; }
.lesson-prose hr { border:0; border-top:1px solid #dce3ea; margin:1.6em 0; }
.rich-text-frame { margin-top:8px; border:1px solid #bdcddd; border-radius:10px; overflow:hidden; background:#fff; }
.external-video-player { display:block; width:100%; aspect-ratio:16/9; border:0; border-radius:8px; background:#102942; margin-bottom:25px; }
.external-video-field { padding:16px; border:1px solid #dce4ec; border-radius:9px; background:white; }
.rich-text-frame:focus-within { border-color:#46769e; box-shadow:0 0 0 2px #e0ebf5; }
.rich-text-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:4px; background:#f2f6fa; padding:8px; border-bottom:1px solid #dce4ec; }
.rich-text-toolbar select { width:auto; max-width:100%; font-size:14px; padding:8px 10px; border-color:#d3dde7; min-height:36px; }
.rich-text-toolbar button { padding:8px 10px; min-width:35px; min-height:36px; border:1px solid transparent; border-radius:6px; font-size:14px; color:#345775; }
.rich-text-toolbar button:hover { background:#e0eaf4; }
.rich-text-toolbar button[aria-pressed=true] { background:#dbe8f6; border-color:#a7bfd8; color:#123d67; }
.rich-text-toolbar button:disabled { cursor:default; opacity:.4; }
.rich-text-content { min-height:280px; padding:22px; outline:none; white-space:pre-wrap; }
.rich-text-content.ProseMirror:focus-visible { outline:0; }
.rich-text-content .ProseMirror-selectednode { outline:2px solid #8baccb; }
.rich-text-content .ProseMirror-gapcursor { display:none; pointer-events:none; position:absolute; }
.rich-text-content li { position:relative; }
.rich-text-content:has(> p:only-child > br:only-child)::before { content:attr(data-placeholder); color:#7c8998; pointer-events:none; position:absolute; max-width:70%; font-size:14px; }
.lesson-editor .lesson-prose h3 { font-size:1.3rem; margin:1.6em 0 .65em; }
.editor-layout .lesson-prose h2 { font-size:1.6rem; margin:1.6em 0 .65em; }
.lesson-content .lesson-prose p+p { margin-top:0; }
@media(max-width:650px) {
  .rich-text-content { padding:16px; min-height:250px; }
  .rich-text-toolbar button,.rich-text-toolbar select { min-height:42px; }
  .lesson-prose h1 { font-size:1.8rem; }
  .lesson-prose h2,.editor-layout .lesson-prose h2 { font-size:1.45rem; }
}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #63933e;outline-offset:4px}svg{flex-shrink:0}h1,h2,h3,p{margin:0}button svg{pointer-events:none}button{border:0;background:none}input,select,textarea{min-width:0;border:1px solid #ccd5cd;border-radius:9px;padding:12px 14px;background:#fff;width:100%;color:#202b27}textarea{resize:vertical;min-height:120px;line-height:1.6}label{font-size:14px;font-weight:600;display:block}label>input,label>select,label>textarea{margin-top:8px}small{font-size:13px}input[type=checkbox]{width:18px;height:18px;accent-color:var(--green)}
.skip-link{position:fixed;top:-80px;left:20px;z-index:99;background:white;padding:14px}.skip-link:focus{top:12px}.initial-loading{padding:60px}.shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.sidebar{background:white;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;width:244px;padding:33px 22px 22px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:11px;align-items:center;padding:0 10px 34px}.brand-mark{height:40px;width:40px;background:var(--green);color:var(--lime);border-radius:12px;display:grid;place-items:center;font-size:26px;font-weight:800;letter-spacing:-3px;padding-right:3px}.brand strong{font-size:20px;letter-spacing:-.7px}.brand small{display:block;font-size:10px;letter-spacing:2.1px;font-weight:650;margin-top:4px;color:#6c756f}.nav-label{font-size:11px;letter-spacing:1.7px;font-weight:700;color:#8a938c;padding:15px 14px}.nav-item{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:550;padding:13px 14px;border-radius:9px;margin-bottom:5px;width:100%;text-align:left;color:#67716b;min-height:46px}.nav-item.active{background:#eaf0e8;color:#234532}.nav-item:hover{background:#f1f4f0}.nav-count{margin-left:auto;background:white;border-radius:5px;min-width:22px;text-align:center;font-size:12px;padding:3px}.sidebar-bottom{margin-top:auto}.sidebar-note{border:1px solid var(--line);border-radius:12px;padding:16px;margin:24px 4px 20px;background:#f9fbf7}.sidebar-note p{font-size:13px;line-height:1.6;color:#687269;margin-top:8px}.sidebar-note strong{font-size:14px}.profile{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding:20px 7px 0}.avatar{width:35px;height:35px;flex-shrink:0;display:grid;place-items:center;background:#e6ece3;border-radius:50%;font-size:12px;font-weight:700}.profile strong{font-size:13px;display:block}.profile small{font-size:12px;color:var(--muted)}.workspace{grid-column:2;min-width:0}.topbar{height:81px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 46px;gap:18px}.breadcrumb{font-size:13px;color:#858c87;display:flex;align-items:center;gap:13px}.breadcrumb strong{font-weight:500;color:#35443b}.top-actions{display:flex;align-items:center;gap:14px}.mode-pill{font-size:12px;font-weight:550;display:flex;align-items:center;gap:7px;border:1px solid #e3e8de;background:#f7f9f3;padding:7px 11px;border-radius:6px;color:#61704f}.view-select{font-size:13px;width:auto;padding:8px 28px 8px 10px;border:0;background:#fff;cursor:pointer}.mobile-brand{display:none}.content{max-width:1450px;margin:0 auto;padding:43px 46px 40px}.eyebrow{color:#6b746c;letter-spacing:1.8px;font-weight:650;font-size:11px;text-transform:uppercase;margin-bottom:11px}.page-title{font-size:32px;line-height:1.2;letter-spacing:-1.1px;font-weight:650}.page-subtitle{color:var(--muted);font-size:15px;line-height:1.6;margin-top:12px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:11px 17px;border-radius:8px;font-size:14px;font-weight:600;line-height:1.35;background:var(--green);color:#fff;border:1px solid var(--green);white-space:normal}.button:hover{background:#265240}.button.secondary{background:white;color:#35473b;border-color:#dce3db}.button.secondary:hover{background:#f3f6f0}.button.lime{background:var(--lime);color:#18352b;border-color:var(--lime)}.button.small{min-height:35px;padding:7px 12px;font-size:13px}.button.danger{color:#a33930;background:white;border-color:#e6cbc7}.text-button{font-size:13px;font-weight:600;display:inline-flex;align-items:center;gap:7px;color:#345541;padding:8px 0}.continue-card{display:grid;grid-template-columns:minmax(0,1fr) 245px;background:#183f32;border-radius:var(--radius);overflow:hidden;margin-bottom:36px;color:white;position:relative}.continue-copy{padding:30px 34px;position:relative;z-index:1}.continue-tag{display:flex;align-items:center;gap:7px;text-transform:uppercase;letter-spacing:1.6px;font-size:10px;color:#c6dcba;font-weight:650;margin-bottom:15px}.continue-copy h2{font-size:26px;font-weight:550;letter-spacing:-.55px;line-height:1.25}.continue-copy p{font-size:13px;line-height:1.6;color:#c8d8ce;margin:10px 0 22px}.continue-actions{display:flex;align-items:center;gap:24px}.progress-inline{font-size:12px;color:#cbdbce;min-width:120px}.progress-track{height:4px;border-radius:3px;background:#476353;margin-top:9px;overflow:hidden}.progress-fill{height:100%;background:var(--lime);border-radius:3px}.continue-art{padding:27px 30px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#214938;border-left:1px solid #345743}.course-number{font-size:90px;font-weight:350;letter-spacing:-7px;color:#c3f282;line-height:1.1}.continue-art span{letter-spacing:2.2px;font-size:10px;color:#c2d5c6;margin-top:12px;text-align:center}.course-number sup{font-size:25px;vertical-align:top;position:relative;top:12px;letter-spacing:-1px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.section-head h2{font-size:19px;letter-spacing:-.3px;font-weight:650}.section-head small{font-size:12px;color:#737e75;font-weight:400;margin-left:9px}.tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin-bottom:25px;overflow-x:auto}.tab{font-size:14px;padding:11px 0 14px;white-space:nowrap;color:#798078;border-bottom:2px solid transparent}.tab.active{color:var(--green);border-color:var(--green);font-weight:650}.tab-count{font-size:11px;background:#e9eee5;color:#566b49;border-radius:5px;padding:2px 6px;margin-left:6px}.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.course-card{border:1px solid var(--line);background:white;border-radius:13px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}.course-card:hover{box-shadow:0 8px 25px #1737210b;transform:translateY(-2px)}.course-cover{height:156px;position:relative;overflow:hidden;padding:22px;display:flex;flex-direction:column;justify-content:space-between;background:#dce8d4;color:#234737}.course-cover.orange{background:#f2e1cf;color:#8b593a}.course-cover.blue{background:#dfe8ed;color:#365870}.course-cover.purple{background:#e7e1ec;color:#5e4775}.cover-top{display:flex;justify-content:space-between;align-items:center;font-size:9px;font-weight:700;letter-spacing:2px}.cover-index{font-size:11px;opacity:.55;letter-spacing:1px}.cover-name{font-size:31px;line-height:1.04;font-weight:550;letter-spacing:-1.2px;max-width:85%;position:relative;z-index:1}.cover-rule{width:29px;height:3px;background:currentColor;position:absolute;right:23px;bottom:26px;opacity:.45}.course-body{padding:20px 21px;display:flex;flex-direction:column;flex:1}.course-category{font-size:10px;letter-spacing:1.3px;font-weight:650;text-transform:uppercase;color:#788174;margin-bottom:10px}.course-body h3{font-size:17px;line-height:1.4;font-weight:650;letter-spacing:-.3px}.course-desc{font-size:13px;color:#7a807c;line-height:1.65;margin-top:8px;flex:1}.course-meta{font-size:12px;color:#7a827b;display:flex;align-items:center;gap:13px;margin:18px 0}.course-meta span{display:flex;align-items:center;gap:5px}.course-footer{border-top:1px solid #edf0eb;padding-top:16px;display:flex;align-items:center;justify-content:space-between;gap:8px}.price{font-size:20px;letter-spacing:-.5px;font-weight:650}.price small{font-size:10px;display:block;color:#8a918a;letter-spacing:0;font-weight:400;margin-top:4px}.badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;border-radius:5px;padding:5px 8px;background:#edf4e7;color:#426538;line-height:1.2}.badge.neutral{background:#f0f2f0;color:#6a726b}.badge.amber{background:#fcf0d9;color:#7d602b}.page-foot{display:flex;justify-content:space-between;gap:20px;color:#9aa097;font-size:11px;border-top:1px solid var(--line);margin-top:38px;padding-top:20px;line-height:1.5}.sample-note{color:#858d82;font-size:12px;line-height:1.6;margin-top:22px}.empty{padding:55px 25px;background:white;border:1px dashed #ccd6ca;border-radius:14px;text-align:center}.empty svg{color:#7a9670;margin-bottom:16px}.empty h2{font-size:22px;letter-spacing:-.5px}.empty p{color:var(--muted);line-height:1.7;max-width:490px;margin:12px auto 22px}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.muted{color:var(--muted)}.panel{border:1px solid var(--line);background:#fff;border-radius:14px;padding:26px}.notice{padding:15px 18px;border:1px solid #e4e8d9;background:#f5f8ef;color:#62714e;border-radius:9px;font-size:13px;line-height:1.6;display:flex;align-items:flex-start;gap:10px}.notice svg{margin-top:2px}.spaced{margin-top:24px}.stack{display:grid;gap:18px}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:20px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%) translateY(100px);background:#193f31;color:white;padding:15px 24px;border-radius:10px;z-index:100;box-shadow:0 8px 35px #0002;font-size:14px;max-width:calc(100% - 32px);transition:transform .2s;pointer-events:none}#toast.visible{transform:translateX(-50%) translateY(0)}dialog{border:1px solid var(--line);border-radius:18px;padding:30px;width:min(520px,calc(100% - 32px));box-shadow:0 30px 100px #0003;color:#28362c}dialog::backdrop{background:#132b2366;backdrop-filter:blur(3px)}dialog h2{font-size:24px;letter-spacing:-.5px;margin-bottom:14px}dialog p{font-size:15px;line-height:1.7;color:var(--muted)}.dialog-close{position:absolute;right:18px;top:18px;padding:5px}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:25px}.loading{opacity:.55;pointer-events:none}
@media(min-width:1600px){.content{padding-top:52px}.course-cover{height:190px}}
@media(max-width:1150px){.shell{grid-template-columns:216px minmax(0,1fr)}.sidebar{width:216px;padding:28px 15px 20px}.topbar{padding:0 28px}.content{padding:32px 28px}.course-grid{gap:15px}.course-body{padding:17px}.course-cover{padding:18px}.cover-name{font-size:27px}.course-footer{flex-wrap:wrap}.continue-card{grid-template-columns:1fr 180px}.continue-copy{padding:27px}}
@media(max-width:900px){.course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.continue-art{display:none}.continue-card{grid-template-columns:1fr}.page-head{align-items:flex-start}.top-actions{gap:3px}.mode-pill{display:none}.page-title{font-size:28px}.two-cols{grid-template-columns:1fr}}
@media(max-width:650px){.shell{display:block}.sidebar{position:fixed;inset:auto 0 0;width:100%;height:72px;border-right:0;border-top:1px solid var(--line);padding:6px 12px;background:#fff;display:block}.sidebar .brand,.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;justify-content:space-around;gap:4px}.nav-item{flex-direction:column;gap:5px;padding:8px 6px;font-size:10px;margin:0;min-width:60px;border-radius:7px;line-height:1.2}.nav-item svg{height:19px;width:19px}.nav-count{display:none}.workspace{padding-bottom:72px}.topbar{height:69px;padding:0 20px}.breadcrumb{display:none}.mobile-brand{display:flex;gap:8px;align-items:center;font-weight:700;font-size:15px}.mobile-brand .brand-mark{width:29px;height:29px;font-size:21px;border-radius:8px}.view-select{max-width:153px;font-size:12px;padding-right:5px}.top-actions>.avatar{display:none}.content{padding:27px 20px}.page-title{font-size:27px}.page-head{gap:13px;flex-wrap:wrap;margin-bottom:24px}.page-subtitle{font-size:14px}.continue-copy{padding:25px}.continue-copy h2{font-size:24px}.continue-actions{gap:15px;flex-wrap:wrap}.continue-card{margin-bottom:28px}.course-grid{grid-template-columns:1fr}.course-cover{height:165px;padding:24px}.cover-name{font-size:33px}.course-body{padding:23px}.course-desc{font-size:14px}.course-meta{font-size:13px}.course-footer{flex-wrap:nowrap}.page-foot{flex-direction:column;gap:8px}.section-head h2{font-size:18px}.section-head small{display:none}.tabs{gap:22px}.button{min-height:44px}.panel{padding:20px}.dialog-actions{flex-wrap:wrap}dialog{padding:26px 22px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;padding:0;border:0}
.brand{gap:9px;padding:0 2px 32px}.brand-logo{width:57px;height:49px;object-fit:contain}.brand strong{font-size:15px;color:#102942;letter-spacing:-.4px}.brand small{font-size:9px;letter-spacing:1.7px}.mobile-brand .brand-logo{width:34px;height:30px}.brand-number{color:#e56e0a}.nav-item.active{background:#eaf0f8;color:#153c60}.nav-item:hover{background:#f0f3f8}.nav-label{color:#6e7d8e}.nav-item{color:#617085}.sidebar-note{background:#f7f9fc}.sidebar-note p{color:#687788}.avatar{background:#e9eff6;color:#254768}.continue-card{background:#102942}.continue-art{background:#163653;border-color:#31506a}.continue-tag{color:#f7b16b}.continue-copy p{color:#cad6e1}.continue-art span,.progress-inline{color:#ced9e3}.course-number{color:#ffab50}.progress-track{background:#39526c}.button.lime{color:#17273b}.button:hover{background:#1e4567}.button.lime:hover{background:#ffba71}.text-button{color:#1d4e76}.badge{background:#eaf1f9;color:#27557d}.badge.amber{background:#fff1df;color:#805423}.course-cover{background:#dce8f3;color:#244f73}.course-cover.blue{background:#e0e8f1;color:#385674}.course-cover.orange{background:#fae5ce;color:#805023}.course-category{color:#607587}.price small{font-size:11px;color:#6b7582}.mode-pill{background:#fff6e9;color:#82612b;border-color:#f0e1c9}.notice{background:#f2f6fb;color:#506780;border-color:#dce6f0}.course-meta,.course-desc{color:#647282}.page-foot,.sample-note{color:#697587}.tab-count{background:#e8eff7;color:#3b5c79}.course-body h3{font-size:18px}.course-desc{font-size:14px}.course-meta{font-size:13px}.course-category{font-size:12px;letter-spacing:.8px}.page-subtitle{font-size:16px}.nav-item{font-size:14px}.badge{font-size:12px}.text-button{font-size:14px}.continue-copy p{font-size:14px}.continue-tag{font-size:12px}.continue-art span{font-size:12px;letter-spacing:1.4px}.course-cover .cover-top{font-size:11px;letter-spacing:1px}.cover-index{font-size:12px}.eyebrow{font-size:12px;letter-spacing:1.3px}.page-foot{font-size:12px}.cover-name{font-size:29px}.course-card,.continue-card,.lesson-row,.manage-title{overflow-wrap:anywhere}#toast{background:#102942}.notice.error{background:#fff1f0;border-color:#e6ccc9;color:#993c37}
.back-link{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:#68798b;margin-bottom:25px}.back-link svg{transform:rotate(180deg)}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:30px;align-items:start}.detail-intro{background:#102942;color:white;border-radius:16px;padding:34px;margin-bottom:27px}.detail-intro .eyebrow{color:#ffb668}.detail-intro h1{font-size:34px;line-height:1.2;letter-spacing:-.8px}.detail-intro p{color:#c4d3e0;font-size:16px;line-height:1.8;margin-top:18px}.detail-intro .course-meta{color:#cbdaea;font-size:14px;margin-bottom:0}.purchase-panel{position:sticky;top:24px;padding:27px}.purchase-panel .price{font-size:35px;margin:17px 0 7px}.purchase-panel p{line-height:1.7;font-size:14px;color:var(--muted);margin:12px 0}.purchase-panel .button{width:100%;margin-top:14px}.purchase-features{padding:18px 0 0;border-top:1px solid var(--line);margin-top:24px;display:grid;gap:13px;font-size:14px;color:#617184}.purchase-features>span{display:flex;gap:9px;align-items:center}.outline{border:1px solid var(--line);background:white;border-radius:12px;overflow:hidden}.module+.module{border-top:1px solid var(--line)}.module summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;padding:20px;font-size:15px;font-weight:600;list-style:none}.module summary::-webkit-details-marker{display:none}.module summary small{font-size:12px;color:var(--muted);font-weight:400;margin-left:auto;white-space:nowrap}.lesson-row{padding:15px 20px 15px 25px;display:flex;align-items:center;gap:12px;font-size:14px;border-top:1px solid #edf0f4;color:#53667a}.lesson-row .duration{margin-left:auto;white-space:nowrap;font-size:12px;color:#7b8896}.lesson-row:hover{background:#f8fafc}.lesson-row svg{color:#65839e}.section-title{font-size:20px;letter-spacing:-.4px;margin-bottom:17px}.lesson-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:27px;align-items:start}.lesson-panel{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden}.lesson-header{padding:28px 30px;border-bottom:1px solid var(--line)}.lesson-header h1{font-size:28px;line-height:1.3;letter-spacing:-.7px}.lesson-content{padding:28px 30px;line-height:1.85;font-size:16px;color:#4a5b6d;min-height:210px}.lesson-content p+p{margin-top:20px}.lesson-content video{width:100%;max-height:500px;background:#111e2b;border-radius:8px;margin-bottom:25px}.lesson-actions{border-top:1px solid var(--line);padding:22px 30px;display:flex;gap:14px;justify-content:space-between;flex-wrap:wrap}.lesson-aside{position:sticky;top:22px}.lesson-aside .panel{padding:22px;margin-bottom:17px}.lesson-aside h2{font-size:17px;line-height:1.5}.lesson-aside .outline{font-size:13px}.lesson-aside .module summary{font-size:13px;padding:17px 14px}.lesson-aside .lesson-row{font-size:13px;padding:14px}.lesson-aside .lesson-row.current{background:#eaf1f9;color:#204d75;font-weight:600}.lesson-aside .module summary small{display:none}.lesson-aside .progress-track{background:#e5eaf0;margin:14px 0 9px;height:6px}.lesson-aside .progress-fill{background:#f88a1c}.downloads{margin-top:28px;border-top:1px solid var(--line);padding-top:20px}.download{display:flex;align-items:center;gap:10px;color:#2c5b86;font-size:14px;margin-top:12px}.completion-banner{padding:20px;background:#fff1df;border-radius:10px;margin-bottom:24px;font-size:15px;color:#775020;line-height:1.7}.table-wrap{border:1px solid var(--line);border-radius:13px;background:white;overflow:auto}table{border-collapse:collapse;width:100%;text-align:left}th{font-size:12px;font-weight:550;color:#6e7b8b;background:#f9fafc;padding:16px 22px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:21px 22px;border-bottom:1px solid var(--line);font-size:14px}tr:last-child td{border-bottom:0}.manage-title{font-weight:600;max-width:340px}.manage-title small{display:block;font-weight:400;color:#788696;font-size:12px;margin-top:7px}.table-cover{width:42px;height:42px;border-radius:8px;display:grid;place-items:center;background:#e2ebf5;color:#365b7f;flex-shrink:0}.table-cover.orange{background:#ffeedc;color:#946436}.table-cover.purple{background:#eee8f5;color:#6b527f}.metric-row{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:25px}.metric{padding:23px;background:white;border:1px solid var(--line);border-radius:13px}.metric span{font-size:13px;color:#768391;display:block}.metric strong{display:block;font-size:29px;letter-spacing:-.7px;margin-top:10px;font-weight:600}.metric small{display:block;color:#8c96a0;font-size:12px;margin-top:7px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-card{background:white;border:1px solid var(--line);border-radius:13px;padding:27px}.settings-card h2{font-size:19px;margin:18px 0 12px}.settings-card p{font-size:14px;line-height:1.75;color:var(--muted);margin-top:15px}.settings-card .badge{margin-top:3px}.editor-head{display:flex;gap:20px;justify-content:space-between;align-items:center;margin-bottom:26px;flex-wrap:wrap}.editor-head h1{font-size:26px;letter-spacing:-.7px}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:24px;align-items:start}.editor-layout .panel{padding:25px}.editor-layout h2{font-size:18px;margin-bottom:22px}.editor-layout .stack{gap:20px}.editor-layout .two-cols{gap:15px}.editor-layout small{display:block;font-weight:400;line-height:1.6;color:#7b8997;margin-top:7px}.editor-modules{margin-top:25px}.editor-module{border:1px solid var(--line);border-radius:11px;margin-top:17px;overflow:hidden;background:white}.editor-module-header{background:#f6f8fb;display:flex;align-items:center;gap:9px;padding:14px}.editor-module-header input{border:1px solid transparent;background:transparent;padding:9px;font-size:15px;font-weight:600}.editor-module-header input:hover,.editor-module-header input:focus{background:white;border-color:var(--line)}.icon-button{padding:8px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:#6e8092;min-width:34px;min-height:34px}.icon-button:hover{background:#e5ebf2}.icon-button:disabled{opacity:.3;cursor:default}.module-actions{display:flex;gap:1px}.editor-lesson{display:flex;align-items:center;gap:12px;width:100%;padding:17px 20px;border-top:1px solid var(--line);text-align:left;font-size:14px}.editor-lesson span{flex:1}.editor-lesson.active{background:#eaf1f9;color:#20547f}.editor-lesson:hover{background:#f5f8fc}.add-lesson{padding:15px 20px;color:#315c80;display:flex;gap:8px;align-items:center;font-size:14px;width:100%;border-top:1px dashed var(--line)}.lesson-editor{border-top:1px solid var(--line);padding:24px;background:#fcfdff}.lesson-editor h3{font-size:16px;margin-bottom:20px}.lesson-editor .stack{gap:17px}.lesson-editor textarea{min-height:190px;font-size:15px}.upload-box{position:relative;border:1px dashed #bbcddd;border-radius:9px;padding:19px;background:white;text-align:center;font-size:13px;color:#6b8197;line-height:1.65;cursor:pointer}.upload-box strong{display:block;font-size:14px;color:#355d80;margin:5px}.upload-box input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;margin:0;padding:0}.upload-box:focus-within{outline:3px solid #5c82a6;outline-offset:3px}.file-chip{display:flex;align-items:center;gap:7px;font-size:13px;padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:white;margin-top:9px;overflow-wrap:anywhere}.file-chip>span{flex:1}.editor-sidebar{position:sticky;top:24px}.editor-sidebar .notice{margin-top:18px}.editor-sidebar .panel p{font-size:14px;color:var(--muted);line-height:1.7}.save-status{font-size:12px;color:#718096}.form-error{font-size:14px;line-height:1.6;color:#a13f36;margin-top:12px}.checkout-summary{display:flex;justify-content:space-between;gap:16px;padding:20px 0;border-bottom:1px solid var(--line);margin-bottom:20px;font-size:15px;line-height:1.6}.checkout-summary strong{white-space:nowrap}.checkout-total{display:flex;justify-content:space-between;gap:15px;font-weight:650;margin:20px 0;font-size:20px}
@media(max-width:1150px){.detail-grid{grid-template-columns:minmax(0,1fr) 260px;gap:20px}.lesson-layout{grid-template-columns:minmax(0,1fr) 250px;gap:19px}.editor-layout{grid-template-columns:minmax(0,1fr) 245px;gap:18px}.editor-layout .panel{padding:20px}.brand-logo{width:47px;height:42px}.brand strong{font-size:14px}}
@media(max-width:950px){.detail-grid,.lesson-layout,.editor-layout{grid-template-columns:1fr}.purchase-panel,.lesson-aside,.editor-sidebar{position:static}.purchase-panel{grid-row:1}.settings-grid{grid-template-columns:1fr}.lesson-aside .outline{max-height:450px;overflow:auto}.metric-row{gap:12px}.metric{padding:20px}.editor-sidebar{grid-row:1}.editor-sidebar .panel{display:grid;grid-template-columns:1fr 1fr;gap:15px}.editor-sidebar .notice{display:none}.editor-sidebar .panel h2{margin:0}.editor-sidebar .panel .stack{gap:12px}}
@media(max-width:650px){.mobile-brand{font-size:13px;gap:5px}.topbar{padding:0 14px}.brand-number{font-size:12px}.mobile-brand .brand-logo{width:32px}.nav-item{font-size:11px}.metric-row{grid-template-columns:1fr}.metric{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px}.metric strong{font-size:23px;margin:0}.metric small{width:100%;margin:0}.detail-intro{padding:26px}.detail-intro h1{font-size:28px}.detail-intro .course-meta{flex-wrap:wrap}.lesson-header,.lesson-content{padding:24px}.lesson-header h1{font-size:25px}.lesson-actions{padding:20px}.lesson-actions .button{width:100%}.editor-module-header{padding:10px;gap:2px;flex-wrap:wrap}.editor-module-header>input{flex:1;min-width:160px}.module-actions{margin-left:auto}.editor-lesson{padding:16px}.lesson-editor{padding:19px}.editor-sidebar .panel{display:block}.editor-sidebar .panel h2{margin-bottom:18px}.editor-head .row{flex-wrap:wrap}.lesson-row{padding:15px}.module summary{padding:17px;font-size:14px}.module summary small{display:none}.row{min-width:0}.notice{font-size:14px}.sample-note{font-size:13px}.settings-card{padding:23px}.table-wrap td{padding:17px}.page-head .button{width:100%}.page-title{font-size:28px}.top-actions .view-select{max-width:140px}.page-foot{margin-bottom:10px}}
.manage-actions{gap:8px;flex-wrap:wrap}.button.danger:hover{background:#fff1f0;border-color:#d59791;color:#8d2921}.button:disabled{opacity:.55;cursor:not-allowed}
.page-foot{align-items:flex-start;flex-wrap:wrap}.legal-links{display:flex;flex-wrap:wrap;gap:8px 18px;max-width:680px}.legal-links a,.legal-prose a{color:#245a82;text-decoration:underline;text-underline-offset:3px}.legal-links a:hover,.legal-prose a:hover{color:#123b5b}.legal-page{max-width:860px;margin:0 auto}.legal-page .page-title{margin-bottom:20px}.legal-draft{margin:20px 0 28px}.legal-prose{background:#fff;border:1px solid var(--line);border-radius:13px;padding:30px 36px;color:#405164;font-size:15px;line-height:1.75}.legal-prose h2{font-size:19px;line-height:1.35;color:#192f43;margin:26px 0 8px}.legal-prose h2:first-child{margin-top:0}.legal-prose p+p{margin-top:12px}.legal-prose code{background:#eef3f8;padding:2px 5px;border-radius:4px}.legal-prose p{overflow-wrap:anywhere}
@media(max-width:650px){.legal-prose{padding:22px}.legal-links{gap:10px 16px}}
.legal-prose ol{padding-left:24px;margin:14px 0}.legal-prose li+li{margin-top:8px}
.auth-page{max-width:560px;margin:40px auto;padding:20px}.auth-page h1{font-size:27px;line-height:1.25;margin-bottom:16px}.auth-page p{line-height:1.7}.auth-page .brand{font-weight:700}.student-search{display:block;max-width:500px}.student-list{display:grid;gap:22px;margin-top:24px}.student-card header h2{font-size:21px}.student-card header p{margin:8px 0}.student-card small{color:#647282;line-height:1.6}.student-enroll{align-items:end;flex-wrap:wrap;margin-bottom:8px}.student-enroll label{flex:1;min-width:180px}.student-course{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.student-course summary{cursor:pointer;display:flex;justify-content:space-between;gap:14px;line-height:1.5}.student-course summary span{white-space:nowrap}.student-course .progress-track{background:#e5eaf0;margin:16px 0}.student-course .progress-fill{background:#f88a1c}.student-course p{font-size:13px;line-height:1.8}.student-lessons{list-style:none;padding:0;margin-top:14px;max-height:420px;overflow:auto}.student-lessons li{display:flex;gap:12px;align-items:flex-start;border-top:1px solid var(--line);padding:12px 0;font-size:14px;line-height:1.5}.student-lessons .badge{flex-shrink:0}.profile strong{overflow-wrap:anywhere}.sidebar nav{overflow:auto}
@media(max-width:650px){.student-course summary{flex-direction:column}.sidebar nav{justify-content:flex-start}.auth-page{margin:10px auto}.top-actions .mode-pill{display:none}.student-enroll .button{width:100%}}
.public-home{background:#f7f8fa;min-height:100vh}.public-header{max-width:1240px;margin:auto;padding:24px 32px;display:flex;align-items:center;justify-content:space-between;gap:20px}.public-brand{display:flex;align-items:center;gap:10px;color:#102942;font-size:19px}.public-brand span{color:#e56e0a}.public-header nav{display:flex;gap:25px;align-items:center;font-size:14px;font-weight:600;color:#36516b}.public-header nav a:hover,.public-footer a:hover{text-decoration:underline}.public-hero{max-width:1176px;margin:12px auto 0;background:#102942;border-radius:22px;color:#fff;padding:70px;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(230px,.6fr);gap:45px;align-items:center;min-height:440px}.public-hero .eyebrow{color:#ffb668}.public-hero h1{font-size:clamp(34px,4.6vw,62px);line-height:1.08;letter-spacing:-.045em;max-width:700px;margin:18px 0}.public-hero p{line-height:1.75;color:#d5e1eb;font-size:17px;max-width:690px}.public-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.public-actions .button.secondary{color:#15344e;background:white}.public-hero-art{aspect-ratio:1;border:1px solid #52728d;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#ffc17c;background:radial-gradient(circle,#234764,#102942 70%)}.public-hero-art span{font-size:25px;letter-spacing:.25em}.public-hero-art strong{font-size:clamp(65px,9vw,120px);line-height:1}.public-hero-art small{font-size:10px;letter-spacing:.12em;color:#e1eaf1;text-align:center}.public-section{max-width:1176px;margin:70px auto;padding:0 20px}.public-section .section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:23px}.public-section h2,.public-access h2{font-size:30px;letter-spacing:-.03em}.public-access{max-width:1176px;margin:0 auto 70px;padding:45px;background:#eaf1f9;border-radius:18px}.public-access p{color:#586c80;line-height:1.7;margin:14px 0 24px;max-width:680px}.public-footer{max-width:1176px;margin:auto;padding:26px 20px 42px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:12px;color:#637487}.public-footer nav{display:flex;gap:12px 18px;flex-wrap:wrap}.external-video-gate{width:100%;aspect-ratio:16/9;border:1px solid #cdddeb;border-radius:10px;background:#f3f7fb;margin-bottom:25px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px}.external-video-gate strong{font-size:18px;color:#173d61}.external-video-gate p{max-width:530px;margin:9px 0 18px!important;font-size:14px;line-height:1.55}.external-video-gate .button{width:auto}.billing-fields{border:1px solid var(--line);border-radius:10px;padding:20px;margin:20px 0;display:grid;gap:16px}.billing-fields legend{font-weight:700;padding:0 7px}.billing-fields p{font-size:13px}.billing-fields .two-cols{gap:12px}.billing-fields [hidden]{display:none!important}#dialog:has(.billing-fields){width:min(650px,calc(100% - 32px));max-height:min(90vh,900px);overflow:auto}.auth-links{display:flex;gap:12px 20px;flex-wrap:wrap;margin-top:22px}.form-success{color:#246638;font-size:14px;line-height:1.6}.auth-page .brand{padding-bottom:24px}
@media(max-width:750px){.public-header{padding:18px 20px}.public-brand{font-size:15px}.public-brand img{width:40px;height:35px}.public-header nav{gap:12px;font-size:12px}.public-hero{border-radius:0;margin:0;grid-template-columns:1fr;padding:45px 22px;min-height:0}.public-hero-art{display:none}.public-section{margin:45px auto}.public-section h2,.public-access h2{font-size:25px}.public-access{border-radius:0;margin:0 0 30px;padding:35px 22px}.external-video-gate{aspect-ratio:auto;min-height:230px}.billing-fields .two-cols{grid-template-columns:1fr}}
.order-billing{margin-top:10px;font-size:12px;font-weight:400;color:#52697e}.order-billing summary{cursor:pointer;text-decoration:underline}.order-billing p{line-height:1.6;margin-top:8px}
.analytics-consent[hidden],.analytics-settings[hidden]{display:none!important}
.analytics-consent{position:fixed;z-index:80;bottom:58px;left:50%;transform:translateX(-50%);width:min(620px,calc(100% - 28px));padding:18px;background:#fff;border:1px solid #cad6e2;border-radius:12px;box-shadow:0 12px 45px #10294230;color:#243344}
.analytics-consent p{font-size:14px;line-height:1.55;margin:0 0 14px}
.analytics-consent a{color:#1d4e76;text-decoration:underline}
.analytics-consent-actions{display:flex;gap:10px}
.analytics-consent-actions button{flex:1;min-height:42px;border:1px solid #1d4e76;border-radius:8px;background:#fff;color:#1d4e76;font-size:14px;font-weight:650}
.analytics-consent-actions button:hover{background:#eaf1f9}
.analytics-settings{position:fixed;z-index:79;bottom:12px;right:12px;padding:7px 11px;border:1px solid #b5c8d8;border-radius:7px;background:#fff;color:#244f73;font-size:12px;font-weight:600;box-shadow:0 3px 12px #10294220}
@media(max-width:650px){.analytics-consent{bottom:85px}.analytics-settings{bottom:78px}}
.totp-qr{display:block;width:240px;height:240px;max-width:100%;margin:auto;border:1px solid var(--line);border-radius:12px;padding:8px;background:white}.totp-secret{display:block;overflow-wrap:anywhere;font-size:16px;letter-spacing:.12em;color:#173d61;background:#f0f5fa;padding:11px;border-radius:7px;margin-top:10px}.auth-page .text-button.spaced{display:inline-block}
.student-delete{margin-top:14px}
.public-contact{max-width:1176px;margin:0 auto 24px;padding:36px 42px;background:#fff;border:1px solid #dce5ee;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.public-contact h2{font-size:30px;letter-spacing:-.03em}
.public-contact p{color:#586c80;line-height:1.7;margin:12px 0 0;max-width:680px}
.public-contact .button{flex-shrink:0}
@media(max-width:750px){.public-contact{display:block;border-radius:0;margin:0 0 24px;padding:34px 22px}.public-contact h2{font-size:25px}.public-contact .button{margin-top:20px}}
