/* Why This Is Different — AI Course Builder stage additions (after why-different.css) */
/* traditional LMS: manual course building */
.o-field{margin-bottom:10px}
.o-field .o-select{width:100%}
.o-input span{white-space:nowrap;overflow:hidden}
.o-input .caret{visibility:hidden}.o-input.focus .caret{visibility:visible}
.o-table td a{color:#2D3B45}
.o-table tr.enter td{animation:wy-in .4s both}
.o-badge.conc{background:#9CA3AF}
.o-empty{border:1px dashed #C7CCD1;border-radius:3px;padding:54px 20px;text-align:center;color:#55606B;display:flex;flex-direction:column;align-items:center;gap:5px}
.o-empty svg{width:34px;height:34px;color:#9CA3AF;margin-bottom:6px}
.o-empty b{font-size:14px;color:#2D3B45}
.o-empty span{font-size:12px}
.o-list{border:1px solid #C7CCD1;border-radius:3px;overflow:hidden;font-size:12.5px}
.o-list span{display:block;padding:5px 10px;color:#2D3B45}
.o-list span.on{background:#E6E8EB;font-weight:700}
.o-kb{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:3px;color:#6B7280;transition:background .2s}
.o-kb.hov{background:#E6E8EB}
.o-kb svg{width:14px;height:14px}
.o-item.enter{animation:wy-in .4s both}
.o-item .right{display:flex;gap:10px;align-items:center}
.o-item small.cnt{margin-left:0}
.o-pub{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;color:#9CA3AF;transition:color .25s,background .25s}
.o-pub svg{width:17px;height:17px;color:inherit}
.o-pub svg:nth-child(2){display:none}
.o-pub.on{color:#3F8A5B}
.o-pub.on svg:nth-child(1){display:none}.o-pub.on svg:nth-child(2){display:block}
.o-mod-h small{font-size:11px;color:#8A939C}
.o-ed-title{font-size:22px;color:#2D3B45;padding:4px 0 10px;border-bottom:1px solid #D6D9DE;margin-bottom:8px;font-weight:400}
.o-ed-menu{display:flex;gap:18px;font-size:12.5px;color:#2D3B45;padding:2px 0 6px}
.o-ed-tools{display:flex;align-items:center;gap:3px;padding:5px 8px;border:1px solid #C7CCD1;border-bottom:none;border-radius:3px 3px 0 0;background:#F5F5F6}
.o-ed-tools>span{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:3px;color:#55606B}
.o-ed-tools>span svg{width:14px;height:14px}
.o-ed-tools .sep{width:1px;height:18px;background:#D6D9DE;margin:0 4px}
.o-ed-tools .sel{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 8px;border:1px solid #C7CCD1;background:#fff;font-size:12px;color:#2D3B45;border-radius:3px;width:auto}
.o-ed-tools .sel svg{width:12px;height:12px}
.o-ed-body{border:1px solid #C7CCD1;height:176px;padding:12px 14px;font-size:13.5px;line-height:1.6;color:#2D3B45;background:#fff;overflow:hidden}
.o-ed-body .caret,.o-q-text .caret{display:inline-block;width:1px;height:15px;background:#2D3B45;vertical-align:-2px;animation:wy-blink 1s steps(1) infinite}
.o-ed-foot{display:flex;justify-content:space-between;padding:4px 8px;border:1px solid #C7CCD1;border-top:none;border-radius:0 0 3px 3px;background:#F5F5F6;font-size:11px;color:#55606B}
.o-ed-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
.o-q{border:1px solid #C7CCD1;border-radius:3px;background:#fff}
.o-q-h{display:flex;align-items:center;gap:10px;padding:8px 12px;background:#F0F1F3;border-bottom:1px solid #D6D9DE;font-size:12.5px;color:#2D3B45}
.o-q-h b{font-weight:700}
.o-q-h .right{display:flex;gap:10px;align-items:center}
.o-q-h .o-select{width:150px;height:26px;font-size:12px}
.o-q-b{padding:12px}
.o-q-lbl{font-size:12px;font-weight:700;color:#2D3B45;margin-bottom:8px}
.o-q-text{border:1px solid #C7CCD1;min-height:62px;padding:8px 10px;font-size:13px;color:#2D3B45;margin-bottom:12px;line-height:1.5}
.o-ans{display:flex;align-items:center;gap:10px;padding:5px 0;animation:wy-in .3s both}
.o-ans .rad{width:16px;height:16px;border-radius:50%;border:2px solid #9CA3AF;flex-shrink:0;transition:all .2s}
.o-ans .rad.on{border-color:#3F8A5B;background:radial-gradient(#3F8A5B 45%,transparent 50%)}
.o-ans .o-input{flex:1;height:32px}
.o-ans small{font-size:11px;color:#8A939C;width:64px}
.o-q-sum{display:none;padding:10px 12px;font-size:12.5px;color:#2D3B45}
.o-q-sum span{color:#8A939C;margin-left:8px}
.o-q.done .o-q-b{display:none}.o-q.done .o-q-sum{display:block}
.o-q-add{display:flex;gap:8px;margin-top:14px}
/* Sublime LMS: course + AI Course Builder drawer */
.n-page[data-page="course"]{padding:12px 24px 0}
.n-ch{background:#fff;border:1px solid #ECE8F4;border-radius:18px;padding:12px 18px 0}
.n-back{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#6B6478;margin-bottom:8px}
.n-back svg{width:13px;height:13px}
.n-ch-row{display:flex;align-items:center;gap:10px}
.n-ch-row .right,.n-cbar .right{display:flex;gap:8px}
.n-code{font-family:var(--font-mono);font-size:11px;font-weight:700;padding:4px 9px;border-radius:999px;background:#F1EEF8;color:#4A4358}
.n-ch-title{margin:8px 0 3px;font-family:var(--font-display);font-size:24px;font-weight:800;letter-spacing:-.02em;line-height:1.15}
.n-ch-desc{margin:0;font-size:12.5px;color:#6B6478;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.n-ctabs{display:flex;gap:22px;margin-top:8px;font-size:13px;font-weight:600;color:#6B6478;white-space:nowrap;overflow:hidden}
.n-ctabs span{padding:9px 0;border-bottom:2px solid transparent}
.n-ctabs span.on{color:#6D28D9;border-bottom-color:#6D28D9}
.n-cbar{display:flex;align-items:center;gap:10px;font-size:12.5px;color:#6B6478}
.n-cbar svg{width:12px;height:12px;vertical-align:-2px}
.n-btn.ai{background:#F5F3FF;border-color:#EDE9FE;color:#6D28D9}
.n-btn.ai svg{color:#7C3AED}
.n-btn.wide{width:100%;justify-content:center;height:40px}
.n-btn.primary[disabled]{background:#EDE9FE;border-color:#EDE9FE;color:#A78BFA;box-shadow:none}
.n-btn.danger{background:#FFF1F2;border-color:#FECDD3;color:#E11D48;box-shadow:none}
.n-mods{display:flex;flex-direction:column;gap:8px;flex:1;min-height:0;overflow:hidden}
.n-empty{flex:1;border:1px dashed #D9D3E5;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:3px;padding:20px;color:#6B6478;background:rgba(255,255,255,.6)}
.n-empty svg{width:28px;height:28px;color:#8B5CF6;margin-bottom:6px}
.n-empty b{font-size:14px;color:#211A2E}
.n-empty span{font-size:12.5px;max-width:400px;line-height:1.45}
.n-mod{background:#fff;border:1px solid #ECE8F4;border-radius:14px;overflow:hidden;animation:wy-in .5s var(--ease-out) both;flex-shrink:0}
.n-mod-h{display:flex;align-items:center;gap:10px;padding:9px 14px;font-size:13.5px;font-weight:700;color:#211A2E}
.n-mod-h>svg{width:14px;height:14px;color:#8B8499}
.n-mod-h .num{width:22px;height:22px;border-radius:7px;background:#EDE9FE;color:#6D28D9;font-size:11.5px;display:grid;place-items:center;font-weight:800;flex-shrink:0}
.n-mod-h .num.a{background:#FEF3C7;color:#B45309}.n-mod-h .num svg{width:12px;height:12px}
.n-mod-h .right{display:flex;align-items:center;gap:12px;color:#8B8499}
.n-mod-h .right em{font-style:normal;font-size:12px;font-weight:500;white-space:nowrap}
.n-mod-h .right svg{width:14px;height:14px}
.n-les{display:flex;align-items:center;gap:10px;padding:6px 14px 6px 36px;border-top:1px solid #F5F3F9;font-size:12.5px}
.n-les>svg{width:13px;height:13px;color:#C9C3D6}
.n-les .ic{width:26px;height:26px;border-radius:8px;background:#EDE9FE;color:#6D28D9;display:grid;place-items:center;flex-shrink:0}
.n-les .ic svg{width:13px;height:13px}
.n-les>div{flex:1;min-width:0}
.n-les b{display:block;font-weight:600;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:fit-content;max-width:100%}
.n-les b.edit{border:1px solid #A78BFA;border-radius:6px;padding:1px 6px;margin:-2px 0 -2px -7px;background:#FBFAFF;box-shadow:0 0 0 3px rgba(139,92,246,.15)}
.n-les .caret,.n-ta .caret{display:inline-block;width:1px;height:13px;background:#211A2E;vertical-align:-2px;animation:wy-blink 1s steps(1) infinite}
.n-les span{display:block;font-size:11px;color:#8B8499}
.n-les .act{display:flex;gap:6px}
.n-les .act .b{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:7px;color:#B9B2C8;transition:all .2s}
.n-les .act .b.hov{background:#F5F3FF;color:#6D28D9}
.n-les .act .b svg{width:13px;height:13px}
.n-drawer{position:absolute;top:0;right:0;bottom:0;width:440px;background:#fff;border-left:1px solid #ECE8F4;box-shadow:-30px 0 60px -30px rgba(33,26,46,.35);z-index:5;display:flex;flex-direction:column;transform:translateX(104%);transition:transform .6s var(--ease-out)}
.n-drawer.on{transform:none}
.n-drawer.instant{transition:none}
.n-dr-h{display:flex;align-items:center;gap:10px;padding:12px 18px;border-bottom:1px solid #ECE8F4}
.n-ai-ic{width:30px;height:30px;border-radius:9px;background:linear-gradient(135deg,#6D28D9,#8B5CF6 55%,#22D3EE);color:#fff;display:grid;place-items:center;flex-shrink:0}
.n-ai-ic svg{width:15px;height:15px}
.n-dr-h b{font-size:15px;font-weight:700}
.n-dr-h .x{margin-left:auto;width:28px;height:28px;border-radius:8px;border:1px solid #E6E1EF;display:grid;place-items:center;color:#8B8499}
.n-dr-h .x svg{width:14px;height:14px}
.n-steps{display:flex;align-items:center;padding:10px 18px;border-bottom:1px solid #ECE8F4;font-size:12px;color:#8B8499}
.n-steps span{display:inline-flex;align-items:center;gap:6px;font-weight:600;white-space:nowrap}
.n-steps span i{width:20px;height:20px;border-radius:50%;border:1px solid #D9D3E5;display:grid;place-items:center;font-style:normal;font-size:10.5px;font-family:var(--font-mono);transition:all .3s}
.n-steps span i svg{width:11px;height:11px}
.n-steps span.on{color:#211A2E}.n-steps span.on i{background:#6D28D9;border-color:#6D28D9;color:#fff}
.n-steps span.done i{background:#DCFCE7;border-color:#DCFCE7;color:#15803D}
.n-steps .ln{flex:1;height:1px;background:#E6E1EF;margin:0 8px}
.n-dr-b{flex:1;min-height:0;position:relative}
.n-dstep{position:absolute;inset:0;padding:12px 18px 14px;display:none;flex-direction:column;gap:6px;overflow:hidden}
.n-dstep.on{display:flex;animation:wy-fade .35s both}
.n-lbl2{font-size:10.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#6B6478;margin-top:4px}
.n-drop{border:1.5px dashed #D9D3E5;border-radius:14px;padding:14px 16px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:100px;transition:border-color .25s,background .25s}
.n-drop.hov,.n-drop.has{border-color:#A78BFA;background:#FBFAFF}
.n-drop>svg{width:22px;height:22px;color:#7C3AED;margin-bottom:4px}
.n-drop>b{font-size:13px}
.n-drop>span{font-size:11.5px;color:#8B8499}
.n-drop.has>svg,.n-drop.has>b,.n-drop.has>span{display:none}
.n-fchip{display:none;width:100%;align-items:center;gap:10px;text-align:left}
.n-drop.has .n-fchip{display:flex;animation:wy-in .4s both}
.n-fchip .ic{width:36px;height:36px;border-radius:10px;background:#FEE2E2;color:#B91C1C;display:grid;place-items:center;flex-shrink:0}
.n-fchip .ic svg{width:16px;height:16px}
.n-fchip>div{flex:1;min-width:0}
.n-fchip b{display:block;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.n-fchip span{display:block;font-size:11px;color:#8B8499;margin-top:2px}
.n-fchip .bar{height:4px;border-radius:999px;background:#F1EEF8;margin-top:6px;overflow:hidden}
.n-fchip .bar i{display:block;height:100%;width:0;background:#6D28D9;transition:width .15s linear}
.n-fchip .ok{width:22px;height:22px;border-radius:50%;background:#DCFCE7;color:#15803D;display:grid;place-items:center;opacity:0;transition:opacity .3s;flex-shrink:0}
.n-fchip .ok svg{width:13px;height:13px}
.n-fchip.ok .ok{opacity:1}.n-fchip.ok .bar{display:none}
.n-inrow{display:flex;gap:8px}
.n-in{flex:1;height:36px;border:1px solid #E6E1EF;border-radius:10px;padding:0 12px;display:flex;align-items:center;font-size:12.5px;color:#A9A3B8}
.n-ta{border:1px solid #E6E1EF;border-radius:10px;padding:8px 12px;font-size:12.5px;line-height:1.45;color:#211A2E;min-height:48px;transition:border-color .2s,box-shadow .2s}
.n-ta.lg{min-height:62px}
.n-ta .ph{color:#A9A3B8}
.n-ta.focus{border-color:#A78BFA;box-shadow:0 0 0 3px rgba(139,92,246,.15)}
.n-help{margin:0;font-size:11px;color:#8B8499}
.n-help.c{text-align:center}
.n-qa{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #ECE8F4;border-radius:14px;background:#FBFAFF}
.n-qa .q{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700}
.n-qa .q svg{width:14px;height:14px;color:#7C3AED}
.n-qa .chips{display:flex;flex-wrap:wrap;gap:6px}
.n-qa .chips span{padding:6px 11px;border-radius:999px;border:1px solid #E6E1EF;background:#fff;font-size:12px;font-weight:600;color:#4A4358;transition:all .2s}
.n-qa .chips span.on{background:#6D28D9;border-color:#6D28D9;color:#fff}
.n-state{display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:700;color:#6D28D9;min-height:22px}
.n-state svg{width:14px;height:14px}
.n-state svg.spin{animation:wy-spin 1s linear infinite}
@keyframes wy-spin{to{transform:rotate(360deg)}}
.n-state.ok{color:#15803D}
.n-state em{margin-left:auto;font-style:normal;font-weight:500;color:#8B8499;font-size:12px}
.n-plan{display:flex;flex-direction:column;gap:6px;flex:1;min-height:0;overflow:hidden}
.n-pm{border:1px solid #ECE8F4;border-radius:12px;overflow:hidden;animation:wy-in .45s var(--ease-out) both;flex-shrink:0}
.n-pm .h{display:flex;align-items:center;gap:8px;padding:6px 10px;background:#F7F5FB;font-size:12.5px;font-weight:700}
.n-pm .h .num{width:18px;height:18px;border-radius:6px;background:#6D28D9;color:#fff;font-size:10.5px;display:grid;place-items:center;flex-shrink:0}
.n-pm .h .num.a{background:#F59E0B}.n-pm .h .num svg{width:11px;height:11px}
.n-pm .h em{margin-left:auto;font-style:normal;font-size:11px;font-weight:600;color:#8B8499;white-space:nowrap}
.n-pm .l{display:flex;align-items:center;gap:8px;padding:4px 10px 4px 14px;font-size:12px;color:#3F3850;border-top:1px solid #F5F3F9}
.n-pm .l svg{width:12px;height:12px;color:#8B5CF6;flex-shrink:0}
.n-pm .l em{margin-left:auto;font-style:normal;font-family:var(--font-mono);font-size:10.5px;color:#6D28D9;background:#EDE9FE;padding:1px 6px;border-radius:999px}
.n-wprog .bar{height:6px;border-radius:999px;background:#F1EEF8;overflow:hidden}
.n-wprog .bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#6D28D9,#8B5CF6);transition:width .3s}
.n-wprog span{display:block;font-size:12px;color:#4A4358;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.n-wlist{display:flex;flex-direction:column;gap:6px}
.n-wrow{display:flex;align-items:center;gap:10px;padding:7px 10px;border:1px solid #ECE8F4;border-radius:12px;font-size:12.5px;font-weight:600}
.n-wrow .st{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#F1EEF8;color:#8B8499;flex-shrink:0}
.n-wrow .st svg{width:12px;height:12px}
.n-wrow .st svg:nth-child(2){display:none}
.n-wrow.run .st{background:#EDE9FE;color:#6D28D9}.n-wrow.run .st svg:nth-child(1){animation:wy-spin 1s linear infinite}
.n-wrow.ok .st{background:#DCFCE7;color:#15803D}.n-wrow.ok .st svg:nth-child(1){display:none}.n-wrow.ok .st svg:nth-child(2){display:block}
.n-wrow em{margin-left:auto;font-style:normal;font-size:11px;font-weight:500;color:#8B8499;white-space:nowrap}
.n-qprev{border:1px solid #ECE8F4;border-radius:14px;padding:10px 12px;background:#fff;animation:wy-in .45s both}
.n-qprev small{display:block;font-size:10.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#B45309;margin-bottom:4px}
.n-qprev>b{display:block;font-size:12.5px;line-height:1.4;margin-bottom:6px}
.n-qprev .a{display:flex;align-items:center;gap:8px;padding:4px 8px;border-radius:8px;font-size:12px;color:#4A4358}
.n-qprev .a::before{content:'';width:12px;height:12px;border-radius:50%;border:1.5px solid #C9C3D6;flex-shrink:0}
.n-qprev .a.ok{background:#DCFCE7;color:#15803D;font-weight:600}
.n-qprev .a.ok::before{border-color:#15803D;background:radial-gradient(#15803D 45%,transparent 50%)}
.n-qprev em{display:block;margin-top:6px;font-style:normal;font-family:var(--font-mono);font-size:10.5px;color:#6D28D9}
.n-sum{display:flex;flex-direction:column;gap:8px;margin-top:14px}
.n-sum>div{display:flex;gap:10px;align-items:flex-start;padding:9px 12px;border:1px solid #ECE8F4;border-radius:12px}
.n-sum>div>svg{width:16px;height:16px;color:#6D28D9;flex-shrink:0;margin-top:1px}
.n-sum b{display:block;font-size:12.5px}
.n-sum span{display:block;font-size:11px;color:#8B8499;margin-top:1px}
.n-sum .mt{margin-top:auto}
