:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#253a36;background:#f7f8f6;font-synthesis:none;--green:#326a50;--border:#e5e9e3;--muted:#78847b}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #b5d0bc;outline-offset:3px}a{color:inherit}button{border:0}button,summary{touch-action:manipulation}.site-header{height:88px;max-width:1352px;padding:0 46px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-weight:650;font-size:16px;letter-spacing:-.4px}.brand-mark{height:32px;width:33px;display:flex;align-items:center;justify-content:center;background:#2b5845;border-radius:9px;color:white;font-size:17px}.brand-mark span{font-size:11px;margin-top:-7px;margin-left:1px}.brand-arrow{color:#a3b0a4;margin:0 6px}.private-label{font-size:11px;color:#7a887b;display:flex;align-items:center;gap:7px}.private-label>span{height:5px;width:5px;background:#80a785;border-radius:50%}main{max-width:1260px;margin:auto;padding:45px 24px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:37px}.eyebrow{font-size:9px;letter-spacing:1.6px;font-weight:650;color:#849583;margin:0 0 13px}h1{font-size:34px;letter-spacing:-1.4px;font-weight:600;line-height:1.2;margin:0 0 12px}.intro{font-size:13px;color:#819080;line-height:1.7;margin:0}.format-label{font-size:11px;color:#6f8772;border:1px solid #dce6d9;background:#edf2e9;border-radius:25px;padding:8px 12px;white-space:nowrap}.workspace{display:grid;grid-template-columns:350px minmax(0,1fr);gap:34px;align-items:start}.mode-nav{display:flex;gap:3px;padding:4px;background:#ecefeb;border-radius:9px;margin-bottom:18px}.mode-nav button{flex:1;padding:10px 5px;background:none;color:#889186;border-radius:6px;font-size:11px;white-space:nowrap;font-weight:550}.mode-nav button.active{background:white;color:#385b45;box-shadow:0 1px 4px #1e332010}.nav-icon{margin-right:4px;font-size:12px}.import-panel{background:white;border:1px solid var(--border);border-radius:13px;padding:26px 24px}.section-kicker{font-size:9px;letter-spacing:1.35px;color:#99a693;font-weight:650;margin:2px 0 12px}h2{font-size:18px;font-weight:600;letter-spacing:-.5px;margin:0}.section-description{font-size:12px;line-height:1.75;color:#84917f;margin:10px 0 28px;max-width:270px}label{display:block;font-size:11px;font-weight:600;color:#5a6f5c;margin:0 0 8px}input,textarea,select{width:100%;border:1px solid #dfe6db;border-radius:7px;padding:12px;background:#fcfdfb;color:#344e3d;font-size:12px;min-width:0}input::placeholder,textarea::placeholder{color:#a3ada0}input[type=url]{font-size:11px}textarea{height:240px;resize:vertical;font:11px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace}select{font-size:11px}.primary{background:var(--green);color:white;border-radius:7px;padding:13px 15px;font-size:12px;font-weight:550;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;transition:background .15s}.primary:hover:not(:disabled){background:#285c44}form .primary,#convert{margin-top:14px}.primary span{font-size:16px;font-weight:400}.primary.dark{background:#274c3c}.text-button{padding:0;background:none;color:#788c72;font-size:10px;line-height:1.6;text-align:left}.text-button:hover{color:#2d6647}.example-button{margin-top:16px;display:flex;gap:7px;align-items:center}.example-button span{font-size:12px}.field-help{font-size:10px;line-height:1.7;color:#97a38f;margin:8px 0 0}.secondary,.upload-button{padding:8px 10px;border-radius:6px;background:#eff3ec;color:#5e7b5b;font-size:10px;font-weight:550;cursor:pointer;display:inline-block;margin:0}.data-tools{display:flex;gap:14px;align-items:center;margin:12px 0}.data-tools #clear{margin-left:auto}.import-message{color:#5b7958;font-size:11px;line-height:1.75;margin-top:18px;overflow-wrap:anywhere}.subtle-message{color:#8c9a84;font-size:10px;line-height:1.7;margin-top:10px;overflow-wrap:anywhere}.import-message:empty,.subtle-message:empty{display:none}.help{font-size:11px;line-height:1.8;color:#899880;margin:20px 9px}.help summary{font-size:10px;cursor:pointer;color:#8a9c82}.help p{font-size:11px}.preview-panel{border:1px solid var(--border);border-radius:13px;background:#fff;overflow:hidden;min-width:0}.panel-heading{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #edf0e9}.panel-heading h2{font-size:14px;letter-spacing:-.2px}.count-badge{font-size:10px;font-weight:550;background:#eef3e9;color:#8a9c7c;border-radius:20px;padding:5px 9px}.empty-state{min-height:360px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:40px}.empty-card{border:1px solid #dfe7d9;border-radius:8px;width:148px;height:146px;background:#fcfdfb;transform:rotate(-5deg);box-shadow:7px 7px 0 -1px #f2f5ef;padding:16px;text-align:left;color:#abb8a1;margin-bottom:28px}.empty-card span{font-size:6px;letter-spacing:1px;display:block;margin-bottom:9px}.empty-card i{display:block;height:4px;background:#e7ede1;border-radius:3px;width:93px;margin:6px 0}.empty-card i:nth-of-type(2n){width:66px}.empty-card div{height:1px;background:#edf1e9;margin:16px 0 13px}.empty-state h3{font-size:13px;font-weight:550;color:#6e8565;margin:0 0 9px}.empty-state p{font-size:11px;color:#a1ad97;line-height:1.7;margin:0}.lesson-info{padding:17px 24px 0}.lesson-info b{font-size:13px;font-weight:550;line-height:1.6}.lesson-info p{font-size:10px;color:#95a18c;line-height:1.7;margin:5px 0}.preview-tools{display:flex;gap:9px;padding:17px 24px}.preview-tools input{flex:1;min-width:100px;background:#fcfdfb;font-size:11px;padding:10px 11px}.preview-tools select{max-width:230px;width:44%;padding:9px;font-size:10px}#cards{max-height:580px;overflow-y:auto;padding:0 24px;scrollbar-width:thin;scrollbar-color:#e0e7d9 transparent}.card{border:1px solid #e7ecdf;border-radius:8px;padding:15px;margin-bottom:12px;display:grid;grid-template-columns:1fr 1fr;gap:12px 20px}.cardhead{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;color:#a6b29b;font-size:8px;letter-spacing:1.1px}.cardhead button{background:none;color:#a6b09e;font-size:9px;padding:0;letter-spacing:0}.card-subdeck{grid-column:1/-1;font-size:9px;line-height:1.7;color:#9ca992;overflow-wrap:anywhere;margin:-4px 0 2px}.card-side{min-width:0}.answerlabel{font-size:8px;font-weight:550;letter-spacing:1px;color:#a6b49b;margin-bottom:8px}.rendered{font-size:12px;line-height:1.8;color:#536d4c;overflow-wrap:anywhere}.rendered p{margin:0 0 8px}.rendered p:last-child{margin-bottom:0}.rendered img{display:block;max-width:100%;height:auto;max-height:250px;object-fit:contain;margin:10px auto}.rendered mjx-container{max-width:100%;overflow-x:auto;overflow-y:hidden;padding:3px 0}.rendered mjx-container[display=true]{margin:10px 0!important}.rendered mjx-container svg{max-width:100%;height:auto}.card details{grid-column:1/-1;font-size:9px;color:#a4b09a;padding-top:8px;border-top:1px solid #f0f3eb;cursor:pointer}.card details summary{font-size:9px;cursor:pointer}.card details[open]{display:grid;grid-template-columns:1fr 1fr;gap:10px}.card details[open] summary{grid-column:1/-1}.card details label{font-size:9px;margin:5px 0}.card details textarea{height:95px;margin-top:6px;font-size:10px;line-height:1.7}.preview-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 24px 18px;color:#acb6a2;line-height:1.6;font-size:9px}.preview-footer .text-button{white-space:nowrap;font-size:9px}.export-panel{background:#fff;border:1px solid var(--border);border-radius:13px;margin-top:18px;padding:22px 24px}.export-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:19px}.export-heading h2{font-size:14px;letter-spacing:-.2px}.export-heading span{font-size:9px;color:#9bad8c}.export-row{display:flex;gap:12px;align-items:end}.deck-field{flex:1;min-width:0}.deck-field label{font-size:10px}.deck-field input{font-size:11px;padding:11px}.export-row .primary{width:181px;flex-shrink:0;padding:11px 13px;font-size:11px;min-height:38px}.export-options{margin-top:16px;font-size:10px;color:#9cab90}.export-options summary{cursor:pointer;font-size:9px;color:#9cab90;display:list-item}.option-block{margin-top:17px}.option-block label{font-size:10px}.option-actions{display:flex;gap:13px;align-items:center}.option-block select{max-width:330px}.export-options #downloadJson{margin-top:15px}#exportStatus{font-size:10px;color:#67815b;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:12px}#exportStatus:empty{display:none}#cancelExport{margin-top:8px}.course-progress{margin-top:24px;padding-top:20px;border-top:1px solid var(--border)}.progress-heading{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#719269}progress{height:6px;width:100%;accent-color:#659261;display:block;margin:13px 0;border:0;border-radius:10px}progress::-webkit-progress-bar{background:#ecf1e7;border-radius:10px}progress::-webkit-progress-value{background:#79a46d;border-radius:10px}#bulkSummary{font-size:10px;line-height:1.8;color:#9aaa8c;margin:0 0 12px}.lesson-progress-details{font-size:10px;color:#8aa179}.lesson-progress-details summary{cursor:pointer;margin-top:12px}#bulkLessons{max-height:240px;overflow-y:auto;margin-top:10px;scrollbar-width:thin}.bulk-lesson{font-size:10px;line-height:1.7;padding:9px 0;border-top:1px solid #edf1e7}.bulk-lesson b{display:block;color:#809770;font-weight:550}.bulk-lesson span{color:#a6b499}.bulk-lesson.failed span,.bulk-lesson.partial span{color:#a27d4b}footer{margin-top:39px;padding:21px 0 25px;border-top:1px solid var(--border);display:flex;justify-content:space-between;font-size:9px;color:#a1ae97;line-height:1.8}
@media(min-width:1200px){.workspace{grid-template-columns:360px minmax(0,1fr);gap:42px}.output-column{min-width:0}.import-column{position:sticky;top:24px}}
@media(max-width:900px){.workspace{grid-template-columns:300px minmax(0,1fr);gap:20px}.page-heading{align-items:start}.format-label{display:none}.import-panel{padding:24px 20px}.nav-icon{display:none}.mode-nav button{font-size:10px}.panel-heading,.lesson-info{padding-left:20px;padding-right:20px}.preview-tools{padding:16px 20px}#cards{padding:0 20px}.card{grid-template-columns:1fr;gap:15px}.export-row{flex-direction:column;align-items:stretch}.export-row .primary{width:100%}.export-heading span{display:none}}
@media(max-width:680px){.site-header{height:72px;padding:0 22px}.brand{font-size:14px}.private-label{font-size:9px}.private-label>span{display:none}main{padding:29px 17px 0}.eyebrow{font-size:8px;letter-spacing:1.1px}h1{font-size:28px;letter-spacing:-1px}.intro{font-size:12px;max-width:300px}.page-heading{margin-bottom:27px}.workspace{grid-template-columns:1fr;gap:25px}.mode-nav button{font-size:11px;padding:11px 7px}.nav-icon{display:inline}.import-panel{padding:25px}.section-description{max-width:none;margin-bottom:24px}.example-button{font-size:10px}.help{margin:14px 5px 0}.empty-state{min-height:280px;padding:30px}.empty-card{width:129px;height:129px;padding:13px;margin-bottom:22px}.empty-card i{width:86px}.empty-card div{margin:11px 0}.panel-heading,.lesson-info{padding-left:20px;padding-right:20px}.preview-tools{flex-wrap:wrap}.preview-tools select{max-width:none;width:100%}.card{grid-template-columns:1fr 1fr;gap:12px 17px;padding:13px}.card .rendered{font-size:11px}.export-panel{padding:20px}.export-row{flex-direction:column}.export-row .primary{width:100%}.export-heading span{display:inline;font-size:8px}.preview-footer{padding-left:20px;padding-right:20px;font-size:8px}footer{font-size:8px;gap:14px;flex-wrap:wrap;margin-top:29px}.card details[open]{grid-template-columns:1fr}}
/* Keep the quiet layout readable at normal zoom. */
.private-label{font-size:11px;color:#72816c}.eyebrow,.section-kicker{font-size:10px;color:#7e8e76}.mode-nav button{font-size:12px;color:#6d7d64}.section-description{font-size:13px;color:#68785f}label{font-size:12px;color:#566d4d}input,textarea,select{font-size:13px}input[type=url]{font-size:12px}.primary{font-size:13px}.text-button{font-size:11px;color:#6c805f}.field-help{font-size:11px;color:#75836d}.subtle-message{font-size:11px;color:#718266}.import-message{font-size:12px}.panel-heading h2,.export-heading h2{font-size:15px}.count-badge{font-size:11px;color:#6e845d}.empty-state h3{font-size:15px;color:#637b56}.empty-state p{font-size:12px;color:#7f8e74}.cardhead{font-size:9px;color:#7b8c70}.cardhead button{font-size:10px;color:#849578}.answerlabel{font-size:10px;color:#7b8e6d}.rendered{font-size:13px;color:#435b39}.card-subdeck{font-size:10px;color:#7f916f}.card details summary{font-size:10px;color:#819371}.preview-footer{font-size:10px;color:#7e8e72}.deck-field label{font-size:11px}.deck-field input{font-size:12px}.export-row .primary{font-size:12px}.export-options summary{font-size:10px;color:#7c906d}.export-heading span{color:#7c916c;font-size:10px}#exportStatus{font-size:11px}.help summary{font-size:11px;color:#7c8e70}#bulkSummary{font-size:11px;color:#728969}.bulk-lesson b{color:#617e54}.bulk-lesson span{color:#7b906d}footer{font-size:10px;color:#87997b}
@media(max-width:900px){.mode-nav button{font-size:11px}}
@media(max-width:680px){.mode-nav button{font-size:12px}.private-label{font-size:9px}.eyebrow{font-size:9px}.card .rendered{font-size:12px}.export-heading span{font-size:9px}footer{font-size:9px}}
@media(max-width:420px){.card{grid-template-columns:1fr}.card .rendered{font-size:13px}}

.subdeck-summary{background:#fff;border:1px solid var(--border);border-radius:13px;margin-top:18px;padding:22px 24px}.subdeck-summary .export-heading{margin-bottom:12px}.subdeck-root{font-size:12px;font-weight:600;color:#47643d;overflow-wrap:anywhere;padding:10px 12px;background:#f4f7f0;border-radius:7px;margin:0 0 12px}#subdeckTree{max-height:300px;overflow-y:auto;scrollbar-width:thin;padding-right:6px}.subdeck-topic h3{font-size:11px;font-weight:600;color:#69805b;margin:17px 0 6px}.subdeck-row{display:flex;justify-content:space-between;gap:18px;font-size:11px;line-height:1.7;padding:7px 0 7px 12px;border-bottom:1px solid #f0f3ec;color:#6c7e61}.subdeck-card-count{white-space:nowrap;color:#8a9a7e;flex-shrink:0}.download-readiness{font-size:11px;line-height:1.8;color:#8a744c;margin:12px 0 0}.download-readiness:empty{display:none}@media(max-width:680px){.subdeck-summary{padding:20px}.subdeck-row{font-size:10px;gap:10px}}
